139 lines
456 KiB
JavaScript
139 lines
456 KiB
JavaScript
function dm(n,r){for(var l=0;l<r.length;l++){const i=r[l];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in n)){const f=Object.getOwnPropertyDescriptor(i,s);f&&Object.defineProperty(n,s,f.get?f:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const f of s)if(f.type==="childList")for(const v of f.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&i(v)}).observe(document,{childList:!0,subtree:!0});function l(s){const f={};return s.integrity&&(f.integrity=s.integrity),s.referrerPolicy&&(f.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?f.credentials="include":s.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function i(s){if(s.ep)return;s.ep=!0;const f=l(s);fetch(s.href,f)}})();function xs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Fc={exports:{}},yr={};/**
|
|
* @license React
|
|
* react-jsx-runtime.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Pv;function pp(){if(Pv)return yr;Pv=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function l(i,s,f){var v=null;if(f!==void 0&&(v=""+f),s.key!==void 0&&(v=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:n,type:i,key:v,ref:s!==void 0?s:null,props:f}}return yr.Fragment=r,yr.jsx=l,yr.jsxs=l,yr}var Zv;function yp(){return Zv||(Zv=1,Fc.exports=pp()),Fc.exports}var H=yp();const xp=xs(H),Sp=dm({__proto__:null,default:xp},[H]);var Uc={exports:{}},ie={};/**
|
|
* @license React
|
|
* react.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Xv;function _p(){if(Xv)return ie;Xv=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),v=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),x=Symbol.iterator;function _(B){return B===null||typeof B!="object"?null:(B=x&&B[x]||B["@@iterator"],typeof B=="function"?B:null)}var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,O={};function D(B,P,K){this.props=B,this.context=P,this.refs=O,this.updater=K||z}D.prototype.isReactComponent={},D.prototype.setState=function(B,P){if(typeof B!="object"&&typeof B!="function"&&B!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,B,P,"setState")},D.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function U(){}U.prototype=D.prototype;function R(B,P,K){this.props=B,this.context=P,this.refs=O,this.updater=K||z}var V=R.prototype=new U;V.constructor=R,k(V,D.prototype),V.isPureReactComponent=!0;var X=Array.isArray;function Y(){}var G={H:null,A:null,T:null,S:null},le=Object.prototype.hasOwnProperty;function Xe(B,P,K){var $=K.ref;return{$$typeof:n,type:B,key:P,ref:$!==void 0?$:null,props:K}}function Ue(B,P){return Xe(B.type,P,B.props)}function et(B){return typeof B=="object"&&B!==null&&B.$$typeof===n}function W(B){var P={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(K){return P[K]})}var pe=/\/+/g;function at(B,P){return typeof B=="object"&&B!==null&&B.key!=null?W(""+B.key):P.toString(36)}function vt(B){switch(B.status){case"fulfilled":return B.value;case"rejected":throw B.reason;default:switch(typeof B.status=="string"?B.then(Y,Y):(B.status="pending",B.then(function(P){B.status==="pending"&&(B.status="fulfilled",B.value=P)},function(P){B.status==="pending"&&(B.status="rejected",B.reason=P)})),B.status){case"fulfilled":return B.value;case"rejected":throw B.reason}}throw B}function M(B,P,K,$,ue){var fe=typeof B;(fe==="undefined"||fe==="boolean")&&(B=null);var ze=!1;if(B===null)ze=!0;else switch(fe){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(B.$$typeof){case n:case r:ze=!0;break;case y:return ze=B._init,M(ze(B._payload),P,K,$,ue)}}if(ze)return ue=ue(B),ze=$===""?"."+at(B,0):$,X(ue)?(K="",ze!=null&&(K=ze.replace(pe,"$&/")+"/"),M(ue,P,K,"",function(Ba){return Ba})):ue!=null&&(et(ue)&&(ue=Ue(ue,K+(ue.key==null||B&&B.key===ue.key?"":(""+ue.key).replace(pe,"$&/")+"/")+ze)),P.push(ue)),1;ze=0;var ht=$===""?".":$+":";if(X(B))for(var Le=0;Le<B.length;Le++)$=B[Le],fe=ht+at($,Le),ze+=M($,P,K,fe,ue);else if(Le=_(B),typeof Le=="function")for(B=Le.call(B),Le=0;!($=B.next()).done;)$=$.value,fe=ht+at($,Le++),ze+=M($,P,K,fe,ue);else if(fe==="object"){if(typeof B.then=="function")return M(vt(B),P,K,$,ue);throw P=String(B),Error("Objects are not valid as a React child (found: "+(P==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":P)+"). If you meant to render a collection of children, use an array instead.")}return ze}function Q(B,P,K){if(B==null)return B;var $=[],ue=0;return M(B,$,"","",function(fe){return P.call(K,fe,ue++)}),$}function oe(B){if(B._status===-1){var P=B._result;P=P(),P.then(function(K){(B._status===0||B._status===-1)&&(B._status=1,B._result=K)},function(K){(B._status===0||B._status===-1)&&(B._status=2,B._result=K)}),B._status===-1&&(B._status=0,B._result=P)}if(B._status===1)return B._result.default;throw B._result}var Se=typeof reportError=="function"?reportError:function(B){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var P=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof B=="object"&&B!==null&&typeof B.message=="string"?String(B.message):String(B),error:B});if(!window.dispatchEvent(P))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",B);return}console.error(B)},Be={map:Q,forEach:function(B,P,K){Q(B,function(){P.apply(this,arguments)},K)},count:function(B){var P=0;return Q(B,function(){P++}),P},toArray:function(B){return Q(B,function(P){return P})||[]},only:function(B){if(!et(B))throw Error("React.Children.only expected to receive a single React element child.");return B}};return ie.Activity=p,ie.Children=Be,ie.Component=D,ie.Fragment=l,ie.Profiler=s,ie.PureComponent=R,ie.StrictMode=i,ie.Suspense=g,ie.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=G,ie.__COMPILER_RUNTIME={__proto__:null,c:function(B){return G.H.useMemoCache(B)}},ie.cache=function(B){return function(){return B.apply(null,arguments)}},ie.cacheSignal=function(){return null},ie.cloneElement=function(B,P,K){if(B==null)throw Error("The argument must be a React element, but you passed "+B+".");var $=k({},B.props),ue=B.key;if(P!=null)for(fe in P.key!==void 0&&(ue=""+P.key),P)!le.call(P,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&P.ref===void 0||($[fe]=P[fe]);var fe=arguments.length-2;if(fe===1)$.children=K;else if(1<fe){for(var ze=Array(fe),ht=0;ht<fe;ht++)ze[ht]=arguments[ht+2];$.children=ze}return Xe(B.type,ue,$)},ie.createContext=function(B){return B={$$typeof:v,_currentValue:B,_currentValue2:B,_threadCount:0,Provider:null,Consumer:null},B.Provider=B,B.Consumer={$$typeof:f,_context:B},B},ie.createElement=function(B,P,K){var $,ue={},fe=null;if(P!=null)for($ in P.key!==void 0&&(fe=""+P.key),P)le.call(P,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(ue[$]=P[$]);var ze=arguments.length-2;if(ze===1)ue.children=K;else if(1<ze){for(var ht=Array(ze),Le=0;Le<ze;Le++)ht[Le]=arguments[Le+2];ue.children=ht}if(B&&B.defaultProps)for($ in ze=B.defaultProps,ze)ue[$]===void 0&&(ue[$]=ze[$]);return Xe(B,fe,ue)},ie.createRef=function(){return{current:null}},ie.forwardRef=function(B){return{$$typeof:m,render:B}},ie.isValidElement=et,ie.lazy=function(B){return{$$typeof:y,_payload:{_status:-1,_result:B},_init:oe}},ie.memo=function(B,P){return{$$typeof:h,type:B,compare:P===void 0?null:P}},ie.startTransition=function(B){var P=G.T,K={};G.T=K;try{var $=B(),ue=G.S;ue!==null&&ue(K,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(Y,Se)}catch(fe){Se(fe)}finally{P!==null&&K.types!==null&&(P.types=K.types),G.T=P}},ie.unstable_useCacheRefresh=function(){return G.H.useCacheRefresh()},ie.use=function(B){return G.H.use(B)},ie.useActionState=function(B,P,K){return G.H.useActionState(B,P,K)},ie.useCallback=function(B,P){return G.H.useCallback(B,P)},ie.useContext=function(B){return G.H.useContext(B)},ie.useDebugValue=function(){},ie.useDeferredValue=function(B,P){return G.H.useDeferredValue(B,P)},ie.useEffect=function(B,P){return G.H.useEffect(B,P)},ie.useEffectEvent=function(B){return G.H.useEffectEvent(B)},ie.useId=function(){return G.H.useId()},ie.useImperativeHandle=function(B,P,K){return G.H.useImperativeHandle(B,P,K)},ie.useInsertionEffect=function(B,P){return G.H.useInsertionEffect(B,P)},ie.useLayoutEffect=function(B,P){return G.H.useLayoutEffect(B,P)},ie.useMemo=function(B,P){return G.H.useMemo(B,P)},ie.useOptimistic=function(B,P){return G.H.useOptimistic(B,P)},ie.useReducer=function(B,P,K){return G.H.useReducer(B,P,K)},ie.useRef=function(B){return G.H.useRef(B)},ie.useState=function(B){return G.H.useState(B)},ie.useSyncExternalStore=function(B,P,K){return G.H.useSyncExternalStore(B,P,K)},ie.useTransition=function(){return G.H.useTransition()},ie.version="19.2.5",ie}var Vv;function Ss(){return Vv||(Vv=1,Uc.exports=_p()),Uc.exports}var A=Ss();const _s=xs(A),ui=dm({__proto__:null,default:_s},[A]);var Lc={exports:{}},xr={},Gc={exports:{}},Pc={};/**
|
|
* @license React
|
|
* scheduler.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Yv;function wp(){return Yv||(Yv=1,(function(n){function r(M,Q){var oe=M.length;M.push(Q);e:for(;0<oe;){var Se=oe-1>>>1,Be=M[Se];if(0<s(Be,Q))M[Se]=Q,M[oe]=Be,oe=Se;else break e}}function l(M){return M.length===0?null:M[0]}function i(M){if(M.length===0)return null;var Q=M[0],oe=M.pop();if(oe!==Q){M[0]=oe;e:for(var Se=0,Be=M.length,B=Be>>>1;Se<B;){var P=2*(Se+1)-1,K=M[P],$=P+1,ue=M[$];if(0>s(K,oe))$<Be&&0>s(ue,K)?(M[Se]=ue,M[$]=oe,Se=$):(M[Se]=K,M[P]=oe,Se=P);else if($<Be&&0>s(ue,oe))M[Se]=ue,M[$]=oe,Se=$;else break e}}return Q}function s(M,Q){var oe=M.sortIndex-Q.sortIndex;return oe!==0?oe:M.id-Q.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var v=Date,m=v.now();n.unstable_now=function(){return v.now()-m}}var g=[],h=[],y=1,p=null,x=3,_=!1,z=!1,k=!1,O=!1,D=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function V(M){for(var Q=l(h);Q!==null;){if(Q.callback===null)i(h);else if(Q.startTime<=M)i(h),Q.sortIndex=Q.expirationTime,r(g,Q);else break;Q=l(h)}}function X(M){if(k=!1,V(M),!z)if(l(g)!==null)z=!0,Y||(Y=!0,W());else{var Q=l(h);Q!==null&&vt(X,Q.startTime-M)}}var Y=!1,G=-1,le=5,Xe=-1;function Ue(){return O?!0:!(n.unstable_now()-Xe<le)}function et(){if(O=!1,Y){var M=n.unstable_now();Xe=M;var Q=!0;try{e:{z=!1,k&&(k=!1,U(G),G=-1),_=!0;var oe=x;try{t:{for(V(M),p=l(g);p!==null&&!(p.expirationTime>M&&Ue());){var Se=p.callback;if(typeof Se=="function"){p.callback=null,x=p.priorityLevel;var Be=Se(p.expirationTime<=M);if(M=n.unstable_now(),typeof Be=="function"){p.callback=Be,V(M),Q=!0;break t}p===l(g)&&i(g),V(M)}else i(g);p=l(g)}if(p!==null)Q=!0;else{var B=l(h);B!==null&&vt(X,B.startTime-M),Q=!1}}break e}finally{p=null,x=oe,_=!1}Q=void 0}}finally{Q?W():Y=!1}}}var W;if(typeof R=="function")W=function(){R(et)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,at=pe.port2;pe.port1.onmessage=et,W=function(){at.postMessage(null)}}else W=function(){D(et,0)};function vt(M,Q){G=D(function(){M(n.unstable_now())},Q)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(M){M.callback=null},n.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):le=0<M?Math.floor(1e3/M):5},n.unstable_getCurrentPriorityLevel=function(){return x},n.unstable_next=function(M){switch(x){case 1:case 2:case 3:var Q=3;break;default:Q=x}var oe=x;x=Q;try{return M()}finally{x=oe}},n.unstable_requestPaint=function(){O=!0},n.unstable_runWithPriority=function(M,Q){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var oe=x;x=M;try{return Q()}finally{x=oe}},n.unstable_scheduleCallback=function(M,Q,oe){var Se=n.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Se+oe:Se):oe=Se,M){case 1:var Be=-1;break;case 2:Be=250;break;case 5:Be=1073741823;break;case 4:Be=1e4;break;default:Be=5e3}return Be=oe+Be,M={id:y++,callback:Q,priorityLevel:M,startTime:oe,expirationTime:Be,sortIndex:-1},oe>Se?(M.sortIndex=oe,r(h,M),l(g)===null&&M===l(h)&&(k?(U(G),G=-1):k=!0,vt(X,oe-Se))):(M.sortIndex=Be,r(g,M),z||_||(z=!0,Y||(Y=!0,W()))),M},n.unstable_shouldYield=Ue,n.unstable_wrapCallback=function(M){var Q=x;return function(){var oe=x;x=Q;try{return M.apply(this,arguments)}finally{x=oe}}}})(Pc)),Pc}var Qv;function vm(){return Qv||(Qv=1,Gc.exports=wp()),Gc.exports}var Zc={exports:{}},ft={};/**
|
|
* @license React
|
|
* react-dom.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Kv;function zp(){if(Kv)return ft;Kv=1;var n=Ss();function r(g){var h="https://react.dev/errors/"+g;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var i={d:{f:l,r:function(){throw Error(r(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},s=Symbol.for("react.portal");function f(g,h,y){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:p==null?null:""+p,children:g,containerInfo:h,implementation:y}}var v=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,h){if(g==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,ft.createPortal=function(g,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return f(g,h,null,y)},ft.flushSync=function(g){var h=v.T,y=i.p;try{if(v.T=null,i.p=2,g)return g()}finally{v.T=h,i.p=y,i.d.f()}},ft.preconnect=function(g,h){typeof g=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,i.d.C(g,h))},ft.prefetchDNS=function(g){typeof g=="string"&&i.d.D(g)},ft.preinit=function(g,h){if(typeof g=="string"&&h&&typeof h.as=="string"){var y=h.as,p=m(y,h.crossOrigin),x=typeof h.integrity=="string"?h.integrity:void 0,_=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?i.d.S(g,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:x,fetchPriority:_}):y==="script"&&i.d.X(g,{crossOrigin:p,integrity:x,fetchPriority:_,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},ft.preinitModule=function(g,h){if(typeof g=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=m(h.as,h.crossOrigin);i.d.M(g,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&i.d.M(g)},ft.preload=function(g,h){if(typeof g=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,p=m(y,h.crossOrigin);i.d.L(g,y,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},ft.preloadModule=function(g,h){if(typeof g=="string")if(h){var y=m(h.as,h.crossOrigin);i.d.m(g,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else i.d.m(g)},ft.requestFormReset=function(g){i.d.r(g)},ft.unstable_batchedUpdates=function(g,h){return g(h)},ft.useFormState=function(g,h,y){return v.H.useFormState(g,h,y)},ft.useFormStatus=function(){return v.H.useHostTransitionStatus()},ft.version="19.2.5",ft}var Wv;function hm(){if(Wv)return Zc.exports;Wv=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Zc.exports=zp(),Zc.exports}/**
|
|
* @license React
|
|
* react-dom-client.production.js
|
|
*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Iv;function kp(){if(Iv)return xr;Iv=1;var n=vm(),r=Ss(),l=hm();function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function v(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function m(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(f(e)!==e)throw Error(i(188))}function h(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(i(188));return t!==e?null:e}for(var o=e,a=t;;){var u=o.return;if(u===null)break;var c=u.alternate;if(c===null){if(a=u.return,a!==null){o=a;continue}break}if(u.child===c.child){for(c=u.child;c;){if(c===o)return g(u),e;if(c===a)return g(u),t;c=c.sibling}throw Error(i(188))}if(o.return!==a.return)o=u,a=c;else{for(var d=!1,b=u.child;b;){if(b===o){d=!0,o=u,a=c;break}if(b===a){d=!0,a=u,o=c;break}b=b.sibling}if(!d){for(b=c.child;b;){if(b===o){d=!0,o=c,a=u;break}if(b===a){d=!0,a=c,o=u;break}b=b.sibling}if(!d)throw Error(i(189))}}if(o.alternate!==a)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:t}function y(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=y(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,x=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),z=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),R=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),Xe=Symbol.for("react.activity"),Ue=Symbol.for("react.memo_cache_sentinel"),et=Symbol.iterator;function W(e){return e===null||typeof e!="object"?null:(e=et&&e[et]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Symbol.for("react.client.reference");function at(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===pe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case k:return"Fragment";case D:return"Profiler";case O:return"StrictMode";case X:return"Suspense";case Y:return"SuspenseList";case Xe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case z:return"Portal";case R:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case V:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case G:return t=e.displayName||null,t!==null?t:at(e.type)||"Memo";case le:t=e._payload,e=e._init;try{return at(e(t))}catch{}}return null}var vt=Array.isArray,M=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},Se=[],Be=-1;function B(e){return{current:e}}function P(e){0>Be||(e.current=Se[Be],Se[Be]=null,Be--)}function K(e,t){Be++,Se[Be]=e.current,e.current=t}var $=B(null),ue=B(null),fe=B(null),ze=B(null);function ht(e,t){switch(K(fe,t),K(ue,e),K($,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?dv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=dv(t),e=vv(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}P($),K($,e)}function Le(){P($),P(ue),P(fe)}function Ba(e){e.memoizedState!==null&&K(ze,e);var t=$.current,o=vv(t,e.type);t!==o&&(K(ue,e),K($,o))}function Ar(e){ue.current===e&&(P($),P(ue)),ze.current===e&&(P(ze),mr._currentValue=oe)}var Si,Ls;function ln(e){if(Si===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);Si=t&&t[1]||"",Ls=-1<o.stack.indexOf(`
|
|
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
`+Si+e+Ls}var _i=!1;function wi(e,t){if(!e||_i)return"";_i=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(N){var C=N}Reflect.construct(e,[],L)}else{try{L.call()}catch(N){C=N}e.call(L.prototype)}}else{try{throw Error()}catch(N){C=N}(L=e())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(N){if(N&&C&&typeof N.stack=="string")return[N.stack,C.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=a.DetermineComponentFrameRoot(),d=c[0],b=c[1];if(d&&b){var S=d.split(`
|
|
`),j=b.split(`
|
|
`);for(u=a=0;a<S.length&&!S[a].includes("DetermineComponentFrameRoot");)a++;for(;u<j.length&&!j[u].includes("DetermineComponentFrameRoot");)u++;if(a===S.length||u===j.length)for(a=S.length-1,u=j.length-1;1<=a&&0<=u&&S[a]!==j[u];)u--;for(;1<=a&&0<=u;a--,u--)if(S[a]!==j[u]){if(a!==1||u!==1)do if(a--,u--,0>u||S[a]!==j[u]){var q=`
|
|
`+S[a].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=a&&0<=u);break}}}finally{_i=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?ln(o):""}function K1(e,t){switch(e.tag){case 26:case 27:case 5:return ln(e.type);case 16:return ln("Lazy");case 13:return e.child!==t&&t!==null?ln("Suspense Fallback"):ln("Suspense");case 19:return ln("SuspenseList");case 0:case 15:return wi(e.type,!1);case 11:return wi(e.type.render,!1);case 1:return wi(e.type,!0);case 31:return ln("Activity");default:return""}}function Gs(e){try{var t="",o=null;do t+=K1(e,o),o=e,e=e.return;while(e);return t}catch(a){return`
|
|
Error generating stack: `+a.message+`
|
|
`+a.stack}}var zi=Object.prototype.hasOwnProperty,ki=n.unstable_scheduleCallback,Bi=n.unstable_cancelCallback,W1=n.unstable_shouldYield,I1=n.unstable_requestPaint,Bt=n.unstable_now,J1=n.unstable_getCurrentPriorityLevel,Ps=n.unstable_ImmediatePriority,Zs=n.unstable_UserBlockingPriority,Cr=n.unstable_NormalPriority,$1=n.unstable_LowPriority,Xs=n.unstable_IdlePriority,eg=n.log,tg=n.unstable_setDisableYieldValue,Ta=null,Tt=null;function Ao(e){if(typeof eg=="function"&&tg(e),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(Ta,e)}catch{}}var Et=Math.clz32?Math.clz32:ag,og=Math.log,ng=Math.LN2;function ag(e){return e>>>=0,e===0?32:31-(og(e)/ng|0)|0}var Nr=256,Dr=262144,Rr=4194304;function un(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function qr(e,t,o){var a=e.pendingLanes;if(a===0)return 0;var u=0,c=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var b=a&134217727;return b!==0?(a=b&~c,a!==0?u=un(a):(d&=b,d!==0?u=un(d):o||(o=b&~e,o!==0&&(u=un(o))))):(b=a&~c,b!==0?u=un(b):d!==0?u=un(d):o||(o=a&~e,o!==0&&(u=un(o)))),u===0?0:t!==0&&t!==u&&(t&c)===0&&(c=u&-u,o=t&-t,c>=o||c===32&&(o&4194048)!==0)?t:u}function Ea(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rg(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Vs(){var e=Rr;return Rr<<=1,(Rr&62914560)===0&&(Rr=4194304),e}function Ti(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function ja(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function lg(e,t,o,a,u,c){var d=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var b=e.entanglements,S=e.expirationTimes,j=e.hiddenUpdates;for(o=d&~o;0<o;){var q=31-Et(o),L=1<<q;b[q]=0,S[q]=-1;var C=j[q];if(C!==null)for(j[q]=null,q=0;q<C.length;q++){var N=C[q];N!==null&&(N.lane&=-536870913)}o&=~L}a!==0&&Ys(e,a,0),c!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=c&~(d&~t))}function Ys(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Et(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|o&261930}function Qs(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var a=31-Et(o),u=1<<a;u&t|e[a]&t&&(e[a]|=t),o&=~u}}function Ks(e,t){var o=t&-t;return o=(o&42)!==0?1:Ei(o),(o&(e.suspendedLanes|t))!==0?0:o}function Ei(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ji(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Ws(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:Mv(e.type))}function Is(e,t){var o=Q.p;try{return Q.p=e,t()}finally{Q.p=o}}var Co=Math.random().toString(36).slice(2),rt="__reactFiber$"+Co,bt="__reactProps$"+Co,Nn="__reactContainer$"+Co,Ai="__reactEvents$"+Co,ig="__reactListeners$"+Co,ug="__reactHandles$"+Co,Js="__reactResources$"+Co,Aa="__reactMarker$"+Co;function Ci(e){delete e[rt],delete e[bt],delete e[Ai],delete e[ig],delete e[ug]}function Dn(e){var t=e[rt];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Nn]||o[rt]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=xv(e);e!==null;){if(o=e[rt])return o;e=xv(e)}return t}e=o,o=e.parentNode}return null}function Rn(e){if(e=e[rt]||e[Nn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ca(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function qn(e){var t=e[Js];return t||(t=e[Js]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tt(e){e[Aa]=!0}var $s=new Set,ef={};function cn(e,t){Mn(e,t),Mn(e+"Capture",t)}function Mn(e,t){for(ef[e]=t,e=0;e<t.length;e++)$s.add(t[e])}var cg=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),tf={},of={};function sg(e){return zi.call(of,e)?!0:zi.call(tf,e)?!1:cg.test(e)?of[e]=!0:(tf[e]=!0,!1)}function Mr(e,t,o){if(sg(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+o)}}function Or(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+o)}}function co(e,t,o,a){if(a===null)e.removeAttribute(o);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(t,o,""+a)}}function Ht(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function nf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fg(e,t,o){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,c=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(d){o=""+d,c.call(this,d)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return o},setValue:function(d){o=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ni(e){if(!e._valueTracker){var t=nf(e)?"checked":"value";e._valueTracker=fg(e,t,""+e[t])}}function af(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),a="";return e&&(a=nf(e)?e.checked?"true":"false":e.value),e=a,e!==o?(t.setValue(e),!0):!1}function Hr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var dg=/[\n"\\]/g;function Ft(e){return e.replace(dg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Di(e,t,o,a,u,c,d,b){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ht(t)):e.value!==""+Ht(t)&&(e.value=""+Ht(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Ri(e,d,Ht(t)):o!=null?Ri(e,d,Ht(o)):a!=null&&e.removeAttribute("value"),u==null&&c!=null&&(e.defaultChecked=!!c),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Ht(b):e.removeAttribute("name")}function rf(e,t,o,a,u,c,d,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||o!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Ni(e);return}o=o!=null?""+Ht(o):"",t=t!=null?""+Ht(t):o,b||t===e.value||(e.value=t),e.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=b?e.checked:!!a,e.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),Ni(e)}function Ri(e,t,o){t==="number"&&Hr(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function On(e,t,o,a){if(e=e.options,t){t={};for(var u=0;u<o.length;u++)t["$"+o[u]]=!0;for(o=0;o<e.length;o++)u=t.hasOwnProperty("$"+e[o].value),e[o].selected!==u&&(e[o].selected=u),u&&a&&(e[o].defaultSelected=!0)}else{for(o=""+Ht(o),t=null,u=0;u<e.length;u++){if(e[u].value===o){e[u].selected=!0,a&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function lf(e,t,o){if(t!=null&&(t=""+Ht(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+Ht(o):""}function uf(e,t,o,a){if(t==null){if(a!=null){if(o!=null)throw Error(i(92));if(vt(a)){if(1<a.length)throw Error(i(93));a=a[0]}o=a}o==null&&(o=""),t=o}o=Ht(t),e.defaultValue=o,a=e.textContent,a===o&&a!==""&&a!==null&&(e.value=a),Ni(e)}function Hn(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var vg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function cf(e,t,o){var a=t.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,o):typeof o!="number"||o===0||vg.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function sf(e,t,o){if(t!=null&&typeof t!="object")throw Error(i(62));if(e=e.style,o!=null){for(var a in o)!o.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var u in t)a=t[u],t.hasOwnProperty(u)&&o[u]!==a&&cf(e,u,a)}else for(var c in t)t.hasOwnProperty(c)&&cf(e,c,t[c])}function qi(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var hg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),mg=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Fr(e){return mg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function so(){}var Mi=null;function Oi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fn=null,Un=null;function ff(e){var t=Rn(e);if(t&&(e=t.stateNode)){var o=e[bt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Di(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Ft(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var a=o[t];if(a!==e&&a.form===e.form){var u=a[bt]||null;if(!u)throw Error(i(90));Di(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<o.length;t++)a=o[t],a.form===e.form&&af(a)}break e;case"textarea":lf(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&On(e,!!o.multiple,t,!1)}}}var Hi=!1;function df(e,t,o){if(Hi)return e(t,o);Hi=!0;try{var a=e(t);return a}finally{if(Hi=!1,(Fn!==null||Un!==null)&&(Bl(),Fn&&(t=Fn,e=Un,Un=Fn=null,ff(t),e)))for(t=0;t<e.length;t++)ff(e[t])}}function Na(e,t){var o=e.stateNode;if(o===null)return null;var a=o[bt]||null;if(a===null)return null;o=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,t,typeof o));return o}var fo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fi=!1;if(fo)try{var Da={};Object.defineProperty(Da,"passive",{get:function(){Fi=!0}}),window.addEventListener("test",Da,Da),window.removeEventListener("test",Da,Da)}catch{Fi=!1}var No=null,Ui=null,Ur=null;function vf(){if(Ur)return Ur;var e,t=Ui,o=t.length,a,u="value"in No?No.value:No.textContent,c=u.length;for(e=0;e<o&&t[e]===u[e];e++);var d=o-e;for(a=1;a<=d&&t[o-a]===u[c-a];a++);return Ur=u.slice(e,1<a?1-a:void 0)}function Lr(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 Gr(){return!0}function hf(){return!1}function pt(e){function t(o,a,u,c,d){this._reactName=o,this._targetInst=u,this.type=a,this.nativeEvent=c,this.target=d,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(o=e[b],this[b]=o?o(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Gr:hf,this.isPropagationStopped=hf,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Gr)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Gr)},persist:function(){},isPersistent:Gr}),t}var sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pr=pt(sn),Ra=p({},sn,{view:0,detail:0}),gg=pt(Ra),Li,Gi,qa,Zr=p({},Ra,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zi,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!==qa&&(qa&&e.type==="mousemove"?(Li=e.screenX-qa.screenX,Gi=e.screenY-qa.screenY):Gi=Li=0,qa=e),Li)},movementY:function(e){return"movementY"in e?e.movementY:Gi}}),mf=pt(Zr),bg=p({},Zr,{dataTransfer:0}),pg=pt(bg),yg=p({},Ra,{relatedTarget:0}),Pi=pt(yg),xg=p({},sn,{animationName:0,elapsedTime:0,pseudoElement:0}),Sg=pt(xg),_g=p({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wg=pt(_g),zg=p({},sn,{data:0}),gf=pt(zg),kg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bg={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"},Tg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Eg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Tg[e])?!!t[e]:!1}function Zi(){return Eg}var jg=p({},Ra,{key:function(e){if(e.key){var t=kg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Lr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Bg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zi,charCode:function(e){return e.type==="keypress"?Lr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Lr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ag=pt(jg),Cg=p({},Zr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bf=pt(Cg),Ng=p({},Ra,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zi}),Dg=pt(Ng),Rg=p({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0}),qg=pt(Rg),Mg=p({},Zr,{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}),Og=pt(Mg),Hg=p({},sn,{newState:0,oldState:0}),Fg=pt(Hg),Ug=[9,13,27,32],Xi=fo&&"CompositionEvent"in window,Ma=null;fo&&"documentMode"in document&&(Ma=document.documentMode);var Lg=fo&&"TextEvent"in window&&!Ma,pf=fo&&(!Xi||Ma&&8<Ma&&11>=Ma),yf=" ",xf=!1;function Sf(e,t){switch(e){case"keyup":return Ug.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _f(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function Gg(e,t){switch(e){case"compositionend":return _f(t);case"keypress":return t.which!==32?null:(xf=!0,yf);case"textInput":return e=t.data,e===yf&&xf?null:e;default:return null}}function Pg(e,t){if(Ln)return e==="compositionend"||!Xi&&Sf(e,t)?(e=vf(),Ur=Ui=No=null,Ln=!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 pf&&t.locale!=="ko"?null:t.data;default:return null}}var Zg={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 wf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Zg[e.type]:t==="textarea"}function zf(e,t,o,a){Fn?Un?Un.push(a):Un=[a]:Fn=a,t=Dl(t,"onChange"),0<t.length&&(o=new Pr("onChange","change",null,o,a),e.push({event:o,listeners:t}))}var Oa=null,Ha=null;function Xg(e){lv(e,0)}function Xr(e){var t=Ca(e);if(af(t))return e}function kf(e,t){if(e==="change")return t}var Bf=!1;if(fo){var Vi;if(fo){var Yi="oninput"in document;if(!Yi){var Tf=document.createElement("div");Tf.setAttribute("oninput","return;"),Yi=typeof Tf.oninput=="function"}Vi=Yi}else Vi=!1;Bf=Vi&&(!document.documentMode||9<document.documentMode)}function Ef(){Oa&&(Oa.detachEvent("onpropertychange",jf),Ha=Oa=null)}function jf(e){if(e.propertyName==="value"&&Xr(Ha)){var t=[];zf(t,Ha,e,Oi(e)),df(Xg,t)}}function Vg(e,t,o){e==="focusin"?(Ef(),Oa=t,Ha=o,Oa.attachEvent("onpropertychange",jf)):e==="focusout"&&Ef()}function Yg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xr(Ha)}function Qg(e,t){if(e==="click")return Xr(t)}function Kg(e,t){if(e==="input"||e==="change")return Xr(t)}function Wg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jt=typeof Object.is=="function"?Object.is:Wg;function Fa(e,t){if(jt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(a=0;a<o.length;a++){var u=o[a];if(!zi.call(t,u)||!jt(e[u],t[u]))return!1}return!0}function Af(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cf(e,t){var o=Af(e);e=0;for(var a;o;){if(o.nodeType===3){if(a=e+o.textContent.length,e<=t&&a>=t)return{node:o,offset:t-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Af(o)}}function Nf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Df(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Hr(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Hr(e.document)}return t}function Qi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ig=fo&&"documentMode"in document&&11>=document.documentMode,Gn=null,Ki=null,Ua=null,Wi=!1;function Rf(e,t,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Wi||Gn==null||Gn!==Hr(a)||(a=Gn,"selectionStart"in a&&Qi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Ua&&Fa(Ua,a)||(Ua=a,a=Dl(Ki,"onSelect"),0<a.length&&(t=new Pr("onSelect","select",null,t,o),e.push({event:t,listeners:a}),t.target=Gn)))}function fn(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Pn={animationend:fn("Animation","AnimationEnd"),animationiteration:fn("Animation","AnimationIteration"),animationstart:fn("Animation","AnimationStart"),transitionrun:fn("Transition","TransitionRun"),transitionstart:fn("Transition","TransitionStart"),transitioncancel:fn("Transition","TransitionCancel"),transitionend:fn("Transition","TransitionEnd")},Ii={},qf={};fo&&(qf=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 dn(e){if(Ii[e])return Ii[e];if(!Pn[e])return e;var t=Pn[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in qf)return Ii[e]=t[o];return e}var Mf=dn("animationend"),Of=dn("animationiteration"),Hf=dn("animationstart"),Jg=dn("transitionrun"),$g=dn("transitionstart"),eb=dn("transitioncancel"),Ff=dn("transitionend"),Uf=new Map,Ji="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Ji.push("scrollEnd");function It(e,t){Uf.set(e,t),cn(t,[e])}var Vr=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ut=[],Zn=0,$i=0;function Yr(){for(var e=Zn,t=$i=Zn=0;t<e;){var o=Ut[t];Ut[t++]=null;var a=Ut[t];Ut[t++]=null;var u=Ut[t];Ut[t++]=null;var c=Ut[t];if(Ut[t++]=null,a!==null&&u!==null){var d=a.pending;d===null?u.next=u:(u.next=d.next,d.next=u),a.pending=u}c!==0&&Lf(o,u,c)}}function Qr(e,t,o,a){Ut[Zn++]=e,Ut[Zn++]=t,Ut[Zn++]=o,Ut[Zn++]=a,$i|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function eu(e,t,o,a){return Qr(e,t,o,a),Kr(e)}function vn(e,t){return Qr(e,null,null,t),Kr(e)}function Lf(e,t,o){e.lanes|=o;var a=e.alternate;a!==null&&(a.lanes|=o);for(var u=!1,c=e.return;c!==null;)c.childLanes|=o,a=c.alternate,a!==null&&(a.childLanes|=o),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(u=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,u&&t!==null&&(u=31-Et(o),e=c.hiddenUpdates,a=e[u],a===null?e[u]=[t]:a.push(t),t.lane=o|536870912),c):null}function Kr(e){if(50<ur)throw ur=0,cc=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Xn={};function tb(e,t,o,a){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function At(e,t,o,a){return new tb(e,t,o,a)}function tu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vo(e,t){var o=e.alternate;return o===null?(o=At(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function Gf(e,t){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Wr(e,t,o,a,u,c){var d=0;if(a=e,typeof e=="function")tu(e)&&(d=1);else if(typeof e=="string")d=lp(e,o,$.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Xe:return e=At(31,o,t,u),e.elementType=Xe,e.lanes=c,e;case k:return hn(o.children,u,c,t);case O:d=8,u|=24;break;case D:return e=At(12,o,t,u|2),e.elementType=D,e.lanes=c,e;case X:return e=At(13,o,t,u),e.elementType=X,e.lanes=c,e;case Y:return e=At(19,o,t,u),e.elementType=Y,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case R:d=10;break e;case U:d=9;break e;case V:d=11;break e;case G:d=14;break e;case le:d=16,a=null;break e}d=29,o=Error(i(130,e===null?"null":typeof e,"")),a=null}return t=At(d,o,t,u),t.elementType=e,t.type=a,t.lanes=c,t}function hn(e,t,o,a){return e=At(7,e,a,t),e.lanes=o,e}function ou(e,t,o){return e=At(6,e,null,t),e.lanes=o,e}function Pf(e){var t=At(18,null,null,0);return t.stateNode=e,t}function nu(e,t,o){return t=At(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Zf=new WeakMap;function Lt(e,t){if(typeof e=="object"&&e!==null){var o=Zf.get(e);return o!==void 0?o:(t={value:e,source:t,stack:Gs(t)},Zf.set(e,t),t)}return{value:e,source:t,stack:Gs(t)}}var Vn=[],Yn=0,Ir=null,La=0,Gt=[],Pt=0,Do=null,ao=1,ro="";function ho(e,t){Vn[Yn++]=La,Vn[Yn++]=Ir,Ir=e,La=t}function Xf(e,t,o){Gt[Pt++]=ao,Gt[Pt++]=ro,Gt[Pt++]=Do,Do=e;var a=ao;e=ro;var u=32-Et(a)-1;a&=~(1<<u),o+=1;var c=32-Et(t)+u;if(30<c){var d=u-u%5;c=(a&(1<<d)-1).toString(32),a>>=d,u-=d,ao=1<<32-Et(t)+u|o<<u|a,ro=c+e}else ao=1<<c|o<<u|a,ro=e}function au(e){e.return!==null&&(ho(e,1),Xf(e,1,0))}function ru(e){for(;e===Ir;)Ir=Vn[--Yn],Vn[Yn]=null,La=Vn[--Yn],Vn[Yn]=null;for(;e===Do;)Do=Gt[--Pt],Gt[Pt]=null,ro=Gt[--Pt],Gt[Pt]=null,ao=Gt[--Pt],Gt[Pt]=null}function Vf(e,t){Gt[Pt++]=ao,Gt[Pt++]=ro,Gt[Pt++]=Do,ao=t.id,ro=t.overflow,Do=e}var lt=null,Re=null,ge=!1,Ro=null,Zt=!1,lu=Error(i(519));function qo(e){var t=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ga(Lt(t,e)),lu}function Yf(e){var t=e.stateNode,o=e.type,a=e.memoizedProps;switch(t[rt]=e,t[bt]=a,o){case"dialog":ve("cancel",t),ve("close",t);break;case"iframe":case"object":case"embed":ve("load",t);break;case"video":case"audio":for(o=0;o<sr.length;o++)ve(sr[o],t);break;case"source":ve("error",t);break;case"img":case"image":case"link":ve("error",t),ve("load",t);break;case"details":ve("toggle",t);break;case"input":ve("invalid",t),rf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ve("invalid",t);break;case"textarea":ve("invalid",t),uf(t,a.value,a.defaultValue,a.children)}o=a.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||t.textContent===""+o||a.suppressHydrationWarning===!0||sv(t.textContent,o)?(a.popover!=null&&(ve("beforetoggle",t),ve("toggle",t)),a.onScroll!=null&&ve("scroll",t),a.onScrollEnd!=null&&ve("scrollend",t),a.onClick!=null&&(t.onclick=so),t=!0):t=!1,t||qo(e,!0)}function Qf(e){for(lt=e.return;lt;)switch(lt.tag){case 5:case 31:case 13:Zt=!1;return;case 27:case 3:Zt=!0;return;default:lt=lt.return}}function Qn(e){if(e!==lt)return!1;if(!ge)return Qf(e),ge=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||zc(e.type,e.memoizedProps)),o=!o),o&&Re&&qo(e),Qf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));Re=yv(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));Re=yv(e)}else t===27?(t=Re,Ko(e.type)?(e=jc,jc=null,Re=e):Re=t):Re=lt?Vt(e.stateNode.nextSibling):null;return!0}function mn(){Re=lt=null,ge=!1}function iu(){var e=Ro;return e!==null&&(_t===null?_t=e:_t.push.apply(_t,e),Ro=null),e}function Ga(e){Ro===null?Ro=[e]:Ro.push(e)}var uu=B(null),gn=null,mo=null;function Mo(e,t,o){K(uu,t._currentValue),t._currentValue=o}function go(e){e._currentValue=uu.current,P(uu)}function cu(e,t,o){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===o)break;e=e.return}}function su(e,t,o,a){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var c=u.dependencies;if(c!==null){var d=u.child;c=c.firstContext;e:for(;c!==null;){var b=c;c=u;for(var S=0;S<t.length;S++)if(b.context===t[S]){c.lanes|=o,b=c.alternate,b!==null&&(b.lanes|=o),cu(c.return,o,e),a||(d=null);break e}c=b.next}}else if(u.tag===18){if(d=u.return,d===null)throw Error(i(341));d.lanes|=o,c=d.alternate,c!==null&&(c.lanes|=o),cu(d,o,e),d=null}else d=u.child;if(d!==null)d.return=u;else for(d=u;d!==null;){if(d===e){d=null;break}if(u=d.sibling,u!==null){u.return=d.return,d=u;break}d=d.return}u=d}}function Kn(e,t,o,a){e=null;for(var u=t,c=!1;u!==null;){if(!c){if((u.flags&524288)!==0)c=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var d=u.alternate;if(d===null)throw Error(i(387));if(d=d.memoizedProps,d!==null){var b=u.type;jt(u.pendingProps.value,d.value)||(e!==null?e.push(b):e=[b])}}else if(u===ze.current){if(d=u.alternate,d===null)throw Error(i(387));d.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(mr):e=[mr])}u=u.return}e!==null&&su(t,e,o,a),t.flags|=262144}function Jr(e){for(e=e.firstContext;e!==null;){if(!jt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function bn(e){gn=e,mo=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function it(e){return Kf(gn,e)}function $r(e,t){return gn===null&&bn(e),Kf(e,t)}function Kf(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},mo===null){if(e===null)throw Error(i(308));mo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else mo=mo.next=t;return o}var ob=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},nb=n.unstable_scheduleCallback,ab=n.unstable_NormalPriority,Ve={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function fu(){return{controller:new ob,data:new Map,refCount:0}}function Pa(e){e.refCount--,e.refCount===0&&nb(ab,function(){e.controller.abort()})}var Za=null,du=0,Wn=0,In=null;function rb(e,t){if(Za===null){var o=Za=[];du=0,Wn=mc(),In={status:"pending",value:void 0,then:function(a){o.push(a)}}}return du++,t.then(Wf,Wf),t}function Wf(){if(--du===0&&Za!==null){In!==null&&(In.status="fulfilled");var e=Za;Za=null,Wn=0,In=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function lb(e,t){var o=[],a={status:"pending",value:null,reason:null,then:function(u){o.push(u)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var u=0;u<o.length;u++)(0,o[u])(t)},function(u){for(a.status="rejected",a.reason=u,u=0;u<o.length;u++)(0,o[u])(void 0)}),a}var If=M.S;M.S=function(e,t){R0=Bt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&rb(e,t),If!==null&&If(e,t)};var pn=B(null);function vu(){var e=pn.current;return e!==null?e:Ne.pooledCache}function el(e,t){t===null?K(pn,pn.current):K(pn,t.pool)}function Jf(){var e=vu();return e===null?null:{parent:Ve._currentValue,pool:e}}var Jn=Error(i(460)),hu=Error(i(474)),tl=Error(i(542)),ol={then:function(){}};function $f(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ed(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then(so,so),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,od(e),e;default:if(typeof t.status=="string")t.then(so,so);else{if(e=Ne,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=a}},function(a){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,od(e),e}throw xn=t,Jn}}function yn(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(xn=o,Jn):o}}var xn=null;function td(){if(xn===null)throw Error(i(459));var e=xn;return xn=null,e}function od(e){if(e===Jn||e===tl)throw Error(i(483))}var $n=null,Xa=0;function nl(e){var t=Xa;return Xa+=1,$n===null&&($n=[]),ed($n,e,t)}function Va(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function al(e,t){throw t.$$typeof===x?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function nd(e){function t(T,w){if(e){var E=T.deletions;E===null?(T.deletions=[w],T.flags|=16):E.push(w)}}function o(T,w){if(!e)return null;for(;w!==null;)t(T,w),w=w.sibling;return null}function a(T){for(var w=new Map;T!==null;)T.key!==null?w.set(T.key,T):w.set(T.index,T),T=T.sibling;return w}function u(T,w){return T=vo(T,w),T.index=0,T.sibling=null,T}function c(T,w,E){return T.index=E,e?(E=T.alternate,E!==null?(E=E.index,E<w?(T.flags|=67108866,w):E):(T.flags|=67108866,w)):(T.flags|=1048576,w)}function d(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function b(T,w,E,F){return w===null||w.tag!==6?(w=ou(E,T.mode,F),w.return=T,w):(w=u(w,E),w.return=T,w)}function S(T,w,E,F){var te=E.type;return te===k?q(T,w,E.props.children,F,E.key):w!==null&&(w.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===le&&yn(te)===w.type)?(w=u(w,E.props),Va(w,E),w.return=T,w):(w=Wr(E.type,E.key,E.props,null,T.mode,F),Va(w,E),w.return=T,w)}function j(T,w,E,F){return w===null||w.tag!==4||w.stateNode.containerInfo!==E.containerInfo||w.stateNode.implementation!==E.implementation?(w=nu(E,T.mode,F),w.return=T,w):(w=u(w,E.children||[]),w.return=T,w)}function q(T,w,E,F,te){return w===null||w.tag!==7?(w=hn(E,T.mode,F,te),w.return=T,w):(w=u(w,E),w.return=T,w)}function L(T,w,E){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return w=ou(""+w,T.mode,E),w.return=T,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case _:return E=Wr(w.type,w.key,w.props,null,T.mode,E),Va(E,w),E.return=T,E;case z:return w=nu(w,T.mode,E),w.return=T,w;case le:return w=yn(w),L(T,w,E)}if(vt(w)||W(w))return w=hn(w,T.mode,E,null),w.return=T,w;if(typeof w.then=="function")return L(T,nl(w),E);if(w.$$typeof===R)return L(T,$r(T,w),E);al(T,w)}return null}function C(T,w,E,F){var te=w!==null?w.key:null;if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return te!==null?null:b(T,w,""+E,F);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case _:return E.key===te?S(T,w,E,F):null;case z:return E.key===te?j(T,w,E,F):null;case le:return E=yn(E),C(T,w,E,F)}if(vt(E)||W(E))return te!==null?null:q(T,w,E,F,null);if(typeof E.then=="function")return C(T,w,nl(E),F);if(E.$$typeof===R)return C(T,w,$r(T,E),F);al(T,E)}return null}function N(T,w,E,F,te){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return T=T.get(E)||null,b(w,T,""+F,te);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case _:return T=T.get(F.key===null?E:F.key)||null,S(w,T,F,te);case z:return T=T.get(F.key===null?E:F.key)||null,j(w,T,F,te);case le:return F=yn(F),N(T,w,E,F,te)}if(vt(F)||W(F))return T=T.get(E)||null,q(w,T,F,te,null);if(typeof F.then=="function")return N(T,w,E,nl(F),te);if(F.$$typeof===R)return N(T,w,E,$r(w,F),te);al(w,F)}return null}function J(T,w,E,F){for(var te=null,ye=null,ee=w,se=w=0,me=null;ee!==null&&se<E.length;se++){ee.index>se?(me=ee,ee=null):me=ee.sibling;var xe=C(T,ee,E[se],F);if(xe===null){ee===null&&(ee=me);break}e&&ee&&xe.alternate===null&&t(T,ee),w=c(xe,w,se),ye===null?te=xe:ye.sibling=xe,ye=xe,ee=me}if(se===E.length)return o(T,ee),ge&&ho(T,se),te;if(ee===null){for(;se<E.length;se++)ee=L(T,E[se],F),ee!==null&&(w=c(ee,w,se),ye===null?te=ee:ye.sibling=ee,ye=ee);return ge&&ho(T,se),te}for(ee=a(ee);se<E.length;se++)me=N(ee,T,se,E[se],F),me!==null&&(e&&me.alternate!==null&&ee.delete(me.key===null?se:me.key),w=c(me,w,se),ye===null?te=me:ye.sibling=me,ye=me);return e&&ee.forEach(function(en){return t(T,en)}),ge&&ho(T,se),te}function ne(T,w,E,F){if(E==null)throw Error(i(151));for(var te=null,ye=null,ee=w,se=w=0,me=null,xe=E.next();ee!==null&&!xe.done;se++,xe=E.next()){ee.index>se?(me=ee,ee=null):me=ee.sibling;var en=C(T,ee,xe.value,F);if(en===null){ee===null&&(ee=me);break}e&&ee&&en.alternate===null&&t(T,ee),w=c(en,w,se),ye===null?te=en:ye.sibling=en,ye=en,ee=me}if(xe.done)return o(T,ee),ge&&ho(T,se),te;if(ee===null){for(;!xe.done;se++,xe=E.next())xe=L(T,xe.value,F),xe!==null&&(w=c(xe,w,se),ye===null?te=xe:ye.sibling=xe,ye=xe);return ge&&ho(T,se),te}for(ee=a(ee);!xe.done;se++,xe=E.next())xe=N(ee,T,se,xe.value,F),xe!==null&&(e&&xe.alternate!==null&&ee.delete(xe.key===null?se:xe.key),w=c(xe,w,se),ye===null?te=xe:ye.sibling=xe,ye=xe);return e&&ee.forEach(function(bp){return t(T,bp)}),ge&&ho(T,se),te}function Ce(T,w,E,F){if(typeof E=="object"&&E!==null&&E.type===k&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case _:e:{for(var te=E.key;w!==null;){if(w.key===te){if(te=E.type,te===k){if(w.tag===7){o(T,w.sibling),F=u(w,E.props.children),F.return=T,T=F;break e}}else if(w.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===le&&yn(te)===w.type){o(T,w.sibling),F=u(w,E.props),Va(F,E),F.return=T,T=F;break e}o(T,w);break}else t(T,w);w=w.sibling}E.type===k?(F=hn(E.props.children,T.mode,F,E.key),F.return=T,T=F):(F=Wr(E.type,E.key,E.props,null,T.mode,F),Va(F,E),F.return=T,T=F)}return d(T);case z:e:{for(te=E.key;w!==null;){if(w.key===te)if(w.tag===4&&w.stateNode.containerInfo===E.containerInfo&&w.stateNode.implementation===E.implementation){o(T,w.sibling),F=u(w,E.children||[]),F.return=T,T=F;break e}else{o(T,w);break}else t(T,w);w=w.sibling}F=nu(E,T.mode,F),F.return=T,T=F}return d(T);case le:return E=yn(E),Ce(T,w,E,F)}if(vt(E))return J(T,w,E,F);if(W(E)){if(te=W(E),typeof te!="function")throw Error(i(150));return E=te.call(E),ne(T,w,E,F)}if(typeof E.then=="function")return Ce(T,w,nl(E),F);if(E.$$typeof===R)return Ce(T,w,$r(T,E),F);al(T,E)}return typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint"?(E=""+E,w!==null&&w.tag===6?(o(T,w.sibling),F=u(w,E),F.return=T,T=F):(o(T,w),F=ou(E,T.mode,F),F.return=T,T=F),d(T)):o(T,w)}return function(T,w,E,F){try{Xa=0;var te=Ce(T,w,E,F);return $n=null,te}catch(ee){if(ee===Jn||ee===tl)throw ee;var ye=At(29,ee,null,T.mode);return ye.lanes=F,ye.return=T,ye}finally{}}}var Sn=nd(!0),ad=nd(!1),Oo=!1;function mu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ho(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Fo(e,t,o){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(_e&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=Kr(e),Lf(e,null,o),t}return Qr(e,a,t,o),Kr(e)}function Ya(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Qs(e,o)}}function bu(e,t){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var u=null,c=null;if(o=o.firstBaseUpdate,o!==null){do{var d={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};c===null?u=c=d:c=c.next=d,o=o.next}while(o!==null);c===null?u=c=t:c=c.next=t}else u=c=t;o={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var pu=!1;function Qa(){if(pu){var e=In;if(e!==null)throw e}}function Ka(e,t,o,a){pu=!1;var u=e.updateQueue;Oo=!1;var c=u.firstBaseUpdate,d=u.lastBaseUpdate,b=u.shared.pending;if(b!==null){u.shared.pending=null;var S=b,j=S.next;S.next=null,d===null?c=j:d.next=j,d=S;var q=e.alternate;q!==null&&(q=q.updateQueue,b=q.lastBaseUpdate,b!==d&&(b===null?q.firstBaseUpdate=j:b.next=j,q.lastBaseUpdate=S))}if(c!==null){var L=u.baseState;d=0,q=j=S=null,b=c;do{var C=b.lane&-536870913,N=C!==b.lane;if(N?(he&C)===C:(a&C)===C){C!==0&&C===Wn&&(pu=!0),q!==null&&(q=q.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var J=e,ne=b;C=t;var Ce=o;switch(ne.tag){case 1:if(J=ne.payload,typeof J=="function"){L=J.call(Ce,L,C);break e}L=J;break e;case 3:J.flags=J.flags&-65537|128;case 0:if(J=ne.payload,C=typeof J=="function"?J.call(Ce,L,C):J,C==null)break e;L=p({},L,C);break e;case 2:Oo=!0}}C=b.callback,C!==null&&(e.flags|=64,N&&(e.flags|=8192),N=u.callbacks,N===null?u.callbacks=[C]:N.push(C))}else N={lane:C,tag:b.tag,payload:b.payload,callback:b.callback,next:null},q===null?(j=q=N,S=L):q=q.next=N,d|=C;if(b=b.next,b===null){if(b=u.shared.pending,b===null)break;N=b,b=N.next,N.next=null,u.lastBaseUpdate=N,u.shared.pending=null}}while(!0);q===null&&(S=L),u.baseState=S,u.firstBaseUpdate=j,u.lastBaseUpdate=q,c===null&&(u.shared.lanes=0),Zo|=d,e.lanes=d,e.memoizedState=L}}function rd(e,t){if(typeof e!="function")throw Error(i(191,e));e.call(t)}function ld(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)rd(o[e],t)}var ea=B(null),rl=B(0);function id(e,t){e=ko,K(rl,e),K(ea,t),ko=e|t.baseLanes}function yu(){K(rl,ko),K(ea,ea.current)}function xu(){ko=rl.current,P(ea),P(rl)}var Ct=B(null),Xt=null;function Uo(e){var t=e.alternate;K(Ge,Ge.current&1),K(Ct,e),Xt===null&&(t===null||ea.current!==null||t.memoizedState!==null)&&(Xt=e)}function Su(e){K(Ge,Ge.current),K(Ct,e),Xt===null&&(Xt=e)}function ud(e){e.tag===22?(K(Ge,Ge.current),K(Ct,e),Xt===null&&(Xt=e)):Lo()}function Lo(){K(Ge,Ge.current),K(Ct,Ct.current)}function Nt(e){P(Ct),Xt===e&&(Xt=null),P(Ge)}var Ge=B(0);function ll(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Tc(o)||Ec(o)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){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 bo=0,ce=null,je=null,Ye=null,il=!1,ta=!1,_n=!1,ul=0,Wa=0,oa=null,ib=0;function He(){throw Error(i(321))}function _u(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!jt(e[o],t[o]))return!1;return!0}function wu(e,t,o,a,u,c){return bo=c,ce=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=e===null||e.memoizedState===null?Xd:Hu,_n=!1,c=o(a,u),_n=!1,ta&&(c=sd(t,o,a,u)),cd(e),c}function cd(e){M.H=$a;var t=je!==null&&je.next!==null;if(bo=0,Ye=je=ce=null,il=!1,Wa=0,oa=null,t)throw Error(i(300));e===null||Qe||(e=e.dependencies,e!==null&&Jr(e)&&(Qe=!0))}function sd(e,t,o,a){ce=e;var u=0;do{if(ta&&(oa=null),Wa=0,ta=!1,25<=u)throw Error(i(301));if(u+=1,Ye=je=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}M.H=Vd,c=t(o,a)}while(ta);return c}function ub(){var e=M.H,t=e.useState()[0];return t=typeof t.then=="function"?Ia(t):t,e=e.useState()[0],(je!==null?je.memoizedState:null)!==e&&(ce.flags|=1024),t}function zu(){var e=ul!==0;return ul=0,e}function ku(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function Bu(e){if(il){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}il=!1}bo=0,Ye=je=ce=null,ta=!1,Wa=ul=0,oa=null}function mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?ce.memoizedState=Ye=e:Ye=Ye.next=e,Ye}function Pe(){if(je===null){var e=ce.alternate;e=e!==null?e.memoizedState:null}else e=je.next;var t=Ye===null?ce.memoizedState:Ye.next;if(t!==null)Ye=t,je=e;else{if(e===null)throw ce.alternate===null?Error(i(467)):Error(i(310));je=e,e={memoizedState:je.memoizedState,baseState:je.baseState,baseQueue:je.baseQueue,queue:je.queue,next:null},Ye===null?ce.memoizedState=Ye=e:Ye=Ye.next=e}return Ye}function cl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ia(e){var t=Wa;return Wa+=1,oa===null&&(oa=[]),e=ed(oa,e,t),t=ce,(Ye===null?t.memoizedState:Ye.next)===null&&(t=t.alternate,M.H=t===null||t.memoizedState===null?Xd:Hu),e}function sl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ia(e);if(e.$$typeof===R)return it(e)}throw Error(i(438,String(e)))}function Tu(e){var t=null,o=ce.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var a=ce.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),o===null&&(o=cl(),ce.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0)for(o=t.data[t.index]=Array(e),a=0;a<e;a++)o[a]=Ue;return t.index++,o}function po(e,t){return typeof t=="function"?t(e):t}function fl(e){var t=Pe();return Eu(t,je,e)}function Eu(e,t,o){var a=e.queue;if(a===null)throw Error(i(311));a.lastRenderedReducer=o;var u=e.baseQueue,c=a.pending;if(c!==null){if(u!==null){var d=u.next;u.next=c.next,c.next=d}t.baseQueue=u=c,a.pending=null}if(c=e.baseState,u===null)e.memoizedState=c;else{t=u.next;var b=d=null,S=null,j=t,q=!1;do{var L=j.lane&-536870913;if(L!==j.lane?(he&L)===L:(bo&L)===L){var C=j.revertLane;if(C===0)S!==null&&(S=S.next={lane:0,revertLane:0,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),L===Wn&&(q=!0);else if((bo&C)===C){j=j.next,C===Wn&&(q=!0);continue}else L={lane:0,revertLane:j.revertLane,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},S===null?(b=S=L,d=c):S=S.next=L,ce.lanes|=C,Zo|=C;L=j.action,_n&&o(c,L),c=j.hasEagerState?j.eagerState:o(c,L)}else C={lane:L,revertLane:j.revertLane,gesture:j.gesture,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},S===null?(b=S=C,d=c):S=S.next=C,ce.lanes|=L,Zo|=L;j=j.next}while(j!==null&&j!==t);if(S===null?d=c:S.next=b,!jt(c,e.memoizedState)&&(Qe=!0,q&&(o=In,o!==null)))throw o;e.memoizedState=c,e.baseState=d,e.baseQueue=S,a.lastRenderedState=c}return u===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function ju(e){var t=Pe(),o=t.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var a=o.dispatch,u=o.pending,c=t.memoizedState;if(u!==null){o.pending=null;var d=u=u.next;do c=e(c,d.action),d=d.next;while(d!==u);jt(c,t.memoizedState)||(Qe=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),o.lastRenderedState=c}return[c,a]}function fd(e,t,o){var a=ce,u=Pe(),c=ge;if(c){if(o===void 0)throw Error(i(407));o=o()}else o=t();var d=!jt((je||u).memoizedState,o);if(d&&(u.memoizedState=o,Qe=!0),u=u.queue,Nu(hd.bind(null,a,u,e),[e]),u.getSnapshot!==t||d||Ye!==null&&Ye.memoizedState.tag&1){if(a.flags|=2048,na(9,{destroy:void 0},vd.bind(null,a,u,o,t),null),Ne===null)throw Error(i(349));c||(bo&127)!==0||dd(a,t,o)}return o}function dd(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=ce.updateQueue,t===null?(t=cl(),ce.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function vd(e,t,o,a){t.value=o,t.getSnapshot=a,md(t)&&gd(e)}function hd(e,t,o){return o(function(){md(t)&&gd(e)})}function md(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!jt(e,o)}catch{return!0}}function gd(e){var t=vn(e,2);t!==null&&wt(t,e,2)}function Au(e){var t=mt();if(typeof e=="function"){var o=e;if(e=o(),_n){Ao(!0);try{o()}finally{Ao(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:e},t}function bd(e,t,o,a){return e.baseState=o,Eu(e,je,typeof a=="function"?a:po)}function cb(e,t,o,a,u){if(hl(e))throw Error(i(485));if(e=t.action,e!==null){var c={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){c.listeners.push(d)}};M.T!==null?o(!0):c.isTransition=!1,a(c),o=t.pending,o===null?(c.next=t.pending=c,pd(t,c)):(c.next=o.next,t.pending=o.next=c)}}function pd(e,t){var o=t.action,a=t.payload,u=e.state;if(t.isTransition){var c=M.T,d={};M.T=d;try{var b=o(u,a),S=M.S;S!==null&&S(d,b),yd(e,t,b)}catch(j){Cu(e,t,j)}finally{c!==null&&d.types!==null&&(c.types=d.types),M.T=c}}else try{c=o(u,a),yd(e,t,c)}catch(j){Cu(e,t,j)}}function yd(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(a){xd(e,t,a)},function(a){return Cu(e,t,a)}):xd(e,t,o)}function xd(e,t,o){t.status="fulfilled",t.value=o,Sd(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,pd(e,o)))}function Cu(e,t,o){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=o,Sd(t),t=t.next;while(t!==a)}e.action=null}function Sd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function _d(e,t){return t}function wd(e,t){if(ge){var o=Ne.formState;if(o!==null){e:{var a=ce;if(ge){if(Re){t:{for(var u=Re,c=Zt;u.nodeType!==8;){if(!c){u=null;break t}if(u=Vt(u.nextSibling),u===null){u=null;break t}}c=u.data,u=c==="F!"||c==="F"?u:null}if(u){Re=Vt(u.nextSibling),a=u.data==="F!";break e}}qo(a)}a=!1}a&&(t=o[0])}}return o=mt(),o.memoizedState=o.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_d,lastRenderedState:t},o.queue=a,o=Gd.bind(null,ce,a),a.dispatch=o,a=Au(!1),c=Ou.bind(null,ce,!1,a.queue),a=mt(),u={state:t,dispatch:null,action:e,pending:null},a.queue=u,o=cb.bind(null,ce,u,c,o),u.dispatch=o,a.memoizedState=e,[t,o,!1]}function zd(e){var t=Pe();return kd(t,je,e)}function kd(e,t,o){if(t=Eu(e,t,_d)[0],e=fl(po)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Ia(t)}catch(d){throw d===Jn?tl:d}else a=t;t=Pe();var u=t.queue,c=u.dispatch;return o!==t.memoizedState&&(ce.flags|=2048,na(9,{destroy:void 0},sb.bind(null,u,o),null)),[a,c,e]}function sb(e,t){e.action=t}function Bd(e){var t=Pe(),o=je;if(o!==null)return kd(t,o,e);Pe(),t=t.memoizedState,o=Pe();var a=o.queue.dispatch;return o.memoizedState=e,[t,a,!1]}function na(e,t,o,a){return e={tag:e,create:o,deps:a,inst:t,next:null},t=ce.updateQueue,t===null&&(t=cl(),ce.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(a=o.next,o.next=e,e.next=a,t.lastEffect=e),e}function Td(){return Pe().memoizedState}function dl(e,t,o,a){var u=mt();ce.flags|=e,u.memoizedState=na(1|t,{destroy:void 0},o,a===void 0?null:a)}function vl(e,t,o,a){var u=Pe();a=a===void 0?null:a;var c=u.memoizedState.inst;je!==null&&a!==null&&_u(a,je.memoizedState.deps)?u.memoizedState=na(t,c,o,a):(ce.flags|=e,u.memoizedState=na(1|t,c,o,a))}function Ed(e,t){dl(8390656,8,e,t)}function Nu(e,t){vl(2048,8,e,t)}function fb(e){ce.flags|=4;var t=ce.updateQueue;if(t===null)t=cl(),ce.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function jd(e){var t=Pe().memoizedState;return fb({ref:t,nextImpl:e}),function(){if((_e&2)!==0)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function Ad(e,t){return vl(4,2,e,t)}function Cd(e,t){return vl(4,4,e,t)}function Nd(e,t){if(typeof t=="function"){e=e();var o=t(e);return function(){typeof o=="function"?o():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Dd(e,t,o){o=o!=null?o.concat([e]):null,vl(4,4,Nd.bind(null,t,e),o)}function Du(){}function Rd(e,t){var o=Pe();t=t===void 0?null:t;var a=o.memoizedState;return t!==null&&_u(t,a[1])?a[0]:(o.memoizedState=[e,t],e)}function qd(e,t){var o=Pe();t=t===void 0?null:t;var a=o.memoizedState;if(t!==null&&_u(t,a[1]))return a[0];if(a=e(),_n){Ao(!0);try{e()}finally{Ao(!1)}}return o.memoizedState=[a,t],a}function Ru(e,t,o){return o===void 0||(bo&1073741824)!==0&&(he&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=M0(),ce.lanes|=e,Zo|=e,o)}function Md(e,t,o,a){return jt(o,t)?o:ea.current!==null?(e=Ru(e,o,a),jt(e,t)||(Qe=!0),e):(bo&42)===0||(bo&1073741824)!==0&&(he&261930)===0?(Qe=!0,e.memoizedState=o):(e=M0(),ce.lanes|=e,Zo|=e,t)}function Od(e,t,o,a,u){var c=Q.p;Q.p=c!==0&&8>c?c:8;var d=M.T,b={};M.T=b,Ou(e,!1,t,o);try{var S=u(),j=M.S;if(j!==null&&j(b,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var q=lb(S,a);Ja(e,t,q,qt(e))}else Ja(e,t,a,qt(e))}catch(L){Ja(e,t,{then:function(){},status:"rejected",reason:L},qt())}finally{Q.p=c,d!==null&&b.types!==null&&(d.types=b.types),M.T=d}}function db(){}function qu(e,t,o,a){if(e.tag!==5)throw Error(i(476));var u=Hd(e).queue;Od(e,u,t,oe,o===null?db:function(){return Fd(e),o(a)})}function Hd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:oe},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Fd(e){var t=Hd(e);t.next===null&&(t=e.alternate.memoizedState),Ja(e,t.next.queue,{},qt())}function Mu(){return it(mr)}function Ud(){return Pe().memoizedState}function Ld(){return Pe().memoizedState}function vb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=qt();e=Ho(o);var a=Fo(t,e,o);a!==null&&(wt(a,t,o),Ya(a,t,o)),t={cache:fu()},e.payload=t;return}t=t.return}}function hb(e,t,o){var a=qt();o={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},hl(e)?Pd(t,o):(o=eu(e,t,o,a),o!==null&&(wt(o,e,a),Zd(o,t,a)))}function Gd(e,t,o){var a=qt();Ja(e,t,o,a)}function Ja(e,t,o,a){var u={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(hl(e))Pd(t,u);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var d=t.lastRenderedState,b=c(d,o);if(u.hasEagerState=!0,u.eagerState=b,jt(b,d))return Qr(e,t,u,0),Ne===null&&Yr(),!1}catch{}finally{}if(o=eu(e,t,u,a),o!==null)return wt(o,e,a),Zd(o,t,a),!0}return!1}function Ou(e,t,o,a){if(a={lane:2,revertLane:mc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},hl(e)){if(t)throw Error(i(479))}else t=eu(e,o,a,2),t!==null&&wt(t,e,2)}function hl(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function Pd(e,t){ta=il=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Zd(e,t,o){if((o&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Qs(e,o)}}var $a={readContext:it,use:sl,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useLayoutEffect:He,useInsertionEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useSyncExternalStore:He,useId:He,useHostTransitionStatus:He,useFormState:He,useActionState:He,useOptimistic:He,useMemoCache:He,useCacheRefresh:He};$a.useEffectEvent=He;var Xd={readContext:it,use:sl,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:Ed,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,dl(4194308,4,Nd.bind(null,t,e),o)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){dl(4,2,e,t)},useMemo:function(e,t){var o=mt();t=t===void 0?null:t;var a=e();if(_n){Ao(!0);try{e()}finally{Ao(!1)}}return o.memoizedState=[a,t],a},useReducer:function(e,t,o){var a=mt();if(o!==void 0){var u=o(t);if(_n){Ao(!0);try{o(t)}finally{Ao(!1)}}}else u=t;return a.memoizedState=a.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},a.queue=e,e=e.dispatch=hb.bind(null,ce,e),[a.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:function(e){e=Au(e);var t=e.queue,o=Gd.bind(null,ce,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:Du,useDeferredValue:function(e,t){var o=mt();return Ru(o,e,t)},useTransition:function(){var e=Au(!1);return e=Od.bind(null,ce,e.queue,!0,!1),mt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var a=ce,u=mt();if(ge){if(o===void 0)throw Error(i(407));o=o()}else{if(o=t(),Ne===null)throw Error(i(349));(he&127)!==0||dd(a,t,o)}u.memoizedState=o;var c={value:o,getSnapshot:t};return u.queue=c,Ed(hd.bind(null,a,c,e),[e]),a.flags|=2048,na(9,{destroy:void 0},vd.bind(null,a,c,o,t),null),o},useId:function(){var e=mt(),t=Ne.identifierPrefix;if(ge){var o=ro,a=ao;o=(a&~(1<<32-Et(a)-1)).toString(32)+o,t="_"+t+"R_"+o,o=ul++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=ib++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Mu,useFormState:wd,useActionState:wd,useOptimistic:function(e){var t=mt();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=Ou.bind(null,ce,!0,o),o.dispatch=t,[e,t]},useMemoCache:Tu,useCacheRefresh:function(){return mt().memoizedState=vb.bind(null,ce)},useEffectEvent:function(e){var t=mt(),o={impl:e};return t.memoizedState=o,function(){if((_e&2)!==0)throw Error(i(440));return o.impl.apply(void 0,arguments)}}},Hu={readContext:it,use:sl,useCallback:Rd,useContext:it,useEffect:Nu,useImperativeHandle:Dd,useInsertionEffect:Ad,useLayoutEffect:Cd,useMemo:qd,useReducer:fl,useRef:Td,useState:function(){return fl(po)},useDebugValue:Du,useDeferredValue:function(e,t){var o=Pe();return Md(o,je.memoizedState,e,t)},useTransition:function(){var e=fl(po)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:Ia(e),t]},useSyncExternalStore:fd,useId:Ud,useHostTransitionStatus:Mu,useFormState:zd,useActionState:zd,useOptimistic:function(e,t){var o=Pe();return bd(o,je,e,t)},useMemoCache:Tu,useCacheRefresh:Ld};Hu.useEffectEvent=jd;var Vd={readContext:it,use:sl,useCallback:Rd,useContext:it,useEffect:Nu,useImperativeHandle:Dd,useInsertionEffect:Ad,useLayoutEffect:Cd,useMemo:qd,useReducer:ju,useRef:Td,useState:function(){return ju(po)},useDebugValue:Du,useDeferredValue:function(e,t){var o=Pe();return je===null?Ru(o,e,t):Md(o,je.memoizedState,e,t)},useTransition:function(){var e=ju(po)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:Ia(e),t]},useSyncExternalStore:fd,useId:Ud,useHostTransitionStatus:Mu,useFormState:Bd,useActionState:Bd,useOptimistic:function(e,t){var o=Pe();return je!==null?bd(o,je,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:Tu,useCacheRefresh:Ld};Vd.useEffectEvent=jd;function Fu(e,t,o,a){t=e.memoizedState,o=o(a,t),o=o==null?t:p({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Uu={enqueueSetState:function(e,t,o){e=e._reactInternals;var a=qt(),u=Ho(a);u.payload=t,o!=null&&(u.callback=o),t=Fo(e,u,a),t!==null&&(wt(t,e,a),Ya(t,e,a))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var a=qt(),u=Ho(a);u.tag=1,u.payload=t,o!=null&&(u.callback=o),t=Fo(e,u,a),t!==null&&(wt(t,e,a),Ya(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=qt(),a=Ho(o);a.tag=2,t!=null&&(a.callback=t),t=Fo(e,a,o),t!==null&&(wt(t,e,o),Ya(t,e,o))}};function Yd(e,t,o,a,u,c,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,c,d):t.prototype&&t.prototype.isPureReactComponent?!Fa(o,a)||!Fa(u,c):!0}function Qd(e,t,o,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,a),t.state!==e&&Uu.enqueueReplaceState(t,t.state,null)}function wn(e,t){var o=t;if("ref"in t){o={};for(var a in t)a!=="ref"&&(o[a]=t[a])}if(e=e.defaultProps){o===t&&(o=p({},o));for(var u in e)o[u]===void 0&&(o[u]=e[u])}return o}function Kd(e){Vr(e)}function Wd(e){console.error(e)}function Id(e){Vr(e)}function ml(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Jd(e,t,o){try{var a=e.onCaughtError;a(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Lu(e,t,o){return o=Ho(o),o.tag=3,o.payload={element:null},o.callback=function(){ml(e,t)},o}function $d(e){return e=Ho(e),e.tag=3,e}function e0(e,t,o,a){var u=o.type.getDerivedStateFromError;if(typeof u=="function"){var c=a.value;e.payload=function(){return u(c)},e.callback=function(){Jd(t,o,a)}}var d=o.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Jd(t,o,a),typeof u!="function"&&(Xo===null?Xo=new Set([this]):Xo.add(this));var b=a.stack;this.componentDidCatch(a.value,{componentStack:b!==null?b:""})})}function mb(e,t,o,a,u){if(o.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=o.alternate,t!==null&&Kn(t,o,u,!0),o=Ct.current,o!==null){switch(o.tag){case 31:case 13:return Xt===null?Tl():o.alternate===null&&Fe===0&&(Fe=3),o.flags&=-257,o.flags|=65536,o.lanes=u,a===ol?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([a]):t.add(a),dc(e,a,u)),!1;case 22:return o.flags|=65536,a===ol?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([a]):o.add(a)),dc(e,a,u)),!1}throw Error(i(435,o.tag))}return dc(e,a,u),Tl(),!1}if(ge)return t=Ct.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==lu&&(e=Error(i(422),{cause:a}),Ga(Lt(e,o)))):(a!==lu&&(t=Error(i(423),{cause:a}),Ga(Lt(t,o))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,a=Lt(a,o),u=Lu(e.stateNode,a,u),bu(e,u),Fe!==4&&(Fe=2)),!1;var c=Error(i(520),{cause:a});if(c=Lt(c,o),ir===null?ir=[c]:ir.push(c),Fe!==4&&(Fe=2),t===null)return!0;a=Lt(a,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=u&-u,o.lanes|=e,e=Lu(o.stateNode,a,e),bu(o,e),!1;case 1:if(t=o.type,c=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Xo===null||!Xo.has(c))))return o.flags|=65536,u&=-u,o.lanes|=u,u=$d(u),e0(u,e,o,a),bu(o,u),!1}o=o.return}while(o!==null);return!1}var Gu=Error(i(461)),Qe=!1;function ut(e,t,o,a){t.child=e===null?ad(t,null,o,a):Sn(t,e.child,o,a)}function t0(e,t,o,a,u){o=o.render;var c=t.ref;if("ref"in a){var d={};for(var b in a)b!=="ref"&&(d[b]=a[b])}else d=a;return bn(t),a=wu(e,t,o,d,c,u),b=zu(),e!==null&&!Qe?(ku(e,t,u),yo(e,t,u)):(ge&&b&&au(t),t.flags|=1,ut(e,t,a,u),t.child)}function o0(e,t,o,a,u){if(e===null){var c=o.type;return typeof c=="function"&&!tu(c)&&c.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=c,n0(e,t,c,a,u)):(e=Wr(o.type,null,a,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!Wu(e,u)){var d=c.memoizedProps;if(o=o.compare,o=o!==null?o:Fa,o(d,a)&&e.ref===t.ref)return yo(e,t,u)}return t.flags|=1,e=vo(c,a),e.ref=t.ref,e.return=t,t.child=e}function n0(e,t,o,a,u){if(e!==null){var c=e.memoizedProps;if(Fa(c,a)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=a=c,Wu(e,u))(e.flags&131072)!==0&&(Qe=!0);else return t.lanes=e.lanes,yo(e,t,u)}return Pu(e,t,o,a,u)}function a0(e,t,o,a){var u=a.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|o:o,e!==null){for(a=t.child=e.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~c}else a=0,t.child=null;return r0(e,t,c,o,a)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&el(t,c!==null?c.cachePool:null),c!==null?id(t,c):yu(),ud(t);else return a=t.lanes=536870912,r0(e,t,c!==null?c.baseLanes|o:o,o,a)}else c!==null?(el(t,c.cachePool),id(t,c),Lo(),t.memoizedState=null):(e!==null&&el(t,null),yu(),Lo());return ut(e,t,u,o),t.child}function er(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function r0(e,t,o,a,u){var c=vu();return c=c===null?null:{parent:Ve._currentValue,pool:c},t.memoizedState={baseLanes:o,cachePool:c},e!==null&&el(t,null),yu(),ud(t),e!==null&&Kn(e,t,a,!0),t.childLanes=u,null}function gl(e,t){return t=pl({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function l0(e,t,o){return Sn(t,e.child,null,o),e=gl(t,t.pendingProps),e.flags|=2,Nt(t),t.memoizedState=null,e}function gb(e,t,o){var a=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ge){if(a.mode==="hidden")return e=gl(t,a),t.lanes=536870912,er(null,e);if(Su(t),(e=Re)?(e=pv(e,Zt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Do!==null?{id:ao,overflow:ro}:null,retryLane:536870912,hydrationErrors:null},o=Pf(e),o.return=t,t.child=o,lt=t,Re=null)):e=null,e===null)throw qo(t);return t.lanes=536870912,null}return gl(t,a)}var c=e.memoizedState;if(c!==null){var d=c.dehydrated;if(Su(t),u)if(t.flags&256)t.flags&=-257,t=l0(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(Qe||Kn(e,t,o,!1),u=(o&e.childLanes)!==0,Qe||u){if(a=Ne,a!==null&&(d=Ks(a,o),d!==0&&d!==c.retryLane))throw c.retryLane=d,vn(e,d),wt(a,e,d),Gu;Tl(),t=l0(e,t,o)}else e=c.treeContext,Re=Vt(d.nextSibling),lt=t,ge=!0,Ro=null,Zt=!1,e!==null&&Vf(t,e),t=gl(t,a),t.flags|=4096;return t}return e=vo(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function bl(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(i(284));(e===null||e.ref!==o)&&(t.flags|=4194816)}}function Pu(e,t,o,a,u){return bn(t),o=wu(e,t,o,a,void 0,u),a=zu(),e!==null&&!Qe?(ku(e,t,u),yo(e,t,u)):(ge&&a&&au(t),t.flags|=1,ut(e,t,o,u),t.child)}function i0(e,t,o,a,u,c){return bn(t),t.updateQueue=null,o=sd(t,a,o,u),cd(e),a=zu(),e!==null&&!Qe?(ku(e,t,c),yo(e,t,c)):(ge&&a&&au(t),t.flags|=1,ut(e,t,o,c),t.child)}function u0(e,t,o,a,u){if(bn(t),t.stateNode===null){var c=Xn,d=o.contextType;typeof d=="object"&&d!==null&&(c=it(d)),c=new o(a,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Uu,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=a,c.state=t.memoizedState,c.refs={},mu(t),d=o.contextType,c.context=typeof d=="object"&&d!==null?it(d):Xn,c.state=t.memoizedState,d=o.getDerivedStateFromProps,typeof d=="function"&&(Fu(t,o,d,a),c.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(d=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),d!==c.state&&Uu.enqueueReplaceState(c,c.state,null),Ka(t,a,c,u),Qa(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){c=t.stateNode;var b=t.memoizedProps,S=wn(o,b);c.props=S;var j=c.context,q=o.contextType;d=Xn,typeof q=="object"&&q!==null&&(d=it(q));var L=o.getDerivedStateFromProps;q=typeof L=="function"||typeof c.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,q||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(b||j!==d)&&Qd(t,c,a,d),Oo=!1;var C=t.memoizedState;c.state=C,Ka(t,a,c,u),Qa(),j=t.memoizedState,b||C!==j||Oo?(typeof L=="function"&&(Fu(t,o,L,a),j=t.memoizedState),(S=Oo||Yd(t,o,S,a,C,j,d))?(q||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=j),c.props=a,c.state=j,c.context=d,a=S):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{c=t.stateNode,gu(e,t),d=t.memoizedProps,q=wn(o,d),c.props=q,L=t.pendingProps,C=c.context,j=o.contextType,S=Xn,typeof j=="object"&&j!==null&&(S=it(j)),b=o.getDerivedStateFromProps,(j=typeof b=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(d!==L||C!==S)&&Qd(t,c,a,S),Oo=!1,C=t.memoizedState,c.state=C,Ka(t,a,c,u),Qa();var N=t.memoizedState;d!==L||C!==N||Oo||e!==null&&e.dependencies!==null&&Jr(e.dependencies)?(typeof b=="function"&&(Fu(t,o,b,a),N=t.memoizedState),(q=Oo||Yd(t,o,q,a,C,N,S)||e!==null&&e.dependencies!==null&&Jr(e.dependencies))?(j||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(a,N,S),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(a,N,S)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||d===e.memoizedProps&&C===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&C===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=N),c.props=a,c.state=N,c.context=S,a=q):(typeof c.componentDidUpdate!="function"||d===e.memoizedProps&&C===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&C===e.memoizedState||(t.flags|=1024),a=!1)}return c=a,bl(e,t),a=(t.flags&128)!==0,c||a?(c=t.stateNode,o=a&&typeof o.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&a?(t.child=Sn(t,e.child,null,u),t.child=Sn(t,null,o,u)):ut(e,t,o,u),t.memoizedState=c.state,e=t.child):e=yo(e,t,u),e}function c0(e,t,o,a){return mn(),t.flags|=256,ut(e,t,o,a),t.child}var Zu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xu(e){return{baseLanes:e,cachePool:Jf()}}function Vu(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=Rt),e}function s0(e,t,o){var a=t.pendingProps,u=!1,c=(t.flags&128)!==0,d;if((d=c)||(d=e!==null&&e.memoizedState===null?!1:(Ge.current&2)!==0),d&&(u=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(ge){if(u?Uo(t):Lo(),(e=Re)?(e=pv(e,Zt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Do!==null?{id:ao,overflow:ro}:null,retryLane:536870912,hydrationErrors:null},o=Pf(e),o.return=t,t.child=o,lt=t,Re=null)):e=null,e===null)throw qo(t);return Ec(e)?t.lanes=32:t.lanes=536870912,null}var b=a.children;return a=a.fallback,u?(Lo(),u=t.mode,b=pl({mode:"hidden",children:b},u),a=hn(a,u,o,null),b.return=t,a.return=t,b.sibling=a,t.child=b,a=t.child,a.memoizedState=Xu(o),a.childLanes=Vu(e,d,o),t.memoizedState=Zu,er(null,a)):(Uo(t),Yu(t,b))}var S=e.memoizedState;if(S!==null&&(b=S.dehydrated,b!==null)){if(c)t.flags&256?(Uo(t),t.flags&=-257,t=Qu(e,t,o)):t.memoizedState!==null?(Lo(),t.child=e.child,t.flags|=128,t=null):(Lo(),b=a.fallback,u=t.mode,a=pl({mode:"visible",children:a.children},u),b=hn(b,u,o,null),b.flags|=2,a.return=t,b.return=t,a.sibling=b,t.child=a,Sn(t,e.child,null,o),a=t.child,a.memoizedState=Xu(o),a.childLanes=Vu(e,d,o),t.memoizedState=Zu,t=er(null,a));else if(Uo(t),Ec(b)){if(d=b.nextSibling&&b.nextSibling.dataset,d)var j=d.dgst;d=j,a=Error(i(419)),a.stack="",a.digest=d,Ga({value:a,source:null,stack:null}),t=Qu(e,t,o)}else if(Qe||Kn(e,t,o,!1),d=(o&e.childLanes)!==0,Qe||d){if(d=Ne,d!==null&&(a=Ks(d,o),a!==0&&a!==S.retryLane))throw S.retryLane=a,vn(e,a),wt(d,e,a),Gu;Tc(b)||Tl(),t=Qu(e,t,o)}else Tc(b)?(t.flags|=192,t.child=e.child,t=null):(e=S.treeContext,Re=Vt(b.nextSibling),lt=t,ge=!0,Ro=null,Zt=!1,e!==null&&Vf(t,e),t=Yu(t,a.children),t.flags|=4096);return t}return u?(Lo(),b=a.fallback,u=t.mode,S=e.child,j=S.sibling,a=vo(S,{mode:"hidden",children:a.children}),a.subtreeFlags=S.subtreeFlags&65011712,j!==null?b=vo(j,b):(b=hn(b,u,o,null),b.flags|=2),b.return=t,a.return=t,a.sibling=b,t.child=a,er(null,a),a=t.child,b=e.child.memoizedState,b===null?b=Xu(o):(u=b.cachePool,u!==null?(S=Ve._currentValue,u=u.parent!==S?{parent:S,pool:S}:u):u=Jf(),b={baseLanes:b.baseLanes|o,cachePool:u}),a.memoizedState=b,a.childLanes=Vu(e,d,o),t.memoizedState=Zu,er(e.child,a)):(Uo(t),o=e.child,e=o.sibling,o=vo(o,{mode:"visible",children:a.children}),o.return=t,o.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=o,t.memoizedState=null,o)}function Yu(e,t){return t=pl({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function pl(e,t){return e=At(22,e,null,t),e.lanes=0,e}function Qu(e,t,o){return Sn(t,e.child,null,o),e=Yu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function f0(e,t,o){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),cu(e.return,t,o)}function Ku(e,t,o,a,u,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:o,tailMode:u,treeForkCount:c}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=a,d.tail=o,d.tailMode=u,d.treeForkCount=c)}function d0(e,t,o){var a=t.pendingProps,u=a.revealOrder,c=a.tail;a=a.children;var d=Ge.current,b=(d&2)!==0;if(b?(d=d&1|2,t.flags|=128):d&=1,K(Ge,d),ut(e,t,a,o),a=ge?La:0,!b&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&f0(e,o,t);else if(e.tag===19)f0(e,o,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}switch(u){case"forwards":for(o=t.child,u=null;o!==null;)e=o.alternate,e!==null&&ll(e)===null&&(u=o),o=o.sibling;o=u,o===null?(u=t.child,t.child=null):(u=o.sibling,o.sibling=null),Ku(t,!1,u,o,c,a);break;case"backwards":case"unstable_legacy-backwards":for(o=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&ll(e)===null){t.child=u;break}e=u.sibling,u.sibling=o,o=u,u=e}Ku(t,!0,o,null,c,a);break;case"together":Ku(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function yo(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Zo|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Kn(e,t,o,!1),(o&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,o=vo(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=vo(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function Wu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Jr(e)))}function bb(e,t,o){switch(t.tag){case 3:ht(t,t.stateNode.containerInfo),Mo(t,Ve,e.memoizedState.cache),mn();break;case 27:case 5:Ba(t);break;case 4:ht(t,t.stateNode.containerInfo);break;case 10:Mo(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Su(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Uo(t),t.flags|=128,null):(o&t.child.childLanes)!==0?s0(e,t,o):(Uo(t),e=yo(e,t,o),e!==null?e.sibling:null);Uo(t);break;case 19:var u=(e.flags&128)!==0;if(a=(o&t.childLanes)!==0,a||(Kn(e,t,o,!1),a=(o&t.childLanes)!==0),u){if(a)return d0(e,t,o);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),K(Ge,Ge.current),a)break;return null;case 22:return t.lanes=0,a0(e,t,o,t.pendingProps);case 24:Mo(t,Ve,e.memoizedState.cache)}return yo(e,t,o)}function v0(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)Qe=!0;else{if(!Wu(e,o)&&(t.flags&128)===0)return Qe=!1,bb(e,t,o);Qe=(e.flags&131072)!==0}else Qe=!1,ge&&(t.flags&1048576)!==0&&Xf(t,La,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=yn(t.elementType),t.type=e,typeof e=="function")tu(e)?(a=wn(e,a),t.tag=1,t=u0(null,t,e,a,o)):(t.tag=0,t=Pu(null,t,e,a,o));else{if(e!=null){var u=e.$$typeof;if(u===V){t.tag=11,t=t0(null,t,e,a,o);break e}else if(u===G){t.tag=14,t=o0(null,t,e,a,o);break e}}throw t=at(e)||e,Error(i(306,t,""))}}return t;case 0:return Pu(e,t,t.type,t.pendingProps,o);case 1:return a=t.type,u=wn(a,t.pendingProps),u0(e,t,a,u,o);case 3:e:{if(ht(t,t.stateNode.containerInfo),e===null)throw Error(i(387));a=t.pendingProps;var c=t.memoizedState;u=c.element,gu(e,t),Ka(t,a,null,o);var d=t.memoizedState;if(a=d.cache,Mo(t,Ve,a),a!==c.cache&&su(t,[Ve],o,!0),Qa(),a=d.element,c.isDehydrated)if(c={element:a,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=c0(e,t,a,o);break e}else if(a!==u){u=Lt(Error(i(424)),t),Ga(u),t=c0(e,t,a,o);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Re=Vt(e.firstChild),lt=t,ge=!0,Ro=null,Zt=!0,o=ad(t,null,a,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(mn(),a===u){t=yo(e,t,o);break e}ut(e,t,a,o)}t=t.child}return t;case 26:return bl(e,t),e===null?(o=zv(t.type,null,t.pendingProps,null))?t.memoizedState=o:ge||(o=t.type,e=t.pendingProps,a=Rl(fe.current).createElement(o),a[rt]=t,a[bt]=e,ct(a,o,e),tt(a),t.stateNode=a):t.memoizedState=zv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ba(t),e===null&&ge&&(a=t.stateNode=Sv(t.type,t.pendingProps,fe.current),lt=t,Zt=!0,u=Re,Ko(t.type)?(jc=u,Re=Vt(a.firstChild)):Re=u),ut(e,t,t.pendingProps.children,o),bl(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ge&&((u=a=Re)&&(a=Yb(a,t.type,t.pendingProps,Zt),a!==null?(t.stateNode=a,lt=t,Re=Vt(a.firstChild),Zt=!1,u=!0):u=!1),u||qo(t)),Ba(t),u=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,a=c.children,zc(u,c)?a=null:d!==null&&zc(u,d)&&(t.flags|=32),t.memoizedState!==null&&(u=wu(e,t,ub,null,null,o),mr._currentValue=u),bl(e,t),ut(e,t,a,o),t.child;case 6:return e===null&&ge&&((e=o=Re)&&(o=Qb(o,t.pendingProps,Zt),o!==null?(t.stateNode=o,lt=t,Re=null,e=!0):e=!1),e||qo(t)),null;case 13:return s0(e,t,o);case 4:return ht(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Sn(t,null,a,o):ut(e,t,a,o),t.child;case 11:return t0(e,t,t.type,t.pendingProps,o);case 7:return ut(e,t,t.pendingProps,o),t.child;case 8:return ut(e,t,t.pendingProps.children,o),t.child;case 12:return ut(e,t,t.pendingProps.children,o),t.child;case 10:return a=t.pendingProps,Mo(t,t.type,a.value),ut(e,t,a.children,o),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,bn(t),u=it(u),a=a(u),t.flags|=1,ut(e,t,a,o),t.child;case 14:return o0(e,t,t.type,t.pendingProps,o);case 15:return n0(e,t,t.type,t.pendingProps,o);case 19:return d0(e,t,o);case 31:return gb(e,t,o);case 22:return a0(e,t,o,t.pendingProps);case 24:return bn(t),a=it(Ve),e===null?(u=vu(),u===null&&(u=Ne,c=fu(),u.pooledCache=c,c.refCount++,c!==null&&(u.pooledCacheLanes|=o),u=c),t.memoizedState={parent:a,cache:u},mu(t),Mo(t,Ve,u)):((e.lanes&o)!==0&&(gu(e,t),Ka(t,null,null,o),Qa()),u=e.memoizedState,c=t.memoizedState,u.parent!==a?(u={parent:a,cache:a},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),Mo(t,Ve,a)):(a=c.cache,Mo(t,Ve,a),a!==u.cache&&su(t,[Ve],o,!0))),ut(e,t,t.pendingProps.children,o),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function xo(e){e.flags|=4}function Iu(e,t,o,a,u){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(u&335544128)===u)if(e.stateNode.complete)e.flags|=8192;else if(U0())e.flags|=8192;else throw xn=ol,hu}else e.flags&=-16777217}function h0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!jv(t))if(U0())e.flags|=8192;else throw xn=ol,hu}function yl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Vs():536870912,e.lanes|=t,ia|=t)}function tr(e,t){if(!ge)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,a=0;if(t)for(var u=e.child;u!==null;)o|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)o|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=a,e.childLanes=o,t}function pb(e,t,o){var a=t.pendingProps;switch(ru(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qe(t),null;case 1:return qe(t),null;case 3:return o=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),go(Ve),Le(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Qn(t)?xo(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,iu())),qe(t),null;case 26:var u=t.type,c=t.memoizedState;return e===null?(xo(t),c!==null?(qe(t),h0(t,c)):(qe(t),Iu(t,u,null,a,o))):c?c!==e.memoizedState?(xo(t),qe(t),h0(t,c)):(qe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&xo(t),qe(t),Iu(t,u,e,a,o)),null;case 27:if(Ar(t),o=fe.current,u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&xo(t);else{if(!a){if(t.stateNode===null)throw Error(i(166));return qe(t),null}e=$.current,Qn(t)?Yf(t):(e=Sv(u,a,o),t.stateNode=e,xo(t))}return qe(t),null;case 5:if(Ar(t),u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&xo(t);else{if(!a){if(t.stateNode===null)throw Error(i(166));return qe(t),null}if(c=$.current,Qn(t))Yf(t);else{var d=Rl(fe.current);switch(c){case 1:c=d.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:c=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":c=d.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":c=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":c=d.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?d.createElement("select",{is:a.is}):d.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?d.createElement(u,{is:a.is}):d.createElement(u)}}c[rt]=t,c[bt]=a;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)c.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=c;e:switch(ct(c,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&xo(t)}}return qe(t),Iu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&xo(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(i(166));if(e=fe.current,Qn(t)){if(e=t.stateNode,o=t.memoizedProps,a=null,u=lt,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}e[rt]=t,e=!!(e.nodeValue===o||a!==null&&a.suppressHydrationWarning===!0||sv(e.nodeValue,o)),e||qo(t,!0)}else e=Rl(e).createTextNode(a),e[rt]=t,t.stateNode=e}return qe(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(a=Qn(t),o!==null){if(e===null){if(!a)throw Error(i(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(557));e[rt]=t}else mn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),e=!1}else o=iu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(Nt(t),t):(Nt(t),null);if((t.flags&128)!==0)throw Error(i(558))}return qe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Qn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!u)throw Error(i(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(317));u[rt]=t}else mn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),u=!1}else u=iu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(Nt(t),t):(Nt(t),null)}return Nt(t),(t.flags&128)!==0?(t.lanes=o,t):(o=a!==null,e=e!==null&&e.memoizedState!==null,o&&(a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==u&&(a.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),yl(t,t.updateQueue),qe(t),null);case 4:return Le(),e===null&&yc(t.stateNode.containerInfo),qe(t),null;case 10:return go(t.type),qe(t),null;case 19:if(P(Ge),a=t.memoizedState,a===null)return qe(t),null;if(u=(t.flags&128)!==0,c=a.rendering,c===null)if(u)tr(a,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=ll(e),c!==null){for(t.flags|=128,tr(a,!1),e=c.updateQueue,t.updateQueue=e,yl(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)Gf(o,e),o=o.sibling;return K(Ge,Ge.current&1|2),ge&&ho(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Bt()>zl&&(t.flags|=128,u=!0,tr(a,!1),t.lanes=4194304)}else{if(!u)if(e=ll(c),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,yl(t,e),tr(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!ge)return qe(t),null}else 2*Bt()-a.renderingStartTime>zl&&o!==536870912&&(t.flags|=128,u=!0,tr(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Bt(),e.sibling=null,o=Ge.current,K(Ge,u?o&1|2:o&1),ge&&ho(t,a.treeForkCount),e):(qe(t),null);case 22:case 23:return Nt(t),xu(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(o&536870912)!==0&&(t.flags&128)===0&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(t),o=t.updateQueue,o!==null&&yl(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==o&&(t.flags|=2048),e!==null&&P(pn),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),go(Ve),qe(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function yb(e,t){switch(ru(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return go(Ve),Le(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ar(t),null;case 31:if(t.memoizedState!==null){if(Nt(t),t.alternate===null)throw Error(i(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Nt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return P(Ge),null;case 4:return Le(),null;case 10:return go(t.type),null;case 22:case 23:return Nt(t),xu(),e!==null&&P(pn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return go(Ve),null;case 25:return null;default:return null}}function m0(e,t){switch(ru(t),t.tag){case 3:go(Ve),Le();break;case 26:case 27:case 5:Ar(t);break;case 4:Le();break;case 31:t.memoizedState!==null&&Nt(t);break;case 13:Nt(t);break;case 19:P(Ge);break;case 10:go(t.type);break;case 22:case 23:Nt(t),xu(),e!==null&&P(pn);break;case 24:go(Ve)}}function or(e,t){try{var o=t.updateQueue,a=o!==null?o.lastEffect:null;if(a!==null){var u=a.next;o=u;do{if((o.tag&e)===e){a=void 0;var c=o.create,d=o.inst;a=c(),d.destroy=a}o=o.next}while(o!==u)}}catch(b){Ee(t,t.return,b)}}function Go(e,t,o){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var c=u.next;a=c;do{if((a.tag&e)===e){var d=a.inst,b=d.destroy;if(b!==void 0){d.destroy=void 0,u=t;var S=o,j=b;try{j()}catch(q){Ee(u,S,q)}}}a=a.next}while(a!==c)}}catch(q){Ee(t,t.return,q)}}function g0(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{ld(t,o)}catch(a){Ee(e,e.return,a)}}}function b0(e,t,o){o.props=wn(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(a){Ee(e,t,a)}}function nr(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof o=="function"?e.refCleanup=o(a):o.current=a}}catch(u){Ee(e,t,u)}}function lo(e,t){var o=e.ref,a=e.refCleanup;if(o!==null)if(typeof a=="function")try{a()}catch(u){Ee(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(u){Ee(e,t,u)}else o.current=null}function p0(e){var t=e.type,o=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&a.focus();break e;case"img":o.src?a.src=o.src:o.srcSet&&(a.srcset=o.srcSet)}}catch(u){Ee(e,e.return,u)}}function Ju(e,t,o){try{var a=e.stateNode;Lb(a,e.type,o,t),a[bt]=t}catch(u){Ee(e,e.return,u)}}function y0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ko(e.type)||e.tag===4}function $u(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||y0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ko(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ec(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(e),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=so));else if(a!==4&&(a===27&&Ko(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(ec(e,t,o),e=e.sibling;e!==null;)ec(e,t,o),e=e.sibling}function xl(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(a!==4&&(a===27&&Ko(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(xl(e,t,o),e=e.sibling;e!==null;)xl(e,t,o),e=e.sibling}function x0(e){var t=e.stateNode,o=e.memoizedProps;try{for(var a=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);ct(t,a,o),t[rt]=e,t[bt]=o}catch(c){Ee(e,e.return,c)}}var So=!1,Ke=!1,tc=!1,S0=typeof WeakSet=="function"?WeakSet:Set,ot=null;function xb(e,t){if(e=e.containerInfo,_c=Ll,e=Df(e),Qi(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var a=o.getSelection&&o.getSelection();if(a&&a.rangeCount!==0){o=a.anchorNode;var u=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{o.nodeType,c.nodeType}catch{o=null;break e}var d=0,b=-1,S=-1,j=0,q=0,L=e,C=null;t:for(;;){for(var N;L!==o||u!==0&&L.nodeType!==3||(b=d+u),L!==c||a!==0&&L.nodeType!==3||(S=d+a),L.nodeType===3&&(d+=L.nodeValue.length),(N=L.firstChild)!==null;)C=L,L=N;for(;;){if(L===e)break t;if(C===o&&++j===u&&(b=d),C===c&&++q===a&&(S=d),(N=L.nextSibling)!==null)break;L=C,C=L.parentNode}L=N}o=b===-1||S===-1?null:{start:b,end:S}}else o=null}o=o||{start:0,end:0}}else o=null;for(wc={focusedElem:e,selectionRange:o},Ll=!1,ot=t;ot!==null;)if(t=ot,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ot=e;else for(;ot!==null;){switch(t=ot,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o<e.length;o++)u=e[o],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,o=t,u=c.memoizedProps,c=c.memoizedState,a=o.stateNode;try{var J=wn(o.type,u);e=a.getSnapshotBeforeUpdate(J,c),a.__reactInternalSnapshotBeforeUpdate=e}catch(ne){Ee(o,o.return,ne)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,o=e.nodeType,o===9)Bc(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Bc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,ot=e;break}ot=t.return}}function _0(e,t,o){var a=o.flags;switch(o.tag){case 0:case 11:case 15:wo(e,o),a&4&&or(5,o);break;case 1:if(wo(e,o),a&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(d){Ee(o,o.return,d)}else{var u=wn(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(u,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){Ee(o,o.return,d)}}a&64&&g0(o),a&512&&nr(o,o.return);break;case 3:if(wo(e,o),a&64&&(e=o.updateQueue,e!==null)){if(t=null,o.child!==null)switch(o.child.tag){case 27:case 5:t=o.child.stateNode;break;case 1:t=o.child.stateNode}try{ld(e,t)}catch(d){Ee(o,o.return,d)}}break;case 27:t===null&&a&4&&x0(o);case 26:case 5:wo(e,o),t===null&&a&4&&p0(o),a&512&&nr(o,o.return);break;case 12:wo(e,o);break;case 31:wo(e,o),a&4&&k0(e,o);break;case 13:wo(e,o),a&4&&B0(e,o),a&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=jb.bind(null,o),Kb(e,o))));break;case 22:if(a=o.memoizedState!==null||So,!a){t=t!==null&&t.memoizedState!==null||Ke,u=So;var c=Ke;So=a,(Ke=t)&&!c?zo(e,o,(o.subtreeFlags&8772)!==0):wo(e,o),So=u,Ke=c}break;case 30:break;default:wo(e,o)}}function w0(e){var t=e.alternate;t!==null&&(e.alternate=null,w0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ci(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Me=null,yt=!1;function _o(e,t,o){for(o=o.child;o!==null;)z0(e,t,o),o=o.sibling}function z0(e,t,o){if(Tt&&typeof Tt.onCommitFiberUnmount=="function")try{Tt.onCommitFiberUnmount(Ta,o)}catch{}switch(o.tag){case 26:Ke||lo(o,t),_o(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:Ke||lo(o,t);var a=Me,u=yt;Ko(o.type)&&(Me=o.stateNode,yt=!1),_o(e,t,o),dr(o.stateNode),Me=a,yt=u;break;case 5:Ke||lo(o,t);case 6:if(a=Me,u=yt,Me=null,_o(e,t,o),Me=a,yt=u,Me!==null)if(yt)try{(Me.nodeType===9?Me.body:Me.nodeName==="HTML"?Me.ownerDocument.body:Me).removeChild(o.stateNode)}catch(c){Ee(o,t,c)}else try{Me.removeChild(o.stateNode)}catch(c){Ee(o,t,c)}break;case 18:Me!==null&&(yt?(e=Me,gv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),ma(e)):gv(Me,o.stateNode));break;case 4:a=Me,u=yt,Me=o.stateNode.containerInfo,yt=!0,_o(e,t,o),Me=a,yt=u;break;case 0:case 11:case 14:case 15:Go(2,o,t),Ke||Go(4,o,t),_o(e,t,o);break;case 1:Ke||(lo(o,t),a=o.stateNode,typeof a.componentWillUnmount=="function"&&b0(o,t,a)),_o(e,t,o);break;case 21:_o(e,t,o);break;case 22:Ke=(a=Ke)||o.memoizedState!==null,_o(e,t,o),Ke=a;break;default:_o(e,t,o)}}function k0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ma(e)}catch(o){Ee(t,t.return,o)}}}function B0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ma(e)}catch(o){Ee(t,t.return,o)}}function Sb(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new S0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new S0),t;default:throw Error(i(435,e.tag))}}function Sl(e,t){var o=Sb(e);t.forEach(function(a){if(!o.has(a)){o.add(a);var u=Ab.bind(null,e,a);a.then(u,u)}})}function xt(e,t){var o=t.deletions;if(o!==null)for(var a=0;a<o.length;a++){var u=o[a],c=e,d=t,b=d;e:for(;b!==null;){switch(b.tag){case 27:if(Ko(b.type)){Me=b.stateNode,yt=!1;break e}break;case 5:Me=b.stateNode,yt=!1;break e;case 3:case 4:Me=b.stateNode.containerInfo,yt=!0;break e}b=b.return}if(Me===null)throw Error(i(160));z0(c,d,u),Me=null,yt=!1,c=u.alternate,c!==null&&(c.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)T0(t,e),t=t.sibling}var Jt=null;function T0(e,t){var o=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:xt(t,e),St(e),a&4&&(Go(3,e,e.return),or(3,e),Go(5,e,e.return));break;case 1:xt(t,e),St(e),a&512&&(Ke||o===null||lo(o,o.return)),a&64&&So&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?a:o.concat(a))));break;case 26:var u=Jt;if(xt(t,e),St(e),a&512&&(Ke||o===null||lo(o,o.return)),a&4){var c=o!==null?o.memoizedState:null;if(a=e.memoizedState,o===null)if(a===null)if(e.stateNode===null){e:{a=e.type,o=e.memoizedProps,u=u.ownerDocument||u;t:switch(a){case"title":c=u.getElementsByTagName("title")[0],(!c||c[Aa]||c[rt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=u.createElement(a),u.head.insertBefore(c,u.querySelector("head > title"))),ct(c,a,o),c[rt]=e,tt(c),a=c;break e;case"link":var d=Tv("link","href",u).get(a+(o.href||""));if(d){for(var b=0;b<d.length;b++)if(c=d[b],c.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&c.getAttribute("rel")===(o.rel==null?null:o.rel)&&c.getAttribute("title")===(o.title==null?null:o.title)&&c.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){d.splice(b,1);break t}}c=u.createElement(a),ct(c,a,o),u.head.appendChild(c);break;case"meta":if(d=Tv("meta","content",u).get(a+(o.content||""))){for(b=0;b<d.length;b++)if(c=d[b],c.getAttribute("content")===(o.content==null?null:""+o.content)&&c.getAttribute("name")===(o.name==null?null:o.name)&&c.getAttribute("property")===(o.property==null?null:o.property)&&c.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&c.getAttribute("charset")===(o.charSet==null?null:o.charSet)){d.splice(b,1);break t}}c=u.createElement(a),ct(c,a,o),u.head.appendChild(c);break;default:throw Error(i(468,a))}c[rt]=e,tt(c),a=c}e.stateNode=a}else Ev(u,e.type,e.stateNode);else e.stateNode=Bv(u,a,e.memoizedProps);else c!==a?(c===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):c.count--,a===null?Ev(u,e.type,e.stateNode):Bv(u,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Ju(e,e.memoizedProps,o.memoizedProps)}break;case 27:xt(t,e),St(e),a&512&&(Ke||o===null||lo(o,o.return)),o!==null&&a&4&&Ju(e,e.memoizedProps,o.memoizedProps);break;case 5:if(xt(t,e),St(e),a&512&&(Ke||o===null||lo(o,o.return)),e.flags&32){u=e.stateNode;try{Hn(u,"")}catch(J){Ee(e,e.return,J)}}a&4&&e.stateNode!=null&&(u=e.memoizedProps,Ju(e,u,o!==null?o.memoizedProps:u)),a&1024&&(tc=!0);break;case 6:if(xt(t,e),St(e),a&4){if(e.stateNode===null)throw Error(i(162));a=e.memoizedProps,o=e.stateNode;try{o.nodeValue=a}catch(J){Ee(e,e.return,J)}}break;case 3:if(Ol=null,u=Jt,Jt=ql(t.containerInfo),xt(t,e),Jt=u,St(e),a&4&&o!==null&&o.memoizedState.isDehydrated)try{ma(t.containerInfo)}catch(J){Ee(e,e.return,J)}tc&&(tc=!1,E0(e));break;case 4:a=Jt,Jt=ql(e.stateNode.containerInfo),xt(t,e),St(e),Jt=a;break;case 12:xt(t,e),St(e);break;case 31:xt(t,e),St(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Sl(e,a)));break;case 13:xt(t,e),St(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(wl=Bt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Sl(e,a)));break;case 22:u=e.memoizedState!==null;var S=o!==null&&o.memoizedState!==null,j=So,q=Ke;if(So=j||u,Ke=q||S,xt(t,e),Ke=q,So=j,St(e),a&8192)e:for(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(o===null||S||So||Ke||zn(e)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){S=o=t;try{if(c=S.stateNode,u)d=c.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{b=S.stateNode;var L=S.memoizedProps.style,C=L!=null&&L.hasOwnProperty("display")?L.display:null;b.style.display=C==null||typeof C=="boolean"?"":(""+C).trim()}}catch(J){Ee(S,S.return,J)}}}else if(t.tag===6){if(o===null){S=t;try{S.stateNode.nodeValue=u?"":S.memoizedProps}catch(J){Ee(S,S.return,J)}}}else if(t.tag===18){if(o===null){S=t;try{var N=S.stateNode;u?bv(N,!0):bv(S.stateNode,!1)}catch(J){Ee(S,S.return,J)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(o=a.retryQueue,o!==null&&(a.retryQueue=null,Sl(e,o))));break;case 19:xt(t,e),St(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Sl(e,a)));break;case 30:break;case 21:break;default:xt(t,e),St(e)}}function St(e){var t=e.flags;if(t&2){try{for(var o,a=e.return;a!==null;){if(y0(a)){o=a;break}a=a.return}if(o==null)throw Error(i(160));switch(o.tag){case 27:var u=o.stateNode,c=$u(e);xl(e,c,u);break;case 5:var d=o.stateNode;o.flags&32&&(Hn(d,""),o.flags&=-33);var b=$u(e);xl(e,b,d);break;case 3:case 4:var S=o.stateNode.containerInfo,j=$u(e);ec(e,j,S);break;default:throw Error(i(161))}}catch(q){Ee(e,e.return,q)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function E0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;E0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function wo(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)_0(e,t.alternate,t),t=t.sibling}function zn(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Go(4,t,t.return),zn(t);break;case 1:lo(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&b0(t,t.return,o),zn(t);break;case 27:dr(t.stateNode);case 26:case 5:lo(t,t.return),zn(t);break;case 22:t.memoizedState===null&&zn(t);break;case 30:zn(t);break;default:zn(t)}e=e.sibling}}function zo(e,t,o){for(o=o&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,u=e,c=t,d=c.flags;switch(c.tag){case 0:case 11:case 15:zo(u,c,o),or(4,c);break;case 1:if(zo(u,c,o),a=c,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(j){Ee(a,a.return,j)}if(a=c,u=a.updateQueue,u!==null){var b=a.stateNode;try{var S=u.shared.hiddenCallbacks;if(S!==null)for(u.shared.hiddenCallbacks=null,u=0;u<S.length;u++)rd(S[u],b)}catch(j){Ee(a,a.return,j)}}o&&d&64&&g0(c),nr(c,c.return);break;case 27:x0(c);case 26:case 5:zo(u,c,o),o&&a===null&&d&4&&p0(c),nr(c,c.return);break;case 12:zo(u,c,o);break;case 31:zo(u,c,o),o&&d&4&&k0(u,c);break;case 13:zo(u,c,o),o&&d&4&&B0(u,c);break;case 22:c.memoizedState===null&&zo(u,c,o),nr(c,c.return);break;case 30:break;default:zo(u,c,o)}t=t.sibling}}function oc(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&Pa(o))}function nc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Pa(e))}function $t(e,t,o,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)j0(e,t,o,a),t=t.sibling}function j0(e,t,o,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:$t(e,t,o,a),u&2048&&or(9,t);break;case 1:$t(e,t,o,a);break;case 3:$t(e,t,o,a),u&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Pa(e)));break;case 12:if(u&2048){$t(e,t,o,a),e=t.stateNode;try{var c=t.memoizedProps,d=c.id,b=c.onPostCommit;typeof b=="function"&&b(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(S){Ee(t,t.return,S)}}else $t(e,t,o,a);break;case 31:$t(e,t,o,a);break;case 13:$t(e,t,o,a);break;case 23:break;case 22:c=t.stateNode,d=t.alternate,t.memoizedState!==null?c._visibility&2?$t(e,t,o,a):ar(e,t):c._visibility&2?$t(e,t,o,a):(c._visibility|=2,aa(e,t,o,a,(t.subtreeFlags&10256)!==0||!1)),u&2048&&oc(d,t);break;case 24:$t(e,t,o,a),u&2048&&nc(t.alternate,t);break;default:$t(e,t,o,a)}}function aa(e,t,o,a,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,d=t,b=o,S=a,j=d.flags;switch(d.tag){case 0:case 11:case 15:aa(c,d,b,S,u),or(8,d);break;case 23:break;case 22:var q=d.stateNode;d.memoizedState!==null?q._visibility&2?aa(c,d,b,S,u):ar(c,d):(q._visibility|=2,aa(c,d,b,S,u)),u&&j&2048&&oc(d.alternate,d);break;case 24:aa(c,d,b,S,u),u&&j&2048&&nc(d.alternate,d);break;default:aa(c,d,b,S,u)}t=t.sibling}}function ar(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var o=e,a=t,u=a.flags;switch(a.tag){case 22:ar(o,a),u&2048&&oc(a.alternate,a);break;case 24:ar(o,a),u&2048&&nc(a.alternate,a);break;default:ar(o,a)}t=t.sibling}}var rr=8192;function ra(e,t,o){if(e.subtreeFlags&rr)for(e=e.child;e!==null;)A0(e,t,o),e=e.sibling}function A0(e,t,o){switch(e.tag){case 26:ra(e,t,o),e.flags&rr&&e.memoizedState!==null&&ip(o,Jt,e.memoizedState,e.memoizedProps);break;case 5:ra(e,t,o);break;case 3:case 4:var a=Jt;Jt=ql(e.stateNode.containerInfo),ra(e,t,o),Jt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=rr,rr=16777216,ra(e,t,o),rr=a):ra(e,t,o));break;default:ra(e,t,o)}}function C0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function lr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var a=t[o];ot=a,D0(a,e)}C0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)N0(e),e=e.sibling}function N0(e){switch(e.tag){case 0:case 11:case 15:lr(e),e.flags&2048&&Go(9,e,e.return);break;case 3:lr(e);break;case 12:lr(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,_l(e)):lr(e);break;default:lr(e)}}function _l(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var a=t[o];ot=a,D0(a,e)}C0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Go(8,t,t.return),_l(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,_l(t));break;default:_l(t)}e=e.sibling}}function D0(e,t){for(;ot!==null;){var o=ot;switch(o.tag){case 0:case 11:case 15:Go(8,o,t);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var a=o.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Pa(o.memoizedState.cache)}if(a=o.child,a!==null)a.return=o,ot=a;else e:for(o=e;ot!==null;){a=ot;var u=a.sibling,c=a.return;if(w0(a),a===o){ot=null;break e}if(u!==null){u.return=c,ot=u;break e}ot=c}}}var _b={getCacheForType:function(e){var t=it(Ve),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return it(Ve).controller.signal}},wb=typeof WeakMap=="function"?WeakMap:Map,_e=0,Ne=null,de=null,he=0,Te=0,Dt=null,Po=!1,la=!1,ac=!1,ko=0,Fe=0,Zo=0,kn=0,rc=0,Rt=0,ia=0,ir=null,_t=null,lc=!1,wl=0,R0=0,zl=1/0,kl=null,Xo=null,Je=0,Vo=null,ua=null,Bo=0,ic=0,uc=null,q0=null,ur=0,cc=null;function qt(){return(_e&2)!==0&&he!==0?he&-he:M.T!==null?mc():Ws()}function M0(){if(Rt===0)if((he&536870912)===0||ge){var e=Dr;Dr<<=1,(Dr&3932160)===0&&(Dr=262144),Rt=e}else Rt=536870912;return e=Ct.current,e!==null&&(e.flags|=32),Rt}function wt(e,t,o){(e===Ne&&(Te===2||Te===9)||e.cancelPendingCommit!==null)&&(ca(e,0),Yo(e,he,Rt,!1)),ja(e,o),((_e&2)===0||e!==Ne)&&(e===Ne&&((_e&2)===0&&(kn|=o),Fe===4&&Yo(e,he,Rt,!1)),io(e))}function O0(e,t,o){if((_e&6)!==0)throw Error(i(327));var a=!o&&(t&127)===0&&(t&e.expiredLanes)===0||Ea(e,t),u=a?Bb(e,t):fc(e,t,!0),c=a;do{if(u===0){la&&!a&&Yo(e,t,0,!1);break}else{if(o=e.current.alternate,c&&!zb(o)){u=fc(e,t,!1),c=!1;continue}if(u===2){if(c=t,e.errorRecoveryDisabledLanes&c)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{var b=e;u=ir;var S=b.current.memoizedState.isDehydrated;if(S&&(ca(b,d).flags|=256),d=fc(b,d,!1),d!==2){if(ac&&!S){b.errorRecoveryDisabledLanes|=c,kn|=c,u=4;break e}c=_t,_t=u,c!==null&&(_t===null?_t=c:_t.push.apply(_t,c))}u=d}if(c=!1,u!==2)continue}}if(u===1){ca(e,0),Yo(e,t,0,!0);break}e:{switch(a=e,c=u,c){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:Yo(a,t,Rt,!Po);break e;case 2:_t=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(u=wl+300-Bt(),10<u)){if(Yo(a,t,Rt,!Po),qr(a,0,!0)!==0)break e;Bo=t,a.timeoutHandle=hv(H0.bind(null,a,o,_t,kl,lc,t,Rt,kn,ia,Po,c,"Throttled",-0,0),u);break e}H0(a,o,_t,kl,lc,t,Rt,kn,ia,Po,c,null,-0,0)}}break}while(!0);io(e)}function H0(e,t,o,a,u,c,d,b,S,j,q,L,C,N){if(e.timeoutHandle=-1,L=t.subtreeFlags,L&8192||(L&16785408)===16785408){L={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:so},A0(t,c,L);var J=(c&62914560)===c?wl-Bt():(c&4194048)===c?R0-Bt():0;if(J=up(L,J),J!==null){Bo=c,e.cancelPendingCommit=J(V0.bind(null,e,t,c,o,a,u,d,b,S,q,L,null,C,N)),Yo(e,c,d,!j);return}}V0(e,t,c,o,a,u,d,b,S)}function zb(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var a=0;a<o.length;a++){var u=o[a],c=u.getSnapshot;u=u.value;try{if(!jt(c(),u))return!1}catch{return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;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 Yo(e,t,o,a){t&=~rc,t&=~kn,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var u=t;0<u;){var c=31-Et(u),d=1<<c;a[c]=-1,u&=~d}o!==0&&Ys(e,o,t)}function Bl(){return(_e&6)===0?(cr(0),!1):!0}function sc(){if(de!==null){if(Te===0)var e=de.return;else e=de,mo=gn=null,Bu(e),$n=null,Xa=0,e=de;for(;e!==null;)m0(e.alternate,e),e=e.return;de=null}}function ca(e,t){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,Zb(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Bo=0,sc(),Ne=e,de=o=vo(e.current,null),he=t,Te=0,Dt=null,Po=!1,la=Ea(e,t),ac=!1,ia=Rt=rc=kn=Zo=Fe=0,_t=ir=null,lc=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var u=31-Et(a),c=1<<u;t|=e[u],a&=~c}return ko=t,Yr(),o}function F0(e,t){ce=null,M.H=$a,t===Jn||t===tl?(t=td(),Te=3):t===hu?(t=td(),Te=4):Te=t===Gu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Dt=t,de===null&&(Fe=1,ml(e,Lt(t,e.current)))}function U0(){var e=Ct.current;return e===null?!0:(he&4194048)===he?Xt===null:(he&62914560)===he||(he&536870912)!==0?e===Xt:!1}function L0(){var e=M.H;return M.H=$a,e===null?$a:e}function G0(){var e=M.A;return M.A=_b,e}function Tl(){Fe=4,Po||(he&4194048)!==he&&Ct.current!==null||(la=!0),(Zo&134217727)===0&&(kn&134217727)===0||Ne===null||Yo(Ne,he,Rt,!1)}function fc(e,t,o){var a=_e;_e|=2;var u=L0(),c=G0();(Ne!==e||he!==t)&&(kl=null,ca(e,t)),t=!1;var d=Fe;e:do try{if(Te!==0&&de!==null){var b=de,S=Dt;switch(Te){case 8:sc(),d=6;break e;case 3:case 2:case 9:case 6:Ct.current===null&&(t=!0);var j=Te;if(Te=0,Dt=null,sa(e,b,S,j),o&&la){d=0;break e}break;default:j=Te,Te=0,Dt=null,sa(e,b,S,j)}}kb(),d=Fe;break}catch(q){F0(e,q)}while(!0);return t&&e.shellSuspendCounter++,mo=gn=null,_e=a,M.H=u,M.A=c,de===null&&(Ne=null,he=0,Yr()),d}function kb(){for(;de!==null;)P0(de)}function Bb(e,t){var o=_e;_e|=2;var a=L0(),u=G0();Ne!==e||he!==t?(kl=null,zl=Bt()+500,ca(e,t)):la=Ea(e,t);e:do try{if(Te!==0&&de!==null){t=de;var c=Dt;t:switch(Te){case 1:Te=0,Dt=null,sa(e,t,c,1);break;case 2:case 9:if($f(c)){Te=0,Dt=null,Z0(t);break}t=function(){Te!==2&&Te!==9||Ne!==e||(Te=7),io(e)},c.then(t,t);break e;case 3:Te=7;break e;case 4:Te=5;break e;case 7:$f(c)?(Te=0,Dt=null,Z0(t)):(Te=0,Dt=null,sa(e,t,c,7));break;case 5:var d=null;switch(de.tag){case 26:d=de.memoizedState;case 5:case 27:var b=de;if(d?jv(d):b.stateNode.complete){Te=0,Dt=null;var S=b.sibling;if(S!==null)de=S;else{var j=b.return;j!==null?(de=j,El(j)):de=null}break t}}Te=0,Dt=null,sa(e,t,c,5);break;case 6:Te=0,Dt=null,sa(e,t,c,6);break;case 8:sc(),Fe=6;break e;default:throw Error(i(462))}}Tb();break}catch(q){F0(e,q)}while(!0);return mo=gn=null,M.H=a,M.A=u,_e=o,de!==null?0:(Ne=null,he=0,Yr(),Fe)}function Tb(){for(;de!==null&&!W1();)P0(de)}function P0(e){var t=v0(e.alternate,e,ko);e.memoizedProps=e.pendingProps,t===null?El(e):de=t}function Z0(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=i0(o,t,t.pendingProps,t.type,void 0,he);break;case 11:t=i0(o,t,t.pendingProps,t.type.render,t.ref,he);break;case 5:Bu(t);default:m0(o,t),t=de=Gf(t,ko),t=v0(o,t,ko)}e.memoizedProps=e.pendingProps,t===null?El(e):de=t}function sa(e,t,o,a){mo=gn=null,Bu(t),$n=null,Xa=0;var u=t.return;try{if(mb(e,u,t,o,he)){Fe=1,ml(e,Lt(o,e.current)),de=null;return}}catch(c){if(u!==null)throw de=u,c;Fe=1,ml(e,Lt(o,e.current)),de=null;return}t.flags&32768?(ge||a===1?e=!0:la||(he&536870912)!==0?e=!1:(Po=e=!0,(a===2||a===9||a===3||a===6)&&(a=Ct.current,a!==null&&a.tag===13&&(a.flags|=16384))),X0(t,e)):El(t)}function El(e){var t=e;do{if((t.flags&32768)!==0){X0(t,Po);return}e=t.return;var o=pb(t.alternate,t,ko);if(o!==null){de=o;return}if(t=t.sibling,t!==null){de=t;return}de=t=e}while(t!==null);Fe===0&&(Fe=5)}function X0(e,t){do{var o=yb(e.alternate,e);if(o!==null){o.flags&=32767,de=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){de=e;return}de=e=o}while(e!==null);Fe=6,de=null}function V0(e,t,o,a,u,c,d,b,S){e.cancelPendingCommit=null;do jl();while(Je!==0);if((_e&6)!==0)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(c=t.lanes|t.childLanes,c|=$i,lg(e,o,c,d,b,S),e===Ne&&(de=Ne=null,he=0),ua=t,Vo=e,Bo=o,ic=c,uc=u,q0=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Cb(Cr,function(){return I0(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=M.T,M.T=null,u=Q.p,Q.p=2,d=_e,_e|=4;try{xb(e,t,o)}finally{_e=d,Q.p=u,M.T=a}}Je=1,Y0(),Q0(),K0()}}function Y0(){if(Je===1){Je=0;var e=Vo,t=ua,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=M.T,M.T=null;var a=Q.p;Q.p=2;var u=_e;_e|=4;try{T0(t,e);var c=wc,d=Df(e.containerInfo),b=c.focusedElem,S=c.selectionRange;if(d!==b&&b&&b.ownerDocument&&Nf(b.ownerDocument.documentElement,b)){if(S!==null&&Qi(b)){var j=S.start,q=S.end;if(q===void 0&&(q=j),"selectionStart"in b)b.selectionStart=j,b.selectionEnd=Math.min(q,b.value.length);else{var L=b.ownerDocument||document,C=L&&L.defaultView||window;if(C.getSelection){var N=C.getSelection(),J=b.textContent.length,ne=Math.min(S.start,J),Ce=S.end===void 0?ne:Math.min(S.end,J);!N.extend&&ne>Ce&&(d=Ce,Ce=ne,ne=d);var T=Cf(b,ne),w=Cf(b,Ce);if(T&&w&&(N.rangeCount!==1||N.anchorNode!==T.node||N.anchorOffset!==T.offset||N.focusNode!==w.node||N.focusOffset!==w.offset)){var E=L.createRange();E.setStart(T.node,T.offset),N.removeAllRanges(),ne>Ce?(N.addRange(E),N.extend(w.node,w.offset)):(E.setEnd(w.node,w.offset),N.addRange(E))}}}}for(L=[],N=b;N=N.parentNode;)N.nodeType===1&&L.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<L.length;b++){var F=L[b];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}Ll=!!_c,wc=_c=null}finally{_e=u,Q.p=a,M.T=o}}e.current=t,Je=2}}function Q0(){if(Je===2){Je=0;var e=Vo,t=ua,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=M.T,M.T=null;var a=Q.p;Q.p=2;var u=_e;_e|=4;try{_0(e,t.alternate,t)}finally{_e=u,Q.p=a,M.T=o}}Je=3}}function K0(){if(Je===4||Je===3){Je=0,I1();var e=Vo,t=ua,o=Bo,a=q0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Je=5:(Je=0,ua=Vo=null,W0(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(Xo=null),ji(o),t=t.stateNode,Tt&&typeof Tt.onCommitFiberRoot=="function")try{Tt.onCommitFiberRoot(Ta,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=M.T,u=Q.p,Q.p=2,M.T=null;try{for(var c=e.onRecoverableError,d=0;d<a.length;d++){var b=a[d];c(b.value,{componentStack:b.stack})}}finally{M.T=t,Q.p=u}}(Bo&3)!==0&&jl(),io(e),u=e.pendingLanes,(o&261930)!==0&&(u&42)!==0?e===cc?ur++:(ur=0,cc=e):ur=0,cr(0)}}function W0(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Pa(t)))}function jl(){return Y0(),Q0(),K0(),I0()}function I0(){if(Je!==5)return!1;var e=Vo,t=ic;ic=0;var o=ji(Bo),a=M.T,u=Q.p;try{Q.p=32>o?32:o,M.T=null,o=uc,uc=null;var c=Vo,d=Bo;if(Je=0,ua=Vo=null,Bo=0,(_e&6)!==0)throw Error(i(331));var b=_e;if(_e|=4,N0(c.current),j0(c,c.current,d,o),_e=b,cr(0,!1),Tt&&typeof Tt.onPostCommitFiberRoot=="function")try{Tt.onPostCommitFiberRoot(Ta,c)}catch{}return!0}finally{Q.p=u,M.T=a,W0(e,t)}}function J0(e,t,o){t=Lt(o,t),t=Lu(e.stateNode,t,2),e=Fo(e,t,2),e!==null&&(ja(e,2),io(e))}function Ee(e,t,o){if(e.tag===3)J0(e,e,o);else for(;t!==null;){if(t.tag===3){J0(t,e,o);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Xo===null||!Xo.has(a))){e=Lt(o,e),o=$d(2),a=Fo(t,o,2),a!==null&&(e0(o,a,t,e),ja(a,2),io(a));break}}t=t.return}}function dc(e,t,o){var a=e.pingCache;if(a===null){a=e.pingCache=new wb;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(o)||(ac=!0,u.add(o),e=Eb.bind(null,e,t,o),t.then(e,e))}function Eb(e,t,o){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Ne===e&&(he&o)===o&&(Fe===4||Fe===3&&(he&62914560)===he&&300>Bt()-wl?(_e&2)===0&&ca(e,0):rc|=o,ia===he&&(ia=0)),io(e)}function $0(e,t){t===0&&(t=Vs()),e=vn(e,t),e!==null&&(ja(e,t),io(e))}function jb(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),$0(e,o)}function Ab(e,t){var o=0;switch(e.tag){case 31:case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(o=u.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(i(314))}a!==null&&a.delete(t),$0(e,o)}function Cb(e,t){return ki(e,t)}var Al=null,fa=null,vc=!1,Cl=!1,hc=!1,Qo=0;function io(e){e!==fa&&e.next===null&&(fa===null?Al=fa=e:fa=fa.next=e),Cl=!0,vc||(vc=!0,Db())}function cr(e,t){if(!hc&&Cl){hc=!0;do for(var o=!1,a=Al;a!==null;){if(e!==0){var u=a.pendingLanes;if(u===0)var c=0;else{var d=a.suspendedLanes,b=a.pingedLanes;c=(1<<31-Et(42|e)+1)-1,c&=u&~(d&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(o=!0,nv(a,c))}else c=he,c=qr(a,a===Ne?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||Ea(a,c)||(o=!0,nv(a,c));a=a.next}while(o);hc=!1}}function Nb(){ev()}function ev(){Cl=vc=!1;var e=0;Qo!==0&&Pb()&&(e=Qo);for(var t=Bt(),o=null,a=Al;a!==null;){var u=a.next,c=tv(a,t);c===0?(a.next=null,o===null?Al=u:o.next=u,u===null&&(fa=o)):(o=a,(e!==0||(c&3)!==0)&&(Cl=!0)),a=u}Je!==0&&Je!==5||cr(e),Qo!==0&&(Qo=0)}function tv(e,t){for(var o=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var d=31-Et(c),b=1<<d,S=u[d];S===-1?((b&o)===0||(b&a)!==0)&&(u[d]=rg(b,t)):S<=t&&(e.expiredLanes|=b),c&=~b}if(t=Ne,o=he,o=qr(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,o===0||e===t&&(Te===2||Te===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Bi(a),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||Ea(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(a!==null&&Bi(a),ji(o)){case 2:case 8:o=Zs;break;case 32:o=Cr;break;case 268435456:o=Xs;break;default:o=Cr}return a=ov.bind(null,e),o=ki(o,a),e.callbackPriority=t,e.callbackNode=o,t}return a!==null&&a!==null&&Bi(a),e.callbackPriority=2,e.callbackNode=null,2}function ov(e,t){if(Je!==0&&Je!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(jl()&&e.callbackNode!==o)return null;var a=he;return a=qr(e,e===Ne?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(O0(e,a,t),tv(e,Bt()),e.callbackNode!=null&&e.callbackNode===o?ov.bind(null,e):null)}function nv(e,t){if(jl())return null;O0(e,t,!0)}function Db(){Xb(function(){(_e&6)!==0?ki(Ps,Nb):ev()})}function mc(){if(Qo===0){var e=Wn;e===0&&(e=Nr,Nr<<=1,(Nr&261888)===0&&(Nr=256)),Qo=e}return Qo}function av(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Fr(""+e)}function rv(e,t){var o=t.ownerDocument.createElement("input");return o.name=t.name,o.value=t.value,e.id&&o.setAttribute("form",e.id),t.parentNode.insertBefore(o,t),e=new FormData(e),o.parentNode.removeChild(o),e}function Rb(e,t,o,a,u){if(t==="submit"&&o&&o.stateNode===u){var c=av((u[bt]||null).action),d=a.submitter;d&&(t=(t=d[bt]||null)?av(t.formAction):d.getAttribute("formAction"),t!==null&&(c=t,d=null));var b=new Pr("action","action",null,a,u);e.push({event:b,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Qo!==0){var S=d?rv(u,d):new FormData(u);qu(o,{pending:!0,data:S,method:u.method,action:c},null,S)}}else typeof c=="function"&&(b.preventDefault(),S=d?rv(u,d):new FormData(u),qu(o,{pending:!0,data:S,method:u.method,action:c},c,S))},currentTarget:u}]})}}for(var gc=0;gc<Ji.length;gc++){var bc=Ji[gc],qb=bc.toLowerCase(),Mb=bc[0].toUpperCase()+bc.slice(1);It(qb,"on"+Mb)}It(Mf,"onAnimationEnd"),It(Of,"onAnimationIteration"),It(Hf,"onAnimationStart"),It("dblclick","onDoubleClick"),It("focusin","onFocus"),It("focusout","onBlur"),It(Jg,"onTransitionRun"),It($g,"onTransitionStart"),It(eb,"onTransitionCancel"),It(Ff,"onTransitionEnd"),Mn("onMouseEnter",["mouseout","mouseover"]),Mn("onMouseLeave",["mouseout","mouseover"]),Mn("onPointerEnter",["pointerout","pointerover"]),Mn("onPointerLeave",["pointerout","pointerover"]),cn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),cn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),cn("onBeforeInput",["compositionend","keypress","textInput","paste"]),cn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),cn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),cn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var sr="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(" "),Ob=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(sr));function lv(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var a=e[o],u=a.event;a=a.listeners;e:{var c=void 0;if(t)for(var d=a.length-1;0<=d;d--){var b=a[d],S=b.instance,j=b.currentTarget;if(b=b.listener,S!==c&&u.isPropagationStopped())break e;c=b,u.currentTarget=j;try{c(u)}catch(q){Vr(q)}u.currentTarget=null,c=S}else for(d=0;d<a.length;d++){if(b=a[d],S=b.instance,j=b.currentTarget,b=b.listener,S!==c&&u.isPropagationStopped())break e;c=b,u.currentTarget=j;try{c(u)}catch(q){Vr(q)}u.currentTarget=null,c=S}}}}function ve(e,t){var o=t[Ai];o===void 0&&(o=t[Ai]=new Set);var a=e+"__bubble";o.has(a)||(iv(t,e,2,!1),o.add(a))}function pc(e,t,o){var a=0;t&&(a|=4),iv(o,e,a,t)}var Nl="_reactListening"+Math.random().toString(36).slice(2);function yc(e){if(!e[Nl]){e[Nl]=!0,$s.forEach(function(o){o!=="selectionchange"&&(Ob.has(o)||pc(o,!1,e),pc(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Nl]||(t[Nl]=!0,pc("selectionchange",!1,t))}}function iv(e,t,o,a){switch(Mv(t)){case 2:var u=fp;break;case 8:u=dp;break;default:u=Rc}o=u.bind(null,t,o,e),u=void 0,!Fi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?e.addEventListener(t,o,{capture:!0,passive:u}):e.addEventListener(t,o,!0):u!==void 0?e.addEventListener(t,o,{passive:u}):e.addEventListener(t,o,!1)}function xc(e,t,o,a,u){var c=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var d=a.tag;if(d===3||d===4){var b=a.stateNode.containerInfo;if(b===u)break;if(d===4)for(d=a.return;d!==null;){var S=d.tag;if((S===3||S===4)&&d.stateNode.containerInfo===u)return;d=d.return}for(;b!==null;){if(d=Dn(b),d===null)return;if(S=d.tag,S===5||S===6||S===26||S===27){a=c=d;continue e}b=b.parentNode}}a=a.return}df(function(){var j=c,q=Oi(o),L=[];e:{var C=Uf.get(e);if(C!==void 0){var N=Pr,J=e;switch(e){case"keypress":if(Lr(o)===0)break e;case"keydown":case"keyup":N=Ag;break;case"focusin":J="focus",N=Pi;break;case"focusout":J="blur",N=Pi;break;case"beforeblur":case"afterblur":N=Pi;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=mf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=pg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=Dg;break;case Mf:case Of:case Hf:N=Sg;break;case Ff:N=qg;break;case"scroll":case"scrollend":N=gg;break;case"wheel":N=Og;break;case"copy":case"cut":case"paste":N=wg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=bf;break;case"toggle":case"beforetoggle":N=Fg}var ne=(t&4)!==0,Ce=!ne&&(e==="scroll"||e==="scrollend"),T=ne?C!==null?C+"Capture":null:C;ne=[];for(var w=j,E;w!==null;){var F=w;if(E=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||E===null||T===null||(F=Na(w,T),F!=null&&ne.push(fr(w,F,E))),Ce)break;w=w.return}0<ne.length&&(C=new N(C,J,null,o,q),L.push({event:C,listeners:ne}))}}if((t&7)===0){e:{if(C=e==="mouseover"||e==="pointerover",N=e==="mouseout"||e==="pointerout",C&&o!==Mi&&(J=o.relatedTarget||o.fromElement)&&(Dn(J)||J[Nn]))break e;if((N||C)&&(C=q.window===q?q:(C=q.ownerDocument)?C.defaultView||C.parentWindow:window,N?(J=o.relatedTarget||o.toElement,N=j,J=J?Dn(J):null,J!==null&&(Ce=f(J),ne=J.tag,J!==Ce||ne!==5&&ne!==27&&ne!==6)&&(J=null)):(N=null,J=j),N!==J)){if(ne=mf,F="onMouseLeave",T="onMouseEnter",w="mouse",(e==="pointerout"||e==="pointerover")&&(ne=bf,F="onPointerLeave",T="onPointerEnter",w="pointer"),Ce=N==null?C:Ca(N),E=J==null?C:Ca(J),C=new ne(F,w+"leave",N,o,q),C.target=Ce,C.relatedTarget=E,F=null,Dn(q)===j&&(ne=new ne(T,w+"enter",J,o,q),ne.target=E,ne.relatedTarget=Ce,F=ne),Ce=F,N&&J)t:{for(ne=Hb,T=N,w=J,E=0,F=T;F;F=ne(F))E++;F=0;for(var te=w;te;te=ne(te))F++;for(;0<E-F;)T=ne(T),E--;for(;0<F-E;)w=ne(w),F--;for(;E--;){if(T===w||w!==null&&T===w.alternate){ne=T;break t}T=ne(T),w=ne(w)}ne=null}else ne=null;N!==null&&uv(L,C,N,ne,!1),J!==null&&Ce!==null&&uv(L,Ce,J,ne,!0)}}e:{if(C=j?Ca(j):window,N=C.nodeName&&C.nodeName.toLowerCase(),N==="select"||N==="input"&&C.type==="file")var ye=kf;else if(wf(C))if(Bf)ye=Kg;else{ye=Yg;var ee=Vg}else N=C.nodeName,!N||N.toLowerCase()!=="input"||C.type!=="checkbox"&&C.type!=="radio"?j&&qi(j.elementType)&&(ye=kf):ye=Qg;if(ye&&(ye=ye(e,j))){zf(L,ye,o,q);break e}ee&&ee(e,C,j),e==="focusout"&&j&&C.type==="number"&&j.memoizedProps.value!=null&&Ri(C,"number",C.value)}switch(ee=j?Ca(j):window,e){case"focusin":(wf(ee)||ee.contentEditable==="true")&&(Gn=ee,Ki=j,Ua=null);break;case"focusout":Ua=Ki=Gn=null;break;case"mousedown":Wi=!0;break;case"contextmenu":case"mouseup":case"dragend":Wi=!1,Rf(L,o,q);break;case"selectionchange":if(Ig)break;case"keydown":case"keyup":Rf(L,o,q)}var se;if(Xi)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else Ln?Sf(e,o)&&(me="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(me="onCompositionStart");me&&(pf&&o.locale!=="ko"&&(Ln||me!=="onCompositionStart"?me==="onCompositionEnd"&&Ln&&(se=vf()):(No=q,Ui="value"in No?No.value:No.textContent,Ln=!0)),ee=Dl(j,me),0<ee.length&&(me=new gf(me,e,null,o,q),L.push({event:me,listeners:ee}),se?me.data=se:(se=_f(o),se!==null&&(me.data=se)))),(se=Lg?Gg(e,o):Pg(e,o))&&(me=Dl(j,"onBeforeInput"),0<me.length&&(ee=new gf("onBeforeInput","beforeinput",null,o,q),L.push({event:ee,listeners:me}),ee.data=se)),Rb(L,e,j,o,q)}lv(L,t)})}function fr(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Dl(e,t){for(var o=t+"Capture",a=[];e!==null;){var u=e,c=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||c===null||(u=Na(e,o),u!=null&&a.unshift(fr(e,u,c)),u=Na(e,t),u!=null&&a.push(fr(e,u,c))),e.tag===3)return a;e=e.return}return[]}function Hb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function uv(e,t,o,a,u){for(var c=t._reactName,d=[];o!==null&&o!==a;){var b=o,S=b.alternate,j=b.stateNode;if(b=b.tag,S!==null&&S===a)break;b!==5&&b!==26&&b!==27||j===null||(S=j,u?(j=Na(o,c),j!=null&&d.unshift(fr(o,j,S))):u||(j=Na(o,c),j!=null&&d.push(fr(o,j,S)))),o=o.return}d.length!==0&&e.push({event:t,listeners:d})}var Fb=/\r\n?/g,Ub=/\u0000|\uFFFD/g;function cv(e){return(typeof e=="string"?e:""+e).replace(Fb,`
|
|
`).replace(Ub,"")}function sv(e,t){return t=cv(t),cv(e)===t}function Ae(e,t,o,a,u,c){switch(o){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Hn(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Hn(e,""+a);break;case"className":Or(e,"class",a);break;case"tabIndex":Or(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Or(e,o,a);break;case"style":sf(e,a,c);break;case"data":if(t!=="object"){Or(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(o);break}a=Fr(""+a),e.setAttribute(o,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(o==="formAction"?(t!=="input"&&Ae(e,t,"name",u.name,u,null),Ae(e,t,"formEncType",u.formEncType,u,null),Ae(e,t,"formMethod",u.formMethod,u,null),Ae(e,t,"formTarget",u.formTarget,u,null)):(Ae(e,t,"encType",u.encType,u,null),Ae(e,t,"method",u.method,u,null),Ae(e,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(o);break}a=Fr(""+a),e.setAttribute(o,a);break;case"onClick":a!=null&&(e.onclick=so);break;case"onScroll":a!=null&&ve("scroll",e);break;case"onScrollEnd":a!=null&&ve("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(i(61));if(o=a.__html,o!=null){if(u.children!=null)throw Error(i(60));e.innerHTML=o}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}o=Fr(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,""+a):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":a===!0?e.setAttribute(o,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,a):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(o,a):e.removeAttribute(o);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(o):e.setAttribute(o,a);break;case"popover":ve("beforetoggle",e),ve("toggle",e),Mr(e,"popover",a);break;case"xlinkActuate":co(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":co(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":co(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":co(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":co(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":co(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":co(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":co(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":co(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Mr(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=hg.get(o)||o,Mr(e,o,a))}}function Sc(e,t,o,a,u,c){switch(o){case"style":sf(e,a,c);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(i(61));if(o=a.__html,o!=null){if(u.children!=null)throw Error(i(60));e.innerHTML=o}}break;case"children":typeof a=="string"?Hn(e,a):(typeof a=="number"||typeof a=="bigint")&&Hn(e,""+a);break;case"onScroll":a!=null&&ve("scroll",e);break;case"onScrollEnd":a!=null&&ve("scrollend",e);break;case"onClick":a!=null&&(e.onclick=so);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ef.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(u=o.endsWith("Capture"),t=o.slice(2,u?o.length-7:void 0),c=e[bt]||null,c=c!=null?c[o]:null,typeof c=="function"&&e.removeEventListener(t,c,u),typeof a=="function")){typeof c!="function"&&c!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(t,a,u);break e}o in e?e[o]=a:a===!0?e.setAttribute(o,""):Mr(e,o,a)}}}function ct(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ve("error",e),ve("load",e);var a=!1,u=!1,c;for(c in o)if(o.hasOwnProperty(c)){var d=o[c];if(d!=null)switch(c){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Ae(e,t,c,d,o,null)}}u&&Ae(e,t,"srcSet",o.srcSet,o,null),a&&Ae(e,t,"src",o.src,o,null);return;case"input":ve("invalid",e);var b=c=d=u=null,S=null,j=null;for(a in o)if(o.hasOwnProperty(a)){var q=o[a];if(q!=null)switch(a){case"name":u=q;break;case"type":d=q;break;case"checked":S=q;break;case"defaultChecked":j=q;break;case"value":c=q;break;case"defaultValue":b=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(i(137,t));break;default:Ae(e,t,a,q,o,null)}}rf(e,c,b,S,j,d,u,!1);return;case"select":ve("invalid",e),a=d=c=null;for(u in o)if(o.hasOwnProperty(u)&&(b=o[u],b!=null))switch(u){case"value":c=b;break;case"defaultValue":d=b;break;case"multiple":a=b;default:Ae(e,t,u,b,o,null)}t=c,o=d,e.multiple=!!a,t!=null?On(e,!!a,t,!1):o!=null&&On(e,!!a,o,!0);return;case"textarea":ve("invalid",e),c=u=a=null;for(d in o)if(o.hasOwnProperty(d)&&(b=o[d],b!=null))switch(d){case"value":a=b;break;case"defaultValue":u=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(i(91));break;default:Ae(e,t,d,b,o,null)}uf(e,a,u,c);return;case"option":for(S in o)if(o.hasOwnProperty(S)&&(a=o[S],a!=null))switch(S){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ae(e,t,S,a,o,null)}return;case"dialog":ve("beforetoggle",e),ve("toggle",e),ve("cancel",e),ve("close",e);break;case"iframe":case"object":ve("load",e);break;case"video":case"audio":for(a=0;a<sr.length;a++)ve(sr[a],e);break;case"image":ve("error",e),ve("load",e);break;case"details":ve("toggle",e);break;case"embed":case"source":case"link":ve("error",e),ve("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(j in o)if(o.hasOwnProperty(j)&&(a=o[j],a!=null))switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:Ae(e,t,j,a,o,null)}return;default:if(qi(t)){for(q in o)o.hasOwnProperty(q)&&(a=o[q],a!==void 0&&Sc(e,t,q,a,o,void 0));return}}for(b in o)o.hasOwnProperty(b)&&(a=o[b],a!=null&&Ae(e,t,b,a,o,null))}function Lb(e,t,o,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,c=null,d=null,b=null,S=null,j=null,q=null;for(N in o){var L=o[N];if(o.hasOwnProperty(N)&&L!=null)switch(N){case"checked":break;case"value":break;case"defaultValue":S=L;default:a.hasOwnProperty(N)||Ae(e,t,N,null,a,L)}}for(var C in a){var N=a[C];if(L=o[C],a.hasOwnProperty(C)&&(N!=null||L!=null))switch(C){case"type":c=N;break;case"name":u=N;break;case"checked":j=N;break;case"defaultChecked":q=N;break;case"value":d=N;break;case"defaultValue":b=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(i(137,t));break;default:N!==L&&Ae(e,t,C,N,a,L)}}Di(e,d,b,S,j,q,c,u);return;case"select":N=d=b=C=null;for(c in o)if(S=o[c],o.hasOwnProperty(c)&&S!=null)switch(c){case"value":break;case"multiple":N=S;default:a.hasOwnProperty(c)||Ae(e,t,c,null,a,S)}for(u in a)if(c=a[u],S=o[u],a.hasOwnProperty(u)&&(c!=null||S!=null))switch(u){case"value":C=c;break;case"defaultValue":b=c;break;case"multiple":d=c;default:c!==S&&Ae(e,t,u,c,a,S)}t=b,o=d,a=N,C!=null?On(e,!!o,C,!1):!!a!=!!o&&(t!=null?On(e,!!o,t,!0):On(e,!!o,o?[]:"",!1));return;case"textarea":N=C=null;for(b in o)if(u=o[b],o.hasOwnProperty(b)&&u!=null&&!a.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ae(e,t,b,null,a,u)}for(d in a)if(u=a[d],c=o[d],a.hasOwnProperty(d)&&(u!=null||c!=null))switch(d){case"value":C=u;break;case"defaultValue":N=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(i(91));break;default:u!==c&&Ae(e,t,d,u,a,c)}lf(e,C,N);return;case"option":for(var J in o)if(C=o[J],o.hasOwnProperty(J)&&C!=null&&!a.hasOwnProperty(J))switch(J){case"selected":e.selected=!1;break;default:Ae(e,t,J,null,a,C)}for(S in a)if(C=a[S],N=o[S],a.hasOwnProperty(S)&&C!==N&&(C!=null||N!=null))switch(S){case"selected":e.selected=C&&typeof C!="function"&&typeof C!="symbol";break;default:Ae(e,t,S,C,a,N)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ne in o)C=o[ne],o.hasOwnProperty(ne)&&C!=null&&!a.hasOwnProperty(ne)&&Ae(e,t,ne,null,a,C);for(j in a)if(C=a[j],N=o[j],a.hasOwnProperty(j)&&C!==N&&(C!=null||N!=null))switch(j){case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(i(137,t));break;default:Ae(e,t,j,C,a,N)}return;default:if(qi(t)){for(var Ce in o)C=o[Ce],o.hasOwnProperty(Ce)&&C!==void 0&&!a.hasOwnProperty(Ce)&&Sc(e,t,Ce,void 0,a,C);for(q in a)C=a[q],N=o[q],!a.hasOwnProperty(q)||C===N||C===void 0&&N===void 0||Sc(e,t,q,C,a,N);return}}for(var T in o)C=o[T],o.hasOwnProperty(T)&&C!=null&&!a.hasOwnProperty(T)&&Ae(e,t,T,null,a,C);for(L in a)C=a[L],N=o[L],!a.hasOwnProperty(L)||C===N||C==null&&N==null||Ae(e,t,L,C,a,N)}function fv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Gb(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),a=0;a<o.length;a++){var u=o[a],c=u.transferSize,d=u.initiatorType,b=u.duration;if(c&&b&&fv(d)){for(d=0,b=u.responseEnd,a+=1;a<o.length;a++){var S=o[a],j=S.startTime;if(j>b)break;var q=S.transferSize,L=S.initiatorType;q&&fv(L)&&(S=S.responseEnd,d+=q*(S<b?1:(b-j)/(S-j)))}if(--a,t+=8*(c+d)/(u.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var _c=null,wc=null;function Rl(e){return e.nodeType===9?e:e.ownerDocument}function dv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vv(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function zc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var kc=null;function Pb(){var e=window.event;return e&&e.type==="popstate"?e===kc?!1:(kc=e,!0):(kc=null,!1)}var hv=typeof setTimeout=="function"?setTimeout:void 0,Zb=typeof clearTimeout=="function"?clearTimeout:void 0,mv=typeof Promise=="function"?Promise:void 0,Xb=typeof queueMicrotask=="function"?queueMicrotask:typeof mv<"u"?function(e){return mv.resolve(null).then(e).catch(Vb)}:hv;function Vb(e){setTimeout(function(){throw e})}function Ko(e){return e==="head"}function gv(e,t){var o=t,a=0;do{var u=o.nextSibling;if(e.removeChild(o),u&&u.nodeType===8)if(o=u.data,o==="/$"||o==="/&"){if(a===0){e.removeChild(u),ma(t);return}a--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")a++;else if(o==="html")dr(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,dr(o);for(var c=o.firstChild;c;){var d=c.nextSibling,b=c.nodeName;c[Aa]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&c.rel.toLowerCase()==="stylesheet"||o.removeChild(c),c=d}}else o==="body"&&dr(e.ownerDocument.body);o=u}while(o);ma(t)}function bv(e,t){var o=e;e=0;do{var a=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),a&&a.nodeType===8)if(o=a.data,o==="/$"){if(e===0)break;e--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||e++;o=a}while(o)}function Bc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Bc(o),Ci(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function Yb(e,t,o,a){for(;e.nodeType===1;){var u=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Aa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Vt(e.nextSibling),e===null)break}return null}function Qb(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Vt(e.nextSibling),e===null))return null;return e}function pv(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Vt(e.nextSibling),e===null))return null;return e}function Tc(e){return e.data==="$?"||e.data==="$~"}function Ec(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Kb(e,t){var o=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||o.readyState!=="loading")t();else{var a=function(){t(),o.removeEventListener("DOMContentLoaded",a)};o.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Vt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var jc=null;function yv(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return Vt(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function xv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(t===0)return e;t--}else o!=="/$"&&o!=="/&"||t++}e=e.previousSibling}return null}function Sv(e,t,o){switch(t=Rl(o),e){case"html":if(e=t.documentElement,!e)throw Error(i(452));return e;case"head":if(e=t.head,!e)throw Error(i(453));return e;case"body":if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function dr(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ci(e)}var Yt=new Map,_v=new Set;function ql(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var To=Q.d;Q.d={f:Wb,r:Ib,D:Jb,C:$b,L:ep,m:tp,X:np,S:op,M:ap};function Wb(){var e=To.f(),t=Bl();return e||t}function Ib(e){var t=Rn(e);t!==null&&t.tag===5&&t.type==="form"?Fd(t):To.r(e)}var da=typeof document>"u"?null:document;function wv(e,t,o){var a=da;if(a&&typeof t=="string"&&t){var u=Ft(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof o=="string"&&(u+='[crossorigin="'+o+'"]'),_v.has(u)||(_v.add(u),e={rel:e,crossOrigin:o,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),ct(t,"link",e),tt(t),a.head.appendChild(t)))}}function Jb(e){To.D(e),wv("dns-prefetch",e,null)}function $b(e,t){To.C(e,t),wv("preconnect",e,t)}function ep(e,t,o){To.L(e,t,o);var a=da;if(a&&e&&t){var u='link[rel="preload"][as="'+Ft(t)+'"]';t==="image"&&o&&o.imageSrcSet?(u+='[imagesrcset="'+Ft(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(u+='[imagesizes="'+Ft(o.imageSizes)+'"]')):u+='[href="'+Ft(e)+'"]';var c=u;switch(t){case"style":c=va(e);break;case"script":c=ha(e)}Yt.has(c)||(e=p({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Yt.set(c,e),a.querySelector(u)!==null||t==="style"&&a.querySelector(vr(c))||t==="script"&&a.querySelector(hr(c))||(t=a.createElement("link"),ct(t,"link",e),tt(t),a.head.appendChild(t)))}}function tp(e,t){To.m(e,t);var o=da;if(o&&e){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Ft(a)+'"][href="'+Ft(e)+'"]',c=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=ha(e)}if(!Yt.has(c)&&(e=p({rel:"modulepreload",href:e},t),Yt.set(c,e),o.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(hr(c)))return}a=o.createElement("link"),ct(a,"link",e),tt(a),o.head.appendChild(a)}}}function op(e,t,o){To.S(e,t,o);var a=da;if(a&&e){var u=qn(a).hoistableStyles,c=va(e);t=t||"default";var d=u.get(c);if(!d){var b={loading:0,preload:null};if(d=a.querySelector(vr(c)))b.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Yt.get(c))&&Ac(e,o);var S=d=a.createElement("link");tt(S),ct(S,"link",e),S._p=new Promise(function(j,q){S.onload=j,S.onerror=q}),S.addEventListener("load",function(){b.loading|=1}),S.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Ml(d,t,a)}d={type:"stylesheet",instance:d,count:1,state:b},u.set(c,d)}}}function np(e,t){To.X(e,t);var o=da;if(o&&e){var a=qn(o).hoistableScripts,u=ha(e),c=a.get(u);c||(c=o.querySelector(hr(u)),c||(e=p({src:e,async:!0},t),(t=Yt.get(u))&&Cc(e,t),c=o.createElement("script"),tt(c),ct(c,"link",e),o.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function ap(e,t){To.M(e,t);var o=da;if(o&&e){var a=qn(o).hoistableScripts,u=ha(e),c=a.get(u);c||(c=o.querySelector(hr(u)),c||(e=p({src:e,async:!0,type:"module"},t),(t=Yt.get(u))&&Cc(e,t),c=o.createElement("script"),tt(c),ct(c,"link",e),o.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function zv(e,t,o,a){var u=(u=fe.current)?ql(u):null;if(!u)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(t=va(o.href),o=qn(u).hoistableStyles,a=o.get(t),a||(a={type:"style",instance:null,count:0,state:null},o.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=va(o.href);var c=qn(u).hoistableStyles,d=c.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=u.querySelector(vr(e)))&&!c._p&&(d.instance=c,d.state.loading=5),Yt.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Yt.set(e,o),c||rp(u,e,o,d.state))),t&&a===null)throw Error(i(528,""));return d}if(t&&a!==null)throw Error(i(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ha(o),o=qn(u).hoistableScripts,a=o.get(t),a||(a={type:"script",instance:null,count:0,state:null},o.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function va(e){return'href="'+Ft(e)+'"'}function vr(e){return'link[rel="stylesheet"]['+e+"]"}function kv(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function rp(e,t,o,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ct(t,"link",o),tt(t),e.head.appendChild(t))}function ha(e){return'[src="'+Ft(e)+'"]'}function hr(e){return"script[async]"+e}function Bv(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ft(o.href)+'"]');if(a)return t.instance=a,tt(a),a;var u=p({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),tt(a),ct(a,"style",u),Ml(a,o.precedence,e),t.instance=a;case"stylesheet":u=va(o.href);var c=e.querySelector(vr(u));if(c)return t.state.loading|=4,t.instance=c,tt(c),c;a=kv(o),(u=Yt.get(u))&&Ac(a,u),c=(e.ownerDocument||e).createElement("link"),tt(c);var d=c;return d._p=new Promise(function(b,S){d.onload=b,d.onerror=S}),ct(c,"link",a),t.state.loading|=4,Ml(c,o.precedence,e),t.instance=c;case"script":return c=ha(o.src),(u=e.querySelector(hr(c)))?(t.instance=u,tt(u),u):(a=o,(u=Yt.get(c))&&(a=p({},o),Cc(a,u)),e=e.ownerDocument||e,u=e.createElement("script"),tt(u),ct(u,"link",a),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(i(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Ml(a,o.precedence,e));return t.instance}function Ml(e,t,o){for(var a=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,c=u,d=0;d<a.length;d++){var b=a[d];if(b.dataset.precedence===t)c=b;else if(c!==u)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function Ac(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Cc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Ol=null;function Tv(e,t,o){if(Ol===null){var a=new Map,u=Ol=new Map;u.set(o,a)}else u=Ol,a=u.get(o),a||(a=new Map,u.set(o,a));if(a.has(e))return a;for(a.set(e,null),o=o.getElementsByTagName(e),u=0;u<o.length;u++){var c=o[u];if(!(c[Aa]||c[rt]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var d=c.getAttribute(t)||"";d=e+d;var b=a.get(d);b?b.push(c):a.set(d,[c])}}return a}function Ev(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function lp(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function jv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function ip(e,t,o,a){if(o.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var u=va(a.href),c=t.querySelector(vr(u));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Hl.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=c,tt(c);return}c=t.ownerDocument||t,a=kv(a),(u=Yt.get(u))&&Ac(a,u),c=c.createElement("link"),tt(c);var d=c;d._p=new Promise(function(b,S){d.onload=b,d.onerror=S}),ct(c,"link",a),o.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=Hl.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var Nc=0;function up(e,t){return e.stylesheets&&e.count===0&&Ul(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var a=setTimeout(function(){if(e.stylesheets&&Ul(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+t);0<e.imgBytes&&Nc===0&&(Nc=62500*Gb());var u=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ul(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>Nc?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Hl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ul(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Fl=null;function Ul(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Fl=new Map,t.forEach(cp,e),Fl=null,Hl.call(e))}function cp(e,t){if(!(t.state.loading&4)){var o=Fl.get(e);if(o)var a=o.get(null);else{o=new Map,Fl.set(e,o);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<u.length;c++){var d=u[c];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(o.set(d.dataset.precedence,d),a=d)}a&&o.set(null,a)}u=t.instance,d=u.getAttribute("data-precedence"),c=o.get(d)||a,c===a&&o.set(null,u),o.set(d,u),this.count++,a=Hl.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),c?c.parentNode.insertBefore(u,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),t.state.loading|=4}}var mr={$$typeof:R,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function sp(e,t,o,a,u,c,d,b,S){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ti(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ti(0),this.hiddenUpdates=Ti(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=c,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function Av(e,t,o,a,u,c,d,b,S,j,q,L){return e=new sp(e,t,o,d,S,j,q,L,b),t=1,c===!0&&(t|=24),c=At(3,null,null,t),e.current=c,c.stateNode=e,t=fu(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:a,isDehydrated:o,cache:t},mu(c),e}function Cv(e){return e?(e=Xn,e):Xn}function Nv(e,t,o,a,u,c){u=Cv(u),a.context===null?a.context=u:a.pendingContext=u,a=Ho(t),a.payload={element:o},c=c===void 0?null:c,c!==null&&(a.callback=c),o=Fo(e,a,t),o!==null&&(wt(o,e,t),Ya(o,e,t))}function Dv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Dc(e,t){Dv(e,t),(e=e.alternate)&&Dv(e,t)}function Rv(e){if(e.tag===13||e.tag===31){var t=vn(e,67108864);t!==null&&wt(t,e,67108864),Dc(e,67108864)}}function qv(e){if(e.tag===13||e.tag===31){var t=qt();t=Ei(t);var o=vn(e,t);o!==null&&wt(o,e,t),Dc(e,t)}}var Ll=!0;function fp(e,t,o,a){var u=M.T;M.T=null;var c=Q.p;try{Q.p=2,Rc(e,t,o,a)}finally{Q.p=c,M.T=u}}function dp(e,t,o,a){var u=M.T;M.T=null;var c=Q.p;try{Q.p=8,Rc(e,t,o,a)}finally{Q.p=c,M.T=u}}function Rc(e,t,o,a){if(Ll){var u=qc(a);if(u===null)xc(e,t,a,Gl,o),Ov(e,a);else if(hp(u,e,t,o,a))a.stopPropagation();else if(Ov(e,a),t&4&&-1<vp.indexOf(e)){for(;u!==null;){var c=Rn(u);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var d=un(c.pendingLanes);if(d!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;d;){var S=1<<31-Et(d);b.entanglements[1]|=S,d&=~S}io(c),(_e&6)===0&&(zl=Bt()+500,cr(0))}}break;case 31:case 13:b=vn(c,2),b!==null&&wt(b,c,2),Bl(),Dc(c,2)}if(c=qc(a),c===null&&xc(e,t,a,Gl,o),c===u)break;u=c}u!==null&&a.stopPropagation()}else xc(e,t,a,null,o)}}function qc(e){return e=Oi(e),Mc(e)}var Gl=null;function Mc(e){if(Gl=null,e=Dn(e),e!==null){var t=f(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=v(t),e!==null)return e;e=null}else if(o===31){if(e=m(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Gl=e,null}function Mv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(J1()){case Ps:return 2;case Zs:return 8;case Cr:case $1:return 32;case Xs:return 268435456;default:return 32}default:return 32}}var Oc=!1,Wo=null,Io=null,Jo=null,gr=new Map,br=new Map,$o=[],vp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Ov(e,t){switch(e){case"focusin":case"focusout":Wo=null;break;case"dragenter":case"dragleave":Io=null;break;case"mouseover":case"mouseout":Jo=null;break;case"pointerover":case"pointerout":gr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":br.delete(t.pointerId)}}function pr(e,t,o,a,u,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:o,eventSystemFlags:a,nativeEvent:c,targetContainers:[u]},t!==null&&(t=Rn(t),t!==null&&Rv(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function hp(e,t,o,a,u){switch(t){case"focusin":return Wo=pr(Wo,e,t,o,a,u),!0;case"dragenter":return Io=pr(Io,e,t,o,a,u),!0;case"mouseover":return Jo=pr(Jo,e,t,o,a,u),!0;case"pointerover":var c=u.pointerId;return gr.set(c,pr(gr.get(c)||null,e,t,o,a,u)),!0;case"gotpointercapture":return c=u.pointerId,br.set(c,pr(br.get(c)||null,e,t,o,a,u)),!0}return!1}function Hv(e){var t=Dn(e.target);if(t!==null){var o=f(t);if(o!==null){if(t=o.tag,t===13){if(t=v(o),t!==null){e.blockedOn=t,Is(e.priority,function(){qv(o)});return}}else if(t===31){if(t=m(o),t!==null){e.blockedOn=t,Is(e.priority,function(){qv(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Pl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=qc(e.nativeEvent);if(o===null){o=e.nativeEvent;var a=new o.constructor(o.type,o);Mi=a,o.target.dispatchEvent(a),Mi=null}else return t=Rn(o),t!==null&&Rv(t),e.blockedOn=o,!1;t.shift()}return!0}function Fv(e,t,o){Pl(e)&&o.delete(t)}function mp(){Oc=!1,Wo!==null&&Pl(Wo)&&(Wo=null),Io!==null&&Pl(Io)&&(Io=null),Jo!==null&&Pl(Jo)&&(Jo=null),gr.forEach(Fv),br.forEach(Fv)}function Zl(e,t){e.blockedOn===t&&(e.blockedOn=null,Oc||(Oc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,mp)))}var Xl=null;function Uv(e){Xl!==e&&(Xl=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Xl===e&&(Xl=null);for(var t=0;t<e.length;t+=3){var o=e[t],a=e[t+1],u=e[t+2];if(typeof a!="function"){if(Mc(a||o)===null)continue;break}var c=Rn(o);c!==null&&(e.splice(t,3),t-=3,qu(c,{pending:!0,data:u,method:o.method,action:a},a,u))}}))}function ma(e){function t(S){return Zl(S,e)}Wo!==null&&Zl(Wo,e),Io!==null&&Zl(Io,e),Jo!==null&&Zl(Jo,e),gr.forEach(t),br.forEach(t);for(var o=0;o<$o.length;o++){var a=$o[o];a.blockedOn===e&&(a.blockedOn=null)}for(;0<$o.length&&(o=$o[0],o.blockedOn===null);)Hv(o),o.blockedOn===null&&$o.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(a=0;a<o.length;a+=3){var u=o[a],c=o[a+1],d=u[bt]||null;if(typeof c=="function")d||Uv(o);else if(d){var b=null;if(c&&c.hasAttribute("formAction")){if(u=c,d=c[bt]||null)b=d.formAction;else if(Mc(u)!==null)continue}else b=d.action;typeof b=="function"?o[a+1]=b:(o.splice(a,3),a-=3),Uv(o)}}}function Lv(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(d){return u=d})},focusReset:"manual",scroll:"manual"})}function t(){u!==null&&(u(),u=null),a||setTimeout(o,20)}function o(){if(!a&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),u!==null&&(u(),u=null)}}}function Hc(e){this._internalRoot=e}Vl.prototype.render=Hc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var o=t.current,a=qt();Nv(o,a,e,t,null,null)},Vl.prototype.unmount=Hc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Nv(e.current,2,null,e,null,null),Bl(),t[Nn]=null}};function Vl(e){this._internalRoot=e}Vl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ws();e={blockedOn:null,target:e,priority:t};for(var o=0;o<$o.length&&t!==0&&t<$o[o].priority;o++);$o.splice(o,0,e),o===0&&Hv(e)}};var Gv=r.version;if(Gv!=="19.2.5")throw Error(i(527,Gv,"19.2.5"));Q.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=h(t),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var gp={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yl.isDisabled&&Yl.supportsFiber)try{Ta=Yl.inject(gp),Tt=Yl}catch{}}return xr.createRoot=function(e,t){if(!s(e))throw Error(i(299));var o=!1,a="",u=Kd,c=Wd,d=Id;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=Av(e,1,!1,null,null,o,a,null,u,c,d,Lv),e[Nn]=t.current,yc(e),new Hc(t)},xr.hydrateRoot=function(e,t,o){if(!s(e))throw Error(i(299));var a=!1,u="",c=Kd,d=Wd,b=Id,S=null;return o!=null&&(o.unstable_strictMode===!0&&(a=!0),o.identifierPrefix!==void 0&&(u=o.identifierPrefix),o.onUncaughtError!==void 0&&(c=o.onUncaughtError),o.onCaughtError!==void 0&&(d=o.onCaughtError),o.onRecoverableError!==void 0&&(b=o.onRecoverableError),o.formState!==void 0&&(S=o.formState)),t=Av(e,1,!0,t,o??null,a,u,S,c,d,b,Lv),t.context=Cv(null),o=t.current,a=qt(),a=Ei(a),u=Ho(a),u.callback=null,Fo(o,u,a),o=a,t.current.lanes=o,ja(t,o),io(t),e[Nn]=t.current,yc(e),new Vl(t)},xr.version="19.2.5",xr}var Jv;function Bp(){if(Jv)return Lc.exports;Jv=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Lc.exports=kp(),Lc.exports}var Tp=Bp();const Ep=xs(Tp),Xc=typeof window>"u"?global:window,Vc="@griffel/";function jp(n,r){return Xc[Symbol.for(Vc+n)]||(Xc[Symbol.for(Vc+n)]=r),Xc[Symbol.for(Vc+n)]}const us=jp("DEFINITION_LOOKUP_TABLE",{}),wr="data-make-styles-bucket",Ap="data-priority",cs="f",ss=7,ws="___",Cp=ws.length+ss,Np=0,Dp=1,Rp={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},fs="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Br(n){for(var r=0,l,i=0,s=n.length;s>=4;++i,s-=4)l=n.charCodeAt(i)&255|(n.charCodeAt(++i)&255)<<8|(n.charCodeAt(++i)&255)<<16|(n.charCodeAt(++i)&255)<<24,l=(l&65535)*1540483477+((l>>>16)*59797<<16),l^=l>>>24,r=(l&65535)*1540483477+((l>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(s){case 3:r^=(n.charCodeAt(i+2)&255)<<16;case 2:r^=(n.charCodeAt(i+1)&255)<<8;case 1:r^=n.charCodeAt(i)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function qp(n){const r=n.length;if(r===ss)return n;for(let l=r;l<ss;l++)n+="0";return n}function mm(n,r,l=[]){return ws+qp(Br(n+r))}function gm(n,r){let l="",i="";for(const s in n){const f=n[s];if(f===0){i+=s+" ";continue}const v=Array.isArray(f),m=r==="rtl"?(v?f[1]:f)+" ":(v?f[0]:f)+" ";l+=m,i+=m}return[l.slice(0,-1),i.slice(0,-1)]}function ci(n,r){const l={};for(const i in n){const[s,f]=gm(n[i],r);if(f===""){l[i]="";continue}const v=mm(f,r),m=v+(s===""?"":" "+s);us[v]=[n[i],r],l[i]=m}return l}const $v={};function be(){let n=null,r="",l="";const i=new Array(arguments.length);for(let p=0;p<arguments.length;p++){const x=arguments[p];if(typeof x=="string"&&x!==""){const _=x.indexOf(ws);if(_===-1)r+=x+" ";else{const z=x.substr(_,Cp);_>0&&(r+=x.slice(0,_)),l+=z,i[p]=z}}}if(l==="")return r.slice(0,-1);const s=$v[l];if(s!==void 0)return r+s;const f=[];for(let p=0;p<arguments.length;p++){const x=i[p];if(x){const _=us[x];_&&(f.push(_[Np]),n=_[Dp])}}const v=Object.assign.apply(Object,[{}].concat(f)),[m,g]=gm(v,n),h=mm(g,n,i),y=h+" "+m;return $v[l]=y,us[h]=[v,n],r+y}function Mp(n){return Array.isArray(n)?n:[n]}function Op(n,r,l,i){const s=[];if(i[wr]=r,i[Ap]=String(l),n)for(const v in i)n.setAttribute(v,i[v]);function f(v){return n!=null&&n.sheet?n.sheet.insertRule(v,n.sheet.cssRules.length):s.push(v)}return{elementAttributes:i,insertRule:f,element:n,bucketName:r,cssRules(){return n!=null&&n.sheet?Array.from(n.sheet.cssRules).map(v=>v.cssText):s}}}const Hp=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],eh=Hp.reduce((n,r,l)=>(n[r]=l,n),{});function Fp(n,r,l){return(n==="m"?n+r:n)+l}function Up(n,r,l,i,s={}){var f,v;const m=n==="m",g=(f=s.m)!==null&&f!==void 0?f:"0",h=(v=s.p)!==null&&v!==void 0?v:0,y=Fp(n,g,h);if(!i.stylesheets[y]){const p=r&&r.createElement("style"),x=Op(p,n,h,Object.assign({},i.styleElementAttributes,m&&{media:g}));i.stylesheets[y]=x,r!=null&&r.head&&p&&r.head.insertBefore(p,Gp(r,l,n,i,s))}return i.stylesheets[y]}function Lp(n,r,l){var i,s;const f=r+((i=l.m)!==null&&i!==void 0?i:""),v=n.getAttribute(wr)+((s=n.media)!==null&&s!==void 0?s:"");return f===v}function Gp(n,r,l,i,s={}){var f,v;const m=eh[l],g=(f=s.m)!==null&&f!==void 0?f:"",h=(v=s.p)!==null&&v!==void 0?v:0;let y=k=>m-eh[k.getAttribute(wr)],p=n.head.querySelectorAll(`[${wr}]`);if(l==="m"){const k=n.head.querySelectorAll(`[${wr}="${l}"]`);k.length&&(p=k,y=O=>i.compareMediaQueries(g,O.media))}const x=k=>Lp(k,l,s)?h-Number(k.getAttribute("data-priority")):y(k),_=p.length;let z=_-1;for(;z>=0;){const k=p.item(z);if(x(k)>0)return k.nextSibling;z--}return _>0?p.item(0):r?r.nextSibling:null}function th(n,r){try{n.insertRule(r)}catch{}}let Pp=0;const Zp=(n,r)=>n<r?-1:n>r?1:0;function Xp(n=typeof document>"u"?void 0:document,r={}){const{classNameHashSalt:l,unstable_filterCSSRule:i,insertionPoint:s,styleElementAttributes:f,compareMediaQueries:v=Zp}=r,m={classNameHashSalt:l,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(f),compareMediaQueries:v,id:`d${Pp++}`,insertCSSRules(g){for(const h in g){const y=g[h];for(let p=0,x=y.length;p<x;p++){const[_,z]=Mp(y[p]),k=Up(h,n,s||null,m,z);m.insertionCache[_]||(m.insertionCache[_]=h,i?i(_)&&th(k,_):th(k,_))}}}};return m}const zs=()=>{const n={};return function(l,i){n[l.id]===void 0&&(l.insertCSSRules(i),n[l.id]=!0)}};function bm(n){return n.reduce(function(r,l){var i=l[0],s=l[1];return r[i]=s,r[s]=i,r},{})}function Vp(n){return typeof n=="boolean"}function Yp(n){return typeof n=="function"}function _r(n){return typeof n=="number"}function Qp(n){return n===null||typeof n>"u"}function Kp(n){return n&&typeof n=="object"}function Wp(n){return typeof n=="string"}function oi(n,r){return n.indexOf(r)!==-1}function Ip(n){return parseFloat(n)===0?n:n[0]==="-"?n.slice(1):"-"+n}function Ql(n,r,l,i){return r+Ip(l)+i}function Jp(n){var r=n.indexOf(".");if(r===-1)n=100-parseFloat(n)+"%";else{var l=n.length-r-2;n=100-parseFloat(n),n=n.toFixed(l)+"%"}return n}function pm(n){return n.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,l){var i=r.list,s=r.state,f=(l.match(/\(/g)||[]).length,v=(l.match(/\)/g)||[]).length;return s.parensDepth>0?i[i.length-1]=i[i.length-1]+" "+l:i.push(l),s.parensDepth+=f-v,{list:i,state:s}},{list:[],state:{parensDepth:0}}).list}function oh(n){var r=pm(n);if(r.length<=3||r.length>4)return n;var l=r[0],i=r[1],s=r[2],f=r[3];return[l,f,s,i].join(" ")}function $p(n){return!Vp(n)&&!Qp(n)}function ey(n){for(var r=[],l=0,i=0,s=!1;i<n.length;)!s&&n[i]===","?(r.push(n.substring(l,i).trim()),i++,l=i):n[i]==="("?(s=!0,i++):(n[i]===")"&&(s=!1),i++);return l!=i&&r.push(n.substring(l,i+1)),r}var Z={padding:function(r){var l=r.value;return _r(l)?l:oh(l)},textShadow:function(r){var l=r.value,i=ey(l).map(function(s){return s.replace(/(^|\s)(-*)([.|\d]+)/,function(f,v,m,g){if(g==="0")return f;var h=m===""?"-":"";return""+v+h+g})});return i.join(",")},borderColor:function(r){var l=r.value;return oh(l)},borderRadius:function(r){var l=r.value;if(_r(l))return l;if(oi(l,"/")){var i=l.split("/"),s=i[0],f=i[1],v=Z.borderRadius({value:s.trim()}),m=Z.borderRadius({value:f.trim()});return v+" / "+m}var g=pm(l);switch(g.length){case 2:return g.reverse().join(" ");case 4:{var h=g[0],y=g[1],p=g[2],x=g[3];return[y,h,x,p].join(" ")}default:return l}},background:function(r){var l=r.value,i=r.valuesToConvert,s=r.isRtl,f=r.bgImgDirectionRegex,v=r.bgPosDirectionRegex;if(_r(l))return l;var m=l.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return l=l.replace(m,Z.backgroundPosition({value:m,valuesToConvert:i,isRtl:s,bgPosDirectionRegex:v})),Z.backgroundImage({value:l,valuesToConvert:i,bgImgDirectionRegex:f})},backgroundImage:function(r){var l=r.value,i=r.valuesToConvert,s=r.bgImgDirectionRegex;return!oi(l,"url(")&&!oi(l,"linear-gradient(")?l:l.replace(s,function(f,v,m){return f.replace(m,i[m])})},backgroundPosition:function(r){var l=r.value,i=r.valuesToConvert,s=r.isRtl,f=r.bgPosDirectionRegex;return l.replace(s?/^((-|\d|\.)+%)/:null,function(v,m){return Jp(m)}).replace(f,function(v){return i[v]})},backgroundPositionX:function(r){var l=r.value,i=r.valuesToConvert,s=r.isRtl,f=r.bgPosDirectionRegex;return _r(l)?l:Z.backgroundPosition({value:l,valuesToConvert:i,isRtl:s,bgPosDirectionRegex:f})},transition:function(r){var l=r.value,i=r.propertiesToConvert;return l.split(/,\s*/g).map(function(s){var f=s.split(" ");return f[0]=i[f[0]]||f[0],f.join(" ")}).join(", ")},transitionProperty:function(r){var l=r.value,i=r.propertiesToConvert;return l.split(/,\s*/g).map(function(s){return i[s]||s}).join(", ")},transform:function(r){var l=r.value,i="[^\\u0020-\\u007e]",s="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",f="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+i+"|"+s+")")+("(?:[_a-z0-9-]|"+i+"|"+s+")")+"*")+")?")+")|(?:inherit|auto))",v=new RegExp("(translateX\\s*\\(\\s*)"+f+"(\\s*\\))","gi"),m=new RegExp("(translate\\s*\\(\\s*)"+f+"((?:\\s*,\\s*"+f+"){0,1}\\s*\\))","gi"),g=new RegExp("(translate3d\\s*\\(\\s*)"+f+"((?:\\s*,\\s*"+f+"){0,2}\\s*\\))","gi"),h=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+f+"(\\s*\\))","gi");return l.replace(v,Ql).replace(m,Ql).replace(g,Ql).replace(h,Ql)}};Z.objectPosition=Z.backgroundPosition;Z.margin=Z.padding;Z.borderWidth=Z.padding;Z.boxShadow=Z.textShadow;Z.webkitBoxShadow=Z.boxShadow;Z.mozBoxShadow=Z.boxShadow;Z.WebkitBoxShadow=Z.boxShadow;Z.MozBoxShadow=Z.boxShadow;Z.borderStyle=Z.borderColor;Z.webkitTransform=Z.transform;Z.mozTransform=Z.transform;Z.WebkitTransform=Z.transform;Z.MozTransform=Z.transform;Z.transformOrigin=Z.backgroundPosition;Z.webkitTransformOrigin=Z.transformOrigin;Z.mozTransformOrigin=Z.transformOrigin;Z.WebkitTransformOrigin=Z.transformOrigin;Z.MozTransformOrigin=Z.transformOrigin;Z.webkitTransition=Z.transition;Z.mozTransition=Z.transition;Z.WebkitTransition=Z.transition;Z.MozTransition=Z.transition;Z.webkitTransitionProperty=Z.transitionProperty;Z.mozTransitionProperty=Z.transitionProperty;Z.WebkitTransitionProperty=Z.transitionProperty;Z.MozTransitionProperty=Z.transitionProperty;Z["text-shadow"]=Z.textShadow;Z["border-color"]=Z.borderColor;Z["border-radius"]=Z.borderRadius;Z["background-image"]=Z.backgroundImage;Z["background-position"]=Z.backgroundPosition;Z["background-position-x"]=Z.backgroundPositionX;Z["object-position"]=Z.objectPosition;Z["border-width"]=Z.padding;Z["box-shadow"]=Z.textShadow;Z["-webkit-box-shadow"]=Z.textShadow;Z["-moz-box-shadow"]=Z.textShadow;Z["border-style"]=Z.borderColor;Z["-webkit-transform"]=Z.transform;Z["-moz-transform"]=Z.transform;Z["transform-origin"]=Z.transformOrigin;Z["-webkit-transform-origin"]=Z.transformOrigin;Z["-moz-transform-origin"]=Z.transformOrigin;Z["-webkit-transition"]=Z.transition;Z["-moz-transition"]=Z.transition;Z["transition-property"]=Z.transitionProperty;Z["-webkit-transition-property"]=Z.transitionProperty;Z["-moz-transition-property"]=Z.transitionProperty;var ym=bm([["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"]]),ty=["content"],nh=bm([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),oy=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),ny=new RegExp("(left)|(right)");function xm(n){return Object.keys(n).reduce(function(r,l){var i=n[l];if(Wp(i)&&(i=i.trim()),oi(ty,l))return r[l]=i,r;var s=ds(l,i),f=s.key,v=s.value;return r[f]=v,r},Array.isArray(n)?[]:{})}function ds(n,r){var l=/\/\*\s?@noflip\s?\*\//.test(r),i=l?n:ay(n),s=l?r:ry(i,r);return{key:i,value:s}}function ay(n){return ym[n]||n}function ry(n,r){if(!$p(r))return r;if(Kp(r))return xm(r);var l=_r(r),i=Yp(r),s=l||i?r:r.replace(/ !important.*?$/,""),f=!l&&s.length!==r.length,v=Z[n],m;return v?m=v({value:s,valuesToConvert:nh,propertiesToConvert:ym,isRtl:!0,bgImgDirectionRegex:oy,bgPosDirectionRegex:ny}):m=nh[s]||s,f?m+" !important":m}const ly=/[A-Z]/g,iy=/^ms-/,Yc={};function uy(n){return"-"+n.toLowerCase()}function ga(n){if(Object.prototype.hasOwnProperty.call(Yc,n))return Yc[n];if(n.substr(0,2)==="--")return n;const r=n.replace(ly,uy);return Yc[n]=iy.test(r)?"-"+r:r}function Sm(n){return n.charAt(0)==="&"?n.slice(1):n}var zr="-moz-",eo="-webkit-",_m="comm",hi="rule",ks="decl",cy="@media",sy="@import",fy="@supports",dy="@namespace",vy="@keyframes",wm="@layer",zm=Math.abs,mi=String.fromCharCode,hy=Object.assign;function my(n,r){return dt(n,0)^45?(((r<<2^dt(n,0))<<2^dt(n,1))<<2^dt(n,2))<<2^dt(n,3):0}function km(n){return n.trim()}function Bm(n,r){return(n=r.exec(n))?n[0]:n}function zt(n,r,l){return n.replace(r,l)}function Tm(n,r,l){return n.indexOf(r,l)}function dt(n,r){return n.charCodeAt(r)|0}function ya(n,r,l){return n.slice(r,l)}function to(n){return n.length}function Em(n){return n.length}function Tn(n,r){return r.push(n),n}function gy(n,r){return n.map(r).join("")}var gi=1,xa=1,jm=0,Mt=0,Oe=0,ka="";function bi(n,r,l,i,s,f,v,m){return{value:n,root:r,parent:l,type:i,props:s,children:f,line:gi,column:xa,length:v,return:"",siblings:m}}function Qc(n,r){return hy(bi("",null,null,"",null,null,0,n.siblings),n,{length:-n.length},r)}function by(){return Oe}function py(){return Oe=Mt>0?dt(ka,--Mt):0,xa--,Oe===10&&(xa=1,gi--),Oe}function Kt(){return Oe=Mt<jm?dt(ka,Mt++):0,xa++,Oe===10&&(xa=1,gi++),Oe}function on(){return dt(ka,Mt)}function ni(){return Mt}function pi(n,r){return ya(ka,n,r)}function Sa(n){switch(n){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 Am(n){return gi=xa=1,jm=to(ka=n),Mt=0,[]}function Cm(n){return ka="",n}function ai(n){return km(pi(Mt-1,vs(n===91?n+2:n===40?n+1:n)))}function yy(n){return Cm(Sy(Am(n)))}function xy(n){for(;(Oe=on())&&Oe<33;)Kt();return Sa(n)>2||Sa(Oe)>3?"":" "}function Sy(n){for(;Kt();)switch(Sa(Oe)){case 0:Tn(Nm(Mt-1),n);break;case 2:Tn(ai(Oe),n);break;default:Tn(mi(Oe),n)}return n}function _y(n,r){for(;--r&&Kt()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return pi(n,ni()+(r<6&&on()==32&&Kt()==32))}function vs(n){for(;Kt();)switch(Oe){case n:return Mt;case 34:case 39:n!==34&&n!==39&&vs(Oe);break;case 40:n===41&&vs(n);break;case 92:Kt();break}return Mt}function wy(n,r){for(;Kt()&&n+Oe!==57;)if(n+Oe===84&&on()===47)break;return"/*"+pi(r,Mt-1)+"*"+mi(n===47?n:Kt())}function Nm(n){for(;!Sa(on());)Kt();return pi(n,Mt)}function Dm(n){return Cm(ri("",null,null,null,[""],n=Am(n),0,[0],n))}function ri(n,r,l,i,s,f,v,m,g){for(var h=0,y=0,p=v,x=0,_=0,z=0,k=1,O=1,D=1,U=0,R="",V=s,X=f,Y=i,G=R;O;)switch(z=U,U=Kt()){case 40:if(z!=108&&dt(G,p-1)==58){Tm(G+=zt(ai(U),"&","&\f"),"&\f",zm(h?m[h-1]:0))!=-1&&(D=-1);break}case 34:case 39:case 91:G+=ai(U);break;case 9:case 10:case 13:case 32:G+=xy(z);break;case 92:G+=_y(ni()-1,7);continue;case 47:switch(on()){case 42:case 47:Tn(zy(wy(Kt(),ni()),r,l,g),g),(Sa(z||1)==5||Sa(on()||1)==5)&&to(G)&&ya(G,-1,void 0)!==" "&&(G+=" ");break;default:G+="/"}break;case 123*k:m[h++]=to(G)*D;case 125*k:case 59:case 0:switch(U){case 0:case 125:O=0;case 59+y:D==-1&&(G=zt(G,/\f/g,"")),_>0&&(to(G)-p||k===0&&z===47)&&Tn(_>32?rh(G+";",i,l,p-1,g):rh(zt(G," ","")+";",i,l,p-2,g),g);break;case 59:G+=";";default:if(Tn(Y=ah(G,r,l,h,y,s,m,R,V=[],X=[],p,f),f),U===123)if(y===0)ri(G,r,Y,Y,V,f,p,m,X);else{switch(x){case 99:if(dt(G,3)===110)break;case 108:if(dt(G,2)===97)break;default:y=0;case 100:case 109:case 115:}y?ri(n,Y,Y,i&&Tn(ah(n,Y,Y,0,0,s,m,R,s,V=[],p,X),X),s,X,p,m,i?V:X):ri(G,Y,Y,Y,[""],X,0,m,X)}}h=y=_=0,k=D=1,R=G="",p=v;break;case 58:p=1+to(G),_=z;default:if(k<1){if(U==123)--k;else if(U==125&&k++==0&&py()==125)continue}switch(G+=mi(U),U*k){case 38:D=y>0?1:(G+="\f",-1);break;case 44:m[h++]=(to(G)-1)*D,D=1;break;case 64:on()===45&&(G+=ai(Kt())),x=on(),y=p=to(R=G+=Nm(ni())),U++;break;case 45:z===45&&to(G)==2&&(k=0)}}return f}function ah(n,r,l,i,s,f,v,m,g,h,y,p){for(var x=s-1,_=s===0?f:[""],z=Em(_),k=0,O=0,D=0;k<i;++k)for(var U=0,R=ya(n,x+1,x=zm(O=v[k])),V=n;U<z;++U)(V=km(O>0?_[U]+" "+R:zt(R,/&\f/g,_[U])))&&(g[D++]=V);return bi(n,r,l,s===0?hi:m,g,h,y,p)}function zy(n,r,l,i){return bi(n,r,l,_m,mi(by()),ya(n,2,-2),0,i)}function rh(n,r,l,i,s){return bi(n,r,l,ks,ya(n,0,i),ya(n,i+1,-1),i,s)}function _a(n,r){for(var l="",i=0;i<n.length;i++)l+=r(n[i],i,n,r)||"";return l}function Rm(n,r,l,i){switch(n.type){case wm:if(n.children.length)break;case sy:case dy:case ks:return n.return=n.return||n.value;case _m:return"";case vy:return n.return=n.value+"{"+_a(n.children,i)+"}";case hi:if(!to(n.value=n.props.join(",")))return""}return to(l=_a(n.children,i))?n.return=n.value+"{"+l+"}":""}function qm(n){var r=Em(n);return function(l,i,s,f){for(var v="",m=0;m<r;m++)v+=n[m](l,i,s,f)||"";return v}}function Mm(n){return function(r){r.root||(r=r.return)&&n(r)}}const ky=n=>{switch(n.type){case hi:if(typeof n.props=="string")return;n.props=n.props.map(r=>r.indexOf(":global(")===-1?r:yy(r).reduce((l,i,s,f)=>{if(i==="")return l;if(i===":"&&f[s+1]==="global"){const v=f[s+2].slice(1,-1)+" ";return l.unshift(v),f[s+1]="",f[s+2]="",l}return l.push(i),l},[]).join(""))}};function Om(n,r,l){switch(my(n,r)){case 5103:return eo+"print-"+n+n;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return eo+n+n;case 4215:if(dt(n,9)===102||dt(n,r+1)===116)return eo+n+n;break;case 4789:return zr+n+n;case 5349:case 4246:case 6968:return eo+n+zr+n+n;case 6187:if(!Bm(n,/grab/))return zt(zt(zt(n,/(zoom-|grab)/,eo+"$1"),/(image-set)/,eo+"$1"),n,"")+n;case 5495:case 3959:return zt(n,/(image-set\([^]*)/,eo+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return zt(n,/(.+)-inline(.+)/,eo+"$1$2")+n;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(to(n)-1-r>6)switch(dt(n,r+1)){case 102:if(dt(n,r+3)===108)return zt(n,/(.+:)(.+)-([^]+)/,"$1"+eo+"$2-$3$1"+zr+(dt(n,r+3)==108?"$3":"$2-$3"))+n;case 115:return~Tm(n,"stretch")?Om(zt(n,"stretch","fill-available"),r)+n:n}break}return n}function Hm(n,r,l,i){if(n.length>-1&&!n.return)switch(n.type){case ks:n.return=Om(n.value,n.length);return;case hi:if(n.length)return gy(n.props,function(s){switch(Bm(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _a([Qc(n,{props:[zt(s,/:(read-\w+)/,":"+zr+"$1")]})],i);case"::placeholder":return _a([Qc(n,{props:[zt(s,/:(plac\w+)/,":"+eo+"input-$1")]}),Qc(n,{props:[zt(s,/:(plac\w+)/,":"+zr+"$1")]})],i)}return""})}}function By(n){switch(n.type){case"@container":case cy:case fy:case wm:return!0}return!1}const Ty=n=>{By(n)&&Array.isArray(n.children)&&n.children.sort((r,l)=>r.props[0]>l.props[0]?1:-1)};function Ey(n,r){const l=[];return _a(Dm(n),qm([ky,Ty,Hm,Rm,Mm(i=>l.push(i))])),l}const jy=/,( *[^ &])/g;function Ay(n){return"&"+Sm(n.replace(jy,",&$1"))}function lh(n,r,l){let i=r;return l.length>0&&(i=l.reduceRight((s,f)=>`${Ay(f)} { ${s} }`,r)),`${n}{${i}}`}function ih(n,r){const{className:l,selectors:i,property:s,rtlClassName:f,rtlProperty:v,rtlValue:m,value:g}=n,{container:h,layer:y,media:p,supports:x}=r,_=`.${l}`,z=Array.isArray(g)?`${g.map(O=>`${ga(s)}: ${O}`).join(";")};`:`${ga(s)}: ${g};`;let k=lh(_,z,i);if(v&&f){const O=`.${f}`,D=Array.isArray(m)?`${m.map(U=>`${ga(v)}: ${U}`).join(";")};`:`${ga(v)}: ${m};`;k+=lh(O,D,i)}return p&&(k=`@media ${p} { ${k} }`),y&&(k=`@layer ${y} { ${k} }`),x&&(k=`@supports ${x} { ${k} }`),h&&(k=`@container ${h} { ${k} }`),Ey(k)}function Cy(n){let r="";for(const l in n){const i=n[l];if(typeof i=="string"||typeof i=="number"){r+=ga(l)+":"+i+";";continue}if(Array.isArray(i))for(const s of i)r+=ga(l)+":"+s+";"}return r}function uh(n){let r="";for(const l in n)r+=`${l}{${Cy(n[l])}}`;return r}function ch(n,r){const l=`@keyframes ${n} {${r}}`,i=[];return _a(Dm(l),qm([Rm,Hm,Mm(s=>i.push(s))])),i}const Ny={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 sh(n,r){return n.length===0?r:`${n} and ${r}`}function Dy(n){return n.substr(0,6)==="@media"}function Ry(n){return n.substr(0,6)==="@layer"}const qy=/^(:|\[|>|&)/;function My(n){return qy.test(n)}function Oy(n){return n.substr(0,9)==="@supports"}function Hy(n){return n.substring(0,10)==="@container"}function Fy(n){return n!=null&&typeof n=="object"&&Array.isArray(n)===!1}const fh={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function dh(n,r){if(r.media)return"m";if(r.layer||r.supports)return"t";if(r.container)return"c";if(n.length>0){const l=n[0].trim();if(l.charCodeAt(0)===58)return fh[l.slice(4,8)]||fh[l.slice(3,5)]||"d"}return"d"}function Kl(n,r){return n&&r+n}function Fm(n){return Kl(n.container,"c")+Kl(n.media,"m")+Kl(n.layer,"l")+Kl(n.supports,"s")}function Kc(n,r,l){const i=n+Fm(l)+r,s=Br(i),f=s.charCodeAt(0);return f>=48&&f<=57?String.fromCharCode(f+17)+s.slice(1):s}function Wl({property:n,selector:r,salt:l,value:i},s){return cs+Br(l+r+Fm(s)+n+i.trim())}function Uy(n){return n===fs}function Wc(n){return n.replace(/>\s+/g,">")}function vh(n){return Ny[n]}function hh(n){var r;return(r=n==null?void 0:n[0])!==null&&r!==void 0?r:0}function Ic(n,r,l,i){n[r]=i?[l,i]:l}function mh(n,r){return r.length>0?[n,Object.fromEntries(r)]:n}function Jc(n,r,l,i,s,f){var v;const m=[];f!==0&&m.push(["p",f]),r==="m"&&s&&m.push(["m",s]),(v=n[r])!==null&&v!==void 0||(n[r]=[]),l&&n[r].push(mh(l,m)),i&&n[r].push(mh(i,m))}function Eo(n,r="",l=[],i={container:"",layer:"",media:"",supports:""},s={},f={},v){for(const m in n){if(Rp.hasOwnProperty(m)){n[m];continue}const g=n[m];if(g!=null){if(Uy(g)){const h=Wc(l.join("")),y=Kc(h,m,i);Ic(s,y,0,void 0);continue}if(typeof g=="string"||typeof g=="number"){const h=Wc(l.join("")),y=vh(m);if(y){const V=y[1],X=Object.fromEntries(V.map(Y=>[Y,fs]));Eo(X,r,l,i,s,f)}const p=Kc(h,m,i),x=Wl({value:g.toString(),salt:r,selector:h,property:m},i),_=v&&{key:m,value:v}||ds(m,g),z=_.key!==m||_.value!==g,k=z?Wl({value:_.value.toString(),property:_.key,salt:r,selector:h},i):void 0,O=z?{rtlClassName:k,rtlProperty:_.key,rtlValue:_.value}:void 0,D=dh(l,i),[U,R]=ih(Object.assign({className:x,selectors:l,property:m,value:g},O),i);Ic(s,p,x,k),Jc(f,D,U,R,i.media,hh(y))}else if(m==="animationName"){const h=Array.isArray(g)?g:[g],y=[],p=[];for(const x of h){const _=uh(x),z=uh(xm(x)),k=cs+Br(_);let O;const D=ch(k,_);let U=[];_===z?O=k:(O=cs+Br(z),U=ch(O,z));for(let R=0;R<D.length;R++)Jc(f,"k",D[R],U[R],i.media,0);y.push(k),p.push(O)}Eo({animationName:y.join(", ")},r,l,i,s,f,p.join(", "))}else if(Array.isArray(g)){if(g.length===0)continue;const h=Wc(l.join("")),y=vh(m);if(y){const X=y[1],Y=Object.fromEntries(X.map(G=>[G,fs]));Eo(Y,r,l,i,s,f)}const p=Kc(h,m,i),x=Wl({value:g.map(X=>(X??"").toString()).join(";"),salt:r,selector:h,property:m},i),_=g.map(X=>ds(m,X));if(!!_.some(X=>X.key!==_[0].key))continue;const k=_[0].key!==m||_.some((X,Y)=>X.value!==g[Y]),O=k?Wl({value:_.map(X=>{var Y;return((Y=X==null?void 0:X.value)!==null&&Y!==void 0?Y:"").toString()}).join(";"),salt:r,property:_[0].key,selector:h},i):void 0,D=k?{rtlClassName:O,rtlProperty:_[0].key,rtlValue:_.map(X=>X.value)}:void 0,U=dh(l,i),[R,V]=ih(Object.assign({className:x,selectors:l,property:m,value:g},D),i);Ic(s,p,x,O),Jc(f,U,R,V,i.media,hh(y))}else if(Fy(g)){if(My(m))Eo(g,r,l.concat(Sm(m)),i,s,f);else if(Dy(m)){const h=sh(i.media,m.slice(6).trim());Eo(g,r,l,Object.assign({},i,{media:h}),s,f)}else if(Ry(m)){const h=(i.layer?`${i.layer}.`:"")+m.slice(6).trim();Eo(g,r,l,Object.assign({},i,{layer:h}),s,f)}else if(Oy(m)){const h=sh(i.supports,m.slice(9).trim());Eo(g,r,l,Object.assign({},i,{supports:h}),s,f)}else if(Hy(m)){const h=m.slice(10).trim();Eo(g,r,l,Object.assign({},i,{container:h}),s,f)}}}}return[s,f]}function Ly(n,r=""){const l={},i={};for(const s in n){const f=n[s],[v,m]=Eo(f,r);l[s]=v,Object.keys(m).forEach(g=>{i[g]=(i[g]||[]).concat(m[g])})}return[l,i]}function Gy(n,r=zs){const l=r();let i=null,s=null,f=null,v=null;function m(g){const{dir:h,renderer:y}=g;i===null&&([i,s]=Ly(n,y.classNameHashSalt));const p=h==="ltr";return p?f===null&&(f=ci(i,h)):v===null&&(v=ci(i,h)),l(y,s),p?f:v}return m}function Py(n,r,l=zs){const i=l();let s=null,f=null;function v(m){const{dir:g,renderer:h}=m,y=g==="ltr";return y?s===null&&(s=ci(n,g)):f===null&&(f=ci(n,g)),i(h,r),y?s:f}return v}function Zy(n,r,l,i=zs){const s=i();function f(v){const{dir:m,renderer:g}=v,h=m==="ltr"?n:r||n;return s(g,Array.isArray(l)?{r:l}:l),h}return f}function Xy(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const gh=ui.useInsertionEffect?ui.useInsertionEffect:void 0,Bs=()=>{const n={};return function(l,i){if(gh&&Xy()){gh(()=>{l.insertCSSRules(i)},[l,i]);return}n[l.id]===void 0&&(l.insertCSSRules(i),n[l.id]=!0)}},Vy=A.createContext(Xp());function Ts(){return A.useContext(Vy)}const Yy=A.createContext("ltr");function Es(){return A.useContext(Yy)}function Qy(n){const r=Gy(n,Bs);return function(){const i=Es(),s=Ts();return r({dir:i,renderer:s})}}function ke(n,r){const l=Py(n,r,Bs);return function(){const s=Es(),f=Ts();return l({dir:s,renderer:f})}}function Ze(n,r,l){const i=Zy(n,r,l,Bs);return function(){const f=Es(),v=Ts();return i({dir:f,renderer:v})}}const si=Symbol.for("fui.slotRenderFunction"),wa=Symbol.for("fui.slotElementType"),Um=Symbol.for("fui.slotClassNameProp");function st(n,r){const{defaultProps:l,elementType:i}=r,s=Ky(n),f={...l,...s,[wa]:i,[Um]:(s==null?void 0:s.className)||(l==null?void 0:l.className)};return s&&typeof s.children=="function"&&(f[si]=s.children,f.children=l==null?void 0:l.children),f}function kt(n,r){if(!(n===null||n===void 0&&!r.renderByDefault))return st(n,r)}function Ky(n){return typeof n=="string"||typeof n=="number"||Wy(n)||A.isValidElement(n)?{children:n}:n}const Wy=n=>typeof n=="object"&&n!==null&&Symbol.iterator in n;function Iy(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)&&!A.isValidElement(n)}function bh(n){return!!(n!=null&&n.hasOwnProperty(wa))}const De=(...n)=>{const r={};for(const l of n){const i=Array.isArray(l)?l:Object.keys(l);for(const s of i)r[s]=1}return r},Jy=De(["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"]),$y=De(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","ref","role","style","tabIndex","title","translate","spellCheck","name"]),e2=De(["itemID","itemProp","itemRef","itemScope","itemType"]),Ie=De($y,Jy,e2),t2=De(Ie,["form"]),Lm=De(Ie,["height","loop","muted","preload","src","width"]),o2=De(Lm,["poster"]),n2=De(Ie,["start"]),a2=De(Ie,["value"]),r2=De(Ie,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),l2=De(Ie,["dateTime"]),yi=De(Ie,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),i2=De(yi,["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"]),u2=De(yi,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),c2=De(yi,["form","multiple","required"]),s2=De(Ie,["selected","value"]),f2=De(Ie,["cellPadding","cellSpacing"]),d2=Ie,v2=De(Ie,["colSpan","rowSpan","scope"]),h2=De(Ie,["colSpan","headers","rowSpan","scope"]),m2=De(Ie,["span"]),g2=De(Ie,["span"]),b2=De(Ie,["disabled","form"]),p2=De(Ie,["acceptCharset","action","encType","encType","method","noValidate","target"]),y2=De(Ie,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),x2=De(Ie,["alt","crossOrigin","height","src","srcSet","useMap","width"]),S2=De(Ie,["open","onCancel","onClose"]);function _2(n,r,l){const i=Array.isArray(r),s={},f=Object.keys(n);for(const v of f)(!i&&r[v]||i&&r.indexOf(v)>=0||v.indexOf("data-")===0||v.indexOf("aria-")===0)&&(!l||(l==null?void 0:l.indexOf(v))===-1)&&(s[v]=n[v]);return s}const w2={label:t2,audio:Lm,video:o2,ol:n2,li:a2,a:r2,button:yi,input:i2,textarea:u2,select:c2,option:s2,table:f2,tr:d2,th:v2,td:h2,colGroup:m2,col:g2,fieldset:b2,form:p2,iframe:y2,img:x2,time:l2,dialog:S2};function Gm(n,r,l){const i=n&&w2[n]||Ie;return i.as=1,_2(r,i,l)}const Pm=({primarySlotTagName:n,props:r,excludedPropNames:l})=>({root:{style:r.style,className:r.className},primary:Gm(n,r,[...l||[],"style","className"])}),An=(n,r,l)=>{var i;return Gm((i=r.as)!==null&&i!==void 0?i:n,r,l)};function z2(n,r){const l=A.useRef(void 0),i=A.useCallback((f,v)=>(l.current!==void 0&&r(l.current),l.current=n(f,v),l.current),[r,n]),s=A.useCallback(()=>{l.current!==void 0&&(r(l.current),l.current=void 0)},[r]);return A.useEffect(()=>s,[s]),[i,s]}const Zm=A.createContext(void 0),k2="";Zm.Provider;function B2(){var n;return(n=A.useContext(Zm))!==null&&n!==void 0?n:k2}const Xm=A.createContext(void 0),T2={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"};Xm.Provider;function no(){var n;return(n=A.useContext(Xm))!==null&&n!==void 0?n:T2}const Vm=A.createContext(void 0);Vm.Provider;function Ym(){var n;return(n=A.useContext(Vm))!==null&&n!==void 0?n:{}}const Qm=A.createContext(void 0),E2=()=>{};Qm.Provider;const Ot=n=>{var r,l;return(l=(r=A.useContext(Qm))===null||r===void 0?void 0:r[n])!==null&&l!==void 0?l:E2},Km=A.createContext(void 0);Km.Provider;function j2(){return A.useContext(Km)}function A2(n){return typeof n=="function"}const js=n=>{"use no memo";const[r,l]=A.useState(()=>n.defaultState===void 0?n.initialState:C2(n.defaultState)?n.defaultState():n.defaultState),i=A.useRef(n.state);A.useEffect(()=>{i.current=n.state},[n.state]);const s=A.useCallback(f=>{A2(f)&&f(i.current)},[]);return N2(n.state)?[n.state,s]:[r,l]};function C2(n){return typeof n=="function"}const N2=n=>{"use no memo";const[r]=A.useState(()=>n!==void 0);return r};function D2(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const R2={current:0},q2=A.createContext(void 0);function M2(){var n;return(n=A.useContext(q2))!==null&&n!==void 0?n:R2}const uo=D2()?A.useLayoutEffect:A.useEffect,gt=n=>{const r=A.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return uo(()=>{r.current=n},[n]),A.useCallback((...l)=>{const i=r.current;return i(...l)},[r])};function O2(){const n=A.useRef(!0);return A.useEffect(()=>{n.current&&(n.current=!1)},[]),n.current}function H2(){return A.useReducer(n=>n+1,0)[1]}const Wm=A.createContext(void 0);Wm.Provider;function F2(){return A.useContext(Wm)||""}function Er(n="fui-",r){"use no memo";const l=M2(),i=F2(),s=ui.useId;if(s){const f=s(),v=A.useMemo(()=>f.replace(/:/g,""),[f]);return r||`${i}${n}${v}`}return A.useMemo(()=>r||`${i}${n}${++l.current}`,[i,n,r,l])}function Im(...n){"use no memo";const r=A.useCallback(l=>{r.current=l;for(const i of n)typeof i=="function"?i(l):i&&(i.current=l)},[...n]);return r}const U2=n=>-1,L2=n=>{};function G2(){const{targetDocument:n}=no(),r=n==null?void 0:n.defaultView,l=r?r.setTimeout:U2,i=r?r.clearTimeout:L2;return z2(l,i)}const P2=parseInt(A.version,10)>=19;function Z2(n){if(n)return P2?n.props.ref:n.ref}function ph(n,r){return(...l)=>{n==null||n(...l),r==null||r(...l)}}function hs(n,r){var l;const i=n;var s;return!!(!(i==null||(l=i.ownerDocument)===null||l===void 0)&&l.defaultView&&i instanceof i.ownerDocument.defaultView[(s=void 0)!==null&&s!==void 0?s:"HTMLElement"])}function X2(n){return n&&!!n._virtual}function V2(n){return X2(n)&&n._virtual.parent||null}function Y2(n,r={}){if(!n)return null;if(!r.skipVirtual){const i=V2(n);if(i)return i}const l=n.parentNode;return l&&l.nodeType===11?l.host:l}function yh(n,r){n&&Object.assign(n,{_virtual:{parent:r}})}function Q2(n,r){return{...r,[wa]:n}}function Jm(n,r){return function(i,s,f,v,m){return bh(s)?r(Q2(i,s),null,f,v,m):bh(i)?r(i,s,f,v,m):n(i,s,f,v,m)}}function $m(n){const{as:r,[Um]:l,[wa]:i,[si]:s,...f}=n,v=f,m=typeof i=="string"?r??i:i;return typeof m!="string"&&r&&(v.as=r),{elementType:m,props:v,renderFunction:s}}const En=Sp,K2=(n,r,l)=>{const{elementType:i,renderFunction:s,props:f}=$m(n),v={...f,...r};return s?En.jsx(A.Fragment,{children:s(i,v)},l):En.jsx(i,v,l)},W2=(n,r,l)=>{const{elementType:i,renderFunction:s,props:f}=$m(n),v={...f,...r};return s?En.jsx(A.Fragment,{children:s(i,{...v,children:En.jsxs(A.Fragment,{children:v.children},void 0)})},l):En.jsxs(i,v,l)},we=Jm(En.jsx,K2),an=Jm(En.jsxs,W2),e1=A.createContext(void 0),I2={};e1.Provider;const J2=()=>{const n=A.useContext(e1);return n??I2};var $2=typeof WeakRef<"u",xh=class{constructor(n){$2&&typeof n=="object"?this._weakRef=new WeakRef(n):this._instance=n}deref(){var n,r;let l;return this._weakRef?(l=(n=this._weakRef)==null?void 0:n.deref(),l||delete this._weakRef):(l=this._instance,(r=l==null?void 0:l.isDisposed)!=null&&r.call(l)&&delete this._instance),l}},jo="keyborg:focusin",Tr="keyborg:focusout";function e5(n){const r=n.HTMLElement,l=r.prototype.focus;let i=!1;return r.prototype.focus=function(){i=!0},n.document.createElement("button").focus(),r.prototype.focus=l,i}var $c=!1;function jn(n){const r=n.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(n):n.focus()}function t5(n){const r=n;$c||($c=e5(r));const l=r.HTMLElement.prototype.focus;if(l.__keyborgNativeFocus)return;r.HTMLElement.prototype.focus=g;const i=new Set,s=y=>{const p=y.target;if(!p)return;const x=new CustomEvent(Tr,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:y}});p.dispatchEvent(x)},f=y=>{const p=y.target;if(!p)return;let x=y.composedPath()[0];const _=new Set;for(;x;)x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(_.add(x),x=x.host):x=x.parentNode;for(const z of i){const k=z.deref();(!k||!_.has(k))&&(i.delete(z),k&&(k.removeEventListener("focusin",f,!0),k.removeEventListener("focusout",s,!0)))}v(p,y.relatedTarget||void 0)},v=(y,p,x)=>{var _;const z=y.shadowRoot;if(z){for(const D of i)if(D.deref()===z)return;z.addEventListener("focusin",f,!0),z.addEventListener("focusout",s,!0),i.add(new xh(z));return}const k={relatedTarget:p,originalEvent:x},O=new CustomEvent(jo,{cancelable:!0,bubbles:!0,composed:!0,detail:k});O.details=k,($c||m.lastFocusedProgrammatically)&&(k.isFocusedProgrammatically=y===((_=m.lastFocusedProgrammatically)==null?void 0:_.deref()),m.lastFocusedProgrammatically=void 0),y.dispatchEvent(O)},m=r.__keyborgData={focusInHandler:f,focusOutHandler:s,shadowTargets:i};r.document.addEventListener("focusin",r.__keyborgData.focusInHandler,!0),r.document.addEventListener("focusout",r.__keyborgData.focusOutHandler,!0);function g(){const y=r.__keyborgData;return y&&(y.lastFocusedProgrammatically=new xh(this)),l.apply(this,arguments)}let h=r.document.activeElement;for(;h&&h.shadowRoot;)v(h),h=h.shadowRoot.activeElement;g.__keyborgNativeFocus=l}function o5(n){const r=n,l=r.HTMLElement.prototype,i=l.focus.__keyborgNativeFocus,s=r.__keyborgData;if(s){r.document.removeEventListener("focusin",s.focusInHandler,!0),r.document.removeEventListener("focusout",s.focusOutHandler,!0);for(const f of s.shadowTargets){const v=f.deref();v&&(v.removeEventListener("focusin",s.focusInHandler,!0),v.removeEventListener("focusout",s.focusOutHandler,!0))}s.shadowTargets.clear(),delete r.__keyborgData}i&&(l.focus=i)}var n5=500,t1=0,a5=class{constructor(n,r){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=i=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const s=i.detail;s.relatedTarget&&(s.isFocusedProgrammatically||s.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=i=>{i.buttons===0||i.clientX===0&&i.clientY===0&&i.screenX===0&&i.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const i=this._win;i&&(this._isMouseOrTouchUsedTimer&&i.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=i.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=i=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(i)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(i)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++t1,this._win=n;const l=n.document;if(r){const i=r.triggerKeys,s=r.dismissKeys;i!=null&&i.length&&(this._triggerKeys=new Set(i)),s!=null&&s.length&&(this._dismissKeys=new Set(s))}l.addEventListener(jo,this._onFocusIn,!0),l.addEventListener("mousedown",this._onMouseDown,!0),n.addEventListener("keydown",this._onKeyDown,!0),l.addEventListener("touchstart",this._onMouseOrTouch,!0),l.addEventListener("touchend",this._onMouseOrTouch,!0),l.addEventListener("touchcancel",this._onMouseOrTouch,!0),t5(n)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(n){this._isNavigatingWithKeyboard_DO_NOT_USE!==n&&(this._isNavigatingWithKeyboard_DO_NOT_USE=n,this.update())}dispose(){const n=this._win;if(n){this._isMouseOrTouchUsedTimer&&(n.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(n.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),o5(n);const r=n.document;r.removeEventListener(jo,this._onFocusIn,!0),r.removeEventListener("mousedown",this._onMouseDown,!0),n.removeEventListener("keydown",this._onKeyDown,!0),r.removeEventListener("touchstart",this._onMouseOrTouch,!0),r.removeEventListener("touchend",this._onMouseOrTouch,!0),r.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var n,r;const l=(r=(n=this._win)==null?void 0:n.__keyborg)==null?void 0:r.refs;if(l)for(const i of Object.keys(l))As.update(l[i],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(n){var r;if(n.key==="Tab")return!0;const l=(r=this._win)==null?void 0:r.document.activeElement,i=!this._triggerKeys||this._triggerKeys.has(n.keyCode),s=l&&(l.tagName==="INPUT"||l.tagName==="TEXTAREA"||l.isContentEditable);return i&&!s}_shouldDismissKeyboardNavigation(n){var r;return(r=this._dismissKeys)==null?void 0:r.has(n.keyCode)}_scheduleDismiss(){const n=this._win;if(n){this._dismissTimer&&(n.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const r=n.document.activeElement;this._dismissTimer=n.setTimeout(()=>{this._dismissTimer=void 0;const l=n.document.activeElement;r&&l&&r===l&&(this.isNavigatingWithKeyboard=!1)},n5)}}},As=class o1{constructor(r,l){this._cb=[],this._id="k"+ ++t1,this._win=r;const i=r.__keyborg;i?(this._core=i.core,i.refs[this._id]=this):(this._core=new a5(r,l),r.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(r,l){return new o1(r,l)}static dispose(r){r.dispose()}static update(r,l){r._cb.forEach(i=>i(l))}dispose(){var r;const l=(r=this._win)==null?void 0:r.__keyborg;l!=null&&l.refs[this._id]&&(delete l.refs[this._id],Object.keys(l.refs).length===0&&(l.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var r;return!!((r=this._core)!=null&&r.isNavigatingWithKeyboard)}subscribe(r){this._cb.push(r)}unsubscribe(r){const l=this._cb.indexOf(r);l>=0&&this._cb.splice(l,1)}setVal(r){this._core&&(this._core.isNavigatingWithKeyboard=r)}};function n1(n,r){return As.create(n,r)}function a1(n){As.dispose(n)}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*//*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/const nn="data-tabster",r5="data-tabster-dummy",r1=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,ba={EscapeGroupper:1,Restorer:2,Deloser:3},za={Source:0,Target:1},l5={Outside:2};/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/function Wt(n,r){var l;return(l=n.storageEntry(r))===null||l===void 0?void 0:l.tabster}function l1(n,r,l){var i,s,f;const v=l||n._noop?void 0:r.getAttribute(nn);let m=n.storageEntry(r),g;if(v)if(v!==((i=m==null?void 0:m.attr)===null||i===void 0?void 0:i.string))try{const x=JSON.parse(v);if(typeof x!="object")throw new Error(`Value is not a JSON object, got '${v}'.`);g={string:v,object:x}}catch{}else return;else if(!m)return;m||(m=n.storageEntry(r,!0)),m.tabster||(m.tabster={});const h=m.tabster||{},y=((s=m.attr)===null||s===void 0?void 0:s.object)||{},p=(g==null?void 0:g.object)||{};for(const x of Object.keys(y))if(!p[x]){if(x==="root"){const _=h[x];_&&n.root.onRoot(_,!0)}switch(x){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const _=h[x];_&&(_.dispose(),delete h[x]);break;case"observed":delete h[x],n.observedElement&&n.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete h[x];break}}for(const x of Object.keys(p)){const _=p.sys;switch(x){case"deloser":h.deloser?h.deloser.setProps(p.deloser):n.deloser&&(h.deloser=n.deloser.createDeloser(r,p.deloser));break;case"root":h.root?h.root.setProps(p.root):h.root=n.root.createRoot(r,p.root,_),n.root.onRoot(h.root);break;case"modalizer":{let z;const k=n.modalizer;if(h.modalizer){const O=p.modalizer,D=O.id;D&&((f=y==null?void 0:y.modalizer)===null||f===void 0?void 0:f.id)!==D?(h.modalizer.dispose(),z=O):h.modalizer.setProps(O)}else k&&(z=p.modalizer);k&&z&&(h.modalizer=k.createModalizer(r,z,_))}break;case"restorer":h.restorer?h.restorer.setProps(p.restorer):n.restorer&&p.restorer&&(h.restorer=n.restorer.createRestorer(r,p.restorer));break;case"focusable":h.focusable=p.focusable;break;case"groupper":h.groupper?h.groupper.setProps(p.groupper):n.groupper&&(h.groupper=n.groupper.createGroupper(r,p.groupper,_));break;case"mover":h.mover?h.mover.setProps(p.mover):n.mover&&(h.mover=n.mover.createMover(r,p.mover,_));break;case"observed":n.observedElement&&(h.observed=p.observed,n.observedElement.onObservedElementUpdate(r));break;case"uncontrolled":h.uncontrolled=p.uncontrolled;break;case"outline":n.outline&&(h.outline=p.outline);break;case"sys":h.sys=p.sys;break;default:console.error(`Unknown key '${x}' in data-tabster attribute value.`)}}g?m.attr=g:(Object.keys(h).length===0&&(delete m.tabster,delete m.attr),n.storageEntry(r,!1))}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/const i5="tabster:focusin",u5="tabster:focusout",c5="tabster:movefocus",s5="tabster:modalizer:active",f5="tabster:modalizer:inactive",ms="tabster:restorer:restore-focus",d5="tabster:root:focus",v5="tabster:root:blur",h5=typeof CustomEvent<"u"?CustomEvent:function(){};class rn extends h5{constructor(r,l){super(r,{bubbles:!0,cancelable:!0,composed:!0,detail:l}),this.details=l}}class m5 extends rn{constructor(r){super(i5,r)}}class g5 extends rn{constructor(r){super(u5,r)}}class kr extends rn{constructor(r){super(c5,r)}}class b5 extends rn{constructor(r){super(s5,r)}}class p5 extends rn{constructor(r){super(f5,r)}}class Sh extends rn{constructor(){super(ms)}}class y5 extends rn{constructor(r){super(d5,r)}}class x5 extends rn{constructor(r){super(v5,r)}}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/const S5=n=>new MutationObserver(n),_5=(n,r,l,i)=>n.createTreeWalker(r,l,i),w5=n=>n?n.parentNode:null,z5=n=>n?n.parentElement:null,k5=(n,r)=>!!(r&&(n!=null&&n.contains(r))),B5=n=>n.activeElement,T5=(n,r)=>n.querySelector(r),E5=(n,r)=>Array.prototype.slice.call(n.querySelectorAll(r),0),j5=(n,r)=>n.getElementById(r),A5=n=>(n==null?void 0:n.firstChild)||null,C5=n=>(n==null?void 0:n.lastChild)||null,N5=n=>(n==null?void 0:n.nextSibling)||null,D5=n=>(n==null?void 0:n.previousSibling)||null,R5=n=>(n==null?void 0:n.firstElementChild)||null,q5=n=>(n==null?void 0:n.lastElementChild)||null,M5=n=>(n==null?void 0:n.nextElementSibling)||null,O5=n=>(n==null?void 0:n.previousElementSibling)||null,H5=(n,r)=>n.appendChild(r),F5=(n,r,l)=>n.insertBefore(r,l),U5=n=>{var r;return((r=n.ownerDocument)===null||r===void 0?void 0:r.getSelection())||null},L5=(n,r)=>n.ownerDocument.getElementsByName(r),I={createMutationObserver:S5,createTreeWalker:_5,getParentNode:w5,getParentElement:z5,nodeContains:k5,getActiveElement:B5,querySelector:T5,querySelectorAll:E5,getElementById:j5,getFirstChild:A5,getLastChild:C5,getNextSibling:N5,getPreviousSibling:D5,getFirstElementChild:R5,getLastElementChild:q5,getNextElementSibling:M5,getPreviousElementSibling:O5,appendChild:H5,insertBefore:F5,getSelection:U5,getElementsByName:L5};function G5(n){for(const r of Object.keys(n))I[r]=n[r]}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/let gs,P5=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),gs=!1}catch{gs=!0}const es=100;function Cn(n){const r=n();let l=r.__tabsterInstanceContext;return l||(l={elementByUId:{},basics:{Promise:r.Promise||void 0,WeakRef:r.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},r.__tabsterInstanceContext=l),l}function Z5(n){const r=n.__tabsterInstanceContext;r&&(r.elementByUId={},delete r.WeakRef,r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&n.clearTimeout(r.containerBoundingRectCacheTimer),r.fakeWeakRefsTimer&&n.clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefs=[],delete n.__tabsterInstanceContext)}function X5(n){const r=n.__tabsterInstanceContext;return new((r==null?void 0:r.basics.WeakMap)||WeakMap)}function V5(n){return!!n.querySelector(r1)}class i1{constructor(r){this._target=r}deref(){return this._target}static cleanup(r,l){return r._target?l||!Cs(r._target.ownerDocument,r._target)?(delete r._target,!0):!1:!0}}class oo{constructor(r,l,i){const s=Cn(r);let f;s.WeakRef?f=new s.WeakRef(l):(f=new i1(l),s.fakeWeakRefs.push(f)),this._ref=f,this._data=i}get(){const r=this._ref;let l;return r&&(l=r.deref(),l||delete this._ref),l}getData(){return this._data}}function u1(n,r){const l=Cn(n);l.fakeWeakRefs=l.fakeWeakRefs.filter(i=>!i1.cleanup(i,r))}function c1(n){const r=Cn(n);r.fakeWeakRefsStarted||(r.fakeWeakRefsStarted=!0,r.WeakRef=J5(r)),r.fakeWeakRefsTimer||(r.fakeWeakRefsTimer=n().setTimeout(()=>{r.fakeWeakRefsTimer=void 0,u1(n),c1(n)},120*1e3))}function Y5(n){const r=Cn(n);r.fakeWeakRefsStarted=!1,r.fakeWeakRefsTimer&&(n().clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefsTimer=void 0,r.fakeWeakRefs=[])}function s1(n,r,l){if(r.nodeType!==Node.ELEMENT_NODE)return;const i=gs?l:{acceptNode:l};return I.createTreeWalker(n,r,NodeFilter.SHOW_ELEMENT,i,!1)}function Q5(n){n.__shouldIgnoreFocus=!0}function f1(n){return!!n.__shouldIgnoreFocus}function K5(n){const r=new Uint32Array(4);if(n.crypto&&n.crypto.getRandomValues)n.crypto.getRandomValues(r);else if(n.msCrypto&&n.msCrypto.getRandomValues)n.msCrypto.getRandomValues(r);else for(let i=0;i<r.length;i++)r[i]=4294967295*Math.random();const l=[];for(let i=0;i<r.length;i++)l.push(r[i].toString(36));return l.push("|"),l.push((++P5).toString(36)),l.push("|"),l.push(Date.now().toString(36)),l.join("")}function W5(n,r){const l=Cn(n);let i=r.__tabsterElementUID;return i||(i=r.__tabsterElementUID=K5(n())),!l.elementByUId[i]&&Cs(r.ownerDocument,r)&&(l.elementByUId[i]=new oo(n,r)),i}function _h(n,r){const l=Cn(n);for(const i of Object.keys(l.elementByUId)){const s=l.elementByUId[i],f=s&&s.get();f&&r&&!I.nodeContains(r,f)||delete l.elementByUId[i]}}function Cs(n,r){return I.nodeContains(n==null?void 0:n.body,r)}function I5(n,r){const l=n.matches||n.matchesSelector||n.msMatchesSelector||n.webkitMatchesSelector;return l&&l.call(n,r)}function J5(n){return n.basics.WeakRef}let $5=0;class Ns{constructor(r,l,i){const s=r.getWindow;this._tabster=r,this._element=new oo(s,l),this._props={...i},this.id="i"+ ++$5}getElement(){return this._element.get()}getProps(){return this._props}setProps(r){this._props={...r}}}class fi{constructor(r,l,i,s,f){var v;this._focusIn=y=>{if(this._fixedTarget){const x=this._fixedTarget.get();x&&jn(x);return}const p=this.input;if(this.onFocusIn&&p){const x=y.relatedTarget;this.onFocusIn(this,this._isBackward(!0,p,x),x)}},this._focusOut=y=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const p=this.input;if(this.onFocusOut&&p){const x=y.relatedTarget;this.onFocusOut(this,this._isBackward(!1,p,x),x)}};const m=r(),g=m.document.createElement("i");g.tabIndex=0,g.setAttribute("role","none"),g.setAttribute(r5,""),g.setAttribute("aria-hidden","true");const h=g.style;h.position="fixed",h.width=h.height="1px",h.opacity="0.001",h.zIndex="-1",h.setProperty("content-visibility","hidden"),Q5(g),this.input=g,this.isFirst=i.isFirst,this.isOutside=l,this._isPhantom=(v=i.isPhantom)!==null&&v!==void 0?v:!1,this._fixedTarget=f,g.addEventListener("focusin",this._focusIn),g.addEventListener("focusout",this._focusOut),g.__tabsterDummyContainer=s,this._isPhantom&&(this._disposeTimer=m.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(m.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var r;this._clearDisposeTimeout&&this._clearDisposeTimeout();const l=this.input;l&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,l.removeEventListener("focusin",this._focusIn),l.removeEventListener("focusout",this._focusOut),delete l.__tabsterDummyContainer,(r=I.getParentNode(l))===null||r===void 0||r.removeChild(l))}setTopLeft(r,l){var i;const s=(i=this.input)===null||i===void 0?void 0:i.style;s&&(s.top=`${r}px`,s.left=`${l}px`)}_isBackward(r,l,i){return r&&!i?!this.isFirst:!!(i&&l.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING)}}const d1={Root:1,Modalizer:2};class di{constructor(r,l,i,s,f,v){this._element=l,this._instance=new tx(r,l,this,i,s,f,v)}_setHandlers(r,l){this._onFocusIn=r,this._onFocusOut=l}moveOut(r){var l;(l=this._instance)===null||l===void 0||l.moveOut(r)}moveOutWithDefaultAction(r,l){var i;(i=this._instance)===null||i===void 0||i.moveOutWithDefaultAction(r,l)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var l;(l=this._instance)===null||l===void 0||l.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,l,i,s,f){const m=new fi(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(m){let g,h;if(l.tagName==="BODY")g=l,h=i&&s||!i&&!s?I.getFirstElementChild(l):null;else{i&&(!s||s&&!r.focusable.isFocusable(l,!1,!0,!0))?(g=l,h=s?l.firstElementChild:null):(g=I.getParentElement(l),h=i&&s||!i&&!s?l:I.getNextElementSibling(l));let y,p;do y=i&&s||!i&&!s?I.getPreviousElementSibling(h):h,p=Ds(y),p===l?h=i&&s||!i&&!s?y:I.getNextElementSibling(y):p=null;while(p)}g!=null&&g.dispatchEvent(new kr({by:"root",owner:g,next:null,relatedEvent:f}))&&(I.insertBefore(g,m,h),jn(m))}}static addPhantomDummyWithTarget(r,l,i,s){const v=new fi(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new oo(r.getWindow,s)).input;if(v){let m,g;V5(l)&&!i?(m=l,g=I.getFirstElementChild(l)):(m=I.getParentElement(l),g=i?l:I.getNextElementSibling(l)),m&&I.insertBefore(m,v,g)}}}class ex{constructor(r){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=l=>{var i;this._changedParents.has(l)||(this._changedParents.add(l),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(i=this._win)===null||i===void 0?void 0:i.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const s of this._dummyElements){const f=s.get();if(f){const v=this._dummyCallbacks.get(f);if(v){const m=I.getParentNode(f);(!m||this._changedParents.has(m))&&v()}}}this._changedParents=new WeakSet},es)))},this._win=r}add(r,l){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new oo(this._win,r)),this._dummyCallbacks.set(r,l),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(l=>{const i=l.get();return i&&i!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var r;const l=(r=this._win)===null||r===void 0?void 0:r.call(this);this._updateTimer&&(l==null||l.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(l==null||l.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(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)===null||r===void 0?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+es<=Date.now()){const l=new Map,i=[];for(const s of this._updateQueue)i.push(s(l));this._updateQueue.clear();for(const s of i)s();l.clear()}else this._scheduledUpdatePositions()},es))}}class tx{constructor(r,l,i,s,f,v,m){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(_,z,k)=>{this._onFocus(!0,_,z,k)},this._onFocusOut=(_,z,k)=>{this._onFocus(!1,_,z,k)},this.moveOut=_=>{var z;const k=this._firstDummy,O=this._lastDummy;if(k&&O){this._ensurePosition();const D=k.input,U=O.input,R=(z=this._element)===null||z===void 0?void 0:z.get();if(D&&U&&R){let V;_?(D.tabIndex=0,V=D):(U.tabIndex=0,V=U),V&&jn(V)}}},this.moveOutWithDefaultAction=(_,z)=>{var k;const O=this._firstDummy,D=this._lastDummy;if(O&&D){this._ensurePosition();const U=O.input,R=D.input,V=(k=this._element)===null||k===void 0?void 0:k.get();if(U&&R&&V){let X;_?!O.isOutside&&this._tabster.focusable.isFocusable(V,!0,!0,!0)?X=V:(O.useDefaultAction=!0,U.tabIndex=0,X=U):(D.useDefaultAction=!0,R.tabIndex=0,X=R),X&&V.dispatchEvent(new kr({by:"root",owner:V,next:null,relatedEvent:z}))&&jn(X)}}},this.setTabbable=(_,z)=>{var k,O;for(const U of this._wrappers)if(U.manager===_){U.tabbable=z;break}const D=this._getCurrent();if(D){const U=D.tabbable?0:-1;let R=(k=this._firstDummy)===null||k===void 0?void 0:k.input;R&&(R.tabIndex=U),R=(O=this._lastDummy)===null||O===void 0?void 0:O.input,R&&(R.tabIndex=U)}},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=_=>{var z,k;const O=((z=this._firstDummy)===null||z===void 0?void 0:z.input)||((k=this._lastDummy)===null||k===void 0?void 0:k.input),D=this._transformElements,U=new Set;let R=0,V=0;const X=this._getWindow();for(let Y=O;Y&&Y.nodeType===Node.ELEMENT_NODE;Y=I.getParentElement(Y)){let G=_.get(Y);if(G===void 0){const le=X.getComputedStyle(Y).transform;le&&le!=="none"&&(G={scrollTop:Y.scrollTop,scrollLeft:Y.scrollLeft}),_.set(Y,G||null)}G&&(U.add(Y),D.has(Y)||Y.addEventListener("scroll",this._addTransformOffsets),R+=G.scrollTop,V+=G.scrollLeft)}for(const Y of D)U.has(Y)||Y.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=U,()=>{var Y,G;(Y=this._firstDummy)===null||Y===void 0||Y.setTopLeft(R,V),(G=this._lastDummy)===null||G===void 0||G.setTopLeft(R,V)}};const g=l.get();if(!g)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=m;const h=g.__tabsterDummy;if((h||this)._wrappers.push({manager:i,priority:s,tabbable:!0}),h)return h;g.__tabsterDummy=this;const y=f==null?void 0:f.dummyInputsPosition,p=g.tagName;this._isOutside=y?y===l5.Outside:(v||p==="UL"||p==="OL"||p==="TABLE")&&!(p==="LI"||p==="TD"||p==="TH"),this._firstDummy=new fi(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new fi(this._getWindow,this._isOutside,{isFirst:!1},l);const x=this._firstDummy.input;x&&r._dummyObserver.add(x,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=l,this._addDummyInputs()}dispose(r,l){var i,s,f,v;if((this._wrappers=this._wrappers.filter(g=>g.manager!==r&&!l)).length===0){delete((i=this._element)===null||i===void 0?void 0:i.get()).__tabsterDummy;for(const y of this._transformElements)y.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const g=this._getWindow();this._addTimer&&(g.clearTimeout(this._addTimer),delete this._addTimer);const h=(s=this._firstDummy)===null||s===void 0?void 0:s.input;h&&this._tabster._dummyObserver.remove(h),(f=this._firstDummy)===null||f===void 0||f.dispose(),(v=this._lastDummy)===null||v===void 0||v.dispose()}}_onFocus(r,l,i,s){var f;const v=this._getCurrent();v&&(!l.useDefaultAction||this._callForDefaultAction)&&((f=v.manager.getHandler(r))===null||f===void 0||f(l,i,s))}_getCurrent(){return this._wrappers.sort((r,l)=>r.tabbable!==l.tabbable?r.tabbable?-1:1:r.priority-l.priority),this._wrappers[0]}_ensurePosition(){var r,l,i;const s=(r=this._element)===null||r===void 0?void 0:r.get(),f=(l=this._firstDummy)===null||l===void 0?void 0:l.input,v=(i=this._lastDummy)===null||i===void 0?void 0:i.input;if(!(!s||!f||!v))if(this._isOutside){const m=I.getParentNode(s);if(m){const g=I.getNextSibling(s);g!==v&&I.insertBefore(m,v,g),I.getPreviousElementSibling(s)!==f&&I.insertBefore(m,f,s)}}else{I.getLastElementChild(s)!==v&&I.appendChild(s,v);const m=I.getFirstElementChild(s);m&&m!==f&&m.parentNode&&I.insertBefore(m.parentNode,f,m)}}}function v1(n){let r=null;for(let l=I.getLastElementChild(n);l;l=I.getLastElementChild(l))r=l;return r||void 0}function ts(n,r,l,i){const s=n.storageEntry(r,!0);let f=!1;if(!s.aug){if(i===void 0)return f;s.aug={}}if(i===void 0){if(l in s.aug){const v=s.aug[l];delete s.aug[l],v===null?r.removeAttribute(l):r.setAttribute(l,v),f=!0}}else{let v;l in s.aug||(v=r.getAttribute(l)),v!==void 0&&v!==i&&(s.aug[l]=v,i===null?r.removeAttribute(l):r.setAttribute(l,i),f=!0)}return i===void 0&&Object.keys(s.aug).length===0&&(delete s.aug,n.storageEntry(r,!1)),f}function ox(n){var r,l;const i=n.ownerDocument,s=(r=i.defaultView)===null||r===void 0?void 0:r.getComputedStyle(n);return n.offsetParent===null&&i.body!==n&&(s==null?void 0:s.position)!=="fixed"||(s==null?void 0:s.visibility)==="hidden"||(s==null?void 0:s.position)==="fixed"&&(s.display==="none"||((l=n.parentElement)===null||l===void 0?void 0:l.offsetParent)===null&&i.body!==n.parentElement)}function bs(n){return n.tagName==="INPUT"&&!!n.name&&n.type==="radio"}function nx(n){if(!bs(n))return;const r=n.name;let l=Array.from(I.getElementsByName(n,r)),i;return l=l.filter(s=>bs(s)?(s.checked&&(i=s),!0):!1),{name:r,buttons:new Set(l),checked:i}}function Ds(n){var r;return((r=n==null?void 0:n.__tabsterDummyContainer)===null||r===void 0?void 0:r.get())||null}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/function h1(n,r){return JSON.stringify(n)}function ax(n,r){for(const l of Object.keys(r)){const i=r[l];i?n[l]=i:delete n[l]}}function rx(n,r,l){let i;{const s=n.getAttribute(nn);if(s)try{i=JSON.parse(s)}catch{}}i||(i={}),ax(i,r),Object.keys(i).length>0?n.setAttribute(nn,h1(i)):n.removeAttribute(nn)}class wh extends di{constructor(r,l,i,s){super(r,l,d1.Root,s,void 0,!0),this._onDummyInputFocus=f=>{var v;if(f.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const m=this._element.get();if(m){this._setFocused(!0);const g=this._tabster.focusedElement.getFirstOrLastTabbable(f.isFirst,{container:m,ignoreAccessibility:!0});if(g){jn(g);return}}(v=f.input)===null||v===void 0||v.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=r,this._setFocused=i}}class lx extends Ns{constructor(r,l,i,s,f){super(r,l,s),this._isFocused=!1,this._setFocused=h=>{var y;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===h)return;const p=this._element.get();p&&(h?(this._isFocused=!0,(y=this._dummyManager)===null||y===void 0||y.setTabbable(!1),p.dispatchEvent(new y5({element:p}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var x;delete this._setFocusedTimer,this._isFocused=!1,(x=this._dummyManager)===null||x===void 0||x.setTabbable(!0),p.dispatchEvent(new x5({element:p}))},0))},this._onFocusIn=h=>{const y=this._tabster.getParent,p=this._element.get();let x=h.composedPath()[0];do{if(x===p){this._setFocused(!0);return}x=x&&y(x)}while(x)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=i;const v=r.getWindow;this.uid=W5(v,l),this._sys=f,(r.controlTab||r.rootDummyInputs)&&this.addDummyInputs();const g=v().document;g.addEventListener(jo,this._onFocusIn),g.addEventListener(Tr,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new wh(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var r;this._onDispose(this);const l=this._tabster.getWindow(),i=l.document;i.removeEventListener(jo,this._onFocusIn),i.removeEventListener(Tr,this._onFocusOut),this._setFocusedTimer&&(l.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(r=this._dummyManager)===null||r===void 0||r.dispose(),this._remove()}moveOutWithDefaultAction(r,l){const i=this._dummyManager;if(i)i.moveOutWithDefaultAction(r,l);else{const s=this.getElement();s&&wh.moveWithPhantomDummy(this._tabster,s,!0,r,l)}}_add(){}_remove(){}}class We{constructor(r,l){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var i;const s=this._win().document,f=s.body;if(f){this._autoRootUnwait(s);const v=this._autoRoot;if(v)return rx(f,{root:v}),l1(this._tabster,f),(i=Wt(this._tabster,f))===null||i===void 0?void 0:i.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,s.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=i=>{delete this._roots[i.id]},this._tabster=r,this._win=r.getWindow,this._autoRoot=l,r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(l=>{this._roots[l]&&(this._roots[l].dispose(),delete this._roots[l])}),this.rootById={}}createRoot(r,l,i){const s=new lx(this._tabster,r,this._onRootDispose,l,i);return this._roots[s.id]=s,this._forceDummy&&s.addDummyInputs(),s}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const l of Object.keys(r))r[l].addDummyInputs()}static getRootByUId(r,l){const i=r().__tabsterInstance;return i&&i.root.rootById[l]}static getTabsterContext(r,l,i={}){var s,f,v,m;if(!l.ownerDocument)return;const{checkRtl:g,referenceElement:h}=i,y=r.getParent;r.drainInitQueue();let p,x,_,z,k=!1,O,D,U,R,V=h||l;const X={};for(;V&&(!p||g);){const G=Wt(r,V);if(g&&U===void 0){const W=V.dir;W&&(U=W.toLowerCase()==="rtl")}if(!G){V=y(V);continue}const le=V.tagName;(G.uncontrolled||le==="IFRAME"||le==="WEBVIEW")&&r.focusable.isVisible(V)&&(R=V),!z&&(!((s=G.focusable)===null||s===void 0)&&s.excludeFromMover)&&!_&&(k=!0);const Xe=G.modalizer,Ue=G.groupper,et=G.mover;!x&&Xe&&(x=Xe),!_&&Ue&&(!x||Xe)&&(x?(!Ue.isActive()&&Ue.getProps().tabbability&&x.userId!==((f=r.modalizer)===null||f===void 0?void 0:f.activeId)&&(x=void 0,_=Ue),D=Ue):_=Ue),!z&&et&&(!x||Xe)&&(!Ue||V!==l)&&V.contains(l)&&(z=et,O=!!_&&_!==Ue),G.root&&(p=G.root),!((v=G.focusable)===null||v===void 0)&&v.ignoreKeydown&&Object.assign(X,G.focusable.ignoreKeydown),V=y(V)}if(!p){const G=r.root;G._autoRoot&&!((m=l.ownerDocument)===null||m===void 0)&&m.body&&(p=G._autoRootCreate())}return _&&!z&&(O=!0),p?{root:p,modalizer:x,groupper:_,mover:z,groupperBeforeMover:O,modalizerInGroupper:D,rtl:g?!!U:void 0,uncontrolled:R,excludedFromMover:k,ignoreKeydown:G=>!!X[G.key]}:void 0}static getRoot(r,l){var i;const s=r.getParent;for(let f=l;f;f=s(f)){const v=(i=Wt(r,f))===null||i===void 0?void 0:i.root;if(v)return v}}onRoot(r,l){l?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/class m1{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(r){const l=this._callbacks;l.indexOf(r)<0&&l.push(r)}subscribeFirst(r){const l=this._callbacks,i=l.indexOf(r);i>=0&&l.splice(i,1),l.unshift(r)}unsubscribe(r){const l=this._callbacks.indexOf(r);l>=0&&this._callbacks.splice(l,1)}setVal(r,l){this._val!==r&&(this._val=r,this._callCallbacks(r,l))}getVal(){return this._val}trigger(r,l){this._callCallbacks(r,l)}_callCallbacks(r,l){this._callbacks.forEach(i=>i(r,l))}}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/class ix{constructor(r){this._tabster=r}dispose(){}getProps(r){const l=Wt(this._tabster,r);return l&&l.focusable||{}}isFocusable(r,l,i,s){return I5(r,r1)&&(l||r.tabIndex!==-1)?(i||this.isVisible(r))&&(s||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||ox(r))return!1;const l=r.ownerDocument.body.getBoundingClientRect();return!(l.width===0&&l.height===0)}isAccessible(r){var l;for(let i=r;i;i=I.getParentElement(i)){const s=Wt(this._tabster,i);if(this._isHidden(i)||!((l=s==null?void 0:s.focusable)===null||l===void 0?void 0:l.ignoreAriaDisabled)&&this._isDisabled(i))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var l;const i=r.getAttribute("aria-hidden");return!!(i&&i.toLowerCase()==="true"&&!(!((l=this._tabster.modalizer)===null||l===void 0)&&l.isAugmented(r)))}findFirst(r,l){return this.findElement({...r},l)}findLast(r,l){return this.findElement({isBackward:!0,...r},l)}findNext(r,l){return this.findElement({...r},l)}findPrev(r,l){return this.findElement({...r,isBackward:!0},l)}findDefault(r,l){return this.findElement({...r,acceptCondition:i=>this.isFocusable(i,r.includeProgrammaticallyFocusable)&&!!this.getProps(i).isDefault},l)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,l){const i=this._findElements(!1,r,l);return i&&i[0]}_findElements(r,l,i){var s,f,v;const{container:m,currentElement:g=null,includeProgrammaticallyFocusable:h,useActiveModalizer:y,ignoreAccessibility:p,modalizerId:x,isBackward:_,onElement:z}=l;i||(i={});const k=[];let{acceptCondition:O}=l;const D=!!O;if(!m)return null;O||(O=X=>this.isFocusable(X,h,!1,p));const U={container:m,modalizerUserId:x===void 0&&y?(s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId:x||((v=(f=We.getTabsterContext(this._tabster,m))===null||f===void 0?void 0:f.modalizer)===null||v===void 0?void 0:v.userId),from:g||m,isBackward:_,isFindAll:r,acceptCondition:O,hasCustomCondition:D,includeProgrammaticallyFocusable:h,ignoreAccessibility:p,cachedGrouppers:{},cachedRadioGroups:{}},R=s1(m.ownerDocument,m,X=>this._acceptElement(X,U));if(!R)return null;const V=X=>{var Y,G;const le=(Y=U.foundElement)!==null&&Y!==void 0?Y:U.foundBackward;return le&&k.push(le),r?le&&(U.found=!1,delete U.foundElement,delete U.foundBackward,delete U.fromCtx,U.from=le,z&&!z(le))?!1:!!(le||X):(le&&i&&(i.uncontrolled=(G=We.getTabsterContext(this._tabster,le))===null||G===void 0?void 0:G.uncontrolled),!!(X&&!le))};if(g||(i.outOfDOMOrder=!0),g&&I.nodeContains(m,g))R.currentNode=g;else if(_){const X=v1(m);if(!X)return null;if(this._acceptElement(X,U)===NodeFilter.FILTER_ACCEPT&&!V(!0))return U.skippedFocusable&&(i.outOfDOMOrder=!0),k;R.currentNode=X}do _?R.previousNode():R.nextNode();while(V());return U.skippedFocusable&&(i.outOfDOMOrder=!0),k.length?k:null}_acceptElement(r,l){var i,s,f;if(l.found)return NodeFilter.FILTER_ACCEPT;const v=l.foundBackward;if(v&&(r===v||!I.nodeContains(v,r)))return l.found=!0,l.foundElement=v,NodeFilter.FILTER_ACCEPT;const m=l.container;if(r===m)return NodeFilter.FILTER_SKIP;if(!I.nodeContains(m,r)||Ds(r)||I.nodeContains(l.rejectElementsFrom,r))return NodeFilter.FILTER_REJECT;const g=l.currentCtx=We.getTabsterContext(this._tabster,r);if(!g)return NodeFilter.FILTER_SKIP;if(f1(r))return this.isFocusable(r,void 0,!0,!0)&&(l.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!l.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return this.isVisible(r)&&((i=g.modalizer)===null||i===void 0?void 0:i.userId)===((s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId)?(l.found=!0,l.rejectElementsFrom=l.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!l.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(l.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let h,y=l.fromCtx;y||(y=l.fromCtx=We.getTabsterContext(this._tabster,l.from));const p=y==null?void 0:y.mover;let x=g.groupper,_=g.mover;if(h=(f=this._tabster.modalizer)===null||f===void 0?void 0:f.acceptElement(r,l),h!==void 0&&(l.skippedFocusable=!0),h===void 0&&(x||_||p)){const z=x==null?void 0:x.getElement(),k=p==null?void 0:p.getElement();let O=_==null?void 0:_.getElement();if(O&&I.nodeContains(k,O)&&I.nodeContains(m,k)&&(!z||!_||I.nodeContains(k,z))&&(_=p,O=k),z){if(z===m||!I.nodeContains(m,z))x=void 0;else if(!I.nodeContains(z,r))return NodeFilter.FILTER_REJECT}if(O){if(!I.nodeContains(m,O))_=void 0;else if(!I.nodeContains(O,r))return NodeFilter.FILTER_REJECT}x&&_&&(O&&z&&!I.nodeContains(z,O)?_=void 0:x=void 0),x&&(h=x.acceptElement(r,l)),_&&(h=_.acceptElement(r,l))}if(h===void 0&&(h=l.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,h===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(l.skippedFocusable=!0)),h===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&&bs(r)&&!r.checked){const z=r.name;let k=l.cachedRadioGroups[z];if(k||(k=nx(r),k&&(l.cachedRadioGroups[z]=k)),k!=null&&k.checked&&k.checked!==r)return NodeFilter.FILTER_SKIP}l.isBackward?(l.foundBackward=r,h=NodeFilter.FILTER_SKIP):(l.found=!0,l.foundElement=r)}return h}}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/const g1={Tab:"Tab",Escape:"Escape"};/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/function ux(n,r){var l;const i=n.getParent;let s=r;do{const f=(l=Wt(n,s))===null||l===void 0?void 0:l.uncontrolled;if(f&&n.uncontrolled.isUncontrolledCompletely(s,!!f.completely))return s;s=i(s)}while(s)}const zh={[ba.Restorer]:0,[ba.Deloser]:1,[ba.EscapeGroupper]:2};class $e extends m1{constructor(r,l){super(),this._init=()=>{const i=this._win(),s=i.document;s.addEventListener(jo,this._onFocusIn,!0),s.addEventListener(Tr,this._onFocusOut,!0),i.addEventListener("keydown",this._onKeyDown,!0);const f=I.getActiveElement(s);f&&f!==s.body&&this._setFocusedElement(f),this.subscribe(this._onChanged)},this._onFocusIn=i=>{const s=i.composedPath()[0];s&&this._setFocusedElement(s,i.detail.relatedTarget,i.detail.isFocusedProgrammatically)},this._onFocusOut=i=>{var s;this._setFocusedElement(void 0,(s=i.detail)===null||s===void 0?void 0:s.originalEvent.relatedTarget)},this._validateFocusedElement=i=>{},this._onKeyDown=i=>{if(i.key!==g1.Tab||i.ctrlKey)return;const s=this.getVal();if(!s||!s.ownerDocument||s.contentEditable==="true")return;const f=this._tabster,v=f.controlTab,m=We.getTabsterContext(f,s);if(!m||m.ignoreKeydown(i))return;const g=i.shiftKey,h=$e.findNextTabbable(f,m,void 0,s,void 0,g,!0),y=m.root.getElement();if(!y)return;const p=h==null?void 0:h.element,x=ux(f,s);if(p){const _=h.uncontrolled;if(m.uncontrolled||I.nodeContains(_,s)){if(!h.outOfDOMOrder&&_===m.uncontrolled||x&&!I.nodeContains(x,p))return;di.addPhantomDummyWithTarget(f,s,g,p);return}if(_&&f.focusable.isVisible(_)||p.tagName==="IFRAME"&&f.focusable.isVisible(p)){y.dispatchEvent(new kr({by:"root",owner:y,next:p,relatedEvent:i}))&&di.moveWithPhantomDummy(f,_??p,!1,g,i);return}(v||h!=null&&h.outOfDOMOrder)&&y.dispatchEvent(new kr({by:"root",owner:y,next:p,relatedEvent:i}))&&(i.preventDefault(),i.stopImmediatePropagation(),jn(p))}else!x&&y.dispatchEvent(new kr({by:"root",owner:y,next:null,relatedEvent:i}))&&m.root.moveOutWithDefaultAction(g,i)},this._onChanged=(i,s)=>{var f,v;if(i)i.dispatchEvent(new m5(s));else{const m=(f=this._lastVal)===null||f===void 0?void 0:f.get();if(m){const g={...s},h=We.getTabsterContext(this._tabster,m),y=(v=h==null?void 0:h.modalizer)===null||v===void 0?void 0:v.userId;y&&(g.modalizerId=y),m.dispatchEvent(new g5(g))}}},this._tabster=r,this._win=l,r.queueInit(this._init)}dispose(){super.dispose();const r=this._win(),l=r.document;l.removeEventListener(jo,this._onFocusIn,!0),l.removeEventListener(Tr,this._onFocusOut,!0),r.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const i=this._asyncFocus;i&&(r.clearTimeout(i.timeout),delete this._asyncFocus),delete $e._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(r,l){var i,s;let f=$e._lastResetElement,v=f&&f.get();v&&I.nodeContains(l,v)&&delete $e._lastResetElement,v=(s=(i=r._nextVal)===null||i===void 0?void 0:i.element)===null||s===void 0?void 0:s.get(),v&&I.nodeContains(l,v)&&delete r._nextVal,f=r._lastVal,v=f&&f.get(),v&&I.nodeContains(l,v)&&delete r._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var r;let l=(r=this._lastVal)===null||r===void 0?void 0:r.get();return(!l||l&&!Cs(l.ownerDocument,l))&&(this._lastVal=l=void 0),l}focus(r,l,i,s){return this._tabster.focusable.isFocusable(r,l,!1,i)?(r.focus({preventScroll:s}),!0):!1}focusDefault(r){const l=this._tabster.focusable.findDefault({container:r});return l?(this._tabster.focusedElement.focus(l),!0):!1}getFirstOrLastTabbable(r,l){var i;const{container:s,ignoreAccessibility:f}=l;let v;if(s){const m=We.getTabsterContext(this._tabster,s);m&&(v=(i=$e.findNextTabbable(this._tabster,m,s,void 0,void 0,!r,f))===null||i===void 0?void 0:i.element)}return v&&!I.nodeContains(s,v)&&(v=void 0),v||void 0}_focusFirstOrLast(r,l){const i=this.getFirstOrLastTabbable(r,l);return i?(this.focus(i,!1,!0),!0):!1}focusFirst(r){return this._focusFirstOrLast(!0,r)}focusLast(r){return this._focusFirstOrLast(!1,r)}resetFocus(r){if(!this._tabster.focusable.isVisible(r))return!1;if(this._tabster.focusable.isFocusable(r,!0,!0,!0))this.focus(r);else{const l=r.getAttribute("tabindex"),i=r.getAttribute("aria-hidden");r.tabIndex=-1,r.setAttribute("aria-hidden","true"),$e._lastResetElement=new oo(this._win,r),this.focus(r,!0,!0),this._setOrRemoveAttribute(r,"tabindex",l),this._setOrRemoveAttribute(r,"aria-hidden",i)}return!0}requestAsyncFocus(r,l,i){const s=this._tabster.getWindow(),f=this._asyncFocus;if(f){if(zh[r]>zh[f.source])return;s.clearTimeout(f.timeout)}this._asyncFocus={source:r,callback:l,timeout:s.setTimeout(()=>{this._asyncFocus=void 0,l()},i)}}cancelAsyncFocus(r){const l=this._asyncFocus;(l==null?void 0:l.source)===r&&(this._tabster.getWindow().clearTimeout(l.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(r,l,i){i===null?r.removeAttribute(l):r.setAttribute(l,i)}_setFocusedElement(r,l,i){var s,f;if(this._tabster._noop)return;const v={relatedTarget:l};if(r){const g=(s=$e._lastResetElement)===null||s===void 0?void 0:s.get();if($e._lastResetElement=void 0,g===r||f1(r))return;v.isFocusedProgrammatically=i;const h=We.getTabsterContext(this._tabster,r),y=(f=h==null?void 0:h.modalizer)===null||f===void 0?void 0:f.userId;y&&(v.modalizerId=y)}const m=this._nextVal={element:r?new oo(this._win,r):void 0,detail:v};r&&r!==this._val&&this._validateFocusedElement(r),this._nextVal===m&&this.setVal(r,v),this._nextVal=void 0}setVal(r,l){super.setVal(r,l),r&&(this._lastVal=new oo(this._win,r))}static findNextTabbable(r,l,i,s,f,v,m){const g=i||l.root.getElement();if(!g)return null;let h=null;const y=$e._isTabbingTimer,p=r.getWindow();y&&p.clearTimeout(y),$e.isTabbing=!0,$e._isTabbingTimer=p.setTimeout(()=>{delete $e._isTabbingTimer,$e.isTabbing=!1},0);const x=l.modalizer,_=l.groupper,z=l.mover,k=O=>{if(h=O.findNextTabbable(s,f,v,m),s&&!(h!=null&&h.element)){const D=O!==x&&I.getParentElement(O.getElement());if(D){const U=We.getTabsterContext(r,s,{referenceElement:D});if(U){const R=O.getElement(),V=v?R:R&&v1(R)||R;V&&(h=$e.findNextTabbable(r,U,i,V,D,v,m),h&&(h.outOfDOMOrder=!0))}}}};if(_&&z)k(l.groupperBeforeMover?_:z);else if(_)k(_);else if(z)k(z);else if(x)k(x);else{const O={container:g,currentElement:s,referenceElement:f,ignoreAccessibility:m,useActiveModalizer:!0},D={};h={element:r.focusable[v?"findPrev":"findNext"](O,D),outOfDOMOrder:D.outOfDOMOrder,uncontrolled:D.uncontrolled}}return h}}$e.isTabbing=!1;/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/class cx extends m1{constructor(r){super(),this._onChange=l=>{this.setVal(l,void 0)},this._keyborg=n1(r()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),a1(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(r){var l;(l=this._keyborg)===null||l===void 0||l.setVal(r)}isNavigatingWithKeyboard(){var r;return!!(!((r=this._keyborg)===null||r===void 0)&&r.isNavigatingWithKeyboard())}}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/let sx=0;const os="aria-hidden";class fx extends di{constructor(r,l,i){super(l,r,d1.Modalizer,i),this._setHandlers((s,f)=>{var v,m;const g=r.get(),h=g&&((v=We.getRoot(l,g))===null||v===void 0?void 0:v.getElement()),y=s.input;let p;if(h&&y){const x=Ds(y),_=We.getTabsterContext(l,x||y);_&&(p=(m=$e.findNextTabbable(l,_,h,y,void 0,f,!0))===null||m===void 0?void 0:m.element),p&&jn(p)}})}}class dx extends Ns{constructor(r,l,i,s,f,v){super(r,l,s),this._wasFocused=0,this.userId=s.id,this._onDispose=i,this._activeElements=v,r.controlTab||(this.dummyManager=new fx(this._element,r,f))}makeActive(r){if(this._isActive!==r){this._isActive=r;const l=this.getElement();if(l){const i=this._activeElements,s=i.map(f=>f.get()).indexOf(l);r?s<0&&i.push(new oo(this._tabster.getWindow,l)):s>=0&&i.splice(s,1)}this._dispatchEvent(r)}}focused(r){return r||(this._wasFocused=++sx),this._wasFocused}setProps(r){r.id&&(this.userId=r.id),this._props={...r}}dispose(){var r;this.makeActive(!1),this._onDispose(this),(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(r){return I.nodeContains(this.getElement(),r)}findNextTabbable(r,l,i,s){var f,v;if(!this.getElement())return null;const g=this._tabster;let h=null,y=!1,p;const x=r&&((f=We.getRoot(g,r))===null||f===void 0?void 0:f.getElement());if(x){const _={container:x,currentElement:r,referenceElement:l,ignoreAccessibility:s,useActiveModalizer:!0},z={};h=g.focusable[i?"findPrev":"findNext"](_,z),!h&&this._props.isTrapped&&(!((v=g.modalizer)===null||v===void 0)&&v.activeId)?(h=g.focusable[i?"findLast":"findFirst"]({container:x,ignoreAccessibility:s,useActiveModalizer:!0},z),h===null&&(h=r),y=!0):y=!!z.outOfDOMOrder,p=z.uncontrolled}return{element:h,uncontrolled:p,outOfDOMOrder:y}}_dispatchEvent(r,l){const i=this.getElement();let s=!1;if(i){const f=l?this._activeElements.map(v=>v.get()):[i];for(const v of f)if(v){const m={id:this.userId,element:i},g=r?new b5(m):new p5(m);v.dispatchEvent(g),g.defaultPrevented&&(s=!0)}}return s}_remove(){}}class vx{constructor(r,l,i){this._onModalizerDispose=f=>{const v=f.id,m=f.userId,g=this._parts[m];if(delete this._modalizers[v],g&&(delete g[v],Object.keys(g).length===0)){delete this._parts[m];const h=this._activationHistory,y=[];let p;for(let x=h.length;x--;){const _=h[x];_!==m&&_!==p&&(p=_,(_||y.length>0)&&y.unshift(_))}if(this._activationHistory=y,this.activeId===m){const x=y[0],_=x?Object.values(this._parts[x])[0]:void 0;this.setActive(_)}}},this._onKeyDown=f=>{var v;if(f.key!==g1.Escape)return;const m=this._tabster,g=m.focusedElement.getFocusedElement();if(g){const h=We.getTabsterContext(m,g),y=h==null?void 0:h.modalizer;if(h&&!h.groupper&&(y!=null&&y.isActive())&&!h.ignoreKeydown(f)){const p=y.userId;if(p){const x=this._parts[p];if(x){const _=Object.keys(x).map(z=>{var k;const O=x[z],D=O.getElement();let U;return D&&(U=(k=Wt(m,D))===null||k===void 0?void 0:k.groupper),O&&D&&U?{el:D,focusedSince:O.focused(!0)}:{focusedSince:0}}).filter(z=>z.focusedSince>0).sort((z,k)=>z.focusedSince>k.focusedSince?-1:z.focusedSince<k.focusedSince?1:0);if(_.length){const z=_[0].el;z&&((v=m.groupper)===null||v===void 0||v.handleKeyPress(z,f,!0))}}}}}},this._onFocus=(f,v)=>{var m;const g=this._tabster,h=f&&We.getTabsterContext(g,f);if(!h||!f)return;const y=this._augMap;for(let z=f;z;z=I.getParentElement(z))y.has(z)&&(y.delete(z),ts(g,z,os));let p=h.modalizer;const x=Wt(g,f),_=x==null?void 0:x.modalizer;if(_&&(_.focused(),_.userId===this.activeId&&x.groupper)){const z=g.getParent(f),k=z&&((m=We.getTabsterContext(g,z))===null||m===void 0?void 0:m.modalizer);if(k)p=k;else{this.setActive(void 0);return}}if(p==null||p.focused(),(p==null?void 0:p.userId)===this.activeId){this.currentIsOthersAccessible=p==null?void 0:p.getProps().isOthersAccessible;return}if(v.isFocusedProgrammatically||this.currentIsOthersAccessible||p!=null&&p.getProps().isAlwaysAccessible)this.setActive(p);else{const z=this._win();z.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=z.setTimeout(()=>this._restoreModalizerFocus(f),100)}},this._tabster=r,this._win=r.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=l,this._accessibleCheck=i,this._activationHistory=[],this.activeElements=[],r.controlTab||r.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),r.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const r=this._win();r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(l=>{this._modalizers[l]&&(this._modalizers[l].dispose(),delete this._modalizers[l])}),r.clearTimeout(this._restoreModalizerFocusTimer),r.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(r,l,i){var s;const f=new dx(this._tabster,r,this._onModalizerDispose,l,i,this.activeElements),v=f.id,m=l.id;this._modalizers[v]=f;let g=this._parts[m];g||(g=this._parts[m]={}),g[v]=f;const h=(s=this._tabster.focusedElement.getFocusedElement())!==null&&s!==void 0?s:null;return r!==h&&I.nodeContains(r,h)&&(m!==this.activeId?this.setActive(f):f.makeActive(!0)),f}isAugmented(r){return this._augMap.has(r)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(r){const l=r==null?void 0:r.userId,i=this.activeId;if(i===l)return;if(this.activeId=l,i){const f=this._parts[i];if(f)for(const v of Object.keys(f))f[v].makeActive(!1)}if(l){const f=this._parts[l];if(f)for(const v of Object.keys(f))f[v].makeActive(!0)}this.currentIsOthersAccessible=r==null?void 0:r.getProps().isOthersAccessible,this.hiddenUpdate();const s=this._activationHistory;s[0]!==l&&(l!==void 0||s.length>0)&&s.unshift(l)}focus(r,l,i){const s=this._tabster,f=We.getTabsterContext(s,r),v=f==null?void 0:f.modalizer;if(v){this.setActive(v);const m=v.getProps(),g=v.getElement();if(g){if(l===void 0&&(l=m.isNoFocusFirst),!l&&s.keyboardNavigation.isNavigatingWithKeyboard()&&s.focusedElement.focusFirst({container:g})||(i===void 0&&(i=m.isNoFocusDefault),!i&&s.focusedElement.focusDefault(g)))return!0;s.focusedElement.resetFocus(g)}}return!1}activate(r){var l;const i=r?(l=We.getTabsterContext(this._tabster,r))===null||l===void 0?void 0:l.modalizer:void 0;return!r||i?(this.setActive(i),!0):!1}acceptElement(r,l){var i;const s=l.modalizerUserId,f=(i=l.currentCtx)===null||i===void 0?void 0:i.modalizer;if(s)for(const m of this.activeElements){const g=m.get();if(g&&(I.nodeContains(r,g)||g===r))return NodeFilter.FILTER_SKIP}const v=s===(f==null?void 0:f.userId)||!s&&(f!=null&&f.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return v!==void 0&&(l.skippedFocusable=!0),v}_hiddenUpdate(){var r;const l=this._tabster,i=l.getWindow().document.body,s=this.activeId,f=this._parts,v=[],m=[],g=this._alwaysAccessibleSelector,h=g?Array.from(I.querySelectorAll(i,g)):[],y=[];for(const D of Object.keys(f)){const U=f[D];for(const R of Object.keys(U)){const V=U[R],X=V.getElement(),G=V.getProps().isAlwaysAccessible;X&&(D===s?(y.push(X),this.currentIsOthersAccessible||v.push(X)):G?h.push(X):m.push(X))}}const p=this._augMap,x=v.length>0?[...v,...h]:void 0,_=[],z=new WeakMap,k=(D,U)=>{var R;const V=D.tagName;if(V==="SCRIPT"||V==="STYLE")return;let X=!1;p.has(D)?U?X=!0:(p.delete(D),ts(l,D,os)):U&&!(!((R=this._accessibleCheck)===null||R===void 0)&&R.call(this,D,y))&&ts(l,D,os,"true")&&(p.set(D,!0),X=!0),X&&(_.push(new oo(l.getWindow,D)),z.set(D,!0))},O=D=>{var U;for(let R=I.getFirstElementChild(D);R;R=I.getNextElementSibling(R)){let V=!1,X=!1,Y=!1;if(x){const G=l.getParent(R);for(const le of x){if(R===le){V=!0;break}if(I.nodeContains(R,le)){X=!0;break}else I.nodeContains(le,G)&&(Y=!0)}X||!((U=R.__tabsterElementFlags)===null||U===void 0)&&U.noDirectAriaHidden?O(R):!V&&!Y&&k(R,!0)}else k(R,!1)}};x||h.forEach(D=>k(D,!1)),m.forEach(D=>k(D,!0)),i&&O(i),(r=this._aug)===null||r===void 0||r.map(D=>D.get()).forEach(D=>{D&&!z.get(D)&&k(D,!1)}),this._aug=_,this._augMap=z}_restoreModalizerFocus(r){var l;const i=r==null?void 0:r.ownerDocument;if(!r||!i)return;const s=this._tabster.focusedElement.getFocusedElement(),f=s&&((l=We.getTabsterContext(this._tabster,s))===null||l===void 0?void 0:l.modalizer);if(!s||s&&(f==null?void 0:f.userId)===this.activeId)return;const v=this._tabster,m=We.getTabsterContext(v,r),g=m==null?void 0:m.modalizer,h=this.activeId;if(!g&&!h||g&&h===g.userId)return;const y=m==null?void 0:m.root.getElement();if(y){let p=v.focusable.findFirst({container:y,useActiveModalizer:!0});if(p){if(r.compareDocumentPosition(p)&document.DOCUMENT_POSITION_PRECEDING&&(p=v.focusable.findLast({container:y,useActiveModalizer:!0}),!p))throw new Error("Something went wrong.");v.focusedElement.focus(p);return}}r.blur()}}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/function hx(n,r,l,i){if(typeof MutationObserver>"u")return()=>{};const s=r.getWindow;let f;const v=y=>{var p,x,_,z,k;const O=new Set;for(const D of y){const U=D.target,R=D.removedNodes,V=D.addedNodes;if(D.type==="attributes")D.attributeName===nn&&(O.has(U)||l(r,U));else{for(let X=0;X<R.length;X++){const Y=R[X];O.add(Y),m(Y,!0),(x=(p=r._dummyObserver).domChanged)===null||x===void 0||x.call(p,U)}for(let X=0;X<V.length;X++)m(V[X]),(z=(_=r._dummyObserver).domChanged)===null||z===void 0||z.call(_,U)}}O.clear(),(k=r.modalizer)===null||k===void 0||k.hiddenUpdate()};function m(y,p){f||(f=Cn(s).elementByUId),g(y,p);const x=s1(n,y,_=>g(_,p));if(x)for(;x.nextNode(););}function g(y,p){var x;if(!y.getAttribute)return NodeFilter.FILTER_SKIP;const _=y.__tabsterElementUID;return _&&f&&(p?delete f[_]:(x=f[_])!==null&&x!==void 0||(f[_]=new oo(s,y))),(Wt(r,y)||y.hasAttribute(nn))&&l(r,y,p),NodeFilter.FILTER_SKIP}const h=I.createMutationObserver(v);return i&&m(s().document.body),h.observe(n,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[nn]}),()=>{h.disconnect()}}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/class mx{constructor(r){this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,l){var i;const s=(i=this._isUncontrolledCompletely)===null||i===void 0?void 0:i.call(this,r,l);return s===void 0?l:s}}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/class gx extends Ns{constructor(r,l,i){var s;if(super(r,l,i),this._hasFocus=!1,this._onFocusOut=f=>{var v;const m=(v=this._element)===null||v===void 0?void 0:v.get();m&&f.relatedTarget===null&&m.dispatchEvent(new Sh),m&&!I.nodeContains(m,f.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===za.Source){const f=(s=this._element)===null||s===void 0?void 0:s.get();f==null||f.addEventListener("focusout",this._onFocusOut),f==null||f.addEventListener("focusin",this._onFocusIn),this._hasFocus=I.nodeContains(f,f&&I.getActiveElement(f.ownerDocument))}}dispose(){var r;if(this._props.type===za.Source){const l=(r=this._element)===null||r===void 0?void 0:r.get();l==null||l.removeEventListener("focusout",this._onFocusOut),l==null||l.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new Sh)}}}class xi{constructor(r){this._stack=[],this._getWindow=r}push(r){var l;((l=this._stack[this._stack.length-1])===null||l===void 0?void 0:l.get())!==r&&(this._stack.length>xi.DEPTH&&this._stack.shift(),this._stack.push(new oo(this._getWindow,r)))}pop(r=()=>!0){var l;const i=this._getWindow().document;for(let s=this._stack.length-1;s>=0;s--){const f=(l=this._stack.pop())===null||l===void 0?void 0:l.get();if(f&&I.nodeContains(i.body,I.getParentElement(f))&&r(f))return f}}}xi.DEPTH=10;class bx{constructor(r){this._onRestoreFocus=l=>{var i,s;this._focusedElementState.cancelAsyncFocus(ba.Restorer);const f=l.composedPath()[0];if(f){const v=(s=(i=Wt(this._tabster,f))===null||i===void 0?void 0:i.restorer)===null||s===void 0?void 0:s.getProps().id;this._focusedElementState.requestAsyncFocus(ba.Restorer,()=>this._restoreFocus(f,v),0)}},this._onFocusIn=l=>{var i;if(!l)return;const s=Wt(this._tabster,l);((i=s==null?void 0:s.restorer)===null||i===void 0?void 0:i.getProps().type)===za.Target&&this._history.push(l)},this._restoreFocus=(l,i)=>{var s;const f=this._getWindow().document;if(I.getActiveElement(f)!==f.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&I.nodeContains(f.body,l))return;const v=m=>{var g,h;const y=(h=(g=Wt(this._tabster,m))===null||g===void 0?void 0:g.restorer)===null||h===void 0?void 0:h.getProps();return y?y.id:null};(s=this._history.pop(m=>i===v(m)))===null||s===void 0||s.focus()},this._tabster=r,this._getWindow=r.getWindow,this._getWindow().addEventListener(ms,this._onRestoreFocus),this._history=new xi(this._getWindow),this._keyboardNavState=r.keyboardNavigation,this._focusedElementState=r.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const r=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(ba.Restorer),r.removeEventListener(ms,this._onRestoreFocus)}createRestorer(r,l){const i=new gx(this._tabster,r,l);return l.type===za.Target&&I.getActiveElement(r.ownerDocument)===r&&this._history.push(r),i}}/*!
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/class px{constructor(r){this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class yx{constructor(r,l){var i,s;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.7.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=X5(r),this._win=r;const f=this.getWindow;l!=null&&l.DOMAPI&&G5({...l.DOMAPI}),this.keyboardNavigation=new cx(f),this.focusedElement=new $e(this,f),this.focusable=new ix(this),this.root=new We(this,l==null?void 0:l.autoRoot),this.uncontrolled=new mx((l==null?void 0:l.checkUncontrolledCompletely)||(l==null?void 0:l.checkUncontrolledTrappingFocus)),this.controlTab=(i=l==null?void 0:l.controlTab)!==null&&i!==void 0?i:!0,this.rootDummyInputs=!!(l!=null&&l.rootDummyInputs),this._dummyObserver=new ex(f),this.getParent=(s=l==null?void 0:l.getParent)!==null&&s!==void 0?s:I.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:v=>{if(!this._unobserve){const m=f().document;this._unobserve=hx(m,this,l1,v)}}},c1(f),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){var l;r&&(this.getParent=(l=r.getParent)!==null&&l!==void 0?l:this.getParent)}createTabster(r,l){const i=new px(this);return r||this._wrappers.add(i),this._mergeProps(l),i}disposeTabster(r,l){l?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var r,l,i,s,f,v,m,g;this.internal.stopObserver();const h=this._win;h==null||h.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],h&&this._forgetMemorizedTimer&&(h.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(r=this.outline)===null||r===void 0||r.dispose(),(l=this.crossOrigin)===null||l===void 0||l.dispose(),(i=this.deloser)===null||i===void 0||i.dispose(),(s=this.groupper)===null||s===void 0||s.dispose(),(f=this.mover)===null||f===void 0||f.dispose(),(v=this.modalizer)===null||v===void 0||v.dispose(),(m=this.observedElement)===null||m===void 0||m.dispose(),(g=this.restorer)===null||g===void 0||g.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Y5(this.getWindow),_h(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),h&&(Z5(h),delete h.__tabsterInstance,delete this._win)}storageEntry(r,l){const i=this._storage;let s=i.get(r);return s?l===!1&&Object.keys(s).length===0&&i.delete(r):l===!0&&(s={},i.set(r,s)),s}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())_h(this.getWindow,r),$e.forgetMemorized(this.focusedElement,r)},0),u1(this.getWindow,!0)))}queueInit(r){var l;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(l=this._win)===null||l===void 0?void 0:l.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(l=>l())}}function xx(n,r){let l=zx(n);return l?l.createTabster(!1,r):(l=new yx(n,r),n.__tabsterInstance=l,l.createTabster())}function Sx(n,r,l){const i=n.core;return i.modalizer||(i.modalizer=new vx(i,r,l)),i.modalizer}function _x(n){const r=n.core;return r.restorer||(r.restorer=new bx(r)),r.restorer}function wx(n,r){n.core.disposeTabster(n,r)}function zx(n){return n.__tabsterInstance}const kx=n=>n;function Bx(n){const r=(n==null?void 0:n.defaultView)||void 0,l=r==null?void 0:r.__tabsterShadowDOMAPI;if(r)return xx(r,{autoRoot:{},controlTab:!1,getParent:Y2,checkUncontrolledCompletely:i=>{var s;return((s=i.firstElementChild)===null||s===void 0?void 0:s.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:l})}function Rs(n=kx){const{targetDocument:r}=no(),l=A.useRef(null);return uo(()=>{const i=Bx(r);if(i)return l.current=n(i),()=>{wx(i),l.current=null}},[r,n]),l}const kh=n=>{Rs();const r=h1(n);return A.useMemo(()=>({[nn]:r}),[r])},Tx=()=>{const n=Rs(),{targetDocument:r}=no(),l=A.useCallback((m,g)=>{var h;return m&&((h=n.current)===null||h===void 0?void 0:h.focusable.findAll({container:m,acceptCondition:g}))||[]},[n]),i=A.useCallback(m=>{var g;return m&&((g=n.current)===null||g===void 0?void 0:g.focusable.findFirst({container:m}))},[n]),s=A.useCallback(m=>{var g;return m&&((g=n.current)===null||g===void 0?void 0:g.focusable.findLast({container:m}))},[n]),f=A.useCallback((m,g={})=>{if(!n.current||!r||!m)return null;const{container:h=r.body}=g;return n.current.focusable.findNext({currentElement:m,container:h})},[n,r]),v=A.useCallback((m,g={})=>{if(!n.current||!r||!m)return null;const{container:h=r.body}=g;return n.current.focusable.findPrev({currentElement:m,container:h})},[n,r]);return{findAllFocusable:l,findFirstFocusable:i,findLastFocusable:s,findNextFocusable:f,findPrevFocusable:v}},Bh="data-fui-focus-visible";function Ex(n,r){if(b1(n))return()=>{};const l={current:void 0},i=n1(r);function s(g){i.isNavigatingWithKeyboard()&&hs(g)&&(l.current=g,g.setAttribute(Bh,""))}function f(){l.current&&(l.current.removeAttribute(Bh),l.current=void 0)}i.subscribe(g=>{g?s(r.document.activeElement):f()});const v=g=>{f();const h=g.composedPath()[0];s(h)},m=g=>{(!g.relatedTarget||hs(g.relatedTarget)&&!n.contains(g.relatedTarget))&&f()};return n.addEventListener(jo,v),n.addEventListener("focusout",m),n.focusVisible=!0,n.contains(r.document.activeElement)&&s(r.document.activeElement),()=>{f(),n.removeEventListener(jo,v),n.removeEventListener("focusout",m),n.focusVisible=void 0,a1(i)}}function b1(n){return n?n.focusVisible?!0:b1(n==null?void 0:n.parentElement):!1}function jx(n={}){const r=no(),l=A.useRef(null);var i;const s=(i=n.targetDocument)!==null&&i!==void 0?i:r.targetDocument;return A.useEffect(()=>{if(s!=null&&s.defaultView&&l.current)return Ex(l.current,s.defaultView)},[l,s]),l}const Ax="data-tabster-never-hide",Cx=n=>n.hasAttribute(Ax);function Nx(n){Sx(n,void 0,Cx),_x(n)}const Dx=(n={})=>{const{trapFocus:r,alwaysFocusable:l,legacyTrapFocus:i}=n;Rs(Nx);const s=Er("modal-",n.id),f=kh({restorer:{type:za.Source},...r&&{modalizer:{id:s,isOthersAccessible:!r,isAlwaysAccessible:l,isTrapped:i&&r}}}),v=kh({restorer:{type:za.Target}});return{modalAttributes:f,triggerAttributes:v}},ae={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackground2:"var(--colorBrandBackground2)",colorNeutralStroke2:"var(--colorNeutralStroke2)"};var Th=vm();const Rx=n=>l=>{const i=A.useRef(l.value),s=A.useRef(0),f=A.useRef(null);return f.current||(f.current={value:i,version:s,listeners:[]}),uo(()=>{i.current=l.value,s.current+=1,Th.unstable_runWithPriority(Th.unstable_NormalPriority,()=>{f.current.listeners.forEach(v=>{v([s.current,l.value])})})},[l.value]),A.createElement(n,{value:f.current},l.children)},qx=n=>{const r=A.createContext({value:{current:n},version:{current:-1},listeners:[]});return r.Provider=Rx(r.Provider),delete r.Consumer,r},Mx=(n,r)=>{const l=A.useContext(n),{value:{current:i},version:{current:s},listeners:f}=l,v=r(i),[m,g]=A.useState([i,v]),h=p=>{g(x=>{if(!p)return[i,v];if(p[0]<=s)return Object.is(x[1],v)?x:[i,v];try{if(Object.is(x[0],p[1]))return x;const _=r(p[1]);return Object.is(x[1],_)?x:[p[1],_]}catch{}return[x[0],x[1]]})};Object.is(m[1],v)||h(void 0);const y=gt(h);return uo(()=>(f.push(y),()=>{const p=f.indexOf(y);f.splice(p,1)}),[y,f]),m[1]};function Ox(n){const r=A.useContext(n);return r.version?r.version.current!==-1:!1}const ns="Enter",Il=" ",Hx="Escape";function Fx(n,r){const{disabled:l,disabledFocusable:i=!1,["aria-disabled"]:s,onClick:f,onKeyDown:v,onKeyUp:m,...g}=r??{},h=typeof s=="string"?s==="true":s,y=l||i||h,p=gt(z=>{y?(z.preventDefault(),z.stopPropagation()):f==null||f(z)}),x=gt(z=>{if(v==null||v(z),z.isDefaultPrevented())return;const k=z.key;if(y&&(k===ns||k===Il)){z.preventDefault(),z.stopPropagation();return}if(k===Il){z.preventDefault();return}else k===ns&&(z.preventDefault(),z.currentTarget.click())}),_=gt(z=>{if(m==null||m(z),z.isDefaultPrevented())return;const k=z.key;if(y&&(k===ns||k===Il)){z.preventDefault(),z.stopPropagation();return}k===Il&&(z.preventDefault(),z.currentTarget.click())});if(n==="button"||n===void 0)return{...g,disabled:l&&!i,"aria-disabled":i?!0:h,onClick:i?void 0:p,onKeyUp:i?void 0:m,onKeyDown:i?void 0:v};{const z=!!g.href;let k=z?void 0:"button";!k&&y&&(k="link");const O={role:k,tabIndex:i||!z&&!l?0:void 0,...g,onClick:p,onKeyUp:_,onKeyDown:x,"aria-disabled":y};return n==="a"&&y&&(O.href=void 0),O}}const Ux=ke({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),Lx=(n,r)=>{const{filled:l,title:i,primaryFill:s="currentColor",...f}=n,v={...f,fill:s},m=Ux(),g=J2();return v.className=be(m.root,(r==null?void 0:r.flipInRtl)&&(g==null?void 0:g.textDirection)==="rtl"&&m.rtl,v.className),i&&(v["aria-label"]=i),!v["aria-label"]&&!v["aria-labelledby"]?v["aria-hidden"]=!0:v.role="img",v},Gx=ke({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Px="fui-Icon",re=(n,r,l,i)=>{const s=r==="1em"?"20":r,f=A.forwardRef((v,m)=>{const g=Gx(),h=Lx(v,{flipInRtl:i==null?void 0:i.flipInRtl}),y={...h,className:be(Px,h.className,g.root),ref:m,width:r,height:r,viewBox:`0 0 ${s} ${s}`,xmlns:"http://www.w3.org/2000/svg"};return typeof l=="string"?A.createElement("svg",{...y,dangerouslySetInnerHTML:{__html:l}}):A.createElement("svg",y,...l.map(p=>A.createElement("path",{d:p,fill:y.fill})))});return f.displayName=n,f},Zx=re("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),as=re("Compose24Regular","24",["M13.25 4a.75.75 0 0 1 0 1.5h-7c-.97 0-1.75.78-1.75 1.75v10.5c0 .97.78 1.75 1.75 1.75h10.5c.97 0 1.75-.78 1.75-1.75v-7a.75.75 0 0 1 1.5 0v7c0 1.8-1.46 3.25-3.25 3.25H6.25A3.25 3.25 0 0 1 3 17.75V7.25C3 5.45 4.46 4 6.25 4h7Zm6.47-.78a.75.75 0 1 1 1.06 1.06L10.59 14.47 9 15l.53-1.6L19.72 3.23Z"]),Xx=re("Mail24Filled","24",["M22 8.6v8.15a3.25 3.25 0 0 1-3.07 3.24l-.18.01H5.25a3.25 3.25 0 0 1-3.24-3.07L2 16.75V8.61l9.65 5.05c.22.12.48.12.7 0L22 8.61ZM5.25 4h13.5a3.25 3.25 0 0 1 3.23 2.92L12 12.15 2.02 6.92a3.25 3.25 0 0 1 3.04-2.91L5.25 4h13.5-13.5Z"]),Eh=re("Mail24Regular","24",["M5.25 4h13.5a3.25 3.25 0 0 1 3.24 3.07l.01.18v9.5a3.25 3.25 0 0 1-3.07 3.24l-.18.01H5.25a3.25 3.25 0 0 1-3.24-3.07L2 16.75v-9.5a3.25 3.25 0 0 1 3.07-3.24L5.25 4h13.5-13.5ZM20.5 9.37l-8.15 4.3c-.19.1-.4.1-.6.04l-.1-.05L3.5 9.37v7.38c0 .92.7 1.67 1.6 1.74l.15.01h13.5c.92 0 1.67-.7 1.74-1.6l.01-.15V9.37ZM18.75 5.5H5.25c-.92 0-1.67.7-1.74 1.6l-.01.15v.43l8.5 4.47 8.5-4.47v-.43c0-.92-.7-1.67-1.6-1.74l-.15-.01Z"]),Vx=re("MailInbox24Regular","24",["M6.25 3h11.5a3.25 3.25 0 0 1 3.24 3.07l.01.18v11.5a3.25 3.25 0 0 1-3.07 3.24l-.18.01H6.25a3.25 3.25 0 0 1-3.24-3.07L3 17.75V6.25a3.25 3.25 0 0 1 3.07-3.24L6.25 3h11.5-11.5ZM4.5 14.5v3.25c0 .92.7 1.67 1.6 1.74l.15.01h11.5c.92 0 1.67-.7 1.74-1.6l.01-.15V14.5h-3.82a3.75 3.75 0 0 1-3.48 3H12a3.75 3.75 0 0 1-3.63-2.81l-.04-.19H4.5v3.25-3.25Zm13.25-10H6.25c-.92 0-1.67.7-1.74 1.6l-.01.15V13H9c.38 0 .7.28.74.65l.01.1a2.25 2.25 0 0 0 4.5.15v-.15c0-.38.28-.7.65-.74L15 13h4.5V6.25c0-.92-.7-1.67-1.6-1.74l-.15-.01Z"]),Yx=re("Search24Regular","24",["M16.1 17.16a8 8 0 1 1 1.06-1.06l4.62 4.62a.75.75 0 1 1-1.06 1.06l-4.62-4.62ZM17.5 11a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0Z"]),Qx=re("ArrowSync24Regular","24",["M16.25 5.18c-.25.33-.19.8.14 1.05a7.24 7.24 0 0 1-3.6 12.98l.68-.68a.75.75 0 0 0-.98-1.13l-.08.07-2 2a.75.75 0 0 0-.07.98l.07.08 2 2a.75.75 0 0 0 1.13-.98l-.07-.08-.75-.75A8.75 8.75 0 0 0 17.3 5.04a.75.75 0 0 0-1.05.14Zm-5.72-3.71c-.3.3-.3.77 0 1.06l.75.75a8.75 8.75 0 0 0-4.85 15.47.75.75 0 1 0 .96-1.16A7.23 7.23 0 0 1 11.2 4.8l-.68.68a.75.75 0 1 0 1.06 1.06l2-2c.3-.3.3-.77 0-1.06l-2-2a.75.75 0 0 0-1.06 0Z"],{flipInRtl:!0}),Jl=re("Send24Regular","24",["M5.7 12 2.3 3.27a.75.75 0 0 1 .94-.98l.1.04 18 9c.51.26.54.97.1 1.28l-.1.06-18 9a.75.75 0 0 1-1.07-.85l.03-.1L5.7 12 2.3 3.27 5.7 12ZM4.4 4.54l2.61 6.7 6.63.01c.38 0 .7.28.74.65v.1c0 .38-.27.7-.64.74l-.1.01H7l-2.6 6.7L19.31 12 4.4 4.54Z"],{flipInRtl:!0}),jh=re("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),Ah=re("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),Kx=re("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),Wx=re("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),Ix=re("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),Jx=re("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Ch=re("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),Nh=re("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),Dh=re("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),$x=re("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),e3=re("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),Rh=re("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),qh=re("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),t3=re("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),o3=re("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),Mh=re("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),Oh=re("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),n3=re("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),a3=re("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Hh=re("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),Fh=re("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),Uh=re("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),r3=re("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),l3=re("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),i3=re("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),u3=re("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Lh=re("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),Gh=re("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),Ph=re("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),c3=re("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),s3=re("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Zh=re("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Xh=re("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),f3=re("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),d3=re("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),Vh=re("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),Yh=re("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),v3=re("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),h3=re("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),Qh=re("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),m3=re("Archive24Regular","24",["M10.25 11a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5ZM3 5.25C3 4.01 4 3 5.25 3h13.5C19.99 3 21 4 21 5.25v1.5c0 .78-.4 1.47-1 1.87v8.63A3.75 3.75 0 0 1 16.25 21h-8.5A3.75 3.75 0 0 1 4 17.25V8.62c-.6-.4-1-1.09-1-1.87v-1.5ZM5.5 9v8.25c0 1.24 1 2.25 2.25 2.25h8.5c1.24 0 2.25-1 2.25-2.25V9h-13Zm-.25-4.5a.75.75 0 0 0-.75.75v1.5c0 .41.34.75.75.75h13.5c.41 0 .75-.34.75-.75v-1.5a.75.75 0 0 0-.75-.75H5.25Z"]),g3={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},b3={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)"},nt={...g3,...b3};function p3(n){if(n.playState==="running"){var r;if(n.overallProgress!==void 0){var l;const m=(l=n.overallProgress)!==null&&l!==void 0?l:0;return m>0&&m<1}var i;const f=Number((i=n.currentTime)!==null&&i!==void 0?i:0);var s;const v=Number((s=(r=n.effect)===null||r===void 0?void 0:r.getTiming().duration)!==null&&s!==void 0?s:0);return f>0&&f<v}return!1}const y3={fill:"forwards"},x3={duration:1};function S3(n){return{set playbackRate(r){n.forEach(l=>{l.playbackRate=r})},setMotionEndCallbacks(r,l){const i=n.map(s=>new Promise((f,v)=>{s.onfinish=()=>f(),s.oncancel=()=>v()}));Promise.all(i).then(()=>{r()}).catch(()=>{l()})},isRunning(){return n.some(r=>p3(r))},dispose:()=>{n.length=0},cancel:()=>{n.forEach(r=>{r.cancel()})},pause:()=>{n.forEach(r=>{r.pause()})},play:()=>{n.forEach(r=>{r.play()})},finish:()=>{n.forEach(r=>{r.finish()})},reverse:()=>{n.forEach(r=>{r.reverse()})}}}function _3(){var n;const r=typeof window<"u"&&typeof((n=window.Animation)===null||n===void 0?void 0:n.prototype.persist)=="function";return A.useCallback((l,i,s)=>{const f=Array.isArray(i)?i:[i],{isReducedMotion:v}=s,m=f.map(g=>{const{keyframes:h,reducedMotion:y=x3,...p}=g,{keyframes:x=h,..._}=y,z=v?x:h,k={...y3,...p,...v&&_};try{const D=l.animate(z,k);if(r)D==null||D.persist();else{const U=z[z.length-1];var O;Object.assign((O=l.style)!==null&&O!==void 0?O:{},U)}return D}catch{return null}}).filter(g=>!!g);return S3(m)},[r])}function p1(){"use no memo";return _3()}function y1(n){const r=A.useRef(void 0);return A.useImperativeHandle(n,()=>({setPlayState:l=>{if(l==="running"){var i;(i=r.current)===null||i===void 0||i.play()}if(l==="paused"){var s;(s=r.current)===null||s===void 0||s.pause()}},setPlaybackRate:l=>{r.current&&(r.current.playbackRate=l)}})),r}const w3="screen and (prefers-reduced-motion: reduce)";function x1(){const{targetDocument:n}=no();var r;const l=(r=n==null?void 0:n.defaultView)!==null&&r!==void 0?r:null,i=A.useRef(!1),s=A.useCallback(()=>i.current,[]);return uo(()=>{if(l===null||typeof l.matchMedia!="function")return;const f=l.matchMedia(w3);f.matches&&(i.current=!0);const v=m=>{i.current=m.matches};return f.addEventListener("change",v),()=>{f.removeEventListener("change",v)}},[l]),s}const z3=["@fluentui/react-motion: Invalid child element.",`
|
|
`,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function S1(n,r=!0){const l=A.useRef(null);A.useEffect(()=>{},[r]);try{const i=A.Children.only(n);if(A.isValidElement(i))return[A.cloneElement(i,{ref:Im(l,Z2(i))}),l]}catch{}throw new Error(z3)}const _1=A.createContext(void 0);_1.Provider;const w1=()=>{var n;return(n=A.useContext(_1))!==null&&n!==void 0?n:"default"},k3=Symbol("MOTION_DEFINITION");function Kh(n){return Object.assign(l=>{"use no memo";const{children:i,imperativeRef:s,onMotionFinish:f,onMotionStart:v,onMotionCancel:m,...g}=l,h=g,[y,p]=S1(i),x=y1(s),_=w1()==="skip",z=A.useRef({skipMotions:_,params:h}),k=p1(),O=x1(),D=gt(()=>{v==null||v(null)}),U=gt(()=>{f==null||f(null)}),R=gt(()=>{m==null||m(null)});return uo(()=>{z.current={skipMotions:_,params:h}}),uo(()=>{const V=p.current;if(V){const X=typeof n=="function"?n({element:V,...z.current.params}):n;D();const Y=k(V,X,{isReducedMotion:O()});return x.current=Y,Y.setMotionEndCallbacks(U,R),z.current.skipMotions&&Y.finish(),()=>{Y.cancel()}}},[k,p,x,O,U,D,R]),y},{[k3]:typeof n=="function"?n:()=>n})}const z1=A.createContext(void 0);z1.Provider;function B3(n=!1,r=!1){const l=A.useRef(r?n:!0),i=H2(),s=A.useCallback(f=>{l.current!==f&&(l.current=f,i())},[i]);return A.useEffect(()=>{n&&(l.current=n)}),[n||l.current,s]}const k1=Symbol("PRESENCE_MOTION_DEFINITION"),T3=Symbol.for("interruptablePresence");function qs(n){return Object.assign(r=>{"use no memo";const i={...A.useContext(z1),...r},s=w1()==="skip",{appear:f,children:v,imperativeRef:m,onExit:g,onMotionFinish:h,onMotionStart:y,onMotionCancel:p,visible:x,unmountOnExit:_,...z}=i,k=z,[O,D]=B3(x,_),[U,R]=S1(v,O),V=y1(m),X=A.useRef({appear:f,params:k,skipMotions:s}),Y=p1(),G=O2(),le=x1(),Xe=gt(W=>{y==null||y(null,{direction:W})}),Ue=gt(W=>{h==null||h(null,{direction:W}),W==="exit"&&_&&(D(!1),g==null||g())}),et=gt(W=>{p==null||p(null,{direction:W})});return uo(()=>{X.current={appear:f,params:k,skipMotions:s}}),uo(()=>{const W=R.current;if(!W)return;let pe;function at(){pe&&(M&&pe.isRunning()||(pe.cancel(),V.current=void 0))}const vt=typeof n=="function"?n({element:W,...X.current.params}):n,M=vt[T3];if(M&&(pe=V.current,pe&&pe.isRunning()))return pe.reverse(),at;const Q=x?vt.enter:vt.exit,oe=x?"enter":"exit",Se=!X.current.appear&&G,Be=X.current.skipMotions;return Se||Xe(oe),pe=Y(W,Q,{isReducedMotion:le()}),Se?(pe.finish(),at):(V.current=pe,pe.setMotionEndCallbacks(()=>Ue(oe),()=>et(oe)),Be&&pe.finish(),at)},[Y,R,V,le,Ue,Xe,et,x]),A.useEffect(()=>{if(_&&!O){var W;(W=V.current)===null||W===void 0||W.dispose()}},[V,_,O]),O?U:null},{[k1]:typeof n=="function"?n:()=>n},{In:Kh(typeof n=="function"?(...r)=>n(...r).enter:n.enter),Out:Kh(typeof n=="function"?(...r)=>n(...r).exit:n.exit)})}function E3(n,r){return i=>n({...r,...i})}function jr(n,r){const l=n[k1],i=E3(l,r);return qs(i)}const Ms=A.createContext(void 0);function j3(){return A.useContext(Ms)}const B1=A.forwardRef((n,r)=>A.createElement(Ms.Provider,{value:r},n.children));B1.displayName="MotionRefForwarder";const T1=n=>A.createElement(Ms.Provider,{value:void 0},n.children);T1.displayName="MotionRefForwarderReset";function E1(n,r){const{as:l,children:i,...s}=n??{};if(n===null){const v=!r.defaultProps.visible&&r.defaultProps.unmountOnExit,m=(g,h)=>v?null:A.createElement(A.Fragment,null,h.children);return{[si]:m,[wa]:r.elementType}}const f={...r.defaultProps,...s,[wa]:r.elementType};return typeof i=="function"&&(f[si]=i),f}const vi=({direction:n,duration:r,easing:l=nt.curveLinear,delay:i=0,outOpacity:s=0,inOpacity:f=1})=>{const v=[{opacity:s},{opacity:f}];return n==="exit"&&v.reverse(),{keyframes:v,duration:r,easing:l,delay:i,fill:"both"}},A3=({duration:n=nt.durationNormal,easing:r=nt.curveEasyEase,delay:l=0,exitDuration:i=n,exitEasing:s=r,exitDelay:f=l,outOpacity:v=0,inOpacity:m=1})=>({enter:vi({direction:"enter",duration:n,easing:r,delay:l,outOpacity:v,inOpacity:m}),exit:vi({direction:"exit",duration:i,easing:s,delay:f,outOpacity:v,inOpacity:m})}),j1=qs(A3);jr(j1,{duration:nt.durationFast});const C3=jr(j1,{duration:nt.durationGentle}),Wh=({direction:n,duration:r,easing:l=nt.curveLinear,delay:i=0,outScale:s=.9,inScale:f=1})=>{const v=[{scale:s},{scale:f}];return n==="exit"&&v.reverse(),{keyframes:v,duration:r,easing:l,delay:i}},N3=({duration:n=nt.durationGentle,easing:r=nt.curveDecelerateMax,delay:l=0,exitDuration:i=nt.durationNormal,exitEasing:s=nt.curveAccelerateMax,exitDelay:f=l,outScale:v=.9,inScale:m=1,animateOpacity:g=!0})=>{const h=[Wh({direction:"enter",duration:n,easing:r,delay:l,outScale:v,inScale:m})],y=[Wh({direction:"exit",duration:i,easing:s,delay:f,outScale:v,inScale:m})];return g&&(h.push(vi({direction:"enter",duration:n,easing:r,delay:l})),y.push(vi({direction:"exit",duration:i,easing:s,delay:f}))),{enter:h,exit:y}},Os=qs(N3);jr(Os,{duration:nt.durationNormal,exitDuration:nt.durationFast});jr(Os,{duration:nt.durationSlow,exitDuration:nt.durationGentle});const D3=n=>an(n.root,{children:[n.initials&&we(n.initials,{}),n.icon&&we(n.icon,{}),n.image&&we(n.image,{}),n.badge&&we(n.badge,{}),n.activeAriaLabelElement]}),R3=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,q3=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uE000-\uFFFF]/g,M3=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,O3=/\s+/g,H3=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]/;function li(n){if(!n)return"";const r=n.codePointAt(0);return r===void 0?"":String.fromCodePoint(r)}function F3(n,r,l){let i="";const s=n.split(" ");if(s.length!==0&&(i+=li(s[0]).toUpperCase()),l||(s.length===2?i+=li(s[1]).toUpperCase():s.length===3&&(i+=li(s[2]).toUpperCase())),r&&[...i].length>1){const f=[...i];return f[1]+f[0]}return i}function U3(n){return n=n.replace(R3,""),n=n.replace(q3,""),n=n.replace(O3," "),n=n.trim(),n}function A1(n,r,l){if(!n)return"";n=U3(n);const i=li(n);return H3.test(i)||!(l!=null&&l.allowPhoneInitials)&&M3.test(n)?"":F3(n,r,l==null?void 0:l.firstInitialOnly)}const L3=(n,r)=>{const{shape:l="circular",size:i="medium",appearance:s="filled",color:f="brand",...v}=n;return{...C1(v,r),shape:l,size:i,appearance:s,color:f}},C1=(n,r)=>{const{iconPosition:l="before"}=n;return{iconPosition:l,components:{root:"div",icon:"span"},root:st(An("div",{ref:r,...n}),{elementType:"div"}),icon:kt(n.icon,{elementType:"span"})}},Ih={root:"fui-Badge",icon:"fui-Badge__icon"},G3=Ze("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),P3=ke({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),Z3=Ze("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),X3=ke({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),V3=n=>{"use no memo";const r=G3(),l=P3(),i=n.size==="small"||n.size==="extra-small"||n.size==="tiny";n.root.className=be(Ih.root,r,i&&l.fontSmallToTiny,l[n.size],l[n.shape],n.shape==="rounded"&&i&&l.roundedSmallToTiny,n.appearance==="ghost"&&l.borderGhost,l[n.appearance],l[`${n.appearance}-${n.color}`],n.root.className);const s=Z3(),f=X3();if(n.icon){let v;A.Children.toArray(n.root.children).length>0&&(n.size==="extra-large"?v=n.iconPosition==="after"?f.afterTextXL:f.beforeTextXL:v=n.iconPosition==="after"?f.afterText:f.beforeText),n.icon.className=be(Ih.icon,s,v,f[n.size],n.icon.className)}return n},N1=n=>an(n.root,{children:[n.iconPosition==="before"&&n.icon&&we(n.icon,{}),n.root.children,n.iconPosition==="after"&&n.icon&&we(n.icon,{})]}),Hs=A.forwardRef((n,r)=>{const l=L3(n,r);return V3(l),Ot("useBadgeStyles_unstable")(l),N1(l)});Hs.displayName="Badge";const Y3={tiny:Dh,"extra-small":Dh,small:$x,medium:e3,large:Rh,"extra-large":Rh},Q3={tiny:Ah,"extra-small":Ah,small:Wx,medium:Jx,large:Nh,"extra-large":Nh},K3={tiny:jh,"extra-small":jh,small:Kx,medium:Ix,large:Ch,"extra-large":Ch},W3={tiny:qh,"extra-small":qh,small:t3,medium:o3,large:Mh,"extra-large":Mh},I3={tiny:Oh,"extra-small":Oh,small:n3,medium:a3,large:Hh,"extra-large":Hh},J3={tiny:Fh,"extra-small":Fh,small:r3,medium:i3,large:Lh,"extra-large":Lh},$3={tiny:Uh,"extra-small":Uh,small:l3,medium:u3,large:Gh,"extra-large":Gh},rs={tiny:Xh,"extra-small":Xh,small:f3,medium:d3,large:Vh,"extra-large":Vh},eS={tiny:Ph,"extra-small":Ph,small:c3,medium:s3,large:Zh,"extra-large":Zh},Jh={tiny:Yh,"extra-small":Yh,small:v3,medium:h3,large:Qh,"extra-large":Qh},tS=(n,r,l)=>{switch(n){case"available":return r?Q3[l]:K3[l];case"away":return r?rs[l]:Y3[l];case"blocked":return W3[l];case"busy":return r?Jh[l]:I3[l];case"do-not-disturb":return r?$3[l]:J3[l];case"offline":return r?rs[l]:eS[l];case"out-of-office":return rs[l];case"unknown":return Jh[l]}},$h={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},oS=(n,r)=>{const{size:l="medium",outOfOffice:i=!1,...s}=n;var f;const v=(f=n.status)!==null&&f!==void 0?f:"available",m=tS(v,i,l),g={...nS(s,r),appearance:"filled",color:"brand",shape:"circular",size:l,outOfOffice:i};if(g.icon){var h,y;(y=(h=g.icon).children)!==null&&y!==void 0||(h.children=A.createElement(m,null))}return g},nS=(n,r)=>{const{status:l="available",outOfOffice:i=!1}=n,s=$h[l],f=n.outOfOffice&&n.status!=="out-of-office"?` ${$h["out-of-office"]}`:"";return{...C1({"aria-label":s+f,role:"img",...n,icon:kt(n.icon,{renderByDefault:!0,elementType:"span"})},r),status:l,outOfOffice:i}},em={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},aS=n=>n==="busy"||n==="do-not-disturb"||n==="blocked",rS=Ze("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),lS=Ze("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),iS=ke({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]}),uS=n=>{"use no memo";const r=rS(),l=lS(),i=iS(),s=aS(n.status);return n.root.className=be(em.root,r,s&&i.statusBusy,n.status==="away"&&i.statusAway,n.status==="available"&&i.statusAvailable,n.status==="offline"&&i.statusOffline,n.status==="out-of-office"&&i.statusOutOfOffice,n.status==="unknown"&&i.statusUnknown,n.outOfOffice&&i.outOfOffice,n.outOfOffice&&n.status==="available"&&i.outOfOfficeAvailable,n.outOfOffice&&s&&i.outOfOfficeBusy,n.outOfOffice&&(n.status==="out-of-office"||n.status==="away"||n.status==="offline")&&i.statusOutOfOffice,n.outOfOffice&&n.status==="unknown"&&i.outOfOfficeUnknown,n.size==="tiny"&&i.tiny,n.size==="large"&&i.large,n.size==="extra-large"&&i.extraLarge,n.root.className),n.icon&&(n.icon.className=be(em.icon,l,n.icon.className)),n},ps=A.forwardRef((n,r)=>{const l=oS(n,r);return uS(l),Ot("usePresenceBadgeStyles_unstable")(l),N1(l)});ps.displayName="PresenceBadge";const D1=A.createContext(void 0),cS={};D1.Provider;const sS=()=>{var n;return(n=A.useContext(D1))!==null&&n!==void 0?n:cS},fS={active:"active",inactive:"inactive"},dS=(n,r)=>{const{dir:l}=no(),{shape:i,size:s}=sS(),{size:f=s??32,shape:v=i??"circular",active:m="unset",activeAppearance:g="ring",idForColor:h,color:y="neutral",...p}=n,x=vS(p,r);var _;const z=y==="colorful"?tm[mS((_=h??n.name)!==null&&_!==void 0?_:"")%tm.length]:y;if(x.initials){var k;x.initials=kt(n.initials,{renderByDefault:!0,defaultProps:{children:A1(n.name,l==="rtl",{firstInitialOnly:f<=16}),id:(k=x.initials)===null||k===void 0?void 0:k.id},elementType:"span"})}if(x.icon){var O,D;(D=(O=x.icon).children)!==null&&D!==void 0||(O.children=A.createElement(Zx,null))}const U=kt(n.badge,{defaultProps:{size:hS(f),id:x.root.id+"__badge"},elementType:ps});let R=x.activeAriaLabelElement;const V=n["aria-label"]!==void 0,X=n["aria-labelledby"]!==void 0;if(!V&&!X&&(n.name?U&&(x.root["aria-labelledby"]=x.root.id+" "+U.id):x.initials&&(x.root["aria-labelledby"]=x.initials.id+(U?" "+U.id:""),delete x.root["aria-label"]),m==="active"||m==="inactive")){const Y=fS[m];if(x.root["aria-labelledby"]){const G=x.root.id+"__active";x.root["aria-labelledby"]+=" "+G,R=A.createElement("span",{hidden:!0,id:G},Y)}else x.root["aria-label"]&&(x.root["aria-label"]+=" "+Y)}return{...x,size:f,shape:v,active:m,activeAppearance:g,activeAriaLabelElement:R,color:z,badge:U,components:{...x.components,badge:ps}}},vS=(n,r)=>{const{dir:l}=no(),{name:i,...s}=n,f=Er("avatar-"),v=st({role:"img",id:f,ref:r,...s},{elementType:"span"}),[m,g]=A.useState(void 0);let h=kt(n.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:m},elementType:"img"});h!=null&&h.src||(h=void 0),h&&(h.onError=ph(h.onError,()=>g(!0)),h.onLoad=ph(h.onLoad,()=>g(void 0)));let y=kt(n.initials,{renderByDefault:!0,defaultProps:{children:A1(i,l==="rtl"),id:f+"__initials"},elementType:"span"});y!=null&&y.children||(y=void 0);let p;!y&&(!h||m)&&(p=kt(n.icon,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"}));let x;return!v["aria-label"]&&!v["aria-labelledby"]&&(i?v["aria-label"]=i:y&&(v["aria-labelledby"]=y.id)),{activeAriaLabelElement:x,components:{root:"span",initials:"span",icon:"span",image:"img"},root:v,initials:y,icon:p,image:h}},hS=n=>n>=96?"extra-large":n>=64?"large":n>=56?"medium":n>=40?"small":n>=28?"extra-small":"tiny",tm=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],mS=n=>{let r=0;for(let l=n.length-1;l>=0;l--){const i=n.charCodeAt(l),s=l%8;r^=(i<<s)+(i>>8-s)}return r},Sr={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},gS=Ze("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),bS=Ze("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),pS=Ze("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),yS=ke({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Bg24rqe:"f9ttr0w"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f9ttr0w{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),xS=ke({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),SS=ke({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),_S=ke({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),wS=n=>{"use no memo";const{size:r,shape:l,active:i,activeAppearance:s,color:f}=n,v=gS(),m=bS(),g=pS(),h=yS(),y=xS(),p=SS(),x=_S(),_=[v,r!==32&&y[r]];if(n.badge&&_.push(h.badgeAlign,h[n.badge.size||"medium"]),r<=24?_.push(h.textCaption2Strong):r<=28?_.push(h.textCaption1Strong):r<=40||(r<=56?_.push(h.textSubtitle2):r<=96?_.push(h.textSubtitle1):_.push(h.textTitle3)),l==="square"&&(r<=24?_.push(h.squareSmall):r<=48?_.push(h.squareMedium):r<=72?_.push(h.squareLarge):_.push(h.squareXLarge)),(i==="active"||i==="inactive")&&(_.push(h.activeOrInactive),(s==="ring"||s==="ring-shadow")&&(_.push(h.ring,x[f]),n.badge&&_.push(h.ringBadgeCutout),r<=48?_.push(h.ringThick):r<=64?_.push(h.ringThicker):_.push(h.ringThickest)),(s==="shadow"||s==="ring-shadow")&&(_.push(h.shadow),r<=28?_.push(h.shadow4):r<=48?_.push(h.shadow8):r<=64?_.push(h.shadow16):_.push(h.shadow28)),i==="inactive"&&_.push(h.inactive)),n.root.className=be(Sr.root,..._,n.root.className),n.badge&&(n.badge.className=be(Sr.badge,h.badge,n.badge.className)),n.image&&(n.image.className=be(Sr.image,m,p[f],n.badge&&h.badgeCutout,n.image.className)),n.initials&&(n.initials.className=be(Sr.initials,g,p[f],n.badge&&h.badgeCutout,n.initials.className)),n.icon){let z;r<=16?z=h.icon12:r<=24?z=h.icon16:r<=40?z=h.icon20:r<=48?z=h.icon24:r<=56?z=h.icon28:r<=72?z=h.icon32:z=h.icon48,n.icon.className=be(Sr.icon,g,z,p[f],n.badge&&h.badgeCutout,n.icon.className)}return n},ys=A.forwardRef((n,r)=>{const l=dS(n,r);return wS(l),Ot("useAvatarStyles_unstable")(l),D3(l)});ys.displayName="Avatar";function zS(n){return hs(n)?{element:n}:typeof n=="object"?n===null?{element:null}:n:{}}const kS=ke({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;}"]}),R1=ui.useInsertionEffect,BS=n=>{"use no memo";const{className:r,dir:l,focusVisibleRef:i,targetNode:s}=n,f=A.useMemo(()=>{if(s===void 0||n.disabled)return null;const v=s.ownerDocument.createElement("div");return s.appendChild(v),v},[s,n.disabled]);return A.useMemo(()=>{f&&(f.className=r,f.setAttribute("dir",l),f.setAttribute("data-portal-node","true"),i.current=f)},[r,l,f,i]),A.useEffect(()=>()=>{f==null||f.remove()},[f]),f},TS=()=>{let n;function r(i,s){return n||(s&&(n=i.ownerDocument.createElement("div"),i.appendChild(n)),n)}function l(){n&&(n.remove(),n=void 0)}return{get:r,dispose:l}},ES=n=>{"use no memo";const{className:r,dir:l,focusVisibleRef:i,targetNode:s}=n,[f]=A.useState(TS),v=A.useMemo(()=>s===void 0||n.disabled?null:new Proxy({},{get(m,g){if(g==="nodeType")return 1;if(g==="remove"){const p=f.get(s,!1);return p&&p.childNodes.length===0&&f.dispose(),()=>{}}const h=f.get(s,!0),y=h?h[g]:void 0;return typeof y=="function"?y.bind(h):y},set(m,g,h){const y=g==="_virtual"||g==="focusVisible",p=y?f.get(s,!1):f.get(s,!0);return y&&!p?!0:p?(Object.assign(p,{[g]:h}),!0):!1}}),[f,s,n.disabled]);return R1(()=>{if(!v)return;const m=r.split(" ").filter(Boolean);return v.classList.add(...m),v.setAttribute("dir",l),v.setAttribute("data-portal-node","true"),i.current=v,()=>{v.classList.remove(...m),v.removeAttribute("dir")}},[r,l,v,i]),A.useEffect(()=>()=>{v==null||v.remove()},[v]),v},jS=R1?ES:BS,AS=n=>{"use no memo";const{targetDocument:r,dir:l}=no(),i=j2(),s=jx(),f=kS(),v=B2(),m={dir:l,disabled:n.disabled,focusVisibleRef:s,className:be(v,f.root,n.className),targetNode:i??(r==null?void 0:r.body)};return jS(m)},CS=n=>{const{element:r,className:l}=zS(n.mountNode),i=A.useRef(null),s=AS({disabled:!!r,className:l}),f=r??s,v={children:n.children,mountNode:f,virtualParentRootRef:i};return A.useEffect(()=>{if(!f)return;const m=i.current,g=f.contains(m);if(m&&!g)return yh(f,m),()=>{yh(f,void 0)}},[i,f]),v};var NS=hm();const DS=n=>A.createElement("span",{hidden:!0,ref:n.virtualParentRootRef},n.mountNode&&NS.createPortal(A.createElement(A.Fragment,null,n.children,A.createElement("span",{hidden:!0})),n.mountNode)),q1=n=>{const r=CS(n);return DS(r)};q1.displayName="Portal";const RS=n=>{const{iconOnly:r,iconPosition:l}=n;return an(n.root,{children:[l!=="after"&&n.icon&&we(n.icon,{}),!r&&n.root.children,l==="after"&&n.icon&&we(n.icon,{})]})},M1=A.createContext(void 0),qS={};M1.Provider;const MS=()=>{var n;return(n=A.useContext(M1))!==null&&n!==void 0?n:qS},OS=(n,r)=>{const{size:l}=MS(),{appearance:i="secondary",shape:s="rounded",size:f=l??"medium",...v}=n,m=HS(v,r);return{appearance:i,shape:s,size:f,...m}},HS=(n,r)=>{const{icon:l,iconPosition:i="before",...s}=n,f=kt(l,{elementType:"span"});var v,m;return{disabled:(v=n.disabled)!==null&&v!==void 0?v:!1,disabledFocusable:(m=n.disabledFocusable)!==null&&m!==void 0?m:!1,iconPosition:i,iconOnly:!!(f!=null&&f.children&&!n.children),components:{root:"button",icon:"span"},root:st(Fx(s.as,s),{elementType:"button",defaultProps:{ref:r,type:n.as!=="a"?"button":void 0}}),icon:f}},om={root:"fui-Button",icon:"fui-Button__icon"},FS=Ze("r1f29ykk",null,{r:[".r1f29ykk{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);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[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){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),US=Ze("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);}"]),LS=ke({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},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",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},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",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},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",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},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);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{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);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{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);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),GS=ke({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",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{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);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{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;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),PS=ke({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"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},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){.f18mfu3r[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;}.fixhny3[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){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),ZS=ke({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;}"]}),XS=ke({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);}"]}),VS=n=>{"use no memo";const r=FS(),l=US(),i=LS(),s=GS(),f=PS(),v=ZS(),m=XS(),{appearance:g,disabled:h,disabledFocusable:y,icon:p,iconOnly:x,iconPosition:_,shape:z,size:k}=n;return n.root.className=be(om.root,r,g&&i[g],i[k],p&&k==="small"&&i.smallWithIcon,p&&k==="large"&&i.largeWithIcon,i[z],(h||y)&&s.base,(h||y)&&s.highContrast,g&&(h||y)&&s[g],g==="primary"&&f.primary,f[k],f[z],x&&v[k],n.root.className),n.icon&&(n.icon.className=be(om.icon,l,!!n.root.children&&m[_],m[k],n.icon.className)),n},Bn=A.forwardRef((n,r)=>{const l=OS(n,r);return VS(l),Ot("useButtonStyles_unstable")(l),RS(l)});Bn.displayName="Button";const O1=A.createContext(void 0);O1.Provider;const YS=()=>A.useContext(O1);function H1(n,r){return QS(YS(),n,r)}function QS(n,r,l){if(!n)return r;r={...r};const{generatedControlId:i,hintId:s,labelFor:f,labelId:v,required:m,validationMessageId:g,validationState:h}=n;if(i){var y,p;(p=(y=r).id)!==null&&p!==void 0||(y.id=i)}if(v&&(!(l!=null&&l.supportsLabelFor)||f!==r.id)){var x,_,z;(z=(x=r)[_="aria-labelledby"])!==null&&z!==void 0||(x[_]=v)}if((g||s)&&(r["aria-describedby"]=[g,s,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),h==="error"){var k,O,D;(D=(k=r)[O="aria-invalid"])!==null&&D!==void 0||(k[O]=!0)}if(m)if(l!=null&&l.supportsRequired){var U,R;(R=(U=r).required)!==null&&R!==void 0||(U.required=!0)}else{var V,X,Y;(Y=(V=r)[X="aria-required"])!==null&&Y!==void 0||(V[X]=!0)}if(l!=null&&l.supportsSize){var G,le;(le=(G=r).size)!==null&&le!==void 0||(G.size=n.size)}return r}const KS=(n,r)=>{const{weight:l="regular",size:i="medium",...s}=n,f=WS(s,r);return{weight:l,size:i,...f}},WS=(n,r)=>{const{disabled:l=!1,required:i=!1,...s}=n;return{disabled:l,required:kt(i===!0?"*":i||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:st(An("label",{ref:r,...s}),{elementType:"label"})}},IS=n=>an(n.root,{children:[n.root.children,n.required&&we(n.required,{})]}),nm={root:"fui-Label",required:"fui-Label__required"},JS=ke({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},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){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),$S=n=>{"use no memo";const r=JS();return n.root.className=be(nm.root,r.root,n.disabled&&r.disabled,r[n.size],n.weight==="semibold"&&r.semibold,n.root.className),n.required&&(n.required.className=be(nm.required,r.required,n.disabled&&r.disabled,n.required.className)),n},pa=A.forwardRef((n,r)=>{const l=KS(n,r);return $S(l),Ot("useLabelStyles_unstable")(l),IS(l)});pa.displayName="Label";const e_=n=>we(n.root,{children:n.root.children!==void 0&&we(n.wrapper,{children:n.root.children})}),t_=(n,r)=>{const{alignContent:l="center",appearance:i="default",inset:s=!1,...f}=n,v=o_(f,r);return{alignContent:l,appearance:i,inset:s,...v}},o_=(n,r)=>{const{vertical:l=!1,wrapper:i,...s}=n,f=Er("divider-");return{vertical:l,components:{root:"div",wrapper:"div"},root:st({role:"separator","aria-orientation":l?"vertical":"horizontal","aria-labelledby":n.children?f:void 0,ref:r,...s},{elementType:"div"}),wrapper:st(i,{defaultProps:{id:f,children:n.children},elementType:"div"})}},am={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},n_=ke({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),a_=ke({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),r_=ke({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),l_=n=>{"use no memo";const r=n_(),l=a_(),i=r_(),{alignContent:s,appearance:f,inset:v,vertical:m}=n;return n.root.className=be(am.root,r.base,r[s],f&&r[f],!m&&l.base,!m&&v&&l.inset,!m&&l[s],m&&i.base,m&&v&&i.inset,m&&i[s],m&&n.root.children!==void 0&&i.withChildren,n.root.children===void 0&&r.childless,n.root.className),n.wrapper&&(n.wrapper.className=be(am.wrapper,n.wrapper.className)),n},Fs=A.forwardRef((n,r)=>{const l=t_(n,r);return l_(l),Ot("useDividerStyles_unstable")(l),e_(l)});Fs.displayName="Divider";const i_=(n,r)=>{n=H1(n,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const l=Ym();var i;const{size:s="medium",appearance:f=(i=l.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",...v}=n,m=u_(v,r);return{size:s,appearance:f,...m}},u_=(n,r)=>{const{onChange:l}=n,[i,s]=js({state:n.value,defaultState:n.defaultValue,initialState:""}),f=Pm({props:n,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),v={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:st(n.input,{defaultProps:{type:"text",ref:r,...f.primary},elementType:"input"}),contentAfter:kt(n.contentAfter,{elementType:"span"}),contentBefore:kt(n.contentBefore,{elementType:"span"}),root:st(n.root,{defaultProps:f.root,elementType:"span"})};return v.input.value=i,v.input.onChange=gt(m=>{const g=m.target.value;l==null||l(m,{value:g}),s(g)}),v},c_=n=>an(n.root,{children:[n.contentBefore&&we(n.contentBefore,{}),we(n.input,{}),n.contentAfter&&we(n.contentAfter,{})]}),$l={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},s_=Ze("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),f_=ke({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),d_=Ze("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),v_=ke({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),h_=Ze("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),m_=ke({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),g_=n=>{"use no memo";const{size:r,appearance:l}=n,i=n.input.disabled,s=`${n.input["aria-invalid"]}`=="true",f=l.startsWith("filled"),v=f_(),m=v_(),g=m_();n.root.className=be($l.root,s_(),v[r],n.contentBefore&&v[`${r}WithContentBefore`],n.contentAfter&&v[`${r}WithContentAfter`],v[l],!i&&l==="outline"&&v.outlineInteractive,!i&&l==="underline"&&v.underlineInteractive,!i&&f&&v.filledInteractive,f&&v.filled,!i&&s&&v.invalid,i&&v.disabled,n.root.className),n.input.className=be($l.input,d_(),m[r],n.contentBefore&&m[`${r}WithContentBefore`],n.contentAfter&&m[`${r}WithContentAfter`],i&&m.disabled,n.input.className);const h=[h_(),i&&g.disabled,g[r]];return n.contentBefore&&(n.contentBefore.className=be($l.contentBefore,...h,n.contentBefore.className)),n.contentAfter&&(n.contentAfter.className=be($l.contentAfter,...h,n.contentAfter.className)),n},ii=A.forwardRef((n,r)=>{const l=i_(n,r);return g_(l),Ot("useInputStyles_unstable")(l),c_(l)});ii.displayName="Input";const F1=A.createContext(void 0),b_={};F1.Provider;const p_=()=>{var n;return(n=A.useContext(F1))!==null&&n!==void 0?n:b_},y_=(n,r)=>{const{size:l}=p_(),{appearance:i="primary",size:s=l??"medium",...f}=n;return{...x_(f,r),appearance:i,size:s}},x_=(n,r)=>{const{delay:l=0,labelPosition:i="after"}=n,s=Er("spinner"),{role:f="progressbar",...v}=n,m=st(An("div",{ref:r,role:f,...v}),{elementType:"div"}),[g,h]=A.useState(!1),[y,p]=G2();A.useEffect(()=>{if(!(l<=0))return y(()=>{h(!0)},l),()=>{p()}},[y,p,l]);const x=kt(n.label,{defaultProps:{id:s},renderByDefault:!1,elementType:pa}),_=kt(n.spinner,{renderByDefault:!0,elementType:"span"});return x&&m&&!m["aria-labelledby"]&&(m["aria-labelledby"]=x.id),{delay:l,labelPosition:i,shouldRenderSpinner:!l||g,components:{root:"div",spinner:"span",spinnerTail:"span",label:pa},root:m,spinner:_,spinnerTail:st(n.spinnerTail,{elementType:"span"}),label:x}},S_=n=>{const{labelPosition:r,shouldRenderSpinner:l}=n;return an(n.root,{children:[n.label&&l&&(r==="above"||r==="before")&&we(n.label,{}),n.spinner&&l&&we(n.spinner,{children:n.spinnerTail&&we(n.spinnerTail,{})}),n.label&&l&&(r==="below"||r==="after")&&we(n.label,{})]})},ei={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},__=Ze("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),w_=ke({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),z_=Ze("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),k_=Ze("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),B_=ke({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),T_=ke({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),E_=n=>{"use no memo";const{labelPosition:r,size:l,appearance:i}=n,{dir:s}=no(),f=__(),v=w_(),m=z_(),g=B_(),h=k_(),y=T_();return n.root.className=be(ei.root,f,(r==="above"||r==="below")&&v.vertical,n.root.className),n.spinner&&(n.spinner.className=be(ei.spinner,m,g[l],i==="inverted"&&g.inverted,n.spinner.className)),n.spinnerTail&&(n.spinnerTail.className=be(ei.spinnerTail,h,s==="rtl"&&g.rtlTail,n.spinnerTail.className)),n.label&&(n.label.className=be(ei.label,y[l],i==="inverted"&&y.inverted,n.label.className)),n},U1=A.forwardRef((n,r)=>{const l=y_(n,r);return E_(l),Ot("useSpinnerStyles_unstable")(l),S_(l)});U1.displayName="Spinner";const j_=(n,r)=>{const{wrap:l,truncate:i,block:s,italic:f,underline:v,strikethrough:m,size:g,font:h,weight:y,align:p}=n;return{align:p??"start",block:s??!1,font:h??"base",italic:f??!1,size:g??300,strikethrough:m??!1,truncate:i??!1,underline:v??!1,weight:y??"regular",wrap:l??!0,components:{root:"span"},root:st(An("span",{ref:r,...n}),{elementType:"span"})}},A_=n=>we(n.root,{}),C_={root:"fui-Text"},N_=ke({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),D_=n=>{"use no memo";const r=N_();return n.root.className=be(C_.root,r.root,n.wrap===!1&&r.nowrap,n.truncate&&r.truncate,n.block&&r.block,n.italic&&r.italic,n.underline&&r.underline,n.strikethrough&&r.strikethrough,n.underline&&n.strikethrough&&r.strikethroughUnderline,n.size===100&&r.base100,n.size===200&&r.base200,n.size===400&&r.base400,n.size===500&&r.base500,n.size===600&&r.base600,n.size===700&&r.hero700,n.size===800&&r.hero800,n.size===900&&r.hero900,n.size===1e3&&r.hero1000,n.font==="monospace"&&r.monospace,n.font==="numeric"&&r.numeric,n.weight==="medium"&&r.weightMedium,n.weight==="semibold"&&r.weightSemibold,n.weight==="bold"&&r.weightBold,n.align==="center"&&r.alignCenter,n.align==="end"&&r.alignEnd,n.align==="justify"&&r.alignJustify,n.root.className),n},Qt=A.forwardRef((n,r)=>{const l=j_(n,r);return D_(l),Ot("useTextStyles_unstable")(l),A_(l)});Qt.displayName="Text";const R_=n=>we(n.root,{children:we(n.textarea,{})}),q_=(n,r)=>{const l=Ym();var i;const{size:s="medium",appearance:f=(i=l.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",...v}=n;return{...M_(v,r),size:s,appearance:f}},M_=(n,r)=>{n=H1(n,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:l="none",onChange:i}=n,[s,f]=js({state:n.value,defaultState:n.defaultValue,initialState:void 0}),v=Pm({props:n,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),m={resize:l,components:{root:"span",textarea:"textarea"},textarea:st(n.textarea,{defaultProps:{ref:r,...v.primary},elementType:"textarea"}),root:st(n.root,{defaultProps:v.root,elementType:"span"})};return m.textarea.value=s,m.textarea.onChange=gt(g=>{const h=g.target.value;i==null||i(g,{value:h}),f(h)}),m},rm={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},O_=ke({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",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:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{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:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",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:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",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:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",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:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),H_=ke({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),F_=ke({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),U_=n=>{"use no memo";const{size:r,appearance:l,resize:i}=n,s=n.textarea.disabled,f=`${n.textarea["aria-invalid"]}`=="true",v=l.startsWith("filled"),m=O_();n.root.className=be(rm.root,m.base,s&&m.disabled,!s&&v&&m.filled,!s&&m[l],!s&&m.interactive,!s&&l==="outline"&&m.outlineInteractive,!s&&f&&m.invalid,n.root.className);const g=H_(),h=F_();return n.textarea.className=be(rm.textarea,g.base,g[r],h[i],s&&g.disabled,n.textarea.className),n},L1=A.forwardRef((n,r)=>{const l=q_(n,r);return U_(l),Ot("useTextareaStyles_unstable")(l),R_(l)});L1.displayName="Textarea";const L_=Ze("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),G_=Ze("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function P_(){const n=L_(),r=G_(),{targetDocument:l}=no(),i=A.useCallback(()=>{var f;if(!l)return;var v;Math.floor(l.body.getBoundingClientRect().height)>((v=(f=l.defaultView)===null||f===void 0?void 0:f.innerHeight)!==null&&v!==void 0?v:0)&&(l.documentElement.classList.add(n),l.body.classList.add(r))},[l,n,r]),s=A.useCallback(()=>{l&&(l.documentElement.classList.remove(n),l.body.classList.remove(r))},[l,n,r]);return{disableBodyScroll:i,enableBodyScroll:s}}function Z_(n,r){const{findFirstFocusable:l}=Tx(),{targetDocument:i}=no(),s=A.useRef(null);return A.useEffect(()=>{if(!n)return;const f=s.current&&l(s.current);if(f)f.focus();else{var v;(v=s.current)===null||v===void 0||v.focus()}},[l,n,r,i]),s}const X_={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Us=qx(void 0),V_=Us.Provider,tn=n=>Mx(Us,(r=X_)=>n(r)),Y_=A.createContext(void 0),G1=Y_.Provider,P1=A.createContext(void 0);P1.Provider;const Q_=()=>A.useContext(P1),lm=jr(Os,{outScale:.85,easing:nt.curveDecelerateMid,duration:nt.durationGentle,exitEasing:nt.curveAccelerateMin,exitDuration:nt.durationGentle}),K_=n=>{const{children:r,modalType:l="modal",onOpenChange:i,inertTrapFocus:s=!1,unmountOnClose:f=!0}=n,v=Er("dialog-title-"),[m,g]=W_(r),[h,y]=js({state:n.open,defaultState:n.defaultOpen,initialState:!1}),p=gt(O=>{i==null||i(O.event,O),O.event.isDefaultPrevented()||y(O.open)}),x=Z_(h,l),{modalAttributes:_,triggerAttributes:z}=Dx({trapFocus:l!=="non-modal",legacyTrapFocus:!s}),k=Ox(Us);return{components:{surfaceMotion:lm},inertTrapFocus:s,open:h,modalType:l,content:g,trigger:m,requestOpenChange:p,dialogTitleId:v,isNestedDialog:k,unmountOnClose:f,dialogRef:x,modalAttributes:_,triggerAttributes:z,surfaceMotion:E1(n.surfaceMotion,{elementType:lm,defaultProps:{visible:h,appear:f,unmountOnExit:f}})}};function W_(n){const r=A.Children.toArray(n);switch(r.length){case 2:return r;case 1:return[void 0,r[0]];default:return[void 0,void 0]}}const I_=(n,r)=>we(V_,{value:r.dialog,children:an(G1,{value:r.dialogSurface,children:[n.trigger,n.content&&we(n.surfaceMotion,{children:we(B1,{children:n.content})})]})});function J_(n){const{modalType:r,open:l,dialogRef:i,dialogTitleId:s,isNestedDialog:f,inertTrapFocus:v,requestOpenChange:m,modalAttributes:g,triggerAttributes:h,unmountOnClose:y}=n;return{dialog:{open:l,modalType:r,dialogRef:i,dialogTitleId:s,isNestedDialog:f,inertTrapFocus:v,modalAttributes:g,triggerAttributes:h,unmountOnClose:y,requestOpenChange:m},dialogSurface:!1}}const Z1=A.memo(n=>{const r=K_(n),l=J_(r);return I_(r,l)});Z1.displayName="Dialog";const $_=(n,r)=>{var l;return{components:{root:"div"},root:st(An((l=n.as)!==null&&l!==void 0?l:"div",{ref:r,...n}),{elementType:"div"})}},ew=n=>we(n.root,{}),tw={root:"fui-DialogBody"},ow=Ze("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),nw=n=>{"use no memo";const r=ow();return n.root.className=be(tw.root,r,n.root.className),n},X1=A.forwardRef((n,r)=>{const l=$_(n,r);return nw(l),Ot("useDialogBodyStyles_unstable")(l),ew(l)});X1.displayName="DialogBody";const im=C3,aw=(n,r)=>{const l=j3(),i=tn(R=>R.modalType),s=tn(R=>R.isNestedDialog),f=Q_(),v=f??s,m=tn(R=>R.modalAttributes),g=tn(R=>R.dialogRef),h=tn(R=>R.requestOpenChange),y=tn(R=>R.dialogTitleId),p=tn(R=>R.open),x=tn(R=>R.unmountOnClose),_=gt(R=>{if(Iy(n.backdrop)){var V,X;(V=(X=n.backdrop).onClick)===null||V===void 0||V.call(X,R)}i==="modal"&&!R.isDefaultPrevented()&&h({event:R,open:!1,type:"backdropClick"})}),z=gt(R=>{var V;(V=n.onKeyDown)===null||V===void 0||V.call(n,R),R.key===Hx&&!R.isDefaultPrevented()&&(h({event:R,open:!1,type:"escapeKeyDown"}),R.preventDefault())}),k=kt(n.backdrop,{renderByDefault:i!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),O=k==null?void 0:k.appearance;k&&(k.onClick=_,delete k.appearance);const{disableBodyScroll:D,enableBodyScroll:U}=P_();return uo(()=>{if(!p){U();return}if(!(s||i==="non-modal"))return D(),()=>U()},[p,i,s,D,U]),{components:{backdrop:"div",root:"div",backdropMotion:im},open:p,backdrop:k,isNestedDialog:s,treatBackdropAsNested:v,backdropAppearance:O,unmountOnClose:x,mountNode:n.mountNode,root:st(An("div",{tabIndex:-1,role:i==="alert"?"alertdialog":"dialog","aria-modal":i!=="non-modal","aria-labelledby":n["aria-label"]?void 0:y,"aria-hidden":!x&&!p?!0:void 0,...n,...m,onKeyDown:z,ref:Im(r,l,g)}),{elementType:"div"}),backdropMotion:E1(n.backdropMotion,{elementType:im,defaultProps:{appear:x,visible:p}}),transitionStatus:void 0}},rw=(n,r)=>an(q1,{mountNode:n.mountNode,children:[n.backdrop&&n.backdropMotion&&we(n.backdropMotion,{children:we(n.backdrop,{})}),we(T1,{children:we(G1,{value:r.dialogSurface,children:we(n.root,{})})})]}),um={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},lw=Ze("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[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);}',".r5coedp{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[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){.r1u3t6p6[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){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[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){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),iw=Ze("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),uw=ke({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),cw=n=>{"use no memo";const{root:r,backdrop:l,open:i,unmountOnClose:s,treatBackdropAsNested:f,backdropAppearance:v}=n,m=lw(),g=iw(),h=uw(),y=v?v==="transparent":f,p=!s&&!i;return r.className=be(um.root,m,p&&h.dialogHidden,r.className),l&&(l.className=be(um.backdrop,g,p&&h.dialogHidden,y&&h.nestedDialogBackdrop,l.className)),n};function sw(n){return{dialogSurface:!0}}const V1=A.forwardRef((n,r)=>{const l=aw(n,r),i=sw();return cw(l),Ot("useDialogSurfaceStyles_unstable")(l),rw(l,i)});V1.displayName="DialogSurface";const fw=(n,r)=>{var l;return{components:{root:"div"},root:st(An((l=n.as)!==null&&l!==void 0?l:"div",{ref:r,...n}),{elementType:"div"})}},dw=n=>we(n.root,{}),vw={root:"fui-DialogContent"},hw=Ze("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;}}"]}),mw=n=>{"use no memo";const r=hw();return n.root.className=be(vw.root,r,n.root.className),n},Y1=A.forwardRef((n,r)=>{const l=fw(n,r);return mw(l),Ot("useDialogContentStyles_unstable")(l),dw(l)});Y1.displayName="DialogContent";const ls={displayName:"Lago",email:"jose@lago.dev"},ti=[{id:"1",from:"jose@lago.dev",fromName:"Lago",to:"lago@example.com",subject:"Sprint planning — Thursday 10:00",body:`Hola,
|
|
|
|
Vamos a planificar el sprint del mes que viene el jueves a las 10:00. Necesito que reviseis los temas pendientes del backlog.
|
|
|
|
Un saludo`,receivedAt:new Date(Date.now()-1e3*60*30).toISOString(),isRead:!1,folder:"inbox"},{id:"2",from:"maria@partner.com",fromName:"María García",to:"lago@example.com",subject:"RE: Presupuesto proyecto digital 2026",body:`Hola Lago,
|
|
|
|
Gracias por la información. He revisado el presupuesto y parece correcto. Adjunto la propuesta final.
|
|
|
|
¿Podemos hablar mañana por teléfono?
|
|
|
|
Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*2).toISOString(),isRead:!1,folder:"inbox"},{id:"3",from:"devops@company.com",fromName:"DevOps Team",to:"lago@example.com",subject:"[Alert] Production deployment failed — pipeline #4821",body:`Pipeline #4821 failed at stage: build
|
|
|
|
Error: npm ERR! code ETARGET
|
|
npm ERR! notarget No valid target for react@19.0.1
|
|
|
|
View logs: https://devops.company.com/pipelines/4821`,receivedAt:new Date(Date.now()-1e3*60*60*5).toISOString(),isRead:!0,folder:"inbox"},{id:"4",from:"lago@example.com",fromName:"Lago",to:"equipo@company.com",subject:"Resumen semanal — Power Platform",body:`Equipo,
|
|
|
|
Aquí va el resumen de lo hecho esta semana:
|
|
|
|
• Demo de code apps publicada en el blog
|
|
• Connector de Outlook integrado
|
|
• Migración del backlog a Dataverse completada
|
|
|
|
Para la semana que viene:
|
|
• Terminar la integración con Teams
|
|
• Revisar los permisos de producción
|
|
|
|
Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*24).toISOString(),isRead:!0,folder:"sent"},{id:"5",from:"newsletter@techweekly.com",fromName:"Tech Weekly",to:"lago@example.com",subject:"This Week in AI & Power Platform — Issue #47",body:`Top stories this week:
|
|
|
|
1. Microsoft announces GPT-5 integration for Copilot Studio
|
|
2. Power Apps code apps reach 1,400+ connectors milestone
|
|
3. Dataverse 2026 Wave 1 features now generally available
|
|
|
|
Read more inside...`,receivedAt:new Date(Date.now()-1e3*60*60*48).toISOString(),isRead:!0,folder:"inbox"},{id:"6",from:"noreply@linkedin.com",fromName:"LinkedIn",to:"lago@example.com",subject:"5 people viewed your profile this week",body:`Your profile got noticed!
|
|
|
|
5 people in Austria viewed your profile in the past week, including recruiters and hiring managers.
|
|
|
|
View who they are →`,receivedAt:new Date(Date.now()-1e3*60*60*72).toISOString(),isRead:!0,folder:"inbox"},{id:"7",from:"lago@example.com",fromName:"Lago",to:"draft",subject:"Borrador: Propuesta reunión trimestral",body:"Borrador de la propuesta para la reunión trimestral con dirección...",receivedAt:new Date(Date.now()-1e3*60*60*6).toISOString(),isRead:!0,folder:"drafts"}];class gw{delay(r){return new Promise(l=>setTimeout(l,r))}async getProfile(){return await this.delay(300),ls}async getMessages(r="inbox"){return await this.delay(600),ti.filter(l=>l.folder===r)}async getMessage(r){return await this.delay(200),ti.find(l=>l.id===r)}async sendMessage(r){await this.delay(800);const l={id:Date.now().toString(),from:ls.email,fromName:ls.displayName,to:r.to||"",subject:r.subject||"(Sin asunto)",body:r.body||"",receivedAt:new Date().toISOString(),isRead:!0,folder:"sent"};return ti.push(l),l}async markAsRead(r){await this.delay(100);const l=ti.find(i=>i.id===r);l&&(l.isRead=!0)}}const is=new gw,Q1=Qy({appShell:{display:"flex",height:"100vh",width:"100vw",overflow:"hidden"},navRail:{width:"64px",backgroundColor:ae.colorNeutralBackground2,display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",gap:"8px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,flexShrink:0},navIcon:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"8px",cursor:"pointer",color:ae.colorNeutralForeground2,transition:"all 150ms ease",border:"none",background:"transparent",fontSize:"0"},navIconActive:{backgroundColor:ae.colorBrandBackground,color:ae.colorNeutralForegroundInverted},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderBottom:`1px solid ${ae.colorNeutralStroke2}`,backgroundColor:ae.colorNeutralBackground2,flexShrink:0},toolbarSpacer:{flex:1},contentArea:{flex:1,display:"flex",overflow:"hidden"},folderPanel:{width:"220px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,backgroundColor:ae.colorNeutralBackground2,overflowY:"auto",padding:"8px 0",flexShrink:0},folderItem:{display:"flex",alignItems:"center",gap:"10px",padding:"8px 16px",cursor:"pointer",fontSize:"14px",color:ae.colorNeutralForeground2,transition:"all 100ms",border:"none",background:"transparent",width:"100%",textAlign:"left",borderRadius:"0"},folderItemActive:{backgroundColor:ae.colorBrandBackground2,color:ae.colorBrandForeground1,borderRight:`3px solid ${ae.colorBrandForeground1}`},folderBadge:{marginLeft:"auto"},emailListPanel:{width:"340px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,overflowY:"auto",flexShrink:0,backgroundColor:ae.colorNeutralBackground1},emailItem:{padding:"12px 16px",borderBottom:`1px solid ${ae.colorNeutralStroke2}`,cursor:"pointer",transition:"background 100ms",backgroundColor:ae.colorNeutralBackground1},emailItemUnread:{borderLeft:`3px solid ${ae.colorBrandForeground1}`},emailItemSelected:{backgroundColor:ae.colorBrandBackground2},emailFrom:{fontSize:"14px",fontWeight:"600",color:ae.colorNeutralForeground1,display:"flex",alignItems:"center",gap:"6px"},emailSubject:{fontSize:"13px",color:ae.colorNeutralForeground1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"2px"},emailPreview:{fontSize:"12px",color:ae.colorNeutralForeground3,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"2px"},emailTime:{fontSize:"11px",color:ae.colorNeutralForeground3,marginLeft:"auto",flexShrink:0},detailPanel:{flex:1,overflowY:"auto",padding:"24px 32px",backgroundColor:ae.colorNeutralBackground1},detailHeader:{display:"flex",gap:"14px",alignItems:"flex-start",marginBottom:"20px"},detailMeta:{flex:1},detailSubject:{fontSize:"18px",fontWeight:"700",color:ae.colorNeutralForeground1,marginTop:"4px"},detailBody:{fontSize:"14px",lineHeight:"1.7",color:ae.colorNeutralForeground1,whiteSpace:"pre-wrap",marginTop:"16px"},detailActions:{display:"flex",gap:"8px",marginTop:"24px"},emptyState:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"12px",color:ae.colorNeutralForeground3,backgroundColor:ae.colorNeutralBackground1},composeField:{display:"flex",flexDirection:"column",gap:"4px",padding:"8px 0"},composeFooter:{display:"flex",gap:"8px",paddingTop:"16px"},connectionsPanel:{flex:1,overflowY:"auto",padding:"32px",backgroundColor:ae.colorNeutralBackground1},connCard:{backgroundColor:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"16px",transition:"all 150ms"},connCode:{background:"#1a1a2e",borderRadius:"6px",padding:"16px 20px",fontFamily:"monospace",fontSize:"13px",color:"#a0a0b0",lineHeight:1.8}}),cm=[{id:"inbox",name:"Bandeja de entrada",icon:"📥",unreadCount:4},{id:"sent",name:"Enviados",icon:"📤",unreadCount:0},{id:"drafts",name:"Borradores",icon:"📝",unreadCount:1},{id:"trash",name:"Papelera",icon:"🗑️",unreadCount:0}];function bw(n){const r=new Date(n),i=new Date().getTime()-r.getTime(),s=Math.floor(i/6e4);if(s<1)return"Ahora";if(s<60)return`${s}m`;const f=Math.floor(s/60);return f<24?`${f}h`:r.toLocaleDateString("es-ES",{day:"numeric",month:"short"})}function sm(n){return n.split(" ").map(r=>r[0]).slice(0,2).join("").toUpperCase()}function fm(n){const r=["#D83B01","#A43751","#498205","#008272","#005CC5","#5C2D91","#004078","#B4009E"];let l=0;for(let i=0;i<n.length;i++)l=n.charCodeAt(i)+((l<<5)-l);return r[Math.abs(l)%r.length]}function pw(){const n=Q1(),[r,l]=A.useState("mail"),[i,s]=A.useState("inbox"),[f,v]=A.useState([]),[m,g]=A.useState(null),[h,y]=A.useState(!1),[p,x]=A.useState(""),[_,z]=A.useState(!1),[k,O]=A.useState(""),[D,U]=A.useState(""),[R,V]=A.useState(""),[X,Y]=A.useState(!1),G=A.useCallback(async()=>{y(!0);try{const W=await is.getMessages(i);v(W),g(null)}finally{y(!1)}},[i]);A.useEffect(()=>{r==="mail"&&G()},[r,i,G]);const le=async W=>{g(W),W.isRead||(await is.markAsRead(W.id),v(pe=>pe.map(at=>at.id===W.id?{...at,isRead:!0}:at)))},Xe=async()=>{if(!(!k||!D)){Y(!0);try{await is.sendMessage({to:k,subject:D,body:R}),z(!1),O(""),U(""),V("")}finally{Y(!1)}}},Ue=f.filter(W=>W.subject.toLowerCase().includes(p.toLowerCase())||W.fromName.toLowerCase().includes(p.toLowerCase())),et=cm.find(W=>W.id===i);return H.jsxs("div",{className:n.appShell,children:[H.jsxs("div",{className:n.navRail,children:[H.jsx("button",{className:`${n.navIcon} ${r==="mail"?n.navIconActive:""}`,onClick:()=>l("mail"),title:"Correo",children:H.jsx(Eh,{fontSize:20})}),H.jsx("button",{className:`${n.navIcon} ${r==="connections"?n.navIconActive:""}`,onClick:()=>l("connections"),title:"Conexiones",children:H.jsx(m3,{fontSize:20})}),H.jsx("div",{style:{flex:1}}),H.jsx("button",{className:n.navIcon,onClick:()=>z(!0),title:"Redactar",children:H.jsx(as,{fontSize:20})})]}),H.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden"},children:[H.jsxs("div",{className:n.toolbar,children:[H.jsx(Bn,{appearance:"primary",icon:H.jsx(as,{}),onClick:()=>z(!0),children:"Redactar"}),H.jsx(Bn,{appearance:"subtle",icon:H.jsx(Qx,{}),onClick:G,children:"Recargar"}),H.jsxs("div",{style:{flex:1,position:"relative"},children:[H.jsx(Yx,{style:{position:"absolute",left:10,top:10,color:ae.colorNeutralForeground3,pointerEvents:"none"}}),H.jsx(ii,{placeholder:"Buscar correos...",value:p,onChange:(W,pe)=>x(pe.value),style:{width:"100%",paddingLeft:"32px"}})]})]}),H.jsx("div",{className:n.contentArea,children:r==="mail"?H.jsxs(H.Fragment,{children:[H.jsx("div",{className:n.folderPanel,children:cm.map(W=>H.jsxs("button",{className:`${n.folderItem} ${i===W.id?n.folderItemActive:""}`,onClick:()=>s(W.id),children:[H.jsx("span",{style:{fontSize:"16px"},children:W.id==="inbox"?H.jsx(Vx,{fontSize:16}):W.id==="sent"?H.jsx(Jl,{fontSize:16}):W.id==="drafts"?H.jsx(as,{fontSize:16}):"🗑️"}),H.jsx("span",{children:W.name}),W.unreadCount>0&&H.jsx(Hs,{className:n.folderBadge,appearance:"filled",color:"brand",size:"small",children:W.unreadCount})]},W.id))}),H.jsx("div",{className:n.emailListPanel,children:h?H.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"40px"},children:H.jsx(U1,{})}):Ue.length===0?H.jsxs("div",{className:n.emptyState,children:[H.jsx(Eh,{fontSize:40,style:{opacity:.4}}),H.jsxs(Qt,{children:["No hay correos en ",et.name]})]}):Ue.map(W=>H.jsxs("div",{className:`${n.emailItem} ${W.isRead?"":n.emailItemUnread} ${(m==null?void 0:m.id)===W.id?n.emailItemSelected:""}`,onClick:()=>le(W),children:[H.jsxs("div",{className:n.emailFrom,children:[H.jsx(ys,{name:W.fromName,initials:sm(W.fromName),size:28,badge:W.isRead?void 0:{status:"available"},style:{backgroundColor:fm(W.fromName)}}),H.jsx("span",{children:W.fromName}),H.jsx("span",{className:n.emailTime,children:bw(W.receivedAt)})]}),H.jsx("div",{className:n.emailSubject,children:W.subject}),H.jsxs("div",{className:n.emailPreview,children:[W.body.substring(0,60),"…"]})]},W.id))}),m?H.jsxs("div",{className:n.detailPanel,children:[H.jsxs("div",{className:n.detailHeader,children:[H.jsx(ys,{name:m.fromName,initials:sm(m.fromName),size:40,style:{backgroundColor:fm(m.fromName)}}),H.jsxs("div",{className:n.detailMeta,children:[H.jsx(Qt,{weight:"semibold",size:300,children:m.fromName}),H.jsx(Qt,{className:n.detailSubject,children:m.subject}),H.jsx(Qt,{size:200,style:{color:ae.colorNeutralForeground3,marginTop:"2px"},children:new Date(m.receivedAt).toLocaleString("es-ES",{day:"numeric",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"})})]})]}),H.jsx(Fs,{}),H.jsx("div",{className:n.detailBody,children:m.body}),H.jsxs("div",{className:n.detailActions,children:[H.jsx(Bn,{appearance:"primary",icon:H.jsx(Jl,{}),onClick:()=>{O(m.from),U("Re: "+m.subject),z(!0)},children:"Responder"}),H.jsx(Bn,{appearance:"subtle",icon:H.jsx(Jl,{}),onClick:()=>{O(m.from),U(m.subject),z(!0)},children:"Reenviar"})]})]}):H.jsxs("div",{className:n.emptyState,children:[H.jsx(Xx,{fontSize:48,style:{opacity:.25,color:ae.colorNeutralForeground3}}),H.jsx(Qt,{size:400,style:{opacity:.5},children:"Selecciona un correo para leerlo"})]})]}):H.jsx(yw,{})})]}),H.jsx(Z1,{open:_,onOpenChange:(W,pe)=>z(pe.open),children:H.jsx(V1,{children:H.jsx(X1,{children:H.jsxs(Y1,{children:[H.jsxs("div",{style:{padding:"8px 0",display:"flex",flexDirection:"column",gap:"4px"},children:[H.jsxs("div",{className:n.composeField,children:[H.jsx(pa,{htmlFor:"compose-to",children:"Para"}),H.jsx(ii,{id:"compose-to",placeholder:"destinatario@ejemplo.com",value:k,onChange:(W,pe)=>O(pe.value)})]}),H.jsxs("div",{className:n.composeField,children:[H.jsx(pa,{htmlFor:"compose-subject",children:"Asunto"}),H.jsx(ii,{id:"compose-subject",placeholder:"Asunto del mensaje",value:D,onChange:(W,pe)=>U(pe.value)})]}),H.jsxs("div",{className:n.composeField,children:[H.jsx(pa,{htmlFor:"compose-body",children:"Mensaje"}),H.jsx(L1,{id:"compose-body",placeholder:"Escribe tu mensaje aquí...",value:R,onChange:(W,pe)=>V(pe.value),style:{minHeight:"160px"}})]})]}),H.jsxs("div",{className:n.composeFooter,children:[H.jsx(Bn,{appearance:"primary",icon:H.jsx(Jl,{}),onClick:Xe,disabled:X||!k||!D,children:X?"Enviando…":"Enviar"}),H.jsx(Bn,{appearance:"subtle",onClick:()=>z(!1),children:"Descartar"})]})]})})})})]})}function yw(){const n=Q1(),r=[{id:"1",name:"shared_outlook",displayName:"Outlook",connector:"Microsoft Outlook",status:"connected",color:"#0078D4"},{id:"2",name:"shared_office365",displayName:"Office 365 Users",connector:"Office 365 Users",status:"connected",color:"#D83B01"},{id:"3",name:"shared_dataverse",displayName:"Dataverse",connector:"Microsoft Dataverse",status:"connected",color:"#7719BA"},{id:"4",name:"shared_azuresql",displayName:"Azure SQL",connector:"Azure SQL Database",status:"disconnected",color:"#0078D4"}];return H.jsxs("div",{className:n.connectionsPanel,children:[H.jsx(Qt,{size:600,style:{marginBottom:"4px",display:"block",fontWeight:"700"},children:"Connection references"}),H.jsx(Qt,{size:300,style:{color:ae.colorNeutralForeground3,marginBottom:"24px",display:"block"},children:"Connection references are solution components that point to specific connections. Bind your code app to a reference instead of a direct connection to enable environment promotion."}),H.jsx("div",{style:{background:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"20px 24px",marginBottom:"24px",display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap"},children:[{label:"Tu Code App",bg:ae.colorBrandBackground,color:ae.colorBrandForeground1},{label:"PAC Client",bg:ae.colorNeutralBackground4,color:ae.colorNeutralForeground1},{label:"Connection Ref",bg:ae.colorNeutralBackground4,color:ae.colorNeutralForeground1},{label:"Connection",bg:ae.colorNeutralBackground4,color:ae.colorNeutralForeground1},{label:"Outlook / Dataverse",bg:"#7719BA",color:"#fff"}].map((l,i)=>H.jsxs(_s.Fragment,{children:[H.jsx("div",{style:{background:l.bg,color:l.color,padding:"8px 14px",borderRadius:"6px",fontSize:"13px",fontWeight:"600",whiteSpace:"nowrap"},children:l.label}),i<4&&H.jsx("div",{style:{color:ae.colorNeutralForeground3,fontSize:"16px"},children:"→"})]},i))}),H.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(280px, 1fr))",gap:"12px",marginBottom:"32px"},children:r.map(l=>H.jsxs("div",{style:{background:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"16px",opacity:l.status==="connected"?1:.55},children:[H.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",marginBottom:"8px"},children:[H.jsx("div",{style:{width:"36px",height:"36px",borderRadius:"6px",background:l.color,display:"flex",alignItems:"center",justifyContent:"center",color:"white",fontSize:"16px",fontWeight:"700"},children:l.displayName[0]}),H.jsxs("div",{style:{flex:1},children:[H.jsx(Qt,{weight:"semibold",size:300,children:l.displayName}),H.jsx(Qt,{size:200,style:{color:ae.colorNeutralForeground3},children:l.connector})]}),H.jsx(Hs,{appearance:"filled",color:l.status==="connected"?"success":"danger",size:"small",children:l.status==="connected"?"Conectado":"Desconectado"})]}),H.jsx(Qt,{size:200,style:{color:ae.colorNeutralForeground3,fontFamily:"monospace"},children:l.name})]},l.id))}),H.jsx(Fs,{style:{margin:"0 0 24px"}}),H.jsx(Qt,{size:400,style:{marginBottom:"12px",display:"block",fontWeight:"600"},children:"PAC CLI commands"}),H.jsxs("div",{className:n.connCode,children:[H.jsx("div",{children:H.jsx("span",{style:{color:"#6b9fff"},children:"# Listar conexiones disponibles"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0"},children:"pac connection list"})}),H.jsx("br",{}),H.jsx("div",{children:H.jsx("span",{style:{color:"#6b9fff"},children:"# Añadir Outlook como data source"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0"},children:"pac code add-data-source -a shared_outlook ^"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0",paddingLeft:"24px"},children:"-c aaaaaaaa-0000-1111-bbbb-cccccccccccc"})}),H.jsx("br",{}),H.jsx("div",{children:H.jsx("span",{style:{color:"#6b9fff"},children:"# Añadir Dataverse (tabular)"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0"},children:"pac code add-data-source -a shared_dataverse ^"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0",paddingLeft:"24px"},children:"-c bbbbbbbb-2222-3333-cccc-dddddddddddd ^"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0",paddingLeft:"24px"},children:"-t accounts -d default"})})]})]})}Ep.createRoot(document.getElementById("root")).render(H.jsx(_s.StrictMode,{children:H.jsx(pw,{})}));
|