@helloimjolopez-pathway/pathway-components 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bottom-sheet/bottom-sheet.jsx +14 -18
- package/components/popover-menu/popover-menu.jsx +747 -0
- package/components/spinner/spinner.jsx +205 -0
- package/components/toggle-button/toggle-button.jsx +16 -6
- package/dist/pathway-accounting-sidenav.js +195 -8
- package/dist/pathway-components.js +226 -99
- package/dist/pathway-sidenav.js +195 -8
- package/package.json +4 -3
- package/components/dropdown/dropdown.jsx +0 -482
package/dist/pathway-sidenav.js
CHANGED
|
@@ -1,18 +1,194 @@
|
|
|
1
|
-
var ff=Object.create;var ea=Object.defineProperty;var pf=Object.getOwnPropertyDescriptor;var hf=Object.getOwnPropertyNames;var mf=Object.getPrototypeOf,vf=Object.prototype.hasOwnProperty;var ht=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gf=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of hf(t))!vf.call(e,o)&&o!==n&&ea(e,o,{get:()=>t[o],enumerable:!(r=pf(t,o))||r.enumerable});return e};var J=(e,t,n)=>(n=e!=null?ff(mf(e)):{},gf(t||!e||!e.__esModule?ea(n,"default",{value:e,enumerable:!0}):n,e));var fa=ht(F=>{"use strict";var Vn=Symbol.for("react.element"),yf=Symbol.for("react.portal"),wf=Symbol.for("react.fragment"),xf=Symbol.for("react.strict_mode"),Sf=Symbol.for("react.profiler"),kf=Symbol.for("react.provider"),Ef=Symbol.for("react.context"),Cf=Symbol.for("react.forward_ref"),_f=Symbol.for("react.suspense"),Pf=Symbol.for("react.memo"),Nf=Symbol.for("react.lazy"),ta=Symbol.iterator;function zf(e){return e===null||typeof e!="object"?null:(e=ta&&e[ta]||e["@@iterator"],typeof e=="function"?e:null)}var oa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ia=Object.assign,la={};function pn(e,t,n){this.props=e,this.context=t,this.refs=la,this.updater=n||oa}pn.prototype.isReactComponent={};pn.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")};pn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ua(){}ua.prototype=pn.prototype;function Ei(e,t,n){this.props=e,this.context=t,this.refs=la,this.updater=n||oa}var Ci=Ei.prototype=new ua;Ci.constructor=Ei;ia(Ci,pn.prototype);Ci.isPureReactComponent=!0;var na=Array.isArray,aa=Object.prototype.hasOwnProperty,_i={current:null},sa={key:!0,ref:!0,__self:!0,__source:!0};function ca(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)aa.call(t,r)&&!sa.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1<u){for(var a=Array(u),c=0;c<u;c++)a[c]=arguments[c+2];o.children=a}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)o[r]===void 0&&(o[r]=u[r]);return{$$typeof:Vn,type:e,key:i,ref:l,props:o,_owner:_i.current}}function Rf(e,t){return{$$typeof:Vn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Pi(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vn}function Lf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ra=/\/+/g;function ki(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Lf(""+e.key):t.toString(36)}function Ur(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Vn:case yf:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+ki(l,0):r,na(o)?(n="",e!=null&&(n=e.replace(ra,"$&/")+"/"),Ur(o,t,n,"",function(c){return c})):o!=null&&(Pi(o)&&(o=Rf(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(ra,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",na(e))for(var u=0;u<e.length;u++){i=e[u];var a=r+ki(i,u);l+=Ur(i,t,n,a,o)}else if(a=zf(e),typeof a=="function")for(e=a.call(e),u=0;!(i=e.next()).done;)i=i.value,a=r+ki(i,u++),l+=Ur(i,t,n,a,o);else if(i==="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 l}function jr(e,t,n){if(e==null)return e;var r=[],o=0;return Ur(e,r,"","",function(i){return t.call(n,i,o++)}),r}function If(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 ye={current:null},Wr={transition:null},Tf={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:Wr,ReactCurrentOwner:_i};function da(){throw Error("act(...) is not supported in production builds of React.")}F.Children={map:jr,forEach:function(e,t,n){jr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return jr(e,function(){t++}),t},toArray:function(e){return jr(e,function(t){return t})||[]},only:function(e){if(!Pi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};F.Component=pn;F.Fragment=wf;F.Profiler=Sf;F.PureComponent=Ei;F.StrictMode=xf;F.Suspense=_f;F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tf;F.act=da;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=ia({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=_i.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(a in t)aa.call(t,a)&&!sa.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&u!==void 0?u[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){u=Array(a);for(var c=0;c<a;c++)u[c]=arguments[c+2];r.children=u}return{$$typeof:Vn,type:e.type,key:o,ref:i,props:r,_owner:l}};F.createContext=function(e){return e={$$typeof:Ef,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:kf,_context:e},e.Consumer=e};F.createElement=ca;F.createFactory=function(e){var t=ca.bind(null,e);return t.type=e,t};F.createRef=function(){return{current:null}};F.forwardRef=function(e){return{$$typeof:Cf,render:e}};F.isValidElement=Pi;F.lazy=function(e){return{$$typeof:Nf,_payload:{_status:-1,_result:e},_init:If}};F.memo=function(e,t){return{$$typeof:Pf,type:e,compare:t===void 0?null:t}};F.startTransition=function(e){var t=Wr.transition;Wr.transition={};try{e()}finally{Wr.transition=t}};F.unstable_act=da;F.useCallback=function(e,t){return ye.current.useCallback(e,t)};F.useContext=function(e){return ye.current.useContext(e)};F.useDebugValue=function(){};F.useDeferredValue=function(e){return ye.current.useDeferredValue(e)};F.useEffect=function(e,t){return ye.current.useEffect(e,t)};F.useId=function(){return ye.current.useId()};F.useImperativeHandle=function(e,t,n){return ye.current.useImperativeHandle(e,t,n)};F.useInsertionEffect=function(e,t){return ye.current.useInsertionEffect(e,t)};F.useLayoutEffect=function(e,t){return ye.current.useLayoutEffect(e,t)};F.useMemo=function(e,t){return ye.current.useMemo(e,t)};F.useReducer=function(e,t,n){return ye.current.useReducer(e,t,n)};F.useRef=function(e){return ye.current.useRef(e)};F.useState=function(e){return ye.current.useState(e)};F.useSyncExternalStore=function(e,t,n){return ye.current.useSyncExternalStore(e,t,n)};F.useTransition=function(){return ye.current.useTransition()};F.version="18.3.1"});var Ze=ht((fm,pa)=>{"use strict";pa.exports=fa()});var Ea=ht(V=>{"use strict";function Li(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(0<Vr(o,t))e[r]=t,e[n]=o,n=r;else break e}}function Je(e){return e.length===0?null:e[0]}function Gr(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,i=o>>>1;r<i;){var l=2*(r+1)-1,u=e[l],a=l+1,c=e[a];if(0>Vr(u,n))a<o&&0>Vr(c,u)?(e[r]=c,e[a]=n,r=a):(e[r]=u,e[l]=n,r=l);else if(a<o&&0>Vr(c,n))e[r]=c,e[a]=n,r=a;else break e}}return t}function Vr(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(ha=performance,V.unstable_now=function(){return ha.now()}):(Ni=Date,ma=Ni.now(),V.unstable_now=function(){return Ni.now()-ma});var ha,Ni,ma,lt=[],Pt=[],Mf=1,je=null,pe=3,Kr=!1,Kt=!1,Gn=!1,ya=typeof setTimeout=="function"?setTimeout:null,wa=typeof clearTimeout=="function"?clearTimeout:null,va=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ii(e){for(var t=Je(Pt);t!==null;){if(t.callback===null)Gr(Pt);else if(t.startTime<=e)Gr(Pt),t.sortIndex=t.expirationTime,Li(lt,t);else break;t=Je(Pt)}}function Ti(e){if(Gn=!1,Ii(e),!Kt)if(Je(lt)!==null)Kt=!0,Oi(Mi);else{var t=Je(Pt);t!==null&&Di(Ti,t.startTime-e)}}function Mi(e,t){Kt=!1,Gn&&(Gn=!1,wa(Kn),Kn=-1),Kr=!0;var n=pe;try{for(Ii(t),je=Je(lt);je!==null&&(!(je.expirationTime>t)||e&&!ka());){var r=je.callback;if(typeof r=="function"){je.callback=null,pe=je.priorityLevel;var o=r(je.expirationTime<=t);t=V.unstable_now(),typeof o=="function"?je.callback=o:je===Je(lt)&&Gr(lt),Ii(t)}else Gr(lt);je=Je(lt)}if(je!==null)var i=!0;else{var l=Je(Pt);l!==null&&Di(Ti,l.startTime-t),i=!1}return i}finally{je=null,pe=n,Kr=!1}}var Yr=!1,Qr=null,Kn=-1,xa=5,Sa=-1;function ka(){return!(V.unstable_now()-Sa<xa)}function zi(){if(Qr!==null){var e=V.unstable_now();Sa=e;var t=!0;try{t=Qr(!0,e)}finally{t?Qn():(Yr=!1,Qr=null)}}else Yr=!1}var Qn;typeof va=="function"?Qn=function(){va(zi)}:typeof MessageChannel<"u"?(Ri=new MessageChannel,ga=Ri.port2,Ri.port1.onmessage=zi,Qn=function(){ga.postMessage(null)}):Qn=function(){ya(zi,0)};var Ri,ga;function Oi(e){Qr=e,Yr||(Yr=!0,Qn())}function Di(e,t){Kn=ya(function(){e(V.unstable_now())},t)}V.unstable_IdlePriority=5;V.unstable_ImmediatePriority=1;V.unstable_LowPriority=4;V.unstable_NormalPriority=3;V.unstable_Profiling=null;V.unstable_UserBlockingPriority=2;V.unstable_cancelCallback=function(e){e.callback=null};V.unstable_continueExecution=function(){Kt||Kr||(Kt=!0,Oi(Mi))};V.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"):xa=0<e?Math.floor(1e3/e):5};V.unstable_getCurrentPriorityLevel=function(){return pe};V.unstable_getFirstCallbackNode=function(){return Je(lt)};V.unstable_next=function(e){switch(pe){case 1:case 2:case 3:var t=3;break;default:t=pe}var n=pe;pe=t;try{return e()}finally{pe=n}};V.unstable_pauseExecution=function(){};V.unstable_requestPaint=function(){};V.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=pe;pe=e;try{return t()}finally{pe=n}};V.unstable_scheduleCallback=function(e,t,n){var r=V.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:Mf++,callback:t,priorityLevel:e,startTime:n,expirationTime:o,sortIndex:-1},n>r?(e.sortIndex=n,Li(Pt,e),Je(lt)===null&&e===Je(Pt)&&(Gn?(wa(Kn),Kn=-1):Gn=!0,Di(Ti,n-r))):(e.sortIndex=o,Li(lt,e),Kt||Kr||(Kt=!0,Oi(Mi))),e};V.unstable_shouldYield=ka;V.unstable_wrapCallback=function(e){var t=pe;return function(){var n=pe;pe=t;try{return e.apply(this,arguments)}finally{pe=n}}}});var _a=ht((hm,Ca)=>{"use strict";Ca.exports=Ea()});var Rd=ht(Fe=>{"use strict";var Of=Ze(),De=_a();function g(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 Ts=new Set,mr={};function un(e,t){On(e,t),On(e+"Capture",t)}function On(e,t){for(mr[e]=t,e=0;e<t.length;e++)Ts.add(t[e])}var xt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ol=Object.prototype.hasOwnProperty,Df=/^[: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]*$/,Pa={},Na={};function Hf(e){return ol.call(Na,e)?!0:ol.call(Pa,e)?!1:Df.test(e)?Na[e]=!0:(Pa[e]=!0,!1)}function Ff(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 $f(e,t,n,r){if(t===null||typeof t>"u"||Ff(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 Se(e,t,n,r,o,i,l){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=i,this.removeEmptyString=l}var fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new Se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fe[t]=new Se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[e]=new Se(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){fe[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new Se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new Se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new Se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Zl=/[\-:]([a-z])/g;function Jl(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(Zl,Jl);fe[t]=new Se(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(Zl,Jl);fe[t]=new Se(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(Zl,Jl);fe[t]=new Se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fe[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)});fe.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fe[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)});function ql(e,t,n,r){var o=fe.hasOwnProperty(t)?fe[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&($f(t,n,o,r)&&(n=null),r||o===null?Hf(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 Ct=Of.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Xr=Symbol.for("react.element"),vn=Symbol.for("react.portal"),gn=Symbol.for("react.fragment"),bl=Symbol.for("react.strict_mode"),il=Symbol.for("react.profiler"),Ms=Symbol.for("react.provider"),Os=Symbol.for("react.context"),eu=Symbol.for("react.forward_ref"),ll=Symbol.for("react.suspense"),ul=Symbol.for("react.suspense_list"),tu=Symbol.for("react.memo"),zt=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Ds=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var za=Symbol.iterator;function Yn(e){return e===null||typeof e!="object"?null:(e=za&&e[za]||e["@@iterator"],typeof e=="function"?e:null)}var ee=Object.assign,Hi;function nr(e){if(Hi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Hi=t&&t[1]||""}return`
|
|
2
|
-
`+
|
|
1
|
+
var g$=Object.create;var bf=Object.defineProperty;var $$=Object.getOwnPropertyDescriptor;var b$=Object.getOwnPropertyNames;var y$=Object.getPrototypeOf,v$=Object.prototype.hasOwnProperty;var Gt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var x$=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of b$(t))!v$.call(e,o)&&o!==n&&bf(e,o,{get:()=>t[o],enumerable:!(r=$$(t,o))||r.enumerable});return e};var S=(e,t,n)=>(n=e!=null?g$(y$(e)):{},x$(t||!e||!e.__esModule?bf(n,"default",{value:e,enumerable:!0}):n,e));var Lf=Gt(X=>{"use strict";var Go=Symbol.for("react.element"),w$=Symbol.for("react.portal"),S$=Symbol.for("react.fragment"),C$=Symbol.for("react.strict_mode"),k$=Symbol.for("react.profiler"),E$=Symbol.for("react.provider"),T$=Symbol.for("react.context"),_$=Symbol.for("react.forward_ref"),P$=Symbol.for("react.suspense"),L$=Symbol.for("react.memo"),N$=Symbol.for("react.lazy"),yf=Symbol.iterator;function R$(e){return e===null||typeof e!="object"?null:(e=yf&&e[yf]||e["@@iterator"],typeof e=="function"?e:null)}var wf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sf=Object.assign,Cf={};function Zr(e,t,n){this.props=e,this.context=t,this.refs=Cf,this.updater=n||wf}Zr.prototype.isReactComponent={};Zr.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")};Zr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function kf(){}kf.prototype=Zr.prototype;function Hs(e,t,n){this.props=e,this.context=t,this.refs=Cf,this.updater=n||wf}var Vs=Hs.prototype=new kf;Vs.constructor=Hs;Sf(Vs,Zr.prototype);Vs.isPureReactComponent=!0;var vf=Array.isArray,Ef=Object.prototype.hasOwnProperty,Ws={current:null},Tf={key:!0,ref:!0,__self:!0,__source:!0};function _f(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Ef.call(t,r)&&!Tf.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Go,type:e,key:i,ref:a,props:o,_owner:Ws.current}}function M$(e,t){return{$$typeof:Go,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Us(e){return typeof e=="object"&&e!==null&&e.$$typeof===Go}function I$(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var xf=/\/+/g;function zs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?I$(""+e.key):t.toString(36)}function Ea(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Go:case w$:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+zs(a,0):r,vf(o)?(n="",e!=null&&(n=e.replace(xf,"$&/")+"/"),Ea(o,t,n,"",function(u){return u})):o!=null&&(Us(o)&&(o=M$(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(xf,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",vf(e))for(var l=0;l<e.length;l++){i=e[l];var s=r+zs(i,l);a+=Ea(i,t,n,s,o)}else if(s=R$(e),typeof s=="function")for(e=s.call(e),l=0;!(i=e.next()).done;)i=i.value,s=r+zs(i,l++),a+=Ea(i,t,n,s,o);else if(i==="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 a}function ka(e,t,n){if(e==null)return e;var r=[],o=0;return Ea(e,r,"","",function(i){return t.call(n,i,o++)}),r}function D$(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 Je={current:null},Ta={transition:null},F$={ReactCurrentDispatcher:Je,ReactCurrentBatchConfig:Ta,ReactCurrentOwner:Ws};function Pf(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:ka,forEach:function(e,t,n){ka(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ka(e,function(){t++}),t},toArray:function(e){return ka(e,function(t){return t})||[]},only:function(e){if(!Us(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Zr;X.Fragment=S$;X.Profiler=k$;X.PureComponent=Hs;X.StrictMode=C$;X.Suspense=P$;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=F$;X.act=Pf;X.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=Sf({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Ws.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)Ef.call(t,s)&&!Tf.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Go,type:e.type,key:o,ref:i,props:r,_owner:a}};X.createContext=function(e){return e={$$typeof:T$,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:E$,_context:e},e.Consumer=e};X.createElement=_f;X.createFactory=function(e){var t=_f.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:_$,render:e}};X.isValidElement=Us;X.lazy=function(e){return{$$typeof:N$,_payload:{_status:-1,_result:e},_init:D$}};X.memo=function(e,t){return{$$typeof:L$,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Ta.transition;Ta.transition={};try{e()}finally{Ta.transition=t}};X.unstable_act=Pf;X.useCallback=function(e,t){return Je.current.useCallback(e,t)};X.useContext=function(e){return Je.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Je.current.useDeferredValue(e)};X.useEffect=function(e,t){return Je.current.useEffect(e,t)};X.useId=function(){return Je.current.useId()};X.useImperativeHandle=function(e,t,n){return Je.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Je.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Je.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Je.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Je.current.useReducer(e,t,n)};X.useRef=function(e){return Je.current.useRef(e)};X.useState=function(e){return Je.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Je.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Je.current.useTransition()};X.version="18.3.1"});var K=Gt((Cx,Nf)=>{"use strict";Nf.exports=Lf()});var zf=Gt(ce=>{"use strict";function Ys(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(0<_a(o,t))e[r]=t,e[n]=o,n=r;else break e}}function Qt(e){return e.length===0?null:e[0]}function La(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,i=o>>>1;r<i;){var a=2*(r+1)-1,l=e[a],s=a+1,u=e[s];if(0>_a(l,n))s<o&&0>_a(u,l)?(e[r]=u,e[s]=n,r=s):(e[r]=l,e[a]=n,r=a);else if(s<o&&0>_a(u,n))e[r]=u,e[s]=n,r=s;else break e}}return t}function _a(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(Rf=performance,ce.unstable_now=function(){return Rf.now()}):(js=Date,Mf=js.now(),ce.unstable_now=function(){return js.now()-Mf});var Rf,js,Mf,dn=[],Vn=[],K$=1,Kt=null,Ue=3,Na=!1,yr=!1,Yo=!1,Ff=typeof setTimeout=="function"?setTimeout:null,Kf=typeof clearTimeout=="function"?clearTimeout:null,If=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Xs(e){for(var t=Qt(Vn);t!==null;){if(t.callback===null)La(Vn);else if(t.startTime<=e)La(Vn),t.sortIndex=t.expirationTime,Ys(dn,t);else break;t=Qt(Vn)}}function qs(e){if(Yo=!1,Xs(e),!yr)if(Qt(dn)!==null)yr=!0,Js(Zs);else{var t=Qt(Vn);t!==null&&eu(qs,t.startTime-e)}}function Zs(e,t){yr=!1,Yo&&(Yo=!1,Kf(Xo),Xo=-1),Na=!0;var n=Ue;try{for(Xs(t),Kt=Qt(dn);Kt!==null&&(!(Kt.expirationTime>t)||e&&!Bf());){var r=Kt.callback;if(typeof r=="function"){Kt.callback=null,Ue=Kt.priorityLevel;var o=r(Kt.expirationTime<=t);t=ce.unstable_now(),typeof o=="function"?Kt.callback=o:Kt===Qt(dn)&&La(dn),Xs(t)}else La(dn);Kt=Qt(dn)}if(Kt!==null)var i=!0;else{var a=Qt(Vn);a!==null&&eu(qs,a.startTime-t),i=!1}return i}finally{Kt=null,Ue=n,Na=!1}}var Ra=!1,Pa=null,Xo=-1,Of=5,Af=-1;function Bf(){return!(ce.unstable_now()-Af<Of)}function Gs(){if(Pa!==null){var e=ce.unstable_now();Af=e;var t=!0;try{t=Pa(!0,e)}finally{t?Qo():(Ra=!1,Pa=null)}}else Ra=!1}var Qo;typeof If=="function"?Qo=function(){If(Gs)}:typeof MessageChannel<"u"?(Qs=new MessageChannel,Df=Qs.port2,Qs.port1.onmessage=Gs,Qo=function(){Df.postMessage(null)}):Qo=function(){Ff(Gs,0)};var Qs,Df;function Js(e){Pa=e,Ra||(Ra=!0,Qo())}function eu(e,t){Xo=Ff(function(){e(ce.unstable_now())},t)}ce.unstable_IdlePriority=5;ce.unstable_ImmediatePriority=1;ce.unstable_LowPriority=4;ce.unstable_NormalPriority=3;ce.unstable_Profiling=null;ce.unstable_UserBlockingPriority=2;ce.unstable_cancelCallback=function(e){e.callback=null};ce.unstable_continueExecution=function(){yr||Na||(yr=!0,Js(Zs))};ce.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"):Of=0<e?Math.floor(1e3/e):5};ce.unstable_getCurrentPriorityLevel=function(){return Ue};ce.unstable_getFirstCallbackNode=function(){return Qt(dn)};ce.unstable_next=function(e){switch(Ue){case 1:case 2:case 3:var t=3;break;default:t=Ue}var n=Ue;Ue=t;try{return e()}finally{Ue=n}};ce.unstable_pauseExecution=function(){};ce.unstable_requestPaint=function(){};ce.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=Ue;Ue=e;try{return t()}finally{Ue=n}};ce.unstable_scheduleCallback=function(e,t,n){var r=ce.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:K$++,callback:t,priorityLevel:e,startTime:n,expirationTime:o,sortIndex:-1},n>r?(e.sortIndex=n,Ys(Vn,e),Qt(dn)===null&&e===Qt(Vn)&&(Yo?(Kf(Xo),Xo=-1):Yo=!0,eu(qs,n-r))):(e.sortIndex=o,Ys(dn,e),yr||Na||(yr=!0,Js(Zs))),e};ce.unstable_shouldYield=Bf;ce.unstable_wrapCallback=function(e){var t=Ue;return function(){var n=Ue;Ue=t;try{return e.apply(this,arguments)}finally{Ue=n}}}});var Vf=Gt((Ex,Hf)=>{"use strict";Hf.exports=zf()});var G0=Gt(Tt=>{"use strict";var O$=K(),kt=Vf();function x(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 Xp=new Set,bi={};function Rr(e,t){vo(e,t),vo(e+"Capture",t)}function vo(e,t){for(bi[e]=t,e=0;e<t.length;e++)Xp.add(t[e])}var Ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Su=Object.prototype.hasOwnProperty,A$=/^[: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]*$/,Wf={},Uf={};function B$(e){return Su.call(Uf,e)?!0:Su.call(Wf,e)?!1:A$.test(e)?Uf[e]=!0:(Wf[e]=!0,!1)}function z$(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 H$(e,t,n,r){if(t===null||typeof t>"u"||z$(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 nt(e,t,n,r,o,i,a){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=i,this.removeEmptyString=a}var Ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ve[e]=new nt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ve[t]=new nt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ve[e]=new nt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ve[e]=new nt(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){Ve[e]=new nt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ve[e]=new nt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ve[e]=new nt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ve[e]=new nt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ve[e]=new nt(e,5,!1,e.toLowerCase(),null,!1,!1)});var hc=/[\-:]([a-z])/g;function gc(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(hc,gc);Ve[t]=new nt(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(hc,gc);Ve[t]=new nt(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(hc,gc);Ve[t]=new nt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ve[e]=new nt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ve.xlinkHref=new nt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ve[e]=new nt(e,1,!1,e.toLowerCase(),null,!0,!0)});function $c(e,t,n,r){var o=Ve.hasOwnProperty(t)?Ve[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(H$(t,n,o,r)&&(n=null),r||o===null?B$(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 In=O$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ma=Symbol.for("react.element"),to=Symbol.for("react.portal"),no=Symbol.for("react.fragment"),bc=Symbol.for("react.strict_mode"),Cu=Symbol.for("react.profiler"),qp=Symbol.for("react.provider"),Zp=Symbol.for("react.context"),yc=Symbol.for("react.forward_ref"),ku=Symbol.for("react.suspense"),Eu=Symbol.for("react.suspense_list"),vc=Symbol.for("react.memo"),Un=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Jp=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var jf=Symbol.iterator;function qo(e){return e===null||typeof e!="object"?null:(e=jf&&e[jf]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Object.assign,tu;function ii(e){if(tu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);tu=t&&t[1]||""}return`
|
|
2
|
+
`+tu+e}var nu=!1;function ru(e,t){if(!e||nu)return"";nu=!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(`
|
|
3
3
|
`),i=r.stack.split(`
|
|
4
|
-
`),
|
|
5
|
-
`+o[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=u);break}}}finally{Fi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?nr(e):""}function Af(e){switch(e.tag){case 5:return nr(e.type);case 16:return nr("Lazy");case 13:return nr("Suspense");case 19:return nr("SuspenseList");case 0:case 2:case 15:return e=$i(e.type,!1),e;case 11:return e=$i(e.type.render,!1),e;case 1:return e=$i(e.type,!0),e;default:return""}}function al(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 gn:return"Fragment";case vn:return"Portal";case il:return"Profiler";case bl:return"StrictMode";case ll:return"Suspense";case ul:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Os:return(e.displayName||"Context")+".Consumer";case Ms:return(e._context.displayName||"Context")+".Provider";case eu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case tu:return t=e.displayName||null,t!==null?t:al(e.type)||"Memo";case zt:t=e._payload,e=e._init;try{return al(e(t))}catch{}}return null}function Bf(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 al(t);case 8:return t===bl?"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 Ut(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jf(e){var t=Hs(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Zr(e){e._valueTracker||(e._valueTracker=jf(e))}function Fs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Hs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _o(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 sl(e,t){var n=t.checked;return ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ra(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ut(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 $s(e,t){t=t.checked,t!=null&&ql(e,"checked",t,!1)}function cl(e,t){$s(e,t);var n=Ut(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")?dl(e,t.type,n):t.hasOwnProperty("defaultValue")&&dl(e,t.type,Ut(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function La(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 dl(e,t,n){(t!=="number"||_o(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var rr=Array.isArray;function zn(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=""+Ut(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 fl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(g(91));return ee({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ia(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(g(92));if(rr(n)){if(1<n.length)throw Error(g(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ut(n)}}function As(e,t){var n=Ut(t.value),r=Ut(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 Ta(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Bs(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 pl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Bs(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Jr,js=(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(Jr=Jr||document.createElement("div"),Jr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Jr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var lr={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},Uf=["Webkit","ms","Moz","O"];Object.keys(lr).forEach(function(e){Uf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lr[t]=lr[e]})});function Us(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||lr.hasOwnProperty(e)&&lr[e]?(""+t).trim():t+"px"}function Ws(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Us(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Wf=ee({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 hl(e,t){if(t){if(Wf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(g(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(g(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(g(61))}if(t.style!=null&&typeof t.style!="object")throw Error(g(62))}}function ml(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 vl=null;function nu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gl=null,Rn=null,Ln=null;function Ma(e){if(e=Or(e)){if(typeof gl!="function")throw Error(g(280));var t=e.stateNode;t&&(t=bo(t),gl(e.stateNode,e.type,t))}}function Vs(e){Rn?Ln?Ln.push(e):Ln=[e]:Rn=e}function Qs(){if(Rn){var e=Rn,t=Ln;if(Ln=Rn=null,Ma(e),t)for(e=0;e<t.length;e++)Ma(t[e])}}function Gs(e,t){return e(t)}function Ks(){}var Ai=!1;function Ys(e,t,n){if(Ai)return e(t,n);Ai=!0;try{return Gs(e,t,n)}finally{Ai=!1,(Rn!==null||Ln!==null)&&(Ks(),Qs())}}function gr(e,t){var n=e.stateNode;if(n===null)return null;var r=bo(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(g(231,t,typeof n));return n}var yl=!1;if(xt)try{hn={},Object.defineProperty(hn,"passive",{get:function(){yl=!0}}),window.addEventListener("test",hn,hn),window.removeEventListener("test",hn,hn)}catch{yl=!1}var hn;function Vf(e,t,n,r,o,i,l,u,a){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(p){this.onError(p)}}var ur=!1,Po=null,No=!1,wl=null,Qf={onError:function(e){ur=!0,Po=e}};function Gf(e,t,n,r,o,i,l,u,a){ur=!1,Po=null,Vf.apply(Qf,arguments)}function Kf(e,t,n,r,o,i,l,u,a){if(Gf.apply(this,arguments),ur){if(ur){var c=Po;ur=!1,Po=null}else throw Error(g(198));No||(No=!0,wl=c)}}function an(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Xs(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 Oa(e){if(an(e)!==e)throw Error(g(188))}function Yf(e){var t=e.alternate;if(!t){if(t=an(e),t===null)throw Error(g(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Oa(o),e;if(i===r)return Oa(o),t;i=i.sibling}throw Error(g(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(g(189))}}if(n.alternate!==r)throw Error(g(190))}if(n.tag!==3)throw Error(g(188));return n.stateNode.current===n?e:t}function Zs(e){return e=Yf(e),e!==null?Js(e):null}function Js(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Js(e);if(t!==null)return t;e=e.sibling}return null}var qs=De.unstable_scheduleCallback,Da=De.unstable_cancelCallback,Xf=De.unstable_shouldYield,Zf=De.unstable_requestPaint,re=De.unstable_now,Jf=De.unstable_getCurrentPriorityLevel,ru=De.unstable_ImmediatePriority,bs=De.unstable_UserBlockingPriority,zo=De.unstable_NormalPriority,qf=De.unstable_LowPriority,ec=De.unstable_IdlePriority,Xo=null,ct=null;function bf(e){if(ct&&typeof ct.onCommitFiberRoot=="function")try{ct.onCommitFiberRoot(Xo,e,void 0,(e.current.flags&128)===128)}catch{}}var nt=Math.clz32?Math.clz32:np,ep=Math.log,tp=Math.LN2;function np(e){return e>>>=0,e===0?32:31-(ep(e)/tp|0)|0}var qr=64,br=4194304;function or(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 Ro(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=or(u):(i&=l,i!==0&&(r=or(i)))}else l=n&~o,l!==0?r=or(l):i!==0&&(r=or(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-nt(t),o=1<<n,r|=e[n],t&=~o;return r}function rp(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 op(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-nt(i),u=1<<l,a=o[l];a===-1?((u&n)===0||(u&r)!==0)&&(o[l]=rp(u,t)):a<=t&&(e.expiredLanes|=u),i&=~u}}function xl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function tc(){var e=qr;return qr<<=1,(qr&4194240)===0&&(qr=64),e}function Bi(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Tr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-nt(t),e[t]=n}function ip(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-nt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function ou(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-nt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var B=0;function nc(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var rc,iu,oc,ic,lc,Sl=!1,eo=[],Ot=null,Dt=null,Ht=null,yr=new Map,wr=new Map,Lt=[],lp="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 Ha(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":Dt=null;break;case"mouseover":case"mouseout":Ht=null;break;case"pointerover":case"pointerout":yr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":wr.delete(t.pointerId)}}function Xn(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Or(t),t!==null&&iu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function up(e,t,n,r,o){switch(t){case"focusin":return Ot=Xn(Ot,e,t,n,r,o),!0;case"dragenter":return Dt=Xn(Dt,e,t,n,r,o),!0;case"mouseover":return Ht=Xn(Ht,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return yr.set(i,Xn(yr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,wr.set(i,Xn(wr.get(i)||null,e,t,n,r,o)),!0}return!1}function uc(e){var t=Zt(e.target);if(t!==null){var n=an(t);if(n!==null){if(t=n.tag,t===13){if(t=Xs(n),t!==null){e.blockedOn=t,lc(e.priority,function(){oc(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 mo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=kl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);vl=r,n.target.dispatchEvent(r),vl=null}else return t=Or(n),t!==null&&iu(t),e.blockedOn=n,!1;t.shift()}return!0}function Fa(e,t,n){mo(e)&&n.delete(t)}function ap(){Sl=!1,Ot!==null&&mo(Ot)&&(Ot=null),Dt!==null&&mo(Dt)&&(Dt=null),Ht!==null&&mo(Ht)&&(Ht=null),yr.forEach(Fa),wr.forEach(Fa)}function Zn(e,t){e.blockedOn===t&&(e.blockedOn=null,Sl||(Sl=!0,De.unstable_scheduleCallback(De.unstable_NormalPriority,ap)))}function xr(e){function t(o){return Zn(o,e)}if(0<eo.length){Zn(eo[0],e);for(var n=1;n<eo.length;n++){var r=eo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ot!==null&&Zn(Ot,e),Dt!==null&&Zn(Dt,e),Ht!==null&&Zn(Ht,e),yr.forEach(t),wr.forEach(t),n=0;n<Lt.length;n++)r=Lt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&(n=Lt[0],n.blockedOn===null);)uc(n),n.blockedOn===null&&Lt.shift()}var In=Ct.ReactCurrentBatchConfig,Lo=!0;function sp(e,t,n,r){var o=B,i=In.transition;In.transition=null;try{B=1,lu(e,t,n,r)}finally{B=o,In.transition=i}}function cp(e,t,n,r){var o=B,i=In.transition;In.transition=null;try{B=4,lu(e,t,n,r)}finally{B=o,In.transition=i}}function lu(e,t,n,r){if(Lo){var o=kl(e,t,n,r);if(o===null)Ki(e,t,r,Io,n),Ha(e,r);else if(up(o,e,t,n,r))r.stopPropagation();else if(Ha(e,r),t&4&&-1<lp.indexOf(e)){for(;o!==null;){var i=Or(o);if(i!==null&&rc(i),i=kl(e,t,n,r),i===null&&Ki(e,t,r,Io,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Ki(e,t,r,null,n)}}var Io=null;function kl(e,t,n,r){if(Io=null,e=nu(r),e=Zt(e),e!==null)if(t=an(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Xs(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 Io=e,null}function ac(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(Jf()){case ru:return 1;case bs:return 4;case zo:case qf:return 16;case ec:return 536870912;default:return 16}default:return 16}}var Tt=null,uu=null,vo=null;function sc(){if(vo)return vo;var e,t=uu,n=t.length,r,o="value"in Tt?Tt.value:Tt.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===o[i-r];r++);return vo=o.slice(e,1<r?1-r:void 0)}function go(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 to(){return!0}function $a(){return!1}function He(e){function t(n,r,o,i,l){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?to:$a,this.isPropagationStopped=$a,this}return ee(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=to)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=to)},persist:function(){},isPersistent:to}),t}var jn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},au=He(jn),Mr=ee({},jn,{view:0,detail:0}),dp=He(Mr),ji,Ui,Jn,Zo=ee({},Mr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:su,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!==Jn&&(Jn&&e.type==="mousemove"?(ji=e.screenX-Jn.screenX,Ui=e.screenY-Jn.screenY):Ui=ji=0,Jn=e),ji)},movementY:function(e){return"movementY"in e?e.movementY:Ui}}),Aa=He(Zo),fp=ee({},Zo,{dataTransfer:0}),pp=He(fp),hp=ee({},Mr,{relatedTarget:0}),Wi=He(hp),mp=ee({},jn,{animationName:0,elapsedTime:0,pseudoElement:0}),vp=He(mp),gp=ee({},jn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yp=He(gp),wp=ee({},jn,{data:0}),Ba=He(wp),xp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sp={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"},kp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ep(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=kp[e])?!!t[e]:!1}function su(){return Ep}var Cp=ee({},Mr,{key:function(e){if(e.key){var t=xp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=go(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Sp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:su,charCode:function(e){return e.type==="keypress"?go(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?go(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_p=He(Cp),Pp=ee({},Zo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ja=He(Pp),Np=ee({},Mr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:su}),zp=He(Np),Rp=ee({},jn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Lp=He(Rp),Ip=ee({},Zo,{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}),Tp=He(Ip),Mp=[9,13,27,32],cu=xt&&"CompositionEvent"in window,ar=null;xt&&"documentMode"in document&&(ar=document.documentMode);var Op=xt&&"TextEvent"in window&&!ar,cc=xt&&(!cu||ar&&8<ar&&11>=ar),Ua=" ",Wa=!1;function dc(e,t){switch(e){case"keyup":return Mp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var yn=!1;function Dp(e,t){switch(e){case"compositionend":return fc(t);case"keypress":return t.which!==32?null:(Wa=!0,Ua);case"textInput":return e=t.data,e===Ua&&Wa?null:e;default:return null}}function Hp(e,t){if(yn)return e==="compositionend"||!cu&&dc(e,t)?(e=sc(),vo=uu=Tt=null,yn=!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 cc&&t.locale!=="ko"?null:t.data;default:return null}}var Fp={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 Va(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Fp[e.type]:t==="textarea"}function pc(e,t,n,r){Vs(r),t=To(t,"onChange"),0<t.length&&(n=new au("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var sr=null,Sr=null;function $p(e){Cc(e,0)}function Jo(e){var t=Sn(e);if(Fs(t))return e}function Ap(e,t){if(e==="change")return t}var hc=!1;xt&&(xt?(ro="oninput"in document,ro||(Vi=document.createElement("div"),Vi.setAttribute("oninput","return;"),ro=typeof Vi.oninput=="function"),no=ro):no=!1,hc=no&&(!document.documentMode||9<document.documentMode));var no,ro,Vi;function Qa(){sr&&(sr.detachEvent("onpropertychange",mc),Sr=sr=null)}function mc(e){if(e.propertyName==="value"&&Jo(Sr)){var t=[];pc(t,Sr,e,nu(e)),Ys($p,t)}}function Bp(e,t,n){e==="focusin"?(Qa(),sr=t,Sr=n,sr.attachEvent("onpropertychange",mc)):e==="focusout"&&Qa()}function jp(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Jo(Sr)}function Up(e,t){if(e==="click")return Jo(t)}function Wp(e,t){if(e==="input"||e==="change")return Jo(t)}function Vp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ot=typeof Object.is=="function"?Object.is:Vp;function kr(e,t){if(ot(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(!ol.call(t,o)||!ot(e[o],t[o]))return!1}return!0}function Ga(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ka(e,t){var n=Ga(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=Ga(n)}}function vc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gc(){for(var e=window,t=_o();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=_o(e.document)}return t}function du(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 Qp(e){var t=gc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&vc(n.ownerDocument.documentElement,n)){if(r!==null&&du(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,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ka(n,i);var l=Ka(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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 Gp=xt&&"documentMode"in document&&11>=document.documentMode,wn=null,El=null,cr=null,Cl=!1;function Ya(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Cl||wn==null||wn!==_o(r)||(r=wn,"selectionStart"in r&&du(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}),cr&&kr(cr,r)||(cr=r,r=To(El,"onSelect"),0<r.length&&(t=new au("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=wn)))}function oo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xn={animationend:oo("Animation","AnimationEnd"),animationiteration:oo("Animation","AnimationIteration"),animationstart:oo("Animation","AnimationStart"),transitionend:oo("Transition","TransitionEnd")},Qi={},yc={};xt&&(yc=document.createElement("div").style,"AnimationEvent"in window||(delete xn.animationend.animation,delete xn.animationiteration.animation,delete xn.animationstart.animation),"TransitionEvent"in window||delete xn.transitionend.transition);function qo(e){if(Qi[e])return Qi[e];if(!xn[e])return e;var t=xn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in yc)return Qi[e]=t[n];return e}var wc=qo("animationend"),xc=qo("animationiteration"),Sc=qo("animationstart"),kc=qo("transitionend"),Ec=new Map,Xa="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 Vt(e,t){Ec.set(e,t),un(t,[e])}for(io=0;io<Xa.length;io++)lo=Xa[io],Za=lo.toLowerCase(),Ja=lo[0].toUpperCase()+lo.slice(1),Vt(Za,"on"+Ja);var lo,Za,Ja,io;Vt(wc,"onAnimationEnd");Vt(xc,"onAnimationIteration");Vt(Sc,"onAnimationStart");Vt("dblclick","onDoubleClick");Vt("focusin","onFocus");Vt("focusout","onBlur");Vt(kc,"onTransitionEnd");On("onMouseEnter",["mouseout","mouseover"]);On("onMouseLeave",["mouseout","mouseover"]);On("onPointerEnter",["pointerout","pointerover"]);On("onPointerLeave",["pointerout","pointerover"]);un("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));un("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));un("onBeforeInput",["compositionend","keypress","textInput","paste"]);un("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));un("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));un("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ir="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(" "),Kp=new Set("cancel close invalid load scroll toggle".split(" ").concat(ir));function qa(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Kf(r,t,void 0,e),e.currentTarget=null}function Cc(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 i=void 0;if(t)for(var l=r.length-1;0<=l;l--){var u=r[l],a=u.instance,c=u.currentTarget;if(u=u.listener,a!==i&&o.isPropagationStopped())break e;qa(o,u,c),i=a}else for(l=0;l<r.length;l++){if(u=r[l],a=u.instance,c=u.currentTarget,u=u.listener,a!==i&&o.isPropagationStopped())break e;qa(o,u,c),i=a}}}if(No)throw e=wl,No=!1,wl=null,e}function G(e,t){var n=t[Rl];n===void 0&&(n=t[Rl]=new Set);var r=e+"__bubble";n.has(r)||(_c(t,e,2,!1),n.add(r))}function Gi(e,t,n){var r=0;t&&(r|=4),_c(n,e,r,t)}var uo="_reactListening"+Math.random().toString(36).slice(2);function Er(e){if(!e[uo]){e[uo]=!0,Ts.forEach(function(n){n!=="selectionchange"&&(Kp.has(n)||Gi(n,!1,e),Gi(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[uo]||(t[uo]=!0,Gi("selectionchange",!1,t))}}function _c(e,t,n,r){switch(ac(t)){case 1:var o=sp;break;case 4:o=cp;break;default:o=lu}n=o.bind(null,t,n,e),o=void 0,!yl||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 Ki(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var u=r.stateNode.containerInfo;if(u===o||u.nodeType===8&&u.parentNode===o)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;l=l.return}for(;u!==null;){if(l=Zt(u),l===null)return;if(a=l.tag,a===5||a===6){r=i=l;continue e}u=u.parentNode}}r=r.return}Ys(function(){var c=i,p=nu(n),m=[];e:{var h=Ec.get(e);if(h!==void 0){var S=au,w=e;switch(e){case"keypress":if(go(n)===0)break e;case"keydown":case"keyup":S=_p;break;case"focusin":w="focus",S=Wi;break;case"focusout":w="blur",S=Wi;break;case"beforeblur":case"afterblur":S=Wi;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":S=Aa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=pp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=zp;break;case wc:case xc:case Sc:S=vp;break;case kc:S=Lp;break;case"scroll":S=dp;break;case"wheel":S=Tp;break;case"copy":case"cut":case"paste":S=yp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=ja}var x=(t&4)!==0,T=!x&&e==="scroll",d=x?h!==null?h+"Capture":null:h;x=[];for(var s=c,f;s!==null;){f=s;var v=f.stateNode;if(f.tag===5&&v!==null&&(f=v,d!==null&&(v=gr(s,d),v!=null&&x.push(Cr(s,v,f)))),T)break;s=s.return}0<x.length&&(h=new S(h,w,null,n,p),m.push({event:h,listeners:x}))}}if((t&7)===0){e:{if(h=e==="mouseover"||e==="pointerover",S=e==="mouseout"||e==="pointerout",h&&n!==vl&&(w=n.relatedTarget||n.fromElement)&&(Zt(w)||w[St]))break e;if((S||h)&&(h=p.window===p?p:(h=p.ownerDocument)?h.defaultView||h.parentWindow:window,S?(w=n.relatedTarget||n.toElement,S=c,w=w?Zt(w):null,w!==null&&(T=an(w),w!==T||w.tag!==5&&w.tag!==6)&&(w=null)):(S=null,w=c),S!==w)){if(x=Aa,v="onMouseLeave",d="onMouseEnter",s="mouse",(e==="pointerout"||e==="pointerover")&&(x=ja,v="onPointerLeave",d="onPointerEnter",s="pointer"),T=S==null?h:Sn(S),f=w==null?h:Sn(w),h=new x(v,s+"leave",S,n,p),h.target=T,h.relatedTarget=f,v=null,Zt(p)===c&&(x=new x(d,s+"enter",w,n,p),x.target=f,x.relatedTarget=T,v=x),T=v,S&&w)t:{for(x=S,d=w,s=0,f=x;f;f=mn(f))s++;for(f=0,v=d;v;v=mn(v))f++;for(;0<s-f;)x=mn(x),s--;for(;0<f-s;)d=mn(d),f--;for(;s--;){if(x===d||d!==null&&x===d.alternate)break t;x=mn(x),d=mn(d)}x=null}else x=null;S!==null&&ba(m,h,S,x,!1),w!==null&&T!==null&&ba(m,T,w,x,!0)}}e:{if(h=c?Sn(c):window,S=h.nodeName&&h.nodeName.toLowerCase(),S==="select"||S==="input"&&h.type==="file")var k=Ap;else if(Va(h))if(hc)k=Wp;else{k=jp;var C=Bp}else(S=h.nodeName)&&S.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(k=Up);if(k&&(k=k(e,c))){pc(m,k,n,p);break e}C&&C(e,h,c),e==="focusout"&&(C=h._wrapperState)&&C.controlled&&h.type==="number"&&dl(h,"number",h.value)}switch(C=c?Sn(c):window,e){case"focusin":(Va(C)||C.contentEditable==="true")&&(wn=C,El=c,cr=null);break;case"focusout":cr=El=wn=null;break;case"mousedown":Cl=!0;break;case"contextmenu":case"mouseup":case"dragend":Cl=!1,Ya(m,n,p);break;case"selectionchange":if(Gp)break;case"keydown":case"keyup":Ya(m,n,p)}var P;if(cu)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else yn?dc(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(cc&&n.locale!=="ko"&&(yn||N!=="onCompositionStart"?N==="onCompositionEnd"&&yn&&(P=sc()):(Tt=p,uu="value"in Tt?Tt.value:Tt.textContent,yn=!0)),C=To(c,N),0<C.length&&(N=new Ba(N,e,null,n,p),m.push({event:N,listeners:C}),P?N.data=P:(P=fc(n),P!==null&&(N.data=P)))),(P=Op?Dp(e,n):Hp(e,n))&&(c=To(c,"onBeforeInput"),0<c.length&&(p=new Ba("onBeforeInput","beforeinput",null,n,p),m.push({event:p,listeners:c}),p.data=P))}Cc(m,t)})}function Cr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function To(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=gr(e,n),i!=null&&r.unshift(Cr(e,i,o)),i=gr(e,t),i!=null&&r.push(Cr(e,i,o))),e=e.return}return r}function mn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ba(e,t,n,r,o){for(var i=t._reactName,l=[];n!==null&&n!==r;){var u=n,a=u.alternate,c=u.stateNode;if(a!==null&&a===r)break;u.tag===5&&c!==null&&(u=c,o?(a=gr(n,i),a!=null&&l.unshift(Cr(n,a,u))):o||(a=gr(n,i),a!=null&&l.push(Cr(n,a,u)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var Yp=/\r\n?/g,Xp=/\u0000|\uFFFD/g;function es(e){return(typeof e=="string"?e:""+e).replace(Yp,`
|
|
6
|
-
`).replace(Xp,"")}function ao(e,t,n){if(t=es(t),es(e)!==t&&n)throw Error(g(425))}function Mo(){}var _l=null,Pl=null;function Nl(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 zl=typeof setTimeout=="function"?setTimeout:void 0,Zp=typeof clearTimeout=="function"?clearTimeout:void 0,ts=typeof Promise=="function"?Promise:void 0,Jp=typeof queueMicrotask=="function"?queueMicrotask:typeof ts<"u"?function(e){return ts.resolve(null).then(e).catch(qp)}:zl;function qp(e){setTimeout(function(){throw e})}function Yi(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),xr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);xr(t)}function Ft(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 ns(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 Un=Math.random().toString(36).slice(2),st="__reactFiber$"+Un,_r="__reactProps$"+Un,St="__reactContainer$"+Un,Rl="__reactEvents$"+Un,bp="__reactListeners$"+Un,eh="__reactHandles$"+Un;function Zt(e){var t=e[st];if(t)return t;for(var n=e.parentNode;n;){if(t=n[St]||n[st]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ns(e);e!==null;){if(n=e[st])return n;e=ns(e)}return t}e=n,n=e.parentNode}return null}function Or(e){return e=e[st]||e[St],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Sn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(g(33))}function bo(e){return e[_r]||null}var Ll=[],kn=-1;function Qt(e){return{current:e}}function K(e){0>kn||(e.current=Ll[kn],Ll[kn]=null,kn--)}function Q(e,t){kn++,Ll[kn]=e.current,e.current=t}var Wt={},ge=Qt(Wt),Ne=Qt(!1),tn=Wt;function Dn(e,t){var n=e.type.contextTypes;if(!n)return Wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ze(e){return e=e.childContextTypes,e!=null}function Oo(){K(Ne),K(ge)}function rs(e,t,n){if(ge.current!==Wt)throw Error(g(168));Q(ge,t),Q(Ne,n)}function Pc(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(g(108,Bf(e)||"Unknown",o));return ee({},n,r)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wt,tn=ge.current,Q(ge,e),Q(Ne,Ne.current),!0}function os(e,t,n){var r=e.stateNode;if(!r)throw Error(g(169));n?(e=Pc(e,t,tn),r.__reactInternalMemoizedMergedChildContext=e,K(Ne),K(ge),Q(ge,e)):K(Ne),Q(Ne,n)}var vt=null,ei=!1,Xi=!1;function Nc(e){vt===null?vt=[e]:vt.push(e)}function th(e){ei=!0,Nc(e)}function Gt(){if(!Xi&&vt!==null){Xi=!0;var e=0,t=B;try{var n=vt;for(B=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}vt=null,ei=!1}catch(o){throw vt!==null&&(vt=vt.slice(e+1)),qs(ru,Gt),o}finally{B=t,Xi=!1}}return null}var En=[],Cn=0,Ho=null,Fo=0,Ue=[],We=0,nn=null,gt=1,yt="";function Yt(e,t){En[Cn++]=Fo,En[Cn++]=Ho,Ho=e,Fo=t}function zc(e,t,n){Ue[We++]=gt,Ue[We++]=yt,Ue[We++]=nn,nn=e;var r=gt;e=yt;var o=32-nt(r)-1;r&=~(1<<o),n+=1;var i=32-nt(t)+o;if(30<i){var l=o-o%5;i=(r&(1<<l)-1).toString(32),r>>=l,o-=l,gt=1<<32-nt(t)+o|n<<o|r,yt=i+e}else gt=1<<i|n<<o|r,yt=e}function fu(e){e.return!==null&&(Yt(e,1),zc(e,1,0))}function pu(e){for(;e===Ho;)Ho=En[--Cn],En[Cn]=null,Fo=En[--Cn],En[Cn]=null;for(;e===nn;)nn=Ue[--We],Ue[We]=null,yt=Ue[--We],Ue[We]=null,gt=Ue[--We],Ue[We]=null}var Oe=null,Me=null,Y=!1,tt=null;function Rc(e,t){var n=Ve(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 is(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,Oe=e,Me=Ft(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Oe=e,Me=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=nn!==null?{id:gt,overflow:yt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ve(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Oe=e,Me=null,!0):!1;default:return!1}}function Il(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Tl(e){if(Y){var t=Me;if(t){var n=t;if(!is(e,t)){if(Il(e))throw Error(g(418));t=Ft(n.nextSibling);var r=Oe;t&&is(e,t)?Rc(r,n):(e.flags=e.flags&-4097|2,Y=!1,Oe=e)}}else{if(Il(e))throw Error(g(418));e.flags=e.flags&-4097|2,Y=!1,Oe=e}}}function ls(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Oe=e}function so(e){if(e!==Oe)return!1;if(!Y)return ls(e),Y=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Nl(e.type,e.memoizedProps)),t&&(t=Me)){if(Il(e))throw Lc(),Error(g(418));for(;t;)Rc(e,t),t=Ft(t.nextSibling)}if(ls(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(g(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Me=Ft(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Me=null}}else Me=Oe?Ft(e.stateNode.nextSibling):null;return!0}function Lc(){for(var e=Me;e;)e=Ft(e.nextSibling)}function Hn(){Me=Oe=null,Y=!1}function hu(e){tt===null?tt=[e]:tt.push(e)}var nh=Ct.ReactCurrentBatchConfig;function qn(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(g(309));var r=n.stateNode}if(!r)throw Error(g(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(l){var u=o.refs;l===null?delete u[i]:u[i]=l},t._stringRef=i,t)}if(typeof e!="string")throw Error(g(284));if(!n._owner)throw Error(g(290,e))}return e}function co(e,t){throw e=Object.prototype.toString.call(t),Error(g(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function us(e){var t=e._init;return t(e._payload)}function Ic(e){function t(d,s){if(e){var f=d.deletions;f===null?(d.deletions=[s],d.flags|=16):f.push(s)}}function n(d,s){if(!e)return null;for(;s!==null;)t(d,s),s=s.sibling;return null}function r(d,s){for(d=new Map;s!==null;)s.key!==null?d.set(s.key,s):d.set(s.index,s),s=s.sibling;return d}function o(d,s){return d=jt(d,s),d.index=0,d.sibling=null,d}function i(d,s,f){return d.index=f,e?(f=d.alternate,f!==null?(f=f.index,f<s?(d.flags|=2,s):f):(d.flags|=2,s)):(d.flags|=1048576,s)}function l(d){return e&&d.alternate===null&&(d.flags|=2),d}function u(d,s,f,v){return s===null||s.tag!==6?(s=nl(f,d.mode,v),s.return=d,s):(s=o(s,f),s.return=d,s)}function a(d,s,f,v){var k=f.type;return k===gn?p(d,s,f.props.children,v,f.key):s!==null&&(s.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===zt&&us(k)===s.type)?(v=o(s,f.props),v.ref=qn(d,s,f),v.return=d,v):(v=Co(f.type,f.key,f.props,null,d.mode,v),v.ref=qn(d,s,f),v.return=d,v)}function c(d,s,f,v){return s===null||s.tag!==4||s.stateNode.containerInfo!==f.containerInfo||s.stateNode.implementation!==f.implementation?(s=rl(f,d.mode,v),s.return=d,s):(s=o(s,f.children||[]),s.return=d,s)}function p(d,s,f,v,k){return s===null||s.tag!==7?(s=en(f,d.mode,v,k),s.return=d,s):(s=o(s,f),s.return=d,s)}function m(d,s,f){if(typeof s=="string"&&s!==""||typeof s=="number")return s=nl(""+s,d.mode,f),s.return=d,s;if(typeof s=="object"&&s!==null){switch(s.$$typeof){case Xr:return f=Co(s.type,s.key,s.props,null,d.mode,f),f.ref=qn(d,null,s),f.return=d,f;case vn:return s=rl(s,d.mode,f),s.return=d,s;case zt:var v=s._init;return m(d,v(s._payload),f)}if(rr(s)||Yn(s))return s=en(s,d.mode,f,null),s.return=d,s;co(d,s)}return null}function h(d,s,f,v){var k=s!==null?s.key:null;if(typeof f=="string"&&f!==""||typeof f=="number")return k!==null?null:u(d,s,""+f,v);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Xr:return f.key===k?a(d,s,f,v):null;case vn:return f.key===k?c(d,s,f,v):null;case zt:return k=f._init,h(d,s,k(f._payload),v)}if(rr(f)||Yn(f))return k!==null?null:p(d,s,f,v,null);co(d,f)}return null}function S(d,s,f,v,k){if(typeof v=="string"&&v!==""||typeof v=="number")return d=d.get(f)||null,u(s,d,""+v,k);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Xr:return d=d.get(v.key===null?f:v.key)||null,a(s,d,v,k);case vn:return d=d.get(v.key===null?f:v.key)||null,c(s,d,v,k);case zt:var C=v._init;return S(d,s,f,C(v._payload),k)}if(rr(v)||Yn(v))return d=d.get(f)||null,p(s,d,v,k,null);co(s,v)}return null}function w(d,s,f,v){for(var k=null,C=null,P=s,N=s=0,L=null;P!==null&&N<f.length;N++){P.index>N?(L=P,P=null):L=P.sibling;var z=h(d,P,f[N],v);if(z===null){P===null&&(P=L);break}e&&P&&z.alternate===null&&t(d,P),s=i(z,s,N),C===null?k=z:C.sibling=z,C=z,P=L}if(N===f.length)return n(d,P),Y&&Yt(d,N),k;if(P===null){for(;N<f.length;N++)P=m(d,f[N],v),P!==null&&(s=i(P,s,N),C===null?k=P:C.sibling=P,C=P);return Y&&Yt(d,N),k}for(P=r(d,P);N<f.length;N++)L=S(P,d,N,f[N],v),L!==null&&(e&&L.alternate!==null&&P.delete(L.key===null?N:L.key),s=i(L,s,N),C===null?k=L:C.sibling=L,C=L);return e&&P.forEach(function(H){return t(d,H)}),Y&&Yt(d,N),k}function x(d,s,f,v){var k=Yn(f);if(typeof k!="function")throw Error(g(150));if(f=k.call(f),f==null)throw Error(g(151));for(var C=k=null,P=s,N=s=0,L=null,z=f.next();P!==null&&!z.done;N++,z=f.next()){P.index>N?(L=P,P=null):L=P.sibling;var H=h(d,P,z.value,v);if(H===null){P===null&&(P=L);break}e&&P&&H.alternate===null&&t(d,P),s=i(H,s,N),C===null?k=H:C.sibling=H,C=H,P=L}if(z.done)return n(d,P),Y&&Yt(d,N),k;if(P===null){for(;!z.done;N++,z=f.next())z=m(d,z.value,v),z!==null&&(s=i(z,s,N),C===null?k=z:C.sibling=z,C=z);return Y&&Yt(d,N),k}for(P=r(d,P);!z.done;N++,z=f.next())z=S(P,d,N,z.value,v),z!==null&&(e&&z.alternate!==null&&P.delete(z.key===null?N:z.key),s=i(z,s,N),C===null?k=z:C.sibling=z,C=z);return e&&P.forEach(function(I){return t(d,I)}),Y&&Yt(d,N),k}function T(d,s,f,v){if(typeof f=="object"&&f!==null&&f.type===gn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Xr:e:{for(var k=f.key,C=s;C!==null;){if(C.key===k){if(k=f.type,k===gn){if(C.tag===7){n(d,C.sibling),s=o(C,f.props.children),s.return=d,d=s;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===zt&&us(k)===C.type){n(d,C.sibling),s=o(C,f.props),s.ref=qn(d,C,f),s.return=d,d=s;break e}n(d,C);break}else t(d,C);C=C.sibling}f.type===gn?(s=en(f.props.children,d.mode,v,f.key),s.return=d,d=s):(v=Co(f.type,f.key,f.props,null,d.mode,v),v.ref=qn(d,s,f),v.return=d,d=v)}return l(d);case vn:e:{for(C=f.key;s!==null;){if(s.key===C)if(s.tag===4&&s.stateNode.containerInfo===f.containerInfo&&s.stateNode.implementation===f.implementation){n(d,s.sibling),s=o(s,f.children||[]),s.return=d,d=s;break e}else{n(d,s);break}else t(d,s);s=s.sibling}s=rl(f,d.mode,v),s.return=d,d=s}return l(d);case zt:return C=f._init,T(d,s,C(f._payload),v)}if(rr(f))return w(d,s,f,v);if(Yn(f))return x(d,s,f,v);co(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,s!==null&&s.tag===6?(n(d,s.sibling),s=o(s,f),s.return=d,d=s):(n(d,s),s=nl(f,d.mode,v),s.return=d,d=s),l(d)):n(d,s)}return T}var Fn=Ic(!0),Tc=Ic(!1),$o=Qt(null),Ao=null,_n=null,mu=null;function vu(){mu=_n=Ao=null}function gu(e){var t=$o.current;K($o),e._currentValue=t}function Ml(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 Tn(e,t){Ao=e,mu=_n=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Pe=!0),e.firstContext=null)}function Ge(e){var t=e._currentValue;if(mu!==e)if(e={context:e,memoizedValue:t,next:null},_n===null){if(Ao===null)throw Error(g(308));_n=e,Ao.dependencies={lanes:0,firstContext:e}}else _n=_n.next=e;return t}var Jt=null;function yu(e){Jt===null?Jt=[e]:Jt.push(e)}function Mc(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,yu(t)):(n.next=o.next,o.next=n),t.interleaved=n,kt(e,r)}function kt(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 Rt=!1;function wu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Oc(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 wt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $t(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,($&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,kt(e,n)}return o=r.interleaved,o===null?(t.next=t,yu(r)):(t.next=o.next,o.next=t),r.interleaved=t,kt(e,n)}function yo(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,ou(e,n)}}function as(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,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 Bo(e,t,n,r){var o=e.updateQueue;Rt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var a=u,c=a.next;a.next=null,l===null?i=c:l.next=c,l=a;var p=e.alternate;p!==null&&(p=p.updateQueue,u=p.lastBaseUpdate,u!==l&&(u===null?p.firstBaseUpdate=c:u.next=c,p.lastBaseUpdate=a))}if(i!==null){var m=o.baseState;l=0,p=c=a=null,u=i;do{var h=u.lane,S=u.eventTime;if((r&h)===h){p!==null&&(p=p.next={eventTime:S,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,x=u;switch(h=t,S=n,x.tag){case 1:if(w=x.payload,typeof w=="function"){m=w.call(S,m,h);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=x.payload,h=typeof w=="function"?w.call(S,m,h):w,h==null)break e;m=ee({},m,h);break e;case 2:Rt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[u]:h.push(u))}else S={eventTime:S,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},p===null?(c=p=S,a=m):p=p.next=S,l|=h;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;h=u,u=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(p===null&&(a=m),o.baseState=a,o.firstBaseUpdate=c,o.lastBaseUpdate=p,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);on|=l,e.lanes=l,e.memoizedState=m}}function ss(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(g(191,o));o.call(r)}}}var Dr={},dt=Qt(Dr),Pr=Qt(Dr),Nr=Qt(Dr);function qt(e){if(e===Dr)throw Error(g(174));return e}function xu(e,t){switch(Q(Nr,t),Q(Pr,e),Q(dt,Dr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=pl(t,e)}K(dt),Q(dt,t)}function $n(){K(dt),K(Pr),K(Nr)}function Dc(e){qt(Nr.current);var t=qt(dt.current),n=pl(t,e.type);t!==n&&(Q(Pr,e),Q(dt,n))}function Su(e){Pr.current===e&&(K(dt),K(Pr))}var q=Qt(0);function jo(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)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Zi=[];function ku(){for(var e=0;e<Zi.length;e++)Zi[e]._workInProgressVersionPrimary=null;Zi.length=0}var wo=Ct.ReactCurrentDispatcher,Ji=Ct.ReactCurrentBatchConfig,rn=0,b=null,le=null,ae=null,Uo=!1,dr=!1,zr=0,rh=0;function he(){throw Error(g(321))}function Eu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ot(e[n],t[n]))return!1;return!0}function Cu(e,t,n,r,o,i){if(rn=i,b=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,wo.current=e===null||e.memoizedState===null?uh:ah,e=n(r,o),dr){i=0;do{if(dr=!1,zr=0,25<=i)throw Error(g(301));i+=1,ae=le=null,t.updateQueue=null,wo.current=sh,e=n(r,o)}while(dr)}if(wo.current=Wo,t=le!==null&&le.next!==null,rn=0,ae=le=b=null,Uo=!1,t)throw Error(g(300));return e}function _u(){var e=zr!==0;return zr=0,e}function at(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ae===null?b.memoizedState=ae=e:ae=ae.next=e,ae}function Ke(){if(le===null){var e=b.alternate;e=e!==null?e.memoizedState:null}else e=le.next;var t=ae===null?b.memoizedState:ae.next;if(t!==null)ae=t,le=e;else{if(e===null)throw Error(g(310));le=e,e={memoizedState:le.memoizedState,baseState:le.baseState,baseQueue:le.baseQueue,queue:le.queue,next:null},ae===null?b.memoizedState=ae=e:ae=ae.next=e}return ae}function Rr(e,t){return typeof t=="function"?t(e):t}function qi(e){var t=Ke(),n=t.queue;if(n===null)throw Error(g(311));n.lastRenderedReducer=e;var r=le,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var u=l=null,a=null,c=i;do{var p=c.lane;if((rn&p)===p)a!==null&&(a=a.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var m={lane:p,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};a===null?(u=a=m,l=r):a=a.next=m,b.lanes|=p,on|=p}c=c.next}while(c!==null&&c!==i);a===null?l=r:a.next=u,ot(r,t.memoizedState)||(Pe=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,b.lanes|=i,on|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function bi(e){var t=Ke(),n=t.queue;if(n===null)throw Error(g(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var l=o=o.next;do i=e(i,l.action),l=l.next;while(l!==o);ot(i,t.memoizedState)||(Pe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Hc(){}function Fc(e,t){var n=b,r=Ke(),o=t(),i=!ot(r.memoizedState,o);if(i&&(r.memoizedState=o,Pe=!0),r=r.queue,Pu(Bc.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ae!==null&&ae.memoizedState.tag&1){if(n.flags|=2048,Lr(9,Ac.bind(null,n,r,o,t),void 0,null),se===null)throw Error(g(349));(rn&30)!==0||$c(n,t,o)}return o}function $c(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=b.updateQueue,t===null?(t={lastEffect:null,stores:null},b.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ac(e,t,n,r){t.value=n,t.getSnapshot=r,jc(t)&&Uc(e)}function Bc(e,t,n){return n(function(){jc(t)&&Uc(e)})}function jc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ot(e,n)}catch{return!0}}function Uc(e){var t=kt(e,1);t!==null&&rt(t,e,1,-1)}function cs(e){var t=at();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Rr,lastRenderedState:e},t.queue=e,e=e.dispatch=lh.bind(null,b,e),[t.memoizedState,e]}function Lr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=b.updateQueue,t===null?(t={lastEffect:null,stores:null},b.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 Wc(){return Ke().memoizedState}function xo(e,t,n,r){var o=at();b.flags|=e,o.memoizedState=Lr(1|t,n,void 0,r===void 0?null:r)}function ti(e,t,n,r){var o=Ke();r=r===void 0?null:r;var i=void 0;if(le!==null){var l=le.memoizedState;if(i=l.destroy,r!==null&&Eu(r,l.deps)){o.memoizedState=Lr(t,n,i,r);return}}b.flags|=e,o.memoizedState=Lr(1|t,n,i,r)}function ds(e,t){return xo(8390656,8,e,t)}function Pu(e,t){return ti(2048,8,e,t)}function Vc(e,t){return ti(4,2,e,t)}function Qc(e,t){return ti(4,4,e,t)}function Gc(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 Kc(e,t,n){return n=n!=null?n.concat([e]):null,ti(4,4,Gc.bind(null,t,e),n)}function Nu(){}function Yc(e,t){var n=Ke();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Eu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xc(e,t){var n=Ke();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Eu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Zc(e,t,n){return(rn&21)===0?(e.baseState&&(e.baseState=!1,Pe=!0),e.memoizedState=n):(ot(n,t)||(n=tc(),b.lanes|=n,on|=n,e.baseState=!0),t)}function oh(e,t){var n=B;B=n!==0&&4>n?n:4,e(!0);var r=Ji.transition;Ji.transition={};try{e(!1),t()}finally{B=n,Ji.transition=r}}function Jc(){return Ke().memoizedState}function ih(e,t,n){var r=Bt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qc(e))bc(t,n);else if(n=Mc(e,t,n,r),n!==null){var o=xe();rt(n,e,r,o),ed(n,t,r)}}function lh(e,t,n){var r=Bt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qc(e))bc(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,ot(u,l)){var a=t.interleaved;a===null?(o.next=o,yu(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Mc(e,t,o,r),n!==null&&(o=xe(),rt(n,e,r,o),ed(n,t,r))}}function qc(e){var t=e.alternate;return e===b||t!==null&&t===b}function bc(e,t){dr=Uo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ed(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ou(e,n)}}var Wo={readContext:Ge,useCallback:he,useContext:he,useEffect:he,useImperativeHandle:he,useInsertionEffect:he,useLayoutEffect:he,useMemo:he,useReducer:he,useRef:he,useState:he,useDebugValue:he,useDeferredValue:he,useTransition:he,useMutableSource:he,useSyncExternalStore:he,useId:he,unstable_isNewReconciler:!1},uh={readContext:Ge,useCallback:function(e,t){return at().memoizedState=[e,t===void 0?null:t],e},useContext:Ge,useEffect:ds,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xo(4194308,4,Gc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xo(4194308,4,e,t)},useInsertionEffect:function(e,t){return xo(4,2,e,t)},useMemo:function(e,t){var n=at();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=at();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=ih.bind(null,b,e),[r.memoizedState,e]},useRef:function(e){var t=at();return e={current:e},t.memoizedState=e},useState:cs,useDebugValue:Nu,useDeferredValue:function(e){return at().memoizedState=e},useTransition:function(){var e=cs(!1),t=e[0];return e=oh.bind(null,e[1]),at().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=b,o=at();if(Y){if(n===void 0)throw Error(g(407));n=n()}else{if(n=t(),se===null)throw Error(g(349));(rn&30)!==0||$c(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,ds(Bc.bind(null,r,i,e),[e]),r.flags|=2048,Lr(9,Ac.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=at(),t=se.identifierPrefix;if(Y){var n=yt,r=gt;n=(r&~(1<<32-nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=zr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=rh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ah={readContext:Ge,useCallback:Yc,useContext:Ge,useEffect:Pu,useImperativeHandle:Kc,useInsertionEffect:Vc,useLayoutEffect:Qc,useMemo:Xc,useReducer:qi,useRef:Wc,useState:function(){return qi(Rr)},useDebugValue:Nu,useDeferredValue:function(e){var t=Ke();return Zc(t,le.memoizedState,e)},useTransition:function(){var e=qi(Rr)[0],t=Ke().memoizedState;return[e,t]},useMutableSource:Hc,useSyncExternalStore:Fc,useId:Jc,unstable_isNewReconciler:!1},sh={readContext:Ge,useCallback:Yc,useContext:Ge,useEffect:Pu,useImperativeHandle:Kc,useInsertionEffect:Vc,useLayoutEffect:Qc,useMemo:Xc,useReducer:bi,useRef:Wc,useState:function(){return bi(Rr)},useDebugValue:Nu,useDeferredValue:function(e){var t=Ke();return le===null?t.memoizedState=e:Zc(t,le.memoizedState,e)},useTransition:function(){var e=bi(Rr)[0],t=Ke().memoizedState;return[e,t]},useMutableSource:Hc,useSyncExternalStore:Fc,useId:Jc,unstable_isNewReconciler:!1};function be(e,t){if(e&&e.defaultProps){t=ee({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ol(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ee({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ni={isMounted:function(e){return(e=e._reactInternals)?an(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=xe(),o=Bt(e),i=wt(r,o);i.payload=t,n!=null&&(i.callback=n),t=$t(e,i,o),t!==null&&(rt(t,e,o,r),yo(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=xe(),o=Bt(e),i=wt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=$t(e,i,o),t!==null&&(rt(t,e,o,r),yo(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=xe(),r=Bt(e),o=wt(n,r);o.tag=2,t!=null&&(o.callback=t),t=$t(e,o,r),t!==null&&(rt(t,e,r,n),yo(t,e,r))}};function fs(e,t,n,r,o,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,l):t.prototype&&t.prototype.isPureReactComponent?!kr(n,r)||!kr(o,i):!0}function td(e,t,n){var r=!1,o=Wt,i=t.contextType;return typeof i=="object"&&i!==null?i=Ge(i):(o=ze(t)?tn:ge.current,r=t.contextTypes,i=(r=r!=null)?Dn(e,o):Wt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ni,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ps(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&&ni.enqueueReplaceState(t,t.state,null)}function Dl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},wu(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ge(i):(i=ze(t)?tn:ge.current,o.context=Dn(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ol(e,t,i,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&&ni.enqueueReplaceState(o,o.state,null),Bo(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function An(e,t){try{var n="",r=t;do n+=Af(r),r=r.return;while(r);var o=n}catch(i){o=`
|
|
4
|
+
`),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(a!==1||l!==1)do if(a--,l--,0>l||o[a]!==i[l]){var s=`
|
|
5
|
+
`+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{nu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ii(e):""}function V$(e){switch(e.tag){case 5:return ii(e.type);case 16:return ii("Lazy");case 13:return ii("Suspense");case 19:return ii("SuspenseList");case 0:case 2:case 15:return e=ru(e.type,!1),e;case 11:return e=ru(e.type.render,!1),e;case 1:return e=ru(e.type,!0),e;default:return""}}function Tu(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 no:return"Fragment";case to:return"Portal";case Cu:return"Profiler";case bc:return"StrictMode";case ku:return"Suspense";case Eu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Zp:return(e.displayName||"Context")+".Consumer";case qp:return(e._context.displayName||"Context")+".Provider";case yc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vc:return t=e.displayName||null,t!==null?t:Tu(e.type)||"Memo";case Un:t=e._payload,e=e._init;try{return Tu(e(t))}catch{}}return null}function W$(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 Tu(t);case 8:return t===bc?"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 ir(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function em(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function U$(e){var t=em(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ia(e){e._valueTracker||(e._valueTracker=U$(e))}function tm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=em(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function sl(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 _u(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Gf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ir(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 nm(e,t){t=t.checked,t!=null&&$c(e,"checked",t,!1)}function Pu(e,t){nm(e,t);var n=ir(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")?Lu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Lu(e,t.type,ir(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Qf(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 Lu(e,t,n){(t!=="number"||sl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ai=Array.isArray;function mo(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=""+ir(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 Nu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(x(91));return Se({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Yf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(x(92));if(ai(n)){if(1<n.length)throw Error(x(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ir(n)}}function rm(e,t){var n=ir(t.value),r=ir(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 Xf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function om(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 Ru(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?om(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Da,im=(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(Da=Da||document.createElement("div"),Da.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Da.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ui={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},j$=["Webkit","ms","Moz","O"];Object.keys(ui).forEach(function(e){j$.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ui[t]=ui[e]})});function am(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ui.hasOwnProperty(e)&&ui[e]?(""+t).trim():t+"px"}function lm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=am(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var G$=Se({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 Mu(e,t){if(t){if(G$[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function Iu(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 Du=null;function xc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fu=null,ho=null,go=null;function qf(e){if(e=Ki(e)){if(typeof Fu!="function")throw Error(x(280));var t=e.stateNode;t&&(t=Fl(t),Fu(e.stateNode,e.type,t))}}function sm(e){ho?go?go.push(e):go=[e]:ho=e}function um(){if(ho){var e=ho,t=go;if(go=ho=null,qf(e),t)for(e=0;e<t.length;e++)qf(t[e])}}function cm(e,t){return e(t)}function dm(){}var ou=!1;function fm(e,t,n){if(ou)return e(t,n);ou=!0;try{return cm(e,t,n)}finally{ou=!1,(ho!==null||go!==null)&&(dm(),um())}}function vi(e,t){var n=e.stateNode;if(n===null)return null;var r=Fl(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(x(231,t,typeof n));return n}var Ku=!1;if(Ln)try{Jr={},Object.defineProperty(Jr,"passive",{get:function(){Ku=!0}}),window.addEventListener("test",Jr,Jr),window.removeEventListener("test",Jr,Jr)}catch{Ku=!1}var Jr;function Q$(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var ci=!1,ul=null,cl=!1,Ou=null,Y$={onError:function(e){ci=!0,ul=e}};function X$(e,t,n,r,o,i,a,l,s){ci=!1,ul=null,Q$.apply(Y$,arguments)}function q$(e,t,n,r,o,i,a,l,s){if(X$.apply(this,arguments),ci){if(ci){var u=ul;ci=!1,ul=null}else throw Error(x(198));cl||(cl=!0,Ou=u)}}function Mr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function pm(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 Zf(e){if(Mr(e)!==e)throw Error(x(188))}function Z$(e){var t=e.alternate;if(!t){if(t=Mr(e),t===null)throw Error(x(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Zf(o),e;if(i===r)return Zf(o),t;i=i.sibling}throw Error(x(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(x(189))}}if(n.alternate!==r)throw Error(x(190))}if(n.tag!==3)throw Error(x(188));return n.stateNode.current===n?e:t}function mm(e){return e=Z$(e),e!==null?hm(e):null}function hm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=hm(e);if(t!==null)return t;e=e.sibling}return null}var gm=kt.unstable_scheduleCallback,Jf=kt.unstable_cancelCallback,J$=kt.unstable_shouldYield,eb=kt.unstable_requestPaint,Te=kt.unstable_now,tb=kt.unstable_getCurrentPriorityLevel,wc=kt.unstable_ImmediatePriority,$m=kt.unstable_UserBlockingPriority,dl=kt.unstable_NormalPriority,nb=kt.unstable_LowPriority,bm=kt.unstable_IdlePriority,Rl=null,hn=null;function rb(e){if(hn&&typeof hn.onCommitFiberRoot=="function")try{hn.onCommitFiberRoot(Rl,e,void 0,(e.current.flags&128)===128)}catch{}}var Jt=Math.clz32?Math.clz32:ab,ob=Math.log,ib=Math.LN2;function ab(e){return e>>>=0,e===0?32:31-(ob(e)/ib|0)|0}var Fa=64,Ka=4194304;function li(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 fl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~o;l!==0?r=li(l):(i&=a,i!==0&&(r=li(i)))}else a=n&~o,a!==0?r=li(a):i!==0&&(r=li(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Jt(t),o=1<<n,r|=e[n],t&=~o;return r}function lb(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 sb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Jt(i),l=1<<a,s=o[a];s===-1?((l&n)===0||(l&r)!==0)&&(o[a]=lb(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}function Au(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ym(){var e=Fa;return Fa<<=1,(Fa&4194240)===0&&(Fa=64),e}function iu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Di(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Jt(t),e[t]=n}function ub(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-Jt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Sc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Jt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ae=0;function vm(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var xm,Cc,wm,Sm,Cm,Bu=!1,Oa=[],qn=null,Zn=null,Jn=null,xi=new Map,wi=new Map,Gn=[],cb="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 ep(e,t){switch(e){case"focusin":case"focusout":qn=null;break;case"dragenter":case"dragleave":Zn=null;break;case"mouseover":case"mouseout":Jn=null;break;case"pointerover":case"pointerout":xi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":wi.delete(t.pointerId)}}function Zo(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Ki(t),t!==null&&Cc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function db(e,t,n,r,o){switch(t){case"focusin":return qn=Zo(qn,e,t,n,r,o),!0;case"dragenter":return Zn=Zo(Zn,e,t,n,r,o),!0;case"mouseover":return Jn=Zo(Jn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return xi.set(i,Zo(xi.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,wi.set(i,Zo(wi.get(i)||null,e,t,n,r,o)),!0}return!1}function km(e){var t=wr(e.target);if(t!==null){var n=Mr(t);if(n!==null){if(t=n.tag,t===13){if(t=pm(n),t!==null){e.blockedOn=t,Cm(e.priority,function(){wm(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 Za(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=zu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Du=r,n.target.dispatchEvent(r),Du=null}else return t=Ki(n),t!==null&&Cc(t),e.blockedOn=n,!1;t.shift()}return!0}function tp(e,t,n){Za(e)&&n.delete(t)}function fb(){Bu=!1,qn!==null&&Za(qn)&&(qn=null),Zn!==null&&Za(Zn)&&(Zn=null),Jn!==null&&Za(Jn)&&(Jn=null),xi.forEach(tp),wi.forEach(tp)}function Jo(e,t){e.blockedOn===t&&(e.blockedOn=null,Bu||(Bu=!0,kt.unstable_scheduleCallback(kt.unstable_NormalPriority,fb)))}function Si(e){function t(o){return Jo(o,e)}if(0<Oa.length){Jo(Oa[0],e);for(var n=1;n<Oa.length;n++){var r=Oa[n];r.blockedOn===e&&(r.blockedOn=null)}}for(qn!==null&&Jo(qn,e),Zn!==null&&Jo(Zn,e),Jn!==null&&Jo(Jn,e),xi.forEach(t),wi.forEach(t),n=0;n<Gn.length;n++)r=Gn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Gn.length&&(n=Gn[0],n.blockedOn===null);)km(n),n.blockedOn===null&&Gn.shift()}var $o=In.ReactCurrentBatchConfig,pl=!0;function pb(e,t,n,r){var o=ae,i=$o.transition;$o.transition=null;try{ae=1,kc(e,t,n,r)}finally{ae=o,$o.transition=i}}function mb(e,t,n,r){var o=ae,i=$o.transition;$o.transition=null;try{ae=4,kc(e,t,n,r)}finally{ae=o,$o.transition=i}}function kc(e,t,n,r){if(pl){var o=zu(e,t,n,r);if(o===null)fu(e,t,r,ml,n),ep(e,r);else if(db(o,e,t,n,r))r.stopPropagation();else if(ep(e,r),t&4&&-1<cb.indexOf(e)){for(;o!==null;){var i=Ki(o);if(i!==null&&xm(i),i=zu(e,t,n,r),i===null&&fu(e,t,r,ml,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else fu(e,t,r,null,n)}}var ml=null;function zu(e,t,n,r){if(ml=null,e=xc(r),e=wr(e),e!==null)if(t=Mr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=pm(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 ml=e,null}function Em(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(tb()){case wc:return 1;case $m:return 4;case dl:case nb:return 16;case bm:return 536870912;default:return 16}default:return 16}}var Yn=null,Ec=null,Ja=null;function Tm(){if(Ja)return Ja;var e,t=Ec,n=t.length,r,o="value"in Yn?Yn.value:Yn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[i-r];r++);return Ja=o.slice(e,1<r?1-r:void 0)}function el(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 Aa(){return!0}function np(){return!1}function Et(e){function t(n,r,o,i,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Aa:np,this.isPropagationStopped=np,this}return Se(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=Aa)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Aa)},persist:function(){},isPersistent:Aa}),t}var To={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tc=Et(To),Fi=Se({},To,{view:0,detail:0}),hb=Et(Fi),au,lu,ei,Ml=Se({},Fi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_c,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!==ei&&(ei&&e.type==="mousemove"?(au=e.screenX-ei.screenX,lu=e.screenY-ei.screenY):lu=au=0,ei=e),au)},movementY:function(e){return"movementY"in e?e.movementY:lu}}),rp=Et(Ml),gb=Se({},Ml,{dataTransfer:0}),$b=Et(gb),bb=Se({},Fi,{relatedTarget:0}),su=Et(bb),yb=Se({},To,{animationName:0,elapsedTime:0,pseudoElement:0}),vb=Et(yb),xb=Se({},To,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wb=Et(xb),Sb=Se({},To,{data:0}),op=Et(Sb),Cb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kb={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"},Eb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Eb[e])?!!t[e]:!1}function _c(){return Tb}var _b=Se({},Fi,{key:function(e){if(e.key){var t=Cb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=el(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_c,charCode:function(e){return e.type==="keypress"?el(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?el(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Pb=Et(_b),Lb=Se({},Ml,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ip=Et(Lb),Nb=Se({},Fi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_c}),Rb=Et(Nb),Mb=Se({},To,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ib=Et(Mb),Db=Se({},Ml,{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}),Fb=Et(Db),Kb=[9,13,27,32],Pc=Ln&&"CompositionEvent"in window,di=null;Ln&&"documentMode"in document&&(di=document.documentMode);var Ob=Ln&&"TextEvent"in window&&!di,_m=Ln&&(!Pc||di&&8<di&&11>=di),ap=" ",lp=!1;function Pm(e,t){switch(e){case"keyup":return Kb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ro=!1;function Ab(e,t){switch(e){case"compositionend":return Lm(t);case"keypress":return t.which!==32?null:(lp=!0,ap);case"textInput":return e=t.data,e===ap&&lp?null:e;default:return null}}function Bb(e,t){if(ro)return e==="compositionend"||!Pc&&Pm(e,t)?(e=Tm(),Ja=Ec=Yn=null,ro=!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 _m&&t.locale!=="ko"?null:t.data;default:return null}}var zb={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 sp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!zb[e.type]:t==="textarea"}function Nm(e,t,n,r){sm(r),t=hl(t,"onChange"),0<t.length&&(n=new Tc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var fi=null,Ci=null;function Hb(e){Hm(e,0)}function Il(e){var t=ao(e);if(tm(t))return e}function Vb(e,t){if(e==="change")return t}var Rm=!1;Ln&&(Ln?(za="oninput"in document,za||(uu=document.createElement("div"),uu.setAttribute("oninput","return;"),za=typeof uu.oninput=="function"),Ba=za):Ba=!1,Rm=Ba&&(!document.documentMode||9<document.documentMode));var Ba,za,uu;function up(){fi&&(fi.detachEvent("onpropertychange",Mm),Ci=fi=null)}function Mm(e){if(e.propertyName==="value"&&Il(Ci)){var t=[];Nm(t,Ci,e,xc(e)),fm(Hb,t)}}function Wb(e,t,n){e==="focusin"?(up(),fi=t,Ci=n,fi.attachEvent("onpropertychange",Mm)):e==="focusout"&&up()}function Ub(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Il(Ci)}function jb(e,t){if(e==="click")return Il(t)}function Gb(e,t){if(e==="input"||e==="change")return Il(t)}function Qb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var tn=typeof Object.is=="function"?Object.is:Qb;function ki(e,t){if(tn(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(!Su.call(t,o)||!tn(e[o],t[o]))return!1}return!0}function cp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dp(e,t){var n=cp(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=cp(n)}}function Im(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Im(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dm(){for(var e=window,t=sl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=sl(e.document)}return t}function Lc(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 Yb(e){var t=Dm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Im(n.ownerDocument.documentElement,n)){if(r!==null&&Lc(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,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=dp(n,i);var a=dp(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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 Xb=Ln&&"documentMode"in document&&11>=document.documentMode,oo=null,Hu=null,pi=null,Vu=!1;function fp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vu||oo==null||oo!==sl(r)||(r=oo,"selectionStart"in r&&Lc(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}),pi&&ki(pi,r)||(pi=r,r=hl(Hu,"onSelect"),0<r.length&&(t=new Tc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=oo)))}function Ha(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var io={animationend:Ha("Animation","AnimationEnd"),animationiteration:Ha("Animation","AnimationIteration"),animationstart:Ha("Animation","AnimationStart"),transitionend:Ha("Transition","TransitionEnd")},cu={},Fm={};Ln&&(Fm=document.createElement("div").style,"AnimationEvent"in window||(delete io.animationend.animation,delete io.animationiteration.animation,delete io.animationstart.animation),"TransitionEvent"in window||delete io.transitionend.transition);function Dl(e){if(cu[e])return cu[e];if(!io[e])return e;var t=io[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Fm)return cu[e]=t[n];return e}var Km=Dl("animationend"),Om=Dl("animationiteration"),Am=Dl("animationstart"),Bm=Dl("transitionend"),zm=new Map,pp="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 lr(e,t){zm.set(e,t),Rr(t,[e])}for(Va=0;Va<pp.length;Va++)Wa=pp[Va],mp=Wa.toLowerCase(),hp=Wa[0].toUpperCase()+Wa.slice(1),lr(mp,"on"+hp);var Wa,mp,hp,Va;lr(Km,"onAnimationEnd");lr(Om,"onAnimationIteration");lr(Am,"onAnimationStart");lr("dblclick","onDoubleClick");lr("focusin","onFocus");lr("focusout","onBlur");lr(Bm,"onTransitionEnd");vo("onMouseEnter",["mouseout","mouseover"]);vo("onMouseLeave",["mouseout","mouseover"]);vo("onPointerEnter",["pointerout","pointerover"]);vo("onPointerLeave",["pointerout","pointerover"]);Rr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Rr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Rr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Rr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Rr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Rr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var si="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(" "),qb=new Set("cancel close invalid load scroll toggle".split(" ").concat(si));function gp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,q$(r,t,void 0,e),e.currentTarget=null}function Hm(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 i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;gp(o,l,u),i=s}else for(a=0;a<r.length;a++){if(l=r[a],s=l.instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;gp(o,l,u),i=s}}}if(cl)throw e=Ou,cl=!1,Ou=null,e}function pe(e,t){var n=t[Qu];n===void 0&&(n=t[Qu]=new Set);var r=e+"__bubble";n.has(r)||(Vm(t,e,2,!1),n.add(r))}function du(e,t,n){var r=0;t&&(r|=4),Vm(n,e,r,t)}var Ua="_reactListening"+Math.random().toString(36).slice(2);function Ei(e){if(!e[Ua]){e[Ua]=!0,Xp.forEach(function(n){n!=="selectionchange"&&(qb.has(n)||du(n,!1,e),du(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ua]||(t[Ua]=!0,du("selectionchange",!1,t))}}function Vm(e,t,n,r){switch(Em(t)){case 1:var o=pb;break;case 4:o=mb;break;default:o=kc}n=o.bind(null,t,n,e),o=void 0,!Ku||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 fu(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===o||s.nodeType===8&&s.parentNode===o))return;a=a.return}for(;l!==null;){if(a=wr(l),a===null)return;if(s=a.tag,s===5||s===6){r=i=a;continue e}l=l.parentNode}}r=r.return}fm(function(){var u=i,c=xc(n),d=[];e:{var m=zm.get(e);if(m!==void 0){var g=Tc,y=e;switch(e){case"keypress":if(el(n)===0)break e;case"keydown":case"keyup":g=Pb;break;case"focusin":y="focus",g=su;break;case"focusout":y="blur",g=su;break;case"beforeblur":case"afterblur":g=su;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":g=rp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=$b;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Rb;break;case Km:case Om:case Am:g=vb;break;case Bm:g=Ib;break;case"scroll":g=hb;break;case"wheel":g=Fb;break;case"copy":case"cut":case"paste":g=wb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=ip}var b=(t&4)!==0,R=!b&&e==="scroll",p=b?m!==null?m+"Capture":null:m;b=[];for(var f=u,h;f!==null;){h=f;var $=h.stateNode;if(h.tag===5&&$!==null&&(h=$,p!==null&&($=vi(f,p),$!=null&&b.push(Ti(f,$,h)))),R)break;f=f.return}0<b.length&&(m=new g(m,y,null,n,c),d.push({event:m,listeners:b}))}}if((t&7)===0){e:{if(m=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",m&&n!==Du&&(y=n.relatedTarget||n.fromElement)&&(wr(y)||y[Nn]))break e;if((g||m)&&(m=c.window===c?c:(m=c.ownerDocument)?m.defaultView||m.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=u,y=y?wr(y):null,y!==null&&(R=Mr(y),y!==R||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=u),g!==y)){if(b=rp,$="onMouseLeave",p="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(b=ip,$="onPointerLeave",p="onPointerEnter",f="pointer"),R=g==null?m:ao(g),h=y==null?m:ao(y),m=new b($,f+"leave",g,n,c),m.target=R,m.relatedTarget=h,$=null,wr(c)===u&&(b=new b(p,f+"enter",y,n,c),b.target=h,b.relatedTarget=R,$=b),R=$,g&&y)t:{for(b=g,p=y,f=0,h=b;h;h=eo(h))f++;for(h=0,$=p;$;$=eo($))h++;for(;0<f-h;)b=eo(b),f--;for(;0<h-f;)p=eo(p),h--;for(;f--;){if(b===p||p!==null&&b===p.alternate)break t;b=eo(b),p=eo(p)}b=null}else b=null;g!==null&&$p(d,m,g,b,!1),y!==null&&R!==null&&$p(d,R,y,b,!0)}}e:{if(m=u?ao(u):window,g=m.nodeName&&m.nodeName.toLowerCase(),g==="select"||g==="input"&&m.type==="file")var C=Vb;else if(sp(m))if(Rm)C=Gb;else{C=Ub;var E=Wb}else(g=m.nodeName)&&g.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(C=jb);if(C&&(C=C(e,u))){Nm(d,C,n,c);break e}E&&E(e,m,u),e==="focusout"&&(E=m._wrapperState)&&E.controlled&&m.type==="number"&&Lu(m,"number",m.value)}switch(E=u?ao(u):window,e){case"focusin":(sp(E)||E.contentEditable==="true")&&(oo=E,Hu=u,pi=null);break;case"focusout":pi=Hu=oo=null;break;case"mousedown":Vu=!0;break;case"contextmenu":case"mouseup":case"dragend":Vu=!1,fp(d,n,c);break;case"selectionchange":if(Xb)break;case"keydown":case"keyup":fp(d,n,c)}var P;if(Pc)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else ro?Pm(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(_m&&n.locale!=="ko"&&(ro||N!=="onCompositionStart"?N==="onCompositionEnd"&&ro&&(P=Tm()):(Yn=c,Ec="value"in Yn?Yn.value:Yn.textContent,ro=!0)),E=hl(u,N),0<E.length&&(N=new op(N,e,null,n,c),d.push({event:N,listeners:E}),P?N.data=P:(P=Lm(n),P!==null&&(N.data=P)))),(P=Ob?Ab(e,n):Bb(e,n))&&(u=hl(u,"onBeforeInput"),0<u.length&&(c=new op("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=P))}Hm(d,t)})}function Ti(e,t,n){return{instance:e,listener:t,currentTarget:n}}function hl(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=vi(e,n),i!=null&&r.unshift(Ti(e,i,o)),i=vi(e,t),i!=null&&r.push(Ti(e,i,o))),e=e.return}return r}function eo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function $p(e,t,n,r,o){for(var i=t._reactName,a=[];n!==null&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(s!==null&&s===r)break;l.tag===5&&u!==null&&(l=u,o?(s=vi(n,i),s!=null&&a.unshift(Ti(n,s,l))):o||(s=vi(n,i),s!=null&&a.push(Ti(n,s,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var Zb=/\r\n?/g,Jb=/\u0000|\uFFFD/g;function bp(e){return(typeof e=="string"?e:""+e).replace(Zb,`
|
|
6
|
+
`).replace(Jb,"")}function ja(e,t,n){if(t=bp(t),bp(e)!==t&&n)throw Error(x(425))}function gl(){}var Wu=null,Uu=null;function ju(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 Gu=typeof setTimeout=="function"?setTimeout:void 0,ey=typeof clearTimeout=="function"?clearTimeout:void 0,yp=typeof Promise=="function"?Promise:void 0,ty=typeof queueMicrotask=="function"?queueMicrotask:typeof yp<"u"?function(e){return yp.resolve(null).then(e).catch(ny)}:Gu;function ny(e){setTimeout(function(){throw e})}function pu(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),Si(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Si(t)}function er(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 vp(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 _o=Math.random().toString(36).slice(2),mn="__reactFiber$"+_o,_i="__reactProps$"+_o,Nn="__reactContainer$"+_o,Qu="__reactEvents$"+_o,ry="__reactListeners$"+_o,oy="__reactHandles$"+_o;function wr(e){var t=e[mn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Nn]||n[mn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=vp(e);e!==null;){if(n=e[mn])return n;e=vp(e)}return t}e=n,n=e.parentNode}return null}function Ki(e){return e=e[mn]||e[Nn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ao(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(x(33))}function Fl(e){return e[_i]||null}var Yu=[],lo=-1;function sr(e){return{current:e}}function me(e){0>lo||(e.current=Yu[lo],Yu[lo]=null,lo--)}function de(e,t){lo++,Yu[lo]=e.current,e.current=t}var ar={},Ye=sr(ar),gt=sr(!1),Tr=ar;function xo(e,t){var n=e.type.contextTypes;if(!n)return ar;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function $t(e){return e=e.childContextTypes,e!=null}function $l(){me(gt),me(Ye)}function xp(e,t,n){if(Ye.current!==ar)throw Error(x(168));de(Ye,t),de(gt,n)}function Wm(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(x(108,W$(e)||"Unknown",o));return Se({},n,r)}function bl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ar,Tr=Ye.current,de(Ye,e),de(gt,gt.current),!0}function wp(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=Wm(e,t,Tr),r.__reactInternalMemoizedMergedChildContext=e,me(gt),me(Ye),de(Ye,e)):me(gt),de(gt,n)}var En=null,Kl=!1,mu=!1;function Um(e){En===null?En=[e]:En.push(e)}function iy(e){Kl=!0,Um(e)}function ur(){if(!mu&&En!==null){mu=!0;var e=0,t=ae;try{var n=En;for(ae=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}En=null,Kl=!1}catch(o){throw En!==null&&(En=En.slice(e+1)),gm(wc,ur),o}finally{ae=t,mu=!1}}return null}var so=[],uo=0,yl=null,vl=0,Ot=[],At=0,_r=null,Tn=1,_n="";function vr(e,t){so[uo++]=vl,so[uo++]=yl,yl=e,vl=t}function jm(e,t,n){Ot[At++]=Tn,Ot[At++]=_n,Ot[At++]=_r,_r=e;var r=Tn;e=_n;var o=32-Jt(r)-1;r&=~(1<<o),n+=1;var i=32-Jt(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Tn=1<<32-Jt(t)+o|n<<o|r,_n=i+e}else Tn=1<<i|n<<o|r,_n=e}function Nc(e){e.return!==null&&(vr(e,1),jm(e,1,0))}function Rc(e){for(;e===yl;)yl=so[--uo],so[uo]=null,vl=so[--uo],so[uo]=null;for(;e===_r;)_r=Ot[--At],Ot[At]=null,_n=Ot[--At],Ot[At]=null,Tn=Ot[--At],Ot[At]=null}var Ct=null,St=null,be=!1,Zt=null;function Gm(e,t){var n=Bt(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 Sp(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,Ct=e,St=er(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ct=e,St=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=_r!==null?{id:Tn,overflow:_n}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Bt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ct=e,St=null,!0):!1;default:return!1}}function Xu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function qu(e){if(be){var t=St;if(t){var n=t;if(!Sp(e,t)){if(Xu(e))throw Error(x(418));t=er(n.nextSibling);var r=Ct;t&&Sp(e,t)?Gm(r,n):(e.flags=e.flags&-4097|2,be=!1,Ct=e)}}else{if(Xu(e))throw Error(x(418));e.flags=e.flags&-4097|2,be=!1,Ct=e}}}function Cp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ct=e}function Ga(e){if(e!==Ct)return!1;if(!be)return Cp(e),be=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ju(e.type,e.memoizedProps)),t&&(t=St)){if(Xu(e))throw Qm(),Error(x(418));for(;t;)Gm(e,t),t=er(t.nextSibling)}if(Cp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(x(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){St=er(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}St=null}}else St=Ct?er(e.stateNode.nextSibling):null;return!0}function Qm(){for(var e=St;e;)e=er(e.nextSibling)}function wo(){St=Ct=null,be=!1}function Mc(e){Zt===null?Zt=[e]:Zt.push(e)}var ay=In.ReactCurrentBatchConfig;function ti(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(x(309));var r=n.stateNode}if(!r)throw Error(x(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var l=o.refs;a===null?delete l[i]:l[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(x(284));if(!n._owner)throw Error(x(290,e))}return e}function Qa(e,t){throw e=Object.prototype.toString.call(t),Error(x(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function kp(e){var t=e._init;return t(e._payload)}function Ym(e){function t(p,f){if(e){var h=p.deletions;h===null?(p.deletions=[f],p.flags|=16):h.push(f)}}function n(p,f){if(!e)return null;for(;f!==null;)t(p,f),f=f.sibling;return null}function r(p,f){for(p=new Map;f!==null;)f.key!==null?p.set(f.key,f):p.set(f.index,f),f=f.sibling;return p}function o(p,f){return p=or(p,f),p.index=0,p.sibling=null,p}function i(p,f,h){return p.index=h,e?(h=p.alternate,h!==null?(h=h.index,h<f?(p.flags|=2,f):h):(p.flags|=2,f)):(p.flags|=1048576,f)}function a(p){return e&&p.alternate===null&&(p.flags|=2),p}function l(p,f,h,$){return f===null||f.tag!==6?(f=xu(h,p.mode,$),f.return=p,f):(f=o(f,h),f.return=p,f)}function s(p,f,h,$){var C=h.type;return C===no?c(p,f,h.props.children,$,h.key):f!==null&&(f.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Un&&kp(C)===f.type)?($=o(f,h.props),$.ref=ti(p,f,h),$.return=p,$):($=ll(h.type,h.key,h.props,null,p.mode,$),$.ref=ti(p,f,h),$.return=p,$)}function u(p,f,h,$){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=wu(h,p.mode,$),f.return=p,f):(f=o(f,h.children||[]),f.return=p,f)}function c(p,f,h,$,C){return f===null||f.tag!==7?(f=Er(h,p.mode,$,C),f.return=p,f):(f=o(f,h),f.return=p,f)}function d(p,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=xu(""+f,p.mode,h),f.return=p,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Ma:return h=ll(f.type,f.key,f.props,null,p.mode,h),h.ref=ti(p,null,f),h.return=p,h;case to:return f=wu(f,p.mode,h),f.return=p,f;case Un:var $=f._init;return d(p,$(f._payload),h)}if(ai(f)||qo(f))return f=Er(f,p.mode,h,null),f.return=p,f;Qa(p,f)}return null}function m(p,f,h,$){var C=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return C!==null?null:l(p,f,""+h,$);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ma:return h.key===C?s(p,f,h,$):null;case to:return h.key===C?u(p,f,h,$):null;case Un:return C=h._init,m(p,f,C(h._payload),$)}if(ai(h)||qo(h))return C!==null?null:c(p,f,h,$,null);Qa(p,h)}return null}function g(p,f,h,$,C){if(typeof $=="string"&&$!==""||typeof $=="number")return p=p.get(h)||null,l(f,p,""+$,C);if(typeof $=="object"&&$!==null){switch($.$$typeof){case Ma:return p=p.get($.key===null?h:$.key)||null,s(f,p,$,C);case to:return p=p.get($.key===null?h:$.key)||null,u(f,p,$,C);case Un:var E=$._init;return g(p,f,h,E($._payload),C)}if(ai($)||qo($))return p=p.get(h)||null,c(f,p,$,C,null);Qa(f,$)}return null}function y(p,f,h,$){for(var C=null,E=null,P=f,N=f=0,M=null;P!==null&&N<h.length;N++){P.index>N?(M=P,P=null):M=P.sibling;var F=m(p,P,h[N],$);if(F===null){P===null&&(P=M);break}e&&P&&F.alternate===null&&t(p,P),f=i(F,f,N),E===null?C=F:E.sibling=F,E=F,P=M}if(N===h.length)return n(p,P),be&&vr(p,N),C;if(P===null){for(;N<h.length;N++)P=d(p,h[N],$),P!==null&&(f=i(P,f,N),E===null?C=P:E.sibling=P,E=P);return be&&vr(p,N),C}for(P=r(p,P);N<h.length;N++)M=g(P,p,N,h[N],$),M!==null&&(e&&M.alternate!==null&&P.delete(M.key===null?N:M.key),f=i(M,f,N),E===null?C=M:E.sibling=M,E=M);return e&&P.forEach(function(j){return t(p,j)}),be&&vr(p,N),C}function b(p,f,h,$){var C=qo(h);if(typeof C!="function")throw Error(x(150));if(h=C.call(h),h==null)throw Error(x(151));for(var E=C=null,P=f,N=f=0,M=null,F=h.next();P!==null&&!F.done;N++,F=h.next()){P.index>N?(M=P,P=null):M=P.sibling;var j=m(p,P,F.value,$);if(j===null){P===null&&(P=M);break}e&&P&&j.alternate===null&&t(p,P),f=i(j,f,N),E===null?C=j:E.sibling=j,E=j,P=M}if(F.done)return n(p,P),be&&vr(p,N),C;if(P===null){for(;!F.done;N++,F=h.next())F=d(p,F.value,$),F!==null&&(f=i(F,f,N),E===null?C=F:E.sibling=F,E=F);return be&&vr(p,N),C}for(P=r(p,P);!F.done;N++,F=h.next())F=g(P,p,N,F.value,$),F!==null&&(e&&F.alternate!==null&&P.delete(F.key===null?N:F.key),f=i(F,f,N),E===null?C=F:E.sibling=F,E=F);return e&&P.forEach(function(O){return t(p,O)}),be&&vr(p,N),C}function R(p,f,h,$){if(typeof h=="object"&&h!==null&&h.type===no&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Ma:e:{for(var C=h.key,E=f;E!==null;){if(E.key===C){if(C=h.type,C===no){if(E.tag===7){n(p,E.sibling),f=o(E,h.props.children),f.return=p,p=f;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Un&&kp(C)===E.type){n(p,E.sibling),f=o(E,h.props),f.ref=ti(p,E,h),f.return=p,p=f;break e}n(p,E);break}else t(p,E);E=E.sibling}h.type===no?(f=Er(h.props.children,p.mode,$,h.key),f.return=p,p=f):($=ll(h.type,h.key,h.props,null,p.mode,$),$.ref=ti(p,f,h),$.return=p,p=$)}return a(p);case to:e:{for(E=h.key;f!==null;){if(f.key===E)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(p,f.sibling),f=o(f,h.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=wu(h,p.mode,$),f.return=p,p=f}return a(p);case Un:return E=h._init,R(p,f,E(h._payload),$)}if(ai(h))return y(p,f,h,$);if(qo(h))return b(p,f,h,$);Qa(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(n(p,f.sibling),f=o(f,h),f.return=p,p=f):(n(p,f),f=xu(h,p.mode,$),f.return=p,p=f),a(p)):n(p,f)}return R}var So=Ym(!0),Xm=Ym(!1),xl=sr(null),wl=null,co=null,Ic=null;function Dc(){Ic=co=wl=null}function Fc(e){var t=xl.current;me(xl),e._currentValue=t}function Zu(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 bo(e,t){wl=e,Ic=co=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(ht=!0),e.firstContext=null)}function Ht(e){var t=e._currentValue;if(Ic!==e)if(e={context:e,memoizedValue:t,next:null},co===null){if(wl===null)throw Error(x(308));co=e,wl.dependencies={lanes:0,firstContext:e}}else co=co.next=e;return t}var Sr=null;function Kc(e){Sr===null?Sr=[e]:Sr.push(e)}function qm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Kc(t)):(n.next=o.next,o.next=n),t.interleaved=n,Rn(e,r)}function Rn(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 jn=!1;function Oc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Zm(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 Pn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function tr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(J&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Rn(e,n)}return o=r.interleaved,o===null?(t.next=t,Kc(r)):(t.next=o.next,o.next=t),r.interleaved=t,Rn(e,n)}function tl(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,Sc(e,n)}}function Ep(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,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 Sl(e,t,n,r){var o=e.updateQueue;jn=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var s=l,u=s.next;s.next=null,a===null?i=u:a.next=u,a=s;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==a&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(i!==null){var d=o.baseState;a=0,c=u=s=null,l=i;do{var m=l.lane,g=l.eventTime;if((r&m)===m){c!==null&&(c=c.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,b=l;switch(m=t,g=n,b.tag){case 1:if(y=b.payload,typeof y=="function"){d=y.call(g,d,m);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=b.payload,m=typeof y=="function"?y.call(g,d,m):y,m==null)break e;d=Se({},d,m);break e;case 2:jn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[l]:m.push(l))}else g={eventTime:g,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=g,s=d):c=c.next=g,a|=m;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;m=l,l=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(c===null&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Lr|=a,e.lanes=a,e.memoizedState=d}}function Tp(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(x(191,o));o.call(r)}}}var Oi={},gn=sr(Oi),Pi=sr(Oi),Li=sr(Oi);function Cr(e){if(e===Oi)throw Error(x(174));return e}function Ac(e,t){switch(de(Li,t),de(Pi,e),de(gn,Oi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ru(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ru(t,e)}me(gn),de(gn,t)}function Co(){me(gn),me(Pi),me(Li)}function Jm(e){Cr(Li.current);var t=Cr(gn.current),n=Ru(t,e.type);t!==n&&(de(Pi,e),de(gn,n))}function Bc(e){Pi.current===e&&(me(gn),me(Pi))}var xe=sr(0);function Cl(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)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var hu=[];function zc(){for(var e=0;e<hu.length;e++)hu[e]._workInProgressVersionPrimary=null;hu.length=0}var nl=In.ReactCurrentDispatcher,gu=In.ReactCurrentBatchConfig,Pr=0,we=null,Ie=null,Fe=null,kl=!1,mi=!1,Ni=0,ly=0;function je(){throw Error(x(321))}function Hc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!tn(e[n],t[n]))return!1;return!0}function Vc(e,t,n,r,o,i){if(Pr=i,we=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nl.current=e===null||e.memoizedState===null?dy:fy,e=n(r,o),mi){i=0;do{if(mi=!1,Ni=0,25<=i)throw Error(x(301));i+=1,Fe=Ie=null,t.updateQueue=null,nl.current=py,e=n(r,o)}while(mi)}if(nl.current=El,t=Ie!==null&&Ie.next!==null,Pr=0,Fe=Ie=we=null,kl=!1,t)throw Error(x(300));return e}function Wc(){var e=Ni!==0;return Ni=0,e}function pn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?we.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function Vt(){if(Ie===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=Ie.next;var t=Fe===null?we.memoizedState:Fe.next;if(t!==null)Fe=t,Ie=e;else{if(e===null)throw Error(x(310));Ie=e,e={memoizedState:Ie.memoizedState,baseState:Ie.baseState,baseQueue:Ie.baseQueue,queue:Ie.queue,next:null},Fe===null?we.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function Ri(e,t){return typeof t=="function"?t(e):t}function $u(e){var t=Vt(),n=t.queue;if(n===null)throw Error(x(311));n.lastRenderedReducer=e;var r=Ie,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=a=null,s=null,u=i;do{var c=u.lane;if((Pr&c)===c)s!==null&&(s=s.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 d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};s===null?(l=s=d,a=r):s=s.next=d,we.lanes|=c,Lr|=c}u=u.next}while(u!==null&&u!==i);s===null?a=r:s.next=l,tn(r,t.memoizedState)||(ht=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,we.lanes|=i,Lr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function bu(e){var t=Vt(),n=t.queue;if(n===null)throw Error(x(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);tn(i,t.memoizedState)||(ht=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function e0(){}function t0(e,t){var n=we,r=Vt(),o=t(),i=!tn(r.memoizedState,o);if(i&&(r.memoizedState=o,ht=!0),r=r.queue,Uc(o0.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Fe!==null&&Fe.memoizedState.tag&1){if(n.flags|=2048,Mi(9,r0.bind(null,n,r,o,t),void 0,null),Ke===null)throw Error(x(349));(Pr&30)!==0||n0(n,t,o)}return o}function n0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function r0(e,t,n,r){t.value=n,t.getSnapshot=r,i0(t)&&a0(e)}function o0(e,t,n){return n(function(){i0(t)&&a0(e)})}function i0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!tn(e,n)}catch{return!0}}function a0(e){var t=Rn(e,1);t!==null&&en(t,e,1,-1)}function _p(e){var t=pn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:e},t.queue=e,e=e.dispatch=cy.bind(null,we,e),[t.memoizedState,e]}function Mi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.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 l0(){return Vt().memoizedState}function rl(e,t,n,r){var o=pn();we.flags|=e,o.memoizedState=Mi(1|t,n,void 0,r===void 0?null:r)}function Ol(e,t,n,r){var o=Vt();r=r===void 0?null:r;var i=void 0;if(Ie!==null){var a=Ie.memoizedState;if(i=a.destroy,r!==null&&Hc(r,a.deps)){o.memoizedState=Mi(t,n,i,r);return}}we.flags|=e,o.memoizedState=Mi(1|t,n,i,r)}function Pp(e,t){return rl(8390656,8,e,t)}function Uc(e,t){return Ol(2048,8,e,t)}function s0(e,t){return Ol(4,2,e,t)}function u0(e,t){return Ol(4,4,e,t)}function c0(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 d0(e,t,n){return n=n!=null?n.concat([e]):null,Ol(4,4,c0.bind(null,t,e),n)}function jc(){}function f0(e,t){var n=Vt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Hc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function p0(e,t){var n=Vt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Hc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function m0(e,t,n){return(Pr&21)===0?(e.baseState&&(e.baseState=!1,ht=!0),e.memoizedState=n):(tn(n,t)||(n=ym(),we.lanes|=n,Lr|=n,e.baseState=!0),t)}function sy(e,t){var n=ae;ae=n!==0&&4>n?n:4,e(!0);var r=gu.transition;gu.transition={};try{e(!1),t()}finally{ae=n,gu.transition=r}}function h0(){return Vt().memoizedState}function uy(e,t,n){var r=rr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},g0(e))$0(t,n);else if(n=qm(e,t,n,r),n!==null){var o=tt();en(n,e,r,o),b0(n,t,r)}}function cy(e,t,n){var r=rr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(g0(e))$0(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,tn(l,a)){var s=t.interleaved;s===null?(o.next=o,Kc(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=qm(e,t,o,r),n!==null&&(o=tt(),en(n,e,r,o),b0(n,t,r))}}function g0(e){var t=e.alternate;return e===we||t!==null&&t===we}function $0(e,t){mi=kl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function b0(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Sc(e,n)}}var El={readContext:Ht,useCallback:je,useContext:je,useEffect:je,useImperativeHandle:je,useInsertionEffect:je,useLayoutEffect:je,useMemo:je,useReducer:je,useRef:je,useState:je,useDebugValue:je,useDeferredValue:je,useTransition:je,useMutableSource:je,useSyncExternalStore:je,useId:je,unstable_isNewReconciler:!1},dy={readContext:Ht,useCallback:function(e,t){return pn().memoizedState=[e,t===void 0?null:t],e},useContext:Ht,useEffect:Pp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,rl(4194308,4,c0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rl(4194308,4,e,t)},useInsertionEffect:function(e,t){return rl(4,2,e,t)},useMemo:function(e,t){var n=pn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=pn();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=uy.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=pn();return e={current:e},t.memoizedState=e},useState:_p,useDebugValue:jc,useDeferredValue:function(e){return pn().memoizedState=e},useTransition:function(){var e=_p(!1),t=e[0];return e=sy.bind(null,e[1]),pn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,o=pn();if(be){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),Ke===null)throw Error(x(349));(Pr&30)!==0||n0(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Pp(o0.bind(null,r,i,e),[e]),r.flags|=2048,Mi(9,r0.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=pn(),t=Ke.identifierPrefix;if(be){var n=_n,r=Tn;n=(r&~(1<<32-Jt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ni++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ly++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},fy={readContext:Ht,useCallback:f0,useContext:Ht,useEffect:Uc,useImperativeHandle:d0,useInsertionEffect:s0,useLayoutEffect:u0,useMemo:p0,useReducer:$u,useRef:l0,useState:function(){return $u(Ri)},useDebugValue:jc,useDeferredValue:function(e){var t=Vt();return m0(t,Ie.memoizedState,e)},useTransition:function(){var e=$u(Ri)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:e0,useSyncExternalStore:t0,useId:h0,unstable_isNewReconciler:!1},py={readContext:Ht,useCallback:f0,useContext:Ht,useEffect:Uc,useImperativeHandle:d0,useInsertionEffect:s0,useLayoutEffect:u0,useMemo:p0,useReducer:bu,useRef:l0,useState:function(){return bu(Ri)},useDebugValue:jc,useDeferredValue:function(e){var t=Vt();return Ie===null?t.memoizedState=e:m0(t,Ie.memoizedState,e)},useTransition:function(){var e=bu(Ri)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:e0,useSyncExternalStore:t0,useId:h0,unstable_isNewReconciler:!1};function Xt(e,t){if(e&&e.defaultProps){t=Se({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ju(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Se({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Al={isMounted:function(e){return(e=e._reactInternals)?Mr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tt(),o=rr(e),i=Pn(r,o);i.payload=t,n!=null&&(i.callback=n),t=tr(e,i,o),t!==null&&(en(t,e,o,r),tl(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tt(),o=rr(e),i=Pn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=tr(e,i,o),t!==null&&(en(t,e,o,r),tl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tt(),r=rr(e),o=Pn(n,r);o.tag=2,t!=null&&(o.callback=t),t=tr(e,o,r),t!==null&&(en(t,e,r,n),tl(t,e,r))}};function Lp(e,t,n,r,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!ki(n,r)||!ki(o,i):!0}function y0(e,t,n){var r=!1,o=ar,i=t.contextType;return typeof i=="object"&&i!==null?i=Ht(i):(o=$t(t)?Tr:Ye.current,r=t.contextTypes,i=(r=r!=null)?xo(e,o):ar),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Al,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Np(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&&Al.enqueueReplaceState(t,t.state,null)}function ec(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Oc(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ht(i):(i=$t(t)?Tr:Ye.current,o.context=xo(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ju(e,t,i,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&&Al.enqueueReplaceState(o,o.state,null),Sl(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function ko(e,t){try{var n="",r=t;do n+=V$(r),r=r.return;while(r);var o=n}catch(i){o=`
|
|
7
7
|
Error generating stack: `+i.message+`
|
|
8
|
-
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function el(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Hl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ch=typeof WeakMap=="function"?WeakMap:Map;function nd(e,t,n){n=wt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qo||(Qo=!0,Gl=r),Hl(e,t)},n}function rd(e,t,n){n=wt(-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(){Hl(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Hl(e,t),typeof r!="function"&&(At===null?At=new Set([this]):At.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function hs(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ch;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=Ch.bind(null,e,t,n),t.then(e,e))}function ms(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 vs(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wt(-1,1),t.tag=2,$t(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var dh=Ct.ReactCurrentOwner,Pe=!1;function we(e,t,n,r){t.child=e===null?Tc(t,null,n,r):Fn(t,e.child,n,r)}function gs(e,t,n,r,o){n=n.render;var i=t.ref;return Tn(t,o),r=Cu(e,t,n,r,i,o),n=_u(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Et(e,t,o)):(Y&&n&&fu(t),t.flags|=1,we(e,t,r,o),t.child)}function ys(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Du(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,od(e,t,i,r,o)):(e=Co(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:kr,n(l,r)&&e.ref===t.ref)return Et(e,t,o)}return t.flags|=1,e=jt(i,r),e.ref=t.ref,e.return=t,t.child=e}function od(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(kr(i,r)&&e.ref===t.ref)if(Pe=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Pe=!0);else return t.lanes=e.lanes,Et(e,t,o)}return Fl(e,t,n,r,o)}function id(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q(Nn,Te),Te|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Q(Nn,Te),Te|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Q(Nn,Te),Te|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Q(Nn,Te),Te|=r;return we(e,t,o,n),t.child}function ld(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Fl(e,t,n,r,o){var i=ze(n)?tn:ge.current;return i=Dn(t,i),Tn(t,o),n=Cu(e,t,n,r,i,o),r=_u(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Et(e,t,o)):(Y&&r&&fu(t),t.flags|=1,we(e,t,n,o),t.child)}function ws(e,t,n,r,o){if(ze(n)){var i=!0;Do(t)}else i=!1;if(Tn(t,o),t.stateNode===null)So(e,t),td(t,n,r),Dl(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,u=t.memoizedProps;l.props=u;var a=l.context,c=n.contextType;typeof c=="object"&&c!==null?c=Ge(c):(c=ze(n)?tn:ge.current,c=Dn(t,c));var p=n.getDerivedStateFromProps,m=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==r||a!==c)&&ps(t,l,r,c),Rt=!1;var h=t.memoizedState;l.state=h,Bo(t,r,l,o),a=t.memoizedState,u!==r||h!==a||Ne.current||Rt?(typeof p=="function"&&(Ol(t,n,p,r),a=t.memoizedState),(u=Rt||fs(t,n,u,r,h,a,c))?(m||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=c,r=u):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Oc(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:be(t.type,u),l.props=c,m=t.pendingProps,h=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ge(a):(a=ze(n)?tn:ge.current,a=Dn(t,a));var S=n.getDerivedStateFromProps;(p=typeof S=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==m||h!==a)&&ps(t,l,r,a),Rt=!1,h=t.memoizedState,l.state=h,Bo(t,r,l,o);var w=t.memoizedState;u!==m||h!==w||Ne.current||Rt?(typeof S=="function"&&(Ol(t,n,S,r),w=t.memoizedState),(c=Rt||fs(t,n,c,r,h,w,a)||!1)?(p||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,w,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,w,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),l.props=r,l.state=w,l.context=a,r=c):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return $l(e,t,n,r,i,o)}function $l(e,t,n,r,o,i){ld(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&os(t,n,!1),Et(e,t,i);r=t.stateNode,dh.current=t;var u=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Fn(t,e.child,null,i),t.child=Fn(t,null,u,i)):we(e,t,u,i),t.memoizedState=r.state,o&&os(t,n,!0),t.child}function ud(e){var t=e.stateNode;t.pendingContext?rs(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rs(e,t.context,!1),xu(e,t.containerInfo)}function xs(e,t,n,r,o){return Hn(),hu(o),t.flags|=256,we(e,t,n,r),t.child}var Al={dehydrated:null,treeContext:null,retryLane:0};function Bl(e){return{baseLanes:e,cachePool:null,transitions:null}}function ad(e,t,n){var r=t.pendingProps,o=q.current,i=!1,l=(t.flags&128)!==0,u;if((u=l)||(u=e!==null&&e.memoizedState===null?!1:(o&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Q(q,o&1),e===null)return Tl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=l):i=ii(l,r,0,null),e=en(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Bl(n),t.memoizedState=Al,e):zu(t,l));if(o=e.memoizedState,o!==null&&(u=o.dehydrated,u!==null))return fh(e,t,l,r,u,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,u=o.sibling;var a={mode:"hidden",children:r.children};return(l&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=jt(o,a),r.subtreeFlags=o.subtreeFlags&14680064),u!==null?i=jt(u,i):(i=en(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?Bl(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=Al,r}return i=e.child,e=i.sibling,r=jt(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(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 zu(e,t){return t=ii({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function fo(e,t,n,r){return r!==null&&hu(r),Fn(t,e.child,null,n),e=zu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function fh(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=el(Error(g(422))),fo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=ii({mode:"visible",children:r.children},o,0,null),i=en(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Fn(t,e.child,null,l),t.child.memoizedState=Bl(l),t.memoizedState=Al,i);if((t.mode&1)===0)return fo(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(g(419)),r=el(i,r,void 0),fo(e,t,l,r)}if(u=(l&e.childLanes)!==0,Pe||u){if(r=se,r!==null){switch(l&-l){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|l))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,kt(e,o),rt(r,e,o,-1))}return Ou(),r=el(Error(g(421))),fo(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=_h.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Me=Ft(o.nextSibling),Oe=t,Y=!0,tt=null,e!==null&&(Ue[We++]=gt,Ue[We++]=yt,Ue[We++]=nn,gt=e.id,yt=e.overflow,nn=t),t=zu(t,r.children),t.flags|=4096,t)}function Ss(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ml(e.return,t,n)}function tl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function sd(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(we(e,t,r.children,n),r=q.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ss(e,n,t);else if(e.tag===19)Ss(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(Q(q,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&jo(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),tl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&jo(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}tl(t,!0,n,null,i);break;case"together":tl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function So(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Et(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),on|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(g(153));if(t.child!==null){for(e=t.child,n=jt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=jt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ph(e,t,n){switch(t.tag){case 3:ud(t),Hn();break;case 5:Dc(t);break;case 1:ze(t.type)&&Do(t);break;case 4:xu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Q($o,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Q(q,q.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?ad(e,t,n):(Q(q,q.current&1),e=Et(e,t,n),e!==null?e.sibling:null);Q(q,q.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return sd(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Q(q,q.current),r)break;return null;case 22:case 23:return t.lanes=0,id(e,t,n)}return Et(e,t,n)}var cd,jl,dd,fd;cd=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}};jl=function(){};dd=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,qt(dt.current);var i=null;switch(n){case"input":o=sl(e,o),r=sl(e,r),i=[];break;case"select":o=ee({},o,{value:void 0}),r=ee({},r,{value:void 0}),i=[];break;case"textarea":o=fl(e,o),r=fl(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Mo)}hl(n,r);var l;n=null;for(c in o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var u=o[c];for(l in u)u.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(mr.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var a=r[c];if(u=o?.[c],r.hasOwnProperty(c)&&a!==u&&(a!=null||u!=null))if(c==="style")if(u){for(l in u)!u.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&u[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(i||(i=[]),i.push(c,n)),n=a;else c==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,u=u?u.__html:void 0,a!=null&&u!==a&&(i=i||[]).push(c,a)):c==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(c,""+a):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(mr.hasOwnProperty(c)?(a!=null&&c==="onScroll"&&G("scroll",e),i||u===a||(i=[])):(i=i||[]).push(c,a))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};fd=function(e,t,n,r){n!==r&&(t.flags|=4)};function bn(e,t){if(!Y)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 me(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 hh(e,t,n){var r=t.pendingProps;switch(pu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return me(t),null;case 1:return ze(t.type)&&Oo(),me(t),null;case 3:return r=t.stateNode,$n(),K(Ne),K(ge),ku(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(so(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,tt!==null&&(Xl(tt),tt=null))),jl(e,t),me(t),null;case 5:Su(t);var o=qt(Nr.current);if(n=t.type,e!==null&&t.stateNode!=null)dd(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(g(166));return me(t),null}if(e=qt(dt.current),so(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[st]=t,r[_r]=i,e=(t.mode&1)!==0,n){case"dialog":G("cancel",r),G("close",r);break;case"iframe":case"object":case"embed":G("load",r);break;case"video":case"audio":for(o=0;o<ir.length;o++)G(ir[o],r);break;case"source":G("error",r);break;case"img":case"image":case"link":G("error",r),G("load",r);break;case"details":G("toggle",r);break;case"input":Ra(r,i),G("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},G("invalid",r);break;case"textarea":Ia(r,i),G("invalid",r)}hl(n,i),o=null;for(var l in i)if(i.hasOwnProperty(l)){var u=i[l];l==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&ao(r.textContent,u,e),o=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&ao(r.textContent,u,e),o=["children",""+u]):mr.hasOwnProperty(l)&&u!=null&&l==="onScroll"&&G("scroll",r)}switch(n){case"input":Zr(r),La(r,i,!0);break;case"textarea":Zr(r),Ta(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Mo)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Bs(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[st]=t,e[_r]=r,cd(e,t,!1,!1),t.stateNode=e;e:{switch(l=ml(n,r),n){case"dialog":G("cancel",e),G("close",e),o=r;break;case"iframe":case"object":case"embed":G("load",e),o=r;break;case"video":case"audio":for(o=0;o<ir.length;o++)G(ir[o],e);o=r;break;case"source":G("error",e),o=r;break;case"img":case"image":case"link":G("error",e),G("load",e),o=r;break;case"details":G("toggle",e),o=r;break;case"input":Ra(e,r),o=sl(e,r),G("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ee({},r,{value:void 0}),G("invalid",e);break;case"textarea":Ia(e,r),o=fl(e,r),G("invalid",e);break;default:o=r}hl(n,o),u=o;for(i in u)if(u.hasOwnProperty(i)){var a=u[i];i==="style"?Ws(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&js(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&vr(e,a):typeof a=="number"&&vr(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(mr.hasOwnProperty(i)?a!=null&&i==="onScroll"&&G("scroll",e):a!=null&&ql(e,i,a,l))}switch(n){case"input":Zr(e),La(e,r,!1);break;case"textarea":Zr(e),Ta(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ut(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?zn(e,!!r.multiple,i,!1):r.defaultValue!=null&&zn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Mo)}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 me(t),null;case 6:if(e&&t.stateNode!=null)fd(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(g(166));if(n=qt(Nr.current),qt(dt.current),so(t)){if(r=t.stateNode,n=t.memoizedProps,r[st]=t,(i=r.nodeValue!==n)&&(e=Oe,e!==null))switch(e.tag){case 3:ao(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ao(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[st]=t,t.stateNode=r}return me(t),null;case 13:if(K(q),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Y&&Me!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Lc(),Hn(),t.flags|=98560,i=!1;else if(i=so(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(g(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(g(317));i[st]=t}else Hn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;me(t),i=!1}else tt!==null&&(Xl(tt),tt=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(q.current&1)!==0?ue===0&&(ue=3):Ou())),t.updateQueue!==null&&(t.flags|=4),me(t),null);case 4:return $n(),jl(e,t),e===null&&Er(t.stateNode.containerInfo),me(t),null;case 10:return gu(t.type._context),me(t),null;case 17:return ze(t.type)&&Oo(),me(t),null;case 19:if(K(q),i=t.memoizedState,i===null)return me(t),null;if(r=(t.flags&128)!==0,l=i.rendering,l===null)if(r)bn(i,!1);else{if(ue!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=jo(e),l!==null){for(t.flags|=128,bn(i,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Q(q,q.current&1|2),t.child}e=e.sibling}i.tail!==null&&re()>Bn&&(t.flags|=128,r=!0,bn(i,!1),t.lanes=4194304)}else{if(!r)if(e=jo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!Y)return me(t),null}else 2*re()-i.renderingStartTime>Bn&&n!==1073741824&&(t.flags|=128,r=!0,bn(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=re(),t.sibling=null,n=q.current,Q(q,r?n&1|2:n&1),t):(me(t),null);case 22:case 23:return Mu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Te&1073741824)!==0&&(me(t),t.subtreeFlags&6&&(t.flags|=8192)):me(t),null;case 24:return null;case 25:return null}throw Error(g(156,t.tag))}function mh(e,t){switch(pu(t),t.tag){case 1:return ze(t.type)&&Oo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $n(),K(Ne),K(ge),ku(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Su(t),null;case 13:if(K(q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(g(340));Hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(q),null;case 4:return $n(),null;case 10:return gu(t.type._context),null;case 22:case 23:return Mu(),null;case 24:return null;default:return null}}var po=!1,ve=!1,vh=typeof WeakSet=="function"?WeakSet:Set,_=null;function Pn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Ul(e,t,n){try{n()}catch(r){te(e,t,r)}}var ks=!1;function gh(e,t){if(_l=Lo,e=gc(),du(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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,a=-1,c=0,p=0,m=e,h=null;t:for(;;){for(var S;m!==n||o!==0&&m.nodeType!==3||(u=l+o),m!==i||r!==0&&m.nodeType!==3||(a=l+r),m.nodeType===3&&(l+=m.nodeValue.length),(S=m.firstChild)!==null;)h=m,m=S;for(;;){if(m===e)break t;if(h===n&&++c===o&&(u=l),h===i&&++p===r&&(a=l),(S=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=S}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pl={focusedElem:e,selectionRange:n},Lo=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var w=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,T=w.memoizedState,d=t.stateNode,s=d.getSnapshotBeforeUpdate(t.elementType===t.type?x:be(t.type,x),T);d.__reactInternalSnapshotBeforeUpdate=s}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(g(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return w=ks,ks=!1,w}function fr(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 i=o.destroy;o.destroy=void 0,i!==void 0&&Ul(t,n,i)}o=o.next}while(o!==r)}}function ri(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 Wl(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 pd(e){var t=e.alternate;t!==null&&(e.alternate=null,pd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[st],delete t[_r],delete t[Rl],delete t[bp],delete t[eh])),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 hd(e){return e.tag===5||e.tag===3||e.tag===4}function Es(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hd(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 Vl(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=Mo));else if(r!==4&&(e=e.child,e!==null))for(Vl(e,t,n),e=e.sibling;e!==null;)Vl(e,t,n),e=e.sibling}function Ql(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(Ql(e,t,n),e=e.sibling;e!==null;)Ql(e,t,n),e=e.sibling}var ce=null,et=!1;function Nt(e,t,n){for(n=n.child;n!==null;)md(e,t,n),n=n.sibling}function md(e,t,n){if(ct&&typeof ct.onCommitFiberUnmount=="function")try{ct.onCommitFiberUnmount(Xo,n)}catch{}switch(n.tag){case 5:ve||Pn(n,t);case 6:var r=ce,o=et;ce=null,Nt(e,t,n),ce=r,et=o,ce!==null&&(et?(e=ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ce.removeChild(n.stateNode));break;case 18:ce!==null&&(et?(e=ce,n=n.stateNode,e.nodeType===8?Yi(e.parentNode,n):e.nodeType===1&&Yi(e,n),xr(e)):Yi(ce,n.stateNode));break;case 4:r=ce,o=et,ce=n.stateNode.containerInfo,et=!0,Nt(e,t,n),ce=r,et=o;break;case 0:case 11:case 14:case 15:if(!ve&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&((i&2)!==0||(i&4)!==0)&&Ul(n,t,l),o=o.next}while(o!==r)}Nt(e,t,n);break;case 1:if(!ve&&(Pn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Nt(e,t,n);break;case 21:Nt(e,t,n);break;case 22:n.mode&1?(ve=(r=ve)||n.memoizedState!==null,Nt(e,t,n),ve=r):Nt(e,t,n);break;default:Nt(e,t,n)}}function Cs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vh),t.forEach(function(r){var o=Ph.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function qe(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,u=l;e:for(;u!==null;){switch(u.tag){case 5:ce=u.stateNode,et=!1;break e;case 3:ce=u.stateNode.containerInfo,et=!0;break e;case 4:ce=u.stateNode.containerInfo,et=!0;break e}u=u.return}if(ce===null)throw Error(g(160));md(i,l,o),ce=null,et=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(c){te(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)vd(t,e),t=t.sibling}function vd(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(qe(t,e),ut(e),r&4){try{fr(3,e,e.return),ri(3,e)}catch(x){te(e,e.return,x)}try{fr(5,e,e.return)}catch(x){te(e,e.return,x)}}break;case 1:qe(t,e),ut(e),r&512&&n!==null&&Pn(n,n.return);break;case 5:if(qe(t,e),ut(e),r&512&&n!==null&&Pn(n,n.return),e.flags&32){var o=e.stateNode;try{vr(o,"")}catch(x){te(e,e.return,x)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,l=n!==null?n.memoizedProps:i,u=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&$s(o,i),ml(u,l);var c=ml(u,i);for(l=0;l<a.length;l+=2){var p=a[l],m=a[l+1];p==="style"?Ws(o,m):p==="dangerouslySetInnerHTML"?js(o,m):p==="children"?vr(o,m):ql(o,p,m,c)}switch(u){case"input":cl(o,i);break;case"textarea":As(o,i);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var S=i.value;S!=null?zn(o,!!i.multiple,S,!1):h!==!!i.multiple&&(i.defaultValue!=null?zn(o,!!i.multiple,i.defaultValue,!0):zn(o,!!i.multiple,i.multiple?[]:"",!1))}o[_r]=i}catch(x){te(e,e.return,x)}}break;case 6:if(qe(t,e),ut(e),r&4){if(e.stateNode===null)throw Error(g(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(x){te(e,e.return,x)}}break;case 3:if(qe(t,e),ut(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{xr(t.containerInfo)}catch(x){te(e,e.return,x)}break;case 4:qe(t,e),ut(e);break;case 13:qe(t,e),ut(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Iu=re())),r&4&&Cs(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(ve=(c=ve)||p,qe(t,e),ve=c):qe(t,e),ut(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!p&&(e.mode&1)!==0)for(_=e,p=e.child;p!==null;){for(m=_=p;_!==null;){switch(h=_,S=h.child,h.tag){case 0:case 11:case 14:case 15:fr(4,h,h.return);break;case 1:Pn(h,h.return);var w=h.stateNode;if(typeof w.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(x){te(r,n,x)}}break;case 5:Pn(h,h.return);break;case 22:if(h.memoizedState!==null){Ps(m);continue}}S!==null?(S.return=h,_=S):Ps(m)}p=p.sibling}e:for(p=null,m=e;;){if(m.tag===5){if(p===null){p=m;try{o=m.stateNode,c?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=m.stateNode,a=m.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,u.style.display=Us("display",l))}catch(x){te(e,e.return,x)}}}else if(m.tag===6){if(p===null)try{m.stateNode.nodeValue=c?"":m.memoizedProps}catch(x){te(e,e.return,x)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;p===m&&(p=null),m=m.return}p===m&&(p=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:qe(t,e),ut(e),r&4&&Cs(e);break;case 21:break;default:qe(t,e),ut(e)}}function ut(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(hd(n)){var r=n;break e}n=n.return}throw Error(g(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(vr(o,""),r.flags&=-33);var i=Es(e);Ql(e,i,o);break;case 3:case 4:var l=r.stateNode.containerInfo,u=Es(e);Vl(e,u,l);break;default:throw Error(g(161))}}catch(a){te(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function yh(e,t,n){_=e,gd(e,t,n)}function gd(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var o=_,i=o.child;if(o.tag===22&&r){var l=o.memoizedState!==null||po;if(!l){var u=o.alternate,a=u!==null&&u.memoizedState!==null||ve;u=po;var c=ve;if(po=l,(ve=a)&&!c)for(_=o;_!==null;)l=_,a=l.child,l.tag===22&&l.memoizedState!==null?Ns(o):a!==null?(a.return=l,_=a):Ns(o);for(;i!==null;)_=i,gd(i,t,n),i=i.sibling;_=o,po=u,ve=c}_s(e,t,n)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,_=i):_s(e,t,n)}}function _s(e){for(;_!==null;){var t=_;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:ve||ri(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ve)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:be(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&ss(t,i,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ss(t,l,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;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 c=t.alternate;if(c!==null){var p=c.memoizedState;if(p!==null){var m=p.dehydrated;m!==null&&xr(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(g(163))}ve||t.flags&512&&Wl(t)}catch(h){te(t,t.return,h)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function Ps(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 Ns(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ri(4,t)}catch(a){te(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){te(t,o,a)}}var i=t.return;try{Wl(t)}catch(a){te(t,i,a)}break;case 5:var l=t.return;try{Wl(t)}catch(a){te(t,l,a)}}}catch(a){te(t,t.return,a)}if(t===e){_=null;break}var u=t.sibling;if(u!==null){u.return=t.return,_=u;break}_=t.return}}var wh=Math.ceil,Vo=Ct.ReactCurrentDispatcher,Ru=Ct.ReactCurrentOwner,Qe=Ct.ReactCurrentBatchConfig,$=0,se=null,oe=null,de=0,Te=0,Nn=Qt(0),ue=0,Ir=null,on=0,oi=0,Lu=0,pr=null,_e=null,Iu=0,Bn=1/0,mt=null,Qo=!1,Gl=null,At=null,ho=!1,Mt=null,Go=0,hr=0,Kl=null,ko=-1,Eo=0;function xe(){return($&6)!==0?re():ko!==-1?ko:ko=re()}function Bt(e){return(e.mode&1)===0?1:($&2)!==0&&de!==0?de&-de:nh.transition!==null?(Eo===0&&(Eo=tc()),Eo):(e=B,e!==0||(e=window.event,e=e===void 0?16:ac(e.type)),e)}function rt(e,t,n,r){if(50<hr)throw hr=0,Kl=null,Error(g(185));Tr(e,n,r),(($&2)===0||e!==se)&&(e===se&&(($&2)===0&&(oi|=n),ue===4&&It(e,de)),Re(e,r),n===1&&$===0&&(t.mode&1)===0&&(Bn=re()+500,ei&&Gt()))}function Re(e,t){var n=e.callbackNode;op(e,t);var r=Ro(e,e===se?de:0);if(r===0)n!==null&&Da(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Da(n),t===1)e.tag===0?th(zs.bind(null,e)):Nc(zs.bind(null,e)),Jp(function(){($&6)===0&&Gt()}),n=null;else{switch(nc(r)){case 1:n=ru;break;case 4:n=bs;break;case 16:n=zo;break;case 536870912:n=ec;break;default:n=zo}n=_d(n,yd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function yd(e,t){if(ko=-1,Eo=0,($&6)!==0)throw Error(g(327));var n=e.callbackNode;if(Mn()&&e.callbackNode!==n)return null;var r=Ro(e,e===se?de:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Ko(e,r);else{t=r;var o=$;$|=2;var i=xd();(se!==e||de!==t)&&(mt=null,Bn=re()+500,bt(e,t));do try{kh();break}catch(u){wd(e,u)}while(!0);vu(),Vo.current=i,$=o,oe!==null?t=0:(se=null,de=0,t=ue)}if(t!==0){if(t===2&&(o=xl(e),o!==0&&(r=o,t=Yl(e,o))),t===1)throw n=Ir,bt(e,0),It(e,r),Re(e,re()),n;if(t===6)It(e,r);else{if(o=e.current.alternate,(r&30)===0&&!xh(o)&&(t=Ko(e,r),t===2&&(i=xl(e),i!==0&&(r=i,t=Yl(e,i))),t===1))throw n=Ir,bt(e,0),It(e,r),Re(e,re()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(g(345));case 2:Xt(e,_e,mt);break;case 3:if(It(e,r),(r&130023424)===r&&(t=Iu+500-re(),10<t)){if(Ro(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){xe(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=zl(Xt.bind(null,e,_e,mt),t);break}Xt(e,_e,mt);break;case 4:if(It(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-nt(r);i=1<<l,l=t[l],l>o&&(o=l),r&=~i}if(r=o,r=re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wh(r/1960))-r,10<r){e.timeoutHandle=zl(Xt.bind(null,e,_e,mt),r);break}Xt(e,_e,mt);break;case 5:Xt(e,_e,mt);break;default:throw Error(g(329))}}}return Re(e,re()),e.callbackNode===n?yd.bind(null,e):null}function Yl(e,t){var n=pr;return e.current.memoizedState.isDehydrated&&(bt(e,t).flags|=256),e=Ko(e,t),e!==2&&(t=_e,_e=n,t!==null&&Xl(t)),e}function Xl(e){_e===null?_e=e:_e.push.apply(_e,e)}function xh(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],i=o.getSnapshot;o=o.value;try{if(!ot(i(),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 It(e,t){for(t&=~Lu,t&=~oi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-nt(t),r=1<<n;e[n]=-1,t&=~r}}function zs(e){if(($&6)!==0)throw Error(g(327));Mn();var t=Ro(e,0);if((t&1)===0)return Re(e,re()),null;var n=Ko(e,t);if(e.tag!==0&&n===2){var r=xl(e);r!==0&&(t=r,n=Yl(e,r))}if(n===1)throw n=Ir,bt(e,0),It(e,t),Re(e,re()),n;if(n===6)throw Error(g(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Xt(e,_e,mt),Re(e,re()),null}function Tu(e,t){var n=$;$|=1;try{return e(t)}finally{$=n,$===0&&(Bn=re()+500,ei&&Gt())}}function ln(e){Mt!==null&&Mt.tag===0&&($&6)===0&&Mn();var t=$;$|=1;var n=Qe.transition,r=B;try{if(Qe.transition=null,B=1,e)return e()}finally{B=r,Qe.transition=n,$=t,($&6)===0&&Gt()}}function Mu(){Te=Nn.current,K(Nn)}function bt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Zp(n)),oe!==null)for(n=oe.return;n!==null;){var r=n;switch(pu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Oo();break;case 3:$n(),K(Ne),K(ge),ku();break;case 5:Su(r);break;case 4:$n();break;case 13:K(q);break;case 19:K(q);break;case 10:gu(r.type._context);break;case 22:case 23:Mu()}n=n.return}if(se=e,oe=e=jt(e.current,null),de=Te=t,ue=0,Ir=null,Lu=oi=on=0,_e=pr=null,Jt!==null){for(t=0;t<Jt.length;t++)if(n=Jt[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var l=i.next;i.next=o,r.next=l}n.pending=r}Jt=null}return e}function wd(e,t){do{var n=oe;try{if(vu(),wo.current=Wo,Uo){for(var r=b.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Uo=!1}if(rn=0,ae=le=b=null,dr=!1,zr=0,Ru.current=null,n===null||n.return===null){ue=1,Ir=t,oe=null;break}e:{var i=e,l=n.return,u=n,a=t;if(t=de,u.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var c=a,p=u,m=p.tag;if((p.mode&1)===0&&(m===0||m===11||m===15)){var h=p.alternate;h?(p.updateQueue=h.updateQueue,p.memoizedState=h.memoizedState,p.lanes=h.lanes):(p.updateQueue=null,p.memoizedState=null)}var S=ms(l);if(S!==null){S.flags&=-257,vs(S,l,u,i,t),S.mode&1&&hs(i,c,t),t=S,a=c;var w=t.updateQueue;if(w===null){var x=new Set;x.add(a),t.updateQueue=x}else w.add(a);break e}else{if((t&1)===0){hs(i,c,t),Ou();break e}a=Error(g(426))}}else if(Y&&u.mode&1){var T=ms(l);if(T!==null){(T.flags&65536)===0&&(T.flags|=256),vs(T,l,u,i,t),hu(An(a,u));break e}}i=a=An(a,u),ue!==4&&(ue=2),pr===null?pr=[i]:pr.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var d=nd(i,a,t);as(i,d);break e;case 1:u=a;var s=i.type,f=i.stateNode;if((i.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(At===null||!At.has(f)))){i.flags|=65536,t&=-t,i.lanes|=t;var v=rd(i,u,t);as(i,v);break e}}i=i.return}while(i!==null)}kd(n)}catch(k){t=k,oe===n&&n!==null&&(oe=n=n.return);continue}break}while(!0)}function xd(){var e=Vo.current;return Vo.current=Wo,e===null?Wo:e}function Ou(){(ue===0||ue===3||ue===2)&&(ue=4),se===null||(on&268435455)===0&&(oi&268435455)===0||It(se,de)}function Ko(e,t){var n=$;$|=2;var r=xd();(se!==e||de!==t)&&(mt=null,bt(e,t));do try{Sh();break}catch(o){wd(e,o)}while(!0);if(vu(),$=n,Vo.current=r,oe!==null)throw Error(g(261));return se=null,de=0,ue}function Sh(){for(;oe!==null;)Sd(oe)}function kh(){for(;oe!==null&&!Xf();)Sd(oe)}function Sd(e){var t=Cd(e.alternate,e,Te);e.memoizedProps=e.pendingProps,t===null?kd(e):oe=t,Ru.current=null}function kd(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=hh(n,t,Te),n!==null){oe=n;return}}else{if(n=mh(n,t),n!==null){n.flags&=32767,oe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ue=6,oe=null;return}}if(t=t.sibling,t!==null){oe=t;return}oe=t=e}while(t!==null);ue===0&&(ue=5)}function Xt(e,t,n){var r=B,o=Qe.transition;try{Qe.transition=null,B=1,Eh(e,t,n,r)}finally{Qe.transition=o,B=r}return null}function Eh(e,t,n,r){do Mn();while(Mt!==null);if(($&6)!==0)throw Error(g(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(g(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(ip(e,i),e===se&&(oe=se=null,de=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||ho||(ho=!0,_d(zo,function(){return Mn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=Qe.transition,Qe.transition=null;var l=B;B=1;var u=$;$|=4,Ru.current=null,gh(e,n),vd(n,e),Qp(Pl),Lo=!!_l,Pl=_l=null,e.current=n,yh(n,e,o),Zf(),$=u,B=l,Qe.transition=i}else e.current=n;if(ho&&(ho=!1,Mt=e,Go=o),i=e.pendingLanes,i===0&&(At=null),bf(n.stateNode,r),Re(e,re()),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(Qo)throw Qo=!1,e=Gl,Gl=null,e;return(Go&1)!==0&&e.tag!==0&&Mn(),i=e.pendingLanes,(i&1)!==0?e===Kl?hr++:(hr=0,Kl=e):hr=0,Gt(),null}function Mn(){if(Mt!==null){var e=nc(Go),t=Qe.transition,n=B;try{if(Qe.transition=null,B=16>e?16:e,Mt===null)var r=!1;else{if(e=Mt,Mt=null,Go=0,($&6)!==0)throw Error(g(331));var o=$;for($|=4,_=e.current;_!==null;){var i=_,l=i.child;if((_.flags&16)!==0){var u=i.deletions;if(u!==null){for(var a=0;a<u.length;a++){var c=u[a];for(_=c;_!==null;){var p=_;switch(p.tag){case 0:case 11:case 15:fr(8,p,i)}var m=p.child;if(m!==null)m.return=p,_=m;else for(;_!==null;){p=_;var h=p.sibling,S=p.return;if(pd(p),p===c){_=null;break}if(h!==null){h.return=S,_=h;break}_=S}}}var w=i.alternate;if(w!==null){var x=w.child;if(x!==null){w.child=null;do{var T=x.sibling;x.sibling=null,x=T}while(x!==null)}}_=i}}if((i.subtreeFlags&2064)!==0&&l!==null)l.return=i,_=l;else e:for(;_!==null;){if(i=_,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:fr(9,i,i.return)}var d=i.sibling;if(d!==null){d.return=i.return,_=d;break e}_=i.return}}var s=e.current;for(_=s;_!==null;){l=_;var f=l.child;if((l.subtreeFlags&2064)!==0&&f!==null)f.return=l,_=f;else e:for(l=s;_!==null;){if(u=_,(u.flags&2048)!==0)try{switch(u.tag){case 0:case 11:case 15:ri(9,u)}}catch(k){te(u,u.return,k)}if(u===l){_=null;break e}var v=u.sibling;if(v!==null){v.return=u.return,_=v;break e}_=u.return}}if($=o,Gt(),ct&&typeof ct.onPostCommitFiberRoot=="function")try{ct.onPostCommitFiberRoot(Xo,e)}catch{}r=!0}return r}finally{B=n,Qe.transition=t}}return!1}function Rs(e,t,n){t=An(n,t),t=nd(e,t,1),e=$t(e,t,1),t=xe(),e!==null&&(Tr(e,1,t),Re(e,t))}function te(e,t,n){if(e.tag===3)Rs(e,e,n);else for(;t!==null;){if(t.tag===3){Rs(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(At===null||!At.has(r))){e=An(n,e),e=rd(t,e,1),t=$t(t,e,1),e=xe(),t!==null&&(Tr(t,1,e),Re(t,e));break}}t=t.return}}function Ch(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=xe(),e.pingedLanes|=e.suspendedLanes&n,se===e&&(de&n)===n&&(ue===4||ue===3&&(de&130023424)===de&&500>re()-Iu?bt(e,0):Lu|=n),Re(e,t)}function Ed(e,t){t===0&&((e.mode&1)===0?t=1:(t=br,br<<=1,(br&130023424)===0&&(br=4194304)));var n=xe();e=kt(e,t),e!==null&&(Tr(e,t,n),Re(e,n))}function _h(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ed(e,n)}function Ph(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(g(314))}r!==null&&r.delete(t),Ed(e,n)}var Cd;Cd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)Pe=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Pe=!1,ph(e,t,n);Pe=(e.flags&131072)!==0}else Pe=!1,Y&&(t.flags&1048576)!==0&&zc(t,Fo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;So(e,t),e=t.pendingProps;var o=Dn(t,ge.current);Tn(t,n),o=Cu(null,t,r,e,o,n);var i=_u();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,ze(r)?(i=!0,Do(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,wu(t),o.updater=ni,t.stateNode=o,o._reactInternals=t,Dl(t,r,e,n),t=$l(null,t,r,!0,i,n)):(t.tag=0,Y&&i&&fu(t),we(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(So(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=zh(r),e=be(r,e),o){case 0:t=Fl(null,t,r,e,n);break e;case 1:t=ws(null,t,r,e,n);break e;case 11:t=gs(null,t,r,e,n);break e;case 14:t=ys(null,t,r,be(r.type,e),n);break e}throw Error(g(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:be(r,o),Fl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:be(r,o),ws(e,t,r,o,n);case 3:e:{if(ud(t),e===null)throw Error(g(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Oc(e,t),Bo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=An(Error(g(423)),t),t=xs(e,t,r,n,o);break e}else if(r!==o){o=An(Error(g(424)),t),t=xs(e,t,r,n,o);break e}else for(Me=Ft(t.stateNode.containerInfo.firstChild),Oe=t,Y=!0,tt=null,n=Tc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hn(),r===o){t=Et(e,t,n);break e}we(e,t,r,n)}t=t.child}return t;case 5:return Dc(t),e===null&&Tl(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Nl(r,o)?l=null:i!==null&&Nl(r,i)&&(t.flags|=32),ld(e,t),we(e,t,l,n),t.child;case 6:return e===null&&Tl(t),null;case 13:return ad(e,t,n);case 4:return xu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fn(t,null,r,n):we(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:be(r,o),gs(e,t,r,o,n);case 7:return we(e,t,t.pendingProps,n),t.child;case 8:return we(e,t,t.pendingProps.children,n),t.child;case 12:return we(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Q($o,r._currentValue),r._currentValue=l,i!==null)if(ot(i.value,l)){if(i.children===o.children&&!Ne.current){t=Et(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=wt(-1,n&-n),a.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var p=c.pending;p===null?a.next=a:(a.next=p.next,p.next=a),c.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Ml(i.return,n,t),u.lanes|=n;break}a=a.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(g(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Ml(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}we(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Tn(t,n),o=Ge(o),r=r(o),t.flags|=1,we(e,t,r,n),t.child;case 14:return r=t.type,o=be(r,t.pendingProps),o=be(r.type,o),ys(e,t,r,o,n);case 15:return od(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:be(r,o),So(e,t),t.tag=1,ze(r)?(e=!0,Do(t)):e=!1,Tn(t,n),td(t,r,o),Dl(t,r,o,n),$l(null,t,r,!0,e,n);case 19:return sd(e,t,n);case 22:return id(e,t,n)}throw Error(g(156,t.tag))};function _d(e,t){return qs(e,t)}function Nh(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 Ve(e,t,n,r){return new Nh(e,t,n,r)}function Du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zh(e){if(typeof e=="function")return Du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===eu)return 11;if(e===tu)return 14}return 2}function jt(e,t){var n=e.alternate;return n===null?(n=Ve(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 Co(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Du(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case gn:return en(n.children,o,i,t);case bl:l=8,o|=8;break;case il:return e=Ve(12,n,t,o|2),e.elementType=il,e.lanes=i,e;case ll:return e=Ve(13,n,t,o),e.elementType=ll,e.lanes=i,e;case ul:return e=Ve(19,n,t,o),e.elementType=ul,e.lanes=i,e;case Ds:return ii(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ms:l=10;break e;case Os:l=9;break e;case eu:l=11;break e;case tu:l=14;break e;case zt:l=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return t=Ve(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function en(e,t,n,r){return e=Ve(7,e,r,t),e.lanes=n,e}function ii(e,t,n,r){return e=Ve(22,e,r,t),e.elementType=Ds,e.lanes=n,e.stateNode={isHidden:!1},e}function nl(e,t,n){return e=Ve(6,e,null,t),e.lanes=n,e}function rl(e,t,n){return t=Ve(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Rh(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=Bi(0),this.expirationTimes=Bi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bi(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Hu(e,t,n,r,o,i,l,u,a){return e=new Rh(e,t,n,u,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ve(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},wu(i),e}function Lh(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:vn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Pd(e){if(!e)return Wt;e=e._reactInternals;e:{if(an(e)!==e||e.tag!==1)throw Error(g(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(g(171))}if(e.tag===1){var n=e.type;if(ze(n))return Pc(e,n,t)}return t}function Nd(e,t,n,r,o,i,l,u,a){return e=Hu(n,r,!0,e,o,i,l,u,a),e.context=Pd(null),n=e.current,r=xe(),o=Bt(n),i=wt(r,o),i.callback=t??null,$t(n,i,o),e.current.lanes=o,Tr(e,o,r),Re(e,r),e}function li(e,t,n,r){var o=t.current,i=xe(),l=Bt(o);return n=Pd(n),t.context===null?t.context=n:t.pendingContext=n,t=wt(i,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=$t(o,t,l),e!==null&&(rt(e,o,l,i),yo(e,o,l)),l}function Yo(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 Ls(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Fu(e,t){Ls(e,t),(e=e.alternate)&&Ls(e,t)}function Ih(){return null}var zd=typeof reportError=="function"?reportError:function(e){console.error(e)};function $u(e){this._internalRoot=e}ui.prototype.render=$u.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(g(409));li(e,t,null,null)};ui.prototype.unmount=$u.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ln(function(){li(null,e,null,null)}),t[St]=null}};function ui(e){this._internalRoot=e}ui.prototype.unstable_scheduleHydration=function(e){if(e){var t=ic();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&t!==0&&t<Lt[n].priority;n++);Lt.splice(n,0,e),n===0&&uc(e)}};function Au(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ai(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Is(){}function Th(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var c=Yo(l);i.call(c)}}var l=Nd(t,r,e,0,null,!1,!1,"",Is);return e._reactRootContainer=l,e[St]=l.current,Er(e.nodeType===8?e.parentNode:e),ln(),l}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var u=r;r=function(){var c=Yo(a);u.call(c)}}var a=Hu(e,0,!1,null,null,!1,!1,"",Is);return e._reactRootContainer=a,e[St]=a.current,Er(e.nodeType===8?e.parentNode:e),ln(function(){li(t,a,n,r)}),a}function si(e,t,n,r,o){var i=n._reactRootContainer;if(i){var l=i;if(typeof o=="function"){var u=o;o=function(){var a=Yo(l);u.call(a)}}li(t,l,e,o)}else l=Th(n,t,e,o,r);return Yo(l)}rc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=or(t.pendingLanes);n!==0&&(ou(t,n|1),Re(t,re()),($&6)===0&&(Bn=re()+500,Gt()))}break;case 13:ln(function(){var r=kt(e,1);if(r!==null){var o=xe();rt(r,e,1,o)}}),Fu(e,1)}};iu=function(e){if(e.tag===13){var t=kt(e,134217728);if(t!==null){var n=xe();rt(t,e,134217728,n)}Fu(e,134217728)}};oc=function(e){if(e.tag===13){var t=Bt(e),n=kt(e,t);if(n!==null){var r=xe();rt(n,e,t,r)}Fu(e,t)}};ic=function(){return B};lc=function(e,t){var n=B;try{return B=e,t()}finally{B=n}};gl=function(e,t,n){switch(t){case"input":if(cl(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=bo(r);if(!o)throw Error(g(90));Fs(r),cl(r,o)}}}break;case"textarea":As(e,n);break;case"select":t=n.value,t!=null&&zn(e,!!n.multiple,t,!1)}};Gs=Tu;Ks=ln;var Mh={usingClientEntryPoint:!1,Events:[Or,Sn,bo,Vs,Qs,Tu]},er={findFiberByHostInstance:Zt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Oh={bundleType:er.bundleType,version:er.version,rendererPackageName:er.rendererPackageName,rendererConfig:er.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ct.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Zs(e),e===null?null:e.stateNode},findFiberByHostInstance:er.findFiberByHostInstance||Ih,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(tr=__REACT_DEVTOOLS_GLOBAL_HOOK__,!tr.isDisabled&&tr.supportsFiber))try{Xo=tr.inject(Oh),ct=tr}catch{}var tr;Fe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Mh;Fe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Au(t))throw Error(g(200));return Lh(e,t,null,n)};Fe.createRoot=function(e,t){if(!Au(e))throw Error(g(299));var n=!1,r="",o=zd;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[St]=t.current,Er(e.nodeType===8?e.parentNode:e),new $u(t)};Fe.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(g(188)):(e=Object.keys(e).join(","),Error(g(268,e)));return e=Zs(t),e=e===null?null:e.stateNode,e};Fe.flushSync=function(e){return ln(e)};Fe.hydrate=function(e,t,n){if(!ai(t))throw Error(g(200));return si(null,e,t,!0,n)};Fe.hydrateRoot=function(e,t,n){if(!Au(e))throw Error(g(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",l=zd;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Nd(t,null,e,1,n??null,o,!1,i,l),e[St]=t.current,Er(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 ui(t)};Fe.render=function(e,t,n){if(!ai(t))throw Error(g(200));return si(null,e,t,!1,n)};Fe.unmountComponentAtNode=function(e){if(!ai(e))throw Error(g(40));return e._reactRootContainer?(ln(function(){si(null,null,e,!1,function(){e._reactRootContainer=null,e[St]=null})}),!0):!1};Fe.unstable_batchedUpdates=Tu;Fe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ai(n))throw Error(g(200));if(e==null||e._reactInternals===void 0)throw Error(g(38));return si(e,t,n,!1,r)};Fe.version="18.3.1-next-f1338f8080-20240426"});var ci=ht((vm,Id)=>{"use strict";function Ld(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ld)}catch(e){console.error(e)}}Ld(),Id.exports=Rd()});var Md=ht(Bu=>{"use strict";var Td=ci();Bu.createRoot=Td.createRoot,Bu.hydrateRoot=Td.hydrateRoot;var gm});var Hd=ht(fi=>{"use strict";var Hh=Ze(),Fh=Symbol.for("react.element"),$h=Symbol.for("react.fragment"),Ah=Object.prototype.hasOwnProperty,Bh=Hh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,jh={key:!0,ref:!0,__self:!0,__source:!0};function Dd(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)Ah.call(t,r)&&!jh.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Fh,type:e,key:i,ref:l,props:o,_owner:Bh.current}}fi.Fragment=$h;fi.jsx=Dd;fi.jsxs=Dd});var $e=ht((Sm,Fd)=>{"use strict";Fd.exports=Hd()});var Br=J(Ze(),1),of=J(Md(),1);var Z=J(Ze(),1);var Ae=J(Ze(),1);var di=J(Ze(),1),Od="(prefers-reduced-motion: reduce)",Dh=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(Od).matches:!1;function sn(){let[e,t]=(0,di.useState)(Dh);return(0,di.useEffect)(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;let n=window.matchMedia(Od);t(n.matches);let r=o=>t(o.matches);return n.addEventListener("change",r),()=>n.removeEventListener("change",r)},[]),e}var _t=J($e(),1),ke={thumbWidth:"var(--semantic-layout-units-padding-xtight)",thumbRadius:"var(--semantic-layout-units-cornerradius-full)",thumbMin:28,gutter:"var(--semantic-layout-units-padding-xxxtight)",grabZone:16,thumbRest:"var(--pw-scrollbar-thumb-rest)",thumbHover:"var(--pw-scrollbar-thumb-hover)",thumbBlur:"blur(8px) saturate(180%)",thumbEdge:"inset 0 0 0 0.5px color-mix(in srgb, var(--semantic-color-fill-static-neutral-faint) 35%, transparent)",fadeIn:"opacity var(--motion-duration-3) var(--motion-easing-decelerate), background var(--motion-duration-3) var(--motion-easing-standard)",fadeOut:"opacity var(--motion-duration-5) var(--motion-easing-standard), background var(--motion-duration-3) var(--motion-easing-standard)",idleHideMs:500};if(typeof document<"u"&&!document.getElementById("pds-scrollable-base")){let e=document.createElement("style");e.id="pds-scrollable-base",e.textContent=':root,[data-theme="light"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-500-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-500-24)}[data-theme="midnight"],[data-theme="dark"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-100-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-100-24)}.pds-scrollable__view{scrollbar-width:none;-ms-overflow-style:none}.pds-scrollable__view:-webkit-scrollbar{width:0;height:0;display:none}@media (hover: none){.pds-scrollable__grab{pointer-events:none!important}}',document.head.appendChild(e)}function $d({children:e,className:t="",style:n={},viewClassName:r="",viewStyle:o={}}){let i=sn(),l=(0,Ae.useRef)(null),u=(0,Ae.useRef)(null),a=(0,Ae.useRef)(null),c=(0,Ae.useRef)(!1),[p,m]=(0,Ae.useState)({h:0,top:0,show:!1}),[h,S]=(0,Ae.useState)(!1),[w,x]=(0,Ae.useState)(!1),T=(0,Ae.useCallback)(()=>{let L=l.current;if(!L)return;let{scrollHeight:z,clientHeight:H,scrollTop:I}=L;if(z<=H+1){m(U=>U.show?{...U,show:!1}:U);return}let R=Math.max(ke.thumbMin,H/z*H),D=I/(z-H)*(H-R);m({h:R,top:D,show:!0})},[]);(0,Ae.useEffect)(()=>{T();let L=l.current;if(!L||typeof ResizeObserver>"u")return;let z=new ResizeObserver(T);return z.observe(L),Array.from(L.children).forEach(H=>z.observe(H)),()=>z.disconnect()},[e,T]);let d=()=>{clearTimeout(a.current),a.current=setTimeout(()=>{!u.current&&!c.current&&S(!1)},ke.idleHideMs)},s=()=>{S(!0),d()},f=()=>{T(),s()},v=L=>{L.currentTarget.getBoundingClientRect().right-L.clientX<=ke.grabZone?(c.current=!0,S(!0),clearTimeout(a.current)):c.current&&(c.current=!1,d())},k=()=>{c.current=!1,u.current||d()},C=L=>{L.preventDefault();let z=l.current;if(!z)return;u.current={startY:L.clientY,startTop:z.scrollTop},x(!0),S(!0),clearTimeout(a.current);let H=R=>{let{scrollHeight:D,clientHeight:U}=z,ne=Math.max(ke.thumbMin,U/D*U),Ye=(D-U)/(U-ne);z.scrollTop=u.current.startTop+(R.clientY-u.current.startY)*Ye},I=()=>{u.current=null,x(!1),document.removeEventListener("mousemove",H),document.removeEventListener("mouseup",I),s()};document.addEventListener("mousemove",H),document.addEventListener("mouseup",I)},P=p.top,N=p.h;return(0,_t.jsxs)("div",{className:`pds-scrollable ${t}`,style:{position:"relative",minHeight:0,...n},onMouseMove:v,onMouseLeave:k,children:[(0,_t.jsx)("div",{ref:l,className:`pds-scrollable__view ${r}`,onScroll:f,style:{height:"100%",overflowY:"auto",overflowX:"hidden",...o},children:e}),p.show&&(0,_t.jsxs)(_t.Fragment,{children:[(0,_t.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",top:P,right:ke.gutter,width:ke.thumbWidth,height:N,borderRadius:ke.thumbRadius,background:w?ke.thumbHover:ke.thumbRest,backdropFilter:ke.thumbBlur,WebkitBackdropFilter:ke.thumbBlur,boxShadow:ke.thumbEdge,opacity:h?1:0,transition:i?"none":h?ke.fadeIn:ke.fadeOut,pointerEvents:"none",zIndex:5}}),(0,_t.jsx)("div",{"aria-hidden":"true",className:"pds-scrollable__grab",onMouseDown:C,onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),style:{position:"absolute",top:P,right:0,width:ke.grabZone,height:N,pointerEvents:h?"auto":"none",zIndex:6,background:"transparent"}})]})]})}var yi=J(ci(),1);var X=J(Ze(),1),Zd=J(ci(),1);var Qu=J(Ze(),1);var _m=J(Ze(),1),Bd=J($e(),1);var ju={wght:400,GRAD:0,opsz:24},Ad={L:{frame:18,wrapper:26},M:{frame:16,wrapper:24},S:{frame:14,wrapper:20}};function Uu({name:e,size:t="M",fill:n=0,color:r,label:o,className:i="",style:l,...u}){let a=typeof t=="number"?t:(Ad[t]||Ad.M).frame;return(0,Bd.jsx)("span",{className:`material-symbols-rounded ${i}`,role:o?"img":void 0,"aria-label":o||void 0,"aria-hidden":o?void 0:!0,style:{fontSize:a,lineHeight:1,display:"block",flexShrink:0,color:r,fontVariationSettings:`'FILL' ${n}, 'wght' ${ju.wght}, 'GRAD' ${ju.GRAD}, 'opsz' ${ju.opsz}`,...l},...u,children:e})}var pi="pw-focus-ring",Ud="pw-focus-ring pw-focus-ring--inset",Wd="pw-focus-ring pw-focus-ring--replace",Vd="pw-focus-ring pw-focus-ring--layer",Wu=`
|
|
8
|
+
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function yu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function tc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var my=typeof WeakMap=="function"?WeakMap:Map;function v0(e,t,n){n=Pn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){_l||(_l=!0,dc=r),tc(e,t)},n}function x0(e,t,n){n=Pn(-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(){tc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){tc(e,t),typeof r!="function"&&(nr===null?nr=new Set([this]):nr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Rp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new my;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=_y.bind(null,e,t,n),t.then(e,e))}function Mp(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 Ip(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Pn(-1,1),t.tag=2,tr(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var hy=In.ReactCurrentOwner,ht=!1;function et(e,t,n,r){t.child=e===null?Xm(t,null,n,r):So(t,e.child,n,r)}function Dp(e,t,n,r,o){n=n.render;var i=t.ref;return bo(t,o),r=Vc(e,t,n,r,i,o),n=Wc(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Mn(e,t,o)):(be&&n&&Nc(t),t.flags|=1,et(e,t,r,o),t.child)}function Fp(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!ed(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,w0(e,t,i,r,o)):(e=ll(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:ki,n(a,r)&&e.ref===t.ref)return Mn(e,t,o)}return t.flags|=1,e=or(i,r),e.ref=t.ref,e.return=t,t.child=e}function w0(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(ki(i,r)&&e.ref===t.ref)if(ht=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(ht=!0);else return t.lanes=e.lanes,Mn(e,t,o)}return nc(e,t,n,r,o)}function S0(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},de(po,wt),wt|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,de(po,wt),wt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,de(po,wt),wt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,de(po,wt),wt|=r;return et(e,t,o,n),t.child}function C0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function nc(e,t,n,r,o){var i=$t(n)?Tr:Ye.current;return i=xo(t,i),bo(t,o),n=Vc(e,t,n,r,i,o),r=Wc(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Mn(e,t,o)):(be&&r&&Nc(t),t.flags|=1,et(e,t,n,o),t.child)}function Kp(e,t,n,r,o){if($t(n)){var i=!0;bl(t)}else i=!1;if(bo(t,o),t.stateNode===null)ol(e,t),y0(t,n,r),ec(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ht(u):(u=$t(n)?Tr:Ye.current,u=xo(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||s!==u)&&Np(t,a,r,u),jn=!1;var m=t.memoizedState;a.state=m,Sl(t,r,a,o),s=t.memoizedState,l!==r||m!==s||gt.current||jn?(typeof c=="function"&&(Ju(t,n,c,r),s=t.memoizedState),(l=jn||Lp(t,n,l,r,m,s,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Zm(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Xt(t.type,l),a.props=u,d=t.pendingProps,m=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=Ht(s):(s=$t(n)?Tr:Ye.current,s=xo(t,s));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==d||m!==s)&&Np(t,a,r,s),jn=!1,m=t.memoizedState,a.state=m,Sl(t,r,a,o);var y=t.memoizedState;l!==d||m!==y||gt.current||jn?(typeof g=="function"&&(Ju(t,n,g,r),y=t.memoizedState),(u=jn||Lp(t,n,u,r,m,y,s)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,y,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,y,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),a.props=r,a.state=y,a.context=s,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return rc(e,t,n,r,i,o)}function rc(e,t,n,r,o,i){C0(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&wp(t,n,!1),Mn(e,t,i);r=t.stateNode,hy.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=So(t,e.child,null,i),t.child=So(t,null,l,i)):et(e,t,l,i),t.memoizedState=r.state,o&&wp(t,n,!0),t.child}function k0(e){var t=e.stateNode;t.pendingContext?xp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&xp(e,t.context,!1),Ac(e,t.containerInfo)}function Op(e,t,n,r,o){return wo(),Mc(o),t.flags|=256,et(e,t,n,r),t.child}var oc={dehydrated:null,treeContext:null,retryLane:0};function ic(e){return{baseLanes:e,cachePool:null,transitions:null}}function E0(e,t,n){var r=t.pendingProps,o=xe.current,i=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),de(xe,o&1),e===null)return qu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=a):i=Hl(a,r,0,null),e=Er(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ic(n),t.memoizedState=oc,e):Gc(t,a));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return gy(e,t,a,r,l,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,l=o.sibling;var s={mode:"hidden",children:r.children};return(a&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=or(o,s),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=or(l,i):(i=Er(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?ic(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=oc,r}return i=e.child,e=i.sibling,r=or(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(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 Gc(e,t){return t=Hl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ya(e,t,n,r){return r!==null&&Mc(r),So(t,e.child,null,n),e=Gc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function gy(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=yu(Error(x(422))),Ya(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Hl({mode:"visible",children:r.children},o,0,null),i=Er(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&So(t,e.child,null,a),t.child.memoizedState=ic(a),t.memoizedState=oc,i);if((t.mode&1)===0)return Ya(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(x(419)),r=yu(i,r,void 0),Ya(e,t,a,r)}if(l=(a&e.childLanes)!==0,ht||l){if(r=Ke,r!==null){switch(a&-a){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|a))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Rn(e,o),en(r,e,o,-1))}return Jc(),r=yu(Error(x(421))),Ya(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Py.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,St=er(o.nextSibling),Ct=t,be=!0,Zt=null,e!==null&&(Ot[At++]=Tn,Ot[At++]=_n,Ot[At++]=_r,Tn=e.id,_n=e.overflow,_r=t),t=Gc(t,r.children),t.flags|=4096,t)}function Ap(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Zu(e.return,t,n)}function vu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function T0(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(et(e,t,r.children,n),r=xe.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ap(e,n,t);else if(e.tag===19)Ap(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(de(xe,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Cl(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),vu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Cl(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}vu(t,!0,n,null,i);break;case"together":vu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ol(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Mn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Lr|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(x(153));if(t.child!==null){for(e=t.child,n=or(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=or(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function $y(e,t,n){switch(t.tag){case 3:k0(t),wo();break;case 5:Jm(t);break;case 1:$t(t.type)&&bl(t);break;case 4:Ac(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;de(xl,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(de(xe,xe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?E0(e,t,n):(de(xe,xe.current&1),e=Mn(e,t,n),e!==null?e.sibling:null);de(xe,xe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return T0(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),de(xe,xe.current),r)break;return null;case 22:case 23:return t.lanes=0,S0(e,t,n)}return Mn(e,t,n)}var _0,ac,P0,L0;_0=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}};ac=function(){};P0=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Cr(gn.current);var i=null;switch(n){case"input":o=_u(e,o),r=_u(e,r),i=[];break;case"select":o=Se({},o,{value:void 0}),r=Se({},r,{value:void 0}),i=[];break;case"textarea":o=Nu(e,o),r=Nu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=gl)}Mu(n,r);var a;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(bi.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var s=r[u];if(l=o?.[u],r.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(i=i||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(bi.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&pe("scroll",e),i||l===s||(i=[])):(i=i||[]).push(u,s))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};L0=function(e,t,n,r){n!==r&&(t.flags|=4)};function ni(e,t){if(!be)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 Ge(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 by(e,t,n){var r=t.pendingProps;switch(Rc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ge(t),null;case 1:return $t(t.type)&&$l(),Ge(t),null;case 3:return r=t.stateNode,Co(),me(gt),me(Ye),zc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ga(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Zt!==null&&(mc(Zt),Zt=null))),ac(e,t),Ge(t),null;case 5:Bc(t);var o=Cr(Li.current);if(n=t.type,e!==null&&t.stateNode!=null)P0(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(x(166));return Ge(t),null}if(e=Cr(gn.current),Ga(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[mn]=t,r[_i]=i,e=(t.mode&1)!==0,n){case"dialog":pe("cancel",r),pe("close",r);break;case"iframe":case"object":case"embed":pe("load",r);break;case"video":case"audio":for(o=0;o<si.length;o++)pe(si[o],r);break;case"source":pe("error",r);break;case"img":case"image":case"link":pe("error",r),pe("load",r);break;case"details":pe("toggle",r);break;case"input":Gf(r,i),pe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},pe("invalid",r);break;case"textarea":Yf(r,i),pe("invalid",r)}Mu(n,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var l=i[a];a==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&ja(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&ja(r.textContent,l,e),o=["children",""+l]):bi.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&pe("scroll",r)}switch(n){case"input":Ia(r),Qf(r,i,!0);break;case"textarea":Ia(r),Xf(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=gl)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=om(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[mn]=t,e[_i]=r,_0(e,t,!1,!1),t.stateNode=e;e:{switch(a=Iu(n,r),n){case"dialog":pe("cancel",e),pe("close",e),o=r;break;case"iframe":case"object":case"embed":pe("load",e),o=r;break;case"video":case"audio":for(o=0;o<si.length;o++)pe(si[o],e);o=r;break;case"source":pe("error",e),o=r;break;case"img":case"image":case"link":pe("error",e),pe("load",e),o=r;break;case"details":pe("toggle",e),o=r;break;case"input":Gf(e,r),o=_u(e,r),pe("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Se({},r,{value:void 0}),pe("invalid",e);break;case"textarea":Yf(e,r),o=Nu(e,r),pe("invalid",e);break;default:o=r}Mu(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];i==="style"?lm(e,s):i==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&im(e,s)):i==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&yi(e,s):typeof s=="number"&&yi(e,""+s):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(bi.hasOwnProperty(i)?s!=null&&i==="onScroll"&&pe("scroll",e):s!=null&&$c(e,i,s,a))}switch(n){case"input":Ia(e),Qf(e,r,!1);break;case"textarea":Ia(e),Xf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ir(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?mo(e,!!r.multiple,i,!1):r.defaultValue!=null&&mo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=gl)}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 Ge(t),null;case 6:if(e&&t.stateNode!=null)L0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(x(166));if(n=Cr(Li.current),Cr(gn.current),Ga(t)){if(r=t.stateNode,n=t.memoizedProps,r[mn]=t,(i=r.nodeValue!==n)&&(e=Ct,e!==null))switch(e.tag){case 3:ja(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ja(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[mn]=t,t.stateNode=r}return Ge(t),null;case 13:if(me(xe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(be&&St!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Qm(),wo(),t.flags|=98560,i=!1;else if(i=Ga(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(x(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(x(317));i[mn]=t}else wo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ge(t),i=!1}else Zt!==null&&(mc(Zt),Zt=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(xe.current&1)!==0?De===0&&(De=3):Jc())),t.updateQueue!==null&&(t.flags|=4),Ge(t),null);case 4:return Co(),ac(e,t),e===null&&Ei(t.stateNode.containerInfo),Ge(t),null;case 10:return Fc(t.type._context),Ge(t),null;case 17:return $t(t.type)&&$l(),Ge(t),null;case 19:if(me(xe),i=t.memoizedState,i===null)return Ge(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)ni(i,!1);else{if(De!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=Cl(e),a!==null){for(t.flags|=128,ni(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return de(xe,xe.current&1|2),t.child}e=e.sibling}i.tail!==null&&Te()>Eo&&(t.flags|=128,r=!0,ni(i,!1),t.lanes=4194304)}else{if(!r)if(e=Cl(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ni(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!be)return Ge(t),null}else 2*Te()-i.renderingStartTime>Eo&&n!==1073741824&&(t.flags|=128,r=!0,ni(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Te(),t.sibling=null,n=xe.current,de(xe,r?n&1|2:n&1),t):(Ge(t),null);case 22:case 23:return Zc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(wt&1073741824)!==0&&(Ge(t),t.subtreeFlags&6&&(t.flags|=8192)):Ge(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function yy(e,t){switch(Rc(t),t.tag){case 1:return $t(t.type)&&$l(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Co(),me(gt),me(Ye),zc(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Bc(t),null;case 13:if(me(xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(xe),null;case 4:return Co(),null;case 10:return Fc(t.type._context),null;case 22:case 23:return Zc(),null;case 24:return null;default:return null}}var Xa=!1,Qe=!1,vy=typeof WeakSet=="function"?WeakSet:Set,D=null;function fo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function lc(e,t,n){try{n()}catch(r){ke(e,t,r)}}var Bp=!1;function xy(e,t){if(Wu=pl,e=Dm(),Lc(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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,d=e,m=null;t:for(;;){for(var g;d!==n||o!==0&&d.nodeType!==3||(l=a+o),d!==i||r!==0&&d.nodeType!==3||(s=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(g=d.firstChild)!==null;)m=d,d=g;for(;;){if(d===e)break t;if(m===n&&++u===o&&(l=a),m===i&&++c===r&&(s=a),(g=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=g}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Uu={focusedElem:e,selectionRange:n},pl=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var y=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var b=y.memoizedProps,R=y.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?b:Xt(t.type,b),R);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch($){ke(t,t.return,$)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return y=Bp,Bp=!1,y}function hi(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 i=o.destroy;o.destroy=void 0,i!==void 0&&lc(t,n,i)}o=o.next}while(o!==r)}}function Bl(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 sc(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 N0(e){var t=e.alternate;t!==null&&(e.alternate=null,N0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mn],delete t[_i],delete t[Qu],delete t[ry],delete t[oy])),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 R0(e){return e.tag===5||e.tag===3||e.tag===4}function zp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||R0(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 uc(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=gl));else if(r!==4&&(e=e.child,e!==null))for(uc(e,t,n),e=e.sibling;e!==null;)uc(e,t,n),e=e.sibling}function cc(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(cc(e,t,n),e=e.sibling;e!==null;)cc(e,t,n),e=e.sibling}var ze=null,qt=!1;function Wn(e,t,n){for(n=n.child;n!==null;)M0(e,t,n),n=n.sibling}function M0(e,t,n){if(hn&&typeof hn.onCommitFiberUnmount=="function")try{hn.onCommitFiberUnmount(Rl,n)}catch{}switch(n.tag){case 5:Qe||fo(n,t);case 6:var r=ze,o=qt;ze=null,Wn(e,t,n),ze=r,qt=o,ze!==null&&(qt?(e=ze,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ze.removeChild(n.stateNode));break;case 18:ze!==null&&(qt?(e=ze,n=n.stateNode,e.nodeType===8?pu(e.parentNode,n):e.nodeType===1&&pu(e,n),Si(e)):pu(ze,n.stateNode));break;case 4:r=ze,o=qt,ze=n.stateNode.containerInfo,qt=!0,Wn(e,t,n),ze=r,qt=o;break;case 0:case 11:case 14:case 15:if(!Qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&((i&2)!==0||(i&4)!==0)&&lc(n,t,a),o=o.next}while(o!==r)}Wn(e,t,n);break;case 1:if(!Qe&&(fo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ke(n,t,l)}Wn(e,t,n);break;case 21:Wn(e,t,n);break;case 22:n.mode&1?(Qe=(r=Qe)||n.memoizedState!==null,Wn(e,t,n),Qe=r):Wn(e,t,n);break;default:Wn(e,t,n)}}function Hp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vy),t.forEach(function(r){var o=Ly.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Yt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:ze=l.stateNode,qt=!1;break e;case 3:ze=l.stateNode.containerInfo,qt=!0;break e;case 4:ze=l.stateNode.containerInfo,qt=!0;break e}l=l.return}if(ze===null)throw Error(x(160));M0(i,a,o),ze=null,qt=!1;var s=o.alternate;s!==null&&(s.return=null),o.return=null}catch(u){ke(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)I0(t,e),t=t.sibling}function I0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Yt(t,e),fn(e),r&4){try{hi(3,e,e.return),Bl(3,e)}catch(b){ke(e,e.return,b)}try{hi(5,e,e.return)}catch(b){ke(e,e.return,b)}}break;case 1:Yt(t,e),fn(e),r&512&&n!==null&&fo(n,n.return);break;case 5:if(Yt(t,e),fn(e),r&512&&n!==null&&fo(n,n.return),e.flags&32){var o=e.stateNode;try{yi(o,"")}catch(b){ke(e,e.return,b)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,l=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&nm(o,i),Iu(l,a);var u=Iu(l,i);for(a=0;a<s.length;a+=2){var c=s[a],d=s[a+1];c==="style"?lm(o,d):c==="dangerouslySetInnerHTML"?im(o,d):c==="children"?yi(o,d):$c(o,c,d,u)}switch(l){case"input":Pu(o,i);break;case"textarea":rm(o,i);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?mo(o,!!i.multiple,g,!1):m!==!!i.multiple&&(i.defaultValue!=null?mo(o,!!i.multiple,i.defaultValue,!0):mo(o,!!i.multiple,i.multiple?[]:"",!1))}o[_i]=i}catch(b){ke(e,e.return,b)}}break;case 6:if(Yt(t,e),fn(e),r&4){if(e.stateNode===null)throw Error(x(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(b){ke(e,e.return,b)}}break;case 3:if(Yt(t,e),fn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Si(t.containerInfo)}catch(b){ke(e,e.return,b)}break;case 4:Yt(t,e),fn(e);break;case 13:Yt(t,e),fn(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Xc=Te())),r&4&&Hp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Qe=(u=Qe)||c,Yt(t,e),Qe=u):Yt(t,e),fn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&(e.mode&1)!==0)for(D=e,c=e.child;c!==null;){for(d=D=c;D!==null;){switch(m=D,g=m.child,m.tag){case 0:case 11:case 14:case 15:hi(4,m,m.return);break;case 1:fo(m,m.return);var y=m.stateNode;if(typeof y.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(b){ke(r,n,b)}}break;case 5:fo(m,m.return);break;case 22:if(m.memoizedState!==null){Wp(d);continue}}g!==null?(g.return=m,D=g):Wp(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=d.stateNode,s=d.memoizedProps.style,a=s!=null&&s.hasOwnProperty("display")?s.display:null,l.style.display=am("display",a))}catch(b){ke(e,e.return,b)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(b){ke(e,e.return,b)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Yt(t,e),fn(e),r&4&&Hp(e);break;case 21:break;default:Yt(t,e),fn(e)}}function fn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(R0(n)){var r=n;break e}n=n.return}throw Error(x(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(yi(o,""),r.flags&=-33);var i=zp(e);cc(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,l=zp(e);uc(e,l,a);break;default:throw Error(x(161))}}catch(s){ke(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function wy(e,t,n){D=e,D0(e,t,n)}function D0(e,t,n){for(var r=(e.mode&1)!==0;D!==null;){var o=D,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||Xa;if(!a){var l=o.alternate,s=l!==null&&l.memoizedState!==null||Qe;l=Xa;var u=Qe;if(Xa=a,(Qe=s)&&!u)for(D=o;D!==null;)a=D,s=a.child,a.tag===22&&a.memoizedState!==null?Up(o):s!==null?(s.return=a,D=s):Up(o);for(;i!==null;)D=i,D0(i,t,n),i=i.sibling;D=o,Xa=l,Qe=u}Vp(e,t,n)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,D=i):Vp(e,t,n)}}function Vp(e){for(;D!==null;){var t=D;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Qe||Bl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Qe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Xt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Tp(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Tp(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.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 c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Si(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(x(163))}Qe||t.flags&512&&sc(t)}catch(m){ke(t,t.return,m)}}if(t===e){D=null;break}if(n=t.sibling,n!==null){n.return=t.return,D=n;break}D=t.return}}function Wp(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var n=t.sibling;if(n!==null){n.return=t.return,D=n;break}D=t.return}}function Up(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Bl(4,t)}catch(s){ke(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(s){ke(t,o,s)}}var i=t.return;try{sc(t)}catch(s){ke(t,i,s)}break;case 5:var a=t.return;try{sc(t)}catch(s){ke(t,a,s)}}}catch(s){ke(t,t.return,s)}if(t===e){D=null;break}var l=t.sibling;if(l!==null){l.return=t.return,D=l;break}D=t.return}}var Sy=Math.ceil,Tl=In.ReactCurrentDispatcher,Qc=In.ReactCurrentOwner,zt=In.ReactCurrentBatchConfig,J=0,Ke=null,Le=null,He=0,wt=0,po=sr(0),De=0,Ii=null,Lr=0,zl=0,Yc=0,gi=null,mt=null,Xc=0,Eo=1/0,kn=null,_l=!1,dc=null,nr=null,qa=!1,Xn=null,Pl=0,$i=0,fc=null,il=-1,al=0;function tt(){return(J&6)!==0?Te():il!==-1?il:il=Te()}function rr(e){return(e.mode&1)===0?1:(J&2)!==0&&He!==0?He&-He:ay.transition!==null?(al===0&&(al=ym()),al):(e=ae,e!==0||(e=window.event,e=e===void 0?16:Em(e.type)),e)}function en(e,t,n,r){if(50<$i)throw $i=0,fc=null,Error(x(185));Di(e,n,r),((J&2)===0||e!==Ke)&&(e===Ke&&((J&2)===0&&(zl|=n),De===4&&Qn(e,He)),bt(e,r),n===1&&J===0&&(t.mode&1)===0&&(Eo=Te()+500,Kl&&ur()))}function bt(e,t){var n=e.callbackNode;sb(e,t);var r=fl(e,e===Ke?He:0);if(r===0)n!==null&&Jf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Jf(n),t===1)e.tag===0?iy(jp.bind(null,e)):Um(jp.bind(null,e)),ty(function(){(J&6)===0&&ur()}),n=null;else{switch(vm(r)){case 1:n=wc;break;case 4:n=$m;break;case 16:n=dl;break;case 536870912:n=bm;break;default:n=dl}n=V0(n,F0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function F0(e,t){if(il=-1,al=0,(J&6)!==0)throw Error(x(327));var n=e.callbackNode;if(yo()&&e.callbackNode!==n)return null;var r=fl(e,e===Ke?He:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Ll(e,r);else{t=r;var o=J;J|=2;var i=O0();(Ke!==e||He!==t)&&(kn=null,Eo=Te()+500,kr(e,t));do try{Ey();break}catch(l){K0(e,l)}while(!0);Dc(),Tl.current=i,J=o,Le!==null?t=0:(Ke=null,He=0,t=De)}if(t!==0){if(t===2&&(o=Au(e),o!==0&&(r=o,t=pc(e,o))),t===1)throw n=Ii,kr(e,0),Qn(e,r),bt(e,Te()),n;if(t===6)Qn(e,r);else{if(o=e.current.alternate,(r&30)===0&&!Cy(o)&&(t=Ll(e,r),t===2&&(i=Au(e),i!==0&&(r=i,t=pc(e,i))),t===1))throw n=Ii,kr(e,0),Qn(e,r),bt(e,Te()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(x(345));case 2:xr(e,mt,kn);break;case 3:if(Qn(e,r),(r&130023424)===r&&(t=Xc+500-Te(),10<t)){if(fl(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){tt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Gu(xr.bind(null,e,mt,kn),t);break}xr(e,mt,kn);break;case 4:if(Qn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Jt(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=Te()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sy(r/1960))-r,10<r){e.timeoutHandle=Gu(xr.bind(null,e,mt,kn),r);break}xr(e,mt,kn);break;case 5:xr(e,mt,kn);break;default:throw Error(x(329))}}}return bt(e,Te()),e.callbackNode===n?F0.bind(null,e):null}function pc(e,t){var n=gi;return e.current.memoizedState.isDehydrated&&(kr(e,t).flags|=256),e=Ll(e,t),e!==2&&(t=mt,mt=n,t!==null&&mc(t)),e}function mc(e){mt===null?mt=e:mt.push.apply(mt,e)}function Cy(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],i=o.getSnapshot;o=o.value;try{if(!tn(i(),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 Qn(e,t){for(t&=~Yc,t&=~zl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Jt(t),r=1<<n;e[n]=-1,t&=~r}}function jp(e){if((J&6)!==0)throw Error(x(327));yo();var t=fl(e,0);if((t&1)===0)return bt(e,Te()),null;var n=Ll(e,t);if(e.tag!==0&&n===2){var r=Au(e);r!==0&&(t=r,n=pc(e,r))}if(n===1)throw n=Ii,kr(e,0),Qn(e,t),bt(e,Te()),n;if(n===6)throw Error(x(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xr(e,mt,kn),bt(e,Te()),null}function qc(e,t){var n=J;J|=1;try{return e(t)}finally{J=n,J===0&&(Eo=Te()+500,Kl&&ur())}}function Nr(e){Xn!==null&&Xn.tag===0&&(J&6)===0&&yo();var t=J;J|=1;var n=zt.transition,r=ae;try{if(zt.transition=null,ae=1,e)return e()}finally{ae=r,zt.transition=n,J=t,(J&6)===0&&ur()}}function Zc(){wt=po.current,me(po)}function kr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,ey(n)),Le!==null)for(n=Le.return;n!==null;){var r=n;switch(Rc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&$l();break;case 3:Co(),me(gt),me(Ye),zc();break;case 5:Bc(r);break;case 4:Co();break;case 13:me(xe);break;case 19:me(xe);break;case 10:Fc(r.type._context);break;case 22:case 23:Zc()}n=n.return}if(Ke=e,Le=e=or(e.current,null),He=wt=t,De=0,Ii=null,Yc=zl=Lr=0,mt=gi=null,Sr!==null){for(t=0;t<Sr.length;t++)if(n=Sr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=o,r.next=a}n.pending=r}Sr=null}return e}function K0(e,t){do{var n=Le;try{if(Dc(),nl.current=El,kl){for(var r=we.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}kl=!1}if(Pr=0,Fe=Ie=we=null,mi=!1,Ni=0,Qc.current=null,n===null||n.return===null){De=1,Ii=t,Le=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=He,l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s,c=l,d=c.tag;if((c.mode&1)===0&&(d===0||d===11||d===15)){var m=c.alternate;m?(c.updateQueue=m.updateQueue,c.memoizedState=m.memoizedState,c.lanes=m.lanes):(c.updateQueue=null,c.memoizedState=null)}var g=Mp(a);if(g!==null){g.flags&=-257,Ip(g,a,l,i,t),g.mode&1&&Rp(i,u,t),t=g,s=u;var y=t.updateQueue;if(y===null){var b=new Set;b.add(s),t.updateQueue=b}else y.add(s);break e}else{if((t&1)===0){Rp(i,u,t),Jc();break e}s=Error(x(426))}}else if(be&&l.mode&1){var R=Mp(a);if(R!==null){(R.flags&65536)===0&&(R.flags|=256),Ip(R,a,l,i,t),Mc(ko(s,l));break e}}i=s=ko(s,l),De!==4&&(De=2),gi===null?gi=[i]:gi.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=v0(i,s,t);Ep(i,p);break e;case 1:l=s;var f=i.type,h=i.stateNode;if((i.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(nr===null||!nr.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var $=x0(i,l,t);Ep(i,$);break e}}i=i.return}while(i!==null)}B0(n)}catch(C){t=C,Le===n&&n!==null&&(Le=n=n.return);continue}break}while(!0)}function O0(){var e=Tl.current;return Tl.current=El,e===null?El:e}function Jc(){(De===0||De===3||De===2)&&(De=4),Ke===null||(Lr&268435455)===0&&(zl&268435455)===0||Qn(Ke,He)}function Ll(e,t){var n=J;J|=2;var r=O0();(Ke!==e||He!==t)&&(kn=null,kr(e,t));do try{ky();break}catch(o){K0(e,o)}while(!0);if(Dc(),J=n,Tl.current=r,Le!==null)throw Error(x(261));return Ke=null,He=0,De}function ky(){for(;Le!==null;)A0(Le)}function Ey(){for(;Le!==null&&!J$();)A0(Le)}function A0(e){var t=H0(e.alternate,e,wt);e.memoizedProps=e.pendingProps,t===null?B0(e):Le=t,Qc.current=null}function B0(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=by(n,t,wt),n!==null){Le=n;return}}else{if(n=yy(n,t),n!==null){n.flags&=32767,Le=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{De=6,Le=null;return}}if(t=t.sibling,t!==null){Le=t;return}Le=t=e}while(t!==null);De===0&&(De=5)}function xr(e,t,n){var r=ae,o=zt.transition;try{zt.transition=null,ae=1,Ty(e,t,n,r)}finally{zt.transition=o,ae=r}return null}function Ty(e,t,n,r){do yo();while(Xn!==null);if((J&6)!==0)throw Error(x(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(x(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(ub(e,i),e===Ke&&(Le=Ke=null,He=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||qa||(qa=!0,V0(dl,function(){return yo(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=zt.transition,zt.transition=null;var a=ae;ae=1;var l=J;J|=4,Qc.current=null,xy(e,n),I0(n,e),Yb(Uu),pl=!!Wu,Uu=Wu=null,e.current=n,wy(n,e,o),eb(),J=l,ae=a,zt.transition=i}else e.current=n;if(qa&&(qa=!1,Xn=e,Pl=o),i=e.pendingLanes,i===0&&(nr=null),rb(n.stateNode,r),bt(e,Te()),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(_l)throw _l=!1,e=dc,dc=null,e;return(Pl&1)!==0&&e.tag!==0&&yo(),i=e.pendingLanes,(i&1)!==0?e===fc?$i++:($i=0,fc=e):$i=0,ur(),null}function yo(){if(Xn!==null){var e=vm(Pl),t=zt.transition,n=ae;try{if(zt.transition=null,ae=16>e?16:e,Xn===null)var r=!1;else{if(e=Xn,Xn=null,Pl=0,(J&6)!==0)throw Error(x(331));var o=J;for(J|=4,D=e.current;D!==null;){var i=D,a=i.child;if((D.flags&16)!==0){var l=i.deletions;if(l!==null){for(var s=0;s<l.length;s++){var u=l[s];for(D=u;D!==null;){var c=D;switch(c.tag){case 0:case 11:case 15:hi(8,c,i)}var d=c.child;if(d!==null)d.return=c,D=d;else for(;D!==null;){c=D;var m=c.sibling,g=c.return;if(N0(c),c===u){D=null;break}if(m!==null){m.return=g,D=m;break}D=g}}}var y=i.alternate;if(y!==null){var b=y.child;if(b!==null){y.child=null;do{var R=b.sibling;b.sibling=null,b=R}while(b!==null)}}D=i}}if((i.subtreeFlags&2064)!==0&&a!==null)a.return=i,D=a;else e:for(;D!==null;){if(i=D,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:hi(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,D=p;break e}D=i.return}}var f=e.current;for(D=f;D!==null;){a=D;var h=a.child;if((a.subtreeFlags&2064)!==0&&h!==null)h.return=a,D=h;else e:for(a=f;D!==null;){if(l=D,(l.flags&2048)!==0)try{switch(l.tag){case 0:case 11:case 15:Bl(9,l)}}catch(C){ke(l,l.return,C)}if(l===a){D=null;break e}var $=l.sibling;if($!==null){$.return=l.return,D=$;break e}D=l.return}}if(J=o,ur(),hn&&typeof hn.onPostCommitFiberRoot=="function")try{hn.onPostCommitFiberRoot(Rl,e)}catch{}r=!0}return r}finally{ae=n,zt.transition=t}}return!1}function Gp(e,t,n){t=ko(n,t),t=v0(e,t,1),e=tr(e,t,1),t=tt(),e!==null&&(Di(e,1,t),bt(e,t))}function ke(e,t,n){if(e.tag===3)Gp(e,e,n);else for(;t!==null;){if(t.tag===3){Gp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(nr===null||!nr.has(r))){e=ko(n,e),e=x0(t,e,1),t=tr(t,e,1),e=tt(),t!==null&&(Di(t,1,e),bt(t,e));break}}t=t.return}}function _y(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=tt(),e.pingedLanes|=e.suspendedLanes&n,Ke===e&&(He&n)===n&&(De===4||De===3&&(He&130023424)===He&&500>Te()-Xc?kr(e,0):Yc|=n),bt(e,t)}function z0(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ka,Ka<<=1,(Ka&130023424)===0&&(Ka=4194304)));var n=tt();e=Rn(e,t),e!==null&&(Di(e,t,n),bt(e,n))}function Py(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),z0(e,n)}function Ly(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(x(314))}r!==null&&r.delete(t),z0(e,n)}var H0;H0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||gt.current)ht=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return ht=!1,$y(e,t,n);ht=(e.flags&131072)!==0}else ht=!1,be&&(t.flags&1048576)!==0&&jm(t,vl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ol(e,t),e=t.pendingProps;var o=xo(t,Ye.current);bo(t,n),o=Vc(null,t,r,e,o,n);var i=Wc();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,$t(r)?(i=!0,bl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Oc(t),o.updater=Al,t.stateNode=o,o._reactInternals=t,ec(t,r,e,n),t=rc(null,t,r,!0,i,n)):(t.tag=0,be&&i&&Nc(t),et(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ol(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Ry(r),e=Xt(r,e),o){case 0:t=nc(null,t,r,e,n);break e;case 1:t=Kp(null,t,r,e,n);break e;case 11:t=Dp(null,t,r,e,n);break e;case 14:t=Fp(null,t,r,Xt(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),nc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),Kp(e,t,r,o,n);case 3:e:{if(k0(t),e===null)throw Error(x(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Zm(e,t),Sl(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ko(Error(x(423)),t),t=Op(e,t,r,n,o);break e}else if(r!==o){o=ko(Error(x(424)),t),t=Op(e,t,r,n,o);break e}else for(St=er(t.stateNode.containerInfo.firstChild),Ct=t,be=!0,Zt=null,n=Xm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wo(),r===o){t=Mn(e,t,n);break e}et(e,t,r,n)}t=t.child}return t;case 5:return Jm(t),e===null&&qu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,ju(r,o)?a=null:i!==null&&ju(r,i)&&(t.flags|=32),C0(e,t),et(e,t,a,n),t.child;case 6:return e===null&&qu(t),null;case 13:return E0(e,t,n);case 4:return Ac(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=So(t,null,r,n):et(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),Dp(e,t,r,o,n);case 7:return et(e,t,t.pendingProps,n),t.child;case 8:return et(e,t,t.pendingProps.children,n),t.child;case 12:return et(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,de(xl,r._currentValue),r._currentValue=a,i!==null)if(tn(i.value,a)){if(i.children===o.children&&!gt.current){t=Mn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Pn(-1,n&-n),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Zu(i.return,n,t),l.lanes|=n;break}s=s.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(x(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Zu(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}et(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,bo(t,n),o=Ht(o),r=r(o),t.flags|=1,et(e,t,r,n),t.child;case 14:return r=t.type,o=Xt(r,t.pendingProps),o=Xt(r.type,o),Fp(e,t,r,o,n);case 15:return w0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),ol(e,t),t.tag=1,$t(r)?(e=!0,bl(t)):e=!1,bo(t,n),y0(t,r,o),ec(t,r,o,n),rc(null,t,r,!0,e,n);case 19:return T0(e,t,n);case 22:return S0(e,t,n)}throw Error(x(156,t.tag))};function V0(e,t){return gm(e,t)}function Ny(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 Bt(e,t,n,r){return new Ny(e,t,n,r)}function ed(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ry(e){if(typeof e=="function")return ed(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yc)return 11;if(e===vc)return 14}return 2}function or(e,t){var n=e.alternate;return n===null?(n=Bt(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 ll(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")ed(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case no:return Er(n.children,o,i,t);case bc:a=8,o|=8;break;case Cu:return e=Bt(12,n,t,o|2),e.elementType=Cu,e.lanes=i,e;case ku:return e=Bt(13,n,t,o),e.elementType=ku,e.lanes=i,e;case Eu:return e=Bt(19,n,t,o),e.elementType=Eu,e.lanes=i,e;case Jp:return Hl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qp:a=10;break e;case Zp:a=9;break e;case yc:a=11;break e;case vc:a=14;break e;case Un:a=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=Bt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Er(e,t,n,r){return e=Bt(7,e,r,t),e.lanes=n,e}function Hl(e,t,n,r){return e=Bt(22,e,r,t),e.elementType=Jp,e.lanes=n,e.stateNode={isHidden:!1},e}function xu(e,t,n){return e=Bt(6,e,null,t),e.lanes=n,e}function wu(e,t,n){return t=Bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function My(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=iu(0),this.expirationTimes=iu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=iu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function td(e,t,n,r,o,i,a,l,s){return e=new My(e,t,n,l,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Bt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Oc(i),e}function Iy(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:to,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function W0(e){if(!e)return ar;e=e._reactInternals;e:{if(Mr(e)!==e||e.tag!==1)throw Error(x(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if($t(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(x(171))}if(e.tag===1){var n=e.type;if($t(n))return Wm(e,n,t)}return t}function U0(e,t,n,r,o,i,a,l,s){return e=td(n,r,!0,e,o,i,a,l,s),e.context=W0(null),n=e.current,r=tt(),o=rr(n),i=Pn(r,o),i.callback=t??null,tr(n,i,o),e.current.lanes=o,Di(e,o,r),bt(e,r),e}function Vl(e,t,n,r){var o=t.current,i=tt(),a=rr(o);return n=W0(n),t.context===null?t.context=n:t.pendingContext=n,t=Pn(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=tr(o,t,a),e!==null&&(en(e,o,a,i),tl(e,o,a)),a}function Nl(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 Qp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function nd(e,t){Qp(e,t),(e=e.alternate)&&Qp(e,t)}function Dy(){return null}var j0=typeof reportError=="function"?reportError:function(e){console.error(e)};function rd(e){this._internalRoot=e}Wl.prototype.render=rd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(x(409));Vl(e,t,null,null)};Wl.prototype.unmount=rd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Nr(function(){Vl(null,e,null,null)}),t[Nn]=null}};function Wl(e){this._internalRoot=e}Wl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Gn.length&&t!==0&&t<Gn[n].priority;n++);Gn.splice(n,0,e),n===0&&km(e)}};function od(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ul(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Yp(){}function Fy(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Nl(a);i.call(u)}}var a=U0(t,r,e,0,null,!1,!1,"",Yp);return e._reactRootContainer=a,e[Nn]=a.current,Ei(e.nodeType===8?e.parentNode:e),Nr(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=Nl(s);l.call(u)}}var s=td(e,0,!1,null,null,!1,!1,"",Yp);return e._reactRootContainer=s,e[Nn]=s.current,Ei(e.nodeType===8?e.parentNode:e),Nr(function(){Vl(t,s,n,r)}),s}function jl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var l=o;o=function(){var s=Nl(a);l.call(s)}}Vl(t,a,e,o)}else a=Fy(n,t,e,o,r);return Nl(a)}xm=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=li(t.pendingLanes);n!==0&&(Sc(t,n|1),bt(t,Te()),(J&6)===0&&(Eo=Te()+500,ur()))}break;case 13:Nr(function(){var r=Rn(e,1);if(r!==null){var o=tt();en(r,e,1,o)}}),nd(e,1)}};Cc=function(e){if(e.tag===13){var t=Rn(e,134217728);if(t!==null){var n=tt();en(t,e,134217728,n)}nd(e,134217728)}};wm=function(e){if(e.tag===13){var t=rr(e),n=Rn(e,t);if(n!==null){var r=tt();en(n,e,t,r)}nd(e,t)}};Sm=function(){return ae};Cm=function(e,t){var n=ae;try{return ae=e,t()}finally{ae=n}};Fu=function(e,t,n){switch(t){case"input":if(Pu(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=Fl(r);if(!o)throw Error(x(90));tm(r),Pu(r,o)}}}break;case"textarea":rm(e,n);break;case"select":t=n.value,t!=null&&mo(e,!!n.multiple,t,!1)}};cm=qc;dm=Nr;var Ky={usingClientEntryPoint:!1,Events:[Ki,ao,Fl,sm,um,qc]},ri={findFiberByHostInstance:wr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Oy={bundleType:ri.bundleType,version:ri.version,rendererPackageName:ri.rendererPackageName,rendererConfig:ri.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:In.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=mm(e),e===null?null:e.stateNode},findFiberByHostInstance:ri.findFiberByHostInstance||Dy,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(oi=__REACT_DEVTOOLS_GLOBAL_HOOK__,!oi.isDisabled&&oi.supportsFiber))try{Rl=oi.inject(Oy),hn=oi}catch{}var oi;Tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ky;Tt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!od(t))throw Error(x(200));return Iy(e,t,null,n)};Tt.createRoot=function(e,t){if(!od(e))throw Error(x(299));var n=!1,r="",o=j0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=td(e,1,!1,null,null,n,!1,r,o),e[Nn]=t.current,Ei(e.nodeType===8?e.parentNode:e),new rd(t)};Tt.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(x(188)):(e=Object.keys(e).join(","),Error(x(268,e)));return e=mm(t),e=e===null?null:e.stateNode,e};Tt.flushSync=function(e){return Nr(e)};Tt.hydrate=function(e,t,n){if(!Ul(t))throw Error(x(200));return jl(null,e,t,!0,n)};Tt.hydrateRoot=function(e,t,n){if(!od(e))throw Error(x(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=j0;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=U0(t,null,e,1,n??null,o,!1,i,a),e[Nn]=t.current,Ei(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 Wl(t)};Tt.render=function(e,t,n){if(!Ul(t))throw Error(x(200));return jl(null,e,t,!1,n)};Tt.unmountComponentAtNode=function(e){if(!Ul(e))throw Error(x(40));return e._reactRootContainer?(Nr(function(){jl(null,null,e,!1,function(){e._reactRootContainer=null,e[Nn]=null})}),!0):!1};Tt.unstable_batchedUpdates=qc;Tt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ul(n))throw Error(x(200));if(e==null||e._reactInternals===void 0)throw Error(x(38));return jl(e,t,n,!1,r)};Tt.version="18.3.1-next-f1338f8080-20240426"});var Ir=Gt((_x,Y0)=>{"use strict";function Q0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Q0)}catch(e){console.error(e)}}Q0(),Y0.exports=G0()});var q0=Gt(id=>{"use strict";var X0=Ir();id.createRoot=X0.createRoot,id.hydrateRoot=X0.hydrateRoot;var Px});var eh=Gt(Ql=>{"use strict";var By=K(),zy=Symbol.for("react.element"),Hy=Symbol.for("react.fragment"),Vy=Object.prototype.hasOwnProperty,Wy=By.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Uy={key:!0,ref:!0,__self:!0,__source:!0};function J0(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Vy.call(t,r)&&!Uy.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:zy,type:e,key:i,ref:a,props:o,_owner:Wy.current}}Ql.Fragment=Hy;Ql.jsx=J0;Ql.jsxs=J0});var he=Gt((Mx,th)=>{"use strict";th.exports=eh()});var rg=Gt(ng=>{"use strict";var Ho=K();function jv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gv=typeof Object.is=="function"?Object.is:jv,Qv=Ho.useState,Yv=Ho.useEffect,Xv=Ho.useLayoutEffect,qv=Ho.useDebugValue;function Zv(e,t){var n=t(),r=Qv({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return Xv(function(){o.value=n,o.getSnapshot=t,Nd(o)&&i({inst:o})},[e,n,t]),Yv(function(){return Nd(o)&&i({inst:o}),e(function(){Nd(o)&&i({inst:o})})},[e]),qv(n),n}function Nd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gv(e,n)}catch{return!0}}function Jv(e,t){return t()}var e1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Jv:Zv;ng.useSyncExternalStore=Ho.useSyncExternalStore!==void 0?Ho.useSyncExternalStore:e1});var ig=Gt((Z3,og)=>{"use strict";og.exports=rg()});var Ca=S(K(),1),h$=S(q0(),1);var ve=S(K(),1);var _t=S(K(),1);var Gl=S(K(),1),Z0="(prefers-reduced-motion: reduce)",Ay=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(Z0).matches:!1;function Dr(){let[e,t]=(0,Gl.useState)(Ay);return(0,Gl.useEffect)(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;let n=window.matchMedia(Z0);t(n.matches);let r=o=>t(o.matches);return n.addEventListener("change",r),()=>n.removeEventListener("change",r)},[]),e}var Dn=S(he(),1),rt={thumbWidth:"var(--semantic-layout-units-padding-xtight)",thumbRadius:"var(--semantic-layout-units-cornerradius-full)",thumbMin:28,gutter:"var(--semantic-layout-units-padding-xxxtight)",grabZone:16,thumbRest:"var(--pw-scrollbar-thumb-rest)",thumbHover:"var(--pw-scrollbar-thumb-hover)",thumbBlur:"blur(8px) saturate(180%)",thumbEdge:"inset 0 0 0 0.5px color-mix(in srgb, var(--semantic-color-fill-static-neutral-faint) 35%, transparent)",fadeIn:"opacity var(--motion-duration-3) var(--motion-easing-decelerate), background var(--motion-duration-3) var(--motion-easing-standard)",fadeOut:"opacity var(--motion-duration-5) var(--motion-easing-standard), background var(--motion-duration-3) var(--motion-easing-standard)",idleHideMs:500};if(typeof document<"u"&&!document.getElementById("pds-scrollable-base")){let e=document.createElement("style");e.id="pds-scrollable-base",e.textContent=':root,[data-theme="light"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-500-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-500-24)}[data-theme="midnight"],[data-theme="dark"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-100-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-100-24)}.pds-scrollable__view{scrollbar-width:none;-ms-overflow-style:none}.pds-scrollable__view:-webkit-scrollbar{width:0;height:0;display:none}@media (hover: none){.pds-scrollable__grab{pointer-events:none!important}}',document.head.appendChild(e)}function nh({children:e,className:t="",style:n={},viewClassName:r="",viewStyle:o={}}){let i=Dr(),a=(0,_t.useRef)(null),l=(0,_t.useRef)(null),s=(0,_t.useRef)(null),u=(0,_t.useRef)(!1),[c,d]=(0,_t.useState)({h:0,top:0,show:!1}),[m,g]=(0,_t.useState)(!1),[y,b]=(0,_t.useState)(!1),R=(0,_t.useCallback)(()=>{let M=a.current;if(!M)return;let{scrollHeight:F,clientHeight:j,scrollTop:O}=M;if(F<=j+1){d(V=>V.show?{...V,show:!1}:V);return}let I=Math.max(rt.thumbMin,j/F*j),B=O/(F-j)*(j-I);d({h:I,top:B,show:!0})},[]);(0,_t.useEffect)(()=>{R();let M=a.current;if(!M||typeof ResizeObserver>"u")return;let F=new ResizeObserver(R);return F.observe(M),Array.from(M.children).forEach(j=>F.observe(j)),()=>F.disconnect()},[e,R]);let p=()=>{clearTimeout(s.current),s.current=setTimeout(()=>{!l.current&&!u.current&&g(!1)},rt.idleHideMs)},f=()=>{g(!0),p()},h=()=>{R(),f()},$=M=>{M.currentTarget.getBoundingClientRect().right-M.clientX<=rt.grabZone?(u.current=!0,g(!0),clearTimeout(s.current)):u.current&&(u.current=!1,p())},C=()=>{u.current=!1,l.current||p()},E=M=>{M.preventDefault();let F=a.current;if(!F)return;l.current={startY:M.clientY,startTop:F.scrollTop},b(!0),g(!0),clearTimeout(s.current);let j=I=>{let{scrollHeight:B,clientHeight:V}=F,se=Math.max(rt.thumbMin,V/B*V),Me=(B-V)/(V-se);F.scrollTop=l.current.startTop+(I.clientY-l.current.startY)*Me},O=()=>{l.current=null,b(!1),document.removeEventListener("mousemove",j),document.removeEventListener("mouseup",O),f()};document.addEventListener("mousemove",j),document.addEventListener("mouseup",O)},P=c.top,N=c.h;return(0,Dn.jsxs)("div",{className:`pds-scrollable ${t}`,style:{position:"relative",minHeight:0,...n},onMouseMove:$,onMouseLeave:C,children:[(0,Dn.jsx)("div",{ref:a,className:`pds-scrollable__view ${r}`,onScroll:h,style:{height:"100%",overflowY:"auto",overflowX:"hidden",...o},children:e}),c.show&&(0,Dn.jsxs)(Dn.Fragment,{children:[(0,Dn.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",top:P,right:rt.gutter,width:rt.thumbWidth,height:N,borderRadius:rt.thumbRadius,background:y?rt.thumbHover:rt.thumbRest,backdropFilter:rt.thumbBlur,WebkitBackdropFilter:rt.thumbBlur,boxShadow:rt.thumbEdge,opacity:m?1:0,transition:i?"none":m?rt.fadeIn:rt.fadeOut,pointerEvents:"none",zIndex:5}}),(0,Dn.jsx)("div",{"aria-hidden":"true",className:"pds-scrollable__grab",onMouseDown:E,onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),style:{position:"absolute",top:P,right:0,width:rt.grabZone,height:N,pointerEvents:m?"auto":"none",zIndex:6,background:"transparent"}})]})]})}var As=S(Ir(),1);var ye=S(K(),1),l$=S(Ir(),1);var ud=S(K(),1);var Kx=S(K(),1),oh=S(he(),1);var ad={wght:400,GRAD:0,opsz:24},rh={L:{frame:18,wrapper:26},M:{frame:16,wrapper:24},S:{frame:14,wrapper:20}};function Yl({name:e,size:t="M",fill:n=0,color:r,label:o,className:i="",style:a,...l}){let s=typeof t=="number"?t:(rh[t]||rh.M).frame;return(0,oh.jsx)("span",{className:`material-symbols-rounded ${i}`,role:o?"img":void 0,"aria-label":o||void 0,"aria-hidden":o?void 0:!0,style:{fontSize:s,lineHeight:1,display:"block",flexShrink:0,color:r,fontVariationSettings:`'FILL' ${n}, 'wght' ${ad.wght}, 'GRAD' ${ad.GRAD}, 'opsz' ${ad.opsz}`,...a},...l,children:e})}var Xl="pw-focus-ring",ah="pw-focus-ring pw-focus-ring--inset",lh="pw-focus-ring pw-focus-ring--replace",sh="pw-focus-ring pw-focus-ring--layer",ld=`
|
|
9
9
|
.pw-focus-ring:focus{outline:none}
|
|
10
10
|
.pw-focus-ring:focus-visible{outline:var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base);outline-offset:0}
|
|
11
11
|
.pw-focus-ring--inset:focus-visible{outline-offset:calc(-1 * var(--contextual-layout-units-focusring-width))}
|
|
12
12
|
.pw-focus-ring--replace:focus-visible{border-color:transparent !important;box-shadow:var(--pw-ring-keep-shadow, none) !important}
|
|
13
13
|
.pw-focus-ring--layer:focus-visible{outline:none}
|
|
14
14
|
.pw-focus-ring--layer:focus-visible [data-pw-ring-target]{outline:var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base);outline-offset:0}
|
|
15
|
-
`,jd=!1;function hi(){if(jd||typeof document>"u")return;jd=!0;let e=document.createElement("style");e.setAttribute("data-pathway","focus-ring"),e.textContent=Wu,document.head.appendChild(e)}var vi=J($e(),1);hi();var Hr=e=>`var(--semantic-color-${e})`,Uh=e=>`var(--semantic-layout-units-${e})`,mi=e=>`var(--motion-${e})`,Qd={Small:{box:36,layer:24,glyph:14},Base:{box:44,layer:28,glyph:16},Large:{box:48,layer:32,glyph:18}},Vu={rest:Hr("foreground-action-secondary-rest"),hover:Hr("foreground-action-secondary-hover"),pressed:Hr("foreground-action-secondary-pressed"),layerHover:Hr("fill-action-primary-subtle-hover"),layerPress:Hr("fill-action-primary-subtle-pressed")};function gi({name:e,size:t="Small",label:n,fill:r=0,color:o,states:i,onClick:l,disabled:u,className:a="",style:c,...p}){let m=sn(),[h,S]=(0,Qu.useState)(!1),[w,x]=(0,Qu.useState)(!1),T=Qd[t]||Qd.Small,d={...Vu,...i},s=u?Vu.rest:w?d.pressed:h?d.hover:o||Vu.rest;return(0,vi.jsx)("button",{type:"button","aria-label":n,title:n,disabled:u,onClick:l,onMouseEnter:()=>S(!0),onMouseLeave:()=>{S(!1),x(!1)},onMouseDown:()=>x(!0),onMouseUp:()=>x(!1),onBlur:()=>x(!1),className:`pw-action-icon ${Vd} ${a}`,"data-size":t,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:T.box,height:T.box,flexShrink:0,boxSizing:"border-box",background:"transparent",border:"none",padding:0,cursor:u?"default":"pointer",opacity:u?.5:1,color:s,...c},...p,children:(0,vi.jsx)("span",{"data-pw-ring-target":"",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:T.layer,height:T.layer,borderRadius:Uh("cornerradius-base"),background:w?d.layerPress:h?d.layerHover:"transparent",transition:m?"none":`background ${mi("duration-2")} ${mi("easing-standard")}`},children:(0,vi.jsx)(Uu,{name:e,size:T.glyph,fill:r,style:{transition:m?"none":`color ${mi("duration-2")} ${mi("easing-standard")}`}})})})}var cn=J(Ze(),1);var Kd=J($e(),1),Le=e=>`var(--semantic-color-${e})`,it=e=>`var(--semantic-layout-units-${e})`;var $m={panel:Le("fill-surface-elevated"),panelBorder:Le("stroke-static-neutral-base"),divider:Le("stroke-static-neutral-base"),item:Le("foreground-action-secondary-rest"),itemFgHover:Le("foreground-action-secondary-hover"),itemHover:Le("fill-action-selection-hover"),danger:Le("foreground-static-negative-on-subtle"),subtle:Le("foreground-static-neutral-subtle"),trigger:Le("foreground-action-secondary-rest"),triggerHover:Le("foreground-action-secondary-hover"),buttonFill:Le("fill-surface-elevated"),buttonBorder:Le("stroke-action-secondary-rest"),avatarFill:Le("fill-action-primary-subtle-rest"),avatarText:Le("foreground-action-primary-on-subtle-rest")},Am={iconBox:20,iconGlyph:20,panelMinW:212,radius:it("cornerradius-base"),border:"var(--semantic-layout-units-borderwidth-base)",panelPad:it("padding-xtight"),slotPad:it("padding-xxtight"),slotGap:it("gap-xtight"),itemH:40,itemPadV:it("padding-xxtight"),itemPadH:it("padding-medium"),itemInset:it("padding-xtight"),gap:it("gap-xxtight"),dividerPadV:it("padding-xxtight"),leadingBox:20,leadingGlyph:14,offset:4,buttonPadV:it("padding-xtight"),buttonPadH:it("padding-tight"),avatarBox:28},Gd=(0,cn.createContext)(null);var ie=J($e(),1),Fr=e=>`var(--semantic-color-${e})`,Ee=e=>`var(--semantic-layout-units-${e})`,$r=e=>`var(--semantic-type-${e})`,ft=e=>`var(--motion-${e})`,Wn={surface:Fr("fill-surface-elevated"),overlay:Fr("scrim-subtle"),handle:Fr("fill-static-neutral-strong"),title:Fr("foreground-static-neutral-strong"),footerBorder:Fr("stroke-static-neutral-faint"),shadow:"var(--elevation-sheet)"},j={radius:Ee("cornerradius-xlarge"),sheetGap:Ee("gap-tight"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4,pillRadius:Ee("cornerradius-full"),headerMinH:Ee("accessibility-touch-target-aa-height"),headerPadTop:Ee("padding-xtight"),headerPadX:Ee("padding-xxxxtight"),headerPadBottom:Ee("padding-xxxtight"),headerGap:Ee("gap-xxtight"),titleInset:Ee("padding-base"),bodyPad:Ee("padding-xtight"),bodyGap:Ee("gap-xxtight"),footerBorder:Ee("borderwidth-base"),footerPadTop:Ee("padding-tight"),footerPad:Ee("padding-base"),footerGap:Ee("gap-tight"),dismissDistance:80,flickSpeed:.5},Wh={title:{fontFamily:$r("family-brand"),fontSize:$r("font-size-s"),fontWeight:$r("weight-semibold"),lineHeight:$r("line-height-s-tight"),letterSpacing:$r("letter-spacing-wide")}},dn={enter:`pw-bottom-sheet-up ${ft("duration-5")} ${ft("easing-emphasized")} both`,exit:`pw-bottom-sheet-down ${ft("duration-4")} ${ft("easing-accelerate")} both`,fadeIn:`pw-bottom-sheet-fade-in ${ft("duration-4")} ${ft("easing-standard")} both`,fadeOut:`pw-bottom-sheet-fade-out ${ft("duration-4")} ${ft("easing-standard")} both`,settle:`transform ${ft("duration-4")} ${ft("easing-decelerate")}`},Vh="@keyframes pw-bottom-sheet-up{from{transform:translateY(100%)}to{transform:none}}@keyframes pw-bottom-sheet-down{from{transform:none}to{transform:translateY(100%)}}@keyframes pw-bottom-sheet-fade-in{from{opacity:0}to{opacity:1}}@keyframes pw-bottom-sheet-fade-out{from{opacity:1}to{opacity:0}}.pw-bottom-sheet__body{scrollbar-width:thin}";function Qh(){(0,X.useLayoutEffect)(()=>{if(typeof document>"u"||document.getElementById("pw-bottom-sheet-css"))return;let e=document.createElement("style");e.id="pw-bottom-sheet-css",e.textContent=Vh,document.head.appendChild(e)},[])}var Yd='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Xd='[role="menuitem"]:not([disabled]), [role="menuitemradio"]:not([disabled]), [role="menuitemcheckbox"]:not([disabled])';function Gh(){return(0,ie.jsx)("div",{"aria-hidden":"true","data-part":"handle",style:{height:j.handleZone,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,ie.jsx)("div",{style:{width:j.pillWidth,height:j.pillHeight,borderRadius:j.pillRadius,background:Wn.handle}})})}function Kh({title:e,titleId:t,titleRef:n,showBack:r=!1,onBack:o,onClose:i,backLabel:l="Back",closeLabel:u="Close"}){return(0,ie.jsxs)("div",{"data-part":"header",style:{display:"flex",alignItems:"center",gap:j.headerGap,minHeight:j.headerMinH,boxSizing:"border-box",padding:`${j.headerPadTop} ${j.headerPadX} ${j.headerPadBottom}`},children:[r&&(0,ie.jsx)(gi,{name:"arrow_back",size:"Base",label:l,onClick:o}),(0,ie.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:j.titleInset},children:(0,ie.jsx)("h2",{id:t,ref:n,tabIndex:-1,style:{margin:0,outline:"none",color:Wn.title,...Wh.title,overflowWrap:"anywhere",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e})}),(0,ie.jsx)(gi,{name:"close",size:"Base",label:u,onClick:i})]})}function Yh({children:e}){return(0,ie.jsx)("div",{"data-part":"footer",style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:j.footerGap,flexShrink:0,borderTop:`${j.footerBorder} solid ${Wn.footerBorder}`,padding:`${j.footerPadTop} ${j.footerPad} calc(${j.footerPad} + env(safe-area-inset-bottom, 0px))`},children:e})}function Xh({onClick:e,animation:t,opacity:n}){return(0,ie.jsx)("div",{"data-part":"overlay","aria-hidden":"true",onClick:e,style:{position:"absolute",inset:0,background:Wn.overlay,animation:t,opacity:n}})}function Jd({open:e,onOpenChange:t,title:n,children:r,menu:o=!1,showHandle:i=!0,footer:l,showBack:u=!1,onBack:a,initialFocus:c="auto",returnFocusRef:p,closeLabel:m="Close",backLabel:h="Back",container:S,contained:w=!1,className:x="",style:T}){Qh();let d=sn(),s=`pwbs${(0,X.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[f,v]=(0,X.useState)(!!e),[k,C]=(0,X.useState)(!1),[P,N]=(0,X.useState)(0),[L,z]=(0,X.useState)(!1),H=(0,X.useRef)(null),I=(0,X.useRef)(null),R=(0,X.useRef)(null),D=(0,X.useRef)(null),U=(0,X.useRef)(null),ne=(0,X.useRef)(null),Ye=()=>t?.(!1);(0,X.useEffect)(()=>{e?(typeof document<"u"&&(U.current=document.activeElement),C(!1),N(0),v(!0)):f&&C(!0)},[e]);let lf=O=>{O.target!==H.current||!k||(v(!1),C(!1),N(0),xi.current=!0)},xi=(0,X.useRef)(!1);(0,X.useEffect)(()=>{if(!f||!D.current||w)return;let O=D.current,W=document.body.style.overflow;document.body.style.overflow="hidden";let Xe=[...O.parentNode?.children||[]].filter(Ie=>Ie!==O&&!Ie.inert&&Ie.tagName!=="SCRIPT"&&Ie.tagName!=="STYLE");return Xe.forEach(Ie=>{Ie.inert=!0}),()=>{document.body.style.overflow=W,Xe.forEach(Ie=>{Ie.inert=!1})}},[f]),(0,X.useEffect)(()=>{if(f||!xi.current)return;xi.current=!1;let O=p?.current||U.current;O&&O.isConnected&&typeof O.focus=="function"&&O.focus()},[f]),(0,X.useEffect)(()=>{if(!f||k||!H.current||w)return;let O=I.current?[...I.current.querySelectorAll(Xd)]:[],W=R.current;c==="first"?W=O[0]||H.current.querySelector(Yd)||W:c==="auto"&&o&&O.length&&(W=O.find(Be=>Be.getAttribute("aria-checked")==="true")||O[0]),W?.focus({preventScroll:!0})},[f,k]);let Yu=(0,X.useRef)(!0);(0,X.useEffect)(()=>{if(Yu.current){Yu.current=!1;return}f&&!w&&R.current?.focus({preventScroll:!0})},[u]);let uf=O=>{if(O.key==="Escape"){O.stopPropagation(),O.nativeEvent?.stopImmediatePropagation?.(),Ye();return}if(O.key==="Tab"&&H.current){let Ie=[...H.current.querySelectorAll(Yd)].filter(bu=>bu.offsetParent!==null||bu===document.activeElement);if(!Ie.length){O.preventDefault();return}let Ju=Ie[0],qu=Ie[Ie.length-1];O.shiftKey&&(document.activeElement===Ju||document.activeElement===R.current)?(O.preventDefault(),qu.focus()):!O.shiftKey&&document.activeElement===qu&&(O.preventDefault(),Ju.focus());return}if(!o||!I.current||!I.current.contains(document.activeElement))return;let W=[...I.current.querySelectorAll(Xd)];if(!W.length)return;let Be=W.indexOf(document.activeElement),Xe=null;O.key==="ArrowDown"?Xe=(Be+1)%W.length:O.key==="ArrowUp"?Xe=(Be-1+W.length)%W.length:O.key==="Home"?Xe=0:O.key==="End"&&(Xe=W.length-1),Xe!==null&&(O.preventDefault(),W[Xe].focus())},af=O=>{O.button!==void 0&&O.button!==0||I.current?.contains(O.target)&&I.current.scrollTop>0||(ne.current={y:O.clientY,t:performance.now(),id:O.pointerId,active:!1})},sf=O=>{let W=ne.current;if(!W||W.id!==O.pointerId)return;let Be=O.clientY-W.y;if(!W.active){if(Be<-4){ne.current=null;return}if(Be<8)return;W.active=!0,z(!0),H.current?.setPointerCapture?.(O.pointerId)}N(Math.max(0,Be))},Xu=O=>{let W=ne.current;if(ne.current=null,!W||!W.active)return;z(!1);let Be=Math.max(0,O.clientY-W.y),Xe=Be/Math.max(1,performance.now()-W.t);Be>j.dismissDistance||Xe>j.flickSpeed?Ye():N(0)};if(!f||typeof document>"u")return null;let cf=d?k?dn.fadeOut:dn.fadeIn:k?dn.exit:dn.enter,Si=P>0&&!k,df=Si&&H.current?Math.max(0,1-P/H.current.offsetHeight):void 0,Zu=(0,ie.jsxs)("div",{ref:D,className:`pw-bottom-sheet ${x}`,"data-open":!k||void 0,style:{position:w?"absolute":"fixed",inset:0,zIndex:w?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",...T},children:[(0,ie.jsx)(Xh,{onClick:Ye,animation:k?dn.fadeOut:dn.fadeIn,opacity:df}),(0,ie.jsxs)("div",{ref:H,role:"dialog","aria-modal":"true","aria-labelledby":s,onKeyDown:uf,onAnimationEnd:lf,onPointerDown:af,onPointerMove:sf,onPointerUp:Xu,onPointerCancel:Xu,style:{position:"relative",width:"100%",maxWidth:j.maxWidth,boxSizing:"border-box",maxHeight:w?`calc(100% - ${j.topClearance}px)`:`calc(100dvh - ${j.topClearance}px)`,display:"flex",flexDirection:"column",gap:j.sheetGap,background:Wn.surface,boxShadow:Wn.shadow,borderRadius:`${j.radius} ${j.radius} 0 0`,animation:Si?"none":cf,transform:Si?`translateY(${P}px)`:void 0,transition:L||d?"none":dn.settle,touchAction:"pan-y"},children:[(0,ie.jsxs)("div",{"data-part":"top",style:{display:"flex",flexDirection:"column",flexShrink:0},children:[i&&(0,ie.jsx)(Gh,{}),(0,ie.jsx)(Kh,{title:n,titleId:s,titleRef:R,showBack:u,onBack:a,onClose:Ye,closeLabel:m,backLabel:h})]}),(0,ie.jsx)("div",{ref:I,className:"pw-bottom-sheet__body","data-part":"body",role:o?"menu":void 0,"aria-labelledby":o?s:void 0,style:{display:"flex",flexDirection:"column",gap:j.bodyGap,minHeight:0,flex:"0 1 auto",overflowY:"auto",overflowX:"hidden",overscrollBehavior:"contain",padding:l?`0 ${j.bodyPad} ${j.bodyPad}`:`0 ${j.bodyPad} calc(${j.bodyPad} + env(safe-area-inset-bottom, 0px))`},children:(0,ie.jsx)(Gd.Provider,{value:Ye,children:r})}),l&&(0,ie.jsx)(Yh,{children:l})]})]});return w?Zu:(0,Zd.createPortal)(Zu,S||document.body)}var y=J($e(),1),Gu=e=>e?{inert:"","aria-hidden":!0}:{};hi();var A=e=>`var(--semantic-color-${e})`,Ku=e=>`var(${e})`,Ce=e=>`var(--semantic-layout-units-${e})`,fn=e=>`var(--contextual-layout-units-${e})`,qd=e=>typeof e=="number"?-e:`calc(-1 * ${e})`,M={fill:{navBase:"transparent",navHover:A("fill-action-selection-hover"),navActive:A("fill-action-selection-selected"),navTrail:A("fill-action-selection-trail"),infoSubtle:A("stroke-static-neutral-faint")},surface:{navLight:A("fill-surface-elevated"),navElevated:A("fill-surface-elevated")},text:{navBase:A("foreground-action-secondary-rest"),navHover:A("foreground-action-secondary-hover"),navActive:A("foreground-action-secondary-pressed"),navDisabled:A("foreground-action-disabled"),secondary:A("foreground-static-neutral-subtle"),secondarySubtle:A("foreground-static-neutral-subtle"),strong:A("foreground-static-neutral-strong")},icon:{navBase:A("foreground-action-secondary-rest"),navHover:A("foreground-action-secondary-hover"),navActive:A("foreground-action-secondary-pressed"),navDisabled:A("foreground-action-disabled"),actionSecondary:A("foreground-action-secondary-rest")},indicator:A("fill-action-selection-indicator"),radius:fn("navitem-cornerradius")},E={navPadH:fn("sidenav-padding-horizontal-expanded"),navColPadH:fn("sidenav-padding-horizontal-collapsed"),navPadTop:fn("sidenav-padding-vertical"),navW:fn("sidenav-width-expanded"),navWcol:fn("sidenav-width-collapsed"),menuGap:fn("sidenav-gap-vertical"),menuPadT:Ce("padding-tight"),menuPadB:Ce("padding-xxwide"),itemH:Ce("accessibility-touch-target-aa-height"),iconWrap:24,iconInner:16,rowPadH:Ce("padding-tight"),railIconInset:Ce("padding-xxtight"),textPad:Ce("padding-xtight"),childIndent:24,stripeW:4,stripeOuterPadV:Ce("padding-xxxtight"),stripeInnerPadV:Ce("padding-xxtight"),stripeRadius:Ce("cornerradius-base"),itemPadH:Ce("padding-xxtight"),chevPad:"var(--semantic-layout-units-padding-xxxxtight, 2px)",chevBox:20,chevFrame:16,chevGlyph:12,childRowPadL:Ce("padding-tight"),childMainPadL:Ce("padding-relaxed"),colPadL:Ce("padding-medium"),colPadR:Ce("padding-tight"),collapseGap:Ce("padding-xxtight")};function tf({visible:e,inset:t}){return(0,y.jsx)("div",{style:{width:E.stripeW,alignSelf:"stretch",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",padding:t?`${t} 0`:`calc(${E.stripeOuterPadV} + ${E.stripeInnerPadV}) 0`,boxSizing:"border-box",flexShrink:0},children:(0,y.jsx)("div",{style:{flex:"1 0 0",width:E.stripeW,minHeight:1,borderRadius:`0 ${E.stripeRadius} ${E.stripeRadius} 0`,backgroundColor:e?M.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}})})}function bd({item:e,isActive:t,isTrail:n,isExpanded:r,isSidebarCollapsed:o,isChild:i,onClick:l,onToggle:u,popoverOpen:a,anchorRect:c,onPopoverEnter:p,onPopoverLeave:m,activeId:h,chevronUp:S,chevronDown:w,collapseIcon:x,expandIcon:T}){let[d,s]=(0,Z.useState)(!1),f=!!(e.children&&e.children.length),v=(0,Z.useRef)(null),k=f&&r&&!o,C=n&&(!r||o),N=C||t&&!(o&&f),L=!!e.disabled,z=L?M.fill.navBase:t||C?M.fill.navActive:k?M.fill.navTrail:d?M.fill.navHover:M.fill.navBase,H=L?M.text.navDisabled:t||C||k?M.text.navActive:d?M.text.navHover:M.text.navBase,I=L?M.icon.navDisabled:t||C||k?M.icon.navActive:d?M.icon.navHover:M.icon.navBase,R=()=>{L||(f&&!o?u(e.id):l(e.id))};return(0,y.jsxs)("div",{ref:v,style:{position:"relative"},children:[(0,y.jsxs)("div",{className:pi,role:"button",tabIndex:L?-1:0,"aria-current":t?"page":void 0,"aria-disabled":L?!0:void 0,"aria-expanded":f&&!o?r:void 0,onClick:R,onKeyDown:D=>!L&&(D.key==="Enter"||D.key===" ")&&R(),onMouseEnter:()=>{if(!L&&(s(!0),o&&p)){let D=v.current?v.current.getBoundingClientRect():null;p(e.id,D)}},onMouseLeave:()=>{L||(s(!1),o&&m&&m())},style:{display:"flex",alignItems:"center",minHeight:E.itemH,width:o?E.itemH:"100%",marginLeft:o?"auto":void 0,marginRight:o?"auto":void 0,paddingRight:o?E.railIconInset:void 0,boxSizing:"border-box",borderRadius:M.radius,backgroundColor:z,cursor:L?"not-allowed":"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,y.jsx)(tf,{visible:N}),!i&&e.icon&&(0,y.jsx)("div",{style:{width:E.iconWrap,height:E.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:o?"auto":E.itemPadH,marginRight:o?"auto":void 0,color:I},children:typeof e.icon=="function"?e.icon({size:E.iconInner,color:I}):typeof e.icon=="string"?(0,y.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:E.iconInner,lineHeight:1,color:I,display:"block",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},children:e.icon}):Z.default.cloneElement(e.icon,{style:{color:I}})}),(0,y.jsx)("div",{style:{flex:o?"0 0 0px":1,minWidth:0,paddingLeft:o?0:i?`calc(${E.childRowPadL} + ${E.childMainPadL} + ${E.textPad})`:E.textPad,paddingRight:o?0:i?E.childRowPadL:E.itemPadH,maxWidth:o?0:200,opacity:o?0:1,overflow:"hidden",pointerEvents:o?"none":"auto",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,y.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:H,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})}),!i&&f&&!o&&(0,y.jsx)("div",{style:{width:E.chevBox,height:E.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,opacity:o?0:1,overflow:"hidden",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,y.jsx)("div",{style:{transform:r?"rotate(180deg)":"rotate(0deg)",transition:"transform var(--motion-duration-5) var(--motion-easing-accordion)"},children:w?w({size:E.chevGlyph,color:I}):(0,y.jsx)(om,{size:E.chevGlyph,color:I})})})]}),o&&a&&c&&(0,y.jsx)("div",{style:{position:"fixed",left:c.right,top:c.top,width:8,height:c.height,zIndex:999},onMouseEnter:()=>{let D=v.current?v.current.getBoundingClientRect():c;p&&p(e.id,D)}}),o&&f&&a&&c&&(0,y.jsx)(qh,{item:e,onClick:l,anchorRect:c,activeId:h,onMouseEnter:()=>{let D=v.current?v.current.getBoundingClientRect():c;p&&p(e.id,D)},onMouseLeave:m}),o&&!f&&a&&c&&(0,y.jsx)(Zh,{label:e.label,anchorRect:c,onMouseEnter:()=>{let D=v.current?v.current.getBoundingClientRect():c;p&&p(e.id,D)},onMouseLeave:m})]})}function Zh({label:e,anchorRect:t,onMouseEnter:n,onMouseLeave:r}){return t?yi.default.createPortal((0,y.jsx)("div",{onMouseEnter:n,onMouseLeave:r,style:{position:"fixed",left:t.right+8,top:t.top+t.height/2,zIndex:1e3,backgroundColor:M.surface.navLight,border:`0.5px solid ${A("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:Ku("--elevation-widget"),padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-xtight)",whiteSpace:"nowrap",pointerEvents:"auto",animation:"popoverInCentered var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:(0,y.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:M.text.strong},children:e})}),document.body):null}function Jh({label:e}){return(0,y.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-tight)",paddingRight:"var(--semantic-layout-units-padding-xtight)",paddingTop:"var(--semantic-layout-units-padding-xxtight)",paddingBottom:"var(--semantic-layout-units-padding-xxtight)"},children:(0,y.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:M.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function qh({item:e,onClick:t,anchorRect:n,onMouseEnter:r,onMouseLeave:o,activeId:i}){return n?yi.default.createPortal((0,y.jsxs)("div",{onMouseEnter:r,onMouseLeave:o,style:{position:"fixed",left:n.right+8,top:n.top,zIndex:1e3,backgroundColor:M.surface.navElevated,border:`0.5px solid ${A("stroke-static-neutral-faint")}`,borderRadius:"var(--primitive-unit-unit-10)",boxShadow:Ku("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",boxSizing:"border-box",minWidth:220,maxWidth:360,pointerEvents:"auto",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,y.jsx)(Jh,{label:e.label}),e.children.map(l=>(0,y.jsx)(Ar,{item:l,onClick:t,activeId:i},l.id))]}),document.body):null}function Ar({item:e,onClick:t,activeId:n}){let[r,o]=(0,Z.useState)(!1),i=e.id===n,l=i?M.fill.navActive:r?M.fill.navHover:"transparent",u=M.text.strong;return(0,y.jsxs)("div",{onClick:()=>t(e.id),className:Ud,role:"menuitem",tabIndex:0,"aria-current":i?"page":void 0,onKeyDown:a=>(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),t(e.id)),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),onFocus:()=>o(!0),onBlur:()=>o(!1),style:{position:"relative",display:"flex",alignItems:"center",minHeight:E.itemH,boxSizing:"border-box",padding:"var(--semantic-layout-units-padding-tight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",overflow:"hidden",backgroundColor:l,cursor:"pointer",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,y.jsx)("div",{style:{position:"absolute",left:0,top:"var(--semantic-layout-units-padding-xtight)",bottom:"var(--semantic-layout-units-padding-xtight)",width:E.stripeW,borderRadius:`0 ${E.stripeRadius} ${E.stripeRadius} 0`,backgroundColor:i?M.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}}),(0,y.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:u,flex:1},children:e.label})]})}var ef=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target)),pt={restStroke:A("stroke-action-primary-subtle-rest"),hoverFill:A("fill-action-primary-subtle-hover"),hoverStroke:A("stroke-action-primary-strong-hover"),hoverFg:A("foreground-action-primary-on-subtle-hover"),openFill:A("fill-action-primary-subtle-pressed"),openStroke:A("stroke-action-primary-strong-pressed"),openFg:A("foreground-action-primary-on-subtle-pressed"),restFg:A("foreground-static-neutral-bold"),separator:A("stroke-static-neutral-base")};function bh({label:e,icon:t="apps",home:n,apps:r=[],activeId:o,onSelect:i,collapsed:l=!1,presentation:u="popover",sheetTitle:a}){let c=[n,...r].filter(Boolean).find(R=>R.id===o),p=c&&c.label||e||n&&n.label,[m,h]=(0,Z.useState)(!1),[S,w]=(0,Z.useState)(!1),[x,T]=(0,Z.useState)(!1),[d,s]=(0,Z.useState)(null),f=(0,Z.useRef)(null),v=(0,Z.useRef)(null),k=(0,Z.useRef)(null),C=(0,Z.useRef)(!1),P=()=>{if(x){T(!1);return}s(f.current?f.current.getBoundingClientRect():null),T(!0)};(0,Z.useEffect)(()=>{if(!x||u==="sheet"||!C.current)return;C.current=!1;let R=setTimeout(()=>{let D=k.current?[...k.current.querySelectorAll('[role="menuitem"]')]:[];(D.find(U=>U.getAttribute("aria-current"))||D[0])?.focus()},0);return()=>clearTimeout(R)},[x,u]);let N=R=>{let D=[...R.currentTarget.querySelectorAll('[role="menuitem"]')],U=D.indexOf(document.activeElement),ne=null;R.key==="ArrowDown"?ne=(U+1)%D.length:R.key==="ArrowUp"?ne=(U-1+D.length)%D.length:R.key==="Home"?ne=0:R.key==="End"&&(ne=D.length-1),!(ne===null||!D.length)&&(R.preventDefault(),D[ne].focus())},L=R=>{T(!1),i&&i(R),v.current&&v.current.focus()};(0,Z.useEffect)(()=>{if(!x||u==="sheet")return;let R=U=>{ef(f.current,U)||ef(k.current,U)||T(!1)},D=U=>{U.key==="Escape"&&(T(!1),v.current&&v.current.focus())};return document.addEventListener("mousedown",R),document.addEventListener("keydown",D),()=>{document.removeEventListener("mousedown",R),document.removeEventListener("keydown",D)}},[x,u]);let z=x||S,H=z?pt.openFg:m?pt.hoverFg:pt.restFg,I=n||{id:"__home",label:e};return(0,y.jsxs)("div",{ref:f,style:{boxSizing:"border-box",width:"100%",minHeight:E.itemH,flexShrink:0,padding:l?`${E.textPad} 0`:`${E.textPad} ${E.chevPad}`},children:[(0,y.jsxs)("button",{ref:v,className:Wd,type:"button",onClick:P,onKeyDown:R=>{(R.key==="Enter"||R.key===" "||R.key==="ArrowDown")&&(C.current=!0),R.key==="ArrowDown"&&!x&&(R.preventDefault(),P())},"aria-haspopup":"menu","aria-expanded":x,"aria-label":l?`Switch application: ${p}`:void 0,onMouseEnter:()=>h(!0),onMouseLeave:()=>{h(!1),w(!1)},onMouseDown:()=>w(!0),onMouseUp:()=>w(!1),onBlur:()=>w(!1),style:{display:"flex",alignItems:"center",width:"100%",height:E.itemH,boxSizing:"border-box",margin:0,cursor:"pointer",fontFamily:"inherit",justifyContent:l?"center":"flex-start",gap:l?0:"var(--semantic-layout-units-gap-xxxtight)",paddingLeft:E.itemPadH,paddingRight:E.itemPadH,borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:z?pt.openFill:m?pt.hoverFill:"transparent",border:"none","--pw-ring-keep-shadow":"var(--elevation-lift)",boxShadow:`inset 0 0 0 ${z?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${z?pt.openStroke:m?pt.hoverStroke:pt.restStroke}, var(--elevation-lift)`,transition:"background-color var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,y.jsx)("span",{style:{width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,y.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:E.iconInner,lineHeight:1,display:"block",color:H,fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:t})}),!l&&(0,y.jsx)("span",{style:{flex:1,minWidth:0,textAlign:"left",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:H,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:p})]}),u==="sheet"&&(0,y.jsxs)(Jd,{open:x,title:a||p,menu:!0,returnFocusRef:v,onOpenChange:R=>{R||T(!1)},children:[(0,y.jsx)(Ar,{item:I,onClick:L,activeId:o}),r.length>0&&(0,y.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,y.jsx)("div",{style:{borderTop:`0.5px solid ${pt.separator}`}})}),r.map(R=>(0,y.jsx)(Ar,{item:R,onClick:L,activeId:o},R.id))]}),x&&u!=="sheet"&&d&&yi.default.createPortal((0,y.jsxs)("div",{ref:k,role:"menu","aria-label":p,onKeyDown:N,style:{position:"fixed",left:`calc(${d.right}px + var(--semantic-layout-units-gap-xxxtight))`,top:d.top,zIndex:1e3,boxSizing:"border-box",minWidth:220,maxWidth:360,maxHeight:`calc(100vh - ${Math.round(d.top)}px - var(--semantic-layout-units-padding-base))`,overflowY:"auto",background:M.surface.navElevated,border:`var(--semantic-layout-units-borderwidth-xthin, 0.5px) solid ${A("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-large)",boxShadow:Ku("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,y.jsx)(Ar,{item:I,onClick:L,activeId:o}),r.length>0&&(0,y.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,y.jsx)("div",{style:{borderTop:`0.5px solid ${pt.separator}`}})}),r.map(R=>(0,y.jsx)(Ar,{item:R,onClick:L,activeId:o},R.id))]}),document.body)]})}function em({isSidebarCollapsed:e,onToggle:t,collapseIcon:n,expandIcon:r,headerStart:o=null,hideToggle:i=!1}){let[l,u]=(0,Z.useState)(!1),a=M.icon.actionSecondary,c=!e&&o;return(0,y.jsxs)("div",{style:{width:"100%",flexShrink:0},children:[(0,y.jsxs)("div",{style:{display:"flex",alignItems:"center",height:E.itemH,width:"100%",justifyContent:c?"space-between":e?"center":"flex-end",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[c&&(0,y.jsx)("div",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1},children:o}),!i&&(0,y.jsx)("div",{onClick:t,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),"aria-label":e?"Expand navigation":"Collapse navigation",className:pi,role:"button",tabIndex:0,onKeyDown:p=>(p.key==="Enter"||p.key===" ")&&t(),style:{display:"flex",alignItems:"center",height:E.itemH,flexShrink:0,cursor:"pointer"},children:(0,y.jsx)("div",{style:{width:E.itemH,height:E.itemH,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,y.jsx)("div",{style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--primitive-unit-unit-10)",backgroundColor:l?M.fill.navHover:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:e?r?r({size:12,color:a}):(0,y.jsx)(lm,{color:a}):n?n({size:12,color:a}):(0,y.jsx)(im,{color:a})})})})]}),(0,y.jsx)("div",{style:{padding:"var(--semantic-layout-units-padding-xxxtight) 0"},children:(0,y.jsx)("div",{style:{height:1,backgroundColor:M.fill.infoSubtle}})})]})}function nf({label:e}){return(0,y.jsx)("div",{style:{display:"flex",alignItems:"center",height:40,width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-xxtight)",paddingRight:"var(--semantic-layout-units-padding-xxtight)",paddingTop:"var(--semantic-layout-units-padding-tight)",paddingBottom:"var(--semantic-layout-units-padding-tight)",flexShrink:0},children:(0,y.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xxs)",lineHeight:"var(--semantic-type-line-height-xxs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",textTransform:"uppercase",color:M.text.secondarySubtle,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function tm({color:e}){return(0,y.jsx)("svg",{width:E.iconInner,height:E.iconInner,viewBox:"0 0 16 16","aria-hidden":"true",style:{display:"block",flexShrink:0},children:(0,y.jsx)("circle",{cx:"8",cy:"8",r:"6.6667",fill:e})})}function nm({item:e,isActive:t,onClick:n}){let[r,o]=(0,Z.useState)(!1),i=t?M.fill.navActive:r?M.fill.navHover:"transparent",l=t?M.text.navActive:r?M.text.navHover:M.text.navBase,u=t?M.icon.navActive:r?M.icon.navHover:M.icon.navBase;return(0,y.jsxs)("div",{onClick:()=>n&&n(e.id),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:pi,role:"button",tabIndex:0,onKeyDown:a=>(a.key==="Enter"||a.key===" ")&&n&&n(e.id),style:{display:"flex",alignItems:"center",height:48,minHeight:E.itemH,width:"100%",borderRadius:M.radius,backgroundColor:i,cursor:"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,y.jsx)(tf,{visible:t,inset:E.stripeInnerPadV}),(0,y.jsx)("div",{style:{width:E.iconWrap,height:E.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:E.rowPadH},children:(0,y.jsx)(tm,{color:u})}),(0,y.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:E.textPad,paddingRight:`calc(${E.textPad} + ${E.rowPadH})`},children:(0,y.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:l,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})})]})}function rm({label:e,items:t,activeId:n,onNavigate:r}){return(0,y.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xtight)",width:"100%",flexShrink:0},children:[(0,y.jsx)(nf,{label:e}),(0,y.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:t.map(o=>(0,y.jsx)(nm,{item:o,isActive:o.id===n,onClick:r},o.id))})]})}function rf({items:e,sections:t,listSection:n,activeId:r,onNavigate:o,collapsed:i=!1,onCollapseChange:l,hideCollapseButton:u=!1,defaultExpanded:a={},className:c="",headerEnd:p=null,children:m=null,footer:h=null,appSwitcher:S=null,headerStart:w=null}){let[x,T]=(0,Z.useState)(a),[d,s]=(0,Z.useState)(null),[f,v]=(0,Z.useState)(null),k=(0,Z.useRef)(null),C=t?t.flatMap(I=>I.items):e||[],P=(()=>{let I=C.find(R=>R.children&&R.children.some(D=>D.id===r));return I?I.id:null})(),N=I=>T(R=>{if(!R[I])return{[I]:!0};let U={...R};return delete U[I],U}),L=(I,R)=>{clearTimeout(k.current),s(I),R&&v(R)},z=()=>{k.current=setTimeout(()=>{s(null),v(null)},300)},H=I=>{let R=!!(I.children&&I.children.length),D=I.id===r,U=I.id===P,ne=!!x[I.id];return(0,y.jsxs)("div",{children:[(0,y.jsx)(bd,{item:I,isActive:D,isTrail:U,isExpanded:ne,isSidebarCollapsed:i,isChild:!1,onClick:o,onToggle:N,popoverOpen:d===I.id,anchorRect:d===I.id?f:null,onPopoverEnter:L,onPopoverLeave:z,activeId:r}),R&&!i&&(0,y.jsx)("div",{...Gu(!ne),style:{display:"grid",gridTemplateRows:ne?"1fr":"0fr",marginTop:ne?E.menuGap:0,transition:"grid-template-rows var(--motion-duration-5) var(--motion-easing-accordion), margin-top var(--motion-duration-5) var(--motion-easing-accordion)"},children:(0,y.jsx)("div",{style:{overflow:"hidden",display:"flex",flexDirection:"column",gap:E.menuGap,opacity:ne?1:0,transition:ne?"opacity var(--motion-duration-4) var(--motion-easing-standard) 70ms":"opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:I.children.map(Ye=>(0,y.jsx)(bd,{item:Ye,isActive:Ye.id===r,isTrail:!1,isExpanded:!1,isSidebarCollapsed:!1,isChild:!0,onClick:o,onToggle:()=>{}},Ye.id))})})]},I.id)};return(0,y.jsxs)("nav",{className:c,style:{width:i?E.navWcol:E.navW,height:"100%",backgroundColor:M.surface.navLight,display:"flex",flexDirection:"column",paddingTop:E.navPadTop,paddingBottom:0,paddingLeft:i?E.navColPadH:E.navPadH,paddingRight:i?E.navColPadH:E.navPadH,boxSizing:"border-box",flexShrink:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)",borderRight:`1px solid ${M.fill.infoSubtle}`,overflow:"hidden"},children:[(!u||p||w)&&(0,y.jsxs)("div",{style:{flexShrink:0},children:[(!u||w)&&(0,y.jsx)(em,{isSidebarCollapsed:i,headerStart:w,hideToggle:u,onToggle:()=>l&&l(!i)}),p&&(0,y.jsx)("div",{...Gu(i),style:{opacity:i?0:1,maxHeight:i?0:200,overflow:"hidden",pointerEvents:i?"none":"auto",padding:i?0:`0 ${E.navPadH}`,transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:p})]}),(0,y.jsxs)($d,{style:{flex:1,minHeight:0,marginRight:qd(i?E.navColPadH:E.navPadH),marginLeft:qd("var(--contextual-layout-units-focusring-width)")},viewStyle:{display:"flex",flexDirection:"column",gap:E.menuGap,paddingTop:E.menuPadT,paddingRight:i?E.navColPadH:E.navPadH,paddingLeft:"var(--contextual-layout-units-focusring-width)"},children:[S&&(0,y.jsx)(bh,{...S,collapsed:i}),t&&t.map(({section:I,items:R},D)=>(0,y.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:E.menuGap,flexShrink:0},children:[(0,y.jsx)("div",{style:{opacity:i?0:1,maxHeight:i?0:40,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",flexShrink:0},children:(0,y.jsx)(nf,{label:I})}),D>0&&(0,y.jsx)("div",{style:{opacity:i?1:0,maxHeight:i?5:0,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",padding:"2px 0",flexShrink:0},children:(0,y.jsx)("div",{style:{height:1,backgroundColor:M.fill.infoSubtle}})}),R.map(H)]},I)),!t&&(e||[]).map(H),n&&(0,y.jsx)("div",{...Gu(i),style:{opacity:i?0:1,maxHeight:i?0:400,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:(0,y.jsx)(rm,{label:n.label,items:n.items,activeId:r,onNavigate:o})}),m&&(0,y.jsx)("div",{style:{flexShrink:0},children:m}),(0,y.jsx)("div",{style:{flex:1,minHeight:E.menuPadB}})]}),h&&(0,y.jsx)("div",{style:{flexShrink:0,borderTop:`0.5px solid ${M.fill.infoSubtle}`,padding:i?`8px ${E.navColPadH}`:`8px ${E.navPadH}`,transition:"padding var(--motion-duration-6) var(--motion-easing-emphasized)"},children:h})]})}function om({size:e=12,color:t}){return(0,y.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,y.jsx)("path",{d:"M6 7.475C5.93333 7.475 5.87083 7.46458 5.8125 7.44375C5.75417 7.42292 5.7 7.3875 5.65 7.3375L3.35 5.0375C3.25833 4.94583 3.2125 4.82917 3.2125 4.6875C3.2125 4.54583 3.25833 4.42917 3.35 4.3375C3.44167 4.24583 3.55833 4.2 3.7 4.2C3.84167 4.2 3.95833 4.24583 4.05 4.3375L6 6.2875L7.95 4.3375C8.04167 4.24583 8.15833 4.2 8.3 4.2C8.44167 4.2 8.55833 4.24583 8.65 4.3375C8.74167 4.42917 8.7875 4.54583 8.7875 4.6875C8.7875 4.82917 8.74167 4.94583 8.65 5.0375L6.35 7.3375C6.3 7.3875 6.24583 7.42292 6.1875 7.44375C6.12917 7.46458 6.06667 7.475 6 7.475Z",fill:t})})}function im({size:e=12,color:t=M.icon.actionSecondary}){return(0,y.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,y.jsx)("path",{d:"M5.66667 7.86667V4.13333C5.66667 3.97778 5.6 3.87222 5.46667 3.81667C5.33333 3.76111 5.21111 3.78889 5.1 3.9L3.46667 5.53333C3.33333 5.66667 3.26667 5.82222 3.26667 6C3.26667 6.17778 3.33333 6.33333 3.46667 6.46667L5.1 8.1C5.21111 8.21111 5.33333 8.23889 5.46667 8.18333C5.6 8.12778 5.66667 8.02222 5.66667 7.86667ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM8.66667 10.6667H10.6667V1.33333H8.66667V10.6667ZM7.33333 10.6667V1.33333H1.33333V10.6667H7.33333Z",fill:t})})}function lm({size:e=12,color:t=M.icon.actionSecondary}){return(0,y.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,y.jsx)("path",{d:"M6.33333 4.13333V7.86667C6.33333 8.02222 6.4 8.12778 6.53333 8.18333C6.66667 8.23889 6.78889 8.21111 6.9 8.1L8.53333 6.46667C8.66667 6.33333 8.73333 6.17778 8.73333 6C8.73333 5.82222 8.66667 5.66667 8.53333 5.53333L6.9 3.9C6.78889 3.78889 6.66667 3.76111 6.53333 3.81667C6.4 3.87222 6.33333 3.97778 6.33333 4.13333ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM3.33333 10.6667V1.33333H1.33333V10.6667H3.33333ZM4.66667 10.6667H10.6667V1.33333H4.66667V10.6667Z",fill:t})})}var um={collapsed:"collapsed","hide-collapse-button":"hideCollapseButton"},am=`
|
|
15
|
+
`,ih=!1;function ql(){if(ih||typeof document>"u")return;ih=!0;let e=document.createElement("style");e.setAttribute("data-pathway","focus-ring"),e.textContent=ld,document.head.appendChild(e)}var Jl=S(he(),1);ql();var Ai=e=>`var(--semantic-color-${e})`,jy=e=>`var(--semantic-layout-units-${e})`,Zl=e=>`var(--motion-${e})`,uh={Small:{box:36,layer:24,glyph:14},Base:{box:44,layer:28,glyph:16},Large:{box:48,layer:32,glyph:18}},sd={rest:Ai("foreground-action-secondary-rest"),hover:Ai("foreground-action-secondary-hover"),pressed:Ai("foreground-action-secondary-pressed"),layerHover:Ai("fill-action-primary-subtle-hover"),layerPress:Ai("fill-action-primary-subtle-pressed")};function es({name:e,size:t="Small",label:n,fill:r=0,color:o,states:i,onClick:a,disabled:l,className:s="",style:u,...c}){let d=Dr(),[m,g]=(0,ud.useState)(!1),[y,b]=(0,ud.useState)(!1),R=uh[t]||uh.Small,p={...sd,...i},f=l?sd.rest:y?p.pressed:m?p.hover:o||sd.rest;return(0,Jl.jsx)("button",{type:"button","aria-label":n,title:n,disabled:l,onClick:a,onMouseEnter:()=>g(!0),onMouseLeave:()=>{g(!1),b(!1)},onMouseDown:()=>b(!0),onMouseUp:()=>b(!1),onBlur:()=>b(!1),className:`pw-action-icon ${sh} ${s}`,"data-size":t,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:R.box,height:R.box,flexShrink:0,boxSizing:"border-box",background:"transparent",border:"none",padding:0,cursor:l?"default":"pointer",opacity:l?.5:1,color:f,...u},...c,children:(0,Jl.jsx)("span",{"data-pw-ring-target":"",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:R.layer,height:R.layer,borderRadius:jy("cornerradius-base"),background:y?p.layerPress:m?p.layerHover:"transparent",transition:d?"none":`background ${Zl("duration-2")} ${Zl("easing-standard")}`},children:(0,Jl.jsx)(Yl,{name:e,size:R.glyph,fill:r,style:{transition:d?"none":`color ${Zl("duration-2")} ${Zl("easing-standard")}`}})})})}var zn=S(K(),1);function Bi(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}var ch=S(K(),1),fe=typeof document<"u"?ch.default.useLayoutEffect:()=>{};var Oe=S(K(),1),ts={prefix:String(Math.round(Math.random()*1e10)),current:0},dh=Oe.default.createContext(ts),Gy=Oe.default.createContext(!1);var Qy=!!(typeof window<"u"&&window.document&&window.document.createElement),cd=new WeakMap;function Yy(e=!1){let t=(0,Oe.useContext)(dh),n=(0,Oe.useRef)(null);if(n.current===null&&!e){let r=Oe.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(r){let o=cd.get(r);o==null?cd.set(r,{id:t.current,state:r.memoizedState}):r.memoizedState!==o.state&&(t.current=o.id,cd.delete(r))}n.current=++t.current}return n.current}function Xy(e){let t=(0,Oe.useContext)(dh),n=Yy(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function qy(e){let t=Oe.default.useId(),[n]=(0,Oe.useState)(Po()),r=n?"react-aria":`react-aria${ts.prefix}`;return e||`${r}-${t}`}var fh=typeof Oe.default.useId=="function"?qy:Xy;function Zy(){return!1}function Jy(){return!0}function ev(e){return()=>{}}function Po(){return typeof Oe.default.useSyncExternalStore=="function"?Oe.default.useSyncExternalStore(ev,Zy,Jy):(0,Oe.useContext)(Gy)}var cr=S(K(),1),tv=!!(typeof window<"u"&&window.document&&window.document.createElement),No=new Map,Lo;typeof FinalizationRegistry<"u"&&(Lo=new FinalizationRegistry(e=>{No.delete(e)}));var dd=new WeakMap;function Pt(e){let[t,n]=(0,cr.useState)(e),r=(0,cr.useRef)(null),o=fh(t),i=(0,cr.useRef)(null),a=dd.get(i);if(Lo&&a!==o&&(a!=null&&Lo.unregister(i),Lo.register(i,o,i),dd.set(i,o)),tv){let l=No.get(o);l&&!l.includes(r)?l.push(r):No.set(o,[r])}return fe(()=>{let l=o;return()=>{Lo&&(Lo.unregister(i),dd.delete(i)),No.delete(l)}},[o]),(0,cr.useEffect)(()=>{let l=r.current;return l&&n(l),()=>{l&&(r.current=null)}}),o}function ph(e,t){if(e===t)return e;let n=No.get(e);if(n)return n.forEach(o=>o.current=t),t;let r=No.get(t);return r?(r.forEach(o=>o.current=e),e):t}function Ro(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1,r=e.map(o=>{let i=mh(o,t);return n||=typeof i=="function",i});if(n)return()=>{r.forEach((o,i)=>{typeof o=="function"?o():mh(e[i],null)})}}}function mh(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function hh(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=hh(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function nv(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=hh(e))&&(r&&(r+=" "),r+=t);return r}var gh=nv;function Ne(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let o in r){let i=t[o],a=r[o];typeof i=="function"&&typeof a=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Bi(i,a):(o==="className"||o==="UNSAFE_className")&&typeof i=="string"&&typeof a=="string"?t[o]=gh(i,a):o==="id"&&i&&a?t.id=ph(i,a):o==="ref"&&i&&a?t.ref=Ro(i,a):t[o]=a!==void 0?a:i}}return t}var Ae=S(K(),1);var Fr=S(K(),1);function zi(e){let t=(0,Fr.useRef)(null),n=(0,Fr.useRef)(void 0),r=(0,Fr.useCallback)(o=>{if(typeof e=="function"){let i=e,a=i(o);return()=>{typeof a=="function"?a():i(null)}}else if(e)return e.current=o,()=>{e.current=null}},[e]);return(0,Fr.useMemo)(()=>({get current(){return t.current},set current(o){t.current=o,n.current&&(n.current(),n.current=void 0),o!=null&&(n.current=r(o))}}),[r])}var fd=Symbol("default");function Mo({values:e,children:t}){for(let[n,r]of e)t=Ae.default.createElement(n.Provider,{value:r},t);return t}function Fn(e){let{className:t,style:n,children:r,defaultClassName:o,defaultChildren:i,defaultStyle:a,values:l,render:s}=e;return(0,Ae.useMemo)(()=>{let u,c,d;return typeof t=="function"?u=t({...l,defaultClassName:o}):u=t,typeof n=="function"?c=n({...l,defaultStyle:a||{}}):c=n,typeof r=="function"?d=r({...l,defaultChildren:i}):r==null?d=i:d=r,{className:u??o,style:c||a?{...a,...c}:void 0,children:d??i,"data-rac":"",render:s?m=>s(m,l):void 0}},[t,n,r,o,i,a,l,s])}function pd(e,t){let n=(0,Ae.useContext)(e);if(t===null)return null;if(n&&typeof n=="object"&&"slots"in n&&n.slots){let r=t||fd;if(!n.slots[r]){let o=new Intl.ListFormat().format(Object.keys(n.slots).map(a=>`"${a}"`)),i=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${i} Valid slot names are ${o}.`)}return n.slots[r]}return n}function Io(e,t,n){let r=pd(n,e.slot)||{},{ref:o,...i}=r,a=zi((0,Ae.useMemo)(()=>Ro(t,o),[t,o])),l=Ne(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?l.style=s=>{let u=typeof i.style=="function"?i.style(s):i.style,c={...s.defaultStyle,...u},d=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...d}}:l.style={...i.style,...e.style}),[l,a]}function ns(e=!0){let[t,n]=(0,Ae.useState)(e),r=(0,Ae.useRef)(!1),o=(0,Ae.useCallback)(i=>{r.current=!0,n(!!i)},[]);return fe(()=>{r.current||n(!1)},[]),[o,t]}function rv(e,t,n){let{render:r,...o}=t,i=(0,Ae.useRef)(null),a=(0,Ae.useMemo)(()=>Ro(n,i),[n,i]);fe(()=>{},[e,r]);let l={...o,ref:a};return r?r(l,void 0):Ae.default.createElement(e,l)}var $h={},Kn=new Proxy({},{get(e,t){if(typeof t!="string")return;let n=$h[t];return n||(n=(0,Ae.forwardRef)(rv.bind(null,t)),$h[t]=n),n}});var bh="react-aria-clear-focus",yh="react-aria-focus";var ee=e=>ov(e)?e.document:iv(e)?e:e?.ownerDocument??(typeof document<"u"?document:void 0),We=e=>ee(e)?.defaultView??(typeof window<"u"?window:void 0);function vh(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function ov(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function iv(e){return vh(e)&&e.nodeType===9}function xh(e){return vh(e)&&e.nodeType===11&&"host"in e}function nn(e,t,n,r){if(n==null||e==null)return()=>{};let o=Array.isArray(e)?e:[e];for(let i of o)i.addEventListener(t,n,r);return()=>{for(let i of o)i.removeEventListener(t,n,r)}}var av=!1;function Kr(){return av}function _e(e,t){if(!Kr())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!=null;){if(n===e)return!0;typeof n.assignedElements!="function"&&n.assignedSlot?.parentNode?n=n.assignedSlot.parentNode:xh(n)?n=n.host:n=n.parentNode}return!1}var te=(e=document)=>{if(!Kr())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function Z(e){if(Kr()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function md(e){if(!e)return!1;let t=e.getRootNode(),n=We(e);if(!(t instanceof n.Document||t instanceof n.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}function wh(e){let t=sv(ee(e));t!==e&&(t&&lv(t,e),e&&hd(e,t))}function lv(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function hd(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function sv(e){let t=te(e),n=t?.getAttribute("aria-activedescendant");return n&&e.getElementById(n)||t}function dr(e){e.focus({preventScroll:!0})}var uv=typeof Element<"u"&&"checkVisibility"in Element.prototype;function cv(e){let t=We(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o=n!=="none"&&r!=="hidden"&&r!=="collapse";if(o){let{getComputedStyle:i}=We(e),{display:a,visibility:l}=i(e);o=a!=="none"&&l!=="hidden"&&l!=="collapse"}return o}function dv(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function rs(e,t){return uv?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&cv(e)&&dv(e,t)&&(!e.parentElement||rs(e.parentElement,e))}var gd=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],fv=gd.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";gd.push('[tabindex]:not([tabindex="-1"]):not([disabled])');var pv=gd.join(':not([hidden]):not([tabindex="-1"]),');function os(e,t){return e.matches(fv)&&!Sh(e)&&(t?.skipVisibilityCheck||rs(e))}function is(e){return e.matches(pv)&&rs(e)&&!Sh(e)}function Sh(e){let t=e;for(;t!=null;){if(t instanceof We(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}var as=S(K(),1);function $d(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Ch(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function ls(e){let t=(0,as.useRef)({isFocused:!1,observer:null});return fe(()=>{let n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]),(0,as.useCallback)(n=>{let r=Z(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r,i=a=>{if(t.current.isFocused=!1,o.disabled){let l=$d(a);e?.(l)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){t.current.observer?.disconnect();let a=o===te()?null:te();o.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[e])}var bd=!1;function ss(e){if(typeof window>"u"||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(n=>e.test(n.brand))||e.test(window.navigator.userAgent)}function yd(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function $n(e){let t=null;return()=>(t==null&&(t=e()),t)}var Lt=$n(function(){return yd(/^Mac/i)}),mv=$n(function(){return yd(/^iPhone/i)}),vd=$n(function(){return yd(/^iPad/i)||Lt()&&navigator.maxTouchPoints>1}),us=$n(function(){return mv()||vd()}),kh=$n(function(){return Lt()||us()}),Or=$n(function(){return ss(/AppleWebKit/i)&&(us()||!cs())}),H2=$n(function(){return Or()&&!cs()&&!hv()}),cs=$n(function(){return ss(/Chrome|CriOS|CrMo/i)}),Do=$n(function(){return ss(/Android/i)}),hv=$n(function(){return ss(/(Firefox|FxiOS)/i)});function Eh(e){return e.pointerType===""&&e.isTrusted?!0:Do()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}var Fo=S(K(),1),gv=(0,Fo.createContext)({isNative:!0,open:bv,useHref:e=>e});function Th(){return(0,Fo.useContext)(gv)}function Ar(e,t,n=!0){let{metaKey:r,ctrlKey:o,altKey:i,shiftKey:a}=t,l=Or()&&Lt()&&!vd()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:o,altKey:i,shiftKey:a}):new MouseEvent("click",{metaKey:r,ctrlKey:o,altKey:i,shiftKey:a,detail:1,bubbles:!0,cancelable:!0});Ar.isOpening=n,dr(e),e.dispatchEvent(l),Ar.isOpening=!1}Ar.isOpening=!1;function $v(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function bv(e,t){$v(e,n=>Ar(n,t))}var Sd=S(K(),1),zr=null,Vi="keyboard",xd=new Set,Hi=new Map,Br=!1,ds=!1,yv={Tab:!0,Escape:!0};function ps(e,t){for(let n of xd)n(e,t)}function vv(e){return!(e.metaKey||!Lt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function fs(e){Br=!0,!Ar.isOpening&&vv(e)&&(zr="keyboard",Vi="keyboard",ps("keyboard",e))}function Ko(e){zr="pointer",Vi="pointerType"in e?e.pointerType:"mouse",(e.type==="mousedown"||e.type==="pointerdown")&&(Br=!0,ps("pointer",e))}function _h(e){!Ar.isOpening&&Eh(e)&&(Br=!0,zr="virtual",Vi="virtual")}function Ph(e){if(bd)return;let t=Z(e),n=We(t),r=ee(t);if(t===n){ds=!0;return}t===r||!e.isTrusted||(!Br&&!ds&&(zr="virtual",Vi="virtual",ps("virtual",e)),Br=!1,ds=!1)}function Lh(){bd||(Br=!1,ds=!0)}function Nh(e){let t=te(ee(Z(e)));queueMicrotask(()=>{te(ee(Z(e)))!==t&&wv("keyboard")})}function wd(e){if(typeof window>"u"||typeof document>"u")return;let t=We(e),n=ee(e);if(Hi.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Br=!0,r.apply(this,arguments)}}),n.addEventListener("keydown",fs,!0),n.addEventListener("keyup",fs,!0),n.addEventListener("click",_h,!0),n.addEventListener("invalid",Nh,!0),t.addEventListener("focus",Ph,!0),t.addEventListener("blur",Lh,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",Ko,!0),n.addEventListener("pointermove",Ko,!0),n.addEventListener("pointerup",Ko,!0)),t.addEventListener("beforeunload",()=>{Rh(e)},{once:!0}),Hi.set(t,{focus:r})}var Rh=(e,t)=>{let n=We(e),r=ee(e);t&&r.removeEventListener("DOMContentLoaded",t),Hi.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:Hi.get(n).focus}),r.removeEventListener("keydown",fs,!0),r.removeEventListener("keyup",fs,!0),r.removeEventListener("click",_h,!0),r.removeEventListener("invalid",Nh,!0),n.removeEventListener("focus",Ph,!0),n.removeEventListener("blur",Lh,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",Ko,!0),r.removeEventListener("pointermove",Ko,!0),r.removeEventListener("pointerup",Ko,!0)),Hi.delete(n))};function xv(e){let t=ee(e),n;return t.readyState!=="loading"?wd(e):(n=()=>{wd(e)},t.addEventListener("DOMContentLoaded",n)),()=>Rh(e,n)}typeof document<"u"&&xv();function ms(){return zr!=="pointer"}function Hr(){return zr}function wv(e){zr=e,Vi=e==="pointer"?"mouse":e,ps(e,null)}var Sv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Cv(e,t,n){let r=n?Z(n):void 0,o=ee(r),i=We(r),a=typeof i<"u"?i.HTMLInputElement:HTMLInputElement,l=typeof i<"u"?i.HTMLTextAreaElement:HTMLTextAreaElement,s=typeof i<"u"?i.HTMLElement:HTMLElement,u=typeof i<"u"?i.KeyboardEvent:KeyboardEvent,c=te(o);return e=e||c instanceof a&&!Sv.has(c.type)||c instanceof l||c instanceof s&&c.isContentEditable,!(e&&t==="keyboard"&&n instanceof u&&!yv[n.key])}function Mh(e,t,n){wd(),(0,Sd.useEffect)(()=>{if(n?.enabled===!1)return;let r=(o,i)=>{Cv(!!n?.isTextInput,o,i)&&e(ms())};return xd.add(r),()=>{xd.delete(r)}},t)}function Ih(e,t){let n=We(t),r=ee(t);if(r==null||n==null)return;let o,i=`meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`,a=r.querySelector(i);return a&&a instanceof n.HTMLMetaElement&&(e==="csp-nonce"&&a.nonce&&(o??=a.nonce||void 0),a.content&&(o??=a.content||void 0)),e==="csp-nonce"&&(o??=n.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),o}var Wi=100,Cd=600,G={isOpen:!1,screenWidth:0,screenHeight:0,screenAngle:0,screenTimeout:0,startTimeStamp:0,endTimeStamp:0,resizeTimeStamp:0,resizeTimeout:0},kv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ui(){let e=Number(window.visualViewport?.width??window.innerWidth),t=Number(window.visualViewport?.height??window.innerHeight),n=Number(window.visualViewport?.scale??1);return{width:e*n,height:t*n,angle:window.screen.orientation?.angle??0}}function Ev(e){G.resizeTimeStamp<=e.timeStamp+50&&(G.resizeTimeStamp=e.timeStamp+150,window.clearTimeout(G.resizeTimeout),G.resizeTimeout=window.setTimeout(Fh,150))}function Fh(){let e=Ih("viewport");if(Do()&&e?.includes("overlays-content"))return;let t=performance.now(),n=Ui(),r=t-G.startTimeStamp,o=G.screenHeight-n.height,i=G.screenAngle-n.angle;Math.abs(i)%180&&G.screenWidth-n.height<Wi&&(G.screenWidth=n.width,G.screenHeight=n.height,G.screenAngle=n.angle,o=0),r>Cd&&(window.clearTimeout(G.screenTimeout),G.screenTimeout=window.setTimeout(()=>{let a=document.hasFocus()?te():null,l=Kh(a),s=Ui();Math.abs(G.screenAngle-s.angle)%180||G.isOpen&&l||(G.screenWidth=s.width,G.screenHeight=s.height,G.screenAngle=s.angle,G.isOpen=!1)},Cd)),r<=Cd&&o>=Wi&&(G.endTimeStamp=t),G.isOpen=o>=Wi}function Tv(){let e=Ui(),t=G.screenAngle-e.angle;if(Math.abs(t)%180&&!G.isOpen){let n=G.screenWidth,r=G.screenHeight;G.screenWidth=r,G.screenHeight=n}G.isOpen||(G.screenAngle=e.angle)}function _v(e){let t=Z(e),n=Kh(t),r=performance.now(),o=Ui(),i=G.screenHeight-o.height;i<Wi&&n&&(G.screenWidth=o.width,G.screenHeight=o.height,G.screenAngle=o.angle,G.startTimeStamp=r),n&&window.clearTimeout(G.screenTimeout),i>=Wi&&n&&(G.endTimeStamp=r)}function Dh(){let e=Ui();nn(window.visualViewport,"resize",Or()?Fh:Ev),nn(window.screen.orientation,"change",Tv),nn(window,"focus",_v,{capture:!0,passive:!0}),G.screenWidth=e.width,G.screenHeight=e.height,G.screenAngle=e.angle}typeof document<"u"&&(document.readyState!=="loading"?Dh():nn(document,"DOMContentLoaded",Dh));function Kh(e){if(!(e instanceof Element)||!os(e))return!1;let t=e instanceof HTMLTextAreaElement,n=e instanceof HTMLElement&&e.isContentEditable,r=e instanceof HTMLInputElement&&!kv.has(e.type);return t||n||r}function ji(e){return Lt()?e.metaKey:e.ctrlKey}var Oo=S(K(),1),Pv=Oo.default.useInsertionEffect??fe;function hs(e){let t=(0,Oo.useRef)(null);return Pv(()=>{t.current=e},[e]),(0,Oo.useCallback)((...n)=>{let r=t.current;return r?.(...n)},[])}var Oh=S(K(),1);function Gi(e,t,n,r){let o=hs(n),i=n==null;(0,Oh.useEffect)(()=>{if(!(i||e.current==null))return nn(e.current,t,o,r)},[e,t,r,i])}function Ah(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;return n=Pt(n),o&&r?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!r&&!o&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":o}}var Lv=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Nv=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Bh(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return Lv.has(n.script)}let t=e.split("-")[0];return Nv.has(t)}var gs=S(K(),1),Hh=Symbol.for("react-aria.i18n.locale");function Vh(){let e=typeof window<"u"&&window[Hh]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Bh(e)?"rtl":"ltr"}}var kd=Vh(),Qi=new Set;function zh(){kd=Vh();for(let e of Qi)e(kd)}function Wh(){let e=Po(),[t,n]=(0,gs.useState)(kd);return(0,gs.useEffect)(()=>(Qi.size===0&&window.addEventListener("languagechange",zh),Qi.add(n),()=>{Qi.delete(n),Qi.size===0&&window.removeEventListener("languagechange",zh)}),[]),e?{locale:typeof window<"u"&&window[Hh]||"en-US",direction:"ltr"}:t}var $s=S(K(),1),Rv=$s.default.createContext(null);function Vr(){let e=Wh();return(0,$s.useContext)(Rv)||e}var ot=S(K(),1),Mv=typeof document<"u"||parseInt(ot.default.version,10)>=19?ot.default.useInsertionEffect??ot.default.useLayoutEffect:()=>{};function Ao(e,t,n){let[r,o]=(0,ot.useState)(e||t),i=(0,ot.useRef)(r),a=(0,ot.useRef)(e!==void 0),l=e!==void 0;(0,ot.useEffect)(()=>{let d=a.current;a.current=l},[l]);let s=l?e:r;Mv(()=>{i.current=s});let[,u]=(0,ot.useReducer)(()=>({}),{}),c=(0,ot.useCallback)((d,...m)=>{let g=typeof d=="function"?d(i.current):d;Object.is(i.current,g)||(i.current=g,o(g),u(),n?.(g,...m))},[n]);return[s,c]}var Yi=S(K(),1);var Xi=(0,Yi.createContext)(null),Uh=(0,Yi.createContext)(null);var Wt=class{constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,n,r){let o=this.clone();return n.addDescendants(o,t),o}},qi=class extends Wt{filter(t,n,r){let[o,i]=jh(t,n,this.firstChildKey,r),a=this.clone();return a.firstChildKey=o,a.lastChildKey=i,a}},Ed=class extends Wt{static{this.type="header"}},Wr=class extends Wt{static{this.type="loader"}},Zi=class extends qi{static{this.type="item"}filter(t,n,r){if(r(this.textValue,this)){let o=this.clone();return n.addDescendants(o,t),o}return null}},Ji=class extends qi{static{this.type="section"}filter(t,n,r){let o=super.filter(t,n,r);if(o&&o.lastChildKey!==null){let i=t.getItem(o.lastChildKey);if(i&&i.type!=="header")return o}return null}},ea=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let n=this.keyMap;return{*[Symbol.iterator](){let r=n.get(t),o=r?.firstChildKey!=null?n.get(r.firstChildKey):null;for(;o;)yield o,o=o.nextKey!=null?n.get(o.nextKey):void 0}}}getKeyBefore(t){let n=this.keyMap.get(t);if(!n)return null;if(n.prevKey!=null){for(n=this.keyMap.get(n.prevKey);n&&n.type!=="item"&&n.lastChildKey!=null;)n=this.keyMap.get(n.lastChildKey);return n?.key??null}return n.parentKey}getKeyAfter(t){let n=this.keyMap.get(t);if(!n)return null;if(n.type!=="item"&&n.firstChildKey!=null)return n.firstChildKey;for(;n;){if(n.nextKey!=null)return n.nextKey;if(n.parentKey!=null)n=this.keyMap.get(n.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;t?.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,n=new t;return n.keyMap=new Map(this.keyMap),n.firstKey=this.firstKey,n.lastKey=this.lastKey,n.itemCount=this.itemCount,n}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,n){this.addNode(t);let r=n.getChildren(t.key);for(let o of r)this.addDescendants(o,n)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let n=this.keyMap.get(t);n!=null&&n.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,n,r=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=n,this.frozen=!r}filter(t){let n=new this.constructor,[r,o]=jh(this,n,this.firstKey,t);return n?.commit(r,o),n}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function jh(e,t,n,r){if(n==null)return[null,null];let o=null,i=null,a=e.getItem(n);for(;a!=null;){let l=a.filter(e,t,r);l!=null&&(l.nextKey=null,i&&(l.prevKey=i.key,i.nextKey=l.key),o==null&&(o=l),t.addNode(l),i=l),a=a.nextKey!=null?e.getItem(a.nextKey):null}if(i&&i.type==="separator"){let l=i.prevKey;t.removeNode(i.key),l!=null?(i=t.getItem(l),i.nextKey=null):i=null}return[o?.key??null,i?.key??null]}var bs=class{constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,n){if(n==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=n,t.previousSibling=n.previousSibling,t.index=n.index-1,this.firstChild===n?this.firstChild=t:n.previousSibling&&(n.previousSibling.nextSibling=t),n.previousSibling=t,t.parentNode=n.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}},ta=class e extends bs{constructor(t,n){super(n),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+(this.parentNode.node?.type==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,n=this.getMutableNode();if(n!=null&&(n.index=this.index,n.level=this.level,n.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,n.prevKey=this.previousVisibleSibling?.node?.key??null,n.nextKey=t?.node?.key??null,n.hasChildNodes=!!this.firstChild,n.firstChildKey=this.firstVisibleChild?.node?.key??null,n.lastChildKey=this.lastVisibleChild?.node?.key??null,(n.colSpan!=null||n.colIndex!=null)&&t)){let r=(n.colIndex??n.index)+(n.colSpan??1);if(t.node!=null&&r!==t.node.colIndex){let o=t.getMutableNode();o.colIndex=r}}}setProps(t,n,r,o,i){let a,{value:l,textValue:s,id:u,...c}=t;if(this.node==null?(a=new r(u??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),c.ref=n,a.props=c,a.rendered=o,a.render=i,a.value=l,t["aria-label"]&&(a["aria-label"]=t["aria-label"]),a.textValue=s||(typeof c.children=="string"?c.children:"")||t["aria-label"]||"",u!=null&&u!==a.key)throw new Error("Cannot change the id of an item");c.colSpan!=null&&(a.colSpan=c.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(n){let r=n==="none";if(t.isHidden!==r){(t.parentNode?.firstVisibleChild===t||t.parentNode?.lastVisibleChild===t)&&t.ownerDocument.markDirty(t.parentNode);let o=t.previousVisibleSibling,i=t.nextVisibleSibling;o&&t.ownerDocument.markDirty(o),i&&t.ownerDocument.markDirty(i),t.isHidden=r,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},ys=class extends bs{constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.keyOwners=new Map,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}get isConnected(){return!0}createElement(t){return new ta(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let n=this.getMutableCollection();if(!n.getItem(t.node.key))for(let r of t)this.addNode(r);n.addNode(t.node)}removeNode(t){for(let n of t)this.removeNode(n);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let t of this.dirtyNodes)t instanceof ta&&(!t.isConnected||t.isHidden)?this.removeNode(t):t.updateChildIndices();for(let t of this.dirtyNodes)t instanceof ta?(t.isConnected&&!t.isHidden&&(t.updateNode(),this.addNode(t)),t.node&&this.dirtyNodes.delete(t),t.isMutated=!1):this.dirtyNodes.delete(t);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),this.queuedRender&&t(),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0,this.keyOwners.clear())}};var Bo=S(K(),1);function na(e){let{children:t,items:n,idScope:r,addIdAndValue:o,dependencies:i=[]}=e,a=(0,Bo.useMemo)(()=>{},[t]),l=(0,Bo.useMemo)(()=>new WeakMap,[...i,a]);return(0,Bo.useMemo)(()=>{if(n&&typeof t=="function"){let s=[];for(let u of n){let c=Iv(u)?u:null,d=c?l.get(c):null;if(!d){d=t(u);let m=d.props.id??u?.key??u?.id;r!=null&&d.props.id==null&&m!=null&&(m=r+":"+m);let g=m??s.length;d=(0,Bo.cloneElement)(d,o?{key:g,id:m,value:u}:{key:g}),c&&l.set(c,d)}s.push(d)}return s}else if(typeof t!="function")return t},[t,n,l,r,o])}function Iv(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var fr=new Map,vs=new Set;function Qh(e){return"propertyName"in e}function Dv(e){let t=Z(e);if(!Qh(e)||!t)return;let n=fr.get(t);n||(n=new Set,fr.set(t,n),t.addEventListener("transitioncancel",Td,{once:!0})),n.add(e.propertyName)}function Td(e){let t=Z(e);if(!Qh(e)||!t)return;let n=fr.get(t);if(n&&(n.delete(e.propertyName),n.size===0&&(t.removeEventListener("transitioncancel",Td),fr.delete(t)),fr.size===0))for(let r of vs)r(!0),vs.delete(r)}function Gh(){nn(document,"transitionrun",Dv),nn(document,"transitionend",Td)}function Fv(){for(let[e]of fr)"isConnected"in e&&!e.isConnected&&fr.delete(e)}typeof document<"u"&&(document.readyState!=="loading"?Gh():nn(document,"DOMContentLoaded",Gh));function Yh(e){let t=window.requestAnimationFrame(()=>{if(Fv(),fr.size===0)return e(!1);vs.add(e)});return()=>{window.cancelAnimationFrame(t),vs.delete(e)}}function ra(e){if(!e.isConnected)return;let t=ee(e);if(Hr()==="virtual"){let n=te(t);Yh(()=>{let r=te(t);(r===n||r===t.body)&&e.isConnected&&dr(e)})}else dr(e)}var _d=S(K(),1);function Xh(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e,i=(0,_d.useCallback)(s=>{if(Z(s)===s.currentTarget)return r&&r(s),o&&o(!1),!0},[r,o]),a=ls(i),l=(0,_d.useCallback)(s=>{let u=Z(s),c=ee(u),d=c?te(c):te();u===s.currentTarget&&u===d&&(n&&n(s),o&&o(!0),a(s))},[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?l:void 0,onBlur:!t&&(r||o)?i:void 0}}}function oa(e){if(e)return t=>{let n=!0,r={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){n=!0},continuePropagation(){n=!1,typeof t.continuePropagation=="function"&&t.continuePropagation()},isPropagationStopped(){return n}};e(r),n&&!(typeof t.isPropagationStopped=="function"&&t.isPropagationStopped())&&t.stopPropagation()}}var Kv=new Set(["shift","alt","control","meta","mod"]),Ov=["Alt","Control","Meta","Shift"];function Av(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(Lt()?"Meta":"Control"),t}function Bv(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}function qh(e){return Ov.filter(t=>e.has(t))}function zv(e){let t=e.split("+").reduce((n,r)=>{let o=r.toLowerCase();return Kv.has(o)?o==="shift"?n.shift=!0:o==="alt"?n.alt=!0:o==="control"?n.ctrl=!0:o==="meta"?n.meta=!0:o==="mod"&&(n.mod=!0):n.key=r,n},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(t.key==="")throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function Zh(e){return e.toLowerCase()}var Hv={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function Vv(e){let t=Zh(e),n=Hv[t];return n??t}function Wv(e){let t=qh(Av(e)),n=Vv(e.key);return t.length>0?`${t.join("+")}+${n}`:n}function Uv(e){let t=qh(Bv(e)),n=Zh(e.key);return(t.length>0?`${t.join("+")}+`:"")+n}function Jh(e){let t=new Map;for(let[n,r]of Object.entries(e)){let o=zv(n);t.set(Wv(o),r)}return n=>{let r=Uv(n),o=t.get(r),i=o?.(n);i===void 0&&o!==void 0?i={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof i=="boolean"&&(i={shouldContinuePropagation:!i,shouldPreventDefault:i}),i?.shouldPreventDefault&&n.preventDefault(),(!o||i?.shouldContinuePropagation)&&n.continuePropagation()}}function Pd(e){let{shortcuts:t,allowRepeats:n=!1,allowComposing:r=!1}=e,o,i;if(t){let a=Jh(t),l=oa(u=>{if(!_e(u.currentTarget,Z(u))){u.continuePropagation();return}if(u.nativeEvent?.repeat&&!n||u.nativeEvent?.isComposing&&!r){u.continuePropagation();return}a(u)}),s=oa(u=>{if(!_e(u.currentTarget,Z(u))){u.continuePropagation();return}if(u.nativeEvent?.repeat&&!n||u.nativeEvent?.isComposing&&!r){u.continuePropagation();return}u.continuePropagation()});o=e.onKeyDown?Bi(e.onKeyDown,l):l,i=e.onKeyUp?Bi(e.onKeyUp,s):s}else o=oa(e.onKeyDown),i=oa(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:o,onKeyUp:i}}}var zo=S(K(),1),Ld=zo.default.createContext(null);var bn=S(K(),1);typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var eg=(0,bn.createContext)(!1);function tg(e){if((0,bn.useContext)(eg))return bn.default.createElement(bn.default.Fragment,null,e.children);let n=bn.default.createElement(eg.Provider,{value:!0},e.children);return bn.default.createElement("template",null,n)}var lg=S(Ir(),1),H=S(K(),1),sg=S(ig(),1),ug=(0,H.createContext)(!1),ia=(0,H.createContext)(null);function aa(e){if((0,H.useContext)(ia))return e.content;let{collection:n,document:r}=o1(e.createCollection);return H.default.createElement(H.default.Fragment,null,H.default.createElement(tg,null,H.default.createElement(ia.Provider,{value:r},e.content)),H.default.createElement(t1,{render:e.children,collection:n}))}function t1({collection:e,render:t}){return t(e)}function n1(e,t,n){let r=Po(),o=(0,H.useRef)(r);o.current=r;let i=(0,H.useCallback)(()=>o.current?n():t(),[t,n]);return(0,sg.useSyncExternalStore)(e,i)}var r1=typeof H.default.useSyncExternalStore=="function"?H.default.useSyncExternalStore:n1;function o1(e){let[t]=(0,H.useState)(()=>new ys(e?.()||new ea)),n=(0,H.useCallback)(a=>t.subscribe(a),[t]),r=(0,H.useCallback)(()=>{let a=t.getCollection();return t.isSSR&&t.resetAfterSSR(),a},[t]),o=(0,H.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:r1(n,r,o),document:t}}var Rd=(0,H.createContext)(null);function i1(e){return class extends Wt{static{this.type=e}}}function a1(e,t,n,r,o,i){typeof e=="string"&&(e=i1(e));let a=(0,H.useCallback)(s=>{s?.setProps(t,n,e,r,i)},[t,n,r,i,e]),l=(0,H.useContext)(Rd);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e.type),s.setProps(t,n,e,r,i),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),o?H.default.createElement(Rd.Provider,{value:s},o):null}return H.default.createElement(e.type,{ref:a},o)}function la(e,t){let n=({node:o})=>t(o.props,o.props.ref,o),r=(0,H.forwardRef)((o,i)=>{let a=(0,H.useContext)(Ld);if(!(0,H.useContext)(ug)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(o,i)}return a1(e,o,i,"children"in o?o.children:null,null,s=>H.default.createElement(Ld.Provider,{value:a},H.default.createElement(n,{node:s})))});return r.displayName=t.name,r}function l1(e){return na({...e,addIdAndValue:!0})}var ag=(0,H.createContext)(null);function sa(e){let t=(0,H.useContext)(ag),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope??t?.idScope,o=l1({...e,idScope:r,dependencies:n});return(0,H.useContext)(ia)&&(o=H.default.createElement(s1,null,o)),t=(0,H.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),H.default.createElement(ag.Provider,{value:t},o)}function s1({children:e}){let t=(0,H.useContext)(ia),n=(0,H.useMemo)(()=>H.default.createElement(ia.Provider,{value:null},H.default.createElement(ug.Provider,{value:!0},e)),[e]);return Po()?H.default.createElement(Rd.Provider,{value:t},n):(0,lg.createPortal)(n,t)}var it=S(K(),1);var xs=(0,it.createContext)(null);var u1={CollectionRoot({collection:e,renderDropIndicator:t}){return dg(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return dg(e,t,n)}};function dg(e,t,n){return na({items:t?e.getChildren(t.key):e,dependencies:[n],children(r){if(r.type==="content")return it.default.createElement(it.default.Fragment,null);let o=r.render(r);return!n||r.type!=="item"?o:it.default.createElement(it.default.Fragment,null,n({type:"item",key:r.key,dropPosition:"before"}),o,c1(e,r,n))}})}function c1(e,t,n){let r=t.key,o=e.getKeyAfter(r),i=o!=null?e.getItem(o):null;for(;i!=null&&i.type!=="item";)o=e.getKeyAfter(i.key),i=o!=null?e.getItem(o):null;let a=t.nextKey!=null?e.getItem(t.nextKey):null;for(;a!=null&&a.type!=="item";)a=a.nextKey!=null?e.getItem(a.nextKey):null;let l=[];if(a==null){let s=t;for(;s?.type==="item"&&(!i||s.parentKey!==i.parentKey&&i.level<s.level);){let u=n({type:"item",key:s.key,dropPosition:"after"});(0,it.isValidElement)(u)&&l.push((0,it.cloneElement)(u,{key:`${s.key}-after`})),s=s.parentKey!=null?e.getItem(s.parentKey):null}}return l}var Ur=(0,it.createContext)(u1);function fg(e){return(0,it.useMemo)(()=>e!=null?new Set([e]):null,[e])}var d1=new Set(["id"]),f1=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),p1=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),m1=new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"]),pg=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),h1=/^(data-.*)$/;function Nt(e,t={}){let{labelable:n,isLink:r,global:o,events:i=o,propNames:a}=t,l={};for(let s in e)Object.prototype.hasOwnProperty.call(e,s)&&(d1.has(s)||n&&f1.has(s)||r&&p1.has(s)||o&&m1.has(s)||i&&(pg.has(s)||s.endsWith("Capture")&&pg.has(s.slice(0,-7)))||a?.has(s)||h1.test(s))&&(l[s]=e[s]);return l}var pr=S(K(),1);function mg(){let e=(0,pr.useRef)(new Map),t=(0,pr.useCallback)((o,i,a,l)=>{let s=l?.once?(...u)=>{e.current.delete(a),a(...u)}:a;e.current.set(a,{type:i,eventTarget:o,fn:s,options:l}),o.addEventListener(i,s,l)},[]),n=(0,pr.useCallback)((o,i,a,l)=>{let s=e.current.get(a)?.fn||a;o.removeEventListener(i,s,l),e.current.delete(a)},[]),r=(0,pr.useCallback)(()=>{e.current.forEach((o,i)=>{n(o.eventTarget,o.type,i,o.options)})},[n]);return(0,pr.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}var ua=S(K(),1);function ws(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=(0,ua.useRef)({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:l}=mg(),s=(0,ua.useCallback)(d=>{_e(d.currentTarget,Z(d))&&i.current.isFocusWithin&&!_e(d.currentTarget,d.relatedTarget)&&(i.current.isFocusWithin=!1,l(),n&&n(d),o&&o(!1))},[n,o,i,l]),u=ls(s),c=(0,ua.useCallback)(d=>{if(!_e(d.currentTarget,Z(d)))return;let m=Z(d),g=ee(m),y=te(g);if(!i.current.isFocusWithin&&y===m){r&&r(d),o&&o(!0),i.current.isFocusWithin=!0,u(d);let b=d.currentTarget;a(g,"focus",R=>{let p=Z(R);if(i.current.isFocusWithin&&!_e(b,p)){let f=new g.defaultView.FocusEvent("blur",{relatedTarget:p});Ch(f,b);let h=$d(f);s(h)}},{capture:!0})}},[r,o,u,a,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:s}}}var mr=S(K(),1);function Md(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=(0,mr.useRef)({isFocused:!1,isFocusVisible:t||ms()}),[i,a]=(0,mr.useState)(!1),[l,s]=(0,mr.useState)(()=>o.current.isFocused&&o.current.isFocusVisible),u=(0,mr.useCallback)(()=>s(o.current.isFocused&&o.current.isFocusVisible),[]),c=(0,mr.useCallback)(g=>{o.current.isFocused=g,o.current.isFocusVisible=ms(),a(g),u()},[u]);Mh(g=>{o.current.isFocusVisible=g,u()},[n,i],{enabled:i,isTextInput:n});let{focusProps:d}=Xh({isDisabled:r,onFocusChange:c}),{focusWithinProps:m}=ws({isDisabled:!r,onFocusWithinChange:c});return{isFocused:i,isFocusVisible:l,focusProps:r?m:d}}function hg(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:i="label"}=e;t=Pt(t);let a=Pt(),l={};n&&(r=r?`${a} ${r}`:a,l={id:a,htmlFor:i==="label"?t:void 0});let s=Ah({id:t,"aria-label":o,"aria-labelledby":r});return{labelProps:l,fieldProps:s}}function hr(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,o=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return e===r&&n.overflow!=="hidden"&&(o=!0),o&&t&&(o=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),o}function gg(e,t){let n=e;for(hr(n,t)&&(n=n.parentElement);n&&!hr(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function Ss(e,t){let n=[],r=document.scrollingElement||document.documentElement;for(;e&&(hr(e,t)&&n.push(e),e!==r);)e=e.parentElement;return n}function ca(e,t,n={}){if(e===t)return;let r=t.getBoundingClientRect();g1(e,t,r,n)}function g1(e,t,n,r={}){let{block:o="nearest",inline:i="nearest"}=r,a=e.scrollTop,l=e.scrollLeft,s=e.getBoundingClientRect(),u=window.getComputedStyle(t),c=window.getComputedStyle(e),d=document.scrollingElement||document.documentElement,m=e===d,g=e===d?0:s.top,y=e===d?e.clientHeight:s.bottom,b=e===d?0:s.left,R=e===d?e.clientWidth:s.right,p=parseFloat(u.scrollMarginTop)||0,f=parseFloat(u.scrollMarginBottom)||0,h=parseFloat(u.scrollMarginLeft)||0,$=parseFloat(u.scrollMarginRight)||0,C=parseFloat(c.scrollPaddingTop)||0,E=parseFloat(c.scrollPaddingBottom)||0,P=parseFloat(c.scrollPaddingLeft)||0,N=parseFloat(c.scrollPaddingRight)||0,M=parseFloat(c.borderTopWidth)||0,F=parseFloat(c.borderBottomWidth)||0,j=parseFloat(c.borderLeftWidth)||0,O=parseFloat(c.borderRightWidth)||0,I=n.top-p,B=n.bottom+f,V=n.left-h,se=n.right+$,Me=e===d?0:j+O,ft=e===d?0:M+F,Hn=e===d?0:e.offsetWidth-e.clientWidth-Me,un=e===d?0:e.offsetHeight-e.clientHeight-ft,Ze=g+(m?0:M)+C,pt=y-(m?0:F)-E-un,cn=b+(m?0:j)+P,Dt=R-(m?0:O)-N;us()&&Or()||c.direction==="ltr"?Dt-=Hn:c.direction==="rtl"&&(cn+=Hn);let jt=I<Ze||B>pt,Ft=V<cn||se>Dt;if(jt&&o==="start")a+=I-Ze;else if(jt&&o==="center")a+=(I+B)/2-(Ze+pt)/2;else if(jt&&o==="end")a+=B-pt;else if(jt&&o==="nearest"){let xt=I-Ze,Cn=B-pt;a+=Math.abs(xt)<=Math.abs(Cn)?xt:Cn}if(Ft&&i==="start")l+=V-cn;else if(Ft&&i==="center")l+=(V+se)/2-(cn+Dt)/2;else if(Ft&&i==="end")l+=se-Dt;else if(Ft&&i==="nearest"){let xt=V-cn,Cn=se-Dt;l+=Math.abs(xt)<=Math.abs(Cn)?xt:Cn}e.scrollTo({left:l,top:a})}function Id(e,t={}){let{containingElement:n}=t;if(e&&e.isConnected){let r=document.scrollingElement||document.documentElement;if(window.getComputedStyle(r).overflow==="hidden"){let{left:i,top:a}=e.getBoundingClientRect(),l=Ss(e,!0);for(let c of l)ca(c,e);let{left:s,top:u}=e.getBoundingClientRect();if(Math.abs(i-s)>1||Math.abs(a-u)>1){l=n?Ss(n,!0):[];for(let c of l)ca(c,n,{block:"center",inline:"center"});for(let c of Ss(e,!0))ca(c,e)}}else{let{left:i,top:a}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:l,top:s}=e.getBoundingClientRect();(Math.abs(i-l)>1||Math.abs(a-s)>1)&&(n?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}var at=S(K(),1),Cs=(0,at.createContext)({}),Dd=(0,at.createContext)(null),$1=(0,at.forwardRef)(function(t,n){let{render:r}=(0,at.useContext)(Dd);return at.default.createElement(at.default.Fragment,null,r(t,n))});function Fd(e,t){let n=e?.renderDropIndicator,r=e?.isVirtualDragging?.(),o=(0,at.useCallback)(i=>{if(r||t?.isDropTarget(i))return n?n(i):at.default.createElement($1,{target:i})},[t?.target,r,n]);return e?.useDropIndicator?o:void 0}function $g(e,t,n){let r=e.focusedKey,o=null;if(t?.isVirtualDragging?.()&&n?.target?.type==="item"&&(o=n.target.key,n.target.dropPosition==="after")){let i=n.collection.getKeyAfter(o),a=null;if(i!=null){let l=n.collection.getItem(o)?.level??0;for(;i!=null;){let s=n.collection.getItem(i);if(!s)break;if(s.type!=="item"){i=n.collection.getKeyAfter(i);continue}if((s.level??0)<=l)break;a=i,i=n.collection.getKeyAfter(i)}}o=i??a??o}return(0,at.useMemo)(()=>new Set([r,o].filter(i=>i!=null)),[r,o])}var Kd=S(K(),1),ks=(0,Kd.createContext)({});var b1=S(Ir(),1),On=S(K(),1);var y1=(0,On.createContext)(null);function Es(e){let t=(0,On.useRef)({});return On.default.createElement(y1.Provider,{value:t},e.children)}var Od=S(K(),1),Ts=(0,Od.createContext)({}),bg=class extends Wt{static{this.type="separator"}filter(t,n){let r=n.getItem(this.prevKey);if(r&&r.type!=="separator"){let o=this.clone();return n.addDescendants(o,t),o}return null}};var yg=new WeakMap;var Ad=class{constructor(t,n,r,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=a=>{if(a.nodeType===Node.ELEMENT_NODE){let l=a.shadowRoot;if(l){let s=this._doc.createTreeWalker(l,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(s),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(a);if(this.filter?.acceptNode)return this.filter.acceptNode(a);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=n,this.filter=o??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=n,this._walkerStack.unshift(t.createTreeWalker(n,r,this._acceptNode));let i=n.shadowRoot;if(i){let a=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(a)}}get currentNode(){return this._currentNode}set currentNode(t){if(!_e(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");let n=[],r=t,o=t;for(this._currentNode=t;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let a=r,l=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});n.push(l),l.currentNode=o,this._currentSetFor.add(l),r=o=a.host}else r=r.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});n.push(i),i.currentNode=o,this._currentSetFor.add(i),this._walkerStack=n}get doc(){return this._doc}firstChild(){let t=this.currentNode,n=this.nextNode();return _e(t,n)?(n&&(this.currentNode=n),n):(this.currentNode=t,null)}lastChild(){let n=this._walkerStack[0].lastChild();return n&&(this.currentNode=n),n}nextNode(){let t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let r;if(typeof this.filter=="function"?r=this.filter(t):this.filter?.acceptNode&&(r=this.filter.acceptNode(t)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let o=this.nextNode();return o&&(this.currentNode=o),o}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){let t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null;return null}let n=t.previousNode();if(n){if(n.shadowRoot){let o;if(typeof this.filter=="function"?o=this.filter(n):this.filter?.acceptNode&&(o=this.filter.acceptNode(n)),o===NodeFilter.FILTER_ACCEPT)return n&&(this.currentNode=n),n;let i=this.lastChild();return i&&(this.currentNode=i),i}return n&&(this.currentNode=n),n}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}};function vg(e,t,n,r){return Kr()?new Ad(e,t,n,r):e.createTreeWalker(t,n,r)}var Ee=S(K(),1),xg=Ee.default.createContext(null),Bd="react-aria-focus-scope-restore",ge=null;function pa(e){let{children:t,contain:n,restoreFocus:r,autoFocus:o}=e,i=(0,Ee.useRef)(null),a=(0,Ee.useRef)(null),l=(0,Ee.useRef)([]),{parentNode:s}=(0,Ee.useContext)(xg)||{},u=(0,Ee.useMemo)(()=>new fa({scopeRef:l}),[l]);fe(()=>{let m=s||Re.root;if(Re.getTreeNode(m.scopeRef)&&ge&&!_s(ge,m.scopeRef)){let g=Re.getTreeNode(ge);g&&(m=g)}m.addChild(u),Re.addNode(u)},[u,s]),fe(()=>{let m=Re.getTreeNode(l);m&&(m.contain=!!n)},[n]),fe(()=>{let m=i.current?.nextSibling,g=[],y=b=>b.stopPropagation();for(;m&&m!==a.current;)g.push(m),m.addEventListener(Bd,y),m=m.nextSibling;return l.current=g,()=>{for(let b of g)b.removeEventListener(Bd,y)}},[t]),k1(l,r,n),S1(l,n),E1(l,r,n),C1(l,o),(0,Ee.useEffect)(()=>{let m=te(ee(l.current?l.current[0]:void 0)),g=null;if(Ut(m,l.current)){for(let y of Re.traverse())y.scopeRef&&Ut(m,y.scopeRef.current)&&(g=y);g===Re.getTreeNode(l)&&(ge=g.scopeRef)}},[l]),fe(()=>()=>{let m=Re.getTreeNode(l)?.parent?.scopeRef??null;(l===ge||_s(l,ge))&&(!m||Re.getTreeNode(m))&&(ge=m),Re.removeTreeNode(l)},[l]);let c=(0,Ee.useMemo)(()=>v1(l),[]),d=(0,Ee.useMemo)(()=>({focusManager:c,parentNode:u}),[u,c]);return Ee.default.createElement(xg.Provider,{value:d},Ee.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:i}),t,Ee.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:a}))}function v1(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:o,wrap:i,accept:a}=t,l=r||te(ee(n[0]??void 0)),s=n[0].previousElementSibling,u=jr(n),c=yn(u,{tabbable:o,accept:a},n);c.currentNode=Ut(l,n)?l:s;let d=c.nextNode();return!d&&i&&(c.currentNode=s,d=c.nextNode()),d&&rn(d,!0),d},focusPrevious(t={}){let n=e.current,{from:r,tabbable:o,wrap:i,accept:a}=t,l=r||te(ee(n[0]??void 0)),s=n[n.length-1].nextElementSibling,u=jr(n),c=yn(u,{tabbable:o,accept:a},n);c.currentNode=Ut(l,n)?l:s;let d=c.previousNode();return!d&&i&&(c.currentNode=s,d=c.previousNode()),d&&rn(d,!0),d},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=jr(n),a=yn(i,{tabbable:r,accept:o},n);a.currentNode=n[0].previousElementSibling;let l=a.nextNode();return l&&rn(l,!0),l},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,i=jr(n),a=yn(i,{tabbable:r,accept:o},n);a.currentNode=n[n.length-1].nextElementSibling;let l=a.previousNode();return l&&rn(l,!0),l}}}function jr(e){return e[0].parentElement}function da(e){let t=Re.getTreeNode(ge);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function x1(e){if(!e.form)return Array.from(ee(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(r=>!r.form);let t=e.form.elements.namedItem(e.name),n=We(e);return t instanceof n.RadioNodeList?Array.from(t).filter(r=>r instanceof n.HTMLInputElement):t instanceof n.HTMLInputElement?[t]:[]}function w1(e){if(e.checked)return!0;let t=x1(e);return t.length>0&&!t.some(n=>n.checked)}function S1(e,t){let n=(0,Ee.useRef)(void 0),r=(0,Ee.useRef)(void 0);fe(()=>{let o=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}let i=ee(o?o[0]:void 0),a=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!da(e)||u.isComposing)return;let c=te(i),d=e.current;if(!d||!Ut(c,d))return;let m=jr(d),g=yn(m,{tabbable:!0},d);if(!c)return;g.currentNode=c;let y=u.shiftKey?g.previousNode():g.nextNode();y||(g.currentNode=u.shiftKey?d[d.length-1].nextElementSibling:d[0].previousElementSibling,y=u.shiftKey?g.previousNode():g.nextNode()),u.preventDefault(),y&&(rn(y,!0),y instanceof We(y).HTMLInputElement&&y.select())},l=u=>{(!ge||_s(ge,e))&&Ut(Z(u),e.current)?(ge=e,n.current=Z(u)):da(e)&&!Gr(Z(u),e)?n.current?rn(n.current):ge&&ge.current&&zd(ge.current):da(e)&&(n.current=Z(u))},s=u=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let c=Hr(),d=(c==="virtual"||c===null)&&Do()&&cs(),m=te(i);if(!d&&m&&da(e)&&!Gr(m,e)){ge=e;let g=Z(u);g&&g.isConnected?(n.current=g,rn(n.current)):ge.current&&zd(ge.current)}})};return i.addEventListener("keydown",a,!1),i.addEventListener("focusin",l,!1),o?.forEach(u=>u.addEventListener("focusin",l,!1)),o?.forEach(u=>u.addEventListener("focusout",s,!1)),()=>{i.removeEventListener("keydown",a,!1),i.removeEventListener("focusin",l,!1),o?.forEach(u=>u.removeEventListener("focusin",l,!1)),o?.forEach(u=>u.removeEventListener("focusout",s,!1))}},[e,t]),fe(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function Cg(e){return Gr(e)}function Ut(e,t){return!e||!t?!1:t.some(n=>_e(n,e))}function Gr(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of Re.traverse(Re.getTreeNode(t)))if(n&&Ut(e,n.current))return!0;return!1}function _s(e,t){let n=Re.getTreeNode(t)?.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function rn(e,t=!1){if(e!=null&&!t)try{ra(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function kg(e,t=!0){let n=e[0].previousElementSibling,r=jr(e),o=yn(r,{tabbable:t},e);o.currentNode=n;let i=o.nextNode();return t&&!i&&(r=jr(e),o=yn(r,{tabbable:!1},e),o.currentNode=n,i=o.nextNode()),i}function zd(e,t=!0){rn(kg(e,t))}function C1(e,t){let n=Ee.default.useRef(t);(0,Ee.useEffect)(()=>{if(n.current){ge=e;let r=ee(e.current?e.current[0]:void 0);!Ut(te(r),ge.current)&&e.current&&zd(e.current)}n.current=!1},[e])}function k1(e,t,n){fe(()=>{if(t||n)return;let r=e.current,o=ee(r?r[0]:void 0),i=a=>{let l=Z(a);Ut(l,e.current)?ge=e:Cg(l)||(ge=null)};return o.addEventListener("focusin",i,!1),r?.forEach(a=>a.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),r?.forEach(a=>a.removeEventListener("focusin",i,!1))}},[e,t,n])}function wg(e){let t=Re.getTreeNode(ge);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function E1(e,t,n){let r=(0,Ee.useRef)(typeof document<"u"?te(ee(e.current?e.current[0]:void 0)):null);fe(()=>{let o=e.current,i=ee(o?o[0]:void 0);if(!t||n)return;let a=()=>{(!ge||_s(ge,e))&&Ut(te(i),e.current)&&(ge=e)};return i.addEventListener("focusin",a,!1),o?.forEach(l=>l.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),o?.forEach(l=>l.removeEventListener("focusin",a,!1))}},[e,n]),fe(()=>{let o=ee(e.current?e.current[0]:void 0);if(!t)return;let i=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey||!da(e)||a.isComposing)return;let l=o.activeElement;if(!Gr(l,e)||!wg(e))return;let s=Re.getTreeNode(e);if(!s)return;let u=s.nodeToRestore,c=yn(o.body,{tabbable:!0});c.currentNode=l;let d=a.shiftKey?c.previousNode():c.nextNode();if((!u||!u.isConnected||u===o.body)&&(u=void 0,s.nodeToRestore=void 0),(!d||!Gr(d,e))&&u){c.currentNode=u;do d=a.shiftKey?c.previousNode():c.nextNode();while(Gr(d,e));a.preventDefault(),a.stopPropagation(),d?rn(d,!0):Cg(u)?rn(u,!0):l.blur()}};return n||o.addEventListener("keydown",i,!0),()=>{n||o.removeEventListener("keydown",i,!0)}},[e,t,n]),fe(()=>{let o=ee(e.current?e.current[0]:void 0);if(!t)return;let i=Re.getTreeNode(e);if(i)return i.nodeToRestore=r.current??void 0,()=>{let a=Re.getTreeNode(e);if(!a)return;let l=a.nodeToRestore,s=te(o);if(t&&l&&(s&&Gr(s,e)||s===o.body&&wg(e))){let u=Re.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let c=u.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){Sg(c.nodeToRestore);return}c=c.parent}for(c=u.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&Re.getTreeNode(c.scopeRef)){let d=kg(c.scopeRef.current,!0);if(d){Sg(d);return}}c=c.parent}}})}}},[e,t])}function Sg(e){e.dispatchEvent(new CustomEvent(Bd,{bubbles:!0,cancelable:!0}))&&rn(e)}function yn(e,t,n){let r=t?.tabbable?is:os,o=e?.nodeType===Node.ELEMENT_NODE?e:null,i=ee(o),a=vg(i,e||i,NodeFilter.SHOW_ELEMENT,{acceptNode(l){return _e(t?.from,l)||t?.tabbable&&l.tagName==="INPUT"&&l.getAttribute("type")==="radio"&&(!w1(l)||a.currentNode.tagName==="INPUT"&&a.currentNode.type==="radio"&&a.currentNode.name===l.name)?NodeFilter.FILTER_REJECT:r(l)&&(!n||Ut(l,n))&&(!t?.accept||t.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(a.currentNode=t.from),a}var Hd=class e{constructor(){this.fastMap=new Map,this.root=new fa({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let o=this.fastMap.get(n??null);if(!o)return;let i=new fa({scopeRef:t});o.addChild(i),i.parent=o,this.fastMap.set(t,i),r&&(i.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let i of this.traverse())i!==n&&n.nodeToRestore&&i.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&Ut(i.nodeToRestore,n.scopeRef.current)&&(i.nodeToRestore=n.nodeToRestore);let o=n.children;r&&(r.removeChild(n),o.size>0&&o.forEach(i=>r&&r.addChild(i))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){let t=new e;for(let n of this.traverse())t.addTreeNode(n.scopeRef,n.parent?.scopeRef??null,n.nodeToRestore);return t}},fa=class{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}},Re=new Hd;function Vd(e){return kh()?e.altKey:e.ctrlKey}function vn(e,t){let n=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),e.current?.querySelector(n)}var T1=new WeakMap;function Eg(e){let t=Pt();return T1.set(e,t),t}var Ps=S(K(),1),Tg=1e3;function _g(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=(0,Ps.useRef)({search:"",timeout:void 0}),i=l=>{if(o.current.search.length>0&&l.key===" "){if(l.preventDefault(),(!("continuePropagation"in l)||"continuePropagation"in l&&!l.isPropagationStopped())&&l.stopPropagation(),o.current.search+=" ",t.getKeyForSearch!=null){let s=t.getKeyForSearch(o.current.search,n.focusedKey);s==null&&(s=t.getKeyForSearch(o.current.search)),s!=null&&(n.setFocusedKey(s),r&&r(s))}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},Tg)}},a=l=>{let s=_1(l.key);if(!(!s||l.ctrlKey||l.metaKey||l.altKey||!_e(l.currentTarget,Z(l))||o.current.search.length===0&&s===" ")){if(o.current.search+=s,t.getKeyForSearch!=null){let u=t.getKeyForSearch(o.current.search,n.focusedKey);if(u==null&&(u=t.getKeyForSearch(o.current.search)),u!=null)n.setFocusedKey(u),r&&r(u),l.preventDefault(),"continuePropagation"in l||l.stopPropagation();else{o.current.search="",clearTimeout(o.current.timeout),o.current.timeout=void 0;return}}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},Tg)}};return(0,Ps.useEffect)(()=>{let l=o.current.timeout;return()=>{clearTimeout(l)}},[o]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?i:void 0,onKeyDown:t.getKeyForSearch?a:void 0}}}function _1(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}var Wd=S(K(),1);function Ud(e,t){let n=(0,Wd.useRef)(!0),r=(0,Wd.useRef)(null);fe(()=>(n.current=!0,()=>{n.current=!1}),[]),fe(()=>{n.current?n.current=!1:(!r.current||t.some((o,i)=>!Object.is(o,r[i])))&&e(),r.current=t},t)}var Pg=S(Ir(),1),on=S(K(),1);function Lg(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:o=!1,shouldFocusWrap:i=!1,disallowEmptySelection:a=!1,disallowSelectAll:l=!1,escapeKeyBehavior:s="clearSelection",selectOnFocus:u=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:m=!1,scrollRef:g=r,linkBehavior:y="action",UNSTABLE_focusOnEntry:b}=e,{direction:R}=Vr(),p=Th(),f=(v,k,Ce)=>{if(k!=null){if(t.isLink(k)&&y==="selection"&&u&&!Vd(v)){(0,Pg.flushSync)(()=>{t.setFocusedKey(k,Ce)});let oe=vn(r,k),$f=t.getItemProps(k);if(oe){p.open(oe,v,$f.href,$f.routerOptions);return}return!1}if(t.setFocusedKey(k,Ce),t.isLink(k)&&y==="override")return!1;if(v.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(k);return}else if(u&&!Vd(v)){t.replaceSelection(k);return}}return!1},h=v=>{if(n.getKeyBelow){let k=t.focusedKey!=null?n.getKeyBelow?.(t.focusedKey):n.getFirstKey?.();if(k==null&&i&&(k=n.getFirstKey?.(t.focusedKey)),k!=null){f(v,k);return}}return!1},$=v=>{if(n.getKeyAbove){let k=t.focusedKey!=null?n.getKeyAbove?.(t.focusedKey):n.getLastKey?.();if(k==null&&i&&(k=n.getLastKey?.(t.focusedKey)),k!=null){f(v,k);return}}return!1},C=v=>{if(n.getFirstKey){if(t.focusedKey===null&&v.shiftKey)return!1;let k=n.getFirstKey(t.focusedKey,ji(v));if(t.setFocusedKey(k),k!=null){if(ji(v)&&v.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(k);return}else if(u){t.replaceSelection(k);return}}}return!1},E=v=>{if(n.getKeyLeftOf){let k=t.focusedKey!=null?n.getKeyLeftOf?.(t.focusedKey):n.getFirstKey?.();if(k==null&&i&&(k=R==="rtl"?n.getFirstKey?.(t.focusedKey):n.getLastKey?.(t.focusedKey)),k!=null){f(v,k,R==="rtl"?"first":"last");return}}return!1},P=v=>{if(n.getKeyRightOf){let k=t.focusedKey!=null?n.getKeyRightOf?.(t.focusedKey):n.getFirstKey?.();if(k==null&&i&&(k=R==="rtl"?n.getLastKey?.(t.focusedKey):n.getFirstKey?.(t.focusedKey)),k!=null){f(v,k,R==="rtl"?"last":"first");return}}return!1},N=v=>{if(n.getLastKey){if(t.focusedKey===null&&v.shiftKey)return!1;let k=n.getLastKey(t.focusedKey,ji(v));if(t.setFocusedKey(k),k!=null){if(ji(v)&&v.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(k);return}else if(u){t.replaceSelection(k);return}}}return!1},M=v=>{if(n.getKeyPageBelow&&t.focusedKey!=null){let k=n.getKeyPageBelow(t.focusedKey);if(k!=null)return f(v,k)}return!1},F=v=>{if(n.getKeyPageAbove&&t.focusedKey!=null){let k=n.getKeyPageAbove(t.focusedKey);if(k!=null)return f(v,k)}return!1},j=()=>{if(t.selectionMode==="multiple"&&l!==!0){t.selectAll();return}return!1},O=()=>{if(s==="clearSelection"&&!a&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},I=()=>{if(!m&&r.current){let v=yn(r.current,{tabbable:!0}),k,Ce;do Ce=v.lastChild(),Ce&&(k=Ce);while(Ce);let oe=te();k&&(!md(k)||oe&&!is(oe))&&dr(k)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},B=()=>(!m&&r.current&&r.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),V=(v,k)=>({[Lt()?v+"+Shift+Alt":v+"+Shift+Control"]:k,[v+"+Shift"]:k,[Lt()?v+"+Alt":v+"+Control"]:k,[v]:k}),{keyboardProps:se}=Pd({shortcuts:{...V("ArrowDown",h),...V("ArrowUp",$),...V("ArrowLeft",E),...V("ArrowRight",P),...V("PageDown",M),...V("PageUp",F)},allowRepeats:!0}),{keyboardProps:Me}=Pd({shortcuts:{...V("Home",C),...V("End",N),"Mod+A":j,Escape:O,Tab:I,"Tab+Shift":B}}),ft=(0,on.useRef)({top:0,left:0});Gi(g,"scroll",()=>{ft.current={top:g.current?.scrollTop??0,left:g.current?.scrollLeft??0}});let Hn=v=>{if(t.isFocused){_e(v.currentTarget,Z(v))||t.setFocused(!1);return}if(!_e(v.currentTarget,Z(v)))return;let k=Hr();t.setFocused(!0);let Ce=oe=>{oe!=null&&(t.setFocusedKey(oe),u&&!t.isSelected(oe)&&t.replaceSelection(oe))};if(b&&(k==="keyboard"||k==="virtual"))Ce(b==="first"?n.getFirstKey?.():n.getLastKey?.());else if(t.focusedKey==null){let oe=v.relatedTarget;oe&&v.currentTarget.compareDocumentPosition(oe)&Node.DOCUMENT_POSITION_FOLLOWING?Ce(t.lastSelectedKey??n.getLastKey?.()):Ce(t.firstSelectedKey??n.getFirstKey?.())}else g.current&&(g.current.scrollTop=ft.current.top,g.current.scrollLeft=ft.current.left);if(t.focusedKey!=null&&g.current){let oe=vn(r,t.focusedKey);oe instanceof HTMLElement&&(!md(oe)&&!d&&dr(oe),(k==="keyboard"||b&&k==="virtual")&&Id(oe,{containingElement:r.current}))}},un=v=>{_e(v.currentTarget,v.relatedTarget)||t.setFocused(!1)},Ze=(0,on.useRef)(!1);Gi(r,yh,d?v=>{let{detail:k}=v;v.stopPropagation(),t.setFocused(!0),k?.focusStrategy==="first"&&(Ze.current=!0)}:void 0);let pt=n.getFirstKey?.()??null;Ud(()=>{if(Ze.current)if(pt==null){let v=te();wh(r.current),hd(v,null),t.collection.size>0&&(Ze.current=!1)}else t.setFocusedKey(pt),Ze.current=!1},[pt,t.collection.size]),Ud(()=>{t.collection.size>0&&(Ze.current=!1)},[t.focusedKey]),Gi(r,bh,d?v=>{v.stopPropagation(),t.setFocused(!1),v.detail?.clearFocusKey&&t.setFocusedKey(null)}:void 0);let cn=(0,on.useRef)(o),Dt=(0,on.useRef)(!1);(0,on.useEffect)(()=>{if(cn.current){let v=null;o==="first"&&(v=n.getFirstKey?.()??null),o==="last"&&(v=n.getLastKey?.()??null);let k=t.selectedKeys;if(k.size){for(let Ce of k)if(t.canSelectItem(Ce)){v=Ce;break}}t.setFocused(!0),t.setFocusedKey(v),v!=null&&u&&!k.size&&t.canSelectItem(v)&&t.replaceSelection(v),v==null&&!d&&r.current&&ra(r.current),t.collection.size>0&&(cn.current=!1,Dt.current=!0)}});let jt=(0,on.useRef)(t.focusedKey),Ft=(0,on.useRef)(null);(0,on.useEffect)(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==jt.current||Dt.current)&&g.current&&r.current){let v=Hr(),k=vn(r,t.focusedKey);if(!(k instanceof HTMLElement))return;(v==="keyboard"||Dt.current)&&(Ft.current&&cancelAnimationFrame(Ft.current),Ft.current=requestAnimationFrame(()=>{g.current&&(ca(g.current,k),v!=="virtual"&&Id(k,{containingElement:r.current}))}))}!d&&t.isFocused&&t.focusedKey==null&&jt.current!=null&&r.current&&ra(r.current),jt.current=t.focusedKey,Dt.current=!1}),(0,on.useEffect)(()=>()=>{Ft.current&&cancelAnimationFrame(Ft.current)},[]),Gi(r,"react-aria-focus-scope-restore",v=>{v.preventDefault(),t.setFocused(!0)});let xt={...Ne(Me,se),onFocus:Hn,onBlur:un,onMouseDown(v){g.current===Z(v)&&v.preventDefault()}},{typeSelectProps:Cn}=_g({keyboardDelegate:n,selectionManager:t});c||(xt=Ne(Cn,xt));let jo;d||(jo=t.focusedKey==null?0:-1);let Y=Eg(t.collection);return{collectionProps:Ne(xt,{tabIndex:jo,"data-collection":Y})}}var ma=class{constructor(t){this.ref=t}getItemRect(t){let n=this.ref.current;if(!n)return null;let r=t!=null?vn(this.ref,t):null;if(!r)return null;let o=n.getBoundingClientRect(),i=r.getBoundingClientRect();return{x:i.left-o.left-n.clientLeft+n.scrollLeft,y:i.top-o.top-n.clientTop+n.scrollTop,width:i.width,height:i.height}}getContentSize(){let t=this.ref.current;return{width:t?.scrollWidth??0,height:t?.scrollHeight??0}}getVisibleRect(){let t=this.ref.current;return{x:t?.scrollLeft??0,y:t?.scrollTop??0,width:t?.clientWidth??0,height:t?.clientHeight??0}}};var Qr=class{constructor(...t){if(t.length===1){let n=t[0];this.collection=n.collection,this.ref=n.ref,this.collator=n.collator,this.disabledKeys=n.disabledKeys||new Set,this.disabledBehavior=n.disabledBehavior||"all",this.orientation=n.orientation||"vertical",this.direction=n.direction,this.layout=n.layout||"stack",this.layoutDelegate=n.layoutDelegate||new ma(n.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new ma(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))&&t.props?.disabledBehavior!=="selection"}findNextNonDisabled(t,n,r=!1){let o=t;for(;o!=null;){let i=this.collection.getItem(o);if(i?.type==="item"&&(r||!this.isDisabled(i)))return o;o=n(o)}return null}getNextKey(t,n){let r=t;return r=this.collection.getKeyAfter(r),this.findNextNonDisabled(r,o=>this.collection.getKeyAfter(o),n?.includeDisabled)}getPreviousKey(t,n){let r=t;return r=this.collection.getKeyBefore(r),this.findNextNonDisabled(r,o=>this.collection.getKeyBefore(o),n?.includeDisabled)}findKey(t,n,r){let o=t,i=this.layoutDelegate.getItemRect(o);if(!i||o==null)return null;let a=i;do{if(o=n(o),o==null)break;i=this.layoutDelegate.getItemRect(o)}while(i&&r(a,i)&&o!=null);return o}isSameRow(t,n){return t.y===n.y||t.x!==n.x}isSameColumn(t,n){return t.x===n.x||t.y!==n.y}isReversed(t){let n=this.getNextKey(t),r=vn(this.ref,t);if(n!=null){let i=vn(this.ref,n);return!r||!i?!1:r.getBoundingClientRect().top>i.getBoundingClientRect().top}let o=this.getPreviousKey(t);if(o!=null){let i=vn(this.ref,o);return!r||!i?!1:i.getBoundingClientRect().top>r.getBoundingClientRect().top}return!1}getKeyBelow(t,n){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getNextKey(r,n),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getPreviousKey(t,n):this.getNextKey(t,n):this.getNextKey(t,n)}getKeyAbove(t,n){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,r=>this.getPreviousKey(r,n),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getNextKey(t,n):this.getPreviousKey(t,n):this.getPreviousKey(t,n)}getNextColumn(t,n,r){return n?this.getPreviousKey(t,r):this.getNextKey(t,r)}getKeyRightOf(t,n){let r=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[r](o),n?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl",n):this.findKey(t,o=>this.getNextColumn(o,this.direction==="rtl",n),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl",n):null}getKeyLeftOf(t,n){let r=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[r]?(t=this.layoutDelegate[r](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[r](o),n?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr",n):this.findKey(t,o=>this.getNextColumn(o,this.direction==="ltr",n),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr",n):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,n=>this.collection.getKeyAfter(n))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,n=>this.collection.getKeyBefore(n))}getKeyPageAbove(t){let n=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;let o=this.isReversed(t);if(n&&!hr(n))return this.getFirstKey();let i=t;if(this.orientation==="horizontal"){let a=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>a&&i!=null;)i=this.getKeyAbove(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=this.layoutDelegate.getVisibleRect(),l=o?r.y-a.height:Math.max(0,r.y+r.height-a.height);for(;r&&r.y>l&&i!=null;)i=this.getKeyAbove(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}return i??(o?this.getLastKey():this.getFirstKey())}getKeyPageBelow(t){let n=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;let o=this.isReversed(t);if(n&&!hr(n))return this.getLastKey();let i=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,r.x-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.x<a&&i!=null;)i=this.getKeyBelow(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,r.y-r.height+this.layoutDelegate.getVisibleRect().height);for(;r&&r.y<a&&i!=null;)i=this.getKeyBelow(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}return i??(o?this.getFirstKey():this.getLastKey())}getKeyForSearch(t,n){if(!this.collator)return null;let r=this.collection,o=n||this.getFirstKey();for(;o!=null;){let i=r.getItem(o);if(!i)return null;let a=i.textValue.slice(0,t.length);if(i.textValue&&this.collator.compare(a,t)===0)return o;o=this.getNextKey(o)}return null}};var jd=new Map;function ha(e){let{locale:t}=Vr(),n=t+(e?Object.entries(e).sort((o,i)=>o[0]<i[0]?-1:1).join():"");if(jd.has(n))return jd.get(n);let r=new Intl.Collator(t,e);return jd.set(n,r),r}var Ng=S(K(),1);function Ls(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:o,keyboardDelegate:i,layoutDelegate:a,orientation:l}=e,s=ha({usage:"search",sensitivity:"base"}),u=t.disabledBehavior,c=(0,Ng.useMemo)(()=>i||new Qr({collection:n,disabledKeys:r,disabledBehavior:u,ref:o,collator:s,layoutDelegate:a,orientation:l}),[i,a,n,r,o,s,u,l]),{collectionProps:d}=Lg({...e,ref:o,selectionManager:t,keyboardDelegate:c});return{listProps:d}}function Gd(e,t,n){let r=Nt(e,{labelable:!0}),o=e.selectionBehavior||"toggle",i=e.orientation||"vertical",a=e.linkBehavior||(o==="replace"?"action":"override");o==="toggle"&&a==="action"&&(a="override");let{listProps:l}=Ls({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:s}=ws({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=Pt(e.id);yg.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:c,fieldProps:d}=hg({...e,id:u,labelElementType:"span"});return{labelProps:c,listBoxProps:Ne(r,s,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":i,...Ne(d,l)})}}function Mg(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Ig(e){return P1(e,0)}function P1(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function Ns(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...Rg(e,t),t],o=[...Rg(e,n),n],i=r.slice(0,o.length).findIndex((a,l)=>a!==o[l]);return i!==-1?(t=r[i],n=o[i],t.index-n.index):r.findIndex(a=>a===n)>=0?1:(o.findIndex(a=>a===t)>=0,-1)}function Rg(e,t){let n=[],r=t;for(;r?.parentKey!=null;)r=e.getItem(r.parentKey),r&&n.unshift(r);return n}function Qd(e){let{heading:t,"aria-label":n}=e,r=Pt();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation",onMouseDown:o=>{o.preventDefault()}}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}var Dg=S(K(),1);function ga(e){let t=Dg.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}var $a=class{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let l of a.childNodes)n(l)};for(let a of t)n(a);let r=null,o=0,i=0;for(let[a,l]of this.keyMap)r?(r.nextKey=a,l.prevKey=r.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=o++),(l.type==="section"||l.type==="item")&&i++,r=l,r.nextKey=void 0;this._size=i,this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey??null:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var Rt=class e extends Set{constructor(t,n,r){super(t),t instanceof e?(this.anchorKey=n??t.anchorKey,this.currentKey=r??t.currentKey):(this.anchorKey=n??null,this.currentKey=r??null)}};var lt=S(K(),1);function L1(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function Yr(e){let{selectionMode:t="none",disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:o="toggle",disabledBehavior:i="all"}=e,a=(0,lt.useRef)(!1),[,l]=(0,lt.useState)(!1),s=(0,lt.useRef)(null),u=(0,lt.useRef)(null),[,c]=(0,lt.useState)(null),d=(0,lt.useMemo)(()=>Fg(e.selectedKeys),[e.selectedKeys]),m=(0,lt.useMemo)(()=>Fg(e.defaultSelectedKeys,new Rt),[e.defaultSelectedKeys]),[g,y]=Ao(d,m,e.onSelectionChange),b=(0,lt.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[R,p]=(0,lt.useState)(o);o==="replace"&&R==="toggle"&&typeof g=="object"&&g.size===0&&p("replace");let f=(0,lt.useRef)(o);return(0,lt.useEffect)(()=>{o!==f.current&&(p(o),f.current=o)},[o]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:R,setSelectionBehavior:p,get isFocused(){return a.current},setFocused(h){a.current=h,l(h)},get focusedKey(){return s.current},get childFocusStrategy(){return u.current},setFocusedKey(h,$="first"){s.current=h,u.current=$,c(h)},selectedKeys:g,setSelectedKeys(h){(r||!L1(h,g))&&y(h)},disabledKeys:b,disabledBehavior:i}}function Fg(e,t){return e?e==="all"?"all":new Rt(e):t}var An=class e{constructor(t,n,r){this.collection=t,this.state=n,this.allowsCellSelection=r?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=r?.layoutDelegate||null,this.fullCollection=r?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,n){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let n=this.getKey(t);return n==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(n):this.state.selectedKeys.has(n)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=t.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&Ns(this.collection,r,t)<0)&&(t=r)}return t?.key??null}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&Ns(this.collection,r,t)>0)&&(t=r)}return t?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let n=this.getKey(t);if(n==null)return;let r;if(this.state.selectedKeys==="all")r=new Rt([n],n,n);else{let o=this.state.selectedKeys,i=o.anchorKey??n;r=new Rt(o,i,n);for(let a of this.getKeyRange(i,o.currentKey??n))r.delete(a);for(let a of this.getKeyRange(n,i))this.canSelectItem(a)&&r.add(a)}this.state.setSelectedKeys(r)}getKeyRange(t,n){let r=this.collection.getItem(t),o=this.collection.getItem(n);return r&&o?Ns(this.collection,r,o)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(t,n);let r=[],o=t;for(;o!=null;){let i=this.collection.getItem(o);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&r.push(o),o===n)return r;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;n&&n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let n=this.getKey(t);if(n==null)return;let r=new Rt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(n)?r.delete(n):this.canSelectItem(n)&&(r.add(n),r.anchorKey=n,r.currentKey=n),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none")return;let n=this.getKey(t);if(n==null)return;let r=this.canSelectItem(n)?new Rt([n],n,n):new Rt;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new Rt;for(let r of t){let o=this.getKey(r);if(o!=null&&(n.add(o),this.selectionMode==="single"))break}this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=this.fullCollection??this.collection,n=[],r=o=>{for(;o!=null;){if(this.canSelectItemIn(o,t)){let i=t.getItem(o);i?.type==="item"&&n.push(o),i?.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&r(Ig(Mg(i,t))?.key??null)}o=t.getKeyAfter(o)}};return r(t.getFirstKey()),n}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Rt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(t.size!==n.size)return!1;for(let r of t)if(!n.has(r))return!1;for(let r of n)if(!t.has(r))return!1;return!0}canSelectItem(t){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,n){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=n.getItem(t);return!(!r||r?.props?.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){let n=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!n?.props?.isDisabled)&&n?.props?.disabledBehavior!=="selection"}isLink(t){return!!this.collection.getItem(t)?.props?.href}getItemProps(t){return this.collection.getItem(t)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}};var gr=S(K(),1),Rs=class{build(t,n){return this.context=n,Kg(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:r}=t;if(gr.default.isValidElement(n)&&n.type===gr.default.Fragment)yield*this.iterateCollection({children:n.props.children,items:r});else if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");let o=0;for(let i of r)yield*this.getFullNode({value:i,index:o},{renderer:n}),o++}else{let o=[];gr.default.Children.forEach(n,a=>{a&&o.push(a)});let i=0;for(let a of o){let l=this.getFullNode({element:a,index:i},{});for(let s of l)i++,yield s}}}getKey(t,n,r,o){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${o}${n.key}`;let i=n.value;if(i!=null){let a=i.key??i.id;if(a==null)throw new Error("No key found for item");return a}return o?`${o}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,r,o){if(gr.default.isValidElement(t.element)&&t.element.type===gr.default.Fragment){let s=[];gr.default.Children.forEach(t.element.props.children,c=>{s.push(c)});let u=t.index??0;for(let c of s)yield*this.getFullNode({element:c,index:u++},n,r,o);return}let i=t.element;if(!i&&t.value&&n&&n.renderer){let s=this.cache.get(t.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=t.index,s.parentKey=o?o.key:null,yield s;return}i=n.renderer(t.value)}if(gr.default.isValidElement(i)){let s=i.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let m=i.type;throw new Error(`Unknown element <${m}> in collection.`)}let u=s.getCollectionNode(i.props,this.context),c=t.index??0,d=u.next();for(;!d.done&&d.value;){let m=d.value;t.index=c;let g=m.key??null;g==null&&(g=m.element?null:this.getKey(i,t,n,r));let b=[...this.getFullNode({...m,key:g,index:c,wrapper:N1(t.wrapper,m.wrapper)},this.getChildState(n,m),r?`${r}${i.key}`:i.key,o)];for(let R of b){if(R.value=m.value??t.value??null,R.value&&this.cache.set(R.value,R),t.type&&R.type!==t.type)throw new Error(`Unsupported type <${Yd(R.type)}> in <${Yd(o?.type??"unknown parent type")}>. Only <${Yd(t.type)}> is supported.`);c++,yield R}d=u.next(b)}return}if(t.key==null||t.type==null)return;let a=this,l={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value??null,level:(o?.level??0)+(o?.type==="item"?1:0),index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:Kg(function*(){if(!t.hasChildNodes||!t.childNodes)return;let s=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${l.key}${u.key}`);let c=a.getFullNode({...u,index:s},a.getChildState(n,u),l.key,l);for(let d of c)s++,yield d}})};yield l}constructor(){this.cache=new WeakMap}};function Kg(e){let t=[],n=null;return{*[Symbol.iterator](){for(let r of t)yield r;n||(n=e());for(let r of n)t.push(r),yield r}}}function N1(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function Yd(e){return e[0].toUpperCase()+e.slice(1)}var Xd=S(K(),1);function Ms(e,t,n){let r=(0,Xd.useMemo)(()=>new Rs,[]),{children:o,items:i,collection:a}=e;return(0,Xd.useMemo)(()=>{if(a)return a;let s=r.build({children:o,items:i},n);return t(s)},[r,o,i,a,n,t])}var an=S(K(),1);function qd(e){let{filter:t,layoutDelegate:n}=e,r=Yr(e),o=(0,an.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=(0,an.useCallback)(u=>t?new $a(t(u)):new $a(u),[t]),a=(0,an.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=Ms(e,i,a),s=(0,an.useMemo)(()=>new An(l,r,{layoutDelegate:n}),[l,r,n]);return Og(l,s),{collection:l,disabledKeys:o,selectionManager:s}}function Zd(e,t){let n=(0,an.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(n);return Og(n,r),{collection:n,selectionManager:r,disabledKeys:e.disabledKeys}}function Og(e,t){let n=(0,an.useRef)(null);(0,an.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&n.current){let r=n.current.getKeyAfter(t.focusedKey),o=null;for(;r!=null;){let i=e.getItem(r);if(i&&i.type==="item"&&!t.isDisabled(r)){o=r;break}r=n.current.getKeyAfter(r)}if(o==null)for(r=n.current.getKeyBefore(t.focusedKey);r!=null;){let i=e.getItem(r);if(i&&i.type==="item"&&!t.isDisabled(r)){o=r;break}r=n.current.getKeyBefore(r)}t.setFocusedKey(o)}n.current=e},[e,t])}var Ag=S(K(),1);function ba(e,t){let{collection:n,onLoadMore:r,scrollOffset:o=1,direction:i="end"}=e,a=(0,Ag.useRef)(null),l=hs(s=>{for(let u of s)u.isIntersecting&&r&&r()});fe(()=>{if(t.current){let s=100*o,u=i==="start"?`${s}% 0px 0px 0px`:`0px ${s}% ${s}% ${s}%`;a.current=new IntersectionObserver(l,{root:gg(t?.current),rootMargin:u}),a.current.observe(t.current)}return()=>{a.current&&a.current.disconnect()}},[n,t,o,i])}var A=S(K(),1);var Jd=(0,A.createContext)(null),ya=(0,A.createContext)(null),ef=(0,A.forwardRef)(function(t,n){[t,n]=Io(t,n,Jd);let r=(0,A.useContext)(ya);return r?A.default.createElement(Bg,{state:r,props:t,listBoxRef:n}):A.default.createElement(aa,{content:A.default.createElement(sa,t)},o=>A.default.createElement(R1,{props:t,listBoxRef:n,collection:o}))});function R1({props:e,listBoxRef:t,collection:n}){e={...e,collection:n,children:null,items:null};let{layoutDelegate:r}=(0,A.useContext)(Ur),o=qd({...e,layoutDelegate:r});return A.default.createElement(Bg,{state:o,props:e,listBoxRef:t})}function Bg({state:e,props:t,listBoxRef:n}){[t,n]=Io(t,n,Xi);let{dragAndDropHooks:r,layout:o="stack",orientation:i="vertical",filter:a}=t,l=Zd(e,a),{collection:s,selectionManager:u}=l,c=!!r?.useDraggableCollectionState,d=!!r?.useDroppableCollectionState,{direction:m}=Vr(),{disabledBehavior:g,disabledKeys:y}=u,b=ha({usage:"search",sensitivity:"base"}),{isVirtualized:R,layoutDelegate:p,dropTargetDelegate:f,CollectionRoot:h}=(0,A.useContext)(Ur),$=(0,A.useMemo)(()=>t.keyboardDelegate||new Qr({collection:s,collator:b,ref:n,disabledKeys:y,disabledBehavior:g,layout:o,orientation:i,direction:m,layoutDelegate:p}),[s,b,n,g,y,i,m,t.keyboardDelegate,o,p]),{listBoxProps:C}=Gd({...t,shouldSelectOnPressUp:c||t.shouldSelectOnPressUp,keyboardDelegate:$,isVirtualized:R},l,n),E=(0,A.useRef)(c),P=(0,A.useRef)(d);(0,A.useEffect)(()=>{},[c,d]);let N,M,F,j=!1,O=null,I=(0,A.useRef)(null);if(c&&r){N=r.useDraggableCollectionState({collection:s,selectionManager:u,preview:r.renderDragPreview?I:void 0}),r.useDraggableCollection({},N,n);let pt=r.DragPreview;O=r.renderDragPreview?A.default.createElement(pt,{ref:I},r.renderDragPreview):null}if(d&&r){M=r.useDroppableCollectionState({collection:s,selectionManager:u});let pt=r.dropTargetDelegate||f||new r.ListDropTargetDelegate(s,n,{orientation:i,layout:o,direction:m});F=r.useDroppableCollection({keyboardDelegate:$,dropTargetDelegate:pt},M,n),j=M.isDropTarget({type:"root"})}let{focusProps:B,isFocused:V,isFocusVisible:se}=Md(),Me=l.collection.size===0,ft={isDropTarget:j,isEmpty:Me,isFocused:V,isFocusVisible:se,layout:t.layout||"stack",orientation:i,state:l},Hn=Fn({...t,children:void 0,defaultClassName:"react-aria-ListBox",values:ft}),un=null;Me&&t.renderEmptyState&&(un=A.default.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(ft)));let Ze=Nt(t,{global:!0});return A.default.createElement(pa,null,A.default.createElement(Kn.div,{...Ne(Ze,Hn,C,B,F?.collectionProps),ref:n,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":j||void 0,"data-empty":Me||void 0,"data-focused":V||void 0,"data-focus-visible":se||void 0,"data-layout":t.layout||"stack","data-orientation":i},A.default.createElement(Mo,{values:[[Jd,t],[ya,l],[Cs,{dragAndDropHooks:r,dragState:N,dropState:M}],[Ts,{elementType:"div"}],[Dd,{render:I1}],[xs,{name:"ListBoxSection",render:M1}]]},A.default.createElement(Es,null,A.default.createElement(h,{collection:s,scrollRef:n,persistedKeys:$g(u,r,M),renderDropIndicator:Fd(r,M)}))),un,O))}function M1(e,t,n,r="react-aria-ListBoxSection"){let o=(0,A.useContext)(ya),{dragAndDropHooks:i,dropState:a}=(0,A.useContext)(Cs),{CollectionBranch:l}=(0,A.useContext)(Ur),[s,u]=ns(),{headingProps:c,groupProps:d}=Qd({heading:u,"aria-label":e["aria-label"]??void 0}),m=Fn({...e,id:void 0,children:void 0,defaultClassName:r,values:void 0}),g=Nt(e,{global:!0});return delete g.id,A.default.createElement(Kn.section,{...Ne(g,m,d),ref:t},A.default.createElement(ks.Provider,{value:{...c,ref:s}},A.default.createElement(l,{collection:o.collection,parent:n,renderDropIndicator:Fd(i,a)})))}function I1(e,t){t=zi(t);let{dragAndDropHooks:n,dropState:r}=(0,A.useContext)(Cs),{dropIndicatorProps:o,isHidden:i,isDropTarget:a}=n.useDropIndicator(e,r,t);return i?null:A.default.createElement(F1,{...e,dropIndicatorProps:o,isDropTarget:a,ref:t})}function D1(e,t){let{dropIndicatorProps:n,isDropTarget:r,...o}=e,i=Fn({...o,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:r}});return A.default.createElement(A.default.Fragment,null,A.default.createElement(Kn.div,{...n,...i,role:"option",ref:t,"data-drop-target":r||void 0}))}var F1=(0,A.forwardRef)(D1),K1=la(Wr,function(t,n,r){let o=(0,A.useContext)(ya),{isLoading:i,onLoadMore:a,scrollOffset:l,...s}=t,u=(0,A.useRef)(null),c=(0,A.useMemo)(()=>({onLoadMore:a,collection:o?.collection,sentinelRef:u,scrollOffset:l}),[a,l,o?.collection]);ba(c,u);let d=Fn({...s,id:void 0,children:r.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),m={tabIndex:-1};return A.default.createElement(A.default.Fragment,null,A.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:ga(!0)},A.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:u,style:{position:"absolute",height:1,width:1}})),i&&d.children&&A.default.createElement(A.default.Fragment,null,A.default.createElement(Kn.div,{...Ne(Nt(t,{global:!0}),m),...d,role:"option",ref:n},d.children)))});var Vo=S(K(),1);function zg(e){let[t,n]=Ao(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[r,o]=(0,Vo.useState)(null),i=(0,Vo.useCallback)(()=>{n(!0)},[n]),a=(0,Vo.useCallback)(()=>{n(!1)},[n]),l=(0,Vo.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:i,close:a,toggle:l,point:r,setPoint:o}}var Hg=new WeakMap;function tf(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:o,onKeyUp:i,...a}=e;!e["aria-label"]&&e["aria-labelledby"];let l=Nt(e,{labelable:!0}),{listProps:s}=Ls({...a,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:"override"});return Hg.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:Ne(l,{onKeyDown:o,onKeyUp:i},{role:"menu",...s,onKeyDown:u=>{(u.key!=="Escape"||e.shouldUseVirtualFocus)&&s.onKeyDown?.(u)}})}}function nf(e){let{heading:t,"aria-label":n}=e,r=Pt();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}var rf=S(K(),1);function of(e){let t=zg(e),[n,r]=(0,rf.useState)(null),[o,i]=(0,rf.useState)([]),a=()=>{i([]),t.close()};return{focusStrategy:n,...t,open(u=null){r(u),t.open()},toggle(u=null){r(u),t.toggle()},close(){a()},expandedKeysStack:o,openSubmenu:(u,c)=>{i(d=>c>d.length?d:[...d.slice(0,c),u])},closeSubmenu:(u,c)=>{i(d=>d[c]===u?d.slice(0,c):d)}}}var U=S(K(),1);var Is=class{constructor(t,{expandedKeys:n}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,n=n||new Set;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&(a.type==="section"||n.has(a.key)))for(let l of a.childNodes)r(l)};for(let a of t)r(a);let o=null,i=0;for(let[a,l]of this.keyMap)o?(o.nextKey=a,l.prevKey=o.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=i++),o=l,o.nextKey=void 0;this.lastKey=o?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey??null:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let n=[...this.getKeys()];return this.getItem(n[t])}};var Wo=S(K(),1);function af(e){let{onExpandedChange:t}=e,[n,r]=Ao(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),o=Yr(e),i=(0,Wo.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=Ms(e,(0,Wo.useCallback)(s=>new Is(s,{expandedKeys:n}),[n]),null);return(0,Wo.useEffect)(()=>{o.focusedKey!=null&&!a.getItem(o.focusedKey)&&o.setFocusedKey(null)},[a,o.focusedKey]),{collection:a,expandedKeys:n,disabledKeys:i,toggleKey:s=>{r(O1(n,s))},setExpandedKeys:r,selectionManager:new An(a,o)}}function O1(e,t){let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}var cf=(0,U.createContext)(null),Fs=(0,U.createContext)(null),Ds=(0,U.createContext)(null),lf=(0,U.createContext)(null);var A1=(0,U.createContext)(null),Vg=class extends Wt{static{this.type="submenutrigger"}filter(t,n,r){let o=t.getItem(this.firstChildKey);if(o&&r(o.textValue,this)){let i=this.clone();return n.addDescendants(i,t),i}return null}};var df=(0,U.forwardRef)(function(t,n){return[t,n]=Io(t,n,cf),U.default.createElement(aa,{content:U.default.createElement(sa,t)},r=>U.default.createElement(B1,{props:t,collection:r,menuRef:n}))});function B1({props:e,collection:t,menuRef:n}){[e,n]=Io(e,n,Xi);let{filter:r,...o}=e,i=(0,U.useMemo)(()=>r?t.filter(r):t,[t,r]),a=af({...e,collection:i,children:void 0}),l=(0,U.useContext)(Ds),{isVirtualized:s,CollectionRoot:u}=(0,U.useContext)(Ur),{menuProps:c}=tf({...e,isVirtualized:s,onClose:e.onClose||l?.close},a,n),d=Fn({...e,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:a.collection.size===0}}),m=null;a.collection.size===0&&e.renderEmptyState&&(m=U.default.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let g=Nt(e,{global:!0});return U.default.createElement(pa,null,U.default.createElement(Kn.div,{...Ne(g,d,c),ref:n,slot:e.slot||void 0,"data-empty":a.collection.size===0||void 0,onScroll:e.onScroll},U.default.createElement(Mo,{values:[[Fs,a],[Ts,{elementType:"div"}],[xs,{name:"MenuSection",render:z1}],[A1,{parentMenuRef:n,shouldUseVirtualFocus:o?.shouldUseVirtualFocus}],[uf,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[Xi,null],[Uh,null],[lf,a.selectionManager],[Ds,l??of({})]]},U.default.createElement(Es,null,U.default.createElement(u,{collection:a.collection,persistedKeys:fg(a.selectionManager.focusedKey),scrollRef:n}))),m))}var sf=class extends An{constructor(t,n){super(t.collection,n),this.parent=t}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,n){return this.parent.setFocusedKey(t,n)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}};function z1(e,t,n,r="react-aria-MenuSection"){let o=(0,U.useContext)(Fs),{CollectionBranch:i}=(0,U.useContext)(Ur),[a,l]=ns(),{headingProps:s,groupProps:u}=nf({heading:l,"aria-label":n.props["aria-label"]??void 0}),c=Fn({...e,id:void 0,children:void 0,defaultClassName:r,className:n.props?.className,style:n.props?.style,values:void 0}),d=(0,U.useContext)(lf),m=Yr(e),g=e.selectionMode!=null?new sf(d,m):d,y=pd(uf)?.shouldCloseOnSelect,b=Nt(e,{global:!0});return delete b.id,U.default.createElement(Kn.section,{...Ne(b,c,u),ref:t},U.default.createElement(Mo,{values:[[ks,{...s,ref:a}],[lf,g],[uf,{shouldCloseOnSelect:e.shouldCloseOnSelect??y}]]},U.default.createElement(i,{collection:o.collection,parent:n})))}var uf=(0,U.createContext)(null);var H1=la(Wr,function(t,n,r){let o=(0,U.useContext)(Fs),{isLoading:i,onLoadMore:a,scrollOffset:l,...s}=t,u=(0,U.useRef)(null),c=(0,U.useMemo)(()=>({onLoadMore:a,collection:o?.collection,sentinelRef:u,scrollOffset:l}),[a,l,o?.collection]);ba(c,u);let d=Fn({...s,id:void 0,children:r.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0}),m={tabIndex:-1};return U.default.createElement(U.default.Fragment,null,U.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:ga(!0)},U.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:u,style:{position:"absolute",height:1,width:1}})),i&&d.children&&U.default.createElement(U.default.Fragment,null,U.default.createElement(Kn.div,{...Ne(Nt(t,{global:!0}),m),...d,role:"menuitem",ref:n},d.children)))});var ff=S(K(),1);var Wg=S(he(),1);var Ks=S(K(),1);var jg=S(he(),1),le=e=>`var(--semantic-color-${e})`,ln=e=>`var(--semantic-layout-units-${e})`,Ug=e=>`var(--contextual-layout-units-${e})`,Be=e=>`var(--semantic-type-${e})`,xn=e=>`var(--motion-${e})`;var ie={ring:le("stroke-action-secondary-rest"),ringHover:le("stroke-action-secondary-hover"),ringPressed:le("stroke-action-secondary-pressed"),ringOn:le("stroke-action-primary-strong-rest"),ringOnHover:le("stroke-action-primary-strong-hover"),ringOnPressed:le("stroke-action-primary-strong-pressed"),ringError:le("stroke-action-status-negative-rest"),ringErrorHover:le("stroke-action-status-negative-hover"),ringErrorPressed:le("stroke-action-status-negative-pressed"),ringDisabled:le("stroke-action-disabled"),dot:le("fill-action-primary-strong-rest"),dotHover:le("fill-action-primary-strong-hover"),dotPressed:le("fill-action-primary-strong-pressed"),dotError:le("fill-action-status-negative-strong-rest"),dotErrorHover:le("fill-action-status-negative-strong-hover"),dotErrorPressed:le("fill-action-status-negative-strong-pressed"),dotDisabled:le("fill-action-disabled"),layerHover:le("fill-action-selection-hover"),layerPressed:le("fill-action-selection-selected"),focusFill:le("fill-surface-elevated"),focusRing:le("stroke-focusring-base"),label:le("foreground-static-neutral-base"),labelDisabled:le("foreground-action-disabled"),groupLabel:le("foreground-action-secondary-rest"),groupLabelError:le("foreground-action-status-negative-on-subtle-hover"),required:le("foreground-static-negative-on-subtle"),help:le("foreground-action-secondary-rest"),helpError:le("foreground-static-negative-on-subtle"),helpErrorIcon:le("fill-action-status-negative-strong-rest")},ne={target:ln("accessibility-touch-target-aa-width"),targetH:ln("accessibility-touch-target-aa-height"),ringWidth:Ug("selection-controls-borderwidth"),radius:ln("cornerradius-full"),controlGap:ln("gap-xxtight"),requiredGap:ln("gap-xxxtight"),rowGap:ln("gap-base"),labelEnd:ln("padding-base"),labelBlock:{Base:ln("padding-tight"),Large:ln("padding-xtight")},helpGap:ln("gap-tight"),helpIconTop:ln("borderwidth-base"),ring:{Base:20,Large:24},dot:{Base:10,Large:12},labelMax:480,helpMax:360,helpIcon:16},Mt={Base:{fontSize:Be("font-size-s"),lineHeight:Be("line-height-s-single"),letterSpacing:Be("letter-spacing-spacious")},Large:{fontSize:Be("font-size-r"),lineHeight:Be("line-height-r-single"),letterSpacing:Be("letter-spacing-wide")},group:{fontSize:Be("font-size-s"),lineHeight:Be("line-height-s-single"),letterSpacing:Be("letter-spacing-spacious"),fontWeight:Be("weight-medium")},help:{fontSize:Be("font-size-xs"),lineHeight:Be("line-height-xs-single"),letterSpacing:Be("letter-spacing-extraspacious")}},x4=`
|
|
16
|
+
.pw-radio-group{display:flex;flex-direction:column;align-items:flex-start;gap:${ne.controlGap};min-width:0;
|
|
17
|
+
font-family:${Be("family-brand")},sans-serif}
|
|
18
|
+
.pw-radio-group__label{display:inline-flex;gap:${ne.requiredGap};color:${ie.groupLabel};
|
|
19
|
+
font-size:${Mt.group.fontSize};line-height:${Mt.group.lineHeight};letter-spacing:${Mt.group.letterSpacing};font-weight:${Mt.group.fontWeight}}
|
|
20
|
+
.pw-radio-group__required{color:${ie.required}}
|
|
21
|
+
.pw-radio-group[data-invalid] .pw-radio-group__label{color:${ie.groupLabelError}}
|
|
22
|
+
.pw-radio-group[data-disabled] .pw-radio-group__label,.pw-radio-group[data-disabled] .pw-radio-group__required{color:${ie.labelDisabled}}
|
|
23
|
+
.pw-radio-group__options{display:flex;flex-direction:column;max-width:100%}
|
|
24
|
+
.pw-radio-group[data-orientation=horizontal] .pw-radio-group__options{flex-direction:row;flex-wrap:wrap;column-gap:${ne.rowGap}}
|
|
25
|
+
.pw-radio-group__help{display:flex;align-items:center;gap:${ne.helpGap};max-width:${ne.helpMax}px;color:${ie.help};
|
|
26
|
+
font-size:${Mt.help.fontSize};line-height:${Mt.help.lineHeight};letter-spacing:${Mt.help.letterSpacing};font-weight:${Be("weight-regular")}}
|
|
27
|
+
.pw-radio-group__help[data-error]{color:${ie.helpError};font-weight:${Be("weight-semibold")}}
|
|
28
|
+
.pw-radio-group__help-icon{flex:none;display:inline-flex;padding-top:${ne.helpIconTop};color:${ie.helpErrorIcon}}
|
|
29
|
+
.pw-radio-group__help-icon .material-symbols-rounded{font-family:"Material Symbols Rounded";font-size:${ne.helpIcon}px;line-height:1;
|
|
30
|
+
font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24}
|
|
31
|
+
|
|
32
|
+
.pw-radio{display:flex;align-items:flex-start;gap:${ne.controlGap};box-sizing:border-box;width:fit-content;max-width:100%;
|
|
33
|
+
min-width:${ne.target};min-height:${ne.targetH};cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;
|
|
34
|
+
font-family:${Be("family-brand")},sans-serif}
|
|
35
|
+
.pw-radio[data-disabled]{cursor:not-allowed}
|
|
36
|
+
.pw-radio__control{flex:none;display:inline-grid;place-items:center;width:${ne.target};height:${ne.targetH};border-radius:${ne.radius};
|
|
37
|
+
transition:background-color ${xn("duration-2")} ${xn("easing-standard")}}
|
|
38
|
+
.pw-radio__mark{box-sizing:border-box;display:inline-grid;place-items:center;width:${ne.ring.Base}px;height:${ne.ring.Base}px;
|
|
39
|
+
border-radius:${ne.radius};border:${ne.ringWidth} solid ${ie.ring};background:transparent;
|
|
40
|
+
transition:border-color ${xn("duration-2")} ${xn("easing-standard")},background-color ${xn("duration-2")} ${xn("easing-standard")}}
|
|
41
|
+
.pw-radio__dot{width:${ne.dot.Base}px;height:${ne.dot.Base}px;border-radius:${ne.radius};background:${ie.dot};transform:scale(0);
|
|
42
|
+
transition:transform ${xn("duration-3")} ${xn("easing-burst")},background-color ${xn("duration-2")} ${xn("easing-standard")}}
|
|
43
|
+
.pw-radio[data-size=Large] .pw-radio__mark{width:${ne.ring.Large}px;height:${ne.ring.Large}px}
|
|
44
|
+
.pw-radio[data-size=Large] .pw-radio__dot{width:${ne.dot.Large}px;height:${ne.dot.Large}px}
|
|
45
|
+
.pw-radio__label{box-sizing:border-box;min-width:0;max-width:${ne.labelMax}px;overflow-wrap:anywhere;color:${ie.label};
|
|
46
|
+
padding:${ne.labelBlock.Base} ${ne.labelEnd} ${ne.labelBlock.Base} 0;
|
|
47
|
+
font-size:${Mt.Base.fontSize};line-height:${Mt.Base.lineHeight};letter-spacing:${Mt.Base.letterSpacing};font-weight:${Be("weight-regular")}}
|
|
48
|
+
.pw-radio[data-size=Large] .pw-radio__label{padding-block:${ne.labelBlock.Large};
|
|
49
|
+
font-size:${Mt.Large.fontSize};line-height:${Mt.Large.lineHeight};letter-spacing:${Mt.Large.letterSpacing}}
|
|
50
|
+
|
|
51
|
+
.pw-radio[data-selected] .pw-radio__mark{border-color:${ie.ringOn}}
|
|
52
|
+
.pw-radio[data-selected] .pw-radio__dot{transform:scale(1)}
|
|
53
|
+
|
|
54
|
+
.pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__control{background:${ie.layerHover}}
|
|
55
|
+
.pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__control{background:${ie.layerPressed}}
|
|
56
|
+
.pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${ie.ringHover}}
|
|
57
|
+
.pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${ie.ringPressed}}
|
|
58
|
+
.pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${ie.ringOnHover}}
|
|
59
|
+
.pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${ie.dotHover}}
|
|
60
|
+
.pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${ie.ringOnPressed}}
|
|
61
|
+
.pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${ie.dotPressed}}
|
|
62
|
+
|
|
63
|
+
.pw-radio[data-invalid] .pw-radio__mark{border-color:${ie.ringError}}
|
|
64
|
+
.pw-radio[data-invalid] .pw-radio__dot{background:${ie.dotError}}
|
|
65
|
+
.pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${ie.ringErrorHover}}
|
|
66
|
+
.pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${ie.dotErrorHover}}
|
|
67
|
+
.pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${ie.ringErrorPressed}}
|
|
68
|
+
.pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${ie.dotErrorPressed}}
|
|
69
|
+
|
|
70
|
+
.pw-radio[data-disabled] .pw-radio__mark{border-color:${ie.ringDisabled}}
|
|
71
|
+
.pw-radio[data-disabled] .pw-radio__dot{background:${ie.dotDisabled}}
|
|
72
|
+
.pw-radio[data-disabled] .pw-radio__label{color:${ie.labelDisabled}}
|
|
73
|
+
|
|
74
|
+
.pw-radio:is([data-focus-visible],[data-force=Focused]) .pw-radio__mark{background:${ie.focusFill};border-color:transparent;
|
|
75
|
+
outline:${Ug("focusring-width")} solid ${ie.focusRing};outline-offset:0}
|
|
76
|
+
|
|
77
|
+
.pw-radio-mark{display:inline-grid;place-items:center;width:${ne.target};height:${ne.targetH};flex:none}
|
|
78
|
+
|
|
79
|
+
@media (prefers-reduced-motion: reduce){.pw-radio__control,.pw-radio__mark,.pw-radio__dot{transition:none}}
|
|
80
|
+
`;var w4=(0,Ks.createContext)({size:"Base"});var C4=S(K(),1),Gg=S(he(),1);var yt=e=>`var(--semantic-color-${e})`,E4={neutral:{light:yt("foreground-static-neutral-faint"),subtle:yt("foreground-static-neutral-base"),base:yt("foreground-static-neutral-base"),contrast:yt("foreground-static-neutral-strong"),bold:yt("foreground-static-neutral-bold")},brand:yt("foreground-action-primary-on-subtle-rest"),info:yt("foreground-static-info-on-subtle"),warning:yt("foreground-static-attention-on-subtle"),danger:yt("foreground-static-negative-on-subtle"),negative:yt("foreground-static-negative-on-subtle"),positive:yt("foreground-static-positive-on-subtle"),"accent-amethyst":yt("foreground-static-info-on-subtle"),"accent-jade":yt("foreground-static-accent-jade-on-subtle"),"accent-seabreeze":yt("foreground-static-accent-seabreeze-on-subtle")};var Q1=S(K(),1);var Yg=S(he(),1),Y1=e=>`var(--semantic-color-${e})`,vt=e=>`var(--semantic-layout-units-${e})`,Qg=e=>`var(--contextual-layout-units-${e})`;var L4={radius:vt("cornerradius-large"),radiusX:vt("cornerradius-full"),border:vt("borderwidth-base"),padTop:vt("padding-xxxxtight"),padBottom:vt("padding-xxxxtight"),padLeft:vt("padding-xxxtight"),padRight:vt("padding-xxtight"),gap:vt("gap-xxxtight")},$r={pill:vt("padding-xxxtight"),text:vt("padding-xxxtight"),fieldGap:vt("gap-xxtight"),rowGap:vt("gap-xtight"),touchW:vt("accessibility-touch-target-aa-width"),touchH:vt("accessibility-touch-target-aa-height"),ring:Y1("stroke-focusring-base"),ringWidth:Qg("focusring-width"),ringOffset:Qg("focusring-offset"),fieldMax:80,badgeMax:240,duration:"var(--motion-duration-2)",easing:"var(--motion-easing-standard)"};var N4={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,minWidth:$r.touchW,minHeight:$r.touchH,boxSizing:"border-box",padding:0,margin:0,border:0,background:"transparent",font:"inherit",color:"inherit",textDecoration:"none",outline:"none"};var R4=`background ${$r.duration} ${$r.easing}, color ${$r.duration} ${$r.easing}, box-shadow ${$r.duration} ${$r.easing}`;var Xg=S(K(),1),qg=S(he(),1),br=e=>`var(--semantic-color-${e})`,sn=e=>`var(--semantic-layout-units-${e})`,Xe=e=>`var(--semantic-type-${e})`;var D4={XXXS:{px:16,fontSize:Xe("font-size-xxxs"),lineHeight:Xe("line-height-xxxs-single"),radius:sn("cornerradius-small"),icon:10,badge:6},XXS:{px:20,fontSize:Xe("font-size-xxxs"),lineHeight:Xe("line-height-xxxs-single"),radius:sn("cornerradius-small"),icon:12,badge:7},XS:{px:24,fontSize:Xe("font-size-xxs"),lineHeight:Xe("line-height-xxs-single"),radius:sn("cornerradius-small"),icon:14,badge:8},S:{px:32,fontSize:Xe("font-size-s"),lineHeight:Xe("line-height-s-single"),radius:sn("cornerradius-small"),icon:20,badge:10},M:{px:40,fontSize:Xe("font-size-r"),lineHeight:Xe("line-height-r-single"),radius:sn("cornerradius-base"),icon:24,badge:12},L:{px:56,fontSize:Xe("font-size-l"),lineHeight:Xe("line-height-l-single"),radius:sn("cornerradius-large"),icon:34,badge:16},XL:{px:96,fontSize:Xe("font-size-xxl"),lineHeight:Xe("line-height-xxl-single"),radius:sn("cornerradius-xlarge"),icon:58,badge:28}},F4={fill:br("fill-static-brand-subtle"),foreground:br("foreground-static-brand-on-subtle"),imageFill:br("fill-static-neutral-faint"),stroke:br("stroke-static-neutral-base"),strokeWidth:sn("borderwidth-thin"),circle:sn("cornerradius-full"),badgeRing:br("stroke-static-neutral-mono"),badgeRingW:sn("borderwidth-base"),badge:{Positive:br("fill-static-positive-strong"),Attention:br("fill-static-attention-strong")},groupRing:br("fill-surface-elevated"),groupRingW:sn("borderwidth-thick"),family:Xe("family-brand"),weight:Xe("weight-semibold")};var e$=S(K(),1),pf=S(he(),1),_=e=>`var(--semantic-color-${e})`;var It=e=>`var(--contextual-layout-units-${e})`,va=e=>`var(--semantic-type-${e})`,Zg={Fill:{Primary:{base:_("fill-action-primary-strong-rest"),hover:_("fill-action-primary-strong-hover"),pressed:_("fill-action-primary-strong-pressed"),disabled:_("fill-action-disabled")},Secondary:{base:_("fill-action-secondary-rest"),hover:_("fill-action-secondary-hover"),pressed:_("fill-action-secondary-pressed"),disabled:_("fill-action-disabled")},Tertiary:{base:_("fill-action-primary-subtle-rest"),hover:_("fill-action-primary-subtle-hover"),pressed:_("fill-action-primary-subtle-pressed"),disabled:_("fill-action-disabled")},Negative:{base:_("fill-action-status-negative-strong-rest"),hover:_("fill-action-status-negative-strong-hover"),pressed:_("fill-action-status-negative-strong-pressed"),disabled:_("fill-action-disabled")}},Outlined:{Primary:{base:"transparent",hover:_("fill-action-primary-subtle-hover"),pressed:_("fill-action-primary-subtle-pressed"),disabled:"transparent"},Secondary:{base:"transparent",hover:_("fill-action-secondary-hover"),pressed:_("fill-action-secondary-pressed"),disabled:"transparent"},Tertiary:{base:"transparent",hover:_("fill-action-primary-subtle-hover"),pressed:_("fill-action-primary-subtle-pressed"),disabled:"transparent"},Negative:{base:"transparent",hover:_("fill-action-status-negative-subtle-hover"),pressed:_("fill-action-status-negative-subtle-pressed"),disabled:"transparent"}}};Zg.Naked=Zg.Outlined;var Jg={Fill:{Primary:{base:_("foreground-action-primary-on-strong"),hover:_("foreground-action-primary-on-strong"),pressed:_("foreground-action-primary-on-strong"),disabled:_("foreground-action-disabled")},Secondary:{base:_("foreground-action-secondary-rest"),hover:_("foreground-action-secondary-hover"),pressed:_("foreground-action-secondary-pressed"),disabled:_("foreground-action-disabled")},Tertiary:{base:_("foreground-action-primary-on-subtle-rest"),hover:_("foreground-action-primary-on-subtle-hover"),pressed:_("foreground-action-primary-on-subtle-pressed"),disabled:_("foreground-action-disabled")},Negative:{base:_("foreground-action-status-negative-on-strong"),hover:_("foreground-action-status-negative-on-strong"),pressed:_("foreground-action-status-negative-on-strong"),disabled:_("foreground-action-disabled")}},Outlined:{Primary:{base:_("foreground-action-primary-on-subtle-rest"),hover:_("foreground-action-primary-on-subtle-hover"),pressed:_("foreground-action-primary-on-subtle-pressed"),disabled:_("foreground-action-disabled")},Secondary:{base:_("foreground-action-secondary-rest"),hover:_("foreground-action-secondary-hover"),pressed:_("foreground-action-secondary-pressed"),disabled:_("foreground-action-disabled")},Tertiary:{base:_("foreground-action-primary-on-subtle-rest"),hover:_("foreground-action-primary-on-subtle-hover"),pressed:_("foreground-action-primary-on-subtle-pressed"),disabled:_("foreground-action-disabled")},Negative:{base:_("foreground-action-status-negative-on-subtle-rest"),hover:_("foreground-action-status-negative-on-subtle-hover"),pressed:_("foreground-action-status-negative-on-subtle-pressed"),disabled:_("foreground-action-disabled")}}};Jg.Naked=Jg.Outlined;var A4={Primary:{base:_("stroke-action-primary-strong-rest"),hover:_("stroke-action-primary-strong-hover"),pressed:_("stroke-action-primary-strong-pressed"),disabled:_("stroke-action-disabled")},Secondary:{base:_("stroke-action-secondary-rest"),hover:_("stroke-action-secondary-hover"),pressed:_("stroke-action-secondary-pressed"),disabled:_("stroke-action-disabled")},Tertiary:{base:_("stroke-action-primary-strong-rest"),hover:_("stroke-action-primary-strong-hover"),pressed:_("stroke-action-primary-strong-pressed"),disabled:_("stroke-action-disabled")},Negative:{base:_("stroke-action-status-negative-rest"),hover:_("stroke-action-status-negative-hover"),pressed:_("stroke-action-status-negative-pressed"),disabled:_("stroke-action-disabled")}},B4={radius:It("button-cornerradius"),border:It("button-borderwidth-rest"),borderEmphasis:It("button-borderwidth-selected"),gap:It("button-gap-horizontal"),touch:{pad:6,min:48},focusOutline:`${It("focusring-width")} solid ${_("stroke-focusring-base")}`,focusOffset:"0"},Os=(e,t,n)=>({fontFamily:va("family-brand"),fontSize:va(`font-size-${e}`),fontWeight:va("weight-medium"),lineHeight:va(`line-height-${t}`),letterSpacing:va(`letter-spacing-${n}`)}),z4={L:{padH:It("button-padding-large-horizontal"),padV:It("button-padding-large-vertical"),iconWrap:26,iconInner:18,...Os("m","m-single","wide")},M:{padH:It("button-padding-medium-horizontal"),padV:It("button-padding-medium-vertical"),iconWrap:24,iconInner:16,...Os("r","r-single","wide")},S:{padH:It("button-padding-small-horizontal"),padV:It("button-padding-small-vertical"),iconWrap:20,iconInner:14,...Os("s","s-single","spacious")},XS:{padH:It("button-padding-xsmall-horizontal"),padV:It("button-padding-xsmall-vertical"),iconWrap:16,iconInner:12,...Os("xs","xs-single","extraspacious")}};var Bn=S(he(),1),q=e=>`var(--semantic-color-${e})`,Q=e=>`var(--semantic-layout-units-${e})`,X1=e=>`var(--contextual-layout-units-${e})`,ut=e=>`var(--semantic-type-${e})`,qe=e=>`var(--motion-${e})`;var z={panel:q("fill-surface-elevated"),panelBorder:q("stroke-static-neutral-faint"),slotDivider:q("stroke-static-neutral-base"),separator:q("stroke-static-neutral-base"),fillHover:q("fill-static-neutral-subtle"),fillPressed:q("fill-static-neutral-base"),fillSelected:q("fill-action-selection-selected"),fillDangerHover:q("fill-action-status-negative-subtle-hover"),fillDangerPressed:q("fill-action-status-negative-subtle-pressed"),stripe:q("fill-action-primary-strong-pressed"),label:q("foreground-static-neutral-strong"),labelHover:q("foreground-static-neutral-bold"),labelDanger:q("foreground-action-status-negative-on-subtle-rest"),labelDangerHover:q("foreground-action-status-negative-on-subtle-hover"),labelDangerPressed:q("foreground-action-status-negative-on-subtle-pressed"),disabled:q("foreground-action-disabled"),secondary:q("foreground-static-neutral-subtle"),reason:q("foreground-static-neutral-base"),check:q("foreground-action-primary-on-subtle-rest"),countFill:q("fill-static-neutral-base"),countText:q("foreground-static-neutral-bold"),countFillDisabled:q("fill-action-disabled"),swatchEdge:q("stroke-static-neutral-base"),dot:{positive:q("fill-static-positive-strong"),attention:q("fill-static-attention-strong"),negative:q("fill-static-negative-strong"),neutral:q("fill-static-neutral-strong")},statusTitle:q("foreground-static-neutral-bold"),statusBody:q("foreground-static-neutral-base"),focusRing:q("stroke-focusring-base"),trigger:q("foreground-action-secondary-rest"),triggerHover:q("foreground-action-secondary-hover"),buttonFill:q("fill-surface-elevated"),buttonFillHover:q("fill-action-selection-hover"),buttonBorder:q("stroke-action-secondary-rest"),avatarFill:q("fill-action-primary-subtle-rest"),avatarText:q("foreground-action-primary-on-subtle-rest")},T={panelRadius:Q("cornerradius-large"),panelBorder:Q("borderwidth-xthin"),shadow:"var(--elevation-lift)",listPadV:Q("padding-xtight"),listPadH:Q("padding-xxtight"),itemGap:Q("gap-xxxtight"),slotPad:Q("padding-xtight"),footerPad:Q("padding-tight"),footerGap:Q("gap-tight"),itemMinH:Q("accessibility-touch-target-aa-height"),itemPad:Q("padding-tight"),itemContentGap:Q("gap-medium"),leadGroupGap:Q("gap-tight"),textGap:Q("gap-xxxtight"),inlineGap:Q("gap-tight"),badgeGap:Q("gap-xxtight"),reasonGap:Q("gap-xxtight"),trailGap:Q("gap-xxtight"),itemRadius:Q("cornerradius-base"),fullRadius:Q("cornerradius-full"),swatchRadius:Q("cornerradius-small"),headerPadTop:{First:Q("padding-xxtight"),"After Separator":Q("padding-xtight"),Default:Q("padding-base")},headerPadL:Q("padding-tight"),headerPadR:Q("padding-xtight"),headerPadB:Q("padding-xxtight"),separatorMargin:Q("padding-xtight"),stripeW:Q("borderwidth-xthick"),stripeInset:Q("padding-xtight"),countPadH:Q("padding-xtight"),statusPadV:Q("padding-base"),statusPadH:Q("padding-tight"),statusGap:Q("gap-xxtight"),offset:8,width:280,minWidth:220,maxWidth:360,maxHeight:440,searchHeight:360,leadBox:20,glyph:18,dot:8,swatch:16,spinner:16,countMin:24,focusWidth:X1("focusring-width"),triggerTarget:Q("accessibility-touch-target-aa-width"),triggerTargetH:Q("accessibility-touch-target-aa-height"),triggerGlyph:20,avatarBox:28,buttonPadV:Q("padding-xtight"),buttonPadH:Q("padding-tight"),buttonBorder:Q("borderwidth-base")},$e={label:{fontSize:ut("font-size-s"),lineHeight:ut("line-height-s-single"),fontWeight:ut("weight-medium")},support:{fontSize:ut("font-size-xs"),lineHeight:ut("line-height-xs-single"),fontWeight:ut("weight-regular")},header:{fontSize:ut("font-size-xs"),lineHeight:ut("line-height-xs-single"),fontWeight:ut("weight-semibold"),letterSpacing:ut("letter-spacing-wide")}},st=".pw-menu-item",t$=e=>`${st}:not([data-disabled]):is(${e})`,n$="[data-hovered],[data-focused],[data-open],[data-force=Hover],[data-force=Focus]",r$="[data-pressed],[data-force=Pressed]",q1=`
|
|
81
|
+
.pw-menu-panel{--trigger-width:0px;--visual-viewport-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;outline:none;
|
|
82
|
+
width:clamp(${T.minWidth}px,max(${T.width}px,var(--trigger-width,0px)),${T.maxWidth}px);
|
|
83
|
+
max-width:min(${T.maxWidth}px,calc(100vw - 2 * ${Q("padding-tight")}));
|
|
84
|
+
max-height:min(${T.maxHeight}px,var(--visual-viewport-height,100vh));
|
|
85
|
+
background:${z.panel};border:${T.panelBorder} solid ${z.panelBorder};border-radius:${T.panelRadius};box-shadow:${T.shadow};
|
|
86
|
+
font-family:${ut("family-brand")},sans-serif}
|
|
87
|
+
.pw-menu-panel[data-searchable]{height:${T.searchHeight}px}
|
|
88
|
+
.pw-menu-panel[data-entering]{animation:pw-menu-in ${qe("duration-4")} ${qe("easing-decelerate")} both}
|
|
89
|
+
.pw-menu-panel[data-placement=top][data-entering]{animation-name:pw-menu-in-up}
|
|
90
|
+
.pw-menu-panel[data-exiting]{animation:pw-menu-out ${qe("duration-2")} ${qe("easing-standard")} both}
|
|
91
|
+
@keyframes pw-menu-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
|
|
92
|
+
@keyframes pw-menu-in-up{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
|
|
93
|
+
@keyframes pw-menu-out{from{opacity:1}to{opacity:0}}
|
|
94
|
+
|
|
95
|
+
.pw-menu{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;font-family:${ut("family-brand")},sans-serif}
|
|
96
|
+
.pw-menu--static{box-sizing:border-box;width:${T.width}px;max-width:100%;background:${z.panel};
|
|
97
|
+
border:${T.panelBorder} solid ${z.panelBorder};border-radius:${T.panelRadius};box-shadow:${T.shadow};overflow:hidden}
|
|
98
|
+
.pw-menu--bare{width:100%}
|
|
99
|
+
.pw-menu__header{flex:none;padding:${T.slotPad};border-bottom:${T.panelBorder} solid ${z.slotDivider}}
|
|
100
|
+
.pw-menu__footer{flex:none;display:flex;justify-content:flex-end;gap:${T.footerGap};
|
|
101
|
+
padding:${T.slotPad} ${T.footerPad} ${T.footerPad};border-top:${T.panelBorder} solid ${z.slotDivider}}
|
|
102
|
+
.pw-menu__scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
|
|
103
|
+
.pw-menu__list{display:flex;flex-direction:column;gap:${T.itemGap};padding:${T.listPadV} ${T.listPadH};outline:none}
|
|
104
|
+
.pw-menu--bare .pw-menu__list{padding:0}
|
|
105
|
+
.pw-menu__list[data-empty]:focus-visible{outline:${T.focusWidth} solid ${z.focusRing};outline-offset:calc(-1 * ${T.focusWidth});border-radius:${T.panelRadius}}
|
|
106
|
+
|
|
107
|
+
${st}{position:relative;display:flex;align-items:flex-start;gap:${T.itemContentGap};box-sizing:border-box;
|
|
108
|
+
min-height:${T.itemMinH};padding:${T.itemPad};border-radius:${T.itemRadius};
|
|
109
|
+
color:${z.label};font-size:${$e.label.fontSize};line-height:${$e.label.lineHeight};font-weight:${$e.label.fontWeight};letter-spacing:normal;
|
|
110
|
+
cursor:pointer;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;
|
|
111
|
+
transition:background-color ${qe("duration-2")} ${qe("easing-standard")},color ${qe("duration-2")} ${qe("easing-standard")}}
|
|
112
|
+
${t$(n$)}{background:${z.fillHover};color:${z.labelHover}}
|
|
113
|
+
${t$(r$)}{background:${z.fillPressed};color:${z.label}}
|
|
114
|
+
${st}:not([data-disabled]):is([data-selected],[data-current]){background:${z.fillSelected};color:${z.label}}
|
|
115
|
+
${st}:is([data-focus-visible],[data-force=Focus]){outline:${T.focusWidth} solid ${z.focusRing};outline-offset:calc(-1 * ${T.focusWidth})}
|
|
116
|
+
${st}[role=option][data-focused][data-hovered]:not([data-focus-visible]){outline:none}
|
|
117
|
+
${st}[data-tone=Destructive]{color:${z.labelDanger}}
|
|
118
|
+
${st}[data-tone=Destructive]:not([data-disabled]):is(${n$}){background:${z.fillDangerHover};color:${z.labelDangerHover}}
|
|
119
|
+
${st}[data-tone=Destructive]:not([data-disabled]):is(${r$}){background:${z.fillDangerPressed};color:${z.labelDangerPressed}}
|
|
120
|
+
${st}[data-disabled]{color:${z.disabled};background:transparent;cursor:default}
|
|
121
|
+
|
|
122
|
+
.pw-menu-item__lead-group{flex:none;display:inline-flex;align-items:center;gap:${T.leadGroupGap};min-height:${$e.label.lineHeight}}
|
|
123
|
+
.pw-menu-item__lead{flex:none;width:${T.leadBox}px;height:${T.leadBox}px;display:inline-flex;align-items:center;justify-content:center}
|
|
124
|
+
.pw-menu-item__lead .material-symbols-rounded,.pw-menu-item__trail .material-symbols-rounded{font-size:${T.glyph}px}
|
|
125
|
+
.pw-menu-item__check{color:${z.check}}
|
|
126
|
+
${st}[data-disabled] .pw-menu-item__check{color:${z.disabled}}
|
|
127
|
+
.pw-menu-item__lead--hidden{visibility:hidden}
|
|
128
|
+
.pw-menu-item__control{overflow:hidden}
|
|
129
|
+
.pw-menu-item__control > *{flex:none;pointer-events:none}
|
|
130
|
+
.pw-menu-item__lead--avatar{width:auto;height:auto}
|
|
131
|
+
.pw-menu-item__dot{width:${T.dot}px;height:${T.dot}px;border-radius:${T.fullRadius}}
|
|
132
|
+
.pw-menu-item__swatch{box-sizing:border-box;width:${T.swatch}px;height:${T.swatch}px;border-radius:${T.swatchRadius};border:${T.panelBorder} solid ${z.swatchEdge}}
|
|
133
|
+
|
|
134
|
+
.pw-menu-item__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:${T.textGap}}
|
|
135
|
+
.pw-menu-item__text[data-inline]{flex-direction:row;align-items:baseline;gap:${T.inlineGap}}
|
|
136
|
+
.pw-menu-item__label-row{display:flex;align-items:center;gap:${T.badgeGap};min-width:0}
|
|
137
|
+
.pw-menu-item__label{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
138
|
+
.pw-menu-item__label-row > :not(.pw-menu-item__label){flex:none}
|
|
139
|
+
.pw-menu-item__desc{font-size:${$e.support.fontSize};line-height:${$e.support.lineHeight};font-weight:${$e.support.fontWeight};
|
|
140
|
+
color:${z.secondary};overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
|
141
|
+
.pw-menu-item__text[data-inline] .pw-menu-item__desc{flex:0 1 auto;display:block;white-space:nowrap;text-overflow:ellipsis}
|
|
142
|
+
.pw-menu-item__reason{display:flex;align-items:center;gap:${T.reasonGap};color:${z.reason};
|
|
143
|
+
font-size:${$e.support.fontSize};line-height:${$e.support.lineHeight};font-weight:${$e.support.fontWeight}}
|
|
144
|
+
.pw-menu-item__reason .material-symbols-rounded{font-size:${T.spinner}px}
|
|
145
|
+
${st}[data-disabled] .pw-menu-item__desc{color:${z.disabled}}
|
|
146
|
+
|
|
147
|
+
.pw-menu-item__trail{flex:none;display:inline-flex;align-items:center;gap:${T.trailGap};margin-left:auto;min-height:${$e.label.lineHeight};
|
|
148
|
+
color:${z.secondary};font-size:${$e.support.fontSize};line-height:${$e.support.lineHeight};font-weight:${$e.support.fontWeight};font-variant-numeric:tabular-nums}
|
|
149
|
+
.pw-menu-item__kbd{font-family:inherit;font-size:inherit}
|
|
150
|
+
.pw-menu-item__count{box-sizing:border-box;min-width:${T.countMin}px;text-align:center;padding:0 ${T.countPadH};border-radius:${T.fullRadius};
|
|
151
|
+
background:${z.countFill};color:${z.countText}}
|
|
152
|
+
${st}[data-selected] .pw-menu-item__count{background:${z.panel}}
|
|
153
|
+
${st}[data-disabled] .pw-menu-item__trail{color:${z.disabled}}
|
|
154
|
+
${st}[data-disabled] .pw-menu-item__count{background:${z.countFillDisabled};color:${z.disabled}}
|
|
155
|
+
|
|
156
|
+
.pw-menu-item__stripe{position:absolute;left:0;top:${T.stripeInset};bottom:${T.stripeInset};width:${T.stripeW};
|
|
157
|
+
border-radius:0 ${T.itemRadius} ${T.itemRadius} 0;background:transparent}
|
|
158
|
+
${st}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${z.stripe}}
|
|
159
|
+
|
|
160
|
+
.pw-menu-section{display:flex;flex-direction:column;gap:${T.itemGap}}
|
|
161
|
+
.pw-menu-section__header{padding:${T.headerPadTop.Default} ${T.headerPadR} ${T.headerPadB} ${T.headerPadL};color:${z.secondary};
|
|
162
|
+
font-size:${$e.header.fontSize};line-height:${$e.header.lineHeight};font-weight:${$e.header.fontWeight};letter-spacing:${$e.header.letterSpacing}}
|
|
163
|
+
.pw-menu__list > .pw-menu-section:first-child > .pw-menu-section__header,.pw-menu-section__header[data-position=First]{padding-top:${T.headerPadTop.First}}
|
|
164
|
+
.pw-menu-separator + .pw-menu-section > .pw-menu-section__header,.pw-menu-section__header[data-position="After Separator"]{padding-top:${T.headerPadTop["After Separator"]}}
|
|
165
|
+
.pw-menu-separator{height:0;border:0;border-top:${T.panelBorder} solid ${z.separator};margin:${T.separatorMargin}}
|
|
166
|
+
|
|
167
|
+
.pw-menu-status{display:flex;flex-direction:column;align-items:flex-start;gap:${T.statusGap};padding:${T.statusPadV} ${T.statusPadH};
|
|
168
|
+
color:${z.statusBody};font-size:${$e.label.fontSize};line-height:${$e.label.lineHeight};font-weight:${ut("weight-regular")}}
|
|
169
|
+
.pw-menu-status__row{display:flex;align-items:center;gap:${T.leadGroupGap}}
|
|
170
|
+
.pw-menu-status__title{color:${z.statusTitle};font-weight:${$e.label.fontWeight}}
|
|
171
|
+
.pw-menu-status__body{font-size:${$e.support.fontSize};line-height:${$e.support.lineHeight}}
|
|
172
|
+
|
|
173
|
+
.pw-menu-trigger{position:relative;display:inline-flex}
|
|
174
|
+
.pw-menu-trigger__icon,.pw-menu-trigger__button,.pw-menu-trigger__avatar{font-family:inherit;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;
|
|
175
|
+
transition:color ${qe("duration-2")} ${qe("easing-standard")},background-color ${qe("duration-2")} ${qe("easing-standard")}}
|
|
176
|
+
.pw-menu-trigger__icon{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:0;border:0;background:transparent;color:${z.trigger}}
|
|
177
|
+
.pw-menu-trigger__icon:is(:hover,[aria-expanded=true]){color:${z.triggerHover}}
|
|
178
|
+
.pw-menu-trigger__button{display:inline-flex;align-items:center;gap:${T.badgeGap};white-space:nowrap;box-sizing:border-box;min-height:${T.triggerTargetH};padding:${T.buttonPadV} ${T.buttonPadH};
|
|
179
|
+
background:${z.buttonFill};border:${T.buttonBorder} solid ${z.buttonBorder};border-radius:${T.itemRadius};color:${z.trigger};
|
|
180
|
+
font-size:${$e.label.fontSize};line-height:${$e.label.lineHeight}}
|
|
181
|
+
.pw-menu-trigger__button:hover{background:${z.buttonFillHover}}
|
|
182
|
+
.pw-menu-trigger__avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:${T.avatarBox}px;height:${T.avatarBox}px;
|
|
183
|
+
border:0;border-radius:${T.itemRadius};background:${z.avatarFill};color:${z.avatarText};font-size:${ut("font-size-xxs")};font-weight:${ut("weight-semibold")}}
|
|
184
|
+
.pw-menu-trigger :is(.pw-menu-trigger__icon,.pw-menu-trigger__button,.pw-menu-trigger__avatar):focus-visible{outline:${T.focusWidth} solid ${z.focusRing}}
|
|
185
|
+
|
|
186
|
+
@media (prefers-reduced-motion: reduce){
|
|
187
|
+
.pw-menu-panel[data-entering],.pw-menu-panel[data-placement=top][data-entering]{animation:pw-menu-fade ${qe("duration-2")} ${qe("easing-standard")} both}
|
|
188
|
+
.pw-menu-panel[data-exiting]{animation:pw-menu-out ${qe("duration-2")} ${qe("easing-standard")} both}
|
|
189
|
+
@keyframes pw-menu-fade{from{opacity:0}to{opacity:1}}
|
|
190
|
+
}
|
|
191
|
+
`,mf=!1;function Z1(){(0,zn.useEffect)(()=>{if(mf||typeof document>"u"||document.getElementById("pw-popover-menu-css")){mf=!0;return}let e=document.createElement("style");e.id="pw-popover-menu-css",e.textContent=q1,document.head.appendChild(e),mf=!0},[])}var J1=(0,zn.createContext)("actions"),o$=(0,zn.createContext)(null);function i$({mode:e="actions",label:t,header:n,footer:r,emptyState:o,maxHeight:i,framed:a=!1,bare:l=!1,className:s="",children:u,...c}){Z1();let d=e==="options"?ef:df,m={...c,escapeKeyBehavior:c.escapeKeyBehavior??"none"};return(0,Bn.jsx)(J1.Provider,{value:e,children:(0,Bn.jsxs)("div",{className:`pw-menu${a?" pw-menu--static":""}${l?" pw-menu--bare":""}${s?` ${s}`:""}`,children:[n&&(0,Bn.jsx)("div",{className:"pw-menu__header",children:n}),(0,Bn.jsx)("div",{className:"pw-menu__scroll",style:i?{maxHeight:i}:void 0,children:(0,Bn.jsx)(d,{"aria-label":t,className:"pw-menu__list",renderEmptyState:o?()=>o:void 0,...m,children:u})}),r&&(0,Bn.jsx)("div",{className:"pw-menu__footer",children:r})]})})}var Pe=S(he(),1),xa=e=>`var(--semantic-color-${e})`,ct=e=>`var(--semantic-layout-units-${e})`,wa=e=>`var(--semantic-type-${e})`,wn=e=>`var(--motion-${e})`,Uo={surface:xa("fill-surface-elevated"),overlay:xa("scrim-subtle"),handle:xa("fill-static-neutral-strong"),title:xa("foreground-static-neutral-strong"),footerBorder:xa("stroke-static-neutral-faint"),shadow:"var(--elevation-sheet)"},ue={radius:ct("cornerradius-xlarge"),sheetGap:ct("gap-tight"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4,pillRadius:ct("cornerradius-full"),headerMinH:ct("accessibility-touch-target-aa-height"),headerPadTop:ct("padding-xtight"),headerPadX:ct("padding-xxxxtight"),headerPadBottom:ct("padding-xxxtight"),headerGap:ct("gap-xxtight"),titleInset:ct("padding-base"),bodyPad:ct("padding-xtight"),bodyGap:ct("gap-xxtight"),footerBorder:ct("borderwidth-base"),footerPadTop:ct("padding-tight"),footerPad:ct("padding-base"),footerGap:ct("gap-tight"),dismissDistance:80,flickSpeed:.5},ex={title:{fontFamily:wa("family-brand"),fontSize:wa("font-size-s"),fontWeight:wa("weight-semibold"),lineHeight:wa("line-height-s-tight"),letterSpacing:wa("letter-spacing-wide")}},Xr={enter:`pw-bottom-sheet-up ${wn("duration-5")} ${wn("easing-emphasized")} both`,exit:`pw-bottom-sheet-down ${wn("duration-4")} ${wn("easing-accelerate")} both`,fadeIn:`pw-bottom-sheet-fade-in ${wn("duration-4")} ${wn("easing-standard")} both`,fadeOut:`pw-bottom-sheet-fade-out ${wn("duration-4")} ${wn("easing-standard")} both`,settle:`transform ${wn("duration-4")} ${wn("easing-decelerate")}`},tx="@keyframes pw-bottom-sheet-up{from{transform:translateY(100%)}to{transform:none}}@keyframes pw-bottom-sheet-down{from{transform:none}to{transform:translateY(100%)}}@keyframes pw-bottom-sheet-fade-in{from{opacity:0}to{opacity:1}}@keyframes pw-bottom-sheet-fade-out{from{opacity:1}to{opacity:0}}.pw-bottom-sheet__body{scrollbar-width:thin}";function nx(){(0,ye.useLayoutEffect)(()=>{if(typeof document>"u"||document.getElementById("pw-bottom-sheet-css"))return;let e=document.createElement("style");e.id="pw-bottom-sheet-css",e.textContent=tx,document.head.appendChild(e)},[])}var a$='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',rx=':is([role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"]):not([aria-disabled="true"])';function ox(){return(0,Pe.jsx)("div",{"aria-hidden":"true","data-part":"handle",style:{height:ue.handleZone,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,Pe.jsx)("div",{style:{width:ue.pillWidth,height:ue.pillHeight,borderRadius:ue.pillRadius,background:Uo.handle}})})}function ix({title:e,titleId:t,titleRef:n,showBack:r=!1,onBack:o,onClose:i,backLabel:a="Back",closeLabel:l="Close"}){return(0,Pe.jsxs)("div",{"data-part":"header",style:{display:"flex",alignItems:"center",gap:ue.headerGap,minHeight:ue.headerMinH,boxSizing:"border-box",padding:`${ue.headerPadTop} ${ue.headerPadX} ${ue.headerPadBottom}`},children:[r&&(0,Pe.jsx)(es,{name:"arrow_back",size:"Base",label:a,onClick:o}),(0,Pe.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:ue.titleInset},children:(0,Pe.jsx)("h2",{id:t,ref:n,tabIndex:-1,style:{margin:0,outline:"none",color:Uo.title,...ex.title,overflowWrap:"anywhere",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e})}),(0,Pe.jsx)(es,{name:"close",size:"Base",label:l,onClick:i})]})}function ax({children:e}){return(0,Pe.jsx)("div",{"data-part":"footer",style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:ue.footerGap,flexShrink:0,borderTop:`${ue.footerBorder} solid ${Uo.footerBorder}`,padding:`${ue.footerPadTop} ${ue.footerPad} calc(${ue.footerPad} + env(safe-area-inset-bottom, 0px))`},children:e})}function lx({onClick:e,animation:t,opacity:n}){return(0,Pe.jsx)("div",{"data-part":"overlay","aria-hidden":"true",onClick:e,style:{position:"absolute",inset:0,background:Uo.overlay,animation:t,opacity:n}})}function s$({open:e,onOpenChange:t,title:n,children:r,menu:o=!1,menuProps:i,showHandle:a=!0,footer:l,showBack:s=!1,onBack:u,initialFocus:c="auto",returnFocusRef:d,closeLabel:m="Close",backLabel:g="Back",container:y,contained:b=!1,className:R="",style:p}){nx();let f=Dr(),h=`pwbs${(0,ye.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[$,C]=(0,ye.useState)(!!e),[E,P]=(0,ye.useState)(!1),[N,M]=(0,ye.useState)(0),[F,j]=(0,ye.useState)(!1),O=(0,ye.useRef)(null),I=(0,ye.useRef)(null),B=(0,ye.useRef)(null),V=(0,ye.useRef)(null),se=(0,ye.useRef)(null),Me=(0,ye.useRef)(null),ft=()=>t?.(!1);(0,ye.useEffect)(()=>{e?(typeof document<"u"&&(se.current=document.activeElement),P(!1),M(0),C(!0)):$&&P(!0)},[e]);let Hn=Y=>{Y.target!==O.current||!E||(C(!1),P(!1),M(0),un.current=!0)},un=(0,ye.useRef)(!1);(0,ye.useEffect)(()=>{if(!$||!V.current||b)return;let Y=V.current,v=document.body.style.overflow;document.body.style.overflow="hidden";let Ce=[...Y.parentNode?.children||[]].filter(oe=>oe!==Y&&!oe.inert&&oe.tagName!=="SCRIPT"&&oe.tagName!=="STYLE");return Ce.forEach(oe=>{oe.inert=!0}),()=>{document.body.style.overflow=v,Ce.forEach(oe=>{oe.inert=!1})}},[$]),(0,ye.useEffect)(()=>{if($||!un.current)return;un.current=!1;let Y=d?.current||se.current;Y&&Y.isConnected&&typeof Y.focus=="function"&&Y.focus()},[$]),(0,ye.useEffect)(()=>{if(!$||E||!O.current||b)return;let Y=I.current?[...I.current.querySelectorAll(rx)]:[],v=B.current;c==="first"?v=Y[0]||O.current.querySelector(a$)||v:c==="auto"&&o&&Y.length&&(v=Y.find(k=>k.getAttribute("aria-checked")==="true")||Y[0]),v?.focus({preventScroll:!0})},[$,E]);let Ze=(0,ye.useRef)(!0);(0,ye.useEffect)(()=>{if(Ze.current){Ze.current=!1;return}$&&!b&&B.current?.focus({preventScroll:!0})},[s]);let pt=Y=>{if(Y.key==="Escape"){Y.stopPropagation(),Y.nativeEvent?.stopImmediatePropagation?.(),ft();return}if(Y.key==="Tab"&&O.current){let v=[...O.current.querySelectorAll(a$)].filter(oe=>oe.offsetParent!==null||oe===document.activeElement);if(!v.length){Y.preventDefault();return}let k=v[0],Ce=v[v.length-1];Y.shiftKey&&(document.activeElement===k||document.activeElement===B.current)?(Y.preventDefault(),Ce.focus()):!Y.shiftKey&&document.activeElement===Ce&&(Y.preventDefault(),k.focus());return}},cn=Y=>{Y.button!==void 0&&Y.button!==0||I.current?.contains(Y.target)&&I.current.scrollTop>0||(Me.current={y:Y.clientY,t:performance.now(),id:Y.pointerId,active:!1})},Dt=Y=>{let v=Me.current;if(!v||v.id!==Y.pointerId)return;let k=Y.clientY-v.y;if(!v.active){if(k<-4){Me.current=null;return}if(k<8)return;v.active=!0,j(!0),O.current?.setPointerCapture?.(Y.pointerId)}M(Math.max(0,k))},jt=Y=>{let v=Me.current;if(Me.current=null,!v||!v.active)return;j(!1);let k=Math.max(0,Y.clientY-v.y),Ce=k/Math.max(1,performance.now()-v.t);k>ue.dismissDistance||Ce>ue.flickSpeed?ft():M(0)};if(!$||typeof document>"u")return null;let Ft=f?E?Xr.fadeOut:Xr.fadeIn:E?Xr.exit:Xr.enter,xt=N>0&&!E,Cn=xt&&O.current?Math.max(0,1-N/O.current.offsetHeight):void 0,jo=(0,Pe.jsxs)("div",{ref:V,className:`pw-bottom-sheet ${R}`,"data-open":!E||void 0,style:{position:b?"absolute":"fixed",inset:0,zIndex:b?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",...p},children:[(0,Pe.jsx)(lx,{onClick:ft,animation:E?Xr.fadeOut:Xr.fadeIn,opacity:Cn}),(0,Pe.jsxs)("div",{ref:O,role:"dialog","aria-modal":"true","aria-labelledby":h,onKeyDown:pt,onAnimationEnd:Hn,onPointerDown:cn,onPointerMove:Dt,onPointerUp:jt,onPointerCancel:jt,style:{position:"relative",width:"100%",maxWidth:ue.maxWidth,boxSizing:"border-box",maxHeight:b?`calc(100% - ${ue.topClearance}px)`:`calc(100dvh - ${ue.topClearance}px)`,display:"flex",flexDirection:"column",gap:ue.sheetGap,background:Uo.surface,boxShadow:Uo.shadow,borderRadius:`${ue.radius} ${ue.radius} 0 0`,animation:xt?"none":Ft,transform:xt?`translateY(${N}px)`:void 0,transition:F||f?"none":Xr.settle,touchAction:"pan-y"},children:[(0,Pe.jsxs)("div",{"data-part":"top",style:{display:"flex",flexDirection:"column",flexShrink:0},children:[a&&(0,Pe.jsx)(ox,{}),(0,Pe.jsx)(ix,{title:n,titleId:h,titleRef:B,showBack:s,onBack:u,onClose:ft,closeLabel:m,backLabel:g})]}),(0,Pe.jsx)("div",{ref:I,className:"pw-bottom-sheet__body","data-part":"body",style:{display:"flex",flexDirection:"column",gap:ue.bodyGap,minHeight:0,flex:"0 1 auto",overflowY:"auto",overflowX:"hidden",overscrollBehavior:"contain",padding:l?`0 ${ue.bodyPad} ${ue.bodyPad}`:`0 ${ue.bodyPad} calc(${ue.bodyPad} + env(safe-area-inset-bottom, 0px))`},children:(0,Pe.jsx)(o$.Provider,{value:ft,children:o?(0,Pe.jsx)(i$,{bare:!0,label:n,...i,children:r}):r})}),l&&(0,Pe.jsx)(ax,{children:l})]})]});return b?jo:(0,l$.createPortal)(jo,y||document.body)}var w=S(he(),1),hf=e=>e?{inert:"","aria-hidden":!0}:{};ql();var re=e=>`var(--semantic-color-${e})`,gf=e=>`var(${e})`,dt=e=>`var(--semantic-layout-units-${e})`,qr=e=>`var(--contextual-layout-units-${e})`,u$=e=>typeof e=="number"?-e:`calc(-1 * ${e})`,W={fill:{navBase:"transparent",navHover:re("fill-action-selection-hover"),navActive:re("fill-action-selection-selected"),navTrail:re("fill-action-selection-trail"),infoSubtle:re("stroke-static-neutral-faint")},surface:{navLight:re("fill-surface-elevated"),navElevated:re("fill-surface-elevated")},text:{navBase:re("foreground-action-secondary-rest"),navHover:re("foreground-action-secondary-hover"),navActive:re("foreground-action-secondary-pressed"),navDisabled:re("foreground-action-disabled"),secondary:re("foreground-static-neutral-subtle"),secondarySubtle:re("foreground-static-neutral-subtle"),strong:re("foreground-static-neutral-strong")},icon:{navBase:re("foreground-action-secondary-rest"),navHover:re("foreground-action-secondary-hover"),navActive:re("foreground-action-secondary-pressed"),navDisabled:re("foreground-action-disabled"),actionSecondary:re("foreground-action-secondary-rest")},indicator:re("fill-action-selection-indicator"),radius:qr("navitem-cornerradius")},L={navPadH:qr("sidenav-padding-horizontal-expanded"),navColPadH:qr("sidenav-padding-horizontal-collapsed"),navPadTop:qr("sidenav-padding-vertical"),navW:qr("sidenav-width-expanded"),navWcol:qr("sidenav-width-collapsed"),menuGap:qr("sidenav-gap-vertical"),menuPadT:dt("padding-tight"),menuPadB:dt("padding-xxwide"),itemH:dt("accessibility-touch-target-aa-height"),iconWrap:24,iconInner:16,rowPadH:dt("padding-tight"),railIconInset:dt("padding-xxtight"),textPad:dt("padding-xtight"),childIndent:24,stripeW:4,stripeOuterPadV:dt("padding-xxxtight"),stripeInnerPadV:dt("padding-xxtight"),stripeRadius:dt("cornerradius-base"),itemPadH:dt("padding-xxtight"),chevPad:"var(--semantic-layout-units-padding-xxxxtight, 2px)",chevBox:20,chevFrame:16,chevGlyph:12,childRowPadL:dt("padding-tight"),childMainPadL:dt("padding-relaxed"),colPadL:dt("padding-medium"),colPadR:dt("padding-tight"),collapseGap:dt("padding-xxtight")};function f$({visible:e,inset:t}){return(0,w.jsx)("div",{style:{width:L.stripeW,alignSelf:"stretch",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",padding:t?`${t} 0`:`calc(${L.stripeOuterPadV} + ${L.stripeInnerPadV}) 0`,boxSizing:"border-box",flexShrink:0},children:(0,w.jsx)("div",{style:{flex:"1 0 0",width:L.stripeW,minHeight:1,borderRadius:`0 ${L.stripeRadius} ${L.stripeRadius} 0`,backgroundColor:e?W.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}})})}function c$({item:e,isActive:t,isTrail:n,isExpanded:r,isSidebarCollapsed:o,isChild:i,onClick:a,onToggle:l,popoverOpen:s,anchorRect:u,onPopoverEnter:c,onPopoverLeave:d,activeId:m,chevronUp:g,chevronDown:y,collapseIcon:b,expandIcon:R}){let[p,f]=(0,ve.useState)(!1),h=!!(e.children&&e.children.length),$=(0,ve.useRef)(null),C=h&&r&&!o,E=n&&(!r||o),N=E||t&&!(o&&h),M=!!e.disabled,F=M?W.fill.navBase:t||E?W.fill.navActive:C?W.fill.navTrail:p?W.fill.navHover:W.fill.navBase,j=M?W.text.navDisabled:t||E||C?W.text.navActive:p?W.text.navHover:W.text.navBase,O=M?W.icon.navDisabled:t||E||C?W.icon.navActive:p?W.icon.navHover:W.icon.navBase,I=()=>{M||(h&&!o?l(e.id):a(e.id))};return(0,w.jsxs)("div",{ref:$,style:{position:"relative"},children:[(0,w.jsxs)("div",{className:Xl,role:"button",tabIndex:M?-1:0,"aria-current":t?"page":void 0,"aria-disabled":M?!0:void 0,"aria-expanded":h&&!o?r:void 0,onClick:I,onKeyDown:B=>!M&&(B.key==="Enter"||B.key===" ")&&I(),onMouseEnter:()=>{if(!M&&(f(!0),o&&c)){let B=$.current?$.current.getBoundingClientRect():null;c(e.id,B)}},onMouseLeave:()=>{M||(f(!1),o&&d&&d())},style:{display:"flex",alignItems:"center",minHeight:L.itemH,width:o?L.itemH:"100%",marginLeft:o?"auto":void 0,marginRight:o?"auto":void 0,paddingRight:o?L.railIconInset:void 0,boxSizing:"border-box",borderRadius:W.radius,backgroundColor:F,cursor:M?"not-allowed":"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,w.jsx)(f$,{visible:N}),!i&&e.icon&&(0,w.jsx)("div",{style:{width:L.iconWrap,height:L.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:o?"auto":L.itemPadH,marginRight:o?"auto":void 0,color:O},children:typeof e.icon=="function"?e.icon({size:L.iconInner,color:O}):typeof e.icon=="string"?(0,w.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:L.iconInner,lineHeight:1,color:O,display:"block",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},children:e.icon}):ve.default.cloneElement(e.icon,{style:{color:O}})}),(0,w.jsx)("div",{style:{flex:o?"0 0 0px":1,minWidth:0,paddingLeft:o?0:i?`calc(${L.childRowPadL} + ${L.childMainPadL} + ${L.textPad})`:L.textPad,paddingRight:o?0:i?L.childRowPadL:L.itemPadH,maxWidth:o?0:200,opacity:o?0:1,overflow:"hidden",pointerEvents:o?"none":"auto",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,w.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:j,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})}),!i&&h&&!o&&(0,w.jsx)("div",{style:{width:L.chevBox,height:L.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,opacity:o?0:1,overflow:"hidden",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,w.jsx)("div",{style:{transform:r?"rotate(180deg)":"rotate(0deg)",transition:"transform var(--motion-duration-5) var(--motion-easing-accordion)"},children:y?y({size:L.chevGlyph,color:O}):(0,w.jsx)(gx,{size:L.chevGlyph,color:O})})})]}),o&&s&&u&&(0,w.jsx)("div",{style:{position:"fixed",left:u.right,top:u.top,width:8,height:u.height,zIndex:999},onMouseEnter:()=>{let B=$.current?$.current.getBoundingClientRect():u;c&&c(e.id,B)}}),o&&h&&s&&u&&(0,w.jsx)(cx,{item:e,onClick:a,anchorRect:u,activeId:m,onMouseEnter:()=>{let B=$.current?$.current.getBoundingClientRect():u;c&&c(e.id,B)},onMouseLeave:d}),o&&!h&&s&&u&&(0,w.jsx)(sx,{label:e.label,anchorRect:u,onMouseEnter:()=>{let B=$.current?$.current.getBoundingClientRect():u;c&&c(e.id,B)},onMouseLeave:d})]})}function sx({label:e,anchorRect:t,onMouseEnter:n,onMouseLeave:r}){return t?As.default.createPortal((0,w.jsx)("div",{onMouseEnter:n,onMouseLeave:r,style:{position:"fixed",left:t.right+8,top:t.top+t.height/2,zIndex:1e3,backgroundColor:W.surface.navLight,border:`0.5px solid ${re("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:gf("--elevation-widget"),padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-xtight)",whiteSpace:"nowrap",pointerEvents:"auto",animation:"popoverInCentered var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:(0,w.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:W.text.strong},children:e})}),document.body):null}function ux({label:e}){return(0,w.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-tight)",paddingRight:"var(--semantic-layout-units-padding-xtight)",paddingTop:"var(--semantic-layout-units-padding-xxtight)",paddingBottom:"var(--semantic-layout-units-padding-xxtight)"},children:(0,w.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:W.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function cx({item:e,onClick:t,anchorRect:n,onMouseEnter:r,onMouseLeave:o,activeId:i}){return n?As.default.createPortal((0,w.jsxs)("div",{onMouseEnter:r,onMouseLeave:o,style:{position:"fixed",left:n.right+8,top:n.top,zIndex:1e3,backgroundColor:W.surface.navElevated,border:`0.5px solid ${re("stroke-static-neutral-faint")}`,borderRadius:"var(--primitive-unit-unit-10)",boxShadow:gf("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",boxSizing:"border-box",minWidth:220,maxWidth:360,pointerEvents:"auto",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,w.jsx)(ux,{label:e.label}),e.children.map(a=>(0,w.jsx)(Sa,{item:a,onClick:t,activeId:i},a.id))]}),document.body):null}function Sa({item:e,onClick:t,activeId:n}){let[r,o]=(0,ve.useState)(!1),i=e.id===n,a=i?W.fill.navActive:r?W.fill.navHover:"transparent",l=W.text.strong;return(0,w.jsxs)("div",{onClick:()=>t(e.id),className:ah,role:"menuitem",tabIndex:0,"aria-current":i?"page":void 0,onKeyDown:s=>(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),t(e.id)),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),onFocus:()=>o(!0),onBlur:()=>o(!1),style:{position:"relative",display:"flex",alignItems:"center",minHeight:L.itemH,boxSizing:"border-box",padding:"var(--semantic-layout-units-padding-tight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",overflow:"hidden",backgroundColor:a,cursor:"pointer",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,w.jsx)("div",{style:{position:"absolute",left:0,top:"var(--semantic-layout-units-padding-xtight)",bottom:"var(--semantic-layout-units-padding-xtight)",width:L.stripeW,borderRadius:`0 ${L.stripeRadius} ${L.stripeRadius} 0`,backgroundColor:i?W.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}}),(0,w.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:l,flex:1},children:e.label})]})}var d$=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target)),Sn={restStroke:re("stroke-action-primary-subtle-rest"),hoverFill:re("fill-action-primary-subtle-hover"),hoverStroke:re("stroke-action-primary-strong-hover"),hoverFg:re("foreground-action-primary-on-subtle-hover"),openFill:re("fill-action-primary-subtle-pressed"),openStroke:re("stroke-action-primary-strong-pressed"),openFg:re("foreground-action-primary-on-subtle-pressed"),restFg:re("foreground-static-neutral-bold"),separator:re("stroke-static-neutral-base")};function dx({label:e,icon:t="apps",home:n,apps:r=[],activeId:o,onSelect:i,collapsed:a=!1,presentation:l="popover",sheetTitle:s}){let u=[n,...r].filter(Boolean).find(I=>I.id===o),c=u&&u.label||e||n&&n.label,[d,m]=(0,ve.useState)(!1),[g,y]=(0,ve.useState)(!1),[b,R]=(0,ve.useState)(!1),[p,f]=(0,ve.useState)(null),h=(0,ve.useRef)(null),$=(0,ve.useRef)(null),C=(0,ve.useRef)(null),E=(0,ve.useRef)(!1),P=()=>{if(b){R(!1);return}f(h.current?h.current.getBoundingClientRect():null),R(!0)};(0,ve.useEffect)(()=>{if(!b||l==="sheet"||!E.current)return;E.current=!1;let I=setTimeout(()=>{let B=C.current?[...C.current.querySelectorAll('[role="menuitem"]')]:[];(B.find(V=>V.getAttribute("aria-current"))||B[0])?.focus()},0);return()=>clearTimeout(I)},[b,l]);let N=I=>{let B=[...I.currentTarget.querySelectorAll('[role="menuitem"]')],V=B.indexOf(document.activeElement),se=null;I.key==="ArrowDown"?se=(V+1)%B.length:I.key==="ArrowUp"?se=(V-1+B.length)%B.length:I.key==="Home"?se=0:I.key==="End"&&(se=B.length-1),!(se===null||!B.length)&&(I.preventDefault(),B[se].focus())},M=I=>{R(!1),i&&i(I),$.current&&$.current.focus()};(0,ve.useEffect)(()=>{if(!b||l==="sheet")return;let I=V=>{d$(h.current,V)||d$(C.current,V)||R(!1)},B=V=>{V.key==="Escape"&&(R(!1),$.current&&$.current.focus())};return document.addEventListener("mousedown",I),document.addEventListener("keydown",B),()=>{document.removeEventListener("mousedown",I),document.removeEventListener("keydown",B)}},[b,l]);let F=b||g,j=F?Sn.openFg:d?Sn.hoverFg:Sn.restFg,O=n||{id:"__home",label:e};return(0,w.jsxs)("div",{ref:h,style:{boxSizing:"border-box",width:"100%",minHeight:L.itemH,flexShrink:0,padding:a?`${L.textPad} 0`:`${L.textPad} ${L.chevPad}`},children:[(0,w.jsxs)("button",{ref:$,className:lh,type:"button",onClick:P,onKeyDown:I=>{(I.key==="Enter"||I.key===" "||I.key==="ArrowDown")&&(E.current=!0),I.key==="ArrowDown"&&!b&&(I.preventDefault(),P())},"aria-haspopup":"menu","aria-expanded":b,"aria-label":a?`Switch application: ${c}`:void 0,onMouseEnter:()=>m(!0),onMouseLeave:()=>{m(!1),y(!1)},onMouseDown:()=>y(!0),onMouseUp:()=>y(!1),onBlur:()=>y(!1),style:{display:"flex",alignItems:"center",width:"100%",height:L.itemH,boxSizing:"border-box",margin:0,cursor:"pointer",fontFamily:"inherit",justifyContent:a?"center":"flex-start",gap:a?0:"var(--semantic-layout-units-gap-xxxtight)",paddingLeft:L.itemPadH,paddingRight:L.itemPadH,borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:F?Sn.openFill:d?Sn.hoverFill:"transparent",border:"none","--pw-ring-keep-shadow":"var(--elevation-lift)",boxShadow:`inset 0 0 0 ${F?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${F?Sn.openStroke:d?Sn.hoverStroke:Sn.restStroke}, var(--elevation-lift)`,transition:"background-color var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,w.jsx)("span",{style:{width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,w.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:L.iconInner,lineHeight:1,display:"block",color:j,fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:t})}),!a&&(0,w.jsx)("span",{style:{flex:1,minWidth:0,textAlign:"left",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:j,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:c})]}),l==="sheet"&&(0,w.jsxs)(s$,{open:b,title:s||c,menu:!0,returnFocusRef:$,onOpenChange:I=>{I||R(!1)},children:[(0,w.jsx)(Sa,{item:O,onClick:M,activeId:o}),r.length>0&&(0,w.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,w.jsx)("div",{style:{borderTop:`0.5px solid ${Sn.separator}`}})}),r.map(I=>(0,w.jsx)(Sa,{item:I,onClick:M,activeId:o},I.id))]}),b&&l!=="sheet"&&p&&As.default.createPortal((0,w.jsxs)("div",{ref:C,role:"menu","aria-label":c,onKeyDown:N,style:{position:"fixed",left:`calc(${p.right}px + var(--semantic-layout-units-gap-xxxtight))`,top:p.top,zIndex:1e3,boxSizing:"border-box",minWidth:220,maxWidth:360,maxHeight:`calc(100vh - ${Math.round(p.top)}px - var(--semantic-layout-units-padding-base))`,overflowY:"auto",background:W.surface.navElevated,border:`var(--semantic-layout-units-borderwidth-xthin, 0.5px) solid ${re("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-large)",boxShadow:gf("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,w.jsx)(Sa,{item:O,onClick:M,activeId:o}),r.length>0&&(0,w.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,w.jsx)("div",{style:{borderTop:`0.5px solid ${Sn.separator}`}})}),r.map(I=>(0,w.jsx)(Sa,{item:I,onClick:M,activeId:o},I.id))]}),document.body)]})}function fx({isSidebarCollapsed:e,onToggle:t,collapseIcon:n,expandIcon:r,headerStart:o=null,hideToggle:i=!1}){let[a,l]=(0,ve.useState)(!1),s=W.icon.actionSecondary,u=!e&&o;return(0,w.jsxs)("div",{style:{width:"100%",flexShrink:0},children:[(0,w.jsxs)("div",{style:{display:"flex",alignItems:"center",height:L.itemH,width:"100%",justifyContent:u?"space-between":e?"center":"flex-end",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[u&&(0,w.jsx)("div",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1},children:o}),!i&&(0,w.jsx)("div",{onClick:t,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),"aria-label":e?"Expand navigation":"Collapse navigation",className:Xl,role:"button",tabIndex:0,onKeyDown:c=>(c.key==="Enter"||c.key===" ")&&t(),style:{display:"flex",alignItems:"center",height:L.itemH,flexShrink:0,cursor:"pointer"},children:(0,w.jsx)("div",{style:{width:L.itemH,height:L.itemH,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,w.jsx)("div",{style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--primitive-unit-unit-10)",backgroundColor:a?W.fill.navHover:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:e?r?r({size:12,color:s}):(0,w.jsx)(bx,{color:s}):n?n({size:12,color:s}):(0,w.jsx)($x,{color:s})})})})]}),(0,w.jsx)("div",{style:{padding:"var(--semantic-layout-units-padding-xxxtight) 0"},children:(0,w.jsx)("div",{style:{height:1,backgroundColor:W.fill.infoSubtle}})})]})}function p$({label:e}){return(0,w.jsx)("div",{style:{display:"flex",alignItems:"center",height:40,width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-xxtight)",paddingRight:"var(--semantic-layout-units-padding-xxtight)",paddingTop:"var(--semantic-layout-units-padding-tight)",paddingBottom:"var(--semantic-layout-units-padding-tight)",flexShrink:0},children:(0,w.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xxs)",lineHeight:"var(--semantic-type-line-height-xxs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",textTransform:"uppercase",color:W.text.secondarySubtle,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function px({color:e}){return(0,w.jsx)("svg",{width:L.iconInner,height:L.iconInner,viewBox:"0 0 16 16","aria-hidden":"true",style:{display:"block",flexShrink:0},children:(0,w.jsx)("circle",{cx:"8",cy:"8",r:"6.6667",fill:e})})}function mx({item:e,isActive:t,onClick:n}){let[r,o]=(0,ve.useState)(!1),i=t?W.fill.navActive:r?W.fill.navHover:"transparent",a=t?W.text.navActive:r?W.text.navHover:W.text.navBase,l=t?W.icon.navActive:r?W.icon.navHover:W.icon.navBase;return(0,w.jsxs)("div",{onClick:()=>n&&n(e.id),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:Xl,role:"button",tabIndex:0,onKeyDown:s=>(s.key==="Enter"||s.key===" ")&&n&&n(e.id),style:{display:"flex",alignItems:"center",height:48,minHeight:L.itemH,width:"100%",borderRadius:W.radius,backgroundColor:i,cursor:"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,w.jsx)(f$,{visible:t,inset:L.stripeInnerPadV}),(0,w.jsx)("div",{style:{width:L.iconWrap,height:L.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:L.rowPadH},children:(0,w.jsx)(px,{color:l})}),(0,w.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:L.textPad,paddingRight:`calc(${L.textPad} + ${L.rowPadH})`},children:(0,w.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:a,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})})]})}function hx({label:e,items:t,activeId:n,onNavigate:r}){return(0,w.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xtight)",width:"100%",flexShrink:0},children:[(0,w.jsx)(p$,{label:e}),(0,w.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:t.map(o=>(0,w.jsx)(mx,{item:o,isActive:o.id===n,onClick:r},o.id))})]})}function m$({items:e,sections:t,listSection:n,activeId:r,onNavigate:o,collapsed:i=!1,onCollapseChange:a,hideCollapseButton:l=!1,defaultExpanded:s={},className:u="",headerEnd:c=null,children:d=null,footer:m=null,appSwitcher:g=null,headerStart:y=null}){let[b,R]=(0,ve.useState)(s),[p,f]=(0,ve.useState)(null),[h,$]=(0,ve.useState)(null),C=(0,ve.useRef)(null),E=t?t.flatMap(O=>O.items):e||[],P=(()=>{let O=E.find(I=>I.children&&I.children.some(B=>B.id===r));return O?O.id:null})(),N=O=>R(I=>{if(!I[O])return{[O]:!0};let V={...I};return delete V[O],V}),M=(O,I)=>{clearTimeout(C.current),f(O),I&&$(I)},F=()=>{C.current=setTimeout(()=>{f(null),$(null)},300)},j=O=>{let I=!!(O.children&&O.children.length),B=O.id===r,V=O.id===P,se=!!b[O.id];return(0,w.jsxs)("div",{children:[(0,w.jsx)(c$,{item:O,isActive:B,isTrail:V,isExpanded:se,isSidebarCollapsed:i,isChild:!1,onClick:o,onToggle:N,popoverOpen:p===O.id,anchorRect:p===O.id?h:null,onPopoverEnter:M,onPopoverLeave:F,activeId:r}),I&&!i&&(0,w.jsx)("div",{...hf(!se),style:{display:"grid",gridTemplateRows:se?"1fr":"0fr",marginTop:se?L.menuGap:0,transition:"grid-template-rows var(--motion-duration-5) var(--motion-easing-accordion), margin-top var(--motion-duration-5) var(--motion-easing-accordion)"},children:(0,w.jsx)("div",{style:{overflow:"hidden",display:"flex",flexDirection:"column",gap:L.menuGap,opacity:se?1:0,transition:se?"opacity var(--motion-duration-4) var(--motion-easing-standard) 70ms":"opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:O.children.map(Me=>(0,w.jsx)(c$,{item:Me,isActive:Me.id===r,isTrail:!1,isExpanded:!1,isSidebarCollapsed:!1,isChild:!0,onClick:o,onToggle:()=>{}},Me.id))})})]},O.id)};return(0,w.jsxs)("nav",{className:u,style:{width:i?L.navWcol:L.navW,height:"100%",backgroundColor:W.surface.navLight,display:"flex",flexDirection:"column",paddingTop:L.navPadTop,paddingBottom:0,paddingLeft:i?L.navColPadH:L.navPadH,paddingRight:i?L.navColPadH:L.navPadH,boxSizing:"border-box",flexShrink:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)",borderRight:`1px solid ${W.fill.infoSubtle}`,overflow:"hidden"},children:[(!l||c||y)&&(0,w.jsxs)("div",{style:{flexShrink:0},children:[(!l||y)&&(0,w.jsx)(fx,{isSidebarCollapsed:i,headerStart:y,hideToggle:l,onToggle:()=>a&&a(!i)}),c&&(0,w.jsx)("div",{...hf(i),style:{opacity:i?0:1,maxHeight:i?0:200,overflow:"hidden",pointerEvents:i?"none":"auto",padding:i?0:`0 ${L.navPadH}`,transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:c})]}),(0,w.jsxs)(nh,{style:{flex:1,minHeight:0,marginRight:u$(i?L.navColPadH:L.navPadH),marginLeft:u$("var(--contextual-layout-units-focusring-width)")},viewStyle:{display:"flex",flexDirection:"column",gap:L.menuGap,paddingTop:L.menuPadT,paddingRight:i?L.navColPadH:L.navPadH,paddingLeft:"var(--contextual-layout-units-focusring-width)"},children:[g&&(0,w.jsx)(dx,{...g,collapsed:i}),t&&t.map(({section:O,items:I},B)=>(0,w.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:L.menuGap,flexShrink:0},children:[(0,w.jsx)("div",{style:{opacity:i?0:1,maxHeight:i?0:40,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",flexShrink:0},children:(0,w.jsx)(p$,{label:O})}),B>0&&(0,w.jsx)("div",{style:{opacity:i?1:0,maxHeight:i?5:0,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",padding:"2px 0",flexShrink:0},children:(0,w.jsx)("div",{style:{height:1,backgroundColor:W.fill.infoSubtle}})}),I.map(j)]},O)),!t&&(e||[]).map(j),n&&(0,w.jsx)("div",{...hf(i),style:{opacity:i?0:1,maxHeight:i?0:400,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:(0,w.jsx)(hx,{label:n.label,items:n.items,activeId:r,onNavigate:o})}),d&&(0,w.jsx)("div",{style:{flexShrink:0},children:d}),(0,w.jsx)("div",{style:{flex:1,minHeight:L.menuPadB}})]}),m&&(0,w.jsx)("div",{style:{flexShrink:0,borderTop:`0.5px solid ${W.fill.infoSubtle}`,padding:i?`8px ${L.navColPadH}`:`8px ${L.navPadH}`,transition:"padding var(--motion-duration-6) var(--motion-easing-emphasized)"},children:m})]})}function gx({size:e=12,color:t}){return(0,w.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,w.jsx)("path",{d:"M6 7.475C5.93333 7.475 5.87083 7.46458 5.8125 7.44375C5.75417 7.42292 5.7 7.3875 5.65 7.3375L3.35 5.0375C3.25833 4.94583 3.2125 4.82917 3.2125 4.6875C3.2125 4.54583 3.25833 4.42917 3.35 4.3375C3.44167 4.24583 3.55833 4.2 3.7 4.2C3.84167 4.2 3.95833 4.24583 4.05 4.3375L6 6.2875L7.95 4.3375C8.04167 4.24583 8.15833 4.2 8.3 4.2C8.44167 4.2 8.55833 4.24583 8.65 4.3375C8.74167 4.42917 8.7875 4.54583 8.7875 4.6875C8.7875 4.82917 8.74167 4.94583 8.65 5.0375L6.35 7.3375C6.3 7.3875 6.24583 7.42292 6.1875 7.44375C6.12917 7.46458 6.06667 7.475 6 7.475Z",fill:t})})}function $x({size:e=12,color:t=W.icon.actionSecondary}){return(0,w.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,w.jsx)("path",{d:"M5.66667 7.86667V4.13333C5.66667 3.97778 5.6 3.87222 5.46667 3.81667C5.33333 3.76111 5.21111 3.78889 5.1 3.9L3.46667 5.53333C3.33333 5.66667 3.26667 5.82222 3.26667 6C3.26667 6.17778 3.33333 6.33333 3.46667 6.46667L5.1 8.1C5.21111 8.21111 5.33333 8.23889 5.46667 8.18333C5.6 8.12778 5.66667 8.02222 5.66667 7.86667ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM8.66667 10.6667H10.6667V1.33333H8.66667V10.6667ZM7.33333 10.6667V1.33333H1.33333V10.6667H7.33333Z",fill:t})})}function bx({size:e=12,color:t=W.icon.actionSecondary}){return(0,w.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,w.jsx)("path",{d:"M6.33333 4.13333V7.86667C6.33333 8.02222 6.4 8.12778 6.53333 8.18333C6.66667 8.23889 6.78889 8.21111 6.9 8.1L8.53333 6.46667C8.66667 6.33333 8.73333 6.17778 8.73333 6C8.73333 5.82222 8.66667 5.66667 8.53333 5.53333L6.9 3.9C6.78889 3.78889 6.66667 3.76111 6.53333 3.81667C6.4 3.87222 6.33333 3.97778 6.33333 4.13333ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM3.33333 10.6667V1.33333H1.33333V10.6667H3.33333ZM4.66667 10.6667H10.6667V1.33333H4.66667V10.6667Z",fill:t})})}var yx={collapsed:"collapsed","hide-collapse-button":"hideCollapseButton"},vx=`
|
|
16
192
|
:host { display: block; height: 100%; }
|
|
17
193
|
:host([hidden]) { display: none; }
|
|
18
194
|
|
|
@@ -90,7 +266,7 @@ Error generating stack: `+i.message+`
|
|
|
90
266
|
font-size: var(--semantic-type-font-size-s);
|
|
91
267
|
line-height: var(--semantic-type-line-height-s-single);
|
|
92
268
|
color: var(--semantic-color-foreground-action-secondary-rest);
|
|
93
|
-
}`,
|
|
269
|
+
}`,xx=(e,t)=>{if(e!=null)try{return JSON.parse(e)}catch(n){console.error(`<pathway-sidenav>: the "${t}" attribute is not valid JSON.`,n);return}},Bs=class extends HTMLElement{static get observedAttributes(){return["active-id","collapsed","hide-collapse-button","items","sections","list-section","default-expanded"]}constructor(){super(),this._props={},this._reactRoot=null}set items(t){this._props.items=t,this._render()}get items(){return this._props.items}set sections(t){this._props.sections=t,this._render()}get sections(){return this._props.sections}set listSection(t){this._props.listSection=t,this._render()}get listSection(){return this._props.listSection}set defaultExpanded(t){this._props.defaultExpanded=t,this._render()}get defaultExpanded(){return this._props.defaultExpanded}set activeId(t){this._props.activeId=t,this._render()}get activeId(){return"activeId"in this._props?this._props.activeId:this.getAttribute("active-id")??void 0}set collapsed(t){this._props.collapsed=!!t,this._render()}get collapsed(){if("collapsed"in this._props)return!!this._props.collapsed;let t=this.getAttribute("collapsed");return t!==null&&t!=="false"&&t!=="0"}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),n=document.createElement("style");n.textContent=vx+ld,t.appendChild(n),this._mount=document.createElement("div"),this._mount.className="pathway-sidenav-root",this._mount.style.height="100%",t.appendChild(this._mount),this._reactRoot=(0,h$.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};this.hasAttribute("active-id")&&(t.activeId=this.getAttribute("active-id"));for(let[n,r]of Object.entries(yx))if(this.hasAttribute(n)){let o=this.getAttribute(n);t[r]=o!=="false"&&o!=="0"}for(let n of["items","sections","list-section","default-expanded"]){if(!this.hasAttribute(n))continue;let r=n.replace(/-([a-z])/g,(i,a)=>a.toUpperCase()),o=xx(this.getAttribute(n),n);o!==void 0&&(t[r]=o)}return t}_emit(t,n){this.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0}))}_readSlots(){let t=r=>r===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${r}"]`),n={};return t("header")&&(n.headerEnd=Ca.default.createElement("slot",{name:"header"})),t("footer")&&(n.footer=Ca.default.createElement("slot",{name:"footer"})),t(null)&&(n.children=Ca.default.createElement("slot",null)),n}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};this._reactRoot.render(Ca.default.createElement(m$,{...t,onNavigate:n=>{this._emit("pathway-navigate",{id:n}),typeof this.onnavigate=="function"&&this.onnavigate({id:n})},onCollapseChange:n=>{n?this.setAttribute("collapsed",""):this.removeAttribute("collapsed"),this._emit("pathway-collapse-change",{collapsed:!!n})}}))}};customElements.get("pathway-sidenav")||customElements.define("pathway-sidenav",Bs);var C6=Bs;export{Bs as PathwaySideNav,C6 as default};
|
|
94
270
|
/*! Bundled license information:
|
|
95
271
|
|
|
96
272
|
react/cjs/react.production.min.js:
|
|
@@ -136,4 +312,15 @@ react/cjs/react-jsx-runtime.production.min.js:
|
|
|
136
312
|
* This source code is licensed under the MIT license found in the
|
|
137
313
|
* LICENSE file in the root directory of this source tree.
|
|
138
314
|
*)
|
|
315
|
+
|
|
316
|
+
use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
|
|
317
|
+
(**
|
|
318
|
+
* @license React
|
|
319
|
+
* use-sync-external-store-shim.production.js
|
|
320
|
+
*
|
|
321
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
322
|
+
*
|
|
323
|
+
* This source code is licensed under the MIT license found in the
|
|
324
|
+
* LICENSE file in the root directory of this source tree.
|
|
325
|
+
*)
|
|
139
326
|
*/
|