Path: blob/main/src/webui/quarto-preview/dist/quarto-preview.js
6460 views
(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)}})();1(function(Ke,Me){typeof exports=="object"&&typeof module<"u"?Me(exports):typeof define=="function"&&define.amd?define(["exports"],Me):(Ke=typeof globalThis<"u"?globalThis:Ke||self,Me(Ke.QuartoPreview={}))})(this,function(Ke){"use strict";var Q2=Object.defineProperty;var J2=(Ke,Me,Rr)=>Me in Ke?Q2(Ke,Me,{enumerable:!0,configurable:!0,writable:!0,value:Rr}):Ke[Me]=Rr;var fe=(Ke,Me,Rr)=>(J2(Ke,typeof Me!="symbol"?Me+"":Me,Rr),Rr);function Me(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."),c0(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 c0(e,t){e.onclose=()=>{t()&&(console.log("Socket connection closed. Reloading."),window.location.reload())}}function d0(){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 bc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var S={exports:{}},$={};/**2* @license React3* react.production.min.js4*5* Copyright (c) Facebook, Inc. and its affiliates.6*7* This source code is licensed under the MIT license found in the8* LICENSE file in the root directory of this source tree.9*/var Kn=Symbol.for("react.element"),f0=Symbol.for("react.portal"),g0=Symbol.for("react.fragment"),p0=Symbol.for("react.strict_mode"),h0=Symbol.for("react.profiler"),v0=Symbol.for("react.provider"),m0=Symbol.for("react.context"),y0=Symbol.for("react.forward_ref"),k0=Symbol.for("react.suspense"),b0=Symbol.for("react.memo"),w0=Symbol.for("react.lazy"),wc=Symbol.iterator;function B0(e){return e===null||typeof e!="object"?null:(e=wc&&e[wc]||e["@@iterator"],typeof e=="function"?e:null)}var Bc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_c=Object.assign,Sc={};function rn(e,t,r){this.props=e,this.context=t,this.refs=Sc,this.updater=r||Bc}rn.prototype.isReactComponent={},rn.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")},rn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xc(){}xc.prototype=rn.prototype;function Yl(e,t,r){this.props=e,this.context=t,this.refs=Sc,this.updater=r||Bc}var Xl=Yl.prototype=new xc;Xl.constructor=Yl,_c(Xl,rn.prototype),Xl.isPureReactComponent=!0;var Ec=Array.isArray,Cc=Object.prototype.hasOwnProperty,Ql={current:null},Fc={key:!0,ref:!0,__self:!0,__source:!0};function Nc(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)Cc.call(t,n)&&!Fc.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),u=0;u<a;u++)s[u]=arguments[u+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:Kn,type:e,key:i,ref:l,props:o,_owner:Ql.current}}function _0(e,t){return{$$typeof:Kn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Jl(e){return typeof e=="object"&&e!==null&&e.$$typeof===Kn}function S0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Pc=/\/+/g;function Zl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?S0(""+e.key):t.toString(36)}function Zo(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 Kn:case f0:l=!0}}if(l)return l=e,o=o(l),e=n===""?"."+Zl(l,0):n,Ec(o)?(r="",e!=null&&(r=e.replace(Pc,"$&/")+"/"),Zo(o,t,r,"",function(u){return u})):o!=null&&(Jl(o)&&(o=_0(o,r+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(Pc,"$&/")+"/")+e)),t.push(o)),1;if(l=0,n=n===""?".":n+":",Ec(e))for(var a=0;a<e.length;a++){i=e[a];var s=n+Zl(i,a);l+=Zo(i,t,r,s,o)}else if(s=B0(e),typeof s=="function")for(e=s.call(e),a=0;!(i=e.next()).done;)i=i.value,s=n+Zl(i,a++),l+=Zo(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 Go(e,t,r){if(e==null)return e;var n=[],o=0;return Zo(e,n,"","",function(i){return t.call(r,i,o++)}),n}function x0(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 De={current:null},ei={transition:null},E0={ReactCurrentDispatcher:De,ReactCurrentBatchConfig:ei,ReactCurrentOwner:Ql};function Tc(){throw Error("act(...) is not supported in production builds of React.")}$.Children={map:Go,forEach:function(e,t,r){Go(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Go(e,function(){t++}),t},toArray:function(e){return Go(e,function(t){return t})||[]},only:function(e){if(!Jl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},$.Component=rn,$.Fragment=g0,$.Profiler=h0,$.PureComponent=Yl,$.StrictMode=p0,$.Suspense=k0,$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E0,$.act=Tc,$.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=_c({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=Ql.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(s in t)Cc.call(t,s)&&!Fc.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 u=0;u<s;u++)a[u]=arguments[u+2];n.children=a}return{$$typeof:Kn,type:e.type,key:o,ref:i,props:n,_owner:l}},$.createContext=function(e){return e={$$typeof:m0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:v0,_context:e},e.Consumer=e},$.createElement=Nc,$.createFactory=function(e){var t=Nc.bind(null,e);return t.type=e,t},$.createRef=function(){return{current:null}},$.forwardRef=function(e){return{$$typeof:y0,render:e}},$.isValidElement=Jl,$.lazy=function(e){return{$$typeof:w0,_payload:{_status:-1,_result:e},_init:x0}},$.memo=function(e,t){return{$$typeof:b0,type:e,compare:t===void 0?null:t}},$.startTransition=function(e){var t=ei.transition;ei.transition={};try{e()}finally{ei.transition=t}},$.unstable_act=Tc,$.useCallback=function(e,t){return De.current.useCallback(e,t)},$.useContext=function(e){return De.current.useContext(e)},$.useDebugValue=function(){},$.useDeferredValue=function(e){return De.current.useDeferredValue(e)},$.useEffect=function(e,t){return De.current.useEffect(e,t)},$.useId=function(){return De.current.useId()},$.useImperativeHandle=function(e,t,r){return De.current.useImperativeHandle(e,t,r)},$.useInsertionEffect=function(e,t){return De.current.useInsertionEffect(e,t)},$.useLayoutEffect=function(e,t){return De.current.useLayoutEffect(e,t)},$.useMemo=function(e,t){return De.current.useMemo(e,t)},$.useReducer=function(e,t,r){return De.current.useReducer(e,t,r)},$.useRef=function(e){return De.current.useRef(e)},$.useState=function(e){return De.current.useState(e)},$.useSyncExternalStore=function(e,t,r){return De.current.useSyncExternalStore(e,t,r)},$.useTransition=function(){return De.current.useTransition()},$.version="18.3.1",function(e){e.exports=$}(S);const Z=bc(S.exports),sr=Me({__proto__:null,default:Z},[S.exports]);var Gl={exports:{}},Ye={},Dc={exports:{}},Oc={};/**10* @license React11* scheduler.production.min.js12*13* Copyright (c) Facebook, Inc. and its affiliates.14*15* This source code is licensed under the MIT license found in the16* LICENSE file in the root directory of this source tree.17*/(function(e){function t(x,P){var D=x.length;x.push(P);e:for(;0<D;){var H=D-1>>>1,U=x[H];if(0<o(U,P))x[H]=P,x[D]=U,D=H;else break e}}function r(x){return x.length===0?null:x[0]}function n(x){if(x.length===0)return null;var P=x[0],D=x.pop();if(D!==P){x[0]=D;e:for(var H=0,U=x.length,ir=U>>>1;H<ir;){var ze=2*(H+1)-1,tn=x[ze],Le=ze+1,lr=x[Le];if(0>o(tn,D))Le<U&&0>o(lr,tn)?(x[H]=lr,x[Le]=D,H=Le):(x[H]=tn,x[ze]=D,H=ze);else if(Le<U&&0>o(lr,D))x[H]=lr,x[Le]=D,H=Le;else break e}}return P}function o(x,P){var D=x.sortIndex-P.sortIndex;return D!==0?D:x.id-P.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=[],u=[],c=1,d=null,g=3,v=!1,m=!1,y=!1,_=typeof setTimeout=="function"?setTimeout:null,k=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 b(x){for(var P=r(u);P!==null;){if(P.callback===null)n(u);else if(P.startTime<=x)n(u),P.sortIndex=P.expirationTime,t(s,P);else break;P=r(u)}}function f(x){if(y=!1,b(x),!m)if(r(s)!==null)m=!0,W(p);else{var P=r(u);P!==null&&ne(f,P.startTime-x)}}function p(x,P){m=!1,y&&(y=!1,k(E),E=-1),v=!0;var D=g;try{for(b(P),d=r(s);d!==null&&(!(d.expirationTime>P)||x&&!A());){var H=d.callback;if(typeof H=="function"){d.callback=null,g=d.priorityLevel;var U=H(d.expirationTime<=P);P=e.unstable_now(),typeof U=="function"?d.callback=U:d===r(s)&&n(s),b(P)}else n(s);d=r(s)}if(d!==null)var ir=!0;else{var ze=r(u);ze!==null&&ne(f,ze.startTime-P),ir=!1}return ir}finally{d=null,g=D,v=!1}}var w=!1,B=null,E=-1,O=5,F=-1;function A(){return!(e.unstable_now()-F<O)}function I(){if(B!==null){var x=e.unstable_now();F=x;var P=!0;try{P=B(!0,x)}finally{P?L():(w=!1,B=null)}}else w=!1}var L;if(typeof h=="function")L=function(){h(I)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,M=Y.port2;Y.port1.onmessage=I,L=function(){M.postMessage(null)}}else L=function(){_(I,0)};function W(x){B=x,w||(w=!0,L())}function ne(x,P){E=_(function(){x(e.unstable_now())},P)}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(){m||v||(m=!0,W(p))},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 P=3;break;default:P=g}var D=g;g=P;try{return x()}finally{g=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(x,P){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var D=g;g=x;try{return P()}finally{g=D}},e.unstable_scheduleCallback=function(x,P,D){var H=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?H+D:H):D=H,x){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=D+U,x={id:c++,callback:P,priorityLevel:x,startTime:D,expirationTime:U,sortIndex:-1},D>H?(x.sortIndex=D,t(u,x),r(s)===null&&x===r(u)&&(y?(k(E),E=-1):y=!0,ne(f,D-H))):(x.sortIndex=U,t(s,x),m||v||(m=!0,W(p))),x},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(x){var P=g;return function(){var D=g;g=P;try{return x.apply(this,arguments)}finally{g=D}}}})(Oc),function(e){e.exports=Oc}(Dc);/**18* @license React19* react-dom.production.min.js20*21* Copyright (c) Facebook, Inc. and its affiliates.22*23* This source code is licensed under the MIT license found in the24* LICENSE file in the root directory of this source tree.25*/var C0=S.exports,Xe=Dc.exports;function T(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 Rc=new Set,Yn={};function Ar(e,t){nn(e,t),nn(e+"Capture",t)}function nn(e,t){for(Yn[e]=t,e=0;e<t.length;e++)Rc.add(t[e])}var $t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),es=Object.prototype.hasOwnProperty,F0=/^[: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]*$/,Ac={},Ic={};function N0(e){return es.call(Ic,e)?!0:es.call(Ac,e)?!1:F0.test(e)?Ic[e]=!0:(Ac[e]=!0,!1)}function P0(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 T0(e,t,r,n){if(t===null||typeof t>"u"||P0(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 Oe(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 Be={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Be[e]=new Oe(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Be[t]=new Oe(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Be[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Be[e]=new Oe(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){Be[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Be[e]=new Oe(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Be[e]=new Oe(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Be[e]=new Oe(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Be[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ts=/[\-:]([a-z])/g;function rs(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(ts,rs);Be[t]=new Oe(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(ts,rs);Be[t]=new Oe(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(ts,rs);Be[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Be[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)}),Be.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Be[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function ns(e,t,r,n){var o=Be.hasOwnProperty(t)?Be[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(T0(t,r,o,n)&&(r=null),n||o===null?N0(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 Ut=C0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ti=Symbol.for("react.element"),on=Symbol.for("react.portal"),ln=Symbol.for("react.fragment"),os=Symbol.for("react.strict_mode"),is=Symbol.for("react.profiler"),zc=Symbol.for("react.provider"),Lc=Symbol.for("react.context"),ls=Symbol.for("react.forward_ref"),ss=Symbol.for("react.suspense"),as=Symbol.for("react.suspense_list"),us=Symbol.for("react.memo"),ar=Symbol.for("react.lazy"),Mc=Symbol.for("react.offscreen"),Hc=Symbol.iterator;function Xn(e){return e===null||typeof e!="object"?null:(e=Hc&&e[Hc]||e["@@iterator"],typeof e=="function"?e:null)}var ie=Object.assign,cs;function Qn(e){if(cs===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);cs=t&&t[1]||""}return`26`+cs+e}var ds=!1;function fs(e,t){if(!e||ds)return"";ds=!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(u){var n=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){n=u}e.call(t.prototype)}else{try{throw Error()}catch(u){n=u}e()}}catch(u){if(u&&n&&typeof u.stack=="string"){for(var o=u.stack.split(`27`),i=n.stack.split(`28`),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=`29`+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{ds=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Qn(e):""}function D0(e){switch(e.tag){case 5:return Qn(e.type);case 16:return Qn("Lazy");case 13:return Qn("Suspense");case 19:return Qn("SuspenseList");case 0:case 2:case 15:return e=fs(e.type,!1),e;case 11:return e=fs(e.type.render,!1),e;case 1:return e=fs(e.type,!0),e;default:return""}}function gs(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 ln:return"Fragment";case on:return"Portal";case is:return"Profiler";case os:return"StrictMode";case ss:return"Suspense";case as:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Lc:return(e.displayName||"Context")+".Consumer";case zc:return(e._context.displayName||"Context")+".Provider";case ls:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case us:return t=e.displayName||null,t!==null?t:gs(e.type)||"Memo";case ar:t=e._payload,e=e._init;try{return gs(e(t))}catch{}}return null}function O0(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 gs(t);case 8:return t===os?"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 ur(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 R0(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 ri(e){e._valueTracker||(e._valueTracker=R0(e))}function Wc(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 ni(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 ps(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 $c(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ur(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 Uc(e,t){t=t.checked,t!=null&&ns(e,"checked",t,!1)}function hs(e,t){Uc(e,t);var r=ur(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")?vs(e,t.type,r):t.hasOwnProperty("defaultValue")&&vs(e,t.type,ur(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function qc(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 vs(e,t,r){(t!=="number"||ni(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Jn=Array.isArray;function sn(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=""+ur(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 ms(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return ie({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Vc(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(T(92));if(Jn(r)){if(1<r.length)throw Error(T(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:ur(r)}}function Kc(e,t){var r=ur(t.value),n=ur(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 Yc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Xc(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 ys(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Xc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var oi,Qc=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(oi=oi||document.createElement("div"),oi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=oi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Zn(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Gn={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},A0=["Webkit","ms","Moz","O"];Object.keys(Gn).forEach(function(e){A0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gn[t]=Gn[e]})});function Jc(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Gn.hasOwnProperty(e)&&Gn[e]?(""+t).trim():t+"px"}function Zc(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=Jc(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var I0=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 ks(e,t){if(t){if(I0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function bs(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 ws=null;function Bs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _s=null,an=null,un=null;function Gc(e){if(e=Bo(e)){if(typeof _s!="function")throw Error(T(280));var t=e.stateNode;t&&(t=Ci(t),_s(e.stateNode,e.type,t))}}function ed(e){an?un?un.push(e):un=[e]:an=e}function td(){if(an){var e=an,t=un;if(un=an=null,Gc(e),t)for(e=0;e<t.length;e++)Gc(t[e])}}function rd(e,t){return e(t)}function nd(){}var Ss=!1;function od(e,t,r){if(Ss)return e(t,r);Ss=!0;try{return rd(e,t,r)}finally{Ss=!1,(an!==null||un!==null)&&(nd(),td())}}function eo(e,t){var r=e.stateNode;if(r===null)return null;var n=Ci(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(T(231,t,typeof r));return r}var xs=!1;if($t)try{var to={};Object.defineProperty(to,"passive",{get:function(){xs=!0}}),window.addEventListener("test",to,to),window.removeEventListener("test",to,to)}catch{xs=!1}function z0(e,t,r,n,o,i,l,a,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var ro=!1,ii=null,li=!1,Es=null,L0={onError:function(e){ro=!0,ii=e}};function M0(e,t,r,n,o,i,l,a,s){ro=!1,ii=null,z0.apply(L0,arguments)}function H0(e,t,r,n,o,i,l,a,s){if(M0.apply(this,arguments),ro){if(ro){var u=ii;ro=!1,ii=null}else throw Error(T(198));li||(li=!0,Es=u)}}function Ir(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 id(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 ld(e){if(Ir(e)!==e)throw Error(T(188))}function j0(e){var t=e.alternate;if(!t){if(t=Ir(e),t===null)throw Error(T(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 ld(o),e;if(i===n)return ld(o),t;i=i.sibling}throw Error(T(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(T(189))}}if(r.alternate!==n)throw Error(T(190))}if(r.tag!==3)throw Error(T(188));return r.stateNode.current===r?e:t}function sd(e){return e=j0(e),e!==null?ad(e):null}function ad(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ad(e);if(t!==null)return t;e=e.sibling}return null}var ud=Xe.unstable_scheduleCallback,cd=Xe.unstable_cancelCallback,W0=Xe.unstable_shouldYield,$0=Xe.unstable_requestPaint,de=Xe.unstable_now,U0=Xe.unstable_getCurrentPriorityLevel,Cs=Xe.unstable_ImmediatePriority,dd=Xe.unstable_UserBlockingPriority,si=Xe.unstable_NormalPriority,q0=Xe.unstable_LowPriority,fd=Xe.unstable_IdlePriority,ai=null,Dt=null;function V0(e){if(Dt&&typeof Dt.onCommitFiberRoot=="function")try{Dt.onCommitFiberRoot(ai,e,void 0,(e.current.flags&128)===128)}catch{}}var ht=Math.clz32?Math.clz32:X0,K0=Math.log,Y0=Math.LN2;function X0(e){return e>>>=0,e===0?32:31-(K0(e)/Y0|0)|0}var ui=64,ci=4194304;function no(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 di(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=no(a):(i&=l,i!==0&&(n=no(i)))}else l=r&~o,l!==0?n=no(l):i!==0&&(n=no(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 Q0(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 J0(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]=Q0(a,t)):s<=t&&(e.expiredLanes|=a),i&=~a}}function Fs(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function gd(){var e=ui;return ui<<=1,(ui&4194240)===0&&(ui=64),e}function Ns(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function oo(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 Z0(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 Ps(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 X=0;function pd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var hd,Ts,vd,md,yd,Ds=!1,fi=[],cr=null,dr=null,fr=null,io=new Map,lo=new Map,gr=[],G0="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 kd(e,t){switch(e){case"focusin":case"focusout":cr=null;break;case"dragenter":case"dragleave":dr=null;break;case"mouseover":case"mouseout":fr=null;break;case"pointerover":case"pointerout":io.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":lo.delete(t.pointerId)}}function so(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=Bo(t),t!==null&&Ts(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function em(e,t,r,n,o){switch(t){case"focusin":return cr=so(cr,e,t,r,n,o),!0;case"dragenter":return dr=so(dr,e,t,r,n,o),!0;case"mouseover":return fr=so(fr,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return io.set(i,so(io.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,lo.set(i,so(lo.get(i)||null,e,t,r,n,o)),!0}return!1}function bd(e){var t=zr(e.target);if(t!==null){var r=Ir(t);if(r!==null){if(t=r.tag,t===13){if(t=id(r),t!==null){e.blockedOn=t,yd(e.priority,function(){vd(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 gi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Rs(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);ws=n,r.target.dispatchEvent(n),ws=null}else return t=Bo(r),t!==null&&Ts(t),e.blockedOn=r,!1;t.shift()}return!0}function wd(e,t,r){gi(e)&&r.delete(t)}function tm(){Ds=!1,cr!==null&&gi(cr)&&(cr=null),dr!==null&&gi(dr)&&(dr=null),fr!==null&&gi(fr)&&(fr=null),io.forEach(wd),lo.forEach(wd)}function ao(e,t){e.blockedOn===t&&(e.blockedOn=null,Ds||(Ds=!0,Xe.unstable_scheduleCallback(Xe.unstable_NormalPriority,tm)))}function uo(e){function t(o){return ao(o,e)}if(0<fi.length){ao(fi[0],e);for(var r=1;r<fi.length;r++){var n=fi[r];n.blockedOn===e&&(n.blockedOn=null)}}for(cr!==null&&ao(cr,e),dr!==null&&ao(dr,e),fr!==null&&ao(fr,e),io.forEach(t),lo.forEach(t),r=0;r<gr.length;r++)n=gr[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<gr.length&&(r=gr[0],r.blockedOn===null);)bd(r),r.blockedOn===null&&gr.shift()}var cn=Ut.ReactCurrentBatchConfig,pi=!0;function rm(e,t,r,n){var o=X,i=cn.transition;cn.transition=null;try{X=1,Os(e,t,r,n)}finally{X=o,cn.transition=i}}function nm(e,t,r,n){var o=X,i=cn.transition;cn.transition=null;try{X=4,Os(e,t,r,n)}finally{X=o,cn.transition=i}}function Os(e,t,r,n){if(pi){var o=Rs(e,t,r,n);if(o===null)Js(e,t,n,hi,r),kd(e,n);else if(em(o,e,t,r,n))n.stopPropagation();else if(kd(e,n),t&4&&-1<G0.indexOf(e)){for(;o!==null;){var i=Bo(o);if(i!==null&&hd(i),i=Rs(e,t,r,n),i===null&&Js(e,t,n,hi,r),i===o)break;o=i}o!==null&&n.stopPropagation()}else Js(e,t,n,null,r)}}var hi=null;function Rs(e,t,r,n){if(hi=null,e=Bs(n),e=zr(e),e!==null)if(t=Ir(e),t===null)e=null;else if(r=t.tag,r===13){if(e=id(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 hi=e,null}function Bd(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(U0()){case Cs:return 1;case dd:return 4;case si:case q0:return 16;case fd:return 536870912;default:return 16}default:return 16}}var pr=null,As=null,vi=null;function _d(){if(vi)return vi;var e,t=As,r=t.length,n,o="value"in pr?pr.value:pr.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 vi=o.slice(e,1<n?1-n:void 0)}function mi(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 yi(){return!0}function Sd(){return!1}function Qe(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)?yi:Sd,this.isPropagationStopped=Sd,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=yi)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=yi)},persist:function(){},isPersistent:yi}),t}var dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Is=Qe(dn),co=ie({},dn,{view:0,detail:0}),om=Qe(co),zs,Ls,fo,ki=ie({},co,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hs,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!==fo&&(fo&&e.type==="mousemove"?(zs=e.screenX-fo.screenX,Ls=e.screenY-fo.screenY):Ls=zs=0,fo=e),zs)},movementY:function(e){return"movementY"in e?e.movementY:Ls}}),xd=Qe(ki),im=ie({},ki,{dataTransfer:0}),lm=Qe(im),sm=ie({},co,{relatedTarget:0}),Ms=Qe(sm),am=ie({},dn,{animationName:0,elapsedTime:0,pseudoElement:0}),um=Qe(am),cm=ie({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dm=Qe(cm),fm=ie({},dn,{data:0}),Ed=Qe(fm),gm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pm={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"},hm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=hm[e])?!!t[e]:!1}function Hs(){return vm}var mm=ie({},co,{key:function(e){if(e.key){var t=gm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=mi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?pm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hs,charCode:function(e){return e.type==="keypress"?mi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?mi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ym=Qe(mm),km=ie({},ki,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cd=Qe(km),bm=ie({},co,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hs}),wm=Qe(bm),Bm=ie({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0}),_m=Qe(Bm),Sm=ie({},ki,{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}),xm=Qe(Sm),Em=[9,13,27,32],js=$t&&"CompositionEvent"in window,go=null;$t&&"documentMode"in document&&(go=document.documentMode);var Cm=$t&&"TextEvent"in window&&!go,Fd=$t&&(!js||go&&8<go&&11>=go),Nd=String.fromCharCode(32),Pd=!1;function Td(e,t){switch(e){case"keyup":return Em.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fn=!1;function Fm(e,t){switch(e){case"compositionend":return Dd(t);case"keypress":return t.which!==32?null:(Pd=!0,Nd);case"textInput":return e=t.data,e===Nd&&Pd?null:e;default:return null}}function Nm(e,t){if(fn)return e==="compositionend"||!js&&Td(e,t)?(e=_d(),vi=As=pr=null,fn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fd&&t.locale!=="ko"?null:t.data;default:return null}}var Pm={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 Od(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Pm[e.type]:t==="textarea"}function Rd(e,t,r,n){ed(n),t=Si(t,"onChange"),0<t.length&&(r=new Is("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var po=null,ho=null;function Tm(e){Zd(e,0)}function bi(e){var t=mn(e);if(Wc(t))return e}function Dm(e,t){if(e==="change")return t}var Ad=!1;if($t){var Ws;if($t){var $s="oninput"in document;if(!$s){var Id=document.createElement("div");Id.setAttribute("oninput","return;"),$s=typeof Id.oninput=="function"}Ws=$s}else Ws=!1;Ad=Ws&&(!document.documentMode||9<document.documentMode)}function zd(){po&&(po.detachEvent("onpropertychange",Ld),ho=po=null)}function Ld(e){if(e.propertyName==="value"&&bi(ho)){var t=[];Rd(t,ho,e,Bs(e)),od(Tm,t)}}function Om(e,t,r){e==="focusin"?(zd(),po=t,ho=r,po.attachEvent("onpropertychange",Ld)):e==="focusout"&&zd()}function Rm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return bi(ho)}function Am(e,t){if(e==="click")return bi(t)}function Im(e,t){if(e==="input"||e==="change")return bi(t)}function zm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vt=typeof Object.is=="function"?Object.is:zm;function vo(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(!es.call(t,o)||!vt(e[o],t[o]))return!1}return!0}function Md(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Hd(e,t){var r=Md(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=Md(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 Wd(){for(var e=window,t=ni();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ni(e.document)}return t}function Us(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 Lm(e){var t=Wd(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&jd(r.ownerDocument.documentElement,r)){if(n!==null&&Us(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=Hd(r,i);var l=Hd(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 Mm=$t&&"documentMode"in document&&11>=document.documentMode,gn=null,qs=null,mo=null,Vs=!1;function $d(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Vs||gn==null||gn!==ni(n)||(n=gn,"selectionStart"in n&&Us(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}),mo&&vo(mo,n)||(mo=n,n=Si(qs,"onSelect"),0<n.length&&(t=new Is("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=gn)))}function wi(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var pn={animationend:wi("Animation","AnimationEnd"),animationiteration:wi("Animation","AnimationIteration"),animationstart:wi("Animation","AnimationStart"),transitionend:wi("Transition","TransitionEnd")},Ks={},Ud={};$t&&(Ud=document.createElement("div").style,"AnimationEvent"in window||(delete pn.animationend.animation,delete pn.animationiteration.animation,delete pn.animationstart.animation),"TransitionEvent"in window||delete pn.transitionend.transition);function Bi(e){if(Ks[e])return Ks[e];if(!pn[e])return e;var t=pn[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Ud)return Ks[e]=t[r];return e}var qd=Bi("animationend"),Vd=Bi("animationiteration"),Kd=Bi("animationstart"),Yd=Bi("transitionend"),Xd=new Map,Qd="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 hr(e,t){Xd.set(e,t),Ar(t,[e])}for(var Ys=0;Ys<Qd.length;Ys++){var Xs=Qd[Ys],Hm=Xs.toLowerCase(),jm=Xs[0].toUpperCase()+Xs.slice(1);hr(Hm,"on"+jm)}hr(qd,"onAnimationEnd"),hr(Vd,"onAnimationIteration"),hr(Kd,"onAnimationStart"),hr("dblclick","onDoubleClick"),hr("focusin","onFocus"),hr("focusout","onBlur"),hr(Yd,"onTransitionEnd"),nn("onMouseEnter",["mouseout","mouseover"]),nn("onMouseLeave",["mouseout","mouseover"]),nn("onPointerEnter",["pointerout","pointerover"]),nn("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 yo="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(" "),Wm=new Set("cancel close invalid load scroll toggle".split(" ").concat(yo));function Jd(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,H0(n,t,void 0,e),e.currentTarget=null}function Zd(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,u=a.currentTarget;if(a=a.listener,s!==i&&o.isPropagationStopped())break e;Jd(o,a,u),i=s}else for(l=0;l<n.length;l++){if(a=n[l],s=a.instance,u=a.currentTarget,a=a.listener,s!==i&&o.isPropagationStopped())break e;Jd(o,a,u),i=s}}}if(li)throw e=Es,li=!1,Es=null,e}function te(e,t){var r=t[na];r===void 0&&(r=t[na]=new Set);var n=e+"__bubble";r.has(n)||(Gd(t,e,2,!1),r.add(n))}function Qs(e,t,r){var n=0;t&&(n|=4),Gd(r,e,n,t)}var _i="_reactListening"+Math.random().toString(36).slice(2);function ko(e){if(!e[_i]){e[_i]=!0,Rc.forEach(function(r){r!=="selectionchange"&&(Wm.has(r)||Qs(r,!1,e),Qs(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_i]||(t[_i]=!0,Qs("selectionchange",!1,t))}}function Gd(e,t,r,n){switch(Bd(t)){case 1:var o=rm;break;case 4:o=nm;break;default:o=Os}r=o.bind(null,t,r,e),o=void 0,!xs||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 Js(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}od(function(){var u=i,c=Bs(r),d=[];e:{var g=Xd.get(e);if(g!==void 0){var v=Is,m=e;switch(e){case"keypress":if(mi(r)===0)break e;case"keydown":case"keyup":v=ym;break;case"focusin":m="focus",v=Ms;break;case"focusout":m="blur",v=Ms;break;case"beforeblur":case"afterblur":v=Ms;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":v=xd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=lm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=wm;break;case qd:case Vd:case Kd:v=um;break;case Yd:v=_m;break;case"scroll":v=om;break;case"wheel":v=xm;break;case"copy":case"cut":case"paste":v=dm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=Cd}var y=(t&4)!==0,_=!y&&e==="scroll",k=y?g!==null?g+"Capture":null:g;y=[];for(var h=u,b;h!==null;){b=h;var f=b.stateNode;if(b.tag===5&&f!==null&&(b=f,k!==null&&(f=eo(h,k),f!=null&&y.push(bo(h,f,b)))),_)break;h=h.return}0<y.length&&(g=new v(g,m,null,r,c),d.push({event:g,listeners:y}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",g&&r!==ws&&(m=r.relatedTarget||r.fromElement)&&(zr(m)||m[qt]))break e;if((v||g)&&(g=c.window===c?c:(g=c.ownerDocument)?g.defaultView||g.parentWindow:window,v?(m=r.relatedTarget||r.toElement,v=u,m=m?zr(m):null,m!==null&&(_=Ir(m),m!==_||m.tag!==5&&m.tag!==6)&&(m=null)):(v=null,m=u),v!==m)){if(y=xd,f="onMouseLeave",k="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(y=Cd,f="onPointerLeave",k="onPointerEnter",h="pointer"),_=v==null?g:mn(v),b=m==null?g:mn(m),g=new y(f,h+"leave",v,r,c),g.target=_,g.relatedTarget=b,f=null,zr(c)===u&&(y=new y(k,h+"enter",m,r,c),y.target=b,y.relatedTarget=_,f=y),_=f,v&&m)t:{for(y=v,k=m,h=0,b=y;b;b=hn(b))h++;for(b=0,f=k;f;f=hn(f))b++;for(;0<h-b;)y=hn(y),h--;for(;0<b-h;)k=hn(k),b--;for(;h--;){if(y===k||k!==null&&y===k.alternate)break t;y=hn(y),k=hn(k)}y=null}else y=null;v!==null&&ef(d,g,v,y,!1),m!==null&&_!==null&&ef(d,_,m,y,!0)}}e:{if(g=u?mn(u):window,v=g.nodeName&&g.nodeName.toLowerCase(),v==="select"||v==="input"&&g.type==="file")var p=Dm;else if(Od(g))if(Ad)p=Im;else{p=Rm;var w=Om}else(v=g.nodeName)&&v.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(p=Am);if(p&&(p=p(e,u))){Rd(d,p,r,c);break e}w&&w(e,g,u),e==="focusout"&&(w=g._wrapperState)&&w.controlled&&g.type==="number"&&vs(g,"number",g.value)}switch(w=u?mn(u):window,e){case"focusin":(Od(w)||w.contentEditable==="true")&&(gn=w,qs=u,mo=null);break;case"focusout":mo=qs=gn=null;break;case"mousedown":Vs=!0;break;case"contextmenu":case"mouseup":case"dragend":Vs=!1,$d(d,r,c);break;case"selectionchange":if(Mm)break;case"keydown":case"keyup":$d(d,r,c)}var B;if(js)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else fn?Td(e,r)&&(E="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(E="onCompositionStart");E&&(Fd&&r.locale!=="ko"&&(fn||E!=="onCompositionStart"?E==="onCompositionEnd"&&fn&&(B=_d()):(pr=c,As="value"in pr?pr.value:pr.textContent,fn=!0)),w=Si(u,E),0<w.length&&(E=new Ed(E,e,null,r,c),d.push({event:E,listeners:w}),B?E.data=B:(B=Dd(r),B!==null&&(E.data=B)))),(B=Cm?Fm(e,r):Nm(e,r))&&(u=Si(u,"onBeforeInput"),0<u.length&&(c=new Ed("onBeforeInput","beforeinput",null,r,c),d.push({event:c,listeners:u}),c.data=B))}Zd(d,t)})}function bo(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Si(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=eo(e,r),i!=null&&n.unshift(bo(e,i,o)),i=eo(e,t),i!=null&&n.push(bo(e,i,o))),e=e.return}return n}function hn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ef(e,t,r,n,o){for(var i=t._reactName,l=[];r!==null&&r!==n;){var a=r,s=a.alternate,u=a.stateNode;if(s!==null&&s===n)break;a.tag===5&&u!==null&&(a=u,o?(s=eo(r,i),s!=null&&l.unshift(bo(r,s,a))):o||(s=eo(r,i),s!=null&&l.push(bo(r,s,a)))),r=r.return}l.length!==0&&e.push({event:t,listeners:l})}var $m=/\r\n?/g,Um=/\u0000|\uFFFD/g;function tf(e){return(typeof e=="string"?e:""+e).replace($m,`30`).replace(Um,"")}function xi(e,t,r){if(t=tf(t),tf(e)!==t&&r)throw Error(T(425))}function Ei(){}var Zs=null,Gs=null;function ea(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 ta=typeof setTimeout=="function"?setTimeout:void 0,qm=typeof clearTimeout=="function"?clearTimeout:void 0,rf=typeof Promise=="function"?Promise:void 0,Vm=typeof queueMicrotask=="function"?queueMicrotask:typeof rf<"u"?function(e){return rf.resolve(null).then(e).catch(Km)}:ta;function Km(e){setTimeout(function(){throw e})}function ra(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),uo(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);uo(t)}function vr(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 nf(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 vn=Math.random().toString(36).slice(2),Ot="__reactFiber$"+vn,wo="__reactProps$"+vn,qt="__reactContainer$"+vn,na="__reactEvents$"+vn,Ym="__reactListeners$"+vn,Xm="__reactHandles$"+vn;function zr(e){var t=e[Ot];if(t)return t;for(var r=e.parentNode;r;){if(t=r[qt]||r[Ot]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=nf(e);e!==null;){if(r=e[Ot])return r;e=nf(e)}return t}e=r,r=e.parentNode}return null}function Bo(e){return e=e[Ot]||e[qt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function Ci(e){return e[wo]||null}var oa=[],yn=-1;function mr(e){return{current:e}}function re(e){0>yn||(e.current=oa[yn],oa[yn]=null,yn--)}function G(e,t){yn++,oa[yn]=e.current,e.current=t}var yr={},Ee=mr(yr),He=mr(!1),Lr=yr;function kn(e,t){var r=e.type.contextTypes;if(!r)return yr;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 je(e){return e=e.childContextTypes,e!=null}function Fi(){re(He),re(Ee)}function of(e,t,r){if(Ee.current!==yr)throw Error(T(168));G(Ee,t),G(He,r)}function lf(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(T(108,O0(e)||"Unknown",o));return ie({},r,n)}function Ni(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yr,Lr=Ee.current,G(Ee,e),G(He,He.current),!0}function sf(e,t,r){var n=e.stateNode;if(!n)throw Error(T(169));r?(e=lf(e,t,Lr),n.__reactInternalMemoizedMergedChildContext=e,re(He),re(Ee),G(Ee,e)):re(He),G(He,r)}var Vt=null,Pi=!1,ia=!1;function af(e){Vt===null?Vt=[e]:Vt.push(e)}function Qm(e){Pi=!0,af(e)}function kr(){if(!ia&&Vt!==null){ia=!0;var e=0,t=X;try{var r=Vt;for(X=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Vt=null,Pi=!1}catch(o){throw Vt!==null&&(Vt=Vt.slice(e+1)),ud(Cs,kr),o}finally{X=t,ia=!1}}return null}var bn=[],wn=0,Ti=null,Di=0,ot=[],it=0,Mr=null,Kt=1,Yt="";function Hr(e,t){bn[wn++]=Di,bn[wn++]=Ti,Ti=e,Di=t}function uf(e,t,r){ot[it++]=Kt,ot[it++]=Yt,ot[it++]=Mr,Mr=e;var n=Kt;e=Yt;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,Kt=1<<32-ht(t)+o|r<<o|n,Yt=i+e}else Kt=1<<i|r<<o|n,Yt=e}function la(e){e.return!==null&&(Hr(e,1),uf(e,1,0))}function sa(e){for(;e===Ti;)Ti=bn[--wn],bn[wn]=null,Di=bn[--wn],bn[wn]=null;for(;e===Mr;)Mr=ot[--it],ot[it]=null,Yt=ot[--it],ot[it]=null,Kt=ot[--it],ot[it]=null}var Je=null,Ze=null,oe=!1,mt=null;function cf(e,t){var r=ut(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 df(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,Je=e,Ze=vr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Je=e,Ze=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Mr!==null?{id:Kt,overflow:Yt}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=ut(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Je=e,Ze=null,!0):!1;default:return!1}}function aa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ua(e){if(oe){var t=Ze;if(t){var r=t;if(!df(e,t)){if(aa(e))throw Error(T(418));t=vr(r.nextSibling);var n=Je;t&&df(e,t)?cf(n,r):(e.flags=e.flags&-4097|2,oe=!1,Je=e)}}else{if(aa(e))throw Error(T(418));e.flags=e.flags&-4097|2,oe=!1,Je=e}}}function ff(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Je=e}function Oi(e){if(e!==Je)return!1;if(!oe)return ff(e),oe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ea(e.type,e.memoizedProps)),t&&(t=Ze)){if(aa(e))throw gf(),Error(T(418));for(;t;)cf(e,t),t=vr(t.nextSibling)}if(ff(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Ze=vr(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Ze=null}}else Ze=Je?vr(e.stateNode.nextSibling):null;return!0}function gf(){for(var e=Ze;e;)e=vr(e.nextSibling)}function Bn(){Ze=Je=null,oe=!1}function ca(e){mt===null?mt=[e]:mt.push(e)}var Jm=Ut.ReactCurrentBatchConfig;function _o(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(T(309));var n=r.stateNode}if(!n)throw Error(T(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(T(284));if(!r._owner)throw Error(T(290,e))}return e}function Ri(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function pf(e){var t=e._init;return t(e._payload)}function hf(e){function t(k,h){if(e){var b=k.deletions;b===null?(k.deletions=[h],k.flags|=16):b.push(h)}}function r(k,h){if(!e)return null;for(;h!==null;)t(k,h),h=h.sibling;return null}function n(k,h){for(k=new Map;h!==null;)h.key!==null?k.set(h.key,h):k.set(h.index,h),h=h.sibling;return k}function o(k,h){return k=Cr(k,h),k.index=0,k.sibling=null,k}function i(k,h,b){return k.index=b,e?(b=k.alternate,b!==null?(b=b.index,b<h?(k.flags|=2,h):b):(k.flags|=2,h)):(k.flags|=1048576,h)}function l(k){return e&&k.alternate===null&&(k.flags|=2),k}function a(k,h,b,f){return h===null||h.tag!==6?(h=tu(b,k.mode,f),h.return=k,h):(h=o(h,b),h.return=k,h)}function s(k,h,b,f){var p=b.type;return p===ln?c(k,h,b.props.children,f,b.key):h!==null&&(h.elementType===p||typeof p=="object"&&p!==null&&p.$$typeof===ar&&pf(p)===h.type)?(f=o(h,b.props),f.ref=_o(k,h,b),f.return=k,f):(f=ol(b.type,b.key,b.props,null,k.mode,f),f.ref=_o(k,h,b),f.return=k,f)}function u(k,h,b,f){return h===null||h.tag!==4||h.stateNode.containerInfo!==b.containerInfo||h.stateNode.implementation!==b.implementation?(h=ru(b,k.mode,f),h.return=k,h):(h=o(h,b.children||[]),h.return=k,h)}function c(k,h,b,f,p){return h===null||h.tag!==7?(h=Yr(b,k.mode,f,p),h.return=k,h):(h=o(h,b),h.return=k,h)}function d(k,h,b){if(typeof h=="string"&&h!==""||typeof h=="number")return h=tu(""+h,k.mode,b),h.return=k,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case ti:return b=ol(h.type,h.key,h.props,null,k.mode,b),b.ref=_o(k,null,h),b.return=k,b;case on:return h=ru(h,k.mode,b),h.return=k,h;case ar:var f=h._init;return d(k,f(h._payload),b)}if(Jn(h)||Xn(h))return h=Yr(h,k.mode,b,null),h.return=k,h;Ri(k,h)}return null}function g(k,h,b,f){var p=h!==null?h.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return p!==null?null:a(k,h,""+b,f);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case ti:return b.key===p?s(k,h,b,f):null;case on:return b.key===p?u(k,h,b,f):null;case ar:return p=b._init,g(k,h,p(b._payload),f)}if(Jn(b)||Xn(b))return p!==null?null:c(k,h,b,f,null);Ri(k,b)}return null}function v(k,h,b,f,p){if(typeof f=="string"&&f!==""||typeof f=="number")return k=k.get(b)||null,a(h,k,""+f,p);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case ti:return k=k.get(f.key===null?b:f.key)||null,s(h,k,f,p);case on:return k=k.get(f.key===null?b:f.key)||null,u(h,k,f,p);case ar:var w=f._init;return v(k,h,b,w(f._payload),p)}if(Jn(f)||Xn(f))return k=k.get(b)||null,c(h,k,f,p,null);Ri(h,f)}return null}function m(k,h,b,f){for(var p=null,w=null,B=h,E=h=0,O=null;B!==null&&E<b.length;E++){B.index>E?(O=B,B=null):O=B.sibling;var F=g(k,B,b[E],f);if(F===null){B===null&&(B=O);break}e&&B&&F.alternate===null&&t(k,B),h=i(F,h,E),w===null?p=F:w.sibling=F,w=F,B=O}if(E===b.length)return r(k,B),oe&&Hr(k,E),p;if(B===null){for(;E<b.length;E++)B=d(k,b[E],f),B!==null&&(h=i(B,h,E),w===null?p=B:w.sibling=B,w=B);return oe&&Hr(k,E),p}for(B=n(k,B);E<b.length;E++)O=v(B,k,E,b[E],f),O!==null&&(e&&O.alternate!==null&&B.delete(O.key===null?E:O.key),h=i(O,h,E),w===null?p=O:w.sibling=O,w=O);return e&&B.forEach(function(A){return t(k,A)}),oe&&Hr(k,E),p}function y(k,h,b,f){var p=Xn(b);if(typeof p!="function")throw Error(T(150));if(b=p.call(b),b==null)throw Error(T(151));for(var w=p=null,B=h,E=h=0,O=null,F=b.next();B!==null&&!F.done;E++,F=b.next()){B.index>E?(O=B,B=null):O=B.sibling;var A=g(k,B,F.value,f);if(A===null){B===null&&(B=O);break}e&&B&&A.alternate===null&&t(k,B),h=i(A,h,E),w===null?p=A:w.sibling=A,w=A,B=O}if(F.done)return r(k,B),oe&&Hr(k,E),p;if(B===null){for(;!F.done;E++,F=b.next())F=d(k,F.value,f),F!==null&&(h=i(F,h,E),w===null?p=F:w.sibling=F,w=F);return oe&&Hr(k,E),p}for(B=n(k,B);!F.done;E++,F=b.next())F=v(B,k,E,F.value,f),F!==null&&(e&&F.alternate!==null&&B.delete(F.key===null?E:F.key),h=i(F,h,E),w===null?p=F:w.sibling=F,w=F);return e&&B.forEach(function(I){return t(k,I)}),oe&&Hr(k,E),p}function _(k,h,b,f){if(typeof b=="object"&&b!==null&&b.type===ln&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case ti:e:{for(var p=b.key,w=h;w!==null;){if(w.key===p){if(p=b.type,p===ln){if(w.tag===7){r(k,w.sibling),h=o(w,b.props.children),h.return=k,k=h;break e}}else if(w.elementType===p||typeof p=="object"&&p!==null&&p.$$typeof===ar&&pf(p)===w.type){r(k,w.sibling),h=o(w,b.props),h.ref=_o(k,w,b),h.return=k,k=h;break e}r(k,w);break}else t(k,w);w=w.sibling}b.type===ln?(h=Yr(b.props.children,k.mode,f,b.key),h.return=k,k=h):(f=ol(b.type,b.key,b.props,null,k.mode,f),f.ref=_o(k,h,b),f.return=k,k=f)}return l(k);case on:e:{for(w=b.key;h!==null;){if(h.key===w)if(h.tag===4&&h.stateNode.containerInfo===b.containerInfo&&h.stateNode.implementation===b.implementation){r(k,h.sibling),h=o(h,b.children||[]),h.return=k,k=h;break e}else{r(k,h);break}else t(k,h);h=h.sibling}h=ru(b,k.mode,f),h.return=k,k=h}return l(k);case ar:return w=b._init,_(k,h,w(b._payload),f)}if(Jn(b))return m(k,h,b,f);if(Xn(b))return y(k,h,b,f);Ri(k,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,h!==null&&h.tag===6?(r(k,h.sibling),h=o(h,b),h.return=k,k=h):(r(k,h),h=tu(b,k.mode,f),h.return=k,k=h),l(k)):r(k,h)}return _}var _n=hf(!0),vf=hf(!1),Ai=mr(null),Ii=null,Sn=null,da=null;function fa(){da=Sn=Ii=null}function ga(e){var t=Ai.current;re(Ai),e._currentValue=t}function pa(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 xn(e,t){Ii=e,da=Sn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(We=!0),e.firstContext=null)}function lt(e){var t=e._currentValue;if(da!==e)if(e={context:e,memoizedValue:t,next:null},Sn===null){if(Ii===null)throw Error(T(308));Sn=e,Ii.dependencies={lanes:0,firstContext:e}}else Sn=Sn.next=e;return t}var jr=null;function ha(e){jr===null?jr=[e]:jr.push(e)}function mf(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,ha(t)):(r.next=o.next,o.next=r),t.interleaved=r,Xt(e,n)}function Xt(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 br=!1;function va(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function yf(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 Qt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wr(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(q&2)!==0){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,Xt(e,r)}return o=n.interleaved,o===null?(t.next=t,ha(n)):(t.next=o.next,o.next=t),n.interleaved=t,Xt(e,r)}function zi(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,Ps(e,r)}}function kf(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 Li(e,t,r,n){var o=e.updateQueue;br=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var s=a,u=s.next;s.next=null,l===null?i=u:l.next=u,l=s;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==l&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=s))}if(i!==null){var d=o.baseState;l=0,c=u=s=null,a=i;do{var g=a.lane,v=a.eventTime;if((n&g)===g){c!==null&&(c=c.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var m=e,y=a;switch(g=t,v=r,y.tag){case 1:if(m=y.payload,typeof m=="function"){d=m.call(v,d,g);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=y.payload,g=typeof m=="function"?m.call(v,d,g):m,g==null)break e;d=ie({},d,g);break e;case 2:br=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,g=o.effects,g===null?o.effects=[a]:g.push(a))}else v={eventTime:v,lane:g,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=v,s=d):c=c.next=v,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(c===null&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,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=d}}function bf(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(T(191,o));o.call(n)}}}var So={},Rt=mr(So),xo=mr(So),Eo=mr(So);function Wr(e){if(e===So)throw Error(T(174));return e}function ma(e,t){switch(G(Eo,t),G(xo,e),G(Rt,So),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ys(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ys(t,e)}re(Rt),G(Rt,t)}function En(){re(Rt),re(xo),re(Eo)}function wf(e){Wr(Eo.current);var t=Wr(Rt.current),r=ys(t,e.type);t!==r&&(G(xo,e),G(Rt,r))}function ya(e){xo.current===e&&(re(Rt),re(xo))}var le=mr(0);function Mi(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 ka=[];function ba(){for(var e=0;e<ka.length;e++)ka[e]._workInProgressVersionPrimary=null;ka.length=0}var Hi=Ut.ReactCurrentDispatcher,wa=Ut.ReactCurrentBatchConfig,$r=0,se=null,ve=null,be=null,ji=!1,Co=!1,Fo=0,Zm=0;function Ce(){throw Error(T(321))}function Ba(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 _a(e,t,r,n,o,i){if($r=i,se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Hi.current=e===null||e.memoizedState===null?r1:n1,e=r(n,o),Co){i=0;do{if(Co=!1,Fo=0,25<=i)throw Error(T(301));i+=1,be=ve=null,t.updateQueue=null,Hi.current=o1,e=r(n,o)}while(Co)}if(Hi.current=Ui,t=ve!==null&&ve.next!==null,$r=0,be=ve=se=null,ji=!1,t)throw Error(T(300));return e}function Sa(){var e=Fo!==0;return Fo=0,e}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return be===null?se.memoizedState=be=e:be=be.next=e,be}function st(){if(ve===null){var e=se.alternate;e=e!==null?e.memoizedState:null}else e=ve.next;var t=be===null?se.memoizedState:be.next;if(t!==null)be=t,ve=e;else{if(e===null)throw Error(T(310));ve=e,e={memoizedState:ve.memoizedState,baseState:ve.baseState,baseQueue:ve.baseQueue,queue:ve.queue,next:null},be===null?se.memoizedState=be=e:be=be.next=e}return be}function No(e,t){return typeof t=="function"?t(e):t}function xa(e){var t=st(),r=t.queue;if(r===null)throw Error(T(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,u=i;do{var c=u.lane;if(($r&c)===c)s!==null&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};s===null?(a=s=d,l=n):s=s.next=d,se.lanes|=c,Ur|=c}u=u.next}while(u!==null&&u!==i);s===null?l=n:s.next=a,vt(n,t.memoizedState)||(We=!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 Ea(e){var t=st(),r=t.queue;if(r===null)throw Error(T(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)||(We=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function Bf(){}function _f(e,t){var r=se,n=st(),o=t(),i=!vt(n.memoizedState,o);if(i&&(n.memoizedState=o,We=!0),n=n.queue,Ca(Ef.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||be!==null&&be.memoizedState.tag&1){if(r.flags|=2048,Po(9,xf.bind(null,r,n,o,t),void 0,null),we===null)throw Error(T(349));($r&30)!==0||Sf(r,t,o)}return o}function Sf(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 xf(e,t,r,n){t.value=r,t.getSnapshot=n,Cf(t)&&Ff(e)}function Ef(e,t,r){return r(function(){Cf(t)&&Ff(e)})}function Cf(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!vt(e,r)}catch{return!0}}function Ff(e){var t=Xt(e,1);t!==null&&wt(t,e,1,-1)}function Nf(e){var t=At();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:e},t.queue=e,e=e.dispatch=t1.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 Pf(){return st().memoizedState}function Wi(e,t,r,n){var o=At();se.flags|=e,o.memoizedState=Po(1|t,r,void 0,n===void 0?null:n)}function $i(e,t,r,n){var o=st();n=n===void 0?null:n;var i=void 0;if(ve!==null){var l=ve.memoizedState;if(i=l.destroy,n!==null&&Ba(n,l.deps)){o.memoizedState=Po(t,r,i,n);return}}se.flags|=e,o.memoizedState=Po(1|t,r,i,n)}function Tf(e,t){return Wi(8390656,8,e,t)}function Ca(e,t){return $i(2048,8,e,t)}function Df(e,t){return $i(4,2,e,t)}function Of(e,t){return $i(4,4,e,t)}function Rf(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 Af(e,t,r){return r=r!=null?r.concat([e]):null,$i(4,4,Rf.bind(null,t,e),r)}function Fa(){}function If(e,t){var r=st();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Ba(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function zf(e,t){var r=st();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Ba(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Lf(e,t,r){return($r&21)===0?(e.baseState&&(e.baseState=!1,We=!0),e.memoizedState=r):(vt(r,t)||(r=gd(),se.lanes|=r,Ur|=r,e.baseState=!0),t)}function Gm(e,t){var r=X;X=r!==0&&4>r?r:4,e(!0);var n=wa.transition;wa.transition={};try{e(!1),t()}finally{X=r,wa.transition=n}}function Mf(){return st().memoizedState}function e1(e,t,r){var n=xr(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Hf(e))jf(t,r);else if(r=mf(e,t,r,n),r!==null){var o=Ae();wt(r,e,n,o),Wf(r,t,n)}}function t1(e,t,r){var n=xr(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Hf(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,ha(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}r=mf(e,t,o,n),r!==null&&(o=Ae(),wt(r,e,n,o),Wf(r,t,n))}}function Hf(e){var t=e.alternate;return e===se||t!==null&&t===se}function jf(e,t){Co=ji=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Wf(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Ps(e,r)}}var Ui={readContext:lt,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},r1={readContext:lt,useCallback:function(e,t){return At().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Tf,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Wi(4194308,4,Rf.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Wi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wi(4,2,e,t)},useMemo:function(e,t){var r=At();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=At();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=e1.bind(null,se,e),[n.memoizedState,e]},useRef:function(e){var t=At();return e={current:e},t.memoizedState=e},useState:Nf,useDebugValue:Fa,useDeferredValue:function(e){return At().memoizedState=e},useTransition:function(){var e=Nf(!1),t=e[0];return e=Gm.bind(null,e[1]),At().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=se,o=At();if(oe){if(r===void 0)throw Error(T(407));r=r()}else{if(r=t(),we===null)throw Error(T(349));($r&30)!==0||Sf(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,Tf(Ef.bind(null,n,i,e),[e]),n.flags|=2048,Po(9,xf.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=At(),t=we.identifierPrefix;if(oe){var r=Yt,n=Kt;r=(n&~(1<<32-ht(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Fo++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=Zm++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},n1={readContext:lt,useCallback:If,useContext:lt,useEffect:Ca,useImperativeHandle:Af,useInsertionEffect:Df,useLayoutEffect:Of,useMemo:zf,useReducer:xa,useRef:Pf,useState:function(){return xa(No)},useDebugValue:Fa,useDeferredValue:function(e){var t=st();return Lf(t,ve.memoizedState,e)},useTransition:function(){var e=xa(No)[0],t=st().memoizedState;return[e,t]},useMutableSource:Bf,useSyncExternalStore:_f,useId:Mf,unstable_isNewReconciler:!1},o1={readContext:lt,useCallback:If,useContext:lt,useEffect:Ca,useImperativeHandle:Af,useInsertionEffect:Df,useLayoutEffect:Of,useMemo:zf,useReducer:Ea,useRef:Pf,useState:function(){return Ea(No)},useDebugValue:Fa,useDeferredValue:function(e){var t=st();return ve===null?t.memoizedState=e:Lf(t,ve.memoizedState,e)},useTransition:function(){var e=Ea(No)[0],t=st().memoizedState;return[e,t]},useMutableSource:Bf,useSyncExternalStore:_f,useId:Mf,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 Na(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 qi={isMounted:function(e){return(e=e._reactInternals)?Ir(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Ae(),o=xr(e),i=Qt(n,o);i.payload=t,r!=null&&(i.callback=r),t=wr(e,i,o),t!==null&&(wt(t,e,o,n),zi(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Ae(),o=xr(e),i=Qt(n,o);i.tag=1,i.payload=t,r!=null&&(i.callback=r),t=wr(e,i,o),t!==null&&(wt(t,e,o,n),zi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ae(),n=xr(e),o=Qt(r,n);o.tag=2,t!=null&&(o.callback=t),t=wr(e,o,n),t!==null&&(wt(t,e,n,r),zi(t,e,n))}};function $f(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?!vo(r,n)||!vo(o,i):!0}function Uf(e,t,r){var n=!1,o=yr,i=t.contextType;return typeof i=="object"&&i!==null?i=lt(i):(o=je(t)?Lr:Ee.current,n=t.contextTypes,i=(n=n!=null)?kn(e,o):yr),t=new t(r,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=qi,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function qf(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&&qi.enqueueReplaceState(t,t.state,null)}function Pa(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},va(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=lt(i):(i=je(t)?Lr:Ee.current,o.context=kn(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Na(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&&qi.enqueueReplaceState(o,o.state,null),Li(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Cn(e,t){try{var r="",n=t;do r+=D0(n),n=n.return;while(n);var o=r}catch(i){o=`31Error generating stack: `+i.message+`32`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Ta(e,t,r){return{value:e,source:null,stack:r!=null?r:null,digest:t!=null?t:null}}function Da(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var i1=typeof WeakMap=="function"?WeakMap:Map;function Vf(e,t,r){r=Qt(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Zi||(Zi=!0,Ka=n),Da(e,t)},r}function Kf(e,t,r){r=Qt(-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(){Da(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){Da(e,t),typeof n!="function"&&(_r===null?_r=new Set([this]):_r.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),r}function Yf(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new i1;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=k1.bind(null,e,t,r),t.then(e,e))}function Xf(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 Qf(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=Qt(-1,1),t.tag=2,wr(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var l1=Ut.ReactCurrentOwner,We=!1;function Re(e,t,r,n){t.child=e===null?vf(t,null,r,n):_n(t,e.child,r,n)}function Jf(e,t,r,n,o){r=r.render;var i=t.ref;return xn(t,o),n=_a(e,t,r,n,i,o),r=Sa(),e!==null&&!We?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Jt(e,t,o)):(oe&&r&&la(t),t.flags|=1,Re(e,t,n,o),t.child)}function Zf(e,t,r,n,o){if(e===null){var i=r.type;return typeof i=="function"&&!eu(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=i,Gf(e,t,i,n,o)):(e=ol(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:vo,r(l,n)&&e.ref===t.ref)return Jt(e,t,o)}return t.flags|=1,e=Cr(i,n),e.ref=t.ref,e.return=t,t.child=e}function Gf(e,t,r,n,o){if(e!==null){var i=e.memoizedProps;if(vo(i,n)&&e.ref===t.ref)if(We=!1,t.pendingProps=n=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(We=!0);else return t.lanes=e.lanes,Jt(e,t,o)}return Oa(e,t,r,n,o)}function eg(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},G(Nn,Ge),Ge|=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,G(Nn,Ge),Ge|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,G(Nn,Ge),Ge|=n}else i!==null?(n=i.baseLanes|r,t.memoizedState=null):n=r,G(Nn,Ge),Ge|=n;return Re(e,t,o,r),t.child}function tg(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Oa(e,t,r,n,o){var i=je(r)?Lr:Ee.current;return i=kn(t,i),xn(t,o),r=_a(e,t,r,n,i,o),n=Sa(),e!==null&&!We?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Jt(e,t,o)):(oe&&n&&la(t),t.flags|=1,Re(e,t,r,o),t.child)}function rg(e,t,r,n,o){if(je(r)){var i=!0;Ni(t)}else i=!1;if(xn(t,o),t.stateNode===null)Ki(e,t),Uf(t,r,n),Pa(t,r,n,o),n=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var s=l.context,u=r.contextType;typeof u=="object"&&u!==null?u=lt(u):(u=je(r)?Lr:Ee.current,u=kn(t,u));var c=r.getDerivedStateFromProps,d=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==n||s!==u)&&qf(t,l,n,u),br=!1;var g=t.memoizedState;l.state=g,Li(t,n,l,o),s=t.memoizedState,a!==n||g!==s||He.current||br?(typeof c=="function"&&(Na(t,r,c,n),s=t.memoizedState),(a=br||$f(t,r,a,n,g,s,u))?(d||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=u,n=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{l=t.stateNode,yf(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:yt(t.type,a),l.props=u,d=t.pendingProps,g=l.context,s=r.contextType,typeof s=="object"&&s!==null?s=lt(s):(s=je(r)?Lr:Ee.current,s=kn(t,s));var v=r.getDerivedStateFromProps;(c=typeof v=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==d||g!==s)&&qf(t,l,n,s),br=!1,g=t.memoizedState,l.state=g,Li(t,n,l,o);var m=t.memoizedState;a!==d||g!==m||He.current||br?(typeof v=="function"&&(Na(t,r,v,n),m=t.memoizedState),(u=br||$f(t,r,u,n,g,m,s)||!1)?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(n,m,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(n,m,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=m),l.props=n,l.state=m,l.context=s,n=u):(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 Ra(e,t,r,n,i,o)}function Ra(e,t,r,n,o,i){tg(e,t);var l=(t.flags&128)!==0;if(!n&&!l)return o&&sf(t,r,!1),Jt(e,t,i);n=t.stateNode,l1.current=t;var a=l&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&l?(t.child=_n(t,e.child,null,i),t.child=_n(t,null,a,i)):Re(e,t,a,i),t.memoizedState=n.state,o&&sf(t,r,!0),t.child}function ng(e){var t=e.stateNode;t.pendingContext?of(e,t.pendingContext,t.pendingContext!==t.context):t.context&&of(e,t.context,!1),ma(e,t.containerInfo)}function og(e,t,r,n,o){return Bn(),ca(o),t.flags|=256,Re(e,t,r,n),t.child}var Aa={dehydrated:null,treeContext:null,retryLane:0};function Ia(e){return{baseLanes:e,cachePool:null,transitions:null}}function ig(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),G(le,o&1),e===null)return ua(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=il(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=Ia(r),t.memoizedState=Aa,e):za(t,l));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return s1(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=Cr(o,s),n.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Cr(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?Ia(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~r,t.memoizedState=Aa,n}return i=e.child,e=i.sibling,n=Cr(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 za(e,t){return t=il({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Vi(e,t,r,n){return n!==null&&ca(n),_n(t,e.child,null,r),e=za(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function s1(e,t,r,n,o,i,l){if(r)return t.flags&256?(t.flags&=-257,n=Ta(Error(T(422))),Vi(e,t,l,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=il({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&&_n(t,e.child,null,l),t.child.memoizedState=Ia(l),t.memoizedState=Aa,i);if((t.mode&1)===0)return Vi(e,t,l,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var a=n.dgst;return n=a,i=Error(T(419)),n=Ta(i,n,void 0),Vi(e,t,l,n)}if(a=(l&e.childLanes)!==0,We||a){if(n=we,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,Xt(e,o),wt(n,e,o,-1))}return Ga(),n=Ta(Error(T(421))),Vi(e,t,l,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=b1.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ze=vr(o.nextSibling),Je=t,oe=!0,mt=null,e!==null&&(ot[it++]=Kt,ot[it++]=Yt,ot[it++]=Mr,Kt=e.id,Yt=e.overflow,Mr=t),t=za(t,n.children),t.flags|=4096,t)}function lg(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),pa(e.return,t,r)}function La(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 sg(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(Re(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&&lg(e,r,t);else if(e.tag===19)lg(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(G(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&&Mi(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),La(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&&Mi(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}La(t,!0,r,null,i);break;case"together":La(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ki(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Jt(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(T(153));if(t.child!==null){for(e=t.child,r=Cr(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Cr(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function a1(e,t,r){switch(t.tag){case 3:ng(t),Bn();break;case 5:wf(t);break;case 1:je(t.type)&&Ni(t);break;case 4:ma(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;G(Ai,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(G(le,le.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?ig(e,t,r):(G(le,le.current&1),e=Jt(e,t,r),e!==null?e.sibling:null);G(le,le.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&128)!==0){if(n)return sg(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),G(le,le.current),n)break;return null;case 22:case 23:return t.lanes=0,eg(e,t,r)}return Jt(e,t,r)}var ag,Ma,ug,cg;ag=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}},Ma=function(){},ug=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Wr(Rt.current);var i=null;switch(r){case"input":o=ps(e,o),n=ps(e,n),i=[];break;case"select":o=ie({},o,{value:void 0}),n=ie({},n,{value:void 0}),i=[];break;case"textarea":o=ms(e,o),n=ms(e,n),i=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Ei)}ks(r,n);var l;r=null;for(u in o)if(!n.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(l in a)a.hasOwnProperty(l)&&(r||(r={}),r[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Yn.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in n){var s=n[u];if(a=o!=null?o[u]:void 0,n.hasOwnProperty(u)&&s!==a&&(s!=null||a!=null))if(u==="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(u,r)),r=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,a=a?a.__html:void 0,s!=null&&a!==s&&(i=i||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Yn.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&te("scroll",e),i||a===s||(i=[])):(i=i||[]).push(u,s))}r&&(i=i||[]).push("style",r);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},cg=function(e,t,r,n){r!==n&&(t.flags|=4)};function To(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 Fe(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 u1(e,t,r){var n=t.pendingProps;switch(sa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(t),null;case 1:return je(t.type)&&Fi(),Fe(t),null;case 3:return n=t.stateNode,En(),re(He),re(Ee),ba(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Oi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,mt!==null&&(Qa(mt),mt=null))),Ma(e,t),Fe(t),null;case 5:ya(t);var o=Wr(Eo.current);if(r=t.type,e!==null&&t.stateNode!=null)ug(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(T(166));return Fe(t),null}if(e=Wr(Rt.current),Oi(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[Ot]=t,n[wo]=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<yo.length;o++)te(yo[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":$c(n,i),te("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},te("invalid",n);break;case"textarea":Vc(n,i),te("invalid",n)}ks(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&&xi(n.textContent,a,e),o=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&xi(n.textContent,a,e),o=["children",""+a]):Yn.hasOwnProperty(l)&&a!=null&&l==="onScroll"&&te("scroll",n)}switch(r){case"input":ri(n),qc(n,i,!0);break;case"textarea":ri(n),Yc(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=Ei)}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=Xc(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[Ot]=t,e[wo]=n,ag(e,t,!1,!1),t.stateNode=e;e:{switch(l=bs(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<yo.length;o++)te(yo[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":$c(e,n),o=ps(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":Vc(e,n),o=ms(e,n),te("invalid",e);break;default:o=n}ks(r,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="style"?Zc(e,s):i==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Qc(e,s)):i==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&Zn(e,s):typeof s=="number"&&Zn(e,""+s):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Yn.hasOwnProperty(i)?s!=null&&i==="onScroll"&&te("scroll",e):s!=null&&ns(e,i,s,l))}switch(r){case"input":ri(e),qc(e,n,!1);break;case"textarea":ri(e),Yc(e);break;case"option":n.value!=null&&e.setAttribute("value",""+ur(n.value));break;case"select":e.multiple=!!n.multiple,i=n.value,i!=null?sn(e,!!n.multiple,i,!1):n.defaultValue!=null&&sn(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ei)}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 Fe(t),null;case 6:if(e&&t.stateNode!=null)cg(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(T(166));if(r=Wr(Eo.current),Wr(Rt.current),Oi(t)){if(n=t.stateNode,r=t.memoizedProps,n[Ot]=t,(i=n.nodeValue!==r)&&(e=Je,e!==null))switch(e.tag){case 3:xi(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&xi(n.nodeValue,r,(e.mode&1)!==0)}i&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Ot]=t,t.stateNode=n}return Fe(t),null;case 13:if(re(le),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(oe&&Ze!==null&&(t.mode&1)!==0&&(t.flags&128)===0)gf(),Bn(),t.flags|=98560,i=!1;else if(i=Oi(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(T(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(T(317));i[Ot]=t}else Bn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Fe(t),i=!1}else mt!==null&&(Qa(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):Ga())),t.updateQueue!==null&&(t.flags|=4),Fe(t),null);case 4:return En(),Ma(e,t),e===null&&ko(t.stateNode.containerInfo),Fe(t),null;case 10:return ga(t.type._context),Fe(t),null;case 17:return je(t.type)&&Fi(),Fe(t),null;case 19:if(re(le),i=t.memoizedState,i===null)return Fe(t),null;if(n=(t.flags&128)!==0,l=i.rendering,l===null)if(n)To(i,!1);else{if(me!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=Mi(e),l!==null){for(t.flags|=128,To(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 G(le,le.current&1|2),t.child}e=e.sibling}i.tail!==null&&de()>Pn&&(t.flags|=128,n=!0,To(i,!1),t.lanes=4194304)}else{if(!n)if(e=Mi(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),To(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!oe)return Fe(t),null}else 2*de()-i.renderingStartTime>Pn&&r!==1073741824&&(t.flags|=128,n=!0,To(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=de(),t.sibling=null,r=le.current,G(le,n?r&1|2:r&1),t):(Fe(t),null);case 22:case 23:return Za(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(Ge&1073741824)!==0&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function c1(e,t){switch(sa(t),t.tag){case 1:return je(t.type)&&Fi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return En(),re(He),re(Ee),ba(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ya(t),null;case 13:if(re(le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));Bn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(le),null;case 4:return En(),null;case 10:return ga(t.type._context),null;case 22:case 23:return Za(),null;case 24:return null;default:return null}}var Yi=!1,Ne=!1,d1=typeof WeakSet=="function"?WeakSet:Set,z=null;function Fn(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 Ha(e,t,r){try{r()}catch(n){ue(e,t,n)}}var dg=!1;function f1(e,t){if(Zs=pi,e=Wd(),Us(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,u=0,c=0,d=e,g=null;t:for(;;){for(var v;d!==r||o!==0&&d.nodeType!==3||(a=l+o),d!==i||n!==0&&d.nodeType!==3||(s=l+n),d.nodeType===3&&(l+=d.nodeValue.length),(v=d.firstChild)!==null;)g=d,d=v;for(;;){if(d===e)break t;if(g===r&&++u===o&&(a=l),g===i&&++c===n&&(s=l),(v=d.nextSibling)!==null)break;d=g,g=d.parentNode}d=v}r=a===-1||s===-1?null:{start:a,end:s}}else r=null}r=r||{start:0,end:0}}else r=null;for(Gs={focusedElem:e,selectionRange:r},pi=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var m=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,_=m.memoizedState,k=t.stateNode,h=k.getSnapshotBeforeUpdate(t.elementType===t.type?y:yt(t.type,y),_);k.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(f){ue(t,t.return,f)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return m=dg,dg=!1,m}function Do(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&&Ha(t,r,i)}o=o.next}while(o!==n)}}function Xi(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 ja(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 fg(e){var t=e.alternate;t!==null&&(e.alternate=null,fg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ot],delete t[wo],delete t[na],delete t[Ym],delete t[Xm])),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 gg(e){return e.tag===5||e.tag===3||e.tag===4}function pg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gg(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 Wa(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=Ei));else if(n!==4&&(e=e.child,e!==null))for(Wa(e,t,r),e=e.sibling;e!==null;)Wa(e,t,r),e=e.sibling}function $a(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($a(e,t,r),e=e.sibling;e!==null;)$a(e,t,r),e=e.sibling}var _e=null,kt=!1;function Br(e,t,r){for(r=r.child;r!==null;)hg(e,t,r),r=r.sibling}function hg(e,t,r){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(ai,r)}catch{}switch(r.tag){case 5:Ne||Fn(r,t);case 6:var n=_e,o=kt;_e=null,Br(e,t,r),_e=n,kt=o,_e!==null&&(kt?(e=_e,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):_e.removeChild(r.stateNode));break;case 18:_e!==null&&(kt?(e=_e,r=r.stateNode,e.nodeType===8?ra(e.parentNode,r):e.nodeType===1&&ra(e,r),uo(e)):ra(_e,r.stateNode));break;case 4:n=_e,o=kt,_e=r.stateNode.containerInfo,kt=!0,Br(e,t,r),_e=n,kt=o;break;case 0:case 11:case 14:case 15:if(!Ne&&(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)&&Ha(r,t,l),o=o.next}while(o!==n)}Br(e,t,r);break;case 1:if(!Ne&&(Fn(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?(Ne=(n=Ne)||r.memoizedState!==null,Br(e,t,r),Ne=n):Br(e,t,r);break;default:Br(e,t,r)}}function vg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new d1),t.forEach(function(n){var o=w1.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:_e=a.stateNode,kt=!1;break e;case 3:_e=a.stateNode.containerInfo,kt=!0;break e;case 4:_e=a.stateNode.containerInfo,kt=!0;break e}a=a.return}if(_e===null)throw Error(T(160));hg(i,l,o),_e=null,kt=!1;var s=o.alternate;s!==null&&(s.return=null),o.return=null}catch(u){ue(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)mg(t,e),t=t.sibling}function mg(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(bt(t,e),It(e),n&4){try{Do(3,e,e.return),Xi(3,e)}catch(y){ue(e,e.return,y)}try{Do(5,e,e.return)}catch(y){ue(e,e.return,y)}}break;case 1:bt(t,e),It(e),n&512&&r!==null&&Fn(r,r.return);break;case 5:if(bt(t,e),It(e),n&512&&r!==null&&Fn(r,r.return),e.flags&32){var o=e.stateNode;try{Zn(o,"")}catch(y){ue(e,e.return,y)}}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&&Uc(o,i),bs(a,l);var u=bs(a,i);for(l=0;l<s.length;l+=2){var c=s[l],d=s[l+1];c==="style"?Zc(o,d):c==="dangerouslySetInnerHTML"?Qc(o,d):c==="children"?Zn(o,d):ns(o,c,d,u)}switch(a){case"input":hs(o,i);break;case"textarea":Kc(o,i);break;case"select":var g=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var v=i.value;v!=null?sn(o,!!i.multiple,v,!1):g!==!!i.multiple&&(i.defaultValue!=null?sn(o,!!i.multiple,i.defaultValue,!0):sn(o,!!i.multiple,i.multiple?[]:"",!1))}o[wo]=i}catch(y){ue(e,e.return,y)}}break;case 6:if(bt(t,e),It(e),n&4){if(e.stateNode===null)throw Error(T(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(y){ue(e,e.return,y)}}break;case 3:if(bt(t,e),It(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{uo(t.containerInfo)}catch(y){ue(e,e.return,y)}break;case 4:bt(t,e),It(e);break;case 13:bt(t,e),It(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Va=de())),n&4&&vg(e);break;case 22:if(c=r!==null&&r.memoizedState!==null,e.mode&1?(Ne=(u=Ne)||c,bt(t,e),Ne=u):bt(t,e),It(e),n&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&(e.mode&1)!==0)for(z=e,c=e.child;c!==null;){for(d=z=c;z!==null;){switch(g=z,v=g.child,g.tag){case 0:case 11:case 14:case 15:Do(4,g,g.return);break;case 1:Fn(g,g.return);var m=g.stateNode;if(typeof m.componentWillUnmount=="function"){n=g,r=g.return;try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(y){ue(n,r,y)}}break;case 5:Fn(g,g.return);break;case 22:if(g.memoizedState!==null){bg(d);continue}}v!==null?(v.return=g,z=v):bg(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,s=d.memoizedProps.style,l=s!=null&&s.hasOwnProperty("display")?s.display:null,a.style.display=Jc("display",l))}catch(y){ue(e,e.return,y)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(y){ue(e,e.return,y)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:bt(t,e),It(e),n&4&&vg(e);break;case 21:break;default:bt(t,e),It(e)}}function It(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(gg(r)){var n=r;break e}r=r.return}throw Error(T(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(Zn(o,""),n.flags&=-33);var i=pg(e);$a(e,i,o);break;case 3:case 4:var l=n.stateNode.containerInfo,a=pg(e);Wa(e,a,l);break;default:throw Error(T(161))}}catch(s){ue(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function g1(e,t,r){z=e,yg(e)}function yg(e,t,r){for(var n=(e.mode&1)!==0;z!==null;){var o=z,i=o.child;if(o.tag===22&&n){var l=o.memoizedState!==null||Yi;if(!l){var a=o.alternate,s=a!==null&&a.memoizedState!==null||Ne;a=Yi;var u=Ne;if(Yi=l,(Ne=s)&&!u)for(z=o;z!==null;)l=z,s=l.child,l.tag===22&&l.memoizedState!==null?wg(o):s!==null?(s.return=l,z=s):wg(o);for(;i!==null;)z=i,yg(i),i=i.sibling;z=o,Yi=a,Ne=u}kg(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,z=i):kg(e)}}function kg(e){for(;z!==null;){var t=z;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ne||Xi(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!Ne)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&&bf(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}bf(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 u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&uo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}Ne||t.flags&512&&ja(t)}catch(g){ue(t,t.return,g)}}if(t===e){z=null;break}if(r=t.sibling,r!==null){r.return=t.return,z=r;break}z=t.return}}function bg(e){for(;z!==null;){var t=z;if(t===e){z=null;break}var r=t.sibling;if(r!==null){r.return=t.return,z=r;break}z=t.return}}function wg(e){for(;z!==null;){var t=z;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Xi(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{ja(t)}catch(s){ue(t,i,s)}break;case 5:var l=t.return;try{ja(t)}catch(s){ue(t,l,s)}}}catch(s){ue(t,t.return,s)}if(t===e){z=null;break}var a=t.sibling;if(a!==null){a.return=t.return,z=a;break}z=t.return}}var p1=Math.ceil,Qi=Ut.ReactCurrentDispatcher,Ua=Ut.ReactCurrentOwner,at=Ut.ReactCurrentBatchConfig,q=0,we=null,ge=null,Se=0,Ge=0,Nn=mr(0),me=0,Oo=null,Ur=0,Ji=0,qa=0,Ro=null,$e=null,Va=0,Pn=1/0,Zt=null,Zi=!1,Ka=null,_r=null,Gi=!1,Sr=null,el=0,Ao=0,Ya=null,tl=-1,rl=0;function Ae(){return(q&6)!==0?de():tl!==-1?tl:tl=de()}function xr(e){return(e.mode&1)===0?1:(q&2)!==0&&Se!==0?Se&-Se:Jm.transition!==null?(rl===0&&(rl=gd()),rl):(e=X,e!==0||(e=window.event,e=e===void 0?16:Bd(e.type)),e)}function wt(e,t,r,n){if(50<Ao)throw Ao=0,Ya=null,Error(T(185));oo(e,r,n),((q&2)===0||e!==we)&&(e===we&&((q&2)===0&&(Ji|=r),me===4&&Er(e,Se)),Ue(e,n),r===1&&q===0&&(t.mode&1)===0&&(Pn=de()+500,Pi&&kr()))}function Ue(e,t){var r=e.callbackNode;J0(e,t);var n=di(e,e===we?Se:0);if(n===0)r!==null&&cd(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&cd(r),t===1)e.tag===0?Qm(_g.bind(null,e)):af(_g.bind(null,e)),Vm(function(){(q&6)===0&&kr()}),r=null;else{switch(pd(n)){case 1:r=Cs;break;case 4:r=dd;break;case 16:r=si;break;case 536870912:r=fd;break;default:r=si}r=Tg(r,Bg.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function Bg(e,t){if(tl=-1,rl=0,(q&6)!==0)throw Error(T(327));var r=e.callbackNode;if(Tn()&&e.callbackNode!==r)return null;var n=di(e,e===we?Se:0);if(n===0)return null;if((n&30)!==0||(n&e.expiredLanes)!==0||t)t=nl(e,n);else{t=n;var o=q;q|=2;var i=xg();(we!==e||Se!==t)&&(Zt=null,Pn=de()+500,Vr(e,t));do try{m1();break}catch(a){Sg(e,a)}while(1);fa(),Qi.current=i,q=o,ge!==null?t=0:(we=null,Se=0,t=me)}if(t!==0){if(t===2&&(o=Fs(e),o!==0&&(n=o,t=Xa(e,o))),t===1)throw r=Oo,Vr(e,0),Er(e,n),Ue(e,de()),r;if(t===6)Er(e,n);else{if(o=e.current.alternate,(n&30)===0&&!h1(o)&&(t=nl(e,n),t===2&&(i=Fs(e),i!==0&&(n=i,t=Xa(e,i))),t===1))throw r=Oo,Vr(e,0),Er(e,n),Ue(e,de()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(T(345));case 2:Kr(e,$e,Zt);break;case 3:if(Er(e,n),(n&130023424)===n&&(t=Va+500-de(),10<t)){if(di(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){Ae(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ta(Kr.bind(null,e,$e,Zt),t);break}Kr(e,$e,Zt);break;case 4:if(Er(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=de()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*p1(n/1960))-n,10<n){e.timeoutHandle=ta(Kr.bind(null,e,$e,Zt),n);break}Kr(e,$e,Zt);break;case 5:Kr(e,$e,Zt);break;default:throw Error(T(329))}}}return Ue(e,de()),e.callbackNode===r?Bg.bind(null,e):null}function Xa(e,t){var r=Ro;return e.current.memoizedState.isDehydrated&&(Vr(e,t).flags|=256),e=nl(e,t),e!==2&&(t=$e,$e=r,t!==null&&Qa(t)),e}function Qa(e){$e===null?$e=e:$e.push.apply($e,e)}function h1(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 Er(e,t){for(t&=~qa,t&=~Ji,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 _g(e){if((q&6)!==0)throw Error(T(327));Tn();var t=di(e,0);if((t&1)===0)return Ue(e,de()),null;var r=nl(e,t);if(e.tag!==0&&r===2){var n=Fs(e);n!==0&&(t=n,r=Xa(e,n))}if(r===1)throw r=Oo,Vr(e,0),Er(e,t),Ue(e,de()),r;if(r===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Kr(e,$e,Zt),Ue(e,de()),null}function Ja(e,t){var r=q;q|=1;try{return e(t)}finally{q=r,q===0&&(Pn=de()+500,Pi&&kr())}}function qr(e){Sr!==null&&Sr.tag===0&&(q&6)===0&&Tn();var t=q;q|=1;var r=at.transition,n=X;try{if(at.transition=null,X=1,e)return e()}finally{X=n,at.transition=r,q=t,(q&6)===0&&kr()}}function Za(){Ge=Nn.current,re(Nn)}function Vr(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,qm(r)),ge!==null)for(r=ge.return;r!==null;){var n=r;switch(sa(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Fi();break;case 3:En(),re(He),re(Ee),ba();break;case 5:ya(n);break;case 4:En();break;case 13:re(le);break;case 19:re(le);break;case 10:ga(n.type._context);break;case 22:case 23:Za()}r=r.return}if(we=e,ge=e=Cr(e.current,null),Se=Ge=t,me=0,Oo=null,qa=Ji=Ur=0,$e=Ro=null,jr!==null){for(t=0;t<jr.length;t++)if(r=jr[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}jr=null}return e}function Sg(e,t){do{var r=ge;try{if(fa(),Hi.current=Ui,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,be=ve=se=null,Co=!1,Fo=0,Ua.current=null,r===null||r.return===null){me=1,Oo=t,ge=null;break}e:{var i=e,l=r.return,a=r,s=t;if(t=Se,a.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s,c=a,d=c.tag;if((c.mode&1)===0&&(d===0||d===11||d===15)){var g=c.alternate;g?(c.updateQueue=g.updateQueue,c.memoizedState=g.memoizedState,c.lanes=g.lanes):(c.updateQueue=null,c.memoizedState=null)}var v=Xf(l);if(v!==null){v.flags&=-257,Qf(v,l,a,i,t),v.mode&1&&Yf(i,u,t),t=v,s=u;var m=t.updateQueue;if(m===null){var y=new Set;y.add(s),t.updateQueue=y}else m.add(s);break e}else{if((t&1)===0){Yf(i,u,t),Ga();break e}s=Error(T(426))}}else if(oe&&a.mode&1){var _=Xf(l);if(_!==null){(_.flags&65536)===0&&(_.flags|=256),Qf(_,l,a,i,t),ca(Cn(s,a));break e}}i=s=Cn(s,a),me!==4&&(me=2),Ro===null?Ro=[i]:Ro.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var k=Vf(i,s,t);kf(i,k);break e;case 1:a=s;var h=i.type,b=i.stateNode;if((i.flags&128)===0&&(typeof h.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(_r===null||!_r.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t;var f=Kf(i,a,t);kf(i,f);break e}}i=i.return}while(i!==null)}Cg(r)}catch(p){t=p,ge===r&&r!==null&&(ge=r=r.return);continue}break}while(1)}function xg(){var e=Qi.current;return Qi.current=Ui,e===null?Ui:e}function Ga(){(me===0||me===3||me===2)&&(me=4),we===null||(Ur&268435455)===0&&(Ji&268435455)===0||Er(we,Se)}function nl(e,t){var r=q;q|=2;var n=xg();(we!==e||Se!==t)&&(Zt=null,Vr(e,t));do try{v1();break}catch(o){Sg(e,o)}while(1);if(fa(),q=r,Qi.current=n,ge!==null)throw Error(T(261));return we=null,Se=0,me}function v1(){for(;ge!==null;)Eg(ge)}function m1(){for(;ge!==null&&!W0();)Eg(ge)}function Eg(e){var t=Pg(e.alternate,e,Ge);e.memoizedProps=e.pendingProps,t===null?Cg(e):ge=t,Ua.current=null}function Cg(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=u1(r,t,Ge),r!==null){ge=r;return}}else{if(r=c1(r,t),r!==null){r.flags&=32767,ge=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{me=6,ge=null;return}}if(t=t.sibling,t!==null){ge=t;return}ge=t=e}while(t!==null);me===0&&(me=5)}function Kr(e,t,r){var n=X,o=at.transition;try{at.transition=null,X=1,y1(e,t,r,n)}finally{at.transition=o,X=n}return null}function y1(e,t,r,n){do Tn();while(Sr!==null);if((q&6)!==0)throw Error(T(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(T(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(Z0(e,i),e===we&&(ge=we=null,Se=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||Gi||(Gi=!0,Tg(si,function(){return Tn(),null})),i=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||i){i=at.transition,at.transition=null;var l=X;X=1;var a=q;q|=4,Ua.current=null,f1(e,r),mg(r,e),Lm(Gs),pi=!!Zs,Gs=Zs=null,e.current=r,g1(r),$0(),q=a,X=l,at.transition=i}else e.current=r;if(Gi&&(Gi=!1,Sr=e,el=o),i=e.pendingLanes,i===0&&(_r=null),V0(r.stateNode),Ue(e,de()),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(Zi)throw Zi=!1,e=Ka,Ka=null,e;return(el&1)!==0&&e.tag!==0&&Tn(),i=e.pendingLanes,(i&1)!==0?e===Ya?Ao++:(Ao=0,Ya=e):Ao=0,kr(),null}function Tn(){if(Sr!==null){var e=pd(el),t=at.transition,r=X;try{if(at.transition=null,X=16>e?16:e,Sr===null)var n=!1;else{if(e=Sr,Sr=null,el=0,(q&6)!==0)throw Error(T(331));var o=q;for(q|=4,z=e.current;z!==null;){var i=z,l=i.child;if((z.flags&16)!==0){var a=i.deletions;if(a!==null){for(var s=0;s<a.length;s++){var u=a[s];for(z=u;z!==null;){var c=z;switch(c.tag){case 0:case 11:case 15:Do(8,c,i)}var d=c.child;if(d!==null)d.return=c,z=d;else for(;z!==null;){c=z;var g=c.sibling,v=c.return;if(fg(c),c===u){z=null;break}if(g!==null){g.return=v,z=g;break}z=v}}}var m=i.alternate;if(m!==null){var y=m.child;if(y!==null){m.child=null;do{var _=y.sibling;y.sibling=null,y=_}while(y!==null)}}z=i}}if((i.subtreeFlags&2064)!==0&&l!==null)l.return=i,z=l;else e:for(;z!==null;){if(i=z,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:Do(9,i,i.return)}var k=i.sibling;if(k!==null){k.return=i.return,z=k;break e}z=i.return}}var h=e.current;for(z=h;z!==null;){l=z;var b=l.child;if((l.subtreeFlags&2064)!==0&&b!==null)b.return=l,z=b;else e:for(l=h;z!==null;){if(a=z,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:Xi(9,a)}}catch(p){ue(a,a.return,p)}if(a===l){z=null;break e}var f=a.sibling;if(f!==null){f.return=a.return,z=f;break e}z=a.return}}if(q=o,kr(),Dt&&typeof Dt.onPostCommitFiberRoot=="function")try{Dt.onPostCommitFiberRoot(ai,e)}catch{}n=!0}return n}finally{X=r,at.transition=t}}return!1}function Fg(e,t,r){t=Cn(r,t),t=Vf(e,t,1),e=wr(e,t,1),t=Ae(),e!==null&&(oo(e,1,t),Ue(e,t))}function ue(e,t,r){if(e.tag===3)Fg(e,e,r);else for(;t!==null;){if(t.tag===3){Fg(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(_r===null||!_r.has(n))){e=Cn(r,e),e=Kf(t,e,1),t=wr(t,e,1),e=Ae(),t!==null&&(oo(t,1,e),Ue(t,e));break}}t=t.return}}function k1(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Ae(),e.pingedLanes|=e.suspendedLanes&r,we===e&&(Se&r)===r&&(me===4||me===3&&(Se&130023424)===Se&&500>de()-Va?Vr(e,0):qa|=r),Ue(e,t)}function Ng(e,t){t===0&&((e.mode&1)===0?t=1:(t=ci,ci<<=1,(ci&130023424)===0&&(ci=4194304)));var r=Ae();e=Xt(e,t),e!==null&&(oo(e,t,r),Ue(e,r))}function b1(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Ng(e,r)}function w1(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(T(314))}n!==null&&n.delete(t),Ng(e,r)}var Pg;Pg=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||He.current)We=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return We=!1,a1(e,t,r);We=(e.flags&131072)!==0}else We=!1,oe&&(t.flags&1048576)!==0&&uf(t,Di,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Ki(e,t),e=t.pendingProps;var o=kn(t,Ee.current);xn(t,r),o=_a(null,t,n,e,o,r);var i=Sa();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(n)?(i=!0,Ni(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,va(t),o.updater=qi,t.stateNode=o,o._reactInternals=t,Pa(t,n,e,r),t=Ra(null,t,n,!0,i,r)):(t.tag=0,oe&&i&&la(t),Re(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Ki(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=_1(n),e=yt(n,e),o){case 0:t=Oa(null,t,n,e,r);break e;case 1:t=rg(null,t,n,e,r);break e;case 11:t=Jf(null,t,n,e,r);break e;case 14:t=Zf(null,t,n,yt(n.type,e),r);break e}throw Error(T(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),Oa(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),rg(e,t,n,o,r);case 3:e:{if(ng(t),e===null)throw Error(T(387));n=t.pendingProps,i=t.memoizedState,o=i.element,yf(e,t),Li(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=Cn(Error(T(423)),t),t=og(e,t,n,r,o);break e}else if(n!==o){o=Cn(Error(T(424)),t),t=og(e,t,n,r,o);break e}else for(Ze=vr(t.stateNode.containerInfo.firstChild),Je=t,oe=!0,mt=null,r=vf(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Bn(),n===o){t=Jt(e,t,r);break e}Re(e,t,n,r)}t=t.child}return t;case 5:return wf(t),e===null&&ua(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,ea(n,o)?l=null:i!==null&&ea(n,i)&&(t.flags|=32),tg(e,t),Re(e,t,l,r),t.child;case 6:return e===null&&ua(t),null;case 13:return ig(e,t,r);case 4:return ma(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=_n(t,null,n,r):Re(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),Jf(e,t,n,o,r);case 7:return Re(e,t,t.pendingProps,r),t.child;case 8:return Re(e,t,t.pendingProps.children,r),t.child;case 12:return Re(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,G(Ai,n._currentValue),n._currentValue=l,i!==null)if(vt(i.value,l)){if(i.children===o.children&&!He.current){t=Jt(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=Qt(-1,r&-r),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),pa(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(T(341));l.lanes|=r,a=l.alternate,a!==null&&(a.lanes|=r),pa(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}Re(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,xn(t,r),o=lt(o),n=n(o),t.flags|=1,Re(e,t,n,r),t.child;case 14:return n=t.type,o=yt(n,t.pendingProps),o=yt(n.type,o),Zf(e,t,n,o,r);case 15:return Gf(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),Ki(e,t),t.tag=1,je(n)?(e=!0,Ni(t)):e=!1,xn(t,r),Uf(t,n,o),Pa(t,n,o,r),Ra(null,t,n,!0,e,r);case 19:return sg(e,t,r);case 22:return eg(e,t,r)}throw Error(T(156,t.tag))};function Tg(e,t){return ud(e,t)}function B1(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 ut(e,t,r,n){return new B1(e,t,r,n)}function eu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _1(e){if(typeof e=="function")return eu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ls)return 11;if(e===us)return 14}return 2}function Cr(e,t){var r=e.alternate;return r===null?(r=ut(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 ol(e,t,r,n,o,i){var l=2;if(n=e,typeof e=="function")eu(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case ln:return Yr(r.children,o,i,t);case os:l=8,o|=8;break;case is:return e=ut(12,r,t,o|2),e.elementType=is,e.lanes=i,e;case ss:return e=ut(13,r,t,o),e.elementType=ss,e.lanes=i,e;case as:return e=ut(19,r,t,o),e.elementType=as,e.lanes=i,e;case Mc:return il(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zc:l=10;break e;case Lc:l=9;break e;case ls:l=11;break e;case us:l=14;break e;case ar:l=16,n=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=ut(l,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Yr(e,t,r,n){return e=ut(7,e,n,t),e.lanes=r,e}function il(e,t,r,n){return e=ut(22,e,n,t),e.elementType=Mc,e.lanes=r,e.stateNode={isHidden:!1},e}function tu(e,t,r){return e=ut(6,e,null,t),e.lanes=r,e}function ru(e,t,r){return t=ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function S1(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=Ns(0),this.expirationTimes=Ns(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ns(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function nu(e,t,r,n,o,i,l,a,s){return e=new S1(e,t,r,a,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ut(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},va(i),e}function x1(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:on,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function Dg(e){if(!e)return yr;e=e._reactInternals;e:{if(Ir(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var r=e.type;if(je(r))return lf(e,r,t)}return t}function Og(e,t,r,n,o,i,l,a,s){return e=nu(r,n,!0,e,o,i,l,a,s),e.context=Dg(null),r=e.current,n=Ae(),o=xr(r),i=Qt(n,o),i.callback=t!=null?t:null,wr(r,i,o),e.current.lanes=o,oo(e,o,n),Ue(e,n),e}function ll(e,t,r,n){var o=t.current,i=Ae(),l=xr(o);return r=Dg(r),t.context===null?t.context=r:t.pendingContext=r,t=Qt(i,l),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=wr(o,t,l),e!==null&&(wt(e,o,l,i),zi(e,o,l)),l}function sl(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 Rg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function ou(e,t){Rg(e,t),(e=e.alternate)&&Rg(e,t)}function E1(){return null}var Ag=typeof reportError=="function"?reportError:function(e){console.error(e)};function iu(e){this._internalRoot=e}al.prototype.render=iu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));ll(e,t,null,null)},al.prototype.unmount=iu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qr(function(){ll(null,e,null,null)}),t[qt]=null}};function al(e){this._internalRoot=e}al.prototype.unstable_scheduleHydration=function(e){if(e){var t=md();e={blockedOn:null,target:e,priority:t};for(var r=0;r<gr.length&&t!==0&&t<gr[r].priority;r++);gr.splice(r,0,e),r===0&&bd(e)}};function lu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ul(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ig(){}function C1(e,t,r,n,o){if(o){if(typeof n=="function"){var i=n;n=function(){var u=sl(l);i.call(u)}}var l=Og(t,n,e,0,null,!1,!1,"",Ig);return e._reactRootContainer=l,e[qt]=l.current,ko(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 u=sl(s);a.call(u)}}var s=nu(e,0,!1,null,null,!1,!1,"",Ig);return e._reactRootContainer=s,e[qt]=s.current,ko(e.nodeType===8?e.parentNode:e),qr(function(){ll(t,s,r,n)}),s}function cl(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=sl(l);a.call(s)}}ll(t,l,e,o)}else l=C1(r,t,e,o,n);return sl(l)}hd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=no(t.pendingLanes);r!==0&&(Ps(t,r|1),Ue(t,de()),(q&6)===0&&(Pn=de()+500,kr()))}break;case 13:qr(function(){var n=Xt(e,1);if(n!==null){var o=Ae();wt(n,e,1,o)}}),ou(e,1)}},Ts=function(e){if(e.tag===13){var t=Xt(e,134217728);if(t!==null){var r=Ae();wt(t,e,134217728,r)}ou(e,134217728)}},vd=function(e){if(e.tag===13){var t=xr(e),r=Xt(e,t);if(r!==null){var n=Ae();wt(r,e,t,n)}ou(e,t)}},md=function(){return X},yd=function(e,t){var r=X;try{return X=e,t()}finally{X=r}},_s=function(e,t,r){switch(t){case"input":if(hs(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=Ci(n);if(!o)throw Error(T(90));Wc(n),hs(n,o)}}}break;case"textarea":Kc(e,r);break;case"select":t=r.value,t!=null&&sn(e,!!r.multiple,t,!1)}},rd=Ja,nd=qr;var F1={usingClientEntryPoint:!1,Events:[Bo,mn,Ci,ed,td,Ja]},Io={findFiberByHostInstance:zr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},N1={bundleType:Io.bundleType,version:Io.version,rendererPackageName:Io.rendererPackageName,rendererConfig:Io.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ut.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=sd(e),e===null?null:e.stateNode},findFiberByHostInstance:Io.findFiberByHostInstance||E1,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 dl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dl.isDisabled&&dl.supportsFiber)try{ai=dl.inject(N1),Dt=dl}catch{}}Ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=F1,Ye.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!lu(t))throw Error(T(200));return x1(e,t,null,r)},Ye.createRoot=function(e,t){if(!lu(e))throw Error(T(299));var r=!1,n="",o=Ag;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=nu(e,1,!1,null,null,r,!1,n,o),e[qt]=t.current,ko(e.nodeType===8?e.parentNode:e),new iu(t)},Ye.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(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=sd(t),e=e===null?null:e.stateNode,e},Ye.flushSync=function(e){return qr(e)},Ye.hydrate=function(e,t,r){if(!ul(t))throw Error(T(200));return cl(null,e,t,!0,r)},Ye.hydrateRoot=function(e,t,r){if(!lu(e))throw Error(T(405));var n=r!=null&&r.hydratedSources||null,o=!1,i="",l=Ag;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(l=r.onRecoverableError)),t=Og(t,null,e,1,r!=null?r:null,o,!1,i,l),e[qt]=t.current,ko(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 al(t)},Ye.render=function(e,t,r){if(!ul(t))throw Error(T(200));return cl(null,e,t,!1,r)},Ye.unmountComponentAtNode=function(e){if(!ul(e))throw Error(T(40));return e._reactRootContainer?(qr(function(){cl(null,null,e,!1,function(){e._reactRootContainer=null,e[qt]=null})}),!0):!1},Ye.unstable_batchedUpdates=Ja,Ye.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!ul(r))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return cl(e,t,r,!1,n)},Ye.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=Ye}(Gl);var su,zg=Gl.exports;su=zg.createRoot,zg.hydrateRoot;function P1(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 Q={exports:{}};(function(e,t){(function(r){{var n=r(P1,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(f){f.Bold="ansiBold",f.Dim="ansiDim",f.Italic="ansiItalic",f.Underlined="ansiUnderlined",f.SlowBlink="ansiSlowBlink",f.RapidBlink="ansiRapidBlink",f.Hidden="ansiHidden",f.CrossedOut="ansiCrossedOut",f.Fraktur="ansiFraktur",f.DoubleUnderlined="ansiDoubleUnderlined",f.Framed="ansiFramed",f.Encircled="ansiEncircled",f.Overlined="ansiOverlined",f.Superscript="ansiSuperscript",f.Subscript="ansiSubscript"})(l||(n.ANSIStyle=l={}));var a;(function(f){f.AlternativeFont1="ansiAlternativeFont1",f.AlternativeFont2="ansiAlternativeFont2",f.AlternativeFont3="ansiAlternativeFont3",f.AlternativeFont4="ansiAlternativeFont4",f.AlternativeFont5="ansiAlternativeFont5",f.AlternativeFont6="ansiAlternativeFont6",f.AlternativeFont7="ansiAlternativeFont7",f.AlternativeFont8="ansiAlternativeFont8",f.AlternativeFont9="ansiAlternativeFont9"})(a||(n.ANSIFont=a={}));var s;(function(f){f.Black="ansiBlack",f.Red="ansiRed",f.Green="ansiGreen",f.Yellow="ansiYellow",f.Blue="ansiBlue",f.Magenta="ansiMagenta",f.Cyan="ansiCyan",f.White="ansiWhite",f.BrightBlack="ansiBrightBlack",f.BrightRed="ansiBrightRed",f.BrightGreen="ansiBrightGreen",f.BrightYellow="ansiBrightYellow",f.BrightBlue="ansiBrightBlue",f.BrightMagenta="ansiBrightMagenta",f.BrightCyan="ansiBrightCyan",f.BrightWhite="ansiBrightWhite"})(s||(n.ANSIColor=s={}));class u{constructor(){fe(this,"_parserState",v.BufferingOutput);fe(this,"_controlSequence","");fe(this,"_sgrState");fe(this,"_outputLines",[]);fe(this,"_outputLine",0);fe(this,"_outputColumn",0);fe(this,"_buffer","");fe(this,"_pendingNewline",!1)}get outputLines(){return this.flushBuffer(),this._outputLines}static processOutput(p){const w=new u;return w.processOutput(p),w.outputLines}processOutput(p){for(let w=0;w<p.length;w++){this._pendingNewline&&(this.flushBuffer(),this._outputLine++,this._outputColumn=0,this._pendingNewline=!1);const B=p.charAt(w);this._parserState===v.BufferingOutput?B==="\x1B"?(this.flushBuffer(),this._parserState=v.ControlSequenceStarted):B==="\x9B"?(this.flushBuffer(),this._parserState=v.ParsingControlSequence):this.processCharacter(B):this._parserState===v.ControlSequenceStarted?B==="["?this._parserState=v.ParsingControlSequence:(this._parserState=v.BufferingOutput,this.processCharacter(B)):this._parserState===v.ParsingControlSequence&&(this._controlSequence+=B,B.match(/^[A-Za-z]$/)&&this.processControlSequence())}this.flushBuffer()}flushBuffer(){for(let p=this._outputLines.length;p<this._outputLine+1;p++)this._outputLines.push(new y);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`33`: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=v.BufferingOutput}processCUU(){const p=this._controlSequence.match(/^([0-9]*)A$/);p&&(this._outputLine=Math.max(this._outputLine-k(p[1],1,1),0))}processCUD(){const p=this._controlSequence.match(/^([0-9]*)B$/);p&&(this._outputLine=this._outputLine+k(p[1],1,1))}processCUF(){const p=this._controlSequence.match(/^([0-9]*)C$/);p&&(this._outputColumn=this._outputColumn+k(p[1],1,1))}processCUB(){const p=this._controlSequence.match(/^([0-9]*)D$/);p&&(this._outputColumn=Math.max(this._outputColumn-k(p[1],1,1),0))}processCUP(){const p=this._controlSequence.match(/^([0-9]*)(?:;?([0-9]*))H$/);p&&(this._outputLine=k(p[1],1,1)-1,this._outputColumn=k(p[2],1,1)-1)}processED(){const p=this._controlSequence.match(/^([0-9]*)J$/);if(p)switch(h(p[1],0)){case 0:this._outputLines[this._outputLine].clearToEndOfLine(this._outputColumn);for(let w=this._outputLine+1;w<this._outputLines.length;w++)this._outputLines[w].clearEntireLine();break;case 1:this._outputLines[this._outputLine].clearToBeginningOfLine(this._outputColumn);for(let w=0;w<this._outputLine;w++)this._outputLines[w].clearEntireLine();break;case 2:for(let w=0;w<this._outputLines.length;w++)this._outputLines[w].clearEntireLine();break}}processEL(){const p=this._controlSequence.match(/^([0-9]*)K$/);if(p){const w=this._outputLines[this._outputLine];switch(h(p[1],0)){case 0:w.clearToEndOfLine(this._outputColumn);break;case 1:w.clearToBeginningOfLine(this._outputColumn);break;case 2:w.clearEntireLine();break}}}processSGR(){const p=this._sgrState?this._sgrState.copy():new m,w=this._controlSequence.slice(0,-1).split(";").map(B=>B===""?c.Reset:parseInt(B,10));for(let B=0;B<w.length;B++){const E=w[B],O=()=>{if(B+1!==w.length)switch(w[++B]){case d.Color256:{if(B+1===w.length)return;const F=w[++B];switch(F){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.BrightCyan;case g.BrightWhite:return s.BrightWhite;default:if(F%1!==0)return;if(F>=16&&F<=231){let A=F-16,I=A%6;A=(A-I)/6;let L=A%6;A=(A-L)/6;let Y=A;return I=Math.round(I*255/5),L=Math.round(L*255/5),Y=Math.round(Y*255/5),"#"+b(Y)+b(L)+b(I)}else if(F>=232&&F<=255){const A=Math.round((F-232)/23*255),I=b(A);return"#"+I+I+I}else return}}case d.ColorRGB:{const F=[0,0,0];for(let A=0;A<3&&B+1<w.length;A++)F[A]=w[++B];return"#"+b(F[0])+b(F[1])+b(F[2])}}};switch(E){case c.Reset:p.reset();break;case c.Bold:p.setStyle(l.Bold);break;case c.Dim:p.setStyle(l.Dim);break;case c.Italic:p.setStyle(l.Italic);break;case c.Underlined:p.setStyle(l.Underlined,l.DoubleUnderlined);break;case c.SlowBlink:p.setStyle(l.SlowBlink,l.RapidBlink);break;case c.RapidBlink:p.setStyle(l.RapidBlink,l.SlowBlink);break;case c.Reversed:p.setReversed(!0);break;case c.Hidden:p.setStyle(l.Hidden);break;case c.CrossedOut:p.setStyle(l.CrossedOut);break;case c.PrimaryFont:p.setFont();break;case c.AlternativeFont1:p.setFont(a.AlternativeFont1);break;case c.AlternativeFont2:p.setFont(a.AlternativeFont2);break;case c.AlternativeFont3:p.setFont(a.AlternativeFont3);break;case c.AlternativeFont4:p.setFont(a.AlternativeFont4);break;case c.AlternativeFont5:p.setFont(a.AlternativeFont5);break;case c.AlternativeFont6:p.setFont(a.AlternativeFont6);break;case c.AlternativeFont7:p.setFont(a.AlternativeFont7);break;case c.AlternativeFont8:p.setFont(a.AlternativeFont8);break;case c.AlternativeFont9:p.setFont(a.AlternativeFont9);break;case c.Fraktur:p.setStyle(l.Fraktur);break;case c.DoubleUnderlined:p.setStyle(l.DoubleUnderlined,l.Underlined);break;case c.NormalIntensity:p.deleteStyles(l.Bold,l.Dim);break;case c.NotItalicNotFraktur:p.deleteStyles(l.Italic,l.Fraktur);break;case c.NotUnderlined:p.deleteStyles(l.Underlined,l.DoubleUnderlined);break;case c.NotBlinking:p.deleteStyles(l.SlowBlink,l.RapidBlink);break;case c.ProportionalSpacing:break;case c.NotReversed:p.setReversed(!1);break;case c.Reveal:p.deleteStyles(l.Hidden);break;case c.NotCrossedOut:p.deleteStyles(l.CrossedOut);break;case c.ForegroundBlack:p.setForegroundColor(s.Black);break;case c.ForegroundRed:p.setForegroundColor(s.Red);break;case c.ForegroundGreen:p.setForegroundColor(s.Green);break;case c.ForegroundYellow:p.setForegroundColor(s.Yellow);break;case c.ForegroundBlue:p.setForegroundColor(s.Blue);break;case c.ForegroundMagenta:p.setForegroundColor(s.Magenta);break;case c.ForegroundCyan:p.setForegroundColor(s.Cyan);break;case c.ForegroundWhite:p.setForegroundColor(s.White);break;case c.SetForeground:{const F=O();F&&p.setForegroundColor(F);break}case c.DefaultForeground:p.setForegroundColor();break;case c.BackgroundBlack:p.setBackgroundColor(s.Black);break;case c.BackgroundRed:p.setBackgroundColor(s.Red);break;case c.BackgroundGreen:p.setBackgroundColor(s.Green);break;case c.BackgroundYellow:p.setBackgroundColor(s.Yellow);break;case c.BackgroundBlue:p.setBackgroundColor(s.Blue);break;case c.BackgroundMagenta:p.setBackgroundColor(s.Magenta);break;case c.BackgroundCyan:p.setBackgroundColor(s.Cyan);break;case c.BackgroundWhite:p.setBackgroundColor(s.White);break;case c.SetBackground:{const F=O();F&&p.setBackgroundColor(F);break}case c.DefaultBackground:p.setBackgroundColor();break;case c.ForegroundBrightBlack:p.setForegroundColor(s.BrightBlack);break;case c.ForegroundBrightRed:p.setForegroundColor(s.BrightRed);break;case c.ForegroundBrightGreen:p.setForegroundColor(s.BrightGreen);break;case c.ForegroundBrightYellow:p.setForegroundColor(s.BrightYellow);break;case c.ForegroundBrightBlue:p.setForegroundColor(s.BrightBlue);break;case c.ForegroundBrightMagenta:p.setForegroundColor(s.BrightMagenta);break;case c.ForegroundBrightCyan:p.setForegroundColor(s.BrightCyan);break;case c.ForegroundBrightWhite:p.setForegroundColor(s.BrightWhite);break;case c.BackgroundBrightBlack:p.setBackgroundColor(s.BrightBlack);break;case c.BackgroundBrightRed:p.setBackgroundColor(s.BrightRed);break;case c.BackgroundBrightGreen:p.setBackgroundColor(s.BrightGreen);break;case c.BackgroundBrightYellow:p.setBackgroundColor(s.BrightYellow);break;case c.BackgroundBrightBlue:p.setBackgroundColor(s.BrightBlue);break;case c.BackgroundBrightMagenta:p.setBackgroundColor(s.BrightMagenta);break;case c.BackgroundBrightCyan:p.setBackgroundColor(s.BrightCyan);break;case c.BackgroundBrightWhite:p.setBackgroundColor(s.BrightWhite);break}}m.equivalent(p,this._sgrState)||(this._sgrState=p)}}n.ANSIOutput=u;var c;(function(f){f[f.Reset=0]="Reset",f[f.Bold=1]="Bold",f[f.Dim=2]="Dim",f[f.Italic=3]="Italic",f[f.Underlined=4]="Underlined",f[f.SlowBlink=5]="SlowBlink",f[f.RapidBlink=6]="RapidBlink",f[f.Reversed=7]="Reversed",f[f.Hidden=8]="Hidden",f[f.CrossedOut=9]="CrossedOut",f[f.PrimaryFont=10]="PrimaryFont",f[f.AlternativeFont1=11]="AlternativeFont1",f[f.AlternativeFont2=12]="AlternativeFont2",f[f.AlternativeFont3=13]="AlternativeFont3",f[f.AlternativeFont4=14]="AlternativeFont4",f[f.AlternativeFont5=15]="AlternativeFont5",f[f.AlternativeFont6=16]="AlternativeFont6",f[f.AlternativeFont7=17]="AlternativeFont7",f[f.AlternativeFont8=18]="AlternativeFont8",f[f.AlternativeFont9=19]="AlternativeFont9",f[f.Fraktur=20]="Fraktur",f[f.DoubleUnderlined=21]="DoubleUnderlined",f[f.NormalIntensity=22]="NormalIntensity",f[f.NotItalicNotFraktur=23]="NotItalicNotFraktur",f[f.NotUnderlined=24]="NotUnderlined",f[f.NotBlinking=25]="NotBlinking",f[f.ProportionalSpacing=26]="ProportionalSpacing",f[f.NotReversed=27]="NotReversed",f[f.Reveal=28]="Reveal",f[f.NotCrossedOut=29]="NotCrossedOut",f[f.ForegroundBlack=30]="ForegroundBlack",f[f.ForegroundRed=31]="ForegroundRed",f[f.ForegroundGreen=32]="ForegroundGreen",f[f.ForegroundYellow=33]="ForegroundYellow",f[f.ForegroundBlue=34]="ForegroundBlue",f[f.ForegroundMagenta=35]="ForegroundMagenta",f[f.ForegroundCyan=36]="ForegroundCyan",f[f.ForegroundWhite=37]="ForegroundWhite",f[f.SetForeground=38]="SetForeground",f[f.DefaultForeground=39]="DefaultForeground",f[f.BackgroundBlack=40]="BackgroundBlack",f[f.BackgroundRed=41]="BackgroundRed",f[f.BackgroundGreen=42]="BackgroundGreen",f[f.BackgroundYellow=43]="BackgroundYellow",f[f.BackgroundBlue=44]="BackgroundBlue",f[f.BackgroundMagenta=45]="BackgroundMagenta",f[f.BackgroundCyan=46]="BackgroundCyan",f[f.BackgroundWhite=47]="BackgroundWhite",f[f.SetBackground=48]="SetBackground",f[f.DefaultBackground=49]="DefaultBackground",f[f.DisableProportionalSpacing=50]="DisableProportionalSpacing",f[f.Framed=51]="Framed",f[f.Encircled=52]="Encircled",f[f.Overlined=53]="Overlined",f[f.NotFramedNotEncircled=54]="NotFramedNotEncircled",f[f.NotOverlined=55]="NotOverlined",f[f.SetUnderline=58]="SetUnderline",f[f.DefaultUnderline=59]="DefaultUnderline",f[f.IdeogramUnderlineOrRightSideLine=60]="IdeogramUnderlineOrRightSideLine",f[f.IdeogramDoubleUnderlineOrDoubleRightSideLine=61]="IdeogramDoubleUnderlineOrDoubleRightSideLine",f[f.IdeogramOverlineOrLeftSideLine=62]="IdeogramOverlineOrLeftSideLine",f[f.IdeogramDoubleOverlineOrDoubleLeftSideLine=63]="IdeogramDoubleOverlineOrDoubleLeftSideLine",f[f.IdeogramStressMarking=64]="IdeogramStressMarking",f[f.NoIdeogramAttributes=65]="NoIdeogramAttributes",f[f.Superscript=73]="Superscript",f[f.Subscript=74]="Subscript",f[f.NotSuperscriptNotSubscript=75]="NotSuperscriptNotSubscript",f[f.ForegroundBrightBlack=90]="ForegroundBrightBlack",f[f.ForegroundBrightRed=91]="ForegroundBrightRed",f[f.ForegroundBrightGreen=92]="ForegroundBrightGreen",f[f.ForegroundBrightYellow=93]="ForegroundBrightYellow",f[f.ForegroundBrightBlue=94]="ForegroundBrightBlue",f[f.ForegroundBrightMagenta=95]="ForegroundBrightMagenta",f[f.ForegroundBrightCyan=96]="ForegroundBrightCyan",f[f.ForegroundBrightWhite=97]="ForegroundBrightWhite",f[f.BackgroundBrightBlack=100]="BackgroundBrightBlack",f[f.BackgroundBrightRed=101]="BackgroundBrightRed",f[f.BackgroundBrightGreen=102]="BackgroundBrightGreen",f[f.BackgroundBrightYellow=103]="BackgroundBrightYellow",f[f.BackgroundBrightBlue=104]="BackgroundBrightBlue",f[f.BackgroundBrightMagenta=105]="BackgroundBrightMagenta",f[f.BackgroundBrightCyan=106]="BackgroundBrightCyan",f[f.BackgroundBrightWhite=107]="BackgroundBrightWhite"})(c||(c={}));var d;(function(f){f[f.Color256=5]="Color256",f[f.ColorRGB=2]="ColorRGB"})(d||(d={}));var g;(function(f){f[f.Black=0]="Black",f[f.Red=1]="Red",f[f.Green=2]="Green",f[f.Yellow=3]="Yellow",f[f.Blue=4]="Blue",f[f.Magenta=5]="Magenta",f[f.Cyan=6]="Cyan",f[f.White=7]="White",f[f.BrightBlack=8]="BrightBlack",f[f.BrightRed=9]="BrightRed",f[f.BrightGreen=10]="BrightGreen",f[f.BrightYellow=11]="BrightYellow",f[f.BrightBlue=12]="BrightBlue",f[f.BrightMagenta=13]="BrightMagenta",f[f.BrightCyan=14]="BrightCyan",f[f.BrightWhite=15]="BrightWhite"})(g||(g={}));var v;(function(f){f[f.BufferingOutput=0]="BufferingOutput",f[f.ControlSequenceStarted=1]="ControlSequenceStarted",f[f.ParsingControlSequence=2]="ParsingControlSequence"})(v||(v={}));class m{constructor(){fe(this,"_styles");fe(this,"_foregroundColor");fe(this,"_backgroundColor");fe(this,"_underlinedColor");fe(this,"_reversed");fe(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 m;if(this._styles&&this._styles.size){const w=new Set;this._styles.forEach(B=>w.add(B)),p._styles=w}return p._foregroundColor=this._foregroundColor,p._backgroundColor=this._backgroundColor,p._underlinedColor=this._underlinedColor,p._reversed=this._reversed,p._font=this._font,p}setStyle(p,...w){if(this._styles)for(const B of w)this._styles.delete(B);else this._styles=new Set;this._styles.add(p)}deleteStyles(...p){if(this._styles){for(const w of p)this._styles.delete(w);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,w){const B=(E,O)=>O instanceof Set?O.size?[...O]:void 0:O;return p===w||JSON.stringify(p,B)===JSON.stringify(w,B)}get styles(){return this._styles?[...this._styles]:void 0}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 y{constructor(){fe(this,"_id",i());fe(this,"_outputRuns",[]);fe(this,"_totalLength",0)}clearEntireLine(){this._totalLength&&(this._outputRuns=[new _(" ".repeat(this._totalLength))])}clearToEndOfLine(p){if(p=Math.max(p,0),p>=this._totalLength)return;if(p===0){this.clearEntireLine();return}let w=0,B,E;for(let I=0;I<this._outputRuns.length;I++){const L=this._outputRuns[I];if(p<w+L.text.length){B=L,E=I;break}w+=L.text.length}if(B===void 0||E===void 0)return;const O=p-w,F=" ".repeat(this._totalLength-p),A=[];if(!O)A.push(new _(F));else{const I=B.text.slice(0,O);A.push(new _(I,B.sgrState)),A.push(new _(F))}this.outputRuns.splice(E,this._outputRuns.length-E,...A)}clearToBeginningOfLine(p){if(p=Math.max(p,0),p===0)return;if(p>=this._totalLength){this.clearEntireLine();return}let w=0,B,E;for(let I=this._outputRuns.length-1;I>=0;I--){const L=this._outputRuns[I];if(p>=w-L.text.length){B=L,E=I;break}w-=L.text.length}if(B===void 0||E===void 0)return;const O=w-p,F=" ".repeat(p),A=[new _(F)];if(O){const I=B.text.slice(-O);A.push(new _(I,B.sgrState))}this.outputRuns.splice(0,this._outputRuns.length-E,...A)}insert(p,w,B){if(!p.length)return;if(w===this._totalLength){if(this._totalLength+=p.length,this._outputRuns.length){const M=this._outputRuns[this._outputRuns.length-1];if(m.equivalent(M.sgrState,B)){M.appendText(p);return}}this._outputRuns.push(new _(p,B));return}if(w>this._totalLength){const M=" ".repeat(w-this._totalLength);if(this._totalLength+=M.length+p.length,!B&&this._outputRuns.length){const W=this._outputRuns[this._outputRuns.length-1];if(!W.sgrState){W.appendText(M),W.appendText(p);return}}B?(this._outputRuns.push(new _(M)),this._outputRuns.push(new _(p,B))):this._outputRuns.push(new _(M+p))}let E=0,O;for(let M=0;M<this._outputRuns.length;M++){const W=this._outputRuns[M];if(w<E+W.text.length){O=M;break}E+=W.text.length}if(O===void 0){this._outputRuns.push(new _(p,B));return}if(w+p.length>=this._totalLength){const M=w-E,W=[];if(!M)W.push(new _(p,B));else{const ne=this._outputRuns[O],x=ne.text.slice(0,M);m.equivalent(ne.sgrState,B)?W.push(new _(x+p,B)):(W.push(new _(x,ne.sgrState)),W.push(new _(p,B)))}this.outputRuns.splice(O,1,...W),this._totalLength=E+M+p.length;return}let F=this._totalLength,A;for(let M=this._outputRuns.length-1;M>=0;M--){const W=this._outputRuns[M];if(w+p.length>F-W.text.length){A=M;break}F-=W.text.length}if(A===void 0){this._outputRuns.push(new _(p,B));return}const I=[],L=w-E;if(L){const M=this._outputRuns[O],W=M.text.slice(0,L);I.push(new _(W,M.sgrState))}I.push(new _(p,B));const Y=F-(w+p.length);if(Y){const M=this._outputRuns[A],W=M.text.slice(-Y);I.push(new _(W,M.sgrState))}this._outputRuns.splice(O,A-O+1,...I),this._outputRuns.length>1&&(this._outputRuns=_.optimizeOutputRuns(this._outputRuns)),this._totalLength=this._outputRuns.reduce((M,W)=>M+W.text.length,0)}get id(){return this._id}get outputRuns(){return this._outputRuns}}class _{constructor(p,w){fe(this,"_id",i());fe(this,"_sgrState");fe(this,"_text");this._sgrState=w,this._text=p}get sgrState(){return this._sgrState}static optimizeOutputRuns(p){const w=[p[0]];for(let B=1,E=0;B<p.length;B++){const O=p[B];m.equivalent(w[E].sgrState,O.sgrState)?w[E]._text+=O.text:w[++E]=O}return w}appendText(p){this._text+=p}get id(){return this._id}get format(){return this._sgrState}get text(){return this._text}}const k=(f,p,w)=>{const B=h(f,p);return Math.max(B,w)},h=(f,p)=>{const w=parseInt(f);return Number.isNaN(w)?p:w},b=f=>{const p=Math.max(Math.min(255,f),0).toString(16);return p.length===2?p:"0"+p}})})(Q,Q.exports);const T1=["Top","Right","Bottom","Left"];function zo(e,t,...r){const[n,o=n,i=n,l=o]=r,a=[n,o,i,l],s={};for(let u=0;u<a.length;u+=1)if(a[u]||a[u]===0){const c=e+T1[u]+t;s[c]=a[u]}return s}function au(...e){return zo("border","Width",...e)}function uu(...e){return zo("border","Style",...e)}function cu(...e){return zo("border","Color",...e)}const D1=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function Lo(e){return D1.includes(e)}function O1(...e){return Lo(e[0])?Object.assign({},uu(e[0]),e[1]&&au(e[1]),e[2]&&cu(e[2])):Object.assign({},au(e[0]),e[1]&&uu(e[1]),e[2]&&cu(e[2]))}function R1(...e){return Lo(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 A1(...e){return Lo(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 I1(...e){return Lo(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 z1(...e){return Lo(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 L1(e,t=e,r=e,n=t){return{borderBottomRightRadius:r,borderBottomLeftRadius:n,borderTopRightRadius:t,borderTopLeftRadius:e}}const M1=e=>typeof e=="string"&&/(\d+(\w+|%))/.test(e),fl=e=>typeof e=="number"&&!Number.isNaN(e),H1=e=>e==="initial",Lg=e=>e==="auto",j1=e=>e==="none",W1=["content","fit-content","max-content","min-content"],du=e=>W1.some(t=>e===t)||M1(e);function $1(...e){const t=e.length===1,r=e.length===2,n=e.length===3;if(t){const[o]=e;if(H1(o))return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(Lg(o))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if(j1(o))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(fl(o))return{flexGrow:o,flexShrink:1,flexBasis:0};if(du(o))return{flexGrow:1,flexShrink:1,flexBasis:o}}if(r){const[o,i]=e;if(fl(i))return{flexGrow:o,flexShrink:i,flexBasis:0};if(du(i))return{flexGrow:o,flexShrink:1,flexBasis:i}}if(n){const[o,i,l]=e;if(fl(o)&&fl(i)&&(Lg(l)||du(l)))return{flexGrow:o,flexShrink:i,flexBasis:l}}return{}}function U1(e,t=e){return{columnGap:e,rowGap:t}}const q1=/var\(.*\)/gi;function V1(e){return e===void 0||typeof e=="number"||typeof e=="string"&&!q1.test(e)}const K1=/^[a-zA-Z0-9\-_\\#;]+$/,Y1=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function fu(e){return e!==void 0&&typeof e=="string"&&K1.test(e)&&!Y1.test(e)}function X1(...e){if(e.some(i=>!V1(i)))return{};const t=e[0]!==void 0?e[0]:"auto",r=e[1]!==void 0?e[1]:fu(t)?t:"auto",n=e[2]!==void 0?e[2]:fu(t)?t:"auto",o=e[3]!==void 0?e[3]:fu(r)?r:"auto";return{gridRowStart:t,gridColumnStart:r,gridRowEnd:n,gridColumnEnd:o}}function Q1(...e){return zo("margin","",...e)}function J1(e,t=e){return{marginBlockStart:e,marginBlockEnd:t}}function Z1(e,t=e){return{marginInlineStart:e,marginInlineEnd:t}}function G1(...e){return zo("padding","",...e)}function ey(e,t=e){return{paddingBlockStart:e,paddingBlockEnd:t}}function ty(e,t=e){return{paddingInlineStart:e,paddingInlineEnd:t}}function ry(e,t=e){return{overflowX:e,overflowY:t}}function ny(...e){const[t,r=t,n=t,o=r]=e;return{top:t,right:r,bottom:n,left:o}}function oy(e,t,r){return Object.assign({outlineWidth:e},t&&{outlineStyle:t},r&&{outlineColor:r})}function iy(...e){return sy(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:ay(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 ly=["-moz-initial","inherit","initial","revert","unset"];function sy(e){return e.length===1&&ly.includes(e[0])}function ay(e){return e.length===1&&Array.isArray(e[0])?e[0]:[e]}function uy(e,...t){if(t.length===0)return dy(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 cy=["dashed","dotted","double","solid","wavy"];function dy(e){return cy.includes(e)}const gu=typeof window>"u"?global:window,pu="@griffel/";function Mg(e,t){return gu[Symbol.for(pu+e)]||(gu[Symbol.for(pu+e)]=t),gu[Symbol.for(pu+e)]}const Hg=Mg("DEBUG_RESET_CLASSES",{}),Mo=Mg("DEFINITION_LOOKUP_TABLE",{}),Ho="data-make-styles-bucket",fy="data-priority",hu="f",vu=7,Dn="___",jg=Dn.length+vu,gy=0,py=1,hy={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},mu="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function jo(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 vy(e){const t=e.length;if(t===vu)return e;for(let r=t;r<vu;r++)e+="0";return e}function Wg(e,t,r=[]){return Dn+vy(jo(e+t))}function $g(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 gl(e,t){const r={};for(const n in e){const[o,i]=$g(e[n],t);if(i===""){r[n]="";continue}const l=Wg(i,t),a=l+(o===""?"":" "+o);Mo[l]=[e[n],t],r[n]=a}return r}const pl={};function xe(){let e=null,t="",r="";const n=new Array(arguments.length);for(let d=0;d<arguments.length;d++){const g=arguments[d];if(typeof g=="string"&&g!==""){const v=g.indexOf(Dn);if(v===-1)t+=g+" ";else{const m=g.substr(v,jg);v>0&&(t+=g.slice(0,v)),r+=m,n[d]=m}}}if(r==="")return t.slice(0,-1);const o=pl[r];if(o!==void 0)return t+o;const i=[];for(let d=0;d<arguments.length;d++){const g=n[d];if(g){const v=Mo[g];v&&(i.push(v[gy]),e=v[py])}}const l=Object.assign.apply(Object,[{}].concat(i)),[a,s]=$g(l,e),u=Wg(s,e,n),c=u+" "+a;return pl[r]=c,Mo[u]=[l,e],t+c}const Ug={},qg=new Set,hl={getChildrenSequences:e=>{const t=Object.keys(pl).find(r=>pl[r].startsWith(e));return t?t.split(Dn).filter(r=>r.length).map(r=>Dn+r):[]},addCSSRule:e=>{qg.add(e)},addSequenceDetails:(e,t)=>{Object.entries(e).forEach(([r,n])=>{Ug[n.substring(0,jg)]={slotName:r,sourceURL:t}})},getCSSRules:()=>Array.from(qg),getSequenceDetails:e=>Ug[e]};function Vg(e,t){return Array.isArray(e)?t==="rtl"?e[1]:e[0]:e||""}function my(e,t,r,n){const o=e[0],i=e[1];return Object.entries(o).map(([l,a])=>{const s=Vg(a,i);let u;if(r&&t){const c=r.find(({className:d})=>d===s);!c&&t[0][l]?u=Vg(t[0][l],t[1]):c&&t[0][l]?u=(n?n.filter(({debugClassNames:g})=>g.filter(({className:v})=>v===s).length>0).length>0:!1)?c.className:c.overriddenBy:(!c&&!t[0][l]||c&&!t[0][l])&&(u=void 0)}return{className:s,overriddenBy:u}})}function Kg(e,t){const r=Mo[e];if(r===void 0)return;const n=t?Mo[t.sequenceHash]:void 0,o=my(r,n,t==null?void 0:t.debugClassNames,t==null?void 0:t.children),i={sequenceHash:e,direction:r[1],children:[],debugClassNames:o};return hl.getChildrenSequences(i.sequenceHash).reverse().forEach(a=>{const s=Kg(a,i);s&&i.children.push(s)}),i.children.length||(i.rules={},i.debugClassNames.forEach(({className:a})=>{const s=hl.getSequenceDetails(e);s&&(i.slot=s.slotName,i.sourceURL=s.sourceURL);const u=hl.getCSSRules().find(c=>c.includes(a));i.rules[a]=u})),i}function yy(e){if(Hg[e]===void 0)return;const n={sequenceHash:e,direction:"ltr",children:[],debugClassNames:[{className:e}]};n.rules={},n.slot="makeResetStyles()";const[{className:o}]=n.debugClassNames,i=hl.getCSSRules().filter(l=>l.includes(`.${o}`));return n.rules[o]=i.join(""),n}function ky(e,t){const r=e?Kg(e):void 0,n=t?yy(t):void 0;return!r&&!n?void 0:r?n?{sequenceHash:r.sequenceHash+n.sequenceHash,direction:r.direction,children:[r,n],debugClassNames:[...r.debugClassNames,...n.debugClassNames]}:r:n}function Z2(e){const t=e.defaultView;if(!t||t.__GRIFFEL_DEVTOOLS__)return;const r={getInfo:n=>{let o,i;for(const l of n.classList)l.startsWith(Dn)&&(o=l),Hg[l]&&(i=l);return ky(o,i)}};Object.defineProperty(t,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return r}})}const G2=(()=>{var e;try{return Boolean(typeof window<"u"&&((e=window.sessionStorage)===null||e===void 0?void 0:e.getItem("__GRIFFEL_DEVTOOLS__")))}catch{return!1}})();function by(e){return Array.isArray(e)?e:[e]}function wy(e,t,r,n){const o=[];if(n[Ho]=t,n[fy]=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 Yg=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,t,r)=>(e[t]=r,e),{});function By(e,t,r){return(e==="m"?e+t:e)+r}function _y(e,t,r,n,o={}){var i,l;const a=e==="m",s=(i=o.m)!==null&&i!==void 0?i:"0",u=(l=o.p)!==null&&l!==void 0?l:0,c=By(e,s,u);if(!n.stylesheets[c]){const d=t&&t.createElement("style"),g=wy(d,e,u,Object.assign({},n.styleElementAttributes,a&&{media:s}));n.stylesheets[c]=g,(t==null?void 0:t.head)&&d&&t.head.insertBefore(d,xy(t,r,e,n,o))}return n.stylesheets[c]}function Sy(e,t,r){var n,o;const i=t+((n=r.m)!==null&&n!==void 0?n:""),l=e.getAttribute(Ho)+((o=e.media)!==null&&o!==void 0?o:"");return i===l}function xy(e,t,r,n,o={}){var i,l;const a=Yg[r],s=(i=o.m)!==null&&i!==void 0?i:"",u=(l=o.p)!==null&&l!==void 0?l:0;let c=y=>a-Yg[y.getAttribute(Ho)],d=e.head.querySelectorAll(`[${Ho}]`);if(r==="m"){const y=e.head.querySelectorAll(`[${Ho}="${r}"]`);y.length&&(d=y,c=_=>n.compareMediaQueries(s,_.media))}const g=y=>Sy(y,r,o)?u-Number(y.getAttribute("data-priority")):c(y),v=d.length;let m=v-1;for(;m>=0;){const y=d.item(m);if(g(y)>0)return y.nextSibling;m--}return v>0?d.item(0):t?t.nextSibling:null}function Xg(e,t){try{e.insertRule(t)}catch{}}let Ey=0;const Cy=(e,t)=>e<t?-1:e>t?1:0;function Fy(e=typeof document>"u"?void 0:document,t={}){const{classNameHashSalt:r,unstable_filterCSSRule:n,insertionPoint:o,styleElementAttributes:i,compareMediaQueries:l=Cy}=t,a={classNameHashSalt:r,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(i),compareMediaQueries:l,id:`d${Ey++}`,insertCSSRules(s){for(const u in s){const c=s[u];for(let d=0,g=c.length;d<g;d++){const[v,m]=by(c[d]),y=_y(u,e,o||null,a,m);a.insertionCache[v]||(a.insertionCache[v]=u,n?n(v)&&Xg(y,v):Xg(y,v))}}}};return a}const yu=()=>{const e={};return function(r,n){e[r.id]===void 0&&(r.insertCSSRules(n),e[r.id]=!0)}};function Qg(e){return e.reduce(function(t,r){var n=r[0],o=r[1];return t[n]=o,t[o]=n,t},{})}function Ny(e){return typeof e=="boolean"}function Py(e){return typeof e=="function"}function Wo(e){return typeof e=="number"}function Ty(e){return e===null||typeof e>"u"}function Dy(e){return e&&typeof e=="object"}function Oy(e){return typeof e=="string"}function vl(e,t){return e.indexOf(t)!==-1}function Ry(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function ml(e,t,r,n){return t+Ry(r)+n}function Ay(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 Jg(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 Zg(e){var t=Jg(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 Iy(e){return!Ny(e)&&!Ty(e)}function zy(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 N={padding:function(t){var r=t.value;return Wo(r)?r:Zg(r)},textShadow:function(t){var r=t.value,n=zy(r).map(function(o){return o.replace(/(^|\s)(-*)([.|\d]+)/,function(i,l,a,s){if(s==="0")return i;var u=a===""?"-":"";return""+l+u+s})});return n.join(",")},borderColor:function(t){var r=t.value;return Zg(r)},borderRadius:function(t){var r=t.value;if(Wo(r))return r;if(vl(r,"/")){var n=r.split("/"),o=n[0],i=n[1],l=N.borderRadius({value:o.trim()}),a=N.borderRadius({value:i.trim()});return l+" / "+a}var s=Jg(r);switch(s.length){case 2:return s.reverse().join(" ");case 4:{var u=s[0],c=s[1],d=s[2],g=s[3];return[c,u,g,d].join(" ")}default:return r}},background:function(t){var r=t.value,n=t.valuesToConvert,o=t.isRtl,i=t.bgImgDirectionRegex,l=t.bgPosDirectionRegex;if(Wo(r))return r;var a=r.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return r=r.replace(a,N.backgroundPosition({value:a,valuesToConvert:n,isRtl:o,bgPosDirectionRegex:l})),N.backgroundImage({value:r,valuesToConvert:n,bgImgDirectionRegex:i})},backgroundImage:function(t){var r=t.value,n=t.valuesToConvert,o=t.bgImgDirectionRegex;return!vl(r,"url(")&&!vl(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 Ay(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 Wo(r)?r:N.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"),u=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+i+"(\\s*\\))","gi");return r.replace(l,ml).replace(a,ml).replace(s,ml).replace(u,ml)}};N.objectPosition=N.backgroundPosition,N.margin=N.padding,N.borderWidth=N.padding,N.boxShadow=N.textShadow,N.webkitBoxShadow=N.boxShadow,N.mozBoxShadow=N.boxShadow,N.WebkitBoxShadow=N.boxShadow,N.MozBoxShadow=N.boxShadow,N.borderStyle=N.borderColor,N.webkitTransform=N.transform,N.mozTransform=N.transform,N.WebkitTransform=N.transform,N.MozTransform=N.transform,N.transformOrigin=N.backgroundPosition,N.webkitTransformOrigin=N.transformOrigin,N.mozTransformOrigin=N.transformOrigin,N.WebkitTransformOrigin=N.transformOrigin,N.MozTransformOrigin=N.transformOrigin,N.webkitTransition=N.transition,N.mozTransition=N.transition,N.WebkitTransition=N.transition,N.MozTransition=N.transition,N.webkitTransitionProperty=N.transitionProperty,N.mozTransitionProperty=N.transitionProperty,N.WebkitTransitionProperty=N.transitionProperty,N.MozTransitionProperty=N.transitionProperty,N["text-shadow"]=N.textShadow,N["border-color"]=N.borderColor,N["border-radius"]=N.borderRadius,N["background-image"]=N.backgroundImage,N["background-position"]=N.backgroundPosition,N["background-position-x"]=N.backgroundPositionX,N["object-position"]=N.objectPosition,N["border-width"]=N.padding,N["box-shadow"]=N.textShadow,N["-webkit-box-shadow"]=N.textShadow,N["-moz-box-shadow"]=N.textShadow,N["border-style"]=N.borderColor,N["-webkit-transform"]=N.transform,N["-moz-transform"]=N.transform,N["transform-origin"]=N.transformOrigin,N["-webkit-transform-origin"]=N.transformOrigin,N["-moz-transform-origin"]=N.transformOrigin,N["-webkit-transition"]=N.transition,N["-moz-transition"]=N.transition,N["transition-property"]=N.transitionProperty,N["-webkit-transition-property"]=N.transitionProperty,N["-moz-transition-property"]=N.transitionProperty;var Gg=Qg([["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"]]),Ly=["content"],ep=Qg([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),My=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),Hy=new RegExp("(left)|(right)");function tp(e){return Object.keys(e).reduce(function(t,r){var n=e[r];if(Oy(n)&&(n=n.trim()),vl(Ly,r))return t[r]=n,t;var o=ku(r,n),i=o.key,l=o.value;return t[i]=l,t},Array.isArray(e)?[]:{})}function ku(e,t){var r=/\/\*\s?@noflip\s?\*\//.test(t),n=r?e:jy(e),o=r?t:Wy(n,t);return{key:n,value:o}}function jy(e){return Gg[e]||e}function Wy(e,t){if(!Iy(t))return t;if(Dy(t))return tp(t);var r=Wo(t),n=Py(t),o=r||n?t:t.replace(/ !important.*?$/,""),i=!r&&o.length!==t.length,l=N[e],a;return l?a=l({value:o,valuesToConvert:ep,propertiesToConvert:Gg,isRtl:!0,bgImgDirectionRegex:My,bgPosDirectionRegex:Hy}):a=ep[o]||o,i?a+" !important":a}const $y=/[A-Z]/g,Uy=/^ms-/,bu={};function qy(e){return"-"+e.toLowerCase()}function On(e){if(Object.prototype.hasOwnProperty.call(bu,e))return bu[e];if(e.substr(0,2)==="--")return e;const t=e.replace($y,qy);return bu[e]=Uy.test(t)?"-"+t:t}function rp(e){return e.charAt(0)==="&"?e.slice(1):e}var $o="-moz-",Bt="-webkit-",np="comm",yl="rule",wu="decl",Vy="@media",Ky="@import",Yy="@supports",Xy="@namespace",Qy="@keyframes",op="@layer",ip=Math.abs,kl=String.fromCharCode,Jy=Object.assign;function Zy(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function lp(e){return e.trim()}function sp(e,t){return(e=t.exec(e))?e[0]:e}function qe(e,t,r){return e.replace(t,r)}function ap(e,t,r){return e.indexOf(t,r)}function Pe(e,t){return e.charCodeAt(t)|0}function Rn(e,t,r){return e.slice(t,r)}function _t(e){return e.length}function up(e){return e.length}function Xr(e,t){return t.push(e),e}function Gy(e,t){return e.map(t).join("")}var bl=1,An=1,cp=0,et=0,ae=0,In="";function wl(e,t,r,n,o,i,l,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:bl,column:An,length:l,return:"",siblings:a}}function Bu(e,t){return Jy(wl("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ek(){return ae}function tk(){return ae=et>0?Pe(In,--et):0,An--,ae===10&&(An=1,bl--),ae}function ct(){return ae=et<cp?Pe(In,et++):0,An++,ae===10&&(An=1,bl++),ae}function Fr(){return Pe(In,et)}function Bl(){return et}function _l(e,t){return Rn(In,e,t)}function zn(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 dp(e){return bl=An=1,cp=_t(In=e),et=0,[]}function fp(e){return In="",e}function Sl(e){return lp(_l(et-1,_u(e===91?e+2:e===40?e+1:e)))}function rk(e){return fp(ok(dp(e)))}function nk(e){for(;(ae=Fr())&&ae<33;)ct();return zn(e)>2||zn(ae)>3?"":" "}function ok(e){for(;ct();)switch(zn(ae)){case 0:Xr(gp(et-1),e);break;case 2:Xr(Sl(ae),e);break;default:Xr(kl(ae),e)}return e}function ik(e,t){for(;--t&&ct()&&!(ae<48||ae>102||ae>57&&ae<65||ae>70&&ae<97););return _l(e,Bl()+(t<6&&Fr()==32&&ct()==32))}function _u(e){for(;ct();)switch(ae){case e:return et;case 34:case 39:e!==34&&e!==39&&_u(ae);break;case 40:e===41&&_u(e);break;case 92:ct();break}return et}function lk(e,t){for(;ct()&&e+ae!==47+10;)if(e+ae===42+42&&Fr()===47)break;return"/*"+_l(t,et-1)+"*"+kl(e===47?e:ct())}function gp(e){for(;!zn(Fr());)ct();return _l(e,et)}function pp(e){return fp(xl("",null,null,null,[""],e=dp(e),0,[0],e))}function xl(e,t,r,n,o,i,l,a,s){for(var u=0,c=0,d=l,g=0,v=0,m=0,y=1,_=1,k=1,h=0,b="",f=o,p=i,w=n,B=b;_;)switch(m=h,h=ct()){case 40:if(m!=108&&Pe(B,d-1)==58){ap(B+=qe(Sl(h),"&","&\f"),"&\f",ip(u?a[u-1]:0))!=-1&&(k=-1);break}case 34:case 39:case 91:B+=Sl(h);break;case 9:case 10:case 13:case 32:B+=nk(m);break;case 92:B+=ik(Bl()-1,7);continue;case 47:switch(Fr()){case 42:case 47:Xr(sk(lk(ct(),Bl()),t,r,s),s),(zn(m||1)==5||zn(Fr()||1)==5)&&_t(B)&&Rn(B,-1,void 0)!==" "&&(B+=" ");break;default:B+="/"}break;case 123*y:a[u++]=_t(B)*k;case 125*y:case 59:case 0:switch(h){case 0:case 125:_=0;case 59+c:k==-1&&(B=qe(B,/\f/g,"")),v>0&&(_t(B)-d||y===0&&m===47)&&Xr(v>32?vp(B+";",n,r,d-1,s):vp(qe(B," ","")+";",n,r,d-2,s),s);break;case 59:B+=";";default:if(Xr(w=hp(B,t,r,u,c,o,a,b,f=[],p=[],d,i),i),h===123)if(c===0)xl(B,t,w,w,f,i,d,a,p);else{switch(g){case 99:if(Pe(B,3)===110)break;case 108:if(Pe(B,2)===97)break;default:c=0;case 100:case 109:case 115:}c?xl(e,w,w,n&&Xr(hp(e,w,w,0,0,o,a,b,o,f=[],d,p),p),o,p,d,a,n?f:p):xl(B,w,w,w,[""],p,0,a,p)}}u=c=v=0,y=k=1,b=B="",d=l;break;case 58:d=1+_t(B),v=m;default:if(y<1){if(h==123)--y;else if(h==125&&y++==0&&tk()==125)continue}switch(B+=kl(h),h*y){case 38:k=c>0?1:(B+="\f",-1);break;case 44:a[u++]=(_t(B)-1)*k,k=1;break;case 64:Fr()===45&&(B+=Sl(ct())),g=Fr(),c=d=_t(b=B+=gp(Bl())),h++;break;case 45:m===45&&_t(B)==2&&(y=0)}}return i}function hp(e,t,r,n,o,i,l,a,s,u,c,d){for(var g=o-1,v=o===0?i:[""],m=up(v),y=0,_=0,k=0;y<n;++y)for(var h=0,b=Rn(e,g+1,g=ip(_=l[y])),f=e;h<m;++h)(f=lp(_>0?v[h]+" "+b:qe(b,/&\f/g,v[h])))&&(s[k++]=f);return wl(e,t,r,o===0?yl:a,s,u,c,d)}function sk(e,t,r,n){return wl(e,t,r,np,kl(ek()),Rn(e,2,-2),0,n)}function vp(e,t,r,n,o){return wl(e,t,r,wu,Rn(e,0,n),Rn(e,n+1,-1),n,o)}function Ln(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function mp(e,t,r,n){switch(e.type){case op:if(e.children.length)break;case Ky:case Xy:case wu:return e.return=e.return||e.value;case np:return"";case Qy:return e.return=e.value+"{"+Ln(e.children,n)+"}";case yl:if(!_t(e.value=e.props.join(",")))return""}return _t(r=Ln(e.children,n))?e.return=e.value+"{"+r+"}":""}function yp(e){var t=up(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 kp(e){return function(t){t.root||(t=t.return)&&e(t)}}const ak=e=>{switch(e.type){case yl:if(typeof e.props=="string")return;e.props=e.props.map(t=>t.indexOf(":global(")===-1?t:rk(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 bp(e,t,r){switch(Zy(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(Pe(e,9)===102||Pe(e,t+1)===116)return Bt+e+e;break;case 4789:return $o+e+e;case 5349:case 4246:case 6968:return Bt+e+$o+e+e;case 6187:if(!sp(e,/grab/))return qe(qe(qe(e,/(zoom-|grab)/,Bt+"$1"),/(image-set)/,Bt+"$1"),e,"")+e;case 5495:case 3959:return qe(e,/(image-set\([^]*)/,Bt+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return qe(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(_t(e)-1-t>6)switch(Pe(e,t+1)){case 102:if(Pe(e,t+3)===108)return qe(e,/(.+:)(.+)-([^]+)/,"$1"+Bt+"$2-$3$1"+$o+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ap(e,"stretch")?bp(qe(e,"stretch","fill-available"),t)+e:e}break}return e}function wp(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case wu:e.return=bp(e.value,e.length);return;case yl:if(e.length)return Gy(e.props,function(o){switch(sp(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ln([Bu(e,{props:[qe(o,/:(read-\w+)/,":"+$o+"$1")]})],n);case"::placeholder":return Ln([Bu(e,{props:[qe(o,/:(plac\w+)/,":"+Bt+"input-$1")]}),Bu(e,{props:[qe(o,/:(plac\w+)/,":"+$o+"$1")]})],n)}return""})}}function uk(e){switch(e.type){case"@container":case Vy:case Yy:case op:return!0}return!1}const ck=e=>{uk(e)&&Array.isArray(e.children)&&e.children.sort((t,r)=>t.props[0]>r.props[0]?1:-1)};function dk(){}function fk(e,t){const r=[];return Ln(pp(e),yp([ak,t?ck:dk,wp,mp,kp(n=>r.push(n))])),r}const gk=/,( *[^ &])/g;function pk(e){return"&"+rp(e.replace(gk,",&$1"))}function Bp(e,t,r){let n=t;return r.length>0&&(n=r.reduceRight((o,i)=>`${pk(i)} { ${o} }`,t)),`${e}{${n}}`}function _p(e,t){const{className:r,selectors:n,property:o,rtlClassName:i,rtlProperty:l,rtlValue:a,value:s}=e,{container:u,layer:c,media:d,supports:g}=t,v=`.${r}`,m=Array.isArray(s)?`${s.map(_=>`${On(o)}: ${_}`).join(";")};`:`${On(o)}: ${s};`;let y=Bp(v,m,n);if(l&&i){const _=`.${i}`,k=Array.isArray(a)?`${a.map(h=>`${On(l)}: ${h}`).join(";")};`:`${On(l)}: ${a};`;y+=Bp(_,k,n)}return d&&(y=`@media ${d} { ${y} }`),c&&(y=`@layer ${c} { ${y} }`),g&&(y=`@supports ${g} { ${y} }`),u&&(y=`@container ${u} { ${y} }`),fk(y,!0)}function hk(e){let t="";for(const r in e){const n=e[r];if(typeof n=="string"||typeof n=="number"){t+=On(r)+":"+n+";";continue}if(Array.isArray(n))for(const o of n)t+=On(r)+":"+o+";"}return t}function Sp(e){let t="";for(const r in e)t+=`${r}{${hk(e[r])}}`;return t}function xp(e,t){const r=`@keyframes ${e} {${t}}`,n=[];return Ln(pp(r),yp([mp,wp,kp(o=>n.push(o))])),n}const vk={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 Ep(e,t){return e.length===0?t:`${e} and ${t}`}function mk(e){return e.substr(0,6)==="@media"}function yk(e){return e.substr(0,6)==="@layer"}const kk=/^(:|\[|>|&)/;function bk(e){return kk.test(e)}function wk(e){return e.substr(0,9)==="@supports"}function Bk(e){return e.substring(0,10)==="@container"}function _k(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const Cp={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Fp(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 Cp[r.slice(4,8)]||Cp[r.slice(3,5)]||"d"}return"d"}function El(e,t){return e&&t+e}function Np(e){return El(e.container,"c")+El(e.media,"m")+El(e.layer,"l")+El(e.supports,"s")}function Su(e,t,r){const n=e+Np(r)+t,o=jo(n),i=o.charCodeAt(0);return i>=48&&i<=57?String.fromCharCode(i+17)+o.slice(1):o}function Cl({property:e,selector:t,salt:r,value:n},o){return hu+jo(r+t+Np(o)+e+n.trim())}function Sk(e){return e===mu}function xu(e){return e.replace(/>\s+/g,">")}function tE(e,t){}function Pp(e){return vk[e]}function Tp(e){var t;return(t=e==null?void 0:e[0])!==null&&t!==void 0?t:0}function Eu(e,t,r,n){e[t]=n?[r,n]:r}function Dp(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function Cu(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&&l!==void 0||(e[t]=[]),r&&e[t].push(Dp(r,a)),n&&e[t].push(Dp(n,a))}function Gt(e,t="",r=[],n={container:"",layer:"",media:"",supports:""},o={},i={},l){for(const a in e){if(hy.hasOwnProperty(a)){e[a];continue}const s=e[a];if(s!=null){if(Sk(s)){const u=xu(r.join("")),c=Su(u,a,n);Eu(o,c,0,void 0);continue}if(typeof s=="string"||typeof s=="number"){const u=xu(r.join("")),c=Pp(a);if(c){const f=c[1],p=Object.fromEntries(f.map(w=>[w,mu]));Gt(p,t,r,n,o,i)}const d=Su(u,a,n),g=Cl({value:s.toString(),salt:t,selector:u,property:a},n),v=l&&{key:a,value:l}||ku(a,s),m=v.key!==a||v.value!==s,y=m?Cl({value:v.value.toString(),property:v.key,salt:t,selector:u},n):void 0,_=m?{rtlClassName:y,rtlProperty:v.key,rtlValue:v.value}:void 0,k=Fp(r,n),[h,b]=_p(Object.assign({className:g,selectors:r,property:a,value:s},_),n);Eu(o,d,g,y),Cu(i,k,h,b,n.media,Tp(c))}else if(a==="animationName"){const u=Array.isArray(s)?s:[s],c=[],d=[];for(const g of u){const v=Sp(g),m=Sp(tp(g)),y=hu+jo(v);let _;const k=xp(y,v);let h=[];v===m?_=y:(_=hu+jo(m),h=xp(_,m));for(let b=0;b<k.length;b++)Cu(i,"k",k[b],h[b],n.media,0);c.push(y),d.push(_)}Gt({animationName:c.join(", ")},t,r,n,o,i,d.join(", "))}else if(Array.isArray(s)){if(s.length===0)continue;const u=xu(r.join("")),c=Pp(a);if(c){const p=c[1],w=Object.fromEntries(p.map(B=>[B,mu]));Gt(w,t,r,n,o,i)}const d=Su(u,a,n),g=Cl({value:s.map(p=>(p!=null?p:"").toString()).join(";"),salt:t,selector:u,property:a},n),v=s.map(p=>ku(a,p));if(!!v.some(p=>p.key!==v[0].key))continue;const y=v[0].key!==a||v.some((p,w)=>p.value!==s[w]),_=y?Cl({value:v.map(p=>{var w;return((w=p==null?void 0:p.value)!==null&&w!==void 0?w:"").toString()}).join(";"),salt:t,property:v[0].key,selector:u},n):void 0,k=y?{rtlClassName:_,rtlProperty:v[0].key,rtlValue:v.map(p=>p.value)}:void 0,h=Fp(r,n),[b,f]=_p(Object.assign({className:g,selectors:r,property:a,value:s},k),n);Eu(o,d,g,_),Cu(i,h,b,f,n.media,Tp(c))}else if(_k(s)){if(bk(a))Gt(s,t,r.concat(rp(a)),n,o,i);else if(mk(a)){const u=Ep(n.media,a.slice(6).trim());Gt(s,t,r,Object.assign({},n,{media:u}),o,i)}else if(yk(a)){const u=(n.layer?`${n.layer}.`:"")+a.slice(6).trim();Gt(s,t,r,Object.assign({},n,{layer:u}),o,i)}else if(wk(a)){const u=Ep(n.supports,a.slice(9).trim());Gt(s,t,r,Object.assign({},n,{supports:u}),o,i)}else if(Bk(a)){const u=a.slice(10).trim();Gt(s,t,r,Object.assign({},n,{container:u}),o,i)}}}}return[o,i]}function xk(e,t=""){const r={},n={};for(const o in e){const i=e[o],[l,a]=Gt(i,t);r[o]=l,Object.keys(a).forEach(s=>{n[s]=(n[s]||[]).concat(a[s])})}return[r,n]}function Ek(e,t=yu){const r=t();let n=null,o=null,i=null,l=null;function a(s){const{dir:u,renderer:c}=s;n===null&&([n,o]=xk(e,c.classNameHashSalt));const d=u==="ltr";return d?i===null&&(i=gl(n,u)):l===null&&(l=gl(n,u)),r(c,o),d?i:l}return a}function Op(e,t,r=yu){const n=r();let o=null,i=null;function l(a){const{dir:s,renderer:u}=a,c=s==="ltr";return c?o===null&&(o=gl(e,s)):i===null&&(i=gl(e,s)),n(u,t),c?o:i}return l}function Ck(e,t,r,n=yu){const o=n();function i(l){const{dir:a,renderer:s}=l,u=a==="ltr"?e:t||e;return o(s,Array.isArray(r)?{r}:r),u}return i}const Rp={border:O1,borderLeft:R1,borderBottom:A1,borderRight:I1,borderTop:z1,borderColor:cu,borderStyle:uu,borderRadius:L1,borderWidth:au,flex:$1,gap:U1,gridArea:X1,margin:Q1,marginBlock:J1,marginInline:Z1,padding:G1,paddingBlock:ey,paddingInline:ty,overflow:ry,inset:ny,outline:oy,transition:iy,textDecoration:uy};function Fk(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Ap=sr["useInsertionEffect"]?sr["useInsertionEffect"]:void 0,Fu=()=>{const e={};return function(r,n){if(Ap&&Fk()){Ap(()=>{r.insertCSSRules(n)},[r,n]);return}e[r.id]===void 0&&(r.insertCSSRules(n),e[r.id]=!0)}},Nk=S.exports.createContext(Fy());function Uo(){return S.exports.useContext(Nk)}const Ip=S.exports.createContext("ltr"),Pk=({children:e,dir:t})=>S.exports.createElement(Ip.Provider,{value:t},e);function Nu(){return S.exports.useContext(Ip)}function zp(e){const t=Ek(e,Fu);return function(){const n=Nu(),o=Uo();return t({dir:n,renderer:o})}}function tt(e,t){const r=Op(e,t,Fu);return function(){const o=Nu(),i=Uo();return r({dir:o,renderer:i})}}function St(e,t,r){const n=Ck(e,t,r,Fu);return function(){const i=Nu(),l=Uo();return n({dir:i,renderer:l})}}function Tk(e,t){if(t){const r=Object.keys(t).reduce((n,o)=>`${n}--${o}: ${t[o]}; `,"");return`${e} { ${r} }`}return`${e} {}`}const Fl=Symbol.for("fui.slotRenderFunction"),Mn=Symbol.for("fui.slotElementType"),Lp=Symbol.for("fui.slotClassNameProp");function xt(e,t){const{defaultProps:r,elementType:n}=t,o=Dk(e),i={...r,...o,[Mn]:n,[Lp]:o==null?void 0:o.className};return o&&typeof o.children=="function"&&(i[Fl]=o.children,i.children=r==null?void 0:r.children),i}function Nl(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return xt(e,t)}function Dk(e){return typeof e=="string"||typeof e=="number"||Array.isArray(e)||S.exports.isValidElement(e)?{children:e}:e}function Ok(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!S.exports.isValidElement(e)}function Mp(e){return Boolean(e==null?void 0:e.hasOwnProperty(Mn))}const ee=(...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},Rk=ee(["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"]),Ak=ee(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Ik=ee(["itemID","itemProp","itemRef","itemScope","itemType"]),pe=ee(Ak,Rk,Ik),zk=ee(pe,["form"]),Hp=ee(pe,["height","loop","muted","preload","src","width"]),Lk=ee(Hp,["poster"]),Mk=ee(pe,["start"]),Hk=ee(pe,["value"]),jk=ee(pe,["download","href","hrefLang","media","rel","target","type"]),Wk=ee(pe,["dateTime"]),Pl=ee(pe,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),$k=ee(Pl,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Uk=ee(Pl,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),qk=ee(Pl,["form","multiple","required"]),Vk=ee(pe,["selected","value"]),Kk=ee(pe,["cellPadding","cellSpacing"]),Yk=pe,Xk=ee(pe,["colSpan","rowSpan","scope"]),Qk=ee(pe,["colSpan","headers","rowSpan","scope"]),Jk=ee(pe,["span"]),Zk=ee(pe,["span"]),Gk=ee(pe,["disabled","form"]),eb=ee(pe,["acceptCharset","action","encType","encType","method","noValidate","target"]),tb=ee(pe,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),rb=ee(pe,["alt","crossOrigin","height","src","srcSet","useMap","width"]),nb=ee(pe,["open","onCancel","onClose"]);function ob(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 ib={label:zk,audio:Hp,video:Lk,ol:Mk,li:Hk,a:jk,button:Pl,input:$k,textarea:Uk,select:qk,option:Vk,table:Kk,tr:Yk,th:Xk,td:Qk,colGroup:Jk,col:Zk,fieldset:Gk,form:eb,iframe:tb,img:rb,time:Wk,dialog:nb};function lb(e,t,r){const n=e&&ib[e]||pe;return n.as=1,ob(t,n,r)}const er=(e,t,r)=>{var n;return lb((n=t.as)!==null&&n!==void 0?n:e,t,r)};function sb(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]}const jp=S.exports.createContext(void 0),ab=jp.Provider,Wp=S.exports.createContext(void 0),ub="",cb=Wp.Provider;function db(){var e;return(e=S.exports.useContext(Wp))!==null&&e!==void 0?e:ub}const fb=S.exports.createContext(void 0).Provider,$p=S.exports.createContext(void 0),gb={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},pb=$p.Provider;function dt(){var e;return(e=S.exports.useContext($p))!==null&&e!==void 0?e:gb}const Up=S.exports.createContext(void 0),hb=Up.Provider;function vb(){var e;return(e=S.exports.useContext(Up))!==null&&e!==void 0?e:{}}const Pu=S.exports.createContext(void 0),mb=()=>{},yb=Pu.Provider,Nr=e=>{var t,r;return(r=(t=S.exports.useContext(Pu))===null||t===void 0?void 0:t[e])!==null&&r!==void 0?r:mb},qp=S.exports.createContext(void 0);qp.Provider;function kb(){return S.exports.useContext(qp)}function bb(e){return typeof e=="function"}const Vp=e=>{const[t,r]=S.exports.useState(()=>e.defaultState===void 0?e.initialState:wb(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=>{bb(i)&&i(n.current)},[]);return Bb(e.state)?[e.state,o]:[t,r]};function wb(e){return typeof e=="function"}const Bb=e=>{const[t]=S.exports.useState(()=>e!==void 0);return t};function Tu(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const _b={current:0},Sb=S.exports.createContext(void 0);function xb(){var e;return(e=S.exports.useContext(Sb))!==null&&e!==void 0?e:_b}const ft=Tu()?S.exports.useLayoutEffect:S.exports.useEffect,ye=e=>{const t=S.exports.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return ft(()=>{t.current=e},[e]),S.exports.useCallback((...r)=>{const n=t.current;return n(...r)},[t])};function Eb(){const e=S.exports.useRef(!0);return e.current?(e.current=!1,!0):e.current}function Cb(){return S.exports.useReducer(e=>e+1,0)[1]}const Kp=S.exports.createContext(void 0);Kp.Provider;function Fb(){return S.exports.useContext(Kp)||""}function Du(e="fui-",t){const r=xb(),n=Fb(),o=sr["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 Tl(...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 Yp=(e,t)=>!!(e!=null&&e.contains(t)),Nb=e=>{const{targetDocument:t}=dt(),r=t==null?void 0:t.defaultView,{refs:n,callback:o,element:i,disabled:l,disabledFocusOnIframe:a,contains:s=Yp}=e,u=S.exports.useRef(void 0);Tb({element:i,disabled:a||l,callback:o,refs:n,contains:s});const c=S.exports.useRef(!1),d=ye(v=>{if(c.current){c.current=!1;return}const m=v.composedPath()[0];n.every(_=>!s(_.current||null,m))&&!l&&o(v)}),g=ye(v=>{c.current=n.some(m=>s(m.current||null,v.target))});S.exports.useEffect(()=>{if(l)return;let v=Pb(r);const m=y=>{if(y===v){v=void 0;return}d(y)};return i==null||i.addEventListener("click",m,!0),i==null||i.addEventListener("touchstart",m,!0),i==null||i.addEventListener("contextmenu",m,!0),i==null||i.addEventListener("mousedown",g,!0),u.current=r==null?void 0:r.setTimeout(()=>{v=void 0},1),()=>{i==null||i.removeEventListener("click",m,!0),i==null||i.removeEventListener("touchstart",m,!0),i==null||i.removeEventListener("contextmenu",m,!0),i==null||i.removeEventListener("mousedown",g,!0),r==null||r.clearTimeout(u.current),v=void 0}},[d,i,l,g,r])},Pb=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}},Ou="fuiframefocus",Tb=e=>{const{disabled:t,element:r,callback:n,contains:o=Yp,pollDuration:i=1e3,refs:l}=e,a=S.exports.useRef(),s=ye(u=>{l.every(d=>!o(d.current||null,u.target))&&!t&&n(u)});S.exports.useEffect(()=>{if(!t)return r==null||r.addEventListener(Ou,s,!0),()=>{r==null||r.removeEventListener(Ou,s,!0)}},[r,t,s]),S.exports.useEffect(()=>{var u;if(!t)return a.current=r==null||(u=r.defaultView)===null||u===void 0?void 0:u.setInterval(()=>{const c=r==null?void 0:r.activeElement;if((c==null?void 0:c.tagName)==="IFRAME"||(c==null?void 0:c.tagName)==="WEBVIEW"){const d=new CustomEvent(Ou,{bubbles:!0});c.dispatchEvent(d)}},i),()=>{var c;r==null||(c=r.defaultView)===null||c===void 0||c.clearTimeout(a.current)}},[r,t,i])},Db=e=>{const{refs:t,callback:r,element:n,disabled:o,contains:i}=e,l=ye(a=>{const s=i||((d,g)=>!!(d!=null&&d.contains(g))),u=a.composedPath()[0];t.every(d=>!s(d.current||null,u))&&!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])},Ob=e=>-1,Rb=e=>{};function Xp(){const{targetDocument:e}=dt(),t=e==null?void 0:e.defaultView,r=t?t.setTimeout:Ob,n=t?t.clearTimeout:Rb;return sb(r,n)}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 Qp(e){return Boolean(e.type.isFluentTriggerComponent)}function Ab(e,t){return typeof e=="function"?e(t):e?Jp(e,t):e||null}function Jp(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(Qp(e)){const r=Jp(e.props.children,t);return S.exports.cloneElement(e,void 0,r)}else return S.exports.cloneElement(e,t)}function Zp(e){return S.exports.isValidElement(e)?Qp(e)?Zp(e.props.children):e:null}function Ib(e){return e&&!!e._virtual}function zb(e){return Ib(e)&&e._virtual.parent||null}function Gp(e,t={}){if(!e)return null;if(!t.skipVirtual){const n=zb(e);if(n)return n}const r=e.parentNode;return r&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r}function eh(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const n=Gp(t,{skipVirtual:r.has(t)});if(r.add(t),n===e)return!0;t=n}}return!1}function th(e,t){if(!e)return;const r=e;r._virtual||(r._virtual={}),r._virtual.parent=t}function Lb(e,t){return{...t,[Mn]:e}}function rh(e,t){return function(n,o,i,l,a){return Mp(o)?t(Lb(n,o),null,i,l,a):Mp(n)?t(n,o,i,l,a):e(n,o,i,l,a)}}function nh(e){const{as:t,[Lp]:r,[Mn]:n,[Fl]:o,...i}=e,l=i,a=typeof n=="string"&&t!=null?t:n;return typeof a!="string"&&t&&(l.as=t),{elementType:a,props:l,renderFunction:o}}var Ru={exports:{}},Dl={};/**34* @license React35* react-jsx-runtime.production.min.js36*37* Copyright (c) Facebook, Inc. and its affiliates.38*39* This source code is licensed under the MIT license found in the40* LICENSE file in the root directory of this source tree.41*/var Mb=S.exports,Hb=Symbol.for("react.element"),jb=Symbol.for("react.fragment"),Wb=Object.prototype.hasOwnProperty,$b=Mb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ub={key:!0,ref:!0,__self:!0,__source:!0};function oh(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)Wb.call(t,n)&&!Ub.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:Hb,type:e,key:i,ref:l,props:o,_owner:$b.current}}Dl.Fragment=jb,Dl.jsx=oh,Dl.jsxs=oh,function(e){e.exports=Dl}(Ru);const qb=bc(Ru.exports),Qr=Me({__proto__:null,default:qb},[Ru.exports]),Vb=(e,t,r)=>{const{elementType:n,renderFunction:o,props:i}=nh(e),l={...i,...t};return o?Qr.jsx(S.exports.Fragment,{children:o(n,l)},r):Qr.jsx(n,l,r)},Kb=(e,t,r)=>{const{elementType:n,renderFunction:o,props:i}=nh(e),l={...i,...t};return o?Qr.jsx(S.exports.Fragment,{children:o(n,{...l,children:Qr.jsxs(S.exports.Fragment,{children:l.children},void 0)})},r):Qr.jsxs(n,l,r)},J=rh(Qr.jsx,Vb),Jr=rh(Qr.jsxs,Kb),Au=S.exports.createContext(void 0),Yb={},Xb=Au.Provider,Qb=()=>S.exports.useContext(Au)?S.exports.useContext(Au):Yb,Jb=(e,t)=>J(pb,{value:t.provider,children:J(ab,{value:t.theme,children:J(cb,{value:t.themeClassName,children:J(yb,{value:t.customStyleHooks_unstable,children:J(fb,{value:t.tooltip,children:J(Pk,{dir:t.textDirection,children:J(Xb,{value:t.iconDirection,children:J(hb,{value:t.overrides_unstable,children:Jr(e.root,{children:[Tu()?null:J("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});var Zb=typeof WeakRef<"u",ih=class{constructor(e){Zb&&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}},tr="keyborg:focusin",Vo="keyborg:focusout";function Gb(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 Iu=!1;function Zr(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function ew(e){const t=e;Iu||(Iu=Gb(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=s;const n=new Set,o=c=>{const d=c.target;if(!d)return;const g=new CustomEvent(Vo,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:c}});d.dispatchEvent(g)},i=c=>{const d=c.target;if(!d)return;let g=c.composedPath()[0];const v=new Set;for(;g;)g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(v.add(g),g=g.host):g=g.parentNode;for(const m of n){const y=m.deref();(!y||!v.has(y))&&(n.delete(m),y&&(y.removeEventListener("focusin",i,!0),y.removeEventListener("focusout",o,!0)))}l(d,c.relatedTarget||void 0)},l=(c,d,g)=>{var v;const m=c.shadowRoot;if(m){for(const k of n)if(k.deref()===m)return;m.addEventListener("focusin",i,!0),m.addEventListener("focusout",o,!0),n.add(new ih(m));return}const y={relatedTarget:d,originalEvent:g},_=new CustomEvent(tr,{cancelable:!0,bubbles:!0,composed:!0,detail:y});_.details=y,(Iu||a.lastFocusedProgrammatically)&&(y.isFocusedProgrammatically=c===((v=a.lastFocusedProgrammatically)==null?void 0:v.deref()),a.lastFocusedProgrammatically=void 0),c.dispatchEvent(_)},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 c=t.__keyborgData;return c&&(c.lastFocusedProgrammatically=new ih(this)),r.apply(this,arguments)}let u=t.document.activeElement;for(;u&&u.shadowRoot;)l(u),u=u.shadowRoot.activeElement;s.__keyborgNativeFocus=r}function tw(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 rw=500,lh=0,nw=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"+ ++lh,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(tr,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),ew(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),tw(e);const t=e.document;t.removeEventListener(tr,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))zu.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)},rw)}}},zu=class u0{constructor(t,r){this._cb=[],this._id="k"+ ++lh,this._win=t;const n=t.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new nw(t,r),t.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,r){return new u0(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 sh(e,t){return zu.create(e,t)}function ah(e){zu.dispose(e)}/*!42* Copyright (c) Microsoft Corporation. All rights reserved.43* Licensed under the MIT License.44*//*!45* Copyright (c) Microsoft Corporation. All rights reserved.46* Licensed under the MIT License.47*/const rr="data-tabster",ow="data-tabster-dummy",uh=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),Hn={EscapeGroupper:1,Restorer:2,Deloser:3},jn={Source:0,Target:1},iw={Auto:0,Inside:1,Outside:2};/*!48* Copyright (c) Microsoft Corporation. All rights reserved.49* Licensed under the MIT License.50*/function gt(e,t){var r;return(r=e.storageEntry(t))===null||r===void 0?void 0:r.tabster}function ch(e,t,r){var n,o;const i=r||e._noop?void 0:t.getAttribute(rr);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 d=JSON.parse(i);if(typeof d!="object")throw new Error(`Value is not a JSON object, got '${i}'.`);a={string:i,object:d}}catch{}else return;else if(!l)return;l||(l=e.storageEntry(t,!0)),l.tabster||(l.tabster={});const s=l.tabster||{},u=((o=l.attr)===null||o===void 0?void 0:o.object)||{},c=(a==null?void 0:a.object)||{};for(const d of Object.keys(u))if(!c[d]){if(d==="root"){const g=s[d];g&&e.root.onRoot(g,!0)}switch(d){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const g=s[d];g&&(g.dispose(),delete s[d]);break;case"observed":delete s[d],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete s[d];break}}for(const d of Object.keys(c)){const g=c.sys;switch(d){case"deloser":s.deloser?s.deloser.setProps(c.deloser):e.deloser&&(s.deloser=e.deloser.createDeloser(t,c.deloser));break;case"root":s.root?s.root.setProps(c.root):s.root=e.root.createRoot(t,c.root,g),e.root.onRoot(s.root);break;case"modalizer":s.modalizer?s.modalizer.setProps(c.modalizer):e.modalizer&&(s.modalizer=e.modalizer.createModalizer(t,c.modalizer,g));break;case"restorer":s.restorer?s.restorer.setProps(c.restorer):e.restorer&&c.restorer&&(s.restorer=e.restorer.createRestorer(t,c.restorer));break;case"focusable":s.focusable=c.focusable;break;case"groupper":s.groupper?s.groupper.setProps(c.groupper):e.groupper&&(s.groupper=e.groupper.createGroupper(t,c.groupper,g));break;case"mover":s.mover?s.mover.setProps(c.mover):e.mover&&(s.mover=e.mover.createMover(t,c.mover,g));break;case"observed":e.observedElement&&(s.observed=c.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":s.uncontrolled=c.uncontrolled;break;case"outline":e.outline&&(s.outline=c.outline);break;case"sys":s.sys=c.sys;break;default:console.error(`Unknown key '${d}' in data-tabster attribute value.`)}}a?l.attr=a:(Object.keys(s).length===0&&(delete l.tabster,delete l.attr),e.storageEntry(t,!1))}/*!51* Copyright (c) Microsoft Corporation. All rights reserved.52* Licensed under the MIT License.53*/const lw="tabster:focusin",sw="tabster:focusout",aw="tabster:movefocus",uw="tabster:modalizer:active",cw="tabster:modalizer:inactive",Lu="tabster:restorer:restore-focus",dw="tabster:root:focus",fw="tabster:root:blur",gw=typeof CustomEvent<"u"?CustomEvent:function(){};class Pr extends gw{constructor(t,r){super(t,{bubbles:!0,cancelable:!0,composed:!0,detail:r}),this.details=r}}class pw extends Pr{constructor(t){super(lw,t)}}class hw extends Pr{constructor(t){super(sw,t)}}class Ko extends Pr{constructor(t){super(aw,t)}}class vw extends Pr{constructor(t){super(uw,t)}}class mw extends Pr{constructor(t){super(cw,t)}}class dh extends Pr{constructor(){super(Lu)}}class yw extends Pr{constructor(t){super(dw,t)}}class kw extends Pr{constructor(t){super(fw,t)}}/*!54* Copyright (c) Microsoft Corporation. All rights reserved.55* Licensed under the MIT License.56*/const R={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},getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};function bw(e){for(const t of Object.keys(e))R[t]=e[t]}/*!57* Copyright (c) Microsoft Corporation. All rights reserved.58* Licensed under the MIT License.59*/let Mu,ww=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Mu=!1}catch{Mu=!0}const Hu=100;function Gr(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 Bw(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 _w(e){const t=e.__tabsterInstanceContext;return new((t==null?void 0:t.basics.WeakMap)||WeakMap)}function Sw(e){return!!e.querySelector(uh)}class fh{constructor(t){this._target=t}deref(){return this._target}static cleanup(t,r){return t._target?r||!ju(t._target.ownerDocument,t._target)?(delete t._target,!0):!1:!0}}class Et{constructor(t,r,n){const o=Gr(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 gh(e,t){const r=Gr(e);r.fakeWeakRefs=r.fakeWeakRefs.filter(n=>!fh.cleanup(n,t))}function ph(e){const t=Gr(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=Pw(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,gh(e),ph(e)},2*60*1e3))}function xw(e){const t=Gr(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}function hh(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const n=Mu?r:{acceptNode:r};return R.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,n,!1)}function Ew(e){e.__shouldIgnoreFocus=!0}function vh(e){return!!e.__shouldIgnoreFocus}function Cw(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 Fw(e,t){const r=Gr(e);let n=t.__tabsterElementUID;return n||(n=t.__tabsterElementUID=Cw(e())),!r.elementByUId[n]&&ju(t.ownerDocument,t)&&(r.elementByUId[n]=new Et(e,t)),n}function mh(e,t){const r=Gr(e);for(const n of Object.keys(r.elementByUId)){const o=r.elementByUId[n],i=o&&o.get();i&&t&&!R.nodeContains(t,i)||delete r.elementByUId[n]}}function ju(e,t){return R.nodeContains(e==null?void 0:e.body,t)}function Nw(e,t){const r=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return r&&r.call(e,t)}function Pw(e){return e.basics.WeakRef}let Tw=0;class Wu{constructor(t,r,n){const o=t.getWindow;this._tabster=t,this._element=new Et(o,r),this._props={...n},this.id="i"+ ++Tw}getElement(){return this._element.get()}getProps(){return this._props}setProps(t){this._props={...t}}}class Ol{constructor(t,r,n,o,i){var l;this._focusIn=c=>{if(this._fixedTarget){const g=this._fixedTarget.get();g&&Zr(g);return}const d=this.input;if(this.onFocusIn&&d){const g=c.relatedTarget;this.onFocusIn(this,this._isBackward(!0,d,g),g)}},this._focusOut=c=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const d=this.input;if(this.onFocusOut&&d){const g=c.relatedTarget;this.onFocusOut(this,this._isBackward(!1,d,g),g)}};const a=t(),s=a.document.createElement("i");s.tabIndex=0,s.setAttribute("role","none"),s.setAttribute(ow,""),s.setAttribute("aria-hidden","true");const u=s.style;u.position="fixed",u.width=u.height="1px",u.opacity="0.001",u.zIndex="-1",u.setProperty("content-visibility","hidden"),Ew(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=R.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 yh={Root:1,Modalizer:2,Mover:3,Groupper:4};class Rl{constructor(t,r,n,o,i,l){this._element=r,this._instance=new Ow(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 Ol(t.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(a){let s,u;if(r.tagName==="BODY")s=r,u=n&&o||!n&&!o?R.getFirstElementChild(r):null;else{n&&(!o||o&&!t.focusable.isFocusable(r,!1,!0,!0))?(s=r,u=o?r.firstElementChild:null):(s=R.getParentElement(r),u=n&&o||!n&&!o?r:R.getNextElementSibling(r));let c,d;do c=n&&o||!n&&!o?R.getPreviousElementSibling(u):u,d=qu(c),d===r?u=n&&o||!n&&!o?c:R.getNextElementSibling(c):d=null;while(d)}s!=null&&s.dispatchEvent(new Ko({by:"root",owner:s,next:null,relatedEvent:i}))&&(R.insertBefore(s,a,u),Zr(a))}}static addPhantomDummyWithTarget(t,r,n,o){const l=new Ol(t.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Et(t.getWindow,o)).input;if(l){let a,s;Sw(r)&&!n?(a=r,s=R.getFirstElementChild(r)):(a=R.getParentElement(r),s=n?r:R.getNextElementSibling(r)),a&&R.insertBefore(a,l,s)}}}class Dw{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=R.getParentNode(i);(!a||this._changedParents.has(a))&&l()}}}this._changedParents=new WeakSet},Hu)))},this._win=t}add(t,r){!this._dummyCallbacks.has(t)&&this._win&&(this._dummyElements.push(new Et(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+Hu<=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()},Hu))}}class Ow{constructor(t,r,n,o,i,l,a){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(v,m,y)=>{this._onFocus(!0,v,m,y)},this._onFocusOut=(v,m,y)=>{this._onFocus(!1,v,m,y)},this.moveOut=v=>{var m;const y=this._firstDummy,_=this._lastDummy;if(y&&_){this._ensurePosition();const k=y.input,h=_.input,b=(m=this._element)===null||m===void 0?void 0:m.get();if(k&&h&&b){let f;v?(k.tabIndex=0,f=k):(h.tabIndex=0,f=h),f&&Zr(f)}}},this.moveOutWithDefaultAction=(v,m)=>{var y;const _=this._firstDummy,k=this._lastDummy;if(_&&k){this._ensurePosition();const h=_.input,b=k.input,f=(y=this._element)===null||y===void 0?void 0:y.get();if(h&&b&&f){let p;v?!_.isOutside&&this._tabster.focusable.isFocusable(f,!0,!0,!0)?p=f:(_.useDefaultAction=!0,h.tabIndex=0,p=h):(k.useDefaultAction=!0,b.tabIndex=0,p=b),p&&f.dispatchEvent(new Ko({by:"root",owner:f,next:null,relatedEvent:m}))&&Zr(p)}}},this.setTabbable=(v,m)=>{var y,_;for(const h of this._wrappers)if(h.manager===v){h.tabbable=m;break}const k=this._getCurrent();if(k){const h=k.tabbable?0:-1;let b=(y=this._firstDummy)===null||y===void 0?void 0:y.input;b&&(b.tabIndex=h),b=(_=this._lastDummy)===null||_===void 0?void 0:_.input,b&&(b.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=v=>{var m,y;const _=((m=this._firstDummy)===null||m===void 0?void 0:m.input)||((y=this._lastDummy)===null||y===void 0?void 0:y.input),k=this._transformElements,h=new Set;let b=0,f=0;const p=this._getWindow();for(let w=_;w&&w.nodeType===Node.ELEMENT_NODE;w=R.getParentElement(w)){let B=v.get(w);if(B===void 0){const E=p.getComputedStyle(w).transform;E&&E!=="none"&&(B={scrollTop:w.scrollTop,scrollLeft:w.scrollLeft}),v.set(w,B||null)}B&&(h.add(w),k.has(w)||w.addEventListener("scroll",this._addTransformOffsets),b+=B.scrollTop,f+=B.scrollLeft)}for(const w of k)h.has(w)||w.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=h,()=>{var w,B;(w=this._firstDummy)===null||w===void 0||w.setTopLeft(b,f),(B=this._lastDummy)===null||B===void 0||B.setTopLeft(b,f)}};const s=r.get();if(!s)throw new Error("No element");this._tabster=t,this._getWindow=t.getWindow,this._callForDefaultAction=a;const u=s.__tabsterDummy;if((u||this)._wrappers.push({manager:n,priority:o,tabbable:!0}),u)return u;s.__tabsterDummy=this;const c=i==null?void 0:i.dummyInputsPosition,d=s.tagName;this._isOutside=c?c===iw.Outside:(l||d==="UL"||d==="OL"||d==="TABLE")&&!(d==="LI"||d==="TD"||d==="TH"),this._firstDummy=new Ol(this._getWindow,this._isOutside,{isFirst:!0},r),this._lastDummy=new Ol(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 c of this._transformElements)c.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const s=this._getWindow();this._addTimer&&(s.clearTimeout(this._addTimer),delete this._addTimer);const u=(o=this._firstDummy)===null||o===void 0?void 0:o.input;u&&this._tabster._dummyObserver.remove(u),(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=R.getParentNode(o);if(a){const s=R.getNextSibling(o);s!==l&&R.insertBefore(a,l,s),R.getPreviousElementSibling(o)!==i&&R.insertBefore(a,i,o)}}else{R.getLastElementChild(o)!==l&&R.appendChild(o,l);const a=R.getFirstElementChild(o);a&&a!==i&&a.parentNode&&R.insertBefore(a.parentNode,i,a)}}}function kh(e){let t=null;for(let r=R.getLastElementChild(e);r;r=R.getLastElementChild(r))t=r;return t||void 0}function $u(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 Rw(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 Uu(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function Aw(e){if(!Uu(e))return;const t=e.name;let r=Array.from(R.getElementsByName(e,t)),n;return r=r.filter(o=>Uu(o)?(o.checked&&(n=o),!0):!1),{name:t,buttons:new Set(r),checked:n}}function qu(e){var t;return((t=e==null?void 0:e.__tabsterDummyContainer)===null||t===void 0?void 0:t.get())||null}/*!60* Copyright (c) Microsoft Corporation. All rights reserved.61* Licensed under the MIT License.62*/function bh(e,t){const r=JSON.stringify(e);return t===!0?r:{[rr]:r}}function Iw(e,t){for(const r of Object.keys(t)){const n=t[r];n?e[r]=n:delete e[r]}}function zw(e,t,r){let n;if(r){const o=e.getAttribute(rr);if(o)try{n=JSON.parse(o)}catch{}}n||(n={}),Iw(n,t),Object.keys(n).length>0?e.setAttribute(rr,bh(n,!0)):e.removeAttribute(rr)}class wh extends Rl{constructor(t,r,n,o){super(t,r,yh.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){Zr(s);return}}(l=i.input)===null||l===void 0||l.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=t,this._setFocused=n}}class Lw extends Wu{constructor(t,r,n,o,i){super(t,r,o),this._isFocused=!1,this._setFocused=u=>{var c;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===u)return;const d=this._element.get();d&&(u?(this._isFocused=!0,(c=this._dummyManager)===null||c===void 0||c.setTabbable(!1),d.dispatchEvent(new yw({element:d}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var g;delete this._setFocusedTimer,this._isFocused=!1,(g=this._dummyManager)===null||g===void 0||g.setTabbable(!0),d.dispatchEvent(new kw({element:d}))},0))},this._onFocusIn=u=>{const c=this._tabster.getParent,d=this._element.get();let g=u.composedPath()[0];do{if(g===d){this._setFocused(!0);return}g=g&&c(g)}while(g)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=n;const l=t.getWindow;this.uid=Fw(l,r),this._sys=i,(t.controlTab||t.rootDummyInputs)&&this.addDummyInputs();const s=l().document;s.addEventListener(tr,this._onFocusIn),s.addEventListener(Vo,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new wh(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var t;this._onDispose(this);const r=this._tabster.getWindow(),n=r.document;n.removeEventListener(tr,this._onFocusIn),n.removeEventListener(Vo,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&&wh.moveWithPhantomDummy(this._tabster,o,!0,t,r)}}_add(){}_remove(){}}class he{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 zw(i,{root:l},!0),ch(this._tabster,i),(n=gt(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 Lw(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:u}=n,c=t.getParent;t.drainInitQueue();let d,g,v,m,y=!1,_,k,h,b,f=u||r;const p={};for(;f&&(!d||s);){const B=gt(t,f);if(s&&h===void 0){const I=f.dir;I&&(h=I.toLowerCase()==="rtl")}if(!B){f=c(f);continue}const E=f.tagName;(B.uncontrolled||E==="IFRAME"||E==="WEBVIEW")&&t.focusable.isVisible(f)&&(b=f),!m&&((o=B.focusable)===null||o===void 0?void 0:o.excludeFromMover)&&!v&&(y=!0);const O=B.modalizer,F=B.groupper,A=B.mover;!g&&O&&(g=O),!v&&F&&(!g||O)&&(g?(!F.isActive()&&F.getProps().tabbability&&g.userId!==((i=t.modalizer)===null||i===void 0?void 0:i.activeId)&&(g=void 0,v=F),k=F):v=F),!m&&A&&(!g||O)&&(!F||f!==r)&&f.contains(r)&&(m=A,_=!!v&&v!==F),B.root&&(d=B.root),!((l=B.focusable)===null||l===void 0)&&l.ignoreKeydown&&Object.assign(p,B.focusable.ignoreKeydown),f=c(f)}if(!d){const B=t.root;B._autoRoot&&!((a=r.ownerDocument)===null||a===void 0)&&a.body&&(d=B._autoRootCreate())}return v&&!m&&(_=!0),d?{root:d,modalizer:g,groupper:v,mover:m,groupperBeforeMover:_,modalizerInGroupper:k,rtl:s?!!h:void 0,uncontrolled:b,excludedFromMover:y,ignoreKeydown:B=>!!p[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=gt(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}}/*!63* Copyright (c) Microsoft Corporation. All rights reserved.64* Licensed under the MIT License.65*/class Bh{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))}}/*!66* Copyright (c) Microsoft Corporation. All rights reserved.67* Licensed under the MIT License.68*/class Mw{constructor(t){this._tabster=t}dispose(){}getProps(t){const r=gt(this._tabster,t);return r&&r.focusable||{}}isFocusable(t,r,n,o){return Nw(t,uh)&&(r||t.tabIndex!==-1)?(n||this.isVisible(t))&&(o||this.isAccessible(t)):!1}isVisible(t){if(!t.ownerDocument||t.nodeType!==Node.ELEMENT_NODE||Rw(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=R.getParentElement(n)){const o=gt(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:u,useActiveModalizer:c,ignoreAccessibility:d,modalizerId:g,isBackward:v,onElement:m}=r;n||(n={});const y=[];let{acceptCondition:_}=r;const k=!!_;if(!a)return null;_||(_=p=>this.isFocusable(p,u,!1,d));const h={container:a,modalizerUserId:g===void 0&&c?(o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId:g||((l=(i=he.getTabsterContext(this._tabster,a))===null||i===void 0?void 0:i.modalizer)===null||l===void 0?void 0:l.userId),from:s||a,isBackward:v,isFindAll:t,acceptCondition:_,hasCustomCondition:k,includeProgrammaticallyFocusable:u,ignoreAccessibility:d,cachedGrouppers:{},cachedRadioGroups:{}},b=hh(a.ownerDocument,a,p=>this._acceptElement(p,h));if(!b)return null;const f=p=>{var w,B;const E=(w=h.foundElement)!==null&&w!==void 0?w:h.foundBackward;return E&&y.push(E),t?E&&(h.found=!1,delete h.foundElement,delete h.foundBackward,delete h.fromCtx,h.from=E,m&&!m(E))?!1:!!(E||p):(E&&n&&(n.uncontrolled=(B=he.getTabsterContext(this._tabster,E))===null||B===void 0?void 0:B.uncontrolled),!!(p&&!E))};if(s||(n.outOfDOMOrder=!0),s&&R.nodeContains(a,s))b.currentNode=s;else if(v){const p=kh(a);if(!p)return null;if(this._acceptElement(p,h)===NodeFilter.FILTER_ACCEPT&&!f(!0))return h.skippedFocusable&&(n.outOfDOMOrder=!0),y;b.currentNode=p}do v?b.previousNode():b.nextNode();while(f());return h.skippedFocusable&&(n.outOfDOMOrder=!0),y.length?y:null}_acceptElement(t,r){var n,o,i;if(r.found)return NodeFilter.FILTER_ACCEPT;const l=r.foundBackward;if(l&&(t===l||!R.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(!R.nodeContains(a,t)||qu(t)||R.nodeContains(r.rejectElementsFrom,t))return NodeFilter.FILTER_REJECT;const s=r.currentCtx=he.getTabsterContext(this._tabster,t);if(!s)return NodeFilter.FILTER_SKIP;if(vh(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 this.isVisible(t)&&((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 u,c=r.fromCtx;c||(c=r.fromCtx=he.getTabsterContext(this._tabster,r.from));const d=c==null?void 0:c.mover;let g=s.groupper,v=s.mover;if(u=(i=this._tabster.modalizer)===null||i===void 0?void 0:i.acceptElement(t,r),u!==void 0&&(r.skippedFocusable=!0),u===void 0&&(g||v||d)){const m=g==null?void 0:g.getElement(),y=d==null?void 0:d.getElement();let _=v==null?void 0:v.getElement();if(_&&R.nodeContains(y,_)&&R.nodeContains(a,y)&&(!m||!v||R.nodeContains(y,m))&&(v=d,_=y),m){if(m===a||!R.nodeContains(a,m))g=void 0;else if(!R.nodeContains(m,t))return NodeFilter.FILTER_REJECT}if(_){if(!R.nodeContains(a,_))v=void 0;else if(!R.nodeContains(_,t))return NodeFilter.FILTER_REJECT}g&&v&&(_&&m&&!R.nodeContains(m,_)?v=void 0:g=void 0),g&&(u=g.acceptElement(t,r)),v&&(u=v.acceptElement(t,r))}if(u===void 0&&(u=r.acceptCondition(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,u===NodeFilter.FILTER_SKIP&&this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0)),u===NodeFilter.FILTER_ACCEPT&&!r.found){if(!r.isFindAll&&Uu(t)&&!t.checked){const m=t.name;let y=r.cachedRadioGroups[m];if(y||(y=Aw(t),y&&(r.cachedRadioGroups[m]=y)),(y==null?void 0:y.checked)&&y.checked!==t)return NodeFilter.FILTER_SKIP}r.isBackward?(r.foundBackward=t,u=NodeFilter.FILTER_SKIP):(r.found=!0,r.foundElement=t)}return u}}/*!69* Copyright (c) Microsoft Corporation. All rights reserved.70* Licensed under the MIT License.71*/const _h={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!72* Copyright (c) Microsoft Corporation. All rights reserved.73* Licensed under the MIT License.74*/function Hw(e,t){var r;const n=e.getParent;let o=t;do{const i=(r=gt(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 Sh={[Hn.Restorer]:0,[Hn.Deloser]:1,[Hn.EscapeGroupper]:2};class ke extends Bh{constructor(t,r){super(),this._init=()=>{const n=this._win(),o=n.document;o.addEventListener(tr,this._onFocusIn,!0),o.addEventListener(Vo,this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const i=R.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!==_h.Tab||n.ctrlKey)return;const o=this.getVal();if(!o||!o.ownerDocument||o.contentEditable==="true")return;const i=this._tabster,l=i.controlTab,a=he.getTabsterContext(i,o);if(!a||a.ignoreKeydown(n))return;const s=n.shiftKey,u=ke.findNextTabbable(i,a,void 0,o,void 0,s,!0),c=a.root.getElement();if(!c)return;const d=u==null?void 0:u.element,g=Hw(i,o);if(d){const v=u.uncontrolled;if(a.uncontrolled||R.nodeContains(v,o)){if(!u.outOfDOMOrder&&v===a.uncontrolled||g&&!R.nodeContains(g,d))return;Rl.addPhantomDummyWithTarget(i,o,s,d);return}if(v&&i.focusable.isVisible(v)||d.tagName==="IFRAME"&&i.focusable.isVisible(d)){c.dispatchEvent(new Ko({by:"root",owner:c,next:d,relatedEvent:n}))&&Rl.moveWithPhantomDummy(i,v!=null?v:d,!1,s,n);return}(l||(u==null?void 0:u.outOfDOMOrder))&&c.dispatchEvent(new Ko({by:"root",owner:c,next:d,relatedEvent:n}))&&(n.preventDefault(),n.stopImmediatePropagation(),Zr(d))}else!g&&c.dispatchEvent(new Ko({by:"root",owner:c,next:null,relatedEvent:n}))&&a.root.moveOutWithDefaultAction(s,n)},this._onChanged=(n,o)=>{var i,l;if(n)n.dispatchEvent(new pw(o));else{const a=(i=this._lastVal)===null||i===void 0?void 0:i.get();if(a){const s={...o},u=he.getTabsterContext(this._tabster,a),c=(l=u==null?void 0:u.modalizer)===null||l===void 0?void 0:l.userId;c&&(s.modalizerId=c),a.dispatchEvent(new hw(s))}}},this._tabster=t,this._win=r,t.queueInit(this._init)}dispose(){super.dispose();const t=this._win(),r=t.document;r.removeEventListener(tr,this._onFocusIn,!0),r.removeEventListener(Vo,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 ke._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,r){var n,o;let i=ke._lastResetElement,l=i&&i.get();l&&R.nodeContains(r,l)&&delete ke._lastResetElement,l=(o=(n=t._nextVal)===null||n===void 0?void 0:n.element)===null||o===void 0?void 0:o.get(),l&&R.nodeContains(r,l)&&delete t._nextVal,i=t._lastVal,l=i&&i.get(),l&&R.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&&!ju(r.ownerDocument,r))&&(this._lastVal=r=void 0),r}focus(t,r,n,o){return this._tabster.focusable.isFocusable(t,r,!1,n)?(t.focus({preventScroll:o}),!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=he.getTabsterContext(this._tabster,o);a&&(l=(n=ke.findNextTabbable(this._tabster,a,o,void 0,void 0,!t,i))===null||n===void 0?void 0:n.element)}return l&&!R.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"),ke._lastResetElement=new Et(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(Sh[t]>Sh[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=ke._lastResetElement)===null||o===void 0?void 0:o.get();if(ke._lastResetElement=void 0,s===t||vh(t))return;l.isFocusedProgrammatically=n;const u=he.getTabsterContext(this._tabster,t),c=(i=u==null?void 0:u.modalizer)===null||i===void 0?void 0:i.userId;c&&(l.modalizerId=c)}const a=this._nextVal={element:t?new Et(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 Et(this._win,t))}static findNextTabbable(t,r,n,o,i,l,a){const s=n||r.root.getElement();if(!s)return null;let u=null;const c=ke._isTabbingTimer,d=t.getWindow();c&&d.clearTimeout(c),ke.isTabbing=!0,ke._isTabbingTimer=d.setTimeout(()=>{delete ke._isTabbingTimer,ke.isTabbing=!1},0);const g=r.modalizer,v=r.groupper,m=r.mover,y=_=>{if(u=_.findNextTabbable(o,i,l,a),o&&!(u!=null&&u.element)){const k=_!==g&&R.getParentElement(_.getElement());if(k){const h=he.getTabsterContext(t,o,{referenceElement:k});if(h){const b=_.getElement(),f=l?b:b&&kh(b)||b;f&&(u=ke.findNextTabbable(t,h,n,f,k,l,a),u&&(u.outOfDOMOrder=!0))}}}};if(v&&m)y(r.groupperBeforeMover?v:m);else if(v)y(v);else if(m)y(m);else if(g)y(g);else{const _={container:s,currentElement:o,referenceElement:i,ignoreAccessibility:a,useActiveModalizer:!0},k={};u={element:t.focusable[l?"findPrev":"findNext"](_,k),outOfDOMOrder:k.outOfDOMOrder,uncontrolled:k.uncontrolled}}return u}}ke.isTabbing=!1;/*!75* Copyright (c) Microsoft Corporation. All rights reserved.76* Licensed under the MIT License.77*/class jw extends Bh{constructor(t){super(),this._onChange=r=>{this.setVal(r,void 0)},this._keyborg=sh(t()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),ah(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())}}/*!78* Copyright (c) Microsoft Corporation. All rights reserved.79* Licensed under the MIT License.80*/let Ww=0;const Vu="aria-hidden";class $w extends Rl{constructor(t,r,n){super(r,t,yh.Modalizer,n),this._setHandlers((o,i)=>{var l,a;const s=t.get(),u=s&&((l=he.getRoot(r,s))===null||l===void 0?void 0:l.getElement()),c=o.input;let d;if(u&&c){const g=qu(c),v=he.getTabsterContext(r,g||c);v&&(d=(a=ke.findNextTabbable(r,v,u,c,void 0,i,!0))===null||a===void 0?void 0:a.element),d&&Zr(d)}})}}class Uw extends Wu{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 $w(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 Et(this._tabster.getWindow,r)):o>=0&&n.splice(o,1)}this._dispatchEvent(t)}}focused(t){return t||(this._wasFocused=++Ww),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 R.nodeContains(this.getElement(),t)}findNextTabbable(t,r,n,o){var i,l;if(!this.getElement())return null;const s=this._tabster;let u=null,c=!1,d;const g=t&&((i=he.getRoot(s,t))===null||i===void 0?void 0:i.getElement());if(g){const v={container:g,currentElement:t,referenceElement:r,ignoreAccessibility:o,useActiveModalizer:!0},m={};u=s.focusable[n?"findPrev":"findNext"](v,m),!u&&this._props.isTrapped&&((l=s.modalizer)===null||l===void 0?void 0:l.activeId)?(u=s.focusable[n?"findLast":"findFirst"]({container:g,ignoreAccessibility:o,useActiveModalizer:!0},m),u===null&&(u=t),c=!0):c=!!m.outOfDOMOrder,d=m.uncontrolled}return{element:u,uncontrolled:d,outOfDOMOrder:c}}_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 vw(a):new mw(a);l.dispatchEvent(s),s.defaultPrevented&&(o=!0)}}return o}_remove(){}}class qw{constructor(t,r,n){this._onModalizerDispose=i=>{const l=i.id,a=i.userId,s=this._parts[a];if(delete this._modalizers[l],s&&(delete s[l],Object.keys(s).length===0)){delete this._parts[a];const u=this._activationHistory,c=[];let d;for(let g=u.length;g--;){const v=u[g];v!==a&&v!==d&&(d=v,(v||c.length>0)&&c.unshift(v))}if(this._activationHistory=c,this.activeId===a){const g=c[0],v=g?Object.values(this._parts[g])[0]:void 0;this.setActive(v)}}},this._onKeyDown=i=>{var l;if(i.key!==_h.Escape)return;const a=this._tabster,s=a.focusedElement.getFocusedElement();if(s){const u=he.getTabsterContext(a,s),c=u==null?void 0:u.modalizer;if(u&&!u.groupper&&(c==null?void 0:c.isActive())&&!u.ignoreKeydown(i)){const d=c.userId;if(d){const g=this._parts[d];if(g){const v=Object.keys(g).map(m=>{var y;const _=g[m],k=_.getElement();let h;return k&&(h=(y=gt(a,k))===null||y===void 0?void 0:y.groupper),_&&k&&h?{el:k,focusedSince:_.focused(!0)}:{focusedSince:0}}).filter(m=>m.focusedSince>0).sort((m,y)=>m.focusedSince>y.focusedSince?-1:m.focusedSince<y.focusedSince?1:0);if(v.length){const m=v[0].el;m&&((l=a.groupper)===null||l===void 0||l.handleKeyPress(m,i,!0))}}}}}},this._onFocus=(i,l)=>{var a;const s=this._tabster,u=i&&he.getTabsterContext(s,i);if(!u||!i)return;const c=this._augMap;for(let m=i;m;m=R.getParentElement(m))c.has(m)&&(c.delete(m),$u(s,m,Vu));let d=u.modalizer;const g=gt(s,i),v=g==null?void 0:g.modalizer;if(v&&(v.focused(),v.userId===this.activeId&&g.groupper)){const m=s.getParent(i),y=m&&((a=he.getTabsterContext(s,m))===null||a===void 0?void 0:a.modalizer);if(y)d=y;else{this.setActive(void 0);return}}if(d==null||d.focused(),(d==null?void 0:d.userId)===this.activeId){this.currentIsOthersAccessible=d==null?void 0:d.getProps().isOthersAccessible;return}if(l.isFocusedProgrammatically||this.currentIsOthersAccessible||(d==null?void 0:d.getProps().isAlwaysAccessible))this.setActive(d);else{const m=this._win();m.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=m.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._activationHistory=[],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 Uw(this._tabster,t,this._onModalizerDispose,r,n,this.activeElements),l=i.id,a=r.id;this._modalizers[l]=i;let s=this._parts[a];s||(s=this._parts[a]={}),s[l]=i;const u=(o=this._tabster.focusedElement.getFocusedElement())!==null&&o!==void 0?o:null;return t!==u&&R.nodeContains(t,u)&&(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)return;if(this.activeId=r,n){const i=this._parts[n];if(i)for(const l of Object.keys(i))i[l].makeActive(!1)}if(r){const i=this._parts[r];if(i)for(const l of Object.keys(i))i[l].makeActive(!0)}this.currentIsOthersAccessible=t==null?void 0:t.getProps().isOthersAccessible,this.hiddenUpdate();const o=this._activationHistory;o[0]!==r&&(r!==void 0||o.length>0)&&o.unshift(r)}focus(t,r,n){const o=this._tabster,i=he.getTabsterContext(o,t),l=i==null?void 0:i.modalizer;if(l){this.setActive(l);const a=l.getProps(),s=l.getElement();if(s){if(r===void 0&&(r=a.isNoFocusFirst),!r&&o.keyboardNavigation.isNavigatingWithKeyboard()&&o.focusedElement.focusFirst({container:s})||(n===void 0&&(n=a.isNoFocusDefault),!n&&o.focusedElement.focusDefault(s)))return!0;o.focusedElement.resetFocus(s)}}return!1}activate(t){var r;const n=t?(r=he.getTabsterContext(this._tabster,t))===null||r===void 0?void 0:r.modalizer:void 0;return!t||n?(this.setActive(n),!0):!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&&(R.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,u=s?Array.from(R.querySelectorAll(n,s)):[],c=[];for(const k of Object.keys(i)){const h=i[k];for(const b of Object.keys(h)){const f=h[b],p=f.getElement(),B=f.getProps().isAlwaysAccessible;p&&(k===o?(c.push(p),this.currentIsOthersAccessible||l.push(p)):B?u.push(p):a.push(p))}}const d=this._augMap,g=l.length>0?[...l,...u]:void 0,v=[],m=new WeakMap,y=(k,h)=>{var b;const f=k.tagName;if(f==="SCRIPT"||f==="STYLE")return;let p=!1;d.has(k)?h?p=!0:(d.delete(k),$u(r,k,Vu)):h&&!(!((b=this._accessibleCheck)===null||b===void 0)&&b.call(this,k,c))&&$u(r,k,Vu,"true")&&(d.set(k,!0),p=!0),p&&(v.push(new Et(r.getWindow,k)),m.set(k,!0))},_=k=>{var h;for(let b=R.getFirstElementChild(k);b;b=R.getNextElementSibling(b)){let f=!1,p=!1,w=!1;if(g){const B=r.getParent(b);for(const E of g){if(b===E){f=!0;break}if(R.nodeContains(b,E)){p=!0;break}else R.nodeContains(E,B)&&(w=!0)}p||((h=b.__tabsterElementFlags)===null||h===void 0?void 0:h.noDirectAriaHidden)?_(b):!f&&!w&&y(b,!0)}else y(b,!1)}};g||u.forEach(k=>y(k,!1)),a.forEach(k=>y(k,!0)),n&&_(n),(t=this._aug)===null||t===void 0||t.map(k=>k.get()).forEach(k=>{k&&!m.get(k)&&y(k,!1)}),this._aug=v,this._augMap=m}_restoreModalizerFocus(t){var r;const n=t==null?void 0:t.ownerDocument;if(!t||!n)return;const o=this._tabster.focusedElement.getFocusedElement(),i=o&&((r=he.getTabsterContext(this._tabster,o))===null||r===void 0?void 0:r.modalizer);if(!o||o&&(i==null?void 0:i.userId)===this.activeId)return;const l=this._tabster,a=he.getTabsterContext(l,t),s=a==null?void 0:a.modalizer,u=this.activeId;if(!s&&!u||s&&u===s.userId)return;const c=a==null?void 0:a.root.getElement();if(c){let d=l.focusable.findFirst({container:c,useActiveModalizer:!0});if(d){if(t.compareDocumentPosition(d)&document.DOCUMENT_POSITION_PRECEDING&&(d=l.focusable.findLast({container:c,useActiveModalizer:!0}),!d))throw new Error("Something went wrong.");l.focusedElement.focus(d);return}}t.blur()}}/*!81* Copyright (c) Microsoft Corporation. All rights reserved.82* Licensed under the MIT License.83*/function Vw(e,t,r,n){if(typeof MutationObserver>"u")return()=>{};const o=t.getWindow;let i;const l=c=>{var d,g,v,m,y;const _=new Set;for(const k of c){const h=k.target,b=k.removedNodes,f=k.addedNodes;if(k.type==="attributes")k.attributeName===rr&&(_.has(h)||r(t,h));else{for(let p=0;p<b.length;p++){const w=b[p];_.add(w),a(w,!0),(g=(d=t._dummyObserver).domChanged)===null||g===void 0||g.call(d,h)}for(let p=0;p<f.length;p++)a(f[p]),(m=(v=t._dummyObserver).domChanged)===null||m===void 0||m.call(v,h)}}_.clear(),(y=t.modalizer)===null||y===void 0||y.hiddenUpdate()};function a(c,d){i||(i=Gr(o).elementByUId),s(c,d);const g=hh(e,c,v=>s(v,d));if(g)for(;g.nextNode(););}function s(c,d){var g;if(!c.getAttribute)return NodeFilter.FILTER_SKIP;const v=c.__tabsterElementUID;return v&&i&&(d?delete i[v]:(g=i[v])!==null&&g!==void 0||(i[v]=new Et(o,c))),(gt(t,c)||c.hasAttribute(rr))&&r(t,c,d),NodeFilter.FILTER_SKIP}const u=R.createMutationObserver(l);return n&&a(o().document.body),u.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[rr]}),()=>{u.disconnect()}}/*!84* Copyright (c) Microsoft Corporation. All rights reserved.85* Licensed under the MIT License.86*/class Kw{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}}/*!87* Copyright (c) Microsoft Corporation. All rights reserved.88* Licensed under the MIT License.89*/class Yw extends Wu{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 dh),a&&!R.nodeContains(a,i.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===jn.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=R.nodeContains(i,i&&R.getActiveElement(i.ownerDocument))}}dispose(){var t;if(this._props.type===jn.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 dh)}}}class Al{constructor(t){this._stack=[],this._getWindow=t}push(t){var r;((r=this._stack[this._stack.length-1])===null||r===void 0?void 0:r.get())!==t&&(this._stack.length>Al.DEPTH&&this._stack.shift(),this._stack.push(new Et(this._getWindow,t)))}pop(t){t===void 0&&(t=()=>!0);var r;const n=this._getWindow().document;for(let o=this._stack.length-1;o>=0;o--){const i=(r=this._stack.pop())===null||r===void 0?void 0:r.get();if(i&&R.nodeContains(n.body,R.getParentElement(i))&&t(i))return i}}}Al.DEPTH=10;class Xw{constructor(t){this._onRestoreFocus=r=>{var n,o;this._focusedElementState.cancelAsyncFocus(Hn.Restorer);const i=r.composedPath()[0];if(i){const l=(o=(n=gt(this._tabster,i))===null||n===void 0?void 0:n.restorer)===null||o===void 0?void 0:o.getProps().id;this._focusedElementState.requestAsyncFocus(Hn.Restorer,()=>this._restoreFocus(i,l),0)}},this._onFocusIn=r=>{var n;if(!r)return;const o=gt(this._tabster,r);((n=o==null?void 0:o.restorer)===null||n===void 0?void 0:n.getProps().type)===jn.Target&&this._history.push(r)},this._restoreFocus=(r,n)=>{var o;const i=this._getWindow().document;if(R.getActiveElement(i)!==i.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&R.nodeContains(i.body,r))return;const l=a=>{var s,u;const c=(u=(s=gt(this._tabster,a))===null||s===void 0?void 0:s.restorer)===null||u===void 0?void 0:u.getProps();return c?c.id:null};(o=this._history.pop(a=>n===l(a)))===null||o===void 0||o.focus()},this._tabster=t,this._getWindow=t.getWindow,this._getWindow().addEventListener(Lu,this._onRestoreFocus),this._history=new Al(this._getWindow),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(Hn.Restorer),t.removeEventListener(Lu,this._onRestoreFocus)}createRestorer(t,r){const n=new Yw(this._tabster,t,r);return r.type===jn.Target&&R.getActiveElement(t.ownerDocument)===t&&this._history.push(t),n}}/*!90* Copyright (c) Microsoft Corporation. All rights reserved.91* Licensed under the MIT License.92*/class Qw{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 Jw{constructor(t,r){var n,o;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.5",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=_w(t),this._win=t;const i=this.getWindow;r!=null&&r.DOMAPI&&bw({...r.DOMAPI}),this.keyboardNavigation=new jw(i),this.focusedElement=new ke(this,i),this.focusable=new Mw(this),this.root=new he(this,r==null?void 0:r.autoRoot),this.uncontrolled=new Kw((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 Dw(i),this.getParent=(o=r==null?void 0:r.getParent)!==null&&o!==void 0?o:R.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:l=>{if(!this._unobserve){const a=i().document;this._unobserve=Vw(a,this,ch,l)}}},ph(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 Qw(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 u=this._win;u==null||u.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],u&&this._forgetMemorizedTimer&&(u.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(),xw(this.getWindow),mh(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),u&&(Bw(u),delete u.__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())mh(this.getWindow,t),ke.forgetMemorized(this.focusedElement,t)},0),gh(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 Zw(e,t){let r=tB(e);return r?r.createTabster(!1,t):(r=new Jw(e,t),e.__tabsterInstance=r,r.createTabster())}function xh(e,t,r){const n=e.core;return n.modalizer||(n.modalizer=new qw(n,t,r)),n.modalizer}function Gw(e){const t=e.core;return t.restorer||(t.restorer=new Xw(t)),t.restorer}function eB(e,t){e.core.disposeTabster(e,t)}function tB(e){return e.__tabsterInstance}const rB=e=>e;function nB(e){const t=(e==null?void 0:e.defaultView)||void 0,r=t==null?void 0:t.__tabsterShadowDOMAPI;if(t)return Zw(t,{autoRoot:{},controlTab:!1,getParent:Gp,checkUncontrolledTrappingFocus:n=>{var o;return!!(!((o=n.firstElementChild)===null||o===void 0)&&o.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:r})}function Il(e=rB){const{targetDocument:t}=dt(),r=S.exports.useRef(null);return ft(()=>{const n=nB(t);if(n)return r.current=e(n),()=>{eB(n),r.current=null}},[t,e]),r}const Eh=e=>{Il();const t=bh(e,!0);return S.exports.useMemo(()=>({[rr]:t}),[t])},Ch=()=>{const e=Il(),{targetDocument:t}=dt(),r=S.exports.useCallback((a,s)=>{var u;return((u=e.current)===null||u===void 0?void 0:u.focusable.findAll({container:a,acceptCondition:s}))||[]},[e]),n=S.exports.useCallback(a=>{var s;return(s=e.current)===null||s===void 0?void 0:s.focusable.findFirst({container:a})},[e]),o=S.exports.useCallback(a=>{var s;return(s=e.current)===null||s===void 0?void 0:s.focusable.findLast({container:a})},[e]),i=S.exports.useCallback((a,s={})=>{if(!e.current||!t)return null;const{container:u=t.body}=s;return e.current.focusable.findNext({currentElement:a,container:u})},[e,t]),l=S.exports.useCallback((a,s={})=>{if(!e.current||!t)return null;const{container:u=t.body}=s;return e.current.focusable.findPrev({currentElement:a,container:u})},[e,t]);return{findAllFocusable:r,findFirstFocusable:n,findLastFocusable:o,findNextFocusable:i,findPrevFocusable:l}},Fh="data-fui-focus-visible";function oB(e,t){if(Nh(e))return()=>{};const r={current:void 0},n=sh(t);function o(s){n.isNavigatingWithKeyboard()&&qo(s)&&(r.current=s,s.setAttribute(Fh,""))}function i(){r.current&&(r.current.removeAttribute(Fh),r.current=void 0)}n.subscribe(s=>{s||i()});const l=s=>{i();const u=s.composedPath()[0];o(u)},a=s=>{(!s.relatedTarget||qo(s.relatedTarget)&&!e.contains(s.relatedTarget))&&i()};return e.addEventListener(tr,l),e.addEventListener("focusout",a),e.focusVisible=!0,e.contains(t.document.activeElement)&&o(t.document.activeElement),()=>{i(),e.removeEventListener(tr,l),e.removeEventListener("focusout",a),delete e.focusVisible,ah(n)}}function Nh(e){return e?e.focusVisible?!0:Nh(e==null?void 0:e.parentElement):!1}function Ph(e={}){const t=dt(),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 oB(r.current,o.defaultView)},[r,o]),r}const iB="data-tabster-never-hide",lB=e=>e.hasAttribute(iB);function sB(e){xh(e,void 0,lB),Gw(e)}const Ku=(e={})=>{const{trapFocus:t,alwaysFocusable:r,legacyTrapFocus:n}=e;Il(sB);const o=Du("modal-",e.id),i=Eh({restorer:{type:jn.Source},...t&&{modalizer:{id:o,isOthersAccessible:!t,isAlwaysAccessible:r,isTrapped:n&&t}}}),l=Eh({restorer:{type:jn.Target}});return{modalAttributes:i,triggerAttributes:l}};function aB(){const e=Il(xh),[t]=Xp();return S.exports.useCallback(n=>{t(()=>{var o;(o=e.current)===null||o===void 0||o.activate(n)},0)},[e,t])}const C={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"},Te={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)"},pt={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)"},uB={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)"},cB={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)"},Th={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)"},j="#ffffff",zl="#000000",dB={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},Dh={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},fB={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},gB={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},pB={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},hB={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},vB={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},mB={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},yB={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},kB={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},bB={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},wB={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},BB={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},_B={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},SB={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Oh={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},xB={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},EB={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},CB={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},FB={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},NB={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},PB={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},TB={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},DB={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},OB={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},RB={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},AB={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},IB={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},zB={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},LB={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},MB={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},HB={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},jB={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},WB={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},$B={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},UB={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},K={red:fB,green:Oh,darkOrange:gB,yellow:yB,berry:IB,lightGreen:SB,marigold:mB},Tr={darkRed:dB,cranberry:Dh,pumpkin:pB,peach:vB,gold:kB,brass:bB,brown:wB,forest:BB,seafoam:_B,darkGreen:xB,lightTeal:EB,teal:CB,steel:FB,blue:NB,royalBlue:PB,cornflower:TB,navy:DB,lavender:OB,purple:RB,grape:AB,lilac:zB,pink:LB,magenta:MB,plum:HB,beige:jB,mink:WB,platinum:$B,anchor:UB},V={cranberry:Dh,green:Oh,orange:hB},Rh=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Ah=["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"],Ve={success:"green",warning:"orange",danger:"cranberry"},Yo=Rh.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:K[t].tint60,[`colorPalette${r}Background2`]:K[t].tint40,[`colorPalette${r}Background3`]:K[t].primary,[`colorPalette${r}Foreground1`]:K[t].shade10,[`colorPalette${r}Foreground2`]:K[t].shade30,[`colorPalette${r}Foreground3`]:K[t].primary,[`colorPalette${r}BorderActive`]:K[t].primary,[`colorPalette${r}Border1`]:K[t].tint40,[`colorPalette${r}Border2`]:K[t].primary};return Object.assign(e,n)},{});Yo.colorPaletteYellowForeground1=K.yellow.shade30,Yo.colorPaletteRedForegroundInverted=K.red.tint20,Yo.colorPaletteGreenForegroundInverted=K.green.tint20,Yo.colorPaletteYellowForegroundInverted=K.yellow.tint40;const qB=Ah.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:Tr[t].tint40,[`colorPalette${r}Foreground2`]:Tr[t].shade30,[`colorPalette${r}BorderActive`]:Tr[t].primary};return Object.assign(e,n)},{}),VB={...Yo,...qB},Wn=Object.entries(Ve).reduce((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:V[r].tint60,[`colorStatus${n}Background2`]:V[r].tint40,[`colorStatus${n}Background3`]:V[r].primary,[`colorStatus${n}Foreground1`]:V[r].shade10,[`colorStatus${n}Foreground2`]:V[r].shade30,[`colorStatus${n}Foreground3`]:V[r].primary,[`colorStatus${n}ForegroundInverted`]:V[r].tint30,[`colorStatus${n}BorderActive`]:V[r].primary,[`colorStatus${n}Border1`]:V[r].tint40,[`colorStatus${n}Border2`]:V[r].primary};return Object.assign(e,o)},{});Wn.colorStatusDangerBackground3Hover=V[Ve.danger].shade10,Wn.colorStatusDangerBackground3Pressed=V[Ve.danger].shade20,Wn.colorStatusWarningForeground1=V[Ve.warning].shade20,Wn.colorStatusWarningForeground3=V[Ve.warning].shade20,Wn.colorStatusWarningBorder2=V[Ve.warning].shade20;const KB=e=>({colorNeutralForeground1:C[14],colorNeutralForeground1Hover:C[14],colorNeutralForeground1Pressed:C[14],colorNeutralForeground1Selected:C[14],colorNeutralForeground2:C[26],colorNeutralForeground2Hover:C[14],colorNeutralForeground2Pressed:C[14],colorNeutralForeground2Selected:C[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:C[38],colorNeutralForeground3Hover:C[26],colorNeutralForeground3Pressed:C[26],colorNeutralForeground3Selected:C[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:C[44],colorNeutralForegroundDisabled:C[74],colorNeutralForegroundInvertedDisabled:Te[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:C[26],colorNeutralForeground2LinkHover:C[14],colorNeutralForeground2LinkPressed:C[14],colorNeutralForeground2LinkSelected:C[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:C[14],colorNeutralForegroundStaticInverted:j,colorNeutralForegroundInverted:j,colorNeutralForegroundInvertedHover:j,colorNeutralForegroundInvertedPressed:j,colorNeutralForegroundInvertedSelected:j,colorNeutralForegroundInverted2:j,colorNeutralForegroundOnBrand:j,colorNeutralForegroundInvertedLink:j,colorNeutralForegroundInvertedLinkHover:j,colorNeutralForegroundInvertedLinkPressed:j,colorNeutralForegroundInvertedLinkSelected:j,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:j,colorNeutralBackground1Hover:C[96],colorNeutralBackground1Pressed:C[88],colorNeutralBackground1Selected:C[92],colorNeutralBackground2:C[98],colorNeutralBackground2Hover:C[94],colorNeutralBackground2Pressed:C[86],colorNeutralBackground2Selected:C[90],colorNeutralBackground3:C[96],colorNeutralBackground3Hover:C[92],colorNeutralBackground3Pressed:C[84],colorNeutralBackground3Selected:C[88],colorNeutralBackground4:C[94],colorNeutralBackground4Hover:C[98],colorNeutralBackground4Pressed:C[96],colorNeutralBackground4Selected:j,colorNeutralBackground5:C[92],colorNeutralBackground5Hover:C[96],colorNeutralBackground5Pressed:C[94],colorNeutralBackground5Selected:C[98],colorNeutralBackground6:C[90],colorNeutralBackgroundInverted:C[16],colorNeutralBackgroundStatic:C[20],colorNeutralBackgroundAlpha:Te[50],colorNeutralBackgroundAlpha2:Te[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:C[96],colorSubtleBackgroundPressed:C[88],colorSubtleBackgroundSelected:C[92],colorSubtleBackgroundLightAlphaHover:Te[70],colorSubtleBackgroundLightAlphaPressed:Te[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:pt[10],colorSubtleBackgroundInvertedPressed:pt[30],colorSubtleBackgroundInvertedSelected:pt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:C[94],colorNeutralBackgroundInvertedDisabled:Te[10],colorNeutralStencil1:C[90],colorNeutralStencil2:C[98],colorNeutralStencil1Alpha:pt[10],colorNeutralStencil2Alpha:pt[5],colorBackgroundOverlay:pt[40],colorScrollbarOverlay:pt[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:j,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:C[98],colorNeutralCardBackgroundHover:j,colorNeutralCardBackgroundPressed:C[96],colorNeutralCardBackgroundSelected:C[92],colorNeutralCardBackgroundDisabled:C[94],colorNeutralStrokeAccessible:C[38],colorNeutralStrokeAccessibleHover:C[34],colorNeutralStrokeAccessiblePressed:C[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:C[82],colorNeutralStroke1Hover:C[78],colorNeutralStroke1Pressed:C[70],colorNeutralStroke1Selected:C[74],colorNeutralStroke2:C[88],colorNeutralStroke3:C[94],colorNeutralStrokeSubtle:C[88],colorNeutralStrokeOnBrand:j,colorNeutralStrokeOnBrand2:j,colorNeutralStrokeOnBrand2Hover:j,colorNeutralStrokeOnBrand2Pressed:j,colorNeutralStrokeOnBrand2Selected:j,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:C[88],colorNeutralStrokeInvertedDisabled:Te[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:pt[5],colorNeutralStrokeAlpha2:Te[20],colorStrokeFocus1:j,colorStrokeFocus2:zl,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)"}),Ih={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},zh={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)"},Lh={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Mh={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Hh={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},jh={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Wh={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"},$h={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},Uh={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},qh={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},Xo={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)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};function Ll(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 YB=e=>{const t=KB(e);return{...Ih,...Mh,...Hh,...Wh,...jh,...qh,...$h,...Uh,...Lh,...zh,...t,...VB,...Wn,...Ll(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Ll(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},Vh={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"},zt=Rh.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:K[t].shade40,[`colorPalette${r}Background2`]:K[t].shade30,[`colorPalette${r}Background3`]:K[t].primary,[`colorPalette${r}Foreground1`]:K[t].tint30,[`colorPalette${r}Foreground2`]:K[t].tint40,[`colorPalette${r}Foreground3`]:K[t].tint20,[`colorPalette${r}BorderActive`]:K[t].tint30,[`colorPalette${r}Border1`]:K[t].primary,[`colorPalette${r}Border2`]:K[t].tint20};return Object.assign(e,n)},{});zt.colorPaletteRedForeground3=K.red.tint30,zt.colorPaletteRedBorder2=K.red.tint30,zt.colorPaletteGreenForeground3=K.green.tint40,zt.colorPaletteGreenBorder2=K.green.tint40,zt.colorPaletteDarkOrangeForeground3=K.darkOrange.tint30,zt.colorPaletteDarkOrangeBorder2=K.darkOrange.tint30,zt.colorPaletteRedForegroundInverted=K.red.primary,zt.colorPaletteGreenForegroundInverted=K.green.primary,zt.colorPaletteYellowForegroundInverted=K.yellow.shade30;const Yu=Ah.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:Tr[t].shade30,[`colorPalette${r}Foreground2`]:Tr[t].tint40,[`colorPalette${r}BorderActive`]:Tr[t].tint30};return Object.assign(e,n)},{});Yu.colorPaletteDarkRedBackground2=Tr.darkRed.shade20,Yu.colorPalettePlumBackground2=Tr.plum.shade20;const XB={...zt,...Yu},Dr=Object.entries(Ve).reduce((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:V[r].shade40,[`colorStatus${n}Background2`]:V[r].shade30,[`colorStatus${n}Background3`]:V[r].primary,[`colorStatus${n}Foreground1`]:V[r].tint30,[`colorStatus${n}Foreground2`]:V[r].tint40,[`colorStatus${n}Foreground3`]:V[r].tint20,[`colorStatus${n}BorderActive`]:V[r].tint30,[`colorStatus${n}ForegroundInverted`]:V[r].shade10,[`colorStatus${n}Border1`]:V[r].primary,[`colorStatus${n}Border2`]:V[r].tint20};return Object.assign(e,o)},{});Dr.colorStatusDangerBackground3Hover=V[Ve.danger].shade10,Dr.colorStatusDangerBackground3Pressed=V[Ve.danger].shade20,Dr.colorStatusDangerForeground3=V[Ve.danger].tint40,Dr.colorStatusDangerBorder2=V[Ve.danger].tint30,Dr.colorStatusSuccessForeground3=V[Ve.success].tint40,Dr.colorStatusSuccessBorder2=V[Ve.success].tint40,Dr.colorStatusWarningForegroundInverted=V[Ve.warning].shade20;const Kh=YB(Vh),QB=e=>({colorNeutralForeground1:j,colorNeutralForeground1Hover:j,colorNeutralForeground1Pressed:j,colorNeutralForeground1Selected:j,colorNeutralForeground2:C[84],colorNeutralForeground2Hover:j,colorNeutralForeground2Pressed:j,colorNeutralForeground2Selected:j,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:C[68],colorNeutralForeground3Hover:C[84],colorNeutralForeground3Pressed:C[84],colorNeutralForeground3Selected:C[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:C[60],colorNeutralForegroundDisabled:C[36],colorNeutralForegroundInvertedDisabled:Te[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:C[84],colorNeutralForeground2LinkHover:j,colorNeutralForeground2LinkPressed:j,colorNeutralForeground2LinkSelected:j,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:C[14],colorNeutralForegroundStaticInverted:j,colorNeutralForegroundInverted:C[14],colorNeutralForegroundInvertedHover:C[14],colorNeutralForegroundInvertedPressed:C[14],colorNeutralForegroundInvertedSelected:C[14],colorNeutralForegroundInverted2:C[14],colorNeutralForegroundOnBrand:j,colorNeutralForegroundInvertedLink:j,colorNeutralForegroundInvertedLinkHover:j,colorNeutralForegroundInvertedLinkPressed:j,colorNeutralForegroundInvertedLinkSelected:j,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:C[16],colorNeutralBackground1Hover:C[24],colorNeutralBackground1Pressed:C[12],colorNeutralBackground1Selected:C[22],colorNeutralBackground2:C[12],colorNeutralBackground2Hover:C[20],colorNeutralBackground2Pressed:C[8],colorNeutralBackground2Selected:C[18],colorNeutralBackground3:C[8],colorNeutralBackground3Hover:C[16],colorNeutralBackground3Pressed:C[4],colorNeutralBackground3Selected:C[14],colorNeutralBackground4:C[4],colorNeutralBackground4Hover:C[12],colorNeutralBackground4Pressed:zl,colorNeutralBackground4Selected:C[10],colorNeutralBackground5:zl,colorNeutralBackground5Hover:C[8],colorNeutralBackground5Pressed:C[2],colorNeutralBackground5Selected:C[6],colorNeutralBackground6:C[20],colorNeutralBackgroundInverted:j,colorNeutralBackgroundStatic:C[24],colorNeutralBackgroundAlpha:uB[50],colorNeutralBackgroundAlpha2:cB[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:C[22],colorSubtleBackgroundPressed:C[18],colorSubtleBackgroundSelected:C[20],colorSubtleBackgroundLightAlphaHover:Th[80],colorSubtleBackgroundLightAlphaPressed:Th[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:pt[10],colorSubtleBackgroundInvertedPressed:pt[30],colorSubtleBackgroundInvertedSelected:pt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:C[8],colorNeutralBackgroundInvertedDisabled:Te[10],colorNeutralStencil1:C[34],colorNeutralStencil2:C[20],colorNeutralStencil1Alpha:Te[10],colorNeutralStencil2Alpha:Te[5],colorBackgroundOverlay:pt[50],colorScrollbarOverlay:Te[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:j,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:C[20],colorNeutralCardBackgroundHover:C[24],colorNeutralCardBackgroundPressed:C[18],colorNeutralCardBackgroundSelected:C[22],colorNeutralCardBackgroundDisabled:C[8],colorNeutralStrokeAccessible:C[68],colorNeutralStrokeAccessibleHover:C[74],colorNeutralStrokeAccessiblePressed:C[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:C[40],colorNeutralStroke1Hover:C[46],colorNeutralStroke1Pressed:C[42],colorNeutralStroke1Selected:C[44],colorNeutralStroke2:C[32],colorNeutralStroke3:C[24],colorNeutralStrokeSubtle:C[4],colorNeutralStrokeOnBrand:C[16],colorNeutralStrokeOnBrand2:j,colorNeutralStrokeOnBrand2Hover:j,colorNeutralStrokeOnBrand2Pressed:j,colorNeutralStrokeOnBrand2Selected:j,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:C[26],colorNeutralStrokeInvertedDisabled:Te[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Te[10],colorNeutralStrokeAlpha2:Te[20],colorStrokeFocus1:zl,colorStrokeFocus2:j,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)"}),Yh=(e=>{const t=QB(e);return{...Ih,...Mh,...Hh,...Wh,...jh,...qh,...$h,...Uh,...Lh,...zh,...t,...XB,...Dr,...Ll(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Ll(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}})(Vh),Xh={root:"fui-FluentProvider"},JB=Op({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);}"]}),ZB=e=>{const t=Uo(),r=JB({dir:e.dir,renderer:t});return e.root.className=xe(Xh.root,e.themeClassName,r.root,e.root.className),e},GB=sr["useInsertionEffect"]?sr["useInsertionEffect"]:ft,e_=(e,t)=>{if(!(e!=null&&e.head))return;const r=e.createElement("style");return Object.keys(t).forEach(n=>{r.setAttribute(n,t[n])}),e.head.appendChild(r),r},t_=(e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))},r_=e=>{const{targetDocument:t,theme:r,rendererAttributes:n}=e,o=S.exports.useRef(),i=Du(Xh.root),l=n,a=S.exports.useMemo(()=>Tk(`.${i}`,r),[r,i]);return n_(t,i),GB(()=>{const s=t==null?void 0:t.getElementById(i);return s?o.current=s:(o.current=e_(t,{...l,id:i}),o.current&&t_(o.current,a)),()=>{var u;(u=o.current)===null||u===void 0||u.remove()}},[i,t,a,l]),{styleTagId:i,rule:a}};function n_(e,t){S.exports.useState(()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)})}const o_={},i_={},l_=(e,t)=>{const r=dt(),n=s_(),o=vb(),i=S.exports.useContext(Pu)||o_,{applyStylesToPortals:l=!0,customStyleHooks_unstable:a,dir:s=r.dir,targetDocument:u=r.targetDocument,theme:c,overrides_unstable:d={}}=e,g=Xu(n,c),v=Xu(o,d),m=Xu(i,a),y=Uo();var _;const{styleTagId:k,rule:h}=r_({theme:g,targetDocument:u,rendererAttributes:(_=y.styleElementAttributes)!==null&&_!==void 0?_:i_});return{applyStylesToPortals:l,customStyleHooks_unstable:m,dir:s,targetDocument:u,theme:g,overrides_unstable:v,themeClassName:k,components:{root:"div"},root:xt(er("div",{...e,dir:s,ref:Tl(t,Ph({targetDocument:u}))}),{elementType:"div"}),serverStyleProps:{cssRule:h,attributes:{...y.styleElementAttributes,id:k}}}};function Xu(e,t){return e&&t?{...e,...t}:e||t}function s_(){return S.exports.useContext(jp)}function a_(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:n,root:o,targetDocument:i,theme:l,themeClassName:a,overrides_unstable:s}=e,u=S.exports.useMemo(()=>({dir:n,targetDocument:i}),[n,i]),[c]=S.exports.useState(()=>({})),d=S.exports.useMemo(()=>({textDirection:n}),[n]);return{customStyleHooks_unstable:r,overrides_unstable:s,provider:u,textDirection:n,iconDirection:d,tooltip:c,theme:l,themeClassName:t?o.className:a}}const Qu=S.exports.forwardRef((e,t)=>{const r=l_(e,t);ZB(r);const n=a_(r);return Jb(r,n)});Qu.displayName="FluentProvider";var Ju={exports:{}},Qh={};/**93* @license React94* scheduler.production.min.js95*96* Copyright (c) Facebook, Inc. and its affiliates.97*98* This source code is licensed under the MIT license found in the99* LICENSE file in the root directory of this source tree.100*/(function(e){function t(x,P){var D=x.length;x.push(P);e:for(;0<D;){var H=D-1>>>1,U=x[H];if(0<o(U,P))x[H]=P,x[D]=U,D=H;else break e}}function r(x){return x.length===0?null:x[0]}function n(x){if(x.length===0)return null;var P=x[0],D=x.pop();if(D!==P){x[0]=D;e:for(var H=0,U=x.length,ir=U>>>1;H<ir;){var ze=2*(H+1)-1,tn=x[ze],Le=ze+1,lr=x[Le];if(0>o(tn,D))Le<U&&0>o(lr,tn)?(x[H]=lr,x[Le]=D,H=Le):(x[H]=tn,x[ze]=D,H=ze);else if(Le<U&&0>o(lr,D))x[H]=lr,x[Le]=D,H=Le;else break e}}return P}function o(x,P){var D=x.sortIndex-P.sortIndex;return D!==0?D:x.id-P.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=[],u=[],c=1,d=null,g=3,v=!1,m=!1,y=!1,_=typeof setTimeout=="function"?setTimeout:null,k=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 b(x){for(var P=r(u);P!==null;){if(P.callback===null)n(u);else if(P.startTime<=x)n(u),P.sortIndex=P.expirationTime,t(s,P);else break;P=r(u)}}function f(x){if(y=!1,b(x),!m)if(r(s)!==null)m=!0,W(p);else{var P=r(u);P!==null&&ne(f,P.startTime-x)}}function p(x,P){m=!1,y&&(y=!1,k(E),E=-1),v=!0;var D=g;try{for(b(P),d=r(s);d!==null&&(!(d.expirationTime>P)||x&&!A());){var H=d.callback;if(typeof H=="function"){d.callback=null,g=d.priorityLevel;var U=H(d.expirationTime<=P);P=e.unstable_now(),typeof U=="function"?d.callback=U:d===r(s)&&n(s),b(P)}else n(s);d=r(s)}if(d!==null)var ir=!0;else{var ze=r(u);ze!==null&&ne(f,ze.startTime-P),ir=!1}return ir}finally{d=null,g=D,v=!1}}var w=!1,B=null,E=-1,O=5,F=-1;function A(){return!(e.unstable_now()-F<O)}function I(){if(B!==null){var x=e.unstable_now();F=x;var P=!0;try{P=B(!0,x)}finally{P?L():(w=!1,B=null)}}else w=!1}var L;if(typeof h=="function")L=function(){h(I)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,M=Y.port2;Y.port1.onmessage=I,L=function(){M.postMessage(null)}}else L=function(){_(I,0)};function W(x){B=x,w||(w=!0,L())}function ne(x,P){E=_(function(){x(e.unstable_now())},P)}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(){m||v||(m=!0,W(p))},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 P=3;break;default:P=g}var D=g;g=P;try{return x()}finally{g=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(x,P){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var D=g;g=x;try{return P()}finally{g=D}},e.unstable_scheduleCallback=function(x,P,D){var H=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?H+D:H):D=H,x){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=D+U,x={id:c++,callback:P,priorityLevel:x,startTime:D,expirationTime:U,sortIndex:-1},D>H?(x.sortIndex=D,t(u,x),r(s)===null&&x===r(u)&&(y?(k(E),E=-1):y=!0,ne(f,D-H))):(x.sortIndex=U,t(s,x),m||v||(m=!0,W(p))),x},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(x){var P=g;return function(){var D=g;g=P;try{return x.apply(this,arguments)}finally{g=D}}}})(Qh),function(e){e.exports=Qh}(Ju);const u_=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:[]}),ft(()=>{n.current=r.value,o.current+=1,Ju.exports.unstable_runWithPriority(Ju.exports.unstable_NormalPriority,()=>{i.current.listeners.forEach(l=>{l([o.current,r.value])})})},[r.value]),S.exports.createElement(e,{value:i.current},r.children)},Jh=e=>{const t=S.exports.createContext({value:{current:e},version:{current:-1},listeners:[]});return t.Provider=u_(t.Provider),delete t.Consumer,t},Zh=(e,t)=>{const r=S.exports.useContext(e),{value:{current:n},version:{current:o},listeners:i}=r,l=t(n),[a,s]=S.exports.useState([n,l]),u=d=>{s(g=>{if(!d)return[n,l];if(d[0]<=o)return Object.is(g[1],l)?g:[n,l];try{if(Object.is(g[0],d[1]))return g;const v=t(d[1]);return Object.is(g[1],v)?g:[d[1],v]}catch{}return[g[0],g[1]]})};Object.is(a[1],l)||u(void 0);const c=ye(u);return ft(()=>(i.push(c),()=>{const d=i.indexOf(c);i.splice(d,1)}),[c,i]),a[1]};function c_(e){const t=S.exports.useContext(e);return t.version?t.version.current!==-1:!1}const Zu="Enter",Ml=" ",d_="Escape";function Gh(e,t){const{disabled:r,disabledFocusable:n=!1,["aria-disabled"]:o,onClick:i,onKeyDown:l,onKeyUp:a,...s}=t!=null?t:{},u=typeof o=="string"?o==="true":o,c=r||n||u,d=ye(m=>{c?(m.preventDefault(),m.stopPropagation()):i==null||i(m)}),g=ye(m=>{if(l==null||l(m),m.isDefaultPrevented())return;const y=m.key;if(c&&(y===Zu||y===Ml)){m.preventDefault(),m.stopPropagation();return}if(y===Ml){m.preventDefault();return}else y===Zu&&(m.preventDefault(),m.currentTarget.click())}),v=ye(m=>{if(a==null||a(m),m.isDefaultPrevented())return;const y=m.key;if(c&&(y===Zu||y===Ml)){m.preventDefault(),m.stopPropagation();return}y===Ml&&(m.preventDefault(),m.currentTarget.click())});if(e==="button"||e===void 0)return{...s,disabled:r&&!n,"aria-disabled":n?!0:u,onClick:n?void 0:d,onKeyUp:n?void 0:a,onKeyDown:n?void 0:l};{const m=!!s.href;let y=m?void 0:"button";!y&&c&&(y="link");const _={role:y,tabIndex:n||!m&&!r?0:void 0,...s,onClick:d,onKeyUp:v,onKeyDown:g,"aria-disabled":c};return e==="a"&&c&&(_.href=void 0),_}}const f_=tt({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;}}"]}),g_=(e,t)=>{const{title:r,primaryFill:n="currentColor",...o}=e,i={...o,title:void 0,fill:n},l=f_(),a=Qb();return i.className=xe(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},ev=(e,t,r,n)=>{const o=t==="1em"?"20":t,i=S.exports.forwardRef((l,a)=>{const s={...g_(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(u=>S.exports.createElement("path",{d:u,fill:s.fill})))});return i.displayName=e,i},p_=ev("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"]),h_=ev("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"]),nr={...{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)"}};function v_(e){if(e.playState==="running"){var t;if(e.overallProgress!==void 0){var r;const a=(r=e.overallProgress)!==null&&r!==void 0?r:0;return a>0&&a<1}var n;const i=Number((n=e.currentTime)!==null&&n!==void 0?n:0);var o;const l=Number((o=(t=e.effect)===null||t===void 0?void 0:t.getTiming().duration)!==null&&o!==void 0?o:0);return i>0&&i<l}return!1}const m_={fill:"forwards"},y_={duration:1};function k_(){var e;const t=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return S.exports.useCallback((r,n,o)=>{const i=Array.isArray(n)?n:[n],{isReducedMotion:l}=o,a=i.map(s=>{const{keyframes:u,reducedMotion:c=y_,...d}=s,{keyframes:g=u,...v}=c,m=l?g:u,y={...m_,...d,...l&&v};try{const k=r.animate(m,y);if(t)k==null||k.persist();else{const h=m[m.length-1];var _;Object.assign((_=r.style)!==null&&_!==void 0?_:{},h)}return k}catch{return null}}).filter(s=>!!s);return{set playbackRate(s){a.forEach(u=>{u.playbackRate=s})},setMotionEndCallbacks(s,u){const c=a.map(d=>new Promise((g,v)=>{d.onfinish=()=>g(),d.oncancel=()=>v()}));Promise.all(c).then(()=>{s()}).catch(()=>{u()})},isRunning(){return a.some(s=>v_(s))},cancel:()=>{a.forEach(s=>{s.cancel()})},pause:()=>{a.forEach(s=>{s.pause()})},play:()=>{a.forEach(s=>{s.play()})},finish:()=>{a.forEach(s=>{s.finish()})},reverse:()=>{a.forEach(s=>{s.reverse()})}}},[t])}function b_(){return k_()}function w_(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}const B_="screen and (prefers-reduced-motion: reduce)";function __(){const{targetDocument:e}=dt();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 ft(()=>{if(r===null||typeof r.matchMedia!="function")return;const i=r.matchMedia(B_);i.matches&&(n.current=!0);const l=a=>{n.current=a.matches};return i.addEventListener("change",l),()=>{i.removeEventListener("change",l)}},[r]),o}const S_=S.exports.version.startsWith("19."),x_=["@fluentui/react-motion: Invalid child element.",`101`,"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("");function E_(e){return S_?e.props.ref:e.ref}function C_(e,t=!0){const r=S.exports.useRef(null);S.exports.useEffect(()=>{},[t]);try{const n=S.exports.Children.only(e);if(S.exports.isValidElement(n))return[S.exports.cloneElement(n,{ref:Tl(r,E_(n))}),r]}catch{}throw new Error(x_)}const tv=S.exports.createContext(void 0);tv.Provider;const F_=()=>{var e;return(e=S.exports.useContext(tv))!==null&&e!==void 0?e:"default"},N_=S.exports.createContext(void 0);function P_(e=!1,t=!1){const r=S.exports.useRef(t?e:!0),n=Cb(),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]}const T_=Symbol("MOTION_DEFINITION"),D_=Symbol.for("interruptablePresence");function Hl(e){return Object.assign(t=>{const n={...S.exports.useContext(N_),...t},o=F_()==="skip",{appear:i,children:l,imperativeRef:a,onExit:s,onMotionFinish:u,onMotionStart:c,onMotionCancel:d,visible:g,unmountOnExit:v,...m}=n,y=m,[_,k]=P_(g,v),[h,b]=C_(l,_),f=w_(a),p=S.exports.useRef({appear:i,params:y,skipMotions:o}),w=b_(),B=Eb(),E=__(),O=ye(I=>{c==null||c(null,{direction:I})}),F=ye(I=>{u==null||u(null,{direction:I}),I==="exit"&&v&&(k(!1),s==null||s())}),A=ye(I=>{d==null||d(null,{direction:I})});return ft(()=>{p.current={appear:i,params:y,skipMotions:o}}),ft(()=>{const I=b.current;if(!I)return;let L;function Y(){!L||W&&L.isRunning()||(L.cancel(),f.current=void 0)}const M=typeof e=="function"?e({element:I,...p.current.params}):e,W=M[D_];if(W&&(L=f.current,L&&L.isRunning()))return L.reverse(),Y;const ne=g?M.enter:M.exit,x=g?"enter":"exit",P=!p.current.appear&&B,D=p.current.skipMotions;return P||O(x),L=w(I,ne,{isReducedMotion:E()}),P?(L.finish(),Y):(f.current=L,L.setMotionEndCallbacks(()=>F(x),()=>A(x)),D&&L.finish(),Y)},[w,b,f,E,F,O,A,g]),_?h:null},{[T_]:typeof e=="function"?e:()=>e})}function rv(e,t){const{as:r,children:n,...o}=e!=null?e:{};if(e===null){const l=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,a=(s,u)=>l?null:S.exports.createElement(S.exports.Fragment,null,u.children);return{[Fl]:a,[Mn]:t.elementType}}const i={...t.defaultProps,...o,[Mn]:t.elementType};return typeof n=="function"&&(i[Fl]=n),i}const nv=({direction:e,duration:t,easing:r=nr.curveLinear,fromValue:n=0})=>{const o=[{opacity:n},{opacity:1}];return e==="exit"&&o.reverse(),{keyframes:o,duration:t,easing:r}},Gu=({enterDuration:e=nr.durationNormal,enterEasing:t=nr.curveEasyEase,exitDuration:r=e,exitEasing:n=t}={})=>({enter:nv({direction:"enter",duration:e,easing:t}),exit:nv({direction:"exit",duration:r,easing:n})});Hl(Gu()),Hl(Gu({enterDuration:nr.durationFast}));const O_=Hl(Gu({enterDuration:nr.durationGentle}));function R_(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 ov="data-popper-is-intersecting",iv="data-popper-escaped",lv="data-popper-reference-hidden",A_="data-popper-placement",ec="fui-positioningend",sv=["top","right","bottom","left"],av=["start","end"],uv=sv.reduce((e,t)=>e.concat(t,t+"-"+av[0],t+"-"+av[1]),[]),Lt=Math.min,Ie=Math.max,jl=Math.round,Mt=e=>({x:e,y:e}),I_={left:"right",right:"left",bottom:"top",top:"bottom"},z_={start:"end",end:"start"};function tc(e,t,r){return Ie(e,Lt(t,r))}function Ct(e,t){return typeof e=="function"?e(t):e}function rt(e){return e.split("-")[0]}function Ft(e){return e.split("-")[1]}function rc(e){return e==="x"?"y":"x"}function nc(e){return e==="y"?"height":"width"}function Ht(e){return["top","bottom"].includes(rt(e))?"y":"x"}function oc(e){return rc(Ht(e))}function cv(e,t,r){r===void 0&&(r=!1);const n=Ft(e),o=oc(e),i=nc(o);let l=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=$l(l)),[l,$l(l)]}function L_(e){const t=$l(e);return[Wl(e),t,Wl(t)]}function Wl(e){return e.replace(/start|end/g,t=>z_[t])}function M_(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 H_(e,t,r,n){const o=Ft(e);let i=M_(rt(e),r==="start",n);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(Wl)))),i}function $l(e){return e.replace(/left|right|bottom|top/g,t=>I_[t])}function j_(e){return{top:0,right:0,bottom:0,left:0,...e}}function ic(e){return typeof e!="number"?j_(e):{top:e,right:e,bottom:e,left:e}}function $n(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 dv(e,t,r){let{reference:n,floating:o}=e;const i=Ht(t),l=oc(t),a=nc(l),s=rt(t),u=i==="y",c=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,g=n[a]/2-o[a]/2;let v;switch(s){case"top":v={x:c,y:n.y-o.height};break;case"bottom":v={x:c,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:d};break;case"left":v={x:n.x-o.width,y:d};break;default:v={x:n.x,y:n.y}}switch(Ft(t)){case"start":v[l]-=g*(r&&u?-1:1);break;case"end":v[l]+=g*(r&&u?-1:1);break}return v}const W_=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 u=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=dv(u,n,s),g=n,v={},m=0;for(let y=0;y<a.length;y++){const{name:_,fn:k}=a[y],{x:h,y:b,data:f,reset:p}=await k({x:c,y:d,initialPlacement:n,placement:g,strategy:o,middlewareData:v,rects:u,platform:l,elements:{reference:e,floating:t}});c=h!=null?h:c,d=b!=null?b:d,v={...v,[_]:{...v[_],...f}},p&&m<=50&&(m++,typeof p=="object"&&(p.placement&&(g=p.placement),p.rects&&(u=p.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):p.rects),{x:c,y:d}=dv(u,g,s)),y=-1)}return{x:c,y:d,placement:g,strategy:o,middlewareData:v}};async function en(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:g=!1,padding:v=0}=Ct(t,e),m=ic(v),_=a[g?d==="floating"?"reference":"floating":d],k=$n(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),h=d==="floating"?{x:n,y:o,width:l.floating.width,height:l.floating.height}:l.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),f=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},p=$n(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:h,offsetParent:b,strategy:s}):h);return{top:(k.top-p.top+m.top)/f.y,bottom:(p.bottom-k.bottom+m.bottom)/f.y,left:(k.left-p.left+m.left)/f.x,right:(p.right-k.right+m.right)/f.x}}const $_=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:u,padding:c=0}=Ct(e,t)||{};if(u==null)return{};const d=ic(c),g={x:r,y:n},v=oc(o),m=nc(v),y=await l.getDimensions(u),_=v==="y",k=_?"top":"left",h=_?"bottom":"right",b=_?"clientHeight":"clientWidth",f=i.reference[m]+i.reference[v]-g[v]-i.floating[m],p=g[v]-i.reference[v],w=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let B=w?w[b]:0;(!B||!await(l.isElement==null?void 0:l.isElement(w)))&&(B=a.floating[b]||i.floating[m]);const E=f/2-p/2,O=B/2-y[m]/2-1,F=Lt(d[k],O),A=Lt(d[h],O),I=F,L=B-y[m]-A,Y=B/2-y[m]/2+E,M=tc(I,Y,L),W=!s.arrow&&Ft(o)!=null&&Y!==M&&i.reference[m]/2-(Y<I?F:A)-y[m]/2<0,ne=W?Y<I?Y-I:Y-L:0;return{[v]:g[v]+ne,data:{[v]:M,centerOffset:Y-M-ne,...W&&{alignmentOffset:ne}},reset:W}}});function U_(e,t,r){return(e?[...r.filter(o=>Ft(o)===e),...r.filter(o=>Ft(o)!==e)]:r.filter(o=>rt(o)===o)).filter(o=>e?Ft(o)===e||(t?Wl(o)!==o:!1):!0)}const q_=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:u}=t,{crossAxis:c=!1,alignment:d,allowedPlacements:g=uv,autoAlignment:v=!0,...m}=Ct(e,t),y=d!==void 0||g===uv?U_(d||null,v,g):g,_=await en(t,m),k=((r=l.autoPlacement)==null?void 0:r.index)||0,h=y[k];if(h==null)return{};const b=cv(h,i,await(s.isRTL==null?void 0:s.isRTL(u.floating)));if(a!==h)return{reset:{placement:y[0]}};const f=[_[rt(h)],_[b[0]],_[b[1]]],p=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:h,overflows:f}],w=y[k+1];if(w)return{data:{index:k+1,overflows:p},reset:{placement:w}};const B=p.map(F=>{const A=Ft(F.placement);return[F.placement,A&&c?F.overflows.slice(0,2).reduce((I,L)=>I+L,0):F.overflows[0],F.overflows]}).sort((F,A)=>F[1]-A[1]),O=((o=B.filter(F=>F[2].slice(0,Ft(F[0])?2:3).every(A=>A<=0))[0])==null?void 0:o[0])||B[0][0];return O!==a?{data:{index:k+1,overflows:p},reset:{placement:O}}:{}}}},V_=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:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,..._}=Ct(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const k=rt(o),h=Ht(a),b=rt(a)===a,f=await(s.isRTL==null?void 0:s.isRTL(u.floating)),p=g||(b||!y?[$l(a)]:L_(a)),w=m!=="none";!g&&w&&p.push(...H_(a,y,m,f));const B=[a,...p],E=await en(t,_),O=[];let F=((n=i.flip)==null?void 0:n.overflows)||[];if(c&&O.push(E[k]),d){const M=cv(o,l,f);O.push(E[M[0]],E[M[1]])}if(F=[...F,{placement:o,overflows:O}],!O.every(M=>M<=0)){var A,I;const M=(((A=i.flip)==null?void 0:A.index)||0)+1,W=B[M];if(W){var L;const x=d==="alignment"?h!==Ht(W):!1,P=((L=F[0])==null?void 0:L.overflows[0])>0;if(!x||P)return{data:{index:M,overflows:F},reset:{placement:W}}}let ne=(I=F.filter(x=>x.overflows[0]<=0).sort((x,P)=>x.overflows[1]-P.overflows[1])[0])==null?void 0:I.placement;if(!ne)switch(v){case"bestFit":{var Y;const x=(Y=F.filter(P=>{if(w){const D=Ht(P.placement);return D===h||D==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(D=>D>0).reduce((D,H)=>D+H,0)]).sort((P,D)=>P[1]-D[1])[0])==null?void 0:Y[0];x&&(ne=x);break}case"initialPlacement":ne=a;break}if(o!==ne)return{reset:{placement:ne}}}return{}}}};function fv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gv(e){return sv.some(t=>e[t]>=0)}const K_=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=Ct(e,t);switch(n){case"referenceHidden":{const i=await en(t,{...o,elementContext:"reference"}),l=fv(i,r.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:gv(l)}}}case"escaped":{const i=await en(t,{...o,altBoundary:!0}),l=fv(i,r.floating);return{data:{escapedOffsets:l,escaped:gv(l)}}}default:return{}}}}};function pv(e){const t=Lt(...e.map(i=>i.left)),r=Lt(...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 Y_(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=>$n(pv(o)))}const X_=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:u}=Ct(e,t),c=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(n.reference))||[]),d=Y_(c),g=$n(pv(c)),v=ic(a);function m(){if(d.length===2&&d[0].left>d[1].right&&s!=null&&u!=null)return d.find(_=>s>_.left-v.left&&s<_.right+v.right&&u>_.top-v.top&&u<_.bottom+v.bottom)||g;if(d.length>=2){if(Ht(r)==="y"){const F=d[0],A=d[d.length-1],I=rt(r)==="top",L=F.top,Y=A.bottom,M=I?F.left:A.left,W=I?F.right:A.right,ne=W-M,x=Y-L;return{top:L,bottom:Y,left:M,right:W,width:ne,height:x,x:M,y:L}}const _=rt(r)==="left",k=Ie(...d.map(F=>F.right)),h=Lt(...d.map(F=>F.left)),b=d.filter(F=>_?F.left===h:F.right===k),f=b[0].top,p=b[b.length-1].bottom,w=h,B=k,E=B-w,O=p-f;return{top:f,bottom:p,left:w,right:B,width:E,height:O,x:w,y:f}}return g}const y=await i.getElementRects({reference:{getBoundingClientRect:m},floating:n.floating,strategy:l});return o.reference.x!==y.reference.x||o.reference.y!==y.reference.y||o.reference.width!==y.reference.width||o.reference.height!==y.reference.height?{reset:{rects:y}}:{}}}};async function Q_(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),l=rt(r),a=Ft(r),s=Ht(r)==="y",u=["left","top"].includes(l)?-1:1,c=i&&s?-1:1,d=Ct(t,e);let{mainAxis:g,crossAxis:v,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof m=="number"&&(v=a==="end"?m*-1:m),s?{x:v*c,y:g*u}:{x:g*u,y:v*c}}const J_=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 Q_(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}}}}},Z_=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:_=>{let{x:k,y:h}=_;return{x:k,y:h}}},...s}=Ct(e,t),u={x:r,y:n},c=await en(t,s),d=Ht(rt(o)),g=rc(d);let v=u[g],m=u[d];if(i){const _=g==="y"?"top":"left",k=g==="y"?"bottom":"right",h=v+c[_],b=v-c[k];v=tc(h,v,b)}if(l){const _=d==="y"?"top":"left",k=d==="y"?"bottom":"right",h=m+c[_],b=m-c[k];m=tc(h,m,b)}const y=a.fn({...t,[g]:v,[d]:m});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[g]:i,[d]:l}}}}}},G_=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:u=!0}=Ct(e,t),c={x:r,y:n},d=Ht(o),g=rc(d);let v=c[g],m=c[d];const y=Ct(a,t),_=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(s){const b=g==="y"?"height":"width",f=i.reference[g]-i.floating[b]+_.mainAxis,p=i.reference[g]+i.reference[b]-_.mainAxis;v<f?v=f:v>p&&(v=p)}if(u){var k,h;const b=g==="y"?"width":"height",f=["top","left"].includes(rt(o)),p=i.reference[d]-i.floating[b]+(f&&((k=l.offset)==null?void 0:k[d])||0)+(f?0:_.crossAxis),w=i.reference[d]+i.reference[b]+(f?0:((h=l.offset)==null?void 0:h[d])||0)-(f?_.crossAxis:0);m<p?m=p:m>w&&(m=w)}return{[g]:v,[d]:m}}}},eS=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:i,platform:l,elements:a}=t,{apply:s=()=>{},...u}=Ct(e,t),c=await en(t,u),d=rt(o),g=Ft(o),v=Ht(o)==="y",{width:m,height:y}=i.floating;let _,k;d==="top"||d==="bottom"?(_=d,k=g===(await(l.isRTL==null?void 0:l.isRTL(a.floating))?"start":"end")?"left":"right"):(k=d,_=g==="end"?"top":"bottom");const h=y-c.top-c.bottom,b=m-c.left-c.right,f=Lt(y-c[_],h),p=Lt(m-c[k],b),w=!t.middlewareData.shift;let B=f,E=p;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(E=b),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(B=h),w&&!g){const F=Ie(c.left,0),A=Ie(c.right,0),I=Ie(c.top,0),L=Ie(c.bottom,0);v?E=m-2*(F!==0||A!==0?F+A:Ie(c.left,c.right)):B=y-2*(I!==0||L!==0?I+L:Ie(c.top,c.bottom))}await s({...t,availableWidth:E,availableHeight:B});const O=await l.getDimensions(a.floating);return m!==O.width||y!==O.height?{reset:{rects:!0}}:{}}}};function Ul(){return typeof window<"u"}function Un(e){return hv(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function or(e){var t;return(t=(hv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hv(e){return Ul()?e instanceof Node||e instanceof nt(e).Node:!1}function Nt(e){return Ul()?e instanceof Element||e instanceof nt(e).Element:!1}function jt(e){return Ul()?e instanceof HTMLElement||e instanceof nt(e).HTMLElement:!1}function vv(e){return!Ul()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function Qo(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function tS(e){return["table","td","th"].includes(Un(e))}function ql(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function lc(e){const t=sc(),r=Nt(e)?Pt(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function rS(e){let t=Or(e);for(;jt(t)&&!qn(t);){if(lc(t))return t;if(ql(t))return null;t=Or(t)}return null}function sc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qn(e){return["html","body","#document"].includes(Un(e))}function Pt(e){return nt(e).getComputedStyle(e)}function Vl(e){return Nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Or(e){if(Un(e)==="html")return e;const t=e.assignedSlot||e.parentNode||vv(e)&&e.host||or(e);return vv(t)?t.host:t}function mv(e){const t=Or(e);return qn(t)?e.ownerDocument?e.ownerDocument.body:e.body:jt(t)&&Qo(t)?t:mv(t)}function ac(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=mv(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),l=nt(o);if(i){const a=uc(l);return t.concat(l,l.visualViewport||[],Qo(o)?o:[],a&&r?ac(a):[])}return t.concat(o,ac(o,[],r))}function uc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yv(e){const t=Pt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=jt(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 kv(e){return Nt(e)?e:e.contextElement}function Vn(e){const t=kv(e);if(!jt(t))return Mt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=yv(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 nS=Mt(0);function bv(e){const t=nt(e);return!sc()||!t.visualViewport?nS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function oS(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==nt(e)?!1:t}function Jo(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=kv(e);let l=Mt(1);t&&(n?Nt(n)&&(l=Vn(n)):l=Vn(e));const a=oS(i,r,n)?bv(i):Mt(0);let s=(o.left+a.x)/l.x,u=(o.top+a.y)/l.y,c=o.width/l.x,d=o.height/l.y;if(i){const g=nt(i),v=n&&Nt(n)?nt(n):n;let m=g,y=uc(m);for(;y&&n&&v!==m;){const _=Vn(y),k=y.getBoundingClientRect(),h=Pt(y),b=k.left+(y.clientLeft+parseFloat(h.paddingLeft))*_.x,f=k.top+(y.clientTop+parseFloat(h.paddingTop))*_.y;s*=_.x,u*=_.y,c*=_.x,d*=_.y,s+=b,u+=f,m=nt(y),y=uc(m)}}return $n({width:c,height:d,x:s,y:u})}function cc(e,t){const r=Vl(e).scrollLeft;return t?t.left+r:Jo(or(e)).left+r}function wv(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:cc(e,n)),i=n.top+t.scrollTop;return{x:o,y:i}}function iS(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",l=or(n),a=t?ql(t.floating):!1;if(n===l||a&&i)return r;let s={scrollLeft:0,scrollTop:0},u=Mt(1);const c=Mt(0),d=jt(n);if((d||!d&&!i)&&((Un(n)!=="body"||Qo(l))&&(s=Vl(n)),jt(n))){const v=Jo(n);u=Vn(n),c.x=v.x+n.clientLeft,c.y=v.y+n.clientTop}const g=l&&!d&&!i?wv(l,s,!0):Mt(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-s.scrollLeft*u.x+c.x+g.x,y:r.y*u.y-s.scrollTop*u.y+c.y+g.y}}function lS(e){return Array.from(e.getClientRects())}function sS(e){const t=or(e),r=Vl(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+cc(e);const a=-r.scrollTop;return Pt(n).direction==="rtl"&&(l+=Ie(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:l,y:a}}function aS(e,t){const r=nt(e),n=or(e),o=r.visualViewport;let i=n.clientWidth,l=n.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;const u=sc();(!u||u&&t==="fixed")&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a,y:s}}function uS(e,t){const r=Jo(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=jt(e)?Vn(e):Mt(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y,s=o*i.x,u=n*i.y;return{width:l,height:a,x:s,y:u}}function Bv(e,t,r){let n;if(t==="viewport")n=aS(e,r);else if(t==="document")n=sS(or(e));else if(Nt(t))n=uS(t,r);else{const o=bv(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return $n(n)}function _v(e,t){const r=Or(e);return r===t||!Nt(r)||qn(r)?!1:Pt(r).position==="fixed"||_v(r,t)}function cS(e,t){const r=t.get(e);if(r)return r;let n=ac(e,[],!1).filter(a=>Nt(a)&&Un(a)!=="body"),o=null;const i=Pt(e).position==="fixed";let l=i?Or(e):e;for(;Nt(l)&&!qn(l);){const a=Pt(l),s=lc(l);!s&&a.position==="fixed"&&(o=null),(i?!s&&!o:!s&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Qo(l)&&!s&&_v(e,l))?n=n.filter(c=>c!==l):o=a,l=Or(l)}return t.set(e,n),n}function dS(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const l=[...r==="clippingAncestors"?ql(t)?[]:cS(t,this._c):[].concat(r),n],a=l[0],s=l.reduce((u,c)=>{const d=Bv(t,c,o);return u.top=Ie(d.top,u.top),u.right=Lt(d.right,u.right),u.bottom=Lt(d.bottom,u.bottom),u.left=Ie(d.left,u.left),u},Bv(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}=yv(e);return{width:t,height:r}}function gS(e,t,r){const n=jt(t),o=or(t),i=r==="fixed",l=Jo(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const s=Mt(0);function u(){s.x=cc(o)}if(n||!n&&!i)if((Un(t)!=="body"||Qo(o))&&(a=Vl(t)),n){const v=Jo(t,!0,i,t);s.x=v.x+t.clientLeft,s.y=v.y+t.clientTop}else o&&u();i&&!n&&o&&u();const c=o&&!n&&!i?wv(o,a):Mt(0),d=l.left+a.scrollLeft-s.x-c.x,g=l.top+a.scrollTop-s.y-c.y;return{x:d,y:g,width:l.width,height:l.height}}function dc(e){return Pt(e).position==="static"}function Sv(e,t){if(!jt(e)||Pt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return or(e)===r&&(r=r.ownerDocument.body),r}function xv(e,t){const r=nt(e);if(ql(e))return r;if(!jt(e)){let o=Or(e);for(;o&&!qn(o);){if(Nt(o)&&!dc(o))return o;o=Or(o)}return r}let n=Sv(e,t);for(;n&&tS(n)&&dc(n);)n=Sv(n,t);return n&&qn(n)&&dc(n)&&!lc(n)?r:n||rS(e)||r}const pS=async function(e){const t=this.getOffsetParent||xv,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 Pt(e).direction==="rtl"}const vS={convertOffsetParentRelativeRectToViewportRelativeRect:iS,getDocumentElement:or,getClippingRect:dS,getOffsetParent:xv,getElementRects:pS,getClientRects:lS,getDimensions:fS,getScale:Vn,isElement:Nt,isRTL:hS},mS=en,yS=J_,kS=Z_,bS=V_,wS=eS,Ev=K_,BS=$_,Cv=G_,_S=(e,t,r)=>{const n=new Map,o={platform:vS,...r},i={...o.platform,_c:n};return W_(e,t,{...o,platform:i})};function Fv(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const SS=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,xS=e=>{var t;if(e.nodeType!==1)return{};const r=(t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}},Kl=e=>{const t=e&&SS(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}=xS(t);return/(auto|scroll|overlay)/.test(r+o+n)?t:Kl(t)},ES=e=>{var t;const r=Kl(e);return r?r!==((t=r.ownerDocument)===null||t===void 0?void 0:t.body):!1};function fc(e,t){if(t==="window")return e==null?void 0:e.ownerDocument.documentElement;if(t==="clippingParents")return"clippingAncestors";if(t==="scrollParent"){let r=Kl(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?gc(e,t):typeof e=="function"?r=>{const n=e(r);return gc(n,t)}:{mainAxis:t}}const gc=(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 Nv(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 FS=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}),PS=(e,t)=>{const r=e==="above"||e==="below",n=t==="top"||t==="bottom";return r&&n||!r&&!n},Pv=(e,t,r)=>{const n=PS(t,e)?"center":e,o=t&&FS(r)[t],i=n&&NS()[n];return o&&i?`${o}-${i}`:o},TS=()=>({top:"above",bottom:"below",right:"after",left:"before"}),DS=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},OS=e=>{const{side:t,alignment:r}=Fv(e),n=TS()[t],o=r&&DS(n)[r];return{position:n,alignment:o}},RS={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 Tv(e){return e==null?{}:typeof e=="string"?RS[e]:e}function pc(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 ft(()=>{n.current=!1},[]),o.callback=t,o.facade}function AS(e){let t;return()=>(t||(t=new Promise(r=>{Promise.resolve().then(()=>{t=void 0,r(e())})})),t)}function IS(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!=null?`${n}px`:"",top:o!=null?`${o}px`:""})}function zS(e){var t,r,n;const{container:o,placement:i,middlewareData:l,strategy:a,lowPPI:s,coordinates:u,useTransform:c=!0}=e;if(!o)return;o.setAttribute(A_,i),o.removeAttribute(ov),l.intersectionObserver.intersecting&&o.setAttribute(ov,""),o.removeAttribute(iv),!((t=l.hide)===null||t===void 0)&&t.escaped&&o.setAttribute(iv,""),o.removeAttribute(lv),!((r=l.hide)===null||r===void 0)&&r.referenceHidden&&o.setAttribute(lv,"");const d=((n=o.ownerDocument.defaultView)===null||n===void 0?void 0:n.devicePixelRatio)||1,g=Math.round(u.x*d)/d,v=Math.round(u.y*d)/d;if(Object.assign(o.style,{position:a}),c){Object.assign(o.style,{transform:s?`translate(${g}px, ${v}px)`:`translate3d(${g}px, ${v}px, 0)`});return}Object.assign(o.style,{left:`${g}px`,top:`${v}px`})}const LS=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 MS(){return{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:n,y:o}=e,i=Fv(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:u,align:c}=Tv(s),d=Pv(c,u,i);return d&&a.push(d),a},[]);return bS({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:fc(n,r)},fallbackStrategy:"bestFit",...l.length&&{fallbackPlacements:l}})}function jS(){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 WS=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 $S(e,t){const{container:r,overflowBoundary:n,overflowBoundaryPadding:o,isRtl:i}=t;return wS({...o&&{padding:Nv(o,i)},...n&&{altBoundary:!0,boundary:fc(r,n)},apply({availableHeight:l,availableWidth:a,elements:s,rects:u}){const c=(v,m,y)=>{if(!!v&&(s.floating.style.setProperty("box-sizing","border-box"),s.floating.style.setProperty(`max-${m}`,`${y}px`),u.floating[m]>y)){s.floating.style.setProperty(m,`${y}px`);const _=m==="width"?"x":"y";s.floating.style.getPropertyValue(`overflow-${_}`)||s.floating.style.setProperty(`overflow-${_}`,"auto")}},{applyMaxWidth:d,applyMaxHeight:g}=e;c(d,"width",a),c(g,"height",l)}})}function US(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:t,reference:r},placement:n})=>{const{position:o,alignment:i}=OS(n);return e({positionedRect:t,targetRect:r,position:o,alignment:i})}}function qS(e){const t=US(e);return yS(t)}function VS(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:n,overflowBoundary:o,container:i,overflowBoundaryPadding:l,isRtl:a}=e;return kS({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:Cv({crossAxis:!0,mainAxis:!1})},...n&&{crossAxis:n==="all",limiter:Cv({crossAxis:n!=="all",mainAxis:!1})},...l&&{padding:Nv(l,a)},...o&&{altBoundary:!0,boundary:fc(i,o)}})}const Dv="--fui-match-target-size";function KS(){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(Dv,`${i}px`),n.style.width||(n.style.width=`var(${Dv})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function Ov(e){const t=[];let r=e;for(;r;){const n=Kl(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 YS(e,t){return new e.ResizeObserver(t)}function XS(e){let t=!1;const{container:r,target:n,arrow:o,strategy:i,middleware:l,placement:a,useTransform:s=!0,disableUpdateOnResize:u=!1}=e,c=r.ownerDocument.defaultView;if(!n||!r||!c)return{updatePosition:()=>{},dispose:()=>{}};const d=u?null:YS(c,k=>{k.every(b=>b.contentRect.width>0&&b.contentRect.height>0)&&y()});let g=!0;const v=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const m=()=>{t||(g&&(Ov(r).forEach(k=>v.add(k)),qo(n)&&Ov(n).forEach(k=>v.add(k)),v.forEach(k=>{k.addEventListener("scroll",y,{passive:!0})}),d==null||d.observe(r),qo(n)&&(d==null||d.observe(n)),g=!1),Object.assign(r.style,{position:i}),_S(n,r,{placement:a,middleware:l,strategy:i}).then(({x:k,y:h,middlewareData:b,placement:f})=>{t||(IS({arrow:o,middlewareData:b}),zS({container:r,middlewareData:b,placement:f,coordinates:{x:k,y:h},lowPPI:((c==null?void 0:c.devicePixelRatio)||1)<=1,strategy:i,useTransform:s}),r.dispatchEvent(new CustomEvent(ec)))}).catch(k=>{}))},y=AS(()=>m()),_=()=>{t=!0,c&&(c.removeEventListener("scroll",y),c.removeEventListener("resize",y)),v.forEach(k=>{k.removeEventListener("scroll",y)}),v.clear(),d==null||d.disconnect()};return c&&(c.addEventListener("scroll",y,{passive:!0}),c.addEventListener("resize",y)),y(),{updatePosition:y,dispose:_}}function QS(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=JS(e),s=S.exports.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;var m;const y=(m=n.current)!==null&&m!==void 0?m:r.current;l&&Tu()&&y&&o.current&&(t.current=XS({container:o.current,target:y,arrow:i.current,...a(o.current,i.current)}))},[l,a]),u=ye(m=>{n.current=m,s()});S.exports.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var m;return(m=t.current)===null||m===void 0?void 0:m.updatePosition()},setTarget:m=>{e.target,u(m)}}),[e.target,u]),ft(()=>{var m;u((m=e.target)!==null&&m!==void 0?m:null)},[e.target,u]),ft(()=>{s()},[s]);const c=pc(null,m=>{r.current!==m&&(r.current=m,s())}),d=ye(()=>{var m;return(m=e.onPositioningEnd)===null||m===void 0?void 0:m.call(e)}),g=pc(null,m=>{if(o.current!==m){var y;(y=o.current)===null||y===void 0||y.removeEventListener(ec,d),m==null||m.addEventListener(ec,d),o.current=m,s()}}),v=pc(null,m=>{i.current!==m&&(i.current=m,s())});return{targetRef:c,containerRef:g,arrowRef:v}}function JS(e){const{align:t,arrowPadding:r,autoSize:n,coverTarget:o,flipBoundary:i,offset:l,overflowBoundary:a,pinned:s,position:u,unstable_disableTether:c,positionFixed:d,strategy:g,overflowBoundaryPadding:v,fallbackPositions:m,useTransform:y,matchTargetSize:_,disableUpdateOnResize:k=!1,shiftToCoverTarget:h}=e,{dir:b,targetDocument:f}=dt(),p=b==="rtl",w=(g!=null?g:d)?"fixed":"absolute",B=LS(n);return S.exports.useCallback((E,O)=>{const F=ES(E),A=[B&&WS(B),_&&KS(),l&&qS(l),o&&MS(),!s&&HS({container:E,flipBoundary:i,hasScrollableElement:F,isRtl:p,fallbackPositions:m}),VS({container:E,hasScrollableElement:F,overflowBoundary:a,disableTether:c,overflowBoundaryPadding:v,isRtl:p,shiftToCoverTarget:h}),B&&$S(B,{container:E,overflowBoundary:a,overflowBoundaryPadding:v,isRtl:p}),jS(),O&&BS({element:O,padding:r}),Ev({strategy:"referenceHidden"}),Ev({strategy:"escaped"}),!1].filter(Boolean);return{placement:Pv(t,u,p),middleware:A,strategy:w,useTransform:y,disableUpdateOnResize:k}},[t,r,B,o,c,i,p,l,a,s,u,w,v,m,y,_,f,k])}const ZS=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=R_(i);r(l)}]},hc=Jh(void 0),GS={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};hc.Provider;const Tt=e=>Zh(hc,(t=GS)=>e(t)),ex=(e,t)=>{const r=Tt(h=>h.contentRef),n=Tt(h=>h.openOnHover),o=Tt(h=>h.setOpen),i=Tt(h=>h.mountNode),l=Tt(h=>h.arrowRef),a=Tt(h=>h.size),s=Tt(h=>h.withArrow),u=Tt(h=>h.appearance),c=Tt(h=>h.trapFocus),d=Tt(h=>h.inertTrapFocus),g=Tt(h=>h.inline),{modalAttributes:v}=Ku({trapFocus:c,legacyTrapFocus:!d,alwaysFocusable:!c}),m={inline:g,appearance:u,withArrow:s,size:a,arrowRef:l,mountNode:i,components:{root:"div"},root:xt(er("div",{ref:Tl(t,r),role:c?"dialog":"group","aria-modal":c?!0:void 0,...v,...e}),{elementType:"div"})},{onMouseEnter:y,onMouseLeave:_,onKeyDown:k}=m.root;return m.root.onMouseEnter=h=>{n&&o(h,!0),y==null||y(h)},m.root.onMouseLeave=h=>{n&&o(h,!1),_==null||_(h)},m.root.onKeyDown=h=>{var b;h.key==="Escape"&&((b=r.current)===null||b===void 0?void 0:b.contains(h.target))&&(h.preventDefault(),o(h,!1)),k==null||k(h)},m};function tx(e){return qo(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}var Rv=()=>{try{return sr["".concat("__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE")].A.getOwner()}catch{}try{return sr["".concat("__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED")].ReactCurrentOwner.current}catch{}},rx=()=>!1,Av=new WeakSet;function nx(e,t){const r=Rv();S.exports.useEffect(()=>{if(!Av.has(r)){Av.add(r),e();return}return e()},t)}var Iv=new WeakSet;function ox(e,t){return S.exports.useMemo(()=>{const r=Rv();return Iv.has(r)?e():(Iv.add(r),null)},t)}function ix(e,t){var r;const n=rx()&&!1,o=n?ox:S.exports.useMemo,i=n?nx:S.exports.useEffect,[l,a]=(r=o(()=>e(),t))!=null?r:[null,()=>null];return i(()=>a,t),l}const lx=tt({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;}"]}),zv=sr["useInsertionEffect"],sx=e=>{const{targetDocument:t,dir:r}=dt(),n=kb(),o=Ph(),i=lx(),l=db(),a=xe(l,i.root,e.className),s=n!=null?n:t==null?void 0:t.body,u=ix(()=>{if(s===void 0||e.disabled)return[null,()=>null];const c=s.ownerDocument.createElement("div");return s.appendChild(c),[c,()=>c.remove()]},[s]);return zv?zv(()=>{if(!u)return;const c=a.split(" ").filter(Boolean);return u.classList.add(...c),u.setAttribute("dir",r),u.setAttribute("data-portal-node","true"),o.current=u,()=>{u.classList.remove(...c),u.removeAttribute("dir")}},[a,r,u,o]):S.exports.useMemo(()=>{!u||(u.className=a,u.setAttribute("dir",r),u.setAttribute("data-portal-node","true"),o.current=u)},[a,r,u,o]),u},ax=e=>{const{element:t,className:r}=tx(e.mountNode),n=S.exports.useRef(null),o=sx({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 th(i,a),()=>{th(i,void 0)}},[n,i]),l},ux=e=>S.exports.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Gl.exports.createPortal(e.children,e.mountNode)),vc=e=>{const t=ax(e);return ux(t)};vc.displayName="Portal";const cx=e=>{const t=Jr(e.root,{children:[e.withArrow&&J("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:J(vc,{mountNode:e.mountNode,children:t})},dx={root:"fui-PopoverSurface"},fx={small:6,medium:8,large:8},gx=tt({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",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:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k",Bhu2qc9:"fymb6k8"},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:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".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;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".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}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}'],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@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){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),px=e=>{const t=gx();return e.root.className=xe(dx.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=xe(t.arrow,e.size==="small"?t.smallArrow:t.mediumLargeArrow),e},Lv=S.exports.forwardRef((e,t)=>{const r=ex(e,t);return px(r),Nr("usePopoverSurfaceStyles_unstable")(r),cx(r)});Lv.displayName="PopoverSurface";const hx=4,vx=e=>{const[t,r]=ZS(),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]=mx(n),[u,c]=Xp(),d=ye((p,w)=>{if(c(),!(p instanceof Event)&&p.persist&&p.persist(),p.type==="mouseleave"){var B;u(()=>{s(p,w)},(B=e.mouseLeaveDelay)!==null&&B!==void 0?B:500)}else s(p,w)}),g=S.exports.useCallback(p=>{d(p,!a)},[d,a]),v=yx(n),{targetDocument:m}=dt();var y;Nb({contains:eh,element:m,callback:p=>d(p,!1),refs:[v.triggerRef,v.contentRef],disabled:!a,disabledFocusOnIframe:!(!((y=e.closeOnIframeFocus)!==null&&y!==void 0)||y)});const _=n.openOnContext||n.closeOnScroll;Db({contains:eh,element:m,callback:p=>d(p,!1),refs:[v.triggerRef,v.contentRef],disabled:!a||!_});const{findFirstFocusable:k}=Ch(),h=aB();S.exports.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const p=v.contentRef.current;if(a&&p){var w;const B=!isNaN((w=p.getAttribute("tabIndex"))!==null&&w!==void 0?w:void 0),E=B?p:k(p);E==null||E.focus(),B&&h(p)}},[k,h,a,v.contentRef,e.unstable_disableAutoFocus]);var b,f;return{...n,...v,inertTrapFocus:(b=e.inertTrapFocus)!==null&&b!==void 0?b:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:i,popoverSurface:l,open:a,setOpen:d,toggleOpen:g,setContextTarget:r,contextTarget:t,inline:(f=e.inline)!==null&&f!==void 0?f:!1}};function mx(e){const t=ye((l,a)=>{var s;return(s=e.onOpenChange)===null||s===void 0?void 0:s.call(e,l,a)}),[r,n]=Vp({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 yx(e){const t={position:"above",align:"center",arrowPadding:2*hx,target:e.openOnContext?e.contextTarget:void 0,...Tv(e.positioning)};t.coverTarget&&(e.withArrow=!1),e.withArrow&&(t.offset=CS(t.offset,fx[e.size]));const{targetRef:r,containerRef:n,arrowRef:o}=QS(t);return{triggerRef:r,contentRef:n,arrowRef:o}}const kx=e=>{const{appearance:t,arrowRef:r,contentRef:n,inline:o,mountNode:i,open:l,openOnContext:a,openOnHover:s,setOpen:u,size:c,toggleOpen:d,trapFocus:g,triggerRef:v,withArrow:m,inertTrapFocus:y}=e;return S.exports.createElement(hc.Provider,{value:{appearance:t,arrowRef:r,contentRef:n,inline:o,mountNode:i,open:l,openOnContext:a,openOnHover:s,setOpen:u,toggleOpen:d,triggerRef:v,size:c,trapFocus:g,inertTrapFocus:y,withArrow:m}},e.popoverTrigger,e.open&&e.popoverSurface)},Mv=e=>{const t=vx(e);return kx(t)};Mv.displayName="Popover";const bx=e=>{const{iconOnly:t,iconPosition:r}=e;return Jr(e.root,{children:[r!=="after"&&e.icon&&J(e.icon,{}),!t&&e.root.children,r==="after"&&e.icon&&J(e.icon,{})]})},Hv=S.exports.createContext(void 0),wx={};Hv.Provider;const Bx=()=>{var e;return(e=S.exports.useContext(Hv))!==null&&e!==void 0?e:wx},_x=(e,t)=>{const{size:r}=Bx(),{appearance:n="secondary",as:o="button",disabled:i=!1,disabledFocusable:l=!1,icon:a,iconPosition:s="before",shape:u="rounded",size:c=r!=null?r:"medium"}=e,d=Nl(a,{elementType:"span"});return{appearance:n,disabled:i,disabledFocusable:l,iconPosition:s,shape:u,size:c,iconOnly:Boolean((d==null?void 0:d.children)&&!e.children),components:{root:"button",icon:"span"},root:xt(er(o,Gh(e.as,e)),{elementType:"button",defaultProps:{ref:t,type:o==="button"?"button":void 0}}),icon:d}},jv={root:"fui-Button",icon:"fui-Button__icon"},Sx=St("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;}}"]}),xx=St("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);}"]),Ex=tt({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)"}]]}),Cx=tt({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",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},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){.fuigjrg .fui-Button__icon{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){.f4dhi0o:hover .fui-Button__icon{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)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Fx=tt({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;}}"]}),Nx=tt({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;}"]}),Px=tt({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);}"]}),Tx=e=>{const t=Sx(),r=xx(),n=Ex(),o=Cx(),i=Fx(),l=Nx(),a=Px(),{appearance:s,disabled:u,disabledFocusable:c,icon:d,iconOnly:g,iconPosition:v,shape:m,size:y}=e;return e.root.className=xe(jv.root,t,s&&n[s],n[y],d&&y==="small"&&n.smallWithIcon,d&&y==="large"&&n.largeWithIcon,n[m],(u||c)&&o.base,(u||c)&&o.highContrast,s&&(u||c)&&o[s],s==="primary"&&i.primary,i[y],i[m],g&&l[y],e.root.className),e.icon&&(e.icon.className=xe(jv.icon,r,!!e.root.children&&a[v],a[y],e.icon.className)),e},mc=S.exports.forwardRef((e,t)=>{const r=_x(e,t);return Tx(r),Nr("useButtonStyles_unstable")(r),bx(r)});mc.displayName="Button";const Wv=S.exports.createContext(void 0);Wv.Provider;const Dx=()=>S.exports.useContext(Wv),Ox=(e,t)=>{const{disabled:r=!1,required:n=!1,weight:o="regular",size:i="medium"}=e;return{disabled:r,required:Nl(n===!0?"*":n||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:o,size:i,components:{root:"label",required:"span"},root:xt(er("label",{ref:t,...e}),{elementType:"label"})}},Rx=e=>Jr(e.root,{children:[e.root.children,e.required&&J(e.required,{})]}),$v={root:"fui-Label",required:"fui-Label__required"},Ax=tt({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)"}]]}),Ix=e=>{const t=Ax();return e.root.className=xe($v.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight==="semibold"&&t.semibold,e.root.className),e.required&&(e.required.className=xe($v.required,t.required,e.disabled&&t.disabled,e.required.className)),e},Uv=S.exports.forwardRef((e,t)=>{const r=Ox(e,t);return Ix(r),Nr("useLabelStyles_unstable")(r),Rx(r)});Uv.displayName="Label";const zx=St("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),Lx=St("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Mx(){const e=zx(),t=Lx(),{targetDocument:r}=dt(),n=S.exports.useCallback(()=>{var i;if(!r)return;var l;Math.floor(r.body.getBoundingClientRect().height)>((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 Hx(e,t){const{findFirstFocusable:r}=Ch(),{targetDocument:n}=dt(),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 jx={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},yc=Jh(void 0),Wx=yc.Provider,Wt=e=>Zh(yc,(t=jx)=>e(t)),$x=!1,qv=S.exports.createContext(void 0),Vv=qv.Provider,Ux=()=>{var e;return(e=S.exports.useContext(qv))!==null&&e!==void 0?e:$x},Kv=[{opacity:0,boxShadow:"0px 0px 0px 0px rgba(0, 0, 0, 0.1)",transform:"scale(0.85) translateZ(0)"},{boxShadow:Xo.shadow64,transform:"scale(1) translateZ(0)",opacity:1}],Yv=Hl({enter:{keyframes:Kv,easing:nr.curveDecelerateMid,duration:nr.durationGentle},exit:{keyframes:[...Kv].reverse(),easing:nr.curveAccelerateMin,duration:nr.durationGentle}}),qx=e=>{const{children:t,modalType:r="modal",onOpenChange:n,inertTrapFocus:o=!1}=e,[i,l]=Vx(t),[a,s]=Vp({state:e.open,defaultState:e.defaultOpen,initialState:!1}),u=ye(m=>{n==null||n(m.event,m),m.event.isDefaultPrevented()||s(m.open)}),c=Hx(a,r),{modalAttributes:d,triggerAttributes:g}=Ku({trapFocus:r!=="non-modal",legacyTrapFocus:!o}),v=c_(yc);return{components:{surfaceMotion:Yv},inertTrapFocus:o,open:a,modalType:r,content:l,trigger:i,requestOpenChange:u,dialogTitleId:Du("dialog-title-"),isNestedDialog:v,dialogRef:c,modalAttributes:d,triggerAttributes:g,surfaceMotion:rv(e.surfaceMotion,{elementType:Yv,defaultProps:{appear:!0,visible:a,unmountOnExit:!0}})}};function Vx(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 Xv=S.exports.createContext(void 0);function Kx(){return S.exports.useContext(Xv)}const Yx=S.exports.forwardRef((e,t)=>S.exports.createElement(Xv.Provider,{value:t},e.children)),Xx=(e,t)=>J(Wx,{value:t.dialog,children:Jr(Vv,{value:t.dialogSurface,children:[e.trigger,e.content&&J(e.surfaceMotion,{children:J(Yx,{children:e.content})})]})});function Qx(e){const{modalType:t,open:r,dialogRef:n,dialogTitleId:o,isNestedDialog:i,inertTrapFocus:l,requestOpenChange:a,modalAttributes:s,triggerAttributes:u}=e;return{dialog:{open:r,modalType:t,dialogRef:n,dialogTitleId:o,isNestedDialog:i,inertTrapFocus:l,modalAttributes:s,triggerAttributes:u,requestOpenChange:a},dialogSurface:!1}}const Qv=S.exports.memo(e=>{const t=qx(e),r=Qx(t);return Xx(t,r)});Qv.displayName="Dialog";const Jx=e=>{const t=Ux(),{children:r,disableButtonEnhancement:n=!1,action:o=t?"close":"open"}=e,i=Zp(r),l=Wt(d=>d.requestOpenChange),{triggerAttributes:a}=Ku(),s=ye(d=>{var g,v;i==null||(g=(v=i.props).onClick)===null||g===void 0||g.call(v,d),d.isDefaultPrevented()||l({event:d,type:"triggerClick",open:o==="open"})}),u={...i==null?void 0:i.props,ref:i==null?void 0:i.ref,onClick:s,...a},c=Gh((i==null?void 0:i.type)==="button"||(i==null?void 0:i.type)==="a"?i.type:"div",{...u,type:"button"});return{children:Ab(r,n?u:c)}},Zx=e=>e.children,kc=e=>{const t=Jx(e);return Zx(t)};kc.displayName="DialogTrigger",kc.isFluentTriggerComponent=!0;const Gx=(e,t)=>{var r;return{components:{root:"div"},root:xt(er((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},e2=e=>J(e.root,{}),t2={root:"fui-DialogBody"},r2=St("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;}}"]}),n2=e=>{const t=r2();return e.root.className=xe(t2.root,t,e.root.className),e},Jv=S.exports.forwardRef((e,t)=>{const r=Gx(e,t);return n2(r),Nr("useDialogBodyStyles_unstable")(r),e2(r)});Jv.displayName="DialogBody";const Zv={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},o2=St("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;}"]),i2=tt({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),l2=St("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),s2=St("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;}}"]}),a2=e=>{const t=o2(),r=l2(),n=i2();return e.root.className=xe(Zv.root,t,!e.action&&n.rootWithoutAction,e.root.className),e.action&&(e.action.className=xe(Zv.action,r,e.action.className)),e},u2=(e,t)=>{const{action:r}=e,n=Wt(i=>i.modalType),o=s2();return{components:{root:"h2",action:"div"},root:xt(er("h2",{ref:t,id:Wt(i=>i.dialogTitleId),...e}),{elementType:"h2"}),action:Nl(r,{renderByDefault:n==="non-modal",defaultProps:{children:S.exports.createElement(kc,{disableButtonEnhancement:!0,action:"close"},S.exports.createElement("button",{type:"button",className:o,"aria-label":"close"},S.exports.createElement(p_,null)))},elementType:"div"})}},c2=e=>Jr(S.exports.Fragment,{children:[J(e.root,{children:e.root.children}),e.action&&J(e.action,{})]}),Gv=S.exports.forwardRef((e,t)=>{const r=u2(e,t);return a2(r),Nr("useDialogTitleStyles_unstable")(r),c2(r)});Gv.displayName="DialogTitle";const e0=O_,d2=(e,t)=>{const r=Kx(),n=Wt(y=>y.modalType),o=Wt(y=>y.isNestedDialog),i=Wt(y=>y.modalAttributes),l=Wt(y=>y.dialogRef),a=Wt(y=>y.requestOpenChange),s=Wt(y=>y.dialogTitleId),u=Wt(y=>y.open),c=ye(y=>{if(Ok(e.backdrop)){var _,k;(_=(k=e.backdrop).onClick)===null||_===void 0||_.call(k,y)}n==="modal"&&!y.isDefaultPrevented()&&a({event:y,open:!1,type:"backdropClick"})}),d=ye(y=>{var _;(_=e.onKeyDown)===null||_===void 0||_.call(e,y),y.key===d_&&!y.isDefaultPrevented()&&(a({event:y,open:!1,type:"escapeKeyDown"}),y.preventDefault())}),g=Nl(e.backdrop,{renderByDefault:n!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});g&&(g.onClick=c);const{disableBodyScroll:v,enableBodyScroll:m}=Mx();return ft(()=>{if(!(o||n==="non-modal"))return v(),()=>{m()}},[m,o,v,n]),{components:{backdrop:"div",root:"div",backdropMotion:e0},open:u,backdrop:g,isNestedDialog:o,mountNode:e.mountNode,root:xt(er("div",{tabIndex:-1,"aria-modal":n!=="non-modal",role:n==="alert"?"alertdialog":"dialog","aria-labelledby":e["aria-label"]?void 0:s,...e,...i,onKeyDown:d,ref:Tl(t,r,l)}),{elementType:"div"}),backdropMotion:rv(e.backdropMotion,{elementType:e0,defaultProps:{appear:!0,visible:u}}),transitionStatus:void 0}},f2=(e,t)=>Jr(vc,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&J(e.backdropMotion,{children:J(e.backdrop,{})}),J(Vv,{value:t.dialogSurface,children:J(e.root,{})})]}),t0={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},g2=St("rsmdyd3","rup8wml",{r:[".rsmdyd3{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);box-shadow:var(--shadow64);}",".rsmdyd3:focus{outline-style:none;}",".rsmdyd3:focus-visible{outline-style:none;}",".rsmdyd3[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rsmdyd3[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);}',".rup8wml{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);box-shadow:var(--shadow64);}",".rup8wml:focus{outline-style:none;}",".rup8wml:focus-visible{outline-style:none;}",".rup8wml[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rup8wml[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){.rsmdyd3[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){.rsmdyd3{max-width:100vw;}}","@media screen and (max-height: 359px){.rsmdyd3{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.rup8wml[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){.rup8wml{max-width:100vw;}}","@media screen and (max-height: 359px){.rup8wml{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),p2=St("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),h2=tt({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),v2=e=>{const{isNestedDialog:t,root:r,backdrop:n}=e,o=g2(),i=p2(),l=h2();return r.className=xe(t0.root,o,r.className),n&&(n.className=xe(t0.backdrop,i,t&&l.nestedDialogBackdrop,n.className)),e};function m2(e){return{dialogSurface:!0}}const r0=S.exports.forwardRef((e,t)=>{const r=d2(e,t),n=m2();return v2(r),Nr("useDialogSurfaceStyles_unstable")(r),f2(r,n)});r0.displayName="DialogSurface";const y2=(e,t)=>{var r;return{components:{root:"div"},root:xt(er((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},k2=e=>J(e.root,{}),b2={root:"fui-DialogContent"},w2=St("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;}}"]}),B2=e=>{const t=w2();return e.root.className=xe(b2.root,t,e.root.className),e},n0=S.exports.forwardRef((e,t)=>{const r=y2(e,t);return B2(r),Nr("useDialogContentStyles_unstable")(r),k2(r)});n0.displayName="DialogContent";const _2=e=>e<=0?1:e,S2=(e,t)=>e===void 0?e:e<0?0:e>t?t:e,x2=(e,t)=>{const r=Dx(),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=_2((a=e.max)!==null&&a!==void 0?a:1),u=S2(e.value,s),c=xt(er("div",{ref:t,role:"progressbar","aria-valuemin":u!==void 0?0:void 0,"aria-valuemax":u!==void 0?s:void 0,"aria-valuenow":u,"aria-labelledby":r==null?void 0:r.labelId,...e}),{elementType:"div"});r&&(r.validationMessageId||r.hintId)&&(c["aria-describedby"]=[r==null?void 0:r.validationMessageId,r==null?void 0:r.hintId,c["aria-describedby"]].filter(Boolean).join(" "));const d=xt(e.bar,{elementType:"div"});return{color:o,max:s,shape:i,thickness:l,value:u,components:{root:"div",bar:"div"},root:c,bar:d}},E2=e=>J(e.root,{children:e.bar&&J(e.bar,{})}),o0={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},C2=.01,F2=tt({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)"}]]}),N2=tt({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(102to right,103var(--colorNeutralBackground6) 0%,104var(--colorTransparentBackground) 50%,105var(--colorNeutralBackground6) 100%106);}`,`.f1u5hf6c{background-image:linear-gradient(107to left,108var(--colorNeutralBackground6) 0%,109var(--colorTransparentBackground) 50%,110var(--colorNeutralBackground6) 100%111);}`,".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%;}}"]}),P2=e=>{const{color:t,max:r,shape:n,thickness:o,value:i}=e,l=F2(),a=N2();return e.root.className=xe(o0.root,l.root,l[n],l[o],e.root.className),e.bar&&(e.bar.className=xe(o0.bar,a.base,a.brand,i===void 0&&a.indeterminate,i!==void 0&&i>C2&&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},i0=S.exports.forwardRef((e,t)=>{const r=x2(e,t);return P2(r),Nr("useProgressBarStyles_unstable")(r),E2(r)});i0.displayName="ProgressBar";const FE="",T2=({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(D2,{key:n.id,outputRun:n})):t?S.exports.createElement("br",null):null))))},D2=({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 Q.exports.ANSIStyle.Bold:l={...l,fontWeight:"bold"};break;case Q.exports.ANSIStyle.Dim:l={...l,fontWeight:"lighter"};break;case Q.exports.ANSIStyle.Italic:l={...l,fontStyle:"italic"};break;case Q.exports.ANSIStyle.Underlined:l={...l,textDecorationLine:"underline",textDecorationStyle:"solid"};break;case Q.exports.ANSIStyle.SlowBlink:l={...l,animation:"ansi-display-run-blink 1s linear infinite"};break;case Q.exports.ANSIStyle.RapidBlink:l={...l,animation:"ansi-display-run-blink 0.5s linear infinite"};break;case Q.exports.ANSIStyle.Hidden:l={...l,visibility:"hidden"};break;case Q.exports.ANSIStyle.CrossedOut:l={...l,textDecorationLine:"line-through",textDecorationStyle:"solid"};break;case Q.exports.ANSIStyle.DoubleUnderlined:l={...l,textDecorationLine:"underline",textDecorationStyle:"double"};break}}),l},n=(i,l)=>{switch(l){case void 0:return{};case Q.exports.ANSIColor.Black:case Q.exports.ANSIColor.Red:case Q.exports.ANSIColor.Green:case Q.exports.ANSIColor.Yellow:case Q.exports.ANSIColor.Blue:case Q.exports.ANSIColor.Magenta:case Q.exports.ANSIColor.Cyan:case Q.exports.ANSIColor.White:case Q.exports.ANSIColor.BrightBlack:case Q.exports.ANSIColor.BrightRed:case Q.exports.ANSIColor.BrightGreen:case Q.exports.ANSIColor.BrightYellow:case Q.exports.ANSIColor.BrightBlue:case Q.exports.ANSIColor.BrightMagenta:case Q.exports.ANSIColor.BrightCyan:case Q.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)},l0=2,O2=120,s0=50,R2=70;function A2(e){const t=I2(),r=Xo.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?Z.createElement(mc,{style:{color:r},onClick:e.onCancel},"Cancel"):Z.createElement(mc,{appearance:"subtle","aria-label":"close",icon:Z.createElement(h_,null),onClick:e.onClose}),[e.rendering]),i=(l,a)=>{a.type==="escapeKeyDown"&&(e.rendering?e.onCancel():e.onClose())};return Z.createElement(Qv,{modalType:"non-modal",open:e.open,onOpenChange:i},Z.createElement(r0,{className:t.surface,style:{borderTop:e.error&&!e.darkMode?`${l0}px solid ${Xo.colorPaletteDarkOrangeBorder2}`:"none"}},Z.createElement(Jv,{style:{gridTemplateRows:e.error?"auto auto auto":`auto ${O2}px auto`}},Z.createElement(Gv,{action:o,style:{color:r}},e.error?"Error":"Render"),Z.createElement(n0,{className:t.content,style:{maxHeight:e.error?`calc(100vh - ${s0+R2}px)`:"none"}},Z.createElement(T2,{lines:e.lines}),Z.createElement("div",{ref:n})))))}const I2=zp({surface:{boxShadow:Xo.shadow4,...Rp.borderRadius(0),position:"fixed",top:l0+"px",left:0,right:0,marginTop:"1px",marginBottom:"0px",paddingTop:"12px",paddingBottom:"16px",maxWidth:"none",maxHeight:`calc(100% - ${s0}px)`},content:{...Rp.border("1px","solid",Xo.colorNeutralStroke1),overflowY:"scroll"}}),z2=zp({root:{position:"fixed",top:0,left:0,right:0}}),L2=e=>{const t=z2();return Z.createElement(Z.Fragment,null,e.visible?Z.createElement(i0,{className:t.root}):null)},M2=e=>{const[t,r]=S.exports.useState(!1);return S.exports.useEffect(()=>{e.rendering&&r(!1)},[e.rendering]),Z.createElement(Qu,{theme:e.darkMode?Yh:Kh},Z.createElement(L2,{visible:e.rendering&&!t}),Z.createElement(A2,{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 H2(e){return t=>{const r={rendering:!1,dialog:!1,error:!1,output:new Q.exports.ANSIOutput,lines:new Array},n=document.createElement("div");document.body.appendChild(n);const o=su(n),i=()=>{o.render(Z.createElement(M2,{rendering:r.rendering,dialog:r.dialog,error:r.error,lines:r.lines,onCancel:t,darkMode:e}))},l=c=>{r.rendering=!0,r.error=!1,r.output=new Q.exports.ANSIOutput,r.lines=[];const d=2e3;c===void 0||c>d?r.dialog=!0:setTimeout(()=>{r.rendering&&(r.dialog=!0,i())},d),i()},a=c=>{r.rendering=!1,r.dialog=!c,r.error=!c,i(),c||window.parent.postMessage&&window.parent.postMessage({type:"error"},"*")},s=c=>{c=typeof c=="string"?c:c.msgFormatted,r.output.processOutput(c),r.lines=[...r.output.outputLines],i()},u=document.getElementById("quarto-render-error");return u?(l(),s(u.innerHTML.trim()),a(!1)):i(),c=>{if(c.data.startsWith("render:")){const[d,g,v]=c.data.split(":");return g==="start"?l(parseInt(v)):g==="stop"&&a(v==="true"),!0}else if(c.data.startsWith("log:")){const d=JSON.parse(c.data.substr(4));return s(d),!0}else return!1}}}function j2(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 W2(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=su(i);return l.render(Z.createElement($2,{darkMode:e,linkEl:t[r],onClosed:()=>{l.unmount(),i.remove()}})),o.preventDefault(),!1})}const $2=e=>{const[t,r]=S.exports.useState(!0),n=(o,i)=>r(i.open||!1);return Z.createElement(Qu,{theme:e.darkMode?Yh:Kh},Z.createElement(Mv,{open:t,withArrow:!0,closeOnScroll:!0,onOpenChange:n,positioning:{target:e.linkEl,overflowBoundaryPadding:30}},Z.createElement(Lv,null,Z.createElement(Uv,null,Z.createElement("strong",null,"Preview Not Available"),Z.createElement("p",{style:{marginBottom:0}},"The MECA file is not available during preview.",Z.createElement("br",null),"It will be included with the final rendered output.")))))};function U2(e){function t(s,u){window.addEventListener("message",function(c){c.data.message===s&&u(c.data.data)})}function r(s,u){window.parent.postMessage&&window.parent.postMessage({type:s,message:s,data:u},"*")}function n(s){const u=s.querySelectorAll("h1, h2, h3, h4, h5, h6"),c=Reveal.getIndices(s);return{id:s.id||"",title:u.item(0)&&u.item(0).textContent||"",h:c.h,v:c.v,f:c.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 q2(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 V2(){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 NE="";let a0=null;function K2(e){a0=e;try{const t=Y2(),r=Rr([H2(t),d0()]);V2(),e.origin&&e.search&&j2(e.origin,e.search),W2(t),e.isPresentation?U2(r):q2(e.inputFile);const n=new CustomEvent("quarto-preview-initialized",{detail:e});document.dispatchEvent(n)}catch(t){console.error(t)}}function Y2(){return document.body.classList.contains("quarto-dark")?!0:new URLSearchParams(window.location.search).get("quartoPreviewThemeCategory")==="dark"}function X2(){return a0}Ke.getOptions=X2,Ke.init=K2,Object.defineProperties(Ke,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});112113114