0byt3m1n1
Path:
C:
/
Program Files
/
RStudio
/
resources
/
app
/
bin
/
quarto
/
share
/
preview
/
[
Home
]
File: quarto-preview.js
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".ansi-display{font-family:monospace;white-space:pre-wrap;--ansiBlack: #000000;--ansiRed: #cd3131;--ansiGreen: #00BC00;--ansiYellow: #949800;--ansiBlue: #0451a5;--ansiMagenta: #bc05bc;--ansiCyan: #0598bc;--ansiWhite: #555555;--ansiBrightBlack: #666666;--ansiBrightRed: #cd3131;--ansiBrightGreen: #14CE14;--ansiBrightYellow: #b5ba00;--ansiBrightBlue: #0451a5;--ansiBrightMagenta: #bc05bc;--ansiBrightCyan: #0598bc;--ansiBrightWhite: #a5a5a5}.dark-mode .ansi-display{--ansiBlack: #000000;--ansiRed: #cd3131;--ansiGreen: #0DBC79;--ansiYellow: #e5e510;--ansiBlue: #2472c8;--ansiMagenta: #bc3fbc;--ansiCyan: #11a8cd;--ansiWhite: #e5e5e5;--ansiBrightBlack: #666666;--ansiBrightRed: #f14c4c;--ansiBrightGreen: #23d18b;--ansiBrightYellow: #f5f543;--ansiBrightBlue: #3b8eea;--ansiBrightMagenta: #d670d6;--ansiBrightCyan: #29b8db;--ansiBrightWhite: #e5e5e5}@keyframes ansi-displaly-run-blink{50%{opacity:0}}.fui-FluentProvider h2{border-bottom:none;padding-bottom:0}")),document.head.appendChild(a)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})(); (function(it,He){typeof exports=="object"&&typeof module<"u"?He(exports):typeof define=="function"&&define.amd?define(["exports"],He):(it=typeof globalThis<"u"?globalThis:it||self,He(it.QuartoPreview={}))})(this,function(it){"use strict";var o3=Object.defineProperty;var i3=(it,He,Rr)=>He in it?o3(it,He,{enumerable:!0,configurable:!0,writable:!0,value:Rr}):it[He]=Rr;var ge=(it,He,Rr)=>(i3(it,typeof He!="symbol"?He+"":He,Rr),Rr);function He(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(n,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Rr(e){const t=window.location.protocol==="https:"?"wss:":"ws:";let r=window.location.pathname;/\/$/.test(r)||(r+="/");let n=!0;addEventListener("beforeunload",()=>{n=!1});const o=new WebSocket(t+"//"+window.location.host+r);o.onopen=()=>{console.log("Socket connection open. Listening for events."),m0(o,()=>n)};const i=()=>{n=!1,o.send("stop")},l=e.map(a=>a(i));return o.onmessage=a=>{for(const s of l)if(s(a))break},()=>{try{o.close()}catch(a){console.error(a)}}}function m0(e,t){e.onclose=()=>{t()&&(console.log("Socket connection closed. Reloading."),window.location.reload())}}function y0(){return()=>{const e=t=>t.replace(/\/index\.html/,"/");return t=>{if(t.data.startsWith("reload")){let r=e(t.data.replace(/^reload/,""));if(r){const n=window.location.pathname.match(/^.*?\/p\/\w+\//)||window.location.pathname.match(/^.*?\/user\/[\w\d]+\/proxy\/\d+\//);n&&(r=n+r.slice(1))}return r&&r!==e(window.location.pathname)?window.location.replace(r):window.location.reload(),!0}else return!1}}}function Nc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var S={exports:{}},W={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Vn=Symbol.for("react.element"),k0=Symbol.for("react.portal"),b0=Symbol.for("react.fragment"),w0=Symbol.for("react.strict_mode"),B0=Symbol.for("react.profiler"),_0=Symbol.for("react.provider"),S0=Symbol.for("react.context"),x0=Symbol.for("react.forward_ref"),F0=Symbol.for("react.suspense"),E0=Symbol.for("react.memo"),C0=Symbol.for("react.lazy"),Tc=Symbol.iterator;function P0(e){return e===null||typeof e!="object"?null:(e=Tc&&e[Tc]||e["@@iterator"],typeof e=="function"?e:null)}var Dc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oc=Object.assign,Rc={};function ln(e,t,r){this.props=e,this.context=t,this.refs=Rc,this.updater=r||Dc}ln.prototype.isReactComponent={},ln.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")},ln.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ac(){}Ac.prototype=ln.prototype;function rs(e,t,r){this.props=e,this.context=t,this.refs=Rc,this.updater=r||Dc}var ns=rs.prototype=new Ac;ns.constructor=rs,Oc(ns,ln.prototype),ns.isPureReactComponent=!0;var Lc=Array.isArray,zc=Object.prototype.hasOwnProperty,os={current:null},Ic={key:!0,ref:!0,__self:!0,__source:!0};function Mc(e,t,r){var n,o={},i=null,l=null;if(t!=null)for(n in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)zc.call(t,n)&&!Ic.hasOwnProperty(n)&&(o[n]=t[n]);var a=arguments.length-2;if(a===1)o.children=r;else if(1<a){for(var s=Array(a),c=0;c<a;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(n in a=e.defaultProps,a)o[n]===void 0&&(o[n]=a[n]);return{$$typeof:Vn,type:e,key:i,ref:l,props:o,_owner:os.current}}function N0(e,t){return{$$typeof:Vn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function is(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vn}function T0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var jc=/\/+/g;function ls(e,t){return typeof e=="object"&&e!==null&&e.key!=null?T0(""+e.key):t.toString(36)}function ai(e,t,r,n,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 k0:l=!0}}if(l)return l=e,o=o(l),e=n===""?"."+ls(l,0):n,Lc(o)?(r="",e!=null&&(r=e.replace(jc,"$&/")+"/"),ai(o,t,r,"",function(c){return c})):o!=null&&(is(o)&&(o=N0(o,r+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(jc,"$&/")+"/")+e)),t.push(o)),1;if(l=0,n=n===""?".":n+":",Lc(e))for(var a=0;a<e.length;a++){i=e[a];var s=n+ls(i,a);l+=ai(i,t,r,s,o)}else if(s=P0(e),typeof s=="function")for(e=s.call(e),a=0;!(i=e.next()).done;)i=i.value,s=n+ls(i,a++),l+=ai(i,t,r,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 l}function ui(e,t,r){if(e==null)return e;var n=[],o=0;return ai(e,n,"","",function(i){return t.call(r,i,o++)}),n}function D0(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Oe={current:null},ci={transition:null},O0={ReactCurrentDispatcher:Oe,ReactCurrentBatchConfig:ci,ReactCurrentOwner:os};function Hc(){throw Error("act(...) is not supported in production builds of React.")}W.Children={map:ui,forEach:function(e,t,r){ui(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ui(e,function(){t++}),t},toArray:function(e){return ui(e,function(t){return t})||[]},only:function(e){if(!is(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},W.Component=ln,W.Fragment=b0,W.Profiler=B0,W.PureComponent=rs,W.StrictMode=w0,W.Suspense=F0,W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O0,W.act=Hc,W.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=Oc({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=os.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(s in t)zc.call(t,s)&&!Ic.hasOwnProperty(s)&&(n[s]=t[s]===void 0&&a!==void 0?a[s]:t[s])}var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){a=Array(s);for(var c=0;c<s;c++)a[c]=arguments[c+2];n.children=a}return{$$typeof:Vn,type:e.type,key:o,ref:i,props:n,_owner:l}},W.createContext=function(e){return e={$$typeof:S0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:_0,_context:e},e.Consumer=e},W.createElement=Mc,W.createFactory=function(e){var t=Mc.bind(null,e);return t.type=e,t},W.createRef=function(){return{current:null}},W.forwardRef=function(e){return{$$typeof:x0,render:e}},W.isValidElement=is,W.lazy=function(e){return{$$typeof:C0,_payload:{_status:-1,_result:e},_init:D0}},W.memo=function(e,t){return{$$typeof:E0,type:e,compare:t===void 0?null:t}},W.startTransition=function(e){var t=ci.transition;ci.transition={};try{e()}finally{ci.transition=t}},W.unstable_act=Hc,W.useCallback=function(e,t){return Oe.current.useCallback(e,t)},W.useContext=function(e){return Oe.current.useContext(e)},W.useDebugValue=function(){},W.useDeferredValue=function(e){return Oe.current.useDeferredValue(e)},W.useEffect=function(e,t){return Oe.current.useEffect(e,t)},W.useId=function(){return Oe.current.useId()},W.useImperativeHandle=function(e,t,r){return Oe.current.useImperativeHandle(e,t,r)},W.useInsertionEffect=function(e,t){return Oe.current.useInsertionEffect(e,t)},W.useLayoutEffect=function(e,t){return Oe.current.useLayoutEffect(e,t)},W.useMemo=function(e,t){return Oe.current.useMemo(e,t)},W.useReducer=function(e,t,r){return Oe.current.useReducer(e,t,r)},W.useRef=function(e){return Oe.current.useRef(e)},W.useState=function(e){return Oe.current.useState(e)},W.useSyncExternalStore=function(e,t,r){return Oe.current.useSyncExternalStore(e,t,r)},W.useTransition=function(){return Oe.current.useTransition()},W.version="18.3.1",function(e){e.exports=W}(S);const J=Nc(S.exports),sn=He({__proto__:null,default:J},[S.exports]);var ss={exports:{}},Xe={},Wc={exports:{}},$c={};/** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(e){function t(x,T){var D=x.length;x.push(T);e:for(;0<D;){var j=D-1>>>1,$=x[j];if(0<o($,T))x[j]=T,x[D]=$,D=j;else break e}}function r(x){return x.length===0?null:x[0]}function n(x){if(x.length===0)return null;var T=x[0],D=x.pop();if(D!==T){x[0]=D;e:for(var j=0,$=x.length,or=$>>>1;j<or;){var Me=2*(j+1)-1,on=x[Me],je=Me+1,ir=x[je];if(0>o(on,D))je<$&&0>o(ir,on)?(x[j]=ir,x[je]=D,j=je):(x[j]=on,x[Me]=D,j=Me);else if(je<$&&0>o(ir,D))x[j]=ir,x[je]=D,j=je;else break e}}return T}function o(x,T){var D=x.sortIndex-T.sortIndex;return D!==0?D:x.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],c=[],d=1,f=null,g=3,m=!1,v=!1,k=!1,B=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function u(x){for(var T=r(c);T!==null;){if(T.callback===null)n(c);else if(T.startTime<=x)n(c),T.sortIndex=T.expirationTime,t(s,T);else break;T=r(c)}}function p(x){if(k=!1,u(x),!v)if(r(s)!==null)v=!0,ne(b);else{var T=r(c);T!==null&&de(p,T.startTime-x)}}function b(x,T){v=!1,k&&(k=!1,y(F),F=-1),m=!0;var D=g;try{for(u(T),f=r(s);f!==null&&(!(f.expirationTime>T)||x&&!L());){var j=f.callback;if(typeof j=="function"){f.callback=null,g=f.priorityLevel;var $=j(f.expirationTime<=T);T=e.unstable_now(),typeof $=="function"?f.callback=$:f===r(s)&&n(s),u(T)}else n(s);f=r(s)}if(f!==null)var or=!0;else{var Me=r(c);Me!==null&&de(p,Me.startTime-T),or=!1}return or}finally{f=null,g=D,m=!1}}var w=!1,_=null,F=-1,O=5,C=-1;function L(){return!(e.unstable_now()-C<O)}function I(){if(_!==null){var x=e.unstable_now();C=x;var T=!0;try{T=_(!0,x)}finally{T?K():(w=!1,_=null)}}else w=!1}var K;if(typeof h=="function")K=function(){h(I)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,H=z.port2;z.port1.onmessage=I,K=function(){H.postMessage(null)}}else K=function(){B(I,0)};function ne(x){_=x,w||(w=!0,K())}function de(x,T){F=B(function(){x(e.unstable_now())},T)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(x){x.callback=null},e.unstable_continueExecution=function(){v||m||(v=!0,ne(b))},e.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<x?Math.floor(1e3/x):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return r(s)},e.unstable_next=function(x){switch(g){case 1:case 2:case 3:var T=3;break;default:T=g}var D=g;g=T;try{return x()}finally{g=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(x,T){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var D=g;g=x;try{return T()}finally{g=D}},e.unstable_scheduleCallback=function(x,T,D){var j=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?j+D:j):D=j,x){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=D+$,x={id:d++,callback:T,priorityLevel:x,startTime:D,expirationTime:$,sortIndex:-1},D>j?(x.sortIndex=D,t(c,x),r(s)===null&&x===r(c)&&(k?(y(F),F=-1):k=!0,de(p,D-j))):(x.sortIndex=$,t(s,x),v||m||(v=!0,ne(b))),x},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(x){var T=g;return function(){var D=g;g=T;try{return x.apply(this,arguments)}finally{g=D}}}})($c),function(e){e.exports=$c}(Wc);/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var R0=S.exports,Qe=Wc.exports;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 Uc=new Set,Kn={};function Ar(e,t){an(e,t),an(e+"Capture",t)}function an(e,t){for(Kn[e]=t,e=0;e<t.length;e++)Uc.add(t[e])}var Ut=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),as=Object.prototype.hasOwnProperty,A0=/^[: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]*$/,qc={},Vc={};function L0(e){return as.call(Vc,e)?!0:as.call(qc,e)?!1:A0.test(e)?Vc[e]=!0:(qc[e]=!0,!1)}function z0(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function I0(e,t,r,n){if(t===null||typeof t>"u"||z0(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 Re(e,t,r,n,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var we={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){we[e]=new Re(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];we[t]=new Re(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){we[e]=new Re(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){we[e]=new Re(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){we[e]=new Re(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){we[e]=new Re(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){we[e]=new Re(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){we[e]=new Re(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){we[e]=new Re(e,5,!1,e.toLowerCase(),null,!1,!1)});var us=/[\-:]([a-z])/g;function cs(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(us,cs);we[t]=new Re(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(us,cs);we[t]=new Re(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(us,cs);we[t]=new Re(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){we[e]=new Re(e,1,!1,e.toLowerCase(),null,!1,!1)}),we.xlinkHref=new Re("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){we[e]=new Re(e,1,!1,e.toLowerCase(),null,!0,!0)});function ds(e,t,r,n){var o=we.hasOwnProperty(t)?we[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(I0(t,r,o,n)&&(r=null),n||o===null?L0(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var qt=R0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,di=Symbol.for("react.element"),un=Symbol.for("react.portal"),cn=Symbol.for("react.fragment"),fs=Symbol.for("react.strict_mode"),gs=Symbol.for("react.profiler"),Kc=Symbol.for("react.provider"),Yc=Symbol.for("react.context"),ps=Symbol.for("react.forward_ref"),hs=Symbol.for("react.suspense"),vs=Symbol.for("react.suspense_list"),ms=Symbol.for("react.memo"),lr=Symbol.for("react.lazy"),Xc=Symbol.for("react.offscreen"),Qc=Symbol.iterator;function Yn(e){return e===null||typeof e!="object"?null:(e=Qc&&e[Qc]||e["@@iterator"],typeof e=="function"?e:null)}var ie=Object.assign,ys;function Xn(e){if(ys===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);ys=t&&t[1]||""}return` `+ys+e}var ks=!1;function bs(e,t){if(!e||ks)return"";ks=!0;var r=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(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var o=c.stack.split(` `),i=n.stack.split(` `),l=o.length-1,a=i.length-1;1<=l&&0<=a&&o[l]!==i[a];)a--;for(;1<=l&&0<=a;l--,a--)if(o[l]!==i[a]){if(l!==1||a!==1)do if(l--,a--,0>a||o[l]!==i[a]){var s=` `+o[l].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{ks=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Xn(e):""}function M0(e){switch(e.tag){case 5:return Xn(e.type);case 16:return Xn("Lazy");case 13:return Xn("Suspense");case 19:return Xn("SuspenseList");case 0:case 2:case 15:return e=bs(e.type,!1),e;case 11:return e=bs(e.type.render,!1),e;case 1:return e=bs(e.type,!0),e;default:return""}}function ws(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 cn:return"Fragment";case un:return"Portal";case gs:return"Profiler";case fs:return"StrictMode";case hs:return"Suspense";case vs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Yc:return(e.displayName||"Context")+".Consumer";case Kc:return(e._context.displayName||"Context")+".Provider";case ps:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ms:return t=e.displayName||null,t!==null?t:ws(e.type)||"Memo";case lr:t=e._payload,e=e._init;try{return ws(e(t))}catch{}}return null}function j0(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 ws(t);case 8:return t===fs?"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 sr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Jc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function H0(e){var t=Jc(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){n=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fi(e){e._valueTracker||(e._valueTracker=H0(e))}function Zc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Jc(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function gi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Bs(e,t){var r=t.checked;return ie({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function Gc(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=sr(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ed(e,t){t=t.checked,t!=null&&ds(e,"checked",t,!1)}function _s(e,t){ed(e,t);var r=sr(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ss(e,t.type,r):t.hasOwnProperty("defaultValue")&&Ss(e,t.type,sr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function td(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Ss(e,t,r){(t!=="number"||gi(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Qn=Array.isArray;function dn(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+sr(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function xs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(N(91));return ie({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function rd(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(N(92));if(Qn(r)){if(1<r.length)throw Error(N(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:sr(r)}}function nd(e,t){var r=sr(t.value),n=sr(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function od(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function id(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 Fs(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?id(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var pi,ld=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(pi=pi||document.createElement("div"),pi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=pi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Jn(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Zn={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},W0=["Webkit","ms","Moz","O"];Object.keys(Zn).forEach(function(e){W0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zn[t]=Zn[e]})});function sd(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Zn.hasOwnProperty(e)&&Zn[e]?(""+t).trim():t+"px"}function ad(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=sd(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var $0=ie({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Es(e,t){if(t){if($0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function Cs(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 Ps=null;function Ns(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ts=null,fn=null,gn=null;function ud(e){if(e=wo(e)){if(typeof Ts!="function")throw Error(N(280));var t=e.stateNode;t&&(t=zi(t),Ts(e.stateNode,e.type,t))}}function cd(e){fn?gn?gn.push(e):gn=[e]:fn=e}function dd(){if(fn){var e=fn,t=gn;if(gn=fn=null,ud(e),t)for(e=0;e<t.length;e++)ud(t[e])}}function fd(e,t){return e(t)}function gd(){}var Ds=!1;function pd(e,t,r){if(Ds)return e(t,r);Ds=!0;try{return fd(e,t,r)}finally{Ds=!1,(fn!==null||gn!==null)&&(gd(),dd())}}function Gn(e,t){var r=e.stateNode;if(r===null)return null;var n=zi(r);if(n===null)return null;r=n[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":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(N(231,t,typeof r));return r}var Os=!1;if(Ut)try{var eo={};Object.defineProperty(eo,"passive",{get:function(){Os=!0}}),window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch{Os=!1}function U0(e,t,r,n,o,i,l,a,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(d){this.onError(d)}}var to=!1,hi=null,vi=!1,Rs=null,q0={onError:function(e){to=!0,hi=e}};function V0(e,t,r,n,o,i,l,a,s){to=!1,hi=null,U0.apply(q0,arguments)}function K0(e,t,r,n,o,i,l,a,s){if(V0.apply(this,arguments),to){if(to){var c=hi;to=!1,hi=null}else throw Error(N(198));vi||(vi=!0,Rs=c)}}function Lr(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function hd(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 vd(e){if(Lr(e)!==e)throw Error(N(188))}function Y0(e){var t=e.alternate;if(!t){if(t=Lr(e),t===null)throw Error(N(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var i=o.alternate;if(i===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return vd(o),e;if(i===n)return vd(o),t;i=i.sibling}throw Error(N(188))}if(r.return!==n.return)r=o,n=i;else{for(var l=!1,a=o.child;a;){if(a===r){l=!0,r=o,n=i;break}if(a===n){l=!0,n=o,r=i;break}a=a.sibling}if(!l){for(a=i.child;a;){if(a===r){l=!0,r=i,n=o;break}if(a===n){l=!0,n=i,r=o;break}a=a.sibling}if(!l)throw Error(N(189))}}if(r.alternate!==n)throw Error(N(190))}if(r.tag!==3)throw Error(N(188));return r.stateNode.current===r?e:t}function md(e){return e=Y0(e),e!==null?yd(e):null}function yd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=yd(e);if(t!==null)return t;e=e.sibling}return null}var kd=Qe.unstable_scheduleCallback,bd=Qe.unstable_cancelCallback,X0=Qe.unstable_shouldYield,Q0=Qe.unstable_requestPaint,fe=Qe.unstable_now,J0=Qe.unstable_getCurrentPriorityLevel,As=Qe.unstable_ImmediatePriority,wd=Qe.unstable_UserBlockingPriority,mi=Qe.unstable_NormalPriority,Z0=Qe.unstable_LowPriority,Bd=Qe.unstable_IdlePriority,yi=null,Ot=null;function G0(e){if(Ot&&typeof Ot.onCommitFiberRoot=="function")try{Ot.onCommitFiberRoot(yi,e,void 0,(e.current.flags&128)===128)}catch{}}var ht=Math.clz32?Math.clz32:rm,em=Math.log,tm=Math.LN2;function rm(e){return e>>>=0,e===0?32:31-(em(e)/tm|0)|0}var ki=64,bi=4194304;function ro(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 wi(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,l=r&268435455;if(l!==0){var a=l&~o;a!==0?n=ro(a):(i&=l,i!==0&&(n=ro(i)))}else l=r&~o,l!==0?n=ro(l):i!==0&&(n=ro(i));if(n===0)return 0;if(t!==0&&t!==n&&(t&o)===0&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((n&4)!==0&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-ht(t),o=1<<r,n|=e[r],t&=~o;return n}function nm(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 om(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-ht(i),a=1<<l,s=o[l];s===-1?((a&r)===0||(a&n)!==0)&&(o[l]=nm(a,t)):s<=t&&(e.expiredLanes|=a),i&=~a}}function Ls(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function _d(){var e=ki;return ki<<=1,(ki&4194240)===0&&(ki=64),e}function zs(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function no(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ht(t),e[t]=r}function im(e,t){var r=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 n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-ht(r),i=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~i}}function Is(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-ht(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var Y=0;function Sd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var xd,Ms,Fd,Ed,Cd,js=!1,Bi=[],ar=null,ur=null,cr=null,oo=new Map,io=new Map,dr=[],lm="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 Pd(e,t){switch(e){case"focusin":case"focusout":ar=null;break;case"dragenter":case"dragleave":ur=null;break;case"mouseover":case"mouseout":cr=null;break;case"pointerover":case"pointerout":oo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":io.delete(t.pointerId)}}function lo(e,t,r,n,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[o]},t!==null&&(t=wo(t),t!==null&&Ms(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function sm(e,t,r,n,o){switch(t){case"focusin":return ar=lo(ar,e,t,r,n,o),!0;case"dragenter":return ur=lo(ur,e,t,r,n,o),!0;case"mouseover":return cr=lo(cr,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return oo.set(i,lo(oo.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,io.set(i,lo(io.get(i)||null,e,t,r,n,o)),!0}return!1}function Nd(e){var t=zr(e.target);if(t!==null){var r=Lr(t);if(r!==null){if(t=r.tag,t===13){if(t=hd(r),t!==null){e.blockedOn=t,Cd(e.priority,function(){Fd(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function _i(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Ws(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);Ps=n,r.target.dispatchEvent(n),Ps=null}else return t=wo(r),t!==null&&Ms(t),e.blockedOn=r,!1;t.shift()}return!0}function Td(e,t,r){_i(e)&&r.delete(t)}function am(){js=!1,ar!==null&&_i(ar)&&(ar=null),ur!==null&&_i(ur)&&(ur=null),cr!==null&&_i(cr)&&(cr=null),oo.forEach(Td),io.forEach(Td)}function so(e,t){e.blockedOn===t&&(e.blockedOn=null,js||(js=!0,Qe.unstable_scheduleCallback(Qe.unstable_NormalPriority,am)))}function ao(e){function t(o){return so(o,e)}if(0<Bi.length){so(Bi[0],e);for(var r=1;r<Bi.length;r++){var n=Bi[r];n.blockedOn===e&&(n.blockedOn=null)}}for(ar!==null&&so(ar,e),ur!==null&&so(ur,e),cr!==null&&so(cr,e),oo.forEach(t),io.forEach(t),r=0;r<dr.length;r++)n=dr[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<dr.length&&(r=dr[0],r.blockedOn===null);)Nd(r),r.blockedOn===null&&dr.shift()}var pn=qt.ReactCurrentBatchConfig,Si=!0;function um(e,t,r,n){var o=Y,i=pn.transition;pn.transition=null;try{Y=1,Hs(e,t,r,n)}finally{Y=o,pn.transition=i}}function cm(e,t,r,n){var o=Y,i=pn.transition;pn.transition=null;try{Y=4,Hs(e,t,r,n)}finally{Y=o,pn.transition=i}}function Hs(e,t,r,n){if(Si){var o=Ws(e,t,r,n);if(o===null)ia(e,t,n,xi,r),Pd(e,n);else if(sm(o,e,t,r,n))n.stopPropagation();else if(Pd(e,n),t&4&&-1<lm.indexOf(e)){for(;o!==null;){var i=wo(o);if(i!==null&&xd(i),i=Ws(e,t,r,n),i===null&&ia(e,t,n,xi,r),i===o)break;o=i}o!==null&&n.stopPropagation()}else ia(e,t,n,null,r)}}var xi=null;function Ws(e,t,r,n){if(xi=null,e=Ns(n),e=zr(e),e!==null)if(t=Lr(e),t===null)e=null;else if(r=t.tag,r===13){if(e=hd(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return xi=e,null}function Dd(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(J0()){case As:return 1;case wd:return 4;case mi:case Z0:return 16;case Bd:return 536870912;default:return 16}default:return 16}}var fr=null,$s=null,Fi=null;function Od(){if(Fi)return Fi;var e,t=$s,r=t.length,n,o="value"in fr?fr.value:fr.textContent,i=o.length;for(e=0;e<r&&t[e]===o[e];e++);var l=r-e;for(n=1;n<=l&&t[r-n]===o[i-n];n++);return Fi=o.slice(e,1<n?1-n:void 0)}function Ei(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ci(){return!0}function Rd(){return!1}function Je(e){function t(r,n,o,i,l){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(r=e[a],this[a]=r?r(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ci:Rd,this.isPropagationStopped=Rd,this}return ie(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Ci)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Ci)},persist:function(){},isPersistent:Ci}),t}var hn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Us=Je(hn),uo=ie({},hn,{view:0,detail:0}),dm=Je(uo),qs,Vs,co,Pi=ie({},uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ys,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!==co&&(co&&e.type==="mousemove"?(qs=e.screenX-co.screenX,Vs=e.screenY-co.screenY):Vs=qs=0,co=e),qs)},movementY:function(e){return"movementY"in e?e.movementY:Vs}}),Ad=Je(Pi),fm=ie({},Pi,{dataTransfer:0}),gm=Je(fm),pm=ie({},uo,{relatedTarget:0}),Ks=Je(pm),hm=ie({},hn,{animationName:0,elapsedTime:0,pseudoElement:0}),vm=Je(hm),mm=ie({},hn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ym=Je(mm),km=ie({},hn,{data:0}),Ld=Je(km),bm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wm={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"},Bm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _m(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Bm[e])?!!t[e]:!1}function Ys(){return _m}var Sm=ie({},uo,{key:function(e){if(e.key){var t=bm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ei(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ys,charCode:function(e){return e.type==="keypress"?Ei(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ei(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xm=Je(Sm),Fm=ie({},Pi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zd=Je(Fm),Em=ie({},uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ys}),Cm=Je(Em),Pm=ie({},hn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nm=Je(Pm),Tm=ie({},Pi,{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}),Dm=Je(Tm),Om=[9,13,27,32],Xs=Ut&&"CompositionEvent"in window,fo=null;Ut&&"documentMode"in document&&(fo=document.documentMode);var Rm=Ut&&"TextEvent"in window&&!fo,Id=Ut&&(!Xs||fo&&8<fo&&11>=fo),Md=String.fromCharCode(32),jd=!1;function Hd(e,t){switch(e){case"keyup":return Om.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vn=!1;function Am(e,t){switch(e){case"compositionend":return Wd(t);case"keypress":return t.which!==32?null:(jd=!0,Md);case"textInput":return e=t.data,e===Md&&jd?null:e;default:return null}}function Lm(e,t){if(vn)return e==="compositionend"||!Xs&&Hd(e,t)?(e=Od(),Fi=$s=fr=null,vn=!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 Id&&t.locale!=="ko"?null:t.data;default:return null}}var zm={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 $d(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!zm[e.type]:t==="textarea"}function Ud(e,t,r,n){cd(n),t=Ri(t,"onChange"),0<t.length&&(r=new Us("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var go=null,po=null;function Im(e){uf(e,0)}function Ni(e){var t=wn(e);if(Zc(t))return e}function Mm(e,t){if(e==="change")return t}var qd=!1;if(Ut){var Qs;if(Ut){var Js="oninput"in document;if(!Js){var Vd=document.createElement("div");Vd.setAttribute("oninput","return;"),Js=typeof Vd.oninput=="function"}Qs=Js}else Qs=!1;qd=Qs&&(!document.documentMode||9<document.documentMode)}function Kd(){go&&(go.detachEvent("onpropertychange",Yd),po=go=null)}function Yd(e){if(e.propertyName==="value"&&Ni(po)){var t=[];Ud(t,po,e,Ns(e)),pd(Im,t)}}function jm(e,t,r){e==="focusin"?(Kd(),go=t,po=r,go.attachEvent("onpropertychange",Yd)):e==="focusout"&&Kd()}function Hm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ni(po)}function Wm(e,t){if(e==="click")return Ni(t)}function $m(e,t){if(e==="input"||e==="change")return Ni(t)}function Um(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vt=typeof Object.is=="function"?Object.is:Um;function ho(e,t){if(vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!as.call(t,o)||!vt(e[o],t[o]))return!1}return!0}function Xd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qd(e,t){var r=Xd(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Xd(r)}}function Jd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Zd(){for(var e=window,t=gi();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=gi(e.document)}return t}function Zs(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 qm(e){var t=Zd(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Jd(r.ownerDocument.documentElement,r)){if(n!==null&&Zs(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=Qd(r,i);var l=Qd(r,n);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>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Vm=Ut&&"documentMode"in document&&11>=document.documentMode,mn=null,Gs=null,vo=null,ea=!1;function Gd(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;ea||mn==null||mn!==gi(n)||(n=mn,"selectionStart"in n&&Zs(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),vo&&ho(vo,n)||(vo=n,n=Ri(Gs,"onSelect"),0<n.length&&(t=new Us("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=mn)))}function Ti(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var yn={animationend:Ti("Animation","AnimationEnd"),animationiteration:Ti("Animation","AnimationIteration"),animationstart:Ti("Animation","AnimationStart"),transitionend:Ti("Transition","TransitionEnd")},ta={},ef={};Ut&&(ef=document.createElement("div").style,"AnimationEvent"in window||(delete yn.animationend.animation,delete yn.animationiteration.animation,delete yn.animationstart.animation),"TransitionEvent"in window||delete yn.transitionend.transition);function Di(e){if(ta[e])return ta[e];if(!yn[e])return e;var t=yn[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in ef)return ta[e]=t[r];return e}var tf=Di("animationend"),rf=Di("animationiteration"),nf=Di("animationstart"),of=Di("transitionend"),lf=new Map,sf="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 gr(e,t){lf.set(e,t),Ar(t,[e])}for(var ra=0;ra<sf.length;ra++){var na=sf[ra],Km=na.toLowerCase(),Ym=na[0].toUpperCase()+na.slice(1);gr(Km,"on"+Ym)}gr(tf,"onAnimationEnd"),gr(rf,"onAnimationIteration"),gr(nf,"onAnimationStart"),gr("dblclick","onDoubleClick"),gr("focusin","onFocus"),gr("focusout","onBlur"),gr(of,"onTransitionEnd"),an("onMouseEnter",["mouseout","mouseover"]),an("onMouseLeave",["mouseout","mouseover"]),an("onPointerEnter",["pointerout","pointerover"]),an("onPointerLeave",["pointerout","pointerover"]),Ar("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ar("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ar("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ar("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ar("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ar("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mo="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(" "),Xm=new Set("cancel close invalid load scroll toggle".split(" ").concat(mo));function af(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,K0(n,t,void 0,e),e.currentTarget=null}function uf(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var l=n.length-1;0<=l;l--){var a=n[l],s=a.instance,c=a.currentTarget;if(a=a.listener,s!==i&&o.isPropagationStopped())break e;af(o,a,c),i=s}else for(l=0;l<n.length;l++){if(a=n[l],s=a.instance,c=a.currentTarget,a=a.listener,s!==i&&o.isPropagationStopped())break e;af(o,a,c),i=s}}}if(vi)throw e=Rs,vi=!1,Rs=null,e}function te(e,t){var r=t[da];r===void 0&&(r=t[da]=new Set);var n=e+"__bubble";r.has(n)||(cf(t,e,2,!1),r.add(n))}function oa(e,t,r){var n=0;t&&(n|=4),cf(r,e,n,t)}var Oi="_reactListening"+Math.random().toString(36).slice(2);function yo(e){if(!e[Oi]){e[Oi]=!0,Uc.forEach(function(r){r!=="selectionchange"&&(Xm.has(r)||oa(r,!1,e),oa(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Oi]||(t[Oi]=!0,oa("selectionchange",!1,t))}}function cf(e,t,r,n){switch(Dd(t)){case 1:var o=um;break;case 4:o=cm;break;default:o=Hs}r=o.bind(null,t,r,e),o=void 0,!Os||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function ia(e,t,r,n,o){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var l=n.tag;if(l===3||l===4){var a=n.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(l===4)for(l=n.return;l!==null;){var s=l.tag;if((s===3||s===4)&&(s=l.stateNode.containerInfo,s===o||s.nodeType===8&&s.parentNode===o))return;l=l.return}for(;a!==null;){if(l=zr(a),l===null)return;if(s=l.tag,s===5||s===6){n=i=l;continue e}a=a.parentNode}}n=n.return}pd(function(){var c=i,d=Ns(r),f=[];e:{var g=lf.get(e);if(g!==void 0){var m=Us,v=e;switch(e){case"keypress":if(Ei(r)===0)break e;case"keydown":case"keyup":m=xm;break;case"focusin":v="focus",m=Ks;break;case"focusout":v="blur",m=Ks;break;case"beforeblur":case"afterblur":m=Ks;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=Ad;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=gm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=Cm;break;case tf:case rf:case nf:m=vm;break;case of:m=Nm;break;case"scroll":m=dm;break;case"wheel":m=Dm;break;case"copy":case"cut":case"paste":m=ym;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=zd}var k=(t&4)!==0,B=!k&&e==="scroll",y=k?g!==null?g+"Capture":null:g;k=[];for(var h=c,u;h!==null;){u=h;var p=u.stateNode;if(u.tag===5&&p!==null&&(u=p,y!==null&&(p=Gn(h,y),p!=null&&k.push(ko(h,p,u)))),B)break;h=h.return}0<k.length&&(g=new m(g,v,null,r,d),f.push({event:g,listeners:k}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",g&&r!==Ps&&(v=r.relatedTarget||r.fromElement)&&(zr(v)||v[Vt]))break e;if((m||g)&&(g=d.window===d?d:(g=d.ownerDocument)?g.defaultView||g.parentWindow:window,m?(v=r.relatedTarget||r.toElement,m=c,v=v?zr(v):null,v!==null&&(B=Lr(v),v!==B||v.tag!==5&&v.tag!==6)&&(v=null)):(m=null,v=c),m!==v)){if(k=Ad,p="onMouseLeave",y="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(k=zd,p="onPointerLeave",y="onPointerEnter",h="pointer"),B=m==null?g:wn(m),u=v==null?g:wn(v),g=new k(p,h+"leave",m,r,d),g.target=B,g.relatedTarget=u,p=null,zr(d)===c&&(k=new k(y,h+"enter",v,r,d),k.target=u,k.relatedTarget=B,p=k),B=p,m&&v)t:{for(k=m,y=v,h=0,u=k;u;u=kn(u))h++;for(u=0,p=y;p;p=kn(p))u++;for(;0<h-u;)k=kn(k),h--;for(;0<u-h;)y=kn(y),u--;for(;h--;){if(k===y||y!==null&&k===y.alternate)break t;k=kn(k),y=kn(y)}k=null}else k=null;m!==null&&df(f,g,m,k,!1),v!==null&&B!==null&&df(f,B,v,k,!0)}}e:{if(g=c?wn(c):window,m=g.nodeName&&g.nodeName.toLowerCase(),m==="select"||m==="input"&&g.type==="file")var b=Mm;else if($d(g))if(qd)b=$m;else{b=Hm;var w=jm}else(m=g.nodeName)&&m.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(b=Wm);if(b&&(b=b(e,c))){Ud(f,b,r,d);break e}w&&w(e,g,c),e==="focusout"&&(w=g._wrapperState)&&w.controlled&&g.type==="number"&&Ss(g,"number",g.value)}switch(w=c?wn(c):window,e){case"focusin":($d(w)||w.contentEditable==="true")&&(mn=w,Gs=c,vo=null);break;case"focusout":vo=Gs=mn=null;break;case"mousedown":ea=!0;break;case"contextmenu":case"mouseup":case"dragend":ea=!1,Gd(f,r,d);break;case"selectionchange":if(Vm)break;case"keydown":case"keyup":Gd(f,r,d)}var _;if(Xs)e:{switch(e){case"compositionstart":var F="onCompositionStart";break e;case"compositionend":F="onCompositionEnd";break e;case"compositionupdate":F="onCompositionUpdate";break e}F=void 0}else vn?Hd(e,r)&&(F="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(F="onCompositionStart");F&&(Id&&r.locale!=="ko"&&(vn||F!=="onCompositionStart"?F==="onCompositionEnd"&&vn&&(_=Od()):(fr=d,$s="value"in fr?fr.value:fr.textContent,vn=!0)),w=Ri(c,F),0<w.length&&(F=new Ld(F,e,null,r,d),f.push({event:F,listeners:w}),_?F.data=_:(_=Wd(r),_!==null&&(F.data=_)))),(_=Rm?Am(e,r):Lm(e,r))&&(c=Ri(c,"onBeforeInput"),0<c.length&&(d=new Ld("onBeforeInput","beforeinput",null,r,d),f.push({event:d,listeners:c}),d.data=_))}uf(f,t)})}function ko(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Ri(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Gn(e,r),i!=null&&n.unshift(ko(e,i,o)),i=Gn(e,t),i!=null&&n.push(ko(e,i,o))),e=e.return}return n}function kn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function df(e,t,r,n,o){for(var i=t._reactName,l=[];r!==null&&r!==n;){var a=r,s=a.alternate,c=a.stateNode;if(s!==null&&s===n)break;a.tag===5&&c!==null&&(a=c,o?(s=Gn(r,i),s!=null&&l.unshift(ko(r,s,a))):o||(s=Gn(r,i),s!=null&&l.push(ko(r,s,a)))),r=r.return}l.length!==0&&e.push({event:t,listeners:l})}var Qm=/\r\n?/g,Jm=/\u0000|\uFFFD/g;function ff(e){return(typeof e=="string"?e:""+e).replace(Qm,` `).replace(Jm,"")}function Ai(e,t,r){if(t=ff(t),ff(e)!==t&&r)throw Error(N(425))}function Li(){}var la=null,sa=null;function aa(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 ua=typeof setTimeout=="function"?setTimeout:void 0,Zm=typeof clearTimeout=="function"?clearTimeout:void 0,gf=typeof Promise=="function"?Promise:void 0,Gm=typeof queueMicrotask=="function"?queueMicrotask:typeof gf<"u"?function(e){return gf.resolve(null).then(e).catch(e1)}:ua;function e1(e){setTimeout(function(){throw e})}function ca(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),ao(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);ao(t)}function pr(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 pf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var bn=Math.random().toString(36).slice(2),Rt="__reactFiber$"+bn,bo="__reactProps$"+bn,Vt="__reactContainer$"+bn,da="__reactEvents$"+bn,t1="__reactListeners$"+bn,r1="__reactHandles$"+bn;function zr(e){var t=e[Rt];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Vt]||r[Rt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=pf(e);e!==null;){if(r=e[Rt])return r;e=pf(e)}return t}e=r,r=e.parentNode}return null}function wo(e){return e=e[Rt]||e[Vt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function wn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(N(33))}function zi(e){return e[bo]||null}var fa=[],Bn=-1;function hr(e){return{current:e}}function re(e){0>Bn||(e.current=fa[Bn],fa[Bn]=null,Bn--)}function Z(e,t){Bn++,fa[Bn]=e.current,e.current=t}var vr={},Ce=hr(vr),We=hr(!1),Ir=vr;function _n(e,t){var r=e.type.contextTypes;if(!r)return vr;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function $e(e){return e=e.childContextTypes,e!=null}function Ii(){re(We),re(Ce)}function hf(e,t,r){if(Ce.current!==vr)throw Error(N(168));Z(Ce,t),Z(We,r)}function vf(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(N(108,j0(e)||"Unknown",o));return ie({},r,n)}function Mi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vr,Ir=Ce.current,Z(Ce,e),Z(We,We.current),!0}function mf(e,t,r){var n=e.stateNode;if(!n)throw Error(N(169));r?(e=vf(e,t,Ir),n.__reactInternalMemoizedMergedChildContext=e,re(We),re(Ce),Z(Ce,e)):re(We),Z(We,r)}var Kt=null,ji=!1,ga=!1;function yf(e){Kt===null?Kt=[e]:Kt.push(e)}function n1(e){ji=!0,yf(e)}function mr(){if(!ga&&Kt!==null){ga=!0;var e=0,t=Y;try{var r=Kt;for(Y=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Kt=null,ji=!1}catch(o){throw Kt!==null&&(Kt=Kt.slice(e+1)),kd(As,mr),o}finally{Y=t,ga=!1}}return null}var Sn=[],xn=0,Hi=null,Wi=0,lt=[],st=0,Mr=null,Yt=1,Xt="";function jr(e,t){Sn[xn++]=Wi,Sn[xn++]=Hi,Hi=e,Wi=t}function kf(e,t,r){lt[st++]=Yt,lt[st++]=Xt,lt[st++]=Mr,Mr=e;var n=Yt;e=Xt;var o=32-ht(n)-1;n&=~(1<<o),r+=1;var i=32-ht(t)+o;if(30<i){var l=o-o%5;i=(n&(1<<l)-1).toString(32),n>>=l,o-=l,Yt=1<<32-ht(t)+o|r<<o|n,Xt=i+e}else Yt=1<<i|r<<o|n,Xt=e}function pa(e){e.return!==null&&(jr(e,1),kf(e,1,0))}function ha(e){for(;e===Hi;)Hi=Sn[--xn],Sn[xn]=null,Wi=Sn[--xn],Sn[xn]=null;for(;e===Mr;)Mr=lt[--st],lt[st]=null,Xt=lt[--st],lt[st]=null,Yt=lt[--st],lt[st]=null}var Ze=null,Ge=null,oe=!1,mt=null;function bf(e,t){var r=dt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function wf(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ze=e,Ge=pr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ze=e,Ge=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Mr!==null?{id:Yt,overflow:Xt}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=dt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Ze=e,Ge=null,!0):!1;default:return!1}}function va(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ma(e){if(oe){var t=Ge;if(t){var r=t;if(!wf(e,t)){if(va(e))throw Error(N(418));t=pr(r.nextSibling);var n=Ze;t&&wf(e,t)?bf(n,r):(e.flags=e.flags&-4097|2,oe=!1,Ze=e)}}else{if(va(e))throw Error(N(418));e.flags=e.flags&-4097|2,oe=!1,Ze=e}}}function Bf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ze=e}function $i(e){if(e!==Ze)return!1;if(!oe)return Bf(e),oe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!aa(e.type,e.memoizedProps)),t&&(t=Ge)){if(va(e))throw _f(),Error(N(418));for(;t;)bf(e,t),t=pr(t.nextSibling)}if(Bf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(N(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Ge=pr(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Ge=null}}else Ge=Ze?pr(e.stateNode.nextSibling):null;return!0}function _f(){for(var e=Ge;e;)e=pr(e.nextSibling)}function Fn(){Ge=Ze=null,oe=!1}function ya(e){mt===null?mt=[e]:mt.push(e)}var o1=qt.ReactCurrentBatchConfig;function Bo(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(N(309));var n=r.stateNode}if(!n)throw Error(N(147,e));var o=n,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(l){var a=o.refs;l===null?delete a[i]:a[i]=l},t._stringRef=i,t)}if(typeof e!="string")throw Error(N(284));if(!r._owner)throw Error(N(290,e))}return e}function Ui(e,t){throw e=Object.prototype.toString.call(t),Error(N(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Sf(e){var t=e._init;return t(e._payload)}function xf(e){function t(y,h){if(e){var u=y.deletions;u===null?(y.deletions=[h],y.flags|=16):u.push(h)}}function r(y,h){if(!e)return null;for(;h!==null;)t(y,h),h=h.sibling;return null}function n(y,h){for(y=new Map;h!==null;)h.key!==null?y.set(h.key,h):y.set(h.index,h),h=h.sibling;return y}function o(y,h){return y=xr(y,h),y.index=0,y.sibling=null,y}function i(y,h,u){return y.index=u,e?(u=y.alternate,u!==null?(u=u.index,u<h?(y.flags|=2,h):u):(y.flags|=2,h)):(y.flags|=1048576,h)}function l(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,h,u,p){return h===null||h.tag!==6?(h=uu(u,y.mode,p),h.return=y,h):(h=o(h,u),h.return=y,h)}function s(y,h,u,p){var b=u.type;return b===cn?d(y,h,u.props.children,p,u.key):h!==null&&(h.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===lr&&Sf(b)===h.type)?(p=o(h,u.props),p.ref=Bo(y,h,u),p.return=y,p):(p=pl(u.type,u.key,u.props,null,y.mode,p),p.ref=Bo(y,h,u),p.return=y,p)}function c(y,h,u,p){return h===null||h.tag!==4||h.stateNode.containerInfo!==u.containerInfo||h.stateNode.implementation!==u.implementation?(h=cu(u,y.mode,p),h.return=y,h):(h=o(h,u.children||[]),h.return=y,h)}function d(y,h,u,p,b){return h===null||h.tag!==7?(h=Yr(u,y.mode,p,b),h.return=y,h):(h=o(h,u),h.return=y,h)}function f(y,h,u){if(typeof h=="string"&&h!==""||typeof h=="number")return h=uu(""+h,y.mode,u),h.return=y,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case di:return u=pl(h.type,h.key,h.props,null,y.mode,u),u.ref=Bo(y,null,h),u.return=y,u;case un:return h=cu(h,y.mode,u),h.return=y,h;case lr:var p=h._init;return f(y,p(h._payload),u)}if(Qn(h)||Yn(h))return h=Yr(h,y.mode,u,null),h.return=y,h;Ui(y,h)}return null}function g(y,h,u,p){var b=h!==null?h.key:null;if(typeof u=="string"&&u!==""||typeof u=="number")return b!==null?null:a(y,h,""+u,p);if(typeof u=="object"&&u!==null){switch(u.$$typeof){case di:return u.key===b?s(y,h,u,p):null;case un:return u.key===b?c(y,h,u,p):null;case lr:return b=u._init,g(y,h,b(u._payload),p)}if(Qn(u)||Yn(u))return b!==null?null:d(y,h,u,p,null);Ui(y,u)}return null}function m(y,h,u,p,b){if(typeof p=="string"&&p!==""||typeof p=="number")return y=y.get(u)||null,a(h,y,""+p,b);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case di:return y=y.get(p.key===null?u:p.key)||null,s(h,y,p,b);case un:return y=y.get(p.key===null?u:p.key)||null,c(h,y,p,b);case lr:var w=p._init;return m(y,h,u,w(p._payload),b)}if(Qn(p)||Yn(p))return y=y.get(u)||null,d(h,y,p,b,null);Ui(h,p)}return null}function v(y,h,u,p){for(var b=null,w=null,_=h,F=h=0,O=null;_!==null&&F<u.length;F++){_.index>F?(O=_,_=null):O=_.sibling;var C=g(y,_,u[F],p);if(C===null){_===null&&(_=O);break}e&&_&&C.alternate===null&&t(y,_),h=i(C,h,F),w===null?b=C:w.sibling=C,w=C,_=O}if(F===u.length)return r(y,_),oe&&jr(y,F),b;if(_===null){for(;F<u.length;F++)_=f(y,u[F],p),_!==null&&(h=i(_,h,F),w===null?b=_:w.sibling=_,w=_);return oe&&jr(y,F),b}for(_=n(y,_);F<u.length;F++)O=m(_,y,F,u[F],p),O!==null&&(e&&O.alternate!==null&&_.delete(O.key===null?F:O.key),h=i(O,h,F),w===null?b=O:w.sibling=O,w=O);return e&&_.forEach(function(L){return t(y,L)}),oe&&jr(y,F),b}function k(y,h,u,p){var b=Yn(u);if(typeof b!="function")throw Error(N(150));if(u=b.call(u),u==null)throw Error(N(151));for(var w=b=null,_=h,F=h=0,O=null,C=u.next();_!==null&&!C.done;F++,C=u.next()){_.index>F?(O=_,_=null):O=_.sibling;var L=g(y,_,C.value,p);if(L===null){_===null&&(_=O);break}e&&_&&L.alternate===null&&t(y,_),h=i(L,h,F),w===null?b=L:w.sibling=L,w=L,_=O}if(C.done)return r(y,_),oe&&jr(y,F),b;if(_===null){for(;!C.done;F++,C=u.next())C=f(y,C.value,p),C!==null&&(h=i(C,h,F),w===null?b=C:w.sibling=C,w=C);return oe&&jr(y,F),b}for(_=n(y,_);!C.done;F++,C=u.next())C=m(_,y,F,C.value,p),C!==null&&(e&&C.alternate!==null&&_.delete(C.key===null?F:C.key),h=i(C,h,F),w===null?b=C:w.sibling=C,w=C);return e&&_.forEach(function(I){return t(y,I)}),oe&&jr(y,F),b}function B(y,h,u,p){if(typeof u=="object"&&u!==null&&u.type===cn&&u.key===null&&(u=u.props.children),typeof u=="object"&&u!==null){switch(u.$$typeof){case di:e:{for(var b=u.key,w=h;w!==null;){if(w.key===b){if(b=u.type,b===cn){if(w.tag===7){r(y,w.sibling),h=o(w,u.props.children),h.return=y,y=h;break e}}else if(w.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===lr&&Sf(b)===w.type){r(y,w.sibling),h=o(w,u.props),h.ref=Bo(y,w,u),h.return=y,y=h;break e}r(y,w);break}else t(y,w);w=w.sibling}u.type===cn?(h=Yr(u.props.children,y.mode,p,u.key),h.return=y,y=h):(p=pl(u.type,u.key,u.props,null,y.mode,p),p.ref=Bo(y,h,u),p.return=y,y=p)}return l(y);case un:e:{for(w=u.key;h!==null;){if(h.key===w)if(h.tag===4&&h.stateNode.containerInfo===u.containerInfo&&h.stateNode.implementation===u.implementation){r(y,h.sibling),h=o(h,u.children||[]),h.return=y,y=h;break e}else{r(y,h);break}else t(y,h);h=h.sibling}h=cu(u,y.mode,p),h.return=y,y=h}return l(y);case lr:return w=u._init,B(y,h,w(u._payload),p)}if(Qn(u))return v(y,h,u,p);if(Yn(u))return k(y,h,u,p);Ui(y,u)}return typeof u=="string"&&u!==""||typeof u=="number"?(u=""+u,h!==null&&h.tag===6?(r(y,h.sibling),h=o(h,u),h.return=y,y=h):(r(y,h),h=uu(u,y.mode,p),h.return=y,y=h),l(y)):r(y,h)}return B}var En=xf(!0),Ff=xf(!1),qi=hr(null),Vi=null,Cn=null,ka=null;function ba(){ka=Cn=Vi=null}function wa(e){var t=qi.current;re(qi),e._currentValue=t}function Ba(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Pn(e,t){Vi=e,ka=Cn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ue=!0),e.firstContext=null)}function at(e){var t=e._currentValue;if(ka!==e)if(e={context:e,memoizedValue:t,next:null},Cn===null){if(Vi===null)throw Error(N(308));Cn=e,Vi.dependencies={lanes:0,firstContext:e}}else Cn=Cn.next=e;return t}var Hr=null;function _a(e){Hr===null?Hr=[e]:Hr.push(e)}function Ef(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,_a(t)):(r.next=o.next,o.next=r),t.interleaved=r,Qt(e,n)}function Qt(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var yr=!1;function Sa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Cf(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 Jt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function kr(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(U&2)!==0){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,Qt(e,r)}return o=n.interleaved,o===null?(t.next=t,_a(n)):(t.next=o.next,o.next=t),n.interleaved=t,Qt(e,r)}function Ki(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Is(e,r)}}function Pf(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};i===null?o=i=l:i=i.next=l,r=r.next}while(r!==null);i===null?o=i=t:i=i.next=t}else o=i=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Yi(e,t,r,n){var o=e.updateQueue;yr=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var s=a,c=s.next;s.next=null,l===null?i=c:l.next=c,l=s;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==l&&(a===null?d.firstBaseUpdate=c:a.next=c,d.lastBaseUpdate=s))}if(i!==null){var f=o.baseState;l=0,d=c=s=null,a=i;do{var g=a.lane,m=a.eventTime;if((n&g)===g){d!==null&&(d=d.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,k=a;switch(g=t,m=r,k.tag){case 1:if(v=k.payload,typeof v=="function"){f=v.call(m,f,g);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=k.payload,g=typeof v=="function"?v.call(m,f,g):v,g==null)break e;f=ie({},f,g);break e;case 2:yr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,g=o.effects,g===null?o.effects=[a]:g.push(a))}else m={eventTime:m,lane:g,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=m,s=f):d=d.next=m,l|=g;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;g=a,a=g.next,g.next=null,o.lastBaseUpdate=g,o.shared.pending=null}}while(1);if(d===null&&(s=f),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=d,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);Ur|=l,e.lanes=l,e.memoizedState=f}}function Nf(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(N(191,o));o.call(n)}}}var _o={},At=hr(_o),So=hr(_o),xo=hr(_o);function Wr(e){if(e===_o)throw Error(N(174));return e}function xa(e,t){switch(Z(xo,t),Z(So,e),Z(At,_o),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Fs(t,e)}re(At),Z(At,t)}function Nn(){re(At),re(So),re(xo)}function Tf(e){Wr(xo.current);var t=Wr(At.current),r=Fs(t,e.type);t!==r&&(Z(So,e),Z(At,r))}function Fa(e){So.current===e&&(re(At),re(So))}var le=hr(0);function Xi(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.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 Ea=[];function Ca(){for(var e=0;e<Ea.length;e++)Ea[e]._workInProgressVersionPrimary=null;Ea.length=0}var Qi=qt.ReactCurrentDispatcher,Pa=qt.ReactCurrentBatchConfig,$r=0,se=null,ve=null,ke=null,Ji=!1,Fo=!1,Eo=0,i1=0;function Pe(){throw Error(N(321))}function Na(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!vt(e[r],t[r]))return!1;return!0}function Ta(e,t,r,n,o,i){if($r=i,se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qi.current=e===null||e.memoizedState===null?u1:c1,e=r(n,o),Fo){i=0;do{if(Fo=!1,Eo=0,25<=i)throw Error(N(301));i+=1,ke=ve=null,t.updateQueue=null,Qi.current=d1,e=r(n,o)}while(Fo)}if(Qi.current=el,t=ve!==null&&ve.next!==null,$r=0,ke=ve=se=null,Ji=!1,t)throw Error(N(300));return e}function Da(){var e=Eo!==0;return Eo=0,e}function Lt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ke===null?se.memoizedState=ke=e:ke=ke.next=e,ke}function ut(){if(ve===null){var e=se.alternate;e=e!==null?e.memoizedState:null}else e=ve.next;var t=ke===null?se.memoizedState:ke.next;if(t!==null)ke=t,ve=e;else{if(e===null)throw Error(N(310));ve=e,e={memoizedState:ve.memoizedState,baseState:ve.baseState,baseQueue:ve.baseQueue,queue:ve.queue,next:null},ke===null?se.memoizedState=ke=e:ke=ke.next=e}return ke}function Co(e,t){return typeof t=="function"?t(e):t}function Oa(e){var t=ut(),r=t.queue;if(r===null)throw Error(N(311));r.lastRenderedReducer=e;var n=ve,o=n.baseQueue,i=r.pending;if(i!==null){if(o!==null){var l=o.next;o.next=i.next,i.next=l}n.baseQueue=o=i,r.pending=null}if(o!==null){i=o.next,n=n.baseState;var a=l=null,s=null,c=i;do{var d=c.lane;if(($r&d)===d)s!==null&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};s===null?(a=s=f,l=n):s=s.next=f,se.lanes|=d,Ur|=d}c=c.next}while(c!==null&&c!==i);s===null?l=n:s.next=a,vt(n,t.memoizedState)||(Ue=!0),t.memoizedState=n,t.baseState=l,t.baseQueue=s,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do i=o.lane,se.lanes|=i,Ur|=i,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Ra(e){var t=ut(),r=t.queue;if(r===null)throw Error(N(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(o!==null){r.pending=null;var l=o=o.next;do i=e(i,l.action),l=l.next;while(l!==o);vt(i,t.memoizedState)||(Ue=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function Df(){}function Of(e,t){var r=se,n=ut(),o=t(),i=!vt(n.memoizedState,o);if(i&&(n.memoizedState=o,Ue=!0),n=n.queue,Aa(Lf.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||ke!==null&&ke.memoizedState.tag&1){if(r.flags|=2048,Po(9,Af.bind(null,r,n,o,t),void 0,null),be===null)throw Error(N(349));($r&30)!==0||Rf(r,t,o)}return o}function Rf(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=se.updateQueue,t===null?(t={lastEffect:null,stores:null},se.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Af(e,t,r,n){t.value=r,t.getSnapshot=n,zf(t)&&If(e)}function Lf(e,t,r){return r(function(){zf(t)&&If(e)})}function zf(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!vt(e,r)}catch{return!0}}function If(e){var t=Qt(e,1);t!==null&&wt(t,e,1,-1)}function Mf(e){var t=Lt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:e},t.queue=e,e=e.dispatch=a1.bind(null,se,e),[t.memoizedState,e]}function Po(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=se.updateQueue,t===null?(t={lastEffect:null,stores:null},se.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function jf(){return ut().memoizedState}function Zi(e,t,r,n){var o=Lt();se.flags|=e,o.memoizedState=Po(1|t,r,void 0,n===void 0?null:n)}function Gi(e,t,r,n){var o=ut();n=n===void 0?null:n;var i=void 0;if(ve!==null){var l=ve.memoizedState;if(i=l.destroy,n!==null&&Na(n,l.deps)){o.memoizedState=Po(t,r,i,n);return}}se.flags|=e,o.memoizedState=Po(1|t,r,i,n)}function Hf(e,t){return Zi(8390656,8,e,t)}function Aa(e,t){return Gi(2048,8,e,t)}function Wf(e,t){return Gi(4,2,e,t)}function $f(e,t){return Gi(4,4,e,t)}function Uf(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 qf(e,t,r){return r=r!=null?r.concat([e]):null,Gi(4,4,Uf.bind(null,t,e),r)}function La(){}function Vf(e,t){var r=ut();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Na(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Kf(e,t){var r=ut();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Na(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Yf(e,t,r){return($r&21)===0?(e.baseState&&(e.baseState=!1,Ue=!0),e.memoizedState=r):(vt(r,t)||(r=_d(),se.lanes|=r,Ur|=r,e.baseState=!0),t)}function l1(e,t){var r=Y;Y=r!==0&&4>r?r:4,e(!0);var n=Pa.transition;Pa.transition={};try{e(!1),t()}finally{Y=r,Pa.transition=n}}function Xf(){return ut().memoizedState}function s1(e,t,r){var n=_r(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Qf(e))Jf(t,r);else if(r=Ef(e,t,r,n),r!==null){var o=Le();wt(r,e,n,o),Zf(r,t,n)}}function a1(e,t,r){var n=_r(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Qf(e))Jf(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,a=i(l,r);if(o.hasEagerState=!0,o.eagerState=a,vt(a,l)){var s=t.interleaved;s===null?(o.next=o,_a(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}r=Ef(e,t,o,n),r!==null&&(o=Le(),wt(r,e,n,o),Zf(r,t,n))}}function Qf(e){var t=e.alternate;return e===se||t!==null&&t===se}function Jf(e,t){Fo=Ji=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Zf(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Is(e,r)}}var el={readContext:at,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},u1={readContext:at,useCallback:function(e,t){return Lt().memoizedState=[e,t===void 0?null:t],e},useContext:at,useEffect:Hf,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Zi(4194308,4,Uf.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Zi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Zi(4,2,e,t)},useMemo:function(e,t){var r=Lt();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Lt();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=s1.bind(null,se,e),[n.memoizedState,e]},useRef:function(e){var t=Lt();return e={current:e},t.memoizedState=e},useState:Mf,useDebugValue:La,useDeferredValue:function(e){return Lt().memoizedState=e},useTransition:function(){var e=Mf(!1),t=e[0];return e=l1.bind(null,e[1]),Lt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=se,o=Lt();if(oe){if(r===void 0)throw Error(N(407));r=r()}else{if(r=t(),be===null)throw Error(N(349));($r&30)!==0||Rf(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,Hf(Lf.bind(null,n,i,e),[e]),n.flags|=2048,Po(9,Af.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=Lt(),t=be.identifierPrefix;if(oe){var r=Xt,n=Yt;r=(n&~(1<<32-ht(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Eo++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=i1++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},c1={readContext:at,useCallback:Vf,useContext:at,useEffect:Aa,useImperativeHandle:qf,useInsertionEffect:Wf,useLayoutEffect:$f,useMemo:Kf,useReducer:Oa,useRef:jf,useState:function(){return Oa(Co)},useDebugValue:La,useDeferredValue:function(e){var t=ut();return Yf(t,ve.memoizedState,e)},useTransition:function(){var e=Oa(Co)[0],t=ut().memoizedState;return[e,t]},useMutableSource:Df,useSyncExternalStore:Of,useId:Xf,unstable_isNewReconciler:!1},d1={readContext:at,useCallback:Vf,useContext:at,useEffect:Aa,useImperativeHandle:qf,useInsertionEffect:Wf,useLayoutEffect:$f,useMemo:Kf,useReducer:Ra,useRef:jf,useState:function(){return Ra(Co)},useDebugValue:La,useDeferredValue:function(e){var t=ut();return ve===null?t.memoizedState=e:Yf(t,ve.memoizedState,e)},useTransition:function(){var e=Ra(Co)[0],t=ut().memoizedState;return[e,t]},useMutableSource:Df,useSyncExternalStore:Of,useId:Xf,unstable_isNewReconciler:!1};function yt(e,t){if(e&&e.defaultProps){t=ie({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function za(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:ie({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var tl={isMounted:function(e){return(e=e._reactInternals)?Lr(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Le(),o=_r(e),i=Jt(n,o);i.payload=t,r!=null&&(i.callback=r),t=kr(e,i,o),t!==null&&(wt(t,e,o,n),Ki(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Le(),o=_r(e),i=Jt(n,o);i.tag=1,i.payload=t,r!=null&&(i.callback=r),t=kr(e,i,o),t!==null&&(wt(t,e,o,n),Ki(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Le(),n=_r(e),o=Jt(r,n);o.tag=2,t!=null&&(o.callback=t),t=kr(e,o,n),t!==null&&(wt(t,e,n,r),Ki(t,e,n))}};function Gf(e,t,r,n,o,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,l):t.prototype&&t.prototype.isPureReactComponent?!ho(r,n)||!ho(o,i):!0}function eg(e,t,r){var n=!1,o=vr,i=t.contextType;return typeof i=="object"&&i!==null?i=at(i):(o=$e(t)?Ir:Ce.current,n=t.contextTypes,i=(n=n!=null)?_n(e,o):vr),t=new t(r,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=tl,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function tg(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&tl.enqueueReplaceState(t,t.state,null)}function Ia(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},Sa(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=at(i):(i=$e(t)?Ir:Ce.current,o.context=_n(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(za(e,t,i,r),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&&tl.enqueueReplaceState(o,o.state,null),Yi(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Tn(e,t){try{var r="",n=t;do r+=M0(n),n=n.return;while(n);var o=r}catch(i){o=` Error generating stack: `+i.message+` `+i.stack}return{value:e,source:t,stack:o,digest:null}}function Ma(e,t,r){return{value:e,source:null,stack:r!=null?r:null,digest:t!=null?t:null}}function ja(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var f1=typeof WeakMap=="function"?WeakMap:Map;function rg(e,t,r){r=Jt(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){al||(al=!0,tu=n),ja(e,t)},r}function ng(e,t,r){r=Jt(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){ja(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){ja(e,t),typeof n!="function"&&(wr===null?wr=new Set([this]):wr.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),r}function og(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new f1;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=F1.bind(null,e,t,r),t.then(e,e))}function ig(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 lg(e,t,r,n,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Jt(-1,1),t.tag=2,kr(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var g1=qt.ReactCurrentOwner,Ue=!1;function Ae(e,t,r,n){t.child=e===null?Ff(t,null,r,n):En(t,e.child,r,n)}function sg(e,t,r,n,o){r=r.render;var i=t.ref;return Pn(t,o),n=Ta(e,t,r,n,i,o),r=Da(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(oe&&r&&pa(t),t.flags|=1,Ae(e,t,n,o),t.child)}function ag(e,t,r,n,o){if(e===null){var i=r.type;return typeof i=="function"&&!au(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=i,ug(e,t,i,n,o)):(e=pl(r.type,null,n,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(r=r.compare,r=r!==null?r:ho,r(l,n)&&e.ref===t.ref)return Zt(e,t,o)}return t.flags|=1,e=xr(i,n),e.ref=t.ref,e.return=t,t.child=e}function ug(e,t,r,n,o){if(e!==null){var i=e.memoizedProps;if(ho(i,n)&&e.ref===t.ref)if(Ue=!1,t.pendingProps=n=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Ue=!0);else return t.lanes=e.lanes,Zt(e,t,o)}return Ha(e,t,r,n,o)}function cg(e,t,r){var n=t.pendingProps,o=n.children,i=e!==null?e.memoizedState:null;if(n.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Z(On,et),et|=r;else{if((r&1073741824)===0)return e=i!==null?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Z(On,et),et|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,Z(On,et),et|=n}else i!==null?(n=i.baseLanes|r,t.memoizedState=null):n=r,Z(On,et),et|=n;return Ae(e,t,o,r),t.child}function dg(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Ha(e,t,r,n,o){var i=$e(r)?Ir:Ce.current;return i=_n(t,i),Pn(t,o),r=Ta(e,t,r,n,i,o),n=Da(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(oe&&n&&pa(t),t.flags|=1,Ae(e,t,r,o),t.child)}function fg(e,t,r,n,o){if($e(r)){var i=!0;Mi(t)}else i=!1;if(Pn(t,o),t.stateNode===null)nl(e,t),eg(t,r,n),Ia(t,r,n,o),n=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var s=l.context,c=r.contextType;typeof c=="object"&&c!==null?c=at(c):(c=$e(r)?Ir:Ce.current,c=_n(t,c));var d=r.getDerivedStateFromProps,f=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==n||s!==c)&&tg(t,l,n,c),yr=!1;var g=t.memoizedState;l.state=g,Yi(t,n,l,o),s=t.memoizedState,a!==n||g!==s||We.current||yr?(typeof d=="function"&&(za(t,r,d,n),s=t.memoizedState),(a=yr||Gf(t,r,a,n,g,s,c))?(f||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=n,t.memoizedState=s),l.props=n,l.state=s,l.context=c,n=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{l=t.stateNode,Cf(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:yt(t.type,a),l.props=c,f=t.pendingProps,g=l.context,s=r.contextType,typeof s=="object"&&s!==null?s=at(s):(s=$e(r)?Ir:Ce.current,s=_n(t,s));var m=r.getDerivedStateFromProps;(d=typeof m=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==f||g!==s)&&tg(t,l,n,s),yr=!1,g=t.memoizedState,l.state=g,Yi(t,n,l,o);var v=t.memoizedState;a!==f||g!==v||We.current||yr?(typeof m=="function"&&(za(t,r,m,n),v=t.memoizedState),(c=yr||Gf(t,r,c,n,g,v,s)||!1)?(d||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(n,v,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(n,v,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=v),l.props=n,l.state=v,l.context=s,n=c):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),n=!1)}return Wa(e,t,r,n,i,o)}function Wa(e,t,r,n,o,i){dg(e,t);var l=(t.flags&128)!==0;if(!n&&!l)return o&&mf(t,r,!1),Zt(e,t,i);n=t.stateNode,g1.current=t;var a=l&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&l?(t.child=En(t,e.child,null,i),t.child=En(t,null,a,i)):Ae(e,t,a,i),t.memoizedState=n.state,o&&mf(t,r,!0),t.child}function gg(e){var t=e.stateNode;t.pendingContext?hf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&hf(e,t.context,!1),xa(e,t.containerInfo)}function pg(e,t,r,n,o){return Fn(),ya(o),t.flags|=256,Ae(e,t,r,n),t.child}var $a={dehydrated:null,treeContext:null,retryLane:0};function Ua(e){return{baseLanes:e,cachePool:null,transitions:null}}function hg(e,t,r){var n=t.pendingProps,o=le.current,i=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Z(le,o&1),e===null)return ma(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=n.children,e=n.fallback,i?(n=t.mode,i=t.child,l={mode:"hidden",children:l},(n&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=l):i=hl(l,n,0,null),e=Yr(e,n,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Ua(r),t.memoizedState=$a,e):qa(t,l));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return p1(e,t,l,n,a,o,r);if(i){i=n.fallback,l=t.mode,o=e.child,a=o.sibling;var s={mode:"hidden",children:n.children};return(l&1)===0&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=s,t.deletions=null):(n=xr(o,s),n.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=xr(a,i):(i=Yr(i,l,r,null),i.flags|=2),i.return=t,n.return=t,n.sibling=i,t.child=n,n=i,i=t.child,l=e.child.memoizedState,l=l===null?Ua(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~r,t.memoizedState=$a,n}return i=e.child,e=i.sibling,n=xr(i,{mode:"visible",children:n.children}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function qa(e,t){return t=hl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function rl(e,t,r,n){return n!==null&&ya(n),En(t,e.child,null,r),e=qa(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function p1(e,t,r,n,o,i,l){if(r)return t.flags&256?(t.flags&=-257,n=Ma(Error(N(422))),rl(e,t,l,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=hl({mode:"visible",children:n.children},o,0,null),i=Yr(i,o,l,null),i.flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,(t.mode&1)!==0&&En(t,e.child,null,l),t.child.memoizedState=Ua(l),t.memoizedState=$a,i);if((t.mode&1)===0)return rl(e,t,l,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var a=n.dgst;return n=a,i=Error(N(419)),n=Ma(i,n,void 0),rl(e,t,l,n)}if(a=(l&e.childLanes)!==0,Ue||a){if(n=be,n!==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&(n.suspendedLanes|l))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Qt(e,o),wt(n,e,o,-1))}return su(),n=Ma(Error(N(421))),rl(e,t,l,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=E1.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ge=pr(o.nextSibling),Ze=t,oe=!0,mt=null,e!==null&&(lt[st++]=Yt,lt[st++]=Xt,lt[st++]=Mr,Yt=e.id,Xt=e.overflow,Mr=t),t=qa(t,n.children),t.flags|=4096,t)}function vg(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Ba(e.return,t,r)}function Va(e,t,r,n,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=o)}function mg(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(Ae(e,t,n.children,r),n=le.current,(n&2)!==0)n=n&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&&vg(e,r,t);else if(e.tag===19)vg(e,r,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}n&=1}if(Z(le,n),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Xi(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Va(t,!1,o,r,i);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Xi(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Va(t,!0,r,null,i);break;case"together":Va(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function nl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zt(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Ur|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(N(153));if(t.child!==null){for(e=t.child,r=xr(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=xr(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function h1(e,t,r){switch(t.tag){case 3:gg(t),Fn();break;case 5:Tf(t);break;case 1:$e(t.type)&&Mi(t);break;case 4:xa(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Z(qi,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Z(le,le.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?hg(e,t,r):(Z(le,le.current&1),e=Zt(e,t,r),e!==null?e.sibling:null);Z(le,le.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&128)!==0){if(n)return mg(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Z(le,le.current),n)break;return null;case 22:case 23:return t.lanes=0,cg(e,t,r)}return Zt(e,t,r)}var yg,Ka,kg,bg;yg=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ka=function(){},kg=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Wr(At.current);var i=null;switch(r){case"input":o=Bs(e,o),n=Bs(e,n),i=[];break;case"select":o=ie({},o,{value:void 0}),n=ie({},n,{value:void 0}),i=[];break;case"textarea":o=xs(e,o),n=xs(e,n),i=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Li)}Es(r,n);var l;r=null;for(c in o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var a=o[c];for(l in a)a.hasOwnProperty(l)&&(r||(r={}),r[l]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Kn.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in n){var s=n[c];if(a=o!=null?o[c]:void 0,n.hasOwnProperty(c)&&s!==a&&(s!=null||a!=null))if(c==="style")if(a){for(l in a)!a.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(r||(r={}),r[l]="");for(l in s)s.hasOwnProperty(l)&&a[l]!==s[l]&&(r||(r={}),r[l]=s[l])}else r||(i||(i=[]),i.push(c,r)),r=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,a=a?a.__html:void 0,s!=null&&a!==s&&(i=i||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Kn.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&te("scroll",e),i||a===s||(i=[])):(i=i||[]).push(c,s))}r&&(i=i||[]).push("style",r);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},bg=function(e,t,r,n){r!==n&&(t.flags|=4)};function No(e,t){if(!oe)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ne(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function v1(e,t,r){var n=t.pendingProps;switch(ha(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ne(t),null;case 1:return $e(t.type)&&Ii(),Ne(t),null;case 3:return n=t.stateNode,Nn(),re(We),re(Ce),Ca(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&($i(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,mt!==null&&(ou(mt),mt=null))),Ka(e,t),Ne(t),null;case 5:Fa(t);var o=Wr(xo.current);if(r=t.type,e!==null&&t.stateNode!=null)kg(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(N(166));return Ne(t),null}if(e=Wr(At.current),$i(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[Rt]=t,n[bo]=i,e=(t.mode&1)!==0,r){case"dialog":te("cancel",n),te("close",n);break;case"iframe":case"object":case"embed":te("load",n);break;case"video":case"audio":for(o=0;o<mo.length;o++)te(mo[o],n);break;case"source":te("error",n);break;case"img":case"image":case"link":te("error",n),te("load",n);break;case"details":te("toggle",n);break;case"input":Gc(n,i),te("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},te("invalid",n);break;case"textarea":rd(n,i),te("invalid",n)}Es(r,i),o=null;for(var l in i)if(i.hasOwnProperty(l)){var a=i[l];l==="children"?typeof a=="string"?n.textContent!==a&&(i.suppressHydrationWarning!==!0&&Ai(n.textContent,a,e),o=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Ai(n.textContent,a,e),o=["children",""+a]):Kn.hasOwnProperty(l)&&a!=null&&l==="onScroll"&&te("scroll",n)}switch(r){case"input":fi(n),td(n,i,!0);break;case"textarea":fi(n),od(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=Li)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{l=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=id(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[Rt]=t,e[bo]=n,yg(e,t,!1,!1),t.stateNode=e;e:{switch(l=Cs(r,n),r){case"dialog":te("cancel",e),te("close",e),o=n;break;case"iframe":case"object":case"embed":te("load",e),o=n;break;case"video":case"audio":for(o=0;o<mo.length;o++)te(mo[o],e);o=n;break;case"source":te("error",e),o=n;break;case"img":case"image":case"link":te("error",e),te("load",e),o=n;break;case"details":te("toggle",e),o=n;break;case"input":Gc(e,n),o=Bs(e,n),te("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=ie({},n,{value:void 0}),te("invalid",e);break;case"textarea":rd(e,n),o=xs(e,n),te("invalid",e);break;default:o=n}Es(r,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="style"?ad(e,s):i==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&ld(e,s)):i==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&Jn(e,s):typeof s=="number"&&Jn(e,""+s):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Kn.hasOwnProperty(i)?s!=null&&i==="onScroll"&&te("scroll",e):s!=null&&ds(e,i,s,l))}switch(r){case"input":fi(e),td(e,n,!1);break;case"textarea":fi(e),od(e);break;case"option":n.value!=null&&e.setAttribute("value",""+sr(n.value));break;case"select":e.multiple=!!n.multiple,i=n.value,i!=null?dn(e,!!n.multiple,i,!1):n.defaultValue!=null&&dn(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Li)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ne(t),null;case 6:if(e&&t.stateNode!=null)bg(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(N(166));if(r=Wr(xo.current),Wr(At.current),$i(t)){if(n=t.stateNode,r=t.memoizedProps,n[Rt]=t,(i=n.nodeValue!==r)&&(e=Ze,e!==null))switch(e.tag){case 3:Ai(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ai(n.nodeValue,r,(e.mode&1)!==0)}i&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Rt]=t,t.stateNode=n}return Ne(t),null;case 13:if(re(le),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(oe&&Ge!==null&&(t.mode&1)!==0&&(t.flags&128)===0)_f(),Fn(),t.flags|=98560,i=!1;else if(i=$i(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(N(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(N(317));i[Rt]=t}else Fn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ne(t),i=!1}else mt!==null&&(ou(mt),mt=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(le.current&1)!==0?me===0&&(me=3):su())),t.updateQueue!==null&&(t.flags|=4),Ne(t),null);case 4:return Nn(),Ka(e,t),e===null&&yo(t.stateNode.containerInfo),Ne(t),null;case 10:return wa(t.type._context),Ne(t),null;case 17:return $e(t.type)&&Ii(),Ne(t),null;case 19:if(re(le),i=t.memoizedState,i===null)return Ne(t),null;if(n=(t.flags&128)!==0,l=i.rendering,l===null)if(n)No(i,!1);else{if(me!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=Xi(e),l!==null){for(t.flags|=128,No(i,!1),n=l.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)i=r,e=n,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}),r=r.sibling;return Z(le,le.current&1|2),t.child}e=e.sibling}i.tail!==null&&fe()>Rn&&(t.flags|=128,n=!0,No(i,!1),t.lanes=4194304)}else{if(!n)if(e=Xi(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),No(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!oe)return Ne(t),null}else 2*fe()-i.renderingStartTime>Rn&&r!==1073741824&&(t.flags|=128,n=!0,No(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(r=i.last,r!==null?r.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=fe(),t.sibling=null,r=le.current,Z(le,n?r&1|2:r&1),t):(Ne(t),null);case 22:case 23:return lu(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(et&1073741824)!==0&&(Ne(t),t.subtreeFlags&6&&(t.flags|=8192)):Ne(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function m1(e,t){switch(ha(t),t.tag){case 1:return $e(t.type)&&Ii(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Nn(),re(We),re(Ce),Ca(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Fa(t),null;case 13:if(re(le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));Fn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(le),null;case 4:return Nn(),null;case 10:return wa(t.type._context),null;case 22:case 23:return lu(),null;case 24:return null;default:return null}}var ol=!1,Te=!1,y1=typeof WeakSet=="function"?WeakSet:Set,R=null;function Dn(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ue(e,t,n)}else r.current=null}function Ya(e,t,r){try{r()}catch(n){ue(e,t,n)}}var wg=!1;function k1(e,t){if(la=Si,e=Zd(),Zs(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var l=0,a=-1,s=-1,c=0,d=0,f=e,g=null;t:for(;;){for(var m;f!==r||o!==0&&f.nodeType!==3||(a=l+o),f!==i||n!==0&&f.nodeType!==3||(s=l+n),f.nodeType===3&&(l+=f.nodeValue.length),(m=f.firstChild)!==null;)g=f,f=m;for(;;){if(f===e)break t;if(g===r&&++c===o&&(a=l),g===i&&++d===n&&(s=l),(m=f.nextSibling)!==null)break;f=g,g=f.parentNode}f=m}r=a===-1||s===-1?null:{start:a,end:s}}else r=null}r=r||{start:0,end:0}}else r=null;for(sa={focusedElem:e,selectionRange:r},Si=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var v=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var k=v.memoizedProps,B=v.memoizedState,y=t.stateNode,h=y.getSnapshotBeforeUpdate(t.elementType===t.type?k:yt(t.type,k),B);y.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var u=t.stateNode.containerInfo;u.nodeType===1?u.textContent="":u.nodeType===9&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(p){ue(t,t.return,p)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return v=wg,wg=!1,v}function To(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Ya(t,r,i)}o=o.next}while(o!==n)}}function il(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Xa(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Bg(e){var t=e.alternate;t!==null&&(e.alternate=null,Bg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rt],delete t[bo],delete t[da],delete t[t1],delete t[r1])),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 _g(e){return e.tag===5||e.tag===3||e.tag===4}function Sg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_g(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 Qa(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Li));else if(n!==4&&(e=e.child,e!==null))for(Qa(e,t,r),e=e.sibling;e!==null;)Qa(e,t,r),e=e.sibling}function Ja(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Ja(e,t,r),e=e.sibling;e!==null;)Ja(e,t,r),e=e.sibling}var Be=null,kt=!1;function br(e,t,r){for(r=r.child;r!==null;)xg(e,t,r),r=r.sibling}function xg(e,t,r){if(Ot&&typeof Ot.onCommitFiberUnmount=="function")try{Ot.onCommitFiberUnmount(yi,r)}catch{}switch(r.tag){case 5:Te||Dn(r,t);case 6:var n=Be,o=kt;Be=null,br(e,t,r),Be=n,kt=o,Be!==null&&(kt?(e=Be,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Be.removeChild(r.stateNode));break;case 18:Be!==null&&(kt?(e=Be,r=r.stateNode,e.nodeType===8?ca(e.parentNode,r):e.nodeType===1&&ca(e,r),ao(e)):ca(Be,r.stateNode));break;case 4:n=Be,o=kt,Be=r.stateNode.containerInfo,kt=!0,br(e,t,r),Be=n,kt=o;break;case 0:case 11:case 14:case 15:if(!Te&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&((i&2)!==0||(i&4)!==0)&&Ya(r,t,l),o=o.next}while(o!==n)}br(e,t,r);break;case 1:if(!Te&&(Dn(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){ue(r,t,a)}br(e,t,r);break;case 21:br(e,t,r);break;case 22:r.mode&1?(Te=(n=Te)||r.memoizedState!==null,br(e,t,r),Te=n):br(e,t,r);break;default:br(e,t,r)}}function Fg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new y1),t.forEach(function(n){var o=C1.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function bt(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var i=e,l=t,a=l;e:for(;a!==null;){switch(a.tag){case 5:Be=a.stateNode,kt=!1;break e;case 3:Be=a.stateNode.containerInfo,kt=!0;break e;case 4:Be=a.stateNode.containerInfo,kt=!0;break e}a=a.return}if(Be===null)throw Error(N(160));xg(i,l,o),Be=null,kt=!1;var s=o.alternate;s!==null&&(s.return=null),o.return=null}catch(c){ue(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Eg(t,e),t=t.sibling}function Eg(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(bt(t,e),zt(e),n&4){try{To(3,e,e.return),il(3,e)}catch(k){ue(e,e.return,k)}try{To(5,e,e.return)}catch(k){ue(e,e.return,k)}}break;case 1:bt(t,e),zt(e),n&512&&r!==null&&Dn(r,r.return);break;case 5:if(bt(t,e),zt(e),n&512&&r!==null&&Dn(r,r.return),e.flags&32){var o=e.stateNode;try{Jn(o,"")}catch(k){ue(e,e.return,k)}}if(n&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,l=r!==null?r.memoizedProps:i,a=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&ed(o,i),Cs(a,l);var c=Cs(a,i);for(l=0;l<s.length;l+=2){var d=s[l],f=s[l+1];d==="style"?ad(o,f):d==="dangerouslySetInnerHTML"?ld(o,f):d==="children"?Jn(o,f):ds(o,d,f,c)}switch(a){case"input":_s(o,i);break;case"textarea":nd(o,i);break;case"select":var g=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var m=i.value;m!=null?dn(o,!!i.multiple,m,!1):g!==!!i.multiple&&(i.defaultValue!=null?dn(o,!!i.multiple,i.defaultValue,!0):dn(o,!!i.multiple,i.multiple?[]:"",!1))}o[bo]=i}catch(k){ue(e,e.return,k)}}break;case 6:if(bt(t,e),zt(e),n&4){if(e.stateNode===null)throw Error(N(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(k){ue(e,e.return,k)}}break;case 3:if(bt(t,e),zt(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{ao(t.containerInfo)}catch(k){ue(e,e.return,k)}break;case 4:bt(t,e),zt(e);break;case 13:bt(t,e),zt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(eu=fe())),n&4&&Fg(e);break;case 22:if(d=r!==null&&r.memoizedState!==null,e.mode&1?(Te=(c=Te)||d,bt(t,e),Te=c):bt(t,e),zt(e),n&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&(e.mode&1)!==0)for(R=e,d=e.child;d!==null;){for(f=R=d;R!==null;){switch(g=R,m=g.child,g.tag){case 0:case 11:case 14:case 15:To(4,g,g.return);break;case 1:Dn(g,g.return);var v=g.stateNode;if(typeof v.componentWillUnmount=="function"){n=g,r=g.return;try{t=n,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(k){ue(n,r,k)}}break;case 5:Dn(g,g.return);break;case 22:if(g.memoizedState!==null){Ng(f);continue}}m!==null?(m.return=g,R=m):Ng(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,c?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=f.stateNode,s=f.memoizedProps.style,l=s!=null&&s.hasOwnProperty("display")?s.display:null,a.style.display=sd("display",l))}catch(k){ue(e,e.return,k)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(k){ue(e,e.return,k)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:bt(t,e),zt(e),n&4&&Fg(e);break;case 21:break;default:bt(t,e),zt(e)}}function zt(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(_g(r)){var n=r;break e}r=r.return}throw Error(N(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(Jn(o,""),n.flags&=-33);var i=Sg(e);Ja(e,i,o);break;case 3:case 4:var l=n.stateNode.containerInfo,a=Sg(e);Qa(e,a,l);break;default:throw Error(N(161))}}catch(s){ue(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function b1(e,t,r){R=e,Cg(e)}function Cg(e,t,r){for(var n=(e.mode&1)!==0;R!==null;){var o=R,i=o.child;if(o.tag===22&&n){var l=o.memoizedState!==null||ol;if(!l){var a=o.alternate,s=a!==null&&a.memoizedState!==null||Te;a=ol;var c=Te;if(ol=l,(Te=s)&&!c)for(R=o;R!==null;)l=R,s=l.child,l.tag===22&&l.memoizedState!==null?Tg(o):s!==null?(s.return=l,R=s):Tg(o);for(;i!==null;)R=i,Cg(i),i=i.sibling;R=o,ol=a,Te=c}Pg(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,R=i):Pg(e)}}function Pg(e){for(;R!==null;){var t=R;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Te||il(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!Te)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:yt(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Nf(t,i,n);break;case 3:var l=t.updateQueue;if(l!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}Nf(t,l,r)}break;case 5:var a=t.stateNode;if(r===null&&t.flags&4){r=a;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&r.focus();break;case"img":s.src&&(r.src=s.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 d=c.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&ao(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(N(163))}Te||t.flags&512&&Xa(t)}catch(g){ue(t,t.return,g)}}if(t===e){R=null;break}if(r=t.sibling,r!==null){r.return=t.return,R=r;break}R=t.return}}function Ng(e){for(;R!==null;){var t=R;if(t===e){R=null;break}var r=t.sibling;if(r!==null){r.return=t.return,R=r;break}R=t.return}}function Tg(e){for(;R!==null;){var t=R;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{il(4,t)}catch(s){ue(t,r,s)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(s){ue(t,o,s)}}var i=t.return;try{Xa(t)}catch(s){ue(t,i,s)}break;case 5:var l=t.return;try{Xa(t)}catch(s){ue(t,l,s)}}}catch(s){ue(t,t.return,s)}if(t===e){R=null;break}var a=t.sibling;if(a!==null){a.return=t.return,R=a;break}R=t.return}}var w1=Math.ceil,ll=qt.ReactCurrentDispatcher,Za=qt.ReactCurrentOwner,ct=qt.ReactCurrentBatchConfig,U=0,be=null,pe=null,_e=0,et=0,On=hr(0),me=0,Do=null,Ur=0,sl=0,Ga=0,Oo=null,qe=null,eu=0,Rn=1/0,Gt=null,al=!1,tu=null,wr=null,ul=!1,Br=null,cl=0,Ro=0,ru=null,dl=-1,fl=0;function Le(){return(U&6)!==0?fe():dl!==-1?dl:dl=fe()}function _r(e){return(e.mode&1)===0?1:(U&2)!==0&&_e!==0?_e&-_e:o1.transition!==null?(fl===0&&(fl=_d()),fl):(e=Y,e!==0||(e=window.event,e=e===void 0?16:Dd(e.type)),e)}function wt(e,t,r,n){if(50<Ro)throw Ro=0,ru=null,Error(N(185));no(e,r,n),((U&2)===0||e!==be)&&(e===be&&((U&2)===0&&(sl|=r),me===4&&Sr(e,_e)),Ve(e,n),r===1&&U===0&&(t.mode&1)===0&&(Rn=fe()+500,ji&&mr()))}function Ve(e,t){var r=e.callbackNode;om(e,t);var n=wi(e,e===be?_e:0);if(n===0)r!==null&&bd(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&bd(r),t===1)e.tag===0?n1(Og.bind(null,e)):yf(Og.bind(null,e)),Gm(function(){(U&6)===0&&mr()}),r=null;else{switch(Sd(n)){case 1:r=As;break;case 4:r=wd;break;case 16:r=mi;break;case 536870912:r=Bd;break;default:r=mi}r=Hg(r,Dg.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function Dg(e,t){if(dl=-1,fl=0,(U&6)!==0)throw Error(N(327));var r=e.callbackNode;if(An()&&e.callbackNode!==r)return null;var n=wi(e,e===be?_e:0);if(n===0)return null;if((n&30)!==0||(n&e.expiredLanes)!==0||t)t=gl(e,n);else{t=n;var o=U;U|=2;var i=Ag();(be!==e||_e!==t)&&(Gt=null,Rn=fe()+500,Vr(e,t));do try{S1();break}catch(a){Rg(e,a)}while(1);ba(),ll.current=i,U=o,pe!==null?t=0:(be=null,_e=0,t=me)}if(t!==0){if(t===2&&(o=Ls(e),o!==0&&(n=o,t=nu(e,o))),t===1)throw r=Do,Vr(e,0),Sr(e,n),Ve(e,fe()),r;if(t===6)Sr(e,n);else{if(o=e.current.alternate,(n&30)===0&&!B1(o)&&(t=gl(e,n),t===2&&(i=Ls(e),i!==0&&(n=i,t=nu(e,i))),t===1))throw r=Do,Vr(e,0),Sr(e,n),Ve(e,fe()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(N(345));case 2:Kr(e,qe,Gt);break;case 3:if(Sr(e,n),(n&130023424)===n&&(t=eu+500-fe(),10<t)){if(wi(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){Le(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ua(Kr.bind(null,e,qe,Gt),t);break}Kr(e,qe,Gt);break;case 4:if(Sr(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var l=31-ht(n);i=1<<l,l=t[l],l>o&&(o=l),n&=~i}if(n=o,n=fe()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*w1(n/1960))-n,10<n){e.timeoutHandle=ua(Kr.bind(null,e,qe,Gt),n);break}Kr(e,qe,Gt);break;case 5:Kr(e,qe,Gt);break;default:throw Error(N(329))}}}return Ve(e,fe()),e.callbackNode===r?Dg.bind(null,e):null}function nu(e,t){var r=Oo;return e.current.memoizedState.isDehydrated&&(Vr(e,t).flags|=256),e=gl(e,t),e!==2&&(t=qe,qe=r,t!==null&&ou(t)),e}function ou(e){qe===null?qe=e:qe.push.apply(qe,e)}function B1(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],i=o.getSnapshot;o=o.value;try{if(!vt(i(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 Sr(e,t){for(t&=~Ga,t&=~sl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-ht(t),n=1<<r;e[r]=-1,t&=~n}}function Og(e){if((U&6)!==0)throw Error(N(327));An();var t=wi(e,0);if((t&1)===0)return Ve(e,fe()),null;var r=gl(e,t);if(e.tag!==0&&r===2){var n=Ls(e);n!==0&&(t=n,r=nu(e,n))}if(r===1)throw r=Do,Vr(e,0),Sr(e,t),Ve(e,fe()),r;if(r===6)throw Error(N(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Kr(e,qe,Gt),Ve(e,fe()),null}function iu(e,t){var r=U;U|=1;try{return e(t)}finally{U=r,U===0&&(Rn=fe()+500,ji&&mr())}}function qr(e){Br!==null&&Br.tag===0&&(U&6)===0&&An();var t=U;U|=1;var r=ct.transition,n=Y;try{if(ct.transition=null,Y=1,e)return e()}finally{Y=n,ct.transition=r,U=t,(U&6)===0&&mr()}}function lu(){et=On.current,re(On)}function Vr(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Zm(r)),pe!==null)for(r=pe.return;r!==null;){var n=r;switch(ha(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Ii();break;case 3:Nn(),re(We),re(Ce),Ca();break;case 5:Fa(n);break;case 4:Nn();break;case 13:re(le);break;case 19:re(le);break;case 10:wa(n.type._context);break;case 22:case 23:lu()}r=r.return}if(be=e,pe=e=xr(e.current,null),_e=et=t,me=0,Do=null,Ga=sl=Ur=0,qe=Oo=null,Hr!==null){for(t=0;t<Hr.length;t++)if(r=Hr[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,i=r.pending;if(i!==null){var l=i.next;i.next=o,n.next=l}r.pending=n}Hr=null}return e}function Rg(e,t){do{var r=pe;try{if(ba(),Qi.current=el,Ji){for(var n=se.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}Ji=!1}if($r=0,ke=ve=se=null,Fo=!1,Eo=0,Za.current=null,r===null||r.return===null){me=1,Do=t,pe=null;break}e:{var i=e,l=r.return,a=r,s=t;if(t=_e,a.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=s,d=a,f=d.tag;if((d.mode&1)===0&&(f===0||f===11||f===15)){var g=d.alternate;g?(d.updateQueue=g.updateQueue,d.memoizedState=g.memoizedState,d.lanes=g.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=ig(l);if(m!==null){m.flags&=-257,lg(m,l,a,i,t),m.mode&1&&og(i,c,t),t=m,s=c;var v=t.updateQueue;if(v===null){var k=new Set;k.add(s),t.updateQueue=k}else v.add(s);break e}else{if((t&1)===0){og(i,c,t),su();break e}s=Error(N(426))}}else if(oe&&a.mode&1){var B=ig(l);if(B!==null){(B.flags&65536)===0&&(B.flags|=256),lg(B,l,a,i,t),ya(Tn(s,a));break e}}i=s=Tn(s,a),me!==4&&(me=2),Oo===null?Oo=[i]:Oo.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var y=rg(i,s,t);Pf(i,y);break e;case 1:a=s;var h=i.type,u=i.stateNode;if((i.flags&128)===0&&(typeof h.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(wr===null||!wr.has(u)))){i.flags|=65536,t&=-t,i.lanes|=t;var p=ng(i,a,t);Pf(i,p);break e}}i=i.return}while(i!==null)}zg(r)}catch(b){t=b,pe===r&&r!==null&&(pe=r=r.return);continue}break}while(1)}function Ag(){var e=ll.current;return ll.current=el,e===null?el:e}function su(){(me===0||me===3||me===2)&&(me=4),be===null||(Ur&268435455)===0&&(sl&268435455)===0||Sr(be,_e)}function gl(e,t){var r=U;U|=2;var n=Ag();(be!==e||_e!==t)&&(Gt=null,Vr(e,t));do try{_1();break}catch(o){Rg(e,o)}while(1);if(ba(),U=r,ll.current=n,pe!==null)throw Error(N(261));return be=null,_e=0,me}function _1(){for(;pe!==null;)Lg(pe)}function S1(){for(;pe!==null&&!X0();)Lg(pe)}function Lg(e){var t=jg(e.alternate,e,et);e.memoizedProps=e.pendingProps,t===null?zg(e):pe=t,Za.current=null}function zg(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=v1(r,t,et),r!==null){pe=r;return}}else{if(r=m1(r,t),r!==null){r.flags&=32767,pe=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{me=6,pe=null;return}}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);me===0&&(me=5)}function Kr(e,t,r){var n=Y,o=ct.transition;try{ct.transition=null,Y=1,x1(e,t,r,n)}finally{ct.transition=o,Y=n}return null}function x1(e,t,r,n){do An();while(Br!==null);if((U&6)!==0)throw Error(N(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(N(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(im(e,i),e===be&&(pe=be=null,_e=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||ul||(ul=!0,Hg(mi,function(){return An(),null})),i=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||i){i=ct.transition,ct.transition=null;var l=Y;Y=1;var a=U;U|=4,Za.current=null,k1(e,r),Eg(r,e),qm(sa),Si=!!la,sa=la=null,e.current=r,b1(r),Q0(),U=a,Y=l,ct.transition=i}else e.current=r;if(ul&&(ul=!1,Br=e,cl=o),i=e.pendingLanes,i===0&&(wr=null),G0(r.stateNode),Ve(e,fe()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(al)throw al=!1,e=tu,tu=null,e;return(cl&1)!==0&&e.tag!==0&&An(),i=e.pendingLanes,(i&1)!==0?e===ru?Ro++:(Ro=0,ru=e):Ro=0,mr(),null}function An(){if(Br!==null){var e=Sd(cl),t=ct.transition,r=Y;try{if(ct.transition=null,Y=16>e?16:e,Br===null)var n=!1;else{if(e=Br,Br=null,cl=0,(U&6)!==0)throw Error(N(331));var o=U;for(U|=4,R=e.current;R!==null;){var i=R,l=i.child;if((R.flags&16)!==0){var a=i.deletions;if(a!==null){for(var s=0;s<a.length;s++){var c=a[s];for(R=c;R!==null;){var d=R;switch(d.tag){case 0:case 11:case 15:To(8,d,i)}var f=d.child;if(f!==null)f.return=d,R=f;else for(;R!==null;){d=R;var g=d.sibling,m=d.return;if(Bg(d),d===c){R=null;break}if(g!==null){g.return=m,R=g;break}R=m}}}var v=i.alternate;if(v!==null){var k=v.child;if(k!==null){v.child=null;do{var B=k.sibling;k.sibling=null,k=B}while(k!==null)}}R=i}}if((i.subtreeFlags&2064)!==0&&l!==null)l.return=i,R=l;else e:for(;R!==null;){if(i=R,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:To(9,i,i.return)}var y=i.sibling;if(y!==null){y.return=i.return,R=y;break e}R=i.return}}var h=e.current;for(R=h;R!==null;){l=R;var u=l.child;if((l.subtreeFlags&2064)!==0&&u!==null)u.return=l,R=u;else e:for(l=h;R!==null;){if(a=R,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:il(9,a)}}catch(b){ue(a,a.return,b)}if(a===l){R=null;break e}var p=a.sibling;if(p!==null){p.return=a.return,R=p;break e}R=a.return}}if(U=o,mr(),Ot&&typeof Ot.onPostCommitFiberRoot=="function")try{Ot.onPostCommitFiberRoot(yi,e)}catch{}n=!0}return n}finally{Y=r,ct.transition=t}}return!1}function Ig(e,t,r){t=Tn(r,t),t=rg(e,t,1),e=kr(e,t,1),t=Le(),e!==null&&(no(e,1,t),Ve(e,t))}function ue(e,t,r){if(e.tag===3)Ig(e,e,r);else for(;t!==null;){if(t.tag===3){Ig(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(wr===null||!wr.has(n))){e=Tn(r,e),e=ng(t,e,1),t=kr(t,e,1),e=Le(),t!==null&&(no(t,1,e),Ve(t,e));break}}t=t.return}}function F1(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Le(),e.pingedLanes|=e.suspendedLanes&r,be===e&&(_e&r)===r&&(me===4||me===3&&(_e&130023424)===_e&&500>fe()-eu?Vr(e,0):Ga|=r),Ve(e,t)}function Mg(e,t){t===0&&((e.mode&1)===0?t=1:(t=bi,bi<<=1,(bi&130023424)===0&&(bi=4194304)));var r=Le();e=Qt(e,t),e!==null&&(no(e,t,r),Ve(e,r))}function E1(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Mg(e,r)}function C1(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(N(314))}n!==null&&n.delete(t),Mg(e,r)}var jg;jg=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||We.current)Ue=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return Ue=!1,h1(e,t,r);Ue=(e.flags&131072)!==0}else Ue=!1,oe&&(t.flags&1048576)!==0&&kf(t,Wi,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;nl(e,t),e=t.pendingProps;var o=_n(t,Ce.current);Pn(t,r),o=Ta(null,t,n,e,o,r);var i=Da();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,$e(n)?(i=!0,Mi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Sa(t),o.updater=tl,t.stateNode=o,o._reactInternals=t,Ia(t,n,e,r),t=Wa(null,t,n,!0,i,r)):(t.tag=0,oe&&i&&pa(t),Ae(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(nl(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=N1(n),e=yt(n,e),o){case 0:t=Ha(null,t,n,e,r);break e;case 1:t=fg(null,t,n,e,r);break e;case 11:t=sg(null,t,n,e,r);break e;case 14:t=ag(null,t,n,yt(n.type,e),r);break e}throw Error(N(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),Ha(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),fg(e,t,n,o,r);case 3:e:{if(gg(t),e===null)throw Error(N(387));n=t.pendingProps,i=t.memoizedState,o=i.element,Cf(e,t),Yi(t,n,null,r);var l=t.memoizedState;if(n=l.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Tn(Error(N(423)),t),t=pg(e,t,n,r,o);break e}else if(n!==o){o=Tn(Error(N(424)),t),t=pg(e,t,n,r,o);break e}else for(Ge=pr(t.stateNode.containerInfo.firstChild),Ze=t,oe=!0,mt=null,r=Ff(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Fn(),n===o){t=Zt(e,t,r);break e}Ae(e,t,n,r)}t=t.child}return t;case 5:return Tf(t),e===null&&ma(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,aa(n,o)?l=null:i!==null&&aa(n,i)&&(t.flags|=32),dg(e,t),Ae(e,t,l,r),t.child;case 6:return e===null&&ma(t),null;case 13:return hg(e,t,r);case 4:return xa(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=En(t,null,n,r):Ae(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),sg(e,t,n,o,r);case 7:return Ae(e,t,t.pendingProps,r),t.child;case 8:return Ae(e,t,t.pendingProps.children,r),t.child;case 12:return Ae(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Z(qi,n._currentValue),n._currentValue=l,i!==null)if(vt(i.value,l)){if(i.children===o.children&&!We.current){t=Zt(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var s=a.firstContext;s!==null;){if(s.context===n){if(i.tag===1){s=Jt(-1,r&-r),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?s.next=s:(s.next=d.next,d.next=s),c.pending=s}}i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),Ba(i.return,r,t),a.lanes|=r;break}s=s.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(N(341));l.lanes|=r,a=l.alternate,a!==null&&(a.lanes|=r),Ba(l,r,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}Ae(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Pn(t,r),o=at(o),n=n(o),t.flags|=1,Ae(e,t,n,r),t.child;case 14:return n=t.type,o=yt(n,t.pendingProps),o=yt(n.type,o),ag(e,t,n,o,r);case 15:return ug(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),nl(e,t),t.tag=1,$e(n)?(e=!0,Mi(t)):e=!1,Pn(t,r),eg(t,n,o),Ia(t,n,o,r),Wa(null,t,n,!0,e,r);case 19:return mg(e,t,r);case 22:return cg(e,t,r)}throw Error(N(156,t.tag))};function Hg(e,t){return kd(e,t)}function P1(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dt(e,t,r,n){return new P1(e,t,r,n)}function au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function N1(e){if(typeof e=="function")return au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ps)return 11;if(e===ms)return 14}return 2}function xr(e,t){var r=e.alternate;return r===null?(r=dt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function pl(e,t,r,n,o,i){var l=2;if(n=e,typeof e=="function")au(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case cn:return Yr(r.children,o,i,t);case fs:l=8,o|=8;break;case gs:return e=dt(12,r,t,o|2),e.elementType=gs,e.lanes=i,e;case hs:return e=dt(13,r,t,o),e.elementType=hs,e.lanes=i,e;case vs:return e=dt(19,r,t,o),e.elementType=vs,e.lanes=i,e;case Xc:return hl(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Kc:l=10;break e;case Yc:l=9;break e;case ps:l=11;break e;case ms:l=14;break e;case lr:l=16,n=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=dt(l,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Yr(e,t,r,n){return e=dt(7,e,n,t),e.lanes=r,e}function hl(e,t,r,n){return e=dt(22,e,n,t),e.elementType=Xc,e.lanes=r,e.stateNode={isHidden:!1},e}function uu(e,t,r){return e=dt(6,e,null,t),e.lanes=r,e}function cu(e,t,r){return t=dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function T1(e,t,r,n,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=zs(0),this.expirationTimes=zs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zs(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function du(e,t,r,n,o,i,l,a,s){return e=new T1(e,t,r,a,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=dt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sa(i),e}function D1(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:un,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function Wg(e){if(!e)return vr;e=e._reactInternals;e:{if(Lr(e)!==e||e.tag!==1)throw Error(N(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if($e(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(N(171))}if(e.tag===1){var r=e.type;if($e(r))return vf(e,r,t)}return t}function $g(e,t,r,n,o,i,l,a,s){return e=du(r,n,!0,e,o,i,l,a,s),e.context=Wg(null),r=e.current,n=Le(),o=_r(r),i=Jt(n,o),i.callback=t!=null?t:null,kr(r,i,o),e.current.lanes=o,no(e,o,n),Ve(e,n),e}function vl(e,t,r,n){var o=t.current,i=Le(),l=_r(o);return r=Wg(r),t.context===null?t.context=r:t.pendingContext=r,t=Jt(i,l),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=kr(o,t,l),e!==null&&(wt(e,o,l,i),Ki(e,o,l)),l}function ml(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 Ug(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function fu(e,t){Ug(e,t),(e=e.alternate)&&Ug(e,t)}function O1(){return null}var qg=typeof reportError=="function"?reportError:function(e){console.error(e)};function gu(e){this._internalRoot=e}yl.prototype.render=gu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(N(409));vl(e,t,null,null)},yl.prototype.unmount=gu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qr(function(){vl(null,e,null,null)}),t[Vt]=null}};function yl(e){this._internalRoot=e}yl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ed();e={blockedOn:null,target:e,priority:t};for(var r=0;r<dr.length&&t!==0&&t<dr[r].priority;r++);dr.splice(r,0,e),r===0&&Nd(e)}};function pu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function kl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Vg(){}function R1(e,t,r,n,o){if(o){if(typeof n=="function"){var i=n;n=function(){var c=ml(l);i.call(c)}}var l=$g(t,n,e,0,null,!1,!1,"",Vg);return e._reactRootContainer=l,e[Vt]=l.current,yo(e.nodeType===8?e.parentNode:e),qr(),l}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var a=n;n=function(){var c=ml(s);a.call(c)}}var s=du(e,0,!1,null,null,!1,!1,"",Vg);return e._reactRootContainer=s,e[Vt]=s.current,yo(e.nodeType===8?e.parentNode:e),qr(function(){vl(t,s,r,n)}),s}function bl(e,t,r,n,o){var i=r._reactRootContainer;if(i){var l=i;if(typeof o=="function"){var a=o;o=function(){var s=ml(l);a.call(s)}}vl(t,l,e,o)}else l=R1(r,t,e,o,n);return ml(l)}xd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=ro(t.pendingLanes);r!==0&&(Is(t,r|1),Ve(t,fe()),(U&6)===0&&(Rn=fe()+500,mr()))}break;case 13:qr(function(){var n=Qt(e,1);if(n!==null){var o=Le();wt(n,e,1,o)}}),fu(e,1)}},Ms=function(e){if(e.tag===13){var t=Qt(e,134217728);if(t!==null){var r=Le();wt(t,e,134217728,r)}fu(e,134217728)}},Fd=function(e){if(e.tag===13){var t=_r(e),r=Qt(e,t);if(r!==null){var n=Le();wt(r,e,t,n)}fu(e,t)}},Ed=function(){return Y},Cd=function(e,t){var r=Y;try{return Y=e,t()}finally{Y=r}},Ts=function(e,t,r){switch(t){case"input":if(_s(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=zi(n);if(!o)throw Error(N(90));Zc(n),_s(n,o)}}}break;case"textarea":nd(e,r);break;case"select":t=r.value,t!=null&&dn(e,!!r.multiple,t,!1)}},fd=iu,gd=qr;var A1={usingClientEntryPoint:!1,Events:[wo,wn,zi,cd,dd,iu]},Ao={findFiberByHostInstance:zr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},L1={bundleType:Ao.bundleType,version:Ao.version,rendererPackageName:Ao.rendererPackageName,rendererConfig:Ao.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:qt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=md(e),e===null?null:e.stateNode},findFiberByHostInstance:Ao.findFiberByHostInstance||O1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var wl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wl.isDisabled&&wl.supportsFiber)try{yi=wl.inject(L1),Ot=wl}catch{}}Xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A1,Xe.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!pu(t))throw Error(N(200));return D1(e,t,null,r)},Xe.createRoot=function(e,t){if(!pu(e))throw Error(N(299));var r=!1,n="",o=qg;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=du(e,1,!1,null,null,r,!1,n,o),e[Vt]=t.current,yo(e.nodeType===8?e.parentNode:e),new gu(t)},Xe.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(N(188)):(e=Object.keys(e).join(","),Error(N(268,e)));return e=md(t),e=e===null?null:e.stateNode,e},Xe.flushSync=function(e){return qr(e)},Xe.hydrate=function(e,t,r){if(!kl(t))throw Error(N(200));return bl(null,e,t,!0,r)},Xe.hydrateRoot=function(e,t,r){if(!pu(e))throw Error(N(405));var n=r!=null&&r.hydratedSources||null,o=!1,i="",l=qg;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(l=r.onRecoverableError)),t=$g(t,null,e,1,r!=null?r:null,o,!1,i,l),e[Vt]=t.current,yo(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new yl(t)},Xe.render=function(e,t,r){if(!kl(t))throw Error(N(200));return bl(null,e,t,!1,r)},Xe.unmountComponentAtNode=function(e){if(!kl(e))throw Error(N(40));return e._reactRootContainer?(qr(function(){bl(null,null,e,!1,function(){e._reactRootContainer=null,e[Vt]=null})}),!0):!1},Xe.unstable_batchedUpdates=iu,Xe.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!kl(r))throw Error(N(200));if(e==null||e._reactInternals===void 0)throw Error(N(38));return bl(e,t,r,!1,n)},Xe.version="18.3.1-next-f1338f8080-20240426",function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}t(),e.exports=Xe}(ss);var hu,Kg=ss.exports;hu=Kg.createRoot,Kg.hydrateRoot;function z1(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var X={exports:{}};(function(e,t){(function(r){{var n=r(z1,t);n!==void 0&&(e.exports=n)}})(function(r,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ANSIOutput=n.ANSIColor=n.ANSIFont=n.ANSIStyle=void 0;let o=0;const i=()=>`${++o}`.padStart(16,"0");var l;(function(u){u.Bold="ansiBold",u.Dim="ansiDim",u.Italic="ansiItalic",u.Underlined="ansiUnderlined",u.SlowBlink="ansiSlowBlink",u.RapidBlink="ansiRapidBlink",u.Hidden="ansiHidden",u.CrossedOut="ansiCrossedOut",u.Fraktur="ansiFraktur",u.DoubleUnderlined="ansiDoubleUnderlined",u.Framed="ansiFramed",u.Encircled="ansiEncircled",u.Overlined="ansiOverlined",u.Superscript="ansiSuperscript",u.Subscript="ansiSubscript"})(l||(n.ANSIStyle=l={}));var a;(function(u){u.AlternativeFont1="ansiAlternativeFont1",u.AlternativeFont2="ansiAlternativeFont2",u.AlternativeFont3="ansiAlternativeFont3",u.AlternativeFont4="ansiAlternativeFont4",u.AlternativeFont5="ansiAlternativeFont5",u.AlternativeFont6="ansiAlternativeFont6",u.AlternativeFont7="ansiAlternativeFont7",u.AlternativeFont8="ansiAlternativeFont8",u.AlternativeFont9="ansiAlternativeFont9"})(a||(n.ANSIFont=a={}));var s;(function(u){u.Black="ansiBlack",u.Red="ansiRed",u.Green="ansiGreen",u.Yellow="ansiYellow",u.Blue="ansiBlue",u.Magenta="ansiMagenta",u.Cyan="ansiCyan",u.White="ansiWhite",u.BrightBlack="ansiBrightBlack",u.BrightRed="ansiBrightRed",u.BrightGreen="ansiBrightGreen",u.BrightYellow="ansiBrightYellow",u.BrightBlue="ansiBrightBlue",u.BrightMagenta="ansiBrightMagenta",u.BrightCyan="ansiBrightCyan",u.BrightWhite="ansiBrightWhite"})(s||(n.ANSIColor=s={}));class c{constructor(){ge(this,"_parserState",m.BufferingOutput);ge(this,"_controlSequence","");ge(this,"_sgrState");ge(this,"_outputLines",[]);ge(this,"_outputLine",0);ge(this,"_outputColumn",0);ge(this,"_buffer","");ge(this,"_pendingNewline",!1)}get outputLines(){return this.flushBuffer(),this._outputLines}static processOutput(p){const b=new c;return b.processOutput(p),b.outputLines}processOutput(p){for(let b=0;b<p.length;b++){this._pendingNewline&&(this.flushBuffer(),this._outputLine++,this._outputColumn=0,this._pendingNewline=!1);const w=p.charAt(b);this._parserState===m.BufferingOutput?w==="\x1B"?(this.flushBuffer(),this._parserState=m.ControlSequenceStarted):w==="\x9B"?(this.flushBuffer(),this._parserState=m.ParsingControlSequence):this.processCharacter(w):this._parserState===m.ControlSequenceStarted?w==="["?this._parserState=m.ParsingControlSequence:(this._parserState=m.BufferingOutput,this.processCharacter(w)):this._parserState===m.ParsingControlSequence&&(this._controlSequence+=w,w.match(/^[A-Za-z]$/)&&this.processControlSequence())}this.flushBuffer()}flushBuffer(){for(let p=this._outputLines.length;p<this._outputLine+1;p++)this._outputLines.push(new k);this._buffer&&(this._outputLines[this._outputLine].insert(this._buffer,this._outputColumn,this._sgrState),this._outputColumn+=this._buffer.length,this._buffer="")}processCharacter(p){switch(p){case` `:this._pendingNewline=!0;break;case"\r":this.flushBuffer(),this._outputColumn=0;break;default:this._buffer+=p;break}}processControlSequence(){switch(this._controlSequence.charAt(this._controlSequence.length-1)){case"A":this.processCUU();break;case"B":this.processCUD();break;case"C":this.processCUF();break;case"D":this.processCUB();break;case"H":this.processCUP();break;case"J":this.processED();break;case"K":this.processEL();break;case"m":this.processSGR();break}this._controlSequence="",this._parserState=m.BufferingOutput}processCUU(){const p=this._controlSequence.match(/^([0-9]*)A$/);!p||(this._outputLine=Math.max(this._outputLine-y(p[1],1,1,1024),0))}processCUD(){const p=this._controlSequence.match(/^([0-9]*)B$/);!p||(this._outputLine=Math.max(this._outputLine-y(p[1],1,1,1024),0))}processCUF(){const p=this._controlSequence.match(/^([0-9]*)C$/);!p||(this._outputColumn+=y(p[1],1,1,1024))}processCUB(){const p=this._controlSequence.match(/^([0-9]*)D$/);!p||(this._outputColumn=Math.max(this._outputColumn-y(p[1],1,1,1024),0))}processCUP(){const p=this._controlSequence.match(/^([0-9]*)(?:;?([0-9]*))H$/);!p||(this._outputLine=this.rangeParam(p[1],1,1,1024)-1,this._outputColumn=this.rangeParam(p[2],1,1,1024)-1)}processED(){const p=this._controlSequence.match(/^([0-9]*)J$/);if(!!p)switch(this.getParam(p[1],0)){case 0:this._outputLines[this._outputLine].clearToEndOfLine(this._outputColumn);for(let b=this._outputLine+1;b<this._outputLines.length;b++)this._outputLines[b].clearEntireLine();break;case 1:this._outputLines[this._outputLine].clearToBeginningOfLine(this._outputColumn);for(let b=0;b<this._outputLine;b++)this._outputLines[b].clearEntireLine();break;case 2:for(let b=0;b<this._outputLines.length;b++)this._outputLines[b].clearEntireLine();break}}processEL(){const p=this._controlSequence.match(/^([0-9]*)K$/);if(!p)return;const b=this._outputLines[this._outputLine];switch(this.getParam(p[1],0)){case 0:b.clearToEndOfLine(this._outputColumn);break;case 1:b.clearToBeginningOfLine(this._outputColumn);break;case 2:b.clearEntireLine();break}}processSGR(){const p=this._sgrState?this._sgrState.copy():new v,b=this._controlSequence.slice(0,-1).split(";").map(w=>w===""?d.Reset:parseInt(w,10));for(let w=0;w<b.length;w++){const _=b[w],F=()=>{if(w+1!==b.length)switch(b[++w]){case f.Color256:{if(w+1===b.length)return;const O=b[++w];switch(O){case g.Black:return s.Black;case g.Red:return s.Red;case g.Green:return s.Green;case g.Yellow:return s.Yellow;case g.Blue:return s.Blue;case g.Magenta:return s.Magenta;case g.Cyan:return s.Cyan;case g.White:return s.White;case g.BrightBlack:return s.BrightBlack;case g.BrightRed:return s.BrightRed;case g.BrightGreen:return s.BrightGreen;case g.BrightYellow:return s.BrightYellow;case g.BrightBlue:return s.BrightBlue;case g.BrightMagenta:return s.BrightMagenta;case g.BrightCyan:return s.Cyan;case g.BrightWhite:return s.BrightWhite;default:if(O%1!==0)return;if(O>=16&&O<=231){let C=O-16,L=C%6;C=(C-L)/6;let I=C%6;C=(C-I)/6;let K=C;return L=Math.round(L*255/5),I=Math.round(I*255/5),K=Math.round(K*255/5),"#"+h(K)+h(I)+h(L)}else if(O>=232&&O<=255){const C=Math.round((O-232)/23*255),L=h(C);return"#"+L+L+L}else return}}case f.ColorRGB:{const O=[0,0,0];for(let C=0;C<3&&w+1<b.length;C++)O[C]=b[++w];return"#"+h(O[0])+h(O[1])+h(O[2])}}};switch(_){case d.Reset:p.reset();break;case d.Bold:p.setStyle(l.Bold);break;case d.Dim:p.setStyle(l.Dim);break;case d.Italic:p.setStyle(l.Italic);break;case d.Underlined:p.setStyle(l.Underlined,l.DoubleUnderlined);break;case d.SlowBlink:p.setStyle(l.SlowBlink,l.RapidBlink);break;case d.RapidBlink:p.setStyle(l.RapidBlink,l.SlowBlink);break;case d.Reversed:p.setReversed(!0);break;case d.Hidden:p.setStyle(l.Hidden);break;case d.CrossedOut:p.setStyle(l.CrossedOut);break;case d.PrimaryFont:p.setFont();break;case d.AlternativeFont1:p.setFont(a.AlternativeFont1);break;case d.AlternativeFont2:p.setFont(a.AlternativeFont2);break;case d.AlternativeFont3:p.setFont(a.AlternativeFont3);break;case d.AlternativeFont4:p.setFont(a.AlternativeFont4);break;case d.AlternativeFont5:p.setFont(a.AlternativeFont5);break;case d.AlternativeFont6:p.setFont(a.AlternativeFont6);break;case d.AlternativeFont7:p.setFont(a.AlternativeFont7);break;case d.AlternativeFont8:p.setFont(a.AlternativeFont8);break;case d.AlternativeFont9:p.setFont(a.AlternativeFont9);break;case d.Fraktur:p.setStyle(l.Fraktur);break;case d.DoubleUnderlined:p.setStyle(l.DoubleUnderlined,l.Underlined);break;case d.NormalIntensity:p.deleteStyles(l.Bold,l.Dim);break;case d.NotItalicNotFraktur:p.deleteStyles(l.Italic,l.Fraktur);break;case d.NotUnderlined:p.deleteStyles(l.Underlined,l.DoubleUnderlined);break;case d.NotBlinking:p.deleteStyles(l.SlowBlink,l.RapidBlink);break;case d.ProportionalSpacing:break;case d.NotReversed:p.setReversed(!1);break;case d.Reveal:p.deleteStyles(l.Hidden);break;case d.NotCrossedOut:p.deleteStyles(l.CrossedOut);break;case d.ForegroundBlack:p.setForegroundColor(s.Black);break;case d.ForegroundRed:p.setForegroundColor(s.Red);break;case d.ForegroundGreen:p.setForegroundColor(s.Green);break;case d.ForegroundYellow:p.setForegroundColor(s.Yellow);break;case d.ForegroundBlue:p.setForegroundColor(s.Blue);break;case d.ForegroundMagenta:p.setForegroundColor(s.Magenta);break;case d.ForegroundCyan:p.setForegroundColor(s.Cyan);break;case d.ForegroundWhite:p.setForegroundColor(s.White);break;case d.SetForeground:{const O=F();O&&p.setForegroundColor(O);break}case d.DefaultForeground:p.setForegroundColor();break;case d.BackgroundBlack:p.setBackgroundColor(s.Black);break;case d.BackgroundRed:p.setBackgroundColor(s.Red);break;case d.BackgroundGreen:p.setBackgroundColor(s.Green);break;case d.BackgroundYellow:p.setBackgroundColor(s.Yellow);break;case d.BackgroundBlue:p.setBackgroundColor(s.Blue);break;case d.BackgroundMagenta:p.setBackgroundColor(s.Magenta);break;case d.BackgroundCyan:p.setBackgroundColor(s.Cyan);break;case d.BackgroundWhite:p.setBackgroundColor(s.White);break;case d.SetBackground:{const O=F();O&&p.setBackgroundColor(O);break}case d.DefaultBackground:p.setBackgroundColor();break;case d.ForegroundBrightBlack:p.setForegroundColor(s.BrightBlack);break;case d.ForegroundBrightRed:p.setForegroundColor(s.BrightRed);break;case d.ForegroundBrightGreen:p.setForegroundColor(s.BrightGreen);break;case d.ForegroundBrightYellow:p.setForegroundColor(s.BrightYellow);break;case d.ForegroundBrightBlue:p.setForegroundColor(s.BrightBlue);break;case d.ForegroundBrightMagenta:p.setForegroundColor(s.BrightMagenta);break;case d.ForegroundBrightCyan:p.setForegroundColor(s.BrightCyan);break;case d.ForegroundBrightWhite:p.setForegroundColor(s.BrightWhite);break;case d.BackgroundBrightBlack:p.setBackgroundColor(s.BrightBlack);break;case d.BackgroundBrightRed:p.setBackgroundColor(s.BrightRed);break;case d.BackgroundBrightGreen:p.setBackgroundColor(s.BrightGreen);break;case d.BackgroundBrightYellow:p.setBackgroundColor(s.BrightYellow);break;case d.BackgroundBrightBlue:p.setBackgroundColor(s.BrightBlue);break;case d.BackgroundBrightMagenta:p.setBackgroundColor(s.BrightMagenta);break;case d.BackgroundBrightCyan:p.setBackgroundColor(s.BrightCyan);break;case d.BackgroundBrightWhite:p.setBackgroundColor(s.BrightWhite);break}}v.equivalent(p,this._sgrState)||(this._sgrState=p)}rangeParam(p,b,w,_){const F=this.getParam(p,b);return Math.min(Math.max(F,w),_)}getParam(p,b){const w=parseInt(p);return Number.isNaN(w)?b:w}}n.ANSIOutput=c;var d;(function(u){u[u.Reset=0]="Reset",u[u.Bold=1]="Bold",u[u.Dim=2]="Dim",u[u.Italic=3]="Italic",u[u.Underlined=4]="Underlined",u[u.SlowBlink=5]="SlowBlink",u[u.RapidBlink=6]="RapidBlink",u[u.Reversed=7]="Reversed",u[u.Hidden=8]="Hidden",u[u.CrossedOut=9]="CrossedOut",u[u.PrimaryFont=10]="PrimaryFont",u[u.AlternativeFont1=11]="AlternativeFont1",u[u.AlternativeFont2=12]="AlternativeFont2",u[u.AlternativeFont3=13]="AlternativeFont3",u[u.AlternativeFont4=14]="AlternativeFont4",u[u.AlternativeFont5=15]="AlternativeFont5",u[u.AlternativeFont6=16]="AlternativeFont6",u[u.AlternativeFont7=17]="AlternativeFont7",u[u.AlternativeFont8=18]="AlternativeFont8",u[u.AlternativeFont9=19]="AlternativeFont9",u[u.Fraktur=20]="Fraktur",u[u.DoubleUnderlined=21]="DoubleUnderlined",u[u.NormalIntensity=22]="NormalIntensity",u[u.NotItalicNotFraktur=23]="NotItalicNotFraktur",u[u.NotUnderlined=24]="NotUnderlined",u[u.NotBlinking=25]="NotBlinking",u[u.ProportionalSpacing=26]="ProportionalSpacing",u[u.NotReversed=27]="NotReversed",u[u.Reveal=28]="Reveal",u[u.NotCrossedOut=29]="NotCrossedOut",u[u.ForegroundBlack=30]="ForegroundBlack",u[u.ForegroundRed=31]="ForegroundRed",u[u.ForegroundGreen=32]="ForegroundGreen",u[u.ForegroundYellow=33]="ForegroundYellow",u[u.ForegroundBlue=34]="ForegroundBlue",u[u.ForegroundMagenta=35]="ForegroundMagenta",u[u.ForegroundCyan=36]="ForegroundCyan",u[u.ForegroundWhite=37]="ForegroundWhite",u[u.SetForeground=38]="SetForeground",u[u.DefaultForeground=39]="DefaultForeground",u[u.BackgroundBlack=40]="BackgroundBlack",u[u.BackgroundRed=41]="BackgroundRed",u[u.BackgroundGreen=42]="BackgroundGreen",u[u.BackgroundYellow=43]="BackgroundYellow",u[u.BackgroundBlue=44]="BackgroundBlue",u[u.BackgroundMagenta=45]="BackgroundMagenta",u[u.BackgroundCyan=46]="BackgroundCyan",u[u.BackgroundWhite=47]="BackgroundWhite",u[u.SetBackground=48]="SetBackground",u[u.DefaultBackground=49]="DefaultBackground",u[u.DisableProportionalSpacing=50]="DisableProportionalSpacing",u[u.Framed=51]="Framed",u[u.Encircled=52]="Encircled",u[u.Overlined=53]="Overlined",u[u.NotFramedNotEncircled=54]="NotFramedNotEncircled",u[u.NotOverlined=55]="NotOverlined",u[u.SetUnderline=58]="SetUnderline",u[u.DefaultUnderline=59]="DefaultUnderline",u[u.IdeogramUnderlineOrRightSideLine=60]="IdeogramUnderlineOrRightSideLine",u[u.IdeogramDoubleUnderlineOrDoubleRightSideLine=61]="IdeogramDoubleUnderlineOrDoubleRightSideLine",u[u.IdeogramOverlineOrLeftSideLine=62]="IdeogramOverlineOrLeftSideLine",u[u.IdeogramDoubleOverlineOrDoubleLeftSideLine=63]="IdeogramDoubleOverlineOrDoubleLeftSideLine",u[u.IdeogramStressMarking=64]="IdeogramStressMarking",u[u.NoIdeogramAttributes=65]="NoIdeogramAttributes",u[u.Superscript=73]="Superscript",u[u.Subscript=74]="Subscript",u[u.NotSuperscriptNotSubscript=75]="NotSuperscriptNotSubscript",u[u.ForegroundBrightBlack=90]="ForegroundBrightBlack",u[u.ForegroundBrightRed=91]="ForegroundBrightRed",u[u.ForegroundBrightGreen=92]="ForegroundBrightGreen",u[u.ForegroundBrightYellow=93]="ForegroundBrightYellow",u[u.ForegroundBrightBlue=94]="ForegroundBrightBlue",u[u.ForegroundBrightMagenta=95]="ForegroundBrightMagenta",u[u.ForegroundBrightCyan=96]="ForegroundBrightCyan",u[u.ForegroundBrightWhite=97]="ForegroundBrightWhite",u[u.BackgroundBrightBlack=100]="BackgroundBrightBlack",u[u.BackgroundBrightRed=101]="BackgroundBrightRed",u[u.BackgroundBrightGreen=102]="BackgroundBrightGreen",u[u.BackgroundBrightYellow=103]="BackgroundBrightYellow",u[u.BackgroundBrightBlue=104]="BackgroundBrightBlue",u[u.BackgroundBrightMagenta=105]="BackgroundBrightMagenta",u[u.BackgroundBrightCyan=106]="BackgroundBrightCyan",u[u.BackgroundBrightWhite=107]="BackgroundBrightWhite"})(d||(d={}));var f;(function(u){u[u.Color256=5]="Color256",u[u.ColorRGB=2]="ColorRGB"})(f||(f={}));var g;(function(u){u[u.Black=0]="Black",u[u.Red=1]="Red",u[u.Green=2]="Green",u[u.Yellow=3]="Yellow",u[u.Blue=4]="Blue",u[u.Magenta=5]="Magenta",u[u.Cyan=6]="Cyan",u[u.White=7]="White",u[u.BrightBlack=8]="BrightBlack",u[u.BrightRed=9]="BrightRed",u[u.BrightGreen=10]="BrightGreen",u[u.BrightYellow=11]="BrightYellow",u[u.BrightBlue=12]="BrightBlue",u[u.BrightMagenta=13]="BrightMagenta",u[u.BrightCyan=14]="BrightCyan",u[u.BrightWhite=15]="BrightWhite"})(g||(g={}));var m;(function(u){u[u.BufferingOutput=0]="BufferingOutput",u[u.ControlSequenceStarted=1]="ControlSequenceStarted",u[u.ParsingControlSequence=2]="ParsingControlSequence"})(m||(m={}));class v{constructor(){ge(this,"_styles");ge(this,"_foregroundColor");ge(this,"_backgroundColor");ge(this,"_underlinedColor");ge(this,"_reversed");ge(this,"_font")}reset(){this._styles=void 0,this._foregroundColor=void 0,this._backgroundColor=void 0,this._underlinedColor=void 0,this._reversed=void 0,this._font=void 0}copy(){const p=new v;if(this._styles&&this._styles.size){const b=new Set;this._styles.forEach(w=>b.add(w)),p._styles=b}return p._foregroundColor=this._foregroundColor,p._backgroundColor=this._backgroundColor,p._underlinedColor=this._underlinedColor,p._reversed=this._reversed,p._font=this._font,p}setStyle(p,...b){if(this._styles)for(const w of b)this._styles.delete(w);else this._styles=new Set;this._styles.add(p)}deleteStyles(...p){if(this._styles){for(const b of p)this._styles.delete(b);this._styles.size||(this._styles=void 0)}}setForegroundColor(p){this._reversed?this._backgroundColor=p:this._foregroundColor=p}setBackgroundColor(p){this._reversed?this._foregroundColor=p:this._backgroundColor=p}setReversed(p){p?this._reversed||(this._reversed=!0,this.reverseForegroundAndBackgroundColors()):this._reversed&&(this._reversed=void 0,this.reverseForegroundAndBackgroundColors())}setFont(p){this._font=p}static equivalent(p,b){const w=(_,F)=>F instanceof Set?F.size?[...F]:void 0:F;return p===b||JSON.stringify(p,w)===JSON.stringify(b,w)}get styles(){return this._styles?[...this._styles]:[]}get foregroundColor(){if(this._backgroundColor&&!this._foregroundColor)switch(this._backgroundColor){case s.Black:case s.BrightBlack:case s.Red:case s.BrightRed:return s.White;case s.Green:case s.BrightGreen:case s.Yellow:case s.BrightYellow:case s.Blue:case s.BrightBlue:case s.Magenta:case s.BrightMagenta:case s.Cyan:case s.BrightCyan:case s.White:case s.BrightWhite:return s.Black}return this._foregroundColor}get backgroundColor(){return this._backgroundColor}get underlinedColor(){return this._underlinedColor}get font(){return this._font}reverseForegroundAndBackgroundColors(){const p=this._foregroundColor;this._foregroundColor=this._backgroundColor,this._backgroundColor=p}}class k{constructor(){ge(this,"_id",i());ge(this,"_outputRuns",[]);ge(this,"_totalLength",0)}clearEntireLine(){this._totalLength&&(this._outputRuns=[new B(" ".repeat(this._totalLength))])}clearToEndOfLine(p){if(p=Math.max(p,0),p>=this._totalLength)return;if(p===0){this.clearEntireLine();return}let b=0,w,_;for(let L=0;L<this._outputRuns.length;L++){const I=this._outputRuns[L];if(p<b+I.text.length){w=I,_=L;break}b+=I.text.length}if(w===void 0||_===void 0)return;const F=p-b,O=" ".repeat(this._totalLength-p),C=[];if(!F)C.push(new B(O));else{const L=w.text.slice(0,F);C.push(new B(L,w.sgrState)),C.push(new B(O))}this.outputRuns.splice(_,this._outputRuns.length-_,...C)}clearToBeginningOfLine(p){if(p=Math.max(p,0),p===0)return;if(p>=this._totalLength){this.clearEntireLine();return}let b=0,w,_;for(let L=this._outputRuns.length-1;L>=0;L--){const I=this._outputRuns[L];if(p>=b-I.text.length){w=I,_=L;break}b-=I.text.length}if(w===void 0||_===void 0)return;const F=b-p,O=" ".repeat(p),C=[new B(O)];if(F){const L=w.text.slice(-F);C.push(new B(L,w.sgrState))}this.outputRuns.splice(0,this._outputRuns.length-_,...C)}insert(p,b,w){if(!p.length)return;if(b===this._totalLength){if(this._totalLength+=p.length,this._outputRuns.length){const z=this._outputRuns[this._outputRuns.length-1];if(v.equivalent(z.sgrState,w)){z.appendText(p);return}}this._outputRuns.push(new B(p,w));return}if(b>this._totalLength){const z=" ".repeat(b-this._totalLength);if(this._totalLength+=z.length+p.length,!w&&this._outputRuns.length){const H=this._outputRuns[this._outputRuns.length-1];if(!H.sgrState){H.appendText(z),H.appendText(p);return}}this._outputRuns.push(new B(z)),this._outputRuns.push(new B(p,w));return}let _=0,F;for(let z=0;z<this._outputRuns.length;z++){const H=this._outputRuns[z];if(b<_+H.text.length){F=z;break}_+=H.text.length}if(F===void 0){this._outputRuns.push(new B(p,w));return}if(b+p.length>=this._totalLength){const z=b-_,H=[];if(!z)H.push(new B(p,w));else{const ne=this._outputRuns[F],de=ne.text.slice(0,z);v.equivalent(ne.sgrState,w)?H.push(new B(de+p,w)):(H.push(new B(de,ne.sgrState)),H.push(new B(p,w)))}this.outputRuns.splice(F,1,...H),this._totalLength=_+z+p.length;return}let O=this._totalLength,C;for(let z=this._outputRuns.length-1;z>=0;z--){const H=this._outputRuns[z];if(b+p.length>O-H.text.length){C=z;break}O-=H.text.length}if(C===void 0){this._outputRuns.push(new B(p,w));return}const L=[],I=b-_;if(I){const z=this._outputRuns[F],H=z.text.slice(0,I);L.push(new B(H,z.sgrState))}L.push(new B(p,w));const K=O-(b+p.length);if(K){const z=this._outputRuns[C],H=z.text.slice(-K);L.push(new B(H,z.sgrState))}this._outputRuns.splice(F,C-F+1,...L),this._outputRuns=B.optimizeOutputRuns(this._outputRuns),this._totalLength=this._outputRuns.reduce((z,H)=>z+H.text.length,0)}get id(){return this._id}get outputRuns(){return this._outputRuns}}class B{constructor(p,b){ge(this,"_id",i());ge(this,"_sgrState");ge(this,"_text");this._sgrState=b,this._text=p}get sgrState(){return this._sgrState}static optimizeOutputRuns(p){if(p.length<2)return p;{const b=[p[0]];for(let w=1,_=0;w<p.length;w++){const F=p[w];v.equivalent(b[_].sgrState,F.sgrState)?b[_]._text+=F.text:b[++_]=F}return b}}appendText(p){this._text+=p}insert(p,b){this._id=i();const w=this.text.slice(0,b),_=this.text.slice(b+p.length);this._text=w+p+_}get id(){return this._id}get format(){return this._sgrState}get text(){return this._text}}const y=(u,p,b,w)=>{const _=parseInt(u);return Number.isNaN(_)?p:Math.min(Math.max(_,b),w)},h=u=>{if(u<0)return"00";if(u>255)return"ff";const p=u.toString(16);return p.length===2?p:"0"+p}})})(X,X.exports);function I1(e){return Array.isArray(e)?e:[e]}const vu=typeof window>"u"?global:window,mu="@griffel/";function M1(e,t){return vu[Symbol.for(mu+e)]||(vu[Symbol.for(mu+e)]=t),vu[Symbol.for(mu+e)]}const Lo=M1("DEFINITION_LOOKUP_TABLE",{}),zo="data-make-styles-bucket",j1="data-priority",yu="f",ku=7,Ln="___",Yg=Ln.length+ku,H1=0,W1=1,$1={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},bu="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function U1(e,t,r,n){const o=[];if(n[zo]=t,n[j1]=String(r),e)for(const l in n)e.setAttribute(l,n[l]);function i(l){return e!=null&&e.sheet?e.sheet.insertRule(l,e.sheet.cssRules.length):o.push(l)}return{elementAttributes:n,insertRule:i,element:e,bucketName:t,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(l=>l.cssText):o}}}const Xg=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,t,r)=>(e[t]=r,e),{});function q1(e,t,r){return(e==="m"?e+t:e)+r}function V1(e,t,r,n,o={}){var i,l;const a=e==="m",s=(i=o.m)!=null?i:"0",c=(l=o.p)!=null?l:0,d=q1(e,s,c);if(!n.stylesheets[d]){const f=t&&t.createElement("style"),g=U1(f,e,c,Object.assign({},n.styleElementAttributes,a&&{media:s}));n.stylesheets[d]=g,t&&f&&t.head.insertBefore(f,Y1(t,r,e,n,o))}return n.stylesheets[d]}function K1(e,t,r){var n,o;const i=t+((n=r.m)!=null?n:""),l=e.getAttribute(zo)+((o=e.media)!=null?o:"");return i===l}function Y1(e,t,r,n,o={}){var i,l;const a=Xg[r],s=(i=o.m)!=null?i:"",c=(l=o.p)!=null?l:0;let d=k=>a-Xg[k.getAttribute(zo)],f=e.head.querySelectorAll(`[${zo}]`);if(r==="m"){const k=e.head.querySelectorAll(`[${zo}="${r}"]`);k.length&&(f=k,d=B=>n.compareMediaQueries(s,B.media))}const g=k=>K1(k,r,o)?c-Number(k.getAttribute("data-priority")):d(k),m=f.length;let v=m-1;for(;v>=0;){const k=f.item(v);if(g(k)>0)return k.nextSibling;v--}return m>0?f.item(0):t?t.nextSibling:null}function Qg(e,t){try{e.insertRule(t)}catch{}}const s3=(()=>{try{var e;return Boolean(typeof window<"u"&&((e=window.sessionStorage)==null?void 0:e.getItem("__GRIFFEL_DEVTOOLS__")))}catch{return!1}})();function Io(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function X1(e){const t=e.length;if(t===ku)return e;for(let r=t;r<ku;r++)e+="0";return e}function Jg(e,t,r=[]){return Ln+X1(Io(e+t))}function Zg(e,t){let r="",n="";for(const o in e){const i=e[o];if(i===0){n+=o+" ";continue}const l=Array.isArray(i),a=t==="rtl"?(l?i[1]:i)+" ":(l?i[0]:i)+" ";r+=a,n+=a}return[r.slice(0,-1),n.slice(0,-1)]}function Bl(e,t){const r={};for(const n in e){const[o,i]=Zg(e[n],t);if(i===""){r[n]="";continue}const l=Jg(i,t),a=l+(o===""?"":" "+o);Lo[l]=[e[n],t],r[n]=a}return r}const _l={};function Se(){let e=null,t="",r="";const n=new Array(arguments.length);for(let f=0;f<arguments.length;f++){const g=arguments[f];if(typeof g=="string"&&g!==""){const m=g.indexOf(Ln);if(m===-1)t+=g+" ";else{const v=g.substr(m,Yg);m>0&&(t+=g.slice(0,m)),r+=v,n[f]=v}}}if(r==="")return t.slice(0,-1);const o=_l[r];if(o!==void 0)return t+o;const i=[];for(let f=0;f<arguments.length;f++){const g=n[f];if(g){const m=Lo[g];m&&(i.push(m[H1]),e=m[W1])}}const l=Object.assign.apply(Object,[{}].concat(i)),[a,s]=Zg(l,e),c=Jg(s,e,n),d=c+" "+a;return _l[r]=d,Lo[c]=[l,e],t+d}const Gg={},ep=new Set,wu={getChildrenSequences:e=>{const t=Object.keys(_l).find(r=>_l[r].startsWith(e));return t?t.split(Ln).filter(r=>r.length).map(r=>Ln+r):[]},addCSSRule:e=>{ep.add(e)},addSequenceDetails:(e,t)=>{Object.entries(e).forEach(([r,n])=>{Gg[n.substring(0,Yg)]={slotName:r,sourceURL:t}})},getCSSRules:()=>Array.from(ep),getSequenceDetails:e=>Gg[e]};function tp(e,t){return Array.isArray(e)?t==="rtl"?e[1]:e[0]:e||""}function Q1(e,t,r,n){const o=e[0],i=e[1];return Object.entries(o).map(([l,a])=>{const s=tp(a,i);let c;if(r&&t){const d=r.find(({className:f})=>f===s);!d&&t[0][l]?c=tp(t[0][l],t[1]):d&&t[0][l]?c=(n?n.filter(({debugClassNames:g})=>g.filter(({className:m})=>m===s).length>0).length>0:!1)?d.className:d.overriddenBy:(!d&&!t[0][l]||d&&!t[0][l])&&(c=void 0)}return{className:s,overriddenBy:c}})}function rp(e,t){const r=Lo[e];if(r===void 0)return;const n=t?Lo[t.sequenceHash]:void 0,o=Q1(r,n,t==null?void 0:t.debugClassNames,t==null?void 0:t.children),i={sequenceHash:e,direction:r[1],children:[],debugClassNames:o};return wu.getChildrenSequences(i.sequenceHash).reverse().forEach(a=>{const s=rp(a,i);s&&i.children.push(s)}),i.children.length||(i.rules={},i.debugClassNames.forEach(({className:a})=>{const s=wu.getSequenceDetails(e);s&&(i.slot=s.slotName,i.sourceURL=s.sourceURL);const c=wu.getCSSRules().find(d=>d.includes(a));i.rules[a]=c})),i}function a3(e){const t=e.defaultView;if(!t||t.__GRIFFEL_DEVTOOLS__)return;const r={getInfo:n=>{const o=Array.from(n.classList).find(i=>i.startsWith(Ln));if(o!==void 0)return rp(o)}};Object.defineProperty(t,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return r}})}let J1=0;const Z1=(e,t)=>e<t?-1:e>t?1:0;function G1(e=typeof document>"u"?void 0:document,t={}){const{unstable_filterCSSRule:r,insertionPoint:n,styleElementAttributes:o,compareMediaQueries:i=Z1}=t,l={insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(o),compareMediaQueries:i,id:`d${J1++}`,insertCSSRules(a){for(const s in a){const c=a[s];for(let d=0,f=c.length;d<f;d++){const[g,m]=I1(c[d]),v=V1(s,e,n||null,l,m);l.insertionCache[g]||(l.insertionCache[g]=s,r?r(g)&&Qg(v,g):Qg(v,g))}}}};return l}const Bu=()=>{const e={};return function(r,n){e[r.id]===void 0&&(r.insertCSSRules(n),e[r.id]=!0)}};function np(e){return e.reduce(function(t,r){var n=r[0],o=r[1];return t[n]=o,t[o]=n,t},{})}function ey(e){return typeof e=="boolean"}function ty(e){return typeof e=="function"}function Mo(e){return typeof e=="number"}function ry(e){return e===null||typeof e>"u"}function ny(e){return e&&typeof e=="object"}function oy(e){return typeof e=="string"}function Sl(e,t){return e.indexOf(t)!==-1}function iy(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function xl(e,t,r,n){return t+iy(r)+n}function ly(e){var t=e.indexOf(".");if(t===-1)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=100-parseFloat(e),e=e.toFixed(r)+"%"}return e}function op(e){return e.replace(/ +/g," ").split(" ").map(function(t){return t.trim()}).filter(Boolean).reduce(function(t,r){var n=t.list,o=t.state,i=(r.match(/\(/g)||[]).length,l=(r.match(/\)/g)||[]).length;return o.parensDepth>0?n[n.length-1]=n[n.length-1]+" "+r:n.push(r),o.parensDepth+=i-l,{list:n,state:o}},{list:[],state:{parensDepth:0}}).list}function ip(e){var t=op(e);if(t.length<=3||t.length>4)return e;var r=t[0],n=t[1],o=t[2],i=t[3];return[r,i,o,n].join(" ")}function sy(e){return!ey(e)&&!ry(e)}function ay(e){for(var t=[],r=0,n=0,o=!1;n<e.length;)!o&&e[n]===","?(t.push(e.substring(r,n).trim()),n++,r=n):e[n]==="("?(o=!0,n++):(e[n]===")"&&(o=!1),n++);return r!=n&&t.push(e.substring(r,n+1)),t}var P={padding:function(t){var r=t.value;return Mo(r)?r:ip(r)},textShadow:function(t){var r=t.value,n=ay(r).map(function(o){return o.replace(/(^|\s)(-*)([.|\d]+)/,function(i,l,a,s){if(s==="0")return i;var c=a===""?"-":"";return""+l+c+s})});return n.join(",")},borderColor:function(t){var r=t.value;return ip(r)},borderRadius:function(t){var r=t.value;if(Mo(r))return r;if(Sl(r,"/")){var n=r.split("/"),o=n[0],i=n[1],l=P.borderRadius({value:o.trim()}),a=P.borderRadius({value:i.trim()});return l+" / "+a}var s=op(r);switch(s.length){case 2:return s.reverse().join(" ");case 4:{var c=s[0],d=s[1],f=s[2],g=s[3];return[d,c,g,f].join(" ")}default:return r}},background:function(t){var r=t.value,n=t.valuesToConvert,o=t.isRtl,i=t.bgImgDirectionRegex,l=t.bgPosDirectionRegex;if(Mo(r))return r;var a=r.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return r=r.replace(a,P.backgroundPosition({value:a,valuesToConvert:n,isRtl:o,bgPosDirectionRegex:l})),P.backgroundImage({value:r,valuesToConvert:n,bgImgDirectionRegex:i})},backgroundImage:function(t){var r=t.value,n=t.valuesToConvert,o=t.bgImgDirectionRegex;return!Sl(r,"url(")&&!Sl(r,"linear-gradient(")?r:r.replace(o,function(i,l,a){return i.replace(a,n[a])})},backgroundPosition:function(t){var r=t.value,n=t.valuesToConvert,o=t.isRtl,i=t.bgPosDirectionRegex;return r.replace(o?/^((-|\d|\.)+%)/:null,function(l,a){return ly(a)}).replace(i,function(l){return n[l]})},backgroundPositionX:function(t){var r=t.value,n=t.valuesToConvert,o=t.isRtl,i=t.bgPosDirectionRegex;return Mo(r)?r:P.backgroundPosition({value:r,valuesToConvert:n,isRtl:o,bgPosDirectionRegex:i})},transition:function(t){var r=t.value,n=t.propertiesToConvert;return r.split(/,\s*/g).map(function(o){var i=o.split(" ");return i[0]=n[i[0]]||i[0],i.join(" ")}).join(", ")},transitionProperty:function(t){var r=t.value,n=t.propertiesToConvert;return r.split(/,\s*/g).map(function(o){return n[o]||o}).join(", ")},transform:function(t){var r=t.value,n="[^\\u0020-\\u007e]",o="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",i="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+n+"|"+o+")")+("(?:[_a-z0-9-]|"+n+"|"+o+")")+"*")+")?")+")|(?:inherit|auto))",l=new RegExp("(translateX\\s*\\(\\s*)"+i+"(\\s*\\))","gi"),a=new RegExp("(translate\\s*\\(\\s*)"+i+"((?:\\s*,\\s*"+i+"){0,1}\\s*\\))","gi"),s=new RegExp("(translate3d\\s*\\(\\s*)"+i+"((?:\\s*,\\s*"+i+"){0,2}\\s*\\))","gi"),c=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+i+"(\\s*\\))","gi");return r.replace(l,xl).replace(a,xl).replace(s,xl).replace(c,xl)}};P.objectPosition=P.backgroundPosition,P.margin=P.padding,P.borderWidth=P.padding,P.boxShadow=P.textShadow,P.webkitBoxShadow=P.boxShadow,P.mozBoxShadow=P.boxShadow,P.WebkitBoxShadow=P.boxShadow,P.MozBoxShadow=P.boxShadow,P.borderStyle=P.borderColor,P.webkitTransform=P.transform,P.mozTransform=P.transform,P.WebkitTransform=P.transform,P.MozTransform=P.transform,P.transformOrigin=P.backgroundPosition,P.webkitTransformOrigin=P.transformOrigin,P.mozTransformOrigin=P.transformOrigin,P.WebkitTransformOrigin=P.transformOrigin,P.MozTransformOrigin=P.transformOrigin,P.webkitTransition=P.transition,P.mozTransition=P.transition,P.WebkitTransition=P.transition,P.MozTransition=P.transition,P.webkitTransitionProperty=P.transitionProperty,P.mozTransitionProperty=P.transitionProperty,P.WebkitTransitionProperty=P.transitionProperty,P.MozTransitionProperty=P.transitionProperty,P["text-shadow"]=P.textShadow,P["border-color"]=P.borderColor,P["border-radius"]=P.borderRadius,P["background-image"]=P.backgroundImage,P["background-position"]=P.backgroundPosition,P["background-position-x"]=P.backgroundPositionX,P["object-position"]=P.objectPosition,P["border-width"]=P.padding,P["box-shadow"]=P.textShadow,P["-webkit-box-shadow"]=P.textShadow,P["-moz-box-shadow"]=P.textShadow,P["border-style"]=P.borderColor,P["-webkit-transform"]=P.transform,P["-moz-transform"]=P.transform,P["transform-origin"]=P.transformOrigin,P["-webkit-transform-origin"]=P.transformOrigin,P["-moz-transform-origin"]=P.transformOrigin,P["-webkit-transition"]=P.transition,P["-moz-transition"]=P.transition,P["transition-property"]=P.transitionProperty,P["-webkit-transition-property"]=P.transitionProperty,P["-moz-transition-property"]=P.transitionProperty;var lp=np([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),uy=["content"],sp=np([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),cy=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),dy=new RegExp("(left)|(right)");function ap(e){return Object.keys(e).reduce(function(t,r){var n=e[r];if(oy(n)&&(n=n.trim()),Sl(uy,r))return t[r]=n,t;var o=_u(r,n),i=o.key,l=o.value;return t[i]=l,t},Array.isArray(e)?[]:{})}function _u(e,t){var r=/\/\*\s?@noflip\s?\*\//.test(t),n=r?e:fy(e),o=r?t:gy(n,t);return{key:n,value:o}}function fy(e){return lp[e]||e}function gy(e,t){if(!sy(t))return t;if(ny(t))return ap(t);var r=Mo(t),n=ty(t),o=r||n?t:t.replace(/ !important.*?$/,""),i=!r&&o.length!==t.length,l=P[e],a;return l?a=l({value:o,valuesToConvert:sp,propertiesToConvert:lp,isRtl:!0,bgImgDirectionRegex:cy,bgPosDirectionRegex:dy}):a=sp[o]||o,i?a+" !important":a}const py=/[A-Z]/g,hy=/^ms-/,Su={};function vy(e){return"-"+e.toLowerCase()}function zn(e){if(Object.prototype.hasOwnProperty.call(Su,e))return Su[e];if(e.substr(0,2)==="--")return e;const t=e.replace(py,vy);return Su[e]=hy.test(t)?"-"+t:t}function up(e){return e.charAt(0)==="&"?e.slice(1):e}var jo="-moz-",Bt="-webkit-",cp="comm",Fl="rule",xu="decl",my="@media",yy="@import",ky="@supports",by="@keyframes",dp="@layer",fp=Math.abs,El=String.fromCharCode,wy=Object.assign;function By(e,t){return ze(e,0)^45?(((t<<2^ze(e,0))<<2^ze(e,1))<<2^ze(e,2))<<2^ze(e,3):0}function gp(e){return e.trim()}function pp(e,t){return(e=t.exec(e))?e[0]:e}function Ke(e,t,r){return e.replace(t,r)}function hp(e,t,r){return e.indexOf(t,r)}function ze(e,t){return e.charCodeAt(t)|0}function Ho(e,t,r){return e.slice(t,r)}function It(e){return e.length}function vp(e){return e.length}function Xr(e,t){return t.push(e),e}function _y(e,t){return e.map(t).join("")}var Cl=1,In=1,mp=0,tt=0,ae=0,Mn="";function Pl(e,t,r,n,o,i,l,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Cl,column:In,length:l,return:"",siblings:a}}function Fu(e,t){return wy(Pl("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Sy(){return ae}function xy(){return ae=tt>0?ze(Mn,--tt):0,In--,ae===10&&(In=1,Cl--),ae}function ft(){return ae=tt<mp?ze(Mn,tt++):0,In++,ae===10&&(In=1,Cl++),ae}function Qr(){return ze(Mn,tt)}function Nl(){return tt}function Tl(e,t){return Ho(Mn,e,t)}function Dl(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function yp(e){return Cl=In=1,mp=It(Mn=e),tt=0,[]}function kp(e){return Mn="",e}function Ol(e){return gp(Tl(tt-1,Eu(e===91?e+2:e===40?e+1:e)))}function Fy(e){return kp(Cy(yp(e)))}function Ey(e){for(;(ae=Qr())&&ae<33;)ft();return Dl(e)>2||Dl(ae)>3?"":" "}function Cy(e){for(;ft();)switch(Dl(ae)){case 0:Xr(bp(tt-1),e);break;case 2:Xr(Ol(ae),e);break;default:Xr(El(ae),e)}return e}function Py(e,t){for(;--t&&ft()&&!(ae<48||ae>102||ae>57&&ae<65||ae>70&&ae<97););return Tl(e,Nl()+(t<6&&Qr()==32&&ft()==32))}function Eu(e){for(;ft();)switch(ae){case e:return tt;case 34:case 39:e!==34&&e!==39&&Eu(ae);break;case 40:e===41&&Eu(e);break;case 92:ft();break}return tt}function Ny(e,t){for(;ft()&&e+ae!==47+10;)if(e+ae===42+42&&Qr()===47)break;return"/*"+Tl(t,tt-1)+"*"+El(e===47?e:ft())}function bp(e){for(;!Dl(Qr());)ft();return Tl(e,tt)}function wp(e){return kp(Rl("",null,null,null,[""],e=yp(e),0,[0],e))}function Rl(e,t,r,n,o,i,l,a,s){for(var c=0,d=0,f=l,g=0,m=0,v=0,k=1,B=1,y=1,h=0,u="",p=o,b=i,w=n,_=u;B;)switch(v=h,h=ft()){case 40:if(v!=108&&ze(_,f-1)==58){hp(_+=Ke(Ol(h),"&","&\f"),"&\f",fp(c?a[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:_+=Ol(h);break;case 9:case 10:case 13:case 32:_+=Ey(v);break;case 92:_+=Py(Nl()-1,7);continue;case 47:switch(Qr()){case 42:case 47:Xr(Ty(Ny(ft(),Nl()),t,r,s),s);break;default:_+="/"}break;case 123*k:a[c++]=It(_)*y;case 125*k:case 59:case 0:switch(h){case 0:case 125:B=0;case 59+d:y==-1&&(_=Ke(_,/\f/g,"")),m>0&&It(_)-f&&Xr(m>32?_p(_+";",n,r,f-1,s):_p(Ke(_," ","")+";",n,r,f-2,s),s);break;case 59:_+=";";default:if(Xr(w=Bp(_,t,r,c,d,o,a,u,p=[],b=[],f,i),i),h===123)if(d===0)Rl(_,t,w,w,p,i,f,a,b);else switch(g===99&&ze(_,3)===110?100:g){case 100:case 108:case 109:case 115:Rl(e,w,w,n&&Xr(Bp(e,w,w,0,0,o,a,u,o,p=[],f,b),b),o,b,f,a,n?p:b);break;default:Rl(_,w,w,w,[""],b,0,a,b)}}c=d=m=0,k=y=1,u=_="",f=l;break;case 58:f=1+It(_),m=v;default:if(k<1){if(h==123)--k;else if(h==125&&k++==0&&xy()==125)continue}switch(_+=El(h),h*k){case 38:y=d>0?1:(_+="\f",-1);break;case 44:a[c++]=(It(_)-1)*y,y=1;break;case 64:Qr()===45&&(_+=Ol(ft())),g=Qr(),d=f=It(u=_+=bp(Nl())),h++;break;case 45:v===45&&It(_)==2&&(k=0)}}return i}function Bp(e,t,r,n,o,i,l,a,s,c,d,f){for(var g=o-1,m=o===0?i:[""],v=vp(m),k=0,B=0,y=0;k<n;++k)for(var h=0,u=Ho(e,g+1,g=fp(B=l[k])),p=e;h<v;++h)(p=gp(B>0?m[h]+" "+u:Ke(u,/&\f/g,m[h])))&&(s[y++]=p);return Pl(e,t,r,o===0?Fl:a,s,c,d,f)}function Ty(e,t,r,n){return Pl(e,t,r,cp,El(Sy()),Ho(e,2,-2),0,n)}function _p(e,t,r,n,o){return Pl(e,t,r,xu,Ho(e,0,n),Ho(e,n+1,-1),n,o)}function jn(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Sp(e,t,r,n){switch(e.type){case dp:if(e.children.length)break;case yy:case xu:return e.return=e.return||e.value;case cp:return"";case by:return e.return=e.value+"{"+jn(e.children,n)+"}";case Fl:if(!It(e.value=e.props.join(",")))return""}return It(r=jn(e.children,n))?e.return=e.value+"{"+r+"}":""}function xp(e){var t=vp(e);return function(r,n,o,i){for(var l="",a=0;a<t;a++)l+=e[a](r,n,o,i)||"";return l}}function Fp(e){return function(t){t.root||(t=t.return)&&e(t)}}const Dy=e=>{switch(e.type){case Fl:if(typeof e.props=="string")return;e.props=e.props.map(t=>t.indexOf(":global(")===-1?t:Fy(t).reduce((r,n,o,i)=>{if(n==="")return r;if(n===":"&&i[o+1]==="global"){const l=i[o+2].slice(1,-1)+" ";return r.unshift(l),i[o+1]="",i[o+2]="",r}return r.push(n),r},[]).join(""))}};function Ep(e,t,r){switch(By(e,t)){case 5103:return Bt+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return Bt+e+e;case 4215:if(ze(e,9)===102||ze(e,t+1)===116)return Bt+e+e;break;case 4789:return jo+e+e;case 5349:case 4246:case 6968:return Bt+e+jo+e+e;case 6187:if(!pp(e,/grab/))return Ke(Ke(Ke(e,/(zoom-|grab)/,Bt+"$1"),/(image-set)/,Bt+"$1"),e,"")+e;case 5495:case 3959:return Ke(e,/(image-set\([^]*)/,Bt+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return Ke(e,/(.+)-inline(.+)/,Bt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(It(e)-1-t>6)switch(ze(e,t+1)){case 102:if(ze(e,t+3)===108)return Ke(e,/(.+:)(.+)-([^]+)/,"$1"+Bt+"$2-$3$1"+jo+(ze(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~hp(e,"stretch")?Ep(Ke(e,"stretch","fill-available"),t)+e:e}break}return e}function Cp(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case xu:e.return=Ep(e.value,e.length);return;case Fl:if(e.length)return _y(e.props,function(o){switch(pp(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return jn([Fu(e,{props:[Ke(o,/:(read-\w+)/,":"+jo+"$1")]})],n);case"::placeholder":return jn([Fu(e,{props:[Ke(o,/:(plac\w+)/,":"+Bt+"input-$1")]}),Fu(e,{props:[Ke(o,/:(plac\w+)/,":"+jo+"$1")]})],n)}return""})}}function Oy(e){switch(e.type){case"@container":case my:case ky:case dp:return!0}return!1}const Ry=e=>{Oy(e)&&Array.isArray(e.children)&&e.children.sort((t,r)=>t.props[0]>r.props[0]?1:-1)};function Ay(){}function Ly(e,t){const r=[];return jn(wp(e),xp([Dy,t?Ry:Ay,Cp,Sp,Fp(n=>r.push(n))])),r}const zy=/,( *[^ &])/g;function Iy(e){return"&"+up(e.replace(zy,",&$1"))}function Pp(e,t,r){let n=t;return r.length>0&&(n=r.reduceRight((o,i)=>`${Iy(i)} { ${o} }`,t)),`${e}{${n}}`}function Np(e,t){const{className:r,selectors:n,property:o,rtlClassName:i,rtlProperty:l,rtlValue:a,value:s}=e,{container:c,layer:d,media:f,supports:g}=t,m=`.${r}`,v=Array.isArray(s)?`${s.map(B=>`${zn(o)}: ${B}`).join(";")};`:`${zn(o)}: ${s};`;let k=Pp(m,v,n);if(l&&i){const B=`.${i}`,y=Array.isArray(a)?`${a.map(h=>`${zn(l)}: ${h}`).join(";")};`:`${zn(l)}: ${a};`;k+=Pp(B,y,n)}return f&&(k=`@media ${f} { ${k} }`),d&&(k=`@layer ${d} { ${k} }`),g&&(k=`@supports ${g} { ${k} }`),c&&(k=`@container ${c} { ${k} }`),Ly(k,!0)}function My(e){let t="";for(const r in e){const n=e[r];if(typeof n=="string"||typeof n=="number"){t+=zn(r)+":"+n+";";continue}if(Array.isArray(n))for(const o of n)t+=zn(r)+":"+o+";"}return t}function Tp(e){let t="";for(const r in e)t+=`${r}{${My(e[r])}}`;return t}function Dp(e,t){const r=`@keyframes ${e} {${t}}`,n=[];return jn(wp(r),xp([Sp,Cp,Fp(o=>n.push(o))])),n}const jy={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function Op(e,t){return e.length===0?t:`${e} and ${t}`}function Hy(e){return e.substr(0,6)==="@media"}function Wy(e){return e.substr(0,6)==="@layer"}const $y=/^(:|\[|>|&)/;function Uy(e){return $y.test(e)}function qy(e){return e.substr(0,9)==="@supports"}function Vy(e){return e.substring(0,10)==="@container"}function Ky(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const Rp={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Ap(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"c";if(e.length>0){const r=e[0].trim();if(r.charCodeAt(0)===58)return Rp[r.slice(4,8)]||Rp[r.slice(3,5)]||"d"}return"d"}function Al(e,t){return e&&t+e}function Lp(e){return Al(e.container,"c")+Al(e.media,"m")+Al(e.layer,"l")+Al(e.supports,"s")}function Cu(e,t,r){const n=e+Lp(r)+t,o=Io(n),i=o.charCodeAt(0);return i>=48&&i<=57?String.fromCharCode(i+17)+o.slice(1):o}function Ll({property:e,selector:t,salt:r,value:n},o){return yu+Io(r+t+Lp(o)+e+n.trim())}function Yy(e){return e===bu}function Pu(e){return e.replace(/>\s+/g,">")}function Xy(e,t){const r=JSON.stringify(t,null,2);" ".repeat(2)+""," ".repeat(4)+""," ".repeat(6)+`"${e}": ${r.split(` `).map((n,o)=>" ".repeat(o===0?0:6)+n).join(` `)}`," ".repeat(4)+""," ".repeat(2)+"",e.indexOf("&")}function u3(e,t){}function zp(e){return jy[e]}function Ip(e){var t;return(t=e==null?void 0:e[0])!=null?t:0}function Nu(e,t,r,n){e[t]=n?[r,n]:r}function Mp(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function Tu(e,t,r,n,o,i){var l;const a=[];i!==0&&a.push(["p",i]),t==="m"&&o&&a.push(["m",o]),(l=e[t])!=null||(e[t]=[]),r&&e[t].push(Mp(r,a)),n&&e[t].push(Mp(n,a))}function er(e,t="",r=[],n={container:"",layer:"",media:"",supports:""},o={},i={},l){for(const a in e){if($1.hasOwnProperty(a)){e[a];continue}const s=e[a];if(s!=null){if(Yy(s)){const c=Pu(r.join("")),d=Cu(c,a,n);Nu(o,d,0,void 0);continue}if(typeof s=="string"||typeof s=="number"){const c=Pu(r.join("")),d=zp(a);if(d){const p=d[1],b=Object.fromEntries(p.map(w=>[w,bu]));er(b,t,r,n,o,i)}const f=Cu(c,a,n),g=Ll({value:s.toString(),salt:t,selector:c,property:a},n),m=l&&{key:a,value:l}||_u(a,s),v=m.key!==a||m.value!==s,k=v?Ll({value:m.value.toString(),property:m.key,salt:t,selector:c},n):void 0,B=v?{rtlClassName:k,rtlProperty:m.key,rtlValue:m.value}:void 0,y=Ap(r,n),[h,u]=Np(Object.assign({className:g,selectors:r,property:a,value:s},B),n);Nu(o,f,g,k),Tu(i,y,h,u,n.media,Ip(d))}else if(a==="animationName"){const c=Array.isArray(s)?s:[s],d=[],f=[];for(const g of c){const m=Tp(g),v=Tp(ap(g)),k=yu+Io(m);let B;const y=Dp(k,m);let h=[];m===v?B=k:(B=yu+Io(v),h=Dp(B,v));for(let u=0;u<y.length;u++)Tu(i,"k",y[u],h[u],n.media,0);d.push(k),f.push(B)}er({animationName:d.join(", ")},t,r,n,o,i,f.join(", "))}else if(Array.isArray(s)){if(s.length===0)continue;const c=Pu(r.join("")),d=zp(a);if(d){const b=d[1],w=Object.fromEntries(b.map(_=>[_,bu]));er(w,t,r,n,o,i)}const f=Cu(c,a,n),g=Ll({value:s.map(b=>(b!=null?b:"").toString()).join(";"),salt:t,selector:c,property:a},n),m=s.map(b=>_u(a,b));if(!!m.some(b=>b.key!==m[0].key))continue;const k=m[0].key!==a||m.some((b,w)=>b.value!==s[w]),B=k?Ll({value:m.map(b=>{var w;return((w=b==null?void 0:b.value)!=null?w:"").toString()}).join(";"),salt:t,property:m[0].key,selector:c},n):void 0,y=k?{rtlClassName:B,rtlProperty:m[0].key,rtlValue:m.map(b=>b.value)}:void 0,h=Ap(r,n),[u,p]=Np(Object.assign({className:g,selectors:r,property:a,value:s},y),n);Nu(o,f,g,B),Tu(i,h,u,p,n.media,Ip(d))}else if(Ky(s))if(Uy(a))er(s,t,r.concat(up(a)),n,o,i);else if(Hy(a)){const c=Op(n.media,a.slice(6).trim());er(s,t,r,Object.assign({},n,{media:c}),o,i)}else if(Wy(a)){const c=(n.layer?`${n.layer}.`:"")+a.slice(6).trim();er(s,t,r,Object.assign({},n,{layer:c}),o,i)}else if(qy(a)){const c=Op(n.supports,a.slice(9).trim());er(s,t,r,Object.assign({},n,{supports:c}),o,i)}else if(Vy(a)){const c=a.slice(10).trim();er(s,t,r,Object.assign({},n,{container:c}),o,i)}else Xy(a,s)}}return[o,i]}function Qy(e,t=""){const r={},n={};for(const o in e){const i=e[o],[l,a]=er(i,t);r[o]=l,Object.keys(a).forEach(s=>{n[s]=(n[s]||[]).concat(a[s])})}return[r,n]}function Jy(e,t=Bu){const r=t();let n=null,o=null,i=null,l=null;function a(s){const{dir:c,renderer:d}=s;n===null&&([n,o]=Qy(e));const f=c==="ltr";return f?i===null&&(i=Bl(n,c)):l===null&&(l=Bl(n,c)),r(d,o),f?i:l}return a}function jp(e,t,r=Bu){const n=r();let o=null,i=null;function l(a){const{dir:s,renderer:c}=a,d=s==="ltr";return d?o===null&&(o=Bl(e,s)):i===null&&(i=Bl(e,s)),n(c,t),d?o:i}return l}function Zy(e,t,r,n=Bu){const o=n();function i(l){const{dir:a,renderer:s}=l,c=a==="ltr"?e:t||e;return o(s,Array.isArray(r)?{r}:r),c}return i}const Gy=["Top","Right","Bottom","Left"];function Wo(e,t,...r){const[n,o=n,i=n,l=o]=r,a=[n,o,i,l],s={};for(let c=0;c<a.length;c+=1)if(a[c]||a[c]===0){const d=e+Gy[c]+t;s[d]=a[c]}return s}function Du(...e){return Wo("border","Width",...e)}function Ou(...e){return Wo("border","Style",...e)}function Ru(...e){return Wo("border","Color",...e)}const ek=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function $o(e){return ek.includes(e)}function tk(...e){return $o(e[0])?Object.assign({},Ou(e[0]),e[1]&&Du(e[1]),e[2]&&Ru(e[2])):Object.assign({},Du(e[0]),e[1]&&Ou(e[1]),e[2]&&Ru(e[2]))}function rk(...e){return $o(e[0])?Object.assign({borderLeftStyle:e[0]},e[1]&&{borderLeftWidth:e[1]},e[2]&&{borderLeftColor:e[2]}):Object.assign({borderLeftWidth:e[0]},e[1]&&{borderLeftStyle:e[1]},e[2]&&{borderLeftColor:e[2]})}function nk(...e){return $o(e[0])?Object.assign({borderBottomStyle:e[0]},e[1]&&{borderBottomWidth:e[1]},e[2]&&{borderBottomColor:e[2]}):Object.assign({borderBottomWidth:e[0]},e[1]&&{borderBottomStyle:e[1]},e[2]&&{borderBottomColor:e[2]})}function ok(...e){return $o(e[0])?Object.assign({borderRightStyle:e[0]},e[1]&&{borderRightWidth:e[1]},e[2]&&{borderRightColor:e[2]}):Object.assign({borderRightWidth:e[0]},e[1]&&{borderRightStyle:e[1]},e[2]&&{borderRightColor:e[2]})}function ik(...e){return $o(e[0])?Object.assign({borderTopStyle:e[0]},e[1]&&{borderTopWidth:e[1]},e[2]&&{borderTopColor:e[2]}):Object.assign({borderTopWidth:e[0]},e[1]&&{borderTopStyle:e[1]},e[2]&&{borderTopColor:e[2]})}function lk(e,t=e,r=e,n=t){return{borderBottomRightRadius:r,borderBottomLeftRadius:n,borderTopRightRadius:t,borderTopLeftRadius:e}}const sk=e=>typeof e=="string"&&/(\d+(\w+|%))/.test(e),zl=e=>typeof e=="number"&&!Number.isNaN(e),ak=e=>e==="initial",Hp=e=>e==="auto",uk=e=>e==="none",ck=["content","fit-content","max-content","min-content"],Au=e=>ck.some(t=>e===t)||sk(e);function dk(...e){const t=e.length===1,r=e.length===2,n=e.length===3;if(t){const[o]=e;if(ak(o))return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(Hp(o))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if(uk(o))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(zl(o))return{flexGrow:o,flexShrink:1,flexBasis:0};if(Au(o))return{flexGrow:1,flexShrink:1,flexBasis:o}}if(r){const[o,i]=e;if(zl(i))return{flexGrow:o,flexShrink:i,flexBasis:0};if(Au(i))return{flexGrow:o,flexShrink:1,flexBasis:i}}if(n){const[o,i,l]=e;if(zl(o)&&zl(i)&&(Hp(l)||Au(l)))return{flexGrow:o,flexShrink:i,flexBasis:l}}return{}}function fk(e,t=e){return{columnGap:e,rowGap:t}}const gk=/var\(.*\)/gi;function pk(e){return e===void 0||typeof e=="number"||typeof e=="string"&&!gk.test(e)}const hk=/^[a-zA-Z0-9\-_\\#;]+$/,vk=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function Lu(e){return e!==void 0&&typeof e=="string"&&hk.test(e)&&!vk.test(e)}function mk(...e){if(e.some(i=>!pk(i)))return{};const t=e[0]!==void 0?e[0]:"auto",r=e[1]!==void 0?e[1]:Lu(t)?t:"auto",n=e[2]!==void 0?e[2]:Lu(t)?t:"auto",o=e[3]!==void 0?e[3]:Lu(r)?r:"auto";return{gridRowStart:t,gridColumnStart:r,gridRowEnd:n,gridColumnEnd:o}}function yk(...e){return Wo("margin","",...e)}function kk(e,t=e){return{marginBlockStart:e,marginBlockEnd:t}}function bk(e,t=e){return{marginInlineStart:e,marginInlineEnd:t}}function wk(...e){return Wo("padding","",...e)}function Bk(e,t=e){return{paddingBlockStart:e,paddingBlockEnd:t}}function _k(e,t=e){return{paddingInlineStart:e,paddingInlineEnd:t}}function Sk(e,t=e){return{overflowX:e,overflowY:t}}function xk(...e){const[t,r=t,n=t,o=r]=e;return{top:t,right:r,bottom:n,left:o}}function Fk(e,t,r){return Object.assign({outlineWidth:e},t&&{outlineStyle:t},r&&{outlineColor:r})}function Ek(...e){return Pk(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:Nk(e).reduce((r,[n,o="0s",i="0s",l="ease"],a)=>(a===0?(r.transitionProperty=n,r.transitionDuration=o,r.transitionDelay=i,r.transitionTimingFunction=l):(r.transitionProperty+=`, ${n}`,r.transitionDuration+=`, ${o}`,r.transitionDelay+=`, ${i}`,r.transitionTimingFunction+=`, ${l}`),r),{})}const Ck=["-moz-initial","inherit","initial","revert","unset"];function Pk(e){return e.length===1&&Ck.includes(e[0])}function Nk(e){return e.length===1&&Array.isArray(e[0])?e[0]:[e]}function Tk(e,...t){if(t.length===0)return Ok(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[r,n,o]=t;return Object.assign({textDecorationLine:e},r&&{textDecorationStyle:r},n&&{textDecorationColor:n},o&&{textDecorationThickness:o})}const Dk=["dashed","dotted","double","solid","wavy"];function Ok(e){return Dk.includes(e)}const Wp={border:tk,borderLeft:rk,borderBottom:nk,borderRight:ok,borderTop:ik,borderColor:Ru,borderStyle:Ou,borderRadius:lk,borderWidth:Du,flex:dk,gap:fk,gridArea:mk,margin:yk,marginBlock:kk,marginInline:bk,padding:wk,paddingBlock:Bk,paddingInline:_k,overflow:Sk,inset:xk,outline:Fk,transition:Ek,textDecoration:Tk};function Rk(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const $p=sn["useInsertionEffect"]?sn["useInsertionEffect"]:void 0,zu=()=>{const e={};return function(r,n){if($p&&Rk()){$p(()=>{r.insertCSSRules(n)},[r,n]);return}e[r.id]===void 0&&(r.insertCSSRules(n),e[r.id]=!0)}},Ak=S.exports.createContext(G1());function Uo(){return S.exports.useContext(Ak)}const Up=S.exports.createContext("ltr"),Lk=({children:e,dir:t})=>S.exports.createElement(Up.Provider,{value:t},e);function Iu(){return S.exports.useContext(Up)}function qp(e){const t=Jy(e,zu);return function(){const n=Iu(),o=Uo();return t({dir:n,renderer:o})}}function rt(e,t){const r=jp(e,t,zu);return function(){const o=Iu(),i=Uo();return r({dir:o,renderer:i})}}function _t(e,t,r){const n=Zy(e,t,r,zu);return function(){const i=Iu(),l=Uo();return n({dir:i,renderer:l})}}function zk(e,t){if(t){const r=Object.keys(t).reduce((n,o)=>`${n}--${o}: ${t[o]}; `,"");return`${e} { ${r} }`}return`${e} {}`}const Vp=Symbol.for("fui.slotRenderFunction"),Il=Symbol.for("fui.slotElementType");function St(e,t){const{defaultProps:r,elementType:n}=t,o=Ik(e),i={...r,...o,[Il]:n};return o&&typeof o.children=="function"&&(i[Vp]=o.children,i.children=r==null?void 0:r.children),i}function Ml(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return St(e,t)}function Ik(e){return typeof e=="string"||typeof e=="number"||Array.isArray(e)||S.exports.isValidElement(e)?{children:e}:e}function Mk(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!S.exports.isValidElement(e)}function Kp(e){return Boolean(e==null?void 0:e.hasOwnProperty(Il))}const G=(...e)=>{const t={};for(const r of e){const n=Array.isArray(r)?r:Object.keys(r);for(const o of n)t[o]=1}return t},jk=G(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),Hk=G(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Wk=G(["itemID","itemProp","itemRef","itemScope","itemType"]),he=G(Hk,jk,Wk),$k=G(he,["form"]),Yp=G(he,["height","loop","muted","preload","src","width"]),Uk=G(Yp,["poster"]),qk=G(he,["start"]),Vk=G(he,["value"]),Kk=G(he,["download","href","hrefLang","media","rel","target","type"]),Yk=G(he,["dateTime"]),jl=G(he,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),Xk=G(jl,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Qk=G(jl,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),Jk=G(jl,["form","multiple","required"]),Zk=G(he,["selected","value"]),Gk=G(he,["cellPadding","cellSpacing"]),eb=he,tb=G(he,["colSpan","rowSpan","scope"]),rb=G(he,["colSpan","headers","rowSpan","scope"]),nb=G(he,["span"]),ob=G(he,["span"]),ib=G(he,["disabled","form"]),lb=G(he,["acceptCharset","action","encType","encType","method","noValidate","target"]),sb=G(he,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ab=G(he,["alt","crossOrigin","height","src","srcSet","useMap","width"]),ub=G(he,["open","onCancel","onClose"]);function cb(e,t,r){const n=Array.isArray(t),o={},i=Object.keys(e);for(const l of i)(!n&&t[l]||n&&t.indexOf(l)>=0||l.indexOf("data-")===0||l.indexOf("aria-")===0)&&(!r||(r==null?void 0:r.indexOf(l))===-1)&&(o[l]=e[l]);return o}const db={label:$k,audio:Yp,video:Uk,ol:qk,li:Vk,a:Kk,button:jl,input:Xk,textarea:Qk,select:Jk,option:Zk,table:Gk,tr:eb,th:tb,td:rb,colGroup:nb,col:ob,fieldset:ib,form:lb,iframe:sb,img:ab,time:Yk,dialog:ub};function fb(e,t,r){const n=e&&db[e]||he;return n.as=1,cb(t,n,r)}const tr=(e,t,r)=>{var n;return fb((n=t.as)!==null&&n!==void 0?n:e,t,r)};function Mu(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}function gb(e,t){const r=S.exports.useRef(void 0),n=S.exports.useCallback((i,l)=>(r.current!==void 0&&t(r.current),r.current=e(i,l),r.current),[t,e]),o=S.exports.useCallback(()=>{r.current!==void 0&&(t(r.current),r.current=void 0)},[t]);return S.exports.useEffect(()=>o,[o]),[n,o]}function pb(e){return typeof e=="function"}const Xp=e=>{const[t,r]=S.exports.useState(()=>e.defaultState===void 0?e.initialState:hb(e.defaultState)?e.defaultState():e.defaultState),n=S.exports.useRef(e.state);S.exports.useEffect(()=>{n.current=e.state},[e.state]);const o=S.exports.useCallback(i=>{pb(i)&&i(n.current)},[]);return vb(e.state)?[e.state,o]:[t,r]};function hb(e){return typeof e=="function"}const vb=e=>{const[t]=S.exports.useState(()=>e!==void 0);return t},mb={current:0},yb=S.exports.createContext(void 0);function kb(){var e;return(e=S.exports.useContext(yb))!==null&&e!==void 0?e:mb}const xt=Mu()?S.exports.useLayoutEffect:S.exports.useEffect,xe=e=>{const t=S.exports.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return xt(()=>{t.current=e},[e]),S.exports.useCallback((...r)=>{const n=t.current;return n(...r)},[t])};function bb(){const e=S.exports.useRef(!0);return e.current?(e.current=!1,!0):e.current}function wb(){return S.exports.useReducer(e=>e+1,0)[1]}const Qp=S.exports.createContext(void 0);Qp.Provider;function Bb(){return S.exports.useContext(Qp)||""}function ju(e="fui-",t){const r=kb(),n=Bb(),o=sn["useId"];if(o){const i=o(),l=S.exports.useMemo(()=>i.replace(/:/g,""),[i]);return t||`${n}${e}${l}`}return S.exports.useMemo(()=>t||`${n}${e}${++r.current}`,[n,e,t,r])}function Hl(...e){const t=S.exports.useCallback(r=>{t.current=r;for(const n of e)typeof n=="function"?n(r):n&&(n.current=r)},[...e]);return t}const Jp=S.exports.createContext(void 0),_b=Jp.Provider,Zp=S.exports.createContext(void 0),Sb="",xb=Zp.Provider;function Fb(){var e;return(e=S.exports.useContext(Zp))!==null&&e!==void 0?e:Sb}const Eb=S.exports.createContext(void 0).Provider,Gp=S.exports.createContext(void 0),Cb={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},Pb=Gp.Provider;function Ft(){var e;return(e=S.exports.useContext(Gp))!==null&&e!==void 0?e:Cb}const eh=S.exports.createContext(void 0),Nb=eh.Provider;function Tb(){var e;return(e=S.exports.useContext(eh))!==null&&e!==void 0?e:{}}const Hu=S.exports.createContext(void 0),Db=()=>{},Ob=Hu.Provider,Fr=e=>{var t,r;return(r=(t=S.exports.useContext(Hu))===null||t===void 0?void 0:t[e])!==null&&r!==void 0?r:Db},th=S.exports.createContext(void 0);th.Provider;function Rb(){return S.exports.useContext(th)}const rh=(e,t)=>!!(e!=null&&e.contains(t)),Ab=e=>{const{targetDocument:t}=Ft(),r=t==null?void 0:t.defaultView,{refs:n,callback:o,element:i,disabled:l,disabledFocusOnIframe:a,contains:s=rh}=e,c=S.exports.useRef(void 0);zb({element:i,disabled:a||l,callback:o,refs:n,contains:s});const d=S.exports.useRef(!1),f=xe(m=>{if(d.current){d.current=!1;return}const v=m.composedPath()[0];n.every(B=>!s(B.current||null,v))&&!l&&o(m)}),g=xe(m=>{d.current=n.some(v=>s(v.current||null,m.target))});S.exports.useEffect(()=>{if(l)return;let m=Lb(r);const v=k=>{if(k===m){m=void 0;return}f(k)};return i==null||i.addEventListener("click",v,!0),i==null||i.addEventListener("touchstart",v,!0),i==null||i.addEventListener("contextmenu",v,!0),i==null||i.addEventListener("mousedown",g,!0),c.current=r==null?void 0:r.setTimeout(()=>{m=void 0},1),()=>{i==null||i.removeEventListener("click",v,!0),i==null||i.removeEventListener("touchstart",v,!0),i==null||i.removeEventListener("contextmenu",v,!0),i==null||i.removeEventListener("mousedown",g,!0),r==null||r.clearTimeout(c.current),m=void 0}},[f,i,l,g,r])},Lb=e=>{if(e){var t,r;if(typeof e.window=="object"&&e.window===e)return e.event;var n;return(n=(r=e.ownerDocument)===null||r===void 0||(t=r.defaultView)===null||t===void 0?void 0:t.event)!==null&&n!==void 0?n:void 0}},Wu="fuiframefocus",zb=e=>{const{disabled:t,element:r,callback:n,contains:o=rh,pollDuration:i=1e3,refs:l}=e,a=S.exports.useRef(),s=xe(c=>{l.every(f=>!o(f.current||null,c.target))&&!t&&n(c)});S.exports.useEffect(()=>{if(!t)return r==null||r.addEventListener(Wu,s,!0),()=>{r==null||r.removeEventListener(Wu,s,!0)}},[r,t,s]),S.exports.useEffect(()=>{var c;if(!t)return a.current=r==null||(c=r.defaultView)===null||c===void 0?void 0:c.setInterval(()=>{const d=r==null?void 0:r.activeElement;if((d==null?void 0:d.tagName)==="IFRAME"||(d==null?void 0:d.tagName)==="WEBVIEW"){const f=new CustomEvent(Wu,{bubbles:!0});d.dispatchEvent(f)}},i),()=>{var d;r==null||(d=r.defaultView)===null||d===void 0||d.clearTimeout(a.current)}},[r,t,i])},Ib=e=>{const{refs:t,callback:r,element:n,disabled:o,contains:i}=e,l=xe(a=>{const s=i||((f,g)=>!!(f!=null&&f.contains(g))),c=a.composedPath()[0];t.every(f=>!s(f.current||null,c))&&!o&&r(a)});S.exports.useEffect(()=>{if(!o)return n==null||n.addEventListener("wheel",l),n==null||n.addEventListener("touchmove",l),()=>{n==null||n.removeEventListener("wheel",l),n==null||n.removeEventListener("touchmove",l)}},[l,n,o])};function Mb(){return gb(setTimeout,clearTimeout)}function qo(e,t){var r;const n=e;var o;return Boolean((n==null||(r=n.ownerDocument)===null||r===void 0?void 0:r.defaultView)&&n instanceof n.ownerDocument.defaultView[(o=t==null?void 0:t.constructorName)!==null&&o!==void 0?o:"HTMLElement"])}function nh(e){return Boolean(e.type.isFluentTriggerComponent)}function jb(e,t){return typeof e=="function"?e(t):e?oh(e,t):e||null}function oh(e,t){if(!S.exports.isValidElement(e)||e.type===S.exports.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(nh(e)){const r=oh(e.props.children,t);return S.exports.cloneElement(e,void 0,r)}else return S.exports.cloneElement(e,t)}function ih(e){return S.exports.isValidElement(e)?nh(e)?ih(e.props.children):e:null}function Hb(e){return e&&!!e._virtual}function Wb(e){return Hb(e)&&e._virtual.parent||null}function lh(e,t={}){if(!e)return null;if(!t.skipVirtual){const n=Wb(e);if(n)return n}const r=e.parentNode;return r&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r}function sh(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const n=lh(t,{skipVirtual:r.has(t)});if(r.add(t),n===e)return!0;t=n}}return!1}function ah(e,t){if(!e)return;const r=e;r._virtual||(r._virtual={}),r._virtual.parent=t}function $b(e,t){return{...t,[Il]:e}}var uh={exports:{}},Q={};/** @license React v17.0.2 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Wl=60103,$l=60106,Vo=60107,Ko=60108,Yo=60114,Xo=60109,Qo=60110,Jo=60112,Zo=60113,$u=60120,Go=60115,ei=60116,ch=60121,dh=60122,fh=60117,gh=60129,ph=60131;if(typeof Symbol=="function"&&Symbol.for){var Fe=Symbol.for;Wl=Fe("react.element"),$l=Fe("react.portal"),Vo=Fe("react.fragment"),Ko=Fe("react.strict_mode"),Yo=Fe("react.profiler"),Xo=Fe("react.provider"),Qo=Fe("react.context"),Jo=Fe("react.forward_ref"),Zo=Fe("react.suspense"),$u=Fe("react.suspense_list"),Go=Fe("react.memo"),ei=Fe("react.lazy"),ch=Fe("react.block"),dh=Fe("react.server.block"),fh=Fe("react.fundamental"),gh=Fe("react.debug_trace_mode"),ph=Fe("react.legacy_hidden")}function Et(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Wl:switch(e=e.type,e){case Vo:case Yo:case Ko:case Zo:case $u:return e;default:switch(e=e&&e.$$typeof,e){case Qo:case Jo:case ei:case Go:case Xo:return e;default:return t}}case $l:return t}}}var Ub=Xo,qb=Wl,Vb=Jo,Kb=Vo,Yb=ei,Xb=Go,Qb=$l,Jb=Yo,Zb=Ko,Gb=Zo;Q.ContextConsumer=Qo,Q.ContextProvider=Ub,Q.Element=qb,Q.ForwardRef=Vb,Q.Fragment=Kb,Q.Lazy=Yb,Q.Memo=Xb,Q.Portal=Qb,Q.Profiler=Jb,Q.StrictMode=Zb,Q.Suspense=Gb,Q.isAsyncMode=function(){return!1},Q.isConcurrentMode=function(){return!1},Q.isContextConsumer=function(e){return Et(e)===Qo},Q.isContextProvider=function(e){return Et(e)===Xo},Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wl},Q.isForwardRef=function(e){return Et(e)===Jo},Q.isFragment=function(e){return Et(e)===Vo},Q.isLazy=function(e){return Et(e)===ei},Q.isMemo=function(e){return Et(e)===Go},Q.isPortal=function(e){return Et(e)===$l},Q.isProfiler=function(e){return Et(e)===Yo},Q.isStrictMode=function(e){return Et(e)===Ko},Q.isSuspense=function(e){return Et(e)===Zo},Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Vo||e===Yo||e===gh||e===Ko||e===Zo||e===$u||e===ph||typeof e=="object"&&e!==null&&(e.$$typeof===ei||e.$$typeof===Go||e.$$typeof===Xo||e.$$typeof===Qo||e.$$typeof===Jo||e.$$typeof===fh||e.$$typeof===ch||e[0]===dh)},Q.typeOf=Et,function(e){e.exports=Q}(uh);function hh(e,t){return function(n,o,i,l,a){return Kp(o)?t($b(n,o),null,i,l,a):Kp(n)?t(n,o,i,l,a):e(n,o,i,l,a)}}function vh(e){const{as:t,[Il]:r,[Vp]:n,...o}=e,i=o,l=typeof r=="string"&&t!=null?t:r;return typeof l!="string"&&t&&(i.as=t),{elementType:l,props:i,renderFunction:n}}var Uu={exports:{}},Ul={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ew=S.exports,tw=Symbol.for("react.element"),rw=Symbol.for("react.fragment"),nw=Object.prototype.hasOwnProperty,ow=ew.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,iw={key:!0,ref:!0,__self:!0,__source:!0};function mh(e,t,r){var n,o={},i=null,l=null;r!==void 0&&(i=""+r),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(n in t)nw.call(t,n)&&!iw.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:tw,type:e,key:i,ref:l,props:o,_owner:ow.current}}Ul.Fragment=rw,Ul.jsx=mh,Ul.jsxs=mh,function(e){e.exports=Ul}(Uu);const lw=Nc(Uu.exports),Jr=He({__proto__:null,default:lw},[Uu.exports]),sw=(e,t,r)=>{const{elementType:n,renderFunction:o,props:i}=vh(e),l={...i,...t};return o?Jr.jsx(S.exports.Fragment,{children:o(n,l)},r):Jr.jsx(n,l,r)},aw=(e,t,r)=>{const{elementType:n,renderFunction:o,props:i}=vh(e),l={...i,...t};return o?Jr.jsx(S.exports.Fragment,{children:o(n,{...l,children:Jr.jsxs(S.exports.Fragment,{children:l.children},void 0)})},r):Jr.jsxs(n,l,r)},ee=hh(Jr.jsx,sw),Zr=hh(Jr.jsxs,aw),qu=S.exports.createContext(void 0),uw={},cw=qu.Provider,dw=()=>S.exports.useContext(qu)?S.exports.useContext(qu):uw,fw=(e,t)=>ee(Pb,{value:t.provider,children:ee(_b,{value:t.theme,children:ee(xb,{value:t.themeClassName,children:ee(Ob,{value:t.customStyleHooks_unstable,children:ee(Eb,{value:t.tooltip,children:ee(Lk,{dir:t.textDirection,children:ee(cw,{value:t.iconDirection,children:ee(Nb,{value:t.overrides_unstable,children:Zr(e.root,{children:[Mu()?null:ee("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});var gw=typeof WeakRef<"u",yh=class{constructor(e){gw&&typeof e=="object"?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,t;let r;return this._weakRef?(r=(e=this._weakRef)==null?void 0:e.deref(),r||delete this._weakRef):(r=this._instance,(t=r==null?void 0:r.isDisposed)!=null&&t.call(r)&&delete this._instance),r}},rr="keyborg:focusin",ti="keyborg:focusout";function pw(e){const t=e.HTMLElement,r=t.prototype.focus;let n=!1;return t.prototype.focus=function(){n=!0},e.document.createElement("button").focus(),t.prototype.focus=r,n}var Vu=!1;function Gr(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function hw(e){const t=e;Vu||(Vu=pw(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=s;const n=new Set,o=d=>{const f=d.target;if(!f)return;const g=new CustomEvent(ti,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:d}});f.dispatchEvent(g)},i=d=>{const f=d.target;if(!f)return;let g=d.composedPath()[0];const m=new Set;for(;g;)g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(m.add(g),g=g.host):g=g.parentNode;for(const v of n){const k=v.deref();(!k||!m.has(k))&&(n.delete(v),k&&(k.removeEventListener("focusin",i,!0),k.removeEventListener("focusout",o,!0)))}l(f,d.relatedTarget||void 0)},l=(d,f,g)=>{var m;const v=d.shadowRoot;if(v){for(const y of n)if(y.deref()===v)return;v.addEventListener("focusin",i,!0),v.addEventListener("focusout",o,!0),n.add(new yh(v));return}const k={relatedTarget:f,originalEvent:g},B=new CustomEvent(rr,{cancelable:!0,bubbles:!0,composed:!0,detail:k});B.details=k,(Vu||a.lastFocusedProgrammatically)&&(k.isFocusedProgrammatically=d===((m=a.lastFocusedProgrammatically)==null?void 0:m.deref()),a.lastFocusedProgrammatically=void 0),d.dispatchEvent(B)},a=t.__keyborgData={focusInHandler:i,focusOutHandler:o,shadowTargets:n};t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);function s(){const d=t.__keyborgData;return d&&(d.lastFocusedProgrammatically=new yh(this)),r.apply(this,arguments)}let c=t.document.activeElement;for(;c&&c.shadowRoot;)l(c),c=c.shadowRoot.activeElement;s.__keyborgNativeFocus=r}function vw(e){const t=e,r=t.HTMLElement.prototype,n=r.focus.__keyborgNativeFocus,o=t.__keyborgData;if(o){t.document.removeEventListener("focusin",o.focusInHandler,!0),t.document.removeEventListener("focusout",o.focusOutHandler,!0);for(const i of o.shadowTargets){const l=i.deref();l&&(l.removeEventListener("focusin",o.focusInHandler,!0),l.removeEventListener("focusout",o.focusOutHandler,!0))}o.shadowTargets.clear(),delete t.__keyborgData}n&&(r.focus=n)}var mw=500,kh=0,yw=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=n=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const o=n.detail;!o.relatedTarget||o.isFocusedProgrammatically||o.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0)},this._onMouseDown=n=>{n.buttons===0||n.clientX===0&&n.clientY===0&&n.screenX===0&&n.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const n=this._win;n&&(this._isMouseOrTouchUsedTimer&&n.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=n.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=n=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(n)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(n)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++kh,this._win=e;const r=e.document;if(t){const n=t.triggerKeys,o=t.dismissKeys;n!=null&&n.length&&(this._triggerKeys=new Set(n)),o!=null&&o.length&&(this._dismissKeys=new Set(o))}r.addEventListener(rr,this._onFocusIn,!0),r.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),r.addEventListener("touchstart",this._onMouseOrTouch,!0),r.addEventListener("touchend",this._onMouseOrTouch,!0),r.addEventListener("touchcancel",this._onMouseOrTouch,!0),hw(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),vw(e);const t=e.document;t.removeEventListener(rr,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("touchstart",this._onMouseOrTouch,!0),t.removeEventListener("touchend",this._onMouseOrTouch,!0),t.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,t;const r=(t=(e=this._win)==null?void 0:e.__keyborg)==null?void 0:t.refs;if(r)for(const n of Object.keys(r))Ku.update(r[n],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if(e.key==="Tab")return!0;const r=(t=this._win)==null?void 0:t.document.activeElement,n=!this._triggerKeys||this._triggerKeys.has(e.keyCode),o=r&&(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable);return n&&!o}_shouldDismissKeyboardNavigation(e){var t;return(t=this._dismissKeys)==null?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout(()=>{this._dismissTimer=void 0;const r=e.document.activeElement;t&&r&&t===r&&(this.isNavigatingWithKeyboard=!1)},mw)}}},Ku=class v0{constructor(t,r){this._cb=[],this._id="k"+ ++kh,this._win=t;const n=t.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new yw(t,r),t.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,r){return new v0(t,r)}static dispose(t){t.dispose()}static update(t,r){t._cb.forEach(n=>n(r))}dispose(){var t;const r=(t=this._win)==null?void 0:t.__keyborg;r!=null&&r.refs[this._id]&&(delete r.refs[this._id],Object.keys(r.refs).length===0&&(r.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var t;return!!((t=this._core)!=null&&t.isNavigatingWithKeyboard)}subscribe(t){this._cb.push(t)}unsubscribe(t){const r=this._cb.indexOf(t);r>=0&&this._cb.splice(r,1)}setVal(t){this._core&&(this._core.isNavigatingWithKeyboard=t)}};function bh(e,t){return Ku.create(e,t)}function wh(e){Ku.dispose(e)}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. *//*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */const nr="data-tabster",Bh="data-tabster-dummy",Yu=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),en={EscapeGroupper:1,Restorer:2,Deloser:3},kw={Any:0,Accessible:1,Focusable:2},bw={History:0,DeloserDefault:1,RootDefault:2,DeloserFirst:3,RootFirst:4},ww={Auto:0,Manual:1},Bw={Invisible:0,PartiallyVisible:1,Visible:2},ri={Source:0,Target:1},_w={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},Sw={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},xw={Unlimited:0,Limited:1,LimitedTrapFocus:2},Fw={Enter:1,Escape:2},_h={Auto:0,Inside:1,Outside:2};var Xu=Object.freeze({__proto__:null,TabsterAttributeName:nr,TabsterDummyInputAttributeName:Bh,FocusableSelector:Yu,AsyncFocusSources:en,ObservedElementAccesibilities:kw,RestoreFocusOrders:bw,DeloserStrategies:ww,Visibilities:Bw,RestorerTypes:ri,MoverDirections:_w,MoverKeys:Sw,GroupperTabbabilities:xw,GroupperMoveFocusActions:Fw,SysDummyInputsPositions:_h});/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */function Mt(e,t){var r;return(r=e.storageEntry(t))===null||r===void 0?void 0:r.tabster}function Sh(e,t,r){var n,o;const i=r||e._noop?void 0:t.getAttribute(nr);let l=e.storageEntry(t),a;if(i)if(i!==((n=l==null?void 0:l.attr)===null||n===void 0?void 0:n.string))try{const f=JSON.parse(i);if(typeof f!="object")throw new Error(`Value is not a JSON object, got '${i}'.`);a={string:i,object:f}}catch{}else return;else if(!l)return;l||(l=e.storageEntry(t,!0)),l.tabster||(l.tabster={});const s=l.tabster||{},c=((o=l.attr)===null||o===void 0?void 0:o.object)||{},d=(a==null?void 0:a.object)||{};for(const f of Object.keys(c))if(!d[f]){if(f==="root"){const g=s[f];g&&e.root.onRoot(g,!0)}switch(f){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const g=s[f];g&&(g.dispose(),delete s[f]);break;case"observed":delete s[f],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete s[f];break}}for(const f of Object.keys(d)){const g=d.sys;switch(f){case"deloser":s.deloser?s.deloser.setProps(d.deloser):e.deloser&&(s.deloser=e.deloser.createDeloser(t,d.deloser));break;case"root":s.root?s.root.setProps(d.root):s.root=e.root.createRoot(t,d.root,g),e.root.onRoot(s.root);break;case"modalizer":s.modalizer?s.modalizer.setProps(d.modalizer):e.modalizer&&(s.modalizer=e.modalizer.createModalizer(t,d.modalizer,g));break;case"restorer":s.restorer?s.restorer.setProps(d.restorer):e.restorer&&d.restorer&&(s.restorer=e.restorer.createRestorer(t,d.restorer));break;case"focusable":s.focusable=d.focusable;break;case"groupper":s.groupper?s.groupper.setProps(d.groupper):e.groupper&&(s.groupper=e.groupper.createGroupper(t,d.groupper,g));break;case"mover":s.mover?s.mover.setProps(d.mover):e.mover&&(s.mover=e.mover.createMover(t,d.mover,g));break;case"observed":e.observedElement&&(s.observed=d.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":s.uncontrolled=d.uncontrolled;break;case"outline":e.outline&&(s.outline=d.outline);break;case"sys":s.sys=d.sys;break;default:console.error(`Unknown key '${f}' in data-tabster attribute value.`)}}a?l.attr=a:(Object.keys(s).length===0&&(delete l.tabster,delete l.attr),e.storageEntry(t,!1))}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */const Ew="tabster:focusin",Cw="tabster:focusout",Pw="tabster:movefocus",Nw="tabster:modalizer:active",Tw="tabster:modalizer:inactive",Qu="tabster:restorer:restore-focus",Dw="tabster:root:focus",Ow="tabster:root:blur",Rw=typeof CustomEvent<"u"?CustomEvent:function(){};class Er extends Rw{constructor(t,r){super(t,{bubbles:!0,cancelable:!0,composed:!0,detail:r}),this.details=r}}class Aw extends Er{constructor(t){super(Ew,t)}}class Lw extends Er{constructor(t){super(Cw,t)}}class ni extends Er{constructor(t){super(Pw,t)}}class zw extends Er{constructor(t){super(Nw,t)}}class Iw extends Er{constructor(t){super(Tw,t)}}class xh extends Er{constructor(){super(Qu)}}class Mw extends Er{constructor(t){super(Dw,t)}}class jw extends Er{constructor(t){super(Ow,t)}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */const A={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,r,n)=>e.createTreeWalker(t,r,n),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!!(t&&(e==null?void 0:e.contains(t))),getActiveElement:e=>e.activeElement,querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getElementById:(e,t)=>e.getElementById(t),getFirstChild:e=>(e==null?void 0:e.firstChild)||null,getLastChild:e=>(e==null?void 0:e.lastChild)||null,getNextSibling:e=>(e==null?void 0:e.nextSibling)||null,getPreviousSibling:e=>(e==null?void 0:e.previousSibling)||null,getFirstElementChild:e=>(e==null?void 0:e.firstElementChild)||null,getLastElementChild:e=>(e==null?void 0:e.lastElementChild)||null,getNextElementSibling:e=>(e==null?void 0:e.nextElementSibling)||null,getPreviousElementSibling:e=>(e==null?void 0:e.previousElementSibling)||null,appendChild:(e,t)=>e.appendChild(t),insertBefore:(e,t,r)=>e.insertBefore(t,r),getSelection:e=>{var t;return((t=e.ownerDocument)===null||t===void 0?void 0:t.getSelection())||null}};function Hw(e){for(const t of Object.keys(e))A[t]=e[t]}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */let Ju,Ww=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Ju=!1}catch{Ju=!0}const Zu=100;function tn(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=r),r}function $w(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function Uw(e){const t=e.__tabsterInstanceContext;return new((t==null?void 0:t.basics.WeakMap)||WeakMap)}function qw(e){return!!e.querySelector(Yu)}class Fh{constructor(t){this._target=t}deref(){return this._target}static cleanup(t,r){return t._target?r||!Gu(t._target.ownerDocument,t._target)?(delete t._target,!0):!1:!0}}class Ct{constructor(t,r,n){const o=tn(t);let i;o.WeakRef?i=new o.WeakRef(r):(i=new Fh(r),o.fakeWeakRefs.push(i)),this._ref=i,this._data=n}get(){const t=this._ref;let r;return t&&(r=t.deref(),r||delete this._ref),r}getData(){return this._data}}function Eh(e,t){const r=tn(e);r.fakeWeakRefs=r.fakeWeakRefs.filter(n=>!Fh.cleanup(n,t))}function Ch(e){const t=tn(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=Jw(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,Eh(e),Ch(e)},2*60*1e3))}function Vw(e){const t=tn(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}function Ph(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const n=Ju?r:{acceptNode:r};return A.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,n,!1)}function Kw(e){e.__shouldIgnoreFocus=!0}function Nh(e){return!!e.__shouldIgnoreFocus}function Yw(e){const t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let n=0;n<t.length;n++)t[n]=4294967295*Math.random();const r=[];for(let n=0;n<t.length;n++)r.push(t[n].toString(36));return r.push("|"),r.push((++Ww).toString(36)),r.push("|"),r.push(Date.now().toString(36)),r.join("")}function Xw(e,t){const r=tn(e);let n=t.__tabsterElementUID;return n||(n=t.__tabsterElementUID=Yw(e())),!r.elementByUId[n]&&Gu(t.ownerDocument,t)&&(r.elementByUId[n]=new Ct(e,t)),n}function Th(e,t){const r=tn(e);for(const n of Object.keys(r.elementByUId)){const o=r.elementByUId[n],i=o&&o.get();i&&t&&!A.nodeContains(t,i)||delete r.elementByUId[n]}}function Gu(e,t){return A.nodeContains(e==null?void 0:e.body,t)}function Qw(e,t){const r=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return r&&r.call(e,t)}function Jw(e){return e.basics.WeakRef}let Zw=0;class ec{constructor(t,r,n){const o=t.getWindow;this._tabster=t,this._element=new Ct(o,r),this._props={...n},this.id="i"+ ++Zw}getElement(){return this._element.get()}getProps(){return this._props}setProps(t){this._props={...t}}}class ql{constructor(t,r,n,o,i){var l;this._focusIn=d=>{if(this._fixedTarget){const g=this._fixedTarget.get();g&&Gr(g);return}const f=this.input;if(this.onFocusIn&&f){const g=d.relatedTarget;this.onFocusIn(this,this._isBackward(!0,f,g),g)}},this._focusOut=d=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const f=this.input;if(this.onFocusOut&&f){const g=d.relatedTarget;this.onFocusOut(this,this._isBackward(!1,f,g),g)}};const a=t(),s=a.document.createElement("i");s.tabIndex=0,s.setAttribute("role","none"),s.setAttribute(Bh,""),s.setAttribute("aria-hidden","true");const c=s.style;c.position="fixed",c.width=c.height="1px",c.opacity="0.001",c.zIndex="-1",c.setProperty("content-visibility","hidden"),Kw(s),this.input=s,this.isFirst=n.isFirst,this.isOutside=r,this._isPhantom=(l=n.isPhantom)!==null&&l!==void 0?l:!1,this._fixedTarget=i,s.addEventListener("focusin",this._focusIn),s.addEventListener("focusout",this._focusOut),s.__tabsterDummyContainer=o,this._isPhantom&&(this._disposeTimer=a.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(a.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var t;this._clearDisposeTimeout&&this._clearDisposeTimeout();const r=this.input;!r||(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,r.removeEventListener("focusin",this._focusIn),r.removeEventListener("focusout",this._focusOut),delete r.__tabsterDummyContainer,(t=A.getParentNode(r))===null||t===void 0||t.removeChild(r))}setTopLeft(t,r){var n;const o=(n=this.input)===null||n===void 0?void 0:n.style;o&&(o.top=`${t}px`,o.left=`${r}px`)}_isBackward(t,r,n){return t&&!n?!this.isFirst:!!(n&&r.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)}}const Dh={Root:1,Modalizer:2,Mover:3,Groupper:4};class Vl{constructor(t,r,n,o,i,l){this._element=r,this._instance=new eB(t,r,this,n,o,i,l)}_setHandlers(t,r){this._onFocusIn=t,this._onFocusOut=r}moveOut(t){var r;(r=this._instance)===null||r===void 0||r.moveOut(t)}moveOutWithDefaultAction(t,r){var n;(n=this._instance)===null||n===void 0||n.moveOutWithDefaultAction(t,r)}getHandler(t){return t?this._onFocusIn:this._onFocusOut}setTabbable(t){var r;(r=this._instance)===null||r===void 0||r.setTabbable(this,t)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(t,r,n,o,i){const a=new ql(t.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(a){let s,c;if(r.tagName==="BODY")s=r,c=n&&o||!n&&!o?A.getFirstElementChild(r):null;else{n&&(!o||o&&!t.focusable.isFocusable(r,!1,!0,!0))?(s=r,c=o?r.firstElementChild:null):(s=A.getParentElement(r),c=n&&o||!n&&!o?r:A.getNextElementSibling(r));let d,f;do d=n&&o||!n&&!o?A.getPreviousElementSibling(c):c,f=rc(d),f===r?c=n&&o||!n&&!o?d:A.getNextElementSibling(d):f=null;while(f)}s!=null&&s.dispatchEvent(new ni({by:"root",owner:s,next:null,relatedEvent:i}))&&(A.insertBefore(s,a,c),Gr(a))}}static addPhantomDummyWithTarget(t,r,n,o){const l=new ql(t.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Ct(t.getWindow,o)).input;if(l){let a,s;qw(r)&&!n?(a=r,s=A.getFirstElementChild(r)):(a=A.getParentElement(r),s=n?r:A.getNextElementSibling(r)),a&&A.insertBefore(a,l,s)}}}class Gw{constructor(t){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=r=>{var n;this._changedParents.has(r)||(this._changedParents.add(r),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(n=this._win)===null||n===void 0?void 0:n.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const o of this._dummyElements){const i=o.get();if(i){const l=this._dummyCallbacks.get(i);if(l){const a=A.getParentNode(i);(!a||this._changedParents.has(a))&&l()}}}this._changedParents=new WeakSet},Zu)))},this._win=t}add(t,r){!this._dummyCallbacks.has(t)&&this._win&&(this._dummyElements.push(new Ct(this._win,t)),this._dummyCallbacks.set(t,r),this.domChanged=this._domChanged)}remove(t){this._dummyElements=this._dummyElements.filter(r=>{const n=r.get();return n&&n!==t}),this._dummyCallbacks.delete(t),this._dummyElements.length===0&&delete this.domChanged}dispose(){var t;const r=(t=this._win)===null||t===void 0?void 0:t.call(this);this._updateTimer&&(r==null||r.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(r==null||r.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(t){!this._win||(this._updateQueue.add(t),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var t;this._updateTimer||(this._updateTimer=(t=this._win)===null||t===void 0?void 0:t.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+Zu<=Date.now()){const r=new Map,n=[];for(const o of this._updateQueue)n.push(o(r));this._updateQueue.clear();for(const o of n)o();r.clear()}else this._scheduledUpdatePositions()},Zu))}}class eB{constructor(t,r,n,o,i,l,a){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(m,v,k)=>{this._onFocus(!0,m,v,k)},this._onFocusOut=(m,v,k)=>{this._onFocus(!1,m,v,k)},this.moveOut=m=>{var v;const k=this._firstDummy,B=this._lastDummy;if(k&&B){this._ensurePosition();const y=k.input,h=B.input,u=(v=this._element)===null||v===void 0?void 0:v.get();if(y&&h&&u){let p;m?(y.tabIndex=0,p=y):(h.tabIndex=0,p=h),p&&Gr(p)}}},this.moveOutWithDefaultAction=(m,v)=>{var k;const B=this._firstDummy,y=this._lastDummy;if(B&&y){this._ensurePosition();const h=B.input,u=y.input,p=(k=this._element)===null||k===void 0?void 0:k.get();if(h&&u&&p){let b;m?!B.isOutside&&this._tabster.focusable.isFocusable(p,!0,!0,!0)?b=p:(B.useDefaultAction=!0,h.tabIndex=0,b=h):(y.useDefaultAction=!0,u.tabIndex=0,b=u),b&&p.dispatchEvent(new ni({by:"root",owner:p,next:null,relatedEvent:v}))&&Gr(b)}}},this.setTabbable=(m,v)=>{var k,B;for(const h of this._wrappers)if(h.manager===m){h.tabbable=v;break}const y=this._getCurrent();if(y){const h=y.tabbable?0:-1;let u=(k=this._firstDummy)===null||k===void 0?void 0:k.input;u&&(u.tabIndex=h),u=(B=this._lastDummy)===null||B===void 0?void 0:B.input,u&&(u.tabIndex=h)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=m=>{var v,k;const B=((v=this._firstDummy)===null||v===void 0?void 0:v.input)||((k=this._lastDummy)===null||k===void 0?void 0:k.input),y=this._transformElements,h=new Set;let u=0,p=0;const b=this._getWindow();for(let w=B;w&&w.nodeType===Node.ELEMENT_NODE;w=A.getParentElement(w)){let _=m.get(w);if(_===void 0){const F=b.getComputedStyle(w).transform;F&&F!=="none"&&(_={scrollTop:w.scrollTop,scrollLeft:w.scrollLeft}),m.set(w,_||null)}_&&(h.add(w),y.has(w)||w.addEventListener("scroll",this._addTransformOffsets),u+=_.scrollTop,p+=_.scrollLeft)}for(const w of y)h.has(w)||w.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=h,()=>{var w,_;(w=this._firstDummy)===null||w===void 0||w.setTopLeft(u,p),(_=this._lastDummy)===null||_===void 0||_.setTopLeft(u,p)}};const s=r.get();if(!s)throw new Error("No element");this._tabster=t,this._getWindow=t.getWindow,this._callForDefaultAction=a;const c=s.__tabsterDummy;if((c||this)._wrappers.push({manager:n,priority:o,tabbable:!0}),c)return c;s.__tabsterDummy=this;const d=i==null?void 0:i.dummyInputsPosition,f=s.tagName;this._isOutside=d?d===_h.Outside:(l||f==="UL"||f==="OL"||f==="TABLE")&&!(f==="LI"||f==="TD"||f==="TH"),this._firstDummy=new ql(this._getWindow,this._isOutside,{isFirst:!0},r),this._lastDummy=new ql(this._getWindow,this._isOutside,{isFirst:!1},r);const g=this._firstDummy.input;g&&t._dummyObserver.add(g,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=r,this._addDummyInputs()}dispose(t,r){var n,o,i,l;if((this._wrappers=this._wrappers.filter(s=>s.manager!==t&&!r)).length===0){delete((n=this._element)===null||n===void 0?void 0:n.get()).__tabsterDummy;for(const d of this._transformElements)d.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const s=this._getWindow();this._addTimer&&(s.clearTimeout(this._addTimer),delete this._addTimer);const c=(o=this._firstDummy)===null||o===void 0?void 0:o.input;c&&this._tabster._dummyObserver.remove(c),(i=this._firstDummy)===null||i===void 0||i.dispose(),(l=this._lastDummy)===null||l===void 0||l.dispose()}}_onFocus(t,r,n,o){var i;const l=this._getCurrent();l&&(!r.useDefaultAction||this._callForDefaultAction)&&((i=l.manager.getHandler(t))===null||i===void 0||i(r,n,o))}_getCurrent(){return this._wrappers.sort((t,r)=>t.tabbable!==r.tabbable?t.tabbable?-1:1:t.priority-r.priority),this._wrappers[0]}_ensurePosition(){var t,r,n;const o=(t=this._element)===null||t===void 0?void 0:t.get(),i=(r=this._firstDummy)===null||r===void 0?void 0:r.input,l=(n=this._lastDummy)===null||n===void 0?void 0:n.input;if(!(!o||!i||!l))if(this._isOutside){const a=A.getParentNode(o);if(a){const s=A.getNextSibling(o);s!==l&&A.insertBefore(a,l,s),A.getPreviousElementSibling(o)!==i&&A.insertBefore(a,i,o)}}else{A.getLastElementChild(o)!==l&&A.appendChild(o,l);const a=A.getFirstElementChild(o);a&&a!==i&&a.parentNode&&A.insertBefore(a.parentNode,i,a)}}}function Oh(e){let t=null;for(let r=A.getLastElementChild(e);r;r=A.getLastElementChild(r))t=r;return t||void 0}function tc(e,t,r,n){const o=e.storageEntry(t,!0);let i=!1;if(!o.aug){if(n===void 0)return i;o.aug={}}if(n===void 0){if(r in o.aug){const l=o.aug[r];delete o.aug[r],l===null?t.removeAttribute(r):t.setAttribute(r,l),i=!0}}else{let l;r in o.aug||(l=t.getAttribute(r)),l!==void 0&&l!==n&&(o.aug[r]=l,n===null?t.removeAttribute(r):t.setAttribute(r,n),i=!0)}return n===void 0&&Object.keys(o.aug).length===0&&(delete o.aug,e.storageEntry(t,!1)),i}function tB(e){var t,r;const n=e.ownerDocument,o=(t=n.defaultView)===null||t===void 0?void 0:t.getComputedStyle(e);return e.offsetParent===null&&n.body!==e&&(o==null?void 0:o.position)!=="fixed"||(o==null?void 0:o.visibility)==="hidden"||(o==null?void 0:o.position)==="fixed"&&(o.display==="none"||((r=e.parentElement)===null||r===void 0?void 0:r.offsetParent)===null&&n.body!==e.parentElement)}function rc(e){var t;return((t=e==null?void 0:e.__tabsterDummyContainer)===null||t===void 0?void 0:t.get())||null}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */function Rh(e,t){const r=JSON.stringify(e);return t===!0?r:{[nr]:r}}function rB(e,t){for(const r of Object.keys(t)){const n=t[r];n?e[r]=n:delete e[r]}}function nB(e,t,r){let n;if(r){const o=e.getAttribute(nr);if(o)try{n=JSON.parse(o)}catch{}}n||(n={}),rB(n,t),Object.keys(n).length>0?e.setAttribute(nr,Rh(n,!0)):e.removeAttribute(nr)}class Ah extends Vl{constructor(t,r,n,o){super(t,r,Dh.Root,o,void 0,!0),this._onDummyInputFocus=i=>{var l;if(i.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const a=this._element.get();if(a){this._setFocused(!0);const s=this._tabster.focusedElement.getFirstOrLastTabbable(i.isFirst,{container:a,ignoreAccessibility:!0});if(s){Gr(s);return}}(l=i.input)===null||l===void 0||l.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=t,this._setFocused=n}}class oB extends ec{constructor(t,r,n,o,i){super(t,r,o),this._isFocused=!1,this._setFocused=c=>{var d;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===c)return;const f=this._element.get();f&&(c?(this._isFocused=!0,(d=this._dummyManager)===null||d===void 0||d.setTabbable(!1),f.dispatchEvent(new Mw({element:f}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var g;delete this._setFocusedTimer,this._isFocused=!1,(g=this._dummyManager)===null||g===void 0||g.setTabbable(!0),f.dispatchEvent(new jw({element:f}))},0))},this._onFocusIn=c=>{const d=this._tabster.getParent,f=this._element.get();let g=c.composedPath()[0];do{if(g===f){this._setFocused(!0);return}g=g&&d(g)}while(g)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=n;const l=t.getWindow;this.uid=Xw(l,r),this._sys=i,(t.controlTab||t.rootDummyInputs)&&this.addDummyInputs();const s=l().document;s.addEventListener(rr,this._onFocusIn),s.addEventListener(ti,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Ah(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var t;this._onDispose(this);const r=this._tabster.getWindow(),n=r.document;n.removeEventListener(rr,this._onFocusIn),n.removeEventListener(ti,this._onFocusOut),this._setFocusedTimer&&(r.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(t=this._dummyManager)===null||t===void 0||t.dispose(),this._remove()}moveOutWithDefaultAction(t,r){const n=this._dummyManager;if(n)n.moveOutWithDefaultAction(t,r);else{const o=this.getElement();o&&Ah.moveWithPhantomDummy(this._tabster,o,!0,t,r)}}_add(){}_remove(){}}class Ee{constructor(t,r){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var n;const o=this._win().document,i=o.body;if(i){this._autoRootUnwait(o);const l=this._autoRoot;if(l)return nB(i,{root:l},!0),Sh(this._tabster,i),(n=Mt(this._tabster,i))===null||n===void 0?void 0:n.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,o.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=n=>{delete this._roots[n.id]},this._tabster=t,this._win=t.getWindow,this._autoRoot=r,t.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(t){t.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const t=this._win();this._autoRootUnwait(t.document),delete this._autoRoot,Object.keys(this._roots).forEach(r=>{this._roots[r]&&(this._roots[r].dispose(),delete this._roots[r])}),this.rootById={}}createRoot(t,r,n){const o=new oB(this._tabster,t,this._onRootDispose,r,n);return this._roots[o.id]=o,this._forceDummy&&o.addDummyInputs(),o}addDummyInputs(){this._forceDummy=!0;const t=this._roots;for(const r of Object.keys(t))t[r].addDummyInputs()}static getRootByUId(t,r){const n=t().__tabsterInstance;return n&&n.root.rootById[r]}static getTabsterContext(t,r,n){n===void 0&&(n={});var o,i,l,a;if(!r.ownerDocument)return;const{checkRtl:s,referenceElement:c}=n,d=t.getParent;t.drainInitQueue();let f,g,m,v,k=!1,B,y,h,u,p=c||r;const b={};for(;p&&(!f||s);){const _=Mt(t,p);if(s&&h===void 0){const I=p.dir;I&&(h=I.toLowerCase()==="rtl")}if(!_){p=d(p);continue}const F=p.tagName;(_.uncontrolled||F==="IFRAME"||F==="WEBVIEW")&&(u=p),!v&&((o=_.focusable)===null||o===void 0?void 0:o.excludeFromMover)&&!m&&(k=!0);const O=_.modalizer,C=_.groupper,L=_.mover;!g&&O&&(g=O),!m&&C&&(!g||O)&&(g?(!C.isActive()&&C.getProps().tabbability&&g.userId!==((i=t.modalizer)===null||i===void 0?void 0:i.activeId)&&(g=void 0,m=C),y=C):m=C),!v&&L&&(!g||O)&&(!C||p!==r)&&p.contains(r)&&(v=L,B=!!m&&m!==C),_.root&&(f=_.root),!((l=_.focusable)===null||l===void 0)&&l.ignoreKeydown&&Object.assign(b,_.focusable.ignoreKeydown),p=d(p)}if(!f){const _=t.root;_._autoRoot&&!((a=r.ownerDocument)===null||a===void 0)&&a.body&&(f=_._autoRootCreate())}return m&&!v&&(B=!0),f?{root:f,modalizer:g,groupper:m,mover:v,groupperBeforeMover:B,modalizerInGroupper:y,rtl:s?!!h:void 0,uncontrolled:u,excludedFromMover:k,ignoreKeydown:_=>!!b[_.key]}:void 0}static getRoot(t,r){var n;const o=t.getParent;for(let i=r;i;i=o(i)){const l=(n=Mt(t,i))===null||n===void 0?void 0:n.root;if(l)return l}}onRoot(t,r){r?delete this.rootById[t.uid]:this.rootById[t.uid]=t}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class Lh{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(t){const r=this._callbacks;r.indexOf(t)<0&&r.push(t)}subscribeFirst(t){const r=this._callbacks,n=r.indexOf(t);n>=0&&r.splice(n,1),r.unshift(t)}unsubscribe(t){const r=this._callbacks.indexOf(t);r>=0&&this._callbacks.splice(r,1)}setVal(t,r){this._val!==t&&(this._val=t,this._callCallbacks(t,r))}getVal(){return this._val}trigger(t,r){this._callCallbacks(t,r)}_callCallbacks(t,r){this._callbacks.forEach(n=>n(t,r))}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class iB{constructor(t){this._tabster=t}dispose(){}getProps(t){const r=Mt(this._tabster,t);return r&&r.focusable||{}}isFocusable(t,r,n,o){return Qw(t,Yu)&&(r||t.tabIndex!==-1)?(n||this.isVisible(t))&&(o||this.isAccessible(t)):!1}isVisible(t){if(!t.ownerDocument||t.nodeType!==Node.ELEMENT_NODE||tB(t))return!1;const r=t.ownerDocument.body.getBoundingClientRect();return!(r.width===0&&r.height===0)}isAccessible(t){var r;for(let n=t;n;n=A.getParentElement(n)){const o=Mt(this._tabster,n);if(this._isHidden(n)||!((r=o==null?void 0:o.focusable)===null||r===void 0?void 0:r.ignoreAriaDisabled)&&this._isDisabled(n))return!1}return!0}_isDisabled(t){return t.hasAttribute("disabled")}_isHidden(t){var r;const n=t.getAttribute("aria-hidden");return!!(n&&n.toLowerCase()==="true"&&!(!((r=this._tabster.modalizer)===null||r===void 0)&&r.isAugmented(t)))}findFirst(t,r){return this.findElement({...t},r)}findLast(t,r){return this.findElement({isBackward:!0,...t},r)}findNext(t,r){return this.findElement({...t},r)}findPrev(t,r){return this.findElement({...t,isBackward:!0},r)}findDefault(t,r){return this.findElement({...t,acceptCondition:n=>this.isFocusable(n,t.includeProgrammaticallyFocusable)&&!!this.getProps(n).isDefault},r)||null}findAll(t){return this._findElements(!0,t)||[]}findElement(t,r){const n=this._findElements(!1,t,r);return n&&n[0]}_findElements(t,r,n){var o,i,l;const{container:a,currentElement:s=null,includeProgrammaticallyFocusable:c,useActiveModalizer:d,ignoreAccessibility:f,modalizerId:g,isBackward:m,onElement:v}=r;n||(n={});const k=[];let{acceptCondition:B}=r;const y=!!B;if(!a)return null;B||(B=b=>this.isFocusable(b,c,!1,f));const h={container:a,modalizerUserId:g===void 0&&d?(o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId:g||((l=(i=Ee.getTabsterContext(this._tabster,a))===null||i===void 0?void 0:i.modalizer)===null||l===void 0?void 0:l.userId),from:s||a,isBackward:m,acceptCondition:B,hasCustomCondition:y,includeProgrammaticallyFocusable:c,ignoreAccessibility:f,cachedGrouppers:{}},u=Ph(a.ownerDocument,a,b=>this._acceptElement(b,h));if(!u)return null;const p=b=>{var w,_;const F=(w=h.foundElement)!==null&&w!==void 0?w:h.foundBackward;return F&&k.push(F),t?F&&(h.found=!1,delete h.foundElement,delete h.foundBackward,delete h.fromCtx,h.from=F,v&&!v(F))?!1:!!(F||b):(F&&n&&(n.uncontrolled=(_=Ee.getTabsterContext(this._tabster,F))===null||_===void 0?void 0:_.uncontrolled),!!(b&&!F))};if(s||(n.outOfDOMOrder=!0),s&&A.nodeContains(a,s))u.currentNode=s;else if(m){const b=Oh(a);if(!b)return null;if(this._acceptElement(b,h)===NodeFilter.FILTER_ACCEPT&&!p(!0))return h.skippedFocusable&&(n.outOfDOMOrder=!0),k;u.currentNode=b}do m?u.previousNode():u.nextNode();while(p());return h.skippedFocusable&&(n.outOfDOMOrder=!0),k.length?k:null}_acceptElement(t,r){var n,o,i;if(r.found)return NodeFilter.FILTER_ACCEPT;const l=r.foundBackward;if(l&&(t===l||!A.nodeContains(l,t)))return r.found=!0,r.foundElement=l,NodeFilter.FILTER_ACCEPT;const a=r.container;if(t===a)return NodeFilter.FILTER_SKIP;if(!A.nodeContains(a,t)||rc(t)||A.nodeContains(r.rejectElementsFrom,t))return NodeFilter.FILTER_REJECT;const s=r.currentCtx=Ee.getTabsterContext(this._tabster,t);if(!s)return NodeFilter.FILTER_SKIP;if(Nh(t))return this.isFocusable(t,void 0,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!r.hasCustomCondition&&(t.tagName==="IFRAME"||t.tagName==="WEBVIEW"))return((n=s.modalizer)===null||n===void 0?void 0:n.userId)===((o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId)?(r.found=!0,r.rejectElementsFrom=r.foundElement=t,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!r.ignoreAccessibility&&!this.isAccessible(t))return this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let c,d=r.fromCtx;d||(d=r.fromCtx=Ee.getTabsterContext(this._tabster,r.from));const f=d==null?void 0:d.mover;let g=s.groupper,m=s.mover;if(c=(i=this._tabster.modalizer)===null||i===void 0?void 0:i.acceptElement(t,r),c!==void 0&&(r.skippedFocusable=!0),c===void 0&&(g||m||f)){const v=g==null?void 0:g.getElement(),k=f==null?void 0:f.getElement();let B=m==null?void 0:m.getElement();B&&A.nodeContains(k,B)&&A.nodeContains(a,k)&&(!v||!m||A.nodeContains(k,v))&&(m=f,B=k),v&&(v===a||!A.nodeContains(a,v))&&(g=void 0),B&&!A.nodeContains(a,B)&&(m=void 0),g&&m&&(B&&v&&!A.nodeContains(v,B)?m=void 0:g=void 0),g&&(c=g.acceptElement(t,r)),m&&(c=m.acceptElement(t,r))}return c===void 0&&(c=r.acceptCondition(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,c===NodeFilter.FILTER_SKIP&&this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0)),c===NodeFilter.FILTER_ACCEPT&&!r.found&&(r.isBackward?(r.foundBackward=t,c=NodeFilter.FILTER_SKIP):(r.found=!0,r.foundElement=t)),c}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */const zh={Tab:"Tab",Enter:"Enter",Escape:"Escape",Space:" ",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */function lB(e,t){var r;const n=e.getParent;let o=t;do{const i=(r=Mt(e,o))===null||r===void 0?void 0:r.uncontrolled;if(i&&e.uncontrolled.isUncontrolledCompletely(o,!!i.completely))return o;o=n(o)}while(o)}const Ih={[en.Restorer]:0,[en.Deloser]:1,[en.EscapeGroupper]:2};class ye extends Lh{constructor(t,r){super(),this._init=()=>{const n=this._win(),o=n.document;o.addEventListener(rr,this._onFocusIn,!0),o.addEventListener(ti,this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const i=A.getActiveElement(o);i&&i!==o.body&&this._setFocusedElement(i),this.subscribe(this._onChanged)},this._onFocusIn=n=>{const o=n.composedPath()[0];o&&this._setFocusedElement(o,n.detail.relatedTarget,n.detail.isFocusedProgrammatically)},this._onFocusOut=n=>{var o;this._setFocusedElement(void 0,(o=n.detail)===null||o===void 0?void 0:o.originalEvent.relatedTarget)},this._validateFocusedElement=n=>{},this._onKeyDown=n=>{if(n.key!==zh.Tab||n.ctrlKey)return;const o=this.getVal();if(!o||!o.ownerDocument||o.contentEditable==="true")return;const i=this._tabster,l=i.controlTab,a=Ee.getTabsterContext(i,o);if(!a||a.ignoreKeydown(n))return;const s=n.shiftKey,c=ye.findNextTabbable(i,a,void 0,o,void 0,s,!0),d=a.root.getElement();if(!d)return;const f=c==null?void 0:c.element,g=lB(i,o);if(f){const m=c.uncontrolled;if(a.uncontrolled||A.nodeContains(m,o)){if(!c.outOfDOMOrder&&m===a.uncontrolled||g&&!A.nodeContains(g,f))return;Vl.addPhantomDummyWithTarget(i,o,s,f);return}if(m||f.tagName==="IFRAME"){d.dispatchEvent(new ni({by:"root",owner:d,next:f,relatedEvent:n}))&&Vl.moveWithPhantomDummy(this._tabster,m!=null?m:f,!1,s,n);return}(l||(c==null?void 0:c.outOfDOMOrder))&&d.dispatchEvent(new ni({by:"root",owner:d,next:f,relatedEvent:n}))&&(n.preventDefault(),n.stopImmediatePropagation(),Gr(f))}else!g&&d.dispatchEvent(new ni({by:"root",owner:d,next:null,relatedEvent:n}))&&a.root.moveOutWithDefaultAction(s,n)},this._onChanged=(n,o)=>{var i,l;if(n)n.dispatchEvent(new Aw(o));else{const a=(i=this._lastVal)===null||i===void 0?void 0:i.get();if(a){const s={...o},c=Ee.getTabsterContext(this._tabster,a),d=(l=c==null?void 0:c.modalizer)===null||l===void 0?void 0:l.userId;d&&(s.modalizerId=d),a.dispatchEvent(new Lw(s))}}},this._tabster=t,this._win=r,t.queueInit(this._init)}dispose(){super.dispose();const t=this._win(),r=t.document;r.removeEventListener(rr,this._onFocusIn,!0),r.removeEventListener(ti,this._onFocusOut,!0),t.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const n=this._asyncFocus;n&&(t.clearTimeout(n.timeout),delete this._asyncFocus),delete ye._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,r){var n,o;let i=ye._lastResetElement,l=i&&i.get();l&&A.nodeContains(r,l)&&delete ye._lastResetElement,l=(o=(n=t._nextVal)===null||n===void 0?void 0:n.element)===null||o===void 0?void 0:o.get(),l&&A.nodeContains(r,l)&&delete t._nextVal,i=t._lastVal,l=i&&i.get(),l&&A.nodeContains(r,l)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var t;let r=(t=this._lastVal)===null||t===void 0?void 0:t.get();return(!r||r&&!Gu(r.ownerDocument,r))&&(this._lastVal=r=void 0),r}focus(t,r,n){return this._tabster.focusable.isFocusable(t,r,!1,n)?(t.focus(),!0):!1}focusDefault(t){const r=this._tabster.focusable.findDefault({container:t});return r?(this._tabster.focusedElement.focus(r),!0):!1}getFirstOrLastTabbable(t,r){var n;const{container:o,ignoreAccessibility:i}=r;let l;if(o){const a=Ee.getTabsterContext(this._tabster,o);a&&(l=(n=ye.findNextTabbable(this._tabster,a,o,void 0,void 0,!t,i))===null||n===void 0?void 0:n.element)}return l&&!A.nodeContains(o,l)&&(l=void 0),l||void 0}_focusFirstOrLast(t,r){const n=this.getFirstOrLastTabbable(t,r);return n?(this.focus(n,!1,!0),!0):!1}focusFirst(t){return this._focusFirstOrLast(!0,t)}focusLast(t){return this._focusFirstOrLast(!1,t)}resetFocus(t){if(!this._tabster.focusable.isVisible(t))return!1;if(this._tabster.focusable.isFocusable(t,!0,!0,!0))this.focus(t);else{const r=t.getAttribute("tabindex"),n=t.getAttribute("aria-hidden");t.tabIndex=-1,t.setAttribute("aria-hidden","true"),ye._lastResetElement=new Ct(this._win,t),this.focus(t,!0,!0),this._setOrRemoveAttribute(t,"tabindex",r),this._setOrRemoveAttribute(t,"aria-hidden",n)}return!0}requestAsyncFocus(t,r,n){const o=this._tabster.getWindow(),i=this._asyncFocus;if(i){if(Ih[t]>Ih[i.source])return;o.clearTimeout(i.timeout)}this._asyncFocus={source:t,callback:r,timeout:o.setTimeout(()=>{this._asyncFocus=void 0,r()},n)}}cancelAsyncFocus(t){const r=this._asyncFocus;(r==null?void 0:r.source)===t&&(this._tabster.getWindow().clearTimeout(r.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(t,r,n){n===null?t.removeAttribute(r):t.setAttribute(r,n)}_setFocusedElement(t,r,n){var o,i;if(this._tabster._noop)return;const l={relatedTarget:r};if(t){const s=(o=ye._lastResetElement)===null||o===void 0?void 0:o.get();if(ye._lastResetElement=void 0,s===t||Nh(t))return;l.isFocusedProgrammatically=n;const c=Ee.getTabsterContext(this._tabster,t),d=(i=c==null?void 0:c.modalizer)===null||i===void 0?void 0:i.userId;d&&(l.modalizerId=d)}const a=this._nextVal={element:t?new Ct(this._win,t):void 0,detail:l};t&&t!==this._val&&this._validateFocusedElement(t),this._nextVal===a&&this.setVal(t,l),this._nextVal=void 0}setVal(t,r){super.setVal(t,r),t&&(this._lastVal=new Ct(this._win,t))}static findNextTabbable(t,r,n,o,i,l,a){const s=n||r.root.getElement();if(!s)return null;let c=null;const d=ye._isTabbingTimer,f=t.getWindow();d&&f.clearTimeout(d),ye.isTabbing=!0,ye._isTabbingTimer=f.setTimeout(()=>{delete ye._isTabbingTimer,ye.isTabbing=!1},0);const g=r.modalizer,m=r.groupper,v=r.mover,k=B=>{if(c=B.findNextTabbable(o,i,l,a),o&&!(c!=null&&c.element)){const y=B!==g&&A.getParentElement(B.getElement());if(y){const h=Ee.getTabsterContext(t,o,{referenceElement:y});if(h){const u=B.getElement(),p=l?u:u&&Oh(u)||u;p&&(c=ye.findNextTabbable(t,h,n,p,y,l,a),c&&(c.outOfDOMOrder=!0))}}}};if(m&&v)k(r.groupperBeforeMover?m:v);else if(m)k(m);else if(v)k(v);else if(g)k(g);else{const B={container:s,currentElement:o,referenceElement:i,ignoreAccessibility:a,useActiveModalizer:!0},y={};c={element:t.focusable[l?"findPrev":"findNext"](B,y),outOfDOMOrder:y.outOfDOMOrder,uncontrolled:y.uncontrolled}}return c}}ye.isTabbing=!1;/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class sB extends Lh{constructor(t){super(),this._onChange=r=>{this.setVal(r,void 0)},this._keyborg=bh(t()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),wh(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(t){var r;(r=this._keyborg)===null||r===void 0||r.setVal(t)}isNavigatingWithKeyboard(){var t;return!!(!((t=this._keyborg)===null||t===void 0)&&t.isNavigatingWithKeyboard())}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */let aB=0;const nc="aria-hidden";class uB extends Vl{constructor(t,r,n){super(r,t,Dh.Modalizer,n),this._setHandlers((o,i)=>{var l,a;const s=t.get(),c=s&&((l=Ee.getRoot(r,s))===null||l===void 0?void 0:l.getElement()),d=o.input;let f;if(c&&d){const g=rc(d),m=Ee.getTabsterContext(r,g||d);m&&(f=(a=ye.findNextTabbable(r,m,c,d,void 0,i,!0))===null||a===void 0?void 0:a.element),f&&Gr(f)}})}}class cB extends ec{constructor(t,r,n,o,i,l){super(t,r,o),this._wasFocused=0,this.userId=o.id,this._onDispose=n,this._activeElements=l,t.controlTab||(this.dummyManager=new uB(this._element,t,i))}makeActive(t){if(this._isActive!==t){this._isActive=t;const r=this.getElement();if(r){const n=this._activeElements,o=n.map(i=>i.get()).indexOf(r);t?o<0&&n.push(new Ct(this._tabster.getWindow,r)):o>=0&&n.splice(o,1)}this._dispatchEvent(t)}}focused(t){return t||(this._wasFocused=++aB),this._wasFocused}setProps(t){t.id&&(this.userId=t.id),this._props={...t}}dispose(){var t;this.makeActive(!1),this._onDispose(this),(t=this.dummyManager)===null||t===void 0||t.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(t){return A.nodeContains(this.getElement(),t)}findNextTabbable(t,r,n,o){var i,l;if(!this.getElement())return null;const s=this._tabster;let c=null,d=!1,f;const g=t&&((i=Ee.getRoot(s,t))===null||i===void 0?void 0:i.getElement());if(g){const m={container:g,currentElement:t,referenceElement:r,ignoreAccessibility:o,useActiveModalizer:!0},v={};c=s.focusable[n?"findPrev":"findNext"](m,v),!c&&this._props.isTrapped&&((l=s.modalizer)===null||l===void 0?void 0:l.activeId)?(c=s.focusable[n?"findLast":"findFirst"]({container:g,ignoreAccessibility:o,useActiveModalizer:!0},v),d=!0):d=!!v.outOfDOMOrder,f=v.uncontrolled}return{element:c,uncontrolled:f,outOfDOMOrder:d}}_dispatchEvent(t,r){const n=this.getElement();let o=!1;if(n){const i=r?this._activeElements.map(l=>l.get()):[n];for(const l of i)if(l){const a={id:this.userId,element:n},s=t?new zw(a):new Iw(a);l.dispatchEvent(s),s.defaultPrevented&&(o=!0)}}return o}_remove(){}}class dB{constructor(t,r,n){this._onModalizerDispose=i=>{const l=i.id,a=i.userId,s=this._parts[a];delete this._modalizers[l],s&&(delete s[l],Object.keys(s).length===0&&(delete this._parts[a],this.activeId===a&&this.setActive(void 0)))},this._onKeyDown=i=>{var l;if(i.key!==zh.Escape)return;const a=this._tabster,s=a.focusedElement.getFocusedElement();if(s){const c=Ee.getTabsterContext(a,s),d=c==null?void 0:c.modalizer;if(c&&!c.groupper&&(d==null?void 0:d.isActive())&&!c.ignoreKeydown(i)){const f=d.userId;if(f){const g=this._parts[f];if(g){const m=Object.keys(g).map(v=>{var k;const B=g[v],y=B.getElement();let h;return y&&(h=(k=Mt(this._tabster,y))===null||k===void 0?void 0:k.groupper),B&&y&&h?{el:y,focusedSince:B.focused(!0)}:{focusedSince:0}}).filter(v=>v.focusedSince>0).sort((v,k)=>v.focusedSince>k.focusedSince?-1:v.focusedSince<k.focusedSince?1:0);if(m.length){const v=m[0].el;v&&((l=a.groupper)===null||l===void 0||l.handleKeyPress(v,i,!0))}}}}}},this._onFocus=(i,l)=>{var a,s;const c=i&&Ee.getTabsterContext(this._tabster,i);if(!c||!i)return;const d=this._augMap;for(let g=i;g;g=A.getParentElement(g))d.has(g)&&(d.delete(g),tc(this._tabster,g,nc));const f=c.modalizer;if((s=f||((a=Mt(this._tabster,i))===null||a===void 0?void 0:a.modalizer))===null||s===void 0||s.focused(),(f==null?void 0:f.userId)===this.activeId){this.currentIsOthersAccessible=f==null?void 0:f.getProps().isOthersAccessible;return}if(l.isFocusedProgrammatically||this.currentIsOthersAccessible||(f==null?void 0:f.getProps().isAlwaysAccessible))this.setActive(f);else{const g=this._win();g.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=g.setTimeout(()=>this._restoreModalizerFocus(i),100)}},this._tabster=t,this._win=t.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=r,this._accessibleCheck=n,this.activeElements=[],t.controlTab||t.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),t.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const t=this._win();t.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(r=>{this._modalizers[r]&&(this._modalizers[r].dispose(),delete this._modalizers[r])}),t.clearTimeout(this._restoreModalizerFocusTimer),t.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(t,r,n){var o;const i=new cB(this._tabster,t,this._onModalizerDispose,r,n,this.activeElements),l=i.id,a=r.id;this._modalizers[l]=i;let s=this._parts[a];return s||(s=this._parts[a]={}),s[l]=i,A.nodeContains(t,(o=this._tabster.focusedElement.getFocusedElement())!==null&&o!==void 0?o:null)&&(a!==this.activeId?this.setActive(i):i.makeActive(!0)),i}isAugmented(t){return this._augMap.has(t)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(t){const r=t==null?void 0:t.userId,n=this.activeId;if(n!==r){if(this.activeId=r,n){const o=this._parts[n];if(o)for(const i of Object.keys(o))o[i].makeActive(!1)}if(r){const o=this._parts[r];if(o)for(const i of Object.keys(o))o[i].makeActive(!0)}this.currentIsOthersAccessible=t==null?void 0:t.getProps().isOthersAccessible,this.hiddenUpdate()}}focus(t,r,n){const o=Ee.getTabsterContext(this._tabster,t),i=o==null?void 0:o.modalizer;if(i){this.setActive(i);const l=i.getProps(),a=i.getElement();if(a){if(r===void 0&&(r=l.isNoFocusFirst),!r&&this._tabster.keyboardNavigation.isNavigatingWithKeyboard()&&this._tabster.focusedElement.focusFirst({container:a})||(n===void 0&&(n=l.isNoFocusDefault),!n&&this._tabster.focusedElement.focusDefault(a)))return!0;this._tabster.focusedElement.resetFocus(a)}}return!1}acceptElement(t,r){var n;const o=r.modalizerUserId,i=(n=r.currentCtx)===null||n===void 0?void 0:n.modalizer;if(o)for(const a of this.activeElements){const s=a.get();if(s&&(A.nodeContains(t,s)||s===t))return NodeFilter.FILTER_SKIP}const l=o===(i==null?void 0:i.userId)||!o&&(i==null?void 0:i.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return l!==void 0&&(r.skippedFocusable=!0),l}_hiddenUpdate(){var t;const r=this._tabster,n=r.getWindow().document.body,o=this.activeId,i=this._parts,l=[],a=[],s=this._alwaysAccessibleSelector,c=s?Array.from(A.querySelectorAll(n,s)):[],d=[];for(const y of Object.keys(i)){const h=i[y];for(const u of Object.keys(h)){const p=h[u],b=p.getElement(),_=p.getProps().isAlwaysAccessible;b&&(y===o?(d.push(b),this.currentIsOthersAccessible||l.push(b)):_?c.push(b):a.push(b))}}const f=this._augMap,g=l.length>0?[...l,...c]:void 0,m=[],v=new WeakMap,k=(y,h)=>{var u;const p=y.tagName;if(p==="SCRIPT"||p==="STYLE")return;let b=!1;f.has(y)?h?b=!0:(f.delete(y),tc(r,y,nc)):h&&!(!((u=this._accessibleCheck)===null||u===void 0)&&u.call(this,y,d))&&tc(r,y,nc,"true")&&(f.set(y,!0),b=!0),b&&(m.push(new Ct(r.getWindow,y)),v.set(y,!0))},B=y=>{var h;for(let u=A.getFirstElementChild(y);u;u=A.getNextElementSibling(u)){let p=!1,b=!1,w=!1;if(g){const _=r.getParent(u);for(const F of g){if(u===F){p=!0;break}if(A.nodeContains(u,F)){b=!0;break}else A.nodeContains(F,_)&&(w=!0)}b||((h=u.__tabsterElementFlags)===null||h===void 0?void 0:h.noDirectAriaHidden)?B(u):!p&&!w&&k(u,!0)}else k(u,!1)}};g||c.forEach(y=>k(y,!1)),a.forEach(y=>k(y,!0)),n&&B(n),(t=this._aug)===null||t===void 0||t.map(y=>y.get()).forEach(y=>{y&&!v.get(y)&&k(y,!1)}),this._aug=m,this._augMap=v}_restoreModalizerFocus(t){const r=t==null?void 0:t.ownerDocument;if(!t||!r)return;const n=Ee.getTabsterContext(this._tabster,t),o=n==null?void 0:n.modalizer,i=this.activeId;if(!o&&!i||o&&i===o.userId)return;const l=n==null?void 0:n.root.getElement();if(l){let a=this._tabster.focusable.findFirst({container:l,useActiveModalizer:!0});if(a){if(t.compareDocumentPosition(a)&document.DOCUMENT_POSITION_PRECEDING&&(a=this._tabster.focusable.findLast({container:l,useActiveModalizer:!0}),!a))throw new Error("Something went wrong.");this._tabster.focusedElement.focus(a);return}}t.blur()}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */function fB(e,t,r,n){if(typeof MutationObserver>"u")return()=>{};const o=t.getWindow;let i;const l=d=>{var f,g,m,v,k;const B=new Set;for(const y of d){const h=y.target,u=y.removedNodes,p=y.addedNodes;if(y.type==="attributes")y.attributeName===nr&&(B.has(h)||r(t,h));else{for(let b=0;b<u.length;b++){const w=u[b];B.add(w),a(w,!0),(g=(f=t._dummyObserver).domChanged)===null||g===void 0||g.call(f,h)}for(let b=0;b<p.length;b++)a(p[b]),(v=(m=t._dummyObserver).domChanged)===null||v===void 0||v.call(m,h)}}B.clear(),(k=t.modalizer)===null||k===void 0||k.hiddenUpdate()};function a(d,f){i||(i=tn(o).elementByUId),s(d,f);const g=Ph(e,d,m=>s(m,f));if(g)for(;g.nextNode(););}function s(d,f){var g;if(!d.getAttribute)return NodeFilter.FILTER_SKIP;const m=d.__tabsterElementUID;return m&&i&&(f?delete i[m]:(g=i[m])!==null&&g!==void 0||(i[m]=new Ct(o,d))),(Mt(t,d)||d.hasAttribute(nr))&&r(t,d,f),NodeFilter.FILTER_SKIP}const c=A.createMutationObserver(l);return n&&a(o().document.body),c.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[nr]}),()=>{c.disconnect()}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class gB{constructor(t){this._isUncontrolledCompletely=t}isUncontrolledCompletely(t,r){var n;const o=(n=this._isUncontrolledCompletely)===null||n===void 0?void 0:n.call(this,t,r);return o===void 0?r:o}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */const pB=10;class hB extends ec{constructor(t,r,n){var o;if(super(t,r,n),this._hasFocus=!1,this._onFocusOut=i=>{var l;const a=(l=this._element)===null||l===void 0?void 0:l.get();a&&i.relatedTarget===null&&a.dispatchEvent(new xh),a&&!A.nodeContains(a,i.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===ri.Source){const i=(o=this._element)===null||o===void 0?void 0:o.get();i==null||i.addEventListener("focusout",this._onFocusOut),i==null||i.addEventListener("focusin",this._onFocusIn),this._hasFocus=A.nodeContains(i,i&&A.getActiveElement(i.ownerDocument))}}dispose(){var t;if(this._props.type===ri.Source){const r=(t=this._element)===null||t===void 0?void 0:t.get();r==null||r.removeEventListener("focusout",this._onFocusOut),r==null||r.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new xh)}}}class vB{constructor(t){this._history=[],this._onRestoreFocus=r=>{this._focusedElementState.cancelAsyncFocus(en.Restorer);const n=r.composedPath()[0];n&&this._focusedElementState.requestAsyncFocus(en.Restorer,()=>this._restoreFocus(n),0)},this._onFocusIn=r=>{var n;if(!r)return;const o=Mt(this._tabster,r);((n=o==null?void 0:o.restorer)===null||n===void 0?void 0:n.getProps().type)===ri.Target&&this._addToHistory(r)},this._restoreFocus=r=>{var n;const o=this._getWindow().document;if(A.getActiveElement(o)!==o.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&A.nodeContains(o.body,r))return;let i=this._history.pop();for(;i&&!A.nodeContains(o.body,A.getParentElement(i.get()));)i=this._history.pop();(n=i==null?void 0:i.get())===null||n===void 0||n.focus()},this._tabster=t,this._getWindow=t.getWindow,this._getWindow().addEventListener(Qu,this._onRestoreFocus),this._keyboardNavState=t.keyboardNavigation,this._focusedElementState=t.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const t=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(en.Restorer),t.removeEventListener(Qu,this._onRestoreFocus)}_addToHistory(t){var r;((r=this._history[this._history.length-1])===null||r===void 0?void 0:r.get())!==t&&(this._history.length>pB&&this._history.shift(),this._history.push(new Ct(this._getWindow,t)))}createRestorer(t,r){const n=new hB(this._tabster,t,r);return r.type===ri.Target&&A.getActiveElement(t.ownerDocument)===t&&this._addToHistory(t),n}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class mB{constructor(t){this.keyboardNavigation=t.keyboardNavigation,this.focusedElement=t.focusedElement,this.focusable=t.focusable,this.root=t.root,this.uncontrolled=t.uncontrolled,this.core=t}}class yB{constructor(t,r){var n,o;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="7.2.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=Uw(t),this._win=t;const i=this.getWindow;r!=null&&r.DOMAPI&&Hw({...r.DOMAPI}),this.keyboardNavigation=new sB(i),this.focusedElement=new ye(this,i),this.focusable=new iB(this),this.root=new Ee(this,r==null?void 0:r.autoRoot),this.uncontrolled=new gB((r==null?void 0:r.checkUncontrolledCompletely)||(r==null?void 0:r.checkUncontrolledTrappingFocus)),this.controlTab=(n=r==null?void 0:r.controlTab)!==null&&n!==void 0?n:!0,this.rootDummyInputs=!!(r!=null&&r.rootDummyInputs),this._dummyObserver=new Gw(i),this.getParent=(o=r==null?void 0:r.getParent)!==null&&o!==void 0?o:A.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:l=>{if(!this._unobserve){const a=i().document;this._unobserve=fB(a,this,Sh,l)}}},Ch(i),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(t){var r;!t||(this.getParent=(r=t.getParent)!==null&&r!==void 0?r:this.getParent)}createTabster(t,r){const n=new mB(this);return t||this._wrappers.add(n),this._mergeProps(r),n}disposeTabster(t,r){r?this._wrappers.clear():this._wrappers.delete(t),this._wrappers.size===0&&this.dispose()}dispose(){var t,r,n,o,i,l,a,s;this.internal.stopObserver();const c=this._win;c==null||c.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],c&&this._forgetMemorizedTimer&&(c.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(t=this.outline)===null||t===void 0||t.dispose(),(r=this.crossOrigin)===null||r===void 0||r.dispose(),(n=this.deloser)===null||n===void 0||n.dispose(),(o=this.groupper)===null||o===void 0||o.dispose(),(i=this.mover)===null||i===void 0||i.dispose(),(l=this.modalizer)===null||l===void 0||l.dispose(),(a=this.observedElement)===null||a===void 0||a.dispose(),(s=this.restorer)===null||s===void 0||s.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Vw(this.getWindow),Th(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),c&&($w(c),delete c.__tabsterInstance,delete this._win)}storageEntry(t,r){const n=this._storage;let o=n.get(t);return o?r===!1&&Object.keys(o).length===0&&n.delete(t):r===!0&&(o={},n.set(t,o)),o}forceCleanup(){!this._win||(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let t=this._forgetMemorizedElements.shift();t;t=this._forgetMemorizedElements.shift())Th(this.getWindow,t),ye.forgetMemorized(this.focusedElement,t)},0),Eh(this.getWindow,!0)))}queueInit(t){var r;!this._win||(this._initQueue.push(t),this._initTimer||(this._initTimer=(r=this._win)===null||r===void 0?void 0:r.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const t=this._initQueue;this._initQueue=[],t.forEach(r=>r())}}function kB(e,t){let r=_B(e);return r?r.createTabster(!1,t):(r=new yB(e,t),e.__tabsterInstance=r,r.createTabster())}function bB(e,t,r){const n=e.core;return n.modalizer||(n.modalizer=new dB(n,t,r)),n.modalizer}function wB(e){const t=e.core;return t.restorer||(t.restorer=new vB(t)),t.restorer}function BB(e,t){e.core.disposeTabster(e,t)}function _B(e){return e.__tabsterInstance}const oc=()=>{const{targetDocument:e}=Ft(),t=(e==null?void 0:e.defaultView)||void 0,r=t==null?void 0:t.__tabsterShadowDOMAPI,n=S.exports.useMemo(()=>t?kB(t,{autoRoot:{},controlTab:!1,getParent:lh,checkUncontrolledTrappingFocus:o=>{var i;return!!(!((i=o.firstElementChild)===null||i===void 0)&&i.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:r}):null,[t,r]);return xt(()=>()=>{n&&BB(n)},[n]),n},Mh=e=>{oc();const t=Rh(e,!0);return S.exports.useMemo(()=>({[Xu.TabsterAttributeName]:t}),[t])},jh=()=>{const e=oc(),{targetDocument:t}=Ft(),r=S.exports.useCallback((a,s)=>(e==null?void 0:e.focusable.findAll({container:a,acceptCondition:s}))||[],[e]),n=S.exports.useCallback(a=>e==null?void 0:e.focusable.findFirst({container:a}),[e]),o=S.exports.useCallback(a=>e==null?void 0:e.focusable.findLast({container:a}),[e]),i=S.exports.useCallback((a,s={})=>{if(!e||!t)return null;const{container:c=t.body}=s;return e.focusable.findNext({currentElement:a,container:c})},[e,t]),l=S.exports.useCallback((a,s={})=>{if(!e||!t)return null;const{container:c=t.body}=s;return e.focusable.findPrev({currentElement:a,container:c})},[e,t]);return{findAllFocusable:r,findFirstFocusable:n,findLastFocusable:o,findNextFocusable:i,findPrevFocusable:l}},Hh="data-fui-focus-visible";function SB(e,t){if(Wh(e))return()=>{};const r={current:void 0},n=bh(t);function o(s){n.isNavigatingWithKeyboard()&&qo(s)&&(r.current=s,s.setAttribute(Hh,""))}function i(){r.current&&(r.current.removeAttribute(Hh),r.current=void 0)}n.subscribe(s=>{s||i()});const l=s=>{i();const c=s.composedPath()[0];o(c)},a=s=>{(!s.relatedTarget||qo(s.relatedTarget)&&!e.contains(s.relatedTarget))&&i()};return e.addEventListener(rr,l),e.addEventListener("focusout",a),e.focusVisible=!0,e.contains(t.document.activeElement)&&o(t.document.activeElement),()=>{i(),e.removeEventListener(rr,l),e.removeEventListener("focusout",a),delete e.focusVisible,wh(n)}}function Wh(e){return e?e.focusVisible?!0:Wh(e==null?void 0:e.parentElement):!1}function $h(e={}){const t=Ft(),r=S.exports.useRef(null);var n;const o=(n=e.targetDocument)!==null&&n!==void 0?n:t.targetDocument;return S.exports.useEffect(()=>{if((o==null?void 0:o.defaultView)&&r.current)return SB(r.current,o.defaultView)},[r,o]),r}const ic=(e={})=>{const{trapFocus:t,alwaysFocusable:r,legacyTrapFocus:n}=e,o=oc();o&&(bB(o),wB(o));const i=ju("modal-",e.id),l=Mh({restorer:{type:Xu.RestorerTypes.Source},...t&&{modalizer:{id:i,isOthersAccessible:!t,isAlwaysAccessible:r,isTrapped:n&&t}}}),a=Mh({restorer:{type:Xu.RestorerTypes.Target}});return{modalAttributes:l,triggerAttributes:a}},E={2:"#050505",4:"#0a0a0a",6:"#0f0f0f",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",28:"#474747",30:"#4d4d4d",32:"#525252",34:"#575757",36:"#5c5c5c",38:"#616161",40:"#666666",42:"#6b6b6b",44:"#707070",46:"#757575",48:"#7a7a7a",50:"#808080",52:"#858585",54:"#8a8a8a",56:"#8f8f8f",58:"#949494",60:"#999999",62:"#9e9e9e",64:"#a3a3a3",66:"#a8a8a8",68:"#adadad",70:"#b3b3b3",72:"#b8b8b8",74:"#bdbdbd",76:"#c2c2c2",78:"#c7c7c7",80:"#cccccc",82:"#d1d1d1",84:"#d6d6d6",86:"#dbdbdb",88:"#e0e0e0",90:"#e6e6e6",92:"#ebebeb",94:"#f0f0f0",96:"#f5f5f5",98:"#fafafa"},De={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",30:"rgba(255, 255, 255, 0.3)",40:"rgba(255, 255, 255, 0.4)",50:"rgba(255, 255, 255, 0.5)",60:"rgba(255, 255, 255, 0.6)",70:"rgba(255, 255, 255, 0.7)",80:"rgba(255, 255, 255, 0.8)",90:"rgba(255, 255, 255, 0.9)"},gt={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)",60:"rgba(0, 0, 0, 0.6)",70:"rgba(0, 0, 0, 0.7)",80:"rgba(0, 0, 0, 0.8)",90:"rgba(0, 0, 0, 0.9)"},xB={5:"rgba(26, 26, 26, 0.05)",10:"rgba(26, 26, 26, 0.1)",20:"rgba(26, 26, 26, 0.2)",30:"rgba(26, 26, 26, 0.3)",40:"rgba(26, 26, 26, 0.4)",50:"rgba(26, 26, 26, 0.5)",60:"rgba(26, 26, 26, 0.6)",70:"rgba(26, 26, 26, 0.7)",80:"rgba(26, 26, 26, 0.8)",90:"rgba(26, 26, 26, 0.9)"},FB={5:"rgba(31, 31, 31, 0.05)",10:"rgba(31, 31, 31, 0.1)",20:"rgba(31, 31, 31, 0.2)",30:"rgba(31, 31, 31, 0.3)",40:"rgba(31, 31, 31, 0.4)",50:"rgba(31, 31, 31, 0.5)",60:"rgba(31, 31, 31, 0.6)",70:"rgba(31, 31, 31, 0.7)",80:"rgba(31, 31, 31, 0.8)",90:"rgba(31, 31, 31, 0.9)"},Uh={5:"rgba(36, 36, 36, 0.05)",10:"rgba(36, 36, 36, 0.1)",20:"rgba(36, 36, 36, 0.2)",30:"rgba(36, 36, 36, 0.3)",40:"rgba(36, 36, 36, 0.4)",50:"rgba(36, 36, 36, 0.5)",60:"rgba(36, 36, 36, 0.6)",70:"rgba(36, 36, 36, 0.7)",80:"rgba(36, 36, 36, 0.8)",90:"rgba(36, 36, 36, 0.9)"},M="#ffffff",Kl="#000000",EB={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},qh={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},CB={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},PB={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},NB={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},TB={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},DB={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},OB={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},RB={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},AB={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},LB={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},zB={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},IB={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},MB={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},jB={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Vh={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},HB={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},WB={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},$B={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},UB={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},qB={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},VB={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},KB={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},YB={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},XB={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},QB={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},JB={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},ZB={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},GB={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},e_={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},t_={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},r_={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},n_={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},o_={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},i_={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},l_={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},V={red:CB,green:Vh,darkOrange:PB,yellow:RB,berry:ZB,lightGreen:jB,marigold:OB},Cr={darkRed:EB,cranberry:qh,pumpkin:NB,peach:DB,gold:AB,brass:LB,brown:zB,forest:IB,seafoam:MB,darkGreen:HB,lightTeal:WB,teal:$B,steel:UB,blue:qB,royalBlue:VB,cornflower:KB,navy:YB,lavender:XB,purple:QB,grape:JB,lilac:GB,pink:e_,magenta:t_,plum:r_,beige:n_,mink:o_,platinum:i_,anchor:l_},q={cranberry:qh,green:Vh,orange:TB},Kh=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Yh=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],Ye={success:"green",warning:"orange",danger:"cranberry"},oi=Kh.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:V[t].tint60,[`colorPalette${r}Background2`]:V[t].tint40,[`colorPalette${r}Background3`]:V[t].primary,[`colorPalette${r}Foreground1`]:V[t].shade10,[`colorPalette${r}Foreground2`]:V[t].shade30,[`colorPalette${r}Foreground3`]:V[t].primary,[`colorPalette${r}BorderActive`]:V[t].primary,[`colorPalette${r}Border1`]:V[t].tint40,[`colorPalette${r}Border2`]:V[t].primary};return Object.assign(e,n)},{});oi.colorPaletteYellowForeground1=V.yellow.shade30,oi.colorPaletteRedForegroundInverted=V.red.tint20,oi.colorPaletteGreenForegroundInverted=V.green.tint20,oi.colorPaletteYellowForegroundInverted=V.yellow.tint40;const s_=Yh.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:Cr[t].tint40,[`colorPalette${r}Foreground2`]:Cr[t].shade30,[`colorPalette${r}BorderActive`]:Cr[t].primary};return Object.assign(e,n)},{}),a_={...oi,...s_},Hn=Object.entries(Ye).reduce((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:q[r].tint60,[`colorStatus${n}Background2`]:q[r].tint40,[`colorStatus${n}Background3`]:q[r].primary,[`colorStatus${n}Foreground1`]:q[r].shade10,[`colorStatus${n}Foreground2`]:q[r].shade30,[`colorStatus${n}Foreground3`]:q[r].primary,[`colorStatus${n}ForegroundInverted`]:q[r].tint30,[`colorStatus${n}BorderActive`]:q[r].primary,[`colorStatus${n}Border1`]:q[r].tint40,[`colorStatus${n}Border2`]:q[r].primary};return Object.assign(e,o)},{});Hn.colorStatusDangerBackground3Hover=q[Ye.danger].shade10,Hn.colorStatusDangerBackground3Pressed=q[Ye.danger].shade20,Hn.colorStatusWarningForeground1=q[Ye.warning].shade20,Hn.colorStatusWarningForeground3=q[Ye.warning].shade20,Hn.colorStatusWarningBorder2=q[Ye.warning].shade20;const u_=e=>({colorNeutralForeground1:E[14],colorNeutralForeground1Hover:E[14],colorNeutralForeground1Pressed:E[14],colorNeutralForeground1Selected:E[14],colorNeutralForeground2:E[26],colorNeutralForeground2Hover:E[14],colorNeutralForeground2Pressed:E[14],colorNeutralForeground2Selected:E[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:E[38],colorNeutralForeground3Hover:E[26],colorNeutralForeground3Pressed:E[26],colorNeutralForeground3Selected:E[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:E[44],colorNeutralForegroundDisabled:E[74],colorNeutralForegroundInvertedDisabled:De[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:E[26],colorNeutralForeground2LinkHover:E[14],colorNeutralForeground2LinkPressed:E[14],colorNeutralForeground2LinkSelected:E[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:E[14],colorNeutralForegroundStaticInverted:M,colorNeutralForegroundInverted:M,colorNeutralForegroundInvertedHover:M,colorNeutralForegroundInvertedPressed:M,colorNeutralForegroundInvertedSelected:M,colorNeutralForegroundInverted2:M,colorNeutralForegroundOnBrand:M,colorNeutralForegroundInvertedLink:M,colorNeutralForegroundInvertedLinkHover:M,colorNeutralForegroundInvertedLinkPressed:M,colorNeutralForegroundInvertedLinkSelected:M,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:M,colorNeutralBackground1Hover:E[96],colorNeutralBackground1Pressed:E[88],colorNeutralBackground1Selected:E[92],colorNeutralBackground2:E[98],colorNeutralBackground2Hover:E[94],colorNeutralBackground2Pressed:E[86],colorNeutralBackground2Selected:E[90],colorNeutralBackground3:E[96],colorNeutralBackground3Hover:E[92],colorNeutralBackground3Pressed:E[84],colorNeutralBackground3Selected:E[88],colorNeutralBackground4:E[94],colorNeutralBackground4Hover:E[98],colorNeutralBackground4Pressed:E[96],colorNeutralBackground4Selected:M,colorNeutralBackground5:E[92],colorNeutralBackground5Hover:E[96],colorNeutralBackground5Pressed:E[94],colorNeutralBackground5Selected:E[98],colorNeutralBackground6:E[90],colorNeutralBackgroundInverted:E[16],colorNeutralBackgroundStatic:E[20],colorNeutralBackgroundAlpha:De[50],colorNeutralBackgroundAlpha2:De[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:E[96],colorSubtleBackgroundPressed:E[88],colorSubtleBackgroundSelected:E[92],colorSubtleBackgroundLightAlphaHover:De[70],colorSubtleBackgroundLightAlphaPressed:De[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:gt[10],colorSubtleBackgroundInvertedPressed:gt[30],colorSubtleBackgroundInvertedSelected:gt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:E[94],colorNeutralBackgroundInvertedDisabled:De[10],colorNeutralStencil1:E[90],colorNeutralStencil2:E[98],colorNeutralStencil1Alpha:gt[10],colorNeutralStencil2Alpha:gt[5],colorBackgroundOverlay:gt[40],colorScrollbarOverlay:gt[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:M,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:E[98],colorNeutralCardBackgroundHover:M,colorNeutralCardBackgroundPressed:E[96],colorNeutralCardBackgroundSelected:E[92],colorNeutralCardBackgroundDisabled:E[94],colorNeutralStrokeAccessible:E[38],colorNeutralStrokeAccessibleHover:E[34],colorNeutralStrokeAccessiblePressed:E[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:E[82],colorNeutralStroke1Hover:E[78],colorNeutralStroke1Pressed:E[70],colorNeutralStroke1Selected:E[74],colorNeutralStroke2:E[88],colorNeutralStroke3:E[94],colorNeutralStrokeSubtle:E[88],colorNeutralStrokeOnBrand:M,colorNeutralStrokeOnBrand2:M,colorNeutralStrokeOnBrand2Hover:M,colorNeutralStrokeOnBrand2Pressed:M,colorNeutralStrokeOnBrand2Selected:M,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:E[88],colorNeutralStrokeInvertedDisabled:De[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:gt[5],colorNeutralStrokeAlpha2:De[20],colorStrokeFocus1:M,colorStrokeFocus2:Kl,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),Xh={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},Qh={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},Jh={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Zh={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Gh={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},ev={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},tv={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},ce={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},rv={spacingHorizontalNone:ce.none,spacingHorizontalXXS:ce.xxs,spacingHorizontalXS:ce.xs,spacingHorizontalSNudge:ce.sNudge,spacingHorizontalS:ce.s,spacingHorizontalMNudge:ce.mNudge,spacingHorizontalM:ce.m,spacingHorizontalL:ce.l,spacingHorizontalXL:ce.xl,spacingHorizontalXXL:ce.xxl,spacingHorizontalXXXL:ce.xxxl},nv={spacingVerticalNone:ce.none,spacingVerticalXXS:ce.xxs,spacingVerticalXS:ce.xs,spacingVerticalSNudge:ce.sNudge,spacingVerticalS:ce.s,spacingVerticalMNudge:ce.mNudge,spacingVerticalM:ce.m,spacingVerticalL:ce.l,spacingVerticalXL:ce.xl,spacingVerticalXXL:ce.xxl,spacingVerticalXXXL:ce.xxxl},ov={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},ii={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)"};function Yl(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const c_=e=>{const t=u_(e);return{...Xh,...Zh,...Gh,...tv,...ev,...ov,...rv,...nv,...Jh,...Qh,...t,...a_,...Hn,...Yl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Yl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},iv={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"},jt=Kh.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:V[t].shade40,[`colorPalette${r}Background2`]:V[t].shade30,[`colorPalette${r}Background3`]:V[t].primary,[`colorPalette${r}Foreground1`]:V[t].tint30,[`colorPalette${r}Foreground2`]:V[t].tint40,[`colorPalette${r}Foreground3`]:V[t].tint20,[`colorPalette${r}BorderActive`]:V[t].tint30,[`colorPalette${r}Border1`]:V[t].primary,[`colorPalette${r}Border2`]:V[t].tint20};return Object.assign(e,n)},{});jt.colorPaletteRedForeground3=V.red.tint30,jt.colorPaletteRedBorder2=V.red.tint30,jt.colorPaletteGreenForeground3=V.green.tint40,jt.colorPaletteGreenBorder2=V.green.tint40,jt.colorPaletteDarkOrangeForeground3=V.darkOrange.tint30,jt.colorPaletteDarkOrangeBorder2=V.darkOrange.tint30,jt.colorPaletteRedForegroundInverted=V.red.primary,jt.colorPaletteGreenForegroundInverted=V.green.primary,jt.colorPaletteYellowForegroundInverted=V.yellow.shade30;const lc=Yh.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:Cr[t].shade30,[`colorPalette${r}Foreground2`]:Cr[t].tint40,[`colorPalette${r}BorderActive`]:Cr[t].tint30};return Object.assign(e,n)},{});lc.colorPaletteDarkRedBackground2=Cr.darkRed.shade20,lc.colorPalettePlumBackground2=Cr.plum.shade20;const d_={...jt,...lc},Pr=Object.entries(Ye).reduce((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:q[r].shade40,[`colorStatus${n}Background2`]:q[r].shade30,[`colorStatus${n}Background3`]:q[r].primary,[`colorStatus${n}Foreground1`]:q[r].tint30,[`colorStatus${n}Foreground2`]:q[r].tint40,[`colorStatus${n}Foreground3`]:q[r].tint20,[`colorStatus${n}BorderActive`]:q[r].tint30,[`colorStatus${n}ForegroundInverted`]:q[r].shade10,[`colorStatus${n}Border1`]:q[r].primary,[`colorStatus${n}Border2`]:q[r].tint20};return Object.assign(e,o)},{});Pr.colorStatusDangerBackground3Hover=q[Ye.danger].shade10,Pr.colorStatusDangerBackground3Pressed=q[Ye.danger].shade20,Pr.colorStatusDangerForeground3=q[Ye.danger].tint40,Pr.colorStatusDangerBorder2=q[Ye.danger].tint30,Pr.colorStatusSuccessForeground3=q[Ye.success].tint40,Pr.colorStatusSuccessBorder2=q[Ye.success].tint40,Pr.colorStatusWarningForegroundInverted=q[Ye.warning].shade20;const lv=c_(iv),f_=e=>({colorNeutralForeground1:M,colorNeutralForeground1Hover:M,colorNeutralForeground1Pressed:M,colorNeutralForeground1Selected:M,colorNeutralForeground2:E[84],colorNeutralForeground2Hover:M,colorNeutralForeground2Pressed:M,colorNeutralForeground2Selected:M,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:E[68],colorNeutralForeground3Hover:E[84],colorNeutralForeground3Pressed:E[84],colorNeutralForeground3Selected:E[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:E[60],colorNeutralForegroundDisabled:E[36],colorNeutralForegroundInvertedDisabled:De[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:E[84],colorNeutralForeground2LinkHover:M,colorNeutralForeground2LinkPressed:M,colorNeutralForeground2LinkSelected:M,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:E[14],colorNeutralForegroundStaticInverted:M,colorNeutralForegroundInverted:E[14],colorNeutralForegroundInvertedHover:E[14],colorNeutralForegroundInvertedPressed:E[14],colorNeutralForegroundInvertedSelected:E[14],colorNeutralForegroundInverted2:E[14],colorNeutralForegroundOnBrand:M,colorNeutralForegroundInvertedLink:M,colorNeutralForegroundInvertedLinkHover:M,colorNeutralForegroundInvertedLinkPressed:M,colorNeutralForegroundInvertedLinkSelected:M,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:E[16],colorNeutralBackground1Hover:E[24],colorNeutralBackground1Pressed:E[12],colorNeutralBackground1Selected:E[22],colorNeutralBackground2:E[12],colorNeutralBackground2Hover:E[20],colorNeutralBackground2Pressed:E[8],colorNeutralBackground2Selected:E[18],colorNeutralBackground3:E[8],colorNeutralBackground3Hover:E[16],colorNeutralBackground3Pressed:E[4],colorNeutralBackground3Selected:E[14],colorNeutralBackground4:E[4],colorNeutralBackground4Hover:E[12],colorNeutralBackground4Pressed:Kl,colorNeutralBackground4Selected:E[10],colorNeutralBackground5:Kl,colorNeutralBackground5Hover:E[8],colorNeutralBackground5Pressed:E[2],colorNeutralBackground5Selected:E[6],colorNeutralBackground6:E[20],colorNeutralBackgroundInverted:M,colorNeutralBackgroundStatic:E[24],colorNeutralBackgroundAlpha:xB[50],colorNeutralBackgroundAlpha2:FB[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:E[22],colorSubtleBackgroundPressed:E[18],colorSubtleBackgroundSelected:E[20],colorSubtleBackgroundLightAlphaHover:Uh[80],colorSubtleBackgroundLightAlphaPressed:Uh[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:gt[10],colorSubtleBackgroundInvertedPressed:gt[30],colorSubtleBackgroundInvertedSelected:gt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:E[8],colorNeutralBackgroundInvertedDisabled:De[10],colorNeutralStencil1:E[34],colorNeutralStencil2:E[20],colorNeutralStencil1Alpha:De[10],colorNeutralStencil2Alpha:De[5],colorBackgroundOverlay:gt[50],colorScrollbarOverlay:De[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:M,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:E[20],colorNeutralCardBackgroundHover:E[24],colorNeutralCardBackgroundPressed:E[18],colorNeutralCardBackgroundSelected:E[22],colorNeutralCardBackgroundDisabled:E[8],colorNeutralStrokeAccessible:E[68],colorNeutralStrokeAccessibleHover:E[74],colorNeutralStrokeAccessiblePressed:E[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:E[40],colorNeutralStroke1Hover:E[46],colorNeutralStroke1Pressed:E[42],colorNeutralStroke1Selected:E[44],colorNeutralStroke2:E[32],colorNeutralStroke3:E[24],colorNeutralStrokeSubtle:E[4],colorNeutralStrokeOnBrand:E[16],colorNeutralStrokeOnBrand2:M,colorNeutralStrokeOnBrand2Hover:M,colorNeutralStrokeOnBrand2Pressed:M,colorNeutralStrokeOnBrand2Selected:M,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:E[26],colorNeutralStrokeInvertedDisabled:De[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:De[10],colorNeutralStrokeAlpha2:De[20],colorStrokeFocus1:Kl,colorStrokeFocus2:M,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),sv=(e=>{const t=f_(e);return{...Xh,...Zh,...Gh,...tv,...ev,...ov,...rv,...nv,...Jh,...Qh,...t,...d_,...Pr,...Yl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Yl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}})(iv),av={root:"fui-FluentProvider"},g_=jp({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),p_=e=>{const t=Uo(),r=g_({dir:e.dir,renderer:t});return e.root.className=Se(av.root,e.themeClassName,r.root,e.root.className),e},h_=sn["useInsertionEffect"]?sn["useInsertionEffect"]:xt,v_=(e,t)=>{if(!e)return;const r=e.createElement("style");return Object.keys(t).forEach(n=>{r.setAttribute(n,t[n])}),e.head.appendChild(r),r},m_=(e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))},y_=e=>{const{targetDocument:t,theme:r,rendererAttributes:n}=e,o=S.exports.useRef(),i=ju(av.root),l=n,a=S.exports.useMemo(()=>zk(`.${i}`,r),[r,i]);return k_(t,i),h_(()=>{const s=t==null?void 0:t.getElementById(i);return s?o.current=s:(o.current=v_(t,{...l,id:i}),o.current&&m_(o.current,a)),()=>{var c;(c=o.current)===null||c===void 0||c.remove()}},[i,t,a,l]),{styleTagId:i,rule:a}};function k_(e,t){S.exports.useState(()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)})}const b_={},w_={},B_=(e,t)=>{const r=Ft(),n=__(),o=Tb(),i=S.exports.useContext(Hu)||b_,{applyStylesToPortals:l=!0,customStyleHooks_unstable:a,dir:s=r.dir,targetDocument:c=r.targetDocument,theme:d,overrides_unstable:f={}}=e,g=sc(n,d),m=sc(o,f),v=sc(i,a),k=Uo();var B;const{styleTagId:y,rule:h}=y_({theme:g,targetDocument:c,rendererAttributes:(B=k.styleElementAttributes)!==null&&B!==void 0?B:w_});return{applyStylesToPortals:l,customStyleHooks_unstable:v,dir:s,targetDocument:c,theme:g,overrides_unstable:m,themeClassName:y,components:{root:"div"},root:St(tr("div",{...e,dir:s,ref:Hl(t,$h({targetDocument:c}))}),{elementType:"div"}),serverStyleProps:{cssRule:h,attributes:{...k.styleElementAttributes,id:y}}}};function sc(e,t){return e&&t?{...e,...t}:e||t}function __(){return S.exports.useContext(Jp)}function S_(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:n,root:o,targetDocument:i,theme:l,themeClassName:a,overrides_unstable:s}=e,c=S.exports.useMemo(()=>({dir:n,targetDocument:i}),[n,i]),[d]=S.exports.useState(()=>({})),f=S.exports.useMemo(()=>({textDirection:n}),[n]);return{customStyleHooks_unstable:r,overrides_unstable:s,provider:c,textDirection:n,iconDirection:f,tooltip:d,theme:l,themeClassName:t?o.className:a}}const ac=S.exports.forwardRef((e,t)=>{const r=B_(e,t);p_(r);const n=S_(r);return fw(r,n)});ac.displayName="FluentProvider";var uc={exports:{}},uv={};/** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(e){function t(x,T){var D=x.length;x.push(T);e:for(;0<D;){var j=D-1>>>1,$=x[j];if(0<o($,T))x[j]=T,x[D]=$,D=j;else break e}}function r(x){return x.length===0?null:x[0]}function n(x){if(x.length===0)return null;var T=x[0],D=x.pop();if(D!==T){x[0]=D;e:for(var j=0,$=x.length,or=$>>>1;j<or;){var Me=2*(j+1)-1,on=x[Me],je=Me+1,ir=x[je];if(0>o(on,D))je<$&&0>o(ir,on)?(x[j]=ir,x[je]=D,j=je):(x[j]=on,x[Me]=D,j=Me);else if(je<$&&0>o(ir,D))x[j]=ir,x[je]=D,j=je;else break e}}return T}function o(x,T){var D=x.sortIndex-T.sortIndex;return D!==0?D:x.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],c=[],d=1,f=null,g=3,m=!1,v=!1,k=!1,B=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function u(x){for(var T=r(c);T!==null;){if(T.callback===null)n(c);else if(T.startTime<=x)n(c),T.sortIndex=T.expirationTime,t(s,T);else break;T=r(c)}}function p(x){if(k=!1,u(x),!v)if(r(s)!==null)v=!0,ne(b);else{var T=r(c);T!==null&&de(p,T.startTime-x)}}function b(x,T){v=!1,k&&(k=!1,y(F),F=-1),m=!0;var D=g;try{for(u(T),f=r(s);f!==null&&(!(f.expirationTime>T)||x&&!L());){var j=f.callback;if(typeof j=="function"){f.callback=null,g=f.priorityLevel;var $=j(f.expirationTime<=T);T=e.unstable_now(),typeof $=="function"?f.callback=$:f===r(s)&&n(s),u(T)}else n(s);f=r(s)}if(f!==null)var or=!0;else{var Me=r(c);Me!==null&&de(p,Me.startTime-T),or=!1}return or}finally{f=null,g=D,m=!1}}var w=!1,_=null,F=-1,O=5,C=-1;function L(){return!(e.unstable_now()-C<O)}function I(){if(_!==null){var x=e.unstable_now();C=x;var T=!0;try{T=_(!0,x)}finally{T?K():(w=!1,_=null)}}else w=!1}var K;if(typeof h=="function")K=function(){h(I)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,H=z.port2;z.port1.onmessage=I,K=function(){H.postMessage(null)}}else K=function(){B(I,0)};function ne(x){_=x,w||(w=!0,K())}function de(x,T){F=B(function(){x(e.unstable_now())},T)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(x){x.callback=null},e.unstable_continueExecution=function(){v||m||(v=!0,ne(b))},e.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<x?Math.floor(1e3/x):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return r(s)},e.unstable_next=function(x){switch(g){case 1:case 2:case 3:var T=3;break;default:T=g}var D=g;g=T;try{return x()}finally{g=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(x,T){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var D=g;g=x;try{return T()}finally{g=D}},e.unstable_scheduleCallback=function(x,T,D){var j=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?j+D:j):D=j,x){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=D+$,x={id:d++,callback:T,priorityLevel:x,startTime:D,expirationTime:$,sortIndex:-1},D>j?(x.sortIndex=D,t(c,x),r(s)===null&&x===r(c)&&(k?(y(F),F=-1):k=!0,de(p,D-j))):(x.sortIndex=$,t(s,x),v||m||(v=!0,ne(b))),x},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(x){var T=g;return function(){var D=g;g=T;try{return x.apply(this,arguments)}finally{g=D}}}})(uv),function(e){e.exports=uv}(uc);const x_=e=>r=>{const n=S.exports.useRef(r.value),o=S.exports.useRef(0),i=S.exports.useRef();return i.current||(i.current={value:n,version:o,listeners:[]}),xt(()=>{n.current=r.value,o.current+=1,uc.exports.unstable_runWithPriority(uc.exports.unstable_NormalPriority,()=>{i.current.listeners.forEach(l=>{l([o.current,r.value])})})},[r.value]),S.exports.createElement(e,{value:i.current},r.children)},cv=e=>{const t=S.exports.createContext({value:{current:e},version:{current:-1},listeners:[]});return t.Provider=x_(t.Provider),delete t.Consumer,t},dv=(e,t)=>{const r=S.exports.useContext(e),{value:{current:n},version:{current:o},listeners:i}=r,l=t(n),[a,s]=S.exports.useReducer((c,d)=>{if(!d)return[n,l];if(d[0]<=o)return Xl(c[1],l)?c:[n,l];try{if(Xl(c[0],d[1]))return c;const f=t(d[1]);return Xl(c[1],f)?c:[d[1],f]}catch{}return[c[0],c[1]]},[n,l]);return Xl(a[1],l)||s(void 0),xt(()=>(i.push(s),()=>{const c=i.indexOf(s);i.splice(c,1)}),[i]),a[1]};function F_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const Xl=typeof Object.is=="function"?Object.is:F_;function E_(e){const t=S.exports.useContext(e);return t.version?t.version.current!==-1:!1}const cc="Enter",Ql=" ",C_="Escape";function fv(e,t){const{disabled:r,disabledFocusable:n=!1,["aria-disabled"]:o,onClick:i,onKeyDown:l,onKeyUp:a,...s}=t!=null?t:{},c=typeof o=="string"?o==="true":o,d=r||n||c,f=xe(v=>{d?(v.preventDefault(),v.stopPropagation()):i==null||i(v)}),g=xe(v=>{if(l==null||l(v),v.isDefaultPrevented())return;const k=v.key;if(d&&(k===cc||k===Ql)){v.preventDefault(),v.stopPropagation();return}if(k===Ql){v.preventDefault();return}else k===cc&&(v.preventDefault(),v.currentTarget.click())}),m=xe(v=>{if(a==null||a(v),v.isDefaultPrevented())return;const k=v.key;if(d&&(k===cc||k===Ql)){v.preventDefault(),v.stopPropagation();return}k===Ql&&(v.preventDefault(),v.currentTarget.click())});if(e==="button"||e===void 0)return{...s,disabled:r&&!n,"aria-disabled":n?!0:c,onClick:n?void 0:f,onKeyUp:n?void 0:a,onKeyDown:n?void 0:l};{const v={role:"button",tabIndex:r&&!n?void 0:0,...s,onClick:f,onKeyUp:m,onKeyDown:g,"aria-disabled":r||n||c};return e==="a"&&d&&(v.href=void 0),v}}const P_=rt({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),N_=(e,t)=>{const{title:r,primaryFill:n="currentColor",...o}=e,i={...o,title:void 0,fill:n},l=P_(),a=dw();return i.className=Se(l.root,(t==null?void 0:t.flipInRtl)&&(a==null?void 0:a.textDirection)==="rtl"&&l.rtl,i.className),r&&(i["aria-label"]=r),!i["aria-label"]&&!i["aria-labelledby"]?i["aria-hidden"]=!0:i.role="img",i},gv=(e,t,r,n)=>{const o=t==="1em"?"20":t,i=S.exports.forwardRef((l,a)=>{const s={...N_(l,{flipInRtl:n==null?void 0:n.flipInRtl}),ref:a,width:t,height:t,viewBox:`0 0 ${o} ${o}`,xmlns:"http://www.w3.org/2000/svg"};return S.exports.createElement("svg",s,...r.map(c=>S.exports.createElement("path",{d:c,fill:s.fill})))});return i.displayName=e,i},T_=gv("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),D_=gv("Dismiss24Regular","24",["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]);function O_(e){const t=e.clientX,r=e.clientY,n=t+1,o=r+1;function i(){return{left:t,top:r,right:n,bottom:o,x:t,y:r,height:1,width:1}}return{getBoundingClientRect:i}}const pv="data-popper-is-intersecting",hv="data-popper-escaped",vv="data-popper-reference-hidden",R_="data-popper-placement",dc="fui-positioningend",mv=["top","right","bottom","left"],yv=["start","end"],kv=mv.reduce((e,t)=>e.concat(t,t+"-"+yv[0],t+"-"+yv[1]),[]),pt=Math.min,Ie=Math.max,Jl=Math.round,Nr=e=>({x:e,y:e}),A_={left:"right",right:"left",bottom:"top",top:"bottom"},L_={start:"end",end:"start"};function fc(e,t,r){return Ie(e,pt(t,r))}function Pt(e,t){return typeof e=="function"?e(t):e}function nt(e){return e.split("-")[0]}function Nt(e){return e.split("-")[1]}function gc(e){return e==="x"?"y":"x"}function pc(e){return e==="y"?"height":"width"}function rn(e){return["top","bottom"].includes(nt(e))?"y":"x"}function hc(e){return gc(rn(e))}function bv(e,t,r){r===void 0&&(r=!1);const n=Nt(e),o=hc(e),i=pc(o);let l=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Gl(l)),[l,Gl(l)]}function z_(e){const t=Gl(e);return[Zl(e),t,Zl(t)]}function Zl(e){return e.replace(/start|end/g,t=>L_[t])}function I_(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:l;default:return[]}}function M_(e,t,r,n){const o=Nt(e);let i=I_(nt(e),r==="start",n);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(Zl)))),i}function Gl(e){return e.replace(/left|right|bottom|top/g,t=>A_[t])}function j_(e){return{top:0,right:0,bottom:0,left:0,...e}}function vc(e){return typeof e!="number"?j_(e):{top:e,right:e,bottom:e,left:e}}function Wn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function wv(e,t,r){let{reference:n,floating:o}=e;const i=rn(t),l=hc(t),a=pc(l),s=nt(t),c=i==="y",d=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2,g=n[a]/2-o[a]/2;let m;switch(s){case"top":m={x:d,y:n.y-o.height};break;case"bottom":m={x:d,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:f};break;case"left":m={x:n.x-o.width,y:f};break;default:m={x:n.x,y:n.y}}switch(Nt(t)){case"start":m[l]-=g*(r&&c?-1:1);break;case"end":m[l]+=g*(r&&c?-1:1);break}return m}const H_=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:l}=r,a=i.filter(Boolean),s=await(l.isRTL==null?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=wv(c,n,s),g=n,m={},v=0;for(let k=0;k<a.length;k++){const{name:B,fn:y}=a[k],{x:h,y:u,data:p,reset:b}=await y({x:d,y:f,initialPlacement:n,placement:g,strategy:o,middlewareData:m,rects:c,platform:l,elements:{reference:e,floating:t}});d=h!=null?h:d,f=u!=null?u:f,m={...m,[B]:{...m[B],...p}},b&&v<=50&&(v++,typeof b=="object"&&(b.placement&&(g=b.placement),b.rects&&(c=b.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:d,y:f}=wv(c,g,s)),k=-1)}return{x:d,y:f,placement:g,strategy:o,middlewareData:m}};async function nn(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:g=!1,padding:m=0}=Pt(t,e),v=vc(m),B=a[g?f==="floating"?"reference":"floating":f],y=Wn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(B)))==null||r?B:B.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:s})),h=f==="floating"?{x:n,y:o,width:l.floating.width,height:l.floating.height}:l.reference,u=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),p=await(i.isElement==null?void 0:i.isElement(u))?await(i.getScale==null?void 0:i.getScale(u))||{x:1,y:1}:{x:1,y:1},b=Wn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:h,offsetParent:u,strategy:s}):h);return{top:(y.top-b.top+v.top)/p.y,bottom:(b.bottom-y.bottom+v.bottom)/p.y,left:(y.left-b.left+v.left)/p.x,right:(b.right-y.right+v.right)/p.x}}const W_=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:l,elements:a,middlewareData:s}=t,{element:c,padding:d=0}=Pt(e,t)||{};if(c==null)return{};const f=vc(d),g={x:r,y:n},m=hc(o),v=pc(m),k=await l.getDimensions(c),B=m==="y",y=B?"top":"left",h=B?"bottom":"right",u=B?"clientHeight":"clientWidth",p=i.reference[v]+i.reference[m]-g[m]-i.floating[v],b=g[m]-i.reference[m],w=await(l.getOffsetParent==null?void 0:l.getOffsetParent(c));let _=w?w[u]:0;(!_||!await(l.isElement==null?void 0:l.isElement(w)))&&(_=a.floating[u]||i.floating[v]);const F=p/2-b/2,O=_/2-k[v]/2-1,C=pt(f[y],O),L=pt(f[h],O),I=C,K=_-k[v]-L,z=_/2-k[v]/2+F,H=fc(I,z,K),ne=!s.arrow&&Nt(o)!=null&&z!==H&&i.reference[v]/2-(z<I?C:L)-k[v]/2<0,de=ne?z<I?z-I:z-K:0;return{[m]:g[m]+de,data:{[m]:H,centerOffset:z-H-de,...ne&&{alignmentOffset:de}},reset:ne}}});function $_(e,t,r){return(e?[...r.filter(o=>Nt(o)===e),...r.filter(o=>Nt(o)!==e)]:r.filter(o=>nt(o)===o)).filter(o=>e?Nt(o)===e||(t?Zl(o)!==o:!1):!0)}const U_=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,o;const{rects:i,middlewareData:l,placement:a,platform:s,elements:c}=t,{crossAxis:d=!1,alignment:f,allowedPlacements:g=kv,autoAlignment:m=!0,...v}=Pt(e,t),k=f!==void 0||g===kv?$_(f||null,m,g):g,B=await nn(t,v),y=((r=l.autoPlacement)==null?void 0:r.index)||0,h=k[y];if(h==null)return{};const u=bv(h,i,await(s.isRTL==null?void 0:s.isRTL(c.floating)));if(a!==h)return{reset:{placement:k[0]}};const p=[B[nt(h)],B[u[0]],B[u[1]]],b=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:h,overflows:p}],w=k[y+1];if(w)return{data:{index:y+1,overflows:b},reset:{placement:w}};const _=b.map(C=>{const L=Nt(C.placement);return[C.placement,L&&d?C.overflows.slice(0,2).reduce((I,K)=>I+K,0):C.overflows[0],C.overflows]}).sort((C,L)=>C[1]-L[1]),O=((o=_.filter(C=>C[2].slice(0,Nt(C[0])?2:3).every(L=>L<=0))[0])==null?void 0:o[0])||_[0][0];return O!==a?{data:{index:y+1,overflows:b},reset:{placement:O}}:{}}}},q_=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:l,initialPlacement:a,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:k=!0,...B}=Pt(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const y=nt(o),h=nt(a)===a,u=await(s.isRTL==null?void 0:s.isRTL(c.floating)),p=g||(h||!k?[Gl(a)]:z_(a));!g&&v!=="none"&&p.push(...M_(a,k,v,u));const b=[a,...p],w=await nn(t,B),_=[];let F=((n=i.flip)==null?void 0:n.overflows)||[];if(d&&_.push(w[y]),f){const I=bv(o,l,u);_.push(w[I[0]],w[I[1]])}if(F=[...F,{placement:o,overflows:_}],!_.every(I=>I<=0)){var O,C;const I=(((O=i.flip)==null?void 0:O.index)||0)+1,K=b[I];if(K)return{data:{index:I,overflows:F},reset:{placement:K}};let z=(C=F.filter(H=>H.overflows[0]<=0).sort((H,ne)=>H.overflows[1]-ne.overflows[1])[0])==null?void 0:C.placement;if(!z)switch(m){case"bestFit":{var L;const H=(L=F.map(ne=>[ne.placement,ne.overflows.filter(de=>de>0).reduce((de,x)=>de+x,0)]).sort((ne,de)=>ne[1]-de[1])[0])==null?void 0:L[0];H&&(z=H);break}case"initialPlacement":z=a;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function Bv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _v(e){return mv.some(t=>e[t]>=0)}const V_=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=Pt(e,t);switch(n){case"referenceHidden":{const i=await nn(t,{...o,elementContext:"reference"}),l=Bv(i,r.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:_v(l)}}}case"escaped":{const i=await nn(t,{...o,altBoundary:!0}),l=Bv(i,r.floating);return{data:{escapedOffsets:l,escaped:_v(l)}}}default:return{}}}}};function Sv(e){const t=pt(...e.map(i=>i.left)),r=pt(...e.map(i=>i.top)),n=Ie(...e.map(i=>i.right)),o=Ie(...e.map(i=>i.bottom));return{x:t,y:r,width:n-t,height:o-r}}function K_(e){const t=e.slice().sort((o,i)=>o.y-i.y),r=[];let n=null;for(let o=0;o<t.length;o++){const i=t[o];!n||i.y-n.y>n.height/2?r.push([i]):r[r.length-1].push(i),n=i}return r.map(o=>Wn(Sv(o)))}const Y_=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:o,platform:i,strategy:l}=t,{padding:a=2,x:s,y:c}=Pt(e,t),d=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(n.reference))||[]),f=K_(d),g=Wn(Sv(d)),m=vc(a);function v(){if(f.length===2&&f[0].left>f[1].right&&s!=null&&c!=null)return f.find(B=>s>B.left-m.left&&s<B.right+m.right&&c>B.top-m.top&&c<B.bottom+m.bottom)||g;if(f.length>=2){if(rn(r)==="y"){const C=f[0],L=f[f.length-1],I=nt(r)==="top",K=C.top,z=L.bottom,H=I?C.left:L.left,ne=I?C.right:L.right,de=ne-H,x=z-K;return{top:K,bottom:z,left:H,right:ne,width:de,height:x,x:H,y:K}}const B=nt(r)==="left",y=Ie(...f.map(C=>C.right)),h=pt(...f.map(C=>C.left)),u=f.filter(C=>B?C.left===h:C.right===y),p=u[0].top,b=u[u.length-1].bottom,w=h,_=y,F=_-w,O=b-p;return{top:p,bottom:b,left:w,right:_,width:F,height:O,x:w,y:p}}return g}const k=await i.getElementRects({reference:{getBoundingClientRect:v},floating:n.floating,strategy:l});return o.reference.x!==k.reference.x||o.reference.y!==k.reference.y||o.reference.width!==k.reference.width||o.reference.height!==k.reference.height?{reset:{rects:k}}:{}}}};async function X_(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),l=nt(r),a=Nt(r),s=rn(r)==="y",c=["left","top"].includes(l)?-1:1,d=i&&s?-1:1,f=Pt(t,e);let{mainAxis:g,crossAxis:m,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof v=="number"&&(m=a==="end"?v*-1:v),s?{x:m*d,y:g*c}:{x:g*c,y:m*d}}const Q_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:l,middlewareData:a}=t,s=await X_(t,e);return l===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}},J_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:B=>{let{x:y,y:h}=B;return{x:y,y:h}}},...s}=Pt(e,t),c={x:r,y:n},d=await nn(t,s),f=rn(nt(o)),g=gc(f);let m=c[g],v=c[f];if(i){const B=g==="y"?"top":"left",y=g==="y"?"bottom":"right",h=m+d[B],u=m-d[y];m=fc(h,m,u)}if(l){const B=f==="y"?"top":"left",y=f==="y"?"bottom":"right",h=v+d[B],u=v-d[y];v=fc(h,v,u)}const k=a.fn({...t,[g]:m,[f]:v});return{...k,data:{x:k.x-r,y:k.y-n}}}}},Z_=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=Pt(e,t),d={x:r,y:n},f=rn(o),g=gc(f);let m=d[g],v=d[f];const k=Pt(a,t),B=typeof k=="number"?{mainAxis:k,crossAxis:0}:{mainAxis:0,crossAxis:0,...k};if(s){const u=g==="y"?"height":"width",p=i.reference[g]-i.floating[u]+B.mainAxis,b=i.reference[g]+i.reference[u]-B.mainAxis;m<p?m=p:m>b&&(m=b)}if(c){var y,h;const u=g==="y"?"width":"height",p=["top","left"].includes(nt(o)),b=i.reference[f]-i.floating[u]+(p&&((y=l.offset)==null?void 0:y[f])||0)+(p?0:B.crossAxis),w=i.reference[f]+i.reference[u]+(p?0:((h=l.offset)==null?void 0:h[f])||0)-(p?B.crossAxis:0);v<b?v=b:v>w&&(v=w)}return{[g]:m,[f]:v}}}},G_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:i}=t,{apply:l=()=>{},...a}=Pt(e,t),s=await nn(t,a),c=nt(r),d=Nt(r),f=rn(r)==="y",{width:g,height:m}=n.floating;let v,k;c==="top"||c==="bottom"?(v=c,k=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(k=c,v=d==="end"?"top":"bottom");const B=m-s.top-s.bottom,y=g-s.left-s.right,h=pt(m-s[v],B),u=pt(g-s[k],y),p=!t.middlewareData.shift;let b=h,w=u;if(f?w=d||p?pt(u,y):y:b=d||p?pt(h,B):B,p&&!d){const F=Ie(s.left,0),O=Ie(s.right,0),C=Ie(s.top,0),L=Ie(s.bottom,0);f?w=g-2*(F!==0||O!==0?F+O:Ie(s.left,s.right)):b=m-2*(C!==0||L!==0?C+L:Ie(s.top,s.bottom))}await l({...t,availableWidth:w,availableHeight:b});const _=await o.getDimensions(i.floating);return g!==_.width||m!==_.height?{reset:{rects:!0}}:{}}}};function $n(e){return xv(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Tr(e){var t;return(t=(xv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xv(e){return e instanceof Node||e instanceof ot(e).Node}function Ht(e){return e instanceof Element||e instanceof ot(e).Element}function Wt(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function Fv(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function li(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function eS(e){return["table","td","th"].includes($n(e))}function mc(e){const t=yc(),r=Tt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function tS(e){let t=Dr(e);for(;Wt(t)&&!Un(t);){if(mc(t))return t;t=Dr(t)}return null}function yc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Un(e){return["html","body","#document"].includes($n(e))}function Tt(e){return ot(e).getComputedStyle(e)}function es(e){return Ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Dr(e){if($n(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Fv(e)&&e.host||Tr(e);return Fv(t)?t.host:t}function Ev(e){const t=Dr(e);return Un(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wt(t)&&li(t)?t:Ev(t)}function kc(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Ev(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),l=ot(o);return i?t.concat(l,l.visualViewport||[],li(o)?o:[],l.frameElement&&r?kc(l.frameElement):[]):t.concat(o,kc(o,[],r))}function Cv(e){const t=Tt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Wt(e),i=o?e.offsetWidth:r,l=o?e.offsetHeight:n,a=Jl(r)!==i||Jl(n)!==l;return a&&(r=i,n=l),{width:r,height:n,$:a}}function Pv(e){return Ht(e)?e:e.contextElement}function qn(e){const t=Pv(e);if(!Wt(t))return Nr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Cv(t);let l=(i?Jl(r.width):r.width)/n,a=(i?Jl(r.height):r.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!a||!Number.isFinite(a))&&(a=1),{x:l,y:a}}const rS=Nr(0);function Nv(e){const t=ot(e);return!yc()||!t.visualViewport?rS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function nS(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ot(e)?!1:t}function si(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Pv(e);let l=Nr(1);t&&(n?Ht(n)&&(l=qn(n)):l=qn(e));const a=nS(i,r,n)?Nv(i):Nr(0);let s=(o.left+a.x)/l.x,c=(o.top+a.y)/l.y,d=o.width/l.x,f=o.height/l.y;if(i){const g=ot(i),m=n&&Ht(n)?ot(n):n;let v=g,k=v.frameElement;for(;k&&n&&m!==v;){const B=qn(k),y=k.getBoundingClientRect(),h=Tt(k),u=y.left+(k.clientLeft+parseFloat(h.paddingLeft))*B.x,p=y.top+(k.clientTop+parseFloat(h.paddingTop))*B.y;s*=B.x,c*=B.y,d*=B.x,f*=B.y,s+=u,c+=p,v=ot(k),k=v.frameElement}}return Wn({width:d,height:f,x:s,y:c})}const oS=[":popover-open",":modal"];function bc(e){return oS.some(t=>{try{return e.matches(t)}catch{return!1}})}function iS(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",l=Tr(n),a=t?bc(t.floating):!1;if(n===l||a&&i)return r;let s={scrollLeft:0,scrollTop:0},c=Nr(1);const d=Nr(0),f=Wt(n);if((f||!f&&!i)&&(($n(n)!=="body"||li(l))&&(s=es(n)),Wt(n))){const g=si(n);c=qn(n),d.x=g.x+n.clientLeft,d.y=g.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+d.x,y:r.y*c.y-s.scrollTop*c.y+d.y}}function lS(e){return Array.from(e.getClientRects())}function Tv(e){return si(Tr(e)).left+es(e).scrollLeft}function sS(e){const t=Tr(e),r=es(e),n=e.ownerDocument.body,o=Ie(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Ie(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-r.scrollLeft+Tv(e);const a=-r.scrollTop;return Tt(n).direction==="rtl"&&(l+=Ie(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:l,y:a}}function aS(e,t){const r=ot(e),n=Tr(e),o=r.visualViewport;let i=n.clientWidth,l=n.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;const c=yc();(!c||c&&t==="fixed")&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a,y:s}}function uS(e,t){const r=si(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Wt(e)?qn(e):Nr(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y,s=o*i.x,c=n*i.y;return{width:l,height:a,x:s,y:c}}function Dv(e,t,r){let n;if(t==="viewport")n=aS(e,r);else if(t==="document")n=sS(Tr(e));else if(Ht(t))n=uS(t,r);else{const o=Nv(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Wn(n)}function Ov(e,t){const r=Dr(e);return r===t||!Ht(r)||Un(r)?!1:Tt(r).position==="fixed"||Ov(r,t)}function cS(e,t){const r=t.get(e);if(r)return r;let n=kc(e,[],!1).filter(a=>Ht(a)&&$n(a)!=="body"),o=null;const i=Tt(e).position==="fixed";let l=i?Dr(e):e;for(;Ht(l)&&!Un(l);){const a=Tt(l),s=mc(l);!s&&a.position==="fixed"&&(o=null),(i?!s&&!o:!s&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||li(l)&&!s&&Ov(e,l))?n=n.filter(d=>d!==l):o=a,l=Dr(l)}return t.set(e,n),n}function dS(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const l=[...r==="clippingAncestors"?bc(t)?[]:cS(t,this._c):[].concat(r),n],a=l[0],s=l.reduce((c,d)=>{const f=Dv(t,d,o);return c.top=Ie(f.top,c.top),c.right=pt(f.right,c.right),c.bottom=pt(f.bottom,c.bottom),c.left=Ie(f.left,c.left),c},Dv(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function fS(e){const{width:t,height:r}=Cv(e);return{width:t,height:r}}function gS(e,t,r){const n=Wt(t),o=Tr(t),i=r==="fixed",l=si(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const s=Nr(0);if(n||!n&&!i)if(($n(t)!=="body"||li(o))&&(a=es(t)),n){const f=si(t,!0,i,t);s.x=f.x+t.clientLeft,s.y=f.y+t.clientTop}else o&&(s.x=Tv(o));const c=l.left+a.scrollLeft-s.x,d=l.top+a.scrollTop-s.y;return{x:c,y:d,width:l.width,height:l.height}}function wc(e){return Tt(e).position==="static"}function Rv(e,t){return!Wt(e)||Tt(e).position==="fixed"?null:t?t(e):e.offsetParent}function Av(e,t){const r=ot(e);if(bc(e))return r;if(!Wt(e)){let o=Dr(e);for(;o&&!Un(o);){if(Ht(o)&&!wc(o))return o;o=Dr(o)}return r}let n=Rv(e,t);for(;n&&eS(n)&&wc(n);)n=Rv(n,t);return n&&Un(n)&&wc(n)&&!mc(n)?r:n||tS(e)||r}const pS=async function(e){const t=this.getOffsetParent||Av,r=this.getDimensions,n=await r(e.floating);return{reference:gS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function hS(e){return Tt(e).direction==="rtl"}const vS={convertOffsetParentRelativeRectToViewportRelativeRect:iS,getDocumentElement:Tr,getClippingRect:dS,getOffsetParent:Av,getElementRects:pS,getClientRects:lS,getDimensions:fS,getScale:qn,isElement:Ht,isRTL:hS},mS=nn,yS=Q_,kS=J_,bS=q_,wS=G_,Lv=V_,BS=W_,_S=Z_,SS=(e,t,r)=>{const n=new Map,o={platform:vS,...r},i={...o.platform,_c:n};return H_(e,t,{...o,platform:i})};function zv(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const xS=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,FS=e=>{var t;return e.nodeType!==1?{}:((t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView).getComputedStyle(e,null)},ts=e=>{const t=e&&xS(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:n,overflowY:o}=FS(t);return/(auto|scroll|overlay)/.test(r+o+n)?t:ts(t)},ES=e=>{var t;const r=ts(e);return r?r!==((t=r.ownerDocument)===null||t===void 0?void 0:t.body):!1};function Bc(e,t){if(t==="window")return e==null?void 0:e.ownerDocument.documentElement;if(t==="clippingParents")return"clippingAncestors";if(t==="scrollParent"){let r=ts(e);return r.nodeName==="BODY"&&(r=e==null?void 0:e.ownerDocument.documentElement),r}return t}function CS(e,t){return typeof e=="number"||typeof e=="object"&&e!==null?_c(e,t):typeof e=="function"?r=>{const n=e(r);return _c(n,t)}:{mainAxis:t}}const _c=(e,t)=>{if(typeof e=="number")return{mainAxis:e+t};var r;return{...e,mainAxis:((r=e.mainAxis)!==null&&r!==void 0?r:0)+t}};function Iv(e,t){if(typeof e=="number")return e;const{start:r,end:n,...o}=e,i=o,l=t?"end":"start",a=t?"start":"end";return e[l]&&(i.left=e[l]),e[a]&&(i.right=e[a]),i}const PS=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),NS=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),TS=(e,t)=>{const r=e==="above"||e==="below",n=t==="top"||t==="bottom";return r&&n||!r&&!n},Mv=(e,t,r)=>{const n=TS(t,e)?"center":e,o=t&&PS(r)[t],i=n&&NS()[n];return o&&i?`${o}-${i}`:o},DS=()=>({top:"above",bottom:"below",right:"after",left:"before"}),OS=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},RS=e=>{const{side:t,alignment:r}=zv(e),n=DS()[t],o=r&&OS(n)[r];return{position:n,alignment:o}},AS={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function jv(e){return e==null?{}:typeof e=="string"?AS[e]:e}function Sc(e,t,r){const n=S.exports.useRef(!0),[o]=S.exports.useState(()=>({value:e,callback:t,facade:{get current(){return o.value},set current(i){const l=o.value;if(l!==i){if(o.value=i,r&&n.current)return;o.callback(i,l)}}}}));return xt(()=>{n.current=!1},[]),o.callback=t,o.facade}function LS(e){let t;return()=>(t||(t=new Promise(r=>{Promise.resolve().then(()=>{t=void 0,r(e())})})),t)}function zS(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:n,y:o}=r.arrow;Object.assign(t.style,{left:`${n}px`,top:`${o}px`})}function IS(e){var t,r,n;const{container:o,placement:i,middlewareData:l,strategy:a,lowPPI:s,coordinates:c,useTransform:d=!0}=e;if(!o)return;o.setAttribute(R_,i),o.removeAttribute(pv),l.intersectionObserver.intersecting&&o.setAttribute(pv,""),o.removeAttribute(hv),!((t=l.hide)===null||t===void 0)&&t.escaped&&o.setAttribute(hv,""),o.removeAttribute(vv),!((r=l.hide)===null||r===void 0)&&r.referenceHidden&&o.setAttribute(vv,"");const f=((n=o.ownerDocument.defaultView)===null||n===void 0?void 0:n.devicePixelRatio)||1,g=Math.round(c.x*f)/f,m=Math.round(c.y*f)/f;if(Object.assign(o.style,{position:a}),d){Object.assign(o.style,{transform:s?`translate(${g}px, ${m}px)`:`translate3d(${g}px, ${m}px, 0)`});return}Object.assign(o.style,{left:`${g}px`,top:`${m}px`})}const MS=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function jS(){return{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:n,y:o}=e,i=zv(t).side,l={x:n,y:o};switch(i){case"bottom":l.y-=r.reference.height;break;case"top":l.y+=r.reference.height;break;case"left":l.x+=r.reference.width;break;case"right":l.x-=r.reference.width;break}return l}}}function HS(e){const{hasScrollableElement:t,flipBoundary:r,container:n,fallbackPositions:o=[],isRtl:i}=e,l=o.reduce((a,s)=>{const{position:c,align:d}=jv(s),f=Mv(d,c,i);return f&&a.push(f),a},[]);return bS({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:Bc(n,r)},fallbackStrategy:"bestFit",...l.length&&{fallbackPlacements:l}})}function WS(){return{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await mS(e,{altBoundary:!0}),n=r.top<t.height&&r.top>0,o=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:n||o}}}}}const $S=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var n;if(!((n=t.resetMaxSize)===null||n===void 0)&&n.maxSizeAlreadyReset)return{};const{applyMaxWidth:o,applyMaxHeight:i}=e;return o&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),i&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function US(e,t){const{container:r,overflowBoundary:n,overflowBoundaryPadding:o,isRtl:i}=t;return wS({...o&&{padding:Iv(o,i)},...n&&{altBoundary:!0,boundary:Bc(r,n)},apply({availableHeight:l,availableWidth:a,elements:s,rects:c}){const d=(m,v,k)=>{if(!!m&&(s.floating.style.setProperty("box-sizing","border-box"),s.floating.style.setProperty(`max-${v}`,`${k}px`),c.floating[v]>k)){s.floating.style.setProperty(v,`${k}px`);const B=v==="width"?"x":"y";s.floating.style.getPropertyValue(`overflow-${B}`)||s.floating.style.setProperty(`overflow-${B}`,"auto")}},{applyMaxWidth:f,applyMaxHeight:g}=e;d(f,"width",a),d(g,"height",l)}})}function qS(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:t,reference:r},placement:n})=>{const{position:o,alignment:i}=RS(n);return e({positionedRect:t,targetRect:r,position:o,alignment:i})}}function VS(e){const t=qS(e);return yS(t)}function KS(e){const{hasScrollableElement:t,disableTether:r,overflowBoundary:n,container:o,overflowBoundaryPadding:i,isRtl:l}=e;return kS({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:r==="all",limiter:_S({crossAxis:r!=="all",mainAxis:!1})},...i&&{padding:Iv(i,l)},...n&&{altBoundary:!0,boundary:Bc(o,n)}})}const Hv="--fui-match-target-size";function YS(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:n},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:o=!1}={}}}=e;if(t.width===r.width||o)return{};const{width:i}=t;return n.style.setProperty(Hv,`${i}px`),n.style.width||(n.style.width=`var(${Hv})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function Wv(e){const t=[];let r=e;for(;r;){const n=ts(r);if(e.ownerDocument.body===n){t.push(n);break}if(n.nodeName==="BODY"&&n!==e.ownerDocument.body)break;t.push(n),r=n}return t}function XS(e,t){return new e.ResizeObserver(t)}function QS(e){let t=!1;const{container:r,target:n,arrow:o,strategy:i,middleware:l,placement:a,useTransform:s=!0,disableUpdateOnResize:c=!1}=e,d=r.ownerDocument.defaultView;if(!n||!r||!d)return{updatePosition:()=>{},dispose:()=>{}};const f=c?null:XS(d,y=>{y.every(u=>u.contentRect.width>0&&u.contentRect.height>0)&&k()});let g=!0;const m=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const v=()=>{t||(g&&(Wv(r).forEach(y=>m.add(y)),qo(n)&&Wv(n).forEach(y=>m.add(y)),m.forEach(y=>{y.addEventListener("scroll",k,{passive:!0})}),f==null||f.observe(r),qo(n)&&(f==null||f.observe(n)),g=!1),Object.assign(r.style,{position:i}),SS(n,r,{placement:a,middleware:l,strategy:i}).then(({x:y,y:h,middlewareData:u,placement:p})=>{t||(zS({arrow:o,middlewareData:u}),IS({container:r,middlewareData:u,placement:p,coordinates:{x:y,y:h},lowPPI:((d==null?void 0:d.devicePixelRatio)||1)<=1,strategy:i,useTransform:s}),r.dispatchEvent(new CustomEvent(dc)))}).catch(y=>{}))},k=LS(()=>v()),B=()=>{t=!0,d&&(d.removeEventListener("scroll",k),d.removeEventListener("resize",k)),m.forEach(y=>{y.removeEventListener("scroll",k)}),m.clear(),f==null||f.disconnect()};return d&&(d.addEventListener("scroll",k,{passive:!0}),d.addEventListener("resize",k)),k(),{updatePosition:k,dispose:B}}function JS(e){const t=S.exports.useRef(null),r=S.exports.useRef(null),n=S.exports.useRef(null),o=S.exports.useRef(null),i=S.exports.useRef(null),{enabled:l=!0}=e,a=ZS(e),s=S.exports.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;var v;const k=(v=n.current)!==null&&v!==void 0?v:r.current;l&&Mu()&&k&&o.current&&(t.current=QS({container:o.current,target:k,arrow:i.current,...a(o.current,i.current)}))},[l,a]),c=xe(v=>{n.current=v,s()});S.exports.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var v;return(v=t.current)===null||v===void 0?void 0:v.updatePosition()},setTarget:v=>{e.target,c(v)}}),[e.target,c]),xt(()=>{var v;c((v=e.target)!==null&&v!==void 0?v:null)},[e.target,c]),xt(()=>{s()},[s]);const d=Sc(null,v=>{r.current!==v&&(r.current=v,s())}),f=xe(()=>{var v;return(v=e.onPositioningEnd)===null||v===void 0?void 0:v.call(e)}),g=Sc(null,v=>{if(o.current!==v){var k;(k=o.current)===null||k===void 0||k.removeEventListener(dc,f),v==null||v.addEventListener(dc,f),o.current=v,s()}}),m=Sc(null,v=>{i.current!==v&&(i.current=v,s())});return{targetRef:d,containerRef:g,arrowRef:m}}function ZS(e){const{align:t,arrowPadding:r,autoSize:n,coverTarget:o,flipBoundary:i,offset:l,overflowBoundary:a,pinned:s,position:c,unstable_disableTether:d,positionFixed:f,strategy:g,overflowBoundaryPadding:m,fallbackPositions:v,useTransform:k,matchTargetSize:B,disableUpdateOnResize:y=!1}=e,{dir:h,targetDocument:u}=Ft(),p=h==="rtl",b=(g!=null?g:f)?"fixed":"absolute",w=MS(n);return S.exports.useCallback((_,F)=>{const O=ES(_),C=[w&&$S(w),B&&YS(),l&&VS(l),o&&jS(),!s&&HS({container:_,flipBoundary:i,hasScrollableElement:O,isRtl:p,fallbackPositions:v}),KS({container:_,hasScrollableElement:O,overflowBoundary:a,disableTether:d,overflowBoundaryPadding:m,isRtl:p}),w&&US(w,{container:_,overflowBoundary:a,overflowBoundaryPadding:m,isRtl:p}),WS(),F&&BS({element:F,padding:r}),Lv({strategy:"referenceHidden"}),Lv({strategy:"escaped"}),!1].filter(Boolean);return{placement:Mv(t,c,p),middleware:C,strategy:b,useTransform:k,disableUpdateOnResize:y}},[t,r,w,o,d,i,p,l,a,s,c,b,m,v,k,B,u,y])}const GS=e=>{const[t,r]=S.exports.useState(e);return[t,o=>{if(o==null){r(void 0);return}let i;o instanceof MouseEvent?i=o:i=o.nativeEvent,i instanceof MouseEvent;const l=O_(i);r(l)}]},xc=cv(void 0),e2={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1};xc.Provider;const Dt=e=>dv(xc,(t=e2)=>e(t)),t2=(e,t)=>{const r=Dt(h=>h.contentRef),n=Dt(h=>h.openOnHover),o=Dt(h=>h.setOpen),i=Dt(h=>h.mountNode),l=Dt(h=>h.arrowRef),a=Dt(h=>h.size),s=Dt(h=>h.withArrow),c=Dt(h=>h.appearance),d=Dt(h=>h.trapFocus),f=Dt(h=>h.inertTrapFocus),g=Dt(h=>h.inline),{modalAttributes:m}=ic({trapFocus:d,legacyTrapFocus:!f,alwaysFocusable:!d}),v={inline:g,appearance:c,withArrow:s,size:a,arrowRef:l,mountNode:i,components:{root:"div"},root:St(tr("div",{ref:Hl(t,r),role:d?"dialog":"group","aria-modal":d?!0:void 0,...m,...e}),{elementType:"div"})},{onMouseEnter:k,onMouseLeave:B,onKeyDown:y}=v.root;return v.root.onMouseEnter=h=>{n&&o(h,!0),k==null||k(h)},v.root.onMouseLeave=h=>{n&&o(h,!1),B==null||B(h)},v.root.onKeyDown=h=>{var u;h.key==="Escape"&&((u=r.current)===null||u===void 0?void 0:u.contains(h.target))&&(h.preventDefault(),o(h,!1)),y==null||y(h)},v};function r2(e){return qo(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}var $v=()=>S.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current,n2=()=>!1,Uv=new WeakSet;function o2(e,t){const r=$v();S.exports.useEffect(()=>{if(!Uv.has(r)){Uv.add(r),e();return}return e()},t)}var qv=new WeakSet;function i2(e,t){return S.exports.useMemo(()=>{const r=$v();return qv.has(r)?e():(qv.add(r),null)},t)}function l2(e,t){var r;const n=n2()&&!1,o=n?i2:S.exports.useMemo,i=n?o2:S.exports.useEffect,[l,a]=(r=o(()=>e(),t))!=null?r:[null,()=>null];return i(()=>a,t),l}const s2=rt({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),Vv=sn["useInsertionEffect"],a2=e=>{const{targetDocument:t,dir:r}=Ft(),n=Rb(),o=$h(),i=s2(),l=Fb(),a=Se(l,i.root,e.className),s=n!=null?n:t==null?void 0:t.body,c=l2(()=>{if(s===void 0||e.disabled)return[null,()=>null];const d=s.ownerDocument.createElement("div");return s.appendChild(d),[d,()=>d.remove()]},[s]);return Vv?Vv(()=>{if(!c)return;const d=a.split(" ").filter(Boolean);return c.classList.add(...d),c.setAttribute("dir",r),c.setAttribute("data-portal-node","true"),o.current=c,()=>{c.classList.remove(...d),c.removeAttribute("dir")}},[a,r,c,o]):S.exports.useMemo(()=>{!c||(c.className=a,c.setAttribute("dir",r),c.setAttribute("data-portal-node","true"),o.current=c)},[a,r,c,o]),c},u2=e=>{const{element:t,className:r}=r2(e.mountNode),n=S.exports.useRef(null),o=a2({disabled:!!t,className:r}),i=t!=null?t:o,l={children:e.children,mountNode:i,virtualParentRootRef:n};return S.exports.useEffect(()=>{if(!i)return;const a=n.current,s=i.contains(a);if(a&&!s)return ah(i,a),()=>{ah(i,void 0)}},[n,i]),l},c2=e=>S.exports.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&ss.exports.createPortal(e.children,e.mountNode)),Fc=e=>{const t=u2(e);return c2(t)};Fc.displayName="Portal";const d2=e=>{const t=Zr(e.root,{children:[e.withArrow&&ee("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:ee(Fc,{mountNode:e.mountNode,children:t})},f2={root:"fui-PopoverSurface"},g2={small:6,medium:8,large:8},p2=rt({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"ftje0s4",z0t1cu:"fi19xcv",Bks05zx:"f1mzajhk",Bvtglag:"fjp4h9y"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{a9b677:"f1ekdpwm",Bqenvij:"f83vc9z"},mediumLargeArrow:{a9b677:"f1kmc0fn",Bqenvij:"fb6lvc5"},arrow:{qhf8xq:"f1euv43f",De3pzq:"f1u2r49w",Bcdw1i0:"fd7fpy0",Bj3rh1h:"f1bsuimh",Ftih45:"f1wl9k8s",B1puzpu:"f1wkw4r9",Brfgrao:"f1j7ml58",Bcvre1j:"fyl8oag",Ccq8qp:"frdoeuz",Baz25je:"fb81m9q",cmx5o7:"f1ljr5q2",Bk5zm6e:0,m598lv:0,B4f6apu:0,eqrjj:"f15tymiq",Bqjgrrk:0,qa3bma:0,y0oebl:0,Bcgcnre:"fi8wnwo",Budzafs:["f9e5op9","f112wvtl"],Hv9wc6:"f16cagkn",hl6cv3:"f1773hnp",c8svkw:"fw7o64x",yayu3t:"f1v7783n",nr3p0k:"f1f0d6v",rhl9o9:"fh2hsk5",wiz9v7:"f1gj3y7g",B6q6orb:"f11yvu4",ndpsmx:"f17lejdj"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".ftje0s4{animation-name:f5j8bii,f79suad;}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1ekdpwm{width:8.484px;}",".f83vc9z{height:8.484px;}",".f1kmc0fn{width:11.312px;}",".fb6lvc5{height:11.312px;}",".f1euv43f{position:absolute;}",".f1u2r49w{background-color:inherit;}",".fd7fpy0{visibility:hidden;}",".f1bsuimh{z-index:-1;}",'.f1wl9k8s::before{content:"";}',".f1wkw4r9::before{visibility:visible;}",".f1j7ml58::before{position:absolute;}",".fyl8oag::before{box-sizing:border-box;}",".frdoeuz::before{width:inherit;}",".fb81m9q::before{height:inherit;}",".f1ljr5q2::before{background-color:inherit;}",[".f15tymiq::before{border-right:1px solid var(--colorTransparentStroke);}",{p:-1}],[".fi8wnwo::before{border-bottom:1px solid var(--colorTransparentStroke);}",{p:-1}],".f9e5op9::before{border-bottom-right-radius:var(--borderRadiusSmall);}",".f112wvtl::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".f16cagkn::before{transform:rotate(var(--fui-positioning-angle)) translate(0, 50%) rotate(45deg);}",'[data-popper-placement^="top"] .f1773hnp{bottom:-1px;}','[data-popper-placement^="top"] .fw7o64x{--fui-positioning-angle:0;}','[data-popper-placement^="right"] .f1v7783n{left:-1px;}','[data-popper-placement^="right"] .f1f0d6v{--fui-positioning-angle:90deg;}','[data-popper-placement^="bottom"] .fh2hsk5{top:-1px;}','[data-popper-placement^="bottom"] .f1gj3y7g{--fui-positioning-angle:180deg;}','[data-popper-placement^="left"] .f11yvu4{right:-1px;}','[data-popper-placement^="left"] .f17lejdj{--fui-positioning-angle:270deg;}'],k:["@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mzajhk[data-popper-placement]{animation-name:f5j8bii;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.fjp4h9y[data-popper-placement]{animation-name:f5j8bii;}}"]}),h2=e=>{const t=p2();return e.root.className=Se(f2.root,t.root,e.inline&&t.inline,e.size==="small"&&t.smallPadding,e.size==="medium"&&t.mediumPadding,e.size==="large"&&t.largePadding,e.appearance==="inverted"&&t.inverted,e.appearance==="brand"&&t.brand,e.root.className),e.arrowClassName=Se(t.arrow,e.size==="small"?t.smallArrow:t.mediumLargeArrow),e},Kv=S.exports.forwardRef((e,t)=>{const r=t2(e,t);return h2(r),Fr("usePopoverSurfaceStyles_unstable")(r),d2(r)});Kv.displayName="PopoverSurface";const v2=4,m2=e=>{const[t,r]=GS(),n={size:"medium",contextTarget:t,setContextTarget:r,...e},o=S.exports.Children.toArray(e.children);let i,l;o.length===2?(i=o[0],l=o[1]):o.length===1&&(l=o[0]);const[a,s]=y2(n),[c,d]=Mb(),f=xe((p,b)=>{if(d(),!(p instanceof Event)&&p.persist&&p.persist(),p.type==="mouseleave"){var w;c(()=>{s(p,b)},(w=e.mouseLeaveDelay)!==null&&w!==void 0?w:500)}else s(p,b)}),g=S.exports.useCallback(p=>{f(p,!a)},[f,a]),m=k2(n),{targetDocument:v}=Ft();var k;Ab({contains:sh,element:v,callback:p=>f(p,!1),refs:[m.triggerRef,m.contentRef],disabled:!a,disabledFocusOnIframe:!(!((k=e.closeOnIframeFocus)!==null&&k!==void 0)||k)});const B=n.openOnContext||n.closeOnScroll;Ib({contains:sh,element:v,callback:p=>f(p,!1),refs:[m.triggerRef,m.contentRef],disabled:!a||!B});const{findFirstFocusable:y}=jh();S.exports.useEffect(()=>{if(!e.unstable_disableAutoFocus&&a&&m.contentRef.current){var p;const b=(p=m.contentRef.current.getAttribute("tabIndex"))!==null&&p!==void 0?p:void 0,w=isNaN(b)?y(m.contentRef.current):m.contentRef.current;w==null||w.focus()}},[y,a,m.contentRef,e.unstable_disableAutoFocus]);var h,u;return{...n,...m,inertTrapFocus:(h=e.inertTrapFocus)!==null&&h!==void 0?h:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:i,popoverSurface:l,open:a,setOpen:f,toggleOpen:g,setContextTarget:r,contextTarget:t,inline:(u=e.inline)!==null&&u!==void 0?u:!1}};function y2(e){const t=xe((l,a)=>{var s;return(s=e.onOpenChange)===null||s===void 0?void 0:s.call(e,l,a)}),[r,n]=Xp({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=r!==void 0?r:e.open;const o=e.setContextTarget,i=S.exports.useCallback((l,a)=>{a&&l.type==="contextmenu"&&o(l),a||o(void 0),n(a),t==null||t(l,{open:a})},[n,t,o]);return[r,i]}function k2(e){const t={position:"above",align:"center",arrowPadding:2*v2,target:e.openOnContext?e.contextTarget:void 0,...jv(e.positioning)};t.coverTarget&&(e.withArrow=!1),e.withArrow&&(t.offset=CS(t.offset,g2[e.size]));const{targetRef:r,containerRef:n,arrowRef:o}=JS(t);return{triggerRef:r,contentRef:n,arrowRef:o}}const b2=e=>{const{appearance:t,arrowRef:r,contentRef:n,inline:o,mountNode:i,open:l,openOnContext:a,openOnHover:s,setOpen:c,size:d,toggleOpen:f,trapFocus:g,triggerRef:m,withArrow:v,inertTrapFocus:k}=e;return S.exports.createElement(xc.Provider,{value:{appearance:t,arrowRef:r,contentRef:n,inline:o,mountNode:i,open:l,openOnContext:a,openOnHover:s,setOpen:c,toggleOpen:f,triggerRef:m,size:d,trapFocus:g,inertTrapFocus:k,withArrow:v}},e.popoverTrigger,e.open&&e.popoverSurface)},Yv=e=>{const t=m2(e);return b2(t)};Yv.displayName="Popover";const w2=e=>{const{iconOnly:t,iconPosition:r}=e;return Zr(e.root,{children:[r!=="after"&&e.icon&&ee(e.icon,{}),!t&&e.root.children,r==="after"&&e.icon&&ee(e.icon,{})]})},Xv=S.exports.createContext(void 0),B2={};Xv.Provider;const _2=()=>{var e;return(e=S.exports.useContext(Xv))!==null&&e!==void 0?e:B2},S2=(e,t)=>{const{size:r}=_2(),{appearance:n="secondary",as:o="button",disabled:i=!1,disabledFocusable:l=!1,icon:a,iconPosition:s="before",shape:c="rounded",size:d=r!=null?r:"medium"}=e,f=Ml(a,{elementType:"span"});return{appearance:n,disabled:i,disabledFocusable:l,iconPosition:s,shape:c,size:d,iconOnly:Boolean((f==null?void 0:f.children)&&!e.children),components:{root:"button",icon:"span"},root:St(tr(o,fv(e.as,e)),{elementType:"button",defaultProps:{ref:t,type:"button"}}),icon:f}},Qv={root:"fui-Button",icon:"fui-Button__icon"},x2=_t("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),F2=_t("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),E2=rt({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),C2=rt({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),P2=rt({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),N2=rt({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),T2=rt({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),D2=e=>{const t=x2(),r=F2(),n=E2(),o=C2(),i=P2(),l=N2(),a=T2(),{appearance:s,disabled:c,disabledFocusable:d,icon:f,iconOnly:g,iconPosition:m,shape:v,size:k}=e;return e.root.className=Se(Qv.root,t,s&&n[s],n[k],f&&k==="small"&&n.smallWithIcon,f&&k==="large"&&n.largeWithIcon,n[v],(c||d)&&o.base,(c||d)&&o.highContrast,s&&(c||d)&&o[s],s==="primary"&&i.primary,i[k],i[v],g&&l[k],e.root.className),e.icon&&(e.icon.className=Se(Qv.icon,r,!!e.root.children&&a[m],a[k],e.icon.className)),e},Ec=S.exports.forwardRef((e,t)=>{const r=S2(e,t);return D2(r),Fr("useButtonStyles_unstable")(r),w2(r)});Ec.displayName="Button";const Jv=S.exports.createContext(void 0);Jv.Provider;const O2=()=>S.exports.useContext(Jv),R2=(e,t)=>{const{disabled:r=!1,required:n=!1,weight:o="regular",size:i="medium"}=e;return{disabled:r,required:Ml(n===!0?"*":n||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:o,size:i,components:{root:"label",required:"span"},root:St(tr("label",{ref:t,...e}),{elementType:"label"})}},A2=e=>Zr(e.root,{children:[e.root.children,e.required&&ee(e.required,{})]}),Zv={root:"fui-Label",required:"fui-Label__required"},L2=rt({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),z2=e=>{const t=L2();return e.root.className=Se(Zv.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight==="semibold"&&t.semibold,e.root.className),e.required&&(e.required.className=Se(Zv.required,t.required,e.disabled&&t.disabled,e.required.className)),e},Gv=S.exports.forwardRef((e,t)=>{const r=R2(e,t);return z2(r),Fr("useLabelStyles_unstable")(r),A2(r)});Gv.displayName="Label";const I2=_t("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),M2=_t("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function j2(){const e=I2(),t=M2(),{targetDocument:r}=Ft(),n=S.exports.useCallback(()=>{var i;if(!r)return;var l;r.body.clientHeight>((l=(i=r.defaultView)===null||i===void 0?void 0:i.innerHeight)!==null&&l!==void 0?l:0)&&(r.documentElement.classList.add(e),r.body.classList.add(t))},[r,e,t]),o=S.exports.useCallback(()=>{!r||(r.documentElement.classList.remove(e),r.body.classList.remove(t))},[r,e,t]);return{disableBodyScroll:n,enableBodyScroll:o}}function H2(e,t){const{findFirstFocusable:r}=jh(),{targetDocument:n}=Ft(),o=S.exports.useRef(null);return S.exports.useEffect(()=>{if(!e)return;const i=o.current&&r(o.current);if(i)i.focus();else{var l;(l=o.current)===null||l===void 0||l.focus()}},[r,e,t,n]),o}const W2={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},Cc=cv(void 0),$2=Cc.Provider,$t=e=>dv(Cc,(t=W2)=>e(t)),U2=!1,e0=S.exports.createContext(void 0),t0=e0.Provider,q2=()=>{var e;return(e=S.exports.useContext(e0))!==null&&e!==void 0?e:U2},V2=e=>{const{children:t,modalType:r="modal",onOpenChange:n,inertTrapFocus:o=!1}=e,[i,l]=K2(t),[a,s]=Xp({state:e.open,defaultState:e.defaultOpen,initialState:!1}),c=xe(v=>{n==null||n(v.event,v),v.event.isDefaultPrevented()||s(v.open)}),d=H2(a,r),{modalAttributes:f,triggerAttributes:g}=ic({trapFocus:r!=="non-modal",legacyTrapFocus:!o}),m=E_(Cc);return{components:{backdrop:"div"},inertTrapFocus:o,open:a,modalType:r,content:l,trigger:i,requestOpenChange:c,dialogTitleId:ju("dialog-title-"),isNestedDialog:m,dialogRef:d,modalAttributes:f,triggerAttributes:g}};function K2(e){const t=S.exports.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}const Or={...{durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},...{curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"}},Y2="screen and (prefers-reduced-motion: reduce)";function X2(){const{targetDocument:e}=Ft();var t;const r=(t=e==null?void 0:e.defaultView)!==null&&t!==void 0?t:null,n=S.exports.useRef(!1),o=S.exports.useCallback(()=>n.current,[]);return S.exports.useEffect(()=>{if(r===null||typeof r.matchMedia!="function")return;const i=r.matchMedia(Y2);i.matches&&(n.current=!0);const l=a=>{n.current=a.matches};return i.addEventListener("change",l),()=>{i.removeEventListener("change",l)}},[r]),o}function Q2(e){const t=S.exports.useRef();return S.exports.useImperativeHandle(e,()=>({setPlayState:r=>{if(r==="running"){var n;(n=t.current)===null||n===void 0||n.play()}if(r==="paused"){var o;(o=t.current)===null||o===void 0||o.pause()}},setPlaybackRate:r=>{t.current&&(t.current.playbackRate=r)}})),t}function J2(e,t,r){return typeof e.animate!="function"?null:e.animate(t,r)}function Z2(e){try{const t=S.exports.Children.only(e);if(typeof t.type=="string"||uh.exports.isForwardRef(t))return t}catch{}throw new Error(["@fluentui/react-motions: Invalid child element.",` `,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join(""))}const G2=S.exports.createContext(void 0);function ex(e=!1,t=!1){const r=S.exports.useRef(t?e:!0),n=wb(),o=S.exports.useCallback(i=>{r.current!==i&&(r.current=i,n())},[n]);return S.exports.useEffect(()=>{e&&(r.current=e)}),[e||r.current,o]}function tx(e,t,r){return!e&&t&&r}function r0(e){return r=>{const n=S.exports.useContext(G2),{appear:o,children:i,imperativeRef:l,onMotionFinish:a,visible:s,unmountOnExit:c}={...n,...r},[d,f]=ex(s,c),g=Z2(i),m=Q2(l),v=S.exports.useRef(),k=Hl(v,g.ref),B=S.exports.useRef({}),y=bb(),h=X2(),u=xe(b=>{a==null||a(b,{event:b,type:"animation",direction:"enter"})}),p=xe(b=>{a==null||a(b,{event:b,type:"animation",direction:"exit"}),c&&(f(!1),n==null||n.onExit())});return xt(()=>{B.current={appear:o}}),xt(()=>{if(!v.current||tx(B.current.appear,y,s))return;const b=typeof e=="function"?e(v.current):e,{keyframes:w,..._}=s?b.enter:b.exit,F=J2(v.current,w,{fill:"forwards",..._,...h()&&{duration:1}});if(!!F){if(!s&&y){F.finish();return}return m.current=F,F.onfinish=s?u:p,()=>{F.cancel()}}},[m,h,u,p,s]),d?S.exports.cloneElement(g,{ref:k}):null}}const n0=[{opacity:0,boxShadow:"0px 0px 0px 0px rgba(0, 0, 0, 0.1)",transform:"scale(0.85) translateZ(0)"},{boxShadow:ii.shadow64,transform:"scale(1) translateZ(0)",opacity:1}],rx=r0({enter:{keyframes:n0,easing:Or.curveDecelerateMid,duration:Or.durationGentle},exit:{keyframes:[...n0].reverse(),easing:Or.curveAccelerateMin,duration:Or.durationGentle}}),nx=(e,t)=>{const{content:r,open:n,trigger:o}=e;return ee($2,{value:t.dialog,children:Zr(t0,{value:t.dialogSurface,children:[o,r&&ee(rx,{appear:!0,visible:n,unmountOnExit:!0,children:r})]})})};function ox(e){const{modalType:t,open:r,dialogRef:n,dialogTitleId:o,isNestedDialog:i,inertTrapFocus:l,requestOpenChange:a,modalAttributes:s,triggerAttributes:c}=e;return{dialog:{open:r,modalType:t,dialogRef:n,dialogTitleId:o,isNestedDialog:i,inertTrapFocus:l,modalAttributes:s,triggerAttributes:c,requestOpenChange:a},dialogSurface:!1}}const o0=S.exports.memo(e=>{const t=V2(e),r=ox(t);return nx(t,r)});o0.displayName="Dialog";const ix=e=>{const t=q2(),{children:r,disableButtonEnhancement:n=!1,action:o=t?"close":"open"}=e,i=ih(r),l=$t(f=>f.requestOpenChange),{triggerAttributes:a}=ic(),s=xe(f=>{var g,m;i==null||(g=(m=i.props).onClick)===null||g===void 0||g.call(m,f),f.isDefaultPrevented()||l({event:f,type:"triggerClick",open:o==="open"})}),c={...i==null?void 0:i.props,ref:i==null?void 0:i.ref,onClick:s,...a},d=fv((i==null?void 0:i.type)==="button"||(i==null?void 0:i.type)==="a"?i.type:"div",{...c,type:"button"});return{children:jb(r,n?c:d)}},lx=e=>e.children,Pc=e=>{const t=ix(e);return lx(t)};Pc.displayName="DialogTrigger",Pc.isFluentTriggerComponent=!0;const sx=(e,t)=>{var r;return{components:{root:"div"},root:St(tr((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},ax=e=>ee(e.root,{}),ux={root:"fui-DialogBody"},cx=_t("r1h3qql9",null,{r:[".r1h3qql9{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.r1h3qql9{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.r1h3qql9{max-height:unset;}}"]}),dx=e=>{const t=cx();return e.root.className=Se(ux.root,t,e.root.className),e},i0=S.exports.forwardRef((e,t)=>{const r=sx(e,t);return dx(r),Fr("useDialogBodyStyles_unstable")(r),ax(r)});i0.displayName="DialogBody";const l0={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},fx=_t("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),gx=rt({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),px=_t("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),hx=_t("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),vx=e=>{const t=fx(),r=px(),n=gx();return e.root.className=Se(l0.root,t,!e.action&&n.rootWithoutAction,e.root.className),e.action&&(e.action.className=Se(l0.action,r,e.action.className)),e},mx=(e,t)=>{const{action:r}=e,n=$t(i=>i.modalType),o=hx();return{components:{root:"h2",action:"div"},root:St(tr("h2",{ref:t,id:$t(i=>i.dialogTitleId),...e}),{elementType:"h2"}),action:Ml(r,{renderByDefault:n==="non-modal",defaultProps:{children:S.exports.createElement(Pc,{disableButtonEnhancement:!0,action:"close"},S.exports.createElement("button",{type:"button",className:o,"aria-label":"close"},S.exports.createElement(T_,null)))},elementType:"div"})}},yx=e=>Zr(S.exports.Fragment,{children:[ee(e.root,{children:e.root.children}),e.action&&ee(e.action,{})]}),s0=S.exports.forwardRef((e,t)=>{const r=mx(e,t);return vx(r),Fr("useDialogTitleStyles_unstable")(r),yx(r)});s0.displayName="DialogTitle";const kx=(e,t)=>{const r=$t(v=>v.modalType),n=$t(v=>v.isNestedDialog),o=$t(v=>v.modalAttributes),i=$t(v=>v.dialogRef),l=$t(v=>v.requestOpenChange),a=$t(v=>v.dialogTitleId),s=$t(v=>v.open),c=xe(v=>{if(Mk(e.backdrop)){var k,B;(k=(B=e.backdrop).onClick)===null||k===void 0||k.call(B,v)}r==="modal"&&!v.isDefaultPrevented()&&l({event:v,open:!1,type:"backdropClick"})}),d=xe(v=>{var k;(k=e.onKeyDown)===null||k===void 0||k.call(e,v),v.key===C_&&!v.isDefaultPrevented()&&(l({event:v,open:!1,type:"escapeKeyDown"}),v.preventDefault())}),f=Ml(e.backdrop,{renderByDefault:r!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});f&&(f.onClick=c);const{disableBodyScroll:g,enableBodyScroll:m}=j2();return xt(()=>{if(!(n||r==="non-modal"))return g(),()=>{m()}},[m,n,g,r]),{components:{backdrop:"div",root:"div"},open:s,backdrop:f,isNestedDialog:n,mountNode:e.mountNode,root:St(tr("div",{tabIndex:-1,"aria-modal":r!=="non-modal",role:r==="alert"?"alertdialog":"dialog","aria-labelledby":e["aria-label"]?void 0:a,...e,...o,onKeyDown:d,ref:Hl(t,i)}),{elementType:"div"}),transitionStatus:void 0}},a0=[{opacity:0},{opacity:1}],bx=r0({enter:{keyframes:a0,easing:Or.curveLinear,duration:Or.durationGentle},exit:{keyframes:[...a0].reverse(),easing:Or.curveLinear,duration:Or.durationGentle}}),wx=(e,t)=>Zr(Fc,{mountNode:e.mountNode,children:[e.backdrop&&ee(bx,{appear:!0,visible:e.open,children:ee(e.backdrop,{})}),ee(t0,{value:t.dialogSurface,children:ee(e.root,{})})]}),u0={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},Bx=_t("r1svjbtt","r131yuoq",{r:[".r1svjbtt{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);}",".r1svjbtt:focus{outline-style:none;}",".r1svjbtt:focus-visible{outline-style:none;}",".r1svjbtt[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1svjbtt[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r131yuoq{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);}",".r131yuoq:focus{outline-style:none;}",".r131yuoq:focus-visible{outline-style:none;}",".r131yuoq[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r131yuoq[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1svjbtt[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1svjbtt{max-width:100vw;}}","@media screen and (max-height: 359px){.r1svjbtt{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r131yuoq[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r131yuoq{max-width:100vw;}}","@media screen and (max-height: 359px){.r131yuoq{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),_x=_t("rsptlh5",null,[".rsptlh5{inset:0px;background-color:rgba(0, 0, 0, 0.4);position:fixed;}"]),Sx=rt({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),xx=e=>{const{isNestedDialog:t,root:r,backdrop:n}=e,o=Bx(),i=_x(),l=Sx();return r.className=Se(u0.root,o,r.className),n&&(n.className=Se(u0.backdrop,i,t&&l.nestedDialogBackdrop,n.className)),e};function Fx(e){return{dialogSurface:!0}}const c0=S.exports.forwardRef((e,t)=>{const r=kx(e,t),n=Fx();return xx(r),Fr("useDialogSurfaceStyles_unstable")(r),wx(r,n)});c0.displayName="DialogSurface";const Ex=(e,t)=>{var r;return{components:{root:"div"},root:St(tr((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},Cx=e=>ee(e.root,{}),Px={root:"fui-DialogContent"},Nx=_t("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),Tx=e=>{const t=Nx();return e.root.className=Se(Px.root,t,e.root.className),e},d0=S.exports.forwardRef((e,t)=>{const r=Ex(e,t);return Tx(r),Fr("useDialogContentStyles_unstable")(r),Cx(r)});d0.displayName="DialogContent";const Dx=e=>e<=0?1:e,Ox=(e,t)=>e===void 0?e:e<0?0:e>t?t:e,Rx=(e,t)=>{const r=O2(),n=r==null?void 0:r.validationState,{color:o=n==="error"||n==="warning"||n==="success"?n:"brand",shape:i="rounded",thickness:l="medium"}=e;var a;const s=Dx((a=e.max)!==null&&a!==void 0?a:1),c=Ox(e.value,s),d=St(tr("div",{ref:t,role:"progressbar","aria-valuemin":c!==void 0?0:void 0,"aria-valuemax":c!==void 0?s:void 0,"aria-valuenow":c,"aria-labelledby":r==null?void 0:r.labelId,...e}),{elementType:"div"});r&&(r.validationMessageId||r.hintId)&&(d["aria-describedby"]=[r==null?void 0:r.validationMessageId,r==null?void 0:r.hintId,d["aria-describedby"]].filter(Boolean).join(" "));const f=St(e.bar,{elementType:"div"});return{color:o,max:s,shape:i,thickness:l,value:c,components:{root:"div",bar:"div"},root:d,bar:f}},Ax=e=>ee(e.root,{children:e.bar&&ee(e.bar,{})}),f0={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},Lx=.01,zx=rt({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bpep1pd:"fu42dvn"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),Ix=rt({base:{Bpep1pd:"f1neahkh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],Bv12yb3:["fwd2bol","f14gig94"],vin17d:"f1a27w2r",Ezkn3b:"f452v7t",w3vfg9:"f1cpbl36",Gqtpxc:"f4akx1t",B3vm3ge:"f18p5put"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1neahkh{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f4akx1t{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f18p5put{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient( to right, var(--colorNeutralBackground6) 0%, var(--colorTransparentBackground) 50%, var(--colorNeutralBackground6) 100% );}`,`.f1u5hf6c{background-image:linear-gradient( to left, var(--colorNeutralBackground6) 0%, var(--colorTransparentBackground) 50%, var(--colorNeutralBackground6) 100% );}`,".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}"]}),Mx=e=>{const{color:t,max:r,shape:n,thickness:o,value:i}=e,l=zx(),a=Ix();return e.root.className=Se(f0.root,l.root,l[n],l[o],e.root.className),e.bar&&(e.bar.className=Se(f0.bar,a.base,a.brand,i===void 0&&a.indeterminate,i!==void 0&&i>Lx&&a.nonZeroDeterminate,t&&i!==void 0&&a[t],e.bar.className)),e.bar&&i!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,i/r*100))+"%",...e.bar.style}),e},g0=S.exports.forwardRef((e,t)=>{const r=Rx(e,t);return Mx(r),Fr("useProgressBarStyles_unstable")(r),Ax(r)});g0.displayName="ProgressBar";const A3="",jx=({lines:e})=>{let t=!1;return S.exports.createElement("div",{className:"ansi-display"},e.map(r=>(t=t||!!r.outputRuns.length,S.exports.createElement("div",{className:"ansi-display-line"},r.outputRuns.length?r.outputRuns.map(n=>S.exports.createElement(Hx,{key:n.id,outputRun:n})):t?S.exports.createElement("br",null):null))))},Hx=({outputRun:e})=>{let t;(i=>{i[i.Foreground=0]="Foreground",i[i.Background=1]="Background"})(t||(t={}));const r=i=>{let l={};return i&&i.forEach(a=>{switch(a){case X.exports.ANSIStyle.Bold:l={...l,fontWeight:"bold"};break;case X.exports.ANSIStyle.Dim:l={...l,fontWeight:"lighter"};break;case X.exports.ANSIStyle.Italic:l={...l,fontStyle:"italic"};break;case X.exports.ANSIStyle.Underlined:l={...l,textDecorationLine:"underline",textDecorationStyle:"solid"};break;case X.exports.ANSIStyle.SlowBlink:l={...l,animation:"ansi-display-run-blink 1s linear infinite"};break;case X.exports.ANSIStyle.RapidBlink:l={...l,animation:"ansi-display-run-blink 0.5s linear infinite"};break;case X.exports.ANSIStyle.Hidden:l={...l,visibility:"hidden"};break;case X.exports.ANSIStyle.CrossedOut:l={...l,textDecorationLine:"line-through",textDecorationStyle:"solid"};break;case X.exports.ANSIStyle.DoubleUnderlined:l={...l,textDecorationLine:"underline",textDecorationStyle:"double"};break}}),l},n=(i,l)=>{switch(l){case void 0:return{};case X.exports.ANSIColor.Black:case X.exports.ANSIColor.Red:case X.exports.ANSIColor.Green:case X.exports.ANSIColor.Yellow:case X.exports.ANSIColor.Blue:case X.exports.ANSIColor.Magenta:case X.exports.ANSIColor.Cyan:case X.exports.ANSIColor.White:case X.exports.ANSIColor.BrightBlack:case X.exports.ANSIColor.BrightRed:case X.exports.ANSIColor.BrightGreen:case X.exports.ANSIColor.BrightYellow:case X.exports.ANSIColor.BrightBlue:case X.exports.ANSIColor.BrightMagenta:case X.exports.ANSIColor.BrightCyan:case X.exports.ANSIColor.BrightWhite:return i===0?{color:`var(--${l})`}:{background:`var(--${l})`};default:return i===0?{color:l}:{background:l}}},o=i=>i.format?{...r(i.format.styles),...n(0,i.format.foregroundColor),...n(1,i.format.backgroundColor)}:{};return S.exports.createElement("span",{style:o(e)},e.text)},p0=2,Wx=120,h0=50,$x=70;function Ux(e){const t=qx(),r=ii.colorNeutralForeground3,n=S.exports.useRef(null);S.exports.useEffect(()=>{var l;(l=n.current)==null||l.scrollIntoView()},[e.lines,e.error]);const o=S.exports.useMemo(()=>e.rendering?J.createElement(Ec,{style:{color:r},onClick:e.onCancel},"Cancel"):J.createElement(Ec,{appearance:"subtle","aria-label":"close",icon:J.createElement(D_,null),onClick:e.onClose}),[e.rendering]),i=(l,a)=>{a.type==="escapeKeyDown"&&(e.rendering?e.onCancel():e.onClose())};return J.createElement(o0,{modalType:"non-modal",open:e.open,onOpenChange:i},J.createElement(c0,{className:t.surface,style:{borderTop:e.error&&!e.darkMode?`${p0}px solid ${ii.colorPaletteDarkOrangeBorder2}`:"none"}},J.createElement(i0,{style:{gridTemplateRows:e.error?"auto auto auto":`auto ${Wx}px auto`}},J.createElement(s0,{action:o,style:{color:r}},e.error?"Error":"Render"),J.createElement(d0,{className:t.content,style:{maxHeight:e.error?`calc(100vh - ${h0+$x}px)`:"none"}},J.createElement(jx,{lines:e.lines}),J.createElement("div",{ref:n})))))}const qx=qp({surface:{boxShadow:ii.shadow4,...Wp.borderRadius(0),position:"fixed",top:p0+"px",left:0,right:0,marginTop:"1px",marginBottom:"0px",paddingTop:"12px",paddingBottom:"16px",maxWidth:"none",maxHeight:`calc(100% - ${h0}px)`},content:{...Wp.border("1px","solid",ii.colorNeutralStroke1),overflowY:"scroll"}}),Vx=qp({root:{position:"fixed",top:0,left:0,right:0}}),Kx=e=>{const t=Vx();return J.createElement(J.Fragment,null,e.visible?J.createElement(g0,{className:t.root}):null)},Yx=e=>{const[t,r]=S.exports.useState(!1);return S.exports.useEffect(()=>{e.rendering&&r(!1)},[e.rendering]),J.createElement(ac,{theme:e.darkMode?sv:lv},J.createElement(Kx,{visible:e.rendering&&!t}),J.createElement(Ux,{open:e.dialog&&!t,rendering:e.rendering,error:e.error,lines:e.lines,onClose:()=>r(!0),onCancel:()=>{r(!0),e.onCancel()},darkMode:e.darkMode}))};function Xx(e){return t=>{const r={rendering:!1,dialog:!1,error:!1,output:new X.exports.ANSIOutput,lines:new Array},n=document.createElement("div");document.body.appendChild(n);const o=hu(n),i=()=>{o.render(J.createElement(Yx,{rendering:r.rendering,dialog:r.dialog,error:r.error,lines:r.lines,onCancel:t,darkMode:e}))},l=d=>{r.rendering=!0,r.error=!1,r.output=new X.exports.ANSIOutput,r.lines=[];const f=2e3;d===void 0||d>f?r.dialog=!0:setTimeout(()=>{r.rendering&&(r.dialog=!0,i())},f),i()},a=d=>{r.rendering=!1,r.dialog=!d,r.error=!d,i(),d||window.parent.postMessage&&window.parent.postMessage({type:"error"},"*")},s=d=>{d=typeof d=="string"?d:d.msgFormatted,r.output.processOutput(d),r.lines=[...r.output.outputLines],i()},c=document.getElementById("quarto-render-error");return c?(l(),s(c.innerHTML.trim()),a(!1)):i(),d=>{if(d.data.startsWith("render:")){const[f,g,m]=d.data.split(":");return g==="start"?l(parseInt(m)):g==="stop"&&a(m==="true"),!0}else if(d.data.startsWith("log:")){const f=JSON.parse(d.data.substr(4));return s(f),!0}else return!1}}}function Qx(e,t){if(window.self===window.top)return;function r(i){return i.startsWith(e)}function n(i){t.includes("quartoPreviewReqId=")&&window.parent.postMessage&&i.addEventListener("click",function(s){return window.parent.postMessage({type:"openExternal",url:i.href},"*"),s.preventDefault(),!1}),t.includes("capabilities=")&&(i.target="_blank")}const o=document.getElementsByTagName("a");for(let i=0;i<o.length;i++){const l=o[i];l.href&&!r(l.href)&&n(l)}}function Jx(e){const t=document.body.querySelectorAll('a[data-meca-link="true"]');for(let r=0;r<t.length;r++)t[r].addEventListener("click",o=>{const i=globalThis.document.createElement("div"),l=hu(i);return l.render(J.createElement(Zx,{darkMode:e,linkEl:t[r],onClosed:()=>{l.unmount(),i.remove()}})),o.preventDefault(),!1})}const Zx=e=>{const[t,r]=S.exports.useState(!0),n=(o,i)=>r(i.open||!1);return J.createElement(ac,{theme:e.darkMode?sv:lv},J.createElement(Yv,{open:t,withArrow:!0,closeOnScroll:!0,onOpenChange:n,positioning:{target:e.linkEl,overflowBoundaryPadding:30}},J.createElement(Kv,null,J.createElement(Gv,null,J.createElement("strong",null,"Preview Not Available"),J.createElement("p",{style:{marginBottom:0}},"The MECA file is not available during preview.",J.createElement("br",null),"It will be included with the final rendered output.")))))};function Gx(e){function t(s,c){window.addEventListener("message",function(d){d.data.message===s&&c(d.data.data)})}function r(s,c){window.parent.postMessage&&window.parent.postMessage({type:s,message:s,data:c},"*")}function n(s){const c=s.querySelectorAll("h1, h2, h3, h4, h5, h6"),d=Reveal.getIndices(s);return{id:s.id||"",title:c.item(0)&&c.item(0).textContent||"",h:d.h,v:d.v,f:d.f}}function o(s){r("reveal-init",{slides:s})}function i(){r("reveal-slidechange",{first:Reveal.isFirstSlide(),last:Reveal.isLastSlide(),slide:n(Reveal.getCurrentSlide())})}function l(){r("reveal-hashchange",{href:window.location.href})}const a=()=>{Reveal.configure({history:!0});const s=Reveal.getSlides().map(n);o(s),t("reveal-ready",function(){i(),l(),window.addEventListener("hashchange",l)}),/print-pdf/gi.test(window.location.search)&&(e(),setTimeout(function(){window.print()},1e3))};Reveal.isReady()?a():Reveal.on("ready",a),Reveal.on("slidechanged",i),t("reveal-next",function(){Reveal.next()}),t("reveal-prev",function(){Reveal.prev()}),t("reveal-slide",s=>{Reveal.slide(s.h,s.v,s.f)}),t("reveal-refresh",function(){window.location.reload()}),t("reveal-home",function(){Reveal.slide(0,0,0)}),t("reveal-fullscreen",function(){Reveal.triggerKey(70)})}function e3(e){window.parent.postMessage&&(window.addEventListener("message",function(t){t.data.type==="devhost-init"?window.quartoDevhost={openInputFile:function(r,n,o){if(e===null){console.warn("Missing inputFile when atempting to open input file.");return}window.parent.postMessage({type:"openfile",file:e,line:r,column:n,highlight:o},t.origin)}}:t.data.type==="goback"?window.history.back():t.data.type==="goforward"&&window.history.forward()},!0),e===null?console.warn("Missing inputFile when atempting to post message."):window.parent.postMessage({type:"navigate",href:window.location.href,file:e},"*"))}function t3(){window.parent.postMessage&&window.document.addEventListener("keydown",e=>{const t={type:"keydown",data:{altKey:e.altKey,code:e.code,ctrlKey:e.ctrlKey,isComposing:e.isComposing,key:e.key,location:e.location,metaKey:e.metaKey,repeat:e.repeat,shiftKey:e.shiftKey}};window.parent.postMessage(t,"*")}),window.addEventListener("message",function(e){e.data.type==="devhost-exec-command"&&window.document.execCommand(e.data.data)},!0)}const L3="";function r3(e){try{const t=n3(),r=Rr([Xx(t),y0()]);t3(),e.origin&&e.search&&Qx(e.origin,e.search),Jx(t),e.isPresentation?Gx(r):e3(e.inputFile)}catch(t){console.error(t)}}function n3(){return document.body.classList.contains("quarto-dark")?!0:new URLSearchParams(window.location.search).get("quartoPreviewThemeCategory")==="dark"}it.init=r3,Object.defineProperties(it,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});