index.js

var xv=Object.create;var ec=Object.defineProperty;var Ev=Object.getOwnPropertyDescriptor;var Cv=Object.getOwnPropertyNames;var Pv=Object.getPrototypeOf,kv=Object.prototype.hasOwnProperty;var En=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var _v=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Cv(t))!kv.call(e,o)&&o!==n&&ec(e,o,{get:()=>t[o],enumerable:!(r=Ev(t,o))||r.enumerable});return e};var D=(e,t,n)=>(n=e!=null?xv(Pv(e)):{},_v(t||!e||!e.__esModule?ec(n,"default",{value:e,enumerable:!0}):n,e));var fc=En(F=>{"use strict";var Mr=Symbol.for("react.element"),Rv=Symbol.for("react.portal"),Ov=Symbol.for("react.fragment"),Nv=Symbol.for("react.strict_mode"),Tv=Symbol.for("react.profiler"),Lv=Symbol.for("react.provider"),Av=Symbol.for("react.context"),Iv=Symbol.for("react.forward_ref"),Dv=Symbol.for("react.suspense"),Mv=Symbol.for("react.memo"),bv=Symbol.for("react.lazy"),tc=Symbol.iterator;function zv(e){return e===null||typeof e!="object"?null:(e=tc&&e[tc]||e["@@iterator"],typeof e=="function"?e:null)}var oc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lc=Object.assign,ic={};function Un(e,t,n){this.props=e,this.context=t,this.refs=ic,this.updater=n||oc}Un.prototype.isReactComponent={};Un.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Un.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sc(){}sc.prototype=Un.prototype;function rs(e,t,n){this.props=e,this.context=t,this.refs=ic,this.updater=n||oc}var os=rs.prototype=new sc;os.constructor=rs;lc(os,Un.prototype);os.isPureReactComponent=!0;var nc=Array.isArray,ac=Object.prototype.hasOwnProperty,ls={current:null},uc={key:!0,ref:!0,__self:!0,__source:!0};function cc(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)ac.call(t,r)&&!uc.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var a=Array(s),u=0;u<s;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:Mr,type:e,key:l,ref:i,props:o,_owner:ls.current}}function Fv(e,t){return{$$typeof:Mr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function is(e){return typeof e=="object"&&e!==null&&e.$$typeof===Mr}function jv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var rc=/\/+/g;function ns(e,t){return typeof e=="object"&&e!==null&&e.key!=null?jv(""+e.key):t.toString(36)}function Qo(e,t,n,r,o){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(l){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Mr:case Rv:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+ns(i,0):r,nc(o)?(n="",e!=null&&(n=e.replace(rc,"$&/")+"/"),Qo(o,t,n,"",function(u){return u})):o!=null&&(is(o)&&(o=Fv(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(rc,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",nc(e))for(var s=0;s<e.length;s++){l=e[s];var a=r+ns(l,s);i+=Qo(l,t,n,a,o)}else if(a=zv(e),typeof a=="function")for(e=a.call(e),s=0;!(l=e.next()).done;)l=l.value,a=r+ns(l,s++),i+=Qo(l,t,n,a,o);else if(l==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Ko(e,t,n){if(e==null)return e;var r=[],o=0;return Qo(e,r,"","",function(l){return t.call(n,l,o++)}),r}function Hv(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Le={current:null},Yo={transition:null},Vv={ReactCurrentDispatcher:Le,ReactCurrentBatchConfig:Yo,ReactCurrentOwner:ls};F.Children={map:Ko,forEach:function(e,t,n){Ko(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ko(e,function(){t++}),t},toArray:function(e){return Ko(e,function(t){return t})||[]},only:function(e){if(!is(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};F.Component=Un;F.Fragment=Ov;F.Profiler=Tv;F.PureComponent=rs;F.StrictMode=Nv;F.Suspense=Dv;F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vv;F.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=lc({},e.props),o=e.key,l=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(l=t.ref,i=ls.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)ac.call(t,a)&&!uc.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&s!==void 0?s[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){s=Array(a);for(var u=0;u<a;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:Mr,type:e.type,key:o,ref:l,props:r,_owner:i}};F.createContext=function(e){return e={$$typeof:Av,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Lv,_context:e},e.Consumer=e};F.createElement=cc;F.createFactory=function(e){var t=cc.bind(null,e);return t.type=e,t};F.createRef=function(){return{current:null}};F.forwardRef=function(e){return{$$typeof:Iv,render:e}};F.isValidElement=is;F.lazy=function(e){return{$$typeof:bv,_payload:{_status:-1,_result:e},_init:Hv}};F.memo=function(e,t){return{$$typeof:Mv,type:e,compare:t===void 0?null:t}};F.startTransition=function(e){var t=Yo.transition;Yo.transition={};try{e()}finally{Yo.transition=t}};F.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};F.useCallback=function(e,t){return Le.current.useCallback(e,t)};F.useContext=function(e){return Le.current.useContext(e)};F.useDebugValue=function(){};F.useDeferredValue=function(e){return Le.current.useDeferredValue(e)};F.useEffect=function(e,t){return Le.current.useEffect(e,t)};F.useId=function(){return Le.current.useId()};F.useImperativeHandle=function(e,t,n){return Le.current.useImperativeHandle(e,t,n)};F.useInsertionEffect=function(e,t){return Le.current.useInsertionEffect(e,t)};F.useLayoutEffect=function(e,t){return Le.current.useLayoutEffect(e,t)};F.useMemo=function(e,t){return Le.current.useMemo(e,t)};F.useReducer=function(e,t,n){return Le.current.useReducer(e,t,n)};F.useRef=function(e){return Le.current.useRef(e)};F.useState=function(e){return Le.current.useState(e)};F.useSyncExternalStore=function(e,t,n){return Le.current.useSyncExternalStore(e,t,n)};F.useTransition=function(){return Le.current.useTransition()};F.version="18.2.0"});var M=En((Ky,dc)=>{"use strict";dc.exports=fc()});var xc=En(X=>{"use strict";function cs(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(0<Xo(o,t))e[r]=t,e[n]=o,n=r;else break e}}function at(e){return e.length===0?null:e[0]}function qo(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,l=o>>>1;r<l;){var i=2*(r+1)-1,s=e[i],a=i+1,u=e[a];if(0>Xo(s,n))a<o&&0>Xo(u,s)?(e[r]=u,e[a]=n,r=a):(e[r]=s,e[i]=n,r=i);else if(a<o&&0>Xo(u,n))e[r]=u,e[a]=n,r=a;else break e}}return t}function Xo(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(pc=performance,X.unstable_now=function(){return pc.now()}):(ss=Date,mc=ss.now(),X.unstable_now=function(){return ss.now()-mc});var pc,ss,mc,$t=[],Kt=[],Bv=1,Je=null,Ee=3,Zo=!1,Cn=!1,zr=!1,gc=typeof setTimeout=="function"?setTimeout:null,yc=typeof clearTimeout=="function"?clearTimeout:null,vc=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function fs(e){for(var t=at(Kt);t!==null;){if(t.callback===null)qo(Kt);else if(t.startTime<=e)qo(Kt),t.sortIndex=t.expirationTime,cs($t,t);else break;t=at(Kt)}}function ds(e){if(zr=!1,fs(e),!Cn)if(at($t)!==null)Cn=!0,ms(ps);else{var t=at(Kt);t!==null&&vs(ds,t.startTime-e)}}function ps(e,t){Cn=!1,zr&&(zr=!1,yc(Fr),Fr=-1),Zo=!0;var n=Ee;try{for(fs(t),Je=at($t);Je!==null&&(!(Je.expirationTime>t)||e&&!Sc());){var r=Je.callback;if(typeof r=="function"){Je.callback=null,Ee=Je.priorityLevel;var o=r(Je.expirationTime<=t);t=X.unstable_now(),typeof o=="function"?Je.callback=o:Je===at($t)&&qo($t),fs(t)}else qo($t);Je=at($t)}if(Je!==null)var l=!0;else{var i=at(Kt);i!==null&&vs(ds,i.startTime-t),l=!1}return l}finally{Je=null,Ee=n,Zo=!1}}var Jo=!1,Go=null,Fr=-1,wc=5,$c=-1;function Sc(){return!(X.unstable_now()-$c<wc)}function as(){if(Go!==null){var e=X.unstable_now();$c=e;var t=!0;try{t=Go(!0,e)}finally{t?br():(Jo=!1,Go=null)}}else Jo=!1}var br;typeof vc=="function"?br=function(){vc(as)}:typeof MessageChannel<"u"?(us=new MessageChannel,hc=us.port2,us.port1.onmessage=as,br=function(){hc.postMessage(null)}):br=function(){gc(as,0)};var us,hc;function ms(e){Go=e,Jo||(Jo=!0,br())}function vs(e,t){Fr=gc(function(){e(X.unstable_now())},t)}X.unstable_IdlePriority=5;X.unstable_ImmediatePriority=1;X.unstable_LowPriority=4;X.unstable_NormalPriority=3;X.unstable_Profiling=null;X.unstable_UserBlockingPriority=2;X.unstable_cancelCallback=function(e){e.callback=null};X.unstable_continueExecution=function(){Cn||Zo||(Cn=!0,ms(ps))};X.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):wc=0<e?Math.floor(1e3/e):5};X.unstable_getCurrentPriorityLevel=function(){return Ee};X.unstable_getFirstCallbackNode=function(){return at($t)};X.unstable_next=function(e){switch(Ee){case 1:case 2:case 3:var t=3;break;default:t=Ee}var n=Ee;Ee=t;try{return e()}finally{Ee=n}};X.unstable_pauseExecution=function(){};X.unstable_requestPaint=function(){};X.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=Ee;Ee=e;try{return t()}finally{Ee=n}};X.unstable_scheduleCallback=function(e,t,n){var r=X.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?r+n:r):n=r,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=n+o,e={id:Bv++,callback:t,priorityLevel:e,startTime:n,expirationTime:o,sortIndex:-1},n>r?(e.sortIndex=n,cs(Kt,e),at($t)===null&&e===at(Kt)&&(zr?(yc(Fr),Fr=-1):zr=!0,vs(ds,n-r))):(e.sortIndex=o,cs($t,e),Cn||Zo||(Cn=!0,ms(ps))),e};X.unstable_shouldYield=Sc;X.unstable_wrapCallback=function(e){var t=Ee;return function(){var n=Ee;Ee=t;try{return e.apply(this,arguments)}finally{Ee=n}}}});var Cc=En((Yy,Ec)=>{"use strict";Ec.exports=xc()});var Tp=En(Ge=>{"use strict";var Lf=M(),Ye=Cc();function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Af=new Set,so={};function bn(e,t){fr(e,t),fr(e+"Capture",t)}function fr(e,t){for(so[e]=t,e=0;e<t.length;e++)Af.add(t[e])}var It=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zs=Object.prototype.hasOwnProperty,Uv=/^[: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]*$/,Pc={},kc={};function Wv(e){return zs.call(kc,e)?!0:zs.call(Pc,e)?!1:Uv.test(e)?kc[e]=!0:(Pc[e]=!0,!1)}function Kv(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Qv(e,t,n,r){if(t===null||typeof t>"u"||Kv(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function De(e,t,n,r,o,l,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=i}var xe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){xe[e]=new De(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];xe[t]=new De(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){xe[e]=new De(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xe[e]=new De(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){xe[e]=new De(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){xe[e]=new De(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){xe[e]=new De(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){xe[e]=new De(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){xe[e]=new De(e,5,!1,e.toLowerCase(),null,!1,!1)});var Na=/[\-:]([a-z])/g;function Ta(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Na,Ta);xe[t]=new De(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Na,Ta);xe[t]=new De(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Na,Ta);xe[t]=new De(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){xe[e]=new De(e,1,!1,e.toLowerCase(),null,!1,!1)});xe.xlinkHref=new De("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){xe[e]=new De(e,1,!1,e.toLowerCase(),null,!0,!0)});function La(e,t,n,r){var o=xe.hasOwnProperty(t)?xe[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Qv(t,n,o,r)&&(n=null),r||o===null?Wv(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var zt=Lf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,el=Symbol.for("react.element"),Qn=Symbol.for("react.portal"),Yn=Symbol.for("react.fragment"),Aa=Symbol.for("react.strict_mode"),Fs=Symbol.for("react.profiler"),If=Symbol.for("react.provider"),Df=Symbol.for("react.context"),Ia=Symbol.for("react.forward_ref"),js=Symbol.for("react.suspense"),Hs=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),Yt=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Mf=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var _c=Symbol.iterator;function jr(e){return e===null||typeof e!="object"?null:(e=_c&&e[_c]||e["@@iterator"],typeof e=="function"?e:null)}var ie=Object.assign,hs;function Yr(e){if(hs===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);hs=t&&t[1]||""}return` `+hs+e}var gs=!1;function ys(e,t){if(!e||gs)return"";gs=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` `),l=r.stack.split(` `),i=o.length-1,s=l.length-1;1<=i&&0<=s&&o[i]!==l[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==l[s]){if(i!==1||s!==1)do if(i--,s--,0>s||o[i]!==l[s]){var a=` `+o[i].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=i&&0<=s);break}}}finally{gs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Yr(e):""}function Yv(e){switch(e.tag){case 5:return Yr(e.type);case 16:return Yr("Lazy");case 13:return Yr("Suspense");case 19:return Yr("SuspenseList");case 0:case 2:case 15:return e=ys(e.type,!1),e;case 11:return e=ys(e.type.render,!1),e;case 1:return e=ys(e.type,!0),e;default:return""}}function Vs(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Yn:return"Fragment";case Qn:return"Portal";case Fs:return"Profiler";case Aa:return"StrictMode";case js:return"Suspense";case Hs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Df:return(e.displayName||"Context")+".Consumer";case If:return(e._context.displayName||"Context")+".Provider";case Ia:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Da:return t=e.displayName||null,t!==null?t:Vs(e.type)||"Memo";case Yt:t=e._payload,e=e._init;try{return Vs(e(t))}catch{}}return null}function Xv(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Vs(t);case 8:return t===Aa?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gv(e){var t=bf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function tl(e){e._valueTracker||(e._valueTracker=Gv(e))}function zf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=bf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ol(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}}function Bs(e,t){var n=t.checked;return ie({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Rc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=un(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ff(e,t){t=t.checked,t!=null&&La(e,"checked",t,!1)}function Us(e,t){Ff(e,t);var n=un(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ws(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ws(e,t.type,un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Oc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ws(e,t,n){(t!=="number"||Ol(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Xr=Array.isArray;function lr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+un(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Ks(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(k(91));return ie({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Nc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(k(92));if(Xr(n)){if(1<n.length)throw Error(k(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:un(n)}}function jf(e,t){var n=un(t.value),r=un(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Tc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Hf(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Qs(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Hf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var nl,Vf=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(nl=nl||document.createElement("div"),nl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=nl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ao(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Zr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qv=["Webkit","ms","Moz","O"];Object.keys(Zr).forEach(function(e){qv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zr[t]=Zr[e]})});function Bf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Zr.hasOwnProperty(e)&&Zr[e]?(""+t).trim():t+"px"}function Uf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Bf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Zv=ie({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ys(e,t){if(t){if(Zv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function Xs(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gs=null;function Ma(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qs=null,ir=null,sr=null;function Lc(e){if(e=_o(e)){if(typeof qs!="function")throw Error(k(280));var t=e.stateNode;t&&(t=ri(t),qs(e.stateNode,e.type,t))}}function Wf(e){ir?sr?sr.push(e):sr=[e]:ir=e}function Kf(){if(ir){var e=ir,t=sr;if(sr=ir=null,Lc(e),t)for(e=0;e<t.length;e++)Lc(t[e])}}function Qf(e,t){return e(t)}function Yf(){}var ws=!1;function Xf(e,t,n){if(ws)return e(t,n);ws=!0;try{return Qf(e,t,n)}finally{ws=!1,(ir!==null||sr!==null)&&(Yf(),Kf())}}function uo(e,t){var n=e.stateNode;if(n===null)return null;var r=ri(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(k(231,t,typeof n));return n}var Zs=!1;if(It)try{Wn={},Object.defineProperty(Wn,"passive",{get:function(){Zs=!0}}),window.addEventListener("test",Wn,Wn),window.removeEventListener("test",Wn,Wn)}catch{Zs=!1}var Wn;function Jv(e,t,n,r,o,l,i,s,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(m){this.onError(m)}}var Jr=!1,Nl=null,Tl=!1,Js=null,eh={onError:function(e){Jr=!0,Nl=e}};function th(e,t,n,r,o,l,i,s,a){Jr=!1,Nl=null,Jv.apply(eh,arguments)}function nh(e,t,n,r,o,l,i,s,a){if(th.apply(this,arguments),Jr){if(Jr){var u=Nl;Jr=!1,Nl=null}else throw Error(k(198));Tl||(Tl=!0,Js=u)}}function zn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Gf(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 Ac(e){if(zn(e)!==e)throw Error(k(188))}function rh(e){var t=e.alternate;if(!t){if(t=zn(e),t===null)throw Error(k(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var l=o.alternate;if(l===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===l.child){for(l=o.child;l;){if(l===n)return Ac(o),e;if(l===r)return Ac(o),t;l=l.sibling}throw Error(k(188))}if(n.return!==r.return)n=o,r=l;else{for(var i=!1,s=o.child;s;){if(s===n){i=!0,n=o,r=l;break}if(s===r){i=!0,r=o,n=l;break}s=s.sibling}if(!i){for(s=l.child;s;){if(s===n){i=!0,n=l,r=o;break}if(s===r){i=!0,r=l,n=o;break}s=s.sibling}if(!i)throw Error(k(189))}}if(n.alternate!==r)throw Error(k(190))}if(n.tag!==3)throw Error(k(188));return n.stateNode.current===n?e:t}function qf(e){return e=rh(e),e!==null?Zf(e):null}function Zf(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Zf(e);if(t!==null)return t;e=e.sibling}return null}var Jf=Ye.unstable_scheduleCallback,Ic=Ye.unstable_cancelCallback,oh=Ye.unstable_shouldYield,lh=Ye.unstable_requestPaint,ue=Ye.unstable_now,ih=Ye.unstable_getCurrentPriorityLevel,ba=Ye.unstable_ImmediatePriority,ed=Ye.unstable_UserBlockingPriority,Ll=Ye.unstable_NormalPriority,sh=Ye.unstable_LowPriority,td=Ye.unstable_IdlePriority,Jl=null,Ct=null;function ah(e){if(Ct&&typeof Ct.onCommitFiberRoot=="function")try{Ct.onCommitFiberRoot(Jl,e,void 0,(e.current.flags&128)===128)}catch{}}var pt=Math.clz32?Math.clz32:fh,uh=Math.log,ch=Math.LN2;function fh(e){return e>>>=0,e===0?32:31-(uh(e)/ch|0)|0}var rl=64,ol=4194304;function Gr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Al(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~o;s!==0?r=Gr(s):(l&=i,l!==0&&(r=Gr(l)))}else i=n&~o,i!==0?r=Gr(i):l!==0&&(r=Gr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-pt(t),o=1<<n,r|=e[n],t&=~o;return r}function dh(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ph(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,l=e.pendingLanes;0<l;){var i=31-pt(l),s=1<<i,a=o[i];a===-1?(!(s&n)||s&r)&&(o[i]=dh(s,t)):a<=t&&(e.expiredLanes|=s),l&=~s}}function ea(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function nd(){var e=rl;return rl<<=1,!(rl&4194240)&&(rl=64),e}function $s(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Po(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-pt(t),e[t]=n}function mh(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-pt(n),l=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~l}}function za(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-pt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var B=0;function rd(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var od,Fa,ld,id,sd,ta=!1,ll=[],en=null,tn=null,nn=null,co=new Map,fo=new Map,Gt=[],vh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Dc(e,t){switch(e){case"focusin":case"focusout":en=null;break;case"dragenter":case"dragleave":tn=null;break;case"mouseover":case"mouseout":nn=null;break;case"pointerover":case"pointerout":co.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":fo.delete(t.pointerId)}}function Hr(e,t,n,r,o,l){return e===null||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:l,targetContainers:[o]},t!==null&&(t=_o(t),t!==null&&Fa(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function hh(e,t,n,r,o){switch(t){case"focusin":return en=Hr(en,e,t,n,r,o),!0;case"dragenter":return tn=Hr(tn,e,t,n,r,o),!0;case"mouseover":return nn=Hr(nn,e,t,n,r,o),!0;case"pointerover":var l=o.pointerId;return co.set(l,Hr(co.get(l)||null,e,t,n,r,o)),!0;case"gotpointercapture":return l=o.pointerId,fo.set(l,Hr(fo.get(l)||null,e,t,n,r,o)),!0}return!1}function ad(e){var t=_n(e.target);if(t!==null){var n=zn(t);if(n!==null){if(t=n.tag,t===13){if(t=Gf(n),t!==null){e.blockedOn=t,sd(e.priority,function(){ld(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function wl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=na(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Gs=r,n.target.dispatchEvent(r),Gs=null}else return t=_o(n),t!==null&&Fa(t),e.blockedOn=n,!1;t.shift()}return!0}function Mc(e,t,n){wl(e)&&n.delete(t)}function gh(){ta=!1,en!==null&&wl(en)&&(en=null),tn!==null&&wl(tn)&&(tn=null),nn!==null&&wl(nn)&&(nn=null),co.forEach(Mc),fo.forEach(Mc)}function Vr(e,t){e.blockedOn===t&&(e.blockedOn=null,ta||(ta=!0,Ye.unstable_scheduleCallback(Ye.unstable_NormalPriority,gh)))}function po(e){function t(o){return Vr(o,e)}if(0<ll.length){Vr(ll[0],e);for(var n=1;n<ll.length;n++){var r=ll[n];r.blockedOn===e&&(r.blockedOn=null)}}for(en!==null&&Vr(en,e),tn!==null&&Vr(tn,e),nn!==null&&Vr(nn,e),co.forEach(t),fo.forEach(t),n=0;n<Gt.length;n++)r=Gt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Gt.length&&(n=Gt[0],n.blockedOn===null);)ad(n),n.blockedOn===null&&Gt.shift()}var ar=zt.ReactCurrentBatchConfig,Il=!0;function yh(e,t,n,r){var o=B,l=ar.transition;ar.transition=null;try{B=1,ja(e,t,n,r)}finally{B=o,ar.transition=l}}function wh(e,t,n,r){var o=B,l=ar.transition;ar.transition=null;try{B=4,ja(e,t,n,r)}finally{B=o,ar.transition=l}}function ja(e,t,n,r){if(Il){var o=na(e,t,n,r);if(o===null)_s(e,t,r,Dl,n),Dc(e,r);else if(hh(o,e,t,n,r))r.stopPropagation();else if(Dc(e,r),t&4&&-1<vh.indexOf(e)){for(;o!==null;){var l=_o(o);if(l!==null&&od(l),l=na(e,t,n,r),l===null&&_s(e,t,r,Dl,n),l===o)break;o=l}o!==null&&r.stopPropagation()}else _s(e,t,r,null,n)}}var Dl=null;function na(e,t,n,r){if(Dl=null,e=Ma(r),e=_n(e),e!==null)if(t=zn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Gf(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 Dl=e,null}function ud(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ih()){case ba:return 1;case ed:return 4;case Ll:case sh:return 16;case td:return 536870912;default:return 16}default:return 16}}var Zt=null,Ha=null,$l=null;function cd(){if($l)return $l;var e,t=Ha,n=t.length,r,o="value"in Zt?Zt.value:Zt.textContent,l=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[l-r];r++);return $l=o.slice(e,1<r?1-r:void 0)}function Sl(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 il(){return!0}function bc(){return!1}function Xe(e){function t(n,r,o,l,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=l,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(l):l[s]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?il:bc,this.isPropagationStopped=bc,this}return ie(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=il)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=il)},persist:function(){},isPersistent:il}),t}var yr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Va=Xe(yr),ko=ie({},yr,{view:0,detail:0}),$h=Xe(ko),Ss,xs,Br,ei=ie({},ko,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ba,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!==Br&&(Br&&e.type==="mousemove"?(Ss=e.screenX-Br.screenX,xs=e.screenY-Br.screenY):xs=Ss=0,Br=e),Ss)},movementY:function(e){return"movementY"in e?e.movementY:xs}}),zc=Xe(ei),Sh=ie({},ei,{dataTransfer:0}),xh=Xe(Sh),Eh=ie({},ko,{relatedTarget:0}),Es=Xe(Eh),Ch=ie({},yr,{animationName:0,elapsedTime:0,pseudoElement:0}),Ph=Xe(Ch),kh=ie({},yr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_h=Xe(kh),Rh=ie({},yr,{data:0}),Fc=Xe(Rh),Oh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nh={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"},Th={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Lh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Th[e])?!!t[e]:!1}function Ba(){return Lh}var Ah=ie({},ko,{key:function(e){if(e.key){var t=Oh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Sl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Nh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ba,charCode:function(e){return e.type==="keypress"?Sl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Sl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ih=Xe(Ah),Dh=ie({},ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jc=Xe(Dh),Mh=ie({},ko,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ba}),bh=Xe(Mh),zh=ie({},yr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Fh=Xe(zh),jh=ie({},ei,{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}),Hh=Xe(jh),Vh=[9,13,27,32],Ua=It&&"CompositionEvent"in window,eo=null;It&&"documentMode"in document&&(eo=document.documentMode);var Bh=It&&"TextEvent"in window&&!eo,fd=It&&(!Ua||eo&&8<eo&&11>=eo),Hc=String.fromCharCode(32),Vc=!1;function dd(e,t){switch(e){case"keyup":return Vh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xn=!1;function Uh(e,t){switch(e){case"compositionend":return pd(t);case"keypress":return t.which!==32?null:(Vc=!0,Hc);case"textInput":return e=t.data,e===Hc&&Vc?null:e;default:return null}}function Wh(e,t){if(Xn)return e==="compositionend"||!Ua&&dd(e,t)?(e=cd(),$l=Ha=Zt=null,Xn=!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 fd&&t.locale!=="ko"?null:t.data;default:return null}}var Kh={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 Bc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Kh[e.type]:t==="textarea"}function md(e,t,n,r){Wf(r),t=Ml(t,"onChange"),0<t.length&&(n=new Va("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var to=null,mo=null;function Qh(e){Pd(e,0)}function ti(e){var t=Zn(e);if(zf(t))return e}function Yh(e,t){if(e==="change")return t}var vd=!1;It&&(It?(al="oninput"in document,al||(Cs=document.createElement("div"),Cs.setAttribute("oninput","return;"),al=typeof Cs.oninput=="function"),sl=al):sl=!1,vd=sl&&(!document.documentMode||9<document.documentMode));var sl,al,Cs;function Uc(){to&&(to.detachEvent("onpropertychange",hd),mo=to=null)}function hd(e){if(e.propertyName==="value"&&ti(mo)){var t=[];md(t,mo,e,Ma(e)),Xf(Qh,t)}}function Xh(e,t,n){e==="focusin"?(Uc(),to=t,mo=n,to.attachEvent("onpropertychange",hd)):e==="focusout"&&Uc()}function Gh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ti(mo)}function qh(e,t){if(e==="click")return ti(t)}function Zh(e,t){if(e==="input"||e==="change")return ti(t)}function Jh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vt=typeof Object.is=="function"?Object.is:Jh;function vo(e,t){if(vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!zs.call(t,o)||!vt(e[o],t[o]))return!1}return!0}function Wc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Kc(e,t){var n=Wc(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Wc(n)}}function gd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?gd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yd(){for(var e=window,t=Ol();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ol(e.document)}return t}function Wa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function e0(e){var t=yd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&gd(n.ownerDocument.documentElement,n)){if(r!==null&&Wa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=Kc(n,l);var i=Kc(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var t0=It&&"documentMode"in document&&11>=document.documentMode,Gn=null,ra=null,no=null,oa=!1;function Qc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;oa||Gn==null||Gn!==Ol(r)||(r=Gn,"selectionStart"in r&&Wa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),no&&vo(no,r)||(no=r,r=Ml(ra,"onSelect"),0<r.length&&(t=new Va("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Gn)))}function ul(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qn={animationend:ul("Animation","AnimationEnd"),animationiteration:ul("Animation","AnimationIteration"),animationstart:ul("Animation","AnimationStart"),transitionend:ul("Transition","TransitionEnd")},Ps={},wd={};It&&(wd=document.createElement("div").style,"AnimationEvent"in window||(delete qn.animationend.animation,delete qn.animationiteration.animation,delete qn.animationstart.animation),"TransitionEvent"in window||delete qn.transitionend.transition);function ni(e){if(Ps[e])return Ps[e];if(!qn[e])return e;var t=qn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in wd)return Ps[e]=t[n];return e}var $d=ni("animationend"),Sd=ni("animationiteration"),xd=ni("animationstart"),Ed=ni("transitionend"),Cd=new Map,Yc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function fn(e,t){Cd.set(e,t),bn(t,[e])}for(cl=0;cl<Yc.length;cl++)fl=Yc[cl],Xc=fl.toLowerCase(),Gc=fl[0].toUpperCase()+fl.slice(1),fn(Xc,"on"+Gc);var fl,Xc,Gc,cl;fn($d,"onAnimationEnd");fn(Sd,"onAnimationIteration");fn(xd,"onAnimationStart");fn("dblclick","onDoubleClick");fn("focusin","onFocus");fn("focusout","onBlur");fn(Ed,"onTransitionEnd");fr("onMouseEnter",["mouseout","mouseover"]);fr("onMouseLeave",["mouseout","mouseover"]);fr("onPointerEnter",["pointerout","pointerover"]);fr("onPointerLeave",["pointerout","pointerover"]);bn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));bn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));bn("onBeforeInput",["compositionend","keypress","textInput","paste"]);bn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));bn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));bn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var qr="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(" "),n0=new Set("cancel close invalid load scroll toggle".split(" ").concat(qr));function qc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,nh(r,t,void 0,e),e.currentTarget=null}function Pd(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var l=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],a=s.instance,u=s.currentTarget;if(s=s.listener,a!==l&&o.isPropagationStopped())break e;qc(o,s,u),l=a}else for(i=0;i<r.length;i++){if(s=r[i],a=s.instance,u=s.currentTarget,s=s.listener,a!==l&&o.isPropagationStopped())break e;qc(o,s,u),l=a}}}if(Tl)throw e=Js,Tl=!1,Js=null,e}function ee(e,t){var n=t[ua];n===void 0&&(n=t[ua]=new Set);var r=e+"__bubble";n.has(r)||(kd(t,e,2,!1),n.add(r))}function ks(e,t,n){var r=0;t&&(r|=4),kd(n,e,r,t)}var dl="_reactListening"+Math.random().toString(36).slice(2);function ho(e){if(!e[dl]){e[dl]=!0,Af.forEach(function(n){n!=="selectionchange"&&(n0.has(n)||ks(n,!1,e),ks(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[dl]||(t[dl]=!0,ks("selectionchange",!1,t))}}function kd(e,t,n,r){switch(ud(t)){case 1:var o=yh;break;case 4:o=wh;break;default:o=ja}n=o.bind(null,t,n,e),o=void 0,!Zs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function _s(e,t,n,r,o){var l=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var s=r.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var a=i.tag;if((a===3||a===4)&&(a=i.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;i=i.return}for(;s!==null;){if(i=_n(s),i===null)return;if(a=i.tag,a===5||a===6){r=l=i;continue e}s=s.parentNode}}r=r.return}Xf(function(){var u=l,m=Ma(n),p=[];e:{var v=Cd.get(e);if(v!==void 0){var y=Va,g=e;switch(e){case"keypress":if(Sl(n)===0)break e;case"keydown":case"keyup":y=Ih;break;case"focusin":g="focus",y=Es;break;case"focusout":g="blur",y=Es;break;case"beforeblur":case"afterblur":y=Es;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":y=zc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=xh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=bh;break;case $d:case Sd:case xd:y=Ph;break;case Ed:y=Fh;break;case"scroll":y=$h;break;case"wheel":y=Hh;break;case"copy":case"cut":case"paste":y=_h;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=jc}var h=(t&4)!==0,$=!h&&e==="scroll",f=h?v!==null?v+"Capture":null:v;h=[];for(var c=u,d;c!==null;){d=c;var w=d.stateNode;if(d.tag===5&&w!==null&&(d=w,f!==null&&(w=uo(c,f),w!=null&&h.push(go(c,w,d)))),$)break;c=c.return}0<h.length&&(v=new y(v,g,null,n,m),p.push({event:v,listeners:h}))}}if(!(t&7)){e:{if(v=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",v&&n!==Gs&&(g=n.relatedTarget||n.fromElement)&&(_n(g)||g[Dt]))break e;if((y||v)&&(v=m.window===m?m:(v=m.ownerDocument)?v.defaultView||v.parentWindow:window,y?(g=n.relatedTarget||n.toElement,y=u,g=g?_n(g):null,g!==null&&($=zn(g),g!==$||g.tag!==5&&g.tag!==6)&&(g=null)):(y=null,g=u),y!==g)){if(h=zc,w="onMouseLeave",f="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(h=jc,w="onPointerLeave",f="onPointerEnter",c="pointer"),$=y==null?v:Zn(y),d=g==null?v:Zn(g),v=new h(w,c+"leave",y,n,m),v.target=$,v.relatedTarget=d,w=null,_n(m)===u&&(h=new h(f,c+"enter",g,n,m),h.target=d,h.relatedTarget=$,w=h),$=w,y&&g)t:{for(h=y,f=g,c=0,d=h;d;d=Kn(d))c++;for(d=0,w=f;w;w=Kn(w))d++;for(;0<c-d;)h=Kn(h),c--;for(;0<d-c;)f=Kn(f),d--;for(;c--;){if(h===f||f!==null&&h===f.alternate)break t;h=Kn(h),f=Kn(f)}h=null}else h=null;y!==null&&Zc(p,v,y,h,!1),g!==null&&$!==null&&Zc(p,$,g,h,!0)}}e:{if(v=u?Zn(u):window,y=v.nodeName&&v.nodeName.toLowerCase(),y==="select"||y==="input"&&v.type==="file")var S=Yh;else if(Bc(v))if(vd)S=Zh;else{S=Gh;var C=Xh}else(y=v.nodeName)&&y.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(S=qh);if(S&&(S=S(e,u))){md(p,S,n,m);break e}C&&C(e,v,u),e==="focusout"&&(C=v._wrapperState)&&C.controlled&&v.type==="number"&&Ws(v,"number",v.value)}switch(C=u?Zn(u):window,e){case"focusin":(Bc(C)||C.contentEditable==="true")&&(Gn=C,ra=u,no=null);break;case"focusout":no=ra=Gn=null;break;case"mousedown":oa=!0;break;case"contextmenu":case"mouseup":case"dragend":oa=!1,Qc(p,n,m);break;case"selectionchange":if(t0)break;case"keydown":case"keyup":Qc(p,n,m)}var P;if(Ua)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else Xn?dd(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(fd&&n.locale!=="ko"&&(Xn||E!=="onCompositionStart"?E==="onCompositionEnd"&&Xn&&(P=cd()):(Zt=m,Ha="value"in Zt?Zt.value:Zt.textContent,Xn=!0)),C=Ml(u,E),0<C.length&&(E=new Fc(E,e,null,n,m),p.push({event:E,listeners:C}),P?E.data=P:(P=pd(n),P!==null&&(E.data=P)))),(P=Bh?Uh(e,n):Wh(e,n))&&(u=Ml(u,"onBeforeInput"),0<u.length&&(m=new Fc("onBeforeInput","beforeinput",null,n,m),p.push({event:m,listeners:u}),m.data=P))}Pd(p,t)})}function go(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ml(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,l=o.stateNode;o.tag===5&&l!==null&&(o=l,l=uo(e,n),l!=null&&r.unshift(go(e,l,o)),l=uo(e,t),l!=null&&r.push(go(e,l,o))),e=e.return}return r}function Kn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Zc(e,t,n,r,o){for(var l=t._reactName,i=[];n!==null&&n!==r;){var s=n,a=s.alternate,u=s.stateNode;if(a!==null&&a===r)break;s.tag===5&&u!==null&&(s=u,o?(a=uo(n,l),a!=null&&i.unshift(go(n,a,s))):o||(a=uo(n,l),a!=null&&i.push(go(n,a,s)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var r0=/\r\n?/g,o0=/\u0000|\uFFFD/g;function Jc(e){return(typeof e=="string"?e:""+e).replace(r0,` `).replace(o0,"")}function pl(e,t,n){if(t=Jc(t),Jc(e)!==t&&n)throw Error(k(425))}function bl(){}var la=null,ia=null;function sa(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var aa=typeof setTimeout=="function"?setTimeout:void 0,l0=typeof clearTimeout=="function"?clearTimeout:void 0,ef=typeof Promise=="function"?Promise:void 0,i0=typeof queueMicrotask=="function"?queueMicrotask:typeof ef<"u"?function(e){return ef.resolve(null).then(e).catch(s0)}:aa;function s0(e){setTimeout(function(){throw e})}function Rs(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),po(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);po(t)}function rn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function tf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var wr=Math.random().toString(36).slice(2),Et="__reactFiber$"+wr,yo="__reactProps$"+wr,Dt="__reactContainer$"+wr,ua="__reactEvents$"+wr,a0="__reactListeners$"+wr,u0="__reactHandles$"+wr;function _n(e){var t=e[Et];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Dt]||n[Et]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=tf(e);e!==null;){if(n=e[Et])return n;e=tf(e)}return t}e=n,n=e.parentNode}return null}function _o(e){return e=e[Et]||e[Dt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Zn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(k(33))}function ri(e){return e[yo]||null}var ca=[],Jn=-1;function dn(e){return{current:e}}function te(e){0>Jn||(e.current=ca[Jn],ca[Jn]=null,Jn--)}function G(e,t){Jn++,ca[Jn]=e.current,e.current=t}var cn={},_e=dn(cn),Fe=dn(!1),Ln=cn;function dr(e,t){var n=e.type.contextTypes;if(!n)return cn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function je(e){return e=e.childContextTypes,e!=null}function zl(){te(Fe),te(_e)}function nf(e,t,n){if(_e.current!==cn)throw Error(k(168));G(_e,t),G(Fe,n)}function _d(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(k(108,Xv(e)||"Unknown",o));return ie({},n,r)}function Fl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cn,Ln=_e.current,G(_e,e),G(Fe,Fe.current),!0}function rf(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=_d(e,t,Ln),r.__reactInternalMemoizedMergedChildContext=e,te(Fe),te(_e),G(_e,e)):te(Fe),G(Fe,n)}var Nt=null,oi=!1,Os=!1;function Rd(e){Nt===null?Nt=[e]:Nt.push(e)}function c0(e){oi=!0,Rd(e)}function pn(){if(!Os&&Nt!==null){Os=!0;var e=0,t=B;try{var n=Nt;for(B=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Nt=null,oi=!1}catch(o){throw Nt!==null&&(Nt=Nt.slice(e+1)),Jf(ba,pn),o}finally{B=t,Os=!1}}return null}var er=[],tr=0,jl=null,Hl=0,et=[],tt=0,An=null,Tt=1,Lt="";function Pn(e,t){er[tr++]=Hl,er[tr++]=jl,jl=e,Hl=t}function Od(e,t,n){et[tt++]=Tt,et[tt++]=Lt,et[tt++]=An,An=e;var r=Tt;e=Lt;var o=32-pt(r)-1;r&=~(1<<o),n+=1;var l=32-pt(t)+o;if(30<l){var i=o-o%5;l=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Tt=1<<32-pt(t)+o|n<<o|r,Lt=l+e}else Tt=1<<l|n<<o|r,Lt=e}function Ka(e){e.return!==null&&(Pn(e,1),Od(e,1,0))}function Qa(e){for(;e===jl;)jl=er[--tr],er[tr]=null,Hl=er[--tr],er[tr]=null;for(;e===An;)An=et[--tt],et[tt]=null,Lt=et[--tt],et[tt]=null,Tt=et[--tt],et[tt]=null}var Qe=null,Ke=null,re=!1,dt=null;function Nd(e,t){var n=nt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function of(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Qe=e,Ke=rn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Qe=e,Ke=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=An!==null?{id:Tt,overflow:Lt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=nt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Qe=e,Ke=null,!0):!1;default:return!1}}function fa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function da(e){if(re){var t=Ke;if(t){var n=t;if(!of(e,t)){if(fa(e))throw Error(k(418));t=rn(n.nextSibling);var r=Qe;t&&of(e,t)?Nd(r,n):(e.flags=e.flags&-4097|2,re=!1,Qe=e)}}else{if(fa(e))throw Error(k(418));e.flags=e.flags&-4097|2,re=!1,Qe=e}}}function lf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Qe=e}function ml(e){if(e!==Qe)return!1;if(!re)return lf(e),re=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!sa(e.type,e.memoizedProps)),t&&(t=Ke)){if(fa(e))throw Td(),Error(k(418));for(;t;)Nd(e,t),t=rn(t.nextSibling)}if(lf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(k(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ke=rn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ke=null}}else Ke=Qe?rn(e.stateNode.nextSibling):null;return!0}function Td(){for(var e=Ke;e;)e=rn(e.nextSibling)}function pr(){Ke=Qe=null,re=!1}function Ya(e){dt===null?dt=[e]:dt.push(e)}var f0=zt.ReactCurrentBatchConfig;function ct(e,t){if(e&&e.defaultProps){t=ie({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Vl=dn(null),Bl=null,nr=null,Xa=null;function Ga(){Xa=nr=Bl=null}function qa(e){var t=Vl.current;te(Vl),e._currentValue=t}function pa(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ur(e,t){Bl=e,Xa=nr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ze=!0),e.firstContext=null)}function ot(e){var t=e._currentValue;if(Xa!==e)if(e={context:e,memoizedValue:t,next:null},nr===null){if(Bl===null)throw Error(k(308));nr=e,Bl.dependencies={lanes:0,firstContext:e}}else nr=nr.next=e;return t}var Rn=null;function Za(e){Rn===null?Rn=[e]:Rn.push(e)}function Ld(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Za(t)):(n.next=o.next,o.next=n),t.interleaved=n,Mt(e,r)}function Mt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Xt=!1;function Ja(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ad(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function At(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function on(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,V&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Mt(e,n)}return o=r.interleaved,o===null?(t.next=t,Za(r)):(t.next=o.next,o.next=t),r.interleaved=t,Mt(e,n)}function xl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,za(e,n)}}function sf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?o=l=i:l=l.next=i,n=n.next}while(n!==null);l===null?o=l=t:l=l.next=t}else o=l=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ul(e,t,n,r){var o=e.updateQueue;Xt=!1;var l=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var a=s,u=a.next;a.next=null,i===null?l=u:i.next=u,i=a;var m=e.alternate;m!==null&&(m=m.updateQueue,s=m.lastBaseUpdate,s!==i&&(s===null?m.firstBaseUpdate=u:s.next=u,m.lastBaseUpdate=a))}if(l!==null){var p=o.baseState;i=0,m=u=a=null,s=l;do{var v=s.lane,y=s.eventTime;if((r&v)===v){m!==null&&(m=m.next={eventTime:y,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,h=s;switch(v=t,y=n,h.tag){case 1:if(g=h.payload,typeof g=="function"){p=g.call(y,p,v);break e}p=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=h.payload,v=typeof g=="function"?g.call(y,p,v):g,v==null)break e;p=ie({},p,v);break e;case 2:Xt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=o.effects,v===null?o.effects=[s]:v.push(s))}else y={eventTime:y,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},m===null?(u=m=y,a=p):m=m.next=y,i|=v;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;v=s,s=v.next,v.next=null,o.lastBaseUpdate=v,o.shared.pending=null}}while(1);if(m===null&&(a=p),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else l===null&&(o.shared.lanes=0);Dn|=i,e.lanes=i,e.memoizedState=p}}function af(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(k(191,o));o.call(r)}}}var Id=new Lf.Component().refs;function ma(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ie({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var li={isMounted:function(e){return(e=e._reactInternals)?zn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ie(),o=sn(e),l=At(r,o);l.payload=t,n!=null&&(l.callback=n),t=on(e,l,o),t!==null&&(mt(t,e,o,r),xl(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ie(),o=sn(e),l=At(r,o);l.tag=1,l.payload=t,n!=null&&(l.callback=n),t=on(e,l,o),t!==null&&(mt(t,e,o,r),xl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ie(),r=sn(e),o=At(n,r);o.tag=2,t!=null&&(o.callback=t),t=on(e,o,r),t!==null&&(mt(t,e,r,n),xl(t,e,r))}};function uf(e,t,n,r,o,l,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,l,i):t.prototype&&t.prototype.isPureReactComponent?!vo(n,r)||!vo(o,l):!0}function Dd(e,t,n){var r=!1,o=cn,l=t.contextType;return typeof l=="object"&&l!==null?l=ot(l):(o=je(t)?Ln:_e.current,r=t.contextTypes,l=(r=r!=null)?dr(e,o):cn),t=new t(n,l),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=li,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=l),t}function cf(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&li.enqueueReplaceState(t,t.state,null)}function va(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Id,Ja(e);var l=t.contextType;typeof l=="object"&&l!==null?o.context=ot(l):(l=je(t)?Ln:_e.current,o.context=dr(e,l)),o.state=e.memoizedState,l=t.getDerivedStateFromProps,typeof l=="function"&&(ma(e,t,l,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&li.enqueueReplaceState(o,o.state,null),Ul(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ur(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(k(309));var r=n.stateNode}if(!r)throw Error(k(147,e));var o=r,l=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===l?t.ref:(t=function(i){var s=o.refs;s===Id&&(s=o.refs={}),i===null?delete s[l]:s[l]=i},t._stringRef=l,t)}if(typeof e!="string")throw Error(k(284));if(!n._owner)throw Error(k(290,e))}return e}function vl(e,t){throw e=Object.prototype.toString.call(t),Error(k(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ff(e){var t=e._init;return t(e._payload)}function Md(e){function t(f,c){if(e){var d=f.deletions;d===null?(f.deletions=[c],f.flags|=16):d.push(c)}}function n(f,c){if(!e)return null;for(;c!==null;)t(f,c),c=c.sibling;return null}function r(f,c){for(f=new Map;c!==null;)c.key!==null?f.set(c.key,c):f.set(c.index,c),c=c.sibling;return f}function o(f,c){return f=an(f,c),f.index=0,f.sibling=null,f}function l(f,c,d){return f.index=d,e?(d=f.alternate,d!==null?(d=d.index,d<c?(f.flags|=2,c):d):(f.flags|=2,c)):(f.flags|=1048576,c)}function i(f){return e&&f.alternate===null&&(f.flags|=2),f}function s(f,c,d,w){return c===null||c.tag!==6?(c=Ms(d,f.mode,w),c.return=f,c):(c=o(c,d),c.return=f,c)}function a(f,c,d,w){var S=d.type;return S===Yn?m(f,c,d.props.children,w,d.key):c!==null&&(c.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Yt&&ff(S)===c.type)?(w=o(c,d.props),w.ref=Ur(f,c,d),w.return=f,w):(w=Rl(d.type,d.key,d.props,null,f.mode,w),w.ref=Ur(f,c,d),w.return=f,w)}function u(f,c,d,w){return c===null||c.tag!==4||c.stateNode.containerInfo!==d.containerInfo||c.stateNode.implementation!==d.implementation?(c=bs(d,f.mode,w),c.return=f,c):(c=o(c,d.children||[]),c.return=f,c)}function m(f,c,d,w,S){return c===null||c.tag!==7?(c=Tn(d,f.mode,w,S),c.return=f,c):(c=o(c,d),c.return=f,c)}function p(f,c,d){if(typeof c=="string"&&c!==""||typeof c=="number")return c=Ms(""+c,f.mode,d),c.return=f,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case el:return d=Rl(c.type,c.key,c.props,null,f.mode,d),d.ref=Ur(f,null,c),d.return=f,d;case Qn:return c=bs(c,f.mode,d),c.return=f,c;case Yt:var w=c._init;return p(f,w(c._payload),d)}if(Xr(c)||jr(c))return c=Tn(c,f.mode,d,null),c.return=f,c;vl(f,c)}return null}function v(f,c,d,w){var S=c!==null?c.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return S!==null?null:s(f,c,""+d,w);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case el:return d.key===S?a(f,c,d,w):null;case Qn:return d.key===S?u(f,c,d,w):null;case Yt:return S=d._init,v(f,c,S(d._payload),w)}if(Xr(d)||jr(d))return S!==null?null:m(f,c,d,w,null);vl(f,d)}return null}function y(f,c,d,w,S){if(typeof w=="string"&&w!==""||typeof w=="number")return f=f.get(d)||null,s(c,f,""+w,S);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case el:return f=f.get(w.key===null?d:w.key)||null,a(c,f,w,S);case Qn:return f=f.get(w.key===null?d:w.key)||null,u(c,f,w,S);case Yt:var C=w._init;return y(f,c,d,C(w._payload),S)}if(Xr(w)||jr(w))return f=f.get(d)||null,m(c,f,w,S,null);vl(c,w)}return null}function g(f,c,d,w){for(var S=null,C=null,P=c,E=c=0,N=null;P!==null&&E<d.length;E++){P.index>E?(N=P,P=null):N=P.sibling;var R=v(f,P,d[E],w);if(R===null){P===null&&(P=N);break}e&&P&&R.alternate===null&&t(f,P),c=l(R,c,E),C===null?S=R:C.sibling=R,C=R,P=N}if(E===d.length)return n(f,P),re&&Pn(f,E),S;if(P===null){for(;E<d.length;E++)P=p(f,d[E],w),P!==null&&(c=l(P,c,E),C===null?S=P:C.sibling=P,C=P);return re&&Pn(f,E),S}for(P=r(f,P);E<d.length;E++)N=y(P,f,E,d[E],w),N!==null&&(e&&N.alternate!==null&&P.delete(N.key===null?E:N.key),c=l(N,c,E),C===null?S=N:C.sibling=N,C=N);return e&&P.forEach(function(T){return t(f,T)}),re&&Pn(f,E),S}function h(f,c,d,w){var S=jr(d);if(typeof S!="function")throw Error(k(150));if(d=S.call(d),d==null)throw Error(k(151));for(var C=S=null,P=c,E=c=0,N=null,R=d.next();P!==null&&!R.done;E++,R=d.next()){P.index>E?(N=P,P=null):N=P.sibling;var T=v(f,P,R.value,w);if(T===null){P===null&&(P=N);break}e&&P&&T.alternate===null&&t(f,P),c=l(T,c,E),C===null?S=T:C.sibling=T,C=T,P=N}if(R.done)return n(f,P),re&&Pn(f,E),S;if(P===null){for(;!R.done;E++,R=d.next())R=p(f,R.value,w),R!==null&&(c=l(R,c,E),C===null?S=R:C.sibling=R,C=R);return re&&Pn(f,E),S}for(P=r(f,P);!R.done;E++,R=d.next())R=y(P,f,E,R.value,w),R!==null&&(e&&R.alternate!==null&&P.delete(R.key===null?E:R.key),c=l(R,c,E),C===null?S=R:C.sibling=R,C=R);return e&&P.forEach(function(j){return t(f,j)}),re&&Pn(f,E),S}function $(f,c,d,w){if(typeof d=="object"&&d!==null&&d.type===Yn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case el:e:{for(var S=d.key,C=c;C!==null;){if(C.key===S){if(S=d.type,S===Yn){if(C.tag===7){n(f,C.sibling),c=o(C,d.props.children),c.return=f,f=c;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Yt&&ff(S)===C.type){n(f,C.sibling),c=o(C,d.props),c.ref=Ur(f,C,d),c.return=f,f=c;break e}n(f,C);break}else t(f,C);C=C.sibling}d.type===Yn?(c=Tn(d.props.children,f.mode,w,d.key),c.return=f,f=c):(w=Rl(d.type,d.key,d.props,null,f.mode,w),w.ref=Ur(f,c,d),w.return=f,f=w)}return i(f);case Qn:e:{for(C=d.key;c!==null;){if(c.key===C)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=o(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=bs(d,f.mode,w),c.return=f,f=c}return i(f);case Yt:return C=d._init,$(f,c,C(d._payload),w)}if(Xr(d))return g(f,c,d,w);if(jr(d))return h(f,c,d,w);vl(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,d),c.return=f,f=c):(n(f,c),c=Ms(d,f.mode,w),c.return=f,f=c),i(f)):n(f,c)}return $}var mr=Md(!0),bd=Md(!1),Ro={},Pt=dn(Ro),wo=dn(Ro),$o=dn(Ro);function On(e){if(e===Ro)throw Error(k(174));return e}function eu(e,t){switch(G($o,t),G(wo,e),G(Pt,Ro),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Qs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Qs(t,e)}te(Pt),G(Pt,t)}function vr(){te(Pt),te(wo),te($o)}function zd(e){On($o.current);var t=On(Pt.current),n=Qs(t,e.type);t!==n&&(G(wo,e),G(Pt,n))}function tu(e){wo.current===e&&(te(Pt),te(wo))}var oe=dn(0);function Wl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ns=[];function nu(){for(var e=0;e<Ns.length;e++)Ns[e]._workInProgressVersionPrimary=null;Ns.length=0}var El=zt.ReactCurrentDispatcher,Ts=zt.ReactCurrentBatchConfig,In=0,le=null,ve=null,ye=null,Kl=!1,ro=!1,So=0,d0=0;function Ce(){throw Error(k(321))}function ru(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vt(e[n],t[n]))return!1;return!0}function ou(e,t,n,r,o,l){if(In=l,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,El.current=e===null||e.memoizedState===null?h0:g0,e=n(r,o),ro){l=0;do{if(ro=!1,So=0,25<=l)throw Error(k(301));l+=1,ye=ve=null,t.updateQueue=null,El.current=y0,e=n(r,o)}while(ro)}if(El.current=Ql,t=ve!==null&&ve.next!==null,In=0,ye=ve=le=null,Kl=!1,t)throw Error(k(300));return e}function lu(){var e=So!==0;return So=0,e}function xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ye===null?le.memoizedState=ye=e:ye=ye.next=e,ye}function lt(){if(ve===null){var e=le.alternate;e=e!==null?e.memoizedState:null}else e=ve.next;var t=ye===null?le.memoizedState:ye.next;if(t!==null)ye=t,ve=e;else{if(e===null)throw Error(k(310));ve=e,e={memoizedState:ve.memoizedState,baseState:ve.baseState,baseQueue:ve.baseQueue,queue:ve.queue,next:null},ye===null?le.memoizedState=ye=e:ye=ye.next=e}return ye}function xo(e,t){return typeof t=="function"?t(e):t}function Ls(e){var t=lt(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=ve,o=r.baseQueue,l=n.pending;if(l!==null){if(o!==null){var i=o.next;o.next=l.next,l.next=i}r.baseQueue=o=l,n.pending=null}if(o!==null){l=o.next,r=r.baseState;var s=i=null,a=null,u=l;do{var m=u.lane;if((In&m)===m)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:m,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(s=a=p,i=r):a=a.next=p,le.lanes|=m,Dn|=m}u=u.next}while(u!==null&&u!==l);a===null?i=r:a.next=s,vt(r,t.memoizedState)||(ze=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do l=o.lane,le.lanes|=l,Dn|=l,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function As(e){var t=lt(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,l=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do l=e(l,i.action),i=i.next;while(i!==o);vt(l,t.memoizedState)||(ze=!0),t.memoizedState=l,t.baseQueue===null&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function Fd(){}function jd(e,t){var n=le,r=lt(),o=t(),l=!vt(r.memoizedState,o);if(l&&(r.memoizedState=o,ze=!0),r=r.queue,iu(Bd.bind(null,n,r,e),[e]),r.getSnapshot!==t||l||ye!==null&&ye.memoizedState.tag&1){if(n.flags|=2048,Eo(9,Vd.bind(null,n,r,o,t),void 0,null),we===null)throw Error(k(349));In&30||Hd(n,t,o)}return o}function Hd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=le.updateQueue,t===null?(t={lastEffect:null,stores:null},le.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vd(e,t,n,r){t.value=n,t.getSnapshot=r,Ud(t)&&Wd(e)}function Bd(e,t,n){return n(function(){Ud(t)&&Wd(e)})}function Ud(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vt(e,n)}catch{return!0}}function Wd(e){var t=Mt(e,1);t!==null&&mt(t,e,1,-1)}function df(e){var t=xt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xo,lastRenderedState:e},t.queue=e,e=e.dispatch=v0.bind(null,le,e),[t.memoizedState,e]}function Eo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=le.updateQueue,t===null?(t={lastEffect:null,stores:null},le.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Kd(){return lt().memoizedState}function Cl(e,t,n,r){var o=xt();le.flags|=e,o.memoizedState=Eo(1|t,n,void 0,r===void 0?null:r)}function ii(e,t,n,r){var o=lt();r=r===void 0?null:r;var l=void 0;if(ve!==null){var i=ve.memoizedState;if(l=i.destroy,r!==null&&ru(r,i.deps)){o.memoizedState=Eo(t,n,l,r);return}}le.flags|=e,o.memoizedState=Eo(1|t,n,l,r)}function pf(e,t){return Cl(8390656,8,e,t)}function iu(e,t){return ii(2048,8,e,t)}function Qd(e,t){return ii(4,2,e,t)}function Yd(e,t){return ii(4,4,e,t)}function Xd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Gd(e,t,n){return n=n!=null?n.concat([e]):null,ii(4,4,Xd.bind(null,t,e),n)}function su(){}function qd(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ru(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Zd(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ru(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Jd(e,t,n){return In&21?(vt(n,t)||(n=nd(),le.lanes|=n,Dn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ze=!0),e.memoizedState=n)}function p0(e,t){var n=B;B=n!==0&&4>n?n:4,e(!0);var r=Ts.transition;Ts.transition={};try{e(!1),t()}finally{B=n,Ts.transition=r}}function ep(){return lt().memoizedState}function m0(e,t,n){var r=sn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},tp(e))np(t,n);else if(n=Ld(e,t,n,r),n!==null){var o=Ie();mt(n,e,r,o),rp(n,t,r)}}function v0(e,t,n){var r=sn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(tp(e))np(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,s=l(i,n);if(o.hasEagerState=!0,o.eagerState=s,vt(s,i)){var a=t.interleaved;a===null?(o.next=o,Za(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Ld(e,t,o,r),n!==null&&(o=Ie(),mt(n,e,r,o),rp(n,t,r))}}function tp(e){var t=e.alternate;return e===le||t!==null&&t===le}function np(e,t){ro=Kl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,za(e,n)}}var Ql={readContext:ot,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},h0={readContext:ot,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:ot,useEffect:pf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Cl(4194308,4,Xd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Cl(4,2,e,t)},useMemo:function(e,t){var n=xt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=m0.bind(null,le,e),[r.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:df,useDebugValue:su,useDeferredValue:function(e){return xt().memoizedState=e},useTransition:function(){var e=df(!1),t=e[0];return e=p0.bind(null,e[1]),xt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=le,o=xt();if(re){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),we===null)throw Error(k(349));In&30||Hd(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,pf(Bd.bind(null,r,l,e),[e]),r.flags|=2048,Eo(9,Vd.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=xt(),t=we.identifierPrefix;if(re){var n=Lt,r=Tt;n=(r&~(1<<32-pt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=So++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=d0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},g0={readContext:ot,useCallback:qd,useContext:ot,useEffect:iu,useImperativeHandle:Gd,useInsertionEffect:Qd,useLayoutEffect:Yd,useMemo:Zd,useReducer:Ls,useRef:Kd,useState:function(){return Ls(xo)},useDebugValue:su,useDeferredValue:function(e){var t=lt();return Jd(t,ve.memoizedState,e)},useTransition:function(){var e=Ls(xo)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Fd,useSyncExternalStore:jd,useId:ep,unstable_isNewReconciler:!1},y0={readContext:ot,useCallback:qd,useContext:ot,useEffect:iu,useImperativeHandle:Gd,useInsertionEffect:Qd,useLayoutEffect:Yd,useMemo:Zd,useReducer:As,useRef:Kd,useState:function(){return As(xo)},useDebugValue:su,useDeferredValue:function(e){var t=lt();return ve===null?t.memoizedState=e:Jd(t,ve.memoizedState,e)},useTransition:function(){var e=As(xo)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Fd,useSyncExternalStore:jd,useId:ep,unstable_isNewReconciler:!1};function hr(e,t){try{var n="",r=t;do n+=Yv(r),r=r.return;while(r);var o=n}catch(l){o=` Error generating stack: `+l.message+` `+l.stack}return{value:e,source:t,stack:o,digest:null}}function Is(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ha(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var w0=typeof WeakMap=="function"?WeakMap:Map;function op(e,t,n){n=At(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xl||(Xl=!0,ka=r),ha(e,t)},n}function lp(e,t,n){n=At(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ha(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){ha(e,t),typeof r!="function"&&(ln===null?ln=new Set([this]):ln.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new w0;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=A0.bind(null,e,t,n),t.then(e,e))}function vf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function hf(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=At(-1,1),t.tag=2,on(n,t,1))),n.lanes|=1),e)}var $0=zt.ReactCurrentOwner,ze=!1;function Ae(e,t,n,r){t.child=e===null?bd(t,null,n,r):mr(t,e.child,n,r)}function gf(e,t,n,r,o){n=n.render;var l=t.ref;return ur(t,o),r=ou(e,t,n,r,l,o),n=lu(),e!==null&&!ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,bt(e,t,o)):(re&&n&&Ka(t),t.flags|=1,Ae(e,t,r,o),t.child)}function yf(e,t,n,r,o){if(e===null){var l=n.type;return typeof l=="function"&&!vu(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,ip(e,t,l,r,o)):(e=Rl(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&o)){var i=l.memoizedProps;if(n=n.compare,n=n!==null?n:vo,n(i,r)&&e.ref===t.ref)return bt(e,t,o)}return t.flags|=1,e=an(l,r),e.ref=t.ref,e.return=t,t.child=e}function ip(e,t,n,r,o){if(e!==null){var l=e.memoizedProps;if(vo(l,r)&&e.ref===t.ref)if(ze=!1,t.pendingProps=r=l,(e.lanes&o)!==0)e.flags&131072&&(ze=!0);else return t.lanes=e.lanes,bt(e,t,o)}return ga(e,t,n,r,o)}function sp(e,t,n){var r=t.pendingProps,o=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(or,We),We|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,G(or,We),We|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,G(or,We),We|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,G(or,We),We|=r;return Ae(e,t,o,n),t.child}function ap(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ga(e,t,n,r,o){var l=je(n)?Ln:_e.current;return l=dr(t,l),ur(t,o),n=ou(e,t,n,r,l,o),r=lu(),e!==null&&!ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,bt(e,t,o)):(re&&r&&Ka(t),t.flags|=1,Ae(e,t,n,o),t.child)}function wf(e,t,n,r,o){if(je(n)){var l=!0;Fl(t)}else l=!1;if(ur(t,o),t.stateNode===null)Pl(e,t),Dd(t,n,r),va(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var a=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=ot(u):(u=je(n)?Ln:_e.current,u=dr(t,u));var m=n.getDerivedStateFromProps,p=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function";p||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||a!==u)&&cf(t,i,r,u),Xt=!1;var v=t.memoizedState;i.state=v,Ul(t,r,i,o),a=t.memoizedState,s!==r||v!==a||Fe.current||Xt?(typeof m=="function"&&(ma(t,n,m,r),a=t.memoizedState),(s=Xt||uf(t,n,s,r,v,a,u))?(p||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),i.props=r,i.state=a,i.context=u,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ad(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:ct(t.type,s),i.props=u,p=t.pendingProps,v=i.context,a=n.contextType,typeof a=="object"&&a!==null?a=ot(a):(a=je(n)?Ln:_e.current,a=dr(t,a));var y=n.getDerivedStateFromProps;(m=typeof y=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==p||v!==a)&&cf(t,i,r,a),Xt=!1,v=t.memoizedState,i.state=v,Ul(t,r,i,o);var g=t.memoizedState;s!==p||v!==g||Fe.current||Xt?(typeof y=="function"&&(ma(t,n,y,r),g=t.memoizedState),(u=Xt||uf(t,n,u,r,v,g,a)||!1)?(m||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,g,a),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,g,a)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=a,r=u):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),r=!1)}return ya(e,t,n,r,l,o)}function ya(e,t,n,r,o,l){ap(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&rf(t,n,!1),bt(e,t,l);r=t.stateNode,$0.current=t;var s=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=mr(t,e.child,null,l),t.child=mr(t,null,s,l)):Ae(e,t,s,l),t.memoizedState=r.state,o&&rf(t,n,!0),t.child}function up(e){var t=e.stateNode;t.pendingContext?nf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&nf(e,t.context,!1),eu(e,t.containerInfo)}function $f(e,t,n,r,o){return pr(),Ya(o),t.flags|=256,Ae(e,t,n,r),t.child}var wa={dehydrated:null,treeContext:null,retryLane:0};function $a(e){return{baseLanes:e,cachePool:null,transitions:null}}function cp(e,t,n){var r=t.pendingProps,o=oe.current,l=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),G(oe,o&1),e===null)return da(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,l?(r=t.mode,l=t.child,i={mode:"hidden",children:i},!(r&1)&&l!==null?(l.childLanes=0,l.pendingProps=i):l=ui(i,r,0,null),e=Tn(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=$a(n),t.memoizedState=wa,e):au(t,i));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return S0(e,t,i,r,s,o,n);if(l){l=r.fallback,i=t.mode,o=e.child,s=o.sibling;var a={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=an(o,a),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?l=an(s,l):(l=Tn(l,i,n,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,r=l,l=t.child,i=e.child.memoizedState,i=i===null?$a(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},l.memoizedState=i,l.childLanes=e.childLanes&~n,t.memoizedState=wa,r}return l=e.child,e=l.sibling,r=an(l,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function au(e,t){return t=ui({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function hl(e,t,n,r){return r!==null&&Ya(r),mr(t,e.child,null,n),e=au(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function S0(e,t,n,r,o,l,i){if(n)return t.flags&256?(t.flags&=-257,r=Is(Error(k(422))),hl(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=r.fallback,o=t.mode,r=ui({mode:"visible",children:r.children},o,0,null),l=Tn(l,o,i,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,t.mode&1&&mr(t,e.child,null,i),t.child.memoizedState=$a(i),t.memoizedState=wa,l);if(!(t.mode&1))return hl(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,l=Error(k(419)),r=Is(l,r,void 0),hl(e,t,i,r)}if(s=(i&e.childLanes)!==0,ze||s){if(r=we,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==l.retryLane&&(l.retryLane=o,Mt(e,o),mt(r,e,o,-1))}return mu(),r=Is(Error(k(421))),hl(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=I0.bind(null,e),o._reactRetry=t,null):(e=l.treeContext,Ke=rn(o.nextSibling),Qe=t,re=!0,dt=null,e!==null&&(et[tt++]=Tt,et[tt++]=Lt,et[tt++]=An,Tt=e.id,Lt=e.overflow,An=t),t=au(t,r.children),t.flags|=4096,t)}function Sf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),pa(e.return,t,n)}function Ds(e,t,n,r,o){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=o)}function fp(e,t,n){var r=t.pendingProps,o=r.revealOrder,l=r.tail;if(Ae(e,t,r.children,n),r=oe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sf(e,n,t);else if(e.tag===19)Sf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(G(oe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Wl(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ds(t,!1,o,n,l);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Wl(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ds(t,!0,n,null,l);break;case"together":Ds(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Pl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function bt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Dn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(k(153));if(t.child!==null){for(e=t.child,n=an(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=an(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function x0(e,t,n){switch(t.tag){case 3:up(t),pr();break;case 5:zd(t);break;case 1:je(t.type)&&Fl(t);break;case 4:eu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;G(Vl,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(G(oe,oe.current&1),t.flags|=128,null):n&t.child.childLanes?cp(e,t,n):(G(oe,oe.current&1),e=bt(e,t,n),e!==null?e.sibling:null);G(oe,oe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return fp(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),G(oe,oe.current),r)break;return null;case 22:case 23:return t.lanes=0,sp(e,t,n)}return bt(e,t,n)}var dp,Sa,pp,mp;dp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Sa=function(){};pp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,On(Pt.current);var l=null;switch(n){case"input":o=Bs(e,o),r=Bs(e,r),l=[];break;case"select":o=ie({},o,{value:void 0}),r=ie({},r,{value:void 0}),l=[];break;case"textarea":o=Ks(e,o),r=Ks(e,r),l=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=bl)}Ys(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var s=o[u];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(so.hasOwnProperty(u)?l||(l=[]):(l=l||[]).push(u,null));for(u in r){var a=r[u];if(s=o?.[u],r.hasOwnProperty(u)&&a!==s&&(a!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||a&&a.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in a)a.hasOwnProperty(i)&&s[i]!==a[i]&&(n||(n={}),n[i]=a[i])}else n||(l||(l=[]),l.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(l=l||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(l=l||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(so.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&ee("scroll",e),l||s===a||(l=[])):(l=l||[]).push(u,a))}n&&(l=l||[]).push("style",n);var u=l;(t.updateQueue=u)&&(t.flags|=4)}};mp=function(e,t,n,r){n!==r&&(t.flags|=4)};function Wr(e,t){if(!re)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Pe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function E0(e,t,n){var r=t.pendingProps;switch(Qa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pe(t),null;case 1:return je(t.type)&&zl(),Pe(t),null;case 3:return r=t.stateNode,vr(),te(Fe),te(_e),nu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ml(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,dt!==null&&(Oa(dt),dt=null))),Sa(e,t),Pe(t),null;case 5:tu(t);var o=On($o.current);if(n=t.type,e!==null&&t.stateNode!=null)pp(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(k(166));return Pe(t),null}if(e=On(Pt.current),ml(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Et]=t,r[yo]=l,e=(t.mode&1)!==0,n){case"dialog":ee("cancel",r),ee("close",r);break;case"iframe":case"object":case"embed":ee("load",r);break;case"video":case"audio":for(o=0;o<qr.length;o++)ee(qr[o],r);break;case"source":ee("error",r);break;case"img":case"image":case"link":ee("error",r),ee("load",r);break;case"details":ee("toggle",r);break;case"input":Rc(r,l),ee("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},ee("invalid",r);break;case"textarea":Nc(r,l),ee("invalid",r)}Ys(n,l),o=null;for(var i in l)if(l.hasOwnProperty(i)){var s=l[i];i==="children"?typeof s=="string"?r.textContent!==s&&(l.suppressHydrationWarning!==!0&&pl(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(l.suppressHydrationWarning!==!0&&pl(r.textContent,s,e),o=["children",""+s]):so.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&ee("scroll",r)}switch(n){case"input":tl(r),Oc(r,l,!0);break;case"textarea":tl(r),Tc(r);break;case"select":case"option":break;default:typeof l.onClick=="function"&&(r.onclick=bl)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Hf(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Et]=t,e[yo]=r,dp(e,t,!1,!1),t.stateNode=e;e:{switch(i=Xs(n,r),n){case"dialog":ee("cancel",e),ee("close",e),o=r;break;case"iframe":case"object":case"embed":ee("load",e),o=r;break;case"video":case"audio":for(o=0;o<qr.length;o++)ee(qr[o],e);o=r;break;case"source":ee("error",e),o=r;break;case"img":case"image":case"link":ee("error",e),ee("load",e),o=r;break;case"details":ee("toggle",e),o=r;break;case"input":Rc(e,r),o=Bs(e,r),ee("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ie({},r,{value:void 0}),ee("invalid",e);break;case"textarea":Nc(e,r),o=Ks(e,r),ee("invalid",e);break;default:o=r}Ys(n,o),s=o;for(l in s)if(s.hasOwnProperty(l)){var a=s[l];l==="style"?Uf(e,a):l==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Vf(e,a)):l==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&ao(e,a):typeof a=="number"&&ao(e,""+a):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(so.hasOwnProperty(l)?a!=null&&l==="onScroll"&&ee("scroll",e):a!=null&&La(e,l,a,i))}switch(n){case"input":tl(e),Oc(e,r,!1);break;case"textarea":tl(e),Tc(e);break;case"option":r.value!=null&&e.setAttribute("value",""+un(r.value));break;case"select":e.multiple=!!r.multiple,l=r.value,l!=null?lr(e,!!r.multiple,l,!1):r.defaultValue!=null&&lr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=bl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Pe(t),null;case 6:if(e&&t.stateNode!=null)mp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(k(166));if(n=On($o.current),On(Pt.current),ml(t)){if(r=t.stateNode,n=t.memoizedProps,r[Et]=t,(l=r.nodeValue!==n)&&(e=Qe,e!==null))switch(e.tag){case 3:pl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&pl(r.nodeValue,n,(e.mode&1)!==0)}l&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Et]=t,t.stateNode=r}return Pe(t),null;case 13:if(te(oe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(re&&Ke!==null&&t.mode&1&&!(t.flags&128))Td(),pr(),t.flags|=98560,l=!1;else if(l=ml(t),r!==null&&r.dehydrated!==null){if(e===null){if(!l)throw Error(k(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(k(317));l[Et]=t}else pr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Pe(t),l=!1}else dt!==null&&(Oa(dt),dt=null),l=!0;if(!l)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||oe.current&1?he===0&&(he=3):mu())),t.updateQueue!==null&&(t.flags|=4),Pe(t),null);case 4:return vr(),Sa(e,t),e===null&&ho(t.stateNode.containerInfo),Pe(t),null;case 10:return qa(t.type._context),Pe(t),null;case 17:return je(t.type)&&zl(),Pe(t),null;case 19:if(te(oe),l=t.memoizedState,l===null)return Pe(t),null;if(r=(t.flags&128)!==0,i=l.rendering,i===null)if(r)Wr(l,!1);else{if(he!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Wl(e),i!==null){for(t.flags|=128,Wr(l,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)l=n,e=r,l.flags&=14680066,i=l.alternate,i===null?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=i.childLanes,l.lanes=i.lanes,l.child=i.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=i.memoizedProps,l.memoizedState=i.memoizedState,l.updateQueue=i.updateQueue,l.type=i.type,e=i.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return G(oe,oe.current&1|2),t.child}e=e.sibling}l.tail!==null&&ue()>gr&&(t.flags|=128,r=!0,Wr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Wl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Wr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!re)return Pe(t),null}else 2*ue()-l.renderingStartTime>gr&&n!==1073741824&&(t.flags|=128,r=!0,Wr(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ue(),t.sibling=null,n=oe.current,G(oe,r?n&1|2:n&1),t):(Pe(t),null);case 22:case 23:return pu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?We&1073741824&&(Pe(t),t.subtreeFlags&6&&(t.flags|=8192)):Pe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function C0(e,t){switch(Qa(t),t.tag){case 1:return je(t.type)&&zl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vr(),te(Fe),te(_e),nu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return tu(t),null;case 13:if(te(oe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return te(oe),null;case 4:return vr(),null;case 10:return qa(t.type._context),null;case 22:case 23:return pu(),null;case 24:return null;default:return null}}var gl=!1,ke=!1,P0=typeof WeakSet=="function"?WeakSet:Set,_=null;function rr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ae(e,t,r)}else n.current=null}function xa(e,t,n){try{n()}catch(r){ae(e,t,r)}}var xf=!1;function k0(e,t){if(la=Il,e=yd(),Wa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,s=-1,a=-1,u=0,m=0,p=e,v=null;t:for(;;){for(var y;p!==n||o!==0&&p.nodeType!==3||(s=i+o),p!==l||r!==0&&p.nodeType!==3||(a=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(y=p.firstChild)!==null;)v=p,p=y;for(;;){if(p===e)break t;if(v===n&&++u===o&&(s=i),v===l&&++m===r&&(a=i),(y=p.nextSibling)!==null)break;p=v,v=p.parentNode}p=y}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ia={focusedElem:e,selectionRange:n},Il=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var h=g.memoizedProps,$=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?h:ct(t.type,h),$);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(w){ae(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return g=xf,xf=!1,g}function oo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&xa(t,n,l)}o=o.next}while(o!==r)}}function si(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ea(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function vp(e){var t=e.alternate;t!==null&&(e.alternate=null,vp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Et],delete t[yo],delete t[ua],delete t[a0],delete t[u0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hp(e){return e.tag===5||e.tag===3||e.tag===4}function Ef(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ca(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=bl));else if(r!==4&&(e=e.child,e!==null))for(Ca(e,t,n),e=e.sibling;e!==null;)Ca(e,t,n),e=e.sibling}function Pa(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Pa(e,t,n),e=e.sibling;e!==null;)Pa(e,t,n),e=e.sibling}var $e=null,ft=!1;function Qt(e,t,n){for(n=n.child;n!==null;)gp(e,t,n),n=n.sibling}function gp(e,t,n){if(Ct&&typeof Ct.onCommitFiberUnmount=="function")try{Ct.onCommitFiberUnmount(Jl,n)}catch{}switch(n.tag){case 5:ke||rr(n,t);case 6:var r=$e,o=ft;$e=null,Qt(e,t,n),$e=r,ft=o,$e!==null&&(ft?(e=$e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):$e.removeChild(n.stateNode));break;case 18:$e!==null&&(ft?(e=$e,n=n.stateNode,e.nodeType===8?Rs(e.parentNode,n):e.nodeType===1&&Rs(e,n),po(e)):Rs($e,n.stateNode));break;case 4:r=$e,o=ft,$e=n.stateNode.containerInfo,ft=!0,Qt(e,t,n),$e=r,ft=o;break;case 0:case 11:case 14:case 15:if(!ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&xa(n,t,i),o=o.next}while(o!==r)}Qt(e,t,n);break;case 1:if(!ke&&(rr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ae(n,t,s)}Qt(e,t,n);break;case 21:Qt(e,t,n);break;case 22:n.mode&1?(ke=(r=ke)||n.memoizedState!==null,Qt(e,t,n),ke=r):Qt(e,t,n);break;default:Qt(e,t,n)}}function Cf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new P0),t.forEach(function(r){var o=D0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function ut(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var l=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:$e=s.stateNode,ft=!1;break e;case 3:$e=s.stateNode.containerInfo,ft=!0;break e;case 4:$e=s.stateNode.containerInfo,ft=!0;break e}s=s.return}if($e===null)throw Error(k(160));gp(l,i,o),$e=null,ft=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){ae(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)yp(t,e),t=t.sibling}function yp(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ut(t,e),St(e),r&4){try{oo(3,e,e.return),si(3,e)}catch(h){ae(e,e.return,h)}try{oo(5,e,e.return)}catch(h){ae(e,e.return,h)}}break;case 1:ut(t,e),St(e),r&512&&n!==null&&rr(n,n.return);break;case 5:if(ut(t,e),St(e),r&512&&n!==null&&rr(n,n.return),e.flags&32){var o=e.stateNode;try{ao(o,"")}catch(h){ae(e,e.return,h)}}if(r&4&&(o=e.stateNode,o!=null)){var l=e.memoizedProps,i=n!==null?n.memoizedProps:l,s=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{s==="input"&&l.type==="radio"&&l.name!=null&&Ff(o,l),Xs(s,i);var u=Xs(s,l);for(i=0;i<a.length;i+=2){var m=a[i],p=a[i+1];m==="style"?Uf(o,p):m==="dangerouslySetInnerHTML"?Vf(o,p):m==="children"?ao(o,p):La(o,m,p,u)}switch(s){case"input":Us(o,l);break;case"textarea":jf(o,l);break;case"select":var v=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!l.multiple;var y=l.value;y!=null?lr(o,!!l.multiple,y,!1):v!==!!l.multiple&&(l.defaultValue!=null?lr(o,!!l.multiple,l.defaultValue,!0):lr(o,!!l.multiple,l.multiple?[]:"",!1))}o[yo]=l}catch(h){ae(e,e.return,h)}}break;case 6:if(ut(t,e),St(e),r&4){if(e.stateNode===null)throw Error(k(162));o=e.stateNode,l=e.memoizedProps;try{o.nodeValue=l}catch(h){ae(e,e.return,h)}}break;case 3:if(ut(t,e),St(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{po(t.containerInfo)}catch(h){ae(e,e.return,h)}break;case 4:ut(t,e),St(e);break;case 13:ut(t,e),St(e),o=e.child,o.flags&8192&&(l=o.memoizedState!==null,o.stateNode.isHidden=l,!l||o.alternate!==null&&o.alternate.memoizedState!==null||(fu=ue())),r&4&&Cf(e);break;case 22:if(m=n!==null&&n.memoizedState!==null,e.mode&1?(ke=(u=ke)||m,ut(t,e),ke=u):ut(t,e),St(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!m&&e.mode&1)for(_=e,m=e.child;m!==null;){for(p=_=m;_!==null;){switch(v=_,y=v.child,v.tag){case 0:case 11:case 14:case 15:oo(4,v,v.return);break;case 1:rr(v,v.return);var g=v.stateNode;if(typeof g.componentWillUnmount=="function"){r=v,n=v.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(h){ae(r,n,h)}}break;case 5:rr(v,v.return);break;case 22:if(v.memoizedState!==null){kf(p);continue}}y!==null?(y.return=v,_=y):kf(p)}m=m.sibling}e:for(m=null,p=e;;){if(p.tag===5){if(m===null){m=p;try{o=p.stateNode,u?(l=o.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"):(s=p.stateNode,a=p.memoizedProps.style,i=a!=null&&a.hasOwnProperty("display")?a.display:null,s.style.display=Bf("display",i))}catch(h){ae(e,e.return,h)}}}else if(p.tag===6){if(m===null)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(h){ae(e,e.return,h)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;m===p&&(m=null),p=p.return}m===p&&(m=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:ut(t,e),St(e),r&4&&Cf(e);break;case 21:break;default:ut(t,e),St(e)}}function St(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(hp(n)){var r=n;break e}n=n.return}throw Error(k(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ao(o,""),r.flags&=-33);var l=Ef(e);Pa(e,l,o);break;case 3:case 4:var i=r.stateNode.containerInfo,s=Ef(e);Ca(e,s,i);break;default:throw Error(k(161))}}catch(a){ae(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function _0(e,t,n){_=e,wp(e,t,n)}function wp(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var o=_,l=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||gl;if(!i){var s=o.alternate,a=s!==null&&s.memoizedState!==null||ke;s=gl;var u=ke;if(gl=i,(ke=a)&&!u)for(_=o;_!==null;)i=_,a=i.child,i.tag===22&&i.memoizedState!==null?_f(o):a!==null?(a.return=i,_=a):_f(o);for(;l!==null;)_=l,wp(l,t,n),l=l.sibling;_=o,gl=s,ke=u}Pf(e,t,n)}else o.subtreeFlags&8772&&l!==null?(l.return=o,_=l):Pf(e,t,n)}}function Pf(e){for(;_!==null;){var t=_;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ke||si(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ke)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ct(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;l!==null&&af(t,l,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}af(t,i,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var m=u.memoizedState;if(m!==null){var p=m.dehydrated;p!==null&&po(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(k(163))}ke||t.flags&512&&Ea(t)}catch(v){ae(t,t.return,v)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function kf(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function _f(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{si(4,t)}catch(a){ae(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){ae(t,o,a)}}var l=t.return;try{Ea(t)}catch(a){ae(t,l,a)}break;case 5:var i=t.return;try{Ea(t)}catch(a){ae(t,i,a)}}}catch(a){ae(t,t.return,a)}if(t===e){_=null;break}var s=t.sibling;if(s!==null){s.return=t.return,_=s;break}_=t.return}}var R0=Math.ceil,Yl=zt.ReactCurrentDispatcher,uu=zt.ReactCurrentOwner,rt=zt.ReactCurrentBatchConfig,V=0,we=null,pe=null,Se=0,We=0,or=dn(0),he=0,Co=null,Dn=0,ai=0,cu=0,lo=null,be=null,fu=0,gr=1/0,Ot=null,Xl=!1,ka=null,ln=null,yl=!1,Jt=null,Gl=0,io=0,_a=null,kl=-1,_l=0;function Ie(){return V&6?ue():kl!==-1?kl:kl=ue()}function sn(e){return e.mode&1?V&2&&Se!==0?Se&-Se:f0.transition!==null?(_l===0&&(_l=nd()),_l):(e=B,e!==0||(e=window.event,e=e===void 0?16:ud(e.type)),e):1}function mt(e,t,n,r){if(50<io)throw io=0,_a=null,Error(k(185));Po(e,n,r),(!(V&2)||e!==we)&&(e===we&&(!(V&2)&&(ai|=n),he===4&&qt(e,Se)),He(e,r),n===1&&V===0&&!(t.mode&1)&&(gr=ue()+500,oi&&pn()))}function He(e,t){var n=e.callbackNode;ph(e,t);var r=Al(e,e===we?Se:0);if(r===0)n!==null&&Ic(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ic(n),t===1)e.tag===0?c0(Rf.bind(null,e)):Rd(Rf.bind(null,e)),i0(function(){!(V&6)&&pn()}),n=null;else{switch(rd(r)){case 1:n=ba;break;case 4:n=ed;break;case 16:n=Ll;break;case 536870912:n=td;break;default:n=Ll}n=_p(n,$p.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function $p(e,t){if(kl=-1,_l=0,V&6)throw Error(k(327));var n=e.callbackNode;if(cr()&&e.callbackNode!==n)return null;var r=Al(e,e===we?Se:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ql(e,r);else{t=r;var o=V;V|=2;var l=xp();(we!==e||Se!==t)&&(Ot=null,gr=ue()+500,Nn(e,t));do try{T0();break}catch(s){Sp(e,s)}while(1);Ga(),Yl.current=l,V=o,pe!==null?t=0:(we=null,Se=0,t=he)}if(t!==0){if(t===2&&(o=ea(e),o!==0&&(r=o,t=Ra(e,o))),t===1)throw n=Co,Nn(e,0),qt(e,r),He(e,ue()),n;if(t===6)qt(e,r);else{if(o=e.current.alternate,!(r&30)&&!O0(o)&&(t=ql(e,r),t===2&&(l=ea(e),l!==0&&(r=l,t=Ra(e,l))),t===1))throw n=Co,Nn(e,0),qt(e,r),He(e,ue()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(k(345));case 2:kn(e,be,Ot);break;case 3:if(qt(e,r),(r&130023424)===r&&(t=fu+500-ue(),10<t)){if(Al(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ie(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=aa(kn.bind(null,e,be,Ot),t);break}kn(e,be,Ot);break;case 4:if(qt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-pt(r);l=1<<i,i=t[i],i>o&&(o=i),r&=~l}if(r=o,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*R0(r/1960))-r,10<r){e.timeoutHandle=aa(kn.bind(null,e,be,Ot),r);break}kn(e,be,Ot);break;case 5:kn(e,be,Ot);break;default:throw Error(k(329))}}}return He(e,ue()),e.callbackNode===n?$p.bind(null,e):null}function Ra(e,t){var n=lo;return e.current.memoizedState.isDehydrated&&(Nn(e,t).flags|=256),e=ql(e,t),e!==2&&(t=be,be=n,t!==null&&Oa(t)),e}function Oa(e){be===null?be=e:be.push.apply(be,e)}function O0(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],l=o.getSnapshot;o=o.value;try{if(!vt(l(),o))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 qt(e,t){for(t&=~cu,t&=~ai,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-pt(t),r=1<<n;e[n]=-1,t&=~r}}function Rf(e){if(V&6)throw Error(k(327));cr();var t=Al(e,0);if(!(t&1))return He(e,ue()),null;var n=ql(e,t);if(e.tag!==0&&n===2){var r=ea(e);r!==0&&(t=r,n=Ra(e,r))}if(n===1)throw n=Co,Nn(e,0),qt(e,t),He(e,ue()),n;if(n===6)throw Error(k(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,kn(e,be,Ot),He(e,ue()),null}function du(e,t){var n=V;V|=1;try{return e(t)}finally{V=n,V===0&&(gr=ue()+500,oi&&pn())}}function Mn(e){Jt!==null&&Jt.tag===0&&!(V&6)&&cr();var t=V;V|=1;var n=rt.transition,r=B;try{if(rt.transition=null,B=1,e)return e()}finally{B=r,rt.transition=n,V=t,!(V&6)&&pn()}}function pu(){We=or.current,te(or)}function Nn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,l0(n)),pe!==null)for(n=pe.return;n!==null;){var r=n;switch(Qa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&zl();break;case 3:vr(),te(Fe),te(_e),nu();break;case 5:tu(r);break;case 4:vr();break;case 13:te(oe);break;case 19:te(oe);break;case 10:qa(r.type._context);break;case 22:case 23:pu()}n=n.return}if(we=e,pe=e=an(e.current,null),Se=We=t,he=0,Co=null,cu=ai=Dn=0,be=lo=null,Rn!==null){for(t=0;t<Rn.length;t++)if(n=Rn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,l=n.pending;if(l!==null){var i=l.next;l.next=o,r.next=i}n.pending=r}Rn=null}return e}function Sp(e,t){do{var n=pe;try{if(Ga(),El.current=Ql,Kl){for(var r=le.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Kl=!1}if(In=0,ye=ve=le=null,ro=!1,So=0,uu.current=null,n===null||n.return===null){he=1,Co=t,pe=null;break}e:{var l=e,i=n.return,s=n,a=t;if(t=Se,s.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,m=s,p=m.tag;if(!(m.mode&1)&&(p===0||p===11||p===15)){var v=m.alternate;v?(m.updateQueue=v.updateQueue,m.memoizedState=v.memoizedState,m.lanes=v.lanes):(m.updateQueue=null,m.memoizedState=null)}var y=vf(i);if(y!==null){y.flags&=-257,hf(y,i,s,l,t),y.mode&1&&mf(l,u,t),t=y,a=u;var g=t.updateQueue;if(g===null){var h=new Set;h.add(a),t.updateQueue=h}else g.add(a);break e}else{if(!(t&1)){mf(l,u,t),mu();break e}a=Error(k(426))}}else if(re&&s.mode&1){var $=vf(i);if($!==null){!($.flags&65536)&&($.flags|=256),hf($,i,s,l,t),Ya(hr(a,s));break e}}l=a=hr(a,s),he!==4&&(he=2),lo===null?lo=[l]:lo.push(l),l=i;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t;var f=op(l,a,t);sf(l,f);break e;case 1:s=a;var c=l.type,d=l.stateNode;if(!(l.flags&128)&&(typeof c.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(ln===null||!ln.has(d)))){l.flags|=65536,t&=-t,l.lanes|=t;var w=lp(l,s,t);sf(l,w);break e}}l=l.return}while(l!==null)}Cp(n)}catch(S){t=S,pe===n&&n!==null&&(pe=n=n.return);continue}break}while(1)}function xp(){var e=Yl.current;return Yl.current=Ql,e===null?Ql:e}function mu(){(he===0||he===3||he===2)&&(he=4),we===null||!(Dn&268435455)&&!(ai&268435455)||qt(we,Se)}function ql(e,t){var n=V;V|=2;var r=xp();(we!==e||Se!==t)&&(Ot=null,Nn(e,t));do try{N0();break}catch(o){Sp(e,o)}while(1);if(Ga(),V=n,Yl.current=r,pe!==null)throw Error(k(261));return we=null,Se=0,he}function N0(){for(;pe!==null;)Ep(pe)}function T0(){for(;pe!==null&&!oh();)Ep(pe)}function Ep(e){var t=kp(e.alternate,e,We);e.memoizedProps=e.pendingProps,t===null?Cp(e):pe=t,uu.current=null}function Cp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=C0(n,t),n!==null){n.flags&=32767,pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{he=6,pe=null;return}}else if(n=E0(n,t,We),n!==null){pe=n;return}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);he===0&&(he=5)}function kn(e,t,n){var r=B,o=rt.transition;try{rt.transition=null,B=1,L0(e,t,n,r)}finally{rt.transition=o,B=r}return null}function L0(e,t,n,r){do cr();while(Jt!==null);if(V&6)throw Error(k(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(k(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(mh(e,l),e===we&&(pe=we=null,Se=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||yl||(yl=!0,_p(Ll,function(){return cr(),null})),l=(n.flags&15990)!==0,n.subtreeFlags&15990||l){l=rt.transition,rt.transition=null;var i=B;B=1;var s=V;V|=4,uu.current=null,k0(e,n),yp(n,e),e0(ia),Il=!!la,ia=la=null,e.current=n,_0(n,e,o),lh(),V=s,B=i,rt.transition=l}else e.current=n;if(yl&&(yl=!1,Jt=e,Gl=o),l=e.pendingLanes,l===0&&(ln=null),ah(n.stateNode,r),He(e,ue()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Xl)throw Xl=!1,e=ka,ka=null,e;return Gl&1&&e.tag!==0&&cr(),l=e.pendingLanes,l&1?e===_a?io++:(io=0,_a=e):io=0,pn(),null}function cr(){if(Jt!==null){var e=rd(Gl),t=rt.transition,n=B;try{if(rt.transition=null,B=16>e?16:e,Jt===null)var r=!1;else{if(e=Jt,Jt=null,Gl=0,V&6)throw Error(k(331));var o=V;for(V|=4,_=e.current;_!==null;){var l=_,i=l.child;if(_.flags&16){var s=l.deletions;if(s!==null){for(var a=0;a<s.length;a++){var u=s[a];for(_=u;_!==null;){var m=_;switch(m.tag){case 0:case 11:case 15:oo(8,m,l)}var p=m.child;if(p!==null)p.return=m,_=p;else for(;_!==null;){m=_;var v=m.sibling,y=m.return;if(vp(m),m===u){_=null;break}if(v!==null){v.return=y,_=v;break}_=y}}}var g=l.alternate;if(g!==null){var h=g.child;if(h!==null){g.child=null;do{var $=h.sibling;h.sibling=null,h=$}while(h!==null)}}_=l}}if(l.subtreeFlags&2064&&i!==null)i.return=l,_=i;else e:for(;_!==null;){if(l=_,l.flags&2048)switch(l.tag){case 0:case 11:case 15:oo(9,l,l.return)}var f=l.sibling;if(f!==null){f.return=l.return,_=f;break e}_=l.return}}var c=e.current;for(_=c;_!==null;){i=_;var d=i.child;if(i.subtreeFlags&2064&&d!==null)d.return=i,_=d;else e:for(i=c;_!==null;){if(s=_,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:si(9,s)}}catch(S){ae(s,s.return,S)}if(s===i){_=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,_=w;break e}_=s.return}}if(V=o,pn(),Ct&&typeof Ct.onPostCommitFiberRoot=="function")try{Ct.onPostCommitFiberRoot(Jl,e)}catch{}r=!0}return r}finally{B=n,rt.transition=t}}return!1}function Of(e,t,n){t=hr(n,t),t=op(e,t,1),e=on(e,t,1),t=Ie(),e!==null&&(Po(e,1,t),He(e,t))}function ae(e,t,n){if(e.tag===3)Of(e,e,n);else for(;t!==null;){if(t.tag===3){Of(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ln===null||!ln.has(r))){e=hr(n,e),e=lp(t,e,1),t=on(t,e,1),e=Ie(),t!==null&&(Po(t,1,e),He(t,e));break}}t=t.return}}function A0(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ie(),e.pingedLanes|=e.suspendedLanes&n,we===e&&(Se&n)===n&&(he===4||he===3&&(Se&130023424)===Se&&500>ue()-fu?Nn(e,0):cu|=n),He(e,t)}function Pp(e,t){t===0&&(e.mode&1?(t=ol,ol<<=1,!(ol&130023424)&&(ol=4194304)):t=1);var n=Ie();e=Mt(e,t),e!==null&&(Po(e,t,n),He(e,n))}function I0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Pp(e,n)}function D0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Pp(e,n)}var kp;kp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Fe.current)ze=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ze=!1,x0(e,t,n);ze=!!(e.flags&131072)}else ze=!1,re&&t.flags&1048576&&Od(t,Hl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Pl(e,t),e=t.pendingProps;var o=dr(t,_e.current);ur(t,n),o=ou(null,t,r,e,o,n);var l=lu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(r)?(l=!0,Fl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ja(t),o.updater=li,t.stateNode=o,o._reactInternals=t,va(t,r,e,n),t=ya(null,t,r,!0,l,n)):(t.tag=0,re&&l&&Ka(t),Ae(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Pl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=b0(r),e=ct(r,e),o){case 0:t=ga(null,t,r,e,n);break e;case 1:t=wf(null,t,r,e,n);break e;case 11:t=gf(null,t,r,e,n);break e;case 14:t=yf(null,t,r,ct(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),ga(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),wf(e,t,r,o,n);case 3:e:{if(up(t),e===null)throw Error(k(387));r=t.pendingProps,l=t.memoizedState,o=l.element,Ad(e,t),Ul(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=hr(Error(k(423)),t),t=$f(e,t,r,n,o);break e}else if(r!==o){o=hr(Error(k(424)),t),t=$f(e,t,r,n,o);break e}else for(Ke=rn(t.stateNode.containerInfo.firstChild),Qe=t,re=!0,dt=null,n=bd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(pr(),r===o){t=bt(e,t,n);break e}Ae(e,t,r,n)}t=t.child}return t;case 5:return zd(t),e===null&&da(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,sa(r,o)?i=null:l!==null&&sa(r,l)&&(t.flags|=32),ap(e,t),Ae(e,t,i,n),t.child;case 6:return e===null&&da(t),null;case 13:return cp(e,t,n);case 4:return eu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mr(t,null,r,n):Ae(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),gf(e,t,r,o,n);case 7:return Ae(e,t,t.pendingProps,n),t.child;case 8:return Ae(e,t,t.pendingProps.children,n),t.child;case 12:return Ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,G(Vl,r._currentValue),r._currentValue=i,l!==null)if(vt(l.value,i)){if(l.children===o.children&&!Fe.current){t=bt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){i=l.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(l.tag===1){a=At(-1,n&-n),a.tag=2;var u=l.updateQueue;if(u!==null){u=u.shared;var m=u.pending;m===null?a.next=a:(a.next=m.next,m.next=a),u.pending=a}}l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),pa(l.return,n,t),s.lanes|=n;break}a=a.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(k(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),pa(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}Ae(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ur(t,n),o=ot(o),r=r(o),t.flags|=1,Ae(e,t,r,n),t.child;case 14:return r=t.type,o=ct(r,t.pendingProps),o=ct(r.type,o),yf(e,t,r,o,n);case 15:return ip(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Pl(e,t),t.tag=1,je(r)?(e=!0,Fl(t)):e=!1,ur(t,n),Dd(t,r,o),va(t,r,o,n),ya(null,t,r,!0,e,n);case 19:return fp(e,t,n);case 22:return sp(e,t,n)}throw Error(k(156,t.tag))};function _p(e,t){return Jf(e,t)}function M0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nt(e,t,n,r){return new M0(e,t,n,r)}function vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function b0(e){if(typeof e=="function")return vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ia)return 11;if(e===Da)return 14}return 2}function an(e,t){var n=e.alternate;return n===null?(n=nt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Rl(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")vu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Yn:return Tn(n.children,o,l,t);case Aa:i=8,o|=8;break;case Fs:return e=nt(12,n,t,o|2),e.elementType=Fs,e.lanes=l,e;case js:return e=nt(13,n,t,o),e.elementType=js,e.lanes=l,e;case Hs:return e=nt(19,n,t,o),e.elementType=Hs,e.lanes=l,e;case Mf:return ui(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case If:i=10;break e;case Df:i=9;break e;case Ia:i=11;break e;case Da:i=14;break e;case Yt:i=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=nt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function Tn(e,t,n,r){return e=nt(7,e,r,t),e.lanes=n,e}function ui(e,t,n,r){return e=nt(22,e,r,t),e.elementType=Mf,e.lanes=n,e.stateNode={isHidden:!1},e}function Ms(e,t,n){return e=nt(6,e,null,t),e.lanes=n,e}function bs(e,t,n){return t=nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function z0(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$s(0),this.expirationTimes=$s(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$s(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function hu(e,t,n,r,o,l,i,s,a){return e=new z0(e,t,n,s,a),t===1?(t=1,l===!0&&(t|=8)):t=0,l=nt(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ja(l),e}function F0(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Qn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Rp(e){if(!e)return cn;e=e._reactInternals;e:{if(zn(e)!==e||e.tag!==1)throw Error(k(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(k(171))}if(e.tag===1){var n=e.type;if(je(n))return _d(e,n,t)}return t}function Op(e,t,n,r,o,l,i,s,a){return e=hu(n,r,!0,e,o,l,i,s,a),e.context=Rp(null),n=e.current,r=Ie(),o=sn(n),l=At(r,o),l.callback=t??null,on(n,l,o),e.current.lanes=o,Po(e,o,r),He(e,r),e}function ci(e,t,n,r){var o=t.current,l=Ie(),i=sn(o);return n=Rp(n),t.context===null?t.context=n:t.pendingContext=n,t=At(l,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=on(o,t,i),e!==null&&(mt(e,o,i,l),xl(e,o,i)),i}function Zl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Nf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function gu(e,t){Nf(e,t),(e=e.alternate)&&Nf(e,t)}function j0(){return null}var Np=typeof reportError=="function"?reportError:function(e){console.error(e)};function yu(e){this._internalRoot=e}fi.prototype.render=yu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(k(409));ci(e,t,null,null)};fi.prototype.unmount=yu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Mn(function(){ci(null,e,null,null)}),t[Dt]=null}};function fi(e){this._internalRoot=e}fi.prototype.unstable_scheduleHydration=function(e){if(e){var t=id();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Gt.length&&t!==0&&t<Gt[n].priority;n++);Gt.splice(n,0,e),n===0&&ad(e)}};function wu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function di(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Tf(){}function H0(e,t,n,r,o){if(o){if(typeof r=="function"){var l=r;r=function(){var u=Zl(i);l.call(u)}}var i=Op(t,r,e,0,null,!1,!1,"",Tf);return e._reactRootContainer=i,e[Dt]=i.current,ho(e.nodeType===8?e.parentNode:e),Mn(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var u=Zl(a);s.call(u)}}var a=hu(e,0,!1,null,null,!1,!1,"",Tf);return e._reactRootContainer=a,e[Dt]=a.current,ho(e.nodeType===8?e.parentNode:e),Mn(function(){ci(t,a,n,r)}),a}function pi(e,t,n,r,o){var l=n._reactRootContainer;if(l){var i=l;if(typeof o=="function"){var s=o;o=function(){var a=Zl(i);s.call(a)}}ci(t,i,e,o)}else i=H0(n,t,e,o,r);return Zl(i)}od=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Gr(t.pendingLanes);n!==0&&(za(t,n|1),He(t,ue()),!(V&6)&&(gr=ue()+500,pn()))}break;case 13:Mn(function(){var r=Mt(e,1);if(r!==null){var o=Ie();mt(r,e,1,o)}}),gu(e,1)}};Fa=function(e){if(e.tag===13){var t=Mt(e,134217728);if(t!==null){var n=Ie();mt(t,e,134217728,n)}gu(e,134217728)}};ld=function(e){if(e.tag===13){var t=sn(e),n=Mt(e,t);if(n!==null){var r=Ie();mt(n,e,t,r)}gu(e,t)}};id=function(){return B};sd=function(e,t){var n=B;try{return B=e,t()}finally{B=n}};qs=function(e,t,n){switch(t){case"input":if(Us(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ri(r);if(!o)throw Error(k(90));zf(r),Us(r,o)}}}break;case"textarea":jf(e,n);break;case"select":t=n.value,t!=null&&lr(e,!!n.multiple,t,!1)}};Qf=du;Yf=Mn;var V0={usingClientEntryPoint:!1,Events:[_o,Zn,ri,Wf,Kf,du]},Kr={findFiberByHostInstance:_n,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},B0={bundleType:Kr.bundleType,version:Kr.version,rendererPackageName:Kr.rendererPackageName,rendererConfig:Kr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:zt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=qf(e),e===null?null:e.stateNode},findFiberByHostInstance:Kr.findFiberByHostInstance||j0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Qr=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Qr.isDisabled&&Qr.supportsFiber))try{Jl=Qr.inject(B0),Ct=Qr}catch{}var Qr;Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V0;Ge.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wu(t))throw Error(k(200));return F0(e,t,null,n)};Ge.createRoot=function(e,t){if(!wu(e))throw Error(k(299));var n=!1,r="",o=Np;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=hu(e,1,!1,null,null,n,!1,r,o),e[Dt]=t.current,ho(e.nodeType===8?e.parentNode:e),new yu(t)};Ge.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(k(188)):(e=Object.keys(e).join(","),Error(k(268,e)));return e=qf(t),e=e===null?null:e.stateNode,e};Ge.flushSync=function(e){return Mn(e)};Ge.hydrate=function(e,t,n){if(!di(t))throw Error(k(200));return pi(null,e,t,!0,n)};Ge.hydrateRoot=function(e,t,n){if(!wu(e))throw Error(k(405));var r=n!=null&&n.hydratedSources||null,o=!1,l="",i=Np;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Op(t,null,e,1,n??null,o,!1,l,i),e[Dt]=t.current,ho(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new fi(t)};Ge.render=function(e,t,n){if(!di(t))throw Error(k(200));return pi(null,e,t,!1,n)};Ge.unmountComponentAtNode=function(e){if(!di(e))throw Error(k(40));return e._reactRootContainer?(Mn(function(){pi(null,null,e,!1,function(){e._reactRootContainer=null,e[Dt]=null})}),!0):!1};Ge.unstable_batchedUpdates=du;Ge.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!di(n))throw Error(k(200));if(e==null||e._reactInternals===void 0)throw Error(k(38));return pi(e,t,n,!1,r)};Ge.version="18.2.0-next-9e3b772b8-20220608"});var $r=En((Gy,Ap)=>{"use strict";function Lp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Lp)}catch(e){console.error(e)}}Lp(),Ap.exports=Tp()});var Hm=En((ww,jm)=>{jm.exports.isNode=!1});function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(this,arguments)}var x=D(M(),1),Zu=D($r(),1);function $u(e,[t,n]){return Math.min(n,Math.max(t,e))}function q(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}var gt=D(M(),1);var ht=D(M(),1);function mn(e,t=[]){let n=[];function r(l,i){let s=(0,ht.createContext)(i),a=n.length;n=[...n,i];function u(p){let{scope:v,children:y,...g}=p,h=v?.[e][a]||s,$=(0,ht.useMemo)(()=>g,Object.values(g));return(0,ht.createElement)(h.Provider,{value:$},y)}function m(p,v){let y=v?.[e][a]||s,g=(0,ht.useContext)(y);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${l}\``)}return u.displayName=l+"Provider",[u,m]}let o=()=>{let l=n.map(i=>(0,ht.createContext)(i));return function(s){let a=s?.[e]||l;return(0,ht.useMemo)(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,U0(o,...t)]}function U0(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){let i=r.reduce((s,{useScope:a,scopeName:u})=>{let p=a(l)[`__scope${u}`];return{...s,...p}},{});return(0,ht.useMemo)(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var Ip=D(M(),1);function W0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Su(...e){return t=>e.forEach(n=>W0(n,t))}function Z(...e){return(0,Ip.useCallback)(Su(...e),e)}var se=D(M(),1);var kt=(0,se.forwardRef)((e,t)=>{let{children:n,...r}=e,o=se.Children.toArray(n),l=o.find(Q0);if(l){let i=l.props.children,s=o.map(a=>a===l?se.Children.count(i)>1?se.Children.only(null):(0,se.isValidElement)(i)?i.props.children:null:a);return(0,se.createElement)(xu,O({},r,{ref:t}),(0,se.isValidElement)(i)?(0,se.cloneElement)(i,void 0,s):null)}return(0,se.createElement)(xu,O({},r,{ref:t}),n)});kt.displayName="Slot";var xu=(0,se.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,se.isValidElement)(n)?(0,se.cloneElement)(n,{...Y0(r,n.props),ref:t?Su(t,n.ref):n.ref}):se.Children.count(n)>1?se.Children.only(null):null});xu.displayName="SlotClone";var K0=({children:e})=>(0,se.createElement)(se.Fragment,null,e);function Q0(e){return(0,se.isValidElement)(e)&&e.type===K0}function Y0(e,t){let n={...t};for(let r in t){let o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...s)=>{l(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...l}:r==="className"&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}function Dp(e){let t=e+"CollectionProvider",[n,r]=mn(t),[o,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=y=>{let{scope:g,children:h}=y,$=gt.default.useRef(null),f=gt.default.useRef(new Map).current;return gt.default.createElement(o,{scope:g,itemMap:f,collectionRef:$},h)},s=e+"CollectionSlot",a=gt.default.forwardRef((y,g)=>{let{scope:h,children:$}=y,f=l(s,h),c=Z(g,f.collectionRef);return gt.default.createElement(kt,{ref:c},$)}),u=e+"CollectionItemSlot",m="data-radix-collection-item",p=gt.default.forwardRef((y,g)=>{let{scope:h,children:$,...f}=y,c=gt.default.useRef(null),d=Z(g,c),w=l(u,h);return gt.default.useEffect(()=>(w.itemMap.set(c,{ref:c,...f}),()=>void w.itemMap.delete(c))),gt.default.createElement(kt,{[m]:"",ref:d},$)});function v(y){let g=l(e+"CollectionConsumer",y);return gt.default.useCallback(()=>{let $=g.collectionRef.current;if(!$)return[];let f=Array.from($.querySelectorAll(`[${m}]`));return Array.from(g.itemMap.values()).sort((w,S)=>f.indexOf(w.ref.current)-f.indexOf(S.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:i,Slot:a,ItemSlot:p},v,r]}var Oo=D(M(),1),X0=(0,Oo.createContext)(void 0);function Mp(e){let t=(0,Oo.useContext)(X0);return e||t||"ltr"}var ce=D(M(),1);var Sr=D(M(),1),bp=D($r(),1);var G0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],U=G0.reduce((e,t)=>{let n=(0,Sr.forwardRef)((r,o)=>{let{asChild:l,...i}=r,s=l?kt:t;return(0,Sr.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,Sr.createElement)(s,O({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function zp(e,t){e&&(0,bp.flushSync)(()=>e.dispatchEvent(t))}var xr=D(M(),1);function Me(e){let t=(0,xr.useRef)(e);return(0,xr.useEffect)(()=>{t.current=e}),(0,xr.useMemo)(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}var Fp=D(M(),1);function jp(e,t=globalThis?.document){let n=Me(e);(0,Fp.useEffect)(()=>{let r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}var Eu="dismissableLayer.update",q0="dismissableLayer.pointerDownOutside",Z0="dismissableLayer.focusOutside",Hp,J0=(0,ce.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),mi=(0,ce.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...u}=e,m=(0,ce.useContext)(J0),[p,v]=(0,ce.useState)(null),y=(n=p?.ownerDocument)!==null&&n!==void 0?n:globalThis?.document,[,g]=(0,ce.useState)({}),h=Z(t,E=>v(E)),$=Array.from(m.layers),[f]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),c=$.indexOf(f),d=p?$.indexOf(p):-1,w=m.layersWithOutsidePointerEventsDisabled.size>0,S=d>=c,C=eg(E=>{let N=E.target,R=[...m.branches].some(T=>T.contains(N));!S||R||(l?.(E),s?.(E),E.defaultPrevented||a?.())},y),P=tg(E=>{let N=E.target;[...m.branches].some(T=>T.contains(N))||(i?.(E),s?.(E),E.defaultPrevented||a?.())},y);return jp(E=>{d===m.layers.size-1&&(o?.(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},y),(0,ce.useEffect)(()=>{if(p)return r&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(Hp=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(p)),m.layers.add(p),Vp(),()=>{r&&m.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=Hp)}},[p,y,r,m]),(0,ce.useEffect)(()=>()=>{p&&(m.layers.delete(p),m.layersWithOutsidePointerEventsDisabled.delete(p),Vp())},[p,m]),(0,ce.useEffect)(()=>{let E=()=>g({});return document.addEventListener(Eu,E),()=>document.removeEventListener(Eu,E)},[]),(0,ce.createElement)(U.div,O({},u,{ref:h,style:{pointerEvents:w?S?"auto":"none":void 0,...e.style},onFocusCapture:q(e.onFocusCapture,P.onFocusCapture),onBlurCapture:q(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:q(e.onPointerDownCapture,C.onPointerDownCapture)}))});function eg(e,t=globalThis?.document){let n=Me(e),r=(0,ce.useRef)(!1),o=(0,ce.useRef)(()=>{});return(0,ce.useEffect)(()=>{let l=s=>{if(s.target&&!r.current){let u=function(){Bp(q0,n,a,{discrete:!0})},a={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",l),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function tg(e,t=globalThis?.document){let n=Me(e),r=(0,ce.useRef)(!1);return(0,ce.useEffect)(()=>{let o=l=>{l.target&&!r.current&&Bp(Z0,n,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Vp(){let e=new CustomEvent(Eu);document.dispatchEvent(e)}function Bp(e,t,n,{discrete:r}){let o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?zp(o,l):o.dispatchEvent(l)}var Wp=D(M(),1),Cu=0;function vi(){(0,Wp.useEffect)(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Up()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Up()),Cu++,()=>{Cu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Cu--}},[])}function Up(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Ve=D(M(),1);var Pu="focusScope.autoFocusOnMount",ku="focusScope.autoFocusOnUnmount",Kp={bubbles:!1,cancelable:!0};var hi=(0,Ve.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:l,...i}=e,[s,a]=(0,Ve.useState)(null),u=Me(o),m=Me(l),p=(0,Ve.useRef)(null),v=Z(t,h=>a(h)),y=(0,Ve.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,Ve.useEffect)(()=>{if(r){let h=function(d){if(y.paused||!s)return;let w=d.target;s.contains(w)?p.current=w:vn(p.current,{select:!0})},$=function(d){if(y.paused||!s)return;let w=d.relatedTarget;w!==null&&(s.contains(w)||vn(p.current,{select:!0}))},f=function(d){let w=document.activeElement;for(let S of d)S.removedNodes.length>0&&(s!=null&&s.contains(w)||vn(s))};document.addEventListener("focusin",h),document.addEventListener("focusout",$);let c=new MutationObserver(f);return s&&c.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",$),c.disconnect()}}},[r,s,y.paused]),(0,Ve.useEffect)(()=>{if(s){Yp.add(y);let h=document.activeElement;if(!s.contains(h)){let f=new CustomEvent(Pu,Kp);s.addEventListener(Pu,u),s.dispatchEvent(f),f.defaultPrevented||(ng(sg(Gp(s)),{select:!0}),document.activeElement===h&&vn(s))}return()=>{s.removeEventListener(Pu,u),setTimeout(()=>{let f=new CustomEvent(ku,Kp);s.addEventListener(ku,m),s.dispatchEvent(f),f.defaultPrevented||vn(h??document.body,{select:!0}),s.removeEventListener(ku,m),Yp.remove(y)},0)}}},[s,u,m,y]);let g=(0,Ve.useCallback)(h=>{if(!n&&!r||y.paused)return;let $=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,f=document.activeElement;if($&&f){let c=h.currentTarget,[d,w]=rg(c);d&&w?!h.shiftKey&&f===w?(h.preventDefault(),n&&vn(d,{select:!0})):h.shiftKey&&f===d&&(h.preventDefault(),n&&vn(w,{select:!0})):f===c&&h.preventDefault()}},[n,r,y.paused]);return(0,Ve.createElement)(U.div,O({tabIndex:-1},i,{ref:v,onKeyDown:g}))});function ng(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(vn(r,{select:t}),document.activeElement!==n)return}function rg(e){let t=Gp(e),n=Qp(t,e),r=Qp(t.reverse(),e);return[n,r]}function Gp(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{let o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Qp(e,t){for(let n of e)if(!og(n,{upTo:t}))return n}function og(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function lg(e){return e instanceof HTMLInputElement&&"select"in e}function vn(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&lg(e)&&t&&e.select()}}var Yp=ig();function ig(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=Xp(e,t),e.unshift(t)},remove(t){var n;e=Xp(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Xp(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function sg(e){return e.filter(t=>t.tagName!=="A")}var _u=D(M(),1);var qp=D(M(),1),ge=globalThis?.document?qp.useLayoutEffect:()=>{};var ag=_u["useId".toString()]||(()=>{}),ug=0;function Er(e){let[t,n]=_u.useState(ag());return ge(()=>{e||n(r=>r??String(ug++))},[e]),e||(t?`radix-${t}`:"")}var fe=D(M(),1);function Cr(e){return e.split("-")[1]}function Nu(e){return e==="y"?"height":"width"}function Ft(e){return e.split("-")[0]}function Hn(e){return["top","bottom"].includes(Ft(e))?"x":"y"}function Zp(e,t,n){let{reference:r,floating:o}=e,l=r.x+r.width/2-o.width/2,i=r.y+r.height/2-o.height/2,s=Hn(t),a=Nu(s),u=r[a]/2-o[a]/2,m=s==="x",p;switch(Ft(t)){case"top":p={x:l,y:r.y-o.height};break;case"bottom":p={x:l,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:i};break;case"left":p={x:r.x-o.width,y:i};break;default:p={x:r.x,y:r.y}}switch(Cr(t)){case"start":p[s]-=u*(n&&m?-1:1);break;case"end":p[s]+=u*(n&&m?-1:1)}return p}var tm=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:l=[],platform:i}=n,s=l.filter(Boolean),a=await(i.isRTL==null?void 0:i.isRTL(t)),u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:p}=Zp(u,r,a),v=r,y={},g=0;for(let h=0;h<s.length;h++){let{name:$,fn:f}=s[h],{x:c,y:d,data:w,reset:S}=await f({x:m,y:p,initialPlacement:r,placement:v,strategy:o,middlewareData:y,rects:u,platform:i,elements:{reference:e,floating:t}});m=c??m,p=d??p,y={...y,[$]:{...y[$],...w}},S&&g<=50&&(g++,typeof S=="object"&&(S.placement&&(v=S.placement),S.rects&&(u=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:m,y:p}=Zp(u,v,a)),h=-1)}return{x:m,y:p,placement:v,strategy:o,middlewareData:y}};function jt(e,t){return typeof e=="function"?e(t):e}function nm(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function No(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function jn(e,t){var n;t===void 0&&(t={});let{x:r,y:o,platform:l,rects:i,elements:s,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:v=!1,padding:y=0}=jt(t,e),g=nm(y),h=s[v?p==="floating"?"reference":"floating":p],$=No(await l.getClippingRect({element:(n=await(l.isElement==null?void 0:l.isElement(h)))==null||n?h:h.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(s.floating)),boundary:u,rootBoundary:m,strategy:a})),f=p==="floating"?{...i.floating,x:r,y:o}:i.reference,c=await(l.getOffsetParent==null?void 0:l.getOffsetParent(s.floating)),d=await(l.isElement==null?void 0:l.isElement(c))&&await(l.getScale==null?void 0:l.getScale(c))||{x:1,y:1},w=No(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f,offsetParent:c,strategy:a}):f);return{top:($.top-w.top+g.top)/d.y,bottom:(w.bottom-$.bottom+g.bottom)/d.y,left:($.left-w.left+g.left)/d.x,right:(w.right-$.right+g.right)/d.x}}var To=Math.min,Fn=Math.max;function Ou(e,t,n){return Fn(e,To(t,n))}var yi=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:l,platform:i,elements:s}=t,{element:a,padding:u=0}=jt(e,t)||{};if(a==null)return{};let m=nm(u),p={x:n,y:r},v=Hn(o),y=Nu(v),g=await i.getDimensions(a),h=v==="y",$=h?"top":"left",f=h?"bottom":"right",c=h?"clientHeight":"clientWidth",d=l.reference[y]+l.reference[v]-p[v]-l.floating[y],w=p[v]-l.reference[v],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a)),C=S?S[c]:0;C&&await(i.isElement==null?void 0:i.isElement(S))||(C=s.floating[c]||l.floating[y]);let P=d/2-w/2,E=C/2-g[y]/2-1,N=To(m[$],E),R=To(m[f],E),T=N,j=C-g[y]-R,b=C/2-g[y]/2+P,H=Ou(T,b,j),z=Cr(o)!=null&&b!=H&&l.reference[y]/2-(b<T?N:R)-g[y]/2<0?b<T?T-b:j-b:0;return{[v]:p[v]-z,data:{[v]:H,centerOffset:b-H+z}}}}),rm=["top","right","bottom","left"],T1=rm.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),cg={left:"right",right:"left",bottom:"top",top:"bottom"};function gi(e){return e.replace(/left|right|bottom|top/g,t=>cg[t])}function fg(e,t,n){n===void 0&&(n=!1);let r=Cr(e),o=Hn(e),l=Nu(o),i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(i=gi(i)),{main:i,cross:gi(i)}}var dg={start:"end",end:"start"};function Ru(e){return e.replace(/start|end/g,t=>dg[t])}var wi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;let{placement:r,middlewareData:o,rects:l,initialPlacement:i,platform:s,elements:a}=t,{mainAxis:u=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:g=!0,...h}=jt(e,t),$=Ft(r),f=Ft(i)===i,c=await(s.isRTL==null?void 0:s.isRTL(a.floating)),d=p||(f||!g?[gi(i)]:function(T){let j=gi(T);return[Ru(T),j,Ru(j)]}(i));p||y==="none"||d.push(...function(T,j,b,H){let z=Cr(T),L=function(Y,de,Ze){let wt=["left","right"],Rt=["right","left"],Ut=["top","bottom"],xn=["bottom","top"];switch(Y){case"top":case"bottom":return Ze?de?Rt:wt:de?wt:Rt;case"left":case"right":return de?Ut:xn;default:return[]}}(Ft(T),b==="start",H);return z&&(L=L.map(Y=>Y+"-"+z),j&&(L=L.concat(L.map(Ru)))),L}(i,g,y,c));let w=[i,...d],S=await jn(t,h),C=[],P=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&C.push(S[$]),m){let{main:T,cross:j}=fg(r,l,c);C.push(S[T],S[j])}if(P=[...P,{placement:r,overflows:C}],!C.every(T=>T<=0)){var E,N;let T=(((E=o.flip)==null?void 0:E.index)||0)+1,j=w[T];if(j)return{data:{index:T,overflows:P},reset:{placement:j}};let b=(N=P.filter(H=>H.overflows[0]<=0).sort((H,z)=>H.overflows[1]-z.overflows[1])[0])==null?void 0:N.placement;if(!b)switch(v){case"bestFit":{var R;let H=(R=P.map(z=>[z.placement,z.overflows.filter(L=>L>0).reduce((L,Y)=>L+Y,0)]).sort((z,L)=>z[1]-L[1])[0])==null?void 0:R[0];H&&(b=H);break}case"initialPlacement":b=i}if(r!==b)return{reset:{placement:b}}}return{}}}};function Jp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function em(e){return rm.some(t=>e[t]>=0)}var $i=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=jt(e,t);switch(r){case"referenceHidden":{let l=Jp(await jn(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:em(l)}}}case"escaped":{let l=Jp(await jn(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:l,escaped:em(l)}}}default:return{}}}}};var Si=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){let{x:n,y:r}=t,o=await async function(l,i){let{placement:s,platform:a,elements:u}=l,m=await(a.isRTL==null?void 0:a.isRTL(u.floating)),p=Ft(s),v=Cr(s),y=Hn(s)==="x",g=["left","top"].includes(p)?-1:1,h=m&&y?-1:1,$=jt(i,l),{mainAxis:f,crossAxis:c,alignmentAxis:d}=typeof $=="number"?{mainAxis:$,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...$};return v&&typeof d=="number"&&(c=v==="end"?-1*d:d),y?{x:c*h,y:f*g}:{x:f*g,y:c*h}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function om(e){return e==="x"?"y":"x"}var xi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:l=!0,crossAxis:i=!1,limiter:s={fn:$=>{let{x:f,y:c}=$;return{x:f,y:c}}},...a}=jt(e,t),u={x:n,y:r},m=await jn(t,a),p=Hn(Ft(o)),v=om(p),y=u[p],g=u[v];if(l){let $=p==="y"?"bottom":"right";y=Ou(y+m[p==="y"?"top":"left"],y,y-m[$])}if(i){let $=v==="y"?"bottom":"right";g=Ou(g+m[v==="y"?"top":"left"],g,g-m[$])}let h=s.fn({...t,[p]:y,[v]:g});return{...h,data:{x:h.x-n,y:h.y-r}}}}},Ei=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:l,middlewareData:i}=t,{offset:s=0,mainAxis:a=!0,crossAxis:u=!0}=jt(e,t),m={x:n,y:r},p=Hn(o),v=om(p),y=m[p],g=m[v],h=jt(s,t),$=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(a){let d=p==="y"?"height":"width",w=l.reference[p]-l.floating[d]+$.mainAxis,S=l.reference[p]+l.reference[d]-$.mainAxis;y<w?y=w:y>S&&(y=S)}if(u){var f,c;let d=p==="y"?"width":"height",w=["top","left"].includes(Ft(o)),S=l.reference[v]-l.floating[d]+(w&&((f=i.offset)==null?void 0:f[v])||0)+(w?0:$.crossAxis),C=l.reference[v]+l.reference[d]+(w?0:((c=i.offset)==null?void 0:c[v])||0)-(w?$.crossAxis:0);g<S?g=S:g>C&&(g=C)}return{[p]:y,[v]:g}}}},Ci=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:n,rects:r,platform:o,elements:l}=t,{apply:i=()=>{},...s}=jt(e,t),a=await jn(t,s),u=Ft(n),m=Cr(n),p=Hn(n)==="x",{width:v,height:y}=r.floating,g,h;u==="top"||u==="bottom"?(g=u,h=m===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(h=u,g=m==="end"?"top":"bottom");let $=y-a[g],f=v-a[h],c=!t.middlewareData.shift,d=$,w=f;if(p){let C=v-a.left-a.right;w=m||c?To(f,C):C}else{let C=y-a.top-a.bottom;d=m||c?To($,C):C}if(c&&!m){let C=Fn(a.left,0),P=Fn(a.right,0),E=Fn(a.top,0),N=Fn(a.bottom,0);p?w=v-2*(C!==0||P!==0?C+P:Fn(a.left,a.right)):d=y-2*(E!==0||N!==0?E+N:Fn(a.top,a.bottom))}await i({...t,availableWidth:w,availableHeight:d});let S=await o.getDimensions(l.floating);return v!==S.width||y!==S.height?{reset:{rects:!0}}:{}}}};function qe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _t(e){return qe(e).getComputedStyle(e)}function um(e){return e instanceof qe(e).Node}function hn(e){return um(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){return e instanceof HTMLElement||e instanceof qe(e).HTMLElement}function lm(e){return typeof ShadowRoot<"u"&&(e instanceof qe(e).ShadowRoot||e instanceof ShadowRoot)}function Lo(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=_t(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function vg(e){return["table","td","th"].includes(hn(e))}function Tu(e){let t=Au(),n=_t(e);return n.transform!=="none"||n.perspective!=="none"||!!n.containerType&&n.containerType!=="normal"||!t&&!!n.backdropFilter&&n.backdropFilter!=="none"||!t&&!!n.filter&&n.filter!=="none"||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Au(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function _i(e){return["html","body","#document"].includes(hn(e))}var Lu=Math.min,Pr=Math.max,ki=Math.round,Pi=Math.floor,gn=e=>({x:e,y:e});function cm(e){let t=_t(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=yt(e),l=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=ki(n)!==l||ki(r)!==i;return s&&(n=l,r=i),{width:n,height:r,$:s}}function Ht(e){return e instanceof Element||e instanceof qe(e).Element}function Iu(e){return Ht(e)?e:e.contextElement}function kr(e){let t=Iu(e);if(!yt(t))return gn(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:l}=cm(t),i=(l?ki(n.width):n.width)/r,s=(l?ki(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}var hg=gn(0);function fm(e){let t=qe(e);return Au()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:hg}function Vn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let o=e.getBoundingClientRect(),l=Iu(e),i=gn(1);t&&(r?Ht(r)&&(i=kr(r)):i=kr(e));let s=function(v,y,g){return y===void 0&&(y=!1),!(!g||y&&g!==qe(v))&&y}(l,n,r)?fm(l):gn(0),a=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,m=o.width/i.x,p=o.height/i.y;if(l){let v=qe(l),y=r&&Ht(r)?qe(r):r,g=v.frameElement;for(;g&&r&&y!==v;){let h=kr(g),$=g.getBoundingClientRect(),f=getComputedStyle(g),c=$.left+(g.clientLeft+parseFloat(f.paddingLeft))*h.x,d=$.top+(g.clientTop+parseFloat(f.paddingTop))*h.y;a*=h.x,u*=h.y,m*=h.x,p*=h.y,a+=c,u+=d,g=qe(g).frameElement}}return No({width:m,height:p,x:a,y:u})}function Ri(e){return Ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vt(e){var t;return(t=(um(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function dm(e){return Vn(Vt(e)).left+Ri(e).scrollLeft}function _r(e){if(hn(e)==="html")return e;let t=e.assignedSlot||e.parentNode||lm(e)&&e.host||Vt(e);return lm(t)?t.host:t}function pm(e){let t=_r(e);return _i(t)?e.ownerDocument?e.ownerDocument.body:e.body:yt(t)&&Lo(t)?t:pm(t)}function Ao(e,t){var n;t===void 0&&(t=[]);let r=pm(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),l=qe(r);return o?t.concat(l,l.visualViewport||[],Lo(r)?r:[]):t.concat(r,Ao(r))}function im(e,t,n){let r;if(t==="viewport")r=function(o,l){let i=qe(o),s=Vt(o),a=i.visualViewport,u=s.clientWidth,m=s.clientHeight,p=0,v=0;if(a){u=a.width,m=a.height;let y=Au();(!y||y&&l==="fixed")&&(p=a.offsetLeft,v=a.offsetTop)}return{width:u,height:m,x:p,y:v}}(e,n);else if(t==="document")r=function(o){let l=Vt(o),i=Ri(o),s=o.ownerDocument.body,a=Pr(l.scrollWidth,l.clientWidth,s.scrollWidth,s.clientWidth),u=Pr(l.scrollHeight,l.clientHeight,s.scrollHeight,s.clientHeight),m=-i.scrollLeft+dm(o),p=-i.scrollTop;return _t(s).direction==="rtl"&&(m+=Pr(l.clientWidth,s.clientWidth)-a),{width:a,height:u,x:m,y:p}}(Vt(e));else if(Ht(t))r=function(o,l){let i=Vn(o,!0,l==="fixed"),s=i.top+o.clientTop,a=i.left+o.clientLeft,u=yt(o)?kr(o):gn(1);return{width:o.clientWidth*u.x,height:o.clientHeight*u.y,x:a*u.x,y:s*u.y}}(t,n);else{let o=fm(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return No(r)}function mm(e,t){let n=_r(e);return!(n===t||!Ht(n)||_i(n))&&(_t(n).position==="fixed"||mm(n,t))}function gg(e,t,n){let r=yt(t),o=Vt(t),l=n==="fixed",i=Vn(e,!0,l,t),s={scrollLeft:0,scrollTop:0},a=gn(0);if(r||!r&&!l)if((hn(t)!=="body"||Lo(o))&&(s=Ri(t)),yt(t)){let u=Vn(t,!0,l,t);a.x=u.x+t.clientLeft,a.y=u.y+t.clientTop}else o&&(a.x=dm(o));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}function sm(e,t){return yt(e)&&_t(e).position!=="fixed"?t?t(e):e.offsetParent:null}function am(e,t){let n=qe(e);if(!yt(e))return n;let r=sm(e,t);for(;r&&vg(r)&&_t(r).position==="static";)r=sm(r,t);return r&&(hn(r)==="html"||hn(r)==="body"&&_t(r).position==="static"&&!Tu(r))?n:r||function(o){let l=_r(o);for(;yt(l)&&!_i(l);){if(Tu(l))return l;l=_r(l)}return null}(e)||n}var vm={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,o=yt(n),l=Vt(n);if(n===l)return t;let i={scrollLeft:0,scrollTop:0},s=gn(1),a=gn(0);if((o||!o&&r!=="fixed")&&((hn(n)!=="body"||Lo(l))&&(i=Ri(n)),yt(n))){let u=Vn(n);s=kr(n),a.x=u.x+n.clientLeft,a.y=u.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+a.x,y:t.y*s.y-i.scrollTop*s.y+a.y}},getDocumentElement:Vt,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,l=[...n==="clippingAncestors"?function(a,u){let m=u.get(a);if(m)return m;let p=Ao(a).filter(h=>Ht(h)&&hn(h)!=="body"),v=null,y=_t(a).position==="fixed",g=y?_r(a):a;for(;Ht(g)&&!_i(g);){let h=_t(g),$=Tu(g);$||h.position!=="fixed"||(v=null),(y?!$&&!v:!$&&h.position==="static"&&v&&["absolute","fixed"].includes(v.position)||Lo(g)&&!$&&mm(a,g))?p=p.filter(f=>f!==g):v=h,g=_r(g)}return u.set(a,p),p}(t,this._c):[].concat(n),r],i=l[0],s=l.reduce((a,u)=>{let m=im(t,u,o);return a.top=Pr(m.top,a.top),a.right=Lu(m.right,a.right),a.bottom=Lu(m.bottom,a.bottom),a.left=Pr(m.left,a.left),a},im(t,i,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:am,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e,o=this.getOffsetParent||am,l=this.getDimensions;return{reference:gg(t,await o(n),r),floating:{x:0,y:0,...await l(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return cm(e)},getScale:kr,isElement:Ht,isRTL:function(e){return getComputedStyle(e).direction==="rtl"}};function Du(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=Iu(e),m=o||l?[...u?Ao(u):[],...Ao(t)]:[];m.forEach($=>{o&&$.addEventListener("scroll",n,{passive:!0}),l&&$.addEventListener("resize",n)});let p=u&&s?function($,f){let c,d=null,w=Vt($);function S(){clearTimeout(c),d&&d.disconnect(),d=null}return function C(P,E){P===void 0&&(P=!1),E===void 0&&(E=1),S();let{left:N,top:R,width:T,height:j}=$.getBoundingClientRect();if(P||f(),!T||!j)return;let b={rootMargin:-Pi(R)+"px "+-Pi(w.clientWidth-(N+T))+"px "+-Pi(w.clientHeight-(R+j))+"px "+-Pi(N)+"px",threshold:Pr(0,Lu(1,E))||1},H=!0;function z(L){let Y=L[0].intersectionRatio;if(Y!==E){if(!H)return C();Y?C(!1,Y):c=setTimeout(()=>{C(!1,1e-7)},100)}H=!1}try{d=new IntersectionObserver(z,{...b,root:w.ownerDocument})}catch{d=new IntersectionObserver(z,b)}d.observe($)}(!0),S}(u,n):null,v,y=-1,g=null;i&&(g=new ResizeObserver($=>{let[f]=$;f&&f.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{g&&g.observe(t)})),n()}),u&&!a&&g.observe(u),g.observe(t));let h=a?Vn(e):null;return a&&function $(){let f=Vn(e);!h||f.x===h.x&&f.y===h.y&&f.width===h.width&&f.height===h.height||n(),h=f,v=requestAnimationFrame($)}(),n(),()=>{m.forEach($=>{o&&$.removeEventListener("scroll",n),l&&$.removeEventListener("resize",n)}),p&&p(),g&&g.disconnect(),g=null,a&&cancelAnimationFrame(v)}}var Mu=(e,t,n)=>{let r=new Map,o={platform:vm,...n},l={...o.platform,_c:r};return tm(e,t,{...o,platform:l})};var me=D(M()),Ti=D(M()),ym=D($r()),wm=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){let{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?yi({element:r.current,padding:o}).fn(n):{}:r?yi({element:r,padding:o}).fn(n):{}}}},Oi=typeof document<"u"?Ti.useLayoutEffect:Ti.useEffect;function Ni(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ni(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){let l=o[r];if(!(l==="_owner"&&e.$$typeof)&&!Ni(e[l],t[l]))return!1}return!0}return e!==e&&t!==t}function $m(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function hm(e,t){let n=$m(e);return Math.round(t*n)/n}function gm(e){let t=me.useRef(e);return Oi(()=>{t.current=e}),t}function Sm(e){e===void 0&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:i}={},transform:s=!0,whileElementsMounted:a,open:u}=e,[m,p]=me.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,y]=me.useState(r);Ni(v,r)||y(r);let[g,h]=me.useState(null),[$,f]=me.useState(null),c=me.useCallback(L=>{L!=C.current&&(C.current=L,h(L))},[h]),d=me.useCallback(L=>{L!==P.current&&(P.current=L,f(L))},[f]),w=l||g,S=i||$,C=me.useRef(null),P=me.useRef(null),E=me.useRef(m),N=gm(a),R=gm(o),T=me.useCallback(()=>{if(!C.current||!P.current)return;let L={placement:t,strategy:n,middleware:v};R.current&&(L.platform=R.current),Mu(C.current,P.current,L).then(Y=>{let de={...Y,isPositioned:!0};j.current&&!Ni(E.current,de)&&(E.current=de,ym.flushSync(()=>{p(de)}))})},[v,t,n,R]);Oi(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,p(L=>({...L,isPositioned:!1})))},[u]);let j=me.useRef(!1);Oi(()=>(j.current=!0,()=>{j.current=!1}),[]),Oi(()=>{if(w&&(C.current=w),S&&(P.current=S),w&&S){if(N.current)return N.current(w,S,T);T()}},[w,S,T,N]);let b=me.useMemo(()=>({reference:C,floating:P,setReference:c,setFloating:d}),[c,d]),H=me.useMemo(()=>({reference:w,floating:S}),[w,S]),z=me.useMemo(()=>{let L={position:n,left:0,top:0};if(!H.floating)return L;let Y=hm(H.floating,m.x),de=hm(H.floating,m.y);return s?{...L,transform:"translate("+Y+"px, "+de+"px)",...$m(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Y,top:de}},[n,s,H.floating,m.x,m.y]);return me.useMemo(()=>({...m,update:T,refs:b,elements:H,floatingStyles:z}),[m,T,b,H,z])}var Io=D(M(),1);var yg=(0,Io.forwardRef)((e,t)=>{let{children:n,width:r=10,height:o=5,...l}=e;return(0,Io.createElement)(U.svg,O({},l,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,Io.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),xm=yg;var Em=D(M(),1);function Cm(e){let[t,n]=(0,Em.useState)(void 0);return ge(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;let l=o[0],i,s;if("borderBoxSize"in l){let a=l.borderBoxSize,u=Array.isArray(a)?a[0]:a;i=u.inlineSize,s=u.blockSize}else i=e.offsetWidth,s=e.offsetHeight;n({width:i,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Pm="Popper",[km,Rr]=mn(Pm),[wg,_m]=km(Pm),$g=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,fe.useState)(null);return(0,fe.createElement)(wg,{scope:t,anchor:r,onAnchorChange:o},n)},Sg="PopperAnchor",xg=(0,fe.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,l=_m(Sg,n),i=(0,fe.useRef)(null),s=Z(t,i);return(0,fe.useEffect)(()=>{l.onAnchorChange(r?.current||i.current)}),r?null:(0,fe.createElement)(U.div,O({},o,{ref:s}))}),Rm="PopperContent",[Eg,Cg]=km(Rm),Pg=(0,fe.forwardRef)((e,t)=>{var n,r,o,l,i,s,a,u;let{__scopePopper:m,side:p="bottom",sideOffset:v=0,align:y="center",alignOffset:g=0,arrowPadding:h=0,collisionBoundary:$=[],collisionPadding:f=0,sticky:c="partial",hideWhenDetached:d=!1,avoidCollisions:w=!0,onPlaced:S,...C}=e,P=_m(Rm,m),[E,N]=(0,fe.useState)(null),R=Z(t,Te=>N(Te)),[T,j]=(0,fe.useState)(null),b=Cm(T),H=(n=b?.width)!==null&&n!==void 0?n:0,z=(r=b?.height)!==null&&r!==void 0?r:0,L=p+(y!=="center"?"-"+y:""),Y=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},de=Array.isArray($)?$:[$],Ze=de.length>0,wt={padding:Y,boundary:de.filter(Og),altBoundary:Ze},{refs:Rt,floatingStyles:Ut,placement:xn,isPositioned:it,middlewareData:st}=Sm({strategy:"fixed",placement:L,whileElementsMounted:Du,elements:{reference:P.anchor},middleware:[Si({mainAxis:v+z,alignmentAxis:g}),w&&xi({mainAxis:!0,crossAxis:!1,limiter:c==="partial"?Ei():void 0,...wt}),w&&wi({...wt}),Ci({...wt,apply:({elements:Te,rects:Ar,availableWidth:Ir,availableHeight:Dr})=>{let{width:$v,height:Sv}=Ar.reference,Wo=Te.floating.style;Wo.setProperty("--radix-popper-available-width",`${Ir}px`),Wo.setProperty("--radix-popper-available-height",`${Dr}px`),Wo.setProperty("--radix-popper-anchor-width",`${$v}px`),Wo.setProperty("--radix-popper-anchor-height",`${Sv}px`)}}),T&&wm({element:T,padding:h}),Ng({arrowWidth:H,arrowHeight:z}),d&&$i({strategy:"referenceHidden"})]}),[Wt,I]=Om(xn),W=Me(S);ge(()=>{it&&W?.()},[it,W]);let Ne=(o=st.arrow)===null||o===void 0?void 0:o.x,J=(l=st.arrow)===null||l===void 0?void 0:l.y,K=((i=st.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Q,Ue]=(0,fe.useState)();return ge(()=>{E&&Ue(window.getComputedStyle(E).zIndex)},[E]),(0,fe.createElement)("div",{ref:Rt.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ut,transform:it?Ut.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[(s=st.transformOrigin)===null||s===void 0?void 0:s.x,(a=st.transformOrigin)===null||a===void 0?void 0:a.y].join(" ")},dir:e.dir},(0,fe.createElement)(Eg,{scope:m,placedSide:Wt,onArrowChange:j,arrowX:Ne,arrowY:J,shouldHideArrow:K},(0,fe.createElement)(U.div,O({"data-side":Wt,"data-align":I},C,{ref:R,style:{...C.style,animation:it?void 0:"none",opacity:(u=st.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),kg="PopperArrow",_g={top:"bottom",right:"left",bottom:"top",left:"right"},Rg=(0,fe.forwardRef)(function(t,n){let{__scopePopper:r,...o}=t,l=Cg(kg,r),i=_g[l.placedSide];return(0,fe.createElement)("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0}},(0,fe.createElement)(xm,O({},o,{ref:n,style:{...o.style,display:"block"}})))});function Og(e){return e!==null}var Ng=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,l,i;let{placement:s,rects:a,middlewareData:u}=t,p=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,v=p?0:e.arrowWidth,y=p?0:e.arrowHeight,[g,h]=Om(s),$={start:"0%",center:"50%",end:"100%"}[h],f=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+v/2,c=((l=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&l!==void 0?l:0)+y/2,d="",w="";return g==="bottom"?(d=p?$:`${f}px`,w=`${-y}px`):g==="top"?(d=p?$:`${f}px`,w=`${a.floating.height+y}px`):g==="right"?(d=`${-y}px`,w=p?$:`${c}px`):g==="left"&&(d=`${a.floating.width+y}px`,w=p?$:`${c}px`),{data:{x:d,y:w}}}});function Om(e){let[t,n="center"]=e.split("-");return[t,n]}var Li=$g,Do=xg,Ai=Pg,Ii=Rg;var Di=D(M(),1),Nm=D($r(),1);var Mi=(0,Di.forwardRef)((e,t)=>{var n;let{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Nm.default.createPortal((0,Di.createElement)(U.div,O({},o,{ref:t})),r):null});var yn=D(M(),1);function Mo({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,o]=Tg({defaultProp:t,onChange:n}),l=e!==void 0,i=l?e:r,s=Me(n),a=(0,yn.useCallback)(u=>{if(l){let p=typeof u=="function"?u(e):u;p!==e&&s(p)}else o(u)},[l,e,o,s]);return[i,a]}function Tg({defaultProp:e,onChange:t}){let n=(0,yn.useState)(e),[r]=n,o=(0,yn.useRef)(r),l=Me(t);return(0,yn.useEffect)(()=>{o.current!==r&&(l(r),o.current=r)},[r,o,l]),n}var bi=D(M(),1);function Tm(e){let t=(0,bi.useRef)({value:e,previous:e});return(0,bi.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var zi=D(M(),1);var Lm=(0,zi.forwardRef)((e,t)=>(0,zi.createElement)(U.span,O({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})));var Lg=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Or=new WeakMap,Fi=new WeakMap,ji={},bu=0,Am=function(e){return e&&(e.host||Am(e.parentNode))},Ag=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Am(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Ig=function(e,t,n,r){var o=Ag(t,Array.isArray(e)?e:[e]);ji[n]||(ji[n]=new WeakMap);var l=ji[n],i=[],s=new Set,a=new Set(o),u=function(p){!p||s.has(p)||(s.add(p),u(p.parentNode))};o.forEach(u);var m=function(p){!p||a.has(p)||Array.prototype.forEach.call(p.children,function(v){if(s.has(v))m(v);else{var y=v.getAttribute(r),g=y!==null&&y!=="false",h=(Or.get(v)||0)+1,$=(l.get(v)||0)+1;Or.set(v,h),l.set(v,$),i.push(v),h===1&&g&&Fi.set(v,!0),$===1&&v.setAttribute(n,"true"),g||v.setAttribute(r,"true")}})};return m(t),s.clear(),bu++,function(){i.forEach(function(p){var v=Or.get(p)-1,y=l.get(p)-1;Or.set(p,v),l.set(p,y),v||(Fi.has(p)||p.removeAttribute(r),Fi.delete(p)),y||p.removeAttribute(n)}),bu--,bu||(Or=new WeakMap,Or=new WeakMap,Fi=new WeakMap,ji={})}},Hi=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||Lg(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Ig(r,o,n,"aria-hidden")):function(){return null}};var Be=function(){return Be=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t},Be.apply(this,arguments)};function Vi(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Im(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,l;r<o;r++)(l||!(r in t))&&(l||(l=Array.prototype.slice.call(t,0,r)),l[r]=t[r]);return e.concat(l||Array.prototype.slice.call(t))}var Yi=D(M());var Re=D(M());var Dm="right-scroll-bar-position",Mm="width-before-scroll-bar";function bm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}var zm=D(M());function Fm(e,t){var n=(0,zm.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function zu(e,t){return Fm(t||null,function(n){return e.forEach(function(r){return bm(r,n)})})}var bg=D(M());var Vm=D(M());var Dg=D(Hm());function zg(e){return e}function Fg(e,t){t===void 0&&(t=zg);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(l){var i=t(l,r);return n.push(i),function(){n=n.filter(function(s){return s!==i})}},assignSyncMedium:function(l){for(r=!0;n.length;){var i=n;n=[],i.forEach(l)}n={push:function(s){return l(s)},filter:function(){return n}}},assignMedium:function(l){r=!0;var i=[];if(n.length){var s=n;n=[],s.forEach(l),i=n}var a=function(){var m=i;i=[],m.forEach(l)},u=function(){return Promise.resolve().then(a)};u(),n={push:function(m){i.push(m),u()},filter:function(m){return i=i.filter(m),n}}}};return o}function Fu(e){e===void 0&&(e={});var t=Fg(null);return t.options=Be({async:!0,ssr:!1},e),t}var Bi=D(M()),Ui=D(M());var Bm=D(M()),Um=function(e){var t=e.sideCar,n=Vi(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return Bm.createElement(r,Be({},n))};Um.isSideCarExport=!0;function ju(e,t){return e.useMedium(t),Um}var Wi=Fu();var Hu=function(){},bo=Re.forwardRef(function(e,t){var n=Re.useRef(null),r=Re.useState({onScrollCapture:Hu,onWheelCapture:Hu,onTouchMoveCapture:Hu}),o=r[0],l=r[1],i=e.forwardProps,s=e.children,a=e.className,u=e.removeScrollBar,m=e.enabled,p=e.shards,v=e.sideCar,y=e.noIsolation,g=e.inert,h=e.allowPinchZoom,$=e.as,f=$===void 0?"div":$,c=Vi(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),d=v,w=zu([n,t]),S=Be(Be({},c),o);return Re.createElement(Re.Fragment,null,m&&Re.createElement(d,{sideCar:Wi,removeScrollBar:u,shards:p,noIsolation:y,inert:g,setCallbacks:l,allowPinchZoom:!!h,lockRef:n}),i?Re.cloneElement(Re.Children.only(s),Be(Be({},S),{ref:w})):Re.createElement(f,Be({},S,{className:a,ref:w}),s))});bo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};bo.classNames={fullWidth:Mm,zeroRight:Dm};var ne=D(M());var Ki=D(M());var Qm=D(M());var Wm;var Km=function(){if(Wm)return Wm;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function jg(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Km();return t&&e.setAttribute("nonce",t),e}function Hg(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Vg(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Vu=function(){var e=0,t=null;return{add:function(n){e==0&&(t=jg())&&(Hg(t,n),Vg(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var Bu=function(){var e=Vu();return function(t,n){Qm.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}};var zo=function(){var e=Bu(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t};var Fo="right-scroll-bar-position",jo="width-before-scroll-bar",Uu="with-scroll-bars-hidden",Wu="--removed-body-scroll-bar-size";var Bg={left:0,top:0,right:0,gap:0},Ku=function(e){return parseInt(e||"",10)||0},Ug=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ku(n),Ku(r),Ku(o)]},Qu=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Bg;var t=Ug(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}};var Wg=zo(),Kg=function(e,t,n,r){var o=e.left,l=e.top,i=e.right,s=e.gap;return n===void 0&&(n="margin"),` .`.concat(Uu,` { overflow: hidden `).concat(r,`; padding-right: `).concat(s,"px ").concat(r,`; } body { overflow: hidden `).concat(r,`; overscroll-behavior: contain; `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` padding-left: `.concat(o,`px; padding-top: `).concat(l,`px; padding-right: `).concat(i,`px; margin-left:0; margin-top:0; margin-right: `).concat(s,"px ").concat(r,`; `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),` } .`).concat(Fo,` { right: `).concat(s,"px ").concat(r,`; } .`).concat(jo,` { margin-right: `).concat(s,"px ").concat(r,`; } .`).concat(Fo," .").concat(Fo,` { right: 0 `).concat(r,`; } .`).concat(jo," .").concat(jo,` { margin-right: 0 `).concat(r,`; } body { `).concat(Wu,": ").concat(s,`px; } `)},Yu=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,l=Ki.useMemo(function(){return Qu(o)},[o]);return Ki.createElement(Wg,{styles:Kg(l,!t,o,n?"":"!important")})};var Xu=!1;if(typeof window<"u")try{Ho=Object.defineProperty({},"passive",{get:function(){return Xu=!0,!0}}),window.addEventListener("test",Ho,Ho),window.removeEventListener("test",Ho,Ho)}catch{Xu=!1}var Ho,Bn=Xu?{passive:!1}:!1;var Qg=function(e){return e.tagName==="TEXTAREA"},Ym=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Qg(e)&&n[t]==="visible")},Yg=function(e){return Ym(e,"overflowY")},Xg=function(e){return Ym(e,"overflowX")},Gu=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Xm(e,n);if(r){var o=Gm(e,n),l=o[1],i=o[2];if(l>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Gg=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},qg=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Xm=function(e,t){return e==="v"?Yg(t):Xg(t)},Gm=function(e,t){return e==="v"?Gg(t):qg(t)},Zg=function(e,t){return e==="h"&&t==="rtl"?-1:1},qm=function(e,t,n,r,o){var l=Zg(e,window.getComputedStyle(t).direction),i=l*r,s=n.target,a=t.contains(s),u=!1,m=i>0,p=0,v=0;do{var y=Gm(e,s),g=y[0],h=y[1],$=y[2],f=h-$-l*g;(g||f)&&Xm(e,s)&&(p+=f,v+=g),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return(m&&(o&&p===0||!o&&i>p)||!m&&(o&&v===0||!o&&-i>v))&&(u=!0),u};var Qi=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Zm=function(e){return[e.deltaX,e.deltaY]},Jm=function(e){return e&&"current"in e?e.current:e},Jg=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ey=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} `)},ty=0,Nr=[];function ev(e){var t=ne.useRef([]),n=ne.useRef([0,0]),r=ne.useRef(),o=ne.useState(ty++)[0],l=ne.useState(function(){return zo()})[0],i=ne.useRef(e);ne.useEffect(function(){i.current=e},[e]),ne.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=Im([e.lockRef.current],(e.shards||[]).map(Jm),!0).filter(Boolean);return h.forEach(function($){return $.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function($){return $.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=ne.useCallback(function(h,$){if("touches"in h&&h.touches.length===2)return!i.current.allowPinchZoom;var f=Qi(h),c=n.current,d="deltaX"in h?h.deltaX:c[0]-f[0],w="deltaY"in h?h.deltaY:c[1]-f[1],S,C=h.target,P=Math.abs(d)>Math.abs(w)?"h":"v";if("touches"in h&&P==="h"&&C.type==="range")return!1;var E=Gu(P,C);if(!E)return!0;if(E?S=P:(S=P==="v"?"h":"v",E=Gu(P,C)),!E)return!1;if(!r.current&&"changedTouches"in h&&(d||w)&&(r.current=S),!S)return!0;var N=r.current||S;return qm(N,$,h,N==="h"?d:w,!0)},[]),a=ne.useCallback(function(h){var $=h;if(!(!Nr.length||Nr[Nr.length-1]!==l)){var f="deltaY"in $?Zm($):Qi($),c=t.current.filter(function(S){return S.name===$.type&&S.target===$.target&&Jg(S.delta,f)})[0];if(c&&c.should){$.cancelable&&$.preventDefault();return}if(!c){var d=(i.current.shards||[]).map(Jm).filter(Boolean).filter(function(S){return S.contains($.target)}),w=d.length>0?s($,d[0]):!i.current.noIsolation;w&&$.cancelable&&$.preventDefault()}}},[]),u=ne.useCallback(function(h,$,f,c){var d={name:h,delta:$,target:f,should:c};t.current.push(d),setTimeout(function(){t.current=t.current.filter(function(w){return w!==d})},1)},[]),m=ne.useCallback(function(h){n.current=Qi(h),r.current=void 0},[]),p=ne.useCallback(function(h){u(h.type,Zm(h),h.target,s(h,e.lockRef.current))},[]),v=ne.useCallback(function(h){u(h.type,Qi(h),h.target,s(h,e.lockRef.current))},[]);ne.useEffect(function(){return Nr.push(l),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:v}),document.addEventListener("wheel",a,Bn),document.addEventListener("touchmove",a,Bn),document.addEventListener("touchstart",m,Bn),function(){Nr=Nr.filter(function(h){return h!==l}),document.removeEventListener("wheel",a,Bn),document.removeEventListener("touchmove",a,Bn),document.removeEventListener("touchstart",m,Bn)}},[]);var y=e.removeScrollBar,g=e.inert;return ne.createElement(ne.Fragment,null,g?ne.createElement(l,{styles:ey(o)}):null,y?ne.createElement(Yu,{gapMode:"margin"}):null)}var tv=ju(Wi,ev);var nv=Yi.forwardRef(function(e,t){return Yi.createElement(bo,Be({},e,{ref:t,sideCar:tv}))});nv.classNames=bo.classNames;var Vo=nv;var ny=[" ","Enter","ArrowUp","ArrowDown"],ry=[" ","Enter"],Gi="Select",[qi,Zi,oy]=Dp(Gi),[Lr,rS]=mn(Gi,[oy,Rr]),Ji=Rr(),[ly,wn]=Lr(Gi),[iy,sy]=Lr(Gi),oS=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:l,value:i,defaultValue:s,onValueChange:a,dir:u,name:m,autoComplete:p,disabled:v,required:y}=e,g=Ji(t),[h,$]=(0,x.useState)(null),[f,c]=(0,x.useState)(null),[d,w]=(0,x.useState)(!1),S=Mp(u),[C=!1,P]=Mo({prop:r,defaultProp:o,onChange:l}),[E,N]=Mo({prop:i,defaultProp:s,onChange:a}),R=(0,x.useRef)(null),T=h?!!h.closest("form"):!0,[j,b]=(0,x.useState)(new Set),H=Array.from(j).map(z=>z.props.value).join(";");return(0,x.createElement)(Li,g,(0,x.createElement)(ly,{required:y,scope:t,trigger:h,onTriggerChange:$,valueNode:f,onValueNodeChange:c,valueNodeHasChildren:d,onValueNodeHasChildrenChange:w,contentId:Er(),value:E,onValueChange:N,open:C,onOpenChange:P,dir:S,triggerPointerDownPosRef:R,disabled:v},(0,x.createElement)(qi.Provider,{scope:t},(0,x.createElement)(iy,{scope:e.__scopeSelect,onNativeOptionAdd:(0,x.useCallback)(z=>{b(L=>new Set(L).add(z))},[]),onNativeOptionRemove:(0,x.useCallback)(z=>{b(L=>{let Y=new Set(L);return Y.delete(z),Y})},[])},n)),T?(0,x.createElement)(fv,{key:H,"aria-hidden":!0,required:y,tabIndex:-1,name:m,autoComplete:p,value:E,onChange:z=>N(z.target.value),disabled:v},E===void 0?(0,x.createElement)("option",{value:""}):null,Array.from(j)):null))},ay="SelectTrigger",lS=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...o}=e,l=Ji(n),i=wn(ay,n),s=i.disabled||r,a=Z(t,i.onTriggerChange),u=Zi(n),[m,p,v]=dv(g=>{let h=u().filter(c=>!c.disabled),$=h.find(c=>c.value===i.value),f=pv(h,g,$);f!==void 0&&i.onValueChange(f.value)}),y=()=>{s||(i.onOpenChange(!0),v())};return(0,x.createElement)(Do,O({asChild:!0},l),(0,x.createElement)(U.button,O({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:a,onClick:q(o.onClick,g=>{g.currentTarget.focus()}),onPointerDown:q(o.onPointerDown,g=>{let h=g.target;h.hasPointerCapture(g.pointerId)&&h.releasePointerCapture(g.pointerId),g.button===0&&g.ctrlKey===!1&&(y(),i.triggerPointerDownPosRef.current={x:Math.round(g.pageX),y:Math.round(g.pageY)},g.preventDefault())}),onKeyDown:q(o.onKeyDown,g=>{let h=m.current!=="";!(g.ctrlKey||g.altKey||g.metaKey)&&g.key.length===1&&p(g.key),!(h&&g.key===" ")&&ny.includes(g.key)&&(y(),g.preventDefault())})})))}),uy="SelectValue",cy=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,className:r,style:o,children:l,placeholder:i,...s}=e,a=wn(uy,n),{onValueNodeHasChildrenChange:u}=a,m=l!==void 0,p=Z(t,a.onValueNodeChange);return ge(()=>{u(m)},[u,m]),(0,x.createElement)(U.span,O({},s,{ref:p,style:{pointerEvents:"none"}}),a.value===void 0&&i!==void 0?i:l)});var fy=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,children:r,...o}=e;return(0,x.createElement)(U.span,O({"aria-hidden":!0},o,{ref:t}),r||"\u25BC")});var iS=e=>(0,x.createElement)(Mi,O({asChild:!0},e)),Tr="SelectContent",sS=(0,x.forwardRef)((e,t)=>{let n=wn(Tr,e.__scopeSelect),[r,o]=(0,x.useState)();if(ge(()=>{o(new DocumentFragment)},[]),!n.open){let l=r;return l?(0,Zu.createPortal)((0,x.createElement)(av,{scope:e.__scopeSelect},(0,x.createElement)(qi.Slot,{scope:e.__scopeSelect},(0,x.createElement)("div",null,e.children))),l):null}return(0,x.createElement)(dy,O({},e,{ref:t}))}),Bt=10,[av,$n]=Lr(Tr);var dy=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:l,onPointerDownOutside:i,side:s,sideOffset:a,align:u,alignOffset:m,arrowPadding:p,collisionBoundary:v,collisionPadding:y,sticky:g,hideWhenDetached:h,avoidCollisions:$,...f}=e,c=wn(Tr,n),[d,w]=(0,x.useState)(null),[S,C]=(0,x.useState)(null),P=Z(t,I=>w(I)),[E,N]=(0,x.useState)(null),[R,T]=(0,x.useState)(null),j=Zi(n),[b,H]=(0,x.useState)(!1),z=(0,x.useRef)(!1);(0,x.useEffect)(()=>{if(d)return Hi(d)},[d]),vi();let L=(0,x.useCallback)(I=>{let[W,...Ne]=j().map(Q=>Q.ref.current),[J]=Ne.slice(-1),K=document.activeElement;for(let Q of I)if(Q===K||(Q?.scrollIntoView({block:"nearest"}),Q===W&&S&&(S.scrollTop=0),Q===J&&S&&(S.scrollTop=S.scrollHeight),Q?.focus(),document.activeElement!==K))return},[j,S]),Y=(0,x.useCallback)(()=>L([E,d]),[L,E,d]);(0,x.useEffect)(()=>{b&&Y()},[b,Y]);let{onOpenChange:de,triggerPointerDownPosRef:Ze}=c;(0,x.useEffect)(()=>{if(d){let I={x:0,y:0},W=J=>{var K,Q,Ue,Te;I={x:Math.abs(Math.round(J.pageX)-((K=(Q=Ze.current)===null||Q===void 0?void 0:Q.x)!==null&&K!==void 0?K:0)),y:Math.abs(Math.round(J.pageY)-((Ue=(Te=Ze.current)===null||Te===void 0?void 0:Te.y)!==null&&Ue!==void 0?Ue:0))}},Ne=J=>{I.x<=10&&I.y<=10?J.preventDefault():d.contains(J.target)||de(!1),document.removeEventListener("pointermove",W),Ze.current=null};return Ze.current!==null&&(document.addEventListener("pointermove",W),document.addEventListener("pointerup",Ne,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",W),document.removeEventListener("pointerup",Ne,{capture:!0})}}},[d,de,Ze]),(0,x.useEffect)(()=>{let I=()=>de(!1);return window.addEventListener("blur",I),window.addEventListener("resize",I),()=>{window.removeEventListener("blur",I),window.removeEventListener("resize",I)}},[de]);let[wt,Rt]=dv(I=>{let W=j().filter(K=>!K.disabled),Ne=W.find(K=>K.ref.current===document.activeElement),J=pv(W,I,Ne);J&&setTimeout(()=>J.ref.current.focus())}),Ut=(0,x.useCallback)((I,W,Ne)=>{let J=!z.current&&!Ne;(c.value!==void 0&&c.value===W||J)&&(N(I),J&&(z.current=!0))},[c.value]),xn=(0,x.useCallback)(()=>d?.focus(),[d]),it=(0,x.useCallback)((I,W,Ne)=>{let J=!z.current&&!Ne;(c.value!==void 0&&c.value===W||J)&&T(I)},[c.value]),st=r==="popper"?rv:py,Wt=st===rv?{side:s,sideOffset:a,align:u,alignOffset:m,arrowPadding:p,collisionBoundary:v,collisionPadding:y,sticky:g,hideWhenDetached:h,avoidCollisions:$}:{};return(0,x.createElement)(av,{scope:n,content:d,viewport:S,onViewportChange:C,itemRefCallback:Ut,selectedItem:E,onItemLeave:xn,itemTextRefCallback:it,focusSelectedItem:Y,selectedItemText:R,position:r,isPositioned:b,searchRef:wt},(0,x.createElement)(Vo,{as:kt,allowPinchZoom:!0},(0,x.createElement)(hi,{asChild:!0,trapped:c.open,onMountAutoFocus:I=>{I.preventDefault()},onUnmountAutoFocus:q(o,I=>{var W;(W=c.trigger)===null||W===void 0||W.focus({preventScroll:!0}),I.preventDefault()})},(0,x.createElement)(mi,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:i,onFocusOutside:I=>I.preventDefault(),onDismiss:()=>c.onOpenChange(!1)},(0,x.createElement)(st,O({role:"listbox",id:c.contentId,"data-state":c.open?"open":"closed",dir:c.dir,onContextMenu:I=>I.preventDefault()},f,Wt,{onPlaced:()=>H(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...f.style},onKeyDown:q(f.onKeyDown,I=>{let W=I.ctrlKey||I.altKey||I.metaKey;if(I.key==="Tab"&&I.preventDefault(),!W&&I.key.length===1&&Rt(I.key),["ArrowUp","ArrowDown","Home","End"].includes(I.key)){let J=j().filter(K=>!K.disabled).map(K=>K.ref.current);if(["ArrowUp","End"].includes(I.key)&&(J=J.slice().reverse()),["ArrowUp","ArrowDown"].includes(I.key)){let K=I.target,Q=J.indexOf(K);J=J.slice(Q+1)}setTimeout(()=>L(J)),I.preventDefault()}})}))))))});var py=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,onPlaced:r,...o}=e,l=wn(Tr,n),i=$n(Tr,n),[s,a]=(0,x.useState)(null),[u,m]=(0,x.useState)(null),p=Z(t,P=>m(P)),v=Zi(n),y=(0,x.useRef)(!1),g=(0,x.useRef)(!0),{viewport:h,selectedItem:$,selectedItemText:f,focusSelectedItem:c}=i,d=(0,x.useCallback)(()=>{if(l.trigger&&l.valueNode&&s&&u&&h&&$&&f){let P=l.trigger.getBoundingClientRect(),E=u.getBoundingClientRect(),N=l.valueNode.getBoundingClientRect(),R=f.getBoundingClientRect();if(l.dir!=="rtl"){let K=R.left-E.left,Q=N.left-K,Ue=P.left-Q,Te=P.width+Ue,Ar=Math.max(Te,E.width),Ir=window.innerWidth-Bt,Dr=$u(Q,[Bt,Ir-Ar]);s.style.minWidth=Te+"px",s.style.left=Dr+"px"}else{let K=E.right-R.right,Q=window.innerWidth-N.right-K,Ue=window.innerWidth-P.right-Q,Te=P.width+Ue,Ar=Math.max(Te,E.width),Ir=window.innerWidth-Bt,Dr=$u(Q,[Bt,Ir-Ar]);s.style.minWidth=Te+"px",s.style.right=Dr+"px"}let T=v(),j=window.innerHeight-Bt*2,b=h.scrollHeight,H=window.getComputedStyle(u),z=parseInt(H.borderTopWidth,10),L=parseInt(H.paddingTop,10),Y=parseInt(H.borderBottomWidth,10),de=parseInt(H.paddingBottom,10),Ze=z+L+b+de+Y,wt=Math.min($.offsetHeight*5,Ze),Rt=window.getComputedStyle(h),Ut=parseInt(Rt.paddingTop,10),xn=parseInt(Rt.paddingBottom,10),it=P.top+P.height/2-Bt,st=j-it,Wt=$.offsetHeight/2,I=$.offsetTop+Wt,W=z+L+I,Ne=Ze-W;if(W<=it){let K=$===T[T.length-1].ref.current;s.style.bottom="0px";let Q=u.clientHeight-h.offsetTop-h.offsetHeight,Ue=Math.max(st,Wt+(K?xn:0)+Q+Y),Te=W+Ue;s.style.height=Te+"px"}else{let K=$===T[0].ref.current;s.style.top="0px";let Ue=Math.max(it,z+h.offsetTop+(K?Ut:0)+Wt)+Ne;s.style.height=Ue+"px",h.scrollTop=W-it+h.offsetTop}s.style.margin=`${Bt}px 0`,s.style.minHeight=wt+"px",s.style.maxHeight=j+"px",r?.(),requestAnimationFrame(()=>y.current=!0)}},[v,l.trigger,l.valueNode,s,u,h,$,f,l.dir,r]);ge(()=>d(),[d]);let[w,S]=(0,x.useState)();ge(()=>{u&&S(window.getComputedStyle(u).zIndex)},[u]);let C=(0,x.useCallback)(P=>{P&&g.current===!0&&(d(),c?.(),g.current=!1)},[d,c]);return(0,x.createElement)(my,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:y,onScrollButtonChange:C},(0,x.createElement)("div",{ref:a,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:w}},(0,x.createElement)(U.div,O({},o,{ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}}))))});var rv=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:o=Bt,...l}=e,i=Ji(n);return(0,x.createElement)(Ai,O({},i,l,{ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...l.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[my,Ju]=Lr(Tr,{}),ov="SelectViewport",vy=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,...r}=e,o=$n(ov,n),l=Ju(ov,n),i=Z(t,o.onViewportChange),s=(0,x.useRef)(0);return(0,x.createElement)(x.Fragment,null,(0,x.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),(0,x.createElement)(qi.Slot,{scope:n},(0,x.createElement)(U.div,O({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:q(r.onScroll,a=>{let u=a.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:p}=l;if(p!=null&&p.current&&m){let v=Math.abs(s.current-u.scrollTop);if(v>0){let y=window.innerHeight-Bt*2,g=parseFloat(m.style.minHeight),h=parseFloat(m.style.height),$=Math.max(g,h);if($<y){let f=$+v,c=Math.min(y,f),d=f-c;m.style.height=c+"px",m.style.bottom==="0px"&&(u.scrollTop=d>0?d:0,m.style.justifyContent="flex-end")}}}s.current=u.scrollTop})}))))}),hy="SelectGroup",[gy,yy]=Lr(hy),wy=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,...r}=e,o=Er();return(0,x.createElement)(gy,{scope:n,id:o},(0,x.createElement)(U.div,O({role:"group","aria-labelledby":o},r,{ref:t})))}),$y="SelectLabel",Sy=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,...r}=e,o=yy($y,n);return(0,x.createElement)(U.div,O({id:o.id},r,{ref:t}))}),qu="SelectItem",[xy,uv]=Lr(qu),Ey=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,value:r,disabled:o=!1,textValue:l,...i}=e,s=wn(qu,n),a=$n(qu,n),u=s.value===r,[m,p]=(0,x.useState)(l??""),[v,y]=(0,x.useState)(!1),g=Z(t,f=>{var c;return(c=a.itemRefCallback)===null||c===void 0?void 0:c.call(a,f,r,o)}),h=Er(),$=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return(0,x.createElement)(xy,{scope:n,value:r,disabled:o,textId:h,isSelected:u,onItemTextChange:(0,x.useCallback)(f=>{p(c=>{var d;return c||((d=f?.textContent)!==null&&d!==void 0?d:"").trim()})},[])},(0,x.createElement)(qi.ItemSlot,{scope:n,value:r,disabled:o,textValue:m},(0,x.createElement)(U.div,O({role:"option","aria-labelledby":h,"data-highlighted":v?"":void 0,"aria-selected":u&&v,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},i,{ref:g,onFocus:q(i.onFocus,()=>y(!0)),onBlur:q(i.onBlur,()=>y(!1)),onPointerUp:q(i.onPointerUp,$),onPointerMove:q(i.onPointerMove,f=>{if(o){var c;(c=a.onItemLeave)===null||c===void 0||c.call(a)}else f.currentTarget.focus({preventScroll:!0})}),onPointerLeave:q(i.onPointerLeave,f=>{if(f.currentTarget===document.activeElement){var c;(c=a.onItemLeave)===null||c===void 0||c.call(a)}}),onKeyDown:q(i.onKeyDown,f=>{var c;((c=a.searchRef)===null||c===void 0?void 0:c.current)!==""&&f.key===" "||(ry.includes(f.key)&&$(),f.key===" "&&f.preventDefault())})}))))}),Xi="SelectItemText",Cy=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,className:r,style:o,...l}=e,i=wn(Xi,n),s=$n(Xi,n),a=uv(Xi,n),u=sy(Xi,n),[m,p]=(0,x.useState)(null),v=Z(t,f=>p(f),a.onItemTextChange,f=>{var c;return(c=s.itemTextRefCallback)===null||c===void 0?void 0:c.call(s,f,a.value,a.disabled)}),y=m?.textContent,g=(0,x.useMemo)(()=>(0,x.createElement)("option",{key:a.value,value:a.value,disabled:a.disabled},y),[a.disabled,a.value,y]),{onNativeOptionAdd:h,onNativeOptionRemove:$}=u;return ge(()=>(h(g),()=>$(g)),[h,$,g]),(0,x.createElement)(x.Fragment,null,(0,x.createElement)(U.span,O({id:a.textId},l,{ref:v})),a.isSelected&&i.valueNode&&!i.valueNodeHasChildren?(0,Zu.createPortal)(l.children,i.valueNode):null)}),Py="SelectItemIndicator",ky=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,...r}=e;return uv(Py,n).isSelected?(0,x.createElement)(U.span,O({"aria-hidden":!0},r,{ref:t})):null}),lv="SelectScrollUpButton",_y=(0,x.forwardRef)((e,t)=>{let n=$n(lv,e.__scopeSelect),r=Ju(lv,e.__scopeSelect),[o,l]=(0,x.useState)(!1),i=Z(t,r.onScrollButtonChange);return ge(()=>{if(n.viewport&&n.isPositioned){let a=function(){let u=s.scrollTop>0;l(u)},s=n.viewport;return a(),s.addEventListener("scroll",a),()=>s.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?(0,x.createElement)(cv,O({},e,{ref:i,onAutoScroll:()=>{let{viewport:s,selectedItem:a}=n;s&&a&&(s.scrollTop=s.scrollTop-a.offsetHeight)}})):null}),iv="SelectScrollDownButton",Ry=(0,x.forwardRef)((e,t)=>{let n=$n(iv,e.__scopeSelect),r=Ju(iv,e.__scopeSelect),[o,l]=(0,x.useState)(!1),i=Z(t,r.onScrollButtonChange);return ge(()=>{if(n.viewport&&n.isPositioned){let a=function(){let u=s.scrollHeight-s.clientHeight,m=Math.ceil(s.scrollTop)<u;l(m)},s=n.viewport;return a(),s.addEventListener("scroll",a),()=>s.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?(0,x.createElement)(cv,O({},e,{ref:i,onAutoScroll:()=>{let{viewport:s,selectedItem:a}=n;s&&a&&(s.scrollTop=s.scrollTop+a.offsetHeight)}})):null}),cv=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...o}=e,l=$n("SelectScrollButton",n),i=(0,x.useRef)(null),s=Zi(n),a=(0,x.useCallback)(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return(0,x.useEffect)(()=>()=>a(),[a]),ge(()=>{var u;let m=s().find(p=>p.ref.current===document.activeElement);m==null||(u=m.ref.current)===null||u===void 0||u.scrollIntoView({block:"nearest"})},[s]),(0,x.createElement)(U.div,O({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerDown:q(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:q(o.onPointerMove,()=>{var u;(u=l.onItemLeave)===null||u===void 0||u.call(l),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:q(o.onPointerLeave,()=>{a()})}))});var Oy=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,x.createElement)(U.div,O({"aria-hidden":!0},r,{ref:t}))}),sv="SelectArrow",aS=(0,x.forwardRef)((e,t)=>{let{__scopeSelect:n,...r}=e,o=Ji(n),l=wn(sv,n),i=$n(sv,n);return l.open&&i.position==="popper"?(0,x.createElement)(Ii,O({},o,r,{ref:t})):null}),fv=(0,x.forwardRef)((e,t)=>{let{value:n,...r}=e,o=(0,x.useRef)(null),l=Z(t,o),i=Tm(n);return(0,x.useEffect)(()=>{let s=o.current,a=window.HTMLSelectElement.prototype,m=Object.getOwnPropertyDescriptor(a,"value").set;if(i!==n&&m){let p=new Event("change",{bubbles:!0});m.call(s,n),s.dispatchEvent(p)}},[i,n]),(0,x.createElement)(Lm,{asChild:!0},(0,x.createElement)("select",O({},r,{ref:l,defaultValue:n})))});fv.displayName="BubbleSelect";function dv(e){let t=Me(e),n=(0,x.useRef)(""),r=(0,x.useRef)(0),o=(0,x.useCallback)(i=>{let s=n.current+i;t(s),function a(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>a(""),1e3))}(s)},[t]),l=(0,x.useCallback)(()=>{n.current="",window.clearTimeout(r.current)},[]);return(0,x.useEffect)(()=>()=>window.clearTimeout(r.current),[]),[n,o,l]}function pv(e,t,n){let o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,l=n?e.indexOf(n):-1,i=Ny(e,Math.max(l,0));o.length===1&&(i=i.filter(u=>u!==n));let a=i.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}function Ny(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var uS=cy,cS=fy;var fS=vy,dS=wy,pS=Sy,mS=Ey,vS=Cy,hS=ky,gS=_y,yS=Ry,wS=Oy;var A=D(M(),1);var Oe=D(M(),1),mv=D($r(),1);function Ty(e,t){return(0,Oe.useReducer)((n,r)=>{let o=t[n][r];return o??n},e)}var ts=e=>{let{present:t,children:n}=e,r=Ly(t),o=typeof n=="function"?n({present:r.isPresent}):Oe.Children.only(n),l=Z(r.ref,o.ref);return typeof n=="function"||r.isPresent?(0,Oe.cloneElement)(o,{ref:l}):null};ts.displayName="Presence";function Ly(e){let[t,n]=(0,Oe.useState)(),r=(0,Oe.useRef)({}),o=(0,Oe.useRef)(e),l=(0,Oe.useRef)("none"),i=e?"mounted":"unmounted",[s,a]=Ty(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,Oe.useEffect)(()=>{let u=es(r.current);l.current=s==="mounted"?u:"none"},[s]),ge(()=>{let u=r.current,m=o.current;if(m!==e){let v=l.current,y=es(u);e?a("MOUNT"):y==="none"||u?.display==="none"?a("UNMOUNT"):a(m&&v!==y?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),ge(()=>{if(t){let u=p=>{let y=es(r.current).includes(p.animationName);p.target===t&&y&&(0,mv.flushSync)(()=>a("ANIMATION_END"))},m=p=>{p.target===t&&(l.current=es(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,Oe.useCallback)(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function es(e){return e?.animationName||"none"}var vv="Popover",[hv,jS]=mn(vv,[Rr]),Uo=Rr(),[Ay,Sn]=hv(vv),HS=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:l,modal:i=!1}=e,s=Uo(t),a=(0,A.useRef)(null),[u,m]=(0,A.useState)(!1),[p=!1,v]=Mo({prop:r,defaultProp:o,onChange:l});return(0,A.createElement)(Li,s,(0,A.createElement)(Ay,{scope:t,contentId:Er(),triggerRef:a,open:p,onOpenChange:v,onOpenToggle:(0,A.useCallback)(()=>v(y=>!y),[v]),hasCustomAnchor:u,onCustomAnchorAdd:(0,A.useCallback)(()=>m(!0),[]),onCustomAnchorRemove:(0,A.useCallback)(()=>m(!1),[]),modal:i},n))},Iy="PopoverAnchor",Dy=(0,A.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,o=Sn(Iy,n),l=Uo(n),{onCustomAnchorAdd:i,onCustomAnchorRemove:s}=o;return(0,A.useEffect)(()=>(i(),()=>s()),[i,s]),(0,A.createElement)(Do,O({},l,r,{ref:t}))}),My="PopoverTrigger",VS=(0,A.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,o=Sn(My,n),l=Uo(n),i=Z(t,o.triggerRef),s=(0,A.createElement)(U.button,O({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":wv(o.open)},r,{ref:i,onClick:q(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:(0,A.createElement)(Do,O({asChild:!0},l),s)}),gv="PopoverPortal",[by,zy]=hv(gv,{forceMount:void 0}),BS=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,l=Sn(gv,t);return(0,A.createElement)(by,{scope:t,forceMount:n},(0,A.createElement)(ts,{present:n||l.open},(0,A.createElement)(Mi,{asChild:!0,container:o},r)))},Bo="PopoverContent",US=(0,A.forwardRef)((e,t)=>{let n=zy(Bo,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,l=Sn(Bo,e.__scopePopover);return(0,A.createElement)(ts,{present:r||l.open},l.modal?(0,A.createElement)(Fy,O({},o,{ref:t})):(0,A.createElement)(jy,O({},o,{ref:t})))}),Fy=(0,A.forwardRef)((e,t)=>{let n=Sn(Bo,e.__scopePopover),r=(0,A.useRef)(null),o=Z(t,r),l=(0,A.useRef)(!1);return(0,A.useEffect)(()=>{let i=r.current;if(i)return Hi(i)},[]),(0,A.createElement)(Vo,{as:kt,allowPinchZoom:!0},(0,A.createElement)(yv,O({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:q(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),l.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:q(e.onPointerDownOutside,i=>{let s=i.detail.originalEvent,a=s.button===0&&s.ctrlKey===!0,u=s.button===2||a;l.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:q(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),jy=(0,A.forwardRef)((e,t)=>{let n=Sn(Bo,e.__scopePopover),r=(0,A.useRef)(!1),o=(0,A.useRef)(!1);return(0,A.createElement)(yv,O({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,l),!l.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),l.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:l=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,l),l.defaultPrevented||(r.current=!0,l.detail.originalEvent.type==="pointerdown"&&(o.current=!0));let a=l.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(a))&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&o.current&&l.preventDefault()}}))}),yv=(0,A.forwardRef)((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:l,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:u,onInteractOutside:m,...p}=e,v=Sn(Bo,n),y=Uo(n);return vi(),(0,A.createElement)(hi,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:l},(0,A.createElement)(mi,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:m,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:u,onDismiss:()=>v.onOpenChange(!1)},(0,A.createElement)(Ai,O({"data-state":wv(v.open),role:"dialog",id:v.contentId},y,p,{ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),Hy="PopoverClose",Vy=(0,A.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,o=Sn(Hy,n);return(0,A.createElement)(U.button,O({type:"button"},r,{ref:t,onClick:q(e.onClick,()=>o.onOpenChange(!1))}))});var WS=(0,A.forwardRef)((e,t)=>{let{__scopePopover:n,...r}=e,o=Uo(n);return(0,A.createElement)(Ii,O({},o,r,{ref:t}))});function wv(e){return e?"open":"closed"}var KS=Dy;var QS=Vy;export{KS as Anchor,QS as Close,dS as Group,cS as Icon,mS as Item,hS as ItemIndicator,vS as ItemText,pS as Label,HS as Popover,Dy as PopoverAnchor,WS as PopoverArrow,Vy as PopoverClose,US as PopoverContent,BS as PopoverPortal,VS as PopoverTrigger,yS as ScrollDownButton,gS as ScrollUpButton,oS as Select,aS as SelectArrow,sS as SelectContent,wy as SelectGroup,fy as SelectIcon,Ey as SelectItem,ky as SelectItemIndicator,Cy as SelectItemText,Sy as SelectLabel,iS as SelectPortal,Ry as SelectScrollDownButton,_y as SelectScrollUpButton,Oy as SelectSeparator,lS as SelectTrigger,cy as SelectValue,vy as SelectViewport,wS as Separator,uS as Value,fS as Viewport,jS as createPopoverScope,rS as createSelectScope}; /** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.