@cyco77/pptb-user-security-utility 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +135 -48
- package/dist/assets/index-nvsKYpsZ.js +13 -0
- package/dist/index.html +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/assets/index-ys3HPQ3U.js +0 -11
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
(function(){"use strict";var zd=document.createElement("style");zd.textContent=`*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6;min-height:100vh}#root{height:100vh}[role=grid] [role=rowgroup]:first-child{position:sticky;top:0;z-index:10;background-color:var(--colorNeutralBackground1, #ffffff)}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(zd);function Nd(e,o){for(var n=0;n<o.length;n++){const i=o[n];if(typeof i!="string"&&!Array.isArray(i)){for(const l in i)if(l!=="default"&&!(l in e)){const c=Object.getOwnPropertyDescriptor(i,l);c&&Object.defineProperty(e,l,c.get?c:{enumerable:!0,get:()=>i[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Td(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oa={exports:{}},Gn={},na={exports:{}},Be={};var Ed;function B0(){if(Ed)return Be;Ed=1;var e=Symbol.for("react.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function y(R){return R===null||typeof R!="object"?null:(R=v&&R[v]||R["@@iterator"],typeof R=="function"?R:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,k={};function _(R,M,ce){this.props=R,this.context=M,this.refs=k,this.updater=ce||b}_.prototype.isReactComponent={},_.prototype.setState=function(R,M){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,M,"setState")},_.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function C(){}C.prototype=_.prototype;function N(R,M,ce){this.props=R,this.context=M,this.refs=k,this.updater=ce||b}var T=N.prototype=new C;T.constructor=N,w(T,_.prototype),T.isPureReactComponent=!0;var z=Array.isArray,j=Object.prototype.hasOwnProperty,q={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function W(R,M,ce){var fe,Pe={},je=null,Te=null;if(M!=null)for(fe in M.ref!==void 0&&(Te=M.ref),M.key!==void 0&&(je=""+M.key),M)j.call(M,fe)&&!A.hasOwnProperty(fe)&&(Pe[fe]=M[fe]);var _e=arguments.length-2;if(_e===1)Pe.children=ce;else if(1<_e){for(var He=Array(_e),Dt=0;Dt<_e;Dt++)He[Dt]=arguments[Dt+2];Pe.children=He}if(R&&R.defaultProps)for(fe in _e=R.defaultProps,_e)Pe[fe]===void 0&&(Pe[fe]=_e[fe]);return{$$typeof:e,type:R,key:je,ref:Te,props:Pe,_owner:q.current}}function J(R,M){return{$$typeof:e,type:R.type,key:M,ref:R.ref,props:R.props,_owner:R._owner}}function te(R){return typeof R=="object"&&R!==null&&R.$$typeof===e}function ve(R){var M={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(ce){return M[ce]})}var pe=/\/+/g;function $(R,M){return typeof R=="object"&&R!==null&&R.key!=null?ve(""+R.key):M.toString(36)}function oe(R,M,ce,fe,Pe){var je=typeof R;(je==="undefined"||je==="boolean")&&(R=null);var Te=!1;if(R===null)Te=!0;else switch(je){case"string":case"number":Te=!0;break;case"object":switch(R.$$typeof){case e:case o:Te=!0}}if(Te)return Te=R,Pe=Pe(Te),R=fe===""?"."+$(Te,0):fe,z(Pe)?(ce="",R!=null&&(ce=R.replace(pe,"$&/")+"/"),oe(Pe,M,ce,"",function(Dt){return Dt})):Pe!=null&&(te(Pe)&&(Pe=J(Pe,ce+(!Pe.key||Te&&Te.key===Pe.key?"":(""+Pe.key).replace(pe,"$&/")+"/")+R)),M.push(Pe)),1;if(Te=0,fe=fe===""?".":fe+":",z(R))for(var _e=0;_e<R.length;_e++){je=R[_e];var He=fe+$(je,_e);Te+=oe(je,M,ce,He,Pe)}else if(He=y(R),typeof He=="function")for(R=He.call(R),_e=0;!(je=R.next()).done;)je=je.value,He=fe+$(je,_e++),Te+=oe(je,M,ce,He,Pe);else if(je==="object")throw M=String(R),Error("Objects are not valid as a React child (found: "+(M==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":M)+"). If you meant to render a collection of children, use an array instead.");return Te}function Ne(R,M,ce){if(R==null)return R;var fe=[],Pe=0;return oe(R,fe,"","",function(je){return M.call(ce,je,Pe++)}),fe}function ye(R){if(R._status===-1){var M=R._result;M=M(),M.then(function(ce){(R._status===0||R._status===-1)&&(R._status=1,R._result=ce)},function(ce){(R._status===0||R._status===-1)&&(R._status=2,R._result=ce)}),R._status===-1&&(R._status=0,R._result=M)}if(R._status===1)return R._result.default;throw R._result}var me={current:null},G={transition:null},ee={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:G,ReactCurrentOwner:q};function Z(){throw Error("act(...) is not supported in production builds of React.")}return Be.Children={map:Ne,forEach:function(R,M,ce){Ne(R,function(){M.apply(this,arguments)},ce)},count:function(R){var M=0;return Ne(R,function(){M++}),M},toArray:function(R){return Ne(R,function(M){return M})||[]},only:function(R){if(!te(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},Be.Component=_,Be.Fragment=n,Be.Profiler=l,Be.PureComponent=N,Be.StrictMode=i,Be.Suspense=p,Be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,Be.act=Z,Be.cloneElement=function(R,M,ce){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var fe=w({},R.props),Pe=R.key,je=R.ref,Te=R._owner;if(M!=null){if(M.ref!==void 0&&(je=M.ref,Te=q.current),M.key!==void 0&&(Pe=""+M.key),R.type&&R.type.defaultProps)var _e=R.type.defaultProps;for(He in M)j.call(M,He)&&!A.hasOwnProperty(He)&&(fe[He]=M[He]===void 0&&_e!==void 0?_e[He]:M[He])}var He=arguments.length-2;if(He===1)fe.children=ce;else if(1<He){_e=Array(He);for(var Dt=0;Dt<He;Dt++)_e[Dt]=arguments[Dt+2];fe.children=_e}return{$$typeof:e,type:R.type,key:Pe,ref:je,props:fe,_owner:Te}},Be.createContext=function(R){return R={$$typeof:u,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:c,_context:R},R.Consumer=R},Be.createElement=W,Be.createFactory=function(R){var M=W.bind(null,R);return M.type=R,M},Be.createRef=function(){return{current:null}},Be.forwardRef=function(R){return{$$typeof:f,render:R}},Be.isValidElement=te,Be.lazy=function(R){return{$$typeof:g,_payload:{_status:-1,_result:R},_init:ye}},Be.memo=function(R,M){return{$$typeof:h,type:R,compare:M===void 0?null:M}},Be.startTransition=function(R){var M=G.transition;G.transition={};try{R()}finally{G.transition=M}},Be.unstable_act=Z,Be.useCallback=function(R,M){return me.current.useCallback(R,M)},Be.useContext=function(R){return me.current.useContext(R)},Be.useDebugValue=function(){},Be.useDeferredValue=function(R){return me.current.useDeferredValue(R)},Be.useEffect=function(R,M){return me.current.useEffect(R,M)},Be.useId=function(){return me.current.useId()},Be.useImperativeHandle=function(R,M,ce){return me.current.useImperativeHandle(R,M,ce)},Be.useInsertionEffect=function(R,M){return me.current.useInsertionEffect(R,M)},Be.useLayoutEffect=function(R,M){return me.current.useLayoutEffect(R,M)},Be.useMemo=function(R,M){return me.current.useMemo(R,M)},Be.useReducer=function(R,M,ce){return me.current.useReducer(R,M,ce)},Be.useRef=function(R){return me.current.useRef(R)},Be.useState=function(R){return me.current.useState(R)},Be.useSyncExternalStore=function(R,M,ce){return me.current.useSyncExternalStore(R,M,ce)},Be.useTransition=function(){return me.current.useTransition()},Be.version="18.3.1",Be}var Pd;function ia(){return Pd||(Pd=1,na.exports=B0()),na.exports}var jd;function C0(){if(jd)return Gn;jd=1;var e=ia(),o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(f,p,h){var g,v={},y=null,b=null;h!==void 0&&(y=""+h),p.key!==void 0&&(y=""+p.key),p.ref!==void 0&&(b=p.ref);for(g in p)i.call(p,g)&&!c.hasOwnProperty(g)&&(v[g]=p[g]);if(f&&f.defaultProps)for(g in p=f.defaultProps,p)v[g]===void 0&&(v[g]=p[g]);return{$$typeof:o,type:f,key:y,ref:b,props:v,_owner:l.current}}return Gn.Fragment=n,Gn.jsx=u,Gn.jsxs=u,Gn}var Rd;function z0(){return Rd||(Rd=1,oa.exports=C0()),oa.exports}var I=z0();const N0=Nd({__proto__:null,default:Td(I)},[I]);var S=ia();const Fd=Td(S),es=Nd({__proto__:null,default:Fd},[S]);var ts={},sa={exports:{}},qt={},la={exports:{}},aa={};var Dd;function T0(){return Dd||(Dd=1,(function(e){function o(G,ee){var Z=G.length;G.push(ee);e:for(;0<Z;){var R=Z-1>>>1,M=G[R];if(0<l(M,ee))G[R]=ee,G[Z]=M,Z=R;else break e}}function n(G){return G.length===0?null:G[0]}function i(G){if(G.length===0)return null;var ee=G[0],Z=G.pop();if(Z!==ee){G[0]=Z;e:for(var R=0,M=G.length,ce=M>>>1;R<ce;){var fe=2*(R+1)-1,Pe=G[fe],je=fe+1,Te=G[je];if(0>l(Pe,Z))je<M&&0>l(Te,Pe)?(G[R]=Te,G[je]=Z,R=je):(G[R]=Pe,G[fe]=Z,R=fe);else if(je<M&&0>l(Te,Z))G[R]=Te,G[je]=Z,R=je;else break e}}return ee}function l(G,ee){var Z=G.sortIndex-ee.sortIndex;return Z!==0?Z:G.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var p=[],h=[],g=1,v=null,y=3,b=!1,w=!1,k=!1,_=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(G){for(var ee=n(h);ee!==null;){if(ee.callback===null)i(h);else if(ee.startTime<=G)i(h),ee.sortIndex=ee.expirationTime,o(p,ee);else break;ee=n(h)}}function z(G){if(k=!1,T(G),!w)if(n(p)!==null)w=!0,ye(j);else{var ee=n(h);ee!==null&&me(z,ee.startTime-G)}}function j(G,ee){w=!1,k&&(k=!1,C(W),W=-1),b=!0;var Z=y;try{for(T(ee),v=n(p);v!==null&&(!(v.expirationTime>ee)||G&&!ve());){var R=v.callback;if(typeof R=="function"){v.callback=null,y=v.priorityLevel;var M=R(v.expirationTime<=ee);ee=e.unstable_now(),typeof M=="function"?v.callback=M:v===n(p)&&i(p),T(ee)}else i(p);v=n(p)}if(v!==null)var ce=!0;else{var fe=n(h);fe!==null&&me(z,fe.startTime-ee),ce=!1}return ce}finally{v=null,y=Z,b=!1}}var q=!1,A=null,W=-1,J=5,te=-1;function ve(){return!(e.unstable_now()-te<J)}function pe(){if(A!==null){var G=e.unstable_now();te=G;var ee=!0;try{ee=A(!0,G)}finally{ee?$():(q=!1,A=null)}}else q=!1}var $;if(typeof N=="function")$=function(){N(pe)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,Ne=oe.port2;oe.port1.onmessage=pe,$=function(){Ne.postMessage(null)}}else $=function(){_(pe,0)};function ye(G){A=G,q||(q=!0,$())}function me(G,ee){W=_(function(){G(e.unstable_now())},ee)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(G){G.callback=null},e.unstable_continueExecution=function(){w||b||(w=!0,ye(j))},e.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<G?Math.floor(1e3/G):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(p)},e.unstable_next=function(G){switch(y){case 1:case 2:case 3:var ee=3;break;default:ee=y}var Z=y;y=ee;try{return G()}finally{y=Z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(G,ee){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var Z=y;y=G;try{return ee()}finally{y=Z}},e.unstable_scheduleCallback=function(G,ee,Z){var R=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?R+Z:R):Z=R,G){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=Z+M,G={id:g++,callback:ee,priorityLevel:G,startTime:Z,expirationTime:M,sortIndex:-1},Z>R?(G.sortIndex=Z,o(h,G),n(p)===null&&G===n(h)&&(k?(C(W),W=-1):k=!0,me(z,Z-R))):(G.sortIndex=M,o(p,G),w||b||(w=!0,ye(j))),G},e.unstable_shouldYield=ve,e.unstable_wrapCallback=function(G){var ee=y;return function(){var Z=y;y=ee;try{return G.apply(this,arguments)}finally{y=Z}}}})(aa)),aa}var Id;function Od(){return Id||(Id=1,la.exports=T0()),la.exports}var Ad;function E0(){if(Ad)return qt;Ad=1;var e=ia(),o=Od();function n(t){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+t,s=1;s<arguments.length;s++)r+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+t+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function c(t,r){u(t,r),u(t+"Capture",r)}function u(t,r){for(l[t]=r,t=0;t<r.length;t++)i.add(r[t])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,h=/^[: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]*$/,g={},v={};function y(t){return p.call(v,t)?!0:p.call(g,t)?!1:h.test(t)?v[t]=!0:(g[t]=!0,!1)}function b(t,r,s,a){if(s!==null&&s.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return a?!1:s!==null?!s.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function w(t,r,s,a){if(r===null||typeof r>"u"||b(t,r,s,a))return!0;if(a)return!1;if(s!==null)switch(s.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function k(t,r,s,a,d,m,x){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=a,this.attributeNamespace=d,this.mustUseProperty=s,this.propertyName=t,this.type=r,this.sanitizeURL=m,this.removeEmptyString=x}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){_[t]=new k(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var r=t[0];_[r]=new k(r,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){_[t]=new k(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){_[t]=new k(t,2,!1,t,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){_[t]=new k(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){_[t]=new k(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){_[t]=new k(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){_[t]=new k(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){_[t]=new k(t,5,!1,t.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function N(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var r=t.replace(C,N);_[r]=new k(r,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var r=t.replace(C,N);_[r]=new k(r,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(C,N);_[r]=new k(r,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){_[t]=new k(t,1,!1,t.toLowerCase(),null,!1,!1)}),_.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){_[t]=new k(t,1,!1,t.toLowerCase(),null,!0,!0)});function T(t,r,s,a){var d=_.hasOwnProperty(r)?_[r]:null;(d!==null?d.type!==0:a||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(w(r,s,d,a)&&(s=null),a||d===null?y(r)&&(s===null?t.removeAttribute(r):t.setAttribute(r,""+s)):d.mustUseProperty?t[d.propertyName]=s===null?d.type===3?!1:"":s:(r=d.attributeName,a=d.attributeNamespace,s===null?t.removeAttribute(r):(d=d.type,s=d===3||d===4&&s===!0?"":""+s,a?t.setAttributeNS(a,r,s):t.setAttribute(r,s))))}var z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,j=Symbol.for("react.element"),q=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),ve=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),Ne=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),me=Symbol.for("react.offscreen"),G=Symbol.iterator;function ee(t){return t===null||typeof t!="object"?null:(t=G&&t[G]||t["@@iterator"],typeof t=="function"?t:null)}var Z=Object.assign,R;function M(t){if(R===void 0)try{throw Error()}catch(s){var r=s.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return`
|
|
3
|
+
`+R+t}var ce=!1;function fe(t,r){if(!t||ce)return"";ce=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(O){var a=O}Reflect.construct(t,[],r)}else{try{r.call()}catch(O){a=O}t.call(r.prototype)}else{try{throw Error()}catch(O){a=O}t()}}catch(O){if(O&&a&&typeof O.stack=="string"){for(var d=O.stack.split(`
|
|
4
|
+
`),m=a.stack.split(`
|
|
5
|
+
`),x=d.length-1,B=m.length-1;1<=x&&0<=B&&d[x]!==m[B];)B--;for(;1<=x&&0<=B;x--,B--)if(d[x]!==m[B]){if(x!==1||B!==1)do if(x--,B--,0>B||d[x]!==m[B]){var E=`
|
|
6
|
+
`+d[x].replace(" at new "," at ");return t.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",t.displayName)),E}while(1<=x&&0<=B);break}}}finally{ce=!1,Error.prepareStackTrace=s}return(t=t?t.displayName||t.name:"")?M(t):""}function Pe(t){switch(t.tag){case 5:return M(t.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return t=fe(t.type,!1),t;case 11:return t=fe(t.type.render,!1),t;case 1:return t=fe(t.type,!0),t;default:return""}}function je(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case A:return"Fragment";case q:return"Portal";case J:return"Profiler";case W:return"StrictMode";case $:return"Suspense";case oe:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case ve:return(t.displayName||"Context")+".Consumer";case te:return(t._context.displayName||"Context")+".Provider";case pe:var r=t.render;return t=t.displayName,t||(t=r.displayName||r.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Ne:return r=t.displayName||null,r!==null?r:je(t.type)||"Memo";case ye:r=t._payload,t=t._init;try{return je(t(r))}catch{}}return null}function Te(t){var r=t.type;switch(t.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=r.render,t=t.displayName||t.name||"",r.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return je(r);case 8:return r===W?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function _e(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function He(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Dt(t){var r=He(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,r),a=""+t[r];if(!t.hasOwnProperty(r)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,m=s.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return d.call(this)},set:function(x){a=""+x,m.call(this,x)}}),Object.defineProperty(t,r,{enumerable:s.enumerable}),{getValue:function(){return a},setValue:function(x){a=""+x},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function kn(t){t._valueTracker||(t._valueTracker=Dt(t))}function Xs(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var s=r.getValue(),a="";return t&&(a=He(t)?t.checked?"true":"false":t.value),t=a,t!==s?(r.setValue(t),!0):!1}function xn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function L(t,r){var s=r.checked;return Z({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??t._wrapperState.initialChecked})}function ke(t,r){var s=r.defaultValue==null?"":r.defaultValue,a=r.checked!=null?r.checked:r.defaultChecked;s=_e(r.value!=null?r.value:s),t._wrapperState={initialChecked:a,initialValue:s,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Ee(t,r){r=r.checked,r!=null&&T(t,"checked",r,!1)}function st(t,r){Ee(t,r);var s=_e(r.value),a=r.type;if(s!=null)a==="number"?(s===0&&t.value===""||t.value!=s)&&(t.value=""+s):t.value!==""+s&&(t.value=""+s);else if(a==="submit"||a==="reset"){t.removeAttribute("value");return}r.hasOwnProperty("value")?It(t,r.type,s):r.hasOwnProperty("defaultValue")&&It(t,r.type,_e(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(t.defaultChecked=!!r.defaultChecked)}function St(t,r,s){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var a=r.type;if(!(a!=="submit"&&a!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+t._wrapperState.initialValue,s||r===t.value||(t.value=r),t.defaultValue=r}s=t.name,s!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,s!==""&&(t.name=s)}function It(t,r,s){(r!=="number"||xn(t.ownerDocument)!==t)&&(s==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+s&&(t.defaultValue=""+s))}var Se=Array.isArray;function gt(t,r,s,a){if(t=t.options,r){r={};for(var d=0;d<s.length;d++)r["$"+s[d]]=!0;for(s=0;s<t.length;s++)d=r.hasOwnProperty("$"+t[s].value),t[s].selected!==d&&(t[s].selected=d),d&&a&&(t[s].defaultSelected=!0)}else{for(s=""+_e(s),r=null,d=0;d<t.length;d++){if(t[d].value===s){t[d].selected=!0,a&&(t[d].defaultSelected=!0);return}r!==null||t[d].disabled||(r=t[d])}r!==null&&(r.selected=!0)}}function Mr(t,r){if(r.dangerouslySetInnerHTML!=null)throw Error(n(91));return Z({},r,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function $e(t,r){var s=r.value;if(s==null){if(s=r.children,r=r.defaultValue,s!=null){if(r!=null)throw Error(n(92));if(Se(s)){if(1<s.length)throw Error(n(93));s=s[0]}r=s}r==null&&(r=""),s=r}t._wrapperState={initialValue:_e(s)}}function Wt(t,r){var s=_e(r.value),a=_e(r.defaultValue);s!=null&&(s=""+s,s!==t.value&&(t.value=s),r.defaultValue==null&&t.defaultValue!==s&&(t.defaultValue=s)),a!=null&&(t.defaultValue=""+a)}function ze(t){var r=t.textContent;r===t._wrapperState.initialValue&&r!==""&&r!==null&&(t.value=r)}function Et(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function er(t,r){return t==null||t==="http://www.w3.org/1999/xhtml"?Et(r):t==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Qe,_r=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,s,a,d){MSApp.execUnsafeLocalFunction(function(){return t(r,s,a,d)})}:t})(function(t,r){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=r;else{for(Qe=Qe||document.createElement("div"),Qe.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Qe.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;r.firstChild;)t.appendChild(r.firstChild)}});function _t(t,r){if(r){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=r;return}}t.textContent=r}var Br={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$o=["Webkit","ms","Moz","O"];Object.keys(Br).forEach(function(t){$o.forEach(function(r){r=r+t.charAt(0).toUpperCase()+t.substring(1),Br[r]=Br[t]})});function qh(t,r,s){return r==null||typeof r=="boolean"||r===""?"":s||typeof r!="number"||r===0||Br.hasOwnProperty(t)&&Br[t]?(""+r).trim():r+"px"}function Mh(t,r){t=t.style;for(var s in r)if(r.hasOwnProperty(s)){var a=s.indexOf("--")===0,d=qh(s,r[s],a);s==="float"&&(s="cssFloat"),a?t.setProperty(s,d):t[s]=d}}var u5=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function qc(t,r){if(r){if(u5[t]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(n(137,t));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(n(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(n(61))}if(r.style!=null&&typeof r.style!="object")throw Error(n(62))}}function Mc(t,r){if(t.indexOf("-")===-1)return typeof r.is=="string";switch(t){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 Lc=null;function Hc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Wc=null,Sn=null,_n=null;function Lh(t){if(t=qi(t)){if(typeof Wc!="function")throw Error(n(280));var r=t.stateNode;r&&(r=bl(r),Wc(t.stateNode,t.type,r))}}function Hh(t){Sn?_n?_n.push(t):_n=[t]:Sn=t}function Wh(){if(Sn){var t=Sn,r=_n;if(_n=Sn=null,Lh(t),r)for(t=0;t<r.length;t++)Lh(r[t])}}function $h(t,r){return t(r)}function Vh(){}var $c=!1;function Uh(t,r,s){if($c)return t(r,s);$c=!0;try{return $h(t,r,s)}finally{$c=!1,(Sn!==null||_n!==null)&&(Vh(),Wh())}}function bi(t,r){var s=t.stateNode;if(s===null)return null;var a=bl(s);if(a===null)return null;s=a[r];e:switch(r){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)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break e;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(n(231,r,typeof s));return s}var Vc=!1;if(f)try{var yi={};Object.defineProperty(yi,"passive",{get:function(){Vc=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{Vc=!1}function d5(t,r,s,a,d,m,x,B,E){var O=Array.prototype.slice.call(arguments,3);try{r.apply(s,O)}catch(K){this.onError(K)}}var wi=!1,Qs=null,Ys=!1,Uc=null,f5={onError:function(t){wi=!0,Qs=t}};function p5(t,r,s,a,d,m,x,B,E){wi=!1,Qs=null,d5.apply(f5,arguments)}function m5(t,r,s,a,d,m,x,B,E){if(p5.apply(this,arguments),wi){if(wi){var O=Qs;wi=!1,Qs=null}else throw Error(n(198));Ys||(Ys=!0,Uc=O)}}function Vo(t){var r=t,s=t;if(t.alternate)for(;r.return;)r=r.return;else{t=r;do r=t,(r.flags&4098)!==0&&(s=r.return),t=r.return;while(t)}return r.tag===3?s:null}function Gh(t){if(t.tag===13){var r=t.memoizedState;if(r===null&&(t=t.alternate,t!==null&&(r=t.memoizedState)),r!==null)return r.dehydrated}return null}function Kh(t){if(Vo(t)!==t)throw Error(n(188))}function h5(t){var r=t.alternate;if(!r){if(r=Vo(t),r===null)throw Error(n(188));return r!==t?null:t}for(var s=t,a=r;;){var d=s.return;if(d===null)break;var m=d.alternate;if(m===null){if(a=d.return,a!==null){s=a;continue}break}if(d.child===m.child){for(m=d.child;m;){if(m===s)return Kh(d),t;if(m===a)return Kh(d),r;m=m.sibling}throw Error(n(188))}if(s.return!==a.return)s=d,a=m;else{for(var x=!1,B=d.child;B;){if(B===s){x=!0,s=d,a=m;break}if(B===a){x=!0,a=d,s=m;break}B=B.sibling}if(!x){for(B=m.child;B;){if(B===s){x=!0,s=m,a=d;break}if(B===a){x=!0,a=m,s=d;break}B=B.sibling}if(!x)throw Error(n(189))}}if(s.alternate!==a)throw Error(n(190))}if(s.tag!==3)throw Error(n(188));return s.stateNode.current===s?t:r}function Xh(t){return t=h5(t),t!==null?Qh(t):null}function Qh(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var r=Qh(t);if(r!==null)return r;t=t.sibling}return null}var Yh=o.unstable_scheduleCallback,Jh=o.unstable_cancelCallback,g5=o.unstable_shouldYield,v5=o.unstable_requestPaint,lt=o.unstable_now,b5=o.unstable_getCurrentPriorityLevel,Gc=o.unstable_ImmediatePriority,Zh=o.unstable_UserBlockingPriority,Js=o.unstable_NormalPriority,y5=o.unstable_LowPriority,eg=o.unstable_IdlePriority,Zs=null,Lr=null;function w5(t){if(Lr&&typeof Lr.onCommitFiberRoot=="function")try{Lr.onCommitFiberRoot(Zs,t,void 0,(t.current.flags&128)===128)}catch{}}var Cr=Math.clz32?Math.clz32:S5,k5=Math.log,x5=Math.LN2;function S5(t){return t>>>=0,t===0?32:31-(k5(t)/x5|0)|0}var el=64,tl=4194304;function ki(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function rl(t,r){var s=t.pendingLanes;if(s===0)return 0;var a=0,d=t.suspendedLanes,m=t.pingedLanes,x=s&268435455;if(x!==0){var B=x&~d;B!==0?a=ki(B):(m&=x,m!==0&&(a=ki(m)))}else x=s&~d,x!==0?a=ki(x):m!==0&&(a=ki(m));if(a===0)return 0;if(r!==0&&r!==a&&(r&d)===0&&(d=a&-a,m=r&-r,d>=m||d===16&&(m&4194240)!==0))return r;if((a&4)!==0&&(a|=s&16),r=t.entangledLanes,r!==0)for(t=t.entanglements,r&=a;0<r;)s=31-Cr(r),d=1<<s,a|=t[s],r&=~d;return a}function _5(t,r){switch(t){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function B5(t,r){for(var s=t.suspendedLanes,a=t.pingedLanes,d=t.expirationTimes,m=t.pendingLanes;0<m;){var x=31-Cr(m),B=1<<x,E=d[x];E===-1?((B&s)===0||(B&a)!==0)&&(d[x]=_5(B,r)):E<=r&&(t.expiredLanes|=B),m&=~B}}function Kc(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function tg(){var t=el;return el<<=1,(el&4194240)===0&&(el=64),t}function Xc(t){for(var r=[],s=0;31>s;s++)r.push(t);return r}function xi(t,r,s){t.pendingLanes|=r,r!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,r=31-Cr(r),t[r]=s}function C5(t,r){var s=t.pendingLanes&~r;t.pendingLanes=r,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=r,t.mutableReadLanes&=r,t.entangledLanes&=r,r=t.entanglements;var a=t.eventTimes;for(t=t.expirationTimes;0<s;){var d=31-Cr(s),m=1<<d;r[d]=0,a[d]=-1,t[d]=-1,s&=~m}}function Qc(t,r){var s=t.entangledLanes|=r;for(t=t.entanglements;s;){var a=31-Cr(s),d=1<<a;d&r|t[a]&r&&(t[a]|=r),s&=~d}}var Ae=0;function rg(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var og,Yc,ng,ig,sg,Jc=!1,ol=[],yo=null,wo=null,ko=null,Si=new Map,_i=new Map,xo=[],z5="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function lg(t,r){switch(t){case"focusin":case"focusout":yo=null;break;case"dragenter":case"dragleave":wo=null;break;case"mouseover":case"mouseout":ko=null;break;case"pointerover":case"pointerout":Si.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":_i.delete(r.pointerId)}}function Bi(t,r,s,a,d,m){return t===null||t.nativeEvent!==m?(t={blockedOn:r,domEventName:s,eventSystemFlags:a,nativeEvent:m,targetContainers:[d]},r!==null&&(r=qi(r),r!==null&&Yc(r)),t):(t.eventSystemFlags|=a,r=t.targetContainers,d!==null&&r.indexOf(d)===-1&&r.push(d),t)}function N5(t,r,s,a,d){switch(r){case"focusin":return yo=Bi(yo,t,r,s,a,d),!0;case"dragenter":return wo=Bi(wo,t,r,s,a,d),!0;case"mouseover":return ko=Bi(ko,t,r,s,a,d),!0;case"pointerover":var m=d.pointerId;return Si.set(m,Bi(Si.get(m)||null,t,r,s,a,d)),!0;case"gotpointercapture":return m=d.pointerId,_i.set(m,Bi(_i.get(m)||null,t,r,s,a,d)),!0}return!1}function ag(t){var r=Uo(t.target);if(r!==null){var s=Vo(r);if(s!==null){if(r=s.tag,r===13){if(r=Gh(s),r!==null){t.blockedOn=r,sg(t.priority,function(){ng(s)});return}}else if(r===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}function nl(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var s=eu(t.domEventName,t.eventSystemFlags,r[0],t.nativeEvent);if(s===null){s=t.nativeEvent;var a=new s.constructor(s.type,s);Lc=a,s.target.dispatchEvent(a),Lc=null}else return r=qi(s),r!==null&&Yc(r),t.blockedOn=s,!1;r.shift()}return!0}function cg(t,r,s){nl(t)&&s.delete(r)}function T5(){Jc=!1,yo!==null&&nl(yo)&&(yo=null),wo!==null&&nl(wo)&&(wo=null),ko!==null&&nl(ko)&&(ko=null),Si.forEach(cg),_i.forEach(cg)}function Ci(t,r){t.blockedOn===r&&(t.blockedOn=null,Jc||(Jc=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,T5)))}function zi(t){function r(d){return Ci(d,t)}if(0<ol.length){Ci(ol[0],t);for(var s=1;s<ol.length;s++){var a=ol[s];a.blockedOn===t&&(a.blockedOn=null)}}for(yo!==null&&Ci(yo,t),wo!==null&&Ci(wo,t),ko!==null&&Ci(ko,t),Si.forEach(r),_i.forEach(r),s=0;s<xo.length;s++)a=xo[s],a.blockedOn===t&&(a.blockedOn=null);for(;0<xo.length&&(s=xo[0],s.blockedOn===null);)ag(s),s.blockedOn===null&&xo.shift()}var Bn=z.ReactCurrentBatchConfig,il=!0;function E5(t,r,s,a){var d=Ae,m=Bn.transition;Bn.transition=null;try{Ae=1,Zc(t,r,s,a)}finally{Ae=d,Bn.transition=m}}function P5(t,r,s,a){var d=Ae,m=Bn.transition;Bn.transition=null;try{Ae=4,Zc(t,r,s,a)}finally{Ae=d,Bn.transition=m}}function Zc(t,r,s,a){if(il){var d=eu(t,r,s,a);if(d===null)vu(t,r,a,sl,s),lg(t,a);else if(N5(d,t,r,s,a))a.stopPropagation();else if(lg(t,a),r&4&&-1<z5.indexOf(t)){for(;d!==null;){var m=qi(d);if(m!==null&&og(m),m=eu(t,r,s,a),m===null&&vu(t,r,a,sl,s),m===d)break;d=m}d!==null&&a.stopPropagation()}else vu(t,r,a,null,s)}}var sl=null;function eu(t,r,s,a){if(sl=null,t=Hc(a),t=Uo(t),t!==null)if(r=Vo(t),r===null)t=null;else if(s=r.tag,s===13){if(t=Gh(r),t!==null)return t;t=null}else if(s===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null);return sl=t,null}function ug(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(b5()){case Gc:return 1;case Zh:return 4;case Js:case y5:return 16;case eg:return 536870912;default:return 16}default:return 16}}var So=null,tu=null,ll=null;function dg(){if(ll)return ll;var t,r=tu,s=r.length,a,d="value"in So?So.value:So.textContent,m=d.length;for(t=0;t<s&&r[t]===d[t];t++);var x=s-t;for(a=1;a<=x&&r[s-a]===d[m-a];a++);return ll=d.slice(t,1<a?1-a:void 0)}function al(t){var r=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&r===13&&(t=13)):t=r,t===10&&(t=13),32<=t||t===13?t:0}function cl(){return!0}function fg(){return!1}function tr(t){function r(s,a,d,m,x){this._reactName=s,this._targetInst=d,this.type=a,this.nativeEvent=m,this.target=x,this.currentTarget=null;for(var B in t)t.hasOwnProperty(B)&&(s=t[B],this[B]=s?s(m):m[B]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?cl:fg,this.isPropagationStopped=fg,this}return Z(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=cl)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=cl)},persist:function(){},isPersistent:cl}),r}var Cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ru=tr(Cn),Ni=Z({},Cn,{view:0,detail:0}),j5=tr(Ni),ou,nu,Ti,ul=Z({},Ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:su,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ti&&(Ti&&t.type==="mousemove"?(ou=t.screenX-Ti.screenX,nu=t.screenY-Ti.screenY):nu=ou=0,Ti=t),ou)},movementY:function(t){return"movementY"in t?t.movementY:nu}}),pg=tr(ul),R5=Z({},ul,{dataTransfer:0}),F5=tr(R5),D5=Z({},Ni,{relatedTarget:0}),iu=tr(D5),I5=Z({},Cn,{animationName:0,elapsedTime:0,pseudoElement:0}),O5=tr(I5),A5=Z({},Cn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),q5=tr(A5),M5=Z({},Cn,{data:0}),mg=tr(M5),L5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},H5={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"},W5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $5(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=W5[t])?!!r[t]:!1}function su(){return $5}var V5=Z({},Ni,{key:function(t){if(t.key){var r=L5[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=al(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?H5[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:su,charCode:function(t){return t.type==="keypress"?al(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?al(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),U5=tr(V5),G5=Z({},ul,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hg=tr(G5),K5=Z({},Ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:su}),X5=tr(K5),Q5=Z({},Cn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Y5=tr(Q5),J5=Z({},ul,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Z5=tr(J5),e3=[9,13,27,32],lu=f&&"CompositionEvent"in window,Ei=null;f&&"documentMode"in document&&(Ei=document.documentMode);var t3=f&&"TextEvent"in window&&!Ei,gg=f&&(!lu||Ei&&8<Ei&&11>=Ei),vg=" ",bg=!1;function yg(t,r){switch(t){case"keyup":return e3.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wg(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var zn=!1;function r3(t,r){switch(t){case"compositionend":return wg(r);case"keypress":return r.which!==32?null:(bg=!0,vg);case"textInput":return t=r.data,t===vg&&bg?null:t;default:return null}}function o3(t,r){if(zn)return t==="compositionend"||!lu&&yg(t,r)?(t=dg(),ll=tu=So=null,zn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return gg&&r.locale!=="ko"?null:r.data;default:return null}}var n3={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 kg(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!n3[t.type]:r==="textarea"}function xg(t,r,s,a){Hh(a),r=hl(r,"onChange"),0<r.length&&(s=new ru("onChange","change",null,s,a),t.push({event:s,listeners:r}))}var Pi=null,ji=null;function i3(t){Mg(t,0)}function dl(t){var r=jn(t);if(Xs(r))return t}function s3(t,r){if(t==="change")return r}var Sg=!1;if(f){var au;if(f){var cu="oninput"in document;if(!cu){var _g=document.createElement("div");_g.setAttribute("oninput","return;"),cu=typeof _g.oninput=="function"}au=cu}else au=!1;Sg=au&&(!document.documentMode||9<document.documentMode)}function Bg(){Pi&&(Pi.detachEvent("onpropertychange",Cg),ji=Pi=null)}function Cg(t){if(t.propertyName==="value"&&dl(ji)){var r=[];xg(r,ji,t,Hc(t)),Uh(i3,r)}}function l3(t,r,s){t==="focusin"?(Bg(),Pi=r,ji=s,Pi.attachEvent("onpropertychange",Cg)):t==="focusout"&&Bg()}function a3(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return dl(ji)}function c3(t,r){if(t==="click")return dl(r)}function u3(t,r){if(t==="input"||t==="change")return dl(r)}function d3(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var zr=typeof Object.is=="function"?Object.is:d3;function Ri(t,r){if(zr(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var s=Object.keys(t),a=Object.keys(r);if(s.length!==a.length)return!1;for(a=0;a<s.length;a++){var d=s[a];if(!p.call(r,d)||!zr(t[d],r[d]))return!1}return!0}function zg(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ng(t,r){var s=zg(t);t=0;for(var a;s;){if(s.nodeType===3){if(a=t+s.textContent.length,t<=r&&a>=r)return{node:s,offset:r-t};t=a}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=zg(s)}}function Tg(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?Tg(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function Eg(){for(var t=window,r=xn();r instanceof t.HTMLIFrameElement;){try{var s=typeof r.contentWindow.location.href=="string"}catch{s=!1}if(s)t=r.contentWindow;else break;r=xn(t.document)}return r}function uu(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}function f3(t){var r=Eg(),s=t.focusedElem,a=t.selectionRange;if(r!==s&&s&&s.ownerDocument&&Tg(s.ownerDocument.documentElement,s)){if(a!==null&&uu(s)){if(r=a.start,t=a.end,t===void 0&&(t=r),"selectionStart"in s)s.selectionStart=r,s.selectionEnd=Math.min(t,s.value.length);else if(t=(r=s.ownerDocument||document)&&r.defaultView||window,t.getSelection){t=t.getSelection();var d=s.textContent.length,m=Math.min(a.start,d);a=a.end===void 0?m:Math.min(a.end,d),!t.extend&&m>a&&(d=a,a=m,m=d),d=Ng(s,m);var x=Ng(s,a);d&&x&&(t.rangeCount!==1||t.anchorNode!==d.node||t.anchorOffset!==d.offset||t.focusNode!==x.node||t.focusOffset!==x.offset)&&(r=r.createRange(),r.setStart(d.node,d.offset),t.removeAllRanges(),m>a?(t.addRange(r),t.extend(x.node,x.offset)):(r.setEnd(x.node,x.offset),t.addRange(r)))}}for(r=[],t=s;t=t.parentNode;)t.nodeType===1&&r.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<r.length;s++)t=r[s],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var p3=f&&"documentMode"in document&&11>=document.documentMode,Nn=null,du=null,Fi=null,fu=!1;function Pg(t,r,s){var a=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;fu||Nn==null||Nn!==xn(a)||(a=Nn,"selectionStart"in a&&uu(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}),Fi&&Ri(Fi,a)||(Fi=a,a=hl(du,"onSelect"),0<a.length&&(r=new ru("onSelect","select",null,r,s),t.push({event:r,listeners:a}),r.target=Nn)))}function fl(t,r){var s={};return s[t.toLowerCase()]=r.toLowerCase(),s["Webkit"+t]="webkit"+r,s["Moz"+t]="moz"+r,s}var Tn={animationend:fl("Animation","AnimationEnd"),animationiteration:fl("Animation","AnimationIteration"),animationstart:fl("Animation","AnimationStart"),transitionend:fl("Transition","TransitionEnd")},pu={},jg={};f&&(jg=document.createElement("div").style,"AnimationEvent"in window||(delete Tn.animationend.animation,delete Tn.animationiteration.animation,delete Tn.animationstart.animation),"TransitionEvent"in window||delete Tn.transitionend.transition);function pl(t){if(pu[t])return pu[t];if(!Tn[t])return t;var r=Tn[t],s;for(s in r)if(r.hasOwnProperty(s)&&s in jg)return pu[t]=r[s];return t}var Rg=pl("animationend"),Fg=pl("animationiteration"),Dg=pl("animationstart"),Ig=pl("transitionend"),Og=new Map,Ag="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function _o(t,r){Og.set(t,r),c(r,[t])}for(var mu=0;mu<Ag.length;mu++){var hu=Ag[mu],m3=hu.toLowerCase(),h3=hu[0].toUpperCase()+hu.slice(1);_o(m3,"on"+h3)}_o(Rg,"onAnimationEnd"),_o(Fg,"onAnimationIteration"),_o(Dg,"onAnimationStart"),_o("dblclick","onDoubleClick"),_o("focusin","onFocus"),_o("focusout","onBlur"),_o(Ig,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Di="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(" "),g3=new Set("cancel close invalid load scroll toggle".split(" ").concat(Di));function qg(t,r,s){var a=t.type||"unknown-event";t.currentTarget=s,m5(a,r,void 0,t),t.currentTarget=null}function Mg(t,r){r=(r&4)!==0;for(var s=0;s<t.length;s++){var a=t[s],d=a.event;a=a.listeners;e:{var m=void 0;if(r)for(var x=a.length-1;0<=x;x--){var B=a[x],E=B.instance,O=B.currentTarget;if(B=B.listener,E!==m&&d.isPropagationStopped())break e;qg(d,B,O),m=E}else for(x=0;x<a.length;x++){if(B=a[x],E=B.instance,O=B.currentTarget,B=B.listener,E!==m&&d.isPropagationStopped())break e;qg(d,B,O),m=E}}}if(Ys)throw t=Uc,Ys=!1,Uc=null,t}function Ve(t,r){var s=r[Su];s===void 0&&(s=r[Su]=new Set);var a=t+"__bubble";s.has(a)||(Lg(r,t,2,!1),s.add(a))}function gu(t,r,s){var a=0;r&&(a|=4),Lg(s,t,a,r)}var ml="_reactListening"+Math.random().toString(36).slice(2);function Ii(t){if(!t[ml]){t[ml]=!0,i.forEach(function(s){s!=="selectionchange"&&(g3.has(s)||gu(s,!1,t),gu(s,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[ml]||(r[ml]=!0,gu("selectionchange",!1,r))}}function Lg(t,r,s,a){switch(ug(r)){case 1:var d=E5;break;case 4:d=P5;break;default:d=Zc}s=d.bind(null,r,s,t),d=void 0,!Vc||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(d=!0),a?d!==void 0?t.addEventListener(r,s,{capture:!0,passive:d}):t.addEventListener(r,s,!0):d!==void 0?t.addEventListener(r,s,{passive:d}):t.addEventListener(r,s,!1)}function vu(t,r,s,a,d){var m=a;if((r&1)===0&&(r&2)===0&&a!==null)e:for(;;){if(a===null)return;var x=a.tag;if(x===3||x===4){var B=a.stateNode.containerInfo;if(B===d||B.nodeType===8&&B.parentNode===d)break;if(x===4)for(x=a.return;x!==null;){var E=x.tag;if((E===3||E===4)&&(E=x.stateNode.containerInfo,E===d||E.nodeType===8&&E.parentNode===d))return;x=x.return}for(;B!==null;){if(x=Uo(B),x===null)return;if(E=x.tag,E===5||E===6){a=m=x;continue e}B=B.parentNode}}a=a.return}Uh(function(){var O=m,K=Hc(s),X=[];e:{var V=Og.get(t);if(V!==void 0){var ne=ru,se=t;switch(t){case"keypress":if(al(s)===0)break e;case"keydown":case"keyup":ne=U5;break;case"focusin":se="focus",ne=iu;break;case"focusout":se="blur",ne=iu;break;case"beforeblur":case"afterblur":ne=iu;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ne=pg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=F5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=X5;break;case Rg:case Fg:case Dg:ne=O5;break;case Ig:ne=Y5;break;case"scroll":ne=j5;break;case"wheel":ne=Z5;break;case"copy":case"cut":case"paste":ne=q5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=hg}var ae=(r&4)!==0,at=!ae&&t==="scroll",F=ae?V!==null?V+"Capture":null:V;ae=[];for(var P=O,D;P!==null;){D=P;var Q=D.stateNode;if(D.tag===5&&Q!==null&&(D=Q,F!==null&&(Q=bi(P,F),Q!=null&&ae.push(Oi(P,Q,D)))),at)break;P=P.return}0<ae.length&&(V=new ne(V,se,null,s,K),X.push({event:V,listeners:ae}))}}if((r&7)===0){e:{if(V=t==="mouseover"||t==="pointerover",ne=t==="mouseout"||t==="pointerout",V&&s!==Lc&&(se=s.relatedTarget||s.fromElement)&&(Uo(se)||se[to]))break e;if((ne||V)&&(V=K.window===K?K:(V=K.ownerDocument)?V.defaultView||V.parentWindow:window,ne?(se=s.relatedTarget||s.toElement,ne=O,se=se?Uo(se):null,se!==null&&(at=Vo(se),se!==at||se.tag!==5&&se.tag!==6)&&(se=null)):(ne=null,se=O),ne!==se)){if(ae=pg,Q="onMouseLeave",F="onMouseEnter",P="mouse",(t==="pointerout"||t==="pointerover")&&(ae=hg,Q="onPointerLeave",F="onPointerEnter",P="pointer"),at=ne==null?V:jn(ne),D=se==null?V:jn(se),V=new ae(Q,P+"leave",ne,s,K),V.target=at,V.relatedTarget=D,Q=null,Uo(K)===O&&(ae=new ae(F,P+"enter",se,s,K),ae.target=D,ae.relatedTarget=at,Q=ae),at=Q,ne&&se)t:{for(ae=ne,F=se,P=0,D=ae;D;D=En(D))P++;for(D=0,Q=F;Q;Q=En(Q))D++;for(;0<P-D;)ae=En(ae),P--;for(;0<D-P;)F=En(F),D--;for(;P--;){if(ae===F||F!==null&&ae===F.alternate)break t;ae=En(ae),F=En(F)}ae=null}else ae=null;ne!==null&&Hg(X,V,ne,ae,!1),se!==null&&at!==null&&Hg(X,at,se,ae,!0)}}e:{if(V=O?jn(O):window,ne=V.nodeName&&V.nodeName.toLowerCase(),ne==="select"||ne==="input"&&V.type==="file")var de=s3;else if(kg(V))if(Sg)de=u3;else{de=a3;var he=l3}else(ne=V.nodeName)&&ne.toLowerCase()==="input"&&(V.type==="checkbox"||V.type==="radio")&&(de=c3);if(de&&(de=de(t,O))){xg(X,de,s,K);break e}he&&he(t,V,O),t==="focusout"&&(he=V._wrapperState)&&he.controlled&&V.type==="number"&&It(V,"number",V.value)}switch(he=O?jn(O):window,t){case"focusin":(kg(he)||he.contentEditable==="true")&&(Nn=he,du=O,Fi=null);break;case"focusout":Fi=du=Nn=null;break;case"mousedown":fu=!0;break;case"contextmenu":case"mouseup":case"dragend":fu=!1,Pg(X,s,K);break;case"selectionchange":if(p3)break;case"keydown":case"keyup":Pg(X,s,K)}var ge;if(lu)e:{switch(t){case"compositionstart":var we="onCompositionStart";break e;case"compositionend":we="onCompositionEnd";break e;case"compositionupdate":we="onCompositionUpdate";break e}we=void 0}else zn?yg(t,s)&&(we="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(we="onCompositionStart");we&&(gg&&s.locale!=="ko"&&(zn||we!=="onCompositionStart"?we==="onCompositionEnd"&&zn&&(ge=dg()):(So=K,tu="value"in So?So.value:So.textContent,zn=!0)),he=hl(O,we),0<he.length&&(we=new mg(we,t,null,s,K),X.push({event:we,listeners:he}),ge?we.data=ge:(ge=wg(s),ge!==null&&(we.data=ge)))),(ge=t3?r3(t,s):o3(t,s))&&(O=hl(O,"onBeforeInput"),0<O.length&&(K=new mg("onBeforeInput","beforeinput",null,s,K),X.push({event:K,listeners:O}),K.data=ge))}Mg(X,r)})}function Oi(t,r,s){return{instance:t,listener:r,currentTarget:s}}function hl(t,r){for(var s=r+"Capture",a=[];t!==null;){var d=t,m=d.stateNode;d.tag===5&&m!==null&&(d=m,m=bi(t,s),m!=null&&a.unshift(Oi(t,m,d)),m=bi(t,r),m!=null&&a.push(Oi(t,m,d))),t=t.return}return a}function En(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Hg(t,r,s,a,d){for(var m=r._reactName,x=[];s!==null&&s!==a;){var B=s,E=B.alternate,O=B.stateNode;if(E!==null&&E===a)break;B.tag===5&&O!==null&&(B=O,d?(E=bi(s,m),E!=null&&x.unshift(Oi(s,E,B))):d||(E=bi(s,m),E!=null&&x.push(Oi(s,E,B)))),s=s.return}x.length!==0&&t.push({event:r,listeners:x})}var v3=/\r\n?/g,b3=/\u0000|\uFFFD/g;function Wg(t){return(typeof t=="string"?t:""+t).replace(v3,`
|
|
7
|
+
`).replace(b3,"")}function gl(t,r,s){if(r=Wg(r),Wg(t)!==r&&s)throw Error(n(425))}function vl(){}var bu=null,yu=null;function wu(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var ku=typeof setTimeout=="function"?setTimeout:void 0,y3=typeof clearTimeout=="function"?clearTimeout:void 0,$g=typeof Promise=="function"?Promise:void 0,w3=typeof queueMicrotask=="function"?queueMicrotask:typeof $g<"u"?function(t){return $g.resolve(null).then(t).catch(k3)}:ku;function k3(t){setTimeout(function(){throw t})}function xu(t,r){var s=r,a=0;do{var d=s.nextSibling;if(t.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"){if(a===0){t.removeChild(d),zi(r);return}a--}else s!=="$"&&s!=="$?"&&s!=="$!"||a++;s=d}while(s);zi(r)}function Bo(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===1||r===3)break;if(r===8){if(r=t.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return t}function Vg(t){t=t.previousSibling;for(var r=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"){if(r===0)return t;r--}else s==="/$"&&r++}t=t.previousSibling}return null}var Pn=Math.random().toString(36).slice(2),Hr="__reactFiber$"+Pn,Ai="__reactProps$"+Pn,to="__reactContainer$"+Pn,Su="__reactEvents$"+Pn,x3="__reactListeners$"+Pn,S3="__reactHandles$"+Pn;function Uo(t){var r=t[Hr];if(r)return r;for(var s=t.parentNode;s;){if(r=s[to]||s[Hr]){if(s=r.alternate,r.child!==null||s!==null&&s.child!==null)for(t=Vg(t);t!==null;){if(s=t[Hr])return s;t=Vg(t)}return r}t=s,s=t.parentNode}return null}function qi(t){return t=t[Hr]||t[to],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function jn(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(n(33))}function bl(t){return t[Ai]||null}var _u=[],Rn=-1;function Co(t){return{current:t}}function Ue(t){0>Rn||(t.current=_u[Rn],_u[Rn]=null,Rn--)}function We(t,r){Rn++,_u[Rn]=t.current,t.current=r}var zo={},Pt=Co(zo),$t=Co(!1),Go=zo;function Fn(t,r){var s=t.type.contextTypes;if(!s)return zo;var a=t.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===r)return a.__reactInternalMemoizedMaskedChildContext;var d={},m;for(m in s)d[m]=r[m];return a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=d),d}function Vt(t){return t=t.childContextTypes,t!=null}function yl(){Ue($t),Ue(Pt)}function Ug(t,r,s){if(Pt.current!==zo)throw Error(n(168));We(Pt,r),We($t,s)}function Gg(t,r,s){var a=t.stateNode;if(r=r.childContextTypes,typeof a.getChildContext!="function")return s;a=a.getChildContext();for(var d in a)if(!(d in r))throw Error(n(108,Te(t)||"Unknown",d));return Z({},s,a)}function wl(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||zo,Go=Pt.current,We(Pt,t),We($t,$t.current),!0}function Kg(t,r,s){var a=t.stateNode;if(!a)throw Error(n(169));s?(t=Gg(t,r,Go),a.__reactInternalMemoizedMergedChildContext=t,Ue($t),Ue(Pt),We(Pt,t)):Ue($t),We($t,s)}var ro=null,kl=!1,Bu=!1;function Xg(t){ro===null?ro=[t]:ro.push(t)}function _3(t){kl=!0,Xg(t)}function No(){if(!Bu&&ro!==null){Bu=!0;var t=0,r=Ae;try{var s=ro;for(Ae=1;t<s.length;t++){var a=s[t];do a=a(!0);while(a!==null)}ro=null,kl=!1}catch(d){throw ro!==null&&(ro=ro.slice(t+1)),Yh(Gc,No),d}finally{Ae=r,Bu=!1}}return null}var Dn=[],In=0,xl=null,Sl=0,ur=[],dr=0,Ko=null,oo=1,no="";function Xo(t,r){Dn[In++]=Sl,Dn[In++]=xl,xl=t,Sl=r}function Qg(t,r,s){ur[dr++]=oo,ur[dr++]=no,ur[dr++]=Ko,Ko=t;var a=oo;t=no;var d=32-Cr(a)-1;a&=~(1<<d),s+=1;var m=32-Cr(r)+d;if(30<m){var x=d-d%5;m=(a&(1<<x)-1).toString(32),a>>=x,d-=x,oo=1<<32-Cr(r)+d|s<<d|a,no=m+t}else oo=1<<m|s<<d|a,no=t}function Cu(t){t.return!==null&&(Xo(t,1),Qg(t,1,0))}function zu(t){for(;t===xl;)xl=Dn[--In],Dn[In]=null,Sl=Dn[--In],Dn[In]=null;for(;t===Ko;)Ko=ur[--dr],ur[dr]=null,no=ur[--dr],ur[dr]=null,oo=ur[--dr],ur[dr]=null}var rr=null,or=null,Ge=!1,Nr=null;function Yg(t,r){var s=hr(5,null,null,0);s.elementType="DELETED",s.stateNode=r,s.return=t,r=t.deletions,r===null?(t.deletions=[s],t.flags|=16):r.push(s)}function Jg(t,r){switch(t.tag){case 5:var s=t.type;return r=r.nodeType!==1||s.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(t.stateNode=r,rr=t,or=Bo(r.firstChild),!0):!1;case 6:return r=t.pendingProps===""||r.nodeType!==3?null:r,r!==null?(t.stateNode=r,rr=t,or=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(s=Ko!==null?{id:oo,overflow:no}:null,t.memoizedState={dehydrated:r,treeContext:s,retryLane:1073741824},s=hr(18,null,null,0),s.stateNode=r,s.return=t,t.child=s,rr=t,or=null,!0):!1;default:return!1}}function Nu(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Tu(t){if(Ge){var r=or;if(r){var s=r;if(!Jg(t,r)){if(Nu(t))throw Error(n(418));r=Bo(s.nextSibling);var a=rr;r&&Jg(t,r)?Yg(a,s):(t.flags=t.flags&-4097|2,Ge=!1,rr=t)}}else{if(Nu(t))throw Error(n(418));t.flags=t.flags&-4097|2,Ge=!1,rr=t}}}function Zg(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;rr=t}function _l(t){if(t!==rr)return!1;if(!Ge)return Zg(t),Ge=!0,!1;var r;if((r=t.tag!==3)&&!(r=t.tag!==5)&&(r=t.type,r=r!=="head"&&r!=="body"&&!wu(t.type,t.memoizedProps)),r&&(r=or)){if(Nu(t))throw ev(),Error(n(418));for(;r;)Yg(t,r),r=Bo(r.nextSibling)}if(Zg(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(n(317));e:{for(t=t.nextSibling,r=0;t;){if(t.nodeType===8){var s=t.data;if(s==="/$"){if(r===0){or=Bo(t.nextSibling);break e}r--}else s!=="$"&&s!=="$!"&&s!=="$?"||r++}t=t.nextSibling}or=null}}else or=rr?Bo(t.stateNode.nextSibling):null;return!0}function ev(){for(var t=or;t;)t=Bo(t.nextSibling)}function On(){or=rr=null,Ge=!1}function Eu(t){Nr===null?Nr=[t]:Nr.push(t)}var B3=z.ReactCurrentBatchConfig;function Mi(t,r,s){if(t=s.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(n(309));var a=s.stateNode}if(!a)throw Error(n(147,t));var d=a,m=""+t;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===m?r.ref:(r=function(x){var B=d.refs;x===null?delete B[m]:B[m]=x},r._stringRef=m,r)}if(typeof t!="string")throw Error(n(284));if(!s._owner)throw Error(n(290,t))}return t}function Bl(t,r){throw t=Object.prototype.toString.call(r),Error(n(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t))}function tv(t){var r=t._init;return r(t._payload)}function rv(t){function r(F,P){if(t){var D=F.deletions;D===null?(F.deletions=[P],F.flags|=16):D.push(P)}}function s(F,P){if(!t)return null;for(;P!==null;)r(F,P),P=P.sibling;return null}function a(F,P){for(F=new Map;P!==null;)P.key!==null?F.set(P.key,P):F.set(P.index,P),P=P.sibling;return F}function d(F,P){return F=Io(F,P),F.index=0,F.sibling=null,F}function m(F,P,D){return F.index=D,t?(D=F.alternate,D!==null?(D=D.index,D<P?(F.flags|=2,P):D):(F.flags|=2,P)):(F.flags|=1048576,P)}function x(F){return t&&F.alternate===null&&(F.flags|=2),F}function B(F,P,D,Q){return P===null||P.tag!==6?(P=kd(D,F.mode,Q),P.return=F,P):(P=d(P,D),P.return=F,P)}function E(F,P,D,Q){var de=D.type;return de===A?K(F,P,D.props.children,Q,D.key):P!==null&&(P.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ye&&tv(de)===P.type)?(Q=d(P,D.props),Q.ref=Mi(F,P,D),Q.return=F,Q):(Q=Xl(D.type,D.key,D.props,null,F.mode,Q),Q.ref=Mi(F,P,D),Q.return=F,Q)}function O(F,P,D,Q){return P===null||P.tag!==4||P.stateNode.containerInfo!==D.containerInfo||P.stateNode.implementation!==D.implementation?(P=xd(D,F.mode,Q),P.return=F,P):(P=d(P,D.children||[]),P.return=F,P)}function K(F,P,D,Q,de){return P===null||P.tag!==7?(P=on(D,F.mode,Q,de),P.return=F,P):(P=d(P,D),P.return=F,P)}function X(F,P,D){if(typeof P=="string"&&P!==""||typeof P=="number")return P=kd(""+P,F.mode,D),P.return=F,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case j:return D=Xl(P.type,P.key,P.props,null,F.mode,D),D.ref=Mi(F,null,P),D.return=F,D;case q:return P=xd(P,F.mode,D),P.return=F,P;case ye:var Q=P._init;return X(F,Q(P._payload),D)}if(Se(P)||ee(P))return P=on(P,F.mode,D,null),P.return=F,P;Bl(F,P)}return null}function V(F,P,D,Q){var de=P!==null?P.key:null;if(typeof D=="string"&&D!==""||typeof D=="number")return de!==null?null:B(F,P,""+D,Q);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case j:return D.key===de?E(F,P,D,Q):null;case q:return D.key===de?O(F,P,D,Q):null;case ye:return de=D._init,V(F,P,de(D._payload),Q)}if(Se(D)||ee(D))return de!==null?null:K(F,P,D,Q,null);Bl(F,D)}return null}function ne(F,P,D,Q,de){if(typeof Q=="string"&&Q!==""||typeof Q=="number")return F=F.get(D)||null,B(P,F,""+Q,de);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case j:return F=F.get(Q.key===null?D:Q.key)||null,E(P,F,Q,de);case q:return F=F.get(Q.key===null?D:Q.key)||null,O(P,F,Q,de);case ye:var he=Q._init;return ne(F,P,D,he(Q._payload),de)}if(Se(Q)||ee(Q))return F=F.get(D)||null,K(P,F,Q,de,null);Bl(P,Q)}return null}function se(F,P,D,Q){for(var de=null,he=null,ge=P,we=P=0,yt=null;ge!==null&&we<D.length;we++){ge.index>we?(yt=ge,ge=null):yt=ge.sibling;var De=V(F,ge,D[we],Q);if(De===null){ge===null&&(ge=yt);break}t&&ge&&De.alternate===null&&r(F,ge),P=m(De,P,we),he===null?de=De:he.sibling=De,he=De,ge=yt}if(we===D.length)return s(F,ge),Ge&&Xo(F,we),de;if(ge===null){for(;we<D.length;we++)ge=X(F,D[we],Q),ge!==null&&(P=m(ge,P,we),he===null?de=ge:he.sibling=ge,he=ge);return Ge&&Xo(F,we),de}for(ge=a(F,ge);we<D.length;we++)yt=ne(ge,F,we,D[we],Q),yt!==null&&(t&&yt.alternate!==null&&ge.delete(yt.key===null?we:yt.key),P=m(yt,P,we),he===null?de=yt:he.sibling=yt,he=yt);return t&&ge.forEach(function(Oo){return r(F,Oo)}),Ge&&Xo(F,we),de}function ae(F,P,D,Q){var de=ee(D);if(typeof de!="function")throw Error(n(150));if(D=de.call(D),D==null)throw Error(n(151));for(var he=de=null,ge=P,we=P=0,yt=null,De=D.next();ge!==null&&!De.done;we++,De=D.next()){ge.index>we?(yt=ge,ge=null):yt=ge.sibling;var Oo=V(F,ge,De.value,Q);if(Oo===null){ge===null&&(ge=yt);break}t&&ge&&Oo.alternate===null&&r(F,ge),P=m(Oo,P,we),he===null?de=Oo:he.sibling=Oo,he=Oo,ge=yt}if(De.done)return s(F,ge),Ge&&Xo(F,we),de;if(ge===null){for(;!De.done;we++,De=D.next())De=X(F,De.value,Q),De!==null&&(P=m(De,P,we),he===null?de=De:he.sibling=De,he=De);return Ge&&Xo(F,we),de}for(ge=a(F,ge);!De.done;we++,De=D.next())De=ne(ge,F,we,De.value,Q),De!==null&&(t&&De.alternate!==null&&ge.delete(De.key===null?we:De.key),P=m(De,P,we),he===null?de=De:he.sibling=De,he=De);return t&&ge.forEach(function(n4){return r(F,n4)}),Ge&&Xo(F,we),de}function at(F,P,D,Q){if(typeof D=="object"&&D!==null&&D.type===A&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case j:e:{for(var de=D.key,he=P;he!==null;){if(he.key===de){if(de=D.type,de===A){if(he.tag===7){s(F,he.sibling),P=d(he,D.props.children),P.return=F,F=P;break e}}else if(he.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===ye&&tv(de)===he.type){s(F,he.sibling),P=d(he,D.props),P.ref=Mi(F,he,D),P.return=F,F=P;break e}s(F,he);break}else r(F,he);he=he.sibling}D.type===A?(P=on(D.props.children,F.mode,Q,D.key),P.return=F,F=P):(Q=Xl(D.type,D.key,D.props,null,F.mode,Q),Q.ref=Mi(F,P,D),Q.return=F,F=Q)}return x(F);case q:e:{for(he=D.key;P!==null;){if(P.key===he)if(P.tag===4&&P.stateNode.containerInfo===D.containerInfo&&P.stateNode.implementation===D.implementation){s(F,P.sibling),P=d(P,D.children||[]),P.return=F,F=P;break e}else{s(F,P);break}else r(F,P);P=P.sibling}P=xd(D,F.mode,Q),P.return=F,F=P}return x(F);case ye:return he=D._init,at(F,P,he(D._payload),Q)}if(Se(D))return se(F,P,D,Q);if(ee(D))return ae(F,P,D,Q);Bl(F,D)}return typeof D=="string"&&D!==""||typeof D=="number"?(D=""+D,P!==null&&P.tag===6?(s(F,P.sibling),P=d(P,D),P.return=F,F=P):(s(F,P),P=kd(D,F.mode,Q),P.return=F,F=P),x(F)):s(F,P)}return at}var An=rv(!0),ov=rv(!1),Cl=Co(null),zl=null,qn=null,Pu=null;function ju(){Pu=qn=zl=null}function Ru(t){var r=Cl.current;Ue(Cl),t._currentValue=r}function Fu(t,r,s){for(;t!==null;){var a=t.alternate;if((t.childLanes&r)!==r?(t.childLanes|=r,a!==null&&(a.childLanes|=r)):a!==null&&(a.childLanes&r)!==r&&(a.childLanes|=r),t===s)break;t=t.return}}function Mn(t,r){zl=t,Pu=qn=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&r)!==0&&(Ut=!0),t.firstContext=null)}function fr(t){var r=t._currentValue;if(Pu!==t)if(t={context:t,memoizedValue:r,next:null},qn===null){if(zl===null)throw Error(n(308));qn=t,zl.dependencies={lanes:0,firstContext:t}}else qn=qn.next=t;return r}var Qo=null;function Du(t){Qo===null?Qo=[t]:Qo.push(t)}function nv(t,r,s,a){var d=r.interleaved;return d===null?(s.next=s,Du(r)):(s.next=d.next,d.next=s),r.interleaved=s,io(t,a)}function io(t,r){t.lanes|=r;var s=t.alternate;for(s!==null&&(s.lanes|=r),s=t,t=t.return;t!==null;)t.childLanes|=r,s=t.alternate,s!==null&&(s.childLanes|=r),s=t,t=t.return;return s.tag===3?s.stateNode:null}var To=!1;function Iu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function iv(t,r){t=t.updateQueue,r.updateQueue===t&&(r.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function so(t,r){return{eventTime:t,lane:r,tag:0,payload:null,callback:null,next:null}}function Eo(t,r,s){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(Re&2)!==0){var d=a.pending;return d===null?r.next=r:(r.next=d.next,d.next=r),a.pending=r,io(t,s)}return d=a.interleaved,d===null?(r.next=r,Du(a)):(r.next=d.next,d.next=r),a.interleaved=r,io(t,s)}function Nl(t,r,s){if(r=r.updateQueue,r!==null&&(r=r.shared,(s&4194240)!==0)){var a=r.lanes;a&=t.pendingLanes,s|=a,r.lanes=s,Qc(t,s)}}function sv(t,r){var s=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,s===a)){var d=null,m=null;if(s=s.firstBaseUpdate,s!==null){do{var x={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};m===null?d=m=x:m=m.next=x,s=s.next}while(s!==null);m===null?d=m=r:m=m.next=r}else d=m=r;s={baseState:a.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:a.shared,effects:a.effects},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=r:t.next=r,s.lastBaseUpdate=r}function Tl(t,r,s,a){var d=t.updateQueue;To=!1;var m=d.firstBaseUpdate,x=d.lastBaseUpdate,B=d.shared.pending;if(B!==null){d.shared.pending=null;var E=B,O=E.next;E.next=null,x===null?m=O:x.next=O,x=E;var K=t.alternate;K!==null&&(K=K.updateQueue,B=K.lastBaseUpdate,B!==x&&(B===null?K.firstBaseUpdate=O:B.next=O,K.lastBaseUpdate=E))}if(m!==null){var X=d.baseState;x=0,K=O=E=null,B=m;do{var V=B.lane,ne=B.eventTime;if((a&V)===V){K!==null&&(K=K.next={eventTime:ne,lane:0,tag:B.tag,payload:B.payload,callback:B.callback,next:null});e:{var se=t,ae=B;switch(V=r,ne=s,ae.tag){case 1:if(se=ae.payload,typeof se=="function"){X=se.call(ne,X,V);break e}X=se;break e;case 3:se.flags=se.flags&-65537|128;case 0:if(se=ae.payload,V=typeof se=="function"?se.call(ne,X,V):se,V==null)break e;X=Z({},X,V);break e;case 2:To=!0}}B.callback!==null&&B.lane!==0&&(t.flags|=64,V=d.effects,V===null?d.effects=[B]:V.push(B))}else ne={eventTime:ne,lane:V,tag:B.tag,payload:B.payload,callback:B.callback,next:null},K===null?(O=K=ne,E=X):K=K.next=ne,x|=V;if(B=B.next,B===null){if(B=d.shared.pending,B===null)break;V=B,B=V.next,V.next=null,d.lastBaseUpdate=V,d.shared.pending=null}}while(!0);if(K===null&&(E=X),d.baseState=E,d.firstBaseUpdate=O,d.lastBaseUpdate=K,r=d.shared.interleaved,r!==null){d=r;do x|=d.lane,d=d.next;while(d!==r)}else m===null&&(d.shared.lanes=0);Zo|=x,t.lanes=x,t.memoizedState=X}}function lv(t,r,s){if(t=r.effects,r.effects=null,t!==null)for(r=0;r<t.length;r++){var a=t[r],d=a.callback;if(d!==null){if(a.callback=null,a=s,typeof d!="function")throw Error(n(191,d));d.call(a)}}}var Li={},Wr=Co(Li),Hi=Co(Li),Wi=Co(Li);function Yo(t){if(t===Li)throw Error(n(174));return t}function Ou(t,r){switch(We(Wi,r),We(Hi,t),We(Wr,Li),t=r.nodeType,t){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:er(null,"");break;default:t=t===8?r.parentNode:r,r=t.namespaceURI||null,t=t.tagName,r=er(r,t)}Ue(Wr),We(Wr,r)}function Ln(){Ue(Wr),Ue(Hi),Ue(Wi)}function av(t){Yo(Wi.current);var r=Yo(Wr.current),s=er(r,t.type);r!==s&&(We(Hi,t),We(Wr,s))}function Au(t){Hi.current===t&&(Ue(Wr),Ue(Hi))}var Ye=Co(0);function El(t){for(var r=t;r!==null;){if(r.tag===13){var s=r.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var qu=[];function Mu(){for(var t=0;t<qu.length;t++)qu[t]._workInProgressVersionPrimary=null;qu.length=0}var Pl=z.ReactCurrentDispatcher,Lu=z.ReactCurrentBatchConfig,Jo=0,Je=null,pt=null,vt=null,jl=!1,$i=!1,Vi=0,C3=0;function jt(){throw Error(n(321))}function Hu(t,r){if(r===null)return!1;for(var s=0;s<r.length&&s<t.length;s++)if(!zr(t[s],r[s]))return!1;return!0}function Wu(t,r,s,a,d,m){if(Jo=m,Je=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Pl.current=t===null||t.memoizedState===null?E3:P3,t=s(a,d),$i){m=0;do{if($i=!1,Vi=0,25<=m)throw Error(n(301));m+=1,vt=pt=null,r.updateQueue=null,Pl.current=j3,t=s(a,d)}while($i)}if(Pl.current=Dl,r=pt!==null&&pt.next!==null,Jo=0,vt=pt=Je=null,jl=!1,r)throw Error(n(300));return t}function $u(){var t=Vi!==0;return Vi=0,t}function $r(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return vt===null?Je.memoizedState=vt=t:vt=vt.next=t,vt}function pr(){if(pt===null){var t=Je.alternate;t=t!==null?t.memoizedState:null}else t=pt.next;var r=vt===null?Je.memoizedState:vt.next;if(r!==null)vt=r,pt=t;else{if(t===null)throw Error(n(310));pt=t,t={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},vt===null?Je.memoizedState=vt=t:vt=vt.next=t}return vt}function Ui(t,r){return typeof r=="function"?r(t):r}function Vu(t){var r=pr(),s=r.queue;if(s===null)throw Error(n(311));s.lastRenderedReducer=t;var a=pt,d=a.baseQueue,m=s.pending;if(m!==null){if(d!==null){var x=d.next;d.next=m.next,m.next=x}a.baseQueue=d=m,s.pending=null}if(d!==null){m=d.next,a=a.baseState;var B=x=null,E=null,O=m;do{var K=O.lane;if((Jo&K)===K)E!==null&&(E=E.next={lane:0,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),a=O.hasEagerState?O.eagerState:t(a,O.action);else{var X={lane:K,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null};E===null?(B=E=X,x=a):E=E.next=X,Je.lanes|=K,Zo|=K}O=O.next}while(O!==null&&O!==m);E===null?x=a:E.next=B,zr(a,r.memoizedState)||(Ut=!0),r.memoizedState=a,r.baseState=x,r.baseQueue=E,s.lastRenderedState=a}if(t=s.interleaved,t!==null){d=t;do m=d.lane,Je.lanes|=m,Zo|=m,d=d.next;while(d!==t)}else d===null&&(s.lanes=0);return[r.memoizedState,s.dispatch]}function Uu(t){var r=pr(),s=r.queue;if(s===null)throw Error(n(311));s.lastRenderedReducer=t;var a=s.dispatch,d=s.pending,m=r.memoizedState;if(d!==null){s.pending=null;var x=d=d.next;do m=t(m,x.action),x=x.next;while(x!==d);zr(m,r.memoizedState)||(Ut=!0),r.memoizedState=m,r.baseQueue===null&&(r.baseState=m),s.lastRenderedState=m}return[m,a]}function cv(){}function uv(t,r){var s=Je,a=pr(),d=r(),m=!zr(a.memoizedState,d);if(m&&(a.memoizedState=d,Ut=!0),a=a.queue,Gu(pv.bind(null,s,a,t),[t]),a.getSnapshot!==r||m||vt!==null&&vt.memoizedState.tag&1){if(s.flags|=2048,Gi(9,fv.bind(null,s,a,d,r),void 0,null),bt===null)throw Error(n(349));(Jo&30)!==0||dv(s,r,d)}return d}function dv(t,r,s){t.flags|=16384,t={getSnapshot:r,value:s},r=Je.updateQueue,r===null?(r={lastEffect:null,stores:null},Je.updateQueue=r,r.stores=[t]):(s=r.stores,s===null?r.stores=[t]:s.push(t))}function fv(t,r,s,a){r.value=s,r.getSnapshot=a,mv(r)&&hv(t)}function pv(t,r,s){return s(function(){mv(r)&&hv(t)})}function mv(t){var r=t.getSnapshot;t=t.value;try{var s=r();return!zr(t,s)}catch{return!0}}function hv(t){var r=io(t,1);r!==null&&jr(r,t,1,-1)}function gv(t){var r=$r();return typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ui,lastRenderedState:t},r.queue=t,t=t.dispatch=T3.bind(null,Je,t),[r.memoizedState,t]}function Gi(t,r,s,a){return t={tag:t,create:r,destroy:s,deps:a,next:null},r=Je.updateQueue,r===null?(r={lastEffect:null,stores:null},Je.updateQueue=r,r.lastEffect=t.next=t):(s=r.lastEffect,s===null?r.lastEffect=t.next=t:(a=s.next,s.next=t,t.next=a,r.lastEffect=t)),t}function vv(){return pr().memoizedState}function Rl(t,r,s,a){var d=$r();Je.flags|=t,d.memoizedState=Gi(1|r,s,void 0,a===void 0?null:a)}function Fl(t,r,s,a){var d=pr();a=a===void 0?null:a;var m=void 0;if(pt!==null){var x=pt.memoizedState;if(m=x.destroy,a!==null&&Hu(a,x.deps)){d.memoizedState=Gi(r,s,m,a);return}}Je.flags|=t,d.memoizedState=Gi(1|r,s,m,a)}function bv(t,r){return Rl(8390656,8,t,r)}function Gu(t,r){return Fl(2048,8,t,r)}function yv(t,r){return Fl(4,2,t,r)}function wv(t,r){return Fl(4,4,t,r)}function kv(t,r){if(typeof r=="function")return t=t(),r(t),function(){r(null)};if(r!=null)return t=t(),r.current=t,function(){r.current=null}}function xv(t,r,s){return s=s!=null?s.concat([t]):null,Fl(4,4,kv.bind(null,r,t),s)}function Ku(){}function Sv(t,r){var s=pr();r=r===void 0?null:r;var a=s.memoizedState;return a!==null&&r!==null&&Hu(r,a[1])?a[0]:(s.memoizedState=[t,r],t)}function _v(t,r){var s=pr();r=r===void 0?null:r;var a=s.memoizedState;return a!==null&&r!==null&&Hu(r,a[1])?a[0]:(t=t(),s.memoizedState=[t,r],t)}function Bv(t,r,s){return(Jo&21)===0?(t.baseState&&(t.baseState=!1,Ut=!0),t.memoizedState=s):(zr(s,r)||(s=tg(),Je.lanes|=s,Zo|=s,t.baseState=!0),r)}function z3(t,r){var s=Ae;Ae=s!==0&&4>s?s:4,t(!0);var a=Lu.transition;Lu.transition={};try{t(!1),r()}finally{Ae=s,Lu.transition=a}}function Cv(){return pr().memoizedState}function N3(t,r,s){var a=Fo(t);if(s={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null},zv(t))Nv(r,s);else if(s=nv(t,r,s,a),s!==null){var d=At();jr(s,t,a,d),Tv(s,r,a)}}function T3(t,r,s){var a=Fo(t),d={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null};if(zv(t))Nv(r,d);else{var m=t.alternate;if(t.lanes===0&&(m===null||m.lanes===0)&&(m=r.lastRenderedReducer,m!==null))try{var x=r.lastRenderedState,B=m(x,s);if(d.hasEagerState=!0,d.eagerState=B,zr(B,x)){var E=r.interleaved;E===null?(d.next=d,Du(r)):(d.next=E.next,E.next=d),r.interleaved=d;return}}catch{}finally{}s=nv(t,r,d,a),s!==null&&(d=At(),jr(s,t,a,d),Tv(s,r,a))}}function zv(t){var r=t.alternate;return t===Je||r!==null&&r===Je}function Nv(t,r){$i=jl=!0;var s=t.pending;s===null?r.next=r:(r.next=s.next,s.next=r),t.pending=r}function Tv(t,r,s){if((s&4194240)!==0){var a=r.lanes;a&=t.pendingLanes,s|=a,r.lanes=s,Qc(t,s)}}var Dl={readContext:fr,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useInsertionEffect:jt,useLayoutEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useMutableSource:jt,useSyncExternalStore:jt,useId:jt,unstable_isNewReconciler:!1},E3={readContext:fr,useCallback:function(t,r){return $r().memoizedState=[t,r===void 0?null:r],t},useContext:fr,useEffect:bv,useImperativeHandle:function(t,r,s){return s=s!=null?s.concat([t]):null,Rl(4194308,4,kv.bind(null,r,t),s)},useLayoutEffect:function(t,r){return Rl(4194308,4,t,r)},useInsertionEffect:function(t,r){return Rl(4,2,t,r)},useMemo:function(t,r){var s=$r();return r=r===void 0?null:r,t=t(),s.memoizedState=[t,r],t},useReducer:function(t,r,s){var a=$r();return r=s!==void 0?s(r):r,a.memoizedState=a.baseState=r,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},a.queue=t,t=t.dispatch=N3.bind(null,Je,t),[a.memoizedState,t]},useRef:function(t){var r=$r();return t={current:t},r.memoizedState=t},useState:gv,useDebugValue:Ku,useDeferredValue:function(t){return $r().memoizedState=t},useTransition:function(){var t=gv(!1),r=t[0];return t=z3.bind(null,t[1]),$r().memoizedState=t,[r,t]},useMutableSource:function(){},useSyncExternalStore:function(t,r,s){var a=Je,d=$r();if(Ge){if(s===void 0)throw Error(n(407));s=s()}else{if(s=r(),bt===null)throw Error(n(349));(Jo&30)!==0||dv(a,r,s)}d.memoizedState=s;var m={value:s,getSnapshot:r};return d.queue=m,bv(pv.bind(null,a,m,t),[t]),a.flags|=2048,Gi(9,fv.bind(null,a,m,s,r),void 0,null),s},useId:function(){var t=$r(),r=bt.identifierPrefix;if(Ge){var s=no,a=oo;s=(a&~(1<<32-Cr(a)-1)).toString(32)+s,r=":"+r+"R"+s,s=Vi++,0<s&&(r+="H"+s.toString(32)),r+=":"}else s=C3++,r=":"+r+"r"+s.toString(32)+":";return t.memoizedState=r},unstable_isNewReconciler:!1},P3={readContext:fr,useCallback:Sv,useContext:fr,useEffect:Gu,useImperativeHandle:xv,useInsertionEffect:yv,useLayoutEffect:wv,useMemo:_v,useReducer:Vu,useRef:vv,useState:function(){return Vu(Ui)},useDebugValue:Ku,useDeferredValue:function(t){var r=pr();return Bv(r,pt.memoizedState,t)},useTransition:function(){var t=Vu(Ui)[0],r=pr().memoizedState;return[t,r]},useMutableSource:cv,useSyncExternalStore:uv,useId:Cv,unstable_isNewReconciler:!1},j3={readContext:fr,useCallback:Sv,useContext:fr,useEffect:Gu,useImperativeHandle:xv,useInsertionEffect:yv,useLayoutEffect:wv,useMemo:_v,useReducer:Uu,useRef:vv,useState:function(){return Uu(Ui)},useDebugValue:Ku,useDeferredValue:function(t){var r=pr();return pt===null?r.memoizedState=t:Bv(r,pt.memoizedState,t)},useTransition:function(){var t=Uu(Ui)[0],r=pr().memoizedState;return[t,r]},useMutableSource:cv,useSyncExternalStore:uv,useId:Cv,unstable_isNewReconciler:!1};function Tr(t,r){if(t&&t.defaultProps){r=Z({},r),t=t.defaultProps;for(var s in t)r[s]===void 0&&(r[s]=t[s]);return r}return r}function Xu(t,r,s,a){r=t.memoizedState,s=s(a,r),s=s==null?r:Z({},r,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}var Il={isMounted:function(t){return(t=t._reactInternals)?Vo(t)===t:!1},enqueueSetState:function(t,r,s){t=t._reactInternals;var a=At(),d=Fo(t),m=so(a,d);m.payload=r,s!=null&&(m.callback=s),r=Eo(t,m,d),r!==null&&(jr(r,t,d,a),Nl(r,t,d))},enqueueReplaceState:function(t,r,s){t=t._reactInternals;var a=At(),d=Fo(t),m=so(a,d);m.tag=1,m.payload=r,s!=null&&(m.callback=s),r=Eo(t,m,d),r!==null&&(jr(r,t,d,a),Nl(r,t,d))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var s=At(),a=Fo(t),d=so(s,a);d.tag=2,r!=null&&(d.callback=r),r=Eo(t,d,a),r!==null&&(jr(r,t,a,s),Nl(r,t,a))}};function Ev(t,r,s,a,d,m,x){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,m,x):r.prototype&&r.prototype.isPureReactComponent?!Ri(s,a)||!Ri(d,m):!0}function Pv(t,r,s){var a=!1,d=zo,m=r.contextType;return typeof m=="object"&&m!==null?m=fr(m):(d=Vt(r)?Go:Pt.current,a=r.contextTypes,m=(a=a!=null)?Fn(t,d):zo),r=new r(s,m),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Il,t.stateNode=r,r._reactInternals=t,a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=d,t.__reactInternalMemoizedMaskedChildContext=m),r}function jv(t,r,s,a){t=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(s,a),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(s,a),r.state!==t&&Il.enqueueReplaceState(r,r.state,null)}function Qu(t,r,s,a){var d=t.stateNode;d.props=s,d.state=t.memoizedState,d.refs={},Iu(t);var m=r.contextType;typeof m=="object"&&m!==null?d.context=fr(m):(m=Vt(r)?Go:Pt.current,d.context=Fn(t,m)),d.state=t.memoizedState,m=r.getDerivedStateFromProps,typeof m=="function"&&(Xu(t,r,m,s),d.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(r=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),r!==d.state&&Il.enqueueReplaceState(d,d.state,null),Tl(t,s,d,a),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308)}function Hn(t,r){try{var s="",a=r;do s+=Pe(a),a=a.return;while(a);var d=s}catch(m){d=`
|
|
8
|
+
Error generating stack: `+m.message+`
|
|
9
|
+
`+m.stack}return{value:t,source:r,stack:d,digest:null}}function Yu(t,r,s){return{value:t,source:null,stack:s??null,digest:r??null}}function Ju(t,r){try{console.error(r.value)}catch(s){setTimeout(function(){throw s})}}var R3=typeof WeakMap=="function"?WeakMap:Map;function Rv(t,r,s){s=so(-1,s),s.tag=3,s.payload={element:null};var a=r.value;return s.callback=function(){Wl||(Wl=!0,pd=a),Ju(t,r)},s}function Fv(t,r,s){s=so(-1,s),s.tag=3;var a=t.type.getDerivedStateFromError;if(typeof a=="function"){var d=r.value;s.payload=function(){return a(d)},s.callback=function(){Ju(t,r)}}var m=t.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(s.callback=function(){Ju(t,r),typeof a!="function"&&(jo===null?jo=new Set([this]):jo.add(this));var x=r.stack;this.componentDidCatch(r.value,{componentStack:x!==null?x:""})}),s}function Dv(t,r,s){var a=t.pingCache;if(a===null){a=t.pingCache=new R3;var d=new Set;a.set(r,d)}else d=a.get(r),d===void 0&&(d=new Set,a.set(r,d));d.has(s)||(d.add(s),t=G3.bind(null,t,r,s),r.then(t,t))}function Iv(t){do{var r;if((r=t.tag===13)&&(r=t.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return t;t=t.return}while(t!==null);return null}function Ov(t,r,s,a,d){return(t.mode&1)===0?(t===r?t.flags|=65536:(t.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(r=so(-1,1),r.tag=2,Eo(s,r,1))),s.lanes|=1),t):(t.flags|=65536,t.lanes=d,t)}var F3=z.ReactCurrentOwner,Ut=!1;function Ot(t,r,s,a){r.child=t===null?ov(r,null,s,a):An(r,t.child,s,a)}function Av(t,r,s,a,d){s=s.render;var m=r.ref;return Mn(r,d),a=Wu(t,r,s,a,m,d),s=$u(),t!==null&&!Ut?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~d,lo(t,r,d)):(Ge&&s&&Cu(r),r.flags|=1,Ot(t,r,a,d),r.child)}function qv(t,r,s,a,d){if(t===null){var m=s.type;return typeof m=="function"&&!wd(m)&&m.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(r.tag=15,r.type=m,Mv(t,r,m,a,d)):(t=Xl(s.type,null,a,r,r.mode,d),t.ref=r.ref,t.return=r,r.child=t)}if(m=t.child,(t.lanes&d)===0){var x=m.memoizedProps;if(s=s.compare,s=s!==null?s:Ri,s(x,a)&&t.ref===r.ref)return lo(t,r,d)}return r.flags|=1,t=Io(m,a),t.ref=r.ref,t.return=r,r.child=t}function Mv(t,r,s,a,d){if(t!==null){var m=t.memoizedProps;if(Ri(m,a)&&t.ref===r.ref)if(Ut=!1,r.pendingProps=a=m,(t.lanes&d)!==0)(t.flags&131072)!==0&&(Ut=!0);else return r.lanes=t.lanes,lo(t,r,d)}return Zu(t,r,s,a,d)}function Lv(t,r,s){var a=r.pendingProps,d=a.children,m=t!==null?t.memoizedState:null;if(a.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},We($n,nr),nr|=s;else{if((s&1073741824)===0)return t=m!==null?m.baseLanes|s:s,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:t,cachePool:null,transitions:null},r.updateQueue=null,We($n,nr),nr|=t,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=m!==null?m.baseLanes:s,We($n,nr),nr|=a}else m!==null?(a=m.baseLanes|s,r.memoizedState=null):a=s,We($n,nr),nr|=a;return Ot(t,r,d,s),r.child}function Hv(t,r){var s=r.ref;(t===null&&s!==null||t!==null&&t.ref!==s)&&(r.flags|=512,r.flags|=2097152)}function Zu(t,r,s,a,d){var m=Vt(s)?Go:Pt.current;return m=Fn(r,m),Mn(r,d),s=Wu(t,r,s,a,m,d),a=$u(),t!==null&&!Ut?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~d,lo(t,r,d)):(Ge&&a&&Cu(r),r.flags|=1,Ot(t,r,s,d),r.child)}function Wv(t,r,s,a,d){if(Vt(s)){var m=!0;wl(r)}else m=!1;if(Mn(r,d),r.stateNode===null)Al(t,r),Pv(r,s,a),Qu(r,s,a,d),a=!0;else if(t===null){var x=r.stateNode,B=r.memoizedProps;x.props=B;var E=x.context,O=s.contextType;typeof O=="object"&&O!==null?O=fr(O):(O=Vt(s)?Go:Pt.current,O=Fn(r,O));var K=s.getDerivedStateFromProps,X=typeof K=="function"||typeof x.getSnapshotBeforeUpdate=="function";X||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(B!==a||E!==O)&&jv(r,x,a,O),To=!1;var V=r.memoizedState;x.state=V,Tl(r,a,x,d),E=r.memoizedState,B!==a||V!==E||$t.current||To?(typeof K=="function"&&(Xu(r,s,K,a),E=r.memoizedState),(B=To||Ev(r,s,B,a,V,E,O))?(X||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(r.flags|=4194308)):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=a,r.memoizedState=E),x.props=a,x.state=E,x.context=O,a=B):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),a=!1)}else{x=r.stateNode,iv(t,r),B=r.memoizedProps,O=r.type===r.elementType?B:Tr(r.type,B),x.props=O,X=r.pendingProps,V=x.context,E=s.contextType,typeof E=="object"&&E!==null?E=fr(E):(E=Vt(s)?Go:Pt.current,E=Fn(r,E));var ne=s.getDerivedStateFromProps;(K=typeof ne=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(B!==X||V!==E)&&jv(r,x,a,E),To=!1,V=r.memoizedState,x.state=V,Tl(r,a,x,d);var se=r.memoizedState;B!==X||V!==se||$t.current||To?(typeof ne=="function"&&(Xu(r,s,ne,a),se=r.memoizedState),(O=To||Ev(r,s,O,a,V,se,E)||!1)?(K||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(a,se,E),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(a,se,E)),typeof x.componentDidUpdate=="function"&&(r.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof x.componentDidUpdate!="function"||B===t.memoizedProps&&V===t.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&V===t.memoizedState||(r.flags|=1024),r.memoizedProps=a,r.memoizedState=se),x.props=a,x.state=se,x.context=E,a=O):(typeof x.componentDidUpdate!="function"||B===t.memoizedProps&&V===t.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&V===t.memoizedState||(r.flags|=1024),a=!1)}return ed(t,r,s,a,m,d)}function ed(t,r,s,a,d,m){Hv(t,r);var x=(r.flags&128)!==0;if(!a&&!x)return d&&Kg(r,s,!1),lo(t,r,m);a=r.stateNode,F3.current=r;var B=x&&typeof s.getDerivedStateFromError!="function"?null:a.render();return r.flags|=1,t!==null&&x?(r.child=An(r,t.child,null,m),r.child=An(r,null,B,m)):Ot(t,r,B,m),r.memoizedState=a.state,d&&Kg(r,s,!0),r.child}function $v(t){var r=t.stateNode;r.pendingContext?Ug(t,r.pendingContext,r.pendingContext!==r.context):r.context&&Ug(t,r.context,!1),Ou(t,r.containerInfo)}function Vv(t,r,s,a,d){return On(),Eu(d),r.flags|=256,Ot(t,r,s,a),r.child}var td={dehydrated:null,treeContext:null,retryLane:0};function rd(t){return{baseLanes:t,cachePool:null,transitions:null}}function Uv(t,r,s){var a=r.pendingProps,d=Ye.current,m=!1,x=(r.flags&128)!==0,B;if((B=x)||(B=t!==null&&t.memoizedState===null?!1:(d&2)!==0),B?(m=!0,r.flags&=-129):(t===null||t.memoizedState!==null)&&(d|=1),We(Ye,d&1),t===null)return Tu(r),t=r.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((r.mode&1)===0?r.lanes=1:t.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(x=a.children,t=a.fallback,m?(a=r.mode,m=r.child,x={mode:"hidden",children:x},(a&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=x):m=Ql(x,a,0,null),t=on(t,a,s,null),m.return=r,t.return=r,m.sibling=t,r.child=m,r.child.memoizedState=rd(s),r.memoizedState=td,t):od(r,x));if(d=t.memoizedState,d!==null&&(B=d.dehydrated,B!==null))return D3(t,r,x,a,B,d,s);if(m){m=a.fallback,x=r.mode,d=t.child,B=d.sibling;var E={mode:"hidden",children:a.children};return(x&1)===0&&r.child!==d?(a=r.child,a.childLanes=0,a.pendingProps=E,r.deletions=null):(a=Io(d,E),a.subtreeFlags=d.subtreeFlags&14680064),B!==null?m=Io(B,m):(m=on(m,x,s,null),m.flags|=2),m.return=r,a.return=r,a.sibling=m,r.child=a,a=m,m=r.child,x=t.child.memoizedState,x=x===null?rd(s):{baseLanes:x.baseLanes|s,cachePool:null,transitions:x.transitions},m.memoizedState=x,m.childLanes=t.childLanes&~s,r.memoizedState=td,a}return m=t.child,t=m.sibling,a=Io(m,{mode:"visible",children:a.children}),(r.mode&1)===0&&(a.lanes=s),a.return=r,a.sibling=null,t!==null&&(s=r.deletions,s===null?(r.deletions=[t],r.flags|=16):s.push(t)),r.child=a,r.memoizedState=null,a}function od(t,r){return r=Ql({mode:"visible",children:r},t.mode,0,null),r.return=t,t.child=r}function Ol(t,r,s,a){return a!==null&&Eu(a),An(r,t.child,null,s),t=od(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function D3(t,r,s,a,d,m,x){if(s)return r.flags&256?(r.flags&=-257,a=Yu(Error(n(422))),Ol(t,r,x,a)):r.memoizedState!==null?(r.child=t.child,r.flags|=128,null):(m=a.fallback,d=r.mode,a=Ql({mode:"visible",children:a.children},d,0,null),m=on(m,d,x,null),m.flags|=2,a.return=r,m.return=r,a.sibling=m,r.child=a,(r.mode&1)!==0&&An(r,t.child,null,x),r.child.memoizedState=rd(x),r.memoizedState=td,m);if((r.mode&1)===0)return Ol(t,r,x,null);if(d.data==="$!"){if(a=d.nextSibling&&d.nextSibling.dataset,a)var B=a.dgst;return a=B,m=Error(n(419)),a=Yu(m,a,void 0),Ol(t,r,x,a)}if(B=(x&t.childLanes)!==0,Ut||B){if(a=bt,a!==null){switch(x&-x){case 4:d=2;break;case 16:d=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=(d&(a.suspendedLanes|x))!==0?0:d,d!==0&&d!==m.retryLane&&(m.retryLane=d,io(t,d),jr(a,t,d,-1))}return yd(),a=Yu(Error(n(421))),Ol(t,r,x,a)}return d.data==="$?"?(r.flags|=128,r.child=t.child,r=K3.bind(null,t),d._reactRetry=r,null):(t=m.treeContext,or=Bo(d.nextSibling),rr=r,Ge=!0,Nr=null,t!==null&&(ur[dr++]=oo,ur[dr++]=no,ur[dr++]=Ko,oo=t.id,no=t.overflow,Ko=r),r=od(r,a.children),r.flags|=4096,r)}function Gv(t,r,s){t.lanes|=r;var a=t.alternate;a!==null&&(a.lanes|=r),Fu(t.return,r,s)}function nd(t,r,s,a,d){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:a,tail:s,tailMode:d}:(m.isBackwards=r,m.rendering=null,m.renderingStartTime=0,m.last=a,m.tail=s,m.tailMode=d)}function Kv(t,r,s){var a=r.pendingProps,d=a.revealOrder,m=a.tail;if(Ot(t,r,a.children,s),a=Ye.current,(a&2)!==0)a=a&1|2,r.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Gv(t,s,r);else if(t.tag===19)Gv(t,s,r);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===r)break e;for(;t.sibling===null;){if(t.return===null||t.return===r)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}if(We(Ye,a),(r.mode&1)===0)r.memoizedState=null;else switch(d){case"forwards":for(s=r.child,d=null;s!==null;)t=s.alternate,t!==null&&El(t)===null&&(d=s),s=s.sibling;s=d,s===null?(d=r.child,r.child=null):(d=s.sibling,s.sibling=null),nd(r,!1,d,s,m);break;case"backwards":for(s=null,d=r.child,r.child=null;d!==null;){if(t=d.alternate,t!==null&&El(t)===null){r.child=d;break}t=d.sibling,d.sibling=s,s=d,d=t}nd(r,!0,s,null,m);break;case"together":nd(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Al(t,r){(r.mode&1)===0&&t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2)}function lo(t,r,s){if(t!==null&&(r.dependencies=t.dependencies),Zo|=r.lanes,(s&r.childLanes)===0)return null;if(t!==null&&r.child!==t.child)throw Error(n(153));if(r.child!==null){for(t=r.child,s=Io(t,t.pendingProps),r.child=s,s.return=r;t.sibling!==null;)t=t.sibling,s=s.sibling=Io(t,t.pendingProps),s.return=r;s.sibling=null}return r.child}function I3(t,r,s){switch(r.tag){case 3:$v(r),On();break;case 5:av(r);break;case 1:Vt(r.type)&&wl(r);break;case 4:Ou(r,r.stateNode.containerInfo);break;case 10:var a=r.type._context,d=r.memoizedProps.value;We(Cl,a._currentValue),a._currentValue=d;break;case 13:if(a=r.memoizedState,a!==null)return a.dehydrated!==null?(We(Ye,Ye.current&1),r.flags|=128,null):(s&r.child.childLanes)!==0?Uv(t,r,s):(We(Ye,Ye.current&1),t=lo(t,r,s),t!==null?t.sibling:null);We(Ye,Ye.current&1);break;case 19:if(a=(s&r.childLanes)!==0,(t.flags&128)!==0){if(a)return Kv(t,r,s);r.flags|=128}if(d=r.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),We(Ye,Ye.current),a)break;return null;case 22:case 23:return r.lanes=0,Lv(t,r,s)}return lo(t,r,s)}var Xv,id,Qv,Yv;Xv=function(t,r){for(var s=r.child;s!==null;){if(s.tag===5||s.tag===6)t.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},id=function(){},Qv=function(t,r,s,a){var d=t.memoizedProps;if(d!==a){t=r.stateNode,Yo(Wr.current);var m=null;switch(s){case"input":d=L(t,d),a=L(t,a),m=[];break;case"select":d=Z({},d,{value:void 0}),a=Z({},a,{value:void 0}),m=[];break;case"textarea":d=Mr(t,d),a=Mr(t,a),m=[];break;default:typeof d.onClick!="function"&&typeof a.onClick=="function"&&(t.onclick=vl)}qc(s,a);var x;s=null;for(O in d)if(!a.hasOwnProperty(O)&&d.hasOwnProperty(O)&&d[O]!=null)if(O==="style"){var B=d[O];for(x in B)B.hasOwnProperty(x)&&(s||(s={}),s[x]="")}else O!=="dangerouslySetInnerHTML"&&O!=="children"&&O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&O!=="autoFocus"&&(l.hasOwnProperty(O)?m||(m=[]):(m=m||[]).push(O,null));for(O in a){var E=a[O];if(B=d?.[O],a.hasOwnProperty(O)&&E!==B&&(E!=null||B!=null))if(O==="style")if(B){for(x in B)!B.hasOwnProperty(x)||E&&E.hasOwnProperty(x)||(s||(s={}),s[x]="");for(x in E)E.hasOwnProperty(x)&&B[x]!==E[x]&&(s||(s={}),s[x]=E[x])}else s||(m||(m=[]),m.push(O,s)),s=E;else O==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,B=B?B.__html:void 0,E!=null&&B!==E&&(m=m||[]).push(O,E)):O==="children"?typeof E!="string"&&typeof E!="number"||(m=m||[]).push(O,""+E):O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&(l.hasOwnProperty(O)?(E!=null&&O==="onScroll"&&Ve("scroll",t),m||B===E||(m=[])):(m=m||[]).push(O,E))}s&&(m=m||[]).push("style",s);var O=m;(r.updateQueue=O)&&(r.flags|=4)}},Yv=function(t,r,s,a){s!==a&&(r.flags|=4)};function Ki(t,r){if(!Ge)switch(t.tailMode){case"hidden":r=t.tail;for(var s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var a=null;s!==null;)s.alternate!==null&&(a=s),s=s.sibling;a===null?r||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Rt(t){var r=t.alternate!==null&&t.alternate.child===t.child,s=0,a=0;if(r)for(var d=t.child;d!==null;)s|=d.lanes|d.childLanes,a|=d.subtreeFlags&14680064,a|=d.flags&14680064,d.return=t,d=d.sibling;else for(d=t.child;d!==null;)s|=d.lanes|d.childLanes,a|=d.subtreeFlags,a|=d.flags,d.return=t,d=d.sibling;return t.subtreeFlags|=a,t.childLanes=s,r}function O3(t,r,s){var a=r.pendingProps;switch(zu(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(r),null;case 1:return Vt(r.type)&&yl(),Rt(r),null;case 3:return a=r.stateNode,Ln(),Ue($t),Ue(Pt),Mu(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(_l(r)?r.flags|=4:t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Nr!==null&&(gd(Nr),Nr=null))),id(t,r),Rt(r),null;case 5:Au(r);var d=Yo(Wi.current);if(s=r.type,t!==null&&r.stateNode!=null)Qv(t,r,s,a,d),t.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!a){if(r.stateNode===null)throw Error(n(166));return Rt(r),null}if(t=Yo(Wr.current),_l(r)){a=r.stateNode,s=r.type;var m=r.memoizedProps;switch(a[Hr]=r,a[Ai]=m,t=(r.mode&1)!==0,s){case"dialog":Ve("cancel",a),Ve("close",a);break;case"iframe":case"object":case"embed":Ve("load",a);break;case"video":case"audio":for(d=0;d<Di.length;d++)Ve(Di[d],a);break;case"source":Ve("error",a);break;case"img":case"image":case"link":Ve("error",a),Ve("load",a);break;case"details":Ve("toggle",a);break;case"input":ke(a,m),Ve("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!m.multiple},Ve("invalid",a);break;case"textarea":$e(a,m),Ve("invalid",a)}qc(s,m),d=null;for(var x in m)if(m.hasOwnProperty(x)){var B=m[x];x==="children"?typeof B=="string"?a.textContent!==B&&(m.suppressHydrationWarning!==!0&&gl(a.textContent,B,t),d=["children",B]):typeof B=="number"&&a.textContent!==""+B&&(m.suppressHydrationWarning!==!0&&gl(a.textContent,B,t),d=["children",""+B]):l.hasOwnProperty(x)&&B!=null&&x==="onScroll"&&Ve("scroll",a)}switch(s){case"input":kn(a),St(a,m,!0);break;case"textarea":kn(a),ze(a);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(a.onclick=vl)}a=d,r.updateQueue=a,a!==null&&(r.flags|=4)}else{x=d.nodeType===9?d:d.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=Et(s)),t==="http://www.w3.org/1999/xhtml"?s==="script"?(t=x.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof a.is=="string"?t=x.createElement(s,{is:a.is}):(t=x.createElement(s),s==="select"&&(x=t,a.multiple?x.multiple=!0:a.size&&(x.size=a.size))):t=x.createElementNS(t,s),t[Hr]=r,t[Ai]=a,Xv(t,r,!1,!1),r.stateNode=t;e:{switch(x=Mc(s,a),s){case"dialog":Ve("cancel",t),Ve("close",t),d=a;break;case"iframe":case"object":case"embed":Ve("load",t),d=a;break;case"video":case"audio":for(d=0;d<Di.length;d++)Ve(Di[d],t);d=a;break;case"source":Ve("error",t),d=a;break;case"img":case"image":case"link":Ve("error",t),Ve("load",t),d=a;break;case"details":Ve("toggle",t),d=a;break;case"input":ke(t,a),d=L(t,a),Ve("invalid",t);break;case"option":d=a;break;case"select":t._wrapperState={wasMultiple:!!a.multiple},d=Z({},a,{value:void 0}),Ve("invalid",t);break;case"textarea":$e(t,a),d=Mr(t,a),Ve("invalid",t);break;default:d=a}qc(s,d),B=d;for(m in B)if(B.hasOwnProperty(m)){var E=B[m];m==="style"?Mh(t,E):m==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&_r(t,E)):m==="children"?typeof E=="string"?(s!=="textarea"||E!=="")&&_t(t,E):typeof E=="number"&&_t(t,""+E):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(l.hasOwnProperty(m)?E!=null&&m==="onScroll"&&Ve("scroll",t):E!=null&&T(t,m,E,x))}switch(s){case"input":kn(t),St(t,a,!1);break;case"textarea":kn(t),ze(t);break;case"option":a.value!=null&&t.setAttribute("value",""+_e(a.value));break;case"select":t.multiple=!!a.multiple,m=a.value,m!=null?gt(t,!!a.multiple,m,!1):a.defaultValue!=null&>(t,!!a.multiple,a.defaultValue,!0);break;default:typeof d.onClick=="function"&&(t.onclick=vl)}switch(s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Rt(r),null;case 6:if(t&&r.stateNode!=null)Yv(t,r,t.memoizedProps,a);else{if(typeof a!="string"&&r.stateNode===null)throw Error(n(166));if(s=Yo(Wi.current),Yo(Wr.current),_l(r)){if(a=r.stateNode,s=r.memoizedProps,a[Hr]=r,(m=a.nodeValue!==s)&&(t=rr,t!==null))switch(t.tag){case 3:gl(a.nodeValue,s,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&gl(a.nodeValue,s,(t.mode&1)!==0)}m&&(r.flags|=4)}else a=(s.nodeType===9?s:s.ownerDocument).createTextNode(a),a[Hr]=r,r.stateNode=a}return Rt(r),null;case 13:if(Ue(Ye),a=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Ge&&or!==null&&(r.mode&1)!==0&&(r.flags&128)===0)ev(),On(),r.flags|=98560,m=!1;else if(m=_l(r),a!==null&&a.dehydrated!==null){if(t===null){if(!m)throw Error(n(318));if(m=r.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(n(317));m[Hr]=r}else On(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Rt(r),m=!1}else Nr!==null&&(gd(Nr),Nr=null),m=!0;if(!m)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=s,r):(a=a!==null,a!==(t!==null&&t.memoizedState!==null)&&a&&(r.child.flags|=8192,(r.mode&1)!==0&&(t===null||(Ye.current&1)!==0?mt===0&&(mt=3):yd())),r.updateQueue!==null&&(r.flags|=4),Rt(r),null);case 4:return Ln(),id(t,r),t===null&&Ii(r.stateNode.containerInfo),Rt(r),null;case 10:return Ru(r.type._context),Rt(r),null;case 17:return Vt(r.type)&&yl(),Rt(r),null;case 19:if(Ue(Ye),m=r.memoizedState,m===null)return Rt(r),null;if(a=(r.flags&128)!==0,x=m.rendering,x===null)if(a)Ki(m,!1);else{if(mt!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(x=El(t),x!==null){for(r.flags|=128,Ki(m,!1),a=x.updateQueue,a!==null&&(r.updateQueue=a,r.flags|=4),r.subtreeFlags=0,a=s,s=r.child;s!==null;)m=s,t=a,m.flags&=14680066,x=m.alternate,x===null?(m.childLanes=0,m.lanes=t,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=x.childLanes,m.lanes=x.lanes,m.child=x.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=x.memoizedProps,m.memoizedState=x.memoizedState,m.updateQueue=x.updateQueue,m.type=x.type,t=x.dependencies,m.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),s=s.sibling;return We(Ye,Ye.current&1|2),r.child}t=t.sibling}m.tail!==null&<()>Vn&&(r.flags|=128,a=!0,Ki(m,!1),r.lanes=4194304)}else{if(!a)if(t=El(x),t!==null){if(r.flags|=128,a=!0,s=t.updateQueue,s!==null&&(r.updateQueue=s,r.flags|=4),Ki(m,!0),m.tail===null&&m.tailMode==="hidden"&&!x.alternate&&!Ge)return Rt(r),null}else 2*lt()-m.renderingStartTime>Vn&&s!==1073741824&&(r.flags|=128,a=!0,Ki(m,!1),r.lanes=4194304);m.isBackwards?(x.sibling=r.child,r.child=x):(s=m.last,s!==null?s.sibling=x:r.child=x,m.last=x)}return m.tail!==null?(r=m.tail,m.rendering=r,m.tail=r.sibling,m.renderingStartTime=lt(),r.sibling=null,s=Ye.current,We(Ye,a?s&1|2:s&1),r):(Rt(r),null);case 22:case 23:return bd(),a=r.memoizedState!==null,t!==null&&t.memoizedState!==null!==a&&(r.flags|=8192),a&&(r.mode&1)!==0?(nr&1073741824)!==0&&(Rt(r),r.subtreeFlags&6&&(r.flags|=8192)):Rt(r),null;case 24:return null;case 25:return null}throw Error(n(156,r.tag))}function A3(t,r){switch(zu(r),r.tag){case 1:return Vt(r.type)&&yl(),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return Ln(),Ue($t),Ue(Pt),Mu(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 5:return Au(r),null;case 13:if(Ue(Ye),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(n(340));On()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return Ue(Ye),null;case 4:return Ln(),null;case 10:return Ru(r.type._context),null;case 22:case 23:return bd(),null;case 24:return null;default:return null}}var ql=!1,Ft=!1,q3=typeof WeakSet=="function"?WeakSet:Set,ie=null;function Wn(t,r){var s=t.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(a){rt(t,r,a)}else s.current=null}function sd(t,r,s){try{s()}catch(a){rt(t,r,a)}}var Jv=!1;function M3(t,r){if(bu=il,t=Eg(),uu(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else e:{s=(s=t.ownerDocument)&&s.defaultView||window;var a=s.getSelection&&s.getSelection();if(a&&a.rangeCount!==0){s=a.anchorNode;var d=a.anchorOffset,m=a.focusNode;a=a.focusOffset;try{s.nodeType,m.nodeType}catch{s=null;break e}var x=0,B=-1,E=-1,O=0,K=0,X=t,V=null;t:for(;;){for(var ne;X!==s||d!==0&&X.nodeType!==3||(B=x+d),X!==m||a!==0&&X.nodeType!==3||(E=x+a),X.nodeType===3&&(x+=X.nodeValue.length),(ne=X.firstChild)!==null;)V=X,X=ne;for(;;){if(X===t)break t;if(V===s&&++O===d&&(B=x),V===m&&++K===a&&(E=x),(ne=X.nextSibling)!==null)break;X=V,V=X.parentNode}X=ne}s=B===-1||E===-1?null:{start:B,end:E}}else s=null}s=s||{start:0,end:0}}else s=null;for(yu={focusedElem:t,selectionRange:s},il=!1,ie=r;ie!==null;)if(r=ie,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,ie=t;else for(;ie!==null;){r=ie;try{var se=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(se!==null){var ae=se.memoizedProps,at=se.memoizedState,F=r.stateNode,P=F.getSnapshotBeforeUpdate(r.elementType===r.type?ae:Tr(r.type,ae),at);F.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var D=r.stateNode.containerInfo;D.nodeType===1?D.textContent="":D.nodeType===9&&D.documentElement&&D.removeChild(D.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Q){rt(r,r.return,Q)}if(t=r.sibling,t!==null){t.return=r.return,ie=t;break}ie=r.return}return se=Jv,Jv=!1,se}function Xi(t,r,s){var a=r.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var d=a=a.next;do{if((d.tag&t)===t){var m=d.destroy;d.destroy=void 0,m!==void 0&&sd(r,s,m)}d=d.next}while(d!==a)}}function Ml(t,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&t)===t){var a=s.create;s.destroy=a()}s=s.next}while(s!==r)}}function ld(t){var r=t.ref;if(r!==null){var s=t.stateNode;switch(t.tag){case 5:t=s;break;default:t=s}typeof r=="function"?r(t):r.current=t}}function Zv(t){var r=t.alternate;r!==null&&(t.alternate=null,Zv(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&(delete r[Hr],delete r[Ai],delete r[Su],delete r[x3],delete r[S3])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function e0(t){return t.tag===5||t.tag===3||t.tag===4}function t0(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||e0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ad(t,r,s){var a=t.tag;if(a===5||a===6)t=t.stateNode,r?s.nodeType===8?s.parentNode.insertBefore(t,r):s.insertBefore(t,r):(s.nodeType===8?(r=s.parentNode,r.insertBefore(t,s)):(r=s,r.appendChild(t)),s=s._reactRootContainer,s!=null||r.onclick!==null||(r.onclick=vl));else if(a!==4&&(t=t.child,t!==null))for(ad(t,r,s),t=t.sibling;t!==null;)ad(t,r,s),t=t.sibling}function cd(t,r,s){var a=t.tag;if(a===5||a===6)t=t.stateNode,r?s.insertBefore(t,r):s.appendChild(t);else if(a!==4&&(t=t.child,t!==null))for(cd(t,r,s),t=t.sibling;t!==null;)cd(t,r,s),t=t.sibling}var Bt=null,Er=!1;function Po(t,r,s){for(s=s.child;s!==null;)r0(t,r,s),s=s.sibling}function r0(t,r,s){if(Lr&&typeof Lr.onCommitFiberUnmount=="function")try{Lr.onCommitFiberUnmount(Zs,s)}catch{}switch(s.tag){case 5:Ft||Wn(s,r);case 6:var a=Bt,d=Er;Bt=null,Po(t,r,s),Bt=a,Er=d,Bt!==null&&(Er?(t=Bt,s=s.stateNode,t.nodeType===8?t.parentNode.removeChild(s):t.removeChild(s)):Bt.removeChild(s.stateNode));break;case 18:Bt!==null&&(Er?(t=Bt,s=s.stateNode,t.nodeType===8?xu(t.parentNode,s):t.nodeType===1&&xu(t,s),zi(t)):xu(Bt,s.stateNode));break;case 4:a=Bt,d=Er,Bt=s.stateNode.containerInfo,Er=!0,Po(t,r,s),Bt=a,Er=d;break;case 0:case 11:case 14:case 15:if(!Ft&&(a=s.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){d=a=a.next;do{var m=d,x=m.destroy;m=m.tag,x!==void 0&&((m&2)!==0||(m&4)!==0)&&sd(s,r,x),d=d.next}while(d!==a)}Po(t,r,s);break;case 1:if(!Ft&&(Wn(s,r),a=s.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=s.memoizedProps,a.state=s.memoizedState,a.componentWillUnmount()}catch(B){rt(s,r,B)}Po(t,r,s);break;case 21:Po(t,r,s);break;case 22:s.mode&1?(Ft=(a=Ft)||s.memoizedState!==null,Po(t,r,s),Ft=a):Po(t,r,s);break;default:Po(t,r,s)}}function o0(t){var r=t.updateQueue;if(r!==null){t.updateQueue=null;var s=t.stateNode;s===null&&(s=t.stateNode=new q3),r.forEach(function(a){var d=X3.bind(null,t,a);s.has(a)||(s.add(a),a.then(d,d))})}}function Pr(t,r){var s=r.deletions;if(s!==null)for(var a=0;a<s.length;a++){var d=s[a];try{var m=t,x=r,B=x;e:for(;B!==null;){switch(B.tag){case 5:Bt=B.stateNode,Er=!1;break e;case 3:Bt=B.stateNode.containerInfo,Er=!0;break e;case 4:Bt=B.stateNode.containerInfo,Er=!0;break e}B=B.return}if(Bt===null)throw Error(n(160));r0(m,x,d),Bt=null,Er=!1;var E=d.alternate;E!==null&&(E.return=null),d.return=null}catch(O){rt(d,r,O)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)n0(r,t),r=r.sibling}function n0(t,r){var s=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Pr(r,t),Vr(t),a&4){try{Xi(3,t,t.return),Ml(3,t)}catch(ae){rt(t,t.return,ae)}try{Xi(5,t,t.return)}catch(ae){rt(t,t.return,ae)}}break;case 1:Pr(r,t),Vr(t),a&512&&s!==null&&Wn(s,s.return);break;case 5:if(Pr(r,t),Vr(t),a&512&&s!==null&&Wn(s,s.return),t.flags&32){var d=t.stateNode;try{_t(d,"")}catch(ae){rt(t,t.return,ae)}}if(a&4&&(d=t.stateNode,d!=null)){var m=t.memoizedProps,x=s!==null?s.memoizedProps:m,B=t.type,E=t.updateQueue;if(t.updateQueue=null,E!==null)try{B==="input"&&m.type==="radio"&&m.name!=null&&Ee(d,m),Mc(B,x);var O=Mc(B,m);for(x=0;x<E.length;x+=2){var K=E[x],X=E[x+1];K==="style"?Mh(d,X):K==="dangerouslySetInnerHTML"?_r(d,X):K==="children"?_t(d,X):T(d,K,X,O)}switch(B){case"input":st(d,m);break;case"textarea":Wt(d,m);break;case"select":var V=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!m.multiple;var ne=m.value;ne!=null?gt(d,!!m.multiple,ne,!1):V!==!!m.multiple&&(m.defaultValue!=null?gt(d,!!m.multiple,m.defaultValue,!0):gt(d,!!m.multiple,m.multiple?[]:"",!1))}d[Ai]=m}catch(ae){rt(t,t.return,ae)}}break;case 6:if(Pr(r,t),Vr(t),a&4){if(t.stateNode===null)throw Error(n(162));d=t.stateNode,m=t.memoizedProps;try{d.nodeValue=m}catch(ae){rt(t,t.return,ae)}}break;case 3:if(Pr(r,t),Vr(t),a&4&&s!==null&&s.memoizedState.isDehydrated)try{zi(r.containerInfo)}catch(ae){rt(t,t.return,ae)}break;case 4:Pr(r,t),Vr(t);break;case 13:Pr(r,t),Vr(t),d=t.child,d.flags&8192&&(m=d.memoizedState!==null,d.stateNode.isHidden=m,!m||d.alternate!==null&&d.alternate.memoizedState!==null||(fd=lt())),a&4&&o0(t);break;case 22:if(K=s!==null&&s.memoizedState!==null,t.mode&1?(Ft=(O=Ft)||K,Pr(r,t),Ft=O):Pr(r,t),Vr(t),a&8192){if(O=t.memoizedState!==null,(t.stateNode.isHidden=O)&&!K&&(t.mode&1)!==0)for(ie=t,K=t.child;K!==null;){for(X=ie=K;ie!==null;){switch(V=ie,ne=V.child,V.tag){case 0:case 11:case 14:case 15:Xi(4,V,V.return);break;case 1:Wn(V,V.return);var se=V.stateNode;if(typeof se.componentWillUnmount=="function"){a=V,s=V.return;try{r=a,se.props=r.memoizedProps,se.state=r.memoizedState,se.componentWillUnmount()}catch(ae){rt(a,s,ae)}}break;case 5:Wn(V,V.return);break;case 22:if(V.memoizedState!==null){l0(X);continue}}ne!==null?(ne.return=V,ie=ne):l0(X)}K=K.sibling}e:for(K=null,X=t;;){if(X.tag===5){if(K===null){K=X;try{d=X.stateNode,O?(m=d.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(B=X.stateNode,E=X.memoizedProps.style,x=E!=null&&E.hasOwnProperty("display")?E.display:null,B.style.display=qh("display",x))}catch(ae){rt(t,t.return,ae)}}}else if(X.tag===6){if(K===null)try{X.stateNode.nodeValue=O?"":X.memoizedProps}catch(ae){rt(t,t.return,ae)}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===t)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===t)break e;for(;X.sibling===null;){if(X.return===null||X.return===t)break e;K===X&&(K=null),X=X.return}K===X&&(K=null),X.sibling.return=X.return,X=X.sibling}}break;case 19:Pr(r,t),Vr(t),a&4&&o0(t);break;case 21:break;default:Pr(r,t),Vr(t)}}function Vr(t){var r=t.flags;if(r&2){try{e:{for(var s=t.return;s!==null;){if(e0(s)){var a=s;break e}s=s.return}throw Error(n(160))}switch(a.tag){case 5:var d=a.stateNode;a.flags&32&&(_t(d,""),a.flags&=-33);var m=t0(t);cd(t,m,d);break;case 3:case 4:var x=a.stateNode.containerInfo,B=t0(t);ad(t,B,x);break;default:throw Error(n(161))}}catch(E){rt(t,t.return,E)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function L3(t,r,s){ie=t,i0(t)}function i0(t,r,s){for(var a=(t.mode&1)!==0;ie!==null;){var d=ie,m=d.child;if(d.tag===22&&a){var x=d.memoizedState!==null||ql;if(!x){var B=d.alternate,E=B!==null&&B.memoizedState!==null||Ft;B=ql;var O=Ft;if(ql=x,(Ft=E)&&!O)for(ie=d;ie!==null;)x=ie,E=x.child,x.tag===22&&x.memoizedState!==null?a0(d):E!==null?(E.return=x,ie=E):a0(d);for(;m!==null;)ie=m,i0(m),m=m.sibling;ie=d,ql=B,Ft=O}s0(t)}else(d.subtreeFlags&8772)!==0&&m!==null?(m.return=d,ie=m):s0(t)}}function s0(t){for(;ie!==null;){var r=ie;if((r.flags&8772)!==0){var s=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:Ft||Ml(5,r);break;case 1:var a=r.stateNode;if(r.flags&4&&!Ft)if(s===null)a.componentDidMount();else{var d=r.elementType===r.type?s.memoizedProps:Tr(r.type,s.memoizedProps);a.componentDidUpdate(d,s.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var m=r.updateQueue;m!==null&&lv(r,m,a);break;case 3:var x=r.updateQueue;if(x!==null){if(s=null,r.child!==null)switch(r.child.tag){case 5:s=r.child.stateNode;break;case 1:s=r.child.stateNode}lv(r,x,s)}break;case 5:var B=r.stateNode;if(s===null&&r.flags&4){s=B;var E=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&s.focus();break;case"img":E.src&&(s.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var O=r.alternate;if(O!==null){var K=O.memoizedState;if(K!==null){var X=K.dehydrated;X!==null&&zi(X)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Ft||r.flags&512&&ld(r)}catch(V){rt(r,r.return,V)}}if(r===t){ie=null;break}if(s=r.sibling,s!==null){s.return=r.return,ie=s;break}ie=r.return}}function l0(t){for(;ie!==null;){var r=ie;if(r===t){ie=null;break}var s=r.sibling;if(s!==null){s.return=r.return,ie=s;break}ie=r.return}}function a0(t){for(;ie!==null;){var r=ie;try{switch(r.tag){case 0:case 11:case 15:var s=r.return;try{Ml(4,r)}catch(E){rt(r,s,E)}break;case 1:var a=r.stateNode;if(typeof a.componentDidMount=="function"){var d=r.return;try{a.componentDidMount()}catch(E){rt(r,d,E)}}var m=r.return;try{ld(r)}catch(E){rt(r,m,E)}break;case 5:var x=r.return;try{ld(r)}catch(E){rt(r,x,E)}}}catch(E){rt(r,r.return,E)}if(r===t){ie=null;break}var B=r.sibling;if(B!==null){B.return=r.return,ie=B;break}ie=r.return}}var H3=Math.ceil,Ll=z.ReactCurrentDispatcher,ud=z.ReactCurrentOwner,mr=z.ReactCurrentBatchConfig,Re=0,bt=null,ut=null,Ct=0,nr=0,$n=Co(0),mt=0,Qi=null,Zo=0,Hl=0,dd=0,Yi=null,Gt=null,fd=0,Vn=1/0,ao=null,Wl=!1,pd=null,jo=null,$l=!1,Ro=null,Vl=0,Ji=0,md=null,Ul=-1,Gl=0;function At(){return(Re&6)!==0?lt():Ul!==-1?Ul:Ul=lt()}function Fo(t){return(t.mode&1)===0?1:(Re&2)!==0&&Ct!==0?Ct&-Ct:B3.transition!==null?(Gl===0&&(Gl=tg()),Gl):(t=Ae,t!==0||(t=window.event,t=t===void 0?16:ug(t.type)),t)}function jr(t,r,s,a){if(50<Ji)throw Ji=0,md=null,Error(n(185));xi(t,s,a),((Re&2)===0||t!==bt)&&(t===bt&&((Re&2)===0&&(Hl|=s),mt===4&&Do(t,Ct)),Kt(t,a),s===1&&Re===0&&(r.mode&1)===0&&(Vn=lt()+500,kl&&No()))}function Kt(t,r){var s=t.callbackNode;B5(t,r);var a=rl(t,t===bt?Ct:0);if(a===0)s!==null&&Jh(s),t.callbackNode=null,t.callbackPriority=0;else if(r=a&-a,t.callbackPriority!==r){if(s!=null&&Jh(s),r===1)t.tag===0?_3(u0.bind(null,t)):Xg(u0.bind(null,t)),w3(function(){(Re&6)===0&&No()}),s=null;else{switch(rg(a)){case 1:s=Gc;break;case 4:s=Zh;break;case 16:s=Js;break;case 536870912:s=eg;break;default:s=Js}s=b0(s,c0.bind(null,t))}t.callbackPriority=r,t.callbackNode=s}}function c0(t,r){if(Ul=-1,Gl=0,(Re&6)!==0)throw Error(n(327));var s=t.callbackNode;if(Un()&&t.callbackNode!==s)return null;var a=rl(t,t===bt?Ct:0);if(a===0)return null;if((a&30)!==0||(a&t.expiredLanes)!==0||r)r=Kl(t,a);else{r=a;var d=Re;Re|=2;var m=f0();(bt!==t||Ct!==r)&&(ao=null,Vn=lt()+500,tn(t,r));do try{V3();break}catch(B){d0(t,B)}while(!0);ju(),Ll.current=m,Re=d,ut!==null?r=0:(bt=null,Ct=0,r=mt)}if(r!==0){if(r===2&&(d=Kc(t),d!==0&&(a=d,r=hd(t,d))),r===1)throw s=Qi,tn(t,0),Do(t,a),Kt(t,lt()),s;if(r===6)Do(t,a);else{if(d=t.current.alternate,(a&30)===0&&!W3(d)&&(r=Kl(t,a),r===2&&(m=Kc(t),m!==0&&(a=m,r=hd(t,m))),r===1))throw s=Qi,tn(t,0),Do(t,a),Kt(t,lt()),s;switch(t.finishedWork=d,t.finishedLanes=a,r){case 0:case 1:throw Error(n(345));case 2:rn(t,Gt,ao);break;case 3:if(Do(t,a),(a&130023424)===a&&(r=fd+500-lt(),10<r)){if(rl(t,0)!==0)break;if(d=t.suspendedLanes,(d&a)!==a){At(),t.pingedLanes|=t.suspendedLanes&d;break}t.timeoutHandle=ku(rn.bind(null,t,Gt,ao),r);break}rn(t,Gt,ao);break;case 4:if(Do(t,a),(a&4194240)===a)break;for(r=t.eventTimes,d=-1;0<a;){var x=31-Cr(a);m=1<<x,x=r[x],x>d&&(d=x),a&=~m}if(a=d,a=lt()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*H3(a/1960))-a,10<a){t.timeoutHandle=ku(rn.bind(null,t,Gt,ao),a);break}rn(t,Gt,ao);break;case 5:rn(t,Gt,ao);break;default:throw Error(n(329))}}}return Kt(t,lt()),t.callbackNode===s?c0.bind(null,t):null}function hd(t,r){var s=Yi;return t.current.memoizedState.isDehydrated&&(tn(t,r).flags|=256),t=Kl(t,r),t!==2&&(r=Gt,Gt=s,r!==null&&gd(r)),t}function gd(t){Gt===null?Gt=t:Gt.push.apply(Gt,t)}function W3(t){for(var r=t;;){if(r.flags&16384){var s=r.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var a=0;a<s.length;a++){var d=s[a],m=d.getSnapshot;d=d.value;try{if(!zr(m(),d))return!1}catch{return!1}}}if(s=r.child,r.subtreeFlags&16384&&s!==null)s.return=r,r=s;else{if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Do(t,r){for(r&=~dd,r&=~Hl,t.suspendedLanes|=r,t.pingedLanes&=~r,t=t.expirationTimes;0<r;){var s=31-Cr(r),a=1<<s;t[s]=-1,r&=~a}}function u0(t){if((Re&6)!==0)throw Error(n(327));Un();var r=rl(t,0);if((r&1)===0)return Kt(t,lt()),null;var s=Kl(t,r);if(t.tag!==0&&s===2){var a=Kc(t);a!==0&&(r=a,s=hd(t,a))}if(s===1)throw s=Qi,tn(t,0),Do(t,r),Kt(t,lt()),s;if(s===6)throw Error(n(345));return t.finishedWork=t.current.alternate,t.finishedLanes=r,rn(t,Gt,ao),Kt(t,lt()),null}function vd(t,r){var s=Re;Re|=1;try{return t(r)}finally{Re=s,Re===0&&(Vn=lt()+500,kl&&No())}}function en(t){Ro!==null&&Ro.tag===0&&(Re&6)===0&&Un();var r=Re;Re|=1;var s=mr.transition,a=Ae;try{if(mr.transition=null,Ae=1,t)return t()}finally{Ae=a,mr.transition=s,Re=r,(Re&6)===0&&No()}}function bd(){nr=$n.current,Ue($n)}function tn(t,r){t.finishedWork=null,t.finishedLanes=0;var s=t.timeoutHandle;if(s!==-1&&(t.timeoutHandle=-1,y3(s)),ut!==null)for(s=ut.return;s!==null;){var a=s;switch(zu(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&yl();break;case 3:Ln(),Ue($t),Ue(Pt),Mu();break;case 5:Au(a);break;case 4:Ln();break;case 13:Ue(Ye);break;case 19:Ue(Ye);break;case 10:Ru(a.type._context);break;case 22:case 23:bd()}s=s.return}if(bt=t,ut=t=Io(t.current,null),Ct=nr=r,mt=0,Qi=null,dd=Hl=Zo=0,Gt=Yi=null,Qo!==null){for(r=0;r<Qo.length;r++)if(s=Qo[r],a=s.interleaved,a!==null){s.interleaved=null;var d=a.next,m=s.pending;if(m!==null){var x=m.next;m.next=d,a.next=x}s.pending=a}Qo=null}return t}function d0(t,r){do{var s=ut;try{if(ju(),Pl.current=Dl,jl){for(var a=Je.memoizedState;a!==null;){var d=a.queue;d!==null&&(d.pending=null),a=a.next}jl=!1}if(Jo=0,vt=pt=Je=null,$i=!1,Vi=0,ud.current=null,s===null||s.return===null){mt=1,Qi=r,ut=null;break}e:{var m=t,x=s.return,B=s,E=r;if(r=Ct,B.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var O=E,K=B,X=K.tag;if((K.mode&1)===0&&(X===0||X===11||X===15)){var V=K.alternate;V?(K.updateQueue=V.updateQueue,K.memoizedState=V.memoizedState,K.lanes=V.lanes):(K.updateQueue=null,K.memoizedState=null)}var ne=Iv(x);if(ne!==null){ne.flags&=-257,Ov(ne,x,B,m,r),ne.mode&1&&Dv(m,O,r),r=ne,E=O;var se=r.updateQueue;if(se===null){var ae=new Set;ae.add(E),r.updateQueue=ae}else se.add(E);break e}else{if((r&1)===0){Dv(m,O,r),yd();break e}E=Error(n(426))}}else if(Ge&&B.mode&1){var at=Iv(x);if(at!==null){(at.flags&65536)===0&&(at.flags|=256),Ov(at,x,B,m,r),Eu(Hn(E,B));break e}}m=E=Hn(E,B),mt!==4&&(mt=2),Yi===null?Yi=[m]:Yi.push(m),m=x;do{switch(m.tag){case 3:m.flags|=65536,r&=-r,m.lanes|=r;var F=Rv(m,E,r);sv(m,F);break e;case 1:B=E;var P=m.type,D=m.stateNode;if((m.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||D!==null&&typeof D.componentDidCatch=="function"&&(jo===null||!jo.has(D)))){m.flags|=65536,r&=-r,m.lanes|=r;var Q=Fv(m,B,r);sv(m,Q);break e}}m=m.return}while(m!==null)}m0(s)}catch(de){r=de,ut===s&&s!==null&&(ut=s=s.return);continue}break}while(!0)}function f0(){var t=Ll.current;return Ll.current=Dl,t===null?Dl:t}function yd(){(mt===0||mt===3||mt===2)&&(mt=4),bt===null||(Zo&268435455)===0&&(Hl&268435455)===0||Do(bt,Ct)}function Kl(t,r){var s=Re;Re|=2;var a=f0();(bt!==t||Ct!==r)&&(ao=null,tn(t,r));do try{$3();break}catch(d){d0(t,d)}while(!0);if(ju(),Re=s,Ll.current=a,ut!==null)throw Error(n(261));return bt=null,Ct=0,mt}function $3(){for(;ut!==null;)p0(ut)}function V3(){for(;ut!==null&&!g5();)p0(ut)}function p0(t){var r=v0(t.alternate,t,nr);t.memoizedProps=t.pendingProps,r===null?m0(t):ut=r,ud.current=null}function m0(t){var r=t;do{var s=r.alternate;if(t=r.return,(r.flags&32768)===0){if(s=O3(s,r,nr),s!==null){ut=s;return}}else{if(s=A3(s,r),s!==null){s.flags&=32767,ut=s;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{mt=6,ut=null;return}}if(r=r.sibling,r!==null){ut=r;return}ut=r=t}while(r!==null);mt===0&&(mt=5)}function rn(t,r,s){var a=Ae,d=mr.transition;try{mr.transition=null,Ae=1,U3(t,r,s,a)}finally{mr.transition=d,Ae=a}return null}function U3(t,r,s,a){do Un();while(Ro!==null);if((Re&6)!==0)throw Error(n(327));s=t.finishedWork;var d=t.finishedLanes;if(s===null)return null;if(t.finishedWork=null,t.finishedLanes=0,s===t.current)throw Error(n(177));t.callbackNode=null,t.callbackPriority=0;var m=s.lanes|s.childLanes;if(C5(t,m),t===bt&&(ut=bt=null,Ct=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||$l||($l=!0,b0(Js,function(){return Un(),null})),m=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||m){m=mr.transition,mr.transition=null;var x=Ae;Ae=1;var B=Re;Re|=4,ud.current=null,M3(t,s),n0(s,t),f3(yu),il=!!bu,yu=bu=null,t.current=s,L3(s),v5(),Re=B,Ae=x,mr.transition=m}else t.current=s;if($l&&($l=!1,Ro=t,Vl=d),m=t.pendingLanes,m===0&&(jo=null),w5(s.stateNode),Kt(t,lt()),r!==null)for(a=t.onRecoverableError,s=0;s<r.length;s++)d=r[s],a(d.value,{componentStack:d.stack,digest:d.digest});if(Wl)throw Wl=!1,t=pd,pd=null,t;return(Vl&1)!==0&&t.tag!==0&&Un(),m=t.pendingLanes,(m&1)!==0?t===md?Ji++:(Ji=0,md=t):Ji=0,No(),null}function Un(){if(Ro!==null){var t=rg(Vl),r=mr.transition,s=Ae;try{if(mr.transition=null,Ae=16>t?16:t,Ro===null)var a=!1;else{if(t=Ro,Ro=null,Vl=0,(Re&6)!==0)throw Error(n(331));var d=Re;for(Re|=4,ie=t.current;ie!==null;){var m=ie,x=m.child;if((ie.flags&16)!==0){var B=m.deletions;if(B!==null){for(var E=0;E<B.length;E++){var O=B[E];for(ie=O;ie!==null;){var K=ie;switch(K.tag){case 0:case 11:case 15:Xi(8,K,m)}var X=K.child;if(X!==null)X.return=K,ie=X;else for(;ie!==null;){K=ie;var V=K.sibling,ne=K.return;if(Zv(K),K===O){ie=null;break}if(V!==null){V.return=ne,ie=V;break}ie=ne}}}var se=m.alternate;if(se!==null){var ae=se.child;if(ae!==null){se.child=null;do{var at=ae.sibling;ae.sibling=null,ae=at}while(ae!==null)}}ie=m}}if((m.subtreeFlags&2064)!==0&&x!==null)x.return=m,ie=x;else e:for(;ie!==null;){if(m=ie,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:Xi(9,m,m.return)}var F=m.sibling;if(F!==null){F.return=m.return,ie=F;break e}ie=m.return}}var P=t.current;for(ie=P;ie!==null;){x=ie;var D=x.child;if((x.subtreeFlags&2064)!==0&&D!==null)D.return=x,ie=D;else e:for(x=P;ie!==null;){if(B=ie,(B.flags&2048)!==0)try{switch(B.tag){case 0:case 11:case 15:Ml(9,B)}}catch(de){rt(B,B.return,de)}if(B===x){ie=null;break e}var Q=B.sibling;if(Q!==null){Q.return=B.return,ie=Q;break e}ie=B.return}}if(Re=d,No(),Lr&&typeof Lr.onPostCommitFiberRoot=="function")try{Lr.onPostCommitFiberRoot(Zs,t)}catch{}a=!0}return a}finally{Ae=s,mr.transition=r}}return!1}function h0(t,r,s){r=Hn(s,r),r=Rv(t,r,1),t=Eo(t,r,1),r=At(),t!==null&&(xi(t,1,r),Kt(t,r))}function rt(t,r,s){if(t.tag===3)h0(t,t,s);else for(;r!==null;){if(r.tag===3){h0(r,t,s);break}else if(r.tag===1){var a=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(jo===null||!jo.has(a))){t=Hn(s,t),t=Fv(r,t,1),r=Eo(r,t,1),t=At(),r!==null&&(xi(r,1,t),Kt(r,t));break}}r=r.return}}function G3(t,r,s){var a=t.pingCache;a!==null&&a.delete(r),r=At(),t.pingedLanes|=t.suspendedLanes&s,bt===t&&(Ct&s)===s&&(mt===4||mt===3&&(Ct&130023424)===Ct&&500>lt()-fd?tn(t,0):dd|=s),Kt(t,r)}function g0(t,r){r===0&&((t.mode&1)===0?r=1:(r=tl,tl<<=1,(tl&130023424)===0&&(tl=4194304)));var s=At();t=io(t,r),t!==null&&(xi(t,r,s),Kt(t,s))}function K3(t){var r=t.memoizedState,s=0;r!==null&&(s=r.retryLane),g0(t,s)}function X3(t,r){var s=0;switch(t.tag){case 13:var a=t.stateNode,d=t.memoizedState;d!==null&&(s=d.retryLane);break;case 19:a=t.stateNode;break;default:throw Error(n(314))}a!==null&&a.delete(r),g0(t,s)}var v0;v0=function(t,r,s){if(t!==null)if(t.memoizedProps!==r.pendingProps||$t.current)Ut=!0;else{if((t.lanes&s)===0&&(r.flags&128)===0)return Ut=!1,I3(t,r,s);Ut=(t.flags&131072)!==0}else Ut=!1,Ge&&(r.flags&1048576)!==0&&Qg(r,Sl,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;Al(t,r),t=r.pendingProps;var d=Fn(r,Pt.current);Mn(r,s),d=Wu(null,r,a,t,d,s);var m=$u();return r.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Vt(a)?(m=!0,wl(r)):m=!1,r.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,Iu(r),d.updater=Il,r.stateNode=d,d._reactInternals=r,Qu(r,a,t,s),r=ed(null,r,a,!0,m,s)):(r.tag=0,Ge&&m&&Cu(r),Ot(null,r,d,s),r=r.child),r;case 16:a=r.elementType;e:{switch(Al(t,r),t=r.pendingProps,d=a._init,a=d(a._payload),r.type=a,d=r.tag=Y3(a),t=Tr(a,t),d){case 0:r=Zu(null,r,a,t,s);break e;case 1:r=Wv(null,r,a,t,s);break e;case 11:r=Av(null,r,a,t,s);break e;case 14:r=qv(null,r,a,Tr(a.type,t),s);break e}throw Error(n(306,a,""))}return r;case 0:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:Tr(a,d),Zu(t,r,a,d,s);case 1:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:Tr(a,d),Wv(t,r,a,d,s);case 3:e:{if($v(r),t===null)throw Error(n(387));a=r.pendingProps,m=r.memoizedState,d=m.element,iv(t,r),Tl(r,a,null,s);var x=r.memoizedState;if(a=x.element,m.isDehydrated)if(m={element:a,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},r.updateQueue.baseState=m,r.memoizedState=m,r.flags&256){d=Hn(Error(n(423)),r),r=Vv(t,r,a,s,d);break e}else if(a!==d){d=Hn(Error(n(424)),r),r=Vv(t,r,a,s,d);break e}else for(or=Bo(r.stateNode.containerInfo.firstChild),rr=r,Ge=!0,Nr=null,s=ov(r,null,a,s),r.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(On(),a===d){r=lo(t,r,s);break e}Ot(t,r,a,s)}r=r.child}return r;case 5:return av(r),t===null&&Tu(r),a=r.type,d=r.pendingProps,m=t!==null?t.memoizedProps:null,x=d.children,wu(a,d)?x=null:m!==null&&wu(a,m)&&(r.flags|=32),Hv(t,r),Ot(t,r,x,s),r.child;case 6:return t===null&&Tu(r),null;case 13:return Uv(t,r,s);case 4:return Ou(r,r.stateNode.containerInfo),a=r.pendingProps,t===null?r.child=An(r,null,a,s):Ot(t,r,a,s),r.child;case 11:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:Tr(a,d),Av(t,r,a,d,s);case 7:return Ot(t,r,r.pendingProps,s),r.child;case 8:return Ot(t,r,r.pendingProps.children,s),r.child;case 12:return Ot(t,r,r.pendingProps.children,s),r.child;case 10:e:{if(a=r.type._context,d=r.pendingProps,m=r.memoizedProps,x=d.value,We(Cl,a._currentValue),a._currentValue=x,m!==null)if(zr(m.value,x)){if(m.children===d.children&&!$t.current){r=lo(t,r,s);break e}}else for(m=r.child,m!==null&&(m.return=r);m!==null;){var B=m.dependencies;if(B!==null){x=m.child;for(var E=B.firstContext;E!==null;){if(E.context===a){if(m.tag===1){E=so(-1,s&-s),E.tag=2;var O=m.updateQueue;if(O!==null){O=O.shared;var K=O.pending;K===null?E.next=E:(E.next=K.next,K.next=E),O.pending=E}}m.lanes|=s,E=m.alternate,E!==null&&(E.lanes|=s),Fu(m.return,s,r),B.lanes|=s;break}E=E.next}}else if(m.tag===10)x=m.type===r.type?null:m.child;else if(m.tag===18){if(x=m.return,x===null)throw Error(n(341));x.lanes|=s,B=x.alternate,B!==null&&(B.lanes|=s),Fu(x,s,r),x=m.sibling}else x=m.child;if(x!==null)x.return=m;else for(x=m;x!==null;){if(x===r){x=null;break}if(m=x.sibling,m!==null){m.return=x.return,x=m;break}x=x.return}m=x}Ot(t,r,d.children,s),r=r.child}return r;case 9:return d=r.type,a=r.pendingProps.children,Mn(r,s),d=fr(d),a=a(d),r.flags|=1,Ot(t,r,a,s),r.child;case 14:return a=r.type,d=Tr(a,r.pendingProps),d=Tr(a.type,d),qv(t,r,a,d,s);case 15:return Mv(t,r,r.type,r.pendingProps,s);case 17:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:Tr(a,d),Al(t,r),r.tag=1,Vt(a)?(t=!0,wl(r)):t=!1,Mn(r,s),Pv(r,a,d),Qu(r,a,d,s),ed(null,r,a,!0,t,s);case 19:return Kv(t,r,s);case 22:return Lv(t,r,s)}throw Error(n(156,r.tag))};function b0(t,r){return Yh(t,r)}function Q3(t,r,s,a){this.tag=t,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,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 hr(t,r,s,a){return new Q3(t,r,s,a)}function wd(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Y3(t){if(typeof t=="function")return wd(t)?1:0;if(t!=null){if(t=t.$$typeof,t===pe)return 11;if(t===Ne)return 14}return 2}function Io(t,r){var s=t.alternate;return s===null?(s=hr(t.tag,r,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=r,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&14680064,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,r=t.dependencies,s.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s}function Xl(t,r,s,a,d,m){var x=2;if(a=t,typeof t=="function")wd(t)&&(x=1);else if(typeof t=="string")x=5;else e:switch(t){case A:return on(s.children,d,m,r);case W:x=8,d|=8;break;case J:return t=hr(12,s,r,d|2),t.elementType=J,t.lanes=m,t;case $:return t=hr(13,s,r,d),t.elementType=$,t.lanes=m,t;case oe:return t=hr(19,s,r,d),t.elementType=oe,t.lanes=m,t;case me:return Ql(s,d,m,r);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case te:x=10;break e;case ve:x=9;break e;case pe:x=11;break e;case Ne:x=14;break e;case ye:x=16,a=null;break e}throw Error(n(130,t==null?t:typeof t,""))}return r=hr(x,s,r,d),r.elementType=t,r.type=a,r.lanes=m,r}function on(t,r,s,a){return t=hr(7,t,a,r),t.lanes=s,t}function Ql(t,r,s,a){return t=hr(22,t,a,r),t.elementType=me,t.lanes=s,t.stateNode={isHidden:!1},t}function kd(t,r,s){return t=hr(6,t,null,r),t.lanes=s,t}function xd(t,r,s){return r=hr(4,t.children!==null?t.children:[],t.key,r),r.lanes=s,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}function J3(t,r,s,a,d){this.tag=r,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xc(0),this.expirationTimes=Xc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xc(0),this.identifierPrefix=a,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function Sd(t,r,s,a,d,m,x,B,E){return t=new J3(t,r,s,B,E),r===1?(r=1,m===!0&&(r|=8)):r=0,m=hr(3,null,null,r),t.current=m,m.stateNode=t,m.memoizedState={element:a,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},Iu(m),t}function Z3(t,r,s){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:q,key:a==null?null:""+a,children:t,containerInfo:r,implementation:s}}function y0(t){if(!t)return zo;t=t._reactInternals;e:{if(Vo(t)!==t||t.tag!==1)throw Error(n(170));var r=t;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Vt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(n(171))}if(t.tag===1){var s=t.type;if(Vt(s))return Gg(t,s,r)}return r}function w0(t,r,s,a,d,m,x,B,E){return t=Sd(s,a,!0,t,d,m,x,B,E),t.context=y0(null),s=t.current,a=At(),d=Fo(s),m=so(a,d),m.callback=r??null,Eo(s,m,d),t.current.lanes=d,xi(t,d,a),Kt(t,a),t}function Yl(t,r,s,a){var d=r.current,m=At(),x=Fo(d);return s=y0(s),r.context===null?r.context=s:r.pendingContext=s,r=so(m,x),r.payload={element:t},a=a===void 0?null:a,a!==null&&(r.callback=a),t=Eo(d,r,x),t!==null&&(jr(t,d,x,m),Nl(t,d,x)),x}function Jl(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function k0(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<r?s:r}}function _d(t,r){k0(t,r),(t=t.alternate)&&k0(t,r)}function e4(){return null}var x0=typeof reportError=="function"?reportError:function(t){console.error(t)};function Bd(t){this._internalRoot=t}Zl.prototype.render=Bd.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(n(409));Yl(t,r,null,null)},Zl.prototype.unmount=Bd.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;en(function(){Yl(null,t,null,null)}),r[to]=null}};function Zl(t){this._internalRoot=t}Zl.prototype.unstable_scheduleHydration=function(t){if(t){var r=ig();t={blockedOn:null,target:t,priority:r};for(var s=0;s<xo.length&&r!==0&&r<xo[s].priority;s++);xo.splice(s,0,t),s===0&&ag(t)}};function Cd(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function ea(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function S0(){}function t4(t,r,s,a,d){if(d){if(typeof a=="function"){var m=a;a=function(){var O=Jl(x);m.call(O)}}var x=w0(r,a,t,0,null,!1,!1,"",S0);return t._reactRootContainer=x,t[to]=x.current,Ii(t.nodeType===8?t.parentNode:t),en(),x}for(;d=t.lastChild;)t.removeChild(d);if(typeof a=="function"){var B=a;a=function(){var O=Jl(E);B.call(O)}}var E=Sd(t,0,!1,null,null,!1,!1,"",S0);return t._reactRootContainer=E,t[to]=E.current,Ii(t.nodeType===8?t.parentNode:t),en(function(){Yl(r,E,s,a)}),E}function ta(t,r,s,a,d){var m=s._reactRootContainer;if(m){var x=m;if(typeof d=="function"){var B=d;d=function(){var E=Jl(x);B.call(E)}}Yl(r,x,t,d)}else x=t4(s,r,t,d,a);return Jl(x)}og=function(t){switch(t.tag){case 3:var r=t.stateNode;if(r.current.memoizedState.isDehydrated){var s=ki(r.pendingLanes);s!==0&&(Qc(r,s|1),Kt(r,lt()),(Re&6)===0&&(Vn=lt()+500,No()))}break;case 13:en(function(){var a=io(t,1);if(a!==null){var d=At();jr(a,t,1,d)}}),_d(t,1)}},Yc=function(t){if(t.tag===13){var r=io(t,134217728);if(r!==null){var s=At();jr(r,t,134217728,s)}_d(t,134217728)}},ng=function(t){if(t.tag===13){var r=Fo(t),s=io(t,r);if(s!==null){var a=At();jr(s,t,r,a)}_d(t,r)}},ig=function(){return Ae},sg=function(t,r){var s=Ae;try{return Ae=t,r()}finally{Ae=s}},Wc=function(t,r,s){switch(r){case"input":if(st(t,s),r=s.name,s.type==="radio"&&r!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<s.length;r++){var a=s[r];if(a!==t&&a.form===t.form){var d=bl(a);if(!d)throw Error(n(90));Xs(a),st(a,d)}}}break;case"textarea":Wt(t,s);break;case"select":r=s.value,r!=null&>(t,!!s.multiple,r,!1)}},$h=vd,Vh=en;var r4={usingClientEntryPoint:!1,Events:[qi,jn,bl,Hh,Wh,vd]},Zi={findFiberByHostInstance:Uo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},o4={bundleType:Zi.bundleType,version:Zi.version,rendererPackageName:Zi.rendererPackageName,rendererConfig:Zi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:z.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Xh(t),t===null?null:t.stateNode},findFiberByHostInstance:Zi.findFiberByHostInstance||e4,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ra=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ra.isDisabled&&ra.supportsFiber)try{Zs=ra.inject(o4),Lr=ra}catch{}}return qt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r4,qt.createPortal=function(t,r){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Cd(r))throw Error(n(200));return Z3(t,r,null,s)},qt.createRoot=function(t,r){if(!Cd(t))throw Error(n(299));var s=!1,a="",d=x0;return r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(d=r.onRecoverableError)),r=Sd(t,1,!1,null,null,s,!1,a,d),t[to]=r.current,Ii(t.nodeType===8?t.parentNode:t),new Bd(r)},qt.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var r=t._reactInternals;if(r===void 0)throw typeof t.render=="function"?Error(n(188)):(t=Object.keys(t).join(","),Error(n(268,t)));return t=Xh(r),t=t===null?null:t.stateNode,t},qt.flushSync=function(t){return en(t)},qt.hydrate=function(t,r,s){if(!ea(r))throw Error(n(200));return ta(null,t,r,!0,s)},qt.hydrateRoot=function(t,r,s){if(!Cd(t))throw Error(n(405));var a=s!=null&&s.hydratedSources||null,d=!1,m="",x=x0;if(s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(m=s.identifierPrefix),s.onRecoverableError!==void 0&&(x=s.onRecoverableError)),r=w0(r,null,t,1,s??null,d,!1,m,x),t[to]=r.current,Ii(t),a)for(t=0;t<a.length;t++)s=a[t],d=s._getVersion,d=d(s._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[s,d]:r.mutableSourceEagerHydrationData.push(s,d);return new Zl(r)},qt.render=function(t,r,s){if(!ea(r))throw Error(n(200));return ta(null,t,r,!1,s)},qt.unmountComponentAtNode=function(t){if(!ea(t))throw Error(n(40));return t._reactRootContainer?(en(function(){ta(null,null,t,!1,function(){t._reactRootContainer=null,t[to]=null})}),!0):!1},qt.unstable_batchedUpdates=vd,qt.unstable_renderSubtreeIntoContainer=function(t,r,s,a){if(!ea(s))throw Error(n(200));if(t==null||t._reactInternals===void 0)throw Error(n(38));return ta(t,r,s,!1,a)},qt.version="18.3.1-next-f1338f8080-20240426",qt}var qd;function Md(){if(qd)return sa.exports;qd=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(o){console.error(o)}}return e(),sa.exports=E0(),sa.exports}var Ld;function P0(){if(Ld)return ts;Ld=1;var e=Md();return ts.createRoot=e.createRoot,ts.hydrateRoot=e.hydrateRoot,ts}var j0=P0();class R0{logCallback=null;setLogCallback(o){this.logCallback=o}log(o,n="info"){this.logCallback?this.logCallback(o,n):console.log(`[${n.toUpperCase()}] ${o}`)}info(o){this.log(o,"info")}success(o){this.log(o,"success")}warning(o){this.log(o,"warning")}error(o){this.log(o,"error")}}const Ze=new R0,F0=async()=>(await Ao("systemusers?$select=systemuserid,fullname,domainname,isdisabled,applicationid&$expand=businessunitid($select=businessunitid,name)&$orderby=fullname")).map(n=>({systemuserid:n.systemuserid,fullname:n.fullname,domainname:n.domainname,isdisabled:n.isdisabled,applicationid:n.applicationid??null,businessunitid:n.businessunitid?{businessunitid:n.businessunitid.businessunitid,name:n.businessunitid.name}:void 0})),D0=async()=>(await Ao("teams?$select=teamid,name,teamtype,isdefault&$expand=businessunitid($select=businessunitid,name)&$orderby=name")).map(n=>({teamid:n.teamid,name:n.name,teamtype:n.teamtype,isdefault:n.isdefault,businessunitid:n.businessunitid?{businessunitid:n.businessunitid.businessunitid,name:n.businessunitid.name}:void 0})),Ao=async e=>{const o=[];for(;e;){Ze.info(`Fetching data from URL: ${e}`);let n=e;if(e.startsWith("http")){const l=new URL(e),c=/^\/api\/data\/v\d+\.\d+\//;n=l.pathname.replace(c,"")+l.search}Ze.info(`Cleaned URL: ${n}`);const i=await window.dataverseAPI.queryData(n);o.push(...i.value),e=i["@odata.nextLink"]||null}return console.log(`Total records fetched: ${o.length}`,o),o},ca=async e=>{const o=`systemusers(${e})/systemuserroles_association?$select=roleid,name,ismanaged&$expand=businessunitid($select=businessunitid,name)`;return(await Ao(o)).map(i=>({roleid:i.roleid,name:i.name,ismanaged:i.ismanaged,businessunitid:i.businessunitid?{businessunitid:i.businessunitid.businessunitid,name:i.businessunitid.name}:void 0}))},ua=async e=>{const o=`teams(${e})/teamroles_association?$select=roleid,name,ismanaged&$expand=businessunitid($select=businessunitid,name)`;return(await Ao(o)).map(i=>({roleid:i.roleid,name:i.name,ismanaged:i.ismanaged,businessunitid:i.businessunitid?{businessunitid:i.businessunitid.businessunitid,name:i.businessunitid.name}:void 0}))},da=async e=>{const o=`systemusers(${e})/teammembership_association?$select=teamid,name,teamtype,isdefault&$expand=businessunitid($select=businessunitid,name)`;return(await Ao(o)).map(i=>({teamid:i.teamid,name:i.name,teamtype:i.teamtype,isdefault:i.isdefault,businessunitid:i.businessunitid?{businessunitid:i.businessunitid.businessunitid,name:i.businessunitid.name}:void 0}))},fa=async e=>{const o=`teams(${e})/teammembership_association?$select=systemuserid,fullname,domainname,isdisabled,applicationid&$expand=businessunitid($select=businessunitid,name)`;return(await Ao(o)).map(i=>({systemuserid:i.systemuserid,fullname:i.fullname,domainname:i.domainname,isdisabled:i.isdisabled,applicationid:i.applicationid??null,businessunitid:i.businessunitid?{businessunitid:i.businessunitid.businessunitid,name:i.businessunitid.name}:void 0}))},pa=async e=>{const o=`systemusers(${e})/queuemembership_association?$select=queueid,name,queuetypecode&$orderby=name`;return(await Ao(o)).map(i=>({queueid:i.queueid,name:i.name,queuetypecode:i.queuetypecode}))},ma=typeof window>"u"?global:window,ha="@griffel/";function I0(e,o){return ma[Symbol.for(ha+e)]||(ma[Symbol.for(ha+e)]=o),ma[Symbol.for(ha+e)]}const ga=I0("DEFINITION_LOOKUP_TABLE",{}),Kn="data-make-styles-bucket",O0="data-priority",va="f",ba=7,ya="___",A0=ya.length+ba,q0=0,M0=1,L0={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},wa="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Xn(e){for(var o=0,n,i=0,l=e.length;l>=4;++i,l-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,o=(n&65535)*1540483477+((n>>>16)*59797<<16)^(o&65535)*1540483477+((o>>>16)*59797<<16);switch(l){case 3:o^=(e.charCodeAt(i+2)&255)<<16;case 2:o^=(e.charCodeAt(i+1)&255)<<8;case 1:o^=e.charCodeAt(i)&255,o=(o&65535)*1540483477+((o>>>16)*59797<<16)}return o^=o>>>13,o=(o&65535)*1540483477+((o>>>16)*59797<<16),((o^o>>>15)>>>0).toString(36)}function H0(e){const o=e.length;if(o===ba)return e;for(let n=o;n<ba;n++)e+="0";return e}function Hd(e,o,n=[]){return ya+H0(Xn(e+o))}function Wd(e,o){let n="",i="";for(const l in e){const c=e[l];if(c===0){i+=l+" ";continue}const u=Array.isArray(c),f=o==="rtl"?(u?c[1]:c)+" ":(u?c[0]:c)+" ";n+=f,i+=f}return[n.slice(0,-1),i.slice(0,-1)]}function rs(e,o){const n={};for(const i in e){const[l,c]=Wd(e[i],o);if(c===""){n[i]="";continue}const u=Hd(c,o),f=u+(l===""?"":" "+l);ga[u]=[e[i],o],n[i]=f}return n}const $d={};function re(){let e=null,o="",n="";const i=new Array(arguments.length);for(let v=0;v<arguments.length;v++){const y=arguments[v];if(typeof y=="string"&&y!==""){const b=y.indexOf(ya);if(b===-1)o+=y+" ";else{const w=y.substr(b,A0);b>0&&(o+=y.slice(0,b)),n+=w,i[v]=w}}}if(n==="")return o.slice(0,-1);const l=$d[n];if(l!==void 0)return o+l;const c=[];for(let v=0;v<arguments.length;v++){const y=i[v];if(y){const b=ga[y];b&&(c.push(b[q0]),e=b[M0])}}const u=Object.assign.apply(Object,[{}].concat(c)),[f,p]=Wd(u,e),h=Hd(p,e,i),g=h+" "+f;return $d[n]=g,ga[h]=[u,e],o+g}function W0(e){return Array.isArray(e)?e:[e]}function $0(e,o,n,i){const l=[];if(i[Kn]=o,i[O0]=String(n),e)for(const u in i)e.setAttribute(u,i[u]);function c(u){return e?.sheet?e.sheet.insertRule(u,e.sheet.cssRules.length):l.push(u)}return{elementAttributes:i,insertRule:c,element:e,bucketName:o,cssRules(){return e?.sheet?Array.from(e.sheet.cssRules).map(u=>u.cssText):l}}}const Vd=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,o,n)=>(e[o]=n,e),{});function V0(e,o,n){return(e==="m"?e+o:e)+n}function U0(e,o,n,i,l={}){var c,u;const f=e==="m",p=(c=l.m)!==null&&c!==void 0?c:"0",h=(u=l.p)!==null&&u!==void 0?u:0,g=V0(e,p,h);if(!i.stylesheets[g]){const v=o&&o.createElement("style"),y=$0(v,e,h,Object.assign({},i.styleElementAttributes,f&&{media:p}));i.stylesheets[g]=y,o?.head&&v&&o.head.insertBefore(v,K0(o,n,e,i,l))}return i.stylesheets[g]}function G0(e,o,n){var i,l;const c=o+((i=n.m)!==null&&i!==void 0?i:""),u=e.getAttribute(Kn)+((l=e.media)!==null&&l!==void 0?l:"");return c===u}function K0(e,o,n,i,l={}){var c,u;const f=Vd[n],p=(c=l.m)!==null&&c!==void 0?c:"",h=(u=l.p)!==null&&u!==void 0?u:0;let g=k=>f-Vd[k.getAttribute(Kn)],v=e.head.querySelectorAll(`[${Kn}]`);if(n==="m"){const k=e.head.querySelectorAll(`[${Kn}="${n}"]`);k.length&&(v=k,g=_=>i.compareMediaQueries(p,_.media))}const y=k=>G0(k,n,l)?h-Number(k.getAttribute("data-priority")):g(k),b=v.length;let w=b-1;for(;w>=0;){const k=v.item(w);if(y(k)>0)return k.nextSibling;w--}return b>0?v.item(0):o?o.nextSibling:null}function Ud(e,o){try{e.insertRule(o)}catch{}}let X0=0;const Q0=(e,o)=>e<o?-1:e>o?1:0;function Y0(e=typeof document>"u"?void 0:document,o={}){const{classNameHashSalt:n,unstable_filterCSSRule:i,insertionPoint:l,styleElementAttributes:c,compareMediaQueries:u=Q0}=o,f={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${X0++}`,insertCSSRules(p){for(const h in p){const g=p[h];for(let v=0,y=g.length;v<y;v++){const[b,w]=W0(g[v]),k=U0(h,e,l||null,f,w);f.insertionCache[b]||(f.insertionCache[b]=h,i?i(b)&&Ud(k,b):Ud(k,b))}}}};return f}const ka=()=>{const e={};return function(n,i){e[n.id]===void 0&&(n.insertCSSRules(i),e[n.id]=!0)}};function Gd(e){return e.reduce(function(o,n){var i=n[0],l=n[1];return o[i]=l,o[l]=i,o},{})}function J0(e){return typeof e=="boolean"}function Z0(e){return typeof e=="function"}function Qn(e){return typeof e=="number"}function e1(e){return e===null||typeof e>"u"}function t1(e){return e&&typeof e=="object"}function r1(e){return typeof e=="string"}function os(e,o){return e.indexOf(o)!==-1}function o1(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function ns(e,o,n,i){return o+o1(n)+i}function n1(e){var o=e.indexOf(".");if(o===-1)e=100-parseFloat(e)+"%";else{var n=e.length-o-2;e=100-parseFloat(e),e=e.toFixed(n)+"%"}return e}function Kd(e){return e.replace(/ +/g," ").split(" ").map(function(o){return o.trim()}).filter(Boolean).reduce(function(o,n){var i=o.list,l=o.state,c=(n.match(/\(/g)||[]).length,u=(n.match(/\)/g)||[]).length;return l.parensDepth>0?i[i.length-1]=i[i.length-1]+" "+n:i.push(n),l.parensDepth+=c-u,{list:i,state:l}},{list:[],state:{parensDepth:0}}).list}function Xd(e){var o=Kd(e);if(o.length<=3||o.length>4)return e;var n=o[0],i=o[1],l=o[2],c=o[3];return[n,c,l,i].join(" ")}function i1(e){return!J0(e)&&!e1(e)}function s1(e){for(var o=[],n=0,i=0,l=!1;i<e.length;)!l&&e[i]===","?(o.push(e.substring(n,i).trim()),i++,n=i):e[i]==="("?(l=!0,i++):(e[i]===")"&&(l=!1),i++);return n!=i&&o.push(e.substring(n,i+1)),o}var U={padding:function(o){var n=o.value;return Qn(n)?n:Xd(n)},textShadow:function(o){var n=o.value,i=s1(n).map(function(l){return l.replace(/(^|\s)(-*)([.|\d]+)/,function(c,u,f,p){if(p==="0")return c;var h=f===""?"-":"";return""+u+h+p})});return i.join(",")},borderColor:function(o){var n=o.value;return Xd(n)},borderRadius:function(o){var n=o.value;if(Qn(n))return n;if(os(n,"/")){var i=n.split("/"),l=i[0],c=i[1],u=U.borderRadius({value:l.trim()}),f=U.borderRadius({value:c.trim()});return u+" / "+f}var p=Kd(n);switch(p.length){case 2:return p.reverse().join(" ");case 4:{var h=p[0],g=p[1],v=p[2],y=p[3];return[g,h,y,v].join(" ")}default:return n}},background:function(o){var n=o.value,i=o.valuesToConvert,l=o.isRtl,c=o.bgImgDirectionRegex,u=o.bgPosDirectionRegex;if(Qn(n))return n;var f=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(f,U.backgroundPosition({value:f,valuesToConvert:i,isRtl:l,bgPosDirectionRegex:u})),U.backgroundImage({value:n,valuesToConvert:i,bgImgDirectionRegex:c})},backgroundImage:function(o){var n=o.value,i=o.valuesToConvert,l=o.bgImgDirectionRegex;return!os(n,"url(")&&!os(n,"linear-gradient(")?n:n.replace(l,function(c,u,f){return c.replace(f,i[f])})},backgroundPosition:function(o){var n=o.value,i=o.valuesToConvert,l=o.isRtl,c=o.bgPosDirectionRegex;return n.replace(l?/^((-|\d|\.)+%)/:null,function(u,f){return n1(f)}).replace(c,function(u){return i[u]})},backgroundPositionX:function(o){var n=o.value,i=o.valuesToConvert,l=o.isRtl,c=o.bgPosDirectionRegex;return Qn(n)?n:U.backgroundPosition({value:n,valuesToConvert:i,isRtl:l,bgPosDirectionRegex:c})},transition:function(o){var n=o.value,i=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){var c=l.split(" ");return c[0]=i[c[0]]||c[0],c.join(" ")}).join(", ")},transitionProperty:function(o){var n=o.value,i=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){return i[l]||l}).join(", ")},transform:function(o){var n=o.value,i="[^\\u0020-\\u007e]",l="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="((?:-?"+("(?:[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+"|"+l+")")+("(?:[_a-z0-9-]|"+i+"|"+l+")")+"*")+")?")+")|(?:inherit|auto))",u=new RegExp("(translateX\\s*\\(\\s*)"+c+"(\\s*\\))","gi"),f=new RegExp("(translate\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,1}\\s*\\))","gi"),p=new RegExp("(translate3d\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,2}\\s*\\))","gi"),h=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,ns).replace(f,ns).replace(p,ns).replace(h,ns)}};U.objectPosition=U.backgroundPosition,U.margin=U.padding,U.borderWidth=U.padding,U.boxShadow=U.textShadow,U.webkitBoxShadow=U.boxShadow,U.mozBoxShadow=U.boxShadow,U.WebkitBoxShadow=U.boxShadow,U.MozBoxShadow=U.boxShadow,U.borderStyle=U.borderColor,U.webkitTransform=U.transform,U.mozTransform=U.transform,U.WebkitTransform=U.transform,U.MozTransform=U.transform,U.transformOrigin=U.backgroundPosition,U.webkitTransformOrigin=U.transformOrigin,U.mozTransformOrigin=U.transformOrigin,U.WebkitTransformOrigin=U.transformOrigin,U.MozTransformOrigin=U.transformOrigin,U.webkitTransition=U.transition,U.mozTransition=U.transition,U.WebkitTransition=U.transition,U.MozTransition=U.transition,U.webkitTransitionProperty=U.transitionProperty,U.mozTransitionProperty=U.transitionProperty,U.WebkitTransitionProperty=U.transitionProperty,U.MozTransitionProperty=U.transitionProperty,U["text-shadow"]=U.textShadow,U["border-color"]=U.borderColor,U["border-radius"]=U.borderRadius,U["background-image"]=U.backgroundImage,U["background-position"]=U.backgroundPosition,U["background-position-x"]=U.backgroundPositionX,U["object-position"]=U.objectPosition,U["border-width"]=U.padding,U["box-shadow"]=U.textShadow,U["-webkit-box-shadow"]=U.textShadow,U["-moz-box-shadow"]=U.textShadow,U["border-style"]=U.borderColor,U["-webkit-transform"]=U.transform,U["-moz-transform"]=U.transform,U["transform-origin"]=U.transformOrigin,U["-webkit-transform-origin"]=U.transformOrigin,U["-moz-transform-origin"]=U.transformOrigin,U["-webkit-transition"]=U.transition,U["-moz-transition"]=U.transition,U["transition-property"]=U.transitionProperty,U["-webkit-transition-property"]=U.transitionProperty,U["-moz-transition-property"]=U.transitionProperty;var Qd=Gd([["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"]]),l1=["content"],Yd=Gd([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),a1=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),c1=new RegExp("(left)|(right)");function Jd(e){return Object.keys(e).reduce(function(o,n){var i=e[n];if(r1(i)&&(i=i.trim()),os(l1,n))return o[n]=i,o;var l=xa(n,i),c=l.key,u=l.value;return o[c]=u,o},Array.isArray(e)?[]:{})}function xa(e,o){var n=/\/\*\s?@noflip\s?\*\//.test(o),i=n?e:u1(e),l=n?o:d1(i,o);return{key:i,value:l}}function u1(e){return Qd[e]||e}function d1(e,o){if(!i1(o))return o;if(t1(o))return Jd(o);var n=Qn(o),i=Z0(o),l=n||i?o:o.replace(/ !important.*?$/,""),c=!n&&l.length!==o.length,u=U[e],f;return u?f=u({value:l,valuesToConvert:Yd,propertiesToConvert:Qd,isRtl:!0,bgImgDirectionRegex:a1,bgPosDirectionRegex:c1}):f=Yd[l]||l,c?f+" !important":f}const f1=/[A-Z]/g,p1=/^ms-/,Sa={};function m1(e){return"-"+e.toLowerCase()}function nn(e){if(Object.prototype.hasOwnProperty.call(Sa,e))return Sa[e];if(e.substr(0,2)==="--")return e;const o=e.replace(f1,m1);return Sa[e]=p1.test(o)?"-"+o:o}function Zd(e){return e.charAt(0)==="&"?e.slice(1):e}var Yn="-moz-",gr="-webkit-",ef="comm",is="rule",_a="decl",h1="@media",g1="@import",v1="@supports",b1="@namespace",y1="@keyframes",tf="@layer",rf=Math.abs,ss=String.fromCharCode,w1=Object.assign;function k1(e,o){return zt(e,0)^45?(((o<<2^zt(e,0))<<2^zt(e,1))<<2^zt(e,2))<<2^zt(e,3):0}function of(e){return e.trim()}function nf(e,o){return(e=o.exec(e))?e[0]:e}function Mt(e,o,n){return e.replace(o,n)}function sf(e,o,n){return e.indexOf(o,n)}function zt(e,o){return e.charCodeAt(o)|0}function sn(e,o,n){return e.slice(o,n)}function vr(e){return e.length}function lf(e){return e.length}function qo(e,o){return o.push(e),e}function x1(e,o){return e.map(o).join("")}var ls=1,ln=1,af=0,Xt=0,Ke=0,an="";function as(e,o,n,i,l,c,u,f){return{value:e,root:o,parent:n,type:i,props:l,children:c,line:ls,column:ln,length:u,return:"",siblings:f}}function Ba(e,o){return w1(as("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},o)}function S1(){return Ke}function _1(){return Ke=Xt>0?zt(an,--Xt):0,ln--,Ke===10&&(ln=1,ls--),Ke}function ir(){return Ke=Xt<af?zt(an,Xt++):0,ln++,Ke===10&&(ln=1,ls++),Ke}function co(){return zt(an,Xt)}function cs(){return Xt}function us(e,o){return sn(an,e,o)}function cn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function cf(e){return ls=ln=1,af=vr(an=e),Xt=0,[]}function uf(e){return an="",e}function ds(e){return of(us(Xt-1,Ca(e===91?e+2:e===40?e+1:e)))}function B1(e){return uf(z1(cf(e)))}function C1(e){for(;(Ke=co())&&Ke<33;)ir();return cn(e)>2||cn(Ke)>3?"":" "}function z1(e){for(;ir();)switch(cn(Ke)){case 0:qo(df(Xt-1),e);break;case 2:qo(ds(Ke),e);break;default:qo(ss(Ke),e)}return e}function N1(e,o){for(;--o&&ir()&&!(Ke<48||Ke>102||Ke>57&&Ke<65||Ke>70&&Ke<97););return us(e,cs()+(o<6&&co()==32&&ir()==32))}function Ca(e){for(;ir();)switch(Ke){case e:return Xt;case 34:case 39:e!==34&&e!==39&&Ca(Ke);break;case 40:e===41&&Ca(e);break;case 92:ir();break}return Xt}function T1(e,o){for(;ir()&&e+Ke!==57;)if(e+Ke===84&&co()===47)break;return"/*"+us(o,Xt-1)+"*"+ss(e===47?e:ir())}function df(e){for(;!cn(co());)ir();return us(e,Xt)}function ff(e){return uf(fs("",null,null,null,[""],e=cf(e),0,[0],e))}function fs(e,o,n,i,l,c,u,f,p){for(var h=0,g=0,v=u,y=0,b=0,w=0,k=1,_=1,C=1,N=0,T="",z=l,j=c,q=i,A=T;_;)switch(w=N,N=ir()){case 40:if(w!=108&&zt(A,v-1)==58){sf(A+=Mt(ds(N),"&","&\f"),"&\f",rf(h?f[h-1]:0))!=-1&&(C=-1);break}case 34:case 39:case 91:A+=ds(N);break;case 9:case 10:case 13:case 32:A+=C1(w);break;case 92:A+=N1(cs()-1,7);continue;case 47:switch(co()){case 42:case 47:qo(E1(T1(ir(),cs()),o,n,p),p),(cn(w||1)==5||cn(co()||1)==5)&&vr(A)&&sn(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*k:f[h++]=vr(A)*C;case 125*k:case 59:case 0:switch(N){case 0:case 125:_=0;case 59+g:C==-1&&(A=Mt(A,/\f/g,"")),b>0&&(vr(A)-v||k===0&&w===47)&&qo(b>32?mf(A+";",i,n,v-1,p):mf(Mt(A," ","")+";",i,n,v-2,p),p);break;case 59:A+=";";default:if(qo(q=pf(A,o,n,h,g,l,f,T,z=[],j=[],v,c),c),N===123)if(g===0)fs(A,o,q,q,z,c,v,f,j);else{switch(y){case 99:if(zt(A,3)===110)break;case 108:if(zt(A,2)===97)break;default:g=0;case 100:case 109:case 115:}g?fs(e,q,q,i&&qo(pf(e,q,q,0,0,l,f,T,l,z=[],v,j),j),l,j,v,f,i?z:j):fs(A,q,q,q,[""],j,0,f,j)}}h=g=b=0,k=C=1,T=A="",v=u;break;case 58:v=1+vr(A),b=w;default:if(k<1){if(N==123)--k;else if(N==125&&k++==0&&_1()==125)continue}switch(A+=ss(N),N*k){case 38:C=g>0?1:(A+="\f",-1);break;case 44:f[h++]=(vr(A)-1)*C,C=1;break;case 64:co()===45&&(A+=ds(ir())),y=co(),g=v=vr(T=A+=df(cs())),N++;break;case 45:w===45&&vr(A)==2&&(k=0)}}return c}function pf(e,o,n,i,l,c,u,f,p,h,g,v){for(var y=l-1,b=l===0?c:[""],w=lf(b),k=0,_=0,C=0;k<i;++k)for(var N=0,T=sn(e,y+1,y=rf(_=u[k])),z=e;N<w;++N)(z=of(_>0?b[N]+" "+T:Mt(T,/&\f/g,b[N])))&&(p[C++]=z);return as(e,o,n,l===0?is:f,p,h,g,v)}function E1(e,o,n,i){return as(e,o,n,ef,ss(S1()),sn(e,2,-2),0,i)}function mf(e,o,n,i,l){return as(e,o,n,_a,sn(e,0,i),sn(e,i+1,-1),i,l)}function un(e,o){for(var n="",i=0;i<e.length;i++)n+=o(e[i],i,e,o)||"";return n}function hf(e,o,n,i){switch(e.type){case tf:if(e.children.length)break;case g1:case b1:case _a:return e.return=e.return||e.value;case ef:return"";case y1:return e.return=e.value+"{"+un(e.children,i)+"}";case is:if(!vr(e.value=e.props.join(",")))return""}return vr(n=un(e.children,i))?e.return=e.value+"{"+n+"}":""}function gf(e){var o=lf(e);return function(n,i,l,c){for(var u="",f=0;f<o;f++)u+=e[f](n,i,l,c)||"";return u}}function vf(e){return function(o){o.root||(o=o.return)&&e(o)}}const P1=e=>{switch(e.type){case is:if(typeof e.props=="string")return;e.props=e.props.map(o=>o.indexOf(":global(")===-1?o:B1(o).reduce((n,i,l,c)=>{if(i==="")return n;if(i===":"&&c[l+1]==="global"){const u=c[l+2].slice(1,-1)+" ";return n.unshift(u),c[l+1]="",c[l+2]="",n}return n.push(i),n},[]).join(""))}};function bf(e,o,n){switch(k1(e,o)){case 5103:return gr+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return gr+e+e;case 4215:if(zt(e,9)===102||zt(e,o+1)===116)return gr+e+e;break;case 4789:return Yn+e+e;case 5349:case 4246:case 6968:return gr+e+Yn+e+e;case 6187:if(!nf(e,/grab/))return Mt(Mt(Mt(e,/(zoom-|grab)/,gr+"$1"),/(image-set)/,gr+"$1"),e,"")+e;case 5495:case 3959:return Mt(e,/(image-set\([^]*)/,gr+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return Mt(e,/(.+)-inline(.+)/,gr+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(vr(e)-1-o>6)switch(zt(e,o+1)){case 102:if(zt(e,o+3)===108)return Mt(e,/(.+:)(.+)-([^]+)/,"$1"+gr+"$2-$3$1"+Yn+(zt(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~sf(e,"stretch")?bf(Mt(e,"stretch","fill-available"),o)+e:e}break}return e}function yf(e,o,n,i){if(e.length>-1&&!e.return)switch(e.type){case _a:e.return=bf(e.value,e.length);return;case is:if(e.length)return x1(e.props,function(l){switch(nf(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return un([Ba(e,{props:[Mt(l,/:(read-\w+)/,":"+Yn+"$1")]})],i);case"::placeholder":return un([Ba(e,{props:[Mt(l,/:(plac\w+)/,":"+gr+"input-$1")]}),Ba(e,{props:[Mt(l,/:(plac\w+)/,":"+Yn+"$1")]})],i)}return""})}}function j1(e){switch(e.type){case"@container":case h1:case v1:case tf:return!0}return!1}const R1=e=>{j1(e)&&Array.isArray(e.children)&&e.children.sort((o,n)=>o.props[0]>n.props[0]?1:-1)};function F1(e,o){const n=[];return un(ff(e),gf([P1,R1,yf,hf,vf(i=>n.push(i))])),n}const D1=/,( *[^ &])/g;function I1(e){return"&"+Zd(e.replace(D1,",&$1"))}function wf(e,o,n){let i=o;return n.length>0&&(i=n.reduceRight((l,c)=>`${I1(c)} { ${l} }`,o)),`${e}{${i}}`}function kf(e,o){const{className:n,selectors:i,property:l,rtlClassName:c,rtlProperty:u,rtlValue:f,value:p}=e,{container:h,layer:g,media:v,supports:y}=o,b=`.${n}`,w=Array.isArray(p)?`${p.map(_=>`${nn(l)}: ${_}`).join(";")};`:`${nn(l)}: ${p};`;let k=wf(b,w,i);if(u&&c){const _=`.${c}`,C=Array.isArray(f)?`${f.map(N=>`${nn(u)}: ${N}`).join(";")};`:`${nn(u)}: ${f};`;k+=wf(_,C,i)}return v&&(k=`@media ${v} { ${k} }`),g&&(k=`@layer ${g} { ${k} }`),y&&(k=`@supports ${y} { ${k} }`),h&&(k=`@container ${h} { ${k} }`),F1(k)}function O1(e){let o="";for(const n in e){const i=e[n];if(typeof i=="string"||typeof i=="number"){o+=nn(n)+":"+i+";";continue}if(Array.isArray(i))for(const l of i)o+=nn(n)+":"+l+";"}return o}function xf(e){let o="";for(const n in e)o+=`${n}{${O1(e[n])}}`;return o}function Sf(e,o){const n=`@keyframes ${e} {${o}}`,i=[];return un(ff(n),gf([hf,yf,vf(l=>i.push(l))])),i}const A1={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 _f(e,o){return e.length===0?o:`${e} and ${o}`}function q1(e){return e.substr(0,6)==="@media"}function M1(e){return e.substr(0,6)==="@layer"}const L1=/^(:|\[|>|&)/;function H1(e){return L1.test(e)}function W1(e){return e.substr(0,9)==="@supports"}function $1(e){return e.substring(0,10)==="@container"}function V1(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const Bf={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Cf(e,o){if(o.media)return"m";if(o.layer||o.supports)return"t";if(o.container)return"c";if(e.length>0){const n=e[0].trim();if(n.charCodeAt(0)===58)return Bf[n.slice(4,8)]||Bf[n.slice(3,5)]||"d"}return"d"}function ps(e,o){return e&&o+e}function zf(e){return ps(e.container,"c")+ps(e.media,"m")+ps(e.layer,"l")+ps(e.supports,"s")}function za(e,o,n){const i=e+zf(n)+o,l=Xn(i),c=l.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+l.slice(1):l}function ms({property:e,selector:o,salt:n,value:i},l){return va+Xn(n+o+zf(l)+e+i.trim())}function U1(e){return e===wa}function Na(e){return e.replace(/>\s+/g,">")}function l4(e,o){}function Nf(e){return A1[e]}function Tf(e){var o;return(o=e?.[0])!==null&&o!==void 0?o:0}function Ta(e,o,n,i){e[o]=i?[n,i]:n}function Ef(e,o){return o.length>0?[e,Object.fromEntries(o)]:e}function Ea(e,o,n,i,l,c){var u;const f=[];c!==0&&f.push(["p",c]),o==="m"&&l&&f.push(["m",l]),(u=e[o])!==null&&u!==void 0||(e[o]=[]),n&&e[o].push(Ef(n,f)),i&&e[o].push(Ef(i,f))}function Ur(e,o="",n=[],i={container:"",layer:"",media:"",supports:""},l={},c={},u){for(const f in e){if(L0.hasOwnProperty(f)){e[f];continue}const p=e[f];if(p!=null){if(U1(p)){const h=Na(n.join("")),g=za(h,f,i);Ta(l,g,0,void 0);continue}if(typeof p=="string"||typeof p=="number"){const h=Na(n.join("")),g=Nf(f);if(g){const z=g[1],j=Object.fromEntries(z.map(q=>[q,wa]));Ur(j,o,n,i,l,c)}const v=za(h,f,i),y=ms({value:p.toString(),salt:o,selector:h,property:f},i),b=u&&{key:f,value:u}||xa(f,p),w=b.key!==f||b.value!==p,k=w?ms({value:b.value.toString(),property:b.key,salt:o,selector:h},i):void 0,_=w?{rtlClassName:k,rtlProperty:b.key,rtlValue:b.value}:void 0,C=Cf(n,i),[N,T]=kf(Object.assign({className:y,selectors:n,property:f,value:p},_),i);Ta(l,v,y,k),Ea(c,C,N,T,i.media,Tf(g))}else if(f==="animationName"){const h=Array.isArray(p)?p:[p],g=[],v=[];for(const y of h){const b=xf(y),w=xf(Jd(y)),k=va+Xn(b);let _;const C=Sf(k,b);let N=[];b===w?_=k:(_=va+Xn(w),N=Sf(_,w));for(let T=0;T<C.length;T++)Ea(c,"k",C[T],N[T],i.media,0);g.push(k),v.push(_)}Ur({animationName:g.join(", ")},o,n,i,l,c,v.join(", "))}else if(Array.isArray(p)){if(p.length===0)continue;const h=Na(n.join("")),g=Nf(f);if(g){const j=g[1],q=Object.fromEntries(j.map(A=>[A,wa]));Ur(q,o,n,i,l,c)}const v=za(h,f,i),y=ms({value:p.map(j=>(j??"").toString()).join(";"),salt:o,selector:h,property:f},i),b=p.map(j=>xa(f,j));if(!!b.some(j=>j.key!==b[0].key))continue;const k=b[0].key!==f||b.some((j,q)=>j.value!==p[q]),_=k?ms({value:b.map(j=>{var q;return((q=j?.value)!==null&&q!==void 0?q:"").toString()}).join(";"),salt:o,property:b[0].key,selector:h},i):void 0,C=k?{rtlClassName:_,rtlProperty:b[0].key,rtlValue:b.map(j=>j.value)}:void 0,N=Cf(n,i),[T,z]=kf(Object.assign({className:y,selectors:n,property:f,value:p},C),i);Ta(l,v,y,_),Ea(c,N,T,z,i.media,Tf(g))}else if(V1(p)){if(H1(f))Ur(p,o,n.concat(Zd(f)),i,l,c);else if(q1(f)){const h=_f(i.media,f.slice(6).trim());Ur(p,o,n,Object.assign({},i,{media:h}),l,c)}else if(M1(f)){const h=(i.layer?`${i.layer}.`:"")+f.slice(6).trim();Ur(p,o,n,Object.assign({},i,{layer:h}),l,c)}else if(W1(f)){const h=_f(i.supports,f.slice(9).trim());Ur(p,o,n,Object.assign({},i,{supports:h}),l,c)}else if($1(f)){const h=f.slice(10).trim();Ur(p,o,n,Object.assign({},i,{container:h}),l,c)}}}}return[l,c]}function G1(e,o=""){const n={},i={};for(const l in e){const c=e[l],[u,f]=Ur(c,o);n[l]=u,Object.keys(f).forEach(p=>{i[p]=(i[p]||[]).concat(f[p])})}return[n,i]}function K1(e,o=ka){const n=o();let i=null,l=null,c=null,u=null;function f(p){const{dir:h,renderer:g}=p;i===null&&([i,l]=G1(e,g.classNameHashSalt));const v=h==="ltr";return v?c===null&&(c=rs(i,h)):u===null&&(u=rs(i,h)),n(g,l),v?c:u}return f}function Pf(e,o,n=ka){const i=n();let l=null,c=null;function u(f){const{dir:p,renderer:h}=f,g=p==="ltr";return g?l===null&&(l=rs(e,p)):c===null&&(c=rs(e,p)),i(h,o),g?l:c}return u}function X1(e,o,n,i=ka){const l=i();function c(u){const{dir:f,renderer:p}=u,h=f==="ltr"?e:o||e;return l(p,Array.isArray(n)?{r:n}:n),h}return c}function Q1(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const jf=es.useInsertionEffect?es.useInsertionEffect:void 0,Pa=()=>{const e={};return function(n,i){if(jf&&Q1()){jf(()=>{n.insertCSSRules(i)},[n,i]);return}e[n.id]===void 0&&(n.insertCSSRules(i),e[n.id]=!0)}},Y1=S.createContext(Y0());function Jn(){return S.useContext(Y1)}const Rf=S.createContext("ltr"),J1=({children:e,dir:o})=>S.createElement(Rf.Provider,{value:o},e);function ja(){return S.useContext(Rf)}function Zn(e){const o=K1(e,Pa);return function(){const i=ja(),l=Jn();return o({dir:i,renderer:l})}}function ue(e,o){const n=Pf(e,o,Pa);return function(){const l=ja(),c=Jn();return n({dir:l,renderer:c})}}function dt(e,o,n){const i=X1(e,o,n,Pa);return function(){const c=ja(),u=Jn();return i({dir:c,renderer:u})}}function Z1(e,o){if(o){const n=Object.keys(o).reduce((i,l)=>`${i}--${l}: ${o[l]}; `,"");return`${e} { ${n} }`}return`${e} {}`}const Ff=Symbol.for("fui.slotRenderFunction"),hs=Symbol.for("fui.slotElementType"),Df=Symbol.for("fui.slotClassNameProp");function Oe(e,o){const{defaultProps:n,elementType:i}=o,l=If(e),c={...n,...l,[hs]:i,[Df]:l?.className};return l&&typeof l.children=="function"&&(c[Ff]=l.children,c.children=n?.children),c}function qe(e,o){if(!(e===null||e===void 0&&!o.renderByDefault))return Oe(e,o)}function If(e){return typeof e=="string"||typeof e=="number"||eb(e)||S.isValidElement(e)?{children:e}:e}const eb=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function Of(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!S.isValidElement(e)}function Af(e){return!!e?.hasOwnProperty(hs)}const Le=(...e)=>{const o={};for(const n of e){const i=Array.isArray(n)?n:Object.keys(n);for(const l of i)o[l]=1}return o},tb=Le(["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"]),rb=Le(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),ob=Le(["itemID","itemProp","itemRef","itemScope","itemType"]),ct=Le(rb,tb,ob),nb=Le(ct,["form"]),qf=Le(ct,["height","loop","muted","preload","src","width"]),ib=Le(qf,["poster"]),sb=Le(ct,["start"]),lb=Le(ct,["value"]),ab=Le(ct,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),cb=Le(ct,["dateTime"]),gs=Le(ct,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),ub=Le(gs,["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"]),db=Le(gs,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),fb=Le(gs,["form","multiple","required"]),pb=Le(ct,["selected","value"]),mb=Le(ct,["cellPadding","cellSpacing"]),hb=ct,gb=Le(ct,["colSpan","rowSpan","scope"]),vb=Le(ct,["colSpan","headers","rowSpan","scope"]),bb=Le(ct,["span"]),yb=Le(ct,["span"]),wb=Le(ct,["disabled","form"]),kb=Le(ct,["acceptCharset","action","encType","encType","method","noValidate","target"]),xb=Le(ct,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),Sb=Le(ct,["alt","crossOrigin","height","src","srcSet","useMap","width"]),_b=Le(ct,["open","onCancel","onClose"]);function Bb(e,o,n){const i=Array.isArray(o),l={},c=Object.keys(e);for(const u of c)(!i&&o[u]||i&&o.indexOf(u)>=0||u.indexOf("data-")===0||u.indexOf("aria-")===0)&&(!n||n?.indexOf(u)===-1)&&(l[u]=e[u]);return l}const Cb={label:nb,audio:qf,video:ib,ol:sb,li:lb,a:ab,button:gs,input:ub,textarea:db,select:fb,option:pb,table:mb,tr:hb,th:gb,td:vb,colGroup:bb,col:yb,fieldset:wb,form:kb,iframe:xb,img:Sb,time:cb,dialog:_b};function Mf(e,o,n){const i=e&&Cb[e]||ct;return i.as=1,Bb(o,i,n)}const vs=({primarySlotTagName:e,props:o,excludedPropNames:n})=>({root:{style:o.style,className:o.className},primary:Mf(e,o,[...n||[],"style","className"])}),wt=(e,o,n)=>{var i;return Mf((i=o.as)!==null&&i!==void 0?i:e,o,n)};function Lf(e,o){const n=S.useRef(void 0),i=S.useCallback((c,u)=>(n.current!==void 0&&o(n.current),n.current=e(c,u),n.current),[o,e]),l=S.useCallback(()=>{n.current!==void 0&&(o(n.current),n.current=void 0)},[o]);return S.useEffect(()=>l,[l]),[i,l]}const Hf=S.createContext(void 0),zb=Hf.Provider,Wf=S.createContext(void 0),Nb="",Tb=Wf.Provider;function Eb(){var e;return(e=S.useContext(Wf))!==null&&e!==void 0?e:Nb}const Pb=S.createContext(void 0).Provider,$f=S.createContext(void 0),jb={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},Rb=$f.Provider;function kt(){var e;return(e=S.useContext($f))!==null&&e!==void 0?e:jb}const Vf=S.createContext(void 0),Fb=Vf.Provider;function Uf(){var e;return(e=S.useContext(Vf))!==null&&e!==void 0?e:{}}const Ra=S.createContext(void 0),Db=()=>{},Ib=Ra.Provider,ot=e=>{var o,n;return(n=(o=S.useContext(Ra))===null||o===void 0?void 0:o[e])!==null&&n!==void 0?n:Db},Gf=S.createContext(void 0);Gf.Provider;function Ob(){return S.useContext(Gf)}const Ab=e=>(e(0),0),qb=e=>e;function Mb(){const{targetDocument:e}=kt(),o=e?.defaultView,n=o?o.requestAnimationFrame:Ab,i=o?o.cancelAnimationFrame:qb;return Lf(n,i)}function Lb(e){return typeof e=="function"}const Gr=e=>{"use no memo";const[o,n]=S.useState(()=>e.defaultState===void 0?e.initialState:Hb(e.defaultState)?e.defaultState():e.defaultState),i=S.useRef(e.state);S.useEffect(()=>{i.current=e.state},[e.state]);const l=S.useCallback(c=>{Lb(c)&&c(i.current)},[]);return Wb(e.state)?[e.state,l]:[o,n]};function Hb(e){return typeof e=="function"}const Wb=e=>{"use no memo";const[o]=S.useState(()=>e!==void 0);return o};function Fa(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const $b={current:0},Vb=S.createContext(void 0);function Ub(){var e;return(e=S.useContext(Vb))!==null&&e!==void 0?e:$b}const sr=Fa()?S.useLayoutEffect:S.useEffect,Ce=e=>{const o=S.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return sr(()=>{o.current=e},[e]),S.useCallback((...n)=>{const i=o.current;return i(...n)},[o])};function Gb(){const e=S.useRef(!0);return S.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}const Kf=S.createContext(void 0);Kf.Provider;function Kb(){return S.useContext(Kf)||""}function Qt(e="fui-",o){"use no memo";const n=Ub(),i=Kb(),l=es.useId;if(l){const c=l(),u=S.useMemo(()=>c.replace(/:/g,""),[c]);return o||`${i}${e}${u}`}return S.useMemo(()=>o||`${i}${e}${++n.current}`,[i,e,o,n])}function xt(...e){"use no memo";const o=S.useCallback(n=>{o.current=n;for(const i of e)typeof i=="function"?i(n):i&&(i.current=n)},[...e]);return o}const Xf=(e,o)=>!!e?.contains(o),Xb=e=>{const{targetDocument:o}=kt(),n=o?.defaultView,{refs:i,callback:l,element:c,disabled:u,disabledFocusOnIframe:f,contains:p=Xf}=e,h=S.useRef(void 0);Yb({element:c,disabled:f||u,callback:l,refs:i,contains:p});const g=S.useRef(!1),v=Ce(b=>{if(g.current){g.current=!1;return}const w=b.composedPath()[0];i.every(_=>!p(_.current||null,w))&&!u&&l(b)}),y=Ce(b=>{g.current=i.some(w=>p(w.current||null,b.target))});S.useEffect(()=>{if(u)return;let b=Qb(n);const w=k=>{if(k===b){b=void 0;return}v(k)};return c?.addEventListener("click",w,!0),c?.addEventListener("touchstart",w,!0),c?.addEventListener("contextmenu",w,!0),c?.addEventListener("mousedown",y,!0),h.current=n?.setTimeout(()=>{b=void 0},1),()=>{c?.removeEventListener("click",w,!0),c?.removeEventListener("touchstart",w,!0),c?.removeEventListener("contextmenu",w,!0),c?.removeEventListener("mousedown",y,!0),n?.clearTimeout(h.current),b=void 0}},[v,c,u,y,n])},Qb=e=>{if(e){var o,n;if(typeof e.window=="object"&&e.window===e)return e.event;var i;return(i=(n=e.ownerDocument)===null||n===void 0||(o=n.defaultView)===null||o===void 0?void 0:o.event)!==null&&i!==void 0?i:void 0}},Da="fuiframefocus",Yb=e=>{const{disabled:o,element:n,callback:i,contains:l=Xf,pollDuration:c=100,refs:u}=e,f=S.useRef(void 0),p=Ce(h=>{u.every(v=>!l(v.current||null,h.target))&&!o&&i(h)});S.useEffect(()=>{if(!o)return n?.addEventListener(Da,p,!0),()=>{n?.removeEventListener(Da,p,!0)}},[n,o,p]),S.useEffect(()=>{var h;if(!o)return f.current=n==null||(h=n.defaultView)===null||h===void 0?void 0:h.setInterval(()=>{const g=n?.activeElement;if(g?.tagName==="IFRAME"||g?.tagName==="WEBVIEW"){const v=new CustomEvent(Da,{bubbles:!0});g.dispatchEvent(v)}},c),()=>{var g;n==null||(g=n.defaultView)===null||g===void 0||g.clearInterval(f.current)}},[n,o,c])},Jb=e=>-1,Zb=e=>{};function Qf(){const{targetDocument:e}=kt(),o=e?.defaultView,n=o?o.setTimeout:Jb,i=o?o.clearTimeout:Zb;return Lf(n,i)}function Nt(e,o){return(...n)=>{e?.(...n),o?.(...n)}}function Kr(e,o){var n;const i=e;var l;return!!(!(i==null||(n=i.ownerDocument)===null||n===void 0)&&n.defaultView&&i instanceof i.ownerDocument.defaultView[(l=void 0)!==null&&l!==void 0?l:"HTMLElement"])}function ey(e){if(!Kr(e))return!1;const{tagName:o}=e;switch(o){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}function Ia(e){return e.type.startsWith("touch")}function Oa(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function Yf(e){return Oa(e)?{clientX:e.clientX,clientY:e.clientY}:Ia(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function Jf(e){return e instanceof Set?e:new Set(e)}function Zf(e){const[o,n]=Gr({initialState:new Set,defaultState:S.useMemo(()=>e.defaultSelectedItems&&Jf(e.defaultSelectedItems),[e.defaultSelectedItems]),state:S.useMemo(()=>e.selectedItems&&Jf(e.selectedItems),[e.selectedItems])});return[o,(l,c)=>{var u;(u=e.onSelectionChange)===null||u===void 0||u.call(e,l,{selectedItems:c}),n(c)}]}function ty(e){const[o,n]=Zf(e);return[o,{deselectItem:l=>n(l,new Set),selectItem:(l,c)=>n(l,new Set([c])),toggleAllItems:()=>{},toggleItem:(l,c)=>n(l,new Set([c])),clearItems:l=>n(l,new Set),isSelected:l=>{var c;return(c=o.has(l))!==null&&c!==void 0?c:!1}}]}function ry(e){const[o,n]=Zf(e);return[o,{toggleItem:(l,c)=>{const u=new Set(o);o.has(c)?u.delete(c):u.add(c),n(l,u)},selectItem:(l,c)=>{const u=new Set(o);u.add(c),n(l,u)},deselectItem:(l,c)=>{const u=new Set(o);u.delete(c),n(l,u)},clearItems:l=>{n(l,new Set)},isSelected:l=>o.has(l),toggleAllItems:(l,c)=>{const u=c.every(p=>o.has(p)),f=new Set(o);u?f.clear():c.forEach(p=>f.add(p)),n(l,f)}}]}function oy(e){"use no memo";return e.selectionMode==="multiselect"?ry(e):ty(e)}function ny(e){return e&&!!e._virtual}function iy(e){return ny(e)&&e._virtual.parent||null}function sy(e,o={}){if(!e)return null;if(!o.skipVirtual){const i=iy(e);if(i)return i}const n=e.parentNode;return n&&n.nodeType===11?n.host:n}function ep(e,o){e&&Object.assign(e,{_virtual:{parent:o}})}function ly(e,o){return{...o,[hs]:e}}var Aa={exports:{}},Me={};var tp;function ay(){if(tp)return Me;tp=1;var e=60103,o=60106,n=60107,i=60108,l=60114,c=60109,u=60110,f=60112,p=60113,h=60120,g=60115,v=60116,y=60121,b=60122,w=60117,k=60129,_=60131;if(typeof Symbol=="function"&&Symbol.for){var C=Symbol.for;e=C("react.element"),o=C("react.portal"),n=C("react.fragment"),i=C("react.strict_mode"),l=C("react.profiler"),c=C("react.provider"),u=C("react.context"),f=C("react.forward_ref"),p=C("react.suspense"),h=C("react.suspense_list"),g=C("react.memo"),v=C("react.lazy"),y=C("react.block"),b=C("react.server.block"),w=C("react.fundamental"),k=C("react.debug_trace_mode"),_=C("react.legacy_hidden")}function N($){if(typeof $=="object"&&$!==null){var oe=$.$$typeof;switch(oe){case e:switch($=$.type,$){case n:case l:case i:case p:case h:return $;default:switch($=$&&$.$$typeof,$){case u:case f:case v:case g:case c:return $;default:return oe}}case o:return oe}}}var T=c,z=e,j=f,q=n,A=v,W=g,J=o,te=l,ve=i,pe=p;return Me.ContextConsumer=u,Me.ContextProvider=T,Me.Element=z,Me.ForwardRef=j,Me.Fragment=q,Me.Lazy=A,Me.Memo=W,Me.Portal=J,Me.Profiler=te,Me.StrictMode=ve,Me.Suspense=pe,Me.isAsyncMode=function(){return!1},Me.isConcurrentMode=function(){return!1},Me.isContextConsumer=function($){return N($)===u},Me.isContextProvider=function($){return N($)===c},Me.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===e},Me.isForwardRef=function($){return N($)===f},Me.isFragment=function($){return N($)===n},Me.isLazy=function($){return N($)===v},Me.isMemo=function($){return N($)===g},Me.isPortal=function($){return N($)===o},Me.isProfiler=function($){return N($)===l},Me.isStrictMode=function($){return N($)===i},Me.isSuspense=function($){return N($)===p},Me.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===n||$===l||$===k||$===i||$===p||$===h||$===_||typeof $=="object"&&$!==null&&($.$$typeof===v||$.$$typeof===g||$.$$typeof===c||$.$$typeof===u||$.$$typeof===f||$.$$typeof===w||$.$$typeof===y||$[0]===b)},Me.typeOf=N,Me}var rp;function cy(){return rp||(rp=1,Aa.exports=ay()),Aa.exports}cy();function op(e,o){return function(i,l,c,u,f){return Af(l)?o(ly(i,l),null,c,u,f):Af(i)?o(i,l,c,u,f):e(i,l,c,u,f)}}function np(e){const{as:o,[Df]:n,[hs]:i,[Ff]:l,...c}=e,u=c,f=typeof i=="string"?o??i:i;return typeof f!="string"&&o&&(u.as=o),{elementType:f,props:u,renderFunction:l}}const Mo=N0,uy=(e,o,n)=>{const{elementType:i,renderFunction:l,props:c}=np(e),u={...c,...o};return l?Mo.jsx(S.Fragment,{children:l(i,u)},n):Mo.jsx(i,u,n)},dy=(e,o,n)=>{const{elementType:i,renderFunction:l,props:c}=np(e),u={...c,...o};return l?Mo.jsx(S.Fragment,{children:l(i,{...u,children:Mo.jsxs(S.Fragment,{children:u.children},void 0)})},n):Mo.jsxs(i,u,n)},le=op(Mo.jsx,uy),ht=op(Mo.jsxs,dy),ip=S.createContext(void 0),fy={},py=ip.Provider,my=()=>{const e=S.useContext(ip);return e??fy},hy=(e,o)=>le(Rb,{value:o.provider,children:le(zb,{value:o.theme,children:le(Tb,{value:o.themeClassName,children:le(Ib,{value:o.customStyleHooks_unstable,children:le(Pb,{value:o.tooltip,children:le(J1,{dir:o.textDirection,children:le(py,{value:o.iconDirection,children:le(Fb,{value:o.overrides_unstable,children:ht(e.root,{children:[Fa()?null:le("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});var gy=typeof WeakRef<"u",sp=class{constructor(e){gy&&typeof e=="object"?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,o;let n;return this._weakRef?(n=(e=this._weakRef)==null?void 0:e.deref(),n||delete this._weakRef):(n=this._instance,(o=n?.isDisposed)!=null&&o.call(n)&&delete this._instance),n}},br="keyborg:focusin",ei="keyborg:focusout";function vy(e){const o=e.HTMLElement,n=o.prototype.focus;let i=!1;return o.prototype.focus=function(){i=!0},e.document.createElement("button").focus(),o.prototype.focus=n,i}var qa=!1;function Xr(e){const o=e.focus;o.__keyborgNativeFocus?o.__keyborgNativeFocus.call(e):e.focus()}function by(e){const o=e;qa||(qa=vy(o));const n=o.HTMLElement.prototype.focus;if(n.__keyborgNativeFocus)return;o.HTMLElement.prototype.focus=p;const i=new Set,l=g=>{const v=g.target;if(!v)return;const y=new CustomEvent(ei,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:g}});v.dispatchEvent(y)},c=g=>{const v=g.target;if(!v)return;let y=g.composedPath()[0];const b=new Set;for(;y;)y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(b.add(y),y=y.host):y=y.parentNode;for(const w of i){const k=w.deref();(!k||!b.has(k))&&(i.delete(w),k&&(k.removeEventListener("focusin",c,!0),k.removeEventListener("focusout",l,!0)))}u(v,g.relatedTarget||void 0)},u=(g,v,y)=>{var b;const w=g.shadowRoot;if(w){for(const C of i)if(C.deref()===w)return;w.addEventListener("focusin",c,!0),w.addEventListener("focusout",l,!0),i.add(new sp(w));return}const k={relatedTarget:v,originalEvent:y},_=new CustomEvent(br,{cancelable:!0,bubbles:!0,composed:!0,detail:k});_.details=k,(qa||f.lastFocusedProgrammatically)&&(k.isFocusedProgrammatically=g===((b=f.lastFocusedProgrammatically)==null?void 0:b.deref()),f.lastFocusedProgrammatically=void 0),g.dispatchEvent(_)},f=o.__keyborgData={focusInHandler:c,focusOutHandler:l,shadowTargets:i};o.document.addEventListener("focusin",o.__keyborgData.focusInHandler,!0),o.document.addEventListener("focusout",o.__keyborgData.focusOutHandler,!0);function p(){const g=o.__keyborgData;return g&&(g.lastFocusedProgrammatically=new sp(this)),n.apply(this,arguments)}let h=o.document.activeElement;for(;h&&h.shadowRoot;)u(h),h=h.shadowRoot.activeElement;p.__keyborgNativeFocus=n}function yy(e){const o=e,n=o.HTMLElement.prototype,i=n.focus.__keyborgNativeFocus,l=o.__keyborgData;if(l){o.document.removeEventListener("focusin",l.focusInHandler,!0),o.document.removeEventListener("focusout",l.focusOutHandler,!0);for(const c of l.shadowTargets){const u=c.deref();u&&(u.removeEventListener("focusin",l.focusInHandler,!0),u.removeEventListener("focusout",l.focusOutHandler,!0))}l.shadowTargets.clear(),delete o.__keyborgData}i&&(n.focus=i)}var wy=500,lp=0,ky=class{constructor(e,o){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=i=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const l=i.detail;l.relatedTarget&&(l.isFocusedProgrammatically||l.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"+ ++lp,this._win=e;const n=e.document;if(o){const i=o.triggerKeys,l=o.dismissKeys;i?.length&&(this._triggerKeys=new Set(i)),l?.length&&(this._dismissKeys=new Set(l))}n.addEventListener(br,this._onFocusIn,!0),n.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),n.addEventListener("touchstart",this._onMouseOrTouch,!0),n.addEventListener("touchend",this._onMouseOrTouch,!0),n.addEventListener("touchcancel",this._onMouseOrTouch,!0),by(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),yy(e);const o=e.document;o.removeEventListener(br,this._onFocusIn,!0),o.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),o.removeEventListener("touchstart",this._onMouseOrTouch,!0),o.removeEventListener("touchend",this._onMouseOrTouch,!0),o.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,o;const n=(o=(e=this._win)==null?void 0:e.__keyborg)==null?void 0:o.refs;if(n)for(const i of Object.keys(n))Ma.update(n[i],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var o;if(e.key==="Tab")return!0;const n=(o=this._win)==null?void 0:o.document.activeElement,i=!this._triggerKeys||this._triggerKeys.has(e.keyCode),l=n&&(n.tagName==="INPUT"||n.tagName==="TEXTAREA"||n.isContentEditable);return i&&!l}_shouldDismissKeyboardNavigation(e){var o;return(o=this._dismissKeys)==null?void 0:o.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const o=e.document.activeElement;this._dismissTimer=e.setTimeout(()=>{this._dismissTimer=void 0;const n=e.document.activeElement;o&&n&&o===n&&(this.isNavigatingWithKeyboard=!1)},wy)}}},Ma=class _0{constructor(o,n){this._cb=[],this._id="k"+ ++lp,this._win=o;const i=o.__keyborg;i?(this._core=i.core,i.refs[this._id]=this):(this._core=new ky(o,n),o.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(o,n){return new _0(o,n)}static dispose(o){o.dispose()}static update(o,n){o._cb.forEach(i=>i(n))}dispose(){var o;const n=(o=this._win)==null?void 0:o.__keyborg;n?.refs[this._id]&&(delete n.refs[this._id],Object.keys(n.refs).length===0&&(n.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var o;return!!((o=this._core)!=null&&o.isNavigatingWithKeyboard)}subscribe(o){this._cb.push(o)}unsubscribe(o){const n=this._cb.indexOf(o);n>=0&&this._cb.splice(n,1)}setVal(o){this._core&&(this._core.isNavigatingWithKeyboard=o)}};function bs(e,o){return Ma.create(e,o)}function ys(e){Ma.dispose(e)}const yr="data-tabster",xy="data-tabster-dummy",ap=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),dn={EscapeGroupper:1,Restorer:2,Deloser:3},uo={Invisible:0,PartiallyVisible:1,Visible:2},wr={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},et={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},ws={Unlimited:0,Limited:1,LimitedTrapFocus:2},ks={Enter:1,Escape:2},Sy={Outside:2};function lr(e,o){var n;return(n=e.storageEntry(o))===null||n===void 0?void 0:n.tabster}function cp(e,o,n){var i,l;const c=n||e._noop?void 0:o.getAttribute(yr);let u=e.storageEntry(o),f;if(c)if(c!==((i=u?.attr)===null||i===void 0?void 0:i.string))try{const v=JSON.parse(c);if(typeof v!="object")throw new Error(`Value is not a JSON object, got '${c}'.`);f={string:c,object:v}}catch{}else return;else if(!u)return;u||(u=e.storageEntry(o,!0)),u.tabster||(u.tabster={});const p=u.tabster||{},h=((l=u.attr)===null||l===void 0?void 0:l.object)||{},g=f?.object||{};for(const v of Object.keys(h))if(!g[v]){if(v==="root"){const y=p[v];y&&e.root.onRoot(y,!0)}switch(v){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const y=p[v];y&&(y.dispose(),delete p[v]);break;case"observed":delete p[v],e.observedElement&&e.observedElement.onObservedElementUpdate(o);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete p[v];break}}for(const v of Object.keys(g)){const y=g.sys;switch(v){case"deloser":p.deloser?p.deloser.setProps(g.deloser):e.deloser&&(p.deloser=e.deloser.createDeloser(o,g.deloser));break;case"root":p.root?p.root.setProps(g.root):p.root=e.root.createRoot(o,g.root,y),e.root.onRoot(p.root);break;case"modalizer":p.modalizer?p.modalizer.setProps(g.modalizer):e.modalizer&&(p.modalizer=e.modalizer.createModalizer(o,g.modalizer,y));break;case"restorer":p.restorer?p.restorer.setProps(g.restorer):e.restorer&&g.restorer&&(p.restorer=e.restorer.createRestorer(o,g.restorer));break;case"focusable":p.focusable=g.focusable;break;case"groupper":p.groupper?p.groupper.setProps(g.groupper):e.groupper&&(p.groupper=e.groupper.createGroupper(o,g.groupper,y));break;case"mover":p.mover?p.mover.setProps(g.mover):e.mover&&(p.mover=e.mover.createMover(o,g.mover,y));break;case"observed":e.observedElement&&(p.observed=g.observed,e.observedElement.onObservedElementUpdate(o));break;case"uncontrolled":p.uncontrolled=g.uncontrolled;break;case"outline":e.outline&&(p.outline=g.outline);break;case"sys":p.sys=g.sys;break;default:console.error(`Unknown key '${v}' in data-tabster attribute value.`)}}f?u.attr=f:(Object.keys(p).length===0&&(delete u.tabster,delete u.attr),e.storageEntry(o,!1))}const _y="tabster:focusin",By="tabster:focusout",Cy="tabster:movefocus",zy="tabster:mover:state",La="tabster:mover:movefocus",up="tabster:mover:memorized-element",Ha="tabster:groupper:movefocus",Ny="tabster:root:focus",Ty="tabster:root:blur",Ey=typeof CustomEvent<"u"?CustomEvent:function(){};class fo extends Ey{constructor(o,n){super(o,{bubbles:!0,cancelable:!0,composed:!0,detail:n}),this.details=n}}class Py extends fo{constructor(o){super(_y,o)}}class jy extends fo{constructor(o){super(By,o)}}class po extends fo{constructor(o){super(Cy,o)}}class dp extends fo{constructor(o){super(zy,o)}}class Ry extends fo{constructor(o){super(La,o)}}class fp extends fo{constructor(o){super(Ha,o)}}class Fy extends fo{constructor(o){super(Ny,o)}}class Dy extends fo{constructor(o){super(Ty,o)}}const Y={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,o,n,i)=>e.createTreeWalker(o,n,i),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,o)=>!!(o&&e?.contains(o)),getActiveElement:e=>e.activeElement,querySelector:(e,o)=>e.querySelector(o),querySelectorAll:(e,o)=>Array.prototype.slice.call(e.querySelectorAll(o),0),getElementById:(e,o)=>e.getElementById(o),getFirstChild:e=>e?.firstChild||null,getLastChild:e=>e?.lastChild||null,getNextSibling:e=>e?.nextSibling||null,getPreviousSibling:e=>e?.previousSibling||null,getFirstElementChild:e=>e?.firstElementChild||null,getLastElementChild:e=>e?.lastElementChild||null,getNextElementSibling:e=>e?.nextElementSibling||null,getPreviousElementSibling:e=>e?.previousElementSibling||null,appendChild:(e,o)=>e.appendChild(o),insertBefore:(e,o,n)=>e.insertBefore(o,n),getSelection:e=>{var o;return((o=e.ownerDocument)===null||o===void 0?void 0:o.getSelection())||null},getElementsByName:(e,o)=>e.ownerDocument.getElementsByName(o)};function Iy(e){for(const o of Object.keys(e))Y[o]=e[o]}let Wa;const pp=typeof DOMRect<"u"?DOMRect:class{constructor(e,o,n,i){this.left=e||0,this.top=o||0,this.right=(e||0)+(n||0),this.bottom=(o||0)+(i||0)}};let Oy=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Wa=!1}catch{Wa=!0}const $a=100;function Qr(e){const o=e();let n=o.__tabsterInstanceContext;return n||(n={elementByUId:{},basics:{Promise:o.Promise||void 0,WeakRef:o.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},o.__tabsterInstanceContext=n),n}function Ay(e){const o=e.__tabsterInstanceContext;o&&(o.elementByUId={},delete o.WeakRef,o.containerBoundingRectCache={},o.containerBoundingRectCacheTimer&&e.clearTimeout(o.containerBoundingRectCacheTimer),o.fakeWeakRefsTimer&&e.clearTimeout(o.fakeWeakRefsTimer),o.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function qy(e){const o=e.__tabsterInstanceContext;return new(o?.basics.WeakMap||WeakMap)}function My(e){return!!e.querySelector(ap)}class mp{constructor(o){this._target=o}deref(){return this._target}static cleanup(o,n){return o._target?n||!Ua(o._target.ownerDocument,o._target)?(delete o._target,!0):!1:!0}}class Rr{constructor(o,n,i){const l=Qr(o);let c;l.WeakRef?c=new l.WeakRef(n):(c=new mp(n),l.fakeWeakRefs.push(c)),this._ref=c,this._data=i}get(){const o=this._ref;let n;return o&&(n=o.deref(),n||delete this._ref),n}getData(){return this._data}}function hp(e,o){const n=Qr(e);n.fakeWeakRefs=n.fakeWeakRefs.filter(i=>!mp.cleanup(i,o))}function gp(e){const o=Qr(e);o.fakeWeakRefsStarted||(o.fakeWeakRefsStarted=!0,o.WeakRef=Uy(o)),o.fakeWeakRefsTimer||(o.fakeWeakRefsTimer=e().setTimeout(()=>{o.fakeWeakRefsTimer=void 0,hp(e),gp(e)},120*1e3))}function Ly(e){const o=Qr(e);o.fakeWeakRefsStarted=!1,o.fakeWeakRefsTimer&&(e().clearTimeout(o.fakeWeakRefsTimer),o.fakeWeakRefsTimer=void 0,o.fakeWeakRefs=[])}function Va(e,o,n){if(o.nodeType!==Node.ELEMENT_NODE)return;const i=Wa?n:{acceptNode:n};return Y.createTreeWalker(e,o,NodeFilter.SHOW_ELEMENT,i,!1)}function vp(e,o){let n=o.__tabsterCacheId;const i=Qr(e),l=n?i.containerBoundingRectCache[n]:void 0;if(l)return l.rect;const c=o.ownerDocument&&o.ownerDocument.documentElement;if(!c)return new pp;let u=0,f=0,p=c.clientWidth,h=c.clientHeight;if(o!==c){const v=o.getBoundingClientRect();u=Math.max(u,v.left),f=Math.max(f,v.top),p=Math.min(p,v.right),h=Math.min(h,v.bottom)}const g=new pp(u<p?u:-1,f<h?f:-1,u<p?p-u:0,f<h?h-f:0);return n||(n="r-"+ ++i.lastContainerBoundingRectCacheId,o.__tabsterCacheId=n),i.containerBoundingRectCache[n]={rect:g,element:o},i.containerBoundingRectCacheTimer||(i.containerBoundingRectCacheTimer=window.setTimeout(()=>{i.containerBoundingRectCacheTimer=void 0;for(const v of Object.keys(i.containerBoundingRectCache))delete i.containerBoundingRectCache[v].element.__tabsterCacheId;i.containerBoundingRectCache={}},50)),g}function bp(e,o,n){const i=yp(o);if(!i)return!1;const l=vp(e,i),c=o.getBoundingClientRect(),u=c.height*(1-n),f=Math.max(0,l.top-c.top),p=Math.max(0,c.bottom-l.bottom),h=f+p;return h===0||h<=u}function Hy(e,o,n){const i=yp(o);if(i){const l=vp(e,i),c=o.getBoundingClientRect();n?i.scrollTop+=c.top-l.top:i.scrollTop+=c.bottom-l.bottom}}function yp(e){const o=e.ownerDocument;if(o){for(let n=Y.getParentElement(e);n;n=Y.getParentElement(n))if(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight)return n;return o.documentElement}return null}function Wy(e){e.__shouldIgnoreFocus=!0}function wp(e){return!!e.__shouldIgnoreFocus}function $y(e){const o=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(o);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(o);else for(let i=0;i<o.length;i++)o[i]=4294967295*Math.random();const n=[];for(let i=0;i<o.length;i++)n.push(o[i].toString(36));return n.push("|"),n.push((++Oy).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function xs(e,o){const n=Qr(e);let i=o.__tabsterElementUID;return i||(i=o.__tabsterElementUID=$y(e())),!n.elementByUId[i]&&Ua(o.ownerDocument,o)&&(n.elementByUId[i]=new Rr(e,o)),i}function kp(e,o){const n=Qr(e);for(const i of Object.keys(n.elementByUId)){const l=n.elementByUId[i],c=l&&l.get();c&&o&&!Y.nodeContains(o,c)||delete n.elementByUId[i]}}function Ua(e,o){return Y.nodeContains(e?.body,o)}function xp(e,o){const n=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return n&&n.call(e,o)}function Vy(e){const o=Qr(e);if(o.basics.Promise)return o.basics.Promise;throw new Error("No Promise defined.")}function Uy(e){return e.basics.WeakRef}let Gy=0;class Ga{constructor(o,n,i){const l=o.getWindow;this._tabster=o,this._element=new Rr(l,n),this._props={...i},this.id="i"+ ++Gy}getElement(){return this._element.get()}getProps(){return this._props}setProps(o){this._props={...o}}}class Ss{constructor(o,n,i,l,c){var u;this._focusIn=g=>{if(this._fixedTarget){const y=this._fixedTarget.get();y&&Xr(y);return}const v=this.input;if(this.onFocusIn&&v){const y=g.relatedTarget;this.onFocusIn(this,this._isBackward(!0,v,y),y)}},this._focusOut=g=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const v=this.input;if(this.onFocusOut&&v){const y=g.relatedTarget;this.onFocusOut(this,this._isBackward(!1,v,y),y)}};const f=o(),p=f.document.createElement("i");p.tabIndex=0,p.setAttribute("role","none"),p.setAttribute(xy,""),p.setAttribute("aria-hidden","true");const h=p.style;h.position="fixed",h.width=h.height="1px",h.opacity="0.001",h.zIndex="-1",h.setProperty("content-visibility","hidden"),Wy(p),this.input=p,this.isFirst=i.isFirst,this.isOutside=n,this._isPhantom=(u=i.isPhantom)!==null&&u!==void 0?u:!1,this._fixedTarget=c,p.addEventListener("focusin",this._focusIn),p.addEventListener("focusout",this._focusOut),p.__tabsterDummyContainer=l,this._isPhantom&&(this._disposeTimer=f.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(f.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var o;this._clearDisposeTimeout&&this._clearDisposeTimeout();const n=this.input;n&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,n.removeEventListener("focusin",this._focusIn),n.removeEventListener("focusout",this._focusOut),delete n.__tabsterDummyContainer,(o=Y.getParentNode(n))===null||o===void 0||o.removeChild(n))}setTopLeft(o,n){var i;const l=(i=this.input)===null||i===void 0?void 0:i.style;l&&(l.top=`${o}px`,l.left=`${n}px`)}_isBackward(o,n,i){return o&&!i?!this.isFirst:!!(i&&n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING)}}const Ka={Root:1,Mover:3,Groupper:4};class ti{constructor(o,n,i,l,c,u){this._element=n,this._instance=new Xy(o,n,this,i,l,c,u)}_setHandlers(o,n){this._onFocusIn=o,this._onFocusOut=n}moveOut(o){var n;(n=this._instance)===null||n===void 0||n.moveOut(o)}moveOutWithDefaultAction(o,n){var i;(i=this._instance)===null||i===void 0||i.moveOutWithDefaultAction(o,n)}getHandler(o){return o?this._onFocusIn:this._onFocusOut}setTabbable(o){var n;(n=this._instance)===null||n===void 0||n.setTabbable(this,o)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(o,n,i,l,c){const f=new Ss(o.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(f){let p,h;if(n.tagName==="BODY")p=n,h=i&&l||!i&&!l?Y.getFirstElementChild(n):null;else{i&&(!l||l&&!o.focusable.isFocusable(n,!1,!0,!0))?(p=n,h=l?n.firstElementChild:null):(p=Y.getParentElement(n),h=i&&l||!i&&!l?n:Y.getNextElementSibling(n));let g,v;do g=i&&l||!i&&!l?Y.getPreviousElementSibling(h):h,v=ri(g),v===n?h=i&&l||!i&&!l?g:Y.getNextElementSibling(g):v=null;while(v)}p?.dispatchEvent(new po({by:"root",owner:p,next:null,relatedEvent:c}))&&(Y.insertBefore(p,f,h),Xr(f))}}static addPhantomDummyWithTarget(o,n,i,l){const u=new Ss(o.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Rr(o.getWindow,l)).input;if(u){let f,p;My(n)&&!i?(f=n,p=Y.getFirstElementChild(n)):(f=Y.getParentElement(n),p=i?n:Y.getNextElementSibling(n)),f&&Y.insertBefore(f,u,p)}}}class Ky{constructor(o){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=n=>{var i;this._changedParents.has(n)||(this._changedParents.add(n),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(i=this._win)===null||i===void 0?void 0:i.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const l of this._dummyElements){const c=l.get();if(c){const u=this._dummyCallbacks.get(c);if(u){const f=Y.getParentNode(c);(!f||this._changedParents.has(f))&&u()}}}this._changedParents=new WeakSet},$a)))},this._win=o}add(o,n){!this._dummyCallbacks.has(o)&&this._win&&(this._dummyElements.push(new Rr(this._win,o)),this._dummyCallbacks.set(o,n),this.domChanged=this._domChanged)}remove(o){this._dummyElements=this._dummyElements.filter(n=>{const i=n.get();return i&&i!==o}),this._dummyCallbacks.delete(o),this._dummyElements.length===0&&delete this.domChanged}dispose(){var o;const n=(o=this._win)===null||o===void 0?void 0:o.call(this);this._updateTimer&&(n?.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(n?.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(o){this._win&&(this._updateQueue.add(o),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var o;this._updateTimer||(this._updateTimer=(o=this._win)===null||o===void 0?void 0:o.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+$a<=Date.now()){const n=new Map,i=[];for(const l of this._updateQueue)i.push(l(n));this._updateQueue.clear();for(const l of i)l();n.clear()}else this._scheduledUpdatePositions()},$a))}}class Xy{constructor(o,n,i,l,c,u,f){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(b,w,k)=>{this._onFocus(!0,b,w,k)},this._onFocusOut=(b,w,k)=>{this._onFocus(!1,b,w,k)},this.moveOut=b=>{var w;const k=this._firstDummy,_=this._lastDummy;if(k&&_){this._ensurePosition();const C=k.input,N=_.input,T=(w=this._element)===null||w===void 0?void 0:w.get();if(C&&N&&T){let z;b?(C.tabIndex=0,z=C):(N.tabIndex=0,z=N),z&&Xr(z)}}},this.moveOutWithDefaultAction=(b,w)=>{var k;const _=this._firstDummy,C=this._lastDummy;if(_&&C){this._ensurePosition();const N=_.input,T=C.input,z=(k=this._element)===null||k===void 0?void 0:k.get();if(N&&T&&z){let j;b?!_.isOutside&&this._tabster.focusable.isFocusable(z,!0,!0,!0)?j=z:(_.useDefaultAction=!0,N.tabIndex=0,j=N):(C.useDefaultAction=!0,T.tabIndex=0,j=T),j&&z.dispatchEvent(new po({by:"root",owner:z,next:null,relatedEvent:w}))&&Xr(j)}}},this.setTabbable=(b,w)=>{var k,_;for(const N of this._wrappers)if(N.manager===b){N.tabbable=w;break}const C=this._getCurrent();if(C){const N=C.tabbable?0:-1;let T=(k=this._firstDummy)===null||k===void 0?void 0:k.input;T&&(T.tabIndex=N),T=(_=this._lastDummy)===null||_===void 0?void 0:_.input,T&&(T.tabIndex=N)}},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=b=>{var w,k;const _=((w=this._firstDummy)===null||w===void 0?void 0:w.input)||((k=this._lastDummy)===null||k===void 0?void 0:k.input),C=this._transformElements,N=new Set;let T=0,z=0;const j=this._getWindow();for(let q=_;q&&q.nodeType===Node.ELEMENT_NODE;q=Y.getParentElement(q)){let A=b.get(q);if(A===void 0){const W=j.getComputedStyle(q).transform;W&&W!=="none"&&(A={scrollTop:q.scrollTop,scrollLeft:q.scrollLeft}),b.set(q,A||null)}A&&(N.add(q),C.has(q)||q.addEventListener("scroll",this._addTransformOffsets),T+=A.scrollTop,z+=A.scrollLeft)}for(const q of C)N.has(q)||q.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=N,()=>{var q,A;(q=this._firstDummy)===null||q===void 0||q.setTopLeft(T,z),(A=this._lastDummy)===null||A===void 0||A.setTopLeft(T,z)}};const p=n.get();if(!p)throw new Error("No element");this._tabster=o,this._getWindow=o.getWindow,this._callForDefaultAction=f;const h=p.__tabsterDummy;if((h||this)._wrappers.push({manager:i,priority:l,tabbable:!0}),h)return h;p.__tabsterDummy=this;const g=c?.dummyInputsPosition,v=p.tagName;this._isOutside=g?g===Sy.Outside:(u||v==="UL"||v==="OL"||v==="TABLE")&&!(v==="LI"||v==="TD"||v==="TH"),this._firstDummy=new Ss(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new Ss(this._getWindow,this._isOutside,{isFirst:!1},n);const y=this._firstDummy.input;y&&o._dummyObserver.add(y,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=n,this._addDummyInputs()}dispose(o,n){var i,l,c,u;if((this._wrappers=this._wrappers.filter(p=>p.manager!==o&&!n)).length===0){delete((i=this._element)===null||i===void 0?void 0:i.get()).__tabsterDummy;for(const g of this._transformElements)g.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const p=this._getWindow();this._addTimer&&(p.clearTimeout(this._addTimer),delete this._addTimer);const h=(l=this._firstDummy)===null||l===void 0?void 0:l.input;h&&this._tabster._dummyObserver.remove(h),(c=this._firstDummy)===null||c===void 0||c.dispose(),(u=this._lastDummy)===null||u===void 0||u.dispose()}}_onFocus(o,n,i,l){var c;const u=this._getCurrent();u&&(!n.useDefaultAction||this._callForDefaultAction)&&((c=u.manager.getHandler(o))===null||c===void 0||c(n,i,l))}_getCurrent(){return this._wrappers.sort((o,n)=>o.tabbable!==n.tabbable?o.tabbable?-1:1:o.priority-n.priority),this._wrappers[0]}_ensurePosition(){var o,n,i;const l=(o=this._element)===null||o===void 0?void 0:o.get(),c=(n=this._firstDummy)===null||n===void 0?void 0:n.input,u=(i=this._lastDummy)===null||i===void 0?void 0:i.input;if(!(!l||!c||!u))if(this._isOutside){const f=Y.getParentNode(l);if(f){const p=Y.getNextSibling(l);p!==u&&Y.insertBefore(f,u,p),Y.getPreviousElementSibling(l)!==c&&Y.insertBefore(f,c,l)}}else{Y.getLastElementChild(l)!==u&&Y.appendChild(l,u);const f=Y.getFirstElementChild(l);f&&f!==c&&f.parentNode&&Y.insertBefore(f.parentNode,c,f)}}}function Sp(e){let o=null;for(let n=Y.getLastElementChild(e);n;n=Y.getLastElementChild(n))o=n;return o||void 0}function Qy(e,o){let n=e,i=null;for(;n&&!i;)i=o?Y.getPreviousElementSibling(n):Y.getNextElementSibling(n),n=Y.getParentElement(n);return i||void 0}function Yy(e){var o,n;const i=e.ownerDocument,l=(o=i.defaultView)===null||o===void 0?void 0:o.getComputedStyle(e);return e.offsetParent===null&&i.body!==e&&l?.position!=="fixed"||l?.visibility==="hidden"||l?.position==="fixed"&&(l.display==="none"||((n=e.parentElement)===null||n===void 0?void 0:n.offsetParent)===null&&i.body!==e.parentElement)}function Xa(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function Jy(e){if(!Xa(e))return;const o=e.name;let n=Array.from(Y.getElementsByName(e,o)),i;return n=n.filter(l=>Xa(l)?(l.checked&&(i=l),!0):!1),{name:o,buttons:new Set(n),checked:i}}function ri(e){var o;return((o=e?.__tabsterDummyContainer)===null||o===void 0?void 0:o.get())||null}function _p(e,o){return JSON.stringify(e)}function Zy(e,o){for(const n of Object.keys(o)){const i=o[n];i?e[n]=i:delete e[n]}}function ew(e,o,n){let i;{const l=e.getAttribute(yr);if(l)try{i=JSON.parse(l)}catch{}}i||(i={}),Zy(i,o),Object.keys(i).length>0?e.setAttribute(yr,_p(i)):e.removeAttribute(yr)}class Bp extends ti{constructor(o,n,i,l){super(o,n,Ka.Root,l,void 0,!0),this._onDummyInputFocus=c=>{var u;if(c.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const f=this._element.get();if(f){this._setFocused(!0);const p=this._tabster.focusedElement.getFirstOrLastTabbable(c.isFirst,{container:f,ignoreAccessibility:!0});if(p){Xr(p);return}}(u=c.input)===null||u===void 0||u.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=o,this._setFocused=i}}class tw extends Ga{constructor(o,n,i,l,c){super(o,n,l),this._isFocused=!1,this._setFocused=h=>{var g;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===h)return;const v=this._element.get();v&&(h?(this._isFocused=!0,(g=this._dummyManager)===null||g===void 0||g.setTabbable(!1),v.dispatchEvent(new Fy({element:v}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var y;delete this._setFocusedTimer,this._isFocused=!1,(y=this._dummyManager)===null||y===void 0||y.setTabbable(!0),v.dispatchEvent(new Dy({element:v}))},0))},this._onFocusIn=h=>{const g=this._tabster.getParent,v=this._element.get();let y=h.composedPath()[0];do{if(y===v){this._setFocused(!0);return}y=y&&g(y)}while(y)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=i;const u=o.getWindow;this.uid=xs(u,n),this._sys=c,(o.controlTab||o.rootDummyInputs)&&this.addDummyInputs();const p=u().document;p.addEventListener(br,this._onFocusIn),p.addEventListener(ei,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Bp(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var o;this._onDispose(this);const n=this._tabster.getWindow(),i=n.document;i.removeEventListener(br,this._onFocusIn),i.removeEventListener(ei,this._onFocusOut),this._setFocusedTimer&&(n.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(o=this._dummyManager)===null||o===void 0||o.dispose(),this._remove()}moveOutWithDefaultAction(o,n){const i=this._dummyManager;if(i)i.moveOutWithDefaultAction(o,n);else{const l=this.getElement();l&&Bp.moveWithPhantomDummy(this._tabster,l,!0,o,n)}}_add(){}_remove(){}}class ft{constructor(o,n){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var i;const l=this._win().document,c=l.body;if(c){this._autoRootUnwait(l);const u=this._autoRoot;if(u)return ew(c,{root:u}),cp(this._tabster,c),(i=lr(this._tabster,c))===null||i===void 0?void 0:i.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,l.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=i=>{delete this._roots[i.id]},this._tabster=o,this._win=o.getWindow,this._autoRoot=n,o.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(o){o.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const o=this._win();this._autoRootUnwait(o.document),delete this._autoRoot,Object.keys(this._roots).forEach(n=>{this._roots[n]&&(this._roots[n].dispose(),delete this._roots[n])}),this.rootById={}}createRoot(o,n,i){const l=new tw(this._tabster,o,this._onRootDispose,n,i);return this._roots[l.id]=l,this._forceDummy&&l.addDummyInputs(),l}addDummyInputs(){this._forceDummy=!0;const o=this._roots;for(const n of Object.keys(o))o[n].addDummyInputs()}static getRootByUId(o,n){const i=o().__tabsterInstance;return i&&i.root.rootById[n]}static getTabsterContext(o,n,i){i===void 0&&(i={});var l,c,u,f;if(!n.ownerDocument)return;const{checkRtl:p,referenceElement:h}=i,g=o.getParent;o.drainInitQueue();let v,y,b,w,k=!1,_,C,N,T,z=h||n;const j={};for(;z&&(!v||p);){const A=lr(o,z);if(p&&N===void 0){const pe=z.dir;pe&&(N=pe.toLowerCase()==="rtl")}if(!A){z=g(z);continue}const W=z.tagName;(A.uncontrolled||W==="IFRAME"||W==="WEBVIEW")&&o.focusable.isVisible(z)&&(T=z),!w&&(!((l=A.focusable)===null||l===void 0)&&l.excludeFromMover)&&!b&&(k=!0);const J=A.modalizer,te=A.groupper,ve=A.mover;!y&&J&&(y=J),!b&&te&&(!y||J)&&(y?(!te.isActive()&&te.getProps().tabbability&&y.userId!==((c=o.modalizer)===null||c===void 0?void 0:c.activeId)&&(y=void 0,b=te),C=te):b=te),!w&&ve&&(!y||J)&&(!te||z!==n)&&z.contains(n)&&(w=ve,_=!!b&&b!==te),A.root&&(v=A.root),!((u=A.focusable)===null||u===void 0)&&u.ignoreKeydown&&Object.assign(j,A.focusable.ignoreKeydown),z=g(z)}if(!v){const A=o.root;A._autoRoot&&!((f=n.ownerDocument)===null||f===void 0)&&f.body&&(v=A._autoRootCreate())}return b&&!w&&(_=!0),v?{root:v,modalizer:y,groupper:b,mover:w,groupperBeforeMover:_,modalizerInGroupper:C,rtl:p?!!N:void 0,uncontrolled:T,excludedFromMover:k,ignoreKeydown:A=>!!j[A.key]}:void 0}static getRoot(o,n){var i;const l=o.getParent;for(let c=n;c;c=l(c)){const u=(i=lr(o,c))===null||i===void 0?void 0:i.root;if(u)return u}}onRoot(o,n){n?delete this.rootById[o.uid]:this.rootById[o.uid]=o}}class Cp{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(o){const n=this._callbacks;n.indexOf(o)<0&&n.push(o)}subscribeFirst(o){const n=this._callbacks,i=n.indexOf(o);i>=0&&n.splice(i,1),n.unshift(o)}unsubscribe(o){const n=this._callbacks.indexOf(o);n>=0&&this._callbacks.splice(n,1)}setVal(o,n){this._val!==o&&(this._val=o,this._callCallbacks(o,n))}getVal(){return this._val}trigger(o,n){this._callCallbacks(o,n)}_callCallbacks(o,n){this._callbacks.forEach(i=>i(o,n))}}class rw{constructor(o){this._tabster=o}dispose(){}getProps(o){const n=lr(this._tabster,o);return n&&n.focusable||{}}isFocusable(o,n,i,l){return xp(o,ap)&&(n||o.tabIndex!==-1)?(i||this.isVisible(o))&&(l||this.isAccessible(o)):!1}isVisible(o){if(!o.ownerDocument||o.nodeType!==Node.ELEMENT_NODE||Yy(o))return!1;const n=o.ownerDocument.body.getBoundingClientRect();return!(n.width===0&&n.height===0)}isAccessible(o){var n;for(let i=o;i;i=Y.getParentElement(i)){const l=lr(this._tabster,i);if(this._isHidden(i)||!((n=l?.focusable)===null||n===void 0?void 0:n.ignoreAriaDisabled)&&this._isDisabled(i))return!1}return!0}_isDisabled(o){return o.hasAttribute("disabled")}_isHidden(o){var n;const i=o.getAttribute("aria-hidden");return!!(i&&i.toLowerCase()==="true"&&!(!((n=this._tabster.modalizer)===null||n===void 0)&&n.isAugmented(o)))}findFirst(o,n){return this.findElement({...o},n)}findLast(o,n){return this.findElement({isBackward:!0,...o},n)}findNext(o,n){return this.findElement({...o},n)}findPrev(o,n){return this.findElement({...o,isBackward:!0},n)}findDefault(o,n){return this.findElement({...o,acceptCondition:i=>this.isFocusable(i,o.includeProgrammaticallyFocusable)&&!!this.getProps(i).isDefault},n)||null}findAll(o){return this._findElements(!0,o)||[]}findElement(o,n){const i=this._findElements(!1,o,n);return i&&i[0]}_findElements(o,n,i){var l,c,u;const{container:f,currentElement:p=null,includeProgrammaticallyFocusable:h,useActiveModalizer:g,ignoreAccessibility:v,modalizerId:y,isBackward:b,onElement:w}=n;i||(i={});const k=[];let{acceptCondition:_}=n;const C=!!_;if(!f)return null;_||(_=j=>this.isFocusable(j,h,!1,v));const N={container:f,modalizerUserId:y===void 0&&g?(l=this._tabster.modalizer)===null||l===void 0?void 0:l.activeId:y||((u=(c=ft.getTabsterContext(this._tabster,f))===null||c===void 0?void 0:c.modalizer)===null||u===void 0?void 0:u.userId),from:p||f,isBackward:b,isFindAll:o,acceptCondition:_,hasCustomCondition:C,includeProgrammaticallyFocusable:h,ignoreAccessibility:v,cachedGrouppers:{},cachedRadioGroups:{}},T=Va(f.ownerDocument,f,j=>this._acceptElement(j,N));if(!T)return null;const z=j=>{var q,A;const W=(q=N.foundElement)!==null&&q!==void 0?q:N.foundBackward;return W&&k.push(W),o?W&&(N.found=!1,delete N.foundElement,delete N.foundBackward,delete N.fromCtx,N.from=W,w&&!w(W))?!1:!!(W||j):(W&&i&&(i.uncontrolled=(A=ft.getTabsterContext(this._tabster,W))===null||A===void 0?void 0:A.uncontrolled),!!(j&&!W))};if(p||(i.outOfDOMOrder=!0),p&&Y.nodeContains(f,p))T.currentNode=p;else if(b){const j=Sp(f);if(!j)return null;if(this._acceptElement(j,N)===NodeFilter.FILTER_ACCEPT&&!z(!0))return N.skippedFocusable&&(i.outOfDOMOrder=!0),k;T.currentNode=j}do b?T.previousNode():T.nextNode();while(z());return N.skippedFocusable&&(i.outOfDOMOrder=!0),k.length?k:null}_acceptElement(o,n){var i,l,c;if(n.found)return NodeFilter.FILTER_ACCEPT;const u=n.foundBackward;if(u&&(o===u||!Y.nodeContains(u,o)))return n.found=!0,n.foundElement=u,NodeFilter.FILTER_ACCEPT;const f=n.container;if(o===f)return NodeFilter.FILTER_SKIP;if(!Y.nodeContains(f,o)||ri(o)||Y.nodeContains(n.rejectElementsFrom,o))return NodeFilter.FILTER_REJECT;const p=n.currentCtx=ft.getTabsterContext(this._tabster,o);if(!p)return NodeFilter.FILTER_SKIP;if(wp(o))return this.isFocusable(o,void 0,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!n.hasCustomCondition&&(o.tagName==="IFRAME"||o.tagName==="WEBVIEW"))return this.isVisible(o)&&((i=p.modalizer)===null||i===void 0?void 0:i.userId)===((l=this._tabster.modalizer)===null||l===void 0?void 0:l.activeId)?(n.found=!0,n.rejectElementsFrom=n.foundElement=o,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!n.ignoreAccessibility&&!this.isAccessible(o))return this.isFocusable(o,!1,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let h,g=n.fromCtx;g||(g=n.fromCtx=ft.getTabsterContext(this._tabster,n.from));const v=g?.mover;let y=p.groupper,b=p.mover;if(h=(c=this._tabster.modalizer)===null||c===void 0?void 0:c.acceptElement(o,n),h!==void 0&&(n.skippedFocusable=!0),h===void 0&&(y||b||v)){const w=y?.getElement(),k=v?.getElement();let _=b?.getElement();if(_&&Y.nodeContains(k,_)&&Y.nodeContains(f,k)&&(!w||!b||Y.nodeContains(k,w))&&(b=v,_=k),w){if(w===f||!Y.nodeContains(f,w))y=void 0;else if(!Y.nodeContains(w,o))return NodeFilter.FILTER_REJECT}if(_){if(!Y.nodeContains(f,_))b=void 0;else if(!Y.nodeContains(_,o))return NodeFilter.FILTER_REJECT}y&&b&&(_&&w&&!Y.nodeContains(w,_)?b=void 0:y=void 0),y&&(h=y.acceptElement(o,n)),b&&(h=b.acceptElement(o,n))}if(h===void 0&&(h=n.acceptCondition(o)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,h===NodeFilter.FILTER_SKIP&&this.isFocusable(o,!1,!0,!0)&&(n.skippedFocusable=!0)),h===NodeFilter.FILTER_ACCEPT&&!n.found){if(!n.isFindAll&&Xa(o)&&!o.checked){const w=o.name;let k=n.cachedRadioGroups[w];if(k||(k=Jy(o),k&&(n.cachedRadioGroups[w]=k)),k?.checked&&k.checked!==o)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=o,h=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=o)}return h}}const nt={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};function ow(e,o){var n;const i=e.getParent;let l=o;do{const c=(n=lr(e,l))===null||n===void 0?void 0:n.uncontrolled;if(c&&e.uncontrolled.isUncontrolledCompletely(l,!!c.completely))return l;l=i(l)}while(l)}const zp={[dn.Restorer]:0,[dn.Deloser]:1,[dn.EscapeGroupper]:2};class it extends Cp{constructor(o,n){super(),this._init=()=>{const i=this._win(),l=i.document;l.addEventListener(br,this._onFocusIn,!0),l.addEventListener(ei,this._onFocusOut,!0),i.addEventListener("keydown",this._onKeyDown,!0);const c=Y.getActiveElement(l);c&&c!==l.body&&this._setFocusedElement(c),this.subscribe(this._onChanged)},this._onFocusIn=i=>{const l=i.composedPath()[0];l&&this._setFocusedElement(l,i.detail.relatedTarget,i.detail.isFocusedProgrammatically)},this._onFocusOut=i=>{var l;this._setFocusedElement(void 0,(l=i.detail)===null||l===void 0?void 0:l.originalEvent.relatedTarget)},this._validateFocusedElement=i=>{},this._onKeyDown=i=>{if(i.key!==nt.Tab||i.ctrlKey)return;const l=this.getVal();if(!l||!l.ownerDocument||l.contentEditable==="true")return;const c=this._tabster,u=c.controlTab,f=ft.getTabsterContext(c,l);if(!f||f.ignoreKeydown(i))return;const p=i.shiftKey,h=it.findNextTabbable(c,f,void 0,l,void 0,p,!0),g=f.root.getElement();if(!g)return;const v=h?.element,y=ow(c,l);if(v){const b=h.uncontrolled;if(f.uncontrolled||Y.nodeContains(b,l)){if(!h.outOfDOMOrder&&b===f.uncontrolled||y&&!Y.nodeContains(y,v))return;ti.addPhantomDummyWithTarget(c,l,p,v);return}if(b&&c.focusable.isVisible(b)||v.tagName==="IFRAME"&&c.focusable.isVisible(v)){g.dispatchEvent(new po({by:"root",owner:g,next:v,relatedEvent:i}))&&ti.moveWithPhantomDummy(c,b??v,!1,p,i);return}(u||h?.outOfDOMOrder)&&g.dispatchEvent(new po({by:"root",owner:g,next:v,relatedEvent:i}))&&(i.preventDefault(),i.stopImmediatePropagation(),Xr(v))}else!y&&g.dispatchEvent(new po({by:"root",owner:g,next:null,relatedEvent:i}))&&f.root.moveOutWithDefaultAction(p,i)},this._onChanged=(i,l)=>{var c,u;if(i)i.dispatchEvent(new Py(l));else{const f=(c=this._lastVal)===null||c===void 0?void 0:c.get();if(f){const p={...l},h=ft.getTabsterContext(this._tabster,f),g=(u=h?.modalizer)===null||u===void 0?void 0:u.userId;g&&(p.modalizerId=g),f.dispatchEvent(new jy(p))}}},this._tabster=o,this._win=n,o.queueInit(this._init)}dispose(){super.dispose();const o=this._win(),n=o.document;n.removeEventListener(br,this._onFocusIn,!0),n.removeEventListener(ei,this._onFocusOut,!0),o.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const i=this._asyncFocus;i&&(o.clearTimeout(i.timeout),delete this._asyncFocus),delete it._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(o,n){var i,l;let c=it._lastResetElement,u=c&&c.get();u&&Y.nodeContains(n,u)&&delete it._lastResetElement,u=(l=(i=o._nextVal)===null||i===void 0?void 0:i.element)===null||l===void 0?void 0:l.get(),u&&Y.nodeContains(n,u)&&delete o._nextVal,c=o._lastVal,u=c&&c.get(),u&&Y.nodeContains(n,u)&&delete o._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var o;let n=(o=this._lastVal)===null||o===void 0?void 0:o.get();return(!n||n&&!Ua(n.ownerDocument,n))&&(this._lastVal=n=void 0),n}focus(o,n,i,l){return this._tabster.focusable.isFocusable(o,n,!1,i)?(o.focus({preventScroll:l}),!0):!1}focusDefault(o){const n=this._tabster.focusable.findDefault({container:o});return n?(this._tabster.focusedElement.focus(n),!0):!1}getFirstOrLastTabbable(o,n){var i;const{container:l,ignoreAccessibility:c}=n;let u;if(l){const f=ft.getTabsterContext(this._tabster,l);f&&(u=(i=it.findNextTabbable(this._tabster,f,l,void 0,void 0,!o,c))===null||i===void 0?void 0:i.element)}return u&&!Y.nodeContains(l,u)&&(u=void 0),u||void 0}_focusFirstOrLast(o,n){const i=this.getFirstOrLastTabbable(o,n);return i?(this.focus(i,!1,!0),!0):!1}focusFirst(o){return this._focusFirstOrLast(!0,o)}focusLast(o){return this._focusFirstOrLast(!1,o)}resetFocus(o){if(!this._tabster.focusable.isVisible(o))return!1;if(this._tabster.focusable.isFocusable(o,!0,!0,!0))this.focus(o);else{const n=o.getAttribute("tabindex"),i=o.getAttribute("aria-hidden");o.tabIndex=-1,o.setAttribute("aria-hidden","true"),it._lastResetElement=new Rr(this._win,o),this.focus(o,!0,!0),this._setOrRemoveAttribute(o,"tabindex",n),this._setOrRemoveAttribute(o,"aria-hidden",i)}return!0}requestAsyncFocus(o,n,i){const l=this._tabster.getWindow(),c=this._asyncFocus;if(c){if(zp[o]>zp[c.source])return;l.clearTimeout(c.timeout)}this._asyncFocus={source:o,callback:n,timeout:l.setTimeout(()=>{this._asyncFocus=void 0,n()},i)}}cancelAsyncFocus(o){const n=this._asyncFocus;n?.source===o&&(this._tabster.getWindow().clearTimeout(n.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(o,n,i){i===null?o.removeAttribute(n):o.setAttribute(n,i)}_setFocusedElement(o,n,i){var l,c;if(this._tabster._noop)return;const u={relatedTarget:n};if(o){const p=(l=it._lastResetElement)===null||l===void 0?void 0:l.get();if(it._lastResetElement=void 0,p===o||wp(o))return;u.isFocusedProgrammatically=i;const h=ft.getTabsterContext(this._tabster,o),g=(c=h?.modalizer)===null||c===void 0?void 0:c.userId;g&&(u.modalizerId=g)}const f=this._nextVal={element:o?new Rr(this._win,o):void 0,detail:u};o&&o!==this._val&&this._validateFocusedElement(o),this._nextVal===f&&this.setVal(o,u),this._nextVal=void 0}setVal(o,n){super.setVal(o,n),o&&(this._lastVal=new Rr(this._win,o))}static findNextTabbable(o,n,i,l,c,u,f){const p=i||n.root.getElement();if(!p)return null;let h=null;const g=it._isTabbingTimer,v=o.getWindow();g&&v.clearTimeout(g),it.isTabbing=!0,it._isTabbingTimer=v.setTimeout(()=>{delete it._isTabbingTimer,it.isTabbing=!1},0);const y=n.modalizer,b=n.groupper,w=n.mover,k=_=>{if(h=_.findNextTabbable(l,c,u,f),l&&!h?.element){const C=_!==y&&Y.getParentElement(_.getElement());if(C){const N=ft.getTabsterContext(o,l,{referenceElement:C});if(N){const T=_.getElement(),z=u?T:T&&Sp(T)||T;z&&(h=it.findNextTabbable(o,N,i,z,C,u,f),h&&(h.outOfDOMOrder=!0))}}}};if(b&&w)k(n.groupperBeforeMover?b:w);else if(b)k(b);else if(w)k(w);else if(y)k(y);else{const _={container:p,currentElement:l,referenceElement:c,ignoreAccessibility:f,useActiveModalizer:!0},C={};h={element:o.focusable[u?"findPrev":"findNext"](_,C),outOfDOMOrder:C.outOfDOMOrder,uncontrolled:C.uncontrolled}}return h}}it.isTabbing=!1;class nw extends ti{constructor(o,n,i,l){super(i,o,Ka.Groupper,l,!0),this._setHandlers((c,u,f)=>{var p,h;const g=o.get(),v=c.input;if(g&&v){const y=ft.getTabsterContext(i,v);if(y){let b;b=(p=n.findNextTabbable(f||void 0,void 0,u,!0))===null||p===void 0?void 0:p.element,b||(b=(h=it.findNextTabbable(i,y,void 0,c.isOutside?v:Qy(g,!u),void 0,u,!0))===null||h===void 0?void 0:h.element),b&&Xr(b)}}})}}class iw extends Ga{constructor(o,n,i,l,c){super(o,n,l),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=i,o.controlTab||(this.dummyManager=new nw(this._element,this,o,c))}dispose(){var o;this._onDispose(this),this._element.get(),(o=this.dummyManager)===null||o===void 0||o.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(o,n,i,l){const c=this.getElement();if(!c)return null;const u=ri(o)===c;if(!this._shouldTabInside&&o&&Y.nodeContains(c,o)&&!u)return{element:void 0,outOfDOMOrder:!0};const f=this.getFirst(!0);if(!o||!Y.nodeContains(c,o)||u)return{element:f,outOfDOMOrder:!0};const p=this._tabster;let h=null,g=!1,v;if(this._shouldTabInside&&f){const y={container:c,currentElement:o,referenceElement:n,ignoreAccessibility:l,useActiveModalizer:!0},b={};h=p.focusable[i?"findPrev":"findNext"](y,b),g=!!b.outOfDOMOrder,!h&&this._props.tabbability===ws.LimitedTrapFocus&&(h=p.focusable[i?"findLast":"findFirst"]({container:c,ignoreAccessibility:l,useActiveModalizer:!0},b),g=!0),v=b.uncontrolled}return{element:h,uncontrolled:v,outOfDOMOrder:g}}makeTabbable(o){this._shouldTabInside=o||!this._props.tabbability}isActive(o){var n;const i=this.getElement()||null;let l=!0;for(let u=Y.getParentElement(i);u;u=Y.getParentElement(u)){const f=(n=lr(this._tabster,u))===null||n===void 0?void 0:n.groupper;f&&(f._shouldTabInside||(l=!1))}let c=l?this._props.tabbability?this._shouldTabInside:!1:void 0;if(c&&o){const u=this._tabster.focusedElement.getFocusedElement();u&&(c=u!==this.getFirst(!0))}return c}getFirst(o){var n;const i=this.getElement();let l;if(i){if(o&&this._tabster.focusable.isFocusable(i))return i;l=(n=this._first)===null||n===void 0?void 0:n.get(),l||(l=this._tabster.focusable.findFirst({container:i,useActiveModalizer:!0})||void 0,l&&this.setFirst(l))}return l}setFirst(o){o?this._first=new Rr(this._tabster.getWindow,o):delete this._first}acceptElement(o,n){const i=n.cachedGrouppers,l=Y.getParentElement(this.getElement()),c=l&&ft.getTabsterContext(this._tabster,l),u=c?.groupper,f=c?.groupperBeforeMover?u:void 0;let p;const h=y=>{let b=i[y.id],w;return b?w=b.isActive:(w=this.isActive(!0),b=i[y.id]={isActive:w}),w};if(f&&(p=f.getElement(),!h(f)&&p&&n.container!==p&&Y.nodeContains(n.container,p)))return n.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const g=h(this),v=this.getElement();if(v&&g!==!0){if(v===o&&u&&(p||(p=u.getElement()),p&&!h(u)&&Y.nodeContains(n.container,p)&&p!==n.container)||v!==o&&Y.nodeContains(v,o))return n.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const y=i[this.id];let b;if("first"in y?b=y.first:b=y.first=this.getFirst(!0),b&&n.acceptCondition(b))return n.rejectElementsFrom=v,n.skippedFocusable=!0,b!==n.from?(n.found=!0,n.foundElement=b,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class sw{constructor(o,n){this._current={},this._grouppers={},this._init=()=>{const i=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const l=i.document,c=Y.getActiveElement(l);c&&this._onFocus(c),l.addEventListener("mousedown",this._onMouseDown,!0),i.addEventListener("keydown",this._onKeyDown,!0),i.addEventListener(Ha,this._onMoveFocus)},this._onGroupperDispose=i=>{delete this._grouppers[i.id]},this._onFocus=i=>{i&&this._updateCurrent(i)},this._onMouseDown=i=>{let l=i.target;for(;l&&!this._tabster.focusable.isFocusable(l);)l=this._tabster.getParent(l);l&&this._updateCurrent(l)},this._onKeyDown=i=>{if(i.key!==nt.Enter&&i.key!==nt.Escape||i.ctrlKey||i.altKey||i.shiftKey||i.metaKey)return;const l=this._tabster.focusedElement.getFocusedElement();l&&this.handleKeyPress(l,i)},this._onMoveFocus=i=>{var l;const c=i.composedPath()[0],u=(l=i.detail)===null||l===void 0?void 0:l.action;c&&u!==void 0&&!i.defaultPrevented&&(u===ks.Enter?this._enterGroupper(c):this._escapeGroupper(c),i.stopImmediatePropagation())},this._tabster=o,this._win=n,o.queueInit(this._init)}dispose(){const o=this._win();this._tabster.focusedElement.cancelAsyncFocus(dn.EscapeGroupper),this._current={},this._updateTimer&&(o.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),o.document.removeEventListener("mousedown",this._onMouseDown,!0),o.removeEventListener("keydown",this._onKeyDown,!0),o.removeEventListener(Ha,this._onMoveFocus),Object.keys(this._grouppers).forEach(n=>{this._grouppers[n]&&(this._grouppers[n].dispose(),delete this._grouppers[n])})}createGroupper(o,n,i){const l=this._tabster,c=new iw(l,o,this._onGroupperDispose,n,i);this._grouppers[c.id]=c;const u=l.focusedElement.getFocusedElement();return u&&Y.nodeContains(o,u)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,u===l.focusedElement.getFocusedElement()&&this._updateCurrent(u)},0)),c}forgetCurrentGrouppers(){this._current={}}_updateCurrent(o){var n;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const i=this._tabster,l={};for(let c=i.getParent(o);c;c=i.getParent(c)){const u=(n=lr(i,c))===null||n===void 0?void 0:n.groupper;if(u){l[u.id]=!0,this._current[u.id]=u;const f=u.isActive()||o!==c&&(!u.getProps().delegated||u.getFirst(!1)!==o);u.makeTabbable(f)}}for(const c of Object.keys(this._current)){const u=this._current[c];u.id in l||(u.makeTabbable(!1),u.setFirst(void 0),delete this._current[c])}}_enterGroupper(o,n){const i=this._tabster,l=ft.getTabsterContext(i,o),c=l?.groupper||l?.modalizerInGroupper,u=c?.getElement();if(c&&u&&(o===u||c.getProps().delegated&&o===c.getFirst(!1))){const f=i.focusable.findNext({container:u,currentElement:o,useActiveModalizer:!0});if(f&&(!n||n&&u.dispatchEvent(new po({by:"groupper",owner:u,next:f,relatedEvent:n}))))return n&&(n.preventDefault(),n.stopImmediatePropagation()),f.focus(),f}return null}_escapeGroupper(o,n,i){const l=this._tabster,c=ft.getTabsterContext(l,o);let u=c?.groupper||c?.modalizerInGroupper;const f=u?.getElement();if(u&&f&&Y.nodeContains(f,o)){let p;if(o!==f||i)p=u.getFirst(!0);else{const h=Y.getParentElement(f),g=h?ft.getTabsterContext(l,h):void 0;u=g?.groupper,p=u?.getFirst(!0)}if(p&&(!n||n&&f.dispatchEvent(new po({by:"groupper",owner:f,next:p,relatedEvent:n}))))return u&&u.makeTabbable(!1),p.focus(),p}return null}moveFocus(o,n){return n===ks.Enter?this._enterGroupper(o):this._escapeGroupper(o)}handleKeyPress(o,n,i){const l=this._tabster,c=ft.getTabsterContext(l,o);if(c&&(c?.groupper||c?.modalizerInGroupper)){if(l.focusedElement.cancelAsyncFocus(dn.EscapeGroupper),c.ignoreKeydown(n))return;if(n.key===nt.Enter)this._enterGroupper(o,n);else if(n.key===nt.Escape){const u=l.focusedElement.getFocusedElement();l.focusedElement.requestAsyncFocus(dn.EscapeGroupper,()=>{u!==l.focusedElement.getFocusedElement()&&(i&&!u||!i)||this._escapeGroupper(o,n,i)},0)}}}}class lw extends Cp{constructor(o){super(),this._onChange=n=>{this.setVal(n,void 0)},this._keyborg=bs(o()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),ys(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(o){var n;(n=this._keyborg)===null||n===void 0||n.setVal(o)}isNavigatingWithKeyboard(){var o;return!!(!((o=this._keyborg)===null||o===void 0)&&o.isNavigatingWithKeyboard())}}const aw=["input","textarea","*[contenteditable]"].join(", ");class cw extends ti{constructor(o,n,i,l){super(n,o,Ka.Mover,l),this._onFocusDummyInput=c=>{var u,f;const p=this._element.get(),h=c.input;if(p&&h){const g=ft.getTabsterContext(this._tabster,p);let v;g&&(v=(u=it.findNextTabbable(this._tabster,g,void 0,h,void 0,!c.isFirst,!0))===null||u===void 0?void 0:u.element);const y=(f=this._getMemorized())===null||f===void 0?void 0:f.get();y&&this._tabster.focusable.isFocusable(y)&&(v=y),v&&Xr(v)}},this._tabster=n,this._getMemorized=i,this._setHandlers(this._onFocusDummyInput)}}const Qa=1,Np=2,Tp=3;class uw extends Ga{constructor(o,n,i,l,c){var u;super(o,n,l),this._visible={},this._onIntersection=p=>{for(const h of p){const g=h.target,v=xs(this._win,g);let y,b=this._fullyVisible;if(h.intersectionRatio>=.25?(y=h.intersectionRatio>=.75?uo.Visible:uo.PartiallyVisible,y===uo.Visible&&(b=v)):y=uo.Invisible,this._visible[v]!==y){y===void 0?(delete this._visible[v],b===v&&delete this._fullyVisible):(this._visible[v]=y,this._fullyVisible=b);const w=this.getState(g);w&&g.dispatchEvent(new dp(w))}}},this._win=o.getWindow,this.visibilityTolerance=(u=l.visibilityTolerance)!==null&&u!==void 0?u:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=i;const f=()=>l.memorizeCurrent?this._current:void 0;o.controlTab||(this.dummyManager=new cw(this._element,o,f,c))}dispose(){var o;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const n=this._win();this._setCurrentTimer&&(n.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(n.clearTimeout(this._updateTimer),delete this._updateTimer),(o=this.dummyManager)===null||o===void 0||o.dispose(),delete this.dummyManager}setCurrent(o){o?this._current=new Rr(this._win,o):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{var n;delete this._setCurrentTimer;const i=[];this._current!==this._prevCurrent&&(i.push(this._current),i.push(this._prevCurrent),this._prevCurrent=this._current);for(const l of i){const c=l?.get();if(c&&((n=this._allElements)===null||n===void 0?void 0:n.get(c))===this){const u=this._props;if(c&&(u.visibilityAware!==void 0||u.trackState)){const f=this.getState(c);f&&c.dispatchEvent(new dp(f))}}}}))}getCurrent(){var o;return((o=this._current)===null||o===void 0?void 0:o.get())||null}findNextTabbable(o,n,i,l){const c=this.getElement(),u=c&&ri(o)===c;if(!c)return null;let f=null,p=!1,h;if(this._props.tabbable||u||o&&!Y.nodeContains(c,o)){const g={currentElement:o,referenceElement:n,container:c,ignoreAccessibility:l,useActiveModalizer:!0},v={};f=this._tabster.focusable[i?"findPrev":"findNext"](g,v),p=!!v.outOfDOMOrder,h=v.uncontrolled}return{element:f,uncontrolled:h,outOfDOMOrder:p}}acceptElement(o,n){var i,l;if(!it.isTabbing)return!((i=n.currentCtx)===null||i===void 0)&&i.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:c,visibilityAware:u,hasDefault:f=!0}=this._props,p=this.getElement();if(p&&(c||u||f)&&(!Y.nodeContains(p,n.from)||ri(n.from)===p)){let h;if(c){const g=(l=this._current)===null||l===void 0?void 0:l.get();g&&n.acceptCondition(g)&&(h=g)}if(!h&&f&&(h=this._tabster.focusable.findDefault({container:p,useActiveModalizer:!0})),!h&&u&&(h=this._tabster.focusable.findElement({container:p,useActiveModalizer:!0,isBackward:n.isBackward,acceptCondition:g=>{var v;const y=xs(this._win,g),b=this._visible[y];return p!==g&&!!(!((v=this._allElements)===null||v===void 0)&&v.get(g))&&n.acceptCondition(g)&&(b===uo.Visible||b===uo.PartiallyVisible&&(u===uo.PartiallyVisible||!this._fullyVisible))}})),h)return n.found=!0,n.foundElement=h,n.rejectElementsFrom=p,n.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const o=this.getElement();if(this._unobserve||!o||typeof MutationObserver>"u")return;const n=this._win(),i=this._allElements=new WeakMap,l=this._tabster.focusable;let c=this._updateQueue=[];const u=Y.createMutationObserver(b=>{for(const w of b){const k=w.target,_=w.removedNodes,C=w.addedNodes;if(w.type==="attributes")w.attributeName==="tabindex"&&c.push({element:k,type:Np});else{for(let N=0;N<_.length;N++)c.push({element:_[N],type:Tp});for(let N=0;N<C.length;N++)c.push({element:C[N],type:Qa})}}v()}),f=(b,w)=>{var k,_;const C=i.get(b);C&&w&&((k=this._intersectionObserver)===null||k===void 0||k.unobserve(b),i.delete(b)),!C&&!w&&(i.set(b,this),(_=this._intersectionObserver)===null||_===void 0||_.observe(b))},p=b=>{const w=l.isFocusable(b);i.get(b)?w||f(b,!0):w&&f(b)},h=b=>{const{mover:w}=y(b);if(w&&w!==this)if(w.getElement()===b&&l.isFocusable(b))f(b);else return;const k=Va(n.document,b,_=>{const{mover:C,groupper:N}=y(_);if(C&&C!==this)return NodeFilter.FILTER_REJECT;const T=N?.getFirst(!0);return N&&N.getElement()!==_&&T&&T!==_?NodeFilter.FILTER_REJECT:(l.isFocusable(_)&&f(_),NodeFilter.FILTER_SKIP)});if(k)for(k.currentNode=b;k.nextNode(););},g=b=>{i.get(b)&&f(b,!0);for(let k=Y.getFirstElementChild(b);k;k=Y.getNextElementSibling(k))g(k)},v=()=>{!this._updateTimer&&c.length&&(this._updateTimer=n.setTimeout(()=>{delete this._updateTimer;for(const{element:b,type:w}of c)switch(w){case Np:p(b);break;case Qa:h(b);break;case Tp:g(b);break}c=this._updateQueue=[]},0))},y=b=>{const w={};for(let k=b;k;k=Y.getParentElement(k)){const _=lr(this._tabster,k);if(_&&(_.groupper&&!w.groupper&&(w.groupper=_.groupper),_.mover)){w.mover=_.mover;break}}return w};c.push({element:o,type:Qa}),v(),u.observe(o,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{u.disconnect()}}getState(o){const n=xs(this._win,o);if(n in this._visible){const i=this._visible[n]||uo.Invisible;return{isCurrent:this._current?this._current.get()===o:void 0,visibility:i}}}}function dw(e,o,n,i,l,c,u,f){const p=n<l?l-n:u<e?e-u:0,h=i<c?c-i:f<o?o-f:0;return p===0?h:h===0?p:Math.sqrt(p*p+h*h)}class fw{constructor(o,n){this._init=()=>{const i=this._win();i.addEventListener("keydown",this._onKeyDown,!0),i.addEventListener(La,this._onMoveFocus),i.addEventListener(up,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=i=>{delete this._movers[i.id]},this._onFocus=i=>{var l;let c=i,u=i;for(let f=Y.getParentElement(i);f;f=Y.getParentElement(f)){const p=(l=lr(this._tabster,f))===null||l===void 0?void 0:l.mover;p&&(p.setCurrent(u),c=void 0),!c&&this._tabster.focusable.isFocusable(f)&&(c=u=f)}},this._onKeyDown=async i=>{var l;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(l=this._ignoredInputResolve)===null||l===void 0||l.call(this,!1),i.ctrlKey||i.altKey||i.shiftKey||i.metaKey)return;const c=i.key;let u;if(c===nt.ArrowDown?u=et.ArrowDown:c===nt.ArrowRight?u=et.ArrowRight:c===nt.ArrowUp?u=et.ArrowUp:c===nt.ArrowLeft?u=et.ArrowLeft:c===nt.PageDown?u=et.PageDown:c===nt.PageUp?u=et.PageUp:c===nt.Home?u=et.Home:c===nt.End&&(u=et.End),!u)return;const f=this._tabster.focusedElement.getFocusedElement();!f||await this._isIgnoredInput(f,c)||this._moveFocus(f,u,i)},this._onMoveFocus=i=>{var l;const c=i.composedPath()[0],u=(l=i.detail)===null||l===void 0?void 0:l.key;c&&u!==void 0&&!i.defaultPrevented&&(this._moveFocus(c,u),i.stopImmediatePropagation())},this._onMemorizedElement=i=>{var l;const c=i.composedPath()[0];let u=(l=i.detail)===null||l===void 0?void 0:l.memorizedElement;if(c){const f=ft.getTabsterContext(this._tabster,c),p=f?.mover;p&&(u&&!Y.nodeContains(p.getElement(),u)&&(u=void 0),p.setCurrent(u),i.stopImmediatePropagation())}},this._tabster=o,this._win=n,this._movers={},o.queueInit(this._init)}dispose(){var o;const n=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),(o=this._ignoredInputResolve)===null||o===void 0||o.call(this,!1),this._ignoredInputTimer&&(n.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),n.removeEventListener("keydown",this._onKeyDown,!0),n.removeEventListener(La,this._onMoveFocus),n.removeEventListener(up,this._onMemorizedElement),Object.keys(this._movers).forEach(i=>{this._movers[i]&&(this._movers[i].dispose(),delete this._movers[i])})}createMover(o,n,i){const l=new uw(this._tabster,o,this._onMoverDispose,n,i);return this._movers[l.id]=l,l}moveFocus(o,n){return this._moveFocus(o,n)}_moveFocus(o,n,i){var l,c;const u=this._tabster,f=ft.getTabsterContext(u,o,{checkRtl:!0});if(!f||!f.mover||f.excludedFromMover||i&&f.ignoreKeydown(i))return null;const p=f.mover,h=p.getElement();if(f.groupperBeforeMover){const W=f.groupper;if(W&&!W.isActive(!0)){for(let J=Y.getParentElement(W.getElement());J&&J!==h;J=Y.getParentElement(J))if(!((c=(l=lr(u,J))===null||l===void 0?void 0:l.groupper)===null||c===void 0)&&c.isActive(!0))return null}else return null}if(!h)return null;const g=u.focusable,v=p.getProps(),y=v.direction||wr.Both,b=y===wr.Both,w=b||y===wr.Vertical,k=b||y===wr.Horizontal,_=y===wr.GridLinear,C=_||y===wr.Grid,N=v.cyclic;let T,z,j,q=0,A=0;if(C&&(j=o.getBoundingClientRect(),q=Math.ceil(j.left),A=Math.floor(j.right)),f.rtl&&(n===et.ArrowRight?n=et.ArrowLeft:n===et.ArrowLeft&&(n=et.ArrowRight)),n===et.ArrowDown&&w||n===et.ArrowRight&&(k||C))if(T=g.findNext({currentElement:o,container:h,useActiveModalizer:!0}),T&&C){const W=Math.ceil(T.getBoundingClientRect().left);!_&&A>W&&(T=void 0)}else!T&&N&&(T=g.findFirst({container:h,useActiveModalizer:!0}));else if(n===et.ArrowUp&&w||n===et.ArrowLeft&&(k||C))if(T=g.findPrev({currentElement:o,container:h,useActiveModalizer:!0}),T&&C){const W=Math.floor(T.getBoundingClientRect().right);!_&&W>q&&(T=void 0)}else!T&&N&&(T=g.findLast({container:h,useActiveModalizer:!0}));else if(n===et.Home)C?g.findElement({container:h,currentElement:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:W=>{var J;if(!g.isFocusable(W))return!1;const te=Math.ceil((J=W.getBoundingClientRect().left)!==null&&J!==void 0?J:0);return W!==o&&q<=te?!0:(T=W,!1)}}):T=g.findFirst({container:h,useActiveModalizer:!0});else if(n===et.End)C?g.findElement({container:h,currentElement:o,useActiveModalizer:!0,acceptCondition:W=>{var J;if(!g.isFocusable(W))return!1;const te=Math.ceil((J=W.getBoundingClientRect().left)!==null&&J!==void 0?J:0);return W!==o&&q>=te?!0:(T=W,!1)}}):T=g.findLast({container:h,useActiveModalizer:!0});else if(n===et.PageUp){if(g.findElement({currentElement:o,container:h,useActiveModalizer:!0,isBackward:!0,acceptCondition:W=>g.isFocusable(W)?bp(this._win,W,p.visibilityTolerance)?(T=W,!1):!0:!1}),C&&T){const W=Math.ceil(T.getBoundingClientRect().left);g.findElement({currentElement:T,container:h,useActiveModalizer:!0,acceptCondition:J=>{if(!g.isFocusable(J))return!1;const te=Math.ceil(J.getBoundingClientRect().left);return q<te||W>=te?!0:(T=J,!1)}})}z=!1}else if(n===et.PageDown){if(g.findElement({currentElement:o,container:h,useActiveModalizer:!0,acceptCondition:W=>g.isFocusable(W)?bp(this._win,W,p.visibilityTolerance)?(T=W,!1):!0:!1}),C&&T){const W=Math.ceil(T.getBoundingClientRect().left);g.findElement({currentElement:T,container:h,useActiveModalizer:!0,isBackward:!0,acceptCondition:J=>{if(!g.isFocusable(J))return!1;const te=Math.ceil(J.getBoundingClientRect().left);return q>te||W<=te?!0:(T=J,!1)}})}z=!0}else if(C){const W=n===et.ArrowUp,J=q,te=Math.ceil(j.top),ve=A,pe=Math.floor(j.bottom);let $,oe,Ne=0;g.findAll({container:h,currentElement:o,isBackward:W,onElement:ye=>{const me=ye.getBoundingClientRect(),G=Math.ceil(me.left),ee=Math.ceil(me.top),Z=Math.floor(me.right),R=Math.floor(me.bottom);if(W&&te<R||!W&&pe>ee)return!0;const M=Math.ceil(Math.min(ve,Z))-Math.floor(Math.max(J,G)),ce=Math.ceil(Math.min(ve-J,Z-G));if(M>0&&ce>=M){const fe=M/ce;fe>Ne&&($=ye,Ne=fe)}else if(Ne===0){const fe=dw(J,te,ve,pe,G,ee,Z,R);(oe===void 0||fe<oe)&&(oe=fe,$=ye)}else if(Ne>0)return!1;return!0}}),T=$}return T&&(!i||i&&h.dispatchEvent(new po({by:"mover",owner:h,next:T,relatedEvent:i})))?(z!==void 0&&Hy(this._win,T,z),i&&(i.preventDefault(),i.stopImmediatePropagation()),Xr(T),T):null}async _isIgnoredInput(o,n){if(o.getAttribute("aria-expanded")==="true"&&o.hasAttribute("aria-activedescendant"))return!0;if(xp(o,aw)){let i=0,l=0,c=0,u;if(o.tagName==="INPUT"||o.tagName==="TEXTAREA"){const f=o.type;if(c=(o.value||"").length,f==="email"||f==="number"){if(c){const h=Y.getSelection(o);if(h){const g=h.toString().length,v=n===nt.ArrowLeft||n===nt.ArrowUp;if(h.modify("extend",v?"backward":"forward","character"),g!==h.toString().length)return h.modify("extend",v?"forward":"backward","character"),!0;c=0}}}else{const h=o.selectionStart;if(h===null)return f==="hidden";i=h||0,l=o.selectionEnd||0}}else o.contentEditable==="true"&&(u=new(Vy(this._win))(f=>{this._ignoredInputResolve=b=>{delete this._ignoredInputResolve,f(b)};const p=this._win();this._ignoredInputTimer&&p.clearTimeout(this._ignoredInputTimer);const{anchorNode:h,focusNode:g,anchorOffset:v,focusOffset:y}=Y.getSelection(o)||{};this._ignoredInputTimer=p.setTimeout(()=>{var b,w,k;delete this._ignoredInputTimer;const{anchorNode:_,focusNode:C,anchorOffset:N,focusOffset:T}=Y.getSelection(o)||{};if(_!==h||C!==g||N!==v||T!==y){(b=this._ignoredInputResolve)===null||b===void 0||b.call(this,!1);return}if(i=N||0,l=T||0,c=((w=o.textContent)===null||w===void 0?void 0:w.length)||0,_&&C&&Y.nodeContains(o,_)&&Y.nodeContains(o,C)&&_!==o){let z=!1;const j=q=>{if(q===_)z=!0;else if(q===C)return!0;const A=q.textContent;if(A&&!Y.getFirstChild(q)){const J=A.length;z?C!==_&&(l+=J):(i+=J,l+=J)}let W=!1;for(let J=Y.getFirstChild(q);J&&!W;J=J.nextSibling)W=j(J);return W};j(o)}(k=this._ignoredInputResolve)===null||k===void 0||k.call(this,!0)},0)}));if(u&&!await u||i!==l||i>0&&(n===nt.ArrowLeft||n===nt.ArrowUp||n===nt.Home)||i<c&&(n===nt.ArrowRight||n===nt.ArrowDown||n===nt.End))return!0}return!1}}function pw(e,o,n,i){if(typeof MutationObserver>"u")return()=>{};const l=o.getWindow;let c;const u=g=>{var v,y,b,w,k;const _=new Set;for(const C of g){const N=C.target,T=C.removedNodes,z=C.addedNodes;if(C.type==="attributes")C.attributeName===yr&&(_.has(N)||n(o,N));else{for(let j=0;j<T.length;j++){const q=T[j];_.add(q),f(q,!0),(y=(v=o._dummyObserver).domChanged)===null||y===void 0||y.call(v,N)}for(let j=0;j<z.length;j++)f(z[j]),(w=(b=o._dummyObserver).domChanged)===null||w===void 0||w.call(b,N)}}_.clear(),(k=o.modalizer)===null||k===void 0||k.hiddenUpdate()};function f(g,v){c||(c=Qr(l).elementByUId),p(g,v);const y=Va(e,g,b=>p(b,v));if(y)for(;y.nextNode(););}function p(g,v){var y;if(!g.getAttribute)return NodeFilter.FILTER_SKIP;const b=g.__tabsterElementUID;return b&&c&&(v?delete c[b]:(y=c[b])!==null&&y!==void 0||(c[b]=new Rr(l,g))),(lr(o,g)||g.hasAttribute(yr))&&n(o,g,v),NodeFilter.FILTER_SKIP}const h=Y.createMutationObserver(u);return i&&f(l().document.body),h.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[yr]}),()=>{h.disconnect()}}class mw{constructor(o){this._isUncontrolledCompletely=o}isUncontrolledCompletely(o,n){var i;const l=(i=this._isUncontrolledCompletely)===null||i===void 0?void 0:i.call(this,o,n);return l===void 0?n:l}}class hw{constructor(o){this.keyboardNavigation=o.keyboardNavigation,this.focusedElement=o.focusedElement,this.focusable=o.focusable,this.root=o.root,this.uncontrolled=o.uncontrolled,this.core=o}}class gw{constructor(o,n){var i,l;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.6",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=qy(o),this._win=o;const c=this.getWindow;n?.DOMAPI&&Iy({...n.DOMAPI}),this.keyboardNavigation=new lw(c),this.focusedElement=new it(this,c),this.focusable=new rw(this),this.root=new ft(this,n?.autoRoot),this.uncontrolled=new mw(n?.checkUncontrolledCompletely||n?.checkUncontrolledTrappingFocus),this.controlTab=(i=n?.controlTab)!==null&&i!==void 0?i:!0,this.rootDummyInputs=!!n?.rootDummyInputs,this._dummyObserver=new Ky(c),this.getParent=(l=n?.getParent)!==null&&l!==void 0?l:Y.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:u=>{if(!this._unobserve){const f=c().document;this._unobserve=pw(f,this,cp,u)}}},gp(c),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(o){var n;o&&(this.getParent=(n=o.getParent)!==null&&n!==void 0?n:this.getParent)}createTabster(o,n){const i=new hw(this);return o||this._wrappers.add(i),this._mergeProps(n),i}disposeTabster(o,n){n?this._wrappers.clear():this._wrappers.delete(o),this._wrappers.size===0&&this.dispose()}dispose(){var o,n,i,l,c,u,f,p;this.internal.stopObserver();const h=this._win;h?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],h&&this._forgetMemorizedTimer&&(h.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(o=this.outline)===null||o===void 0||o.dispose(),(n=this.crossOrigin)===null||n===void 0||n.dispose(),(i=this.deloser)===null||i===void 0||i.dispose(),(l=this.groupper)===null||l===void 0||l.dispose(),(c=this.mover)===null||c===void 0||c.dispose(),(u=this.modalizer)===null||u===void 0||u.dispose(),(f=this.observedElement)===null||f===void 0||f.dispose(),(p=this.restorer)===null||p===void 0||p.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Ly(this.getWindow),kp(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),h&&(Ay(h),delete h.__tabsterInstance,delete this._win)}storageEntry(o,n){const i=this._storage;let l=i.get(o);return l?n===!1&&Object.keys(l).length===0&&i.delete(o):n===!0&&(l={},i.set(o,l)),l}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let o=this._forgetMemorizedElements.shift();o;o=this._forgetMemorizedElements.shift())kp(this.getWindow,o),it.forgetMemorized(this.focusedElement,o)},0),hp(this.getWindow,!0)))}queueInit(o){var n;this._win&&(this._initQueue.push(o),this._initTimer||(this._initTimer=(n=this._win)===null||n===void 0?void 0:n.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const o=this._initQueue;this._initQueue=[],o.forEach(n=>n())}}function vw(e,o){let n=kw(e);return n?n.createTabster(!1,o):(n=new gw(e,o),e.__tabsterInstance=n,n.createTabster())}function bw(e){const o=e.core;return o.groupper||(o.groupper=new sw(o,o.getWindow)),o.groupper}function yw(e){const o=e.core;return o.mover||(o.mover=new fw(o,o.getWindow)),o.mover}function ww(e,o){e.core.disposeTabster(e,o)}function kw(e){return e.__tabsterInstance}const xw=e=>e;function Sw(e){const o=e?.defaultView||void 0,n=o?.__tabsterShadowDOMAPI;if(o)return vw(o,{autoRoot:{},controlTab:!1,getParent:sy,checkUncontrolledCompletely:i=>{var l;return((l=i.firstElementChild)===null||l===void 0?void 0:l.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:n})}function _s(e=xw){const{targetDocument:o}=kt(),n=S.useRef(null);return sr(()=>{const i=Sw(o);if(i)return n.current=e(i),()=>{ww(i),n.current=null}},[o,e]),n}const Ya=e=>{_s();const o=_p(e);return S.useMemo(()=>({[yr]:o}),[o])},Ja=(e={})=>{const{circular:o,axis:n,memorizeCurrent:i=!0,tabbable:l,ignoreDefaultKeydown:c,unstable_hasDefault:u}=e;return _s(yw),Ya({mover:{cyclic:!!o,direction:_w(n??"vertical"),memorizeCurrent:i,tabbable:l,hasDefault:u},...c&&{focusable:{ignoreKeydown:c}}})};function _w(e){switch(e){case"horizontal":return wr.Horizontal;case"grid":return wr.Grid;case"grid-linear":return wr.GridLinear;case"both":return wr.Both;case"vertical":default:return wr.Vertical}}const Bs=e=>(_s(bw),Ya({groupper:{tabbability:Bw(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),Bw=e=>{switch(e){case"unlimited":return ws.Unlimited;case"limited":return ws.Limited;case"limited-trap-focus":return ws.LimitedTrapFocus;default:return}},Cs=()=>{const e=_s(),{targetDocument:o}=kt(),n=S.useCallback((f,p)=>{var h;return f&&((h=e.current)===null||h===void 0?void 0:h.focusable.findAll({container:f,acceptCondition:p}))||[]},[e]),i=S.useCallback(f=>{var p;return f&&((p=e.current)===null||p===void 0?void 0:p.focusable.findFirst({container:f}))},[e]),l=S.useCallback(f=>{var p;return f&&((p=e.current)===null||p===void 0?void 0:p.focusable.findLast({container:f}))},[e]),c=S.useCallback((f,p={})=>{if(!e.current||!o||!f)return null;const{container:h=o.body}=p;return e.current.focusable.findNext({currentElement:f,container:h})},[e,o]),u=S.useCallback((f,p={})=>{if(!e.current||!o||!f)return null;const{container:h=o.body}=p;return e.current.focusable.findPrev({currentElement:f,container:h})},[e,o]);return{findAllFocusable:n,findFirstFocusable:i,findLastFocusable:l,findNextFocusable:c,findPrevFocusable:u}},Ep="data-fui-focus-visible",Pp="data-fui-focus-within";function Cw(e,o){if(jp(e))return()=>{};const n={current:void 0},i=bs(o);function l(p){i.isNavigatingWithKeyboard()&&Kr(p)&&(n.current=p,p.setAttribute(Ep,""))}function c(){n.current&&(n.current.removeAttribute(Ep),n.current=void 0)}i.subscribe(p=>{p?l(o.document.activeElement):c()});const u=p=>{c();const h=p.composedPath()[0];l(h)},f=p=>{(!p.relatedTarget||Kr(p.relatedTarget)&&!e.contains(p.relatedTarget))&&c()};return e.addEventListener(br,u),e.addEventListener("focusout",f),e.focusVisible=!0,e.contains(o.document.activeElement)&&l(o.document.activeElement),()=>{c(),e.removeEventListener(br,u),e.removeEventListener("focusout",f),e.focusVisible=void 0,ys(i)}}function jp(e){return e?e.focusVisible?!0:jp(e?.parentElement):!1}function Za(e={}){const o=kt(),n=S.useRef(null);var i;const l=(i=e.targetDocument)!==null&&i!==void 0?i:o.targetDocument;return S.useEffect(()=>{if(l?.defaultView&&n.current)return Cw(n.current,l.defaultView)},[n,l]),n}function zw(e,o){const n=bs(o);n.subscribe(c=>{c||Rp(e)});const i=c=>{n.isNavigatingWithKeyboard()&&Fp(c.target)&&Nw(e)},l=c=>{(!c.relatedTarget||Fp(c.relatedTarget)&&!e.contains(c.relatedTarget))&&Rp(e)};return e.addEventListener(br,i),e.addEventListener("focusout",l),()=>{e.removeEventListener(br,i),e.removeEventListener("focusout",l),ys(n)}}function Nw(e){e.setAttribute(Pp,"")}function Rp(e){e.removeAttribute(Pp)}function Fp(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function fn(){const{targetDocument:e}=kt(),o=S.useRef(null);return S.useEffect(()=>{if(e?.defaultView&&o.current)return zw(o.current,e.defaultView)},[o,e]),o}function Dp(){const{targetDocument:e}=kt(),o=S.useRef(null);return S.useEffect(()=>{const n=e?.defaultView;if(n){const i=bs(n);return o.current=i,()=>{ys(i),o.current=null}}},[e]),o}function Ip(e){const o=Dp(),n=Ce(e);S.useEffect(()=>{const i=o.current;if(i){const l=c=>{n(c)};return i.subscribe(l),l(i.isNavigatingWithKeyboard()),()=>{i.unsubscribe(l)}}},[o,n])}const Tw=(...e)=>{"use no memo";const o=e.reduce((n,i)=>(i?.[yr]&&n.push(i[yr]),n),[]);return S.useMemo(()=>({[yr]:o.length>0?o.reduce(Ew):void 0}),o)},Ew=(e,o)=>JSON.stringify(Object.assign(Op(e),Op(o))),Op=e=>{try{return JSON.parse(e)}catch{return{}}};function Pw(){const e=Dp();return S.useCallback(o=>{var n;(n=e.current)===null||n===void 0||n.setVal(o)},[e])}const H={4:"#0a0a0a",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",30:"#4d4d4d",32:"#525252",34:"#575757",36:"#5c5c5c",38:"#616161",40:"#666666",42:"#6b6b6b",44:"#707070",46:"#757575",60:"#999999",68:"#adadad",70:"#b3b3b3",74:"#bdbdbd",78:"#c7c7c7",82:"#d1d1d1",84:"#d6d6d6",86:"#dbdbdb",88:"#e0e0e0",90:"#e6e6e6",92:"#ebebeb",94:"#f0f0f0",96:"#f5f5f5",98:"#fafafa"},Tt={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",40:"rgba(255, 255, 255, 0.4)",50:"rgba(255, 255, 255, 0.5)",60:"rgba(255, 255, 255, 0.6)",70:"rgba(255, 255, 255, 0.7)",80:"rgba(255, 255, 255, 0.8)"},ar={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)"},jw={50:"rgba(26, 26, 26, 0.5)"},Rw={70:"rgba(31, 31, 31, 0.7)"},Ap={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},xe="#ffffff",ec="#000000",Fw={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},qp={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},Dw={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},Iw={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},Ow={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},Aw={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},qw={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Mw={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},Lw={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},Hw={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},Ww={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},$w={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},Vw={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},Uw={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},Gw={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Mp={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},Kw={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},Xw={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},Qw={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},Yw={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},Jw={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},Zw={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},ek={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},tk={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},rk={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},ok={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},nk={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},ik={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},sk={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},lk={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},ak={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},ck={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},uk={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},dk={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},fk={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},pk={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Ie={red:Dw,green:Mp,darkOrange:Iw,yellow:Lw,berry:ik,lightGreen:Gw,marigold:Mw},mo={darkRed:Fw,cranberry:qp,pumpkin:Ow,peach:qw,gold:Hw,brass:Ww,brown:$w,forest:Vw,seafoam:Uw,darkGreen:Kw,lightTeal:Xw,teal:Qw,steel:Yw,blue:Jw,royalBlue:Zw,cornflower:ek,navy:tk,lavender:rk,purple:ok,grape:nk,lilac:sk,pink:lk,magenta:ak,plum:ck,beige:uk,mink:dk,platinum:fk,anchor:pk},Fe={cranberry:qp,green:Mp,orange:Aw},Lp=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Hp=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],Lt={success:"green",warning:"orange",danger:"cranberry"},oi=Lp.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),i={[`colorPalette${n}Background1`]:Ie[o].tint60,[`colorPalette${n}Background2`]:Ie[o].tint40,[`colorPalette${n}Background3`]:Ie[o].primary,[`colorPalette${n}Foreground1`]:Ie[o].shade10,[`colorPalette${n}Foreground2`]:Ie[o].shade30,[`colorPalette${n}Foreground3`]:Ie[o].primary,[`colorPalette${n}BorderActive`]:Ie[o].primary,[`colorPalette${n}Border1`]:Ie[o].tint40,[`colorPalette${n}Border2`]:Ie[o].primary};return Object.assign(e,i)},{});oi.colorPaletteYellowForeground1=Ie.yellow.shade30,oi.colorPaletteRedForegroundInverted=Ie.red.tint20,oi.colorPaletteGreenForegroundInverted=Ie.green.tint20,oi.colorPaletteYellowForegroundInverted=Ie.yellow.tint40;const mk=Hp.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),i={[`colorPalette${n}Background2`]:mo[o].tint40,[`colorPalette${n}Foreground2`]:mo[o].shade30,[`colorPalette${n}BorderActive`]:mo[o].primary};return Object.assign(e,i)},{}),hk={...oi,...mk},pn=Object.entries(Lt).reduce((e,[o,n])=>{const i=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${i}Background1`]:Fe[n].tint60,[`colorStatus${i}Background2`]:Fe[n].tint40,[`colorStatus${i}Background3`]:Fe[n].primary,[`colorStatus${i}Foreground1`]:Fe[n].shade10,[`colorStatus${i}Foreground2`]:Fe[n].shade30,[`colorStatus${i}Foreground3`]:Fe[n].primary,[`colorStatus${i}ForegroundInverted`]:Fe[n].tint30,[`colorStatus${i}BorderActive`]:Fe[n].primary,[`colorStatus${i}Border1`]:Fe[n].tint40,[`colorStatus${i}Border2`]:Fe[n].primary};return Object.assign(e,l)},{});pn.colorStatusDangerBackground3Hover=Fe[Lt.danger].shade10,pn.colorStatusDangerBackground3Pressed=Fe[Lt.danger].shade20,pn.colorStatusWarningForeground1=Fe[Lt.warning].shade20,pn.colorStatusWarningForeground3=Fe[Lt.warning].shade20,pn.colorStatusWarningBorder2=Fe[Lt.warning].shade20;const gk=e=>({colorNeutralForeground1:H[14],colorNeutralForeground1Hover:H[14],colorNeutralForeground1Pressed:H[14],colorNeutralForeground1Selected:H[14],colorNeutralForeground2:H[26],colorNeutralForeground2Hover:H[14],colorNeutralForeground2Pressed:H[14],colorNeutralForeground2Selected:H[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:H[38],colorNeutralForeground3Hover:H[26],colorNeutralForeground3Pressed:H[26],colorNeutralForeground3Selected:H[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:H[44],colorNeutralForegroundDisabled:H[74],colorNeutralForegroundInvertedDisabled:Tt[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:H[26],colorNeutralForeground2LinkHover:H[14],colorNeutralForeground2LinkPressed:H[14],colorNeutralForeground2LinkSelected:H[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:H[14],colorNeutralForegroundStaticInverted:xe,colorNeutralForegroundInverted:xe,colorNeutralForegroundInvertedHover:xe,colorNeutralForegroundInvertedPressed:xe,colorNeutralForegroundInvertedSelected:xe,colorNeutralForegroundInverted2:xe,colorNeutralForegroundOnBrand:xe,colorNeutralForegroundInvertedLink:xe,colorNeutralForegroundInvertedLinkHover:xe,colorNeutralForegroundInvertedLinkPressed:xe,colorNeutralForegroundInvertedLinkSelected:xe,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:xe,colorNeutralBackground1Hover:H[96],colorNeutralBackground1Pressed:H[88],colorNeutralBackground1Selected:H[92],colorNeutralBackground2:H[98],colorNeutralBackground2Hover:H[94],colorNeutralBackground2Pressed:H[86],colorNeutralBackground2Selected:H[90],colorNeutralBackground3:H[96],colorNeutralBackground3Hover:H[92],colorNeutralBackground3Pressed:H[84],colorNeutralBackground3Selected:H[88],colorNeutralBackground4:H[94],colorNeutralBackground4Hover:H[98],colorNeutralBackground4Pressed:H[96],colorNeutralBackground4Selected:xe,colorNeutralBackground5:H[92],colorNeutralBackground5Hover:H[96],colorNeutralBackground5Pressed:H[94],colorNeutralBackground5Selected:H[98],colorNeutralBackground6:H[90],colorNeutralBackgroundInverted:H[16],colorNeutralBackgroundStatic:H[20],colorNeutralBackgroundAlpha:Tt[50],colorNeutralBackgroundAlpha2:Tt[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:H[96],colorSubtleBackgroundPressed:H[88],colorSubtleBackgroundSelected:H[92],colorSubtleBackgroundLightAlphaHover:Tt[70],colorSubtleBackgroundLightAlphaPressed:Tt[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:ar[10],colorSubtleBackgroundInvertedPressed:ar[30],colorSubtleBackgroundInvertedSelected:ar[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:H[94],colorNeutralBackgroundInvertedDisabled:Tt[10],colorNeutralStencil1:H[90],colorNeutralStencil2:H[98],colorNeutralStencil1Alpha:ar[10],colorNeutralStencil2Alpha:ar[5],colorBackgroundOverlay:ar[40],colorScrollbarOverlay:ar[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:xe,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:H[98],colorNeutralCardBackgroundHover:xe,colorNeutralCardBackgroundPressed:H[96],colorNeutralCardBackgroundSelected:H[92],colorNeutralCardBackgroundDisabled:H[94],colorNeutralStrokeAccessible:H[38],colorNeutralStrokeAccessibleHover:H[34],colorNeutralStrokeAccessiblePressed:H[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:H[82],colorNeutralStroke1Hover:H[78],colorNeutralStroke1Pressed:H[70],colorNeutralStroke1Selected:H[74],colorNeutralStroke2:H[88],colorNeutralStroke3:H[94],colorNeutralStrokeSubtle:H[88],colorNeutralStrokeOnBrand:xe,colorNeutralStrokeOnBrand2:xe,colorNeutralStrokeOnBrand2Hover:xe,colorNeutralStrokeOnBrand2Pressed:xe,colorNeutralStrokeOnBrand2Selected:xe,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:H[88],colorNeutralStrokeInvertedDisabled:Tt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:ar[5],colorNeutralStrokeAlpha2:Tt[20],colorStrokeFocus1:xe,colorStrokeFocus2:ec,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),Wp={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},$p={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)"},Vp={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Up={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Gp={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Kp={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},tc={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},tt={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Xp={spacingHorizontalNone:tt.none,spacingHorizontalXXS:tt.xxs,spacingHorizontalXS:tt.xs,spacingHorizontalSNudge:tt.sNudge,spacingHorizontalS:tt.s,spacingHorizontalMNudge:tt.mNudge,spacingHorizontalM:tt.m,spacingHorizontalL:tt.l,spacingHorizontalXL:tt.xl,spacingHorizontalXXL:tt.xxl,spacingHorizontalXXXL:tt.xxxl},Qp={spacingVerticalNone:tt.none,spacingVerticalXXS:tt.xxs,spacingVerticalXS:tt.xs,spacingVerticalSNudge:tt.sNudge,spacingVerticalS:tt.s,spacingVerticalMNudge:tt.mNudge,spacingVerticalM:tt.m,spacingVerticalL:tt.l,spacingVerticalXL:tt.xl,spacingVerticalXXL:tt.xxl,spacingVerticalXXXL:tt.xxxl},Yp={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},be={colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralStroke1:"var(--colorNeutralStroke1)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontWeightSemibold:"var(--fontWeightSemibold)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXXL:"var(--spacingVerticalXXL)"};function zs(e,o,n=""){return{[`shadow2${n}`]:`0 0 2px ${e}, 0 1px 2px ${o}`,[`shadow4${n}`]:`0 0 2px ${e}, 0 2px 4px ${o}`,[`shadow8${n}`]:`0 0 2px ${e}, 0 4px 8px ${o}`,[`shadow16${n}`]:`0 0 2px ${e}, 0 8px 16px ${o}`,[`shadow28${n}`]:`0 0 8px ${e}, 0 14px 28px ${o}`,[`shadow64${n}`]:`0 0 8px ${e}, 0 32px 64px ${o}`}}const Jp=e=>{const o=gk(e);return{...Wp,...Up,...Gp,...tc,...Kp,...Yp,...Xp,...Qp,...Vp,...$p,...o,...hk,...pn,...zs(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...zs(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Zp={10:"#2b2b40",20:"#2f2f4a",30:"#333357",40:"#383966",50:"#3d3e78",60:"#444791",70:"#4f52b2",80:"#5b5fc7",90:"#7579eb",100:"#7f85f5",110:"#9299f7",120:"#aab1fa",130:"#b6bcfa",140:"#c5cbfa",150:"#dce0fa",160:"#e8ebfa"},em={10:"#29274f",20:"#2f2a5e",30:"#352e70",40:"#3b3185",50:"#44359e",60:"#4d3aba",70:"#5a40db",80:"#654cf5",90:"#7769fa",100:"#887dff",110:"#9791ff",120:"#aba8ff",130:"#bab8ff",140:"#c8c7ff",150:"#dcdbff",160:"#e8e8ff"},tm={...tc,fontFamilyBase:'-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'},vk={...Jp(Zp),...tm};({...Jp(em)});const Fr=Lp.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),i={[`colorPalette${n}Background1`]:Ie[o].shade40,[`colorPalette${n}Background2`]:Ie[o].shade30,[`colorPalette${n}Background3`]:Ie[o].primary,[`colorPalette${n}Foreground1`]:Ie[o].tint30,[`colorPalette${n}Foreground2`]:Ie[o].tint40,[`colorPalette${n}Foreground3`]:Ie[o].tint20,[`colorPalette${n}BorderActive`]:Ie[o].tint30,[`colorPalette${n}Border1`]:Ie[o].primary,[`colorPalette${n}Border2`]:Ie[o].tint20};return Object.assign(e,i)},{});Fr.colorPaletteRedForeground3=Ie.red.tint30,Fr.colorPaletteRedBorder2=Ie.red.tint30,Fr.colorPaletteGreenForeground3=Ie.green.tint40,Fr.colorPaletteGreenBorder2=Ie.green.tint40,Fr.colorPaletteDarkOrangeForeground3=Ie.darkOrange.tint30,Fr.colorPaletteDarkOrangeBorder2=Ie.darkOrange.tint30,Fr.colorPaletteRedForegroundInverted=Ie.red.primary,Fr.colorPaletteGreenForegroundInverted=Ie.green.primary,Fr.colorPaletteYellowForegroundInverted=Ie.yellow.shade30;const rc=Hp.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),i={[`colorPalette${n}Background2`]:mo[o].shade30,[`colorPalette${n}Foreground2`]:mo[o].tint40,[`colorPalette${n}BorderActive`]:mo[o].tint30};return Object.assign(e,i)},{});rc.colorPaletteDarkRedBackground2=mo.darkRed.shade20,rc.colorPalettePlumBackground2=mo.plum.shade20;const bk={...Fr,...rc},ho=Object.entries(Lt).reduce((e,[o,n])=>{const i=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${i}Background1`]:Fe[n].shade40,[`colorStatus${i}Background2`]:Fe[n].shade30,[`colorStatus${i}Background3`]:Fe[n].primary,[`colorStatus${i}Foreground1`]:Fe[n].tint30,[`colorStatus${i}Foreground2`]:Fe[n].tint40,[`colorStatus${i}Foreground3`]:Fe[n].tint20,[`colorStatus${i}BorderActive`]:Fe[n].tint30,[`colorStatus${i}ForegroundInverted`]:Fe[n].shade10,[`colorStatus${i}Border1`]:Fe[n].primary,[`colorStatus${i}Border2`]:Fe[n].tint20};return Object.assign(e,l)},{});ho.colorStatusDangerBackground3Hover=Fe[Lt.danger].shade10,ho.colorStatusDangerBackground3Pressed=Fe[Lt.danger].shade20,ho.colorStatusDangerForeground3=Fe[Lt.danger].tint40,ho.colorStatusDangerBorder2=Fe[Lt.danger].tint30,ho.colorStatusSuccessForeground3=Fe[Lt.success].tint40,ho.colorStatusSuccessBorder2=Fe[Lt.success].tint40,ho.colorStatusWarningForegroundInverted=Fe[Lt.warning].shade20;const yk=e=>({colorNeutralForeground1:xe,colorNeutralForeground1Hover:xe,colorNeutralForeground1Pressed:xe,colorNeutralForeground1Selected:xe,colorNeutralForeground2:H[84],colorNeutralForeground2Hover:xe,colorNeutralForeground2Pressed:xe,colorNeutralForeground2Selected:xe,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:H[68],colorNeutralForeground3Hover:H[84],colorNeutralForeground3Pressed:H[84],colorNeutralForeground3Selected:H[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:H[60],colorNeutralForegroundDisabled:H[36],colorNeutralForegroundInvertedDisabled:Tt[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:H[84],colorNeutralForeground2LinkHover:xe,colorNeutralForeground2LinkPressed:xe,colorNeutralForeground2LinkSelected:xe,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[120],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:H[14],colorNeutralForegroundStaticInverted:xe,colorNeutralForegroundInverted:H[14],colorNeutralForegroundInvertedHover:H[14],colorNeutralForegroundInvertedPressed:H[14],colorNeutralForegroundInvertedSelected:H[14],colorNeutralForegroundInverted2:H[14],colorNeutralForegroundOnBrand:xe,colorNeutralForegroundInvertedLink:xe,colorNeutralForegroundInvertedLinkHover:xe,colorNeutralForegroundInvertedLinkPressed:xe,colorNeutralForegroundInvertedLinkSelected:xe,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:H[16],colorNeutralBackground1Hover:H[24],colorNeutralBackground1Pressed:H[12],colorNeutralBackground1Selected:H[22],colorNeutralBackground2:H[14],colorNeutralBackground2Hover:H[22],colorNeutralBackground2Pressed:H[10],colorNeutralBackground2Selected:H[20],colorNeutralBackground3:H[12],colorNeutralBackground3Hover:H[20],colorNeutralBackground3Pressed:H[8],colorNeutralBackground3Selected:H[18],colorNeutralBackground4:H[8],colorNeutralBackground4Hover:H[16],colorNeutralBackground4Pressed:H[4],colorNeutralBackground4Selected:H[14],colorNeutralBackground5:H[4],colorNeutralBackground5Hover:H[12],colorNeutralBackground5Pressed:ec,colorNeutralBackground5Selected:H[10],colorNeutralBackground6:H[20],colorNeutralBackgroundInverted:xe,colorNeutralBackgroundStatic:H[24],colorNeutralBackgroundAlpha:jw[50],colorNeutralBackgroundAlpha2:Rw[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:H[22],colorSubtleBackgroundPressed:H[18],colorSubtleBackgroundSelected:H[20],colorSubtleBackgroundLightAlphaHover:Ap[80],colorSubtleBackgroundLightAlphaPressed:Ap[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:ar[10],colorSubtleBackgroundInvertedPressed:ar[30],colorSubtleBackgroundInvertedSelected:ar[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:H[8],colorNeutralBackgroundInvertedDisabled:Tt[10],colorNeutralStencil1:H[34],colorNeutralStencil2:H[20],colorNeutralStencil1Alpha:Tt[10],colorNeutralStencil2Alpha:Tt[5],colorBackgroundOverlay:ar[50],colorScrollbarOverlay:Tt[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:xe,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:H[20],colorNeutralCardBackgroundHover:H[24],colorNeutralCardBackgroundPressed:H[18],colorNeutralCardBackgroundSelected:H[22],colorNeutralCardBackgroundDisabled:H[8],colorNeutralStrokeAccessible:H[68],colorNeutralStrokeAccessibleHover:H[74],colorNeutralStrokeAccessiblePressed:H[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:H[40],colorNeutralStroke1Hover:H[46],colorNeutralStroke1Pressed:H[42],colorNeutralStroke1Selected:H[44],colorNeutralStroke2:H[32],colorNeutralStroke3:H[24],colorNeutralStrokeSubtle:H[4],colorNeutralStrokeOnBrand:H[16],colorNeutralStrokeOnBrand2:xe,colorNeutralStrokeOnBrand2Hover:xe,colorNeutralStrokeOnBrand2Pressed:xe,colorNeutralStrokeOnBrand2Selected:xe,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[90],colorCompoundBrandStrokeHover:e[100],colorCompoundBrandStrokePressed:e[80],colorNeutralStrokeDisabled:H[26],colorNeutralStrokeInvertedDisabled:Tt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Tt[10],colorNeutralStrokeAlpha2:Tt[20],colorStrokeFocus1:ec,colorStrokeFocus2:xe,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),rm=e=>{const o=yk(e);return{...Wp,...Up,...Gp,...tc,...Kp,...Yp,...Xp,...Qp,...Vp,...$p,...o,...bk,...ho,...zs(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...zs(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},om={...rm(Zp),...tm};({...rm(em)});const nm={root:"fui-FluentProvider"},wk=Pf({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),kk=e=>{"use no memo";const o=Jn(),n=wk({dir:e.dir,renderer:o});return e.root.className=re(nm.root,e.themeClassName,n.root,e.root.className),e},xk=S.useInsertionEffect?S.useInsertionEffect:sr,Sk=(e,o)=>{if(!e?.head)return;const n=e.createElement("style");return Object.keys(o).forEach(i=>{n.setAttribute(i,o[i])}),e.head.appendChild(n),n},_k=(e,o)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(o,0))},Bk=e=>{"use no memo";const{targetDocument:o,theme:n,rendererAttributes:i}=e,l=S.useRef(void 0),c=Qt(nm.root),u=i,f=S.useMemo(()=>Z1(`.${c}`,n),[n,c]);return Ck(o,c),xk(()=>{const p=o?.getElementById(c);return p?l.current=p:(l.current=Sk(o,{...u,id:c}),l.current&&_k(l.current,f)),()=>{var h;(h=l.current)===null||h===void 0||h.remove()}},[c,o,f,u]),{styleTagId:c,rule:f}};function Ck(e,o){S.useState(()=>{if(!e)return;const n=e.getElementById(o);n&&e.head.append(n)})}const zk={},Nk={},Tk=(e,o)=>{"use no memo";const n=kt(),i=Ek(),l=Uf(),c=S.useContext(Ra)||zk,{applyStylesToPortals:u=!0,customStyleHooks_unstable:f,dir:p=n.dir,targetDocument:h=n.targetDocument,theme:g,overrides_unstable:v={}}=e,y=oc(i,g),b=oc(l,v),w=oc(c,f),k=Jn();var _;const{styleTagId:C,rule:N}=Bk({theme:y,targetDocument:h,rendererAttributes:(_=k.styleElementAttributes)!==null&&_!==void 0?_:Nk});return{applyStylesToPortals:u,customStyleHooks_unstable:w,dir:p,targetDocument:h,theme:y,overrides_unstable:b,themeClassName:C,components:{root:"div"},root:Oe(wt("div",{...e,dir:p,ref:xt(o,Za({targetDocument:h}))}),{elementType:"div"}),serverStyleProps:{cssRule:N,attributes:{...k.styleElementAttributes,id:C}}}};function oc(e,o){return e&&o?{...e,...o}:e||o}function Ek(){return S.useContext(Hf)}function Pk(e){const{applyStylesToPortals:o,customStyleHooks_unstable:n,dir:i,root:l,targetDocument:c,theme:u,themeClassName:f,overrides_unstable:p}=e,h=S.useMemo(()=>({dir:i,targetDocument:c}),[i,c]),[g]=S.useState(()=>({})),v=S.useMemo(()=>({textDirection:i}),[i]);return{customStyleHooks_unstable:n,overrides_unstable:p,provider:h,textDirection:i,iconDirection:v,tooltip:g,theme:u,themeClassName:o?l.className:f}}const im=S.forwardRef((e,o)=>{const n=Tk(e,o);kk(n);const i=Pk(n);return hy(n,i)});im.displayName="FluentProvider";var sm=Od();const jk=e=>n=>{const i=S.useRef(n.value),l=S.useRef(0),c=S.useRef(null);return c.current||(c.current={value:i,version:l,listeners:[]}),sr(()=>{i.current=n.value,l.current+=1,sm.unstable_runWithPriority(sm.unstable_NormalPriority,()=>{c.current.listeners.forEach(u=>{u([l.current,n.value])})})},[n.value]),S.createElement(e,{value:c.current},n.children)},nc=e=>{const o=S.createContext({value:{current:e},version:{current:-1},listeners:[]});return o.Provider=jk(o.Provider),delete o.Consumer,o},lm=(e,o)=>{const n=S.useContext(e),{value:{current:i},version:{current:l},listeners:c}=n,u=o(i),[f,p]=S.useState([i,u]),h=v=>{p(y=>{if(!v)return[i,u];if(v[0]<=l)return Object.is(y[1],u)?y:[i,u];try{if(Object.is(y[0],v[1]))return y;const b=o(v[1]);return Object.is(y[1],b)?y:[v[1],b]}catch{}return[y[0],y[1]]})};Object.is(f[1],u)||h(void 0);const g=Ce(h);return sr(()=>(c.push(g),()=>{const v=c.indexOf(g);c.splice(v,1)}),[g,c]),f[1]};function am(e){const o=S.useContext(e);return o.version?o.version.current!==-1:!1}const Rk="Shift",Lo="Enter",Dr=" ",Fk="Tab",ic="ArrowDown",cm="ArrowLeft",um="ArrowRight",Ns="ArrowUp",dm="End",fm="Home",Dk="PageDown",Ik="PageUp",pm="Escape";function mm(e,o){const{disabled:n,disabledFocusable:i=!1,["aria-disabled"]:l,onClick:c,onKeyDown:u,onKeyUp:f,...p}=o??{},h=typeof l=="string"?l==="true":l,g=n||i||h,v=Ce(w=>{g?(w.preventDefault(),w.stopPropagation()):c?.(w)}),y=Ce(w=>{if(u?.(w),w.isDefaultPrevented())return;const k=w.key;if(g&&(k===Lo||k===Dr)){w.preventDefault(),w.stopPropagation();return}if(k===Dr){w.preventDefault();return}else k===Lo&&(w.preventDefault(),w.currentTarget.click())}),b=Ce(w=>{if(f?.(w),w.isDefaultPrevented())return;const k=w.key;if(g&&(k===Lo||k===Dr)){w.preventDefault(),w.stopPropagation();return}k===Dr&&(w.preventDefault(),w.currentTarget.click())});if(e==="button"||e===void 0)return{...p,disabled:n&&!i,"aria-disabled":i?!0:h,onClick:i?void 0:v,onKeyUp:i?void 0:f,onKeyDown:i?void 0:u};{const w=!!p.href;let k=w?void 0:"button";!k&&g&&(k="link");const _={role:k,tabIndex:i||!w&&!n?0:void 0,...p,onClick:v,onKeyUp:b,onKeyDown:y,"aria-disabled":g};return e==="a"&&g&&(_.href=void 0),_}}const Ht=()=>{},Ok={controller:{active:Ht,blur:Ht,find:Ht,first:Ht,focus:Ht,focusLastActive:Ht,scrollActiveIntoView:Ht,last:Ht,next:Ht,prev:Ht,showAttributes:Ht,hideAttributes:Ht,showFocusVisibleAttributes:Ht,hideFocusVisibleAttributes:Ht}},sc=S.createContext(void 0),hm=sc.Provider,gm=()=>{var e;return(e=S.useContext(sc))!==null&&e!==void 0?e:Ok},Ak=()=>!!S.useContext(sc);function qk(e){const{matchOption:o}=e,{targetDocument:n}=kt(),i=S.useRef(null),l=S.useRef(null),c=S.useCallback(p=>Kr(p)&&o(p)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[o]),u=S.useCallback(p=>{p&&n?(l.current=p,i.current=n.createTreeWalker(p,NodeFilter.SHOW_ELEMENT,c)):(l.current=null,i.current=null)},[n,c]);return{optionWalker:S.useMemo(()=>({first:()=>!i.current||!l.current?null:(i.current.currentNode=l.current,i.current.firstChild()),last:()=>!i.current||!l.current?null:(i.current.currentNode=l.current,i.current.lastChild()),next:()=>i.current?i.current.nextNode():null,prev:()=>i.current?i.current.previousNode():null,find:(p,h)=>{if(!i.current||!l.current)return null;const g=h?n?.getElementById(h):null;i.current.currentNode=g??l.current;let v=i.current.currentNode;for(;v&&!p(v.id);)v=i.current.nextNode();return v},setCurrent:p=>{i.current&&(i.current.currentNode=p)}}),[n]),listboxCallbackRef:u}}const vm="data-activedescendant",mn="data-activedescendant-focusvisible",bm=e=>{if(!e)return;const o=ym(e.parentElement);if(!o)return;const{offsetHeight:n}=e,i=wm(e,o),{scrollMarginTop:l,scrollMarginBottom:c}=Mk(e),{offsetHeight:u,scrollTop:f}=o,p=i-l<f,h=i+n+c>f+u,g=2;p?o.scrollTo(0,i-l-g):h&&o.scrollTo(0,i+n+c-u+g)},ym=e=>e?e.scrollHeight>e.offsetHeight?e:ym(e.parentElement):null,wm=(e,o)=>!e||e===o?0:e.contains(o)?o.offsetTop*-1:e.offsetTop+wm(e.offsetParent,o),Mk=e=>{var o;const n=(o=e.ownerDocument)===null||o===void 0?void 0:o.defaultView;if(!n)return{scrollMarginTop:0,scrollMarginBottom:0};const i=n.getComputedStyle(e);var l;const c=(l=Ts(i.scrollMarginTop))!==null&&l!==void 0?l:Ts(i.scrollMarginBlockStart);var u;const f=(u=Ts(i.scrollMarginBottom))!==null&&u!==void 0?u:Ts(i.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:f}},Ts=e=>e?parseInt(e,10):0,Lk=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function km(e){const{imperativeRef:o,matchOption:n}=e,i=S.useRef(!1),l=S.useRef(!0),c=S.useRef(null),u=S.useRef(null),f=S.useRef(null),p=S.useRef(!0),h=S.useCallback(()=>{var z;(z=f.current)===null||z===void 0||z.removeAttribute("aria-activedescendant")},[]),g=S.useCallback(z=>{if(z&&(c.current=z),p.current&&c.current){var j;(j=f.current)===null||j===void 0||j.setAttribute("aria-activedescendant",c.current)}},[]);Ip(z=>{i.current=z;const j=k();j&&(z&&l.current?j.setAttribute(mn,""):j.removeAttribute(mn))});const v=Ce(n),y=S.useRef(null),{optionWalker:b,listboxCallbackRef:w}=qk({matchOption:v}),k=S.useCallback(()=>{var z;return(z=y.current)===null||z===void 0?void 0:z.querySelector(`#${c.current}`)},[y]),_=S.useCallback(z=>{l.current=z;const j=k();j&&(z&&i.current?j.setAttribute(mn,""):j.removeAttribute(mn))},[k]),C=S.useCallback(()=>{const z=k();z&&(z.removeAttribute(vm),z.removeAttribute(mn)),h(),u.current=c.current,c.current=null;var j;return(j=z?.id)!==null&&j!==void 0?j:null},[k,h]),N=S.useCallback(z=>{if(!z)return;const j=C();bm(z),g(z.id),z.setAttribute(vm,""),i.current&&l.current&&z.setAttribute(mn,"");const q=Lk({id:z.id,previousId:j});z.dispatchEvent(q)},[C,g]),T=S.useMemo(()=>({first:({passive:z}={})=>{const j=b.first();return z||N(j),j?.id},last:({passive:z}={})=>{const j=b.last();return z||N(j),j?.id},next:({passive:z}={})=>{const j=k();if(!j)return;b.setCurrent(j);const q=b.next();return z||N(q),q?.id},prev:({passive:z}={})=>{const j=k();if(!j)return;b.setCurrent(j);const q=b.prev();return z||N(q),q?.id},blur:()=>{C()},active:()=>{var z;return(z=k())===null||z===void 0?void 0:z.id},focus:z=>{if(!y.current)return;const j=y.current.querySelector(`#${z}`);j&&N(j)},focusLastActive:()=>{if(!y.current||!u.current)return;const z=y.current.querySelector(`#${u.current}`);if(z)return N(z),!0},find(z,{passive:j,startFrom:q}={}){const A=b.find(z,q);return j||N(A),A?.id},scrollActiveIntoView:()=>{if(!y.current)return;const z=k();z&&bm(z)},showAttributes(){p.current=!0,g()},hideAttributes(){p.current=!1,h()},showFocusVisibleAttributes(){_(!0)},hideFocusVisibleAttributes(){_(!1)}}),[b,y,g,h,N,C,k,_]);return S.useImperativeHandle(o,()=>T),{listboxRef:xt(y,w),activeParentRef:f,controller:T}}const Hk=ue({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),Wk=(e,o)=>{const{title:n,primaryFill:i="currentColor",...l}=e,c={...l,title:void 0,fill:i},u=Hk(),f=my();return c.className=re(u.root,o?.flipInRtl&&f?.textDirection==="rtl"&&u.rtl,c.className),n&&(c["aria-label"]=n),!c["aria-label"]&&!c["aria-labelledby"]?c["aria-hidden"]=!0:c.role="img",c},$k=ue({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Yt=(e,o,n,i)=>{const l=o==="1em"?"20":o,c=S.forwardRef((u,f)=>{const p=$k(),h=Wk(u,{flipInRtl:i?.flipInRtl}),g={...h,className:re(h.className,p.root),ref:f,width:o,height:o,viewBox:`0 0 ${l} ${l}`,xmlns:"http://www.w3.org/2000/svg"};return typeof n=="string"?S.createElement("svg",{...g,dangerouslySetInnerHTML:{__html:n}}):S.createElement("svg",g,...n.map(v=>S.createElement("path",{d:v,fill:g.fill})))});return c.displayName=e,c},Vk=Yt("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]),Uk=Yt("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0}),Gk=Yt("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),Kk=Yt("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),Xk=Yt("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),xm=Yt("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),Sm=Yt("DocumentCopyRegular","1em",["M6 4c0-1.1.9-2 2-2h3.59c.4 0 .78.16 1.06.44l3.91 3.91c.28.28.44.67.44 1.06V14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8h-3.5A1.5 1.5 0 0 1 11 6.5V3H8Zm4 .2v3.3c0 .28.22.5.5.5h3.3L12 3.2ZM4 5a1 1 0 0 1 1-1v10a3 3 0 0 0 3 3h7a1 1 0 0 1-1 1H7.94A3.94 3.94 0 0 1 4 14.06V5Z"]),_m=Yt("SaveRegular","1em",["M3 5c0-1.1.9-2 2-2h8.38a2 2 0 0 1 1.41.59l1.62 1.62A2 2 0 0 1 17 6.62V15a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm2-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1v-4.5c0-.83.67-1.5 1.5-1.5h7c.83 0 1.5.67 1.5 1.5V16a1 1 0 0 0 1-1V6.62a1 1 0 0 0-.3-.7L14.1 4.28a1 1 0 0 0-.71-.29H13v2.5c0 .83-.67 1.5-1.5 1.5h-4A1.5 1.5 0 0 1 6 6.5V4H5Zm2 0v2.5c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5V4H7Zm7 12v-4.5a.5.5 0 0 0-.5-.5h-7a.5.5 0 0 0-.5.5V16h8Z"]),Qk=Yt("SearchRegular","1em",["M13.73 14.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 15 9.5a5.5 5.5 0 1 0-1.98 4.23Z"]),Bm=Yt("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),Yk=Yt("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),Jk=Yt("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),Zk=Yt("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),ex=(e,o)=>{const{shape:n="circular",size:i="medium",iconPosition:l="before",appearance:c="filled",color:u="brand"}=e;return{shape:n,size:i,iconPosition:l,appearance:c,color:u,components:{root:"div",icon:"span"},root:Oe(wt("div",{ref:o,...e}),{elementType:"div"}),icon:qe(e.icon,{elementType:"span"})}},Cm={root:"fui-Badge",icon:"fui-Badge__icon"},tx=dt("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;}']),rx=ue({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);}"]}),ox=dt("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),nx=ue({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;}"]}),ix=e=>{"use no memo";const o=tx(),n=rx(),i=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=re(Cm.root,o,i&&n.fontSmallToTiny,n[e.size],n[e.shape],e.shape==="rounded"&&i&&n.roundedSmallToTiny,e.appearance==="ghost"&&n.borderGhost,n[e.appearance],n[`${e.appearance}-${e.color}`],e.root.className);const l=ox(),c=nx();if(e.icon){let u;S.Children.toArray(e.root.children).length>0&&(e.size==="extra-large"?u=e.iconPosition==="after"?c.afterTextXL:c.beforeTextXL:u=e.iconPosition==="after"?c.afterText:c.beforeText),e.icon.className=re(Cm.icon,l,u,c[e.size],e.icon.className)}return e},sx=e=>ht(e.root,{children:[e.iconPosition==="before"&&e.icon&&le(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&le(e.icon,{})]}),Es=S.forwardRef((e,o)=>{const n=ex(e,o);return ix(n),ot("useBadgeStyles_unstable")(n),sx(n)});Es.displayName="Badge";const zm="data-popper-is-intersecting",Nm="data-popper-escaped",Tm="data-popper-reference-hidden",lx="data-popper-placement",lc="fui-positioningend",ax=({options:e})=>e,Em=S.createContext(void 0);Em.Provider;const cx=()=>{var e;return(e=S.useContext(Em))!==null&&e!==void 0?e:ax},ux=["top","right","bottom","left"],Ho=Math.min,cr=Math.max,Ps=Math.round,Ir=e=>({x:e,y:e}),dx={left:"right",right:"left",bottom:"top",top:"bottom"},fx={start:"end",end:"start"};function ac(e,o,n){return cr(e,Ho(o,n))}function Yr(e,o){return typeof e=="function"?e(o):e}function Jr(e){return e.split("-")[0]}function hn(e){return e.split("-")[1]}function cc(e){return e==="x"?"y":"x"}function uc(e){return e==="y"?"height":"width"}const px=new Set(["top","bottom"]);function Or(e){return px.has(Jr(e))?"y":"x"}function dc(e){return cc(Or(e))}function mx(e,o,n){n===void 0&&(n=!1);const i=hn(e),l=dc(e),c=uc(l);let u=l==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(u=js(u)),[u,js(u)]}function hx(e){const o=js(e);return[fc(e),o,fc(o)]}function fc(e){return e.replace(/start|end/g,o=>fx[o])}const Pm=["left","right"],jm=["right","left"],gx=["top","bottom"],vx=["bottom","top"];function bx(e,o,n){switch(e){case"top":case"bottom":return n?o?jm:Pm:o?Pm:jm;case"left":case"right":return o?gx:vx;default:return[]}}function yx(e,o,n,i){const l=hn(e);let c=bx(Jr(e),n==="start",i);return l&&(c=c.map(u=>u+"-"+l),o&&(c=c.concat(c.map(fc)))),c}function js(e){return e.replace(/left|right|bottom|top/g,o=>dx[o])}function wx(e){return{top:0,right:0,bottom:0,left:0,...e}}function Rm(e){return typeof e!="number"?wx(e):{top:e,right:e,bottom:e,left:e}}function Rs(e){const{x:o,y:n,width:i,height:l}=e;return{width:i,height:l,top:n,left:o,right:o+i,bottom:n+l,x:o,y:n}}function Fm(e,o,n){let{reference:i,floating:l}=e;const c=Or(o),u=dc(o),f=uc(u),p=Jr(o),h=c==="y",g=i.x+i.width/2-l.width/2,v=i.y+i.height/2-l.height/2,y=i[f]/2-l[f]/2;let b;switch(p){case"top":b={x:g,y:i.y-l.height};break;case"bottom":b={x:g,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:v};break;case"left":b={x:i.x-l.width,y:v};break;default:b={x:i.x,y:i.y}}switch(hn(o)){case"start":b[u]-=y*(n&&h?-1:1);break;case"end":b[u]+=y*(n&&h?-1:1);break}return b}const kx=async(e,o,n)=>{const{placement:i="bottom",strategy:l="absolute",middleware:c=[],platform:u}=n,f=c.filter(Boolean),p=await(u.isRTL==null?void 0:u.isRTL(o));let h=await u.getElementRects({reference:e,floating:o,strategy:l}),{x:g,y:v}=Fm(h,i,p),y=i,b={},w=0;for(let k=0;k<f.length;k++){const{name:_,fn:C}=f[k],{x:N,y:T,data:z,reset:j}=await C({x:g,y:v,initialPlacement:i,placement:y,strategy:l,middlewareData:b,rects:h,platform:u,elements:{reference:e,floating:o}});g=N??g,v=T??v,b={...b,[_]:{...b[_],...z}},j&&w<=50&&(w++,typeof j=="object"&&(j.placement&&(y=j.placement),j.rects&&(h=j.rects===!0?await u.getElementRects({reference:e,floating:o,strategy:l}):j.rects),{x:g,y:v}=Fm(h,y,p)),k=-1)}return{x:g,y:v,placement:y,strategy:l,middlewareData:b}};async function gn(e,o){var n;o===void 0&&(o={});const{x:i,y:l,platform:c,rects:u,elements:f,strategy:p}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:v="floating",altBoundary:y=!1,padding:b=0}=Yr(o,e),w=Rm(b),_=f[y?v==="floating"?"reference":"floating":v],C=Rs(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(_)))==null||n?_:_.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(f.floating)),boundary:h,rootBoundary:g,strategy:p})),N=v==="floating"?{x:i,y:l,width:u.floating.width,height:u.floating.height}:u.reference,T=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f.floating)),z=await(c.isElement==null?void 0:c.isElement(T))?await(c.getScale==null?void 0:c.getScale(T))||{x:1,y:1}:{x:1,y:1},j=Rs(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:N,offsetParent:T,strategy:p}):N);return{top:(C.top-j.top+w.top)/z.y,bottom:(j.bottom-C.bottom+w.bottom)/z.y,left:(C.left-j.left+w.left)/z.x,right:(j.right-C.right+w.right)/z.x}}const xx=e=>({name:"arrow",options:e,async fn(o){const{x:n,y:i,placement:l,rects:c,platform:u,elements:f,middlewareData:p}=o,{element:h,padding:g=0}=Yr(e,o)||{};if(h==null)return{};const v=Rm(g),y={x:n,y:i},b=dc(l),w=uc(b),k=await u.getDimensions(h),_=b==="y",C=_?"top":"left",N=_?"bottom":"right",T=_?"clientHeight":"clientWidth",z=c.reference[w]+c.reference[b]-y[b]-c.floating[w],j=y[b]-c.reference[b],q=await(u.getOffsetParent==null?void 0:u.getOffsetParent(h));let A=q?q[T]:0;(!A||!await(u.isElement==null?void 0:u.isElement(q)))&&(A=f.floating[T]||c.floating[w]);const W=z/2-j/2,J=A/2-k[w]/2-1,te=Ho(v[C],J),ve=Ho(v[N],J),pe=te,$=A-k[w]-ve,oe=A/2-k[w]/2+W,Ne=ac(pe,oe,$),ye=!p.arrow&&hn(l)!=null&&oe!==Ne&&c.reference[w]/2-(oe<pe?te:ve)-k[w]/2<0,me=ye?oe<pe?oe-pe:oe-$:0;return{[b]:y[b]+me,data:{[b]:Ne,centerOffset:oe-Ne-me,...ye&&{alignmentOffset:me}},reset:ye}}}),Sx=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(o){var n,i;const{placement:l,middlewareData:c,rects:u,initialPlacement:f,platform:p,elements:h}=o,{mainAxis:g=!0,crossAxis:v=!0,fallbackPlacements:y,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:k=!0,..._}=Yr(e,o);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const C=Jr(l),N=Or(f),T=Jr(f)===f,z=await(p.isRTL==null?void 0:p.isRTL(h.floating)),j=y||(T||!k?[js(f)]:hx(f)),q=w!=="none";!y&&q&&j.push(...yx(f,k,w,z));const A=[f,...j],W=await gn(o,_),J=[];let te=((i=c.flip)==null?void 0:i.overflows)||[];if(g&&J.push(W[C]),v){const oe=mx(l,u,z);J.push(W[oe[0]],W[oe[1]])}if(te=[...te,{placement:l,overflows:J}],!J.every(oe=>oe<=0)){var ve,pe;const oe=(((ve=c.flip)==null?void 0:ve.index)||0)+1,Ne=A[oe];if(Ne&&(!(v==="alignment"?N!==Or(Ne):!1)||te.every(G=>Or(G.placement)===N?G.overflows[0]>0:!0)))return{data:{index:oe,overflows:te},reset:{placement:Ne}};let ye=(pe=te.filter(me=>me.overflows[0]<=0).sort((me,G)=>me.overflows[1]-G.overflows[1])[0])==null?void 0:pe.placement;if(!ye)switch(b){case"bestFit":{var $;const me=($=te.filter(G=>{if(q){const ee=Or(G.placement);return ee===N||ee==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(ee=>ee>0).reduce((ee,Z)=>ee+Z,0)]).sort((G,ee)=>G[1]-ee[1])[0])==null?void 0:$[0];me&&(ye=me);break}case"initialPlacement":ye=f;break}if(l!==ye)return{reset:{placement:ye}}}return{}}}};function Dm(e,o){return{top:e.top-o.height,right:e.right-o.width,bottom:e.bottom-o.height,left:e.left-o.width}}function Im(e){return ux.some(o=>e[o]>=0)}const _x=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(o){const{rects:n}=o,{strategy:i="referenceHidden",...l}=Yr(e,o);switch(i){case"referenceHidden":{const c=await gn(o,{...l,elementContext:"reference"}),u=Dm(c,n.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:Im(u)}}}case"escaped":{const c=await gn(o,{...l,altBoundary:!0}),u=Dm(c,n.floating);return{data:{escapedOffsets:u,escaped:Im(u)}}}default:return{}}}}},Om=new Set(["left","top"]);async function Bx(e,o){const{placement:n,platform:i,elements:l}=e,c=await(i.isRTL==null?void 0:i.isRTL(l.floating)),u=Jr(n),f=hn(n),p=Or(n)==="y",h=Om.has(u)?-1:1,g=c&&p?-1:1,v=Yr(o,e);let{mainAxis:y,crossAxis:b,alignmentAxis:w}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return f&&typeof w=="number"&&(b=f==="end"?w*-1:w),p?{x:b*g,y:y*h}:{x:y*h,y:b*g}}const Cx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(o){var n,i;const{x:l,y:c,placement:u,middlewareData:f}=o,p=await Bx(o,e);return u===((n=f.offset)==null?void 0:n.placement)&&(i=f.arrow)!=null&&i.alignmentOffset?{}:{x:l+p.x,y:c+p.y,data:{...p,placement:u}}}}},zx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){const{x:n,y:i,placement:l}=o,{mainAxis:c=!0,crossAxis:u=!1,limiter:f={fn:_=>{let{x:C,y:N}=_;return{x:C,y:N}}},...p}=Yr(e,o),h={x:n,y:i},g=await gn(o,p),v=Or(Jr(l)),y=cc(v);let b=h[y],w=h[v];if(c){const _=y==="y"?"top":"left",C=y==="y"?"bottom":"right",N=b+g[_],T=b-g[C];b=ac(N,b,T)}if(u){const _=v==="y"?"top":"left",C=v==="y"?"bottom":"right",N=w+g[_],T=w-g[C];w=ac(N,w,T)}const k=f.fn({...o,[y]:b,[v]:w});return{...k,data:{x:k.x-n,y:k.y-i,enabled:{[y]:c,[v]:u}}}}}},Nx=function(e){return e===void 0&&(e={}),{options:e,fn(o){const{x:n,y:i,placement:l,rects:c,middlewareData:u}=o,{offset:f=0,mainAxis:p=!0,crossAxis:h=!0}=Yr(e,o),g={x:n,y:i},v=Or(l),y=cc(v);let b=g[y],w=g[v];const k=Yr(f,o),_=typeof k=="number"?{mainAxis:k,crossAxis:0}:{mainAxis:0,crossAxis:0,...k};if(p){const T=y==="y"?"height":"width",z=c.reference[y]-c.floating[T]+_.mainAxis,j=c.reference[y]+c.reference[T]-_.mainAxis;b<z?b=z:b>j&&(b=j)}if(h){var C,N;const T=y==="y"?"width":"height",z=Om.has(Jr(l)),j=c.reference[v]-c.floating[T]+(z&&((C=u.offset)==null?void 0:C[v])||0)+(z?0:_.crossAxis),q=c.reference[v]+c.reference[T]+(z?0:((N=u.offset)==null?void 0:N[v])||0)-(z?_.crossAxis:0);w<j?w=j:w>q&&(w=q)}return{[y]:b,[v]:w}}}},Tx=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(o){var n,i;const{placement:l,rects:c,platform:u,elements:f}=o,{apply:p=()=>{},...h}=Yr(e,o),g=await gn(o,h),v=Jr(l),y=hn(l),b=Or(l)==="y",{width:w,height:k}=c.floating;let _,C;v==="top"||v==="bottom"?(_=v,C=y===(await(u.isRTL==null?void 0:u.isRTL(f.floating))?"start":"end")?"left":"right"):(C=v,_=y==="end"?"top":"bottom");const N=k-g.top-g.bottom,T=w-g.left-g.right,z=Ho(k-g[_],N),j=Ho(w-g[C],T),q=!o.middlewareData.shift;let A=z,W=j;if((n=o.middlewareData.shift)!=null&&n.enabled.x&&(W=T),(i=o.middlewareData.shift)!=null&&i.enabled.y&&(A=N),q&&!y){const te=cr(g.left,0),ve=cr(g.right,0),pe=cr(g.top,0),$=cr(g.bottom,0);b?W=w-2*(te!==0||ve!==0?te+ve:cr(g.left,g.right)):A=k-2*(pe!==0||$!==0?pe+$:cr(g.top,g.bottom))}await p({...o,availableWidth:W,availableHeight:A});const J=await u.getDimensions(f.floating);return w!==J.width||k!==J.height?{reset:{rects:!0}}:{}}}};function Fs(){return typeof window<"u"}function vn(e){return Am(e)?(e.nodeName||"").toLowerCase():"#document"}function Jt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Zr(e){var o;return(o=(Am(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Am(e){return Fs()?e instanceof Node||e instanceof Jt(e).Node:!1}function kr(e){return Fs()?e instanceof Element||e instanceof Jt(e).Element:!1}function Ar(e){return Fs()?e instanceof HTMLElement||e instanceof Jt(e).HTMLElement:!1}function qm(e){return!Fs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Jt(e).ShadowRoot}const Ex=new Set(["inline","contents"]);function ni(e){const{overflow:o,overflowX:n,overflowY:i,display:l}=xr(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+n)&&!Ex.has(l)}const Px=new Set(["table","td","th"]);function jx(e){return Px.has(vn(e))}const Rx=[":popover-open",":modal"];function Ds(e){return Rx.some(o=>{try{return e.matches(o)}catch{return!1}})}const Fx=["transform","translate","scale","rotate","perspective"],Dx=["transform","translate","scale","rotate","perspective","filter"],Ix=["paint","layout","strict","content"];function pc(e){const o=mc(),n=kr(e)?xr(e):e;return Fx.some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||Dx.some(i=>(n.willChange||"").includes(i))||Ix.some(i=>(n.contain||"").includes(i))}function Ox(e){let o=go(e);for(;Ar(o)&&!bn(o);){if(pc(o))return o;if(Ds(o))return null;o=go(o)}return null}function mc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ax=new Set(["html","body","#document"]);function bn(e){return Ax.has(vn(e))}function xr(e){return Jt(e).getComputedStyle(e)}function Is(e){return kr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function go(e){if(vn(e)==="html")return e;const o=e.assignedSlot||e.parentNode||qm(e)&&e.host||Zr(e);return qm(o)?o.host:o}function Mm(e){const o=go(e);return bn(o)?e.ownerDocument?e.ownerDocument.body:e.body:Ar(o)&&ni(o)?o:Mm(o)}function Lm(e,o,n){var i;o===void 0&&(o=[]);const l=Mm(e),c=l===((i=e.ownerDocument)==null?void 0:i.body),u=Jt(l);return c?(hc(u),o.concat(u,u.visualViewport||[],ni(l)?l:[],[])):o.concat(l,Lm(l,[]))}function hc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Hm(e){const o=xr(e);let n=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const l=Ar(e),c=l?e.offsetWidth:n,u=l?e.offsetHeight:i,f=Ps(n)!==c||Ps(i)!==u;return f&&(n=c,i=u),{width:n,height:i,$:f}}function Wm(e){return kr(e)?e:e.contextElement}function yn(e){const o=Wm(e);if(!Ar(o))return Ir(1);const n=o.getBoundingClientRect(),{width:i,height:l,$:c}=Hm(o);let u=(c?Ps(n.width):n.width)/i,f=(c?Ps(n.height):n.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!f||!Number.isFinite(f))&&(f=1),{x:u,y:f}}const qx=Ir(0);function $m(e){const o=Jt(e);return!mc()||!o.visualViewport?qx:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Mx(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==Jt(e)?!1:o}function ii(e,o,n,i){o===void 0&&(o=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),c=Wm(e);let u=Ir(1);o&&(i?kr(i)&&(u=yn(i)):u=yn(e));const f=Mx(c,n,i)?$m(c):Ir(0);let p=(l.left+f.x)/u.x,h=(l.top+f.y)/u.y,g=l.width/u.x,v=l.height/u.y;if(c){const y=Jt(c),b=i&&kr(i)?Jt(i):i;let w=y,k=hc(w);for(;k&&i&&b!==w;){const _=yn(k),C=k.getBoundingClientRect(),N=xr(k),T=C.left+(k.clientLeft+parseFloat(N.paddingLeft))*_.x,z=C.top+(k.clientTop+parseFloat(N.paddingTop))*_.y;p*=_.x,h*=_.y,g*=_.x,v*=_.y,p+=T,h+=z,w=Jt(k),k=hc(w)}}return Rs({width:g,height:v,x:p,y:h})}function Os(e,o){const n=Is(e).scrollLeft;return o?o.left+n:ii(Zr(e)).left+n}function Vm(e,o){const n=e.getBoundingClientRect(),i=n.left+o.scrollLeft-Os(e,n),l=n.top+o.scrollTop;return{x:i,y:l}}function Lx(e){let{elements:o,rect:n,offsetParent:i,strategy:l}=e;const c=l==="fixed",u=Zr(i),f=o?Ds(o.floating):!1;if(i===u||f&&c)return n;let p={scrollLeft:0,scrollTop:0},h=Ir(1);const g=Ir(0),v=Ar(i);if((v||!v&&!c)&&((vn(i)!=="body"||ni(u))&&(p=Is(i)),Ar(i))){const b=ii(i);h=yn(i),g.x=b.x+i.clientLeft,g.y=b.y+i.clientTop}const y=u&&!v&&!c?Vm(u,p):Ir(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-p.scrollLeft*h.x+g.x+y.x,y:n.y*h.y-p.scrollTop*h.y+g.y+y.y}}function Hx(e){return Array.from(e.getClientRects())}function Wx(e){const o=Zr(e),n=Is(e),i=e.ownerDocument.body,l=cr(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),c=cr(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let u=-n.scrollLeft+Os(e);const f=-n.scrollTop;return xr(i).direction==="rtl"&&(u+=cr(o.clientWidth,i.clientWidth)-l),{width:l,height:c,x:u,y:f}}const Um=25;function $x(e,o){const n=Jt(e),i=Zr(e),l=n.visualViewport;let c=i.clientWidth,u=i.clientHeight,f=0,p=0;if(l){c=l.width,u=l.height;const g=mc();(!g||g&&o==="fixed")&&(f=l.offsetLeft,p=l.offsetTop)}const h=Os(i);if(h<=0){const g=i.ownerDocument,v=g.body,y=getComputedStyle(v),b=g.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,w=Math.abs(i.clientWidth-v.clientWidth-b);w<=Um&&(c-=w)}else h<=Um&&(c+=h);return{width:c,height:u,x:f,y:p}}const Vx=new Set(["absolute","fixed"]);function Ux(e,o){const n=ii(e,!0,o==="fixed"),i=n.top+e.clientTop,l=n.left+e.clientLeft,c=Ar(e)?yn(e):Ir(1),u=e.clientWidth*c.x,f=e.clientHeight*c.y,p=l*c.x,h=i*c.y;return{width:u,height:f,x:p,y:h}}function Gm(e,o,n){let i;if(o==="viewport")i=$x(e,n);else if(o==="document")i=Wx(Zr(e));else if(kr(o))i=Ux(o,n);else{const l=$m(e);i={x:o.x-l.x,y:o.y-l.y,width:o.width,height:o.height}}return Rs(i)}function Km(e,o){const n=go(e);return n===o||!kr(n)||bn(n)?!1:xr(n).position==="fixed"||Km(n,o)}function Gx(e,o){const n=o.get(e);if(n)return n;let i=Lm(e,[]).filter(f=>kr(f)&&vn(f)!=="body"),l=null;const c=xr(e).position==="fixed";let u=c?go(e):e;for(;kr(u)&&!bn(u);){const f=xr(u),p=pc(u);!p&&f.position==="fixed"&&(l=null),(c?!p&&!l:!p&&f.position==="static"&&!!l&&Vx.has(l.position)||ni(u)&&!p&&Km(e,u))?i=i.filter(g=>g!==u):l=f,u=go(u)}return o.set(e,i),i}function Kx(e){let{element:o,boundary:n,rootBoundary:i,strategy:l}=e;const u=[...n==="clippingAncestors"?Ds(o)?[]:Gx(o,this._c):[].concat(n),i],f=u[0],p=u.reduce((h,g)=>{const v=Gm(o,g,l);return h.top=cr(v.top,h.top),h.right=Ho(v.right,h.right),h.bottom=Ho(v.bottom,h.bottom),h.left=cr(v.left,h.left),h},Gm(o,f,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Xx(e){const{width:o,height:n}=Hm(e);return{width:o,height:n}}function Qx(e,o,n){const i=Ar(o),l=Zr(o),c=n==="fixed",u=ii(e,!0,c,o);let f={scrollLeft:0,scrollTop:0};const p=Ir(0);function h(){p.x=Os(l)}if(i||!i&&!c)if((vn(o)!=="body"||ni(l))&&(f=Is(o)),i){const b=ii(o,!0,c,o);p.x=b.x+o.clientLeft,p.y=b.y+o.clientTop}else l&&h();c&&!i&&l&&h();const g=l&&!i&&!c?Vm(l,f):Ir(0),v=u.left+f.scrollLeft-p.x-g.x,y=u.top+f.scrollTop-p.y-g.y;return{x:v,y,width:u.width,height:u.height}}function gc(e){return xr(e).position==="static"}function Xm(e,o){if(!Ar(e)||xr(e).position==="fixed")return null;if(o)return o(e);let n=e.offsetParent;return Zr(e)===n&&(n=n.ownerDocument.body),n}function Qm(e,o){const n=Jt(e);if(Ds(e))return n;if(!Ar(e)){let l=go(e);for(;l&&!bn(l);){if(kr(l)&&!gc(l))return l;l=go(l)}return n}let i=Xm(e,o);for(;i&&jx(i)&&gc(i);)i=Xm(i,o);return i&&bn(i)&&gc(i)&&!pc(i)?n:i||Ox(e)||n}const Yx=async function(e){const o=this.getOffsetParent||Qm,n=this.getDimensions,i=await n(e.floating);return{reference:Qx(e.reference,await o(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Jx(e){return xr(e).direction==="rtl"}const Zx={convertOffsetParentRelativeRectToViewportRelativeRect:Lx,getDocumentElement:Zr,getClippingRect:Kx,getOffsetParent:Qm,getElementRects:Yx,getClientRects:Hx,getDimensions:Xx,getScale:yn,isElement:kr,isRTL:Jx},eS=gn,tS=Cx,rS=zx,oS=Sx,nS=Tx,Ym=_x,iS=xx,Jm=Nx,sS=(e,o,n)=>{const i=new Map,l={platform:Zx,...n},c={...l.platform,_c:i};return kx(e,o,{...l,platform:c})};function Zm(e){const o=e.split("-");return{side:o[0],alignment:o[1]}}const lS=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,aS=e=>{var o;if(e.nodeType!==1)return{};const n=(o=e.ownerDocument)===null||o===void 0?void 0:o.defaultView;return n?n.getComputedStyle(e,null):{}},As=e=>{const o=e&&lS(e);if(!o)return document.body;switch(o.nodeName){case"HTML":case"BODY":return o.ownerDocument.body;case"#document":return o.body}const{overflow:n,overflowX:i,overflowY:l}=aS(o);return/(auto|scroll|overlay)/.test(n+l+i)?o:As(o)},cS=e=>{var o;const n=As(e);return n?n!==((o=n.ownerDocument)===null||o===void 0?void 0:o.body):!1};function vc(e,o){if(o==="window")return e?.ownerDocument.documentElement;if(o==="clippingParents")return"clippingAncestors";if(o==="scrollParent"){let n=As(e);return n.nodeName==="BODY"&&(n=e?.ownerDocument.documentElement),n}return o}function eh(e,o){if(typeof e=="number")return e;const{start:n,end:i,...l}=e,c=l,u=o?"end":"start",f=o?"start":"end";return e[u]&&(c.left=e[u]),e[f]&&(c.right=e[f]),c}const uS=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),dS=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),fS=(e,o)=>{const n=e==="above"||e==="below",i=o==="top"||o==="bottom";return n&&i||!n&&!i},th=(e,o,n)=>{const i=fS(o,e)?"center":e,l=o&&uS(n)[o],c=i&&dS()[i];return l&&c?`${l}-${c}`:l},pS=()=>({top:"above",bottom:"below",right:"after",left:"before"}),mS=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},hS=e=>{const{side:o,alignment:n}=Zm(e),i=pS()[o],l=n&&mS(i)[n];return{position:i,alignment:l}},gS={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function rh(e){return e==null?{}:typeof e=="string"?gS[e]:e}function bc(e,o,n){const i=S.useRef(!0),[l]=S.useState(()=>({value:e,callback:o,facade:{get current(){return l.value},set current(c){const u=l.value;u!==c&&(l.value=c,l.callback(c,u))}}}));return sr(()=>{i.current=!1},[]),l.callback=o,l.facade}function vS(e){let o;return()=>(o||(o=new Promise(n=>{Promise.resolve().then(()=>{o=void 0,n(e())})})),o)}function bS(e){const{arrow:o,middlewareData:n}=e;if(!n.arrow||!o)return;const{x:i,y:l}=n.arrow;Object.assign(o.style,{left:i!=null?`${i}px`:"",top:l!=null?`${l}px`:""})}function yS(e){var o,n,i;const{container:l,placement:c,middlewareData:u,strategy:f,lowPPI:p,coordinates:h,useTransform:g=!0}=e;if(!l)return;l.setAttribute(lx,c),l.removeAttribute(zm),u.intersectionObserver.intersecting&&l.setAttribute(zm,""),l.removeAttribute(Nm),!((o=u.hide)===null||o===void 0)&&o.escaped&&l.setAttribute(Nm,""),l.removeAttribute(Tm),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&l.setAttribute(Tm,"");const v=((i=l.ownerDocument.defaultView)===null||i===void 0?void 0:i.devicePixelRatio)||1,y=Math.round(h.x*v)/v,b=Math.round(h.y*v)/v;if(Object.assign(l.style,{position:f}),g){Object.assign(l.style,{transform:p?`translate(${y}px, ${b}px)`:`translate3d(${y}px, ${b}px, 0)`});return}Object.assign(l.style,{left:`${y}px`,top:`${b}px`})}const wS=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function oh(e){const o=[];let n=e;for(;n;){const i=As(n);if(e.ownerDocument.body===i){o.push(i);break}if(i.nodeName==="BODY"&&i!==e.ownerDocument.body)break;o.push(i),n=i}return o}function kS(e,o){return new e.ResizeObserver(o)}function xS(e){let o=!1;const{container:n,target:i,arrow:l,strategy:c,middleware:u,placement:f,useTransform:p=!0,disableUpdateOnResize:h=!1}=e,g=n.ownerDocument.defaultView;if(!i||!n||!g)return{updatePosition:()=>{},dispose:()=>{}};const v=h?null:kS(g,C=>{C.every(T=>T.contentRect.width>0&&T.contentRect.height>0)&&k()});let y=!0;const b=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const w=()=>{o||(y&&(oh(n).forEach(C=>b.add(C)),Kr(i)&&oh(i).forEach(C=>b.add(C)),b.forEach(C=>{C.addEventListener("scroll",k,{passive:!0})}),v?.observe(n),Kr(i)&&v?.observe(i),y=!1),Object.assign(n.style,{position:c}),sS(i,n,{placement:f,middleware:u,strategy:c}).then(({x:C,y:N,middlewareData:T,placement:z})=>{o||(bS({arrow:l,middlewareData:T}),yS({container:n,middlewareData:T,placement:z,coordinates:{x:C,y:N},lowPPI:(g?.devicePixelRatio||1)<=1,strategy:c,useTransform:p}),n.dispatchEvent(new CustomEvent(lc)))}).catch(C=>{}))},k=vS(()=>w()),_=()=>{o=!0,g&&(g.removeEventListener("scroll",k),g.removeEventListener("resize",k)),b.forEach(C=>{C.removeEventListener("scroll",k)}),b.clear(),v?.disconnect()};return g&&(g.addEventListener("scroll",k,{passive:!0}),g.addEventListener("resize",k)),k(),{updatePosition:k,dispose:_}}function SS(){return{name:"coverTarget",fn:e=>{const{placement:o,rects:n,x:i,y:l}=e,c=Zm(o).side,u={x:i,y:l};switch(c){case"bottom":u.y-=n.reference.height;break;case"top":u.y+=n.reference.height;break;case"left":u.x+=n.reference.width;break;case"right":u.x-=n.reference.width;break}return u}}}function _S(e){const{hasScrollableElement:o,flipBoundary:n,container:i,fallbackPositions:l=[],isRtl:c}=e,u=l.reduce((f,p)=>{const{position:h,align:g}=rh(p),v=th(g,h,c);return v&&f.push(v),f},[]);return oS({...o&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:vc(i,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function BS(){return{name:"intersectionObserver",fn:async e=>{const o=e.rects.floating,n=await eS(e,{altBoundary:!0}),i=n.top<o.height&&n.top>0,l=n.bottom<o.height&&n.bottom>0;return{data:{intersecting:i||l}}}}}const CS=e=>({name:"resetMaxSize",fn({middlewareData:o,elements:n}){var i;if(!((i=o.resetMaxSize)===null||i===void 0)&&i.maxSizeAlreadyReset)return{};const{applyMaxWidth:l,applyMaxHeight:c}=e;return l&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-width"),n.floating.style.removeProperty("width")),c&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-height"),n.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function zS(e,o){const{container:n,overflowBoundary:i,overflowBoundaryPadding:l,isRtl:c}=o;return nS({...l&&{padding:eh(l,c)},...i&&{altBoundary:!0,boundary:vc(n,i)},apply({availableHeight:u,availableWidth:f,elements:p,rects:h}){const g=(b,w,k)=>{if(b&&(p.floating.style.setProperty("box-sizing","border-box"),p.floating.style.setProperty(`max-${w}`,`${k}px`),h.floating[w]>k)){p.floating.style.setProperty(w,`${k}px`);const _=w==="width"?"x":"y";p.floating.style.getPropertyValue(`overflow-${_}`)||p.floating.style.setProperty(`overflow-${_}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:y}=e;g(v,"width",f),g(y,"height",u)}})}function NS(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:o,reference:n},placement:i})=>{const{position:l,alignment:c}=hS(i);return e({positionedRect:o,targetRect:n,position:l,alignment:c})}}function TS(e){const o=NS(e);return tS(o)}function ES(e){const{hasScrollableElement:o,shiftToCoverTarget:n,disableTether:i,overflowBoundary:l,container:c,overflowBoundaryPadding:u,isRtl:f}=e;return rS({...o&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:Jm({crossAxis:!0,mainAxis:!1})},...i&&{crossAxis:i==="all",limiter:Jm({crossAxis:i!=="all",mainAxis:!1})},...u&&{padding:eh(u,f)},...l&&{altBoundary:!0,boundary:vc(c,l)}})}const nh="--fui-match-target-size";function PS(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:o,floating:n},elements:{floating:i},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:l=!1}={}}}=e;if(o.width===n.width||l)return{};const{width:c}=o;return i.style.setProperty(nh,`${c}px`),i.style.width||(i.style.width=`var(${nh})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function jS(e,o){const{align:n,arrowPadding:i,autoSize:l,coverTarget:c,disableUpdateOnResize:u,flipBoundary:f,offset:p,overflowBoundary:h,pinned:g,position:v,unstable_disableTether:y,strategy:b,overflowBoundaryPadding:w,fallbackPositions:k,useTransform:_,matchTargetSize:C,shiftToCoverTarget:N}=o;return S.useCallback((T,z)=>e({container:T,arrow:z,options:{autoSize:l,disableUpdateOnResize:u,matchTargetSize:C,offset:p,strategy:b,coverTarget:c,flipBoundary:f,overflowBoundary:h,useTransform:_,overflowBoundaryPadding:w,pinned:g,arrowPadding:i,align:n,fallbackPositions:k,shiftToCoverTarget:N,position:v,unstable_disableTether:y}}),[l,u,C,p,b,c,f,h,_,w,g,i,n,k,N,v,y,e])}function RS(e){const{dir:o,targetDocument:n}=kt(),i=o==="rtl",l=jS(cx(),e),{positionFixed:c}=e;return S.useCallback((u,f)=>{const p=cS(u),h=l(u,f),{autoSize:g,disableUpdateOnResize:v,matchTargetSize:y,offset:b,coverTarget:w,flipBoundary:k,overflowBoundary:_,useTransform:C,overflowBoundaryPadding:N,pinned:T,position:z,arrowPadding:j,strategy:q,align:A,fallbackPositions:W,shiftToCoverTarget:J,unstable_disableTether:te}=h,ve=wS(g),pe=[ve&&CS(ve),y&&PS(),b&&TS(b),w&&SS(),!T&&_S({container:u,flipBoundary:k,hasScrollableElement:p,isRtl:i,fallbackPositions:W}),ES({container:u,hasScrollableElement:p,overflowBoundary:_,disableTether:te,overflowBoundaryPadding:N,isRtl:i,shiftToCoverTarget:J}),ve&&zS(ve,{container:u,overflowBoundary:_,overflowBoundaryPadding:N,isRtl:i}),BS(),f&&iS({element:f,padding:j}),Ym({strategy:"referenceHidden"}),Ym({strategy:"escaped"}),!1].filter(Boolean);return{placement:th(A,z,i),middleware:pe,strategy:q??c?"fixed":"absolute",disableUpdateOnResize:v,useTransform:C}},[l,i,n,c])}function FS(e){"use no memo";const o=S.useRef(null),n=S.useRef(null),i=S.useRef(null),l=S.useRef(null),c=S.useRef(null),{enabled:u=!0}=e,f=RS(e),p=S.useCallback(()=>{o.current&&o.current.dispose(),o.current=null;var w;const k=(w=i.current)!==null&&w!==void 0?w:n.current;u&&Fa()&&k&&l.current&&(o.current=xS({container:l.current,target:k,arrow:c.current,...f(l.current,c.current)}))},[u,f]),h=Ce(w=>{i.current=w,p()});S.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var w;return(w=o.current)===null||w===void 0?void 0:w.updatePosition()},setTarget:w=>{e.target,h(w)}}),[e.target,h]),sr(()=>{var w;h((w=e.target)!==null&&w!==void 0?w:null)},[e.target,h]),sr(()=>{p()},[p]);const g=bc(null,w=>{n.current!==w&&(n.current=w,p())}),v=Ce(()=>{var w;return(w=e.onPositioningEnd)===null||w===void 0?void 0:w.call(e)}),y=bc(null,w=>{if(l.current!==w){var k;(k=l.current)===null||k===void 0||k.removeEventListener(lc,v),w?.addEventListener(lc,v),l.current=w,p()}}),b=bc(null,w=>{c.current!==w&&(c.current=w,p())});return{targetRef:g,containerRef:y,arrowRef:b}}function DS(e){return Kr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const IS=ue({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;}"]}),ih=es.useInsertionEffect,OS=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:i,targetNode:l}=e,c=S.useMemo(()=>{if(l===void 0||e.disabled)return null;const u=l.ownerDocument.createElement("div");return l.appendChild(u),u},[l,e.disabled]);return S.useMemo(()=>{c&&(c.className=o,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),i.current=c)},[o,n,c,i]),S.useEffect(()=>()=>{c?.remove()},[c]),c},AS=()=>{let e;function o(i,l){return e||(l&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function n(){e&&(e.remove(),e=void 0)}return{get:o,dispose:n}},qS=ih?e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:i,targetNode:l}=e,[c]=S.useState(AS),u=S.useMemo(()=>l===void 0||e.disabled?null:new Proxy({},{get(f,p){if(p==="nodeType")return 1;if(p==="remove"){const v=c.get(l,!1);return v&&v.childNodes.length===0&&c.dispose(),()=>{}}const h=c.get(l,!0),g=h?h[p]:void 0;return typeof g=="function"?g.bind(h):g},set(f,p,h){const g=p==="_virtual"||p==="focusVisible",v=g?c.get(l,!1):c.get(l,!0);return g&&!v?!0:v?(Object.assign(v,{[p]:h}),!0):!1}}),[c,l,e.disabled]);return ih(()=>{if(!u)return;const f=o.split(" ").filter(Boolean);return u.classList.add(...f),u.setAttribute("dir",n),u.setAttribute("data-portal-node","true"),i.current=u,()=>{u.classList.remove(...f),u.removeAttribute("dir")}},[o,n,u,i]),S.useEffect(()=>()=>{u?.remove()},[u]),u}:OS,MS=e=>{"use no memo";const{targetDocument:o,dir:n}=kt(),i=Ob(),l=Za(),c=IS(),u=Eb(),f={dir:n,disabled:e.disabled,focusVisibleRef:l,className:re(u,c.root,e.className),targetNode:i??o?.body};return qS(f)},LS=e=>{const{element:o,className:n}=DS(e.mountNode),i=S.useRef(null),l=MS({disabled:!!o,className:n}),c=o??l,u={children:e.children,mountNode:c,virtualParentRootRef:i};return S.useEffect(()=>{if(!c)return;const f=i.current,p=c.contains(f);if(f&&!p)return ep(c,f),()=>{ep(c,void 0)}},[i,c]),u};var yc=Md();const HS=e=>S.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&yc.createPortal(S.createElement(S.Fragment,null,e.children,S.createElement("span",{hidden:!0})),e.mountNode)),sh=e=>{const o=LS(e);return HS(o)};sh.displayName="Portal";const WS=e=>{const{iconOnly:o,iconPosition:n}=e;return ht(e.root,{children:[n!=="after"&&e.icon&&le(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&le(e.icon,{})]})},lh=S.createContext(void 0),$S={};lh.Provider;const VS=()=>{var e;return(e=S.useContext(lh))!==null&&e!==void 0?e:$S},US=(e,o)=>{const{size:n}=VS(),{appearance:i="secondary",as:l="button",disabled:c=!1,disabledFocusable:u=!1,icon:f,iconPosition:p="before",shape:h="rounded",size:g=n??"medium"}=e,v=qe(f,{elementType:"span"});return{appearance:i,disabled:c,disabledFocusable:u,iconPosition:p,shape:h,size:g,iconOnly:!!(v?.children&&!e.children),components:{root:"button",icon:"span"},root:Oe(wt(l,mm(e.as,e)),{elementType:"button",defaultProps:{ref:o,type:l==="button"?"button":void 0}}),icon:v}},ah={root:"fui-Button",icon:"fui-Button__icon"},GS=dt("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),KS=dt("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);}"]),XS=ue({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",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",rxnm8d:"fpelvsg",Bso50sa:"f1r9enuy",B65bq0w:["fdvt4n0","f1grx941"],Buont6p:"f1l34yyb",B0o9ejx:["f1grx941","fdvt4n0"],Dcq74g:"fqfbdvs"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",Dcq74g:"fqfbdvs",zyxd5v:"f1wfsnb3"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",rxnm8d:"f11slz88",Dcq74g:"fqfbdvs"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.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){.fpelvsg:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1r9enuy:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1grx941:hover:active{border-left-color:Highlight;}.fdvt4n0:hover:active{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l34yyb:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqfbdvs:hover:active{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){.f1wfsnb3:hover:active .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){.f11slz88:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),QS=ue({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{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",rxnm8d:"f1xxg0vq",Bso50sa:"f16oldlo",B65bq0w:["f17g64ui","fqbrke7"],Buont6p:"fjvf891",B0o9ejx:["fqbrke7","f17g64ui"],Dcq74g:"f1efp33f",zyxd5v:"f1gue8i"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.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){.f1xxg0vq:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16oldlo:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f17g64ui:hover:active{border-right-color:GrayText;}.fqbrke7:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjvf891:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gue8i:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),YS=ue({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;}}"]}),JS=ue({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;}"]}),ZS=ue({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);}"]}),e2=e=>{"use no memo";const o=GS(),n=KS(),i=XS(),l=QS(),c=YS(),u=JS(),f=ZS(),{appearance:p,disabled:h,disabledFocusable:g,icon:v,iconOnly:y,iconPosition:b,shape:w,size:k}=e;return e.root.className=re(ah.root,o,p&&i[p],i[k],v&&k==="small"&&i.smallWithIcon,v&&k==="large"&&i.largeWithIcon,i[w],(h||g)&&l.base,(h||g)&&l.highContrast,p&&(h||g)&&l[p],p==="primary"&&c.primary,c[k],c[w],y&&u[k],e.root.className),e.icon&&(e.icon.className=re(ah.icon,n,!!e.root.children&&f[b],f[k],e.icon.className)),e},si=S.forwardRef((e,o)=>{const n=US(e,o);return e2(n),ot("useButtonStyles_unstable")(n),WS(n)});si.displayName="Button";const ch=S.createContext(void 0);ch.Provider;const t2=()=>S.useContext(ch);function qs(e,o){return r2(t2(),e,o)}function r2(e,o,n){if(!e)return o;o={...o};const{generatedControlId:i,hintId:l,labelFor:c,labelId:u,required:f,validationMessageId:p,validationState:h}=e;if(i){var g,v;(v=(g=o).id)!==null&&v!==void 0||(g.id=i)}if(u&&(!n?.supportsLabelFor||c!==o.id)){var y,b,w;(w=(y=o)[b="aria-labelledby"])!==null&&w!==void 0||(y[b]=u)}if((p||l)&&(o["aria-describedby"]=[p,l,o?.["aria-describedby"]].filter(Boolean).join(" ")),h==="error"){var k,_,C;(C=(k=o)[_="aria-invalid"])!==null&&C!==void 0||(k[_]=!0)}if(f)if(n?.supportsRequired){var N,T;(T=(N=o).required)!==null&&T!==void 0||(N.required=!0)}else{var z,j,q;(q=(z=o)[j="aria-required"])!==null&&q!==void 0||(z[j]=!0)}if(n?.supportsSize){var A,W;(W=(A=o).size)!==null&&W!==void 0||(A.size=e.size)}return o}const o2=(e,o)=>{const{disabled:n=!1,required:i=!1,weight:l="regular",size:c="medium"}=e;return{disabled:n,required:qe(i===!0?"*":i||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:l,size:c,components:{root:"label",required:"span"},root:Oe(wt("label",{ref:o,...e}),{elementType:"label"})}},n2=e=>ht(e.root,{children:[e.root.children,e.required&&le(e.required,{})]}),uh={root:"fui-Label",required:"fui-Label__required"},i2=ue({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)"}]]}),s2=e=>{"use no memo";const o=i2();return e.root.className=re(uh.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=re(uh.required,o.required,e.disabled&&o.disabled,e.required.className)),e},Wo=S.forwardRef((e,o)=>{const n=o2(e,o);return s2(n),ot("useLabelStyles_unstable")(n),n2(n)});Wo.displayName="Label";const l2=(e,o)=>{"use no memo";e=qs(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:n=!1,required:i,shape:l="square",size:c="medium",labelPosition:u="after",onChange:f}=e,[p,h]=Gr({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),g=vs({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),v=p==="mixed",y=Qt("checkbox-",g.primary.id);let b;v?l==="circular"?b=S.createElement(Xk,null):b=c==="large"?S.createElement(Zk,null):S.createElement(Jk,null):p&&(b=c==="large"?S.createElement(Yk,null):S.createElement(Bm,null));const w={shape:l,checked:p,disabled:n,size:c,labelPosition:u,components:{root:"span",input:"input",indicator:"div",label:Wo},root:Oe(e.root,{defaultProps:{ref:fn(),...g.root},elementType:"span"}),input:Oe(e.input,{defaultProps:{type:"checkbox",id:y,ref:o,checked:p===!0,...g.primary},elementType:"input"}),label:qe(e.label,{defaultProps:{htmlFor:y,disabled:n,required:i,size:"medium"},elementType:Wo}),indicator:qe(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:b},elementType:"div"})};w.input.onChange=Ce(_=>{const C=_.currentTarget.indeterminate?"mixed":_.currentTarget.checked;f?.(_,{checked:C}),h(C)});const k=xt(w.input.ref);return w.input.ref=k,sr(()=>{k.current&&(k.current.indeterminate=v)},[k,v]),w},a2=e=>ht(e.root,{children:[le(e.input,{}),e.labelPosition==="before"&&e.label&&le(e.label,{}),e.indicator&&le(e.indicator,{}),e.labelPosition==="after"&&e.label&&le(e.label,{})]}),Ms={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},c2=dt("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::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);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::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){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),u2=ue({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),d2=dt("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),f2=ue({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),p2=dt("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),m2=ue({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),h2=ue({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),g2=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:i,shape:l,size:c}=e,u=c2(),f=u2();e.root.className=re(Ms.root,u,n?f.disabled:o==="mixed"?f.mixed:o?f.checked:f.unchecked,e.root.className);const p=d2(),h=f2();e.input.className=re(Ms.input,p,c==="large"&&h.large,h[i],e.input.className);const g=p2(),v=m2();e.indicator&&(e.indicator.className=re(Ms.indicator,g,c==="large"&&v.large,l==="circular"&&v.circular,e.indicator.className));const y=h2();return e.label&&(e.label.className=re(Ms.label,y.base,y[c],y[i],e.label.className)),e},wc=S.forwardRef((e,o)=>{const n=l2(e,o);return g2(n),ot("useCheckboxStyles_unstable")(n),a2(n)});wc.displayName="Checkbox";const dh=nc({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});dh.Provider;const v2={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},wn=nc(void 0),Zt=e=>lm(wn,(o=v2)=>e(o));wn.Provider;function b2(e){const{appearance:o,open:n,getOptionById:i,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:f,setOpen:p,size:h,activeDescendantController:g,onOptionClick:v,onActiveDescendantChange:y}=e,b={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:f,setActiveOption:()=>null,setOpen:p,size:h},w={activeOption:void 0,focusVisible:!1,getOptionById:i,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:f,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:y},k=S.useMemo(()=>({controller:g}),[g]);return{combobox:b,activeDescendant:k,listbox:w}}function y2(e){const o=am(wn),{getOptionById:n,getOptionsMatchingValue:i,multiselect:l,registerOption:c,selectedOptions:u,selectOption:f,activeDescendantController:p}=e,h=Zt(k=>k.registerOption),g=Zt(k=>k.onOptionClick),v=Zt(k=>k.onActiveDescendantChange),b={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:i,multiselect:l,registerOption:o?h:c,selectedOptions:u,selectOption:f,setActiveOption:()=>{},onOptionClick:g,onActiveDescendantChange:v},w=S.useMemo(()=>({controller:p}),[p]);return{listbox:b,activeDescendant:w}}function kc(e,o={}){const{open:n=!0,multiselect:i=!1}=o,l=e.key,{altKey:c,ctrlKey:u,key:f,metaKey:p}=e;return f.length===1&&l!==Dr&&!c&&!u&&!p?"Type":n?l===Ns&&c||l===Lo||!i&&l===Dr?"CloseSelect":i&&l===Dr?"Select":l===pm?"Close":l===ic?"Next":l===Ns?"Previous":l===fm?"First":l===dm?"Last":l===Ik?"PageUp":l===Dk?"PageDown":l===Fk?"Tab":"None":l===ic||l===Ns||l===Lo||l===Dr?"Open":"None"}const fh=()=>{const e=S.useRef(new Map),o=S.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:h=>e.current.get(h),getOptionsMatchingText:h=>Array.from(e.current.values()).filter(({text:g})=>h(g)),getOptionsMatchingValue:h=>{const g=[];for(const v of e.current.values())h(v.value)&&g.push(v);return g}}),[]),n=S.useCallback(i=>(e.current.set(i.id,i),()=>e.current.delete(i.id)),[]);return{...o,options:Array.from(e.current.values()),registerOption:n}},ph=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:i}=e,[l,c]=Gr({state:e.selectedOptions,defaultState:o,initialState:[]}),u=S.useCallback((p,h)=>{if(h.disabled)return;let g=[h.value];if(n){const v=l.findIndex(y=>y===h.value);v>-1?g=[...l.slice(0,v),...l.slice(v+1)]:g=[...l,h.value]}c(g),i?.(p,{optionValue:h.value,optionText:h.text,selectedOptions:g})},[i,n,l,c]);return{clearSelection:p=>{c([]),i?.(p,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:l}},Ls={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},w2=ue({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{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:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),k2=e=>{"use no memo";const{disabled:o,multiselect:n,selected:i}=e,l=w2();return e.root.className=re(Ls.root,l.root,l.active,o&&l.disabled,i&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=re(Ls.checkIcon,l.checkIcon,n&&l.multiselectCheck,i&&l.selectedCheck,i&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},mh={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},x2=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:i=!1}=e,l=fh(),{listboxRef:c,activeParentRef:u,controller:f}=km({matchOption:oe=>oe.classList.contains(Ls.root)}),p=am(wn),h=Zt(oe=>oe.onActiveDescendantChange),g=Zt(oe=>oe.getOptionById),v=Zt(oe=>oe.getOptionsMatchingValue),y=p?g:l.getOptionById,b=p?v:l.getOptionsMatchingValue,w=S.useMemo(()=>{let oe=null;const Ne=ye=>{h?.(ye)};return ye=>{if(!ye){oe?.removeEventListener("activedescendantchange",Ne);return}oe=ye,oe.addEventListener("activedescendantchange",Ne)}},[h]),[k,_]=S.useState(!1);Ip(_);const C=gm(),N=Ak(),T=N?C.controller:f,{clearSelection:z,selectedOptions:j,selectOption:q}=ph(e),A=oe=>{const Ne=kc(oe,{open:!0}),ye=T.active(),me=ye?y(ye):null;switch(Ne){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":oe.preventDefault();break}switch(Ne){case"Next":me?T.next():T.first();break;case"Previous":me?T.prev():T.first();break;case"PageUp":case"First":T.first();break;case"PageDown":case"Last":T.last();break;case"Select":case"CloseSelect":me&&q(oe,me);break}},W=Zt(oe=>oe.selectedOptions),J=Zt(oe=>oe.selectOption),te=p?{selectedOptions:W,selectOption:J,...mh}:{selectedOptions:j,selectOption:q,...mh};S.useEffect(()=>{if(!N){if(T.hideFocusVisibleAttributes(),!i)if(!n&&te.selectedOptions.length>0){const oe=b(Ne=>Ne===te.selectedOptions[0]).pop();oe?.id&&T.focus(oe.id)}else T.first();return()=>{T.blur()}}},[]);const ve=S.useCallback(()=>{N||(T.showFocusVisibleAttributes(),k&&T.scrollActiveIntoView())},[T,N,k]),pe=S.useCallback(()=>{N||T.hideFocusVisibleAttributes()},[T,N]),$={components:{root:"div"},root:Oe(wt("div",{ref:xt(o,u,c,w),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!p,multiselect:n,clearSelection:z,activeDescendantController:T,onActiveDescendantChange:h,...l,...te};return $.root.onKeyDown=Ce(Nt($.root.onKeyDown,A)),$.root.onFocus=Ce(Nt($.root.onFocus,ve)),$.root.onBlur=Ce(Nt($.root.onBlur,pe)),$},S2=(e,o)=>le(hm,{value:o.activeDescendant,children:le(wn.Provider,{value:o.listbox,children:le(e.root,{})})}),_2={root:"fui-Listbox"},B2=ue({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),C2=e=>{"use no memo";const o=B2();return e.root.className=re(_2.root,o.root,e.root.className),e},xc=S.forwardRef((e,o)=>{const n=x2(e,o),i=y2(n);return C2(n),ot("useListboxStyles_unstable")(n),S2(n,i)});xc.displayName="Listbox";function z2(e,o){if(e!==void 0)return e;let n="",i=!1;return S.Children.forEach(o,l=>{typeof l=="string"?n+=l:i=!0}),i&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}const N2=(e,o)=>{const{children:n,disabled:i,text:l,value:c}=e,u=S.useRef(null),f=z2(l,n),p=c??f,h=Qt("fluent-option",e.id),g=S.useMemo(()=>({id:h,disabled:i,text:f,value:p}),[h,i,f,p]),{controller:v}=gm(),y=Zt(z=>z.multiselect),b=Zt(z=>z.registerOption),w=Zt(z=>{const j=z.selectedOptions;return p!==void 0&&j.find(q=>q===p)!==void 0}),k=Zt(z=>z.selectOption),_=Zt(z=>z.onOptionClick);let C=S.createElement(Gk,null);y&&(C=w?S.createElement(Bm,null):"");const N=z=>{var j;if(i){z.preventDefault();return}v.focus(h),k(z,g),_(z),(j=e.onClick)===null||j===void 0||j.call(e,z)};S.useEffect(()=>{if(h&&u.current)return b(g,u.current)},[h,g,b]);const T=y?{role:"menuitemcheckbox","aria-checked":w}:{role:"option","aria-selected":w};return{components:{root:"div",checkIcon:"span"},root:Oe(wt("div",{ref:xt(o,u),"aria-disabled":i?"true":void 0,id:h,...T,...e,onClick:N}),{elementType:"div"}),checkIcon:qe(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:C},elementType:"span"}),disabled:i,multiselect:y,selected:w,focusVisible:!1,active:!1}},T2=e=>ht(e.root,{children:[e.checkIcon&&le(e.checkIcon,{}),e.root.children]}),Sr=S.forwardRef((e,o)=>{const n=N2(e,o);return k2(n),ot("useOptionStyles_unstable")(n),T2(n)});Sr.displayName="Option";const E2=e=>{"use no memo";const{appearance:o="outline",disableAutoFocus:n,children:i,clearable:l=!1,editable:c=!1,inlinePopup:u=!1,mountNode:f=void 0,multiselect:p,onOpenChange:h,size:g="medium",activeDescendantController:v,freeform:y=!1,disabled:b=!1,onActiveOptionChange:w=null}=e,k=fh(),{getOptionsMatchingValue:_}=k,{getOptionById:C}=k,N=S.useCallback(()=>{const M=v.active();return M?C(M):void 0},[v,C]),T=N(),z=S.useCallback(M=>{let ce;if(typeof M=="function"){const fe=N();ce=M(fe)}ce?v.focus(ce.id):v.blur()},[v,N]),[j,q]=S.useState(!1),[A,W]=S.useState(!1),J=S.useRef(!1),te=Gb(),[ve,pe]=Gr({state:e.value,initialState:void 0}),{selectedOptions:$,selectOption:oe,clearSelection:Ne}=ph(e),ye=S.useCallback((M,ce)=>{yc.unstable_batchedUpdates(()=>{pe(void 0),oe(M,ce)})},[pe,oe]),me=S.useMemo(()=>{if(ve!==void 0)return ve;if(te&&e.defaultValue!==void 0)return e.defaultValue;const M=_(ce=>$.includes(ce)).map(ce=>ce.text);return p?c?"":M.join(", "):M[0]},[ve,c,_,p,$]),[G,ee]=Gr({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Z=S.useCallback((M,ce)=>{b||(h?.(M,{open:ce}),yc.unstable_batchedUpdates(()=>{!ce&&!y&&pe(void 0),ee(ce)}))},[h,ee,pe,y,b]);S.useEffect(()=>{if(G){if(!p&&$.length>0){const M=_(ce=>ce===$[0]).pop();M?.id&&v.focus(M.id)}}else v.blur()},[G,v]),S.useEffect(()=>{G&&!n&&!v.active()&&v.first()},[G,i,n,v,C]);const R=Ce(M=>{const ce=M.detail.previousId?k.getOptionById(M.detail.previousId):null,fe=k.getOptionById(M.detail.id);w?.(M,{event:M,type:"change",previousOption:ce,nextOption:fe})});return{...k,freeform:y,disabled:b,selectOption:ye,clearSelection:Ne,selectedOptions:$,activeOption:T,appearance:o,clearable:l,focusVisible:j,ignoreNextBlur:J,inlinePopup:u,mountNode:f,open:G,hasFocus:A,setActiveOption:z,setFocusVisible:q,setHasFocus:W,setOpen:Z,setValue:pe,size:g,value:me,multiselect:p,onOptionClick:Ce(M=>{p||Z(M,!1)}),onActiveDescendantChange:R}};function P2(e){const{positioning:o}=e,i={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...rh(o)},{targetRef:l,containerRef:c}=FS(i);return[c,l]}function j2(e,o,n){const{state:{multiselect:i},triggerRef:l,defaultProps:c}=n,u=Qt("fluent-listbox",Of(e)?e.id:void 0),f=qe(e,{renderByDefault:!0,elementType:xc,defaultProps:{id:u,multiselect:i,tabIndex:void 0,...c}}),p=qs({id:u},{supportsLabelFor:!0});f&&!f["aria-label"]&&!f["aria-labelledby"]&&p["aria-labelledby"]&&(f["aria-labelledby"]=p["aria-labelledby"]);const h=Ce(Nt(y=>{y.preventDefault()},f?.onMouseDown)),g=Ce(Nt(y=>{var b;y.preventDefault(),(b=l.current)===null||b===void 0||b.focus()},f?.onClick)),v=xt(f?.ref,o);return f&&(f.ref=v,f.onMouseDown=h,f.onClick=g),f}function R2(e,o,n){const{state:{open:i,setOpen:l,setHasFocus:c},defaultProps:u,elementType:f,activeDescendantController:p}=n,h=Oe(e,{defaultProps:{type:"text","aria-expanded":i,role:"combobox",...typeof u=="object"&&u},elementType:f}),g=S.useRef(null);return h.ref=xt(g,h.ref,o),h.onBlur=Nt(v=>{l(v,!1),c(!1)},h.onBlur),h.onFocus=Nt(v=>{v.target===v.currentTarget&&c(!0)},h.onFocus),h.onClick=Nt(v=>{l(v,!i)},h.onClick),h.onKeyDown=Nt(F2({activeDescendantController:p,...n.state}),h.onKeyDown),h}function F2(e){const{activeDescendantController:o,getOptionById:n,setOpen:i,selectOption:l,multiselect:c,open:u}=e,f=S.useCallback(()=>{const k=o.active();return k?n(k):void 0},[o,n]),p=()=>{o.first()},h=()=>{o.last()},g=k=>{k?o.next():o.first()},v=k=>{k?o.prev():o.first()},y=()=>{for(let k=0;k<10;k++)o.prev()},b=()=>{for(let k=0;k<10;k++)o.next()},w=Pw();return Ce(k=>{const _=kc(k,{open:u,multiselect:c}),C=f();switch(_){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":k.preventDefault();break}switch(w(!0),_){case"First":p();break;case"Last":h();break;case"Next":g(C);break;case"Previous":v(C);break;case"PageDown":b();break;case"PageUp":y();break;case"Open":i(k,!0);break;case"Close":k.stopPropagation(),i(k,!1);break;case"CloseSelect":!c&&!C?.disabled&&i(k,!1);case"Select":C&&l(k,C);break;case"Tab":!c&&C&&l(k,C);break}})}function D2(e,o,n){"use no memo";const{state:{open:i,setOpen:l,getOptionById:c},defaultProps:u,activeDescendantController:f}=n,p=S.useRef(""),[h,g]=Qf(),v=(k,_={startFromNext:!1})=>{const{startFromNext:C}=_,N=f.active(),T=f.find(z=>{const j=c(z);return!!j&&k(j.text)},{startFrom:C?f.next({passive:!0}):N});return T||f.find(z=>{const j=c(z);return!!j&&k(j.text)})},y=()=>{v(k=>k.toLocaleLowerCase().indexOf(p.current)===0,{startFromNext:p.current.length===1})||I2(p.current)&&v(k=>k.toLocaleLowerCase().indexOf(p.current[0])===0,{startFromNext:!0})||f.blur()},b=k=>{g(),kc(k)==="Type"&&(p.current+=k.key.toLowerCase(),h(()=>{p.current=""},500),i&&y(),!i&&l(k,!0))},w=R2(e,o,{state:n.state,defaultProps:u,elementType:"button",activeDescendantController:f});return w.onKeyDown=Nt(b,w.onKeyDown),w}function I2(e){for(let o=1;o<e.length;o++)if(e[o]!==e[o-1])return!1;return!0}const O2=(e,o)=>{"use no memo";var n;e=qs(e,{supportsLabelFor:!0,supportsSize:!0});const{listboxRef:i,activeParentRef:l,controller:c}=km({matchOption:pe=>pe.classList.contains(Ls.root)}),u=E2({...e,activeDescendantController:c,freeform:!1}),{clearable:f,clearSelection:p,disabled:h,hasFocus:g,multiselect:v,open:y,selectedOptions:b,setOpen:w}=u,{primary:k,root:_}=vs({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[C,N]=P2(e),T=S.useRef(null),z=j2(e.listbox,xt(C,i),{state:u,triggerRef:T,defaultProps:{children:e.children}}),{targetDocument:j}=kt();Xb({element:j,callback:pe=>w(pe,!1),refs:[T,C,N],disabled:!y});var q;const A=D2((q=e.button)!==null&&q!==void 0?q:{},xt(T,l,o),{state:u,defaultProps:{type:"button",tabIndex:k.disabled?void 0:0,children:u.value||e.placeholder,"aria-controls":y?z?.id:void 0,...k},activeDescendantController:c}),W=Oe(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&y?z?.id:void 0,children:e.children,..._},elementType:"div"});W.ref=xt(W.ref,N);const J=b.length>0&&!h&&f&&!v,te={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:xc},root:W,button:A,listbox:y||g?z:void 0,clearButton:qe(e.clearButton,{defaultProps:{"aria-label":"Clear selection",children:S.createElement(xm,null),tabIndex:J?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:qe(e.expandIcon,{renderByDefault:!0,defaultProps:{children:S.createElement(Kk,null)},elementType:"span"}),placeholderVisible:!u.value&&!!e.placeholder,showClearButton:J,activeDescendantController:c,...u},ve=Ce(Nt((n=te.clearButton)===null||n===void 0?void 0:n.onClick,pe=>{var $;p(pe),($=T.current)===null||$===void 0||$.focus()}));return te.clearButton&&(te.clearButton.onClick=ve),v&&(te.clearButton=void 0),te},A2=(e,o)=>le(e.root,{children:le(hm,{value:o.activeDescendant,children:le(wn.Provider,{value:o.listbox,children:ht(dh.Provider,{value:o.combobox,children:[ht(e.button,{children:[e.button.children,e.expandIcon&&le(e.expandIcon,{})]}),e.clearButton&&le(e.clearButton,{}),e.listbox&&(e.inlinePopup?le(e.listbox,{}):le(sh,{mountNode:e.mountNode,children:le(e.listbox,{})}))]})})})}),li={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},q2=ue({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",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:"f13evtba",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",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",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:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},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:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{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:"fs2rfia"},"filled-darker":{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:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},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"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".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}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 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);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".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);}",".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);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".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);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@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)"}],["@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)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],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);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),M2=ue({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),L2=dt("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[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);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[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){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),H2=e=>{"use no memo";const{appearance:o,open:n,placeholderVisible:i,showClearButton:l,size:c}=e,u=`${e.button["aria-invalid"]}`=="true",f=e.button.disabled,p=q2(),h=M2(),g=L2();return e.root.className=re(li.root,p.root,p[o],!f&&o==="outline"&&p.outlineInteractive,u&&o!=="underline"&&p.invalid,u&&o==="underline"&&p.invalidUnderline,f&&p.disabled,e.root.className),e.button.className=re(li.button,p.button,p[c],i&&p.placeholder,f&&p.disabledText,e.button.className),e.listbox&&(e.listbox.className=re(li.listbox,p.listbox,e.inlinePopup&&p.inlineListbox,!n&&p.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=re(li.expandIcon,h.icon,h[c],f&&h.disabled,l&&p.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=re(li.clearButton,g,h.icon,h[c],f&&h.disabled,!l&&p.hidden,e.clearButton.className)),e},ai=S.forwardRef((e,o)=>{const n=O2(e,o),i=b2(n);return H2(n),ot("useDropdownStyles_unstable")(n),A2(n,i)});ai.displayName="Dropdown";const W2=(e,o)=>{e=qs(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Uf();var i;const{size:l="medium",appearance:c=(i=n.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",onChange:u}=e,[f,p]=Gr({state:e.value,defaultState:e.defaultValue,initialState:""}),h=vs({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),g={size:l,appearance:c,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Oe(e.input,{defaultProps:{type:"text",ref:o,...h.primary},elementType:"input"}),contentAfter:qe(e.contentAfter,{elementType:"span"}),contentBefore:qe(e.contentBefore,{elementType:"span"}),root:Oe(e.root,{defaultProps:h.root,elementType:"span"})};return g.input.value=f,g.input.onChange=Ce(v=>{const y=v.target.value;u?.(v,{value:y}),p(y)}),g},Hs={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},$2=dt("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;}}"]}),V2=ue({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;}"]}),U2=dt("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;}"]),G2=ue({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);}"]}),K2=dt("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),X2=ue({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;}"]}),Q2=e=>{"use no memo";const{size:o,appearance:n}=e,i=e.input.disabled,l=`${e.input["aria-invalid"]}`=="true",c=n.startsWith("filled"),u=V2(),f=G2(),p=X2();e.root.className=re(Hs.root,$2(),u[o],e.contentBefore&&u[`${o}WithContentBefore`],e.contentAfter&&u[`${o}WithContentAfter`],u[n],!i&&n==="outline"&&u.outlineInteractive,!i&&n==="underline"&&u.underlineInteractive,!i&&c&&u.filledInteractive,c&&u.filled,!i&&l&&u.invalid,i&&u.disabled,e.root.className),e.input.className=re(Hs.input,U2(),f[o],e.contentBefore&&f[`${o}WithContentBefore`],e.contentAfter&&f[`${o}WithContentAfter`],i&&f.disabled,e.input.className);const h=[K2(),i&&p.disabled,p[o]];return e.contentBefore&&(e.contentBefore.className=re(Hs.contentBefore,...h,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=re(Hs.contentAfter,...h,e.contentAfter.className)),e},hh=S.createContext(void 0),Y2={};hh.Provider;const J2=()=>S.useContext(hh)||Y2,Z2=e=>ht(e.root,{children:[le(e.input,{}),le(e.indicator,{}),e.label&&le(e.label,{})]}),e_=(e,o)=>{const n=J2(),{name:i=n.name,checked:l=n.value!==void 0?n.value===e.value:void 0,defaultChecked:c=n.defaultValue!==void 0?n.defaultValue===e.value:void 0,labelPosition:u=n.layout==="horizontal-stacked"?"below":"after",disabled:f=n.disabled,required:p=n.required,"aria-describedby":h=n["aria-describedby"],onChange:g}=e,v=vs({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),y=Oe(e.root,{defaultProps:{ref:fn(),...v.root},elementType:"span"}),b=Oe(e.input,{defaultProps:{ref:o,type:"radio",id:Qt("radio-",v.primary.id),name:i,checked:l,defaultChecked:c,disabled:f,required:p,"aria-describedby":h,...v.primary},elementType:"input"});b.onChange=Nt(b.onChange,_=>g?.(_,{value:_.currentTarget.value}));const w=qe(e.label,{defaultProps:{htmlFor:b.id,disabled:b.disabled},elementType:Wo}),k=Oe(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:Wo,indicator:"div"},root:y,input:b,label:w,indicator:k}},Ws={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},t_=dt("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::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);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::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){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),r_=ue({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),o_=dt("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),n_=ue({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),i_=dt("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),s_=ue({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),l_=e=>{"use no memo";const{labelPosition:o}=e,n=t_(),i=r_();e.root.className=re(Ws.root,n,o==="below"&&i.vertical,e.root.className);const l=o_(),c=n_();e.input.className=re(Ws.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=i_();e.indicator.className=re(Ws.indicator,u,e.indicator.className);const f=s_();return e.label&&(e.label.className=re(Ws.label,f.base,f[o],e.label.className)),e},Sc=S.forwardRef((e,o)=>{const n=e_(e,o);return l_(n),ot("useRadioStyles_unstable")(n),Z2(n)});Sc.displayName="Radio";const gh=S.createContext(void 0),a_={};gh.Provider;const c_=()=>{var e;return(e=S.useContext(gh))!==null&&e!==void 0?e:a_},u_=(e,o)=>{const{size:n}=c_(),{appearance:i="primary",labelPosition:l="after",size:c=n??"medium",delay:u=0}=e,f=Qt("spinner"),{role:p="progressbar",...h}=e,g=Oe(wt("div",{ref:o,role:p,...h},["size"]),{elementType:"div"}),[v,y]=S.useState(!1),[b,w]=Qf();S.useEffect(()=>{if(!(u<=0))return b(()=>{y(!0)},u),()=>{w()}},[b,w,u]);const k=qe(e.label,{defaultProps:{id:f},renderByDefault:!1,elementType:Wo}),_=qe(e.spinner,{renderByDefault:!0,elementType:"span"});return k&&g&&!g["aria-labelledby"]&&(g["aria-labelledby"]=k.id),{appearance:i,delay:u,labelPosition:l,size:c,shouldRenderSpinner:!u||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:Wo},root:g,spinner:_,spinnerTail:Oe(e.spinnerTail,{elementType:"span"}),label:k}},d_=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return ht(e.root,{children:[e.label&&n&&(o==="above"||o==="before")&&le(e.label,{}),e.spinner&&n&&le(e.spinner,{children:e.spinnerTail&&le(e.spinnerTail,{})}),e.label&&n&&(o==="below"||o==="after")&&le(e.label,{})]})},$s={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},f_=dt("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),p_=ue({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),m_=dt("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;}}"]}),h_=dt("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;}}"]}),g_=ue({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)"}]]}),v_=ue({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);}"]}),b_=e=>{"use no memo";const{labelPosition:o,size:n,appearance:i}=e,{dir:l}=kt(),c=f_(),u=p_(),f=m_(),p=g_(),h=h_(),g=v_();return e.root.className=re($s.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=re($s.spinner,f,p[n],i==="inverted"&&p.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=re($s.spinnerTail,h,l==="rtl"&&p.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=re($s.label,g[n],i==="inverted"&&g.inverted,e.label.className)),e},qr=S.forwardRef((e,o)=>{const n=u_(e,o);return b_(n),ot("useSpinnerStyles_unstable")(n),d_(n)});qr.displayName="Spinner";const vh=(e,o)=>{const{wrap:n,truncate:i,block:l,italic:c,underline:u,strikethrough:f,size:p,font:h,weight:g,align:v}=e;return{align:v??"start",block:l??!1,font:h??"base",italic:c??!1,size:p??300,strikethrough:f??!1,truncate:i??!1,underline:u??!1,weight:g??"regular",wrap:n??!0,components:{root:"span"},root:Oe(wt("span",{ref:o,...e}),{elementType:"span"})}},bh=e=>le(e.root,{}),y_={root:"fui-Text"},w_=ue({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;}"]}),yh=e=>{"use no memo";const o=w_();return e.root.className=re(y_.root,o.root,e.wrap===!1&&o.nowrap,e.truncate&&o.truncate,e.block&&o.block,e.italic&&o.italic,e.underline&&o.underline,e.strikethrough&&o.strikethrough,e.underline&&e.strikethrough&&o.strikethroughUnderline,e.size===100&&o.base100,e.size===200&&o.base200,e.size===400&&o.base400,e.size===500&&o.base500,e.size===600&&o.base600,e.size===700&&o.hero700,e.size===800&&o.hero800,e.size===900&&o.hero900,e.size===1e3&&o.hero1000,e.font==="monospace"&&o.monospace,e.font==="numeric"&&o.numeric,e.weight==="medium"&&o.weightMedium,e.weight==="semibold"&&o.weightSemibold,e.weight==="bold"&&o.weightBold,e.align==="center"&&o.alignCenter,e.align==="end"&&o.alignEnd,e.align==="justify"&&o.alignJustify,e.root.className),e},eo=S.forwardRef((e,o)=>{const n=vh(e,o);return yh(n),ot("useTextStyles_unstable")(n),bh(n)});eo.displayName="Text";function wh(e){const{useStyles:o,className:n,displayName:i}=e,l=S.forwardRef((c,u)=>{"use no memo";const f=o(),p=vh(c,u);return yh(p),p.root.className=re(n,p.root.className,f.root,c.className),bh(p)});return l.displayName=i,l}const k_=wh({useStyles:ue({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]}),className:{root:"fui-Title2"}.root,displayName:"Title2"}),ci=wh({useStyles:ue({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),className:{root:"fui-Title3"}.root,displayName:"Title3"}),ui=()=>{},kh={allRowsSelected:!1,clearRows:ui,deselectRow:ui,isRowSelected:()=>!1,selectRow:ui,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:ui,toggleRow:ui,selectionMode:"multiselect"};function x_(e){"use no memo";return o=>S_(o,e)}function S_(e,o){const{items:n,getRowId:i}=e,{selectionMode:l,defaultSelectedItems:c,selectedItems:u,onSelectionChange:f}=o,[p,h]=oy({selectionMode:l,defaultSelectedItems:c,selectedItems:u,onSelectionChange:f}),g=S.useMemo(()=>{const T=new Set;for(let j=0;j<n.length;j++){var z;T.add((z=i?.(n[j]))!==null&&z!==void 0?z:j)}return T},[n,i]),v=S.useMemo(()=>{if(l==="single"){const z=Array.from(p)[0];return g.has(z)}if(p.size<g.size||g.size===0)return!1;let T=!0;return g.forEach(z=>{p.has(z)||(T=!1)}),T},[g,p,l]),y=S.useMemo(()=>{if(p.size<=0)return!1;let T=!1;return g.forEach(z=>{p.has(z)&&(T=!0)}),T},[g,p]),b=Ce(T=>{h.toggleAllItems(T,n.map((z,j)=>{var q;return(q=i?.(z))!==null&&q!==void 0?q:j}))}),w=Ce((T,z)=>h.toggleItem(T,z)),k=Ce((T,z)=>h.deselectItem(T,z)),_=Ce((T,z)=>h.selectItem(T,z)),C=T=>h.isSelected(T),N=Ce(T=>h.clearItems(T));return{...e,selection:{selectionMode:l,someRowsSelected:y,allRowsSelected:v,selectedRows:p,toggleRow:w,toggleAllRows:b,clearRows:N,deselectRow:k,selectRow:_,isRowSelected:C}}}const _c=()=>{},xh={getSortDirection:()=>"ascending",setColumnSort:_c,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:_c};function __(e){"use no memo";return o=>B_(o,e)}function B_(e,o){const{columns:n}=e,{sortState:i,defaultSortState:l,onSortChange:c=_c}=o,[u,f]=Gr({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:l,state:i}),{sortColumn:p,sortDirection:h}=u,g=Ce(c),v=S.useCallback((k,_)=>{f(C=>{const N={...C,sortColumn:_};return C.sortColumn===_?N.sortDirection=C.sortDirection==="ascending"?"descending":"ascending":N.sortDirection="ascending",g?.(k,N),N})},[g,f]),y=(k,_,C)=>{const N={sortColumn:_,sortDirection:C};g?.(k,N),f(N)},b=S.useCallback(k=>k.slice().sort((_,C)=>{const N=n.find(z=>z.columnId===p);if(!N?.compare)return 0;const T=h==="ascending"?1:-1;return N.compare(_.item,C.item)*T}),[n,p,h]);return{...e,sort:{sort:b,sortColumn:p,sortDirection:h,setColumnSort:y,toggleColumnSort:v,getSortDirection:k=>p===k?h:void 0}}}const C_=(e,o)=>{const n=Ce(i=>{var l;(l=e.onClick)===null||l===void 0||l.call(e,i),i.stopPropagation()});return{components:{root:"div"},root:Oe(wt("div",{ref:o,...e,onClick:n}),{elementType:"div"})}},z_=e=>le(e.root,{}),N_={root:"fui-TableResizeHandle"},T_=ue({root:{qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk",B5kzvoi:"f1yab3r1",a9b677:"fjw5fx7",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fg06o1j",Bceei9c:"fc3en1c",abs64n:"fk73vx1",Bmy1vo4:"f13u1uyl",B3o57yi:"fezquic",Bj3rh1h:"f19g0ac",B3cna0y:"f1tkae59",Brovlpu:"ftqa4ok",B7zu5sd:"f15pjodv",Bsft5z2:"f1rcdj94",ap17g6:"f2gz7yw",a2br6o:"ff2ryt5",E3zdtr:"f1mdlcz9",Eqx8gd:["f10awi5f","f1nzedbg"],bn5sak:"frwkxtg",By385i5:"fo72kxq",Bjyk6c5:"fdlpgxj"}},{d:[".f1euv43f{position:absolute;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".fjw5fx7{width:16px;}",[".fg06o1j{margin:0 -8px;}",{p:-1}],".fc3en1c{cursor:col-resize;}",".fk73vx1{opacity:0;}",".f13u1uyl{transition-property:opacity;}",".fezquic{transition-duration:.2s;}",".f19g0ac{z-index:1;}",'.f1rcdj94::after{content:" ";}',".f2gz7yw::after{display:block;}",".ff2ryt5::after{width:1px;}",".f1mdlcz9::after{position:absolute;}",".f10awi5f::after{left:50%;}",".f1nzedbg::after{right:50%;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}"],f:[".f1tkae59:focus{opacity:1;}",".ftqa4ok:focus{outline-style:none;}"],h:[".f15pjodv:hover{opacity:1;}"]}),E_=e=>{"use no memo";const o=T_();return e.root.className=re(N_.root,o.root,e.root.className),e},Sh=S.forwardRef((e,o)=>{const n=C_(e,o);return E_(n),ot("useTableResizeHandleStyles_unstable")(n),z_(n)});Sh.displayName="TableResizeHandle";function P_(){const[e,o]=S.useState(0),n=S.useRef(void 0),i=S.useRef(null),{targetDocument:l}=kt(),c=S.useCallback(()=>{var f;const p=(f=n.current)===null||f===void 0?void 0:f.getBoundingClientRect().width;o(p||0)},[]),u=S.useCallback(f=>{if(l&&(!f&&i.current&&n.current&&i.current.unobserve(n.current),n.current=void 0,f?.parentElement)){var p;n.current=f.parentElement,c(),(p=i.current)===null||p===void 0||p.observe(n.current)}},[l,c]);return S.useEffect(()=>{if(i.current=j_(l,c),!(!n.current||!i.current))return i.current.observe(n.current),()=>{var f;(f=i.current)===null||f===void 0||f.disconnect()}},[c,l]),{width:e,measureElementRef:u}}function j_(e,o){var n;return!(e==null||(n=e.defaultView)===null||n===void 0)&&n.ResizeObserver?new e.defaultView.ResizeObserver(o):null}function R_(e){const o=S.useRef(0),n=S.useRef(0),i=S.useRef(void 0),[l,c]=S.useState(!1),{targetDocument:u}=kt(),{getColumnWidth:f,setColumnWidth:p}=e,h=S.useCallback(w=>{const{clientX:k}=Yf(w),_=k-o.current;n.current+=_,i.current&&p(w,{columnId:i.current,width:n.current}),o.current=k},[p]),[g]=Mb(),v=S.useCallback(w=>{g(()=>h(w))},[g,h]),y=S.useCallback(w=>{Oa(w)&&(u?.removeEventListener("mouseup",y),u?.removeEventListener("mousemove",v)),Ia(w)&&(u?.removeEventListener("touchend",y),u?.removeEventListener("touchmove",v)),c(!1)},[v,u]);return{getOnMouseDown:S.useCallback(w=>k=>{if(n.current=f(w),o.current=Yf(k).clientX,i.current=w,Oa(k)){if(k.target!==k.currentTarget||k.button!==0)return;u?.addEventListener("mouseup",y),u?.addEventListener("mousemove",v),c(!0)}Ia(k)&&(u?.addEventListener("touchend",y),u?.addEventListener("touchmove",v),c(!0))},[f,v,y,u]),dragging:l}}const F_=150,D_=100;function Bc(e,o=[],n={}){let i=!1;const l=new Map(o.map(u=>[u.columnId,u])),c=e.map(u=>{const f=l.get(u.columnId);if(f){var p;const{idealWidth:w=f.idealWidth,minWidth:k=f.minWidth,padding:_=f.padding}=(p=n[u.columnId])!==null&&p!==void 0?p:{};return w!==f.idealWidth||k!==f.minWidth||_!==f.padding?(i=!0,{...f,idealWidth:w,width:w,minWidth:k,padding:_}):f}var h;const{defaultWidth:g,idealWidth:v=F_,minWidth:y=D_,padding:b}=(h=n[u.columnId])!==null&&h!==void 0?h:{};return i=!0,{columnId:u.columnId,width:Math.max(g??v,y),minWidth:y,idealWidth:Math.max(g??v,y),padding:b??16}});if(c.length!==o.length||i){const u=c.find(f=>f.width>f.idealWidth);u&&(u.width=u.idealWidth),i=!0}return i?c:o}function di(e,o){return e.find(n=>n.columnId===o)}function Cc(e,o){return e[o]}function I_(e){return e.reduce((o,n)=>o+n.width+n.padding,0)}function O_(e,o){const n=di(e,o);var i;return(i=n?.width)!==null&&i!==void 0?i:0}function fi(e,o,n,i){const l=di(e,o);if(!l||l?.[n]===i)return e;const c={...l,[n]:i};return e.reduce((f,p)=>p.columnId===c.columnId?[...f,c]:[...f,p],[])}function Vs(e,o){let n=e;const i=I_(n);if(i<o){let l=o-i,c=0;for(;c<n.length&&l>0;){const u=Cc(n,c);if(!u)break;const f=Math.min(u.idealWidth-u.width,l);if(n=fi(n,u.columnId,"width",u.width+f),l-=f,c===n.length-1&&l!==0){const p=Cc(n,c);p&&(n=fi(n,p.columnId,"width",p.width+l))}c++}}else if(i>=o){let l=i-o,c=n.length-1;for(;c>=0&&l>0;){const u=Cc(n,c);if(!u){c--;continue}if(u.width>u.minWidth){const f=Math.min(u.width-u.minWidth,l);l-=f,n=fi(n,u.columnId,"width",u.width-f)}c--}}return n}const A_=e=>(o,n)=>{switch(n.type){case"CONTAINER_WIDTH_UPDATED":return{...o,containerWidth:n.containerWidth,columnWidthState:e?Vs(o.columnWidthState,n.containerWidth):o.columnWidthState};case"COLUMNS_UPDATED":const i=Bc(n.columns,o.columnWidthState,o.columnSizingOptions);return{...o,columns:n.columns,columnWidthState:e?Vs(i,o.containerWidth):i};case"COLUMN_SIZING_OPTIONS_UPDATED":const l=Bc(o.columns,o.columnWidthState,n.columnSizingOptions);return{...o,columnSizingOptions:n.columnSizingOptions,columnWidthState:e?Vs(l,o.containerWidth):l};case"SET_COLUMN_WIDTH":const{columnId:c,width:u}=n,{containerWidth:f}=o,p=di(o.columnWidthState,c);let h=[...o.columnWidthState];return p?(h=fi(h,c,"width",u),h=fi(h,c,"idealWidth",u),e&&(h=Vs(h,f)),{...o,columnWidthState:h}):o}};function q_(e,o,n={}){const{onColumnResize:i,columnSizingOptions:l,autoFitColumns:c=!0}=n,u=S.useMemo(()=>A_(c),[c]),[f,p]=S.useReducer(u,{columns:e,containerWidth:0,columnWidthState:Bc(e,void 0,l),columnSizingOptions:l});sr(()=>{p({type:"CONTAINER_WIDTH_UPDATED",containerWidth:o})},[o]),sr(()=>{p({type:"COLUMNS_UPDATED",columns:e})},[e]),sr(()=>{p({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:l})},[l]);const h=Ce((g,v)=>{let{width:y}=v;const{columnId:b}=v,w=di(f.columnWidthState,b);w&&(y=Math.max(w.minWidth||0,y),i&&i(g,{columnId:b,width:y}),p({type:"SET_COLUMN_WIDTH",columnId:b,width:y}))});return{getColumnById:S.useCallback(g=>di(f.columnWidthState,g),[f.columnWidthState]),getColumns:S.useCallback(()=>f.columnWidthState,[f.columnWidthState]),getColumnWidth:S.useCallback(g=>O_(f.columnWidthState,g),[f.columnWidthState]),setColumnWidth:h}}const Us=20,M_=Rk,_h=1/4;function L_(e){const[o,n]=S.useState(),i=S.useRef(void 0),{findPrevFocusable:l}=Cs(),c=S.useRef(e);S.useEffect(()=>{c.current=e},[e]);const[u]=S.useState(()=>new Map),f=Ce(b=>{if(!o)return;const w=c.current.getColumnWidth(o),k=b.getModifierState(M_),_=()=>{b.preventDefault(),b.stopPropagation()};switch(b.key){case cm:_(),c.current.setColumnWidth(b.nativeEvent,{columnId:o,width:w-(k?Us*_h:Us)});return;case um:_(),c.current.setColumnWidth(b.nativeEvent,{columnId:o,width:w+(k?Us*_h:Us)});return;case Dr:case Lo:case pm:var C,N;_(),(N=u.get(o))===null||N===void 0||(C=N.current)===null||C===void 0||C.blur();break}}),p=S.useCallback(b=>{var w,k;n(b),(w=i.current)===null||w===void 0||w.call(i,b,!0);const _=(k=u.get(b))===null||k===void 0?void 0:k.current;_&&(_.setAttribute("tabindex","-1"),_.tabIndex=-1,_.focus())},[u]),h=S.useCallback(()=>{var b,w;if(!o)return;(b=i.current)===null||b===void 0||b.call(i,o,!1);const k=(w=u.get(o))===null||w===void 0?void 0:w.current;if(k){var _;(_=l(k))===null||_===void 0||_.focus(),k.removeAttribute("tabindex")}n(void 0)},[o,l,u]),g=(b,w)=>{i.current=w,o?b&&o!==b?(p(b),n(b)):h():p(b)},v=S.useCallback(b=>{const w=u.get(b)||S.createRef();return u.set(b,w),w},[u]),y=Ya({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:g,columnId:o,getKeyboardResizingProps:S.useCallback((b,w)=>({onKeyDown:f,onBlur:h,ref:v(b),role:"separator","aria-label":"Resize column","aria-valuetext":`${w} pixels`,"aria-hidden":b!==o,tabIndex:b===o?0:void 0,...y}),[o,h,v,f,y])}}const Bh={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function H_(e){"use no memo";return o=>W_(o,{autoFitColumns:!0,...e})}function Ch(e,o){const n=e.width;return{width:n,minWidth:n,maxWidth:n,...o?{pointerEvents:"none"}:{}}}function W_(e,o={}){const{columns:n}=e,{width:i,measureElementRef:l}=P_(),c=q_(n,i+(o?.containerWidthOffset||0),o),u=R_(c),{toggleInteractiveMode:f,getKeyboardResizingProps:p}=L_(c),{autoFitColumns:h}=o,g=S.useCallback((_,C)=>N=>{N.preventDefault(),N.nativeEvent.stopPropagation(),f(_,C)},[f]),{getColumnById:v,setColumnWidth:y,getColumns:b}=c,{getOnMouseDown:w,dragging:k}=u;return{...e,tableRef:l,columnSizing_unstable:{getOnMouseDown:w,setColumnWidth:(_,C)=>y(void 0,{columnId:_,width:C}),getColumnWidths:b,getTableProps:(_={})=>({..._,style:{minWidth:"fit-content",..._.style||{}}}),getTableHeaderCellProps:S.useCallback(_=>{var C;const N=v(_),z=((C=n[n.length-1])===null||C===void 0?void 0:C.columnId)===_&&h?null:S.createElement(Sh,{onMouseDown:w(_),onTouchStart:w(_),...p(_,N?.width||0)});return N?{style:Ch(N,k),aside:z}:{}},[v,n,k,p,w,h]),getTableCellProps:S.useCallback(_=>{const C=v(_);return C?{style:Ch(C)}:{}},[v]),enableKeyboardMode:g}}}const $_=e=>e,V_={selection:kh,sort:xh,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:Bh,tableRef:S.createRef()};function U_(e,o=[]){const{items:n,getRowId:i,columns:l}=e,c=S.useCallback((f=$_)=>n.map((p,h)=>{var g;return f({item:p,rowId:(g=i?.(p))!==null&&g!==void 0?g:h})}),[n,i]),u={getRowId:i,items:n,columns:l,getRows:c,selection:kh,sort:xh,columnSizing_unstable:Bh,tableRef:S.createRef()};return o.reduce((f,p)=>p(f),u)}const G_=()=>0,K_=()=>null,X_=()=>null;function vo(e){const{columnId:o,renderCell:n=K_,renderHeaderCell:i=X_,compare:l=G_}=e;return{columnId:o,renderCell:n,renderHeaderCell:i,compare:l}}function Q_(){const e=Ja({axis:"horizontal"}),o=Ja({axis:"grid"}),n=Bs({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:i}=Cs(),{targetDocument:l}=kt(),c=Tw(e,n);return{onTableKeyDown:S.useCallback(f=>{if(!l)return;let p=l.activeElement;if(!p||!f.currentTarget.contains(p))return;const h=p.getAttribute("role");if(f.key===um&&h==="row"&&Kr(p)){var g;(g=i(p))===null||g===void 0||g.focus()}if(h==="row")return;const v=(()=>{let y=Kr(p)?p:null;for(;y;){const b=y.getAttribute("role");if(b==="cell"||b==="gridcell")return!0;y=y.parentElement}return!1})();if(f.key===cm&&v){p.dispatchEvent(new fp({action:ks.Escape}));return}(f.key===ic||f.key===Ns)&&v&&(p.dispatchEvent(new fp({action:ks.Escape})),p=l.activeElement,p&&p.dispatchEvent(new Ry({key:et[f.key]})))},[l,i]),tableTabsterAttribute:o,tableRowTabsterAttribute:c}}const zh=S.createContext(void 0),Y_={size:"medium",noNativeElements:!1,sortable:!1},J_=zh.Provider,bo=()=>{var e;return(e=S.useContext(zh))!==null&&e!==void 0?e:Y_},Nh=(e,o)=>{const{noNativeElements:n,size:i}=bo();var l;const c=((l=e.as)!==null&&l!==void 0?l:n)?"div":"td";return{components:{root:c},root:Oe(wt(c,{ref:o,role:c==="div"?"cell":void 0,...e}),{elementType:c}),noNativeElements:n,size:i}},Z_=e=>le(e.root,{}),eB={root:"fui-TableCell"},tB=ue({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),rB=ue({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),oB=ue({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),nB=e=>{"use no memo";const o=oB(),n={table:tB(),flex:rB()};return e.root.className=re(eB.root,o.root,e.noNativeElements?n.flex.root:n.table.root,e.noNativeElements?n.flex[e.size]:n.table[e.size],e.root.className),e},Th=S.createContext(void 0),iB="",sB=Th.Provider,zc=()=>S.useContext(Th)===iB,lB=(e,o)=>{const{noNativeElements:n,size:i}=bo();var l;const c=((l=e.as)!==null&&l!==void 0?l:n)?"div":"tr",u=Za(),f=fn(),p=zc();var h;return{components:{root:c},root:Oe(wt(c,{ref:xt(o,u,f),role:c==="div"?"row":void 0,...e}),{elementType:c}),size:i,noNativeElements:n,appearance:(h=e.appearance)!==null&&h!==void 0?h:"none",isHeaderRow:p}},Nc={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},aB=ue({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),cB=ue({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"fvrlu0f",B2u0y6b:"f1c71y05",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".fvrlu0f{min-width:44px;}",".f1c71y05{max-width:44px;}",".f4d9j23{justify-content:center;}"]}),uB=ue({root:{fsow6f:"f17mccla",Huce71:"fz5stix",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},radioIndicator:{mc9l5x:"f22iagw",Bh6795r:"fqerorx",Bt984gj:"f122n59",Brf1p80:"f4d9j23"},subtle:{abs64n:"fk73vx1",B8a84jv:"f1y7ij6c"},hidden:{abs64n:"fk73vx1"}},{d:[".f17mccla{text-align:center;}",".fz5stix{white-space:nowrap;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fk73vx1{opacity:0;}",".f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}"]}),dB=e=>{"use no memo";const o=uB(),n={table:aB(),flex:cB()};return e.root.className=re(Nc.root,o.root,e.noNativeElements?n.flex.root:n.table.root,e.subtle&&e.checked===!1&&o.subtle,e.hidden&&o.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=re(Nc.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=re(Nc.radioIndicator,o.radioIndicator,e.radioIndicator.className)),e},fB={root:"fui-TableRow"},pB=ue({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),mB=ue({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),hB=ue({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",Bahaeuw:"f1v3eptx",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq"},neutral:{wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{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){.f1msmgpi{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbo0xvd{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjuvmhu{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kvufhq:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),gB=e=>{"use no memo";const o=hB(),n={table:pB(),flex:mB()};return e.root.className=re(fB.root,o.root,!e.isHeaderRow&&o.rootInteractive,o[e.size],e.noNativeElements?n.flex.root:n.table.root,o[e.appearance],e.root.className),e},vB=(e,o)=>{const{noNativeElements:n}=bo();var i;const l=((i=e.as)!==null&&i!==void 0?i:n)?"div":"tbody";return{components:{root:l},root:Oe(wt(l,{ref:o,role:l==="div"?"rowgroup":void 0,...e}),{elementType:l}),noNativeElements:n}},bB=ue({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),yB=ue({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),wB="fui-TableBody",kB=e=>{"use no memo";const o={table:bB(),flex:yB()};return e.root.className=re(wB,e.noNativeElements?o.flex.root:o.table.root,e.root.className),e},xB=(e,o)=>{var n;const i=((n=e.as)!==null&&n!==void 0?n:e.noNativeElements)?"div":"table";var l,c,u;return{components:{root:i},root:Oe(wt(i,{ref:o,role:i==="div"?"table":void 0,...e}),{elementType:i}),size:(l=e.size)!==null&&l!==void 0?l:"medium",noNativeElements:(c=e.noNativeElements)!==null&&c!==void 0?c:!1,sortable:(u=e.sortable)!==null&&u!==void 0?u:!1}},SB=(e,o)=>le(J_,{value:o.table,children:le(e.root,{})}),_B="fui-Table",BB=ue({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),CB=ue({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),zB=ue({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),NB=e=>{"use no memo";const o=zB(),n={table:BB(),flex:CB()};return e.root.className=re(_B,o.root,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e};function TB(e){const{size:o,noNativeElements:n,sortable:i}=e;return{table:S.useMemo(()=>({noNativeElements:n,size:o,sortable:i}),[n,o,i])}}const EB=(e,o)=>{const{noNativeElements:n}=bo();var i;const l=((i=e.as)!==null&&i!==void 0?i:n)?"div":"thead";return{components:{root:l},root:Oe(wt(l,{ref:o,role:l==="div"?"rowgroup":void 0,...e}),{elementType:l}),noNativeElements:n}},PB=e=>le(sB,{value:"",children:le(e.root,{})}),jB="fui-TableHeader",RB=ue({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),FB=ue({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),DB=e=>{"use no memo";const o={table:FB(),flex:RB()};return e.root.className=re(jB,e.noNativeElements?o.flex.root:o.table.root,e.root.className),e},IB={ascending:S.createElement(Uk,{fontSize:12}),descending:S.createElement(Vk,{fontSize:12})},OB=(e,o)=>{const{noNativeElements:n,sortable:i}=bo(),{sortable:l=i}=e;var c;const u=((c=e.as)!==null&&c!==void 0?c:n)?"div":"th",f=Oe(e.button,{elementType:"div",defaultProps:{as:"div"}}),p=mm(f.as,f);var h;return{components:{root:u,button:"div",sortIcon:"span",aside:"span"},root:Oe(wt(u,{ref:xt(o,fn()),role:u==="div"?"columnheader":void 0,"aria-sort":l?(h=e.sortDirection)!==null&&h!==void 0?h:"none":void 0,...e}),{elementType:u}),aside:qe(e.aside,{elementType:"span"}),sortIcon:qe(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?IB[e.sortDirection]:void 0},elementType:"span"}),button:l?p:f,sortable:l,noNativeElements:n}},AB=e=>ht(e.root,{children:[ht(e.button,{children:[e.root.children,e.sortIcon&&le(e.sortIcon,{})]}),e.aside&&le(e.aside,{})]}),Gs={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},qB=ue({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),MB=ue({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),LB=ue({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",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:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),HB=e=>{"use no memo";const o=LB(),n={table:qB(),flex:MB()};return e.root.className=re(Gs.root,o.root,e.sortable&&o.rootInteractive,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e.button.className=re(Gs.button,o.resetButton,o.button,e.sortable&&o.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=re(Gs.sortIcon,o.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=re(Gs.aside,o.resizeHandle,e.aside.className)),e},Eh=S.createContext(void 0),WB="",Ph=()=>{var e;return(e=S.useContext(Eh))!==null&&e!==void 0?e:WB},$B=Eh.Provider,jh=S.createContext(void 0),VB="",Rh=()=>{var e;return(e=S.useContext(jh))!==null&&e!==void 0?e:VB},UB=jh.Provider,GB=(e,o)=>{const n=Nh(e,xt(o,fn())),{noNativeElements:i}=bo(),{type:l="checkbox",checked:c=!1,subtle:u=!1,hidden:f=!1,invisible:p=!1}=e;return{...n,components:{...n.components,checkboxIndicator:wc,radioIndicator:Sc},checkboxIndicator:qe(e.checkboxIndicator,{renderByDefault:l==="checkbox",defaultProps:{checked:e.checked},elementType:wc}),radioIndicator:qe(e.radioIndicator,{renderByDefault:l==="radio",defaultProps:{checked:!!c,input:{name:Qt("table-selection-radio")}},elementType:Sc}),type:l,checked:c,noNativeElements:i,subtle:u,hidden:p||f}},KB=e=>ht(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&le(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&le(e.radioIndicator,{})]}),Fh=nc(void 0),Dh={...V_,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},XB=Fh.Provider,Xe=e=>lm(Fh,(o=Dh)=>e(o)),QB=(e,o)=>{const{focusMode:n="cell"}=e,i=Ph(),l=Xe(p=>(p.focusMode==="cell"||p.focusMode==="composite")&&n!=="none"),c=Xe(p=>p.resizableColumns),u=Xe(p=>p.columnSizing_unstable.getTableCellProps),f=Bs({tabBehavior:"limited-trap-focus"});return Nh({as:"div",role:"gridcell",...n==="group"&&f,tabIndex:l?0:void 0,...c?u(i):{},...e},o)},YB=e=>Z_(e),JB={root:"fui-DataGridCell"},ZB=e=>{"use no memo";return nB(e),e.root.className=re(JB.root,e.root.className),e},Tc=S.forwardRef((e,o)=>{const n=QB(e,o);return ZB(n),ot("useDataGridCellStyles_unstable")(n),YB(n)});Tc.displayName="DataGridCell";const eC=(e,o)=>{const n=zc(),i=Rh(),l=Xe(h=>h.subtleSelection),c=Xe(h=>n&&h.selection.selectionMode==="multiselect"?h.selection.allRowsSelected?!0:h.selection.someRowsSelected?"mixed":!1:h.selection.isRowSelected(i)),u=Xe(h=>h.selection.toggleAllRows),f=Xe(h=>h.selection.selectionMode==="multiselect"?"checkbox":"radio"),p=Ce(h=>{var g;n&&u(h),(g=e.onClick)===null||g===void 0||g.call(e,h)});return GB({as:"div",role:"gridcell",checked:c,type:f,invisible:n&&f==="radio","aria-selected":c==="mixed"?void 0:c,subtle:l,radioIndicator:n?null:void 0,...e,onClick:p},o)},tC=e=>KB(e),Ec={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},rC=e=>{"use no memo";return dB(e),e.root.className=re(Ec.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=re(Ec.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=re(Ec.radioIndicator,e.radioIndicator.className)),e},Pc=S.forwardRef((e,o)=>{const n=eC(e,o);return rC(n),ot("useDataGridSelectionCellStyles_unstable")(n),tC(n)});Pc.displayName="DataGridSelectionCell";const oC=(e,o)=>{const n=Rh(),i=zc(),l=Xe(k=>k.columns),c=Xe(k=>k.selectableRows),u=Xe(k=>k.selection.isRowSelected(n)),f=Xe(k=>k.focusMode),p=Xe(k=>k.compositeRowTabsterAttribute),h=f==="row_unstable"||f==="composite",g=Xe(k=>!i&&c&&k.selection.isRowSelected(n)?k.selectionAppearance:"none"),v=Xe(k=>k.selection.toggleRow),y=Ce(k=>{var _;c&&!i&&v(k,n),(_=e.onClick)===null||_===void 0||_.call(e,k)}),b=Ce(k=>{var _;c&&!i&&k.key===Dr&&!ey(k.target)&&(k.preventDefault(),v(k,n)),(_=e.onKeyDown)===null||_===void 0||_.call(e,k)}),w=lB({appearance:g,"aria-selected":c?u:void 0,tabIndex:h&&!i?0:void 0,...f==="composite"&&!i&&p,...e,onClick:y,onKeyDown:b,children:null,as:"div"},o);return{...w,components:{...w.components,selectionCell:Pc},selectionCell:qe(e.selectionCell,{renderByDefault:c,elementType:Pc}),renderCell:e.children,columnDefs:l,dataGridContextValue:nC()}};function nC(){const e=S.useRef(Dh);return Xe(o=>(e.current=o,null)),e.current}const iC=e=>ht(e.root,{children:[e.selectionCell&&le(e.selectionCell,{}),e.columnDefs.map(o=>le($B,{value:o.columnId,children:e.renderCell(o,e.dataGridContextValue)},o.columnId))]}),Ih={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},sC=ue({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),lC=e=>{"use no memo";const o=Xe(i=>i.subtleSelection),n=sC();return gB(e),e.root.className=re(Ih.root,e.root.className,o&&n.subtleSelection),e.selectionCell&&(e.selectionCell.className=re(Ih.selectionCell,e.selectionCell.className)),e},pi=S.forwardRef((e,o)=>{const n=oC(e,o);return lC(n),ot("useDataGridRowStyles_unstable")(n),iC(n)});pi.displayName="DataGridRow";const aC=(e,o)=>{const{sortable:n}=bo(),i=Xe(f=>f.getRows),l=Xe(f=>f.sort.sort),c=n?l(i()):i();return{...vB({...e,children:null,as:"div"},o),rows:c,renderRow:e.children}},cC=e=>le(e.root,{children:e.rows.map(o=>le(UB,{value:o.rowId,children:e.renderRow(o)},o.rowId))}),uC={root:"fui-DataGridBody"},dC=e=>{"use no memo";return kB(e),e.root.className=re(uC.root,e.root.className),e},jc=S.forwardRef((e,o)=>{const n=aC(e,o);return dC(n),ot("useDataGridBodyStyles_unstable")(n),cC(n)});jc.displayName="DataGridBody";const fC=(e,o)=>{const{items:n,columns:i,focusMode:l="cell",selectionMode:c,onSortChange:u,onSelectionChange:f,defaultSortState:p,sortState:h,selectedItems:g,defaultSelectedItems:v,subtleSelection:y=!1,selectionAppearance:b="brand",getRowId:w,resizableColumns:k,columnSizingOptions:_,onColumnResize:C,containerWidthOffset:N,resizableColumnsOptions:T={}}=e,z=N??(c?-44:0),j=Ja({axis:"grid"}),{onTableKeyDown:q,tableTabsterAttribute:A,tableRowTabsterAttribute:W}=Q_();var J;const te=U_({items:n,columns:i,getRowId:w},[__({defaultSortState:p,sortState:h,onSortChange:u}),x_({defaultSelectedItems:v,selectedItems:g,onSelectionChange:f,selectionMode:c??"multiselect"}),H_({onColumnResize:C,columnSizingOptions:_,containerWidthOffset:z,autoFitColumns:(J=T.autoFitColumns)!==null&&J!==void 0?J:!0})]),ve=S.useRef(null),{findFirstFocusable:pe,findLastFocusable:$}=Cs(),oe=Ce(ye=>{var me;if((me=e.onKeyDown)===null||me===void 0||me.call(e,ye),l==="composite"&&q(ye),!(!ve.current||!ye.ctrlKey||ye.defaultPrevented)){if(ye.key===fm){const Z=ve.current.querySelector('[role="row"]');if(Z){var G;(G=pe(Z))===null||G===void 0||G.focus()}}if(ye.key===dm){const Z=ve.current.querySelectorAll('[role="row"]');if(Z.length){var ee;const R=Z.item(Z.length-1);(ee=$(R))===null||ee===void 0||ee.focus()}}}});return{...xB({role:"grid",as:"div",noNativeElements:!0,...l==="cell"&&j,...l==="composite"&&A,...e,onKeyDown:oe,...k?te.columnSizing_unstable.getTableProps(e):{}},xt(o,te.tableRef,ve)),focusMode:l,tableState:te,selectableRows:!!c,subtleSelection:y,selectionAppearance:b,resizableColumns:k,compositeRowTabsterAttribute:W}},pC=(e,o)=>S.createElement(XB,{value:o.dataGrid},SB(e,o)),mC={root:"fui-DataGrid"},hC=e=>{"use no memo";return NB(e),e.root.className=re(mC.root,e.root.className),e};function gC(e){const o=TB(e),{tableState:n,focusMode:i,selectableRows:l,subtleSelection:c,selectionAppearance:u,resizableColumns:f,compositeRowTabsterAttribute:p}=e;return{...o,dataGrid:{...n,focusMode:i,selectableRows:l,subtleSelection:c,selectionAppearance:u,resizableColumns:f,compositeRowTabsterAttribute:p}}}const Rc=S.forwardRef((e,o)=>{const n=fC(e,o);return hC(n),ot("useDataGridStyles_unstable")(n),pC(n,gC(n))});Rc.displayName="DataGrid";const vC=(e,o)=>EB({...e,as:"div"},o),bC=e=>PB(e),yC={root:"fui-DataGridHeader"},wC=e=>{"use no memo";return DB(e),e.root.className=re(yC.root,e.root.className),e},Fc=S.forwardRef((e,o)=>{const n=vC(e,o);return wC(n),ot("useDataGridHeaderStyles_unstable")(n),bC(n)});Fc.displayName="DataGridHeader";function kC(e){return e.compare.length>0}const xC=(e,o)=>{const n=Ph(),{sortable:i}=bo(),l=Xe(y=>y.sort.toggleColumnSort),c=Xe(y=>{const b=!!y.columns.find(w=>w.columnId===n&&kC(w));return i?b:!1}),u=Xe(y=>c?y.sort.getSortDirection(n):void 0),f=Xe(y=>y.resizableColumns),p=Xe(y=>y.columnSizing_unstable.getTableHeaderCellProps),{focusMode:h=c?"none":"cell"}=e,g=Bs({tabBehavior:"limited-trap-focus"}),v=Ce(y=>{var b;c&&l(y,n),(b=e.onClick)===null||b===void 0||b.call(e,y)});return OB({sortable:c,sortDirection:u,as:"div",tabIndex:h!=="none"?0:void 0,...h==="group"&&g,...f?p(n):{},...e,onClick:v},o)},SC=e=>AB(e),Ks={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},_C=e=>{"use no memo";return HB(e),e.root.className=re(Ks.root,e.root.className),e.button&&(e.button.className=re(Ks.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=re(Ks.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=re(Ks.aside,e.aside.className)),e},Dc=S.forwardRef((e,o)=>{const n=xC(e,o);return _C(n),ot("useDataGridHeaderCellStyles_unstable")(n),SC(n)});Dc.displayName="DataGridHeaderCell";const BC=(e,{referenceLabel:o,referenceId:n},i)=>{const{checkbox:l={},onSelectionChange:c,floatingAction:u,onClick:f,onKeyDown:p,disabled:h}=e,{findAllFocusable:g}=Cs(),v=S.useRef(null),[y,b]=Gr({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),w=[e.selected,e.defaultSelected,c].some(A=>typeof A<"u"),[k,_]=S.useState(!1),C=S.useCallback(A=>{if(!i.current)return!1;const W=g(i.current),J=A.target,te=W.some(pe=>pe.contains(J)),ve=v?.current===J;return te&&!ve},[i,g]),N=S.useCallback(A=>{if(h||C(A))return;const W=!y;b(W),c&&c(A,{selected:W})},[h,c,y,b,C]),T=S.useCallback(A=>{[Lo].includes(A.key)&&(A.preventDefault(),N(A))},[N]),z=S.useMemo(()=>{if(!w||u)return;const A={};return n?A["aria-labelledby"]=n:o&&(A["aria-label"]=o),qe(l,{defaultProps:{ref:v,type:"checkbox",checked:y,disabled:h,onChange:W=>N(W),onFocus:()=>_(!0),onBlur:()=>_(!1),...A},elementType:"input"})},[l,h,u,y,w,N,n,o]),j=S.useMemo(()=>{if(u)return qe(u,{defaultProps:{ref:v},elementType:"div"})},[u]),q=S.useMemo(()=>w?{onClick:Nt(f,N),onKeyDown:Nt(p,T)}:null,[w,N,f,p,T]);return{selected:y,selectable:w,selectFocused:k,selectableCardProps:q,checkboxSlot:z,floatingActionSlot:j}},Oh=S.createContext(void 0),Ic={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},CC=Oh.Provider,zC=()=>{var e;return(e=S.useContext(Oh))!==null&&e!==void 0?e:Ic},NC={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},TC=({focusMode:e,disabled:o=!1,...n})=>{const i=["onClick","onDoubleClick","onMouseUp","onMouseDown","onPointerUp","onPointerDown","onTouchStart","onTouchEnd","onDragStart","onDragEnd"].some(u=>n[u]),l=e??(i?"no-tab":"off"),c=Bs({tabBehavior:NC[l]});return o?{interactive:!1,focusAttributes:null}:l==="off"?{interactive:i,focusAttributes:null}:{interactive:i,focusAttributes:{...c,tabIndex:0}}},EC=(e,o)=>{const{appearance:n="filled",orientation:i="vertical",size:l="medium",disabled:c=!1,...u}=e,[f,p]=S.useState(Ic.selectableA11yProps.referenceId),[h,g]=S.useState(Ic.selectableA11yProps.referenceId),v=fn(),{selectable:y,selected:b,selectableCardProps:w,selectFocused:k,checkboxSlot:_,floatingActionSlot:C}=BC(e,{referenceId:f,referenceLabel:h},v),N=xt(v,o),{interactive:T,focusAttributes:z}=TC(e);let j={...y?null:z,...u,...w};return c&&(j={...u,"aria-disabled":!0,onClick:void 0}),{appearance:n,orientation:i,size:l,interactive:T,selectable:y,selectFocused:k,selected:b,disabled:c,selectableA11yProps:{setReferenceId:p,referenceId:f,referenceLabel:h,setReferenceLabel:g},components:{root:"div",floatingAction:"div",checkbox:"input"},root:Oe(wt("div",{ref:N,role:"group",...j}),{elementType:"div"}),floatingAction:C,checkbox:_}},PC=(e,o)=>le(e.root,{children:ht(CC,{value:o,children:[e.checkbox?le(e.checkbox,{}):null,e.floatingAction?le(e.floatingAction,{}):null,e.root.children]})}),Ah={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},jC=ue({root:{Bkc6ea2:"fkufhic",Bt984gj:"f122n59"},image:{mc9l5x:"ftuwxu6",t21cq0:["fql5097","f6yss9k"]},header:{mc9l5x:"f22iagw"},description:{mc9l5x:"f22iagw"},action:{Frg6f3:["f6yss9k","fql5097"],rjrqlh:"fs9eatd",Boue1pl:["fxoo9ru","f1g0ekvh"],Bhz1vi0:"f1m6zfxz",etxrgc:["f1g0ekvh","fxoo9ru"],Bdua9ef:"f1sret3r",cbfxhg:"fs4gbcv"}},{d:[".fkufhic{--fui-CardHeader--gap:12px;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".fql5097{margin-right:var(--fui-CardHeader--gap);}",".f6yss9k{margin-left:var(--fui-CardHeader--gap);}",".f22iagw{display:flex;}"],m:[["@media (forced-colors: active){.fs9eatd .fui-Button,.fs9eatd .fui-Link{border-top-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1g0ekvh .fui-Button,.f1g0ekvh .fui-Link{border-left-color:currentColor;}.fxoo9ru .fui-Button,.fxoo9ru .fui-Link{border-right-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m6zfxz .fui-Button,.f1m6zfxz .fui-Link{border-bottom-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1sret3r .fui-Button,.f1sret3r .fui-Link{color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fs4gbcv .fui-Button,.fs4gbcv .fui-Link{outline-color:currentColor;}}",{m:"(forced-colors: active)"}]]}),RC=ue({root:{mc9l5x:"f13qh94s",t4k1zu:"f8a668j"},image:{Br312pm:"fwpfdsa",Ijaq50:"fldnz9j"},header:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94"},description:{Br312pm:"fd46tj4",Ijaq50:"faunodf"},action:{Br312pm:"fis13di",Ijaq50:"fldnz9j"}},{d:[".f13qh94s{display:grid;}",".f8a668j{grid-auto-columns:min-content 1fr min-content;}",".fwpfdsa{grid-column-start:1;}",".fldnz9j{grid-row-start:span 2;}",".fd46tj4{grid-column-start:2;}",".f16hsg94{grid-row-start:1;}",".faunodf{grid-row-start:2;}",".fis13di{grid-column-start:3;}"]}),FC=ue({root:{mc9l5x:"f22iagw"},header:{Bh6795r:"fqerorx"},image:{},description:{},action:{}},{d:[".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}"]}),DC=e=>{"use no memo";const o=jC(),n=RC(),i=FC(),l=e.description?n:i,c=u=>{var f;return re(Ah[u],o[u],l[u],(f=e[u])===null||f===void 0?void 0:f.className)};return e.root.className=c("root"),e.image&&(e.image.className=c("image")),e.header&&(e.header.className=c("header")),e.description&&(e.description.className=c("description")),e.action&&(e.action.className=c("action")),e},Oc={root:"fui-Card",floatingAction:"fui-Card__floatingAction",checkbox:"fui-Card__checkbox"},IC=dt("rfxo2k2","rgle7w9",[".rfxo2k2{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rfxo2k2::after{position:absolute;top:0;left:0;right:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rfxo2k2>.fui-CardHeader,.rfxo2k2>.fui-CardFooter{flex-shrink:0;}",".rgle7w9{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rgle7w9::after{position:absolute;top:0;right:0;left:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rgle7w9>.fui-CardHeader,.rgle7w9>.fui-CardFooter{flex-shrink:0;}"]),OC=ue({focused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bqhya38:"f1j6vpng",Bwxa6fj:["f1pniga2","f1ffjurs"],Bdhvstf:"f987i1v",B7zbvrb:["f1ffjurs","f1pniga2"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"fpqizxz",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"fnd8nzh",J0r882:"f15fr7a0",Bule8hv:["fwsq40z","fy0y4wt"],Bjwuhne:"f34ld9f",Ghsupd:["fy0y4wt","fwsq40z"]},selectableFocused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],h6p2u:"f1ufm4qn",I6qiy5:["f1qnwcb4","fgrk5zm"],yzno9d:"fi52z01",By0wis0:["fgrk5zm","f1qnwcb4"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"f1i978nd",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1nh8hsq",B2pnrqr:"f1amxum7",B29w5g4:["f1cec8w7","f554mv0"],Bhhzhcn:"f1sj6kbr",Bec0n69:["f554mv0","f1cec8w7"]},orientationHorizontal:{Beiy3e4:"f1063pyq",Bt984gj:"f122n59",Binpb3b:"ftrw7vg",qrt8p2:"f18opajm",k6ws3r:["f13002it","fqo182t"],Btcwela:["f18yna97","f1kd6wh7"],Fer9m8:"f4i4759"},orientationVertical:{Beiy3e4:"f1vx9l62",B5nvv7i:["f14k419y","f1fgo9fz"],Baxg94k:["f1fgo9fz","f14k419y"],tn21ii:"fvqmfsm",B0ud6bj:"f3am6yf",Bgdo4j:"f1r5wgso"},sizeSmall:{B7balbw:"f1pi9uxy",B1h88n7:"f1h1zgly"},sizeMedium:{B7balbw:"frsmuga",B1h88n7:"fuldkky"},sizeLarge:{B7balbw:"f1qua4xo",B1h88n7:"fimkt6v"},interactive:{rhjd8f:"f1epqm3e"},filled:{De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1knas48",Bvxd0ez:"f1m145df",ecr2s2:"fb40n2d"},filledInteractiveSelected:{De3pzq:"f1nfm20t",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1kz6goq"},filledAlternative:{De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledAlternativeInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"fnwyq0v",Jwef8y:"f1uvynv3",Bvxd0ez:"f1m145df",ecr2s2:"f1yhgkbh"},filledAlternativeInteractiveSelected:{De3pzq:"fjxa0vh",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"f1luvkty",Jwef8y:"fehi0vp"},outline:{De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]},outlineInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"],Bi91k9c:"feu1g3u",Jwef8y:"fjxutwb",Be0v6ae:"f1llr77y",B5kxglz:["fzk0khw","fjj8tog"],B3pwyw6:"fb1u8ub",Bymgtzf:["fjj8tog","fzk0khw"],ecr2s2:"fophhak",dmfk:"f1uohb70",B4ofi8:["f1jm7v1n","f1bus3rq"],jgq6uv:"f1fbu7rr",Baxewws:["f1bus3rq","f1jm7v1n"]},outlineInteractiveSelected:{De3pzq:"f1q9pm1r",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"fg59vm4"},outlineDisabled:{De3pzq:"f1c21dwh",E5pizo:"f1couhl3",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],ezxybo:"f1ls5moo",wc7uws:"f1qiza15",B0n5ga8:"f13dj02",s924m2:["f9wngki","f17v59j0"],B1q35kw:"f1vxzwsp",Gp14am:["f17v59j0","f9wngki"]},subtle:{De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},subtleInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",ecr2s2:"f1wfn5kd"},subtleInteractiveSelected:{De3pzq:"fq5gl1p",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1uqaxdt"},highContrastSelected:{B8gzw0y:"f1h3a8gf",By8wz76:"f1nz3ub2",B7iucu3:"fqc85l4",Boo9lyk:"f1ucc5z8",sga51p:"fyj59f4",qj1yg9:["f19v95gn","f1n69f6i"],B8acmzm:"f16q7dot",Gezqo6:["f1n69f6i","f19v95gn"]},highContrastInteractive:{waf3gn:"f1quqgnd",B96h8j5:"f193utb4",Bpd3jnq:"f1io67iv",uhbujs:"f3n01jk",sga51p:"fyj59f4",qj1yg9:["f19v95gn","f1n69f6i"],B8acmzm:"f16q7dot",Gezqo6:["f1n69f6i","f19v95gn"]},select:{qhf8xq:"f1euv43f",Bhzewxz:"fqclxi7",j35jbq:["fiv86kb","f36uhnt"],Bj3rh1h:"fom9my7"},hiddenCheckbox:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",a9b677:"frkrog8",Bqenvij:"f1mpe4l3",qhf8xq:"f1euv43f",Bh84pgu:"fmf1zke",Bgl5zvf:"f1wch0ki",Huce71:"fz5stix"},disabled:{Bceei9c:"fdrzuqr",famaaq:"f1xqy1su",sj55zd:"f1s2aq7o",De3pzq:"f1bg9a2p",E5pizo:"fyed02w",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Ftih45:"f1wl9k8s",Brfgrao:"f1j7ml58",lawp4y:0,Fbdkly:0,mdwyqc:0,Bciustq:0,gc50h5:"f13vvzas",Ehzi8l:"f198lalb",B0n5ga8:"f13dj02",s924m2:["f9wngki","f17v59j0"],B1q35kw:"f1vxzwsp",Gp14am:["f17v59j0","f9wngki"],Bikrtoi:"f11og98d",G8qf51:"f1rg3h4v",Brxh4y7:"fbm2y3b",ezxybo:"f4yodeu",wc7uws:"fcwfbwp",gp3uxg:"f1repx37",Fohawp:["f1ybi8ct","f1h4eg6q"],Bxulg6k:"f18mejnb",vcjq4m:["f1h4eg6q","f1ybi8ct"],Bsqkqe9:"f1nift3m",fskg1g:"f1wu3i8x",iwiei9:0,Effecx:0,Bkt1b9m:0,jfmxvr:0,orauir:"f6v4vfa",B2yd9ot:"folrdqs",Fn9tzk:"f168z5yf",Bv0wker:["fpor7gj","fzextn6"],Bp2dl5b:"f1yaw79v",pzn0iz:["fzextn6","fpor7gj"]}},{f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],d:[".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".fpqizxz[data-fui-focus-visible]::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".fnd8nzh[data-fui-focus-visible]::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f15fr7a0[data-fui-focus-visible]::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".fwsq40z[data-fui-focus-visible]::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".fy0y4wt[data-fui-focus-visible]::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f34ld9f[data-fui-focus-visible]::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}",".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}",".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}",".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}",'.ffht0p2[data-fui-focus-within]:focus-within::after{content:"";}',".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}",".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}",".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}",[".f1i978nd[data-fui-focus-within]:focus-within::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".f1nh8hsq[data-fui-focus-within]:focus-within::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f1amxum7[data-fui-focus-within]:focus-within::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".f1cec8w7[data-fui-focus-within]:focus-within::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".f554mv0[data-fui-focus-within]:focus-within::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f1sj6kbr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1063pyq{flex-direction:row;}",".f122n59{align-items:center;}",".ftrw7vg>.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",".f18opajm>.fui-CardPreview{margin-bottom:calc(var(--fui-Card--size) * -1);}",'.f13002it>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-left:calc(var(--fui-Card--size) * -1);}','.fqo182t>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f18yna97>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f1kd6wh7>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-left:calc(var(--fui-Card--size) * -1);}',".f4i4759>.fui-CardHeader:last-of-type,.f4i4759>.fui-CardFooter:last-of-type{flex-grow:1;}",".f1vx9l62{flex-direction:column;}",".f14k419y>.fui-CardPreview{margin-left:calc(var(--fui-Card--size) * -1);}",".f1fgo9fz>.fui-CardPreview{margin-right:calc(var(--fui-Card--size) * -1);}",'.fvqmfsm>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-top:calc(var(--fui-Card--size) * -1);}',".f3am6yf>.fui-Card__floatingAction+.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",'.f1r5wgso>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-bottom:calc(var(--fui-Card--size) * -1);}',".f1pi9uxy{--fui-Card--size:8px;}",".f1h1zgly{--fui-Card--border-radius:var(--borderRadiusSmall);}",".frsmuga{--fui-Card--size:12px;}",".fuldkky{--fui-Card--border-radius:var(--borderRadiusMedium);}",".f1qua4xo{--fui-Card--size:16px;}",".fimkt6v{--fui-Card--border-radius:var(--borderRadiusLarge);}",".f1epqm3e .fui-Text{color:currentColor;}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1whvlc6{box-shadow:var(--shadow4);}",".f16gxe2i::after{border-top-color:var(--colorTransparentStroke);}",".fpgykix::after{border-right-color:var(--colorTransparentStroke);}",".fzybk4o::after{border-left-color:var(--colorTransparentStroke);}",".f1osi826::after{border-bottom-color:var(--colorTransparentStroke);}",".f1k6fduh{cursor:pointer;}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".f16eln5f::after{border-top-color:var(--colorNeutralStroke1Selected);}",".fa2okxs::after{border-right-color:var(--colorNeutralStroke1Selected);}",".fg4zq3l::after{border-left-color:var(--colorNeutralStroke1Selected);}",".ff6932p::after{border-bottom-color:var(--colorNeutralStroke1Selected);}",".f1dmdbja{background-color:var(--colorNeutralBackground2);}",".fjxa0vh{background-color:var(--colorNeutralBackground2Selected);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1couhl3{box-shadow:none;}",".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);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f13dj02::after{border-top-color:var(--colorNeutralStrokeDisabled);}",".f9wngki::after{border-right-color:var(--colorNeutralStrokeDisabled);}",".f17v59j0::after{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1vxzwsp::after{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1euv43f{position:absolute;}",".fqclxi7{top:4px;}",".fiv86kb{right:4px;}",".f36uhnt{left:4px;}",".fom9my7{z-index:var(--zIndexContent, 1);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".frkrog8{width:1px;}",".f1mpe4l3{height:1px;}",".fmf1zke{clip:rect(0 0 0 0);}",".f1wch0ki{clip-path:inset(50%);}",".fz5stix{white-space:nowrap;}",".fdrzuqr{cursor:not-allowed;}",".f1xqy1su{-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".fyed02w{box-shadow:var(--shadow2);}",'.f1wl9k8s::before{content:"";}',".f1j7ml58::before{position:absolute;}",[".f13vvzas::before{inset:0;}",{p:-1}],".f198lalb::before{z-index:calc(var(--zIndexContent, 1) + 1);}"],m:[["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ufm4qn[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1qnwcb4[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}.fgrk5zm[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fi52z01[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ucc5z8 .fui-CardPreview,.f1ucc5z8 .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fyj59f4::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19v95gn::after{border-right-color:Highlight;}.f1n69f6i::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16q7dot::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1quqgnd:hover,.f1quqgnd :active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f193utb4:hover,.f193utb4 :active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1io67iv:hover,.f1io67iv :active{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3n01jk:hover .fui-CardPreview,.f3n01jk :active .fui-CardPreview,.f3n01jk:hover .fui-CardFooter,.f3n01jk :active .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f1m145df:hover{box-shadow:var(--shadow8);}",".fx9teim:hover{color:var(--colorNeutralForeground1Selected);}",".f1kz6goq:hover{background-color:var(--colorNeutralBackground1Selected);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".f1uvynv3:hover{background-color:var(--colorNeutralBackground2Hover);}",".f1luvkty:hover{color:var(--colorNeutralForeground2Selected);}",".fehi0vp:hover{background-color:var(--colorNeutralBackground2Selected);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f1llr77y:hover::after{border-top-color:var(--colorNeutralStroke1Hover);}",".fzk0khw:hover::after{border-right-color:var(--colorNeutralStroke1Hover);}",".fjj8tog:hover::after{border-left-color:var(--colorNeutralStroke1Hover);}",".fb1u8ub:hover::after{border-bottom-color:var(--colorNeutralStroke1Hover);}",".fg59vm4:hover{background-color:var(--colorTransparentBackgroundSelected);}",".f1ls5moo:hover,.f1ls5moo:active{background-color:var(--colorTransparentBackground);}",".f1qiza15:hover,.f1qiza15:active{box-shadow:none;}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}",".f11og98d:hover,.f11og98d:active{cursor:not-allowed;}",".f1rg3h4v:hover,.f1rg3h4v:active{-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".fbm2y3b:hover,.fbm2y3b:active{color:var(--colorNeutralForegroundDisabled);}",".f4yodeu:hover,.f4yodeu:active{background-color:var(--colorNeutralBackgroundDisabled);}",".fcwfbwp:hover,.fcwfbwp:active{box-shadow:var(--shadow2);}",".f1repx37:hover,.f1repx37:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ybi8ct:hover,.f1ybi8ct:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1h4eg6q:hover,.f1h4eg6q:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f18mejnb:hover,.f18mejnb:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",'.f1nift3m:hover::before,.f1nift3m:active::before{content:"";}',".f1wu3i8x:hover::before,.f1wu3i8x:active::before{position:absolute;}",[".f6v4vfa:hover::before,.f6v4vfa:active::before{inset:0;}",{p:-1}],".folrdqs:hover::before,.folrdqs:active::before{z-index:calc(var(--zIndexContent, 1) + 1);}",".f168z5yf:hover::after,.f168z5yf:active::after{border-top-color:var(--colorNeutralStrokeDisabled);}",".fpor7gj:hover::after,.fpor7gj:active::after{border-right-color:var(--colorNeutralStrokeDisabled);}",".fzextn6:hover::after,.fzextn6:active::after{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1yaw79v:hover::after,.f1yaw79v:active::after{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1yhgkbh:active{background-color:var(--colorNeutralBackground2Pressed);}",".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1uohb70:active::after{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1jm7v1n:active::after{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1bus3rq:active::after{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1fbu7rr:active::after{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),AC=e=>{"use no memo";const o=IC(),n=OC(),i={horizontal:n.orientationHorizontal,vertical:n.orientationVertical},l={small:n.sizeSmall,medium:n.sizeMedium,large:n.sizeLarge},c={filled:n.filled,"filled-alternative":n.filledAlternative,outline:n.outline,subtle:n.subtle},u={filled:n.filledInteractiveSelected,"filled-alternative":n.filledAlternativeInteractiveSelected,outline:n.outlineInteractiveSelected,subtle:n.subtleInteractiveSelected},f={filled:n.filledInteractive,"filled-alternative":n.filledAlternativeInteractive,outline:n.outlineInteractive,subtle:n.subtleInteractive},p=!e.disabled&&(e.interactive||e.selectable),h=S.useMemo(()=>e.disabled?"":e.selectable?e.selectFocused?n.selectableFocused:"":n.focused,[e.disabled,e.selectFocused,e.selectable,n.focused,n.selectableFocused]);return e.root.className=re(Oc.root,o,i[e.orientation],l[e.size],c[e.appearance],p&&n.interactive,p&&f[e.appearance],e.selected&&u[e.appearance],h,p&&n.highContrastInteractive,e.selected&&n.highContrastSelected,e.disabled&&n.disabled,e.disabled&&e.appearance==="outline"&&n.outlineDisabled,e.root.className),e.floatingAction&&(e.floatingAction.className=re(Oc.floatingAction,n.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=re(Oc.checkbox,n.hiddenCheckbox,e.checkbox.className)),e};function qC({selectableA11yProps:e}){return{selectableA11yProps:e}}const mi=S.forwardRef((e,o)=>{const n=EC(e,o),i=qC(n);return AC(n),ot("useCardStyles_unstable")(n),PC(n,i)});mi.displayName="Card";function MC(e){function o(n){return S.isValidElement(n)&&!!n.props.id}return S.Children.toArray(e).find(o)}function LC(e,o,n){return e||(o?.props.id?o.props.id:n)}const HC=(e,o)=>{const{image:n,header:i,description:l,action:c}=e,{selectableA11yProps:{referenceId:u,setReferenceId:f}}=zC(),p=S.useRef(null),h=S.useRef(!1),g=Qt(Ah.header,u),v=qe(i,{renderByDefault:!0,defaultProps:{ref:p,id:h.current?void 0:u},elementType:"div"});return S.useEffect(()=>{var y;const b=h.current||(y=p.current)===null||y===void 0?void 0:y.id,w=MC(v?.children);h.current=!!w,f(LC(b,w,g))},[g,i,v,f]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:Oe(wt("div",{ref:o,...e}),{elementType:"div"}),image:qe(n,{elementType:"div"}),header:v,description:qe(l,{elementType:"div"}),action:qe(c,{elementType:"div"})}},WC=e=>ht(e.root,{children:[e.image&&le(e.image,{}),e.header&&le(e.header,{}),e.description&&le(e.description,{}),e.action&&le(e.action,{})]}),hi=S.forwardRef((e,o)=>{const n=HC(e,o);return DC(n),ot("useCardHeaderStyles_unstable")(n),WC(n)});hi.displayName="CardHeader";const $C=(e,o)=>{const{size:n="medium",disabled:i=!1,root:l,contentBefore:c,dismiss:u,contentAfter:f,value:p,defaultValue:h,...g}=e,v=S.useRef(null),y=S.useRef(null),[b,w]=Gr({state:p,defaultState:h,initialState:""}),[k,_]=S.useState(!1),C=S.useCallback(()=>{_(!0)},[_]),N=S.useCallback(A=>{var W;_(!!(!((W=v.current)===null||W===void 0)&&W.contains(A.relatedTarget)))},[_]),T=If(l),z=Ce(A=>{var W,J;if(Of(u)){var te;(te=u.onClick)===null||te===void 0||te.call(u,A)}const ve="";w(ve),(W=e.onChange)===null||W===void 0||W.call(e,A,{value:ve}),(J=y.current)===null||J===void 0||J.focus()}),j=W2({type:"search",disabled:i,size:n,value:b,root:Oe({...T,ref:xt(T?.ref,v),onFocus:Nt(T?.onFocus,C),onBlur:Nt(T?.onBlur,N)},{elementType:"span"}),contentBefore:qe(c,{renderByDefault:!0,defaultProps:{children:S.createElement(Qk,null)},elementType:"span"}),contentAfter:qe(f,{renderByDefault:!0,elementType:"span"}),...g,onChange:Ce(A=>{var W;const J=A.target.value;(W=e.onChange)===null||W===void 0||W.call(e,A,{value:J}),w(J)})},xt(y,o)),q={...j,components:{...j.components,dismiss:"span"},dismiss:qe(u,{defaultProps:{children:S.createElement(xm,null),role:"button","aria-label":"clear",tabIndex:-1},renderByDefault:!0,elementType:"span"}),disabled:i,focused:k,size:n};return q.dismiss&&(q.dismiss.onClick=z),q},VC=e=>ht(e.root,{children:[e.contentBefore&&le(e.contentBefore,{}),le(e.input,{}),e.contentAfter&&ht(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&le(e.dismiss,{})]})]}),gi={root:"fui-SearchBox",dismiss:"fui-SearchBox__dismiss",contentAfter:"fui-SearchBox__contentAfter",contentBefore:"fui-SearchBox__contentBefore",input:"fui-SearchBox__input"},UC=ue({small:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"]},medium:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},large:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1ng84yb","f11gcy0p"],z189sj:["f11gcy0p","f1ng84yb"]},input:{uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fhxju0i","f1cnd47f"],Boqhc8c:"f18izjht",B8uat0v:"fcoa6sg"},unfocusedNoContentAfter:{z189sj:["fhxju0i","f1cnd47f"]}},{d:[".fjuset5{column-gap:0;}",".f1xzfw5u{max-width:468px;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".fhxju0i{padding-right:0;}",".f1cnd47f{padding-left:0;}",".f18izjht::-webkit-search-decoration{display:none;}",".fcoa6sg::-webkit-search-cancel-button{display:none;}"]}),GC=ue({small:{z189sj:["fdw0yi8","fk8j09s"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},large:{z189sj:["f11gcy0p","f1ng84yb"]}},{d:[".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}"]}),KC=ue({contentAfter:{uwmqm3:["f1uw59to","fw5db7e"],i8kkvl:"f1ufnopg"},rest:{Bqenvij:"fniina8",a9b677:"f3tsq5r",uwmqm3:["f1cnd47f","fhxju0i"],B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"}},{d:[".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}]]}),XC=dt("r1pvzcuu",null,[".r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}",".r1pvzcuu>svg{font-size:20px;}"]),QC=ue({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;}"]}),YC=e=>{"use no memo";const{disabled:o,focused:n,size:i}=e,l=UC(),c=GC(),u=KC(),f=XC(),p=QC();return e.root.className=re(gi.root,l[i],!n&&l.unfocusedNoContentAfter,e.root.className),e.input.className=re(gi.input,l.input,!n&&c[i],e.input.className),e.dismiss&&(e.dismiss.className=re(gi.dismiss,f,o&&p.disabled,p[i],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=re(gi.contentBefore,e.contentBefore.className)),e.contentAfter?e.contentAfter.className=re(gi.contentAfter,u.contentAfter,!n&&u.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=re(e.dismiss.className,u.contentAfter)),Q2(e),e},Ac=S.forwardRef((e,o)=>{const n=$C(e,o);return YC(n),ot("useSearchBoxStyles_unstable")(n),VC(n)});Ac.displayName="SearchBox";const JC=Zn({root:{display:"flex",gap:"20px",alignItems:"flex-end",flexWrap:"wrap"},field:{display:"grid",justifyItems:"start",gap:"2px"},dropdown:{minWidth:"200px"},dropdownSmall:{minWidth:"150px"},searchInput:{minWidth:"350px"}}),ZC=e=>{const o=Qt("entity-type-dropdown"),n=Qt("search-input"),i=Qt("status-dropdown"),l=Qt("user-type-dropdown"),c=Qt("business-unit-dropdown"),u=(b,w)=>{e.onEntityTypeChanged(w.optionValue)},f=(b,w)=>{e.onTextFilterChanged(w.value)},p=(b,w)=>{e.onStatusFilterChanged?.(w.optionValue)},h=(b,w)=>{e.onUserTypeFilterChanged?.(w.optionValue)},g=(b,w)=>{e.onBusinessUnitFilterChanged?.(w.optionValue??"all")},v=Fd.useMemo(()=>{const b=new Map;return e.systemUsers.forEach(w=>{w.businessunitid&&b.set(w.businessunitid.businessunitid,w.businessunitid.name)}),e.teams.forEach(w=>{w.businessunitid&&b.set(w.businessunitid.businessunitid,w.businessunitid.name)}),Array.from(b.entries()).map(([w,k])=>({id:w,name:k})).sort((w,k)=>w.name.localeCompare(k.name))},[e.systemUsers,e.teams]),y=JC();return I.jsxs("div",{className:y.root,children:[I.jsxs("div",{className:y.field,children:[I.jsx("label",{htmlFor:o,children:"Entity Type"}),I.jsxs(ai,{id:o,placeholder:"Select entity type",onOptionSelect:u,className:y.dropdownSmall,value:e.entityType==="systemuser"?"System Users":"Teams",selectedOptions:[e.entityType],children:[I.jsx(Sr,{value:"systemuser",text:"System Users",children:"System Users"}),I.jsx(Sr,{value:"team",text:"Teams",children:"Teams"})]})]}),e.entityType==="systemuser"&&I.jsxs(I.Fragment,{children:[I.jsxs("div",{className:y.field,children:[I.jsx("label",{htmlFor:i,children:"Status"}),I.jsxs(ai,{id:i,placeholder:"Enabled",onOptionSelect:p,className:y.dropdownSmall,value:e.statusFilter==="all"?"All":e.statusFilter==="enabled"?"Enabled":"Disabled",selectedOptions:[e.statusFilter??"enabled"],children:[I.jsx(Sr,{value:"all",text:"All",children:"All"}),I.jsx(Sr,{value:"enabled",text:"Enabled",children:"Enabled"}),I.jsx(Sr,{value:"disabled",text:"Disabled",children:"Disabled"})]})]}),I.jsxs("div",{className:y.field,children:[I.jsx("label",{htmlFor:l,children:"User Type"}),I.jsxs(ai,{id:l,placeholder:"All",onOptionSelect:h,className:y.dropdownSmall,value:e.userTypeFilter==="all"?"All":e.userTypeFilter==="users"?"Users":"Applications",selectedOptions:[e.userTypeFilter??"all"],children:[I.jsx(Sr,{value:"all",text:"All",children:"All"}),I.jsx(Sr,{value:"users",text:"Users",children:"Users"}),I.jsx(Sr,{value:"applications",text:"Applications",children:"Applications"})]})]})]}),I.jsxs("div",{className:y.field,children:[I.jsx("label",{htmlFor:c,children:"Business Unit"}),I.jsxs(ai,{id:c,placeholder:"All",onOptionSelect:g,className:y.dropdown,value:e.businessUnitFilter==="all"?"All":v.find(b=>b.id===e.businessUnitFilter)?.name??"All",selectedOptions:[e.businessUnitFilter??"all"],children:[I.jsx(Sr,{value:"all",text:"All",children:"All"}),v.map(b=>I.jsx(Sr,{value:b.id,text:b.name,children:b.name},b.id))]})]}),I.jsxs("div",{className:y.field,children:[I.jsx("label",{htmlFor:n,children:"Search"}),I.jsx(Ac,{id:n,placeholder:"Search by name...",value:e.textFilter??"",onChange:f,className:y.searchInput})]})]})},e5=Zn({container:{height:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},dataGrid:{height:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},dataGridBody:{overflowY:"auto",flex:1},cellStyles:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"}}),t5=({entityType:e,systemUsers:o,teams:n,selectedId:i,onSelectionChange:l})=>{const c=e5(),u=S.useMemo(()=>i?new Set([i]):new Set,[i]),f=(y,b)=>{const w=Array.from(b.selectedItems)[0];l(w?String(w):null)},p=[vo({columnId:"fullname",compare:(y,b)=>y.fullname.localeCompare(b.fullname),renderHeaderCell:()=>"Full Name",renderCell:y=>I.jsx("span",{className:c.cellStyles,title:y.fullname,children:y.fullname})}),vo({columnId:"domainname",compare:(y,b)=>y.domainname.localeCompare(b.domainname),renderHeaderCell:()=>"Domain Name",renderCell:y=>I.jsx("span",{className:c.cellStyles,title:y.domainname,children:y.domainname})}),vo({columnId:"businessunit",compare:(y,b)=>(y.businessunitid?.name??"").localeCompare(b.businessunitid?.name??""),renderHeaderCell:()=>"Business Unit",renderCell:y=>I.jsx("span",{className:c.cellStyles,title:y.businessunitid?.name??"N/A",children:y.businessunitid?.name??"N/A"})}),vo({columnId:"status",compare:(y,b)=>y.isdisabled===b.isdisabled?0:y.isdisabled?1:-1,renderHeaderCell:()=>"Status",renderCell:y=>I.jsx("span",{className:c.cellStyles,title:y.isdisabled?"Disabled":"Enabled",children:y.isdisabled?"Disabled":"Enabled"})})],h=[vo({columnId:"teamname",compare:(y,b)=>y.name.localeCompare(b.name),renderHeaderCell:()=>"Team Name",renderCell:y=>I.jsx("div",{className:c.cellStyles,title:y.name,children:y.name})}),vo({columnId:"teamtype",compare:(y,b)=>y.teamtype-b.teamtype,renderHeaderCell:()=>"Team Type",renderCell:y=>{const b=y.teamtype===0?"Owner":y.teamtype===1?"Access":"Other";return I.jsx("div",{className:c.cellStyles,title:b,children:b})}}),vo({columnId:"businessunit",compare:(y,b)=>(y.businessunitid?.name??"").localeCompare(b.businessunitid?.name??""),renderHeaderCell:()=>"Business Unit",renderCell:y=>{const b=y.businessunitid?.name??"N/A";return I.jsx("div",{className:c.cellStyles,title:b,children:b})}}),vo({columnId:"isdefault",compare:(y,b)=>y.isdefault===b.isdefault?0:y.isdefault?-1:1,renderHeaderCell:()=>"Default Team",renderCell:y=>{const b=y.isdefault?"Yes":"No";return I.jsx("div",{className:c.cellStyles,title:b,children:b})}})],g={fullname:{minWidth:300,defaultWidth:300},domainname:{minWidth:300,defaultWidth:300},businessunit:{minWidth:250,defaultWidth:250},status:{minWidth:200,defaultWidth:200}};if(e==="systemuser")return I.jsx("div",{className:c.container,children:I.jsxs(Rc,{items:o,columns:p,sortable:!0,defaultSortState:{sortColumn:"fullname",sortDirection:"ascending"},resizableColumns:!0,columnSizingOptions:g,className:c.dataGrid,size:"small",selectionMode:"single",selectedItems:u,onSelectionChange:f,getRowId:y=>y.systemuserid,children:[I.jsx(Fc,{children:I.jsx(pi,{children:({renderHeaderCell:y})=>I.jsx(Dc,{children:y()})})}),I.jsx(jc,{className:c.dataGridBody,children:({item:y,rowId:b})=>I.jsx(pi,{children:({renderCell:w})=>I.jsx(Tc,{children:w(y)})},b)})]},"systemuser-grid")});const v={teamname:{minWidth:300,defaultWidth:300},teamtype:{minWidth:100,defaultWidth:100},businessunit:{minWidth:250,defaultWidth:250},isdefault:{minWidth:200,defaultWidth:200}};return I.jsx("div",{className:c.container,children:I.jsxs(Rc,{items:n,columns:h,sortable:!0,resizableColumns:!0,columnSizingOptions:v,defaultSortState:{sortColumn:"teamname",sortDirection:"ascending"},className:c.dataGrid,size:"small",selectionMode:"single",selectedItems:u,onSelectionChange:f,getRowId:y=>y.teamid,children:[I.jsx(Fc,{children:I.jsx(pi,{children:({renderHeaderCell:y})=>I.jsx(Dc,{children:y()})})}),I.jsx(jc,{className:c.dataGridBody,children:({item:y,rowId:b})=>I.jsx(pi,{children:({renderCell:w})=>I.jsx(Tc,{children:w(y)})},b)})]},"team-grid")})},r5=Zn({panel:{width:"400px",borderLeft:`1px solid ${be.colorNeutralStroke1}`,backgroundColor:be.colorNeutralBackground1,display:"flex",flexDirection:"column",overflow:"hidden"},header:{padding:be.spacingVerticalL,paddingBottom:be.spacingVerticalM,borderBottom:`1px solid ${be.colorNeutralStroke1}`,flexShrink:0},content:{padding:be.spacingVerticalM,flex:1,overflowY:"auto",display:"flex",flexDirection:"column",gap:be.spacingVerticalS},loadingContainer:{display:"flex",justifyContent:"center",alignItems:"center",padding:be.spacingVerticalXXL},emptyState:{textAlign:"center",padding:be.spacingVerticalXXL,color:be.colorNeutralForeground3},roleCard:{padding:be.spacingVerticalM},roleHeader:{display:"flex",justifyContent:"space-between",alignItems:"center"},roleName:{fontWeight:be.fontWeightSemibold,fontSize:be.fontSizeBase300},roleDetails:{marginTop:be.spacingVerticalXS,fontSize:be.fontSizeBase200,color:be.colorNeutralForeground3},section:{display:"flex",flexDirection:"column",gap:be.spacingVerticalS},sectionTitle:{marginTop:be.spacingVerticalM,marginBottom:be.spacingVerticalXS},teamCard:{padding:be.spacingVerticalM},teamHeader:{display:"flex",justifyContent:"space-between",alignItems:"center"},teamName:{fontWeight:be.fontWeightSemibold,fontSize:be.fontSizeBase300},teamDetails:{marginTop:be.spacingVerticalXS,fontSize:be.fontSizeBase200,color:be.colorNeutralForeground3},badge:{marginLeft:be.spacingHorizontalM},userCard:{padding:be.spacingVerticalM},userHeader:{display:"flex",justifyContent:"space-between",alignItems:"center"},userName:{fontWeight:be.fontWeightSemibold,fontSize:be.fontSizeBase300},userDetails:{marginTop:be.spacingVerticalXS,fontSize:be.fontSizeBase200,color:be.colorNeutralForeground3},filterInput:{marginBottom:be.spacingVerticalS},queueCard:{padding:be.spacingVerticalM},queueName:{fontWeight:be.fontWeightSemibold,fontSize:be.fontSizeBase300},queueDetails:{marginTop:be.spacingVerticalXS,fontSize:be.fontSizeBase200,color:be.colorNeutralForeground3}}),o5=({entityType:e,entityName:o,roles:n,isLoadingRoles:i,userTeams:l=[],isLoadingTeams:c=!1,userQueues:u=[],isLoadingQueues:f=!1,teamMembers:p=[],isLoadingTeamMembers:h=!1})=>{const g=r5(),[v,y]=S.useState(""),b=S.useMemo(()=>{if(!v)return p;const w=v.toLowerCase();return p.filter(k=>k.fullname?.toLowerCase().includes(w)||k.domainname?.toLowerCase().includes(w)||k.businessunitid?.name?.toLowerCase().includes(w))},[p,v]);return I.jsxs("div",{className:g.panel,children:[I.jsx("div",{className:g.header,children:I.jsx(k_,{children:o})}),I.jsxs("div",{className:g.content,children:[I.jsxs("div",{className:g.section,children:[I.jsx(ci,{className:g.sectionTitle,children:"Security Roles"}),i?I.jsx("div",{className:g.loadingContainer,children:I.jsx(qr,{label:"Loading security roles..."})}):n.length===0?I.jsx("div",{className:g.emptyState,children:I.jsx(eo,{children:"No security roles assigned"})}):n.map(w=>I.jsx(mi,{className:g.roleCard,children:I.jsx(hi,{header:I.jsxs("div",{className:g.roleHeader,children:[I.jsx("div",{className:g.roleName,children:w.name}),w.ismanaged&&I.jsx(Es,{appearance:"tint",color:"informative",className:g.badge,children:"Managed"})]}),description:I.jsx("div",{className:g.roleDetails,children:w.businessunitid?`Business Unit: ${w.businessunitid.name}`:"No Business Unit"})})},w.roleid))]}),e==="systemuser"&&I.jsxs("div",{className:g.section,children:[I.jsx(ci,{className:g.sectionTitle,children:"Team Memberships"}),c?I.jsx("div",{className:g.loadingContainer,children:I.jsx(qr,{label:"Loading teams..."})}):l.length===0?I.jsx("div",{className:g.emptyState,children:I.jsx(eo,{children:"No team memberships"})}):l.map(w=>I.jsx(mi,{className:g.teamCard,children:I.jsx(hi,{header:I.jsxs("div",{className:g.teamHeader,children:[I.jsx("div",{className:g.teamName,children:w.name}),w.isdefault&&I.jsx(Es,{appearance:"tint",color:"success",className:g.badge,children:"Default"})]}),description:I.jsxs("div",{className:g.teamDetails,children:[I.jsx("div",{children:w.teamtype===0?"Owner Team":w.teamtype===1?"Access Team":"Other"}),w.businessunitid&&I.jsxs("div",{children:["Business Unit: ",w.businessunitid.name]})]})})},w.teamid))]}),e==="systemuser"&&I.jsxs("div",{className:g.section,children:[I.jsx(ci,{className:g.sectionTitle,children:"Queue Memberships"}),f?I.jsx("div",{className:g.loadingContainer,children:I.jsx(qr,{label:"Loading queues..."})}):u.length===0?I.jsx("div",{className:g.emptyState,children:I.jsx(eo,{children:"No queue memberships"})}):u.map(w=>I.jsx(mi,{className:g.queueCard,children:I.jsx(hi,{header:I.jsx("div",{className:g.queueName,children:w.name}),description:I.jsx("div",{className:g.queueDetails,children:w.queuetypecode!==void 0&&I.jsxs("div",{children:["Type:"," ",w.queuetypecode===1?"Private":w.queuetypecode===2?"Public":"Unknown"]})})})},w.queueid))]}),e==="team"&&I.jsxs("div",{className:g.section,children:[I.jsx(ci,{className:g.sectionTitle,children:"Team Members"}),h?I.jsx("div",{className:g.loadingContainer,children:I.jsx(qr,{label:"Loading team members..."})}):p.length===0?I.jsx("div",{className:g.emptyState,children:I.jsx(eo,{children:"No team members"})}):I.jsxs(I.Fragment,{children:[I.jsx(Ac,{className:g.filterInput,placeholder:"Filter members...",value:v,onChange:(w,k)=>y(k.value)}),b.length===0?I.jsx("div",{className:g.emptyState,children:I.jsx(eo,{children:"No members match the filter"})}):[...b].sort((w,k)=>w.fullname.localeCompare(k.fullname)).map(w=>I.jsx(mi,{className:g.userCard,children:I.jsx(hi,{header:I.jsxs("div",{className:g.userHeader,children:[I.jsx("div",{className:g.userName,children:w.fullname}),w.isdisabled&&I.jsx(Es,{appearance:"tint",color:"warning",className:g.badge,children:"Disabled"})]}),description:I.jsxs("div",{className:g.userDetails,children:[I.jsx("div",{children:w.domainname}),w.businessunitid&&I.jsxs("div",{children:["Business Unit: ",w.businessunitid.name]})]})})},w.systemuserid))]})]})]})]})},n5=({connection:e})=>{const[o,n]=S.useState([]),[i,l]=S.useState([]),[c,u]=S.useState("systemuser"),[f,p]=S.useState(""),[h,g]=S.useState("enabled"),[v,y]=S.useState("users"),[b,w]=S.useState("all"),[k,_]=S.useState(!1),[C,N]=S.useState(null),[T,z]=S.useState([]),[j,q]=S.useState(!1),[A,W]=S.useState([]),[J,te]=S.useState(!1),[ve,pe]=S.useState([]),[$,oe]=S.useState(!1),[Ne,ye]=S.useState([]),[me,G]=S.useState(!1),[ee,Z]=S.useState(!1),[R,M]=S.useState(!1),fe=Zn({overviewRoot:{height:"100%",display:"flex",flexDirection:"column",gap:"16px",overflow:"hidden"},filterSection:{flexShrink:0,display:"flex",justifyContent:"space-between",alignItems:"flex-end",gap:"16px"},buttonContainer:{display:"flex",gap:"8px",alignItems:"flex-end"},loadingContainer:{display:"flex",justifyContent:"center",alignItems:"center",padding:"40px",flexDirection:"column",gap:"16px"},dataSection:{flex:1,display:"flex",flexDirection:"row",overflow:"hidden",minHeight:0,gap:"0px"},gridSection:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",minHeight:0}})();S.useEffect(()=>{(async()=>{e&&await Pe()})()},[e]);const Pe=S.useCallback(async()=>{try{_(!0);const[L,ke]=await Promise.all([F0(),D0()]);n(L),l(ke),Ze.info(`Fetched ${L.length} system users and ${ke.length} teams`)}catch(L){Ze.error(`Error loading data: ${L.message}`),await window.toolboxAPI.utils.showNotification({title:"Error Loading Data",body:`Failed to load data from Dataverse: ${L.message}`,type:"error"})}finally{_(!1)}},[e]),je=S.useCallback(async L=>{if(N(L),!L){z([]),W([]),pe([]),ye([]);return}q(!0),z([]),c==="systemuser"?(te(!0),W([]),oe(!0),pe([])):(G(!0),ye([]));try{let ke=[];if(c==="systemuser"){const[Ee,st,St]=await Promise.all([ca(L),da(L),pa(L)]);ke=Ee,W(st),pe(St),Ze.info(`Fetched ${ke.length} security roles, ${st.length} teams, and ${St.length} queues for user ${L}`)}else{const[Ee,st]=await Promise.all([ua(L),fa(L)]);ke=Ee,ye(st),Ze.info(`Fetched ${ke.length} security roles and ${st.length} members for team ${L}`)}z(ke)}catch(ke){Ze.error(`Error loading data: ${ke.message}`),await window.toolboxAPI.utils.showNotification({title:"Error Loading Details",body:`Failed to load security roles and related data: ${ke.message}`,type:"error"})}finally{q(!1),c==="systemuser"?(te(!1),oe(!1)):G(!1)}},[c]),Te=S.useMemo(()=>{let L=o;if(h!=="all"&&(L=L.filter(ke=>h==="enabled"?!ke.isdisabled:ke.isdisabled)),v!=="all"&&(L=L.filter(ke=>v==="users"?!ke.applicationid:!!ke.applicationid)),b!=="all"&&(L=L.filter(ke=>ke.businessunitid?.businessunitid===b)),f){const ke=f.toLowerCase();L=L.filter(Ee=>Ee.fullname?.toLowerCase().includes(ke)||Ee.domainname?.toLowerCase().includes(ke)||Ee.businessunitid?.name?.toLowerCase().includes(ke))}return L},[o,f,h,v,b]),_e=S.useMemo(()=>{let L=i;if(b!=="all"&&(L=L.filter(ke=>ke.businessunitid?.businessunitid===b)),f){const ke=f.toLowerCase();L=L.filter(Ee=>Ee.name?.toLowerCase().includes(ke)||Ee.businessunitid?.name?.toLowerCase().includes(ke))}return L},[i,f,b]),He=S.useCallback(()=>C?c==="systemuser"?o.find(ke=>ke.systemuserid===C)?.fullname??"":i.find(ke=>ke.teamid===C)?.name??"":"",[C,c,o,i]),Dt=S.useCallback(async()=>{Z(!0);try{const L=[];for(const ze of Te){const Et=await ca(ze.systemuserid),er=await da(ze.systemuserid),Qe=await pa(ze.systemuserid);L.push({user:ze,roles:Et,teams:er,queues:Qe})}const ke=new Map,Ee=new Map,st=new Map;L.forEach(({roles:ze,teams:Et,queues:er})=>{ze.forEach(Qe=>ke.set(Qe.roleid,Qe.name)),Et.forEach(Qe=>Ee.set(Qe.teamid,Qe.name)),er.forEach(Qe=>st.set(Qe.queueid,Qe.name))});const St=Array.from(ke.entries()).sort((ze,Et)=>ze[1].localeCompare(Et[1])),It=Array.from(Ee.entries()).sort((ze,Et)=>ze[1].localeCompare(Et[1])),Se=Array.from(st.entries()).sort((ze,Et)=>ze[1].localeCompare(Et[1])),gt=[],Mr=["User Name","Domain Name","Business Unit","Status"];St.forEach(([,ze])=>Mr.push(`Role: ${ze}`)),It.forEach(([,ze])=>Mr.push(`Team: ${ze}`)),Se.forEach(([,ze])=>Mr.push(`Queue: ${ze}`)),gt.push(Mr.map(ze=>`"${ze}"`).join(",")),L.forEach(({user:ze,roles:Et,teams:er,queues:Qe})=>{const _r=[ze.fullname,ze.domainname,ze.businessunitid?.name??"N/A",ze.isdisabled?"Disabled":"Enabled"];St.forEach(([_t])=>{const Br=Et.some($o=>$o.roleid===_t);_r.push(Br?"X":"")}),It.forEach(([_t])=>{const Br=er.some($o=>$o.teamid===_t);_r.push(Br?"X":"")}),Se.forEach(([_t])=>{const Br=Qe.some($o=>$o.queueid===_t);_r.push(Br?"X":"")}),gt.push(_r.map(_t=>`"${_t}"`).join(","))});const $e="\uFEFF"+gt.join(`\r
|
|
10
|
+
`),Wt=new Date().toISOString().replace(/[:.]/g,"-");await window.toolboxAPI.utils.saveFile(`user-security-export-${Wt}.csv`,$e),await window.toolboxAPI.utils.showNotification({title:"Export Successful",body:"User security data has been exported to CSV successfully.",type:"success"}),Ze.info("Exported data to CSV successfully")}catch(L){Ze.error(`Error exporting to CSV: ${L.message}`)}finally{Z(!1)}},[Te]),kn=S.useCallback(async()=>{M(!0);try{const L=[];L.push("# User Security Report"),L.push(""),L.push(`Generated: ${new Date().toLocaleString()}`),L.push("");for(const Ee of Te){const st=await ca(Ee.systemuserid),St=await da(Ee.systemuserid),It=await pa(Ee.systemuserid);L.push(""),L.push(`## ${Ee.fullname}`),L.push(""),L.push(`- **Domain Name:** ${Ee.domainname}`),L.push(`- **Business Unit:** ${Ee.businessunitid?.name??"N/A"}`),L.push(`- **Status:** ${Ee.isdisabled?"Disabled":"Enabled"}`),st.length>0?(L.push(""),L.push("### Security Roles"),L.push(""),st.forEach(Se=>{L.push(`- ${Se.name}${Se.ismanaged?" (Managed)":""}${Se.businessunitid?` - ${Se.businessunitid.name}`:""}`)})):(L.push(""),L.push("*No security roles assigned*")),St.length>0?(L.push(""),L.push("### Team Memberships"),L.push(""),St.forEach(Se=>{const gt=Se.teamtype===0?"Owner":Se.teamtype===1?"Access":"Other";L.push(`- ${Se.name} (${gt})${Se.isdefault?" [Default]":""}${Se.businessunitid?` - ${Se.businessunitid.name}`:""}`)})):(L.push(""),L.push("*No team memberships*")),It.length>0?(L.push(""),L.push("### Queue Memberships"),L.push(""),It.forEach(Se=>{const gt=Se.queuetypecode===1?"Private":Se.queuetypecode===2?"Public":"Unknown";L.push(`- ${Se.name} (${gt})`)})):(L.push(""),L.push("*No queue memberships*"))}const ke=L.join(`
|
|
11
|
+
`);await window.toolboxAPI.utils.copyToClipboard(ke),await window.toolboxAPI.utils.showNotification({title:"Copy Successful",body:"User security data has been copied to clipboard as Markdown successfully.",type:"success"}),Ze.info("Copied data to clipboard as Markdown successfully")}catch(L){Ze.error(`Error exporting to Markdown: ${L.message}`)}finally{M(!1)}},[Te]),Xs=S.useCallback(async()=>{Z(!0);try{const L=[];for(const $e of _e){const Wt=await ua($e.teamid),ze=await fa($e.teamid);L.push({team:$e,roles:Wt,members:ze})}const ke=new Map,Ee=new Map;L.forEach(({roles:$e,members:Wt})=>{$e.forEach(ze=>ke.set(ze.roleid,ze.name)),Wt.forEach(ze=>Ee.set(ze.systemuserid,ze.fullname))});const st=Array.from(ke.entries()).sort(($e,Wt)=>$e[1].localeCompare(Wt[1])),St=Array.from(Ee.entries()).sort(($e,Wt)=>$e[1].localeCompare(Wt[1])),It=[],Se=["Team Name","Team Type","Business Unit"];st.forEach(([,$e])=>Se.push(`Role: ${$e}`)),St.forEach(([,$e])=>Se.push(`Member: ${$e}`)),It.push(Se.map($e=>`"${$e}"`).join(",")),L.forEach(({team:$e,roles:Wt,members:ze})=>{const Et=$e.teamtype===0?"Owner":$e.teamtype===1?"Access":"Other",er=[$e.name,Et,$e.businessunitid?.name??"N/A"];st.forEach(([Qe])=>{const _r=Wt.some(_t=>_t.roleid===Qe);er.push(_r?"X":"")}),St.forEach(([Qe])=>{const _r=ze.some(_t=>_t.systemuserid===Qe);er.push(_r?"X":"")}),It.push(er.map(Qe=>`"${Qe}"`).join(","))});const gt="\uFEFF"+It.join(`\r
|
|
12
|
+
`),Mr=new Date().toISOString().replace(/[:.]/g,"-");await window.toolboxAPI.utils.saveFile(`team-security-export-${Mr}.csv`,gt),await window.toolboxAPI.utils.showNotification({title:"Export Successful",body:"Team security data has been exported to CSV successfully.",type:"success"}),Ze.info("Exported team data to CSV successfully")}catch(L){Ze.error(`Error exporting to CSV: ${L.message}`)}finally{Z(!1)}},[_e]),xn=S.useCallback(async()=>{M(!0);try{const L=[];L.push("# Team Security Report"),L.push(""),L.push(`Generated: ${new Date().toLocaleString()}`),L.push("");for(const Ee of _e){const st=await ua(Ee.teamid),St=await fa(Ee.teamid);L.push(""),L.push(`## ${Ee.name}`),L.push("");const It=Ee.teamtype===0?"Owner":Ee.teamtype===1?"Access":"Other";L.push(`- **Team Type:** ${It}`),L.push(`- **Business Unit:** ${Ee.businessunitid?.name??"N/A"}`),L.push(`- **Default Team:** ${Ee.isdefault?"Yes":"No"}`),st.length>0?(L.push(""),L.push("### Security Roles"),L.push(""),st.forEach(Se=>{L.push(`- ${Se.name}${Se.ismanaged?" (Managed)":""}${Se.businessunitid?` - ${Se.businessunitid.name}`:""}`)})):(L.push(""),L.push("*No security roles assigned*")),St.length>0?(L.push(""),L.push("### Team Members"),L.push(""),St.sort((Se,gt)=>Se.fullname.localeCompare(gt.fullname)).forEach(Se=>{L.push(`- ${Se.fullname} (${Se.domainname})${Se.isdisabled?" [Disabled]":""}${Se.businessunitid?` - ${Se.businessunitid.name}`:""}`)})):(L.push(""),L.push("*No team members*"))}const ke=L.join(`
|
|
13
|
+
`);await window.toolboxAPI.utils.copyToClipboard(ke),await window.toolboxAPI.utils.showNotification({title:"Copy Successful",body:"Team security data has been copied to clipboard as Markdown successfully.",type:"success"}),Ze.info("Copied team data to clipboard as Markdown successfully")}catch(L){Ze.error(`Error exporting to Markdown: ${L.message}`)}finally{M(!1)}},[_e]);return I.jsx("div",{className:fe.overviewRoot,children:k?I.jsx("div",{className:fe.loadingContainer,children:I.jsx(qr,{label:"Loading data...",size:"large"})}):I.jsxs(I.Fragment,{children:[I.jsxs("div",{className:fe.filterSection,children:[I.jsx(ZC,{entityType:c,systemUsers:o,teams:i,statusFilter:h,userTypeFilter:v,businessUnitFilter:b,textFilter:f,onEntityTypeChanged:L=>{Ze.info(`Entity type changed to: ${L}`),u(L),p(""),g("enabled"),y("all"),w("all"),N(null),z([]),W([])},onTextFilterChanged:L=>{p(L)},onStatusFilterChanged:L=>{Ze.info(`Status filter changed to: ${L}`),g(L)},onUserTypeFilterChanged:L=>{Ze.info(`User type filter changed to: ${L}`),y(L)},onBusinessUnitFilterChanged:L=>{Ze.info(`Business unit filter changed to: ${L}`),w(L)}}),c==="systemuser"&&I.jsxs("div",{className:fe.buttonContainer,children:[I.jsx(si,{appearance:"primary",icon:ee?I.jsx(qr,{size:"tiny"}):I.jsx(_m,{}),onClick:Dt,disabled:ee||R||Te.length===0,children:ee?"Exporting...":"Export to CSV"}),I.jsx(si,{appearance:"secondary",icon:R?I.jsx(qr,{size:"tiny"}):I.jsx(Sm,{}),onClick:kn,disabled:ee||R||Te.length===0,children:R?"Copying...":"Copy as Markdown"})]}),c==="team"&&I.jsxs("div",{className:fe.buttonContainer,children:[I.jsx(si,{appearance:"primary",icon:ee?I.jsx(qr,{size:"tiny"}):I.jsx(_m,{}),onClick:Xs,disabled:ee||R||_e.length===0,children:ee?"Exporting...":"Export to CSV"}),I.jsx(si,{appearance:"secondary",icon:R?I.jsx(qr,{size:"tiny"}):I.jsx(Sm,{}),onClick:xn,disabled:ee||R||_e.length===0,children:R?"Copying...":"Copy as Markdown"})]})]}),I.jsxs("div",{className:fe.dataSection,children:[I.jsxs("div",{className:fe.gridSection,children:[c==="systemuser"&&Te.length===0&&I.jsx(eo,{children:"No system users found."}),c==="team"&&_e.length===0&&I.jsx(eo,{children:"No teams found."}),(c==="systemuser"&&Te.length>0||c==="team"&&_e.length>0)&&I.jsx(t5,{entityType:c,systemUsers:Te,teams:_e,selectedId:C,onSelectionChange:je})]}),C&&I.jsx(o5,{entityType:c,entityName:He(),roles:T,isLoadingRoles:j,userTeams:A,isLoadingTeams:J,userQueues:ve,isLoadingQueues:$,teamMembers:Ne,isLoadingTeamMembers:me})]})]})})};function i5(){const[e,o]=S.useState(null),[n,i]=S.useState(!0),l=S.useCallback(async()=>{try{const c=await window.toolboxAPI.connections.getActiveConnection();o(c)}catch(c){console.error("Error refreshing connection:",c)}finally{i(!1)}},[]);return S.useEffect(()=>{l()},[l]),{connection:e,isLoading:n,refreshConnection:l}}function s5(e){S.useEffect(()=>{const o=(n,i)=>{console.log(`Toolbox event received: ${i.event}`,i.data),e(i.event,i.data)};return window.toolboxAPI.events.on(o),()=>{}},[e])}const l5=""+new URL("user-team-security_small-B9V3XVfW.png",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href,a5=Zn({container:{backgroundColor:be.colorNeutralBackground1,height:"100vh",display:"flex",flexDirection:"column",overflow:"hidden"},header:{padding:be.spacingVerticalL,paddingBottom:be.spacingVerticalS,borderBottom:`1px solid ${be.colorNeutralStroke1}`,display:"flex",alignItems:"center",gap:be.spacingHorizontalM,flexShrink:0},headerTitle:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:be.spacingVerticalXXS},headerTitleRow:{display:"flex",alignItems:"center",gap:be.spacingHorizontalM},headerIcon:{height:"50px",objectFit:"contain"},subtitle:{color:be.colorNeutralForeground3,fontSize:be.fontSizeBase300},content:{padding:be.spacingVerticalL,flex:1,overflow:"hidden",minHeight:0}});function c5(){const{connection:e,refreshConnection:o}=i5(),[n,i]=S.useState(om),l=a5(),c=S.useCallback((f,p)=>{switch(console.log(`Received event: ${f}`),f){case"connection:updated":case"connection:created":o();break;case"connection:deleted":o();break;case"terminal:output":case"terminal:command:completed":case"terminal:error":break;case"settings:updated":u(),Ze.info("Settings updated");break}},[o]);async function u(){const f=await window.toolboxAPI.utils.getCurrentTheme();i(f==="dark"?om:vk),Ze.info(`Theme updated:${f}`)}return s5(c),S.useEffect(()=>{(async()=>{await u(),Ze.info("Initialized")})()},[]),I.jsx(im,{theme:n,children:I.jsxs("div",{className:l.container,children:[I.jsxs("div",{className:l.header,children:[I.jsx("img",{src:l5,alt:"User & Team Security Viewer Icon",className:l.headerIcon}),I.jsxs("div",{className:l.headerTitle,children:[I.jsx(ci,{children:"User & Team Security Documentation Generator"}),I.jsx(eo,{className:l.subtitle,children:"A Power Platform Tool Box tool to show user & team security easily."})]})]}),I.jsx("div",{className:l.content,children:I.jsx(n5,{connection:e})})]})})}const vi=document.getElementById("root");vi&&!vi.hasAttribute("data-reactroot-initialized")?(vi.setAttribute("data-reactroot-initialized","true"),j0.createRoot(vi).render(I.jsx(S.StrictMode,{children:I.jsx(c5,{})}))):vi||console.error('Root element not found. Make sure the HTML contains <div id="root"></div>')})();
|