@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.
@@ -1,11 +0,0 @@
1
- (function(){"use strict";var vd=document.createElement("style");vd.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(vd);function bd(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 yd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vl={exports:{}},Fn={},$l={exports:{}},Se={};var wd;function y0(){if(wd)return Se;wd=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"),m=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(){}},k=Object.assign,w={};function _(R,q,ce){this.props=R,this.context=q,this.refs=w,this.updater=ce||b}_.prototype.isReactComponent={},_.prototype.setState=function(R,q){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,q,"setState")},_.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function C(){}C.prototype=_.prototype;function N(R,q,ce){this.props=R,this.context=q,this.refs=w,this.updater=ce||b}var T=N.prototype=new C;T.constructor=N,k(T,_.prototype),T.isPureReactComponent=!0;var z=Array.isArray,j=Object.prototype.hasOwnProperty,A={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function H(R,q,ce){var M,ie={},ye=null,ze=null;if(q!=null)for(M in q.ref!==void 0&&(ze=q.ref),q.key!==void 0&&(ye=""+q.key),q)j.call(q,M)&&!O.hasOwnProperty(M)&&(ie[M]=q[M]);var Ne=arguments.length-2;if(Ne===1)ie.children=ce;else if(1<Ne){for(var xe=Array(Ne),it=0;it<Ne;it++)xe[it]=arguments[it+2];ie.children=xe}if(R&&R.defaultProps)for(M in Ne=R.defaultProps,Ne)ie[M]===void 0&&(ie[M]=Ne[M]);return{$$typeof:e,type:R,key:ye,ref:ze,props:ie,_owner:A.current}}function J(R,q){return{$$typeof:e,type:R.type,key:q,ref:R.ref,props:R.props,_owner:R._owner}}function te(R){return typeof R=="object"&&R!==null&&R.$$typeof===e}function pe(R){var q={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(ce){return q[ce]})}var me=/\/+/g;function V(R,q){return typeof R=="object"&&R!==null&&R.key!=null?pe(""+R.key):q.toString(36)}function oe(R,q,ce,M,ie){var ye=typeof R;(ye==="undefined"||ye==="boolean")&&(R=null);var ze=!1;if(R===null)ze=!0;else switch(ye){case"string":case"number":ze=!0;break;case"object":switch(R.$$typeof){case e:case o:ze=!0}}if(ze)return ze=R,ie=ie(ze),R=M===""?"."+V(ze,0):M,z(ie)?(ce="",R!=null&&(ce=R.replace(me,"$&/")+"/"),oe(ie,q,ce,"",function(it){return it})):ie!=null&&(te(ie)&&(ie=J(ie,ce+(!ie.key||ze&&ze.key===ie.key?"":(""+ie.key).replace(me,"$&/")+"/")+R)),q.push(ie)),1;if(ze=0,M=M===""?".":M+":",z(R))for(var Ne=0;Ne<R.length;Ne++){ye=R[Ne];var xe=M+V(ye,Ne);ze+=oe(ye,q,ce,xe,ie)}else if(xe=y(R),typeof xe=="function")for(R=xe.call(R),Ne=0;!(ye=R.next()).done;)ye=ye.value,xe=M+V(ye,Ne++),ze+=oe(ye,q,ce,xe,ie);else if(ye==="object")throw q=String(R),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.");return ze}function Ce(R,q,ce){if(R==null)return R;var M=[],ie=0;return oe(R,M,"","",function(ye){return q.call(ce,ye,ie++)}),M}function ge(R){if(R._status===-1){var q=R._result;q=q(),q.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=q)}if(R._status===1)return R._result.default;throw R._result}var he={current:null},K={transition:null},ee={ReactCurrentDispatcher:he,ReactCurrentBatchConfig:K,ReactCurrentOwner:A};function Z(){throw Error("act(...) is not supported in production builds of React.")}return Se.Children={map:Ce,forEach:function(R,q,ce){Ce(R,function(){q.apply(this,arguments)},ce)},count:function(R){var q=0;return Ce(R,function(){q++}),q},toArray:function(R){return Ce(R,function(q){return q})||[]},only:function(R){if(!te(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},Se.Component=_,Se.Fragment=n,Se.Profiler=l,Se.PureComponent=N,Se.StrictMode=i,Se.Suspense=p,Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,Se.act=Z,Se.cloneElement=function(R,q,ce){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var M=k({},R.props),ie=R.key,ye=R.ref,ze=R._owner;if(q!=null){if(q.ref!==void 0&&(ye=q.ref,ze=A.current),q.key!==void 0&&(ie=""+q.key),R.type&&R.type.defaultProps)var Ne=R.type.defaultProps;for(xe in q)j.call(q,xe)&&!O.hasOwnProperty(xe)&&(M[xe]=q[xe]===void 0&&Ne!==void 0?Ne[xe]:q[xe])}var xe=arguments.length-2;if(xe===1)M.children=ce;else if(1<xe){Ne=Array(xe);for(var it=0;it<xe;it++)Ne[it]=arguments[it+2];M.children=Ne}return{$$typeof:e,type:R.type,key:ie,ref:ye,props:M,_owner:ze}},Se.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},Se.createElement=H,Se.createFactory=function(R){var q=H.bind(null,R);return q.type=R,q},Se.createRef=function(){return{current:null}},Se.forwardRef=function(R){return{$$typeof:f,render:R}},Se.isValidElement=te,Se.lazy=function(R){return{$$typeof:g,_payload:{_status:-1,_result:R},_init:ge}},Se.memo=function(R,q){return{$$typeof:m,type:R,compare:q===void 0?null:q}},Se.startTransition=function(R){var q=K.transition;K.transition={};try{R()}finally{K.transition=q}},Se.unstable_act=Z,Se.useCallback=function(R,q){return he.current.useCallback(R,q)},Se.useContext=function(R){return he.current.useContext(R)},Se.useDebugValue=function(){},Se.useDeferredValue=function(R){return he.current.useDeferredValue(R)},Se.useEffect=function(R,q){return he.current.useEffect(R,q)},Se.useId=function(){return he.current.useId()},Se.useImperativeHandle=function(R,q,ce){return he.current.useImperativeHandle(R,q,ce)},Se.useInsertionEffect=function(R,q){return he.current.useInsertionEffect(R,q)},Se.useLayoutEffect=function(R,q){return he.current.useLayoutEffect(R,q)},Se.useMemo=function(R,q){return he.current.useMemo(R,q)},Se.useReducer=function(R,q,ce){return he.current.useReducer(R,q,ce)},Se.useRef=function(R){return he.current.useRef(R)},Se.useState=function(R){return he.current.useState(R)},Se.useSyncExternalStore=function(R,q,ce){return he.current.useSyncExternalStore(R,q,ce)},Se.useTransition=function(){return he.current.useTransition()},Se.version="18.3.1",Se}var kd;function Ul(){return kd||(kd=1,$l.exports=y0()),$l.exports}var xd;function w0(){if(xd)return Fn;xd=1;var e=Ul(),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,m){var g,v={},y=null,b=null;m!==void 0&&(y=""+m),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 Fn.Fragment=n,Fn.jsx=u,Fn.jsxs=u,Fn}var Sd;function k0(){return Sd||(Sd=1,Vl.exports=w0()),Vl.exports}var W=k0();const x0=bd({__proto__:null,default:yd(W)},[W]);var S=Ul();const _d=yd(S),Li=bd({__proto__:null,default:_d},[S]);var Hi={},Gl={exports:{}},zt={},Kl={exports:{}},Xl={};var Bd;function S0(){return Bd||(Bd=1,(function(e){function o(K,ee){var Z=K.length;K.push(ee);e:for(;0<Z;){var R=Z-1>>>1,q=K[R];if(0<l(q,ee))K[R]=ee,K[Z]=q,Z=R;else break e}}function n(K){return K.length===0?null:K[0]}function i(K){if(K.length===0)return null;var ee=K[0],Z=K.pop();if(Z!==ee){K[0]=Z;e:for(var R=0,q=K.length,ce=q>>>1;R<ce;){var M=2*(R+1)-1,ie=K[M],ye=M+1,ze=K[ye];if(0>l(ie,Z))ye<q&&0>l(ze,ie)?(K[R]=ze,K[ye]=Z,R=ye):(K[R]=ie,K[M]=Z,R=M);else if(ye<q&&0>l(ze,Z))K[R]=ze,K[ye]=Z,R=ye;else break e}}return ee}function l(K,ee){var Z=K.sortIndex-ee.sortIndex;return Z!==0?Z:K.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=[],m=[],g=1,v=null,y=3,b=!1,k=!1,w=!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(K){for(var ee=n(m);ee!==null;){if(ee.callback===null)i(m);else if(ee.startTime<=K)i(m),ee.sortIndex=ee.expirationTime,o(p,ee);else break;ee=n(m)}}function z(K){if(w=!1,T(K),!k)if(n(p)!==null)k=!0,ge(j);else{var ee=n(m);ee!==null&&he(z,ee.startTime-K)}}function j(K,ee){k=!1,w&&(w=!1,C(H),H=-1),b=!0;var Z=y;try{for(T(ee),v=n(p);v!==null&&(!(v.expirationTime>ee)||K&&!pe());){var R=v.callback;if(typeof R=="function"){v.callback=null,y=v.priorityLevel;var q=R(v.expirationTime<=ee);ee=e.unstable_now(),typeof q=="function"?v.callback=q:v===n(p)&&i(p),T(ee)}else i(p);v=n(p)}if(v!==null)var ce=!0;else{var M=n(m);M!==null&&he(z,M.startTime-ee),ce=!1}return ce}finally{v=null,y=Z,b=!1}}var A=!1,O=null,H=-1,J=5,te=-1;function pe(){return!(e.unstable_now()-te<J)}function me(){if(O!==null){var K=e.unstable_now();te=K;var ee=!0;try{ee=O(!0,K)}finally{ee?V():(A=!1,O=null)}}else A=!1}var V;if(typeof N=="function")V=function(){N(me)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,Ce=oe.port2;oe.port1.onmessage=me,V=function(){Ce.postMessage(null)}}else V=function(){_(me,0)};function ge(K){O=K,A||(A=!0,V())}function he(K,ee){H=_(function(){K(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(K){K.callback=null},e.unstable_continueExecution=function(){k||b||(k=!0,ge(j))},e.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<K?Math.floor(1e3/K):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(p)},e.unstable_next=function(K){switch(y){case 1:case 2:case 3:var ee=3;break;default:ee=y}var Z=y;y=ee;try{return K()}finally{y=Z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(K,ee){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var Z=y;y=K;try{return ee()}finally{y=Z}},e.unstable_scheduleCallback=function(K,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,K){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=Z+q,K={id:g++,callback:ee,priorityLevel:K,startTime:Z,expirationTime:q,sortIndex:-1},Z>R?(K.sortIndex=Z,o(m,K),n(p)===null&&K===n(m)&&(w?(C(H),H=-1):w=!0,he(z,Z-R))):(K.sortIndex=q,o(p,K),k||b||(k=!0,ge(j))),K},e.unstable_shouldYield=pe,e.unstable_wrapCallback=function(K){var ee=y;return function(){var Z=y;y=ee;try{return K.apply(this,arguments)}finally{y=Z}}}})(Xl)),Xl}var Cd;function zd(){return Cd||(Cd=1,Kl.exports=S0()),Kl.exports}var Nd;function _0(){if(Nd)return zt;Nd=1;var e=Ul(),o=zd();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,m=/^[: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:m.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 k(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 w(t,r,s,a,d,h,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=h,this.removeEmptyString=x}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){_[t]=new w(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 w(r,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){_[t]=new w(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){_[t]=new w(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 w(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){_[t]=new w(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){_[t]=new w(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){_[t]=new w(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){_[t]=new w(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 w(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 w(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 w(r,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){_[t]=new w(t,1,!1,t.toLowerCase(),null,!1,!1)}),_.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){_[t]=new w(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")&&(k(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"),A=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),pe=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),Ce=Symbol.for("react.memo"),ge=Symbol.for("react.lazy"),he=Symbol.for("react.offscreen"),K=Symbol.iterator;function ee(t){return t===null||typeof t!="object"?null:(t=K&&t[K]||t["@@iterator"],typeof t=="function"?t:null)}var Z=Object.assign,R;function q(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 M(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(I){var a=I}Reflect.construct(t,[],r)}else{try{r.call()}catch(I){a=I}t.call(r.prototype)}else{try{throw Error()}catch(I){a=I}t()}}catch(I){if(I&&a&&typeof I.stack=="string"){for(var d=I.stack.split(`
4
- `),h=a.stack.split(`
5
- `),x=d.length-1,B=h.length-1;1<=x&&0<=B&&d[x]!==h[B];)B--;for(;1<=x&&0<=B;x--,B--)if(d[x]!==h[B]){if(x!==1||B!==1)do if(x--,B--,0>B||d[x]!==h[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:"")?q(t):""}function ie(t){switch(t.tag){case 5:return q(t.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return t=M(t.type,!1),t;case 11:return t=M(t.type.render,!1),t;case 1:return t=M(t.type,!0),t;default:return""}}function ye(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 O:return"Fragment";case A:return"Portal";case J:return"Profiler";case H:return"StrictMode";case V:return"Suspense";case oe:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case pe:return(t.displayName||"Context")+".Consumer";case te:return(t._context.displayName||"Context")+".Provider";case me:var r=t.render;return t=t.displayName,t||(t=r.displayName||r.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Ce:return r=t.displayName||null,r!==null?r:ye(t.type)||"Memo";case ge:r=t._payload,t=t._init;try{return ye(t(r))}catch{}}return null}function ze(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 ye(r);case 8:return r===H?"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 Ne(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function xe(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function it(t){var r=xe(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,h=s.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return d.call(this)},set:function(x){a=""+x,h.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 sn(t){t._valueTracker||(t._valueTracker=it(t))}function Ds(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var s=r.getValue(),a="";return t&&(a=xe(t)?t.checked?"true":"false":t.value),t=a,t!==s?(r.setValue(t),!0):!1}function qe(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 Lt(t,r){var s=r.checked;return Z({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??t._wrapperState.initialChecked})}function Yt(t,r){var s=r.defaultValue==null?"":r.defaultValue,a=r.checked!=null?r.checked:r.defaultChecked;s=Ne(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 ln(t,r){r=r.checked,r!=null&&T(t,"checked",r,!1)}function Ar(t,r){ln(t,r);var s=Ne(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")?zo(t,r.type,s):r.hasOwnProperty("defaultValue")&&zo(t,r.type,Ne(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(t.defaultChecked=!!r.defaultChecked)}function an(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 zo(t,r,s){(r!=="number"||qe(t.ownerDocument)!==t)&&(s==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+s&&(t.defaultValue=""+s))}var ri=Array.isArray;function cn(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=""+Ne(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 zc(t,r){if(r.dangerouslySetInnerHTML!=null)throw Error(n(91));return Z({},r,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Nm(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(ri(s)){if(1<s.length)throw Error(n(93));s=s[0]}r=s}r==null&&(r=""),s=r}t._wrapperState={initialValue:Ne(s)}}function Tm(t,r){var s=Ne(r.value),a=Ne(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 Em(t){var r=t.textContent;r===t._wrapperState.initialValue&&r!==""&&r!==null&&(t.value=r)}function Pm(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 Nc(t,r){return t==null||t==="http://www.w3.org/1999/xhtml"?Pm(r):t==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Is,jm=(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(Is=Is||document.createElement("div"),Is.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Is.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;r.firstChild;)t.appendChild(r.firstChild)}});function oi(t,r){if(r){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=r;return}}t.textContent=r}var ni={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},l5=["Webkit","ms","Moz","O"];Object.keys(ni).forEach(function(t){l5.forEach(function(r){r=r+t.charAt(0).toUpperCase()+t.substring(1),ni[r]=ni[t]})});function Rm(t,r,s){return r==null||typeof r=="boolean"||r===""?"":s||typeof r!="number"||r===0||ni.hasOwnProperty(t)&&ni[t]?(""+r).trim():r+"px"}function Fm(t,r){t=t.style;for(var s in r)if(r.hasOwnProperty(s)){var a=s.indexOf("--")===0,d=Rm(s,r[s],a);s==="float"&&(s="cssFloat"),a?t.setProperty(s,d):t[s]=d}}var a5=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 Tc(t,r){if(r){if(a5[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 Ec(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 Pc=null;function jc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Rc=null,un=null,dn=null;function Dm(t){if(t=Ci(t)){if(typeof Rc!="function")throw Error(n(280));var r=t.stateNode;r&&(r=il(r),Rc(t.stateNode,t.type,r))}}function Im(t){un?dn?dn.push(t):dn=[t]:un=t}function Om(){if(un){var t=un,r=dn;if(dn=un=null,Dm(t),r)for(t=0;t<r.length;t++)Dm(r[t])}}function Am(t,r){return t(r)}function qm(){}var Fc=!1;function Mm(t,r,s){if(Fc)return t(r,s);Fc=!0;try{return Am(t,r,s)}finally{Fc=!1,(un!==null||dn!==null)&&(qm(),Om())}}function ii(t,r){var s=t.stateNode;if(s===null)return null;var a=il(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 Dc=!1;if(f)try{var si={};Object.defineProperty(si,"passive",{get:function(){Dc=!0}}),window.addEventListener("test",si,si),window.removeEventListener("test",si,si)}catch{Dc=!1}function c5(t,r,s,a,d,h,x,B,E){var I=Array.prototype.slice.call(arguments,3);try{r.apply(s,I)}catch(G){this.onError(G)}}var li=!1,Os=null,As=!1,Ic=null,u5={onError:function(t){li=!0,Os=t}};function d5(t,r,s,a,d,h,x,B,E){li=!1,Os=null,c5.apply(u5,arguments)}function f5(t,r,s,a,d,h,x,B,E){if(d5.apply(this,arguments),li){if(li){var I=Os;li=!1,Os=null}else throw Error(n(198));As||(As=!0,Ic=I)}}function No(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 Lm(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 Hm(t){if(No(t)!==t)throw Error(n(188))}function p5(t){var r=t.alternate;if(!r){if(r=No(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 h=d.alternate;if(h===null){if(a=d.return,a!==null){s=a;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===s)return Hm(d),t;if(h===a)return Hm(d),r;h=h.sibling}throw Error(n(188))}if(s.return!==a.return)s=d,a=h;else{for(var x=!1,B=d.child;B;){if(B===s){x=!0,s=d,a=h;break}if(B===a){x=!0,a=d,s=h;break}B=B.sibling}if(!x){for(B=h.child;B;){if(B===s){x=!0,s=h,a=d;break}if(B===a){x=!0,a=h,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 Wm(t){return t=p5(t),t!==null?Vm(t):null}function Vm(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var r=Vm(t);if(r!==null)return r;t=t.sibling}return null}var $m=o.unstable_scheduleCallback,Um=o.unstable_cancelCallback,h5=o.unstable_shouldYield,m5=o.unstable_requestPaint,Ze=o.unstable_now,g5=o.unstable_getCurrentPriorityLevel,Oc=o.unstable_ImmediatePriority,Gm=o.unstable_UserBlockingPriority,qs=o.unstable_NormalPriority,v5=o.unstable_LowPriority,Km=o.unstable_IdlePriority,Ms=null,Br=null;function b5(t){if(Br&&typeof Br.onCommitFiberRoot=="function")try{Br.onCommitFiberRoot(Ms,t,void 0,(t.current.flags&128)===128)}catch{}}var fr=Math.clz32?Math.clz32:k5,y5=Math.log,w5=Math.LN2;function k5(t){return t>>>=0,t===0?32:31-(y5(t)/w5|0)|0}var Ls=64,Hs=4194304;function ai(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 Ws(t,r){var s=t.pendingLanes;if(s===0)return 0;var a=0,d=t.suspendedLanes,h=t.pingedLanes,x=s&268435455;if(x!==0){var B=x&~d;B!==0?a=ai(B):(h&=x,h!==0&&(a=ai(h)))}else x=s&~d,x!==0?a=ai(x):h!==0&&(a=ai(h));if(a===0)return 0;if(r!==0&&r!==a&&(r&d)===0&&(d=a&-a,h=r&-r,d>=h||d===16&&(h&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-fr(r),d=1<<s,a|=t[s],r&=~d;return a}function x5(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 S5(t,r){for(var s=t.suspendedLanes,a=t.pingedLanes,d=t.expirationTimes,h=t.pendingLanes;0<h;){var x=31-fr(h),B=1<<x,E=d[x];E===-1?((B&s)===0||(B&a)!==0)&&(d[x]=x5(B,r)):E<=r&&(t.expiredLanes|=B),h&=~B}}function Ac(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function Xm(){var t=Ls;return Ls<<=1,(Ls&4194240)===0&&(Ls=64),t}function qc(t){for(var r=[],s=0;31>s;s++)r.push(t);return r}function ci(t,r,s){t.pendingLanes|=r,r!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,r=31-fr(r),t[r]=s}function _5(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-fr(s),h=1<<d;r[d]=0,a[d]=-1,t[d]=-1,s&=~h}}function Mc(t,r){var s=t.entangledLanes|=r;for(t=t.entanglements;s;){var a=31-fr(s),d=1<<a;d&r|t[a]&r&&(t[a]|=r),s&=~d}}var Fe=0;function Qm(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var Ym,Lc,Jm,Zm,eg,Hc=!1,Vs=[],ro=null,oo=null,no=null,ui=new Map,di=new Map,io=[],B5="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 tg(t,r){switch(t){case"focusin":case"focusout":ro=null;break;case"dragenter":case"dragleave":oo=null;break;case"mouseover":case"mouseout":no=null;break;case"pointerover":case"pointerout":ui.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":di.delete(r.pointerId)}}function fi(t,r,s,a,d,h){return t===null||t.nativeEvent!==h?(t={blockedOn:r,domEventName:s,eventSystemFlags:a,nativeEvent:h,targetContainers:[d]},r!==null&&(r=Ci(r),r!==null&&Lc(r)),t):(t.eventSystemFlags|=a,r=t.targetContainers,d!==null&&r.indexOf(d)===-1&&r.push(d),t)}function C5(t,r,s,a,d){switch(r){case"focusin":return ro=fi(ro,t,r,s,a,d),!0;case"dragenter":return oo=fi(oo,t,r,s,a,d),!0;case"mouseover":return no=fi(no,t,r,s,a,d),!0;case"pointerover":var h=d.pointerId;return ui.set(h,fi(ui.get(h)||null,t,r,s,a,d)),!0;case"gotpointercapture":return h=d.pointerId,di.set(h,fi(di.get(h)||null,t,r,s,a,d)),!0}return!1}function rg(t){var r=To(t.target);if(r!==null){var s=No(r);if(s!==null){if(r=s.tag,r===13){if(r=Lm(s),r!==null){t.blockedOn=r,eg(t.priority,function(){Jm(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 $s(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var s=Vc(t.domEventName,t.eventSystemFlags,r[0],t.nativeEvent);if(s===null){s=t.nativeEvent;var a=new s.constructor(s.type,s);Pc=a,s.target.dispatchEvent(a),Pc=null}else return r=Ci(s),r!==null&&Lc(r),t.blockedOn=s,!1;r.shift()}return!0}function og(t,r,s){$s(t)&&s.delete(r)}function z5(){Hc=!1,ro!==null&&$s(ro)&&(ro=null),oo!==null&&$s(oo)&&(oo=null),no!==null&&$s(no)&&(no=null),ui.forEach(og),di.forEach(og)}function pi(t,r){t.blockedOn===r&&(t.blockedOn=null,Hc||(Hc=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,z5)))}function hi(t){function r(d){return pi(d,t)}if(0<Vs.length){pi(Vs[0],t);for(var s=1;s<Vs.length;s++){var a=Vs[s];a.blockedOn===t&&(a.blockedOn=null)}}for(ro!==null&&pi(ro,t),oo!==null&&pi(oo,t),no!==null&&pi(no,t),ui.forEach(r),di.forEach(r),s=0;s<io.length;s++)a=io[s],a.blockedOn===t&&(a.blockedOn=null);for(;0<io.length&&(s=io[0],s.blockedOn===null);)rg(s),s.blockedOn===null&&io.shift()}var fn=z.ReactCurrentBatchConfig,Us=!0;function N5(t,r,s,a){var d=Fe,h=fn.transition;fn.transition=null;try{Fe=1,Wc(t,r,s,a)}finally{Fe=d,fn.transition=h}}function T5(t,r,s,a){var d=Fe,h=fn.transition;fn.transition=null;try{Fe=4,Wc(t,r,s,a)}finally{Fe=d,fn.transition=h}}function Wc(t,r,s,a){if(Us){var d=Vc(t,r,s,a);if(d===null)lu(t,r,a,Gs,s),tg(t,a);else if(C5(d,t,r,s,a))a.stopPropagation();else if(tg(t,a),r&4&&-1<B5.indexOf(t)){for(;d!==null;){var h=Ci(d);if(h!==null&&Ym(h),h=Vc(t,r,s,a),h===null&&lu(t,r,a,Gs,s),h===d)break;d=h}d!==null&&a.stopPropagation()}else lu(t,r,a,null,s)}}var Gs=null;function Vc(t,r,s,a){if(Gs=null,t=jc(a),t=To(t),t!==null)if(r=No(t),r===null)t=null;else if(s=r.tag,s===13){if(t=Lm(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 Gs=t,null}function ng(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(g5()){case Oc:return 1;case Gm:return 4;case qs:case v5:return 16;case Km:return 536870912;default:return 16}default:return 16}}var so=null,$c=null,Ks=null;function ig(){if(Ks)return Ks;var t,r=$c,s=r.length,a,d="value"in so?so.value:so.textContent,h=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[h-a];a++);return Ks=d.slice(t,1<a?1-a:void 0)}function Xs(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 Qs(){return!0}function sg(){return!1}function Ht(t){function r(s,a,d,h,x){this._reactName=s,this._targetInst=d,this.type=a,this.nativeEvent=h,this.target=x,this.currentTarget=null;for(var B in t)t.hasOwnProperty(B)&&(s=t[B],this[B]=s?s(h):h[B]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Qs:sg,this.isPropagationStopped=sg,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=Qs)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Qs)},persist:function(){},isPersistent:Qs}),r}var pn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Uc=Ht(pn),mi=Z({},pn,{view:0,detail:0}),E5=Ht(mi),Gc,Kc,gi,Ys=Z({},mi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qc,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!==gi&&(gi&&t.type==="mousemove"?(Gc=t.screenX-gi.screenX,Kc=t.screenY-gi.screenY):Kc=Gc=0,gi=t),Gc)},movementY:function(t){return"movementY"in t?t.movementY:Kc}}),lg=Ht(Ys),P5=Z({},Ys,{dataTransfer:0}),j5=Ht(P5),R5=Z({},mi,{relatedTarget:0}),Xc=Ht(R5),F5=Z({},pn,{animationName:0,elapsedTime:0,pseudoElement:0}),D5=Ht(F5),I5=Z({},pn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),O5=Ht(I5),A5=Z({},pn,{data:0}),ag=Ht(A5),q5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},M5={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"},L5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function H5(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=L5[t])?!!r[t]:!1}function Qc(){return H5}var W5=Z({},mi,{key:function(t){if(t.key){var r=q5[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=Xs(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?M5[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qc,charCode:function(t){return t.type==="keypress"?Xs(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Xs(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),V5=Ht(W5),$5=Z({},Ys,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),cg=Ht($5),U5=Z({},mi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qc}),G5=Ht(U5),K5=Z({},pn,{propertyName:0,elapsedTime:0,pseudoElement:0}),X5=Ht(K5),Q5=Z({},Ys,{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}),Y5=Ht(Q5),J5=[9,13,27,32],Yc=f&&"CompositionEvent"in window,vi=null;f&&"documentMode"in document&&(vi=document.documentMode);var Z5=f&&"TextEvent"in window&&!vi,ug=f&&(!Yc||vi&&8<vi&&11>=vi),dg=" ",fg=!1;function pg(t,r){switch(t){case"keyup":return J5.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hg(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var hn=!1;function e3(t,r){switch(t){case"compositionend":return hg(r);case"keypress":return r.which!==32?null:(fg=!0,dg);case"textInput":return t=r.data,t===dg&&fg?null:t;default:return null}}function t3(t,r){if(hn)return t==="compositionend"||!Yc&&pg(t,r)?(t=ig(),Ks=$c=so=null,hn=!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 ug&&r.locale!=="ko"?null:r.data;default:return null}}var r3={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 mg(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!r3[t.type]:r==="textarea"}function gg(t,r,s,a){Im(a),r=rl(r,"onChange"),0<r.length&&(s=new Uc("onChange","change",null,s,a),t.push({event:s,listeners:r}))}var bi=null,yi=null;function o3(t){Fg(t,0)}function Js(t){var r=yn(t);if(Ds(r))return t}function n3(t,r){if(t==="change")return r}var vg=!1;if(f){var Jc;if(f){var Zc="oninput"in document;if(!Zc){var bg=document.createElement("div");bg.setAttribute("oninput","return;"),Zc=typeof bg.oninput=="function"}Jc=Zc}else Jc=!1;vg=Jc&&(!document.documentMode||9<document.documentMode)}function yg(){bi&&(bi.detachEvent("onpropertychange",wg),yi=bi=null)}function wg(t){if(t.propertyName==="value"&&Js(yi)){var r=[];gg(r,yi,t,jc(t)),Mm(o3,r)}}function i3(t,r,s){t==="focusin"?(yg(),bi=r,yi=s,bi.attachEvent("onpropertychange",wg)):t==="focusout"&&yg()}function s3(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Js(yi)}function l3(t,r){if(t==="click")return Js(r)}function a3(t,r){if(t==="input"||t==="change")return Js(r)}function c3(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var pr=typeof Object.is=="function"?Object.is:c3;function wi(t,r){if(pr(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)||!pr(t[d],r[d]))return!1}return!0}function kg(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function xg(t,r){var s=kg(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=kg(s)}}function Sg(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?Sg(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function _g(){for(var t=window,r=qe();r instanceof t.HTMLIFrameElement;){try{var s=typeof r.contentWindow.location.href=="string"}catch{s=!1}if(s)t=r.contentWindow;else break;r=qe(t.document)}return r}function eu(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 u3(t){var r=_g(),s=t.focusedElem,a=t.selectionRange;if(r!==s&&s&&s.ownerDocument&&Sg(s.ownerDocument.documentElement,s)){if(a!==null&&eu(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,h=Math.min(a.start,d);a=a.end===void 0?h:Math.min(a.end,d),!t.extend&&h>a&&(d=a,a=h,h=d),d=xg(s,h);var x=xg(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(),h>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 d3=f&&"documentMode"in document&&11>=document.documentMode,mn=null,tu=null,ki=null,ru=!1;function Bg(t,r,s){var a=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;ru||mn==null||mn!==qe(a)||(a=mn,"selectionStart"in a&&eu(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}),ki&&wi(ki,a)||(ki=a,a=rl(tu,"onSelect"),0<a.length&&(r=new Uc("onSelect","select",null,r,s),t.push({event:r,listeners:a}),r.target=mn)))}function Zs(t,r){var s={};return s[t.toLowerCase()]=r.toLowerCase(),s["Webkit"+t]="webkit"+r,s["Moz"+t]="moz"+r,s}var gn={animationend:Zs("Animation","AnimationEnd"),animationiteration:Zs("Animation","AnimationIteration"),animationstart:Zs("Animation","AnimationStart"),transitionend:Zs("Transition","TransitionEnd")},ou={},Cg={};f&&(Cg=document.createElement("div").style,"AnimationEvent"in window||(delete gn.animationend.animation,delete gn.animationiteration.animation,delete gn.animationstart.animation),"TransitionEvent"in window||delete gn.transitionend.transition);function el(t){if(ou[t])return ou[t];if(!gn[t])return t;var r=gn[t],s;for(s in r)if(r.hasOwnProperty(s)&&s in Cg)return ou[t]=r[s];return t}var zg=el("animationend"),Ng=el("animationiteration"),Tg=el("animationstart"),Eg=el("transitionend"),Pg=new Map,jg="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 lo(t,r){Pg.set(t,r),c(r,[t])}for(var nu=0;nu<jg.length;nu++){var iu=jg[nu],f3=iu.toLowerCase(),p3=iu[0].toUpperCase()+iu.slice(1);lo(f3,"on"+p3)}lo(zg,"onAnimationEnd"),lo(Ng,"onAnimationIteration"),lo(Tg,"onAnimationStart"),lo("dblclick","onDoubleClick"),lo("focusin","onFocus"),lo("focusout","onBlur"),lo(Eg,"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 xi="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(" "),h3=new Set("cancel close invalid load scroll toggle".split(" ").concat(xi));function Rg(t,r,s){var a=t.type||"unknown-event";t.currentTarget=s,f5(a,r,void 0,t),t.currentTarget=null}function Fg(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 h=void 0;if(r)for(var x=a.length-1;0<=x;x--){var B=a[x],E=B.instance,I=B.currentTarget;if(B=B.listener,E!==h&&d.isPropagationStopped())break e;Rg(d,B,I),h=E}else for(x=0;x<a.length;x++){if(B=a[x],E=B.instance,I=B.currentTarget,B=B.listener,E!==h&&d.isPropagationStopped())break e;Rg(d,B,I),h=E}}}if(As)throw t=Ic,As=!1,Ic=null,t}function Me(t,r){var s=r[pu];s===void 0&&(s=r[pu]=new Set);var a=t+"__bubble";s.has(a)||(Dg(r,t,2,!1),s.add(a))}function su(t,r,s){var a=0;r&&(a|=4),Dg(s,t,a,r)}var tl="_reactListening"+Math.random().toString(36).slice(2);function Si(t){if(!t[tl]){t[tl]=!0,i.forEach(function(s){s!=="selectionchange"&&(h3.has(s)||su(s,!1,t),su(s,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[tl]||(r[tl]=!0,su("selectionchange",!1,r))}}function Dg(t,r,s,a){switch(ng(r)){case 1:var d=N5;break;case 4:d=T5;break;default:d=Wc}s=d.bind(null,r,s,t),d=void 0,!Dc||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 lu(t,r,s,a,d){var h=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=To(B),x===null)return;if(E=x.tag,E===5||E===6){a=h=x;continue e}B=B.parentNode}}a=a.return}Mm(function(){var I=h,G=jc(s),X=[];e:{var $=Pg.get(t);if($!==void 0){var ne=Uc,le=t;switch(t){case"keypress":if(Xs(s)===0)break e;case"keydown":case"keyup":ne=V5;break;case"focusin":le="focus",ne=Xc;break;case"focusout":le="blur",ne=Xc;break;case"beforeblur":case"afterblur":ne=Xc;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=lg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=j5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=G5;break;case zg:case Ng:case Tg:ne=D5;break;case Eg:ne=X5;break;case"scroll":ne=E5;break;case"wheel":ne=Y5;break;case"copy":case"cut":case"paste":ne=O5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=cg}var ue=(r&4)!==0,et=!ue&&t==="scroll",F=ue?$!==null?$+"Capture":null:$;ue=[];for(var P=I,D;P!==null;){D=P;var Q=D.stateNode;if(D.tag===5&&Q!==null&&(D=Q,F!==null&&(Q=ii(P,F),Q!=null&&ue.push(_i(P,Q,D)))),et)break;P=P.return}0<ue.length&&($=new ne($,le,null,s,G),X.push({event:$,listeners:ue}))}}if((r&7)===0){e:{if($=t==="mouseover"||t==="pointerover",ne=t==="mouseout"||t==="pointerout",$&&s!==Pc&&(le=s.relatedTarget||s.fromElement)&&(To(le)||le[qr]))break e;if((ne||$)&&($=G.window===G?G:($=G.ownerDocument)?$.defaultView||$.parentWindow:window,ne?(le=s.relatedTarget||s.toElement,ne=I,le=le?To(le):null,le!==null&&(et=No(le),le!==et||le.tag!==5&&le.tag!==6)&&(le=null)):(ne=null,le=I),ne!==le)){if(ue=lg,Q="onMouseLeave",F="onMouseEnter",P="mouse",(t==="pointerout"||t==="pointerover")&&(ue=cg,Q="onPointerLeave",F="onPointerEnter",P="pointer"),et=ne==null?$:yn(ne),D=le==null?$:yn(le),$=new ue(Q,P+"leave",ne,s,G),$.target=et,$.relatedTarget=D,Q=null,To(G)===I&&(ue=new ue(F,P+"enter",le,s,G),ue.target=D,ue.relatedTarget=et,Q=ue),et=Q,ne&&le)t:{for(ue=ne,F=le,P=0,D=ue;D;D=vn(D))P++;for(D=0,Q=F;Q;Q=vn(Q))D++;for(;0<P-D;)ue=vn(ue),P--;for(;0<D-P;)F=vn(F),D--;for(;P--;){if(ue===F||F!==null&&ue===F.alternate)break t;ue=vn(ue),F=vn(F)}ue=null}else ue=null;ne!==null&&Ig(X,$,ne,ue,!1),le!==null&&et!==null&&Ig(X,et,le,ue,!0)}}e:{if($=I?yn(I):window,ne=$.nodeName&&$.nodeName.toLowerCase(),ne==="select"||ne==="input"&&$.type==="file")var fe=n3;else if(mg($))if(vg)fe=a3;else{fe=s3;var ve=i3}else(ne=$.nodeName)&&ne.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(fe=l3);if(fe&&(fe=fe(t,I))){gg(X,fe,s,G);break e}ve&&ve(t,$,I),t==="focusout"&&(ve=$._wrapperState)&&ve.controlled&&$.type==="number"&&zo($,"number",$.value)}switch(ve=I?yn(I):window,t){case"focusin":(mg(ve)||ve.contentEditable==="true")&&(mn=ve,tu=I,ki=null);break;case"focusout":ki=tu=mn=null;break;case"mousedown":ru=!0;break;case"contextmenu":case"mouseup":case"dragend":ru=!1,Bg(X,s,G);break;case"selectionchange":if(d3)break;case"keydown":case"keyup":Bg(X,s,G)}var be;if(Yc)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 hn?pg(t,s)&&(we="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(we="onCompositionStart");we&&(ug&&s.locale!=="ko"&&(hn||we!=="onCompositionStart"?we==="onCompositionEnd"&&hn&&(be=ig()):(so=G,$c="value"in so?so.value:so.textContent,hn=!0)),ve=rl(I,we),0<ve.length&&(we=new ag(we,t,null,s,G),X.push({event:we,listeners:ve}),be?we.data=be:(be=hg(s),be!==null&&(we.data=be)))),(be=Z5?e3(t,s):t3(t,s))&&(I=rl(I,"onBeforeInput"),0<I.length&&(G=new ag("onBeforeInput","beforeinput",null,s,G),X.push({event:G,listeners:I}),G.data=be))}Fg(X,r)})}function _i(t,r,s){return{instance:t,listener:r,currentTarget:s}}function rl(t,r){for(var s=r+"Capture",a=[];t!==null;){var d=t,h=d.stateNode;d.tag===5&&h!==null&&(d=h,h=ii(t,s),h!=null&&a.unshift(_i(t,h,d)),h=ii(t,r),h!=null&&a.push(_i(t,h,d))),t=t.return}return a}function vn(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Ig(t,r,s,a,d){for(var h=r._reactName,x=[];s!==null&&s!==a;){var B=s,E=B.alternate,I=B.stateNode;if(E!==null&&E===a)break;B.tag===5&&I!==null&&(B=I,d?(E=ii(s,h),E!=null&&x.unshift(_i(s,E,B))):d||(E=ii(s,h),E!=null&&x.push(_i(s,E,B)))),s=s.return}x.length!==0&&t.push({event:r,listeners:x})}var m3=/\r\n?/g,g3=/\u0000|\uFFFD/g;function Og(t){return(typeof t=="string"?t:""+t).replace(m3,`
7
- `).replace(g3,"")}function ol(t,r,s){if(r=Og(r),Og(t)!==r&&s)throw Error(n(425))}function nl(){}var au=null,cu=null;function uu(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 du=typeof setTimeout=="function"?setTimeout:void 0,v3=typeof clearTimeout=="function"?clearTimeout:void 0,Ag=typeof Promise=="function"?Promise:void 0,b3=typeof queueMicrotask=="function"?queueMicrotask:typeof Ag<"u"?function(t){return Ag.resolve(null).then(t).catch(y3)}:du;function y3(t){setTimeout(function(){throw t})}function fu(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),hi(r);return}a--}else s!=="$"&&s!=="$?"&&s!=="$!"||a++;s=d}while(s);hi(r)}function ao(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 qg(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 bn=Math.random().toString(36).slice(2),Cr="__reactFiber$"+bn,Bi="__reactProps$"+bn,qr="__reactContainer$"+bn,pu="__reactEvents$"+bn,w3="__reactListeners$"+bn,k3="__reactHandles$"+bn;function To(t){var r=t[Cr];if(r)return r;for(var s=t.parentNode;s;){if(r=s[qr]||s[Cr]){if(s=r.alternate,r.child!==null||s!==null&&s.child!==null)for(t=qg(t);t!==null;){if(s=t[Cr])return s;t=qg(t)}return r}t=s,s=t.parentNode}return null}function Ci(t){return t=t[Cr]||t[qr],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function yn(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(n(33))}function il(t){return t[Bi]||null}var hu=[],wn=-1;function co(t){return{current:t}}function Le(t){0>wn||(t.current=hu[wn],hu[wn]=null,wn--)}function Ae(t,r){wn++,hu[wn]=t.current,t.current=r}var uo={},kt=co(uo),Pt=co(!1),Eo=uo;function kn(t,r){var s=t.type.contextTypes;if(!s)return uo;var a=t.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===r)return a.__reactInternalMemoizedMaskedChildContext;var d={},h;for(h in s)d[h]=r[h];return a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=d),d}function jt(t){return t=t.childContextTypes,t!=null}function sl(){Le(Pt),Le(kt)}function Mg(t,r,s){if(kt.current!==uo)throw Error(n(168));Ae(kt,r),Ae(Pt,s)}function Lg(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,ze(t)||"Unknown",d));return Z({},s,a)}function ll(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||uo,Eo=kt.current,Ae(kt,t),Ae(Pt,Pt.current),!0}function Hg(t,r,s){var a=t.stateNode;if(!a)throw Error(n(169));s?(t=Lg(t,r,Eo),a.__reactInternalMemoizedMergedChildContext=t,Le(Pt),Le(kt),Ae(kt,t)):Le(Pt),Ae(Pt,s)}var Mr=null,al=!1,mu=!1;function Wg(t){Mr===null?Mr=[t]:Mr.push(t)}function x3(t){al=!0,Wg(t)}function fo(){if(!mu&&Mr!==null){mu=!0;var t=0,r=Fe;try{var s=Mr;for(Fe=1;t<s.length;t++){var a=s[t];do a=a(!0);while(a!==null)}Mr=null,al=!1}catch(d){throw Mr!==null&&(Mr=Mr.slice(t+1)),$m(Oc,fo),d}finally{Fe=r,mu=!1}}return null}var xn=[],Sn=0,cl=null,ul=0,Jt=[],Zt=0,Po=null,Lr=1,Hr="";function jo(t,r){xn[Sn++]=ul,xn[Sn++]=cl,cl=t,ul=r}function Vg(t,r,s){Jt[Zt++]=Lr,Jt[Zt++]=Hr,Jt[Zt++]=Po,Po=t;var a=Lr;t=Hr;var d=32-fr(a)-1;a&=~(1<<d),s+=1;var h=32-fr(r)+d;if(30<h){var x=d-d%5;h=(a&(1<<x)-1).toString(32),a>>=x,d-=x,Lr=1<<32-fr(r)+d|s<<d|a,Hr=h+t}else Lr=1<<h|s<<d|a,Hr=t}function gu(t){t.return!==null&&(jo(t,1),Vg(t,1,0))}function vu(t){for(;t===cl;)cl=xn[--Sn],xn[Sn]=null,ul=xn[--Sn],xn[Sn]=null;for(;t===Po;)Po=Jt[--Zt],Jt[Zt]=null,Hr=Jt[--Zt],Jt[Zt]=null,Lr=Jt[--Zt],Jt[Zt]=null}var Wt=null,Vt=null,He=!1,hr=null;function $g(t,r){var s=or(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 Ug(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,Wt=t,Vt=ao(r.firstChild),!0):!1;case 6:return r=t.pendingProps===""||r.nodeType!==3?null:r,r!==null?(t.stateNode=r,Wt=t,Vt=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(s=Po!==null?{id:Lr,overflow:Hr}:null,t.memoizedState={dehydrated:r,treeContext:s,retryLane:1073741824},s=or(18,null,null,0),s.stateNode=r,s.return=t,t.child=s,Wt=t,Vt=null,!0):!1;default:return!1}}function bu(t){return(t.mode&1)!==0&&(t.flags&128)===0}function yu(t){if(He){var r=Vt;if(r){var s=r;if(!Ug(t,r)){if(bu(t))throw Error(n(418));r=ao(s.nextSibling);var a=Wt;r&&Ug(t,r)?$g(a,s):(t.flags=t.flags&-4097|2,He=!1,Wt=t)}}else{if(bu(t))throw Error(n(418));t.flags=t.flags&-4097|2,He=!1,Wt=t}}}function Gg(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Wt=t}function dl(t){if(t!==Wt)return!1;if(!He)return Gg(t),He=!0,!1;var r;if((r=t.tag!==3)&&!(r=t.tag!==5)&&(r=t.type,r=r!=="head"&&r!=="body"&&!uu(t.type,t.memoizedProps)),r&&(r=Vt)){if(bu(t))throw Kg(),Error(n(418));for(;r;)$g(t,r),r=ao(r.nextSibling)}if(Gg(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){Vt=ao(t.nextSibling);break e}r--}else s!=="$"&&s!=="$!"&&s!=="$?"||r++}t=t.nextSibling}Vt=null}}else Vt=Wt?ao(t.stateNode.nextSibling):null;return!0}function Kg(){for(var t=Vt;t;)t=ao(t.nextSibling)}function _n(){Vt=Wt=null,He=!1}function wu(t){hr===null?hr=[t]:hr.push(t)}var S3=z.ReactCurrentBatchConfig;function zi(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,h=""+t;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===h?r.ref:(r=function(x){var B=d.refs;x===null?delete B[h]:B[h]=x},r._stringRef=h,r)}if(typeof t!="string")throw Error(n(284));if(!s._owner)throw Error(n(290,t))}return t}function fl(t,r){throw t=Object.prototype.toString.call(r),Error(n(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t))}function Xg(t){var r=t._init;return r(t._payload)}function Qg(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=wo(F,P),F.index=0,F.sibling=null,F}function h(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=dd(D,F.mode,Q),P.return=F,P):(P=d(P,D),P.return=F,P)}function E(F,P,D,Q){var fe=D.type;return fe===O?G(F,P,D.props.children,Q,D.key):P!==null&&(P.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ge&&Xg(fe)===P.type)?(Q=d(P,D.props),Q.ref=zi(F,P,D),Q.return=F,Q):(Q=Il(D.type,D.key,D.props,null,F.mode,Q),Q.ref=zi(F,P,D),Q.return=F,Q)}function I(F,P,D,Q){return P===null||P.tag!==4||P.stateNode.containerInfo!==D.containerInfo||P.stateNode.implementation!==D.implementation?(P=fd(D,F.mode,Q),P.return=F,P):(P=d(P,D.children||[]),P.return=F,P)}function G(F,P,D,Q,fe){return P===null||P.tag!==7?(P=Mo(D,F.mode,Q,fe),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=dd(""+P,F.mode,D),P.return=F,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case j:return D=Il(P.type,P.key,P.props,null,F.mode,D),D.ref=zi(F,null,P),D.return=F,D;case A:return P=fd(P,F.mode,D),P.return=F,P;case ge:var Q=P._init;return X(F,Q(P._payload),D)}if(ri(P)||ee(P))return P=Mo(P,F.mode,D,null),P.return=F,P;fl(F,P)}return null}function $(F,P,D,Q){var fe=P!==null?P.key:null;if(typeof D=="string"&&D!==""||typeof D=="number")return fe!==null?null:B(F,P,""+D,Q);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case j:return D.key===fe?E(F,P,D,Q):null;case A:return D.key===fe?I(F,P,D,Q):null;case ge:return fe=D._init,$(F,P,fe(D._payload),Q)}if(ri(D)||ee(D))return fe!==null?null:G(F,P,D,Q,null);fl(F,D)}return null}function ne(F,P,D,Q,fe){if(typeof Q=="string"&&Q!==""||typeof Q=="number")return F=F.get(D)||null,B(P,F,""+Q,fe);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,fe);case A:return F=F.get(Q.key===null?D:Q.key)||null,I(P,F,Q,fe);case ge:var ve=Q._init;return ne(F,P,D,ve(Q._payload),fe)}if(ri(Q)||ee(Q))return F=F.get(D)||null,G(P,F,Q,fe,null);fl(P,Q)}return null}function le(F,P,D,Q){for(var fe=null,ve=null,be=P,we=P=0,ft=null;be!==null&&we<D.length;we++){be.index>we?(ft=be,be=null):ft=be.sibling;var Pe=$(F,be,D[we],Q);if(Pe===null){be===null&&(be=ft);break}t&&be&&Pe.alternate===null&&r(F,be),P=h(Pe,P,we),ve===null?fe=Pe:ve.sibling=Pe,ve=Pe,be=ft}if(we===D.length)return s(F,be),He&&jo(F,we),fe;if(be===null){for(;we<D.length;we++)be=X(F,D[we],Q),be!==null&&(P=h(be,P,we),ve===null?fe=be:ve.sibling=be,ve=be);return He&&jo(F,we),fe}for(be=a(F,be);we<D.length;we++)ft=ne(be,F,we,D[we],Q),ft!==null&&(t&&ft.alternate!==null&&be.delete(ft.key===null?we:ft.key),P=h(ft,P,we),ve===null?fe=ft:ve.sibling=ft,ve=ft);return t&&be.forEach(function(ko){return r(F,ko)}),He&&jo(F,we),fe}function ue(F,P,D,Q){var fe=ee(D);if(typeof fe!="function")throw Error(n(150));if(D=fe.call(D),D==null)throw Error(n(151));for(var ve=fe=null,be=P,we=P=0,ft=null,Pe=D.next();be!==null&&!Pe.done;we++,Pe=D.next()){be.index>we?(ft=be,be=null):ft=be.sibling;var ko=$(F,be,Pe.value,Q);if(ko===null){be===null&&(be=ft);break}t&&be&&ko.alternate===null&&r(F,be),P=h(ko,P,we),ve===null?fe=ko:ve.sibling=ko,ve=ko,be=ft}if(Pe.done)return s(F,be),He&&jo(F,we),fe;if(be===null){for(;!Pe.done;we++,Pe=D.next())Pe=X(F,Pe.value,Q),Pe!==null&&(P=h(Pe,P,we),ve===null?fe=Pe:ve.sibling=Pe,ve=Pe);return He&&jo(F,we),fe}for(be=a(F,be);!Pe.done;we++,Pe=D.next())Pe=ne(be,F,we,Pe.value,Q),Pe!==null&&(t&&Pe.alternate!==null&&be.delete(Pe.key===null?we:Pe.key),P=h(Pe,P,we),ve===null?fe=Pe:ve.sibling=Pe,ve=Pe);return t&&be.forEach(function(r4){return r(F,r4)}),He&&jo(F,we),fe}function et(F,P,D,Q){if(typeof D=="object"&&D!==null&&D.type===O&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case j:e:{for(var fe=D.key,ve=P;ve!==null;){if(ve.key===fe){if(fe=D.type,fe===O){if(ve.tag===7){s(F,ve.sibling),P=d(ve,D.props.children),P.return=F,F=P;break e}}else if(ve.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ge&&Xg(fe)===ve.type){s(F,ve.sibling),P=d(ve,D.props),P.ref=zi(F,ve,D),P.return=F,F=P;break e}s(F,ve);break}else r(F,ve);ve=ve.sibling}D.type===O?(P=Mo(D.props.children,F.mode,Q,D.key),P.return=F,F=P):(Q=Il(D.type,D.key,D.props,null,F.mode,Q),Q.ref=zi(F,P,D),Q.return=F,F=Q)}return x(F);case A:e:{for(ve=D.key;P!==null;){if(P.key===ve)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=fd(D,F.mode,Q),P.return=F,F=P}return x(F);case ge:return ve=D._init,et(F,P,ve(D._payload),Q)}if(ri(D))return le(F,P,D,Q);if(ee(D))return ue(F,P,D,Q);fl(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=dd(D,F.mode,Q),P.return=F,F=P),x(F)):s(F,P)}return et}var Bn=Qg(!0),Yg=Qg(!1),pl=co(null),hl=null,Cn=null,ku=null;function xu(){ku=Cn=hl=null}function Su(t){var r=pl.current;Le(pl),t._currentValue=r}function _u(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 zn(t,r){hl=t,ku=Cn=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&r)!==0&&(Rt=!0),t.firstContext=null)}function er(t){var r=t._currentValue;if(ku!==t)if(t={context:t,memoizedValue:r,next:null},Cn===null){if(hl===null)throw Error(n(308));Cn=t,hl.dependencies={lanes:0,firstContext:t}}else Cn=Cn.next=t;return r}var Ro=null;function Bu(t){Ro===null?Ro=[t]:Ro.push(t)}function Jg(t,r,s,a){var d=r.interleaved;return d===null?(s.next=s,Bu(r)):(s.next=d.next,d.next=s),r.interleaved=s,Wr(t,a)}function Wr(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 po=!1;function Cu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Zg(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 Vr(t,r){return{eventTime:t,lane:r,tag:0,payload:null,callback:null,next:null}}function ho(t,r,s){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(Te&2)!==0){var d=a.pending;return d===null?r.next=r:(r.next=d.next,d.next=r),a.pending=r,Wr(t,s)}return d=a.interleaved,d===null?(r.next=r,Bu(a)):(r.next=d.next,d.next=r),a.interleaved=r,Wr(t,s)}function ml(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,Mc(t,s)}}function ev(t,r){var s=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,s===a)){var d=null,h=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};h===null?d=h=x:h=h.next=x,s=s.next}while(s!==null);h===null?d=h=r:h=h.next=r}else d=h=r;s={baseState:a.baseState,firstBaseUpdate:d,lastBaseUpdate:h,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 gl(t,r,s,a){var d=t.updateQueue;po=!1;var h=d.firstBaseUpdate,x=d.lastBaseUpdate,B=d.shared.pending;if(B!==null){d.shared.pending=null;var E=B,I=E.next;E.next=null,x===null?h=I:x.next=I,x=E;var G=t.alternate;G!==null&&(G=G.updateQueue,B=G.lastBaseUpdate,B!==x&&(B===null?G.firstBaseUpdate=I:B.next=I,G.lastBaseUpdate=E))}if(h!==null){var X=d.baseState;x=0,G=I=E=null,B=h;do{var $=B.lane,ne=B.eventTime;if((a&$)===$){G!==null&&(G=G.next={eventTime:ne,lane:0,tag:B.tag,payload:B.payload,callback:B.callback,next:null});e:{var le=t,ue=B;switch($=r,ne=s,ue.tag){case 1:if(le=ue.payload,typeof le=="function"){X=le.call(ne,X,$);break e}X=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=ue.payload,$=typeof le=="function"?le.call(ne,X,$):le,$==null)break e;X=Z({},X,$);break e;case 2:po=!0}}B.callback!==null&&B.lane!==0&&(t.flags|=64,$=d.effects,$===null?d.effects=[B]:$.push(B))}else ne={eventTime:ne,lane:$,tag:B.tag,payload:B.payload,callback:B.callback,next:null},G===null?(I=G=ne,E=X):G=G.next=ne,x|=$;if(B=B.next,B===null){if(B=d.shared.pending,B===null)break;$=B,B=$.next,$.next=null,d.lastBaseUpdate=$,d.shared.pending=null}}while(!0);if(G===null&&(E=X),d.baseState=E,d.firstBaseUpdate=I,d.lastBaseUpdate=G,r=d.shared.interleaved,r!==null){d=r;do x|=d.lane,d=d.next;while(d!==r)}else h===null&&(d.shared.lanes=0);Io|=x,t.lanes=x,t.memoizedState=X}}function tv(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 Ni={},zr=co(Ni),Ti=co(Ni),Ei=co(Ni);function Fo(t){if(t===Ni)throw Error(n(174));return t}function zu(t,r){switch(Ae(Ei,r),Ae(Ti,t),Ae(zr,Ni),t=r.nodeType,t){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:Nc(null,"");break;default:t=t===8?r.parentNode:r,r=t.namespaceURI||null,t=t.tagName,r=Nc(r,t)}Le(zr),Ae(zr,r)}function Nn(){Le(zr),Le(Ti),Le(Ei)}function rv(t){Fo(Ei.current);var r=Fo(zr.current),s=Nc(r,t.type);r!==s&&(Ae(Ti,t),Ae(zr,s))}function Nu(t){Ti.current===t&&(Le(zr),Le(Ti))}var $e=co(0);function vl(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 Tu=[];function Eu(){for(var t=0;t<Tu.length;t++)Tu[t]._workInProgressVersionPrimary=null;Tu.length=0}var bl=z.ReactCurrentDispatcher,Pu=z.ReactCurrentBatchConfig,Do=0,Ue=null,st=null,ut=null,yl=!1,Pi=!1,ji=0,_3=0;function xt(){throw Error(n(321))}function ju(t,r){if(r===null)return!1;for(var s=0;s<r.length&&s<t.length;s++)if(!pr(t[s],r[s]))return!1;return!0}function Ru(t,r,s,a,d,h){if(Do=h,Ue=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,bl.current=t===null||t.memoizedState===null?N3:T3,t=s(a,d),Pi){h=0;do{if(Pi=!1,ji=0,25<=h)throw Error(n(301));h+=1,ut=st=null,r.updateQueue=null,bl.current=E3,t=s(a,d)}while(Pi)}if(bl.current=xl,r=st!==null&&st.next!==null,Do=0,ut=st=Ue=null,yl=!1,r)throw Error(n(300));return t}function Fu(){var t=ji!==0;return ji=0,t}function Nr(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ut===null?Ue.memoizedState=ut=t:ut=ut.next=t,ut}function tr(){if(st===null){var t=Ue.alternate;t=t!==null?t.memoizedState:null}else t=st.next;var r=ut===null?Ue.memoizedState:ut.next;if(r!==null)ut=r,st=t;else{if(t===null)throw Error(n(310));st=t,t={memoizedState:st.memoizedState,baseState:st.baseState,baseQueue:st.baseQueue,queue:st.queue,next:null},ut===null?Ue.memoizedState=ut=t:ut=ut.next=t}return ut}function Ri(t,r){return typeof r=="function"?r(t):r}function Du(t){var r=tr(),s=r.queue;if(s===null)throw Error(n(311));s.lastRenderedReducer=t;var a=st,d=a.baseQueue,h=s.pending;if(h!==null){if(d!==null){var x=d.next;d.next=h.next,h.next=x}a.baseQueue=d=h,s.pending=null}if(d!==null){h=d.next,a=a.baseState;var B=x=null,E=null,I=h;do{var G=I.lane;if((Do&G)===G)E!==null&&(E=E.next={lane:0,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),a=I.hasEagerState?I.eagerState:t(a,I.action);else{var X={lane:G,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null};E===null?(B=E=X,x=a):E=E.next=X,Ue.lanes|=G,Io|=G}I=I.next}while(I!==null&&I!==h);E===null?x=a:E.next=B,pr(a,r.memoizedState)||(Rt=!0),r.memoizedState=a,r.baseState=x,r.baseQueue=E,s.lastRenderedState=a}if(t=s.interleaved,t!==null){d=t;do h=d.lane,Ue.lanes|=h,Io|=h,d=d.next;while(d!==t)}else d===null&&(s.lanes=0);return[r.memoizedState,s.dispatch]}function Iu(t){var r=tr(),s=r.queue;if(s===null)throw Error(n(311));s.lastRenderedReducer=t;var a=s.dispatch,d=s.pending,h=r.memoizedState;if(d!==null){s.pending=null;var x=d=d.next;do h=t(h,x.action),x=x.next;while(x!==d);pr(h,r.memoizedState)||(Rt=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),s.lastRenderedState=h}return[h,a]}function ov(){}function nv(t,r){var s=Ue,a=tr(),d=r(),h=!pr(a.memoizedState,d);if(h&&(a.memoizedState=d,Rt=!0),a=a.queue,Ou(lv.bind(null,s,a,t),[t]),a.getSnapshot!==r||h||ut!==null&&ut.memoizedState.tag&1){if(s.flags|=2048,Fi(9,sv.bind(null,s,a,d,r),void 0,null),dt===null)throw Error(n(349));(Do&30)!==0||iv(s,r,d)}return d}function iv(t,r,s){t.flags|=16384,t={getSnapshot:r,value:s},r=Ue.updateQueue,r===null?(r={lastEffect:null,stores:null},Ue.updateQueue=r,r.stores=[t]):(s=r.stores,s===null?r.stores=[t]:s.push(t))}function sv(t,r,s,a){r.value=s,r.getSnapshot=a,av(r)&&cv(t)}function lv(t,r,s){return s(function(){av(r)&&cv(t)})}function av(t){var r=t.getSnapshot;t=t.value;try{var s=r();return!pr(t,s)}catch{return!0}}function cv(t){var r=Wr(t,1);r!==null&&br(r,t,1,-1)}function uv(t){var r=Nr();return typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:t},r.queue=t,t=t.dispatch=z3.bind(null,Ue,t),[r.memoizedState,t]}function Fi(t,r,s,a){return t={tag:t,create:r,destroy:s,deps:a,next:null},r=Ue.updateQueue,r===null?(r={lastEffect:null,stores:null},Ue.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 dv(){return tr().memoizedState}function wl(t,r,s,a){var d=Nr();Ue.flags|=t,d.memoizedState=Fi(1|r,s,void 0,a===void 0?null:a)}function kl(t,r,s,a){var d=tr();a=a===void 0?null:a;var h=void 0;if(st!==null){var x=st.memoizedState;if(h=x.destroy,a!==null&&ju(a,x.deps)){d.memoizedState=Fi(r,s,h,a);return}}Ue.flags|=t,d.memoizedState=Fi(1|r,s,h,a)}function fv(t,r){return wl(8390656,8,t,r)}function Ou(t,r){return kl(2048,8,t,r)}function pv(t,r){return kl(4,2,t,r)}function hv(t,r){return kl(4,4,t,r)}function mv(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 gv(t,r,s){return s=s!=null?s.concat([t]):null,kl(4,4,mv.bind(null,r,t),s)}function Au(){}function vv(t,r){var s=tr();r=r===void 0?null:r;var a=s.memoizedState;return a!==null&&r!==null&&ju(r,a[1])?a[0]:(s.memoizedState=[t,r],t)}function bv(t,r){var s=tr();r=r===void 0?null:r;var a=s.memoizedState;return a!==null&&r!==null&&ju(r,a[1])?a[0]:(t=t(),s.memoizedState=[t,r],t)}function yv(t,r,s){return(Do&21)===0?(t.baseState&&(t.baseState=!1,Rt=!0),t.memoizedState=s):(pr(s,r)||(s=Xm(),Ue.lanes|=s,Io|=s,t.baseState=!0),r)}function B3(t,r){var s=Fe;Fe=s!==0&&4>s?s:4,t(!0);var a=Pu.transition;Pu.transition={};try{t(!1),r()}finally{Fe=s,Pu.transition=a}}function wv(){return tr().memoizedState}function C3(t,r,s){var a=bo(t);if(s={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null},kv(t))xv(r,s);else if(s=Jg(t,r,s,a),s!==null){var d=Ct();br(s,t,a,d),Sv(s,r,a)}}function z3(t,r,s){var a=bo(t),d={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null};if(kv(t))xv(r,d);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var x=r.lastRenderedState,B=h(x,s);if(d.hasEagerState=!0,d.eagerState=B,pr(B,x)){var E=r.interleaved;E===null?(d.next=d,Bu(r)):(d.next=E.next,E.next=d),r.interleaved=d;return}}catch{}finally{}s=Jg(t,r,d,a),s!==null&&(d=Ct(),br(s,t,a,d),Sv(s,r,a))}}function kv(t){var r=t.alternate;return t===Ue||r!==null&&r===Ue}function xv(t,r){Pi=yl=!0;var s=t.pending;s===null?r.next=r:(r.next=s.next,s.next=r),t.pending=r}function Sv(t,r,s){if((s&4194240)!==0){var a=r.lanes;a&=t.pendingLanes,s|=a,r.lanes=s,Mc(t,s)}}var xl={readContext:er,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useInsertionEffect:xt,useLayoutEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useMutableSource:xt,useSyncExternalStore:xt,useId:xt,unstable_isNewReconciler:!1},N3={readContext:er,useCallback:function(t,r){return Nr().memoizedState=[t,r===void 0?null:r],t},useContext:er,useEffect:fv,useImperativeHandle:function(t,r,s){return s=s!=null?s.concat([t]):null,wl(4194308,4,mv.bind(null,r,t),s)},useLayoutEffect:function(t,r){return wl(4194308,4,t,r)},useInsertionEffect:function(t,r){return wl(4,2,t,r)},useMemo:function(t,r){var s=Nr();return r=r===void 0?null:r,t=t(),s.memoizedState=[t,r],t},useReducer:function(t,r,s){var a=Nr();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=C3.bind(null,Ue,t),[a.memoizedState,t]},useRef:function(t){var r=Nr();return t={current:t},r.memoizedState=t},useState:uv,useDebugValue:Au,useDeferredValue:function(t){return Nr().memoizedState=t},useTransition:function(){var t=uv(!1),r=t[0];return t=B3.bind(null,t[1]),Nr().memoizedState=t,[r,t]},useMutableSource:function(){},useSyncExternalStore:function(t,r,s){var a=Ue,d=Nr();if(He){if(s===void 0)throw Error(n(407));s=s()}else{if(s=r(),dt===null)throw Error(n(349));(Do&30)!==0||iv(a,r,s)}d.memoizedState=s;var h={value:s,getSnapshot:r};return d.queue=h,fv(lv.bind(null,a,h,t),[t]),a.flags|=2048,Fi(9,sv.bind(null,a,h,s,r),void 0,null),s},useId:function(){var t=Nr(),r=dt.identifierPrefix;if(He){var s=Hr,a=Lr;s=(a&~(1<<32-fr(a)-1)).toString(32)+s,r=":"+r+"R"+s,s=ji++,0<s&&(r+="H"+s.toString(32)),r+=":"}else s=_3++,r=":"+r+"r"+s.toString(32)+":";return t.memoizedState=r},unstable_isNewReconciler:!1},T3={readContext:er,useCallback:vv,useContext:er,useEffect:Ou,useImperativeHandle:gv,useInsertionEffect:pv,useLayoutEffect:hv,useMemo:bv,useReducer:Du,useRef:dv,useState:function(){return Du(Ri)},useDebugValue:Au,useDeferredValue:function(t){var r=tr();return yv(r,st.memoizedState,t)},useTransition:function(){var t=Du(Ri)[0],r=tr().memoizedState;return[t,r]},useMutableSource:ov,useSyncExternalStore:nv,useId:wv,unstable_isNewReconciler:!1},E3={readContext:er,useCallback:vv,useContext:er,useEffect:Ou,useImperativeHandle:gv,useInsertionEffect:pv,useLayoutEffect:hv,useMemo:bv,useReducer:Iu,useRef:dv,useState:function(){return Iu(Ri)},useDebugValue:Au,useDeferredValue:function(t){var r=tr();return st===null?r.memoizedState=t:yv(r,st.memoizedState,t)},useTransition:function(){var t=Iu(Ri)[0],r=tr().memoizedState;return[t,r]},useMutableSource:ov,useSyncExternalStore:nv,useId:wv,unstable_isNewReconciler:!1};function mr(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 qu(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 Sl={isMounted:function(t){return(t=t._reactInternals)?No(t)===t:!1},enqueueSetState:function(t,r,s){t=t._reactInternals;var a=Ct(),d=bo(t),h=Vr(a,d);h.payload=r,s!=null&&(h.callback=s),r=ho(t,h,d),r!==null&&(br(r,t,d,a),ml(r,t,d))},enqueueReplaceState:function(t,r,s){t=t._reactInternals;var a=Ct(),d=bo(t),h=Vr(a,d);h.tag=1,h.payload=r,s!=null&&(h.callback=s),r=ho(t,h,d),r!==null&&(br(r,t,d,a),ml(r,t,d))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var s=Ct(),a=bo(t),d=Vr(s,a);d.tag=2,r!=null&&(d.callback=r),r=ho(t,d,a),r!==null&&(br(r,t,a,s),ml(r,t,a))}};function _v(t,r,s,a,d,h,x){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,h,x):r.prototype&&r.prototype.isPureReactComponent?!wi(s,a)||!wi(d,h):!0}function Bv(t,r,s){var a=!1,d=uo,h=r.contextType;return typeof h=="object"&&h!==null?h=er(h):(d=jt(r)?Eo:kt.current,a=r.contextTypes,h=(a=a!=null)?kn(t,d):uo),r=new r(s,h),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Sl,t.stateNode=r,r._reactInternals=t,a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=d,t.__reactInternalMemoizedMaskedChildContext=h),r}function Cv(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&&Sl.enqueueReplaceState(r,r.state,null)}function Mu(t,r,s,a){var d=t.stateNode;d.props=s,d.state=t.memoizedState,d.refs={},Cu(t);var h=r.contextType;typeof h=="object"&&h!==null?d.context=er(h):(h=jt(r)?Eo:kt.current,d.context=kn(t,h)),d.state=t.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(qu(t,r,h,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&&Sl.enqueueReplaceState(d,d.state,null),gl(t,s,d,a),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308)}function Tn(t,r){try{var s="",a=r;do s+=ie(a),a=a.return;while(a);var d=s}catch(h){d=`
8
- Error generating stack: `+h.message+`
9
- `+h.stack}return{value:t,source:r,stack:d,digest:null}}function Lu(t,r,s){return{value:t,source:null,stack:s??null,digest:r??null}}function Hu(t,r){try{console.error(r.value)}catch(s){setTimeout(function(){throw s})}}var P3=typeof WeakMap=="function"?WeakMap:Map;function zv(t,r,s){s=Vr(-1,s),s.tag=3,s.payload={element:null};var a=r.value;return s.callback=function(){El||(El=!0,od=a),Hu(t,r)},s}function Nv(t,r,s){s=Vr(-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(){Hu(t,r)}}var h=t.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(s.callback=function(){Hu(t,r),typeof a!="function"&&(go===null?go=new Set([this]):go.add(this));var x=r.stack;this.componentDidCatch(r.value,{componentStack:x!==null?x:""})}),s}function Tv(t,r,s){var a=t.pingCache;if(a===null){a=t.pingCache=new P3;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=$3.bind(null,t,r,s),r.then(t,t))}function Ev(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 Pv(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=Vr(-1,1),r.tag=2,ho(s,r,1))),s.lanes|=1),t):(t.flags|=65536,t.lanes=d,t)}var j3=z.ReactCurrentOwner,Rt=!1;function Bt(t,r,s,a){r.child=t===null?Yg(r,null,s,a):Bn(r,t.child,s,a)}function jv(t,r,s,a,d){s=s.render;var h=r.ref;return zn(r,d),a=Ru(t,r,s,a,h,d),s=Fu(),t!==null&&!Rt?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~d,$r(t,r,d)):(He&&s&&gu(r),r.flags|=1,Bt(t,r,a,d),r.child)}function Rv(t,r,s,a,d){if(t===null){var h=s.type;return typeof h=="function"&&!ud(h)&&h.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(r.tag=15,r.type=h,Fv(t,r,h,a,d)):(t=Il(s.type,null,a,r,r.mode,d),t.ref=r.ref,t.return=r,r.child=t)}if(h=t.child,(t.lanes&d)===0){var x=h.memoizedProps;if(s=s.compare,s=s!==null?s:wi,s(x,a)&&t.ref===r.ref)return $r(t,r,d)}return r.flags|=1,t=wo(h,a),t.ref=r.ref,t.return=r,r.child=t}function Fv(t,r,s,a,d){if(t!==null){var h=t.memoizedProps;if(wi(h,a)&&t.ref===r.ref)if(Rt=!1,r.pendingProps=a=h,(t.lanes&d)!==0)(t.flags&131072)!==0&&(Rt=!0);else return r.lanes=t.lanes,$r(t,r,d)}return Wu(t,r,s,a,d)}function Dv(t,r,s){var a=r.pendingProps,d=a.children,h=t!==null?t.memoizedState:null;if(a.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ae(Pn,$t),$t|=s;else{if((s&1073741824)===0)return t=h!==null?h.baseLanes|s:s,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:t,cachePool:null,transitions:null},r.updateQueue=null,Ae(Pn,$t),$t|=t,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=h!==null?h.baseLanes:s,Ae(Pn,$t),$t|=a}else h!==null?(a=h.baseLanes|s,r.memoizedState=null):a=s,Ae(Pn,$t),$t|=a;return Bt(t,r,d,s),r.child}function Iv(t,r){var s=r.ref;(t===null&&s!==null||t!==null&&t.ref!==s)&&(r.flags|=512,r.flags|=2097152)}function Wu(t,r,s,a,d){var h=jt(s)?Eo:kt.current;return h=kn(r,h),zn(r,d),s=Ru(t,r,s,a,h,d),a=Fu(),t!==null&&!Rt?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~d,$r(t,r,d)):(He&&a&&gu(r),r.flags|=1,Bt(t,r,s,d),r.child)}function Ov(t,r,s,a,d){if(jt(s)){var h=!0;ll(r)}else h=!1;if(zn(r,d),r.stateNode===null)Bl(t,r),Bv(r,s,a),Mu(r,s,a,d),a=!0;else if(t===null){var x=r.stateNode,B=r.memoizedProps;x.props=B;var E=x.context,I=s.contextType;typeof I=="object"&&I!==null?I=er(I):(I=jt(s)?Eo:kt.current,I=kn(r,I));var G=s.getDerivedStateFromProps,X=typeof G=="function"||typeof x.getSnapshotBeforeUpdate=="function";X||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(B!==a||E!==I)&&Cv(r,x,a,I),po=!1;var $=r.memoizedState;x.state=$,gl(r,a,x,d),E=r.memoizedState,B!==a||$!==E||Pt.current||po?(typeof G=="function"&&(qu(r,s,G,a),E=r.memoizedState),(B=po||_v(r,s,B,a,$,E,I))?(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=I,a=B):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),a=!1)}else{x=r.stateNode,Zg(t,r),B=r.memoizedProps,I=r.type===r.elementType?B:mr(r.type,B),x.props=I,X=r.pendingProps,$=x.context,E=s.contextType,typeof E=="object"&&E!==null?E=er(E):(E=jt(s)?Eo:kt.current,E=kn(r,E));var ne=s.getDerivedStateFromProps;(G=typeof ne=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(B!==X||$!==E)&&Cv(r,x,a,E),po=!1,$=r.memoizedState,x.state=$,gl(r,a,x,d);var le=r.memoizedState;B!==X||$!==le||Pt.current||po?(typeof ne=="function"&&(qu(r,s,ne,a),le=r.memoizedState),(I=po||_v(r,s,I,a,$,le,E)||!1)?(G||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(a,le,E),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(a,le,E)),typeof x.componentDidUpdate=="function"&&(r.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof x.componentDidUpdate!="function"||B===t.memoizedProps&&$===t.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&$===t.memoizedState||(r.flags|=1024),r.memoizedProps=a,r.memoizedState=le),x.props=a,x.state=le,x.context=E,a=I):(typeof x.componentDidUpdate!="function"||B===t.memoizedProps&&$===t.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||B===t.memoizedProps&&$===t.memoizedState||(r.flags|=1024),a=!1)}return Vu(t,r,s,a,h,d)}function Vu(t,r,s,a,d,h){Iv(t,r);var x=(r.flags&128)!==0;if(!a&&!x)return d&&Hg(r,s,!1),$r(t,r,h);a=r.stateNode,j3.current=r;var B=x&&typeof s.getDerivedStateFromError!="function"?null:a.render();return r.flags|=1,t!==null&&x?(r.child=Bn(r,t.child,null,h),r.child=Bn(r,null,B,h)):Bt(t,r,B,h),r.memoizedState=a.state,d&&Hg(r,s,!0),r.child}function Av(t){var r=t.stateNode;r.pendingContext?Mg(t,r.pendingContext,r.pendingContext!==r.context):r.context&&Mg(t,r.context,!1),zu(t,r.containerInfo)}function qv(t,r,s,a,d){return _n(),wu(d),r.flags|=256,Bt(t,r,s,a),r.child}var $u={dehydrated:null,treeContext:null,retryLane:0};function Uu(t){return{baseLanes:t,cachePool:null,transitions:null}}function Mv(t,r,s){var a=r.pendingProps,d=$e.current,h=!1,x=(r.flags&128)!==0,B;if((B=x)||(B=t!==null&&t.memoizedState===null?!1:(d&2)!==0),B?(h=!0,r.flags&=-129):(t===null||t.memoizedState!==null)&&(d|=1),Ae($e,d&1),t===null)return yu(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,h?(a=r.mode,h=r.child,x={mode:"hidden",children:x},(a&1)===0&&h!==null?(h.childLanes=0,h.pendingProps=x):h=Ol(x,a,0,null),t=Mo(t,a,s,null),h.return=r,t.return=r,h.sibling=t,r.child=h,r.child.memoizedState=Uu(s),r.memoizedState=$u,t):Gu(r,x));if(d=t.memoizedState,d!==null&&(B=d.dehydrated,B!==null))return R3(t,r,x,a,B,d,s);if(h){h=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=wo(d,E),a.subtreeFlags=d.subtreeFlags&14680064),B!==null?h=wo(B,h):(h=Mo(h,x,s,null),h.flags|=2),h.return=r,a.return=r,a.sibling=h,r.child=a,a=h,h=r.child,x=t.child.memoizedState,x=x===null?Uu(s):{baseLanes:x.baseLanes|s,cachePool:null,transitions:x.transitions},h.memoizedState=x,h.childLanes=t.childLanes&~s,r.memoizedState=$u,a}return h=t.child,t=h.sibling,a=wo(h,{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 Gu(t,r){return r=Ol({mode:"visible",children:r},t.mode,0,null),r.return=t,t.child=r}function _l(t,r,s,a){return a!==null&&wu(a),Bn(r,t.child,null,s),t=Gu(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function R3(t,r,s,a,d,h,x){if(s)return r.flags&256?(r.flags&=-257,a=Lu(Error(n(422))),_l(t,r,x,a)):r.memoizedState!==null?(r.child=t.child,r.flags|=128,null):(h=a.fallback,d=r.mode,a=Ol({mode:"visible",children:a.children},d,0,null),h=Mo(h,d,x,null),h.flags|=2,a.return=r,h.return=r,a.sibling=h,r.child=a,(r.mode&1)!==0&&Bn(r,t.child,null,x),r.child.memoizedState=Uu(x),r.memoizedState=$u,h);if((r.mode&1)===0)return _l(t,r,x,null);if(d.data==="$!"){if(a=d.nextSibling&&d.nextSibling.dataset,a)var B=a.dgst;return a=B,h=Error(n(419)),a=Lu(h,a,void 0),_l(t,r,x,a)}if(B=(x&t.childLanes)!==0,Rt||B){if(a=dt,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!==h.retryLane&&(h.retryLane=d,Wr(t,d),br(a,t,d,-1))}return cd(),a=Lu(Error(n(421))),_l(t,r,x,a)}return d.data==="$?"?(r.flags|=128,r.child=t.child,r=U3.bind(null,t),d._reactRetry=r,null):(t=h.treeContext,Vt=ao(d.nextSibling),Wt=r,He=!0,hr=null,t!==null&&(Jt[Zt++]=Lr,Jt[Zt++]=Hr,Jt[Zt++]=Po,Lr=t.id,Hr=t.overflow,Po=r),r=Gu(r,a.children),r.flags|=4096,r)}function Lv(t,r,s){t.lanes|=r;var a=t.alternate;a!==null&&(a.lanes|=r),_u(t.return,r,s)}function Ku(t,r,s,a,d){var h=t.memoizedState;h===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:a,tail:s,tailMode:d}:(h.isBackwards=r,h.rendering=null,h.renderingStartTime=0,h.last=a,h.tail=s,h.tailMode=d)}function Hv(t,r,s){var a=r.pendingProps,d=a.revealOrder,h=a.tail;if(Bt(t,r,a.children,s),a=$e.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&&Lv(t,s,r);else if(t.tag===19)Lv(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(Ae($e,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&&vl(t)===null&&(d=s),s=s.sibling;s=d,s===null?(d=r.child,r.child=null):(d=s.sibling,s.sibling=null),Ku(r,!1,d,s,h);break;case"backwards":for(s=null,d=r.child,r.child=null;d!==null;){if(t=d.alternate,t!==null&&vl(t)===null){r.child=d;break}t=d.sibling,d.sibling=s,s=d,d=t}Ku(r,!0,s,null,h);break;case"together":Ku(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Bl(t,r){(r.mode&1)===0&&t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2)}function $r(t,r,s){if(t!==null&&(r.dependencies=t.dependencies),Io|=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=wo(t,t.pendingProps),r.child=s,s.return=r;t.sibling!==null;)t=t.sibling,s=s.sibling=wo(t,t.pendingProps),s.return=r;s.sibling=null}return r.child}function F3(t,r,s){switch(r.tag){case 3:Av(r),_n();break;case 5:rv(r);break;case 1:jt(r.type)&&ll(r);break;case 4:zu(r,r.stateNode.containerInfo);break;case 10:var a=r.type._context,d=r.memoizedProps.value;Ae(pl,a._currentValue),a._currentValue=d;break;case 13:if(a=r.memoizedState,a!==null)return a.dehydrated!==null?(Ae($e,$e.current&1),r.flags|=128,null):(s&r.child.childLanes)!==0?Mv(t,r,s):(Ae($e,$e.current&1),t=$r(t,r,s),t!==null?t.sibling:null);Ae($e,$e.current&1);break;case 19:if(a=(s&r.childLanes)!==0,(t.flags&128)!==0){if(a)return Hv(t,r,s);r.flags|=128}if(d=r.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Ae($e,$e.current),a)break;return null;case 22:case 23:return r.lanes=0,Dv(t,r,s)}return $r(t,r,s)}var Wv,Xu,Vv,$v;Wv=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}},Xu=function(){},Vv=function(t,r,s,a){var d=t.memoizedProps;if(d!==a){t=r.stateNode,Fo(zr.current);var h=null;switch(s){case"input":d=Lt(t,d),a=Lt(t,a),h=[];break;case"select":d=Z({},d,{value:void 0}),a=Z({},a,{value:void 0}),h=[];break;case"textarea":d=zc(t,d),a=zc(t,a),h=[];break;default:typeof d.onClick!="function"&&typeof a.onClick=="function"&&(t.onclick=nl)}Tc(s,a);var x;s=null;for(I in d)if(!a.hasOwnProperty(I)&&d.hasOwnProperty(I)&&d[I]!=null)if(I==="style"){var B=d[I];for(x in B)B.hasOwnProperty(x)&&(s||(s={}),s[x]="")}else I!=="dangerouslySetInnerHTML"&&I!=="children"&&I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&I!=="autoFocus"&&(l.hasOwnProperty(I)?h||(h=[]):(h=h||[]).push(I,null));for(I in a){var E=a[I];if(B=d?.[I],a.hasOwnProperty(I)&&E!==B&&(E!=null||B!=null))if(I==="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||(h||(h=[]),h.push(I,s)),s=E;else I==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,B=B?B.__html:void 0,E!=null&&B!==E&&(h=h||[]).push(I,E)):I==="children"?typeof E!="string"&&typeof E!="number"||(h=h||[]).push(I,""+E):I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&(l.hasOwnProperty(I)?(E!=null&&I==="onScroll"&&Me("scroll",t),h||B===E||(h=[])):(h=h||[]).push(I,E))}s&&(h=h||[]).push("style",s);var I=h;(r.updateQueue=I)&&(r.flags|=4)}},$v=function(t,r,s,a){s!==a&&(r.flags|=4)};function Di(t,r){if(!He)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 St(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 D3(t,r,s){var a=r.pendingProps;switch(vu(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return St(r),null;case 1:return jt(r.type)&&sl(),St(r),null;case 3:return a=r.stateNode,Nn(),Le(Pt),Le(kt),Eu(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(dl(r)?r.flags|=4:t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,hr!==null&&(sd(hr),hr=null))),Xu(t,r),St(r),null;case 5:Nu(r);var d=Fo(Ei.current);if(s=r.type,t!==null&&r.stateNode!=null)Vv(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 St(r),null}if(t=Fo(zr.current),dl(r)){a=r.stateNode,s=r.type;var h=r.memoizedProps;switch(a[Cr]=r,a[Bi]=h,t=(r.mode&1)!==0,s){case"dialog":Me("cancel",a),Me("close",a);break;case"iframe":case"object":case"embed":Me("load",a);break;case"video":case"audio":for(d=0;d<xi.length;d++)Me(xi[d],a);break;case"source":Me("error",a);break;case"img":case"image":case"link":Me("error",a),Me("load",a);break;case"details":Me("toggle",a);break;case"input":Yt(a,h),Me("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!h.multiple},Me("invalid",a);break;case"textarea":Nm(a,h),Me("invalid",a)}Tc(s,h),d=null;for(var x in h)if(h.hasOwnProperty(x)){var B=h[x];x==="children"?typeof B=="string"?a.textContent!==B&&(h.suppressHydrationWarning!==!0&&ol(a.textContent,B,t),d=["children",B]):typeof B=="number"&&a.textContent!==""+B&&(h.suppressHydrationWarning!==!0&&ol(a.textContent,B,t),d=["children",""+B]):l.hasOwnProperty(x)&&B!=null&&x==="onScroll"&&Me("scroll",a)}switch(s){case"input":sn(a),an(a,h,!0);break;case"textarea":sn(a),Em(a);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(a.onclick=nl)}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=Pm(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[Cr]=r,t[Bi]=a,Wv(t,r,!1,!1),r.stateNode=t;e:{switch(x=Ec(s,a),s){case"dialog":Me("cancel",t),Me("close",t),d=a;break;case"iframe":case"object":case"embed":Me("load",t),d=a;break;case"video":case"audio":for(d=0;d<xi.length;d++)Me(xi[d],t);d=a;break;case"source":Me("error",t),d=a;break;case"img":case"image":case"link":Me("error",t),Me("load",t),d=a;break;case"details":Me("toggle",t),d=a;break;case"input":Yt(t,a),d=Lt(t,a),Me("invalid",t);break;case"option":d=a;break;case"select":t._wrapperState={wasMultiple:!!a.multiple},d=Z({},a,{value:void 0}),Me("invalid",t);break;case"textarea":Nm(t,a),d=zc(t,a),Me("invalid",t);break;default:d=a}Tc(s,d),B=d;for(h in B)if(B.hasOwnProperty(h)){var E=B[h];h==="style"?Fm(t,E):h==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&jm(t,E)):h==="children"?typeof E=="string"?(s!=="textarea"||E!=="")&&oi(t,E):typeof E=="number"&&oi(t,""+E):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(l.hasOwnProperty(h)?E!=null&&h==="onScroll"&&Me("scroll",t):E!=null&&T(t,h,E,x))}switch(s){case"input":sn(t),an(t,a,!1);break;case"textarea":sn(t),Em(t);break;case"option":a.value!=null&&t.setAttribute("value",""+Ne(a.value));break;case"select":t.multiple=!!a.multiple,h=a.value,h!=null?cn(t,!!a.multiple,h,!1):a.defaultValue!=null&&cn(t,!!a.multiple,a.defaultValue,!0);break;default:typeof d.onClick=="function"&&(t.onclick=nl)}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 St(r),null;case 6:if(t&&r.stateNode!=null)$v(t,r,t.memoizedProps,a);else{if(typeof a!="string"&&r.stateNode===null)throw Error(n(166));if(s=Fo(Ei.current),Fo(zr.current),dl(r)){if(a=r.stateNode,s=r.memoizedProps,a[Cr]=r,(h=a.nodeValue!==s)&&(t=Wt,t!==null))switch(t.tag){case 3:ol(a.nodeValue,s,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&ol(a.nodeValue,s,(t.mode&1)!==0)}h&&(r.flags|=4)}else a=(s.nodeType===9?s:s.ownerDocument).createTextNode(a),a[Cr]=r,r.stateNode=a}return St(r),null;case 13:if(Le($e),a=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(He&&Vt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)Kg(),_n(),r.flags|=98560,h=!1;else if(h=dl(r),a!==null&&a.dehydrated!==null){if(t===null){if(!h)throw Error(n(318));if(h=r.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(n(317));h[Cr]=r}else _n(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;St(r),h=!1}else hr!==null&&(sd(hr),hr=null),h=!0;if(!h)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||($e.current&1)!==0?lt===0&&(lt=3):cd())),r.updateQueue!==null&&(r.flags|=4),St(r),null);case 4:return Nn(),Xu(t,r),t===null&&Si(r.stateNode.containerInfo),St(r),null;case 10:return Su(r.type._context),St(r),null;case 17:return jt(r.type)&&sl(),St(r),null;case 19:if(Le($e),h=r.memoizedState,h===null)return St(r),null;if(a=(r.flags&128)!==0,x=h.rendering,x===null)if(a)Di(h,!1);else{if(lt!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(x=vl(t),x!==null){for(r.flags|=128,Di(h,!1),a=x.updateQueue,a!==null&&(r.updateQueue=a,r.flags|=4),r.subtreeFlags=0,a=s,s=r.child;s!==null;)h=s,t=a,h.flags&=14680066,x=h.alternate,x===null?(h.childLanes=0,h.lanes=t,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=x.childLanes,h.lanes=x.lanes,h.child=x.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=x.memoizedProps,h.memoizedState=x.memoizedState,h.updateQueue=x.updateQueue,h.type=x.type,t=x.dependencies,h.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),s=s.sibling;return Ae($e,$e.current&1|2),r.child}t=t.sibling}h.tail!==null&&Ze()>jn&&(r.flags|=128,a=!0,Di(h,!1),r.lanes=4194304)}else{if(!a)if(t=vl(x),t!==null){if(r.flags|=128,a=!0,s=t.updateQueue,s!==null&&(r.updateQueue=s,r.flags|=4),Di(h,!0),h.tail===null&&h.tailMode==="hidden"&&!x.alternate&&!He)return St(r),null}else 2*Ze()-h.renderingStartTime>jn&&s!==1073741824&&(r.flags|=128,a=!0,Di(h,!1),r.lanes=4194304);h.isBackwards?(x.sibling=r.child,r.child=x):(s=h.last,s!==null?s.sibling=x:r.child=x,h.last=x)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=Ze(),r.sibling=null,s=$e.current,Ae($e,a?s&1|2:s&1),r):(St(r),null);case 22:case 23:return ad(),a=r.memoizedState!==null,t!==null&&t.memoizedState!==null!==a&&(r.flags|=8192),a&&(r.mode&1)!==0?($t&1073741824)!==0&&(St(r),r.subtreeFlags&6&&(r.flags|=8192)):St(r),null;case 24:return null;case 25:return null}throw Error(n(156,r.tag))}function I3(t,r){switch(vu(r),r.tag){case 1:return jt(r.type)&&sl(),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return Nn(),Le(Pt),Le(kt),Eu(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 5:return Nu(r),null;case 13:if(Le($e),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(n(340));_n()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return Le($e),null;case 4:return Nn(),null;case 10:return Su(r.type._context),null;case 22:case 23:return ad(),null;case 24:return null;default:return null}}var Cl=!1,_t=!1,O3=typeof WeakSet=="function"?WeakSet:Set,se=null;function En(t,r){var s=t.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(a){Xe(t,r,a)}else s.current=null}function Qu(t,r,s){try{s()}catch(a){Xe(t,r,a)}}var Uv=!1;function A3(t,r){if(au=Us,t=_g(),eu(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,h=a.focusNode;a=a.focusOffset;try{s.nodeType,h.nodeType}catch{s=null;break e}var x=0,B=-1,E=-1,I=0,G=0,X=t,$=null;t:for(;;){for(var ne;X!==s||d!==0&&X.nodeType!==3||(B=x+d),X!==h||a!==0&&X.nodeType!==3||(E=x+a),X.nodeType===3&&(x+=X.nodeValue.length),(ne=X.firstChild)!==null;)$=X,X=ne;for(;;){if(X===t)break t;if($===s&&++I===d&&(B=x),$===h&&++G===a&&(E=x),(ne=X.nextSibling)!==null)break;X=$,$=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(cu={focusedElem:t,selectionRange:s},Us=!1,se=r;se!==null;)if(r=se,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,se=t;else for(;se!==null;){r=se;try{var le=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(le!==null){var ue=le.memoizedProps,et=le.memoizedState,F=r.stateNode,P=F.getSnapshotBeforeUpdate(r.elementType===r.type?ue:mr(r.type,ue),et);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){Xe(r,r.return,Q)}if(t=r.sibling,t!==null){t.return=r.return,se=t;break}se=r.return}return le=Uv,Uv=!1,le}function Ii(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 h=d.destroy;d.destroy=void 0,h!==void 0&&Qu(r,s,h)}d=d.next}while(d!==a)}}function zl(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 Yu(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 Gv(t){var r=t.alternate;r!==null&&(t.alternate=null,Gv(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&(delete r[Cr],delete r[Bi],delete r[pu],delete r[w3],delete r[k3])),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 Kv(t){return t.tag===5||t.tag===3||t.tag===4}function Xv(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Kv(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 Ju(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=nl));else if(a!==4&&(t=t.child,t!==null))for(Ju(t,r,s),t=t.sibling;t!==null;)Ju(t,r,s),t=t.sibling}function Zu(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(Zu(t,r,s),t=t.sibling;t!==null;)Zu(t,r,s),t=t.sibling}var gt=null,gr=!1;function mo(t,r,s){for(s=s.child;s!==null;)Qv(t,r,s),s=s.sibling}function Qv(t,r,s){if(Br&&typeof Br.onCommitFiberUnmount=="function")try{Br.onCommitFiberUnmount(Ms,s)}catch{}switch(s.tag){case 5:_t||En(s,r);case 6:var a=gt,d=gr;gt=null,mo(t,r,s),gt=a,gr=d,gt!==null&&(gr?(t=gt,s=s.stateNode,t.nodeType===8?t.parentNode.removeChild(s):t.removeChild(s)):gt.removeChild(s.stateNode));break;case 18:gt!==null&&(gr?(t=gt,s=s.stateNode,t.nodeType===8?fu(t.parentNode,s):t.nodeType===1&&fu(t,s),hi(t)):fu(gt,s.stateNode));break;case 4:a=gt,d=gr,gt=s.stateNode.containerInfo,gr=!0,mo(t,r,s),gt=a,gr=d;break;case 0:case 11:case 14:case 15:if(!_t&&(a=s.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){d=a=a.next;do{var h=d,x=h.destroy;h=h.tag,x!==void 0&&((h&2)!==0||(h&4)!==0)&&Qu(s,r,x),d=d.next}while(d!==a)}mo(t,r,s);break;case 1:if(!_t&&(En(s,r),a=s.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=s.memoizedProps,a.state=s.memoizedState,a.componentWillUnmount()}catch(B){Xe(s,r,B)}mo(t,r,s);break;case 21:mo(t,r,s);break;case 22:s.mode&1?(_t=(a=_t)||s.memoizedState!==null,mo(t,r,s),_t=a):mo(t,r,s);break;default:mo(t,r,s)}}function Yv(t){var r=t.updateQueue;if(r!==null){t.updateQueue=null;var s=t.stateNode;s===null&&(s=t.stateNode=new O3),r.forEach(function(a){var d=G3.bind(null,t,a);s.has(a)||(s.add(a),a.then(d,d))})}}function vr(t,r){var s=r.deletions;if(s!==null)for(var a=0;a<s.length;a++){var d=s[a];try{var h=t,x=r,B=x;e:for(;B!==null;){switch(B.tag){case 5:gt=B.stateNode,gr=!1;break e;case 3:gt=B.stateNode.containerInfo,gr=!0;break e;case 4:gt=B.stateNode.containerInfo,gr=!0;break e}B=B.return}if(gt===null)throw Error(n(160));Qv(h,x,d),gt=null,gr=!1;var E=d.alternate;E!==null&&(E.return=null),d.return=null}catch(I){Xe(d,r,I)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Jv(r,t),r=r.sibling}function Jv(t,r){var s=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(vr(r,t),Tr(t),a&4){try{Ii(3,t,t.return),zl(3,t)}catch(ue){Xe(t,t.return,ue)}try{Ii(5,t,t.return)}catch(ue){Xe(t,t.return,ue)}}break;case 1:vr(r,t),Tr(t),a&512&&s!==null&&En(s,s.return);break;case 5:if(vr(r,t),Tr(t),a&512&&s!==null&&En(s,s.return),t.flags&32){var d=t.stateNode;try{oi(d,"")}catch(ue){Xe(t,t.return,ue)}}if(a&4&&(d=t.stateNode,d!=null)){var h=t.memoizedProps,x=s!==null?s.memoizedProps:h,B=t.type,E=t.updateQueue;if(t.updateQueue=null,E!==null)try{B==="input"&&h.type==="radio"&&h.name!=null&&ln(d,h),Ec(B,x);var I=Ec(B,h);for(x=0;x<E.length;x+=2){var G=E[x],X=E[x+1];G==="style"?Fm(d,X):G==="dangerouslySetInnerHTML"?jm(d,X):G==="children"?oi(d,X):T(d,G,X,I)}switch(B){case"input":Ar(d,h);break;case"textarea":Tm(d,h);break;case"select":var $=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!h.multiple;var ne=h.value;ne!=null?cn(d,!!h.multiple,ne,!1):$!==!!h.multiple&&(h.defaultValue!=null?cn(d,!!h.multiple,h.defaultValue,!0):cn(d,!!h.multiple,h.multiple?[]:"",!1))}d[Bi]=h}catch(ue){Xe(t,t.return,ue)}}break;case 6:if(vr(r,t),Tr(t),a&4){if(t.stateNode===null)throw Error(n(162));d=t.stateNode,h=t.memoizedProps;try{d.nodeValue=h}catch(ue){Xe(t,t.return,ue)}}break;case 3:if(vr(r,t),Tr(t),a&4&&s!==null&&s.memoizedState.isDehydrated)try{hi(r.containerInfo)}catch(ue){Xe(t,t.return,ue)}break;case 4:vr(r,t),Tr(t);break;case 13:vr(r,t),Tr(t),d=t.child,d.flags&8192&&(h=d.memoizedState!==null,d.stateNode.isHidden=h,!h||d.alternate!==null&&d.alternate.memoizedState!==null||(rd=Ze())),a&4&&Yv(t);break;case 22:if(G=s!==null&&s.memoizedState!==null,t.mode&1?(_t=(I=_t)||G,vr(r,t),_t=I):vr(r,t),Tr(t),a&8192){if(I=t.memoizedState!==null,(t.stateNode.isHidden=I)&&!G&&(t.mode&1)!==0)for(se=t,G=t.child;G!==null;){for(X=se=G;se!==null;){switch($=se,ne=$.child,$.tag){case 0:case 11:case 14:case 15:Ii(4,$,$.return);break;case 1:En($,$.return);var le=$.stateNode;if(typeof le.componentWillUnmount=="function"){a=$,s=$.return;try{r=a,le.props=r.memoizedProps,le.state=r.memoizedState,le.componentWillUnmount()}catch(ue){Xe(a,s,ue)}}break;case 5:En($,$.return);break;case 22:if($.memoizedState!==null){t0(X);continue}}ne!==null?(ne.return=$,se=ne):t0(X)}G=G.sibling}e:for(G=null,X=t;;){if(X.tag===5){if(G===null){G=X;try{d=X.stateNode,I?(h=d.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(B=X.stateNode,E=X.memoizedProps.style,x=E!=null&&E.hasOwnProperty("display")?E.display:null,B.style.display=Rm("display",x))}catch(ue){Xe(t,t.return,ue)}}}else if(X.tag===6){if(G===null)try{X.stateNode.nodeValue=I?"":X.memoizedProps}catch(ue){Xe(t,t.return,ue)}}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;G===X&&(G=null),X=X.return}G===X&&(G=null),X.sibling.return=X.return,X=X.sibling}}break;case 19:vr(r,t),Tr(t),a&4&&Yv(t);break;case 21:break;default:vr(r,t),Tr(t)}}function Tr(t){var r=t.flags;if(r&2){try{e:{for(var s=t.return;s!==null;){if(Kv(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&&(oi(d,""),a.flags&=-33);var h=Xv(t);Zu(t,h,d);break;case 3:case 4:var x=a.stateNode.containerInfo,B=Xv(t);Ju(t,B,x);break;default:throw Error(n(161))}}catch(E){Xe(t,t.return,E)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function q3(t,r,s){se=t,Zv(t)}function Zv(t,r,s){for(var a=(t.mode&1)!==0;se!==null;){var d=se,h=d.child;if(d.tag===22&&a){var x=d.memoizedState!==null||Cl;if(!x){var B=d.alternate,E=B!==null&&B.memoizedState!==null||_t;B=Cl;var I=_t;if(Cl=x,(_t=E)&&!I)for(se=d;se!==null;)x=se,E=x.child,x.tag===22&&x.memoizedState!==null?r0(d):E!==null?(E.return=x,se=E):r0(d);for(;h!==null;)se=h,Zv(h),h=h.sibling;se=d,Cl=B,_t=I}e0(t)}else(d.subtreeFlags&8772)!==0&&h!==null?(h.return=d,se=h):e0(t)}}function e0(t){for(;se!==null;){var r=se;if((r.flags&8772)!==0){var s=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:_t||zl(5,r);break;case 1:var a=r.stateNode;if(r.flags&4&&!_t)if(s===null)a.componentDidMount();else{var d=r.elementType===r.type?s.memoizedProps:mr(r.type,s.memoizedProps);a.componentDidUpdate(d,s.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var h=r.updateQueue;h!==null&&tv(r,h,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}tv(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 I=r.alternate;if(I!==null){var G=I.memoizedState;if(G!==null){var X=G.dehydrated;X!==null&&hi(X)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}_t||r.flags&512&&Yu(r)}catch($){Xe(r,r.return,$)}}if(r===t){se=null;break}if(s=r.sibling,s!==null){s.return=r.return,se=s;break}se=r.return}}function t0(t){for(;se!==null;){var r=se;if(r===t){se=null;break}var s=r.sibling;if(s!==null){s.return=r.return,se=s;break}se=r.return}}function r0(t){for(;se!==null;){var r=se;try{switch(r.tag){case 0:case 11:case 15:var s=r.return;try{zl(4,r)}catch(E){Xe(r,s,E)}break;case 1:var a=r.stateNode;if(typeof a.componentDidMount=="function"){var d=r.return;try{a.componentDidMount()}catch(E){Xe(r,d,E)}}var h=r.return;try{Yu(r)}catch(E){Xe(r,h,E)}break;case 5:var x=r.return;try{Yu(r)}catch(E){Xe(r,x,E)}}}catch(E){Xe(r,r.return,E)}if(r===t){se=null;break}var B=r.sibling;if(B!==null){B.return=r.return,se=B;break}se=r.return}}var M3=Math.ceil,Nl=z.ReactCurrentDispatcher,ed=z.ReactCurrentOwner,rr=z.ReactCurrentBatchConfig,Te=0,dt=null,rt=null,vt=0,$t=0,Pn=co(0),lt=0,Oi=null,Io=0,Tl=0,td=0,Ai=null,Ft=null,rd=0,jn=1/0,Ur=null,El=!1,od=null,go=null,Pl=!1,vo=null,jl=0,qi=0,nd=null,Rl=-1,Fl=0;function Ct(){return(Te&6)!==0?Ze():Rl!==-1?Rl:Rl=Ze()}function bo(t){return(t.mode&1)===0?1:(Te&2)!==0&&vt!==0?vt&-vt:S3.transition!==null?(Fl===0&&(Fl=Xm()),Fl):(t=Fe,t!==0||(t=window.event,t=t===void 0?16:ng(t.type)),t)}function br(t,r,s,a){if(50<qi)throw qi=0,nd=null,Error(n(185));ci(t,s,a),((Te&2)===0||t!==dt)&&(t===dt&&((Te&2)===0&&(Tl|=s),lt===4&&yo(t,vt)),Dt(t,a),s===1&&Te===0&&(r.mode&1)===0&&(jn=Ze()+500,al&&fo()))}function Dt(t,r){var s=t.callbackNode;S5(t,r);var a=Ws(t,t===dt?vt:0);if(a===0)s!==null&&Um(s),t.callbackNode=null,t.callbackPriority=0;else if(r=a&-a,t.callbackPriority!==r){if(s!=null&&Um(s),r===1)t.tag===0?x3(n0.bind(null,t)):Wg(n0.bind(null,t)),b3(function(){(Te&6)===0&&fo()}),s=null;else{switch(Qm(a)){case 1:s=Oc;break;case 4:s=Gm;break;case 16:s=qs;break;case 536870912:s=Km;break;default:s=qs}s=f0(s,o0.bind(null,t))}t.callbackPriority=r,t.callbackNode=s}}function o0(t,r){if(Rl=-1,Fl=0,(Te&6)!==0)throw Error(n(327));var s=t.callbackNode;if(Rn()&&t.callbackNode!==s)return null;var a=Ws(t,t===dt?vt:0);if(a===0)return null;if((a&30)!==0||(a&t.expiredLanes)!==0||r)r=Dl(t,a);else{r=a;var d=Te;Te|=2;var h=s0();(dt!==t||vt!==r)&&(Ur=null,jn=Ze()+500,Ao(t,r));do try{W3();break}catch(B){i0(t,B)}while(!0);xu(),Nl.current=h,Te=d,rt!==null?r=0:(dt=null,vt=0,r=lt)}if(r!==0){if(r===2&&(d=Ac(t),d!==0&&(a=d,r=id(t,d))),r===1)throw s=Oi,Ao(t,0),yo(t,a),Dt(t,Ze()),s;if(r===6)yo(t,a);else{if(d=t.current.alternate,(a&30)===0&&!L3(d)&&(r=Dl(t,a),r===2&&(h=Ac(t),h!==0&&(a=h,r=id(t,h))),r===1))throw s=Oi,Ao(t,0),yo(t,a),Dt(t,Ze()),s;switch(t.finishedWork=d,t.finishedLanes=a,r){case 0:case 1:throw Error(n(345));case 2:qo(t,Ft,Ur);break;case 3:if(yo(t,a),(a&130023424)===a&&(r=rd+500-Ze(),10<r)){if(Ws(t,0)!==0)break;if(d=t.suspendedLanes,(d&a)!==a){Ct(),t.pingedLanes|=t.suspendedLanes&d;break}t.timeoutHandle=du(qo.bind(null,t,Ft,Ur),r);break}qo(t,Ft,Ur);break;case 4:if(yo(t,a),(a&4194240)===a)break;for(r=t.eventTimes,d=-1;0<a;){var x=31-fr(a);h=1<<x,x=r[x],x>d&&(d=x),a&=~h}if(a=d,a=Ze()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*M3(a/1960))-a,10<a){t.timeoutHandle=du(qo.bind(null,t,Ft,Ur),a);break}qo(t,Ft,Ur);break;case 5:qo(t,Ft,Ur);break;default:throw Error(n(329))}}}return Dt(t,Ze()),t.callbackNode===s?o0.bind(null,t):null}function id(t,r){var s=Ai;return t.current.memoizedState.isDehydrated&&(Ao(t,r).flags|=256),t=Dl(t,r),t!==2&&(r=Ft,Ft=s,r!==null&&sd(r)),t}function sd(t){Ft===null?Ft=t:Ft.push.apply(Ft,t)}function L3(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],h=d.getSnapshot;d=d.value;try{if(!pr(h(),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 yo(t,r){for(r&=~td,r&=~Tl,t.suspendedLanes|=r,t.pingedLanes&=~r,t=t.expirationTimes;0<r;){var s=31-fr(r),a=1<<s;t[s]=-1,r&=~a}}function n0(t){if((Te&6)!==0)throw Error(n(327));Rn();var r=Ws(t,0);if((r&1)===0)return Dt(t,Ze()),null;var s=Dl(t,r);if(t.tag!==0&&s===2){var a=Ac(t);a!==0&&(r=a,s=id(t,a))}if(s===1)throw s=Oi,Ao(t,0),yo(t,r),Dt(t,Ze()),s;if(s===6)throw Error(n(345));return t.finishedWork=t.current.alternate,t.finishedLanes=r,qo(t,Ft,Ur),Dt(t,Ze()),null}function ld(t,r){var s=Te;Te|=1;try{return t(r)}finally{Te=s,Te===0&&(jn=Ze()+500,al&&fo())}}function Oo(t){vo!==null&&vo.tag===0&&(Te&6)===0&&Rn();var r=Te;Te|=1;var s=rr.transition,a=Fe;try{if(rr.transition=null,Fe=1,t)return t()}finally{Fe=a,rr.transition=s,Te=r,(Te&6)===0&&fo()}}function ad(){$t=Pn.current,Le(Pn)}function Ao(t,r){t.finishedWork=null,t.finishedLanes=0;var s=t.timeoutHandle;if(s!==-1&&(t.timeoutHandle=-1,v3(s)),rt!==null)for(s=rt.return;s!==null;){var a=s;switch(vu(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&sl();break;case 3:Nn(),Le(Pt),Le(kt),Eu();break;case 5:Nu(a);break;case 4:Nn();break;case 13:Le($e);break;case 19:Le($e);break;case 10:Su(a.type._context);break;case 22:case 23:ad()}s=s.return}if(dt=t,rt=t=wo(t.current,null),vt=$t=r,lt=0,Oi=null,td=Tl=Io=0,Ft=Ai=null,Ro!==null){for(r=0;r<Ro.length;r++)if(s=Ro[r],a=s.interleaved,a!==null){s.interleaved=null;var d=a.next,h=s.pending;if(h!==null){var x=h.next;h.next=d,a.next=x}s.pending=a}Ro=null}return t}function i0(t,r){do{var s=rt;try{if(xu(),bl.current=xl,yl){for(var a=Ue.memoizedState;a!==null;){var d=a.queue;d!==null&&(d.pending=null),a=a.next}yl=!1}if(Do=0,ut=st=Ue=null,Pi=!1,ji=0,ed.current=null,s===null||s.return===null){lt=1,Oi=r,rt=null;break}e:{var h=t,x=s.return,B=s,E=r;if(r=vt,B.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var I=E,G=B,X=G.tag;if((G.mode&1)===0&&(X===0||X===11||X===15)){var $=G.alternate;$?(G.updateQueue=$.updateQueue,G.memoizedState=$.memoizedState,G.lanes=$.lanes):(G.updateQueue=null,G.memoizedState=null)}var ne=Ev(x);if(ne!==null){ne.flags&=-257,Pv(ne,x,B,h,r),ne.mode&1&&Tv(h,I,r),r=ne,E=I;var le=r.updateQueue;if(le===null){var ue=new Set;ue.add(E),r.updateQueue=ue}else le.add(E);break e}else{if((r&1)===0){Tv(h,I,r),cd();break e}E=Error(n(426))}}else if(He&&B.mode&1){var et=Ev(x);if(et!==null){(et.flags&65536)===0&&(et.flags|=256),Pv(et,x,B,h,r),wu(Tn(E,B));break e}}h=E=Tn(E,B),lt!==4&&(lt=2),Ai===null?Ai=[h]:Ai.push(h),h=x;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var F=zv(h,E,r);ev(h,F);break e;case 1:B=E;var P=h.type,D=h.stateNode;if((h.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||D!==null&&typeof D.componentDidCatch=="function"&&(go===null||!go.has(D)))){h.flags|=65536,r&=-r,h.lanes|=r;var Q=Nv(h,B,r);ev(h,Q);break e}}h=h.return}while(h!==null)}a0(s)}catch(fe){r=fe,rt===s&&s!==null&&(rt=s=s.return);continue}break}while(!0)}function s0(){var t=Nl.current;return Nl.current=xl,t===null?xl:t}function cd(){(lt===0||lt===3||lt===2)&&(lt=4),dt===null||(Io&268435455)===0&&(Tl&268435455)===0||yo(dt,vt)}function Dl(t,r){var s=Te;Te|=2;var a=s0();(dt!==t||vt!==r)&&(Ur=null,Ao(t,r));do try{H3();break}catch(d){i0(t,d)}while(!0);if(xu(),Te=s,Nl.current=a,rt!==null)throw Error(n(261));return dt=null,vt=0,lt}function H3(){for(;rt!==null;)l0(rt)}function W3(){for(;rt!==null&&!h5();)l0(rt)}function l0(t){var r=d0(t.alternate,t,$t);t.memoizedProps=t.pendingProps,r===null?a0(t):rt=r,ed.current=null}function a0(t){var r=t;do{var s=r.alternate;if(t=r.return,(r.flags&32768)===0){if(s=D3(s,r,$t),s!==null){rt=s;return}}else{if(s=I3(s,r),s!==null){s.flags&=32767,rt=s;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{lt=6,rt=null;return}}if(r=r.sibling,r!==null){rt=r;return}rt=r=t}while(r!==null);lt===0&&(lt=5)}function qo(t,r,s){var a=Fe,d=rr.transition;try{rr.transition=null,Fe=1,V3(t,r,s,a)}finally{rr.transition=d,Fe=a}return null}function V3(t,r,s,a){do Rn();while(vo!==null);if((Te&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 h=s.lanes|s.childLanes;if(_5(t,h),t===dt&&(rt=dt=null,vt=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||Pl||(Pl=!0,f0(qs,function(){return Rn(),null})),h=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||h){h=rr.transition,rr.transition=null;var x=Fe;Fe=1;var B=Te;Te|=4,ed.current=null,A3(t,s),Jv(s,t),u3(cu),Us=!!au,cu=au=null,t.current=s,q3(s),m5(),Te=B,Fe=x,rr.transition=h}else t.current=s;if(Pl&&(Pl=!1,vo=t,jl=d),h=t.pendingLanes,h===0&&(go=null),b5(s.stateNode),Dt(t,Ze()),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(El)throw El=!1,t=od,od=null,t;return(jl&1)!==0&&t.tag!==0&&Rn(),h=t.pendingLanes,(h&1)!==0?t===nd?qi++:(qi=0,nd=t):qi=0,fo(),null}function Rn(){if(vo!==null){var t=Qm(jl),r=rr.transition,s=Fe;try{if(rr.transition=null,Fe=16>t?16:t,vo===null)var a=!1;else{if(t=vo,vo=null,jl=0,(Te&6)!==0)throw Error(n(331));var d=Te;for(Te|=4,se=t.current;se!==null;){var h=se,x=h.child;if((se.flags&16)!==0){var B=h.deletions;if(B!==null){for(var E=0;E<B.length;E++){var I=B[E];for(se=I;se!==null;){var G=se;switch(G.tag){case 0:case 11:case 15:Ii(8,G,h)}var X=G.child;if(X!==null)X.return=G,se=X;else for(;se!==null;){G=se;var $=G.sibling,ne=G.return;if(Gv(G),G===I){se=null;break}if($!==null){$.return=ne,se=$;break}se=ne}}}var le=h.alternate;if(le!==null){var ue=le.child;if(ue!==null){le.child=null;do{var et=ue.sibling;ue.sibling=null,ue=et}while(ue!==null)}}se=h}}if((h.subtreeFlags&2064)!==0&&x!==null)x.return=h,se=x;else e:for(;se!==null;){if(h=se,(h.flags&2048)!==0)switch(h.tag){case 0:case 11:case 15:Ii(9,h,h.return)}var F=h.sibling;if(F!==null){F.return=h.return,se=F;break e}se=h.return}}var P=t.current;for(se=P;se!==null;){x=se;var D=x.child;if((x.subtreeFlags&2064)!==0&&D!==null)D.return=x,se=D;else e:for(x=P;se!==null;){if(B=se,(B.flags&2048)!==0)try{switch(B.tag){case 0:case 11:case 15:zl(9,B)}}catch(fe){Xe(B,B.return,fe)}if(B===x){se=null;break e}var Q=B.sibling;if(Q!==null){Q.return=B.return,se=Q;break e}se=B.return}}if(Te=d,fo(),Br&&typeof Br.onPostCommitFiberRoot=="function")try{Br.onPostCommitFiberRoot(Ms,t)}catch{}a=!0}return a}finally{Fe=s,rr.transition=r}}return!1}function c0(t,r,s){r=Tn(s,r),r=zv(t,r,1),t=ho(t,r,1),r=Ct(),t!==null&&(ci(t,1,r),Dt(t,r))}function Xe(t,r,s){if(t.tag===3)c0(t,t,s);else for(;r!==null;){if(r.tag===3){c0(r,t,s);break}else if(r.tag===1){var a=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(go===null||!go.has(a))){t=Tn(s,t),t=Nv(r,t,1),r=ho(r,t,1),t=Ct(),r!==null&&(ci(r,1,t),Dt(r,t));break}}r=r.return}}function $3(t,r,s){var a=t.pingCache;a!==null&&a.delete(r),r=Ct(),t.pingedLanes|=t.suspendedLanes&s,dt===t&&(vt&s)===s&&(lt===4||lt===3&&(vt&130023424)===vt&&500>Ze()-rd?Ao(t,0):td|=s),Dt(t,r)}function u0(t,r){r===0&&((t.mode&1)===0?r=1:(r=Hs,Hs<<=1,(Hs&130023424)===0&&(Hs=4194304)));var s=Ct();t=Wr(t,r),t!==null&&(ci(t,r,s),Dt(t,s))}function U3(t){var r=t.memoizedState,s=0;r!==null&&(s=r.retryLane),u0(t,s)}function G3(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),u0(t,s)}var d0;d0=function(t,r,s){if(t!==null)if(t.memoizedProps!==r.pendingProps||Pt.current)Rt=!0;else{if((t.lanes&s)===0&&(r.flags&128)===0)return Rt=!1,F3(t,r,s);Rt=(t.flags&131072)!==0}else Rt=!1,He&&(r.flags&1048576)!==0&&Vg(r,ul,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;Bl(t,r),t=r.pendingProps;var d=kn(r,kt.current);zn(r,s),d=Ru(null,r,a,t,d,s);var h=Fu();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,jt(a)?(h=!0,ll(r)):h=!1,r.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,Cu(r),d.updater=Sl,r.stateNode=d,d._reactInternals=r,Mu(r,a,t,s),r=Vu(null,r,a,!0,h,s)):(r.tag=0,He&&h&&gu(r),Bt(null,r,d,s),r=r.child),r;case 16:a=r.elementType;e:{switch(Bl(t,r),t=r.pendingProps,d=a._init,a=d(a._payload),r.type=a,d=r.tag=X3(a),t=mr(a,t),d){case 0:r=Wu(null,r,a,t,s);break e;case 1:r=Ov(null,r,a,t,s);break e;case 11:r=jv(null,r,a,t,s);break e;case 14:r=Rv(null,r,a,mr(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:mr(a,d),Wu(t,r,a,d,s);case 1:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:mr(a,d),Ov(t,r,a,d,s);case 3:e:{if(Av(r),t===null)throw Error(n(387));a=r.pendingProps,h=r.memoizedState,d=h.element,Zg(t,r),gl(r,a,null,s);var x=r.memoizedState;if(a=x.element,h.isDehydrated)if(h={element:a,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){d=Tn(Error(n(423)),r),r=qv(t,r,a,s,d);break e}else if(a!==d){d=Tn(Error(n(424)),r),r=qv(t,r,a,s,d);break e}else for(Vt=ao(r.stateNode.containerInfo.firstChild),Wt=r,He=!0,hr=null,s=Yg(r,null,a,s),r.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(_n(),a===d){r=$r(t,r,s);break e}Bt(t,r,a,s)}r=r.child}return r;case 5:return rv(r),t===null&&yu(r),a=r.type,d=r.pendingProps,h=t!==null?t.memoizedProps:null,x=d.children,uu(a,d)?x=null:h!==null&&uu(a,h)&&(r.flags|=32),Iv(t,r),Bt(t,r,x,s),r.child;case 6:return t===null&&yu(r),null;case 13:return Mv(t,r,s);case 4:return zu(r,r.stateNode.containerInfo),a=r.pendingProps,t===null?r.child=Bn(r,null,a,s):Bt(t,r,a,s),r.child;case 11:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:mr(a,d),jv(t,r,a,d,s);case 7:return Bt(t,r,r.pendingProps,s),r.child;case 8:return Bt(t,r,r.pendingProps.children,s),r.child;case 12:return Bt(t,r,r.pendingProps.children,s),r.child;case 10:e:{if(a=r.type._context,d=r.pendingProps,h=r.memoizedProps,x=d.value,Ae(pl,a._currentValue),a._currentValue=x,h!==null)if(pr(h.value,x)){if(h.children===d.children&&!Pt.current){r=$r(t,r,s);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var B=h.dependencies;if(B!==null){x=h.child;for(var E=B.firstContext;E!==null;){if(E.context===a){if(h.tag===1){E=Vr(-1,s&-s),E.tag=2;var I=h.updateQueue;if(I!==null){I=I.shared;var G=I.pending;G===null?E.next=E:(E.next=G.next,G.next=E),I.pending=E}}h.lanes|=s,E=h.alternate,E!==null&&(E.lanes|=s),_u(h.return,s,r),B.lanes|=s;break}E=E.next}}else if(h.tag===10)x=h.type===r.type?null:h.child;else if(h.tag===18){if(x=h.return,x===null)throw Error(n(341));x.lanes|=s,B=x.alternate,B!==null&&(B.lanes|=s),_u(x,s,r),x=h.sibling}else x=h.child;if(x!==null)x.return=h;else for(x=h;x!==null;){if(x===r){x=null;break}if(h=x.sibling,h!==null){h.return=x.return,x=h;break}x=x.return}h=x}Bt(t,r,d.children,s),r=r.child}return r;case 9:return d=r.type,a=r.pendingProps.children,zn(r,s),d=er(d),a=a(d),r.flags|=1,Bt(t,r,a,s),r.child;case 14:return a=r.type,d=mr(a,r.pendingProps),d=mr(a.type,d),Rv(t,r,a,d,s);case 15:return Fv(t,r,r.type,r.pendingProps,s);case 17:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:mr(a,d),Bl(t,r),r.tag=1,jt(a)?(t=!0,ll(r)):t=!1,zn(r,s),Bv(r,a,d),Mu(r,a,d,s),Vu(null,r,a,!0,t,s);case 19:return Hv(t,r,s);case 22:return Dv(t,r,s)}throw Error(n(156,r.tag))};function f0(t,r){return $m(t,r)}function K3(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 or(t,r,s,a){return new K3(t,r,s,a)}function ud(t){return t=t.prototype,!(!t||!t.isReactComponent)}function X3(t){if(typeof t=="function")return ud(t)?1:0;if(t!=null){if(t=t.$$typeof,t===me)return 11;if(t===Ce)return 14}return 2}function wo(t,r){var s=t.alternate;return s===null?(s=or(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 Il(t,r,s,a,d,h){var x=2;if(a=t,typeof t=="function")ud(t)&&(x=1);else if(typeof t=="string")x=5;else e:switch(t){case O:return Mo(s.children,d,h,r);case H:x=8,d|=8;break;case J:return t=or(12,s,r,d|2),t.elementType=J,t.lanes=h,t;case V:return t=or(13,s,r,d),t.elementType=V,t.lanes=h,t;case oe:return t=or(19,s,r,d),t.elementType=oe,t.lanes=h,t;case he:return Ol(s,d,h,r);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case te:x=10;break e;case pe:x=9;break e;case me:x=11;break e;case Ce:x=14;break e;case ge:x=16,a=null;break e}throw Error(n(130,t==null?t:typeof t,""))}return r=or(x,s,r,d),r.elementType=t,r.type=a,r.lanes=h,r}function Mo(t,r,s,a){return t=or(7,t,a,r),t.lanes=s,t}function Ol(t,r,s,a){return t=or(22,t,a,r),t.elementType=he,t.lanes=s,t.stateNode={isHidden:!1},t}function dd(t,r,s){return t=or(6,t,null,r),t.lanes=s,t}function fd(t,r,s){return r=or(4,t.children!==null?t.children:[],t.key,r),r.lanes=s,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}function Q3(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=qc(0),this.expirationTimes=qc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qc(0),this.identifierPrefix=a,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function pd(t,r,s,a,d,h,x,B,E){return t=new Q3(t,r,s,B,E),r===1?(r=1,h===!0&&(r|=8)):r=0,h=or(3,null,null,r),t.current=h,h.stateNode=t,h.memoizedState={element:a,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cu(h),t}function Y3(t,r,s){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:A,key:a==null?null:""+a,children:t,containerInfo:r,implementation:s}}function p0(t){if(!t)return uo;t=t._reactInternals;e:{if(No(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(jt(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(jt(s))return Lg(t,s,r)}return r}function h0(t,r,s,a,d,h,x,B,E){return t=pd(s,a,!0,t,d,h,x,B,E),t.context=p0(null),s=t.current,a=Ct(),d=bo(s),h=Vr(a,d),h.callback=r??null,ho(s,h,d),t.current.lanes=d,ci(t,d,a),Dt(t,a),t}function Al(t,r,s,a){var d=r.current,h=Ct(),x=bo(d);return s=p0(s),r.context===null?r.context=s:r.pendingContext=s,r=Vr(h,x),r.payload={element:t},a=a===void 0?null:a,a!==null&&(r.callback=a),t=ho(d,r,x),t!==null&&(br(t,d,x,h),ml(t,d,x)),x}function ql(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 m0(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<r?s:r}}function hd(t,r){m0(t,r),(t=t.alternate)&&m0(t,r)}function J3(){return null}var g0=typeof reportError=="function"?reportError:function(t){console.error(t)};function md(t){this._internalRoot=t}Ml.prototype.render=md.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(n(409));Al(t,r,null,null)},Ml.prototype.unmount=md.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;Oo(function(){Al(null,t,null,null)}),r[qr]=null}};function Ml(t){this._internalRoot=t}Ml.prototype.unstable_scheduleHydration=function(t){if(t){var r=Zm();t={blockedOn:null,target:t,priority:r};for(var s=0;s<io.length&&r!==0&&r<io[s].priority;s++);io.splice(s,0,t),s===0&&rg(t)}};function gd(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Ll(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function v0(){}function Z3(t,r,s,a,d){if(d){if(typeof a=="function"){var h=a;a=function(){var I=ql(x);h.call(I)}}var x=h0(r,a,t,0,null,!1,!1,"",v0);return t._reactRootContainer=x,t[qr]=x.current,Si(t.nodeType===8?t.parentNode:t),Oo(),x}for(;d=t.lastChild;)t.removeChild(d);if(typeof a=="function"){var B=a;a=function(){var I=ql(E);B.call(I)}}var E=pd(t,0,!1,null,null,!1,!1,"",v0);return t._reactRootContainer=E,t[qr]=E.current,Si(t.nodeType===8?t.parentNode:t),Oo(function(){Al(r,E,s,a)}),E}function Hl(t,r,s,a,d){var h=s._reactRootContainer;if(h){var x=h;if(typeof d=="function"){var B=d;d=function(){var E=ql(x);B.call(E)}}Al(r,x,t,d)}else x=Z3(s,r,t,d,a);return ql(x)}Ym=function(t){switch(t.tag){case 3:var r=t.stateNode;if(r.current.memoizedState.isDehydrated){var s=ai(r.pendingLanes);s!==0&&(Mc(r,s|1),Dt(r,Ze()),(Te&6)===0&&(jn=Ze()+500,fo()))}break;case 13:Oo(function(){var a=Wr(t,1);if(a!==null){var d=Ct();br(a,t,1,d)}}),hd(t,1)}},Lc=function(t){if(t.tag===13){var r=Wr(t,134217728);if(r!==null){var s=Ct();br(r,t,134217728,s)}hd(t,134217728)}},Jm=function(t){if(t.tag===13){var r=bo(t),s=Wr(t,r);if(s!==null){var a=Ct();br(s,t,r,a)}hd(t,r)}},Zm=function(){return Fe},eg=function(t,r){var s=Fe;try{return Fe=t,r()}finally{Fe=s}},Rc=function(t,r,s){switch(r){case"input":if(Ar(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=il(a);if(!d)throw Error(n(90));Ds(a),Ar(a,d)}}}break;case"textarea":Tm(t,s);break;case"select":r=s.value,r!=null&&cn(t,!!s.multiple,r,!1)}},Am=ld,qm=Oo;var e4={usingClientEntryPoint:!1,Events:[Ci,yn,il,Im,Om,ld]},Mi={findFiberByHostInstance:To,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},t4={bundleType:Mi.bundleType,version:Mi.version,rendererPackageName:Mi.rendererPackageName,rendererConfig:Mi.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=Wm(t),t===null?null:t.stateNode},findFiberByHostInstance:Mi.findFiberByHostInstance||J3,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wl.isDisabled&&Wl.supportsFiber)try{Ms=Wl.inject(t4),Br=Wl}catch{}}return zt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=e4,zt.createPortal=function(t,r){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gd(r))throw Error(n(200));return Y3(t,r,null,s)},zt.createRoot=function(t,r){if(!gd(t))throw Error(n(299));var s=!1,a="",d=g0;return r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(d=r.onRecoverableError)),r=pd(t,1,!1,null,null,s,!1,a,d),t[qr]=r.current,Si(t.nodeType===8?t.parentNode:t),new md(r)},zt.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=Wm(r),t=t===null?null:t.stateNode,t},zt.flushSync=function(t){return Oo(t)},zt.hydrate=function(t,r,s){if(!Ll(r))throw Error(n(200));return Hl(null,t,r,!0,s)},zt.hydrateRoot=function(t,r,s){if(!gd(t))throw Error(n(405));var a=s!=null&&s.hydratedSources||null,d=!1,h="",x=g0;if(s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onRecoverableError!==void 0&&(x=s.onRecoverableError)),r=h0(r,null,t,1,s??null,d,!1,h,x),t[qr]=r.current,Si(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 Ml(r)},zt.render=function(t,r,s){if(!Ll(r))throw Error(n(200));return Hl(null,t,r,!1,s)},zt.unmountComponentAtNode=function(t){if(!Ll(t))throw Error(n(40));return t._reactRootContainer?(Oo(function(){Hl(null,null,t,!1,function(){t._reactRootContainer=null,t[qr]=null})}),!0):!1},zt.unstable_batchedUpdates=ld,zt.unstable_renderSubtreeIntoContainer=function(t,r,s,a){if(!Ll(s))throw Error(n(200));if(t==null||t._reactInternals===void 0)throw Error(n(38));return Hl(t,r,s,!1,a)},zt.version="18.3.1-next-f1338f8080-20240426",zt}var Td;function Ed(){if(Td)return Gl.exports;Td=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(),Gl.exports=_0(),Gl.exports}var Pd;function B0(){if(Pd)return Hi;Pd=1;var e=Ed();return Hi.createRoot=e.createRoot,Hi.hydrateRoot=e.hydrateRoot,Hi}var C0=B0();class z0{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 at=new z0,N0=async()=>(await Dn("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})),T0=async()=>(await Dn("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})),Dn=async e=>{const o=[];for(;e;){at.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}at.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},Ql=async e=>{const o=`systemusers(${e})/systemuserroles_association?$select=roleid,name,ismanaged&$expand=businessunitid($select=businessunitid,name)`;return(await Dn(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}))},E0=async e=>{const o=`teams(${e})/teamroles_association?$select=roleid,name,ismanaged&$expand=businessunitid($select=businessunitid,name)`;return(await Dn(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}))},Yl=async e=>{const o=`systemusers(${e})/teammembership_association?$select=teamid,name,teamtype,isdefault&$expand=businessunitid($select=businessunitid,name)`;return(await Dn(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}))},Jl=typeof window>"u"?global:window,Zl="@griffel/";function P0(e,o){return Jl[Symbol.for(Zl+e)]||(Jl[Symbol.for(Zl+e)]=o),Jl[Symbol.for(Zl+e)]}const ea=P0("DEFINITION_LOOKUP_TABLE",{}),In="data-make-styles-bucket",j0="data-priority",ta="f",ra=7,oa="___",R0=oa.length+ra,F0=0,D0=1,I0={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},na="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function On(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 O0(e){const o=e.length;if(o===ra)return e;for(let n=o;n<ra;n++)e+="0";return e}function jd(e,o,n=[]){return oa+O0(On(e+o))}function Rd(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 Wi(e,o){const n={};for(const i in e){const[l,c]=Rd(e[i],o);if(c===""){n[i]="";continue}const u=jd(c,o),f=u+(l===""?"":" "+l);ea[u]=[e[i],o],n[i]=f}return n}const Fd={};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(oa);if(b===-1)o+=y+" ";else{const k=y.substr(b,R0);b>0&&(o+=y.slice(0,b)),n+=k,i[v]=k}}}if(n==="")return o.slice(0,-1);const l=Fd[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=ea[y];b&&(c.push(b[F0]),e=b[D0])}}const u=Object.assign.apply(Object,[{}].concat(c)),[f,p]=Rd(u,e),m=jd(p,e,i),g=m+" "+f;return Fd[n]=g,ea[m]=[u,e],o+g}function A0(e){return Array.isArray(e)?e:[e]}function q0(e,o,n,i){const l=[];if(i[In]=o,i[j0]=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 Dd=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,o,n)=>(e[o]=n,e),{});function M0(e,o,n){return(e==="m"?e+o:e)+n}function L0(e,o,n,i,l={}){var c,u;const f=e==="m",p=(c=l.m)!==null&&c!==void 0?c:"0",m=(u=l.p)!==null&&u!==void 0?u:0,g=M0(e,p,m);if(!i.stylesheets[g]){const v=o&&o.createElement("style"),y=q0(v,e,m,Object.assign({},i.styleElementAttributes,f&&{media:p}));i.stylesheets[g]=y,o?.head&&v&&o.head.insertBefore(v,W0(o,n,e,i,l))}return i.stylesheets[g]}function H0(e,o,n){var i,l;const c=o+((i=n.m)!==null&&i!==void 0?i:""),u=e.getAttribute(In)+((l=e.media)!==null&&l!==void 0?l:"");return c===u}function W0(e,o,n,i,l={}){var c,u;const f=Dd[n],p=(c=l.m)!==null&&c!==void 0?c:"",m=(u=l.p)!==null&&u!==void 0?u:0;let g=w=>f-Dd[w.getAttribute(In)],v=e.head.querySelectorAll(`[${In}]`);if(n==="m"){const w=e.head.querySelectorAll(`[${In}="${n}"]`);w.length&&(v=w,g=_=>i.compareMediaQueries(p,_.media))}const y=w=>H0(w,n,l)?m-Number(w.getAttribute("data-priority")):g(w),b=v.length;let k=b-1;for(;k>=0;){const w=v.item(k);if(y(w)>0)return w.nextSibling;k--}return b>0?v.item(0):o?o.nextSibling:null}function Id(e,o){try{e.insertRule(o)}catch{}}let V0=0;const $0=(e,o)=>e<o?-1:e>o?1:0;function U0(e=typeof document>"u"?void 0:document,o={}){const{classNameHashSalt:n,unstable_filterCSSRule:i,insertionPoint:l,styleElementAttributes:c,compareMediaQueries:u=$0}=o,f={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${V0++}`,insertCSSRules(p){for(const m in p){const g=p[m];for(let v=0,y=g.length;v<y;v++){const[b,k]=A0(g[v]),w=L0(m,e,l||null,f,k);f.insertionCache[b]||(f.insertionCache[b]=m,i?i(b)&&Id(w,b):Id(w,b))}}}};return f}const ia=()=>{const e={};return function(n,i){e[n.id]===void 0&&(n.insertCSSRules(i),e[n.id]=!0)}};function Od(e){return e.reduce(function(o,n){var i=n[0],l=n[1];return o[i]=l,o[l]=i,o},{})}function G0(e){return typeof e=="boolean"}function K0(e){return typeof e=="function"}function An(e){return typeof e=="number"}function X0(e){return e===null||typeof e>"u"}function Q0(e){return e&&typeof e=="object"}function Y0(e){return typeof e=="string"}function Vi(e,o){return e.indexOf(o)!==-1}function J0(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function $i(e,o,n,i){return o+J0(n)+i}function Z0(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 Ad(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 qd(e){var o=Ad(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 e1(e){return!G0(e)&&!X0(e)}function t1(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 An(n)?n:qd(n)},textShadow:function(o){var n=o.value,i=t1(n).map(function(l){return l.replace(/(^|\s)(-*)([.|\d]+)/,function(c,u,f,p){if(p==="0")return c;var m=f===""?"-":"";return""+u+m+p})});return i.join(",")},borderColor:function(o){var n=o.value;return qd(n)},borderRadius:function(o){var n=o.value;if(An(n))return n;if(Vi(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=Ad(n);switch(p.length){case 2:return p.reverse().join(" ");case 4:{var m=p[0],g=p[1],v=p[2],y=p[3];return[g,m,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(An(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!Vi(n,"url(")&&!Vi(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 Z0(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 An(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"),m=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,$i).replace(f,$i).replace(p,$i).replace(m,$i)}};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 Md=Od([["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"]]),r1=["content"],Ld=Od([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),o1=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),n1=new RegExp("(left)|(right)");function Hd(e){return Object.keys(e).reduce(function(o,n){var i=e[n];if(Y0(i)&&(i=i.trim()),Vi(r1,n))return o[n]=i,o;var l=sa(n,i),c=l.key,u=l.value;return o[c]=u,o},Array.isArray(e)?[]:{})}function sa(e,o){var n=/\/\*\s?@noflip\s?\*\//.test(o),i=n?e:i1(e),l=n?o:s1(i,o);return{key:i,value:l}}function i1(e){return Md[e]||e}function s1(e,o){if(!e1(o))return o;if(Q0(o))return Hd(o);var n=An(o),i=K0(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:Ld,propertiesToConvert:Md,isRtl:!0,bgImgDirectionRegex:o1,bgPosDirectionRegex:n1}):f=Ld[l]||l,c?f+" !important":f}const l1=/[A-Z]/g,a1=/^ms-/,la={};function c1(e){return"-"+e.toLowerCase()}function Lo(e){if(Object.prototype.hasOwnProperty.call(la,e))return la[e];if(e.substr(0,2)==="--")return e;const o=e.replace(l1,c1);return la[e]=a1.test(o)?"-"+o:o}function Wd(e){return e.charAt(0)==="&"?e.slice(1):e}var qn="-moz-",nr="-webkit-",Vd="comm",Ui="rule",aa="decl",u1="@media",d1="@import",f1="@supports",p1="@namespace",h1="@keyframes",$d="@layer",Ud=Math.abs,Gi=String.fromCharCode,m1=Object.assign;function g1(e,o){return bt(e,0)^45?(((o<<2^bt(e,0))<<2^bt(e,1))<<2^bt(e,2))<<2^bt(e,3):0}function Gd(e){return e.trim()}function Kd(e,o){return(e=o.exec(e))?e[0]:e}function Nt(e,o,n){return e.replace(o,n)}function Xd(e,o,n){return e.indexOf(o,n)}function bt(e,o){return e.charCodeAt(o)|0}function Ho(e,o,n){return e.slice(o,n)}function ir(e){return e.length}function Qd(e){return e.length}function xo(e,o){return o.push(e),e}function v1(e,o){return e.map(o).join("")}var Ki=1,Wo=1,Yd=0,It=0,We=0,Vo="";function Xi(e,o,n,i,l,c,u,f){return{value:e,root:o,parent:n,type:i,props:l,children:c,line:Ki,column:Wo,length:u,return:"",siblings:f}}function ca(e,o){return m1(Xi("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},o)}function b1(){return We}function y1(){return We=It>0?bt(Vo,--It):0,Wo--,We===10&&(Wo=1,Ki--),We}function Ut(){return We=It<Yd?bt(Vo,It++):0,Wo++,We===10&&(Wo=1,Ki++),We}function Gr(){return bt(Vo,It)}function Qi(){return It}function Yi(e,o){return Ho(Vo,e,o)}function $o(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 Jd(e){return Ki=Wo=1,Yd=ir(Vo=e),It=0,[]}function Zd(e){return Vo="",e}function Ji(e){return Gd(Yi(It-1,ua(e===91?e+2:e===40?e+1:e)))}function w1(e){return Zd(x1(Jd(e)))}function k1(e){for(;(We=Gr())&&We<33;)Ut();return $o(e)>2||$o(We)>3?"":" "}function x1(e){for(;Ut();)switch($o(We)){case 0:xo(ef(It-1),e);break;case 2:xo(Ji(We),e);break;default:xo(Gi(We),e)}return e}function S1(e,o){for(;--o&&Ut()&&!(We<48||We>102||We>57&&We<65||We>70&&We<97););return Yi(e,Qi()+(o<6&&Gr()==32&&Ut()==32))}function ua(e){for(;Ut();)switch(We){case e:return It;case 34:case 39:e!==34&&e!==39&&ua(We);break;case 40:e===41&&ua(e);break;case 92:Ut();break}return It}function _1(e,o){for(;Ut()&&e+We!==57;)if(e+We===84&&Gr()===47)break;return"/*"+Yi(o,It-1)+"*"+Gi(e===47?e:Ut())}function ef(e){for(;!$o(Gr());)Ut();return Yi(e,It)}function tf(e){return Zd(Zi("",null,null,null,[""],e=Jd(e),0,[0],e))}function Zi(e,o,n,i,l,c,u,f,p){for(var m=0,g=0,v=u,y=0,b=0,k=0,w=1,_=1,C=1,N=0,T="",z=l,j=c,A=i,O=T;_;)switch(k=N,N=Ut()){case 40:if(k!=108&&bt(O,v-1)==58){Xd(O+=Nt(Ji(N),"&","&\f"),"&\f",Ud(m?f[m-1]:0))!=-1&&(C=-1);break}case 34:case 39:case 91:O+=Ji(N);break;case 9:case 10:case 13:case 32:O+=k1(k);break;case 92:O+=S1(Qi()-1,7);continue;case 47:switch(Gr()){case 42:case 47:xo(B1(_1(Ut(),Qi()),o,n,p),p),($o(k||1)==5||$o(Gr()||1)==5)&&ir(O)&&Ho(O,-1,void 0)!==" "&&(O+=" ");break;default:O+="/"}break;case 123*w:f[m++]=ir(O)*C;case 125*w:case 59:case 0:switch(N){case 0:case 125:_=0;case 59+g:C==-1&&(O=Nt(O,/\f/g,"")),b>0&&(ir(O)-v||w===0&&k===47)&&xo(b>32?of(O+";",i,n,v-1,p):of(Nt(O," ","")+";",i,n,v-2,p),p);break;case 59:O+=";";default:if(xo(A=rf(O,o,n,m,g,l,f,T,z=[],j=[],v,c),c),N===123)if(g===0)Zi(O,o,A,A,z,c,v,f,j);else{switch(y){case 99:if(bt(O,3)===110)break;case 108:if(bt(O,2)===97)break;default:g=0;case 100:case 109:case 115:}g?Zi(e,A,A,i&&xo(rf(e,A,A,0,0,l,f,T,l,z=[],v,j),j),l,j,v,f,i?z:j):Zi(O,A,A,A,[""],j,0,f,j)}}m=g=b=0,w=C=1,T=O="",v=u;break;case 58:v=1+ir(O),b=k;default:if(w<1){if(N==123)--w;else if(N==125&&w++==0&&y1()==125)continue}switch(O+=Gi(N),N*w){case 38:C=g>0?1:(O+="\f",-1);break;case 44:f[m++]=(ir(O)-1)*C,C=1;break;case 64:Gr()===45&&(O+=Ji(Ut())),y=Gr(),g=v=ir(T=O+=ef(Qi())),N++;break;case 45:k===45&&ir(O)==2&&(w=0)}}return c}function rf(e,o,n,i,l,c,u,f,p,m,g,v){for(var y=l-1,b=l===0?c:[""],k=Qd(b),w=0,_=0,C=0;w<i;++w)for(var N=0,T=Ho(e,y+1,y=Ud(_=u[w])),z=e;N<k;++N)(z=Gd(_>0?b[N]+" "+T:Nt(T,/&\f/g,b[N])))&&(p[C++]=z);return Xi(e,o,n,l===0?Ui:f,p,m,g,v)}function B1(e,o,n,i){return Xi(e,o,n,Vd,Gi(b1()),Ho(e,2,-2),0,i)}function of(e,o,n,i,l){return Xi(e,o,n,aa,Ho(e,0,i),Ho(e,i+1,-1),i,l)}function Uo(e,o){for(var n="",i=0;i<e.length;i++)n+=o(e[i],i,e,o)||"";return n}function nf(e,o,n,i){switch(e.type){case $d:if(e.children.length)break;case d1:case p1:case aa:return e.return=e.return||e.value;case Vd:return"";case h1:return e.return=e.value+"{"+Uo(e.children,i)+"}";case Ui:if(!ir(e.value=e.props.join(",")))return""}return ir(n=Uo(e.children,i))?e.return=e.value+"{"+n+"}":""}function sf(e){var o=Qd(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 lf(e){return function(o){o.root||(o=o.return)&&e(o)}}const C1=e=>{switch(e.type){case Ui:if(typeof e.props=="string")return;e.props=e.props.map(o=>o.indexOf(":global(")===-1?o:w1(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 af(e,o,n){switch(g1(e,o)){case 5103:return nr+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return nr+e+e;case 4215:if(bt(e,9)===102||bt(e,o+1)===116)return nr+e+e;break;case 4789:return qn+e+e;case 5349:case 4246:case 6968:return nr+e+qn+e+e;case 6187:if(!Kd(e,/grab/))return Nt(Nt(Nt(e,/(zoom-|grab)/,nr+"$1"),/(image-set)/,nr+"$1"),e,"")+e;case 5495:case 3959:return Nt(e,/(image-set\([^]*)/,nr+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return Nt(e,/(.+)-inline(.+)/,nr+"$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(ir(e)-1-o>6)switch(bt(e,o+1)){case 102:if(bt(e,o+3)===108)return Nt(e,/(.+:)(.+)-([^]+)/,"$1"+nr+"$2-$3$1"+qn+(bt(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~Xd(e,"stretch")?af(Nt(e,"stretch","fill-available"),o)+e:e}break}return e}function cf(e,o,n,i){if(e.length>-1&&!e.return)switch(e.type){case aa:e.return=af(e.value,e.length);return;case Ui:if(e.length)return v1(e.props,function(l){switch(Kd(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Uo([ca(e,{props:[Nt(l,/:(read-\w+)/,":"+qn+"$1")]})],i);case"::placeholder":return Uo([ca(e,{props:[Nt(l,/:(plac\w+)/,":"+nr+"input-$1")]}),ca(e,{props:[Nt(l,/:(plac\w+)/,":"+qn+"$1")]})],i)}return""})}}function z1(e){switch(e.type){case"@container":case u1:case f1:case $d:return!0}return!1}const N1=e=>{z1(e)&&Array.isArray(e.children)&&e.children.sort((o,n)=>o.props[0]>n.props[0]?1:-1)};function T1(e,o){const n=[];return Uo(tf(e),sf([C1,N1,cf,nf,lf(i=>n.push(i))])),n}const E1=/,( *[^ &])/g;function P1(e){return"&"+Wd(e.replace(E1,",&$1"))}function uf(e,o,n){let i=o;return n.length>0&&(i=n.reduceRight((l,c)=>`${P1(c)} { ${l} }`,o)),`${e}{${i}}`}function df(e,o){const{className:n,selectors:i,property:l,rtlClassName:c,rtlProperty:u,rtlValue:f,value:p}=e,{container:m,layer:g,media:v,supports:y}=o,b=`.${n}`,k=Array.isArray(p)?`${p.map(_=>`${Lo(l)}: ${_}`).join(";")};`:`${Lo(l)}: ${p};`;let w=uf(b,k,i);if(u&&c){const _=`.${c}`,C=Array.isArray(f)?`${f.map(N=>`${Lo(u)}: ${N}`).join(";")};`:`${Lo(u)}: ${f};`;w+=uf(_,C,i)}return v&&(w=`@media ${v} { ${w} }`),g&&(w=`@layer ${g} { ${w} }`),y&&(w=`@supports ${y} { ${w} }`),m&&(w=`@container ${m} { ${w} }`),T1(w)}function j1(e){let o="";for(const n in e){const i=e[n];if(typeof i=="string"||typeof i=="number"){o+=Lo(n)+":"+i+";";continue}if(Array.isArray(i))for(const l of i)o+=Lo(n)+":"+l+";"}return o}function ff(e){let o="";for(const n in e)o+=`${n}{${j1(e[n])}}`;return o}function pf(e,o){const n=`@keyframes ${e} {${o}}`,i=[];return Uo(tf(n),sf([nf,cf,lf(l=>i.push(l))])),i}const R1={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 hf(e,o){return e.length===0?o:`${e} and ${o}`}function F1(e){return e.substr(0,6)==="@media"}function D1(e){return e.substr(0,6)==="@layer"}const I1=/^(:|\[|>|&)/;function O1(e){return I1.test(e)}function A1(e){return e.substr(0,9)==="@supports"}function q1(e){return e.substring(0,10)==="@container"}function M1(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const mf={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function gf(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 mf[n.slice(4,8)]||mf[n.slice(3,5)]||"d"}return"d"}function es(e,o){return e&&o+e}function vf(e){return es(e.container,"c")+es(e.media,"m")+es(e.layer,"l")+es(e.supports,"s")}function da(e,o,n){const i=e+vf(n)+o,l=On(i),c=l.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+l.slice(1):l}function ts({property:e,selector:o,salt:n,value:i},l){return ta+On(n+o+vf(l)+e+i.trim())}function L1(e){return e===na}function fa(e){return e.replace(/>\s+/g,">")}function i4(e,o){}function bf(e){return R1[e]}function yf(e){var o;return(o=e?.[0])!==null&&o!==void 0?o:0}function pa(e,o,n,i){e[o]=i?[n,i]:n}function wf(e,o){return o.length>0?[e,Object.fromEntries(o)]:e}function ha(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(wf(n,f)),i&&e[o].push(wf(i,f))}function Er(e,o="",n=[],i={container:"",layer:"",media:"",supports:""},l={},c={},u){for(const f in e){if(I0.hasOwnProperty(f)){e[f];continue}const p=e[f];if(p!=null){if(L1(p)){const m=fa(n.join("")),g=da(m,f,i);pa(l,g,0,void 0);continue}if(typeof p=="string"||typeof p=="number"){const m=fa(n.join("")),g=bf(f);if(g){const z=g[1],j=Object.fromEntries(z.map(A=>[A,na]));Er(j,o,n,i,l,c)}const v=da(m,f,i),y=ts({value:p.toString(),salt:o,selector:m,property:f},i),b=u&&{key:f,value:u}||sa(f,p),k=b.key!==f||b.value!==p,w=k?ts({value:b.value.toString(),property:b.key,salt:o,selector:m},i):void 0,_=k?{rtlClassName:w,rtlProperty:b.key,rtlValue:b.value}:void 0,C=gf(n,i),[N,T]=df(Object.assign({className:y,selectors:n,property:f,value:p},_),i);pa(l,v,y,w),ha(c,C,N,T,i.media,yf(g))}else if(f==="animationName"){const m=Array.isArray(p)?p:[p],g=[],v=[];for(const y of m){const b=ff(y),k=ff(Hd(y)),w=ta+On(b);let _;const C=pf(w,b);let N=[];b===k?_=w:(_=ta+On(k),N=pf(_,k));for(let T=0;T<C.length;T++)ha(c,"k",C[T],N[T],i.media,0);g.push(w),v.push(_)}Er({animationName:g.join(", ")},o,n,i,l,c,v.join(", "))}else if(Array.isArray(p)){if(p.length===0)continue;const m=fa(n.join("")),g=bf(f);if(g){const j=g[1],A=Object.fromEntries(j.map(O=>[O,na]));Er(A,o,n,i,l,c)}const v=da(m,f,i),y=ts({value:p.map(j=>(j??"").toString()).join(";"),salt:o,selector:m,property:f},i),b=p.map(j=>sa(f,j));if(!!b.some(j=>j.key!==b[0].key))continue;const w=b[0].key!==f||b.some((j,A)=>j.value!==p[A]),_=w?ts({value:b.map(j=>{var A;return((A=j?.value)!==null&&A!==void 0?A:"").toString()}).join(";"),salt:o,property:b[0].key,selector:m},i):void 0,C=w?{rtlClassName:_,rtlProperty:b[0].key,rtlValue:b.map(j=>j.value)}:void 0,N=gf(n,i),[T,z]=df(Object.assign({className:y,selectors:n,property:f,value:p},C),i);pa(l,v,y,_),ha(c,N,T,z,i.media,yf(g))}else if(M1(p)){if(O1(f))Er(p,o,n.concat(Wd(f)),i,l,c);else if(F1(f)){const m=hf(i.media,f.slice(6).trim());Er(p,o,n,Object.assign({},i,{media:m}),l,c)}else if(D1(f)){const m=(i.layer?`${i.layer}.`:"")+f.slice(6).trim();Er(p,o,n,Object.assign({},i,{layer:m}),l,c)}else if(A1(f)){const m=hf(i.supports,f.slice(9).trim());Er(p,o,n,Object.assign({},i,{supports:m}),l,c)}else if(q1(f)){const m=f.slice(10).trim();Er(p,o,n,Object.assign({},i,{container:m}),l,c)}}}}return[l,c]}function H1(e,o=""){const n={},i={};for(const l in e){const c=e[l],[u,f]=Er(c,o);n[l]=u,Object.keys(f).forEach(p=>{i[p]=(i[p]||[]).concat(f[p])})}return[n,i]}function W1(e,o=ia){const n=o();let i=null,l=null,c=null,u=null;function f(p){const{dir:m,renderer:g}=p;i===null&&([i,l]=H1(e,g.classNameHashSalt));const v=m==="ltr";return v?c===null&&(c=Wi(i,m)):u===null&&(u=Wi(i,m)),n(g,l),v?c:u}return f}function kf(e,o,n=ia){const i=n();let l=null,c=null;function u(f){const{dir:p,renderer:m}=f,g=p==="ltr";return g?l===null&&(l=Wi(e,p)):c===null&&(c=Wi(e,p)),i(m,o),g?l:c}return u}function V1(e,o,n,i=ia){const l=i();function c(u){const{dir:f,renderer:p}=u,m=f==="ltr"?e:o||e;return l(p,Array.isArray(n)?{r:n}:n),m}return c}function $1(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const xf=Li.useInsertionEffect?Li.useInsertionEffect:void 0,ma=()=>{const e={};return function(n,i){if(xf&&$1()){xf(()=>{n.insertCSSRules(i)},[n,i]);return}e[n.id]===void 0&&(n.insertCSSRules(i),e[n.id]=!0)}},U1=S.createContext(U0());function Mn(){return S.useContext(U1)}const Sf=S.createContext("ltr"),G1=({children:e,dir:o})=>S.createElement(Sf.Provider,{value:o},e);function ga(){return S.useContext(Sf)}function Ln(e){const o=W1(e,ma);return function(){const i=ga(),l=Mn();return o({dir:i,renderer:l})}}function de(e,o){const n=kf(e,o,ma);return function(){const l=ga(),c=Mn();return n({dir:l,renderer:c})}}function ot(e,o,n){const i=V1(e,o,n,ma);return function(){const c=ga(),u=Mn();return i({dir:c,renderer:u})}}function K1(e,o){if(o){const n=Object.keys(o).reduce((i,l)=>`${i}--${l}: ${o[l]}; `,"");return`${e} { ${n} }`}return`${e} {}`}const _f=Symbol.for("fui.slotRenderFunction"),rs=Symbol.for("fui.slotElementType"),Bf=Symbol.for("fui.slotClassNameProp");function Re(e,o){const{defaultProps:n,elementType:i}=o,l=Cf(e),c={...n,...l,[rs]:i,[Bf]:l?.className};return l&&typeof l.children=="function"&&(c[_f]=l.children,c.children=n?.children),c}function De(e,o){if(!(e===null||e===void 0&&!o.renderByDefault))return Re(e,o)}function Cf(e){return typeof e=="string"||typeof e=="number"||X1(e)||S.isValidElement(e)?{children:e}:e}const X1=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function zf(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!S.isValidElement(e)}function Nf(e){return!!e?.hasOwnProperty(rs)}const Oe=(...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},Q1=Oe(["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"]),Y1=Oe(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),J1=Oe(["itemID","itemProp","itemRef","itemScope","itemType"]),tt=Oe(Y1,Q1,J1),Z1=Oe(tt,["form"]),Tf=Oe(tt,["height","loop","muted","preload","src","width"]),eb=Oe(Tf,["poster"]),tb=Oe(tt,["start"]),rb=Oe(tt,["value"]),ob=Oe(tt,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),nb=Oe(tt,["dateTime"]),os=Oe(tt,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),ib=Oe(os,["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"]),sb=Oe(os,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),lb=Oe(os,["form","multiple","required"]),ab=Oe(tt,["selected","value"]),cb=Oe(tt,["cellPadding","cellSpacing"]),ub=tt,db=Oe(tt,["colSpan","rowSpan","scope"]),fb=Oe(tt,["colSpan","headers","rowSpan","scope"]),pb=Oe(tt,["span"]),hb=Oe(tt,["span"]),mb=Oe(tt,["disabled","form"]),gb=Oe(tt,["acceptCharset","action","encType","encType","method","noValidate","target"]),vb=Oe(tt,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),bb=Oe(tt,["alt","crossOrigin","height","src","srcSet","useMap","width"]),yb=Oe(tt,["open","onCancel","onClose"]);function wb(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 kb={label:Z1,audio:Tf,video:eb,ol:tb,li:rb,a:ob,button:os,input:ib,textarea:sb,select:lb,option:ab,table:cb,tr:ub,th:db,td:fb,colGroup:pb,col:hb,fieldset:mb,form:gb,iframe:vb,img:bb,time:nb,dialog:yb};function Ef(e,o,n){const i=e&&kb[e]||tt;return i.as=1,wb(o,i,n)}const ns=({primarySlotTagName:e,props:o,excludedPropNames:n})=>({root:{style:o.style,className:o.className},primary:Ef(e,o,[...n||[],"style","className"])}),pt=(e,o,n)=>{var i;return Ef((i=o.as)!==null&&i!==void 0?i:e,o,n)};function Pf(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 jf=S.createContext(void 0),xb=jf.Provider,Rf=S.createContext(void 0),Sb="",_b=Rf.Provider;function Bb(){var e;return(e=S.useContext(Rf))!==null&&e!==void 0?e:Sb}const Cb=S.createContext(void 0).Provider,Ff=S.createContext(void 0),zb={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},Nb=Ff.Provider;function ht(){var e;return(e=S.useContext(Ff))!==null&&e!==void 0?e:zb}const Df=S.createContext(void 0),Tb=Df.Provider;function If(){var e;return(e=S.useContext(Df))!==null&&e!==void 0?e:{}}const va=S.createContext(void 0),Eb=()=>{},Pb=va.Provider,Qe=e=>{var o,n;return(n=(o=S.useContext(va))===null||o===void 0?void 0:o[e])!==null&&n!==void 0?n:Eb},Of=S.createContext(void 0);Of.Provider;function jb(){return S.useContext(Of)}const Rb=e=>(e(0),0),Fb=e=>e;function Db(){const{targetDocument:e}=ht(),o=e?.defaultView,n=o?o.requestAnimationFrame:Rb,i=o?o.cancelAnimationFrame:Fb;return Pf(n,i)}function Ib(e){return typeof e=="function"}const Pr=e=>{"use no memo";const[o,n]=S.useState(()=>e.defaultState===void 0?e.initialState:Ob(e.defaultState)?e.defaultState():e.defaultState),i=S.useRef(e.state);S.useEffect(()=>{i.current=e.state},[e.state]);const l=S.useCallback(c=>{Ib(c)&&c(i.current)},[]);return Ab(e.state)?[e.state,l]:[o,n]};function Ob(e){return typeof e=="function"}const Ab=e=>{"use no memo";const[o]=S.useState(()=>e!==void 0);return o};function ba(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const qb={current:0},Mb=S.createContext(void 0);function Lb(){var e;return(e=S.useContext(Mb))!==null&&e!==void 0?e:qb}const Gt=ba()?S.useLayoutEffect:S.useEffect,_e=e=>{const o=S.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Gt(()=>{o.current=e},[e]),S.useCallback((...n)=>{const i=o.current;return i(...n)},[o])};function Hb(){const e=S.useRef(!0);return S.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}const Af=S.createContext(void 0);Af.Provider;function Wb(){return S.useContext(Af)||""}function Ot(e="fui-",o){"use no memo";const n=Lb(),i=Wb(),l=Li.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 mt(...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 qf=(e,o)=>!!e?.contains(o),Vb=e=>{const{targetDocument:o}=ht(),n=o?.defaultView,{refs:i,callback:l,element:c,disabled:u,disabledFocusOnIframe:f,contains:p=qf}=e,m=S.useRef(void 0);Ub({element:c,disabled:f||u,callback:l,refs:i,contains:p});const g=S.useRef(!1),v=_e(b=>{if(g.current){g.current=!1;return}const k=b.composedPath()[0];i.every(_=>!p(_.current||null,k))&&!u&&l(b)}),y=_e(b=>{g.current=i.some(k=>p(k.current||null,b.target))});S.useEffect(()=>{if(u)return;let b=$b(n);const k=w=>{if(w===b){b=void 0;return}v(w)};return c?.addEventListener("click",k,!0),c?.addEventListener("touchstart",k,!0),c?.addEventListener("contextmenu",k,!0),c?.addEventListener("mousedown",y,!0),m.current=n?.setTimeout(()=>{b=void 0},1),()=>{c?.removeEventListener("click",k,!0),c?.removeEventListener("touchstart",k,!0),c?.removeEventListener("contextmenu",k,!0),c?.removeEventListener("mousedown",y,!0),n?.clearTimeout(m.current),b=void 0}},[v,c,u,y,n])},$b=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}},ya="fuiframefocus",Ub=e=>{const{disabled:o,element:n,callback:i,contains:l=qf,pollDuration:c=100,refs:u}=e,f=S.useRef(void 0),p=_e(m=>{u.every(v=>!l(v.current||null,m.target))&&!o&&i(m)});S.useEffect(()=>{if(!o)return n?.addEventListener(ya,p,!0),()=>{n?.removeEventListener(ya,p,!0)}},[n,o,p]),S.useEffect(()=>{var m;if(!o)return f.current=n==null||(m=n.defaultView)===null||m===void 0?void 0:m.setInterval(()=>{const g=n?.activeElement;if(g?.tagName==="IFRAME"||g?.tagName==="WEBVIEW"){const v=new CustomEvent(ya,{bubbles:!0});g.dispatchEvent(v)}},c),()=>{var g;n==null||(g=n.defaultView)===null||g===void 0||g.clearInterval(f.current)}},[n,o,c])},Gb=e=>-1,Kb=e=>{};function Mf(){const{targetDocument:e}=ht(),o=e?.defaultView,n=o?o.setTimeout:Gb,i=o?o.clearTimeout:Kb;return Pf(n,i)}function yt(e,o){return(...n)=>{e?.(...n),o?.(...n)}}function jr(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 Xb(e){if(!jr(e))return!1;const{tagName:o}=e;switch(o){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}function wa(e){return e.type.startsWith("touch")}function ka(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function Lf(e){return ka(e)?{clientX:e.clientX,clientY:e.clientY}:wa(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function Hf(e){return e instanceof Set?e:new Set(e)}function Wf(e){const[o,n]=Pr({initialState:new Set,defaultState:S.useMemo(()=>e.defaultSelectedItems&&Hf(e.defaultSelectedItems),[e.defaultSelectedItems]),state:S.useMemo(()=>e.selectedItems&&Hf(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 Qb(e){const[o,n]=Wf(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 Yb(e){const[o,n]=Wf(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 Jb(e){"use no memo";return e.selectionMode==="multiselect"?Yb(e):Qb(e)}function Zb(e){return e&&!!e._virtual}function ey(e){return Zb(e)&&e._virtual.parent||null}function ty(e,o={}){if(!e)return null;if(!o.skipVirtual){const i=ey(e);if(i)return i}const n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Vf(e,o){e&&Object.assign(e,{_virtual:{parent:o}})}function ry(e,o){return{...o,[rs]:e}}var xa={exports:{}},Ie={};var $f;function oy(){if($f)return Ie;$f=1;var e=60103,o=60106,n=60107,i=60108,l=60114,c=60109,u=60110,f=60112,p=60113,m=60120,g=60115,v=60116,y=60121,b=60122,k=60117,w=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"),m=C("react.suspense_list"),g=C("react.memo"),v=C("react.lazy"),y=C("react.block"),b=C("react.server.block"),k=C("react.fundamental"),w=C("react.debug_trace_mode"),_=C("react.legacy_hidden")}function N(V){if(typeof V=="object"&&V!==null){var oe=V.$$typeof;switch(oe){case e:switch(V=V.type,V){case n:case l:case i:case p:case m:return V;default:switch(V=V&&V.$$typeof,V){case u:case f:case v:case g:case c:return V;default:return oe}}case o:return oe}}}var T=c,z=e,j=f,A=n,O=v,H=g,J=o,te=l,pe=i,me=p;return Ie.ContextConsumer=u,Ie.ContextProvider=T,Ie.Element=z,Ie.ForwardRef=j,Ie.Fragment=A,Ie.Lazy=O,Ie.Memo=H,Ie.Portal=J,Ie.Profiler=te,Ie.StrictMode=pe,Ie.Suspense=me,Ie.isAsyncMode=function(){return!1},Ie.isConcurrentMode=function(){return!1},Ie.isContextConsumer=function(V){return N(V)===u},Ie.isContextProvider=function(V){return N(V)===c},Ie.isElement=function(V){return typeof V=="object"&&V!==null&&V.$$typeof===e},Ie.isForwardRef=function(V){return N(V)===f},Ie.isFragment=function(V){return N(V)===n},Ie.isLazy=function(V){return N(V)===v},Ie.isMemo=function(V){return N(V)===g},Ie.isPortal=function(V){return N(V)===o},Ie.isProfiler=function(V){return N(V)===l},Ie.isStrictMode=function(V){return N(V)===i},Ie.isSuspense=function(V){return N(V)===p},Ie.isValidElementType=function(V){return typeof V=="string"||typeof V=="function"||V===n||V===l||V===w||V===i||V===p||V===m||V===_||typeof V=="object"&&V!==null&&(V.$$typeof===v||V.$$typeof===g||V.$$typeof===c||V.$$typeof===u||V.$$typeof===f||V.$$typeof===k||V.$$typeof===y||V[0]===b)},Ie.typeOf=N,Ie}var Uf;function ny(){return Uf||(Uf=1,xa.exports=oy()),xa.exports}ny();function Gf(e,o){return function(i,l,c,u,f){return Nf(l)?o(ry(i,l),null,c,u,f):Nf(i)?o(i,l,c,u,f):e(i,l,c,u,f)}}function Kf(e){const{as:o,[Bf]:n,[rs]:i,[_f]: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 So=x0,iy=(e,o,n)=>{const{elementType:i,renderFunction:l,props:c}=Kf(e),u={...c,...o};return l?So.jsx(S.Fragment,{children:l(i,u)},n):So.jsx(i,u,n)},sy=(e,o,n)=>{const{elementType:i,renderFunction:l,props:c}=Kf(e),u={...c,...o};return l?So.jsx(S.Fragment,{children:l(i,{...u,children:So.jsxs(S.Fragment,{children:u.children},void 0)})},n):So.jsxs(i,u,n)},ae=Gf(So.jsx,iy),ct=Gf(So.jsxs,sy),Xf=S.createContext(void 0),ly={},ay=Xf.Provider,cy=()=>{const e=S.useContext(Xf);return e??ly},uy=(e,o)=>ae(Nb,{value:o.provider,children:ae(xb,{value:o.theme,children:ae(_b,{value:o.themeClassName,children:ae(Pb,{value:o.customStyleHooks_unstable,children:ae(Cb,{value:o.tooltip,children:ae(G1,{dir:o.textDirection,children:ae(ay,{value:o.iconDirection,children:ae(Tb,{value:o.overrides_unstable,children:ct(e.root,{children:[ba()?null:ae("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});var dy=typeof WeakRef<"u",Qf=class{constructor(e){dy&&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}},sr="keyborg:focusin",Hn="keyborg:focusout";function fy(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 Sa=!1;function Rr(e){const o=e.focus;o.__keyborgNativeFocus?o.__keyborgNativeFocus.call(e):e.focus()}function py(e){const o=e;Sa||(Sa=fy(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(Hn,{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 k of i){const w=k.deref();(!w||!b.has(w))&&(i.delete(k),w&&(w.removeEventListener("focusin",c,!0),w.removeEventListener("focusout",l,!0)))}u(v,g.relatedTarget||void 0)},u=(g,v,y)=>{var b;const k=g.shadowRoot;if(k){for(const C of i)if(C.deref()===k)return;k.addEventListener("focusin",c,!0),k.addEventListener("focusout",l,!0),i.add(new Qf(k));return}const w={relatedTarget:v,originalEvent:y},_=new CustomEvent(sr,{cancelable:!0,bubbles:!0,composed:!0,detail:w});_.details=w,(Sa||f.lastFocusedProgrammatically)&&(w.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 Qf(this)),n.apply(this,arguments)}let m=o.document.activeElement;for(;m&&m.shadowRoot;)u(m),m=m.shadowRoot.activeElement;p.__keyborgNativeFocus=n}function hy(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 my=500,Yf=0,gy=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"+ ++Yf,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(sr,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),py(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),hy(e);const o=e.document;o.removeEventListener(sr,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))_a.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)},my)}}},_a=class b0{constructor(o,n){this._cb=[],this._id="k"+ ++Yf,this._win=o;const i=o.__keyborg;i?(this._core=i.core,i.refs[this._id]=this):(this._core=new gy(o,n),o.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(o,n){return new b0(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 is(e,o){return _a.create(e,o)}function ss(e){_a.dispose(e)}const lr="data-tabster",vy="data-tabster-dummy",Jf=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),Go={EscapeGroupper:1,Restorer:2,Deloser:3},Kr={Invisible:0,PartiallyVisible:1,Visible:2},ar={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},Ge={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},ls={Unlimited:0,Limited:1,LimitedTrapFocus:2},as={Enter:1,Escape:2},by={Outside:2};function Kt(e,o){var n;return(n=e.storageEntry(o))===null||n===void 0?void 0:n.tabster}function Zf(e,o,n){var i,l;const c=n||e._noop?void 0:o.getAttribute(lr);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||{},m=((l=u.attr)===null||l===void 0?void 0:l.object)||{},g=f?.object||{};for(const v of Object.keys(m))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 yy="tabster:focusin",wy="tabster:focusout",ky="tabster:movefocus",xy="tabster:mover:state",Ba="tabster:mover:movefocus",ep="tabster:mover:memorized-element",Ca="tabster:groupper:movefocus",Sy="tabster:root:focus",_y="tabster:root:blur",By=typeof CustomEvent<"u"?CustomEvent:function(){};class Xr extends By{constructor(o,n){super(o,{bubbles:!0,cancelable:!0,composed:!0,detail:n}),this.details=n}}class Cy extends Xr{constructor(o){super(yy,o)}}class zy extends Xr{constructor(o){super(wy,o)}}class Qr extends Xr{constructor(o){super(ky,o)}}class tp extends Xr{constructor(o){super(xy,o)}}class Ny extends Xr{constructor(o){super(Ba,o)}}class rp extends Xr{constructor(o){super(Ca,o)}}class Ty extends Xr{constructor(o){super(Sy,o)}}class Ey extends Xr{constructor(o){super(_y,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 Py(e){for(const o of Object.keys(e))Y[o]=e[o]}let za;const op=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 jy=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),za=!1}catch{za=!0}const Na=100;function Fr(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 Ry(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 Fy(e){const o=e.__tabsterInstanceContext;return new(o?.basics.WeakMap||WeakMap)}function Dy(e){return!!e.querySelector(Jf)}class np{constructor(o){this._target=o}deref(){return this._target}static cleanup(o,n){return o._target?n||!Ea(o._target.ownerDocument,o._target)?(delete o._target,!0):!1:!0}}class yr{constructor(o,n,i){const l=Fr(o);let c;l.WeakRef?c=new l.WeakRef(n):(c=new np(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 ip(e,o){const n=Fr(e);n.fakeWeakRefs=n.fakeWeakRefs.filter(i=>!np.cleanup(i,o))}function sp(e){const o=Fr(e);o.fakeWeakRefsStarted||(o.fakeWeakRefsStarted=!0,o.WeakRef=Ly(o)),o.fakeWeakRefsTimer||(o.fakeWeakRefsTimer=e().setTimeout(()=>{o.fakeWeakRefsTimer=void 0,ip(e),sp(e)},120*1e3))}function Iy(e){const o=Fr(e);o.fakeWeakRefsStarted=!1,o.fakeWeakRefsTimer&&(e().clearTimeout(o.fakeWeakRefsTimer),o.fakeWeakRefsTimer=void 0,o.fakeWeakRefs=[])}function Ta(e,o,n){if(o.nodeType!==Node.ELEMENT_NODE)return;const i=za?n:{acceptNode:n};return Y.createTreeWalker(e,o,NodeFilter.SHOW_ELEMENT,i,!1)}function lp(e,o){let n=o.__tabsterCacheId;const i=Fr(e),l=n?i.containerBoundingRectCache[n]:void 0;if(l)return l.rect;const c=o.ownerDocument&&o.ownerDocument.documentElement;if(!c)return new op;let u=0,f=0,p=c.clientWidth,m=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),m=Math.min(m,v.bottom)}const g=new op(u<p?u:-1,f<m?f:-1,u<p?p-u:0,f<m?m-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 ap(e,o,n){const i=cp(o);if(!i)return!1;const l=lp(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),m=f+p;return m===0||m<=u}function Oy(e,o,n){const i=cp(o);if(i){const l=lp(e,i),c=o.getBoundingClientRect();n?i.scrollTop+=c.top-l.top:i.scrollTop+=c.bottom-l.bottom}}function cp(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 Ay(e){e.__shouldIgnoreFocus=!0}function up(e){return!!e.__shouldIgnoreFocus}function qy(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((++jy).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function cs(e,o){const n=Fr(e);let i=o.__tabsterElementUID;return i||(i=o.__tabsterElementUID=qy(e())),!n.elementByUId[i]&&Ea(o.ownerDocument,o)&&(n.elementByUId[i]=new yr(e,o)),i}function dp(e,o){const n=Fr(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 Ea(e,o){return Y.nodeContains(e?.body,o)}function fp(e,o){const n=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return n&&n.call(e,o)}function My(e){const o=Fr(e);if(o.basics.Promise)return o.basics.Promise;throw new Error("No Promise defined.")}function Ly(e){return e.basics.WeakRef}let Hy=0;class Pa{constructor(o,n,i){const l=o.getWindow;this._tabster=o,this._element=new yr(l,n),this._props={...i},this.id="i"+ ++Hy}getElement(){return this._element.get()}getProps(){return this._props}setProps(o){this._props={...o}}}class us{constructor(o,n,i,l,c){var u;this._focusIn=g=>{if(this._fixedTarget){const y=this._fixedTarget.get();y&&Rr(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(vy,""),p.setAttribute("aria-hidden","true");const m=p.style;m.position="fixed",m.width=m.height="1px",m.opacity="0.001",m.zIndex="-1",m.setProperty("content-visibility","hidden"),Ay(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 ja={Root:1,Mover:3,Groupper:4};class Wn{constructor(o,n,i,l,c,u){this._element=n,this._instance=new Vy(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 us(o.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(f){let p,m;if(n.tagName==="BODY")p=n,m=i&&l||!i&&!l?Y.getFirstElementChild(n):null;else{i&&(!l||l&&!o.focusable.isFocusable(n,!1,!0,!0))?(p=n,m=l?n.firstElementChild:null):(p=Y.getParentElement(n),m=i&&l||!i&&!l?n:Y.getNextElementSibling(n));let g,v;do g=i&&l||!i&&!l?Y.getPreviousElementSibling(m):m,v=Vn(g),v===n?m=i&&l||!i&&!l?g:Y.getNextElementSibling(g):v=null;while(v)}p?.dispatchEvent(new Qr({by:"root",owner:p,next:null,relatedEvent:c}))&&(Y.insertBefore(p,f,m),Rr(f))}}static addPhantomDummyWithTarget(o,n,i,l){const u=new us(o.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new yr(o.getWindow,l)).input;if(u){let f,p;Dy(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 Wy{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},Na)))},this._win=o}add(o,n){!this._dummyCallbacks.has(o)&&this._win&&(this._dummyElements.push(new yr(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+Na<=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()},Na))}}class Vy{constructor(o,n,i,l,c,u,f){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(b,k,w)=>{this._onFocus(!0,b,k,w)},this._onFocusOut=(b,k,w)=>{this._onFocus(!1,b,k,w)},this.moveOut=b=>{var k;const w=this._firstDummy,_=this._lastDummy;if(w&&_){this._ensurePosition();const C=w.input,N=_.input,T=(k=this._element)===null||k===void 0?void 0:k.get();if(C&&N&&T){let z;b?(C.tabIndex=0,z=C):(N.tabIndex=0,z=N),z&&Rr(z)}}},this.moveOutWithDefaultAction=(b,k)=>{var w;const _=this._firstDummy,C=this._lastDummy;if(_&&C){this._ensurePosition();const N=_.input,T=C.input,z=(w=this._element)===null||w===void 0?void 0:w.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 Qr({by:"root",owner:z,next:null,relatedEvent:k}))&&Rr(j)}}},this.setTabbable=(b,k)=>{var w,_;for(const N of this._wrappers)if(N.manager===b){N.tabbable=k;break}const C=this._getCurrent();if(C){const N=C.tabbable?0:-1;let T=(w=this._firstDummy)===null||w===void 0?void 0:w.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 k,w;const _=((k=this._firstDummy)===null||k===void 0?void 0:k.input)||((w=this._lastDummy)===null||w===void 0?void 0:w.input),C=this._transformElements,N=new Set;let T=0,z=0;const j=this._getWindow();for(let A=_;A&&A.nodeType===Node.ELEMENT_NODE;A=Y.getParentElement(A)){let O=b.get(A);if(O===void 0){const H=j.getComputedStyle(A).transform;H&&H!=="none"&&(O={scrollTop:A.scrollTop,scrollLeft:A.scrollLeft}),b.set(A,O||null)}O&&(N.add(A),C.has(A)||A.addEventListener("scroll",this._addTransformOffsets),T+=O.scrollTop,z+=O.scrollLeft)}for(const A of C)N.has(A)||A.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=N,()=>{var A,O;(A=this._firstDummy)===null||A===void 0||A.setTopLeft(T,z),(O=this._lastDummy)===null||O===void 0||O.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 m=p.__tabsterDummy;if((m||this)._wrappers.push({manager:i,priority:l,tabbable:!0}),m)return m;p.__tabsterDummy=this;const g=c?.dummyInputsPosition,v=p.tagName;this._isOutside=g?g===by.Outside:(u||v==="UL"||v==="OL"||v==="TABLE")&&!(v==="LI"||v==="TD"||v==="TH"),this._firstDummy=new us(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new us(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 m=(l=this._firstDummy)===null||l===void 0?void 0:l.input;m&&this._tabster._dummyObserver.remove(m),(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 pp(e){let o=null;for(let n=Y.getLastElementChild(e);n;n=Y.getLastElementChild(n))o=n;return o||void 0}function $y(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 Uy(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 Ra(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function Gy(e){if(!Ra(e))return;const o=e.name;let n=Array.from(Y.getElementsByName(e,o)),i;return n=n.filter(l=>Ra(l)?(l.checked&&(i=l),!0):!1),{name:o,buttons:new Set(n),checked:i}}function Vn(e){var o;return((o=e?.__tabsterDummyContainer)===null||o===void 0?void 0:o.get())||null}function hp(e,o){return JSON.stringify(e)}function Ky(e,o){for(const n of Object.keys(o)){const i=o[n];i?e[n]=i:delete e[n]}}function Xy(e,o,n){let i;{const l=e.getAttribute(lr);if(l)try{i=JSON.parse(l)}catch{}}i||(i={}),Ky(i,o),Object.keys(i).length>0?e.setAttribute(lr,hp(i)):e.removeAttribute(lr)}class mp extends Wn{constructor(o,n,i,l){super(o,n,ja.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){Rr(p);return}}(u=c.input)===null||u===void 0||u.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=o,this._setFocused=i}}class Qy extends Pa{constructor(o,n,i,l,c){super(o,n,l),this._isFocused=!1,this._setFocused=m=>{var g;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===m)return;const v=this._element.get();v&&(m?(this._isFocused=!0,(g=this._dummyManager)===null||g===void 0||g.setTabbable(!1),v.dispatchEvent(new Ty({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 Ey({element:v}))},0))},this._onFocusIn=m=>{const g=this._tabster.getParent,v=this._element.get();let y=m.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=cs(u,n),this._sys=c,(o.controlTab||o.rootDummyInputs)&&this.addDummyInputs();const p=u().document;p.addEventListener(sr,this._onFocusIn),p.addEventListener(Hn,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new mp(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var o;this._onDispose(this);const n=this._tabster.getWindow(),i=n.document;i.removeEventListener(sr,this._onFocusIn),i.removeEventListener(Hn,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&&mp.moveWithPhantomDummy(this._tabster,l,!0,o,n)}}_add(){}_remove(){}}class nt{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 Xy(c,{root:u}),Zf(this._tabster,c),(i=Kt(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 Qy(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:m}=i,g=o.getParent;o.drainInitQueue();let v,y,b,k,w=!1,_,C,N,T,z=m||n;const j={};for(;z&&(!v||p);){const O=Kt(o,z);if(p&&N===void 0){const me=z.dir;me&&(N=me.toLowerCase()==="rtl")}if(!O){z=g(z);continue}const H=z.tagName;(O.uncontrolled||H==="IFRAME"||H==="WEBVIEW")&&o.focusable.isVisible(z)&&(T=z),!k&&(!((l=O.focusable)===null||l===void 0)&&l.excludeFromMover)&&!b&&(w=!0);const J=O.modalizer,te=O.groupper,pe=O.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),!k&&pe&&(!y||J)&&(!te||z!==n)&&z.contains(n)&&(k=pe,_=!!b&&b!==te),O.root&&(v=O.root),!((u=O.focusable)===null||u===void 0)&&u.ignoreKeydown&&Object.assign(j,O.focusable.ignoreKeydown),z=g(z)}if(!v){const O=o.root;O._autoRoot&&!((f=n.ownerDocument)===null||f===void 0)&&f.body&&(v=O._autoRootCreate())}return b&&!k&&(_=!0),v?{root:v,modalizer:y,groupper:b,mover:k,groupperBeforeMover:_,modalizerInGroupper:C,rtl:p?!!N:void 0,uncontrolled:T,excludedFromMover:w,ignoreKeydown:O=>!!j[O.key]}:void 0}static getRoot(o,n){var i;const l=o.getParent;for(let c=n;c;c=l(c)){const u=(i=Kt(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 gp{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 Yy{constructor(o){this._tabster=o}dispose(){}getProps(o){const n=Kt(this._tabster,o);return n&&n.focusable||{}}isFocusable(o,n,i,l){return fp(o,Jf)&&(n||o.tabIndex!==-1)?(i||this.isVisible(o))&&(l||this.isAccessible(o)):!1}isVisible(o){if(!o.ownerDocument||o.nodeType!==Node.ELEMENT_NODE||Uy(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=Kt(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:m,useActiveModalizer:g,ignoreAccessibility:v,modalizerId:y,isBackward:b,onElement:k}=n;i||(i={});const w=[];let{acceptCondition:_}=n;const C=!!_;if(!f)return null;_||(_=j=>this.isFocusable(j,m,!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=nt.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:m,ignoreAccessibility:v,cachedGrouppers:{},cachedRadioGroups:{}},T=Ta(f.ownerDocument,f,j=>this._acceptElement(j,N));if(!T)return null;const z=j=>{var A,O;const H=(A=N.foundElement)!==null&&A!==void 0?A:N.foundBackward;return H&&w.push(H),o?H&&(N.found=!1,delete N.foundElement,delete N.foundBackward,delete N.fromCtx,N.from=H,k&&!k(H))?!1:!!(H||j):(H&&i&&(i.uncontrolled=(O=nt.getTabsterContext(this._tabster,H))===null||O===void 0?void 0:O.uncontrolled),!!(j&&!H))};if(p||(i.outOfDOMOrder=!0),p&&Y.nodeContains(f,p))T.currentNode=p;else if(b){const j=pp(f);if(!j)return null;if(this._acceptElement(j,N)===NodeFilter.FILTER_ACCEPT&&!z(!0))return N.skippedFocusable&&(i.outOfDOMOrder=!0),w;T.currentNode=j}do b?T.previousNode():T.nextNode();while(z());return N.skippedFocusable&&(i.outOfDOMOrder=!0),w.length?w: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)||Vn(o)||Y.nodeContains(n.rejectElementsFrom,o))return NodeFilter.FILTER_REJECT;const p=n.currentCtx=nt.getTabsterContext(this._tabster,o);if(!p)return NodeFilter.FILTER_SKIP;if(up(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 m,g=n.fromCtx;g||(g=n.fromCtx=nt.getTabsterContext(this._tabster,n.from));const v=g?.mover;let y=p.groupper,b=p.mover;if(m=(c=this._tabster.modalizer)===null||c===void 0?void 0:c.acceptElement(o,n),m!==void 0&&(n.skippedFocusable=!0),m===void 0&&(y||b||v)){const k=y?.getElement(),w=v?.getElement();let _=b?.getElement();if(_&&Y.nodeContains(w,_)&&Y.nodeContains(f,w)&&(!k||!b||Y.nodeContains(w,k))&&(b=v,_=w),k){if(k===f||!Y.nodeContains(f,k))y=void 0;else if(!Y.nodeContains(k,o))return NodeFilter.FILTER_REJECT}if(_){if(!Y.nodeContains(f,_))b=void 0;else if(!Y.nodeContains(_,o))return NodeFilter.FILTER_REJECT}y&&b&&(_&&k&&!Y.nodeContains(k,_)?b=void 0:y=void 0),y&&(m=y.acceptElement(o,n)),b&&(m=b.acceptElement(o,n))}if(m===void 0&&(m=n.acceptCondition(o)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,m===NodeFilter.FILTER_SKIP&&this.isFocusable(o,!1,!0,!0)&&(n.skippedFocusable=!0)),m===NodeFilter.FILTER_ACCEPT&&!n.found){if(!n.isFindAll&&Ra(o)&&!o.checked){const k=o.name;let w=n.cachedRadioGroups[k];if(w||(w=Gy(o),w&&(n.cachedRadioGroups[k]=w)),w?.checked&&w.checked!==o)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=o,m=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=o)}return m}}const Ye={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};function Jy(e,o){var n;const i=e.getParent;let l=o;do{const c=(n=Kt(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 vp={[Go.Restorer]:0,[Go.Deloser]:1,[Go.EscapeGroupper]:2};class Je extends gp{constructor(o,n){super(),this._init=()=>{const i=this._win(),l=i.document;l.addEventListener(sr,this._onFocusIn,!0),l.addEventListener(Hn,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!==Ye.Tab||i.ctrlKey)return;const l=this.getVal();if(!l||!l.ownerDocument||l.contentEditable==="true")return;const c=this._tabster,u=c.controlTab,f=nt.getTabsterContext(c,l);if(!f||f.ignoreKeydown(i))return;const p=i.shiftKey,m=Je.findNextTabbable(c,f,void 0,l,void 0,p,!0),g=f.root.getElement();if(!g)return;const v=m?.element,y=Jy(c,l);if(v){const b=m.uncontrolled;if(f.uncontrolled||Y.nodeContains(b,l)){if(!m.outOfDOMOrder&&b===f.uncontrolled||y&&!Y.nodeContains(y,v))return;Wn.addPhantomDummyWithTarget(c,l,p,v);return}if(b&&c.focusable.isVisible(b)||v.tagName==="IFRAME"&&c.focusable.isVisible(v)){g.dispatchEvent(new Qr({by:"root",owner:g,next:v,relatedEvent:i}))&&Wn.moveWithPhantomDummy(c,b??v,!1,p,i);return}(u||m?.outOfDOMOrder)&&g.dispatchEvent(new Qr({by:"root",owner:g,next:v,relatedEvent:i}))&&(i.preventDefault(),i.stopImmediatePropagation(),Rr(v))}else!y&&g.dispatchEvent(new Qr({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 Cy(l));else{const f=(c=this._lastVal)===null||c===void 0?void 0:c.get();if(f){const p={...l},m=nt.getTabsterContext(this._tabster,f),g=(u=m?.modalizer)===null||u===void 0?void 0:u.userId;g&&(p.modalizerId=g),f.dispatchEvent(new zy(p))}}},this._tabster=o,this._win=n,o.queueInit(this._init)}dispose(){super.dispose();const o=this._win(),n=o.document;n.removeEventListener(sr,this._onFocusIn,!0),n.removeEventListener(Hn,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 Je._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(o,n){var i,l;let c=Je._lastResetElement,u=c&&c.get();u&&Y.nodeContains(n,u)&&delete Je._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&&!Ea(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=nt.getTabsterContext(this._tabster,l);f&&(u=(i=Je.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"),Je._lastResetElement=new yr(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(vp[o]>vp[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=Je._lastResetElement)===null||l===void 0?void 0:l.get();if(Je._lastResetElement=void 0,p===o||up(o))return;u.isFocusedProgrammatically=i;const m=nt.getTabsterContext(this._tabster,o),g=(c=m?.modalizer)===null||c===void 0?void 0:c.userId;g&&(u.modalizerId=g)}const f=this._nextVal={element:o?new yr(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 yr(this._win,o))}static findNextTabbable(o,n,i,l,c,u,f){const p=i||n.root.getElement();if(!p)return null;let m=null;const g=Je._isTabbingTimer,v=o.getWindow();g&&v.clearTimeout(g),Je.isTabbing=!0,Je._isTabbingTimer=v.setTimeout(()=>{delete Je._isTabbingTimer,Je.isTabbing=!1},0);const y=n.modalizer,b=n.groupper,k=n.mover,w=_=>{if(m=_.findNextTabbable(l,c,u,f),l&&!m?.element){const C=_!==y&&Y.getParentElement(_.getElement());if(C){const N=nt.getTabsterContext(o,l,{referenceElement:C});if(N){const T=_.getElement(),z=u?T:T&&pp(T)||T;z&&(m=Je.findNextTabbable(o,N,i,z,C,u,f),m&&(m.outOfDOMOrder=!0))}}}};if(b&&k)w(n.groupperBeforeMover?b:k);else if(b)w(b);else if(k)w(k);else if(y)w(y);else{const _={container:p,currentElement:l,referenceElement:c,ignoreAccessibility:f,useActiveModalizer:!0},C={};m={element:o.focusable[u?"findPrev":"findNext"](_,C),outOfDOMOrder:C.outOfDOMOrder,uncontrolled:C.uncontrolled}}return m}}Je.isTabbing=!1;class Zy extends Wn{constructor(o,n,i,l){super(i,o,ja.Groupper,l,!0),this._setHandlers((c,u,f)=>{var p,m;const g=o.get(),v=c.input;if(g&&v){const y=nt.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=(m=Je.findNextTabbable(i,y,void 0,c.isOutside?v:$y(g,!u),void 0,u,!0))===null||m===void 0?void 0:m.element),b&&Rr(b)}}})}}class ew extends Pa{constructor(o,n,i,l,c){super(o,n,l),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=i,o.controlTab||(this.dummyManager=new Zy(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=Vn(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 m=null,g=!1,v;if(this._shouldTabInside&&f){const y={container:c,currentElement:o,referenceElement:n,ignoreAccessibility:l,useActiveModalizer:!0},b={};m=p.focusable[i?"findPrev":"findNext"](y,b),g=!!b.outOfDOMOrder,!m&&this._props.tabbability===ls.LimitedTrapFocus&&(m=p.focusable[i?"findLast":"findFirst"]({container:c,ignoreAccessibility:l,useActiveModalizer:!0},b),g=!0),v=b.uncontrolled}return{element:m,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=Kt(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 yr(this._tabster.getWindow,o):delete this._first}acceptElement(o,n){const i=n.cachedGrouppers,l=Y.getParentElement(this.getElement()),c=l&&nt.getTabsterContext(this._tabster,l),u=c?.groupper,f=c?.groupperBeforeMover?u:void 0;let p;const m=y=>{let b=i[y.id],k;return b?k=b.isActive:(k=this.isActive(!0),b=i[y.id]={isActive:k}),k};if(f&&(p=f.getElement(),!m(f)&&p&&n.container!==p&&Y.nodeContains(n.container,p)))return n.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const g=m(this),v=this.getElement();if(v&&g!==!0){if(v===o&&u&&(p||(p=u.getElement()),p&&!m(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 tw{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(Ca,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!==Ye.Enter&&i.key!==Ye.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===as.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(Go.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(Ca,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 ew(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=Kt(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=nt.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 Qr({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=nt.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 m=Y.getParentElement(f),g=m?nt.getTabsterContext(l,m):void 0;u=g?.groupper,p=u?.getFirst(!0)}if(p&&(!n||n&&f.dispatchEvent(new Qr({by:"groupper",owner:f,next:p,relatedEvent:n}))))return u&&u.makeTabbable(!1),p.focus(),p}return null}moveFocus(o,n){return n===as.Enter?this._enterGroupper(o):this._escapeGroupper(o)}handleKeyPress(o,n,i){const l=this._tabster,c=nt.getTabsterContext(l,o);if(c&&(c?.groupper||c?.modalizerInGroupper)){if(l.focusedElement.cancelAsyncFocus(Go.EscapeGroupper),c.ignoreKeydown(n))return;if(n.key===Ye.Enter)this._enterGroupper(o,n);else if(n.key===Ye.Escape){const u=l.focusedElement.getFocusedElement();l.focusedElement.requestAsyncFocus(Go.EscapeGroupper,()=>{u!==l.focusedElement.getFocusedElement()&&(i&&!u||!i)||this._escapeGroupper(o,n,i)},0)}}}}class rw extends gp{constructor(o){super(),this._onChange=n=>{this.setVal(n,void 0)},this._keyborg=is(o()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),ss(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 ow=["input","textarea","*[contenteditable]"].join(", ");class nw extends Wn{constructor(o,n,i,l){super(n,o,ja.Mover,l),this._onFocusDummyInput=c=>{var u,f;const p=this._element.get(),m=c.input;if(p&&m){const g=nt.getTabsterContext(this._tabster,p);let v;g&&(v=(u=Je.findNextTabbable(this._tabster,g,void 0,m,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&&Rr(v)}},this._tabster=n,this._getMemorized=i,this._setHandlers(this._onFocusDummyInput)}}const Fa=1,bp=2,yp=3;class iw extends Pa{constructor(o,n,i,l,c){var u;super(o,n,l),this._visible={},this._onIntersection=p=>{for(const m of p){const g=m.target,v=cs(this._win,g);let y,b=this._fullyVisible;if(m.intersectionRatio>=.25?(y=m.intersectionRatio>=.75?Kr.Visible:Kr.PartiallyVisible,y===Kr.Visible&&(b=v)):y=Kr.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 k=this.getState(g);k&&g.dispatchEvent(new tp(k))}}},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 nw(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 yr(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 tp(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&&Vn(o)===c;if(!c)return null;let f=null,p=!1,m;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,m=v.uncontrolled}return{element:f,uncontrolled:m,outOfDOMOrder:p}}acceptElement(o,n){var i,l;if(!Je.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)||Vn(n.from)===p)){let m;if(c){const g=(l=this._current)===null||l===void 0?void 0:l.get();g&&n.acceptCondition(g)&&(m=g)}if(!m&&f&&(m=this._tabster.focusable.findDefault({container:p,useActiveModalizer:!0})),!m&&u&&(m=this._tabster.focusable.findElement({container:p,useActiveModalizer:!0,isBackward:n.isBackward,acceptCondition:g=>{var v;const y=cs(this._win,g),b=this._visible[y];return p!==g&&!!(!((v=this._allElements)===null||v===void 0)&&v.get(g))&&n.acceptCondition(g)&&(b===Kr.Visible||b===Kr.PartiallyVisible&&(u===Kr.PartiallyVisible||!this._fullyVisible))}})),m)return n.found=!0,n.foundElement=m,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 k of b){const w=k.target,_=k.removedNodes,C=k.addedNodes;if(k.type==="attributes")k.attributeName==="tabindex"&&c.push({element:w,type:bp});else{for(let N=0;N<_.length;N++)c.push({element:_[N],type:yp});for(let N=0;N<C.length;N++)c.push({element:C[N],type:Fa})}}v()}),f=(b,k)=>{var w,_;const C=i.get(b);C&&k&&((w=this._intersectionObserver)===null||w===void 0||w.unobserve(b),i.delete(b)),!C&&!k&&(i.set(b,this),(_=this._intersectionObserver)===null||_===void 0||_.observe(b))},p=b=>{const k=l.isFocusable(b);i.get(b)?k||f(b,!0):k&&f(b)},m=b=>{const{mover:k}=y(b);if(k&&k!==this)if(k.getElement()===b&&l.isFocusable(b))f(b);else return;const w=Ta(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(w)for(w.currentNode=b;w.nextNode(););},g=b=>{i.get(b)&&f(b,!0);for(let w=Y.getFirstElementChild(b);w;w=Y.getNextElementSibling(w))g(w)},v=()=>{!this._updateTimer&&c.length&&(this._updateTimer=n.setTimeout(()=>{delete this._updateTimer;for(const{element:b,type:k}of c)switch(k){case bp:p(b);break;case Fa:m(b);break;case yp:g(b);break}c=this._updateQueue=[]},0))},y=b=>{const k={};for(let w=b;w;w=Y.getParentElement(w)){const _=Kt(this._tabster,w);if(_&&(_.groupper&&!k.groupper&&(k.groupper=_.groupper),_.mover)){k.mover=_.mover;break}}return k};c.push({element:o,type:Fa}),v(),u.observe(o,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{u.disconnect()}}getState(o){const n=cs(this._win,o);if(n in this._visible){const i=this._visible[n]||Kr.Invisible;return{isCurrent:this._current?this._current.get()===o:void 0,visibility:i}}}}function sw(e,o,n,i,l,c,u,f){const p=n<l?l-n:u<e?e-u:0,m=i<c?c-i:f<o?o-f:0;return p===0?m:m===0?p:Math.sqrt(p*p+m*m)}class lw{constructor(o,n){this._init=()=>{const i=this._win();i.addEventListener("keydown",this._onKeyDown,!0),i.addEventListener(Ba,this._onMoveFocus),i.addEventListener(ep,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=Kt(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===Ye.ArrowDown?u=Ge.ArrowDown:c===Ye.ArrowRight?u=Ge.ArrowRight:c===Ye.ArrowUp?u=Ge.ArrowUp:c===Ye.ArrowLeft?u=Ge.ArrowLeft:c===Ye.PageDown?u=Ge.PageDown:c===Ye.PageUp?u=Ge.PageUp:c===Ye.Home?u=Ge.Home:c===Ye.End&&(u=Ge.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=nt.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(Ba,this._onMoveFocus),n.removeEventListener(ep,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 iw(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=nt.getTabsterContext(u,o,{checkRtl:!0});if(!f||!f.mover||f.excludedFromMover||i&&f.ignoreKeydown(i))return null;const p=f.mover,m=p.getElement();if(f.groupperBeforeMover){const H=f.groupper;if(H&&!H.isActive(!0)){for(let J=Y.getParentElement(H.getElement());J&&J!==m;J=Y.getParentElement(J))if(!((c=(l=Kt(u,J))===null||l===void 0?void 0:l.groupper)===null||c===void 0)&&c.isActive(!0))return null}else return null}if(!m)return null;const g=u.focusable,v=p.getProps(),y=v.direction||ar.Both,b=y===ar.Both,k=b||y===ar.Vertical,w=b||y===ar.Horizontal,_=y===ar.GridLinear,C=_||y===ar.Grid,N=v.cyclic;let T,z,j,A=0,O=0;if(C&&(j=o.getBoundingClientRect(),A=Math.ceil(j.left),O=Math.floor(j.right)),f.rtl&&(n===Ge.ArrowRight?n=Ge.ArrowLeft:n===Ge.ArrowLeft&&(n=Ge.ArrowRight)),n===Ge.ArrowDown&&k||n===Ge.ArrowRight&&(w||C))if(T=g.findNext({currentElement:o,container:m,useActiveModalizer:!0}),T&&C){const H=Math.ceil(T.getBoundingClientRect().left);!_&&O>H&&(T=void 0)}else!T&&N&&(T=g.findFirst({container:m,useActiveModalizer:!0}));else if(n===Ge.ArrowUp&&k||n===Ge.ArrowLeft&&(w||C))if(T=g.findPrev({currentElement:o,container:m,useActiveModalizer:!0}),T&&C){const H=Math.floor(T.getBoundingClientRect().right);!_&&H>A&&(T=void 0)}else!T&&N&&(T=g.findLast({container:m,useActiveModalizer:!0}));else if(n===Ge.Home)C?g.findElement({container:m,currentElement:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:H=>{var J;if(!g.isFocusable(H))return!1;const te=Math.ceil((J=H.getBoundingClientRect().left)!==null&&J!==void 0?J:0);return H!==o&&A<=te?!0:(T=H,!1)}}):T=g.findFirst({container:m,useActiveModalizer:!0});else if(n===Ge.End)C?g.findElement({container:m,currentElement:o,useActiveModalizer:!0,acceptCondition:H=>{var J;if(!g.isFocusable(H))return!1;const te=Math.ceil((J=H.getBoundingClientRect().left)!==null&&J!==void 0?J:0);return H!==o&&A>=te?!0:(T=H,!1)}}):T=g.findLast({container:m,useActiveModalizer:!0});else if(n===Ge.PageUp){if(g.findElement({currentElement:o,container:m,useActiveModalizer:!0,isBackward:!0,acceptCondition:H=>g.isFocusable(H)?ap(this._win,H,p.visibilityTolerance)?(T=H,!1):!0:!1}),C&&T){const H=Math.ceil(T.getBoundingClientRect().left);g.findElement({currentElement:T,container:m,useActiveModalizer:!0,acceptCondition:J=>{if(!g.isFocusable(J))return!1;const te=Math.ceil(J.getBoundingClientRect().left);return A<te||H>=te?!0:(T=J,!1)}})}z=!1}else if(n===Ge.PageDown){if(g.findElement({currentElement:o,container:m,useActiveModalizer:!0,acceptCondition:H=>g.isFocusable(H)?ap(this._win,H,p.visibilityTolerance)?(T=H,!1):!0:!1}),C&&T){const H=Math.ceil(T.getBoundingClientRect().left);g.findElement({currentElement:T,container:m,useActiveModalizer:!0,isBackward:!0,acceptCondition:J=>{if(!g.isFocusable(J))return!1;const te=Math.ceil(J.getBoundingClientRect().left);return A>te||H<=te?!0:(T=J,!1)}})}z=!0}else if(C){const H=n===Ge.ArrowUp,J=A,te=Math.ceil(j.top),pe=O,me=Math.floor(j.bottom);let V,oe,Ce=0;g.findAll({container:m,currentElement:o,isBackward:H,onElement:ge=>{const he=ge.getBoundingClientRect(),K=Math.ceil(he.left),ee=Math.ceil(he.top),Z=Math.floor(he.right),R=Math.floor(he.bottom);if(H&&te<R||!H&&me>ee)return!0;const q=Math.ceil(Math.min(pe,Z))-Math.floor(Math.max(J,K)),ce=Math.ceil(Math.min(pe-J,Z-K));if(q>0&&ce>=q){const M=q/ce;M>Ce&&(V=ge,Ce=M)}else if(Ce===0){const M=sw(J,te,pe,me,K,ee,Z,R);(oe===void 0||M<oe)&&(oe=M,V=ge)}else if(Ce>0)return!1;return!0}}),T=V}return T&&(!i||i&&m.dispatchEvent(new Qr({by:"mover",owner:m,next:T,relatedEvent:i})))?(z!==void 0&&Oy(this._win,T,z),i&&(i.preventDefault(),i.stopImmediatePropagation()),Rr(T),T):null}async _isIgnoredInput(o,n){if(o.getAttribute("aria-expanded")==="true"&&o.hasAttribute("aria-activedescendant"))return!0;if(fp(o,ow)){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 m=Y.getSelection(o);if(m){const g=m.toString().length,v=n===Ye.ArrowLeft||n===Ye.ArrowUp;if(m.modify("extend",v?"backward":"forward","character"),g!==m.toString().length)return m.modify("extend",v?"forward":"backward","character"),!0;c=0}}}else{const m=o.selectionStart;if(m===null)return f==="hidden";i=m||0,l=o.selectionEnd||0}}else o.contentEditable==="true"&&(u=new(My(this._win))(f=>{this._ignoredInputResolve=b=>{delete this._ignoredInputResolve,f(b)};const p=this._win();this._ignoredInputTimer&&p.clearTimeout(this._ignoredInputTimer);const{anchorNode:m,focusNode:g,anchorOffset:v,focusOffset:y}=Y.getSelection(o)||{};this._ignoredInputTimer=p.setTimeout(()=>{var b,k,w;delete this._ignoredInputTimer;const{anchorNode:_,focusNode:C,anchorOffset:N,focusOffset:T}=Y.getSelection(o)||{};if(_!==m||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=((k=o.textContent)===null||k===void 0?void 0:k.length)||0,_&&C&&Y.nodeContains(o,_)&&Y.nodeContains(o,C)&&_!==o){let z=!1;const j=A=>{if(A===_)z=!0;else if(A===C)return!0;const O=A.textContent;if(O&&!Y.getFirstChild(A)){const J=O.length;z?C!==_&&(l+=J):(i+=J,l+=J)}let H=!1;for(let J=Y.getFirstChild(A);J&&!H;J=J.nextSibling)H=j(J);return H};j(o)}(w=this._ignoredInputResolve)===null||w===void 0||w.call(this,!0)},0)}));if(u&&!await u||i!==l||i>0&&(n===Ye.ArrowLeft||n===Ye.ArrowUp||n===Ye.Home)||i<c&&(n===Ye.ArrowRight||n===Ye.ArrowDown||n===Ye.End))return!0}return!1}}function aw(e,o,n,i){if(typeof MutationObserver>"u")return()=>{};const l=o.getWindow;let c;const u=g=>{var v,y,b,k,w;const _=new Set;for(const C of g){const N=C.target,T=C.removedNodes,z=C.addedNodes;if(C.type==="attributes")C.attributeName===lr&&(_.has(N)||n(o,N));else{for(let j=0;j<T.length;j++){const A=T[j];_.add(A),f(A,!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]),(k=(b=o._dummyObserver).domChanged)===null||k===void 0||k.call(b,N)}}_.clear(),(w=o.modalizer)===null||w===void 0||w.hiddenUpdate()};function f(g,v){c||(c=Fr(l).elementByUId),p(g,v);const y=Ta(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 yr(l,g))),(Kt(o,g)||g.hasAttribute(lr))&&n(o,g,v),NodeFilter.FILTER_SKIP}const m=Y.createMutationObserver(u);return i&&f(l().document.body),m.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[lr]}),()=>{m.disconnect()}}class cw{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 uw{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 dw{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=Fy(o),this._win=o;const c=this.getWindow;n?.DOMAPI&&Py({...n.DOMAPI}),this.keyboardNavigation=new rw(c),this.focusedElement=new Je(this,c),this.focusable=new Yy(this),this.root=new nt(this,n?.autoRoot),this.uncontrolled=new cw(n?.checkUncontrolledCompletely||n?.checkUncontrolledTrappingFocus),this.controlTab=(i=n?.controlTab)!==null&&i!==void 0?i:!0,this.rootDummyInputs=!!n?.rootDummyInputs,this._dummyObserver=new Wy(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=aw(f,this,Zf,u)}}},sp(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 uw(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 m=this._win;m?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],m&&this._forgetMemorizedTimer&&(m.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(),Iy(this.getWindow),dp(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),m&&(Ry(m),delete m.__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())dp(this.getWindow,o),Je.forgetMemorized(this.focusedElement,o)},0),ip(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 fw(e,o){let n=gw(e);return n?n.createTabster(!1,o):(n=new dw(e,o),e.__tabsterInstance=n,n.createTabster())}function pw(e){const o=e.core;return o.groupper||(o.groupper=new tw(o,o.getWindow)),o.groupper}function hw(e){const o=e.core;return o.mover||(o.mover=new lw(o,o.getWindow)),o.mover}function mw(e,o){e.core.disposeTabster(e,o)}function gw(e){return e.__tabsterInstance}const vw=e=>e;function bw(e){const o=e?.defaultView||void 0,n=o?.__tabsterShadowDOMAPI;if(o)return fw(o,{autoRoot:{},controlTab:!1,getParent:ty,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 ds(e=vw){const{targetDocument:o}=ht(),n=S.useRef(null);return Gt(()=>{const i=bw(o);if(i)return n.current=e(i),()=>{mw(i),n.current=null}},[o,e]),n}const Da=e=>{ds();const o=hp(e);return S.useMemo(()=>({[lr]:o}),[o])},Ia=(e={})=>{const{circular:o,axis:n,memorizeCurrent:i=!0,tabbable:l,ignoreDefaultKeydown:c,unstable_hasDefault:u}=e;return ds(hw),Da({mover:{cyclic:!!o,direction:yw(n??"vertical"),memorizeCurrent:i,tabbable:l,hasDefault:u},...c&&{focusable:{ignoreKeydown:c}}})};function yw(e){switch(e){case"horizontal":return ar.Horizontal;case"grid":return ar.Grid;case"grid-linear":return ar.GridLinear;case"both":return ar.Both;case"vertical":default:return ar.Vertical}}const fs=e=>(ds(pw),Da({groupper:{tabbability:ww(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),ww=e=>{switch(e){case"unlimited":return ls.Unlimited;case"limited":return ls.Limited;case"limited-trap-focus":return ls.LimitedTrapFocus;default:return}},ps=()=>{const e=ds(),{targetDocument:o}=ht(),n=S.useCallback((f,p)=>{var m;return f&&((m=e.current)===null||m===void 0?void 0:m.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:m=o.body}=p;return e.current.focusable.findNext({currentElement:f,container:m})},[e,o]),u=S.useCallback((f,p={})=>{if(!e.current||!o||!f)return null;const{container:m=o.body}=p;return e.current.focusable.findPrev({currentElement:f,container:m})},[e,o]);return{findAllFocusable:n,findFirstFocusable:i,findLastFocusable:l,findNextFocusable:c,findPrevFocusable:u}},wp="data-fui-focus-visible",kp="data-fui-focus-within";function kw(e,o){if(xp(e))return()=>{};const n={current:void 0},i=is(o);function l(p){i.isNavigatingWithKeyboard()&&jr(p)&&(n.current=p,p.setAttribute(wp,""))}function c(){n.current&&(n.current.removeAttribute(wp),n.current=void 0)}i.subscribe(p=>{p?l(o.document.activeElement):c()});const u=p=>{c();const m=p.composedPath()[0];l(m)},f=p=>{(!p.relatedTarget||jr(p.relatedTarget)&&!e.contains(p.relatedTarget))&&c()};return e.addEventListener(sr,u),e.addEventListener("focusout",f),e.focusVisible=!0,e.contains(o.document.activeElement)&&l(o.document.activeElement),()=>{c(),e.removeEventListener(sr,u),e.removeEventListener("focusout",f),e.focusVisible=void 0,ss(i)}}function xp(e){return e?e.focusVisible?!0:xp(e?.parentElement):!1}function Oa(e={}){const o=ht(),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 kw(n.current,l.defaultView)},[n,l]),n}function xw(e,o){const n=is(o);n.subscribe(c=>{c||Sp(e)});const i=c=>{n.isNavigatingWithKeyboard()&&_p(c.target)&&Sw(e)},l=c=>{(!c.relatedTarget||_p(c.relatedTarget)&&!e.contains(c.relatedTarget))&&Sp(e)};return e.addEventListener(sr,i),e.addEventListener("focusout",l),()=>{e.removeEventListener(sr,i),e.removeEventListener("focusout",l),ss(n)}}function Sw(e){e.setAttribute(kp,"")}function Sp(e){e.removeAttribute(kp)}function _p(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Ko(){const{targetDocument:e}=ht(),o=S.useRef(null);return S.useEffect(()=>{if(e?.defaultView&&o.current)return xw(o.current,e.defaultView)},[o,e]),o}function Bp(){const{targetDocument:e}=ht(),o=S.useRef(null);return S.useEffect(()=>{const n=e?.defaultView;if(n){const i=is(n);return o.current=i,()=>{ss(i),o.current=null}}},[e]),o}function Cp(e){const o=Bp(),n=_e(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 _w=(...e)=>{"use no memo";const o=e.reduce((n,i)=>(i?.[lr]&&n.push(i[lr]),n),[]);return S.useMemo(()=>({[lr]:o.length>0?o.reduce(Bw):void 0}),o)},Bw=(e,o)=>JSON.stringify(Object.assign(zp(e),zp(o))),zp=e=>{try{return JSON.parse(e)}catch{return{}}};function Cw(){const e=Bp();return S.useCallback(o=>{var n;(n=e.current)===null||n===void 0||n.setVal(o)},[e])}const L={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"},wt={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)"},Xt={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)"},zw={50:"rgba(26, 26, 26, 0.5)"},Nw={70:"rgba(31, 31, 31, 0.7)"},Np={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},ke="#ffffff",Aa="#000000",Tw={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},Tp={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},Ew={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},Pw={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},jw={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},Rw={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},Fw={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Dw={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},Iw={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},Ow={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},Aw={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},qw={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},Mw={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},Lw={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},Hw={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Ep={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},Ww={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},Vw={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},$w={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},Uw={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},Gw={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},Kw={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},Xw={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},Qw={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},Yw={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},Jw={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},Zw={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},ek={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},tk={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},rk={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},ok={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},nk={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},ik={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},sk={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},lk={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},ak={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},je={red:Ew,green:Ep,darkOrange:Pw,yellow:Iw,berry:ek,lightGreen:Hw,marigold:Dw},Yr={darkRed:Tw,cranberry:Tp,pumpkin:jw,peach:Fw,gold:Ow,brass:Aw,brown:qw,forest:Mw,seafoam:Lw,darkGreen:Ww,lightTeal:Vw,teal:$w,steel:Uw,blue:Gw,royalBlue:Kw,cornflower:Xw,navy:Qw,lavender:Yw,purple:Jw,grape:Zw,lilac:tk,pink:rk,magenta:ok,plum:nk,beige:ik,mink:sk,platinum:lk,anchor:ak},Ee={cranberry:Tp,green:Ep,orange:Rw},Pp=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],jp=["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"],Tt={success:"green",warning:"orange",danger:"cranberry"},$n=Pp.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),i={[`colorPalette${n}Background1`]:je[o].tint60,[`colorPalette${n}Background2`]:je[o].tint40,[`colorPalette${n}Background3`]:je[o].primary,[`colorPalette${n}Foreground1`]:je[o].shade10,[`colorPalette${n}Foreground2`]:je[o].shade30,[`colorPalette${n}Foreground3`]:je[o].primary,[`colorPalette${n}BorderActive`]:je[o].primary,[`colorPalette${n}Border1`]:je[o].tint40,[`colorPalette${n}Border2`]:je[o].primary};return Object.assign(e,i)},{});$n.colorPaletteYellowForeground1=je.yellow.shade30,$n.colorPaletteRedForegroundInverted=je.red.tint20,$n.colorPaletteGreenForegroundInverted=je.green.tint20,$n.colorPaletteYellowForegroundInverted=je.yellow.tint40;const ck=jp.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),i={[`colorPalette${n}Background2`]:Yr[o].tint40,[`colorPalette${n}Foreground2`]:Yr[o].shade30,[`colorPalette${n}BorderActive`]:Yr[o].primary};return Object.assign(e,i)},{}),uk={...$n,...ck},Xo=Object.entries(Tt).reduce((e,[o,n])=>{const i=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${i}Background1`]:Ee[n].tint60,[`colorStatus${i}Background2`]:Ee[n].tint40,[`colorStatus${i}Background3`]:Ee[n].primary,[`colorStatus${i}Foreground1`]:Ee[n].shade10,[`colorStatus${i}Foreground2`]:Ee[n].shade30,[`colorStatus${i}Foreground3`]:Ee[n].primary,[`colorStatus${i}ForegroundInverted`]:Ee[n].tint30,[`colorStatus${i}BorderActive`]:Ee[n].primary,[`colorStatus${i}Border1`]:Ee[n].tint40,[`colorStatus${i}Border2`]:Ee[n].primary};return Object.assign(e,l)},{});Xo.colorStatusDangerBackground3Hover=Ee[Tt.danger].shade10,Xo.colorStatusDangerBackground3Pressed=Ee[Tt.danger].shade20,Xo.colorStatusWarningForeground1=Ee[Tt.warning].shade20,Xo.colorStatusWarningForeground3=Ee[Tt.warning].shade20,Xo.colorStatusWarningBorder2=Ee[Tt.warning].shade20;const dk=e=>({colorNeutralForeground1:L[14],colorNeutralForeground1Hover:L[14],colorNeutralForeground1Pressed:L[14],colorNeutralForeground1Selected:L[14],colorNeutralForeground2:L[26],colorNeutralForeground2Hover:L[14],colorNeutralForeground2Pressed:L[14],colorNeutralForeground2Selected:L[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:L[38],colorNeutralForeground3Hover:L[26],colorNeutralForeground3Pressed:L[26],colorNeutralForeground3Selected:L[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:L[44],colorNeutralForegroundDisabled:L[74],colorNeutralForegroundInvertedDisabled:wt[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:L[26],colorNeutralForeground2LinkHover:L[14],colorNeutralForeground2LinkPressed:L[14],colorNeutralForeground2LinkSelected:L[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:L[14],colorNeutralForegroundStaticInverted:ke,colorNeutralForegroundInverted:ke,colorNeutralForegroundInvertedHover:ke,colorNeutralForegroundInvertedPressed:ke,colorNeutralForegroundInvertedSelected:ke,colorNeutralForegroundInverted2:ke,colorNeutralForegroundOnBrand:ke,colorNeutralForegroundInvertedLink:ke,colorNeutralForegroundInvertedLinkHover:ke,colorNeutralForegroundInvertedLinkPressed:ke,colorNeutralForegroundInvertedLinkSelected:ke,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:ke,colorNeutralBackground1Hover:L[96],colorNeutralBackground1Pressed:L[88],colorNeutralBackground1Selected:L[92],colorNeutralBackground2:L[98],colorNeutralBackground2Hover:L[94],colorNeutralBackground2Pressed:L[86],colorNeutralBackground2Selected:L[90],colorNeutralBackground3:L[96],colorNeutralBackground3Hover:L[92],colorNeutralBackground3Pressed:L[84],colorNeutralBackground3Selected:L[88],colorNeutralBackground4:L[94],colorNeutralBackground4Hover:L[98],colorNeutralBackground4Pressed:L[96],colorNeutralBackground4Selected:ke,colorNeutralBackground5:L[92],colorNeutralBackground5Hover:L[96],colorNeutralBackground5Pressed:L[94],colorNeutralBackground5Selected:L[98],colorNeutralBackground6:L[90],colorNeutralBackgroundInverted:L[16],colorNeutralBackgroundStatic:L[20],colorNeutralBackgroundAlpha:wt[50],colorNeutralBackgroundAlpha2:wt[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:L[96],colorSubtleBackgroundPressed:L[88],colorSubtleBackgroundSelected:L[92],colorSubtleBackgroundLightAlphaHover:wt[70],colorSubtleBackgroundLightAlphaPressed:wt[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Xt[10],colorSubtleBackgroundInvertedPressed:Xt[30],colorSubtleBackgroundInvertedSelected:Xt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:L[94],colorNeutralBackgroundInvertedDisabled:wt[10],colorNeutralStencil1:L[90],colorNeutralStencil2:L[98],colorNeutralStencil1Alpha:Xt[10],colorNeutralStencil2Alpha:Xt[5],colorBackgroundOverlay:Xt[40],colorScrollbarOverlay:Xt[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:ke,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:L[98],colorNeutralCardBackgroundHover:ke,colorNeutralCardBackgroundPressed:L[96],colorNeutralCardBackgroundSelected:L[92],colorNeutralCardBackgroundDisabled:L[94],colorNeutralStrokeAccessible:L[38],colorNeutralStrokeAccessibleHover:L[34],colorNeutralStrokeAccessiblePressed:L[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:L[82],colorNeutralStroke1Hover:L[78],colorNeutralStroke1Pressed:L[70],colorNeutralStroke1Selected:L[74],colorNeutralStroke2:L[88],colorNeutralStroke3:L[94],colorNeutralStrokeSubtle:L[88],colorNeutralStrokeOnBrand:ke,colorNeutralStrokeOnBrand2:ke,colorNeutralStrokeOnBrand2Hover:ke,colorNeutralStrokeOnBrand2Pressed:ke,colorNeutralStrokeOnBrand2Selected:ke,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:L[88],colorNeutralStrokeInvertedDisabled:wt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Xt[5],colorNeutralStrokeAlpha2:wt[20],colorStrokeFocus1:ke,colorStrokeFocus2:Aa,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)"}),Rp={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},Fp={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)"},Dp={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Ip={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Op={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Ap={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},qa={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"},Ke={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},qp={spacingHorizontalNone:Ke.none,spacingHorizontalXXS:Ke.xxs,spacingHorizontalXS:Ke.xs,spacingHorizontalSNudge:Ke.sNudge,spacingHorizontalS:Ke.s,spacingHorizontalMNudge:Ke.mNudge,spacingHorizontalM:Ke.m,spacingHorizontalL:Ke.l,spacingHorizontalXL:Ke.xl,spacingHorizontalXXL:Ke.xxl,spacingHorizontalXXXL:Ke.xxxl},Mp={spacingVerticalNone:Ke.none,spacingVerticalXXS:Ke.xxs,spacingVerticalXS:Ke.xs,spacingVerticalSNudge:Ke.sNudge,spacingVerticalS:Ke.s,spacingVerticalMNudge:Ke.mNudge,spacingVerticalM:Ke.m,spacingVerticalL:Ke.l,spacingVerticalXL:Ke.xl,spacingVerticalXXL:Ke.xxl,spacingVerticalXXXL:Ke.xxxl},Lp={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 hs(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 Hp=e=>{const o=dk(e);return{...Rp,...Ip,...Op,...qa,...Ap,...Lp,...qp,...Mp,...Dp,...Fp,...o,...uk,...Xo,...hs(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...hs(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Wp={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"},Vp={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"},$p={...qa,fontFamilyBase:'-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'},fk={...Hp(Wp),...$p};({...Hp(Vp)});const wr=Pp.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),i={[`colorPalette${n}Background1`]:je[o].shade40,[`colorPalette${n}Background2`]:je[o].shade30,[`colorPalette${n}Background3`]:je[o].primary,[`colorPalette${n}Foreground1`]:je[o].tint30,[`colorPalette${n}Foreground2`]:je[o].tint40,[`colorPalette${n}Foreground3`]:je[o].tint20,[`colorPalette${n}BorderActive`]:je[o].tint30,[`colorPalette${n}Border1`]:je[o].primary,[`colorPalette${n}Border2`]:je[o].tint20};return Object.assign(e,i)},{});wr.colorPaletteRedForeground3=je.red.tint30,wr.colorPaletteRedBorder2=je.red.tint30,wr.colorPaletteGreenForeground3=je.green.tint40,wr.colorPaletteGreenBorder2=je.green.tint40,wr.colorPaletteDarkOrangeForeground3=je.darkOrange.tint30,wr.colorPaletteDarkOrangeBorder2=je.darkOrange.tint30,wr.colorPaletteRedForegroundInverted=je.red.primary,wr.colorPaletteGreenForegroundInverted=je.green.primary,wr.colorPaletteYellowForegroundInverted=je.yellow.shade30;const Ma=jp.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),i={[`colorPalette${n}Background2`]:Yr[o].shade30,[`colorPalette${n}Foreground2`]:Yr[o].tint40,[`colorPalette${n}BorderActive`]:Yr[o].tint30};return Object.assign(e,i)},{});Ma.colorPaletteDarkRedBackground2=Yr.darkRed.shade20,Ma.colorPalettePlumBackground2=Yr.plum.shade20;const pk={...wr,...Ma},Jr=Object.entries(Tt).reduce((e,[o,n])=>{const i=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${i}Background1`]:Ee[n].shade40,[`colorStatus${i}Background2`]:Ee[n].shade30,[`colorStatus${i}Background3`]:Ee[n].primary,[`colorStatus${i}Foreground1`]:Ee[n].tint30,[`colorStatus${i}Foreground2`]:Ee[n].tint40,[`colorStatus${i}Foreground3`]:Ee[n].tint20,[`colorStatus${i}BorderActive`]:Ee[n].tint30,[`colorStatus${i}ForegroundInverted`]:Ee[n].shade10,[`colorStatus${i}Border1`]:Ee[n].primary,[`colorStatus${i}Border2`]:Ee[n].tint20};return Object.assign(e,l)},{});Jr.colorStatusDangerBackground3Hover=Ee[Tt.danger].shade10,Jr.colorStatusDangerBackground3Pressed=Ee[Tt.danger].shade20,Jr.colorStatusDangerForeground3=Ee[Tt.danger].tint40,Jr.colorStatusDangerBorder2=Ee[Tt.danger].tint30,Jr.colorStatusSuccessForeground3=Ee[Tt.success].tint40,Jr.colorStatusSuccessBorder2=Ee[Tt.success].tint40,Jr.colorStatusWarningForegroundInverted=Ee[Tt.warning].shade20;const hk=e=>({colorNeutralForeground1:ke,colorNeutralForeground1Hover:ke,colorNeutralForeground1Pressed:ke,colorNeutralForeground1Selected:ke,colorNeutralForeground2:L[84],colorNeutralForeground2Hover:ke,colorNeutralForeground2Pressed:ke,colorNeutralForeground2Selected:ke,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:L[68],colorNeutralForeground3Hover:L[84],colorNeutralForeground3Pressed:L[84],colorNeutralForeground3Selected:L[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:L[60],colorNeutralForegroundDisabled:L[36],colorNeutralForegroundInvertedDisabled:wt[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:L[84],colorNeutralForeground2LinkHover:ke,colorNeutralForeground2LinkPressed:ke,colorNeutralForeground2LinkSelected:ke,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[120],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:L[14],colorNeutralForegroundStaticInverted:ke,colorNeutralForegroundInverted:L[14],colorNeutralForegroundInvertedHover:L[14],colorNeutralForegroundInvertedPressed:L[14],colorNeutralForegroundInvertedSelected:L[14],colorNeutralForegroundInverted2:L[14],colorNeutralForegroundOnBrand:ke,colorNeutralForegroundInvertedLink:ke,colorNeutralForegroundInvertedLinkHover:ke,colorNeutralForegroundInvertedLinkPressed:ke,colorNeutralForegroundInvertedLinkSelected:ke,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:L[16],colorNeutralBackground1Hover:L[24],colorNeutralBackground1Pressed:L[12],colorNeutralBackground1Selected:L[22],colorNeutralBackground2:L[14],colorNeutralBackground2Hover:L[22],colorNeutralBackground2Pressed:L[10],colorNeutralBackground2Selected:L[20],colorNeutralBackground3:L[12],colorNeutralBackground3Hover:L[20],colorNeutralBackground3Pressed:L[8],colorNeutralBackground3Selected:L[18],colorNeutralBackground4:L[8],colorNeutralBackground4Hover:L[16],colorNeutralBackground4Pressed:L[4],colorNeutralBackground4Selected:L[14],colorNeutralBackground5:L[4],colorNeutralBackground5Hover:L[12],colorNeutralBackground5Pressed:Aa,colorNeutralBackground5Selected:L[10],colorNeutralBackground6:L[20],colorNeutralBackgroundInverted:ke,colorNeutralBackgroundStatic:L[24],colorNeutralBackgroundAlpha:zw[50],colorNeutralBackgroundAlpha2:Nw[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:L[22],colorSubtleBackgroundPressed:L[18],colorSubtleBackgroundSelected:L[20],colorSubtleBackgroundLightAlphaHover:Np[80],colorSubtleBackgroundLightAlphaPressed:Np[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Xt[10],colorSubtleBackgroundInvertedPressed:Xt[30],colorSubtleBackgroundInvertedSelected:Xt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:L[8],colorNeutralBackgroundInvertedDisabled:wt[10],colorNeutralStencil1:L[34],colorNeutralStencil2:L[20],colorNeutralStencil1Alpha:wt[10],colorNeutralStencil2Alpha:wt[5],colorBackgroundOverlay:Xt[50],colorScrollbarOverlay:wt[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:ke,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:L[20],colorNeutralCardBackgroundHover:L[24],colorNeutralCardBackgroundPressed:L[18],colorNeutralCardBackgroundSelected:L[22],colorNeutralCardBackgroundDisabled:L[8],colorNeutralStrokeAccessible:L[68],colorNeutralStrokeAccessibleHover:L[74],colorNeutralStrokeAccessiblePressed:L[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:L[40],colorNeutralStroke1Hover:L[46],colorNeutralStroke1Pressed:L[42],colorNeutralStroke1Selected:L[44],colorNeutralStroke2:L[32],colorNeutralStroke3:L[24],colorNeutralStrokeSubtle:L[4],colorNeutralStrokeOnBrand:L[16],colorNeutralStrokeOnBrand2:ke,colorNeutralStrokeOnBrand2Hover:ke,colorNeutralStrokeOnBrand2Pressed:ke,colorNeutralStrokeOnBrand2Selected:ke,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:L[26],colorNeutralStrokeInvertedDisabled:wt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:wt[10],colorNeutralStrokeAlpha2:wt[20],colorStrokeFocus1:Aa,colorStrokeFocus2:ke,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)"}),Up=e=>{const o=hk(e);return{...Rp,...Ip,...Op,...qa,...Ap,...Lp,...qp,...Mp,...Dp,...Fp,...o,...pk,...Jr,...hs(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...hs(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Gp={...Up(Wp),...$p};({...Up(Vp)});const Kp={root:"fui-FluentProvider"},mk=kf({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);}"]}),gk=e=>{"use no memo";const o=Mn(),n=mk({dir:e.dir,renderer:o});return e.root.className=re(Kp.root,e.themeClassName,n.root,e.root.className),e},vk=S.useInsertionEffect?S.useInsertionEffect:Gt,bk=(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},yk=(e,o)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(o,0))},wk=e=>{"use no memo";const{targetDocument:o,theme:n,rendererAttributes:i}=e,l=S.useRef(void 0),c=Ot(Kp.root),u=i,f=S.useMemo(()=>K1(`.${c}`,n),[n,c]);return kk(o,c),vk(()=>{const p=o?.getElementById(c);return p?l.current=p:(l.current=bk(o,{...u,id:c}),l.current&&yk(l.current,f)),()=>{var m;(m=l.current)===null||m===void 0||m.remove()}},[c,o,f,u]),{styleTagId:c,rule:f}};function kk(e,o){S.useState(()=>{if(!e)return;const n=e.getElementById(o);n&&e.head.append(n)})}const xk={},Sk={},_k=(e,o)=>{"use no memo";const n=ht(),i=Bk(),l=If(),c=S.useContext(va)||xk,{applyStylesToPortals:u=!0,customStyleHooks_unstable:f,dir:p=n.dir,targetDocument:m=n.targetDocument,theme:g,overrides_unstable:v={}}=e,y=La(i,g),b=La(l,v),k=La(c,f),w=Mn();var _;const{styleTagId:C,rule:N}=wk({theme:y,targetDocument:m,rendererAttributes:(_=w.styleElementAttributes)!==null&&_!==void 0?_:Sk});return{applyStylesToPortals:u,customStyleHooks_unstable:k,dir:p,targetDocument:m,theme:y,overrides_unstable:b,themeClassName:C,components:{root:"div"},root:Re(pt("div",{...e,dir:p,ref:mt(o,Oa({targetDocument:m}))}),{elementType:"div"}),serverStyleProps:{cssRule:N,attributes:{...w.styleElementAttributes,id:C}}}};function La(e,o){return e&&o?{...e,...o}:e||o}function Bk(){return S.useContext(jf)}function Ck(e){const{applyStylesToPortals:o,customStyleHooks_unstable:n,dir:i,root:l,targetDocument:c,theme:u,themeClassName:f,overrides_unstable:p}=e,m=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:m,textDirection:i,iconDirection:v,tooltip:g,theme:u,themeClassName:o?l.className:f}}const Xp=S.forwardRef((e,o)=>{const n=_k(e,o);gk(n);const i=Ck(n);return uy(n,i)});Xp.displayName="FluentProvider";var Qp=zd();const zk=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:[]}),Gt(()=>{i.current=n.value,l.current+=1,Qp.unstable_runWithPriority(Qp.unstable_NormalPriority,()=>{c.current.listeners.forEach(u=>{u([l.current,n.value])})})},[n.value]),S.createElement(e,{value:c.current},n.children)},Ha=e=>{const o=S.createContext({value:{current:e},version:{current:-1},listeners:[]});return o.Provider=zk(o.Provider),delete o.Consumer,o},Yp=(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]),m=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)||m(void 0);const g=_e(m);return Gt(()=>(c.push(g),()=>{const v=c.indexOf(g);c.splice(v,1)}),[g,c]),f[1]};function Jp(e){const o=S.useContext(e);return o.version?o.version.current!==-1:!1}const Nk="Shift",_o="Enter",kr=" ",Tk="Tab",Wa="ArrowDown",Zp="ArrowLeft",eh="ArrowRight",ms="ArrowUp",th="End",rh="Home",Ek="PageDown",Pk="PageUp",oh="Escape";function nh(e,o){const{disabled:n,disabledFocusable:i=!1,["aria-disabled"]:l,onClick:c,onKeyDown:u,onKeyUp:f,...p}=o??{},m=typeof l=="string"?l==="true":l,g=n||i||m,v=_e(k=>{g?(k.preventDefault(),k.stopPropagation()):c?.(k)}),y=_e(k=>{if(u?.(k),k.isDefaultPrevented())return;const w=k.key;if(g&&(w===_o||w===kr)){k.preventDefault(),k.stopPropagation();return}if(w===kr){k.preventDefault();return}else w===_o&&(k.preventDefault(),k.currentTarget.click())}),b=_e(k=>{if(f?.(k),k.isDefaultPrevented())return;const w=k.key;if(g&&(w===_o||w===kr)){k.preventDefault(),k.stopPropagation();return}w===kr&&(k.preventDefault(),k.currentTarget.click())});if(e==="button"||e===void 0)return{...p,disabled:n&&!i,"aria-disabled":i?!0:m,onClick:i?void 0:v,onKeyUp:i?void 0:f,onKeyDown:i?void 0:u};{const k=!!p.href;let w=k?void 0:"button";!w&&g&&(w="link");const _={role:w,tabIndex:i||!k&&!n?0:void 0,...p,onClick:v,onKeyUp:b,onKeyDown:y,"aria-disabled":g};return e==="a"&&g&&(_.href=void 0),_}}const Et=()=>{},jk={controller:{active:Et,blur:Et,find:Et,first:Et,focus:Et,focusLastActive:Et,scrollActiveIntoView:Et,last:Et,next:Et,prev:Et,showAttributes:Et,hideAttributes:Et,showFocusVisibleAttributes:Et,hideFocusVisibleAttributes:Et}},Va=S.createContext(void 0),ih=Va.Provider,sh=()=>{var e;return(e=S.useContext(Va))!==null&&e!==void 0?e:jk},Rk=()=>!!S.useContext(Va);function Fk(e){const{matchOption:o}=e,{targetDocument:n}=ht(),i=S.useRef(null),l=S.useRef(null),c=S.useCallback(p=>jr(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,m)=>{if(!i.current||!l.current)return null;const g=m?n?.getElementById(m):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 lh="data-activedescendant",Qo="data-activedescendant-focusvisible",ah=e=>{if(!e)return;const o=ch(e.parentElement);if(!o)return;const{offsetHeight:n}=e,i=uh(e,o),{scrollMarginTop:l,scrollMarginBottom:c}=Dk(e),{offsetHeight:u,scrollTop:f}=o,p=i-l<f,m=i+n+c>f+u,g=2;p?o.scrollTo(0,i-l-g):m&&o.scrollTo(0,i+n+c-u+g)},ch=e=>e?e.scrollHeight>e.offsetHeight?e:ch(e.parentElement):null,uh=(e,o)=>!e||e===o?0:e.contains(o)?o.offsetTop*-1:e.offsetTop+uh(e.offsetParent,o),Dk=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=gs(i.scrollMarginTop))!==null&&l!==void 0?l:gs(i.scrollMarginBlockStart);var u;const f=(u=gs(i.scrollMarginBottom))!==null&&u!==void 0?u:gs(i.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:f}},gs=e=>e?parseInt(e,10):0,Ik=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function dh(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),m=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)}},[]);Cp(z=>{i.current=z;const j=w();j&&(z&&l.current?j.setAttribute(Qo,""):j.removeAttribute(Qo))});const v=_e(n),y=S.useRef(null),{optionWalker:b,listboxCallbackRef:k}=Fk({matchOption:v}),w=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=w();j&&(z&&i.current?j.setAttribute(Qo,""):j.removeAttribute(Qo))},[w]),C=S.useCallback(()=>{const z=w();z&&(z.removeAttribute(lh),z.removeAttribute(Qo)),m(),u.current=c.current,c.current=null;var j;return(j=z?.id)!==null&&j!==void 0?j:null},[w,m]),N=S.useCallback(z=>{if(!z)return;const j=C();ah(z),g(z.id),z.setAttribute(lh,""),i.current&&l.current&&z.setAttribute(Qo,"");const A=Ik({id:z.id,previousId:j});z.dispatchEvent(A)},[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=w();if(!j)return;b.setCurrent(j);const A=b.next();return z||N(A),A?.id},prev:({passive:z}={})=>{const j=w();if(!j)return;b.setCurrent(j);const A=b.prev();return z||N(A),A?.id},blur:()=>{C()},active:()=>{var z;return(z=w())===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:A}={}){const O=b.find(z,A);return j||N(O),O?.id},scrollActiveIntoView:()=>{if(!y.current)return;const z=w();z&&ah(z)},showAttributes(){p.current=!0,g()},hideAttributes(){p.current=!1,m()},showFocusVisibleAttributes(){_(!0)},hideFocusVisibleAttributes(){_(!1)}}),[b,y,g,m,N,C,w,_]);return S.useImperativeHandle(o,()=>T),{listboxRef:mt(y,k),activeParentRef:f,controller:T}}const Ok=de({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),Ak=(e,o)=>{const{title:n,primaryFill:i="currentColor",...l}=e,c={...l,title:void 0,fill:i},u=Ok(),f=cy();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},qk=de({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),At=(e,o,n,i)=>{const l=o==="1em"?"20":o,c=S.forwardRef((u,f)=>{const p=qk(),m=Ak(u,{flipInRtl:i?.flipInRtl}),g={...m,className:re(m.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},Mk=At("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"]),Lk=At("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}),Hk=At("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"]),Wk=At("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"]),Vk=At("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),fh=At("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"]),$k=At("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"]),Uk=At("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"]),Gk=At("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"]),ph=At("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"]),Kk=At("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"]),Xk=At("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"]),Qk=At("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"]),Yk=(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:Re(pt("div",{ref:o,...e}),{elementType:"div"}),icon:De(e.icon,{elementType:"span"})}},hh={root:"fui-Badge",icon:"fui-Badge__icon"},Jk=ot("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;}']),Zk=de({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);}"]}),ex=ot("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),tx=de({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;}"]}),rx=e=>{"use no memo";const o=Jk(),n=Zk(),i=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=re(hh.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=ex(),c=tx();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(hh.icon,l,u,c[e.size],e.icon.className)}return e},ox=e=>ct(e.root,{children:[e.iconPosition==="before"&&e.icon&&ae(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&ae(e.icon,{})]}),$a=S.forwardRef((e,o)=>{const n=Yk(e,o);return rx(n),Qe("useBadgeStyles_unstable")(n),ox(n)});$a.displayName="Badge";const mh="data-popper-is-intersecting",gh="data-popper-escaped",vh="data-popper-reference-hidden",nx="data-popper-placement",Ua="fui-positioningend",ix=({options:e})=>e,bh=S.createContext(void 0);bh.Provider;const sx=()=>{var e;return(e=S.useContext(bh))!==null&&e!==void 0?e:ix},lx=["top","right","bottom","left"],Bo=Math.min,Qt=Math.max,vs=Math.round,xr=e=>({x:e,y:e}),ax={left:"right",right:"left",bottom:"top",top:"bottom"},cx={start:"end",end:"start"};function Ga(e,o,n){return Qt(e,Bo(o,n))}function Dr(e,o){return typeof e=="function"?e(o):e}function Ir(e){return e.split("-")[0]}function Yo(e){return e.split("-")[1]}function Ka(e){return e==="x"?"y":"x"}function Xa(e){return e==="y"?"height":"width"}const ux=new Set(["top","bottom"]);function Sr(e){return ux.has(Ir(e))?"y":"x"}function Qa(e){return Ka(Sr(e))}function dx(e,o,n){n===void 0&&(n=!1);const i=Yo(e),l=Qa(e),c=Xa(l);let u=l==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(u=bs(u)),[u,bs(u)]}function fx(e){const o=bs(e);return[Ya(e),o,Ya(o)]}function Ya(e){return e.replace(/start|end/g,o=>cx[o])}const yh=["left","right"],wh=["right","left"],px=["top","bottom"],hx=["bottom","top"];function mx(e,o,n){switch(e){case"top":case"bottom":return n?o?wh:yh:o?yh:wh;case"left":case"right":return o?px:hx;default:return[]}}function gx(e,o,n,i){const l=Yo(e);let c=mx(Ir(e),n==="start",i);return l&&(c=c.map(u=>u+"-"+l),o&&(c=c.concat(c.map(Ya)))),c}function bs(e){return e.replace(/left|right|bottom|top/g,o=>ax[o])}function vx(e){return{top:0,right:0,bottom:0,left:0,...e}}function kh(e){return typeof e!="number"?vx(e):{top:e,right:e,bottom:e,left:e}}function ys(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 xh(e,o,n){let{reference:i,floating:l}=e;const c=Sr(o),u=Qa(o),f=Xa(u),p=Ir(o),m=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(Yo(o)){case"start":b[u]-=y*(n&&m?-1:1);break;case"end":b[u]+=y*(n&&m?-1:1);break}return b}const bx=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 m=await u.getElementRects({reference:e,floating:o,strategy:l}),{x:g,y:v}=xh(m,i,p),y=i,b={},k=0;for(let w=0;w<f.length;w++){const{name:_,fn:C}=f[w],{x:N,y:T,data:z,reset:j}=await C({x:g,y:v,initialPlacement:i,placement:y,strategy:l,middlewareData:b,rects:m,platform:u,elements:{reference:e,floating:o}});g=N??g,v=T??v,b={...b,[_]:{...b[_],...z}},j&&k<=50&&(k++,typeof j=="object"&&(j.placement&&(y=j.placement),j.rects&&(m=j.rects===!0?await u.getElementRects({reference:e,floating:o,strategy:l}):j.rects),{x:g,y:v}=xh(m,y,p)),w=-1)}return{x:g,y:v,placement:y,strategy:l,middlewareData:b}};async function Jo(e,o){var n;o===void 0&&(o={});const{x:i,y:l,platform:c,rects:u,elements:f,strategy:p}=e,{boundary:m="clippingAncestors",rootBoundary:g="viewport",elementContext:v="floating",altBoundary:y=!1,padding:b=0}=Dr(o,e),k=kh(b),_=f[y?v==="floating"?"reference":"floating":v],C=ys(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:m,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=ys(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:N,offsetParent:T,strategy:p}):N);return{top:(C.top-j.top+k.top)/z.y,bottom:(j.bottom-C.bottom+k.bottom)/z.y,left:(C.left-j.left+k.left)/z.x,right:(j.right-C.right+k.right)/z.x}}const yx=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:m,padding:g=0}=Dr(e,o)||{};if(m==null)return{};const v=kh(g),y={x:n,y:i},b=Qa(l),k=Xa(b),w=await u.getDimensions(m),_=b==="y",C=_?"top":"left",N=_?"bottom":"right",T=_?"clientHeight":"clientWidth",z=c.reference[k]+c.reference[b]-y[b]-c.floating[k],j=y[b]-c.reference[b],A=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m));let O=A?A[T]:0;(!O||!await(u.isElement==null?void 0:u.isElement(A)))&&(O=f.floating[T]||c.floating[k]);const H=z/2-j/2,J=O/2-w[k]/2-1,te=Bo(v[C],J),pe=Bo(v[N],J),me=te,V=O-w[k]-pe,oe=O/2-w[k]/2+H,Ce=Ga(me,oe,V),ge=!p.arrow&&Yo(l)!=null&&oe!==Ce&&c.reference[k]/2-(oe<me?te:pe)-w[k]/2<0,he=ge?oe<me?oe-me:oe-V:0;return{[b]:y[b]+he,data:{[b]:Ce,centerOffset:oe-Ce-he,...ge&&{alignmentOffset:he}},reset:ge}}}),wx=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:m}=o,{mainAxis:g=!0,crossAxis:v=!0,fallbackPlacements:y,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:w=!0,..._}=Dr(e,o);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const C=Ir(l),N=Sr(f),T=Ir(f)===f,z=await(p.isRTL==null?void 0:p.isRTL(m.floating)),j=y||(T||!w?[bs(f)]:fx(f)),A=k!=="none";!y&&A&&j.push(...gx(f,w,k,z));const O=[f,...j],H=await Jo(o,_),J=[];let te=((i=c.flip)==null?void 0:i.overflows)||[];if(g&&J.push(H[C]),v){const oe=dx(l,u,z);J.push(H[oe[0]],H[oe[1]])}if(te=[...te,{placement:l,overflows:J}],!J.every(oe=>oe<=0)){var pe,me;const oe=(((pe=c.flip)==null?void 0:pe.index)||0)+1,Ce=O[oe];if(Ce&&(!(v==="alignment"?N!==Sr(Ce):!1)||te.every(K=>Sr(K.placement)===N?K.overflows[0]>0:!0)))return{data:{index:oe,overflows:te},reset:{placement:Ce}};let ge=(me=te.filter(he=>he.overflows[0]<=0).sort((he,K)=>he.overflows[1]-K.overflows[1])[0])==null?void 0:me.placement;if(!ge)switch(b){case"bestFit":{var V;const he=(V=te.filter(K=>{if(A){const ee=Sr(K.placement);return ee===N||ee==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ee=>ee>0).reduce((ee,Z)=>ee+Z,0)]).sort((K,ee)=>K[1]-ee[1])[0])==null?void 0:V[0];he&&(ge=he);break}case"initialPlacement":ge=f;break}if(l!==ge)return{reset:{placement:ge}}}return{}}}};function Sh(e,o){return{top:e.top-o.height,right:e.right-o.width,bottom:e.bottom-o.height,left:e.left-o.width}}function _h(e){return lx.some(o=>e[o]>=0)}const kx=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(o){const{rects:n}=o,{strategy:i="referenceHidden",...l}=Dr(e,o);switch(i){case"referenceHidden":{const c=await Jo(o,{...l,elementContext:"reference"}),u=Sh(c,n.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:_h(u)}}}case"escaped":{const c=await Jo(o,{...l,altBoundary:!0}),u=Sh(c,n.floating);return{data:{escapedOffsets:u,escaped:_h(u)}}}default:return{}}}}},Bh=new Set(["left","top"]);async function xx(e,o){const{placement:n,platform:i,elements:l}=e,c=await(i.isRTL==null?void 0:i.isRTL(l.floating)),u=Ir(n),f=Yo(n),p=Sr(n)==="y",m=Bh.has(u)?-1:1,g=c&&p?-1:1,v=Dr(o,e);let{mainAxis:y,crossAxis:b,alignmentAxis:k}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return f&&typeof k=="number"&&(b=f==="end"?k*-1:k),p?{x:b*g,y:y*m}:{x:y*m,y:b*g}}const Sx=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 xx(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}}}}},_x=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}=Dr(e,o),m={x:n,y:i},g=await Jo(o,p),v=Sr(Ir(l)),y=Ka(v);let b=m[y],k=m[v];if(c){const _=y==="y"?"top":"left",C=y==="y"?"bottom":"right",N=b+g[_],T=b-g[C];b=Ga(N,b,T)}if(u){const _=v==="y"?"top":"left",C=v==="y"?"bottom":"right",N=k+g[_],T=k-g[C];k=Ga(N,k,T)}const w=f.fn({...o,[y]:b,[v]:k});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[y]:c,[v]:u}}}}}},Bx=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:m=!0}=Dr(e,o),g={x:n,y:i},v=Sr(l),y=Ka(v);let b=g[y],k=g[v];const w=Dr(f,o),_=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};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(m){var C,N;const T=y==="y"?"width":"height",z=Bh.has(Ir(l)),j=c.reference[v]-c.floating[T]+(z&&((C=u.offset)==null?void 0:C[v])||0)+(z?0:_.crossAxis),A=c.reference[v]+c.reference[T]+(z?0:((N=u.offset)==null?void 0:N[v])||0)-(z?_.crossAxis:0);k<j?k=j:k>A&&(k=A)}return{[y]:b,[v]:k}}}},Cx=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=()=>{},...m}=Dr(e,o),g=await Jo(o,m),v=Ir(l),y=Yo(l),b=Sr(l)==="y",{width:k,height:w}=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=w-g.top-g.bottom,T=k-g.left-g.right,z=Bo(w-g[_],N),j=Bo(k-g[C],T),A=!o.middlewareData.shift;let O=z,H=j;if((n=o.middlewareData.shift)!=null&&n.enabled.x&&(H=T),(i=o.middlewareData.shift)!=null&&i.enabled.y&&(O=N),A&&!y){const te=Qt(g.left,0),pe=Qt(g.right,0),me=Qt(g.top,0),V=Qt(g.bottom,0);b?H=k-2*(te!==0||pe!==0?te+pe:Qt(g.left,g.right)):O=w-2*(me!==0||V!==0?me+V:Qt(g.top,g.bottom))}await p({...o,availableWidth:H,availableHeight:O});const J=await u.getDimensions(f.floating);return k!==J.width||w!==J.height?{reset:{rects:!0}}:{}}}};function ws(){return typeof window<"u"}function Zo(e){return Ch(e)?(e.nodeName||"").toLowerCase():"#document"}function qt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Or(e){var o;return(o=(Ch(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Ch(e){return ws()?e instanceof Node||e instanceof qt(e).Node:!1}function cr(e){return ws()?e instanceof Element||e instanceof qt(e).Element:!1}function _r(e){return ws()?e instanceof HTMLElement||e instanceof qt(e).HTMLElement:!1}function zh(e){return!ws()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qt(e).ShadowRoot}const zx=new Set(["inline","contents"]);function Un(e){const{overflow:o,overflowX:n,overflowY:i,display:l}=ur(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+n)&&!zx.has(l)}const Nx=new Set(["table","td","th"]);function Tx(e){return Nx.has(Zo(e))}const Ex=[":popover-open",":modal"];function ks(e){return Ex.some(o=>{try{return e.matches(o)}catch{return!1}})}const Px=["transform","translate","scale","rotate","perspective"],jx=["transform","translate","scale","rotate","perspective","filter"],Rx=["paint","layout","strict","content"];function Ja(e){const o=Za(),n=cr(e)?ur(e):e;return Px.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)||jx.some(i=>(n.willChange||"").includes(i))||Rx.some(i=>(n.contain||"").includes(i))}function Fx(e){let o=Zr(e);for(;_r(o)&&!en(o);){if(Ja(o))return o;if(ks(o))return null;o=Zr(o)}return null}function Za(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Dx=new Set(["html","body","#document"]);function en(e){return Dx.has(Zo(e))}function ur(e){return qt(e).getComputedStyle(e)}function xs(e){return cr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Zr(e){if(Zo(e)==="html")return e;const o=e.assignedSlot||e.parentNode||zh(e)&&e.host||Or(e);return zh(o)?o.host:o}function Nh(e){const o=Zr(e);return en(o)?e.ownerDocument?e.ownerDocument.body:e.body:_r(o)&&Un(o)?o:Nh(o)}function Th(e,o,n){var i;o===void 0&&(o=[]);const l=Nh(e),c=l===((i=e.ownerDocument)==null?void 0:i.body),u=qt(l);return c?(ec(u),o.concat(u,u.visualViewport||[],Un(l)?l:[],[])):o.concat(l,Th(l,[]))}function ec(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Eh(e){const o=ur(e);let n=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const l=_r(e),c=l?e.offsetWidth:n,u=l?e.offsetHeight:i,f=vs(n)!==c||vs(i)!==u;return f&&(n=c,i=u),{width:n,height:i,$:f}}function Ph(e){return cr(e)?e:e.contextElement}function tn(e){const o=Ph(e);if(!_r(o))return xr(1);const n=o.getBoundingClientRect(),{width:i,height:l,$:c}=Eh(o);let u=(c?vs(n.width):n.width)/i,f=(c?vs(n.height):n.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!f||!Number.isFinite(f))&&(f=1),{x:u,y:f}}const Ix=xr(0);function jh(e){const o=qt(e);return!Za()||!o.visualViewport?Ix:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ox(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==qt(e)?!1:o}function Gn(e,o,n,i){o===void 0&&(o=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),c=Ph(e);let u=xr(1);o&&(i?cr(i)&&(u=tn(i)):u=tn(e));const f=Ox(c,n,i)?jh(c):xr(0);let p=(l.left+f.x)/u.x,m=(l.top+f.y)/u.y,g=l.width/u.x,v=l.height/u.y;if(c){const y=qt(c),b=i&&cr(i)?qt(i):i;let k=y,w=ec(k);for(;w&&i&&b!==k;){const _=tn(w),C=w.getBoundingClientRect(),N=ur(w),T=C.left+(w.clientLeft+parseFloat(N.paddingLeft))*_.x,z=C.top+(w.clientTop+parseFloat(N.paddingTop))*_.y;p*=_.x,m*=_.y,g*=_.x,v*=_.y,p+=T,m+=z,k=qt(w),w=ec(k)}}return ys({width:g,height:v,x:p,y:m})}function Ss(e,o){const n=xs(e).scrollLeft;return o?o.left+n:Gn(Or(e)).left+n}function Rh(e,o){const n=e.getBoundingClientRect(),i=n.left+o.scrollLeft-Ss(e,n),l=n.top+o.scrollTop;return{x:i,y:l}}function Ax(e){let{elements:o,rect:n,offsetParent:i,strategy:l}=e;const c=l==="fixed",u=Or(i),f=o?ks(o.floating):!1;if(i===u||f&&c)return n;let p={scrollLeft:0,scrollTop:0},m=xr(1);const g=xr(0),v=_r(i);if((v||!v&&!c)&&((Zo(i)!=="body"||Un(u))&&(p=xs(i)),_r(i))){const b=Gn(i);m=tn(i),g.x=b.x+i.clientLeft,g.y=b.y+i.clientTop}const y=u&&!v&&!c?Rh(u,p):xr(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-p.scrollLeft*m.x+g.x+y.x,y:n.y*m.y-p.scrollTop*m.y+g.y+y.y}}function qx(e){return Array.from(e.getClientRects())}function Mx(e){const o=Or(e),n=xs(e),i=e.ownerDocument.body,l=Qt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),c=Qt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let u=-n.scrollLeft+Ss(e);const f=-n.scrollTop;return ur(i).direction==="rtl"&&(u+=Qt(o.clientWidth,i.clientWidth)-l),{width:l,height:c,x:u,y:f}}const Fh=25;function Lx(e,o){const n=qt(e),i=Or(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=Za();(!g||g&&o==="fixed")&&(f=l.offsetLeft,p=l.offsetTop)}const m=Ss(i);if(m<=0){const g=i.ownerDocument,v=g.body,y=getComputedStyle(v),b=g.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,k=Math.abs(i.clientWidth-v.clientWidth-b);k<=Fh&&(c-=k)}else m<=Fh&&(c+=m);return{width:c,height:u,x:f,y:p}}const Hx=new Set(["absolute","fixed"]);function Wx(e,o){const n=Gn(e,!0,o==="fixed"),i=n.top+e.clientTop,l=n.left+e.clientLeft,c=_r(e)?tn(e):xr(1),u=e.clientWidth*c.x,f=e.clientHeight*c.y,p=l*c.x,m=i*c.y;return{width:u,height:f,x:p,y:m}}function Dh(e,o,n){let i;if(o==="viewport")i=Lx(e,n);else if(o==="document")i=Mx(Or(e));else if(cr(o))i=Wx(o,n);else{const l=jh(e);i={x:o.x-l.x,y:o.y-l.y,width:o.width,height:o.height}}return ys(i)}function Ih(e,o){const n=Zr(e);return n===o||!cr(n)||en(n)?!1:ur(n).position==="fixed"||Ih(n,o)}function Vx(e,o){const n=o.get(e);if(n)return n;let i=Th(e,[]).filter(f=>cr(f)&&Zo(f)!=="body"),l=null;const c=ur(e).position==="fixed";let u=c?Zr(e):e;for(;cr(u)&&!en(u);){const f=ur(u),p=Ja(u);!p&&f.position==="fixed"&&(l=null),(c?!p&&!l:!p&&f.position==="static"&&!!l&&Hx.has(l.position)||Un(u)&&!p&&Ih(e,u))?i=i.filter(g=>g!==u):l=f,u=Zr(u)}return o.set(e,i),i}function $x(e){let{element:o,boundary:n,rootBoundary:i,strategy:l}=e;const u=[...n==="clippingAncestors"?ks(o)?[]:Vx(o,this._c):[].concat(n),i],f=u[0],p=u.reduce((m,g)=>{const v=Dh(o,g,l);return m.top=Qt(v.top,m.top),m.right=Bo(v.right,m.right),m.bottom=Bo(v.bottom,m.bottom),m.left=Qt(v.left,m.left),m},Dh(o,f,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Ux(e){const{width:o,height:n}=Eh(e);return{width:o,height:n}}function Gx(e,o,n){const i=_r(o),l=Or(o),c=n==="fixed",u=Gn(e,!0,c,o);let f={scrollLeft:0,scrollTop:0};const p=xr(0);function m(){p.x=Ss(l)}if(i||!i&&!c)if((Zo(o)!=="body"||Un(l))&&(f=xs(o)),i){const b=Gn(o,!0,c,o);p.x=b.x+o.clientLeft,p.y=b.y+o.clientTop}else l&&m();c&&!i&&l&&m();const g=l&&!i&&!c?Rh(l,f):xr(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 tc(e){return ur(e).position==="static"}function Oh(e,o){if(!_r(e)||ur(e).position==="fixed")return null;if(o)return o(e);let n=e.offsetParent;return Or(e)===n&&(n=n.ownerDocument.body),n}function Ah(e,o){const n=qt(e);if(ks(e))return n;if(!_r(e)){let l=Zr(e);for(;l&&!en(l);){if(cr(l)&&!tc(l))return l;l=Zr(l)}return n}let i=Oh(e,o);for(;i&&Tx(i)&&tc(i);)i=Oh(i,o);return i&&en(i)&&tc(i)&&!Ja(i)?n:i||Fx(e)||n}const Kx=async function(e){const o=this.getOffsetParent||Ah,n=this.getDimensions,i=await n(e.floating);return{reference:Gx(e.reference,await o(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Xx(e){return ur(e).direction==="rtl"}const Qx={convertOffsetParentRelativeRectToViewportRelativeRect:Ax,getDocumentElement:Or,getClippingRect:$x,getOffsetParent:Ah,getElementRects:Kx,getClientRects:qx,getDimensions:Ux,getScale:tn,isElement:cr,isRTL:Xx},Yx=Jo,Jx=Sx,Zx=_x,eS=wx,tS=Cx,qh=kx,rS=yx,Mh=Bx,oS=(e,o,n)=>{const i=new Map,l={platform:Qx,...n},c={...l.platform,_c:i};return bx(e,o,{...l,platform:c})};function Lh(e){const o=e.split("-");return{side:o[0],alignment:o[1]}}const nS=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,iS=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):{}},_s=e=>{const o=e&&nS(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}=iS(o);return/(auto|scroll|overlay)/.test(n+l+i)?o:_s(o)},sS=e=>{var o;const n=_s(e);return n?n!==((o=n.ownerDocument)===null||o===void 0?void 0:o.body):!1};function rc(e,o){if(o==="window")return e?.ownerDocument.documentElement;if(o==="clippingParents")return"clippingAncestors";if(o==="scrollParent"){let n=_s(e);return n.nodeName==="BODY"&&(n=e?.ownerDocument.documentElement),n}return o}function Hh(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 lS=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),aS=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),cS=(e,o)=>{const n=e==="above"||e==="below",i=o==="top"||o==="bottom";return n&&i||!n&&!i},Wh=(e,o,n)=>{const i=cS(o,e)?"center":e,l=o&&lS(n)[o],c=i&&aS()[i];return l&&c?`${l}-${c}`:l},uS=()=>({top:"above",bottom:"below",right:"after",left:"before"}),dS=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},fS=e=>{const{side:o,alignment:n}=Lh(e),i=uS()[o],l=n&&dS(i)[n];return{position:i,alignment:l}},pS={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 Vh(e){return e==null?{}:typeof e=="string"?pS[e]:e}function oc(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 Gt(()=>{i.current=!1},[]),l.callback=o,l.facade}function hS(e){let o;return()=>(o||(o=new Promise(n=>{Promise.resolve().then(()=>{o=void 0,n(e())})})),o)}function mS(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 gS(e){var o,n,i;const{container:l,placement:c,middlewareData:u,strategy:f,lowPPI:p,coordinates:m,useTransform:g=!0}=e;if(!l)return;l.setAttribute(nx,c),l.removeAttribute(mh),u.intersectionObserver.intersecting&&l.setAttribute(mh,""),l.removeAttribute(gh),!((o=u.hide)===null||o===void 0)&&o.escaped&&l.setAttribute(gh,""),l.removeAttribute(vh),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&l.setAttribute(vh,"");const v=((i=l.ownerDocument.defaultView)===null||i===void 0?void 0:i.devicePixelRatio)||1,y=Math.round(m.x*v)/v,b=Math.round(m.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 vS=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 $h(e){const o=[];let n=e;for(;n;){const i=_s(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 bS(e,o){return new e.ResizeObserver(o)}function yS(e){let o=!1;const{container:n,target:i,arrow:l,strategy:c,middleware:u,placement:f,useTransform:p=!0,disableUpdateOnResize:m=!1}=e,g=n.ownerDocument.defaultView;if(!i||!n||!g)return{updatePosition:()=>{},dispose:()=>{}};const v=m?null:bS(g,C=>{C.every(T=>T.contentRect.width>0&&T.contentRect.height>0)&&w()});let y=!0;const b=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const k=()=>{o||(y&&($h(n).forEach(C=>b.add(C)),jr(i)&&$h(i).forEach(C=>b.add(C)),b.forEach(C=>{C.addEventListener("scroll",w,{passive:!0})}),v?.observe(n),jr(i)&&v?.observe(i),y=!1),Object.assign(n.style,{position:c}),oS(i,n,{placement:f,middleware:u,strategy:c}).then(({x:C,y:N,middlewareData:T,placement:z})=>{o||(mS({arrow:l,middlewareData:T}),gS({container:n,middlewareData:T,placement:z,coordinates:{x:C,y:N},lowPPI:(g?.devicePixelRatio||1)<=1,strategy:c,useTransform:p}),n.dispatchEvent(new CustomEvent(Ua)))}).catch(C=>{}))},w=hS(()=>k()),_=()=>{o=!0,g&&(g.removeEventListener("scroll",w),g.removeEventListener("resize",w)),b.forEach(C=>{C.removeEventListener("scroll",w)}),b.clear(),v?.disconnect()};return g&&(g.addEventListener("scroll",w,{passive:!0}),g.addEventListener("resize",w)),w(),{updatePosition:w,dispose:_}}function wS(){return{name:"coverTarget",fn:e=>{const{placement:o,rects:n,x:i,y:l}=e,c=Lh(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 kS(e){const{hasScrollableElement:o,flipBoundary:n,container:i,fallbackPositions:l=[],isRtl:c}=e,u=l.reduce((f,p)=>{const{position:m,align:g}=Vh(p),v=Wh(g,m,c);return v&&f.push(v),f},[]);return eS({...o&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:rc(i,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function xS(){return{name:"intersectionObserver",fn:async e=>{const o=e.rects.floating,n=await Yx(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 SS=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 _S(e,o){const{container:n,overflowBoundary:i,overflowBoundaryPadding:l,isRtl:c}=o;return tS({...l&&{padding:Hh(l,c)},...i&&{altBoundary:!0,boundary:rc(n,i)},apply({availableHeight:u,availableWidth:f,elements:p,rects:m}){const g=(b,k,w)=>{if(b&&(p.floating.style.setProperty("box-sizing","border-box"),p.floating.style.setProperty(`max-${k}`,`${w}px`),m.floating[k]>w)){p.floating.style.setProperty(k,`${w}px`);const _=k==="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 BS(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:o,reference:n},placement:i})=>{const{position:l,alignment:c}=fS(i);return e({positionedRect:o,targetRect:n,position:l,alignment:c})}}function CS(e){const o=BS(e);return Jx(o)}function zS(e){const{hasScrollableElement:o,shiftToCoverTarget:n,disableTether:i,overflowBoundary:l,container:c,overflowBoundaryPadding:u,isRtl:f}=e;return Zx({...o&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:Mh({crossAxis:!0,mainAxis:!1})},...i&&{crossAxis:i==="all",limiter:Mh({crossAxis:i!=="all",mainAxis:!1})},...u&&{padding:Hh(u,f)},...l&&{altBoundary:!0,boundary:rc(c,l)}})}const Uh="--fui-match-target-size";function NS(){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(Uh,`${c}px`),i.style.width||(i.style.width=`var(${Uh})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function TS(e,o){const{align:n,arrowPadding:i,autoSize:l,coverTarget:c,disableUpdateOnResize:u,flipBoundary:f,offset:p,overflowBoundary:m,pinned:g,position:v,unstable_disableTether:y,strategy:b,overflowBoundaryPadding:k,fallbackPositions:w,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:m,useTransform:_,overflowBoundaryPadding:k,pinned:g,arrowPadding:i,align:n,fallbackPositions:w,shiftToCoverTarget:N,position:v,unstable_disableTether:y}}),[l,u,C,p,b,c,f,m,_,k,g,i,n,w,N,v,y,e])}function ES(e){const{dir:o,targetDocument:n}=ht(),i=o==="rtl",l=TS(sx(),e),{positionFixed:c}=e;return S.useCallback((u,f)=>{const p=sS(u),m=l(u,f),{autoSize:g,disableUpdateOnResize:v,matchTargetSize:y,offset:b,coverTarget:k,flipBoundary:w,overflowBoundary:_,useTransform:C,overflowBoundaryPadding:N,pinned:T,position:z,arrowPadding:j,strategy:A,align:O,fallbackPositions:H,shiftToCoverTarget:J,unstable_disableTether:te}=m,pe=vS(g),me=[pe&&SS(pe),y&&NS(),b&&CS(b),k&&wS(),!T&&kS({container:u,flipBoundary:w,hasScrollableElement:p,isRtl:i,fallbackPositions:H}),zS({container:u,hasScrollableElement:p,overflowBoundary:_,disableTether:te,overflowBoundaryPadding:N,isRtl:i,shiftToCoverTarget:J}),pe&&_S(pe,{container:u,overflowBoundary:_,overflowBoundaryPadding:N,isRtl:i}),xS(),f&&rS({element:f,padding:j}),qh({strategy:"referenceHidden"}),qh({strategy:"escaped"}),!1].filter(Boolean);return{placement:Wh(O,z,i),middleware:me,strategy:A??c?"fixed":"absolute",disableUpdateOnResize:v,useTransform:C}},[l,i,n,c])}function PS(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=ES(e),p=S.useCallback(()=>{o.current&&o.current.dispose(),o.current=null;var k;const w=(k=i.current)!==null&&k!==void 0?k:n.current;u&&ba()&&w&&l.current&&(o.current=yS({container:l.current,target:w,arrow:c.current,...f(l.current,c.current)}))},[u,f]),m=_e(k=>{i.current=k,p()});S.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var k;return(k=o.current)===null||k===void 0?void 0:k.updatePosition()},setTarget:k=>{e.target,m(k)}}),[e.target,m]),Gt(()=>{var k;m((k=e.target)!==null&&k!==void 0?k:null)},[e.target,m]),Gt(()=>{p()},[p]);const g=oc(null,k=>{n.current!==k&&(n.current=k,p())}),v=_e(()=>{var k;return(k=e.onPositioningEnd)===null||k===void 0?void 0:k.call(e)}),y=oc(null,k=>{if(l.current!==k){var w;(w=l.current)===null||w===void 0||w.removeEventListener(Ua,v),k?.addEventListener(Ua,v),l.current=k,p()}}),b=oc(null,k=>{c.current!==k&&(c.current=k,p())});return{targetRef:g,containerRef:y,arrowRef:b}}function jS(e){return jr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const RS=de({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;}"]}),Gh=Li.useInsertionEffect,FS=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},DS=()=>{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}},IS=Gh?e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:i,targetNode:l}=e,[c]=S.useState(DS),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 m=c.get(l,!0),g=m?m[p]:void 0;return typeof g=="function"?g.bind(m):g},set(f,p,m){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]:m}),!0):!1}}),[c,l,e.disabled]);return Gh(()=>{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}:FS,OS=e=>{"use no memo";const{targetDocument:o,dir:n}=ht(),i=jb(),l=Oa(),c=RS(),u=Bb(),f={dir:n,disabled:e.disabled,focusVisibleRef:l,className:re(u,c.root,e.className),targetNode:i??o?.body};return IS(f)},AS=e=>{const{element:o,className:n}=jS(e.mountNode),i=S.useRef(null),l=OS({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 Vf(c,f),()=>{Vf(c,void 0)}},[i,c]),u};var nc=Ed();const qS=e=>S.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&nc.createPortal(S.createElement(S.Fragment,null,e.children,S.createElement("span",{hidden:!0})),e.mountNode)),Kh=e=>{const o=AS(e);return qS(o)};Kh.displayName="Portal";const MS=e=>{const{iconOnly:o,iconPosition:n}=e;return ct(e.root,{children:[n!=="after"&&e.icon&&ae(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&ae(e.icon,{})]})},Xh=S.createContext(void 0),LS={};Xh.Provider;const HS=()=>{var e;return(e=S.useContext(Xh))!==null&&e!==void 0?e:LS},WS=(e,o)=>{const{size:n}=HS(),{appearance:i="secondary",as:l="button",disabled:c=!1,disabledFocusable:u=!1,icon:f,iconPosition:p="before",shape:m="rounded",size:g=n??"medium"}=e,v=De(f,{elementType:"span"});return{appearance:i,disabled:c,disabledFocusable:u,iconPosition:p,shape:m,size:g,iconOnly:!!(v?.children&&!e.children),components:{root:"button",icon:"span"},root:Re(pt(l,nh(e.as,e)),{elementType:"button",defaultProps:{ref:o,type:l==="button"?"button":void 0}}),icon:v}},Qh={root:"fui-Button",icon:"fui-Button__icon"},VS=ot("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;}}"]}),$S=ot("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);}"]),US=de({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)"}]]}),GS=de({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)"}]]}),KS=de({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;}}"]}),XS=de({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;}"]}),QS=de({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);}"]}),YS=e=>{"use no memo";const o=VS(),n=$S(),i=US(),l=GS(),c=KS(),u=XS(),f=QS(),{appearance:p,disabled:m,disabledFocusable:g,icon:v,iconOnly:y,iconPosition:b,shape:k,size:w}=e;return e.root.className=re(Qh.root,o,p&&i[p],i[w],v&&w==="small"&&i.smallWithIcon,v&&w==="large"&&i.largeWithIcon,i[k],(m||g)&&l.base,(m||g)&&l.highContrast,p&&(m||g)&&l[p],p==="primary"&&c.primary,c[w],c[k],y&&u[w],e.root.className),e.icon&&(e.icon.className=re(Qh.icon,n,!!e.root.children&&f[b],f[w],e.icon.className)),e},ic=S.forwardRef((e,o)=>{const n=WS(e,o);return YS(n),Qe("useButtonStyles_unstable")(n),MS(n)});ic.displayName="Button";const Yh=S.createContext(void 0);Yh.Provider;const JS=()=>S.useContext(Yh);function Bs(e,o){return ZS(JS(),e,o)}function ZS(e,o,n){if(!e)return o;o={...o};const{generatedControlId:i,hintId:l,labelFor:c,labelId:u,required:f,validationMessageId:p,validationState:m}=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,k;(k=(y=o)[b="aria-labelledby"])!==null&&k!==void 0||(y[b]=u)}if((p||l)&&(o["aria-describedby"]=[p,l,o?.["aria-describedby"]].filter(Boolean).join(" ")),m==="error"){var w,_,C;(C=(w=o)[_="aria-invalid"])!==null&&C!==void 0||(w[_]=!0)}if(f)if(n?.supportsRequired){var N,T;(T=(N=o).required)!==null&&T!==void 0||(N.required=!0)}else{var z,j,A;(A=(z=o)[j="aria-required"])!==null&&A!==void 0||(z[j]=!0)}if(n?.supportsSize){var O,H;(H=(O=o).size)!==null&&H!==void 0||(O.size=e.size)}return o}const e2=(e,o)=>{const{disabled:n=!1,required:i=!1,weight:l="regular",size:c="medium"}=e;return{disabled:n,required:De(i===!0?"*":i||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:l,size:c,components:{root:"label",required:"span"},root:Re(pt("label",{ref:o,...e}),{elementType:"label"})}},t2=e=>ct(e.root,{children:[e.root.children,e.required&&ae(e.required,{})]}),Jh={root:"fui-Label",required:"fui-Label__required"},r2=de({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)"}]]}),o2=e=>{"use no memo";const o=r2();return e.root.className=re(Jh.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=re(Jh.required,o.required,e.disabled&&o.disabled,e.required.className)),e},Co=S.forwardRef((e,o)=>{const n=e2(e,o);return o2(n),Qe("useLabelStyles_unstable")(n),t2(n)});Co.displayName="Label";const n2=(e,o)=>{"use no memo";e=Bs(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:n=!1,required:i,shape:l="square",size:c="medium",labelPosition:u="after",onChange:f}=e,[p,m]=Pr({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),g=ns({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),v=p==="mixed",y=Ot("checkbox-",g.primary.id);let b;v?l==="circular"?b=S.createElement(Vk,null):b=c==="large"?S.createElement(Qk,null):S.createElement(Xk,null):p&&(b=c==="large"?S.createElement(Kk,null):S.createElement(ph,null));const k={shape:l,checked:p,disabled:n,size:c,labelPosition:u,components:{root:"span",input:"input",indicator:"div",label:Co},root:Re(e.root,{defaultProps:{ref:Ko(),...g.root},elementType:"span"}),input:Re(e.input,{defaultProps:{type:"checkbox",id:y,ref:o,checked:p===!0,...g.primary},elementType:"input"}),label:De(e.label,{defaultProps:{htmlFor:y,disabled:n,required:i,size:"medium"},elementType:Co}),indicator:De(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:b},elementType:"div"})};k.input.onChange=_e(_=>{const C=_.currentTarget.indeterminate?"mixed":_.currentTarget.checked;f?.(_,{checked:C}),m(C)});const w=mt(k.input.ref);return k.input.ref=w,Gt(()=>{w.current&&(w.current.indeterminate=v)},[w,v]),k},i2=e=>ct(e.root,{children:[ae(e.input,{}),e.labelPosition==="before"&&e.label&&ae(e.label,{}),e.indicator&&ae(e.indicator,{}),e.labelPosition==="after"&&e.label&&ae(e.label,{})]}),Cs={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},s2=ot("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;}}"]}),l2=de({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)"}]]}),a2=ot("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));}"]),c2=de({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));}"]}),u2=ot("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;}"]),d2=de({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}]]}),f2=de({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);}"]}),p2=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:i,shape:l,size:c}=e,u=s2(),f=l2();e.root.className=re(Cs.root,u,n?f.disabled:o==="mixed"?f.mixed:o?f.checked:f.unchecked,e.root.className);const p=a2(),m=c2();e.input.className=re(Cs.input,p,c==="large"&&m.large,m[i],e.input.className);const g=u2(),v=d2();e.indicator&&(e.indicator.className=re(Cs.indicator,g,c==="large"&&v.large,l==="circular"&&v.circular,e.indicator.className));const y=f2();return e.label&&(e.label.className=re(Cs.label,y.base,y[c],y[i],e.label.className)),e},sc=S.forwardRef((e,o)=>{const n=n2(e,o);return p2(n),Qe("useCheckboxStyles_unstable")(n),i2(n)});sc.displayName="Checkbox";const Zh=Ha({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});Zh.Provider;const h2={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},rn=Ha(void 0),Mt=e=>Yp(rn,(o=h2)=>e(o));rn.Provider;function m2(e){const{appearance:o,open:n,getOptionById:i,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:f,setOpen:p,size:m,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:m},k={activeOption:void 0,focusVisible:!1,getOptionById:i,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:f,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:y},w=S.useMemo(()=>({controller:g}),[g]);return{combobox:b,activeDescendant:w,listbox:k}}function g2(e){const o=Jp(rn),{getOptionById:n,getOptionsMatchingValue:i,multiselect:l,registerOption:c,selectedOptions:u,selectOption:f,activeDescendantController:p}=e,m=Mt(w=>w.registerOption),g=Mt(w=>w.onOptionClick),v=Mt(w=>w.onActiveDescendantChange),b={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:i,multiselect:l,registerOption:o?m:c,selectedOptions:u,selectOption:f,setActiveOption:()=>{},onOptionClick:g,onActiveDescendantChange:v},k=S.useMemo(()=>({controller:p}),[p]);return{listbox:b,activeDescendant:k}}function lc(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!==kr&&!c&&!u&&!p?"Type":n?l===ms&&c||l===_o||!i&&l===kr?"CloseSelect":i&&l===kr?"Select":l===oh?"Close":l===Wa?"Next":l===ms?"Previous":l===rh?"First":l===th?"Last":l===Pk?"PageUp":l===Ek?"PageDown":l===Tk?"Tab":"None":l===Wa||l===ms||l===_o||l===kr?"Open":"None"}const em=()=>{const e=S.useRef(new Map),o=S.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:m=>e.current.get(m),getOptionsMatchingText:m=>Array.from(e.current.values()).filter(({text:g})=>m(g)),getOptionsMatchingValue:m=>{const g=[];for(const v of e.current.values())m(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}},tm=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:i}=e,[l,c]=Pr({state:e.selectedOptions,defaultState:o,initialState:[]}),u=S.useCallback((p,m)=>{if(m.disabled)return;let g=[m.value];if(n){const v=l.findIndex(y=>y===m.value);v>-1?g=[...l.slice(0,v),...l.slice(v+1)]:g=[...l,m.value]}c(g),i?.(p,{optionValue:m.value,optionText:m.text,selectedOptions:g})},[i,n,l,c]);return{clearSelection:p=>{c([]),i?.(p,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:l}},zs={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},v2=de({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)"}]]}),b2=e=>{"use no memo";const{disabled:o,multiselect:n,selected:i}=e,l=v2();return e.root.className=re(zs.root,l.root,l.active,o&&l.disabled,i&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=re(zs.checkIcon,l.checkIcon,n&&l.multiselectCheck,i&&l.selectedCheck,i&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},rm={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},y2=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:i=!1}=e,l=em(),{listboxRef:c,activeParentRef:u,controller:f}=dh({matchOption:oe=>oe.classList.contains(zs.root)}),p=Jp(rn),m=Mt(oe=>oe.onActiveDescendantChange),g=Mt(oe=>oe.getOptionById),v=Mt(oe=>oe.getOptionsMatchingValue),y=p?g:l.getOptionById,b=p?v:l.getOptionsMatchingValue,k=S.useMemo(()=>{let oe=null;const Ce=ge=>{m?.(ge)};return ge=>{if(!ge){oe?.removeEventListener("activedescendantchange",Ce);return}oe=ge,oe.addEventListener("activedescendantchange",Ce)}},[m]),[w,_]=S.useState(!1);Cp(_);const C=sh(),N=Rk(),T=N?C.controller:f,{clearSelection:z,selectedOptions:j,selectOption:A}=tm(e),O=oe=>{const Ce=lc(oe,{open:!0}),ge=T.active(),he=ge?y(ge):null;switch(Ce){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":oe.preventDefault();break}switch(Ce){case"Next":he?T.next():T.first();break;case"Previous":he?T.prev():T.first();break;case"PageUp":case"First":T.first();break;case"PageDown":case"Last":T.last();break;case"Select":case"CloseSelect":he&&A(oe,he);break}},H=Mt(oe=>oe.selectedOptions),J=Mt(oe=>oe.selectOption),te=p?{selectedOptions:H,selectOption:J,...rm}:{selectedOptions:j,selectOption:A,...rm};S.useEffect(()=>{if(!N){if(T.hideFocusVisibleAttributes(),!i)if(!n&&te.selectedOptions.length>0){const oe=b(Ce=>Ce===te.selectedOptions[0]).pop();oe?.id&&T.focus(oe.id)}else T.first();return()=>{T.blur()}}},[]);const pe=S.useCallback(()=>{N||(T.showFocusVisibleAttributes(),w&&T.scrollActiveIntoView())},[T,N,w]),me=S.useCallback(()=>{N||T.hideFocusVisibleAttributes()},[T,N]),V={components:{root:"div"},root:Re(pt("div",{ref:mt(o,u,c,k),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!p,multiselect:n,clearSelection:z,activeDescendantController:T,onActiveDescendantChange:m,...l,...te};return V.root.onKeyDown=_e(yt(V.root.onKeyDown,O)),V.root.onFocus=_e(yt(V.root.onFocus,pe)),V.root.onBlur=_e(yt(V.root.onBlur,me)),V},w2=(e,o)=>ae(ih,{value:o.activeDescendant,children:ae(rn.Provider,{value:o.listbox,children:ae(e.root,{})})}),k2={root:"fui-Listbox"},x2=de({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);}"]}),S2=e=>{"use no memo";const o=x2();return e.root.className=re(k2.root,o.root,e.root.className),e},ac=S.forwardRef((e,o)=>{const n=y2(e,o),i=g2(n);return S2(n),Qe("useListboxStyles_unstable")(n),w2(n,i)});ac.displayName="Listbox";function _2(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 B2=(e,o)=>{const{children:n,disabled:i,text:l,value:c}=e,u=S.useRef(null),f=_2(l,n),p=c??f,m=Ot("fluent-option",e.id),g=S.useMemo(()=>({id:m,disabled:i,text:f,value:p}),[m,i,f,p]),{controller:v}=sh(),y=Mt(z=>z.multiselect),b=Mt(z=>z.registerOption),k=Mt(z=>{const j=z.selectedOptions;return p!==void 0&&j.find(A=>A===p)!==void 0}),w=Mt(z=>z.selectOption),_=Mt(z=>z.onOptionClick);let C=S.createElement(Hk,null);y&&(C=k?S.createElement(ph,null):"");const N=z=>{var j;if(i){z.preventDefault();return}v.focus(m),w(z,g),_(z),(j=e.onClick)===null||j===void 0||j.call(e,z)};S.useEffect(()=>{if(m&&u.current)return b(g,u.current)},[m,g,b]);const T=y?{role:"menuitemcheckbox","aria-checked":k}:{role:"option","aria-selected":k};return{components:{root:"div",checkIcon:"span"},root:Re(pt("div",{ref:mt(o,u),"aria-disabled":i?"true":void 0,id:m,...T,...e,onClick:N}),{elementType:"div"}),checkIcon:De(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:C},elementType:"span"}),disabled:i,multiselect:y,selected:k,focusVisible:!1,active:!1}},C2=e=>ct(e.root,{children:[e.checkIcon&&ae(e.checkIcon,{}),e.root.children]}),dr=S.forwardRef((e,o)=>{const n=B2(e,o);return b2(n),Qe("useOptionStyles_unstable")(n),C2(n)});dr.displayName="Option";const z2=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:m,size:g="medium",activeDescendantController:v,freeform:y=!1,disabled:b=!1,onActiveOptionChange:k=null}=e,w=em(),{getOptionsMatchingValue:_}=w,{getOptionById:C}=w,N=S.useCallback(()=>{const q=v.active();return q?C(q):void 0},[v,C]),T=N(),z=S.useCallback(q=>{let ce;if(typeof q=="function"){const M=N();ce=q(M)}ce?v.focus(ce.id):v.blur()},[v,N]),[j,A]=S.useState(!1),[O,H]=S.useState(!1),J=S.useRef(!1),te=Hb(),[pe,me]=Pr({state:e.value,initialState:void 0}),{selectedOptions:V,selectOption:oe,clearSelection:Ce}=tm(e),ge=S.useCallback((q,ce)=>{nc.unstable_batchedUpdates(()=>{me(void 0),oe(q,ce)})},[me,oe]),he=S.useMemo(()=>{if(pe!==void 0)return pe;if(te&&e.defaultValue!==void 0)return e.defaultValue;const q=_(ce=>V.includes(ce)).map(ce=>ce.text);return p?c?"":q.join(", "):q[0]},[pe,c,_,p,V]),[K,ee]=Pr({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Z=S.useCallback((q,ce)=>{b||(m?.(q,{open:ce}),nc.unstable_batchedUpdates(()=>{!ce&&!y&&me(void 0),ee(ce)}))},[m,ee,me,y,b]);S.useEffect(()=>{if(K){if(!p&&V.length>0){const q=_(ce=>ce===V[0]).pop();q?.id&&v.focus(q.id)}}else v.blur()},[K,v]),S.useEffect(()=>{K&&!n&&!v.active()&&v.first()},[K,i,n,v,C]);const R=_e(q=>{const ce=q.detail.previousId?w.getOptionById(q.detail.previousId):null,M=w.getOptionById(q.detail.id);k?.(q,{event:q,type:"change",previousOption:ce,nextOption:M})});return{...w,freeform:y,disabled:b,selectOption:ge,clearSelection:Ce,selectedOptions:V,activeOption:T,appearance:o,clearable:l,focusVisible:j,ignoreNextBlur:J,inlinePopup:u,mountNode:f,open:K,hasFocus:O,setActiveOption:z,setFocusVisible:A,setHasFocus:H,setOpen:Z,setValue:me,size:g,value:he,multiselect:p,onOptionClick:_e(q=>{p||Z(q,!1)}),onActiveDescendantChange:R}};function N2(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,...Vh(o)},{targetRef:l,containerRef:c}=PS(i);return[c,l]}function T2(e,o,n){const{state:{multiselect:i},triggerRef:l,defaultProps:c}=n,u=Ot("fluent-listbox",zf(e)?e.id:void 0),f=De(e,{renderByDefault:!0,elementType:ac,defaultProps:{id:u,multiselect:i,tabIndex:void 0,...c}}),p=Bs({id:u},{supportsLabelFor:!0});f&&!f["aria-label"]&&!f["aria-labelledby"]&&p["aria-labelledby"]&&(f["aria-labelledby"]=p["aria-labelledby"]);const m=_e(yt(y=>{y.preventDefault()},f?.onMouseDown)),g=_e(yt(y=>{var b;y.preventDefault(),(b=l.current)===null||b===void 0||b.focus()},f?.onClick)),v=mt(f?.ref,o);return f&&(f.ref=v,f.onMouseDown=m,f.onClick=g),f}function E2(e,o,n){const{state:{open:i,setOpen:l,setHasFocus:c},defaultProps:u,elementType:f,activeDescendantController:p}=n,m=Re(e,{defaultProps:{type:"text","aria-expanded":i,role:"combobox",...typeof u=="object"&&u},elementType:f}),g=S.useRef(null);return m.ref=mt(g,m.ref,o),m.onBlur=yt(v=>{l(v,!1),c(!1)},m.onBlur),m.onFocus=yt(v=>{v.target===v.currentTarget&&c(!0)},m.onFocus),m.onClick=yt(v=>{l(v,!i)},m.onClick),m.onKeyDown=yt(P2({activeDescendantController:p,...n.state}),m.onKeyDown),m}function P2(e){const{activeDescendantController:o,getOptionById:n,setOpen:i,selectOption:l,multiselect:c,open:u}=e,f=S.useCallback(()=>{const w=o.active();return w?n(w):void 0},[o,n]),p=()=>{o.first()},m=()=>{o.last()},g=w=>{w?o.next():o.first()},v=w=>{w?o.prev():o.first()},y=()=>{for(let w=0;w<10;w++)o.prev()},b=()=>{for(let w=0;w<10;w++)o.next()},k=Cw();return _e(w=>{const _=lc(w,{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":w.preventDefault();break}switch(k(!0),_){case"First":p();break;case"Last":m();break;case"Next":g(C);break;case"Previous":v(C);break;case"PageDown":b();break;case"PageUp":y();break;case"Open":i(w,!0);break;case"Close":w.stopPropagation(),i(w,!1);break;case"CloseSelect":!c&&!C?.disabled&&i(w,!1);case"Select":C&&l(w,C);break;case"Tab":!c&&C&&l(w,C);break}})}function j2(e,o,n){"use no memo";const{state:{open:i,setOpen:l,getOptionById:c},defaultProps:u,activeDescendantController:f}=n,p=S.useRef(""),[m,g]=Mf(),v=(w,_={startFromNext:!1})=>{const{startFromNext:C}=_,N=f.active(),T=f.find(z=>{const j=c(z);return!!j&&w(j.text)},{startFrom:C?f.next({passive:!0}):N});return T||f.find(z=>{const j=c(z);return!!j&&w(j.text)})},y=()=>{v(w=>w.toLocaleLowerCase().indexOf(p.current)===0,{startFromNext:p.current.length===1})||R2(p.current)&&v(w=>w.toLocaleLowerCase().indexOf(p.current[0])===0,{startFromNext:!0})||f.blur()},b=w=>{g(),lc(w)==="Type"&&(p.current+=w.key.toLowerCase(),m(()=>{p.current=""},500),i&&y(),!i&&l(w,!0))},k=E2(e,o,{state:n.state,defaultProps:u,elementType:"button",activeDescendantController:f});return k.onKeyDown=yt(b,k.onKeyDown),k}function R2(e){for(let o=1;o<e.length;o++)if(e[o]!==e[o-1])return!1;return!0}const F2=(e,o)=>{"use no memo";var n;e=Bs(e,{supportsLabelFor:!0,supportsSize:!0});const{listboxRef:i,activeParentRef:l,controller:c}=dh({matchOption:me=>me.classList.contains(zs.root)}),u=z2({...e,activeDescendantController:c,freeform:!1}),{clearable:f,clearSelection:p,disabled:m,hasFocus:g,multiselect:v,open:y,selectedOptions:b,setOpen:k}=u,{primary:w,root:_}=ns({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[C,N]=N2(e),T=S.useRef(null),z=T2(e.listbox,mt(C,i),{state:u,triggerRef:T,defaultProps:{children:e.children}}),{targetDocument:j}=ht();Vb({element:j,callback:me=>k(me,!1),refs:[T,C,N],disabled:!y});var A;const O=j2((A=e.button)!==null&&A!==void 0?A:{},mt(T,l,o),{state:u,defaultProps:{type:"button",tabIndex:w.disabled?void 0:0,children:u.value||e.placeholder,"aria-controls":y?z?.id:void 0,...w},activeDescendantController:c}),H=Re(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&y?z?.id:void 0,children:e.children,..._},elementType:"div"});H.ref=mt(H.ref,N);const J=b.length>0&&!m&&f&&!v,te={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:ac},root:H,button:O,listbox:y||g?z:void 0,clearButton:De(e.clearButton,{defaultProps:{"aria-label":"Clear selection",children:S.createElement(fh,null),tabIndex:J?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:De(e.expandIcon,{renderByDefault:!0,defaultProps:{children:S.createElement(Wk,null)},elementType:"span"}),placeholderVisible:!u.value&&!!e.placeholder,showClearButton:J,activeDescendantController:c,...u},pe=_e(yt((n=te.clearButton)===null||n===void 0?void 0:n.onClick,me=>{var V;p(me),(V=T.current)===null||V===void 0||V.focus()}));return te.clearButton&&(te.clearButton.onClick=pe),v&&(te.clearButton=void 0),te},D2=(e,o)=>ae(e.root,{children:ae(ih,{value:o.activeDescendant,children:ae(rn.Provider,{value:o.listbox,children:ct(Zh.Provider,{value:o.combobox,children:[ct(e.button,{children:[e.button.children,e.expandIcon&&ae(e.expandIcon,{})]}),e.clearButton&&ae(e.clearButton,{}),e.listbox&&(e.inlinePopup?ae(e.listbox,{}):ae(Kh,{mountNode:e.mountNode,children:ae(e.listbox,{})}))]})})})}),Kn={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},I2=de({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);}"]}),O2=de({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);}"]}),A2=ot("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;}}"]}),q2=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=I2(),m=O2(),g=A2();return e.root.className=re(Kn.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(Kn.button,p.button,p[c],i&&p.placeholder,f&&p.disabledText,e.button.className),e.listbox&&(e.listbox.className=re(Kn.listbox,p.listbox,e.inlinePopup&&p.inlineListbox,!n&&p.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=re(Kn.expandIcon,m.icon,m[c],f&&m.disabled,l&&p.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=re(Kn.clearButton,g,m.icon,m[c],f&&m.disabled,!l&&p.hidden,e.clearButton.className)),e},Xn=S.forwardRef((e,o)=>{const n=F2(e,o),i=m2(n);return q2(n),Qe("useDropdownStyles_unstable")(n),D2(n,i)});Xn.displayName="Dropdown";const M2=(e,o)=>{e=Bs(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=If();var i;const{size:l="medium",appearance:c=(i=n.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",onChange:u}=e,[f,p]=Pr({state:e.value,defaultState:e.defaultValue,initialState:""}),m=ns({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),g={size:l,appearance:c,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Re(e.input,{defaultProps:{type:"text",ref:o,...m.primary},elementType:"input"}),contentAfter:De(e.contentAfter,{elementType:"span"}),contentBefore:De(e.contentBefore,{elementType:"span"}),root:Re(e.root,{defaultProps:m.root,elementType:"span"})};return g.input.value=f,g.input.onChange=_e(v=>{const y=v.target.value;u?.(v,{value:y}),p(y)}),g},Ns={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},L2=ot("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;}}"]}),H2=de({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;}"]}),W2=ot("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;}"]),V2=de({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);}"]}),$2=ot("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),U2=de({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;}"]}),G2=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=H2(),f=V2(),p=U2();e.root.className=re(Ns.root,L2(),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(Ns.input,W2(),f[o],e.contentBefore&&f[`${o}WithContentBefore`],e.contentAfter&&f[`${o}WithContentAfter`],i&&f.disabled,e.input.className);const m=[$2(),i&&p.disabled,p[o]];return e.contentBefore&&(e.contentBefore.className=re(Ns.contentBefore,...m,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=re(Ns.contentAfter,...m,e.contentAfter.className)),e},om=S.createContext(void 0),K2={};om.Provider;const X2=()=>S.useContext(om)||K2,Q2=e=>ct(e.root,{children:[ae(e.input,{}),ae(e.indicator,{}),e.label&&ae(e.label,{})]}),Y2=(e,o)=>{const n=X2(),{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":m=n["aria-describedby"],onChange:g}=e,v=ns({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),y=Re(e.root,{defaultProps:{ref:Ko(),...v.root},elementType:"span"}),b=Re(e.input,{defaultProps:{ref:o,type:"radio",id:Ot("radio-",v.primary.id),name:i,checked:l,defaultChecked:c,disabled:f,required:p,"aria-describedby":m,...v.primary},elementType:"input"});b.onChange=yt(b.onChange,_=>g?.(_,{value:_.currentTarget.value}));const k=De(e.label,{defaultProps:{htmlFor:b.id,disabled:b.disabled},elementType:Co}),w=Re(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:Co,indicator:"div"},root:y,input:b,label:k,indicator:w}},Ts={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},J2=ot("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;}}"]}),Z2=de({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),e_=ot("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;}}"]}),t_=de({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;}"]}),r_=ot("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;}"]),o_=de({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;}"]}),n_=e=>{"use no memo";const{labelPosition:o}=e,n=J2(),i=Z2();e.root.className=re(Ts.root,n,o==="below"&&i.vertical,e.root.className);const l=e_(),c=t_();e.input.className=re(Ts.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=r_();e.indicator.className=re(Ts.indicator,u,e.indicator.className);const f=o_();return e.label&&(e.label.className=re(Ts.label,f.base,f[o],e.label.className)),e},cc=S.forwardRef((e,o)=>{const n=Y2(e,o);return n_(n),Qe("useRadioStyles_unstable")(n),Q2(n)});cc.displayName="Radio";const nm=S.createContext(void 0),i_={};nm.Provider;const s_=()=>{var e;return(e=S.useContext(nm))!==null&&e!==void 0?e:i_},l_=(e,o)=>{const{size:n}=s_(),{appearance:i="primary",labelPosition:l="after",size:c=n??"medium",delay:u=0}=e,f=Ot("spinner"),{role:p="progressbar",...m}=e,g=Re(pt("div",{ref:o,role:p,...m},["size"]),{elementType:"div"}),[v,y]=S.useState(!1),[b,k]=Mf();S.useEffect(()=>{if(!(u<=0))return b(()=>{y(!0)},u),()=>{k()}},[b,k,u]);const w=De(e.label,{defaultProps:{id:f},renderByDefault:!1,elementType:Co}),_=De(e.spinner,{renderByDefault:!0,elementType:"span"});return w&&g&&!g["aria-labelledby"]&&(g["aria-labelledby"]=w.id),{appearance:i,delay:u,labelPosition:l,size:c,shouldRenderSpinner:!u||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:Co},root:g,spinner:_,spinnerTail:Re(e.spinnerTail,{elementType:"span"}),label:w}},a_=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return ct(e.root,{children:[e.label&&n&&(o==="above"||o==="before")&&ae(e.label,{}),e.spinner&&n&&ae(e.spinner,{children:e.spinnerTail&&ae(e.spinnerTail,{})}),e.label&&n&&(o==="below"||o==="after")&&ae(e.label,{})]})},Es={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},c_=ot("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),u_=de({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),d_=ot("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;}}"]}),f_=ot("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;}}"]}),p_=de({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)"}]]}),h_=de({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);}"]}),m_=e=>{"use no memo";const{labelPosition:o,size:n,appearance:i}=e,{dir:l}=ht(),c=c_(),u=u_(),f=d_(),p=p_(),m=f_(),g=h_();return e.root.className=re(Es.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=re(Es.spinner,f,p[n],i==="inverted"&&p.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=re(Es.spinnerTail,m,l==="rtl"&&p.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=re(Es.label,g[n],i==="inverted"&&g.inverted,e.label.className)),e},on=S.forwardRef((e,o)=>{const n=l_(e,o);return m_(n),Qe("useSpinnerStyles_unstable")(n),a_(n)});on.displayName="Spinner";const im=(e,o)=>{const{wrap:n,truncate:i,block:l,italic:c,underline:u,strikethrough:f,size:p,font:m,weight:g,align:v}=e;return{align:v??"start",block:l??!1,font:m??"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:Re(pt("span",{ref:o,...e}),{elementType:"span"})}},sm=e=>ae(e.root,{}),g_={root:"fui-Text"},v_=de({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;}"]}),lm=e=>{"use no memo";const o=v_();return e.root.className=re(g_.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},nn=S.forwardRef((e,o)=>{const n=im(e,o);return lm(n),Qe("useTextStyles_unstable")(n),sm(n)});nn.displayName="Text";function am(e){const{useStyles:o,className:n,displayName:i}=e,l=S.forwardRef((c,u)=>{"use no memo";const f=o(),p=im(c,u);return lm(p),p.root.className=re(n,p.root.className,f.root,c.className),sm(p)});return l.displayName=i,l}const b_=am({useStyles:de({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"}),uc=am({useStyles:de({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"}),Qn=()=>{},cm={allRowsSelected:!1,clearRows:Qn,deselectRow:Qn,isRowSelected:()=>!1,selectRow:Qn,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:Qn,toggleRow:Qn,selectionMode:"multiselect"};function y_(e){"use no memo";return o=>w_(o,e)}function w_(e,o){const{items:n,getRowId:i}=e,{selectionMode:l,defaultSelectedItems:c,selectedItems:u,onSelectionChange:f}=o,[p,m]=Jb({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=_e(T=>{m.toggleAllItems(T,n.map((z,j)=>{var A;return(A=i?.(z))!==null&&A!==void 0?A:j}))}),k=_e((T,z)=>m.toggleItem(T,z)),w=_e((T,z)=>m.deselectItem(T,z)),_=_e((T,z)=>m.selectItem(T,z)),C=T=>m.isSelected(T),N=_e(T=>m.clearItems(T));return{...e,selection:{selectionMode:l,someRowsSelected:y,allRowsSelected:v,selectedRows:p,toggleRow:k,toggleAllRows:b,clearRows:N,deselectRow:w,selectRow:_,isRowSelected:C}}}const dc=()=>{},um={getSortDirection:()=>"ascending",setColumnSort:dc,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:dc};function k_(e){"use no memo";return o=>x_(o,e)}function x_(e,o){const{columns:n}=e,{sortState:i,defaultSortState:l,onSortChange:c=dc}=o,[u,f]=Pr({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:l,state:i}),{sortColumn:p,sortDirection:m}=u,g=_e(c),v=S.useCallback((w,_)=>{f(C=>{const N={...C,sortColumn:_};return C.sortColumn===_?N.sortDirection=C.sortDirection==="ascending"?"descending":"ascending":N.sortDirection="ascending",g?.(w,N),N})},[g,f]),y=(w,_,C)=>{const N={sortColumn:_,sortDirection:C};g?.(w,N),f(N)},b=S.useCallback(w=>w.slice().sort((_,C)=>{const N=n.find(z=>z.columnId===p);if(!N?.compare)return 0;const T=m==="ascending"?1:-1;return N.compare(_.item,C.item)*T}),[n,p,m]);return{...e,sort:{sort:b,sortColumn:p,sortDirection:m,setColumnSort:y,toggleColumnSort:v,getSortDirection:w=>p===w?m:void 0}}}const S_=(e,o)=>{const n=_e(i=>{var l;(l=e.onClick)===null||l===void 0||l.call(e,i),i.stopPropagation()});return{components:{root:"div"},root:Re(pt("div",{ref:o,...e,onClick:n}),{elementType:"div"})}},__=e=>ae(e.root,{}),B_={root:"fui-TableResizeHandle"},C_=de({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;}"]}),z_=e=>{"use no memo";const o=C_();return e.root.className=re(B_.root,o.root,e.root.className),e},dm=S.forwardRef((e,o)=>{const n=S_(e,o);return z_(n),Qe("useTableResizeHandleStyles_unstable")(n),__(n)});dm.displayName="TableResizeHandle";function N_(){const[e,o]=S.useState(0),n=S.useRef(void 0),i=S.useRef(null),{targetDocument:l}=ht(),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=T_(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 T_(e,o){var n;return!(e==null||(n=e.defaultView)===null||n===void 0)&&n.ResizeObserver?new e.defaultView.ResizeObserver(o):null}function E_(e){const o=S.useRef(0),n=S.useRef(0),i=S.useRef(void 0),[l,c]=S.useState(!1),{targetDocument:u}=ht(),{getColumnWidth:f,setColumnWidth:p}=e,m=S.useCallback(k=>{const{clientX:w}=Lf(k),_=w-o.current;n.current+=_,i.current&&p(k,{columnId:i.current,width:n.current}),o.current=w},[p]),[g]=Db(),v=S.useCallback(k=>{g(()=>m(k))},[g,m]),y=S.useCallback(k=>{ka(k)&&(u?.removeEventListener("mouseup",y),u?.removeEventListener("mousemove",v)),wa(k)&&(u?.removeEventListener("touchend",y),u?.removeEventListener("touchmove",v)),c(!1)},[v,u]);return{getOnMouseDown:S.useCallback(k=>w=>{if(n.current=f(k),o.current=Lf(w).clientX,i.current=k,ka(w)){if(w.target!==w.currentTarget||w.button!==0)return;u?.addEventListener("mouseup",y),u?.addEventListener("mousemove",v),c(!0)}wa(w)&&(u?.addEventListener("touchend",y),u?.addEventListener("touchmove",v),c(!0))},[f,v,y,u]),dragging:l}}const P_=150,j_=100;function fc(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:k=f.idealWidth,minWidth:w=f.minWidth,padding:_=f.padding}=(p=n[u.columnId])!==null&&p!==void 0?p:{};return k!==f.idealWidth||w!==f.minWidth||_!==f.padding?(i=!0,{...f,idealWidth:k,width:k,minWidth:w,padding:_}):f}var m;const{defaultWidth:g,idealWidth:v=P_,minWidth:y=j_,padding:b}=(m=n[u.columnId])!==null&&m!==void 0?m:{};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 Yn(e,o){return e.find(n=>n.columnId===o)}function pc(e,o){return e[o]}function R_(e){return e.reduce((o,n)=>o+n.width+n.padding,0)}function F_(e,o){const n=Yn(e,o);var i;return(i=n?.width)!==null&&i!==void 0?i:0}function Jn(e,o,n,i){const l=Yn(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 Ps(e,o){let n=e;const i=R_(n);if(i<o){let l=o-i,c=0;for(;c<n.length&&l>0;){const u=pc(n,c);if(!u)break;const f=Math.min(u.idealWidth-u.width,l);if(n=Jn(n,u.columnId,"width",u.width+f),l-=f,c===n.length-1&&l!==0){const p=pc(n,c);p&&(n=Jn(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=pc(n,c);if(!u){c--;continue}if(u.width>u.minWidth){const f=Math.min(u.width-u.minWidth,l);l-=f,n=Jn(n,u.columnId,"width",u.width-f)}c--}}return n}const D_=e=>(o,n)=>{switch(n.type){case"CONTAINER_WIDTH_UPDATED":return{...o,containerWidth:n.containerWidth,columnWidthState:e?Ps(o.columnWidthState,n.containerWidth):o.columnWidthState};case"COLUMNS_UPDATED":const i=fc(n.columns,o.columnWidthState,o.columnSizingOptions);return{...o,columns:n.columns,columnWidthState:e?Ps(i,o.containerWidth):i};case"COLUMN_SIZING_OPTIONS_UPDATED":const l=fc(o.columns,o.columnWidthState,n.columnSizingOptions);return{...o,columnSizingOptions:n.columnSizingOptions,columnWidthState:e?Ps(l,o.containerWidth):l};case"SET_COLUMN_WIDTH":const{columnId:c,width:u}=n,{containerWidth:f}=o,p=Yn(o.columnWidthState,c);let m=[...o.columnWidthState];return p?(m=Jn(m,c,"width",u),m=Jn(m,c,"idealWidth",u),e&&(m=Ps(m,f)),{...o,columnWidthState:m}):o}};function I_(e,o,n={}){const{onColumnResize:i,columnSizingOptions:l,autoFitColumns:c=!0}=n,u=S.useMemo(()=>D_(c),[c]),[f,p]=S.useReducer(u,{columns:e,containerWidth:0,columnWidthState:fc(e,void 0,l),columnSizingOptions:l});Gt(()=>{p({type:"CONTAINER_WIDTH_UPDATED",containerWidth:o})},[o]),Gt(()=>{p({type:"COLUMNS_UPDATED",columns:e})},[e]),Gt(()=>{p({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:l})},[l]);const m=_e((g,v)=>{let{width:y}=v;const{columnId:b}=v,k=Yn(f.columnWidthState,b);k&&(y=Math.max(k.minWidth||0,y),i&&i(g,{columnId:b,width:y}),p({type:"SET_COLUMN_WIDTH",columnId:b,width:y}))});return{getColumnById:S.useCallback(g=>Yn(f.columnWidthState,g),[f.columnWidthState]),getColumns:S.useCallback(()=>f.columnWidthState,[f.columnWidthState]),getColumnWidth:S.useCallback(g=>F_(f.columnWidthState,g),[f.columnWidthState]),setColumnWidth:m}}const js=20,O_=Nk,fm=1/4;function A_(e){const[o,n]=S.useState(),i=S.useRef(void 0),{findPrevFocusable:l}=ps(),c=S.useRef(e);S.useEffect(()=>{c.current=e},[e]);const[u]=S.useState(()=>new Map),f=_e(b=>{if(!o)return;const k=c.current.getColumnWidth(o),w=b.getModifierState(O_),_=()=>{b.preventDefault(),b.stopPropagation()};switch(b.key){case Zp:_(),c.current.setColumnWidth(b.nativeEvent,{columnId:o,width:k-(w?js*fm:js)});return;case eh:_(),c.current.setColumnWidth(b.nativeEvent,{columnId:o,width:k+(w?js*fm:js)});return;case kr:case _o:case oh: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 k,w;n(b),(k=i.current)===null||k===void 0||k.call(i,b,!0);const _=(w=u.get(b))===null||w===void 0?void 0:w.current;_&&(_.setAttribute("tabindex","-1"),_.tabIndex=-1,_.focus())},[u]),m=S.useCallback(()=>{var b,k;if(!o)return;(b=i.current)===null||b===void 0||b.call(i,o,!1);const w=(k=u.get(o))===null||k===void 0?void 0:k.current;if(w){var _;(_=l(w))===null||_===void 0||_.focus(),w.removeAttribute("tabindex")}n(void 0)},[o,l,u]),g=(b,k)=>{i.current=k,o?b&&o!==b?(p(b),n(b)):m():p(b)},v=S.useCallback(b=>{const k=u.get(b)||S.createRef();return u.set(b,k),k},[u]),y=Da({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:g,columnId:o,getKeyboardResizingProps:S.useCallback((b,k)=>({onKeyDown:f,onBlur:m,ref:v(b),role:"separator","aria-label":"Resize column","aria-valuetext":`${k} pixels`,"aria-hidden":b!==o,tabIndex:b===o?0:void 0,...y}),[o,m,v,f,y])}}const pm={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function q_(e){"use no memo";return o=>M_(o,{autoFitColumns:!0,...e})}function hm(e,o){const n=e.width;return{width:n,minWidth:n,maxWidth:n,...o?{pointerEvents:"none"}:{}}}function M_(e,o={}){const{columns:n}=e,{width:i,measureElementRef:l}=N_(),c=I_(n,i+(o?.containerWidthOffset||0),o),u=E_(c),{toggleInteractiveMode:f,getKeyboardResizingProps:p}=A_(c),{autoFitColumns:m}=o,g=S.useCallback((_,C)=>N=>{N.preventDefault(),N.nativeEvent.stopPropagation(),f(_,C)},[f]),{getColumnById:v,setColumnWidth:y,getColumns:b}=c,{getOnMouseDown:k,dragging:w}=u;return{...e,tableRef:l,columnSizing_unstable:{getOnMouseDown:k,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)===_&&m?null:S.createElement(dm,{onMouseDown:k(_),onTouchStart:k(_),...p(_,N?.width||0)});return N?{style:hm(N,w),aside:z}:{}},[v,n,w,p,k,m]),getTableCellProps:S.useCallback(_=>{const C=v(_);return C?{style:hm(C)}:{}},[v]),enableKeyboardMode:g}}}const L_=e=>e,H_={selection:cm,sort:um,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:pm,tableRef:S.createRef()};function W_(e,o=[]){const{items:n,getRowId:i,columns:l}=e,c=S.useCallback((f=L_)=>n.map((p,m)=>{var g;return f({item:p,rowId:(g=i?.(p))!==null&&g!==void 0?g:m})}),[n,i]),u={getRowId:i,items:n,columns:l,getRows:c,selection:cm,sort:um,columnSizing_unstable:pm,tableRef:S.createRef()};return o.reduce((f,p)=>p(f),u)}const V_=()=>0,$_=()=>null,U_=()=>null;function eo(e){const{columnId:o,renderCell:n=$_,renderHeaderCell:i=U_,compare:l=V_}=e;return{columnId:o,renderCell:n,renderHeaderCell:i,compare:l}}function G_(){const e=Ia({axis:"horizontal"}),o=Ia({axis:"grid"}),n=fs({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:i}=ps(),{targetDocument:l}=ht(),c=_w(e,n);return{onTableKeyDown:S.useCallback(f=>{if(!l)return;let p=l.activeElement;if(!p||!f.currentTarget.contains(p))return;const m=p.getAttribute("role");if(f.key===eh&&m==="row"&&jr(p)){var g;(g=i(p))===null||g===void 0||g.focus()}if(m==="row")return;const v=(()=>{let y=jr(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===Zp&&v){p.dispatchEvent(new rp({action:as.Escape}));return}(f.key===Wa||f.key===ms)&&v&&(p.dispatchEvent(new rp({action:as.Escape})),p=l.activeElement,p&&p.dispatchEvent(new Ny({key:Ge[f.key]})))},[l,i]),tableTabsterAttribute:o,tableRowTabsterAttribute:c}}const mm=S.createContext(void 0),K_={size:"medium",noNativeElements:!1,sortable:!1},X_=mm.Provider,to=()=>{var e;return(e=S.useContext(mm))!==null&&e!==void 0?e:K_},gm=(e,o)=>{const{noNativeElements:n,size:i}=to();var l;const c=((l=e.as)!==null&&l!==void 0?l:n)?"div":"td";return{components:{root:c},root:Re(pt(c,{ref:o,role:c==="div"?"cell":void 0,...e}),{elementType:c}),noNativeElements:n,size:i}},Q_=e=>ae(e.root,{}),Y_={root:"fui-TableCell"},J_=de({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;}"]}),Z_=de({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;}"]}),eB=de({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}]]}),tB=e=>{"use no memo";const o=eB(),n={table:J_(),flex:Z_()};return e.root.className=re(Y_.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},vm=S.createContext(void 0),rB="",oB=vm.Provider,hc=()=>S.useContext(vm)===rB,nB=(e,o)=>{const{noNativeElements:n,size:i}=to();var l;const c=((l=e.as)!==null&&l!==void 0?l:n)?"div":"tr",u=Oa(),f=Ko(),p=hc();var m;return{components:{root:c},root:Re(pt(c,{ref:mt(o,u,f),role:c==="div"?"row":void 0,...e}),{elementType:c}),size:i,noNativeElements:n,appearance:(m=e.appearance)!==null&&m!==void 0?m:"none",isHeaderRow:p}},mc={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},iB=de({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),sB=de({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;}"]}),lB=de({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;}"]}),aB=e=>{"use no memo";const o=lB(),n={table:iB(),flex:sB()};return e.root.className=re(mc.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(mc.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=re(mc.radioIndicator,o.radioIndicator,e.radioIndicator.className)),e},cB={root:"fui-TableRow"},uB=de({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),dB=de({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),fB=de({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)"}]]}),pB=e=>{"use no memo";const o=fB(),n={table:uB(),flex:dB()};return e.root.className=re(cB.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},hB=(e,o)=>{const{noNativeElements:n}=to();var i;const l=((i=e.as)!==null&&i!==void 0?i:n)?"div":"tbody";return{components:{root:l},root:Re(pt(l,{ref:o,role:l==="div"?"rowgroup":void 0,...e}),{elementType:l}),noNativeElements:n}},mB=de({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),gB=de({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),vB="fui-TableBody",bB=e=>{"use no memo";const o={table:mB(),flex:gB()};return e.root.className=re(vB,e.noNativeElements?o.flex.root:o.table.root,e.root.className),e},yB=(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:Re(pt(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}},wB=(e,o)=>ae(X_,{value:o.table,children:ae(e.root,{})}),kB="fui-Table",xB=de({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),SB=de({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),_B=de({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),BB=e=>{"use no memo";const o=_B(),n={table:xB(),flex:SB()};return e.root.className=re(kB,o.root,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e};function CB(e){const{size:o,noNativeElements:n,sortable:i}=e;return{table:S.useMemo(()=>({noNativeElements:n,size:o,sortable:i}),[n,o,i])}}const zB=(e,o)=>{const{noNativeElements:n}=to();var i;const l=((i=e.as)!==null&&i!==void 0?i:n)?"div":"thead";return{components:{root:l},root:Re(pt(l,{ref:o,role:l==="div"?"rowgroup":void 0,...e}),{elementType:l}),noNativeElements:n}},NB=e=>ae(oB,{value:"",children:ae(e.root,{})}),TB="fui-TableHeader",EB=de({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),PB=de({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),jB=e=>{"use no memo";const o={table:PB(),flex:EB()};return e.root.className=re(TB,e.noNativeElements?o.flex.root:o.table.root,e.root.className),e},RB={ascending:S.createElement(Lk,{fontSize:12}),descending:S.createElement(Mk,{fontSize:12})},FB=(e,o)=>{const{noNativeElements:n,sortable:i}=to(),{sortable:l=i}=e;var c;const u=((c=e.as)!==null&&c!==void 0?c:n)?"div":"th",f=Re(e.button,{elementType:"div",defaultProps:{as:"div"}}),p=nh(f.as,f);var m;return{components:{root:u,button:"div",sortIcon:"span",aside:"span"},root:Re(pt(u,{ref:mt(o,Ko()),role:u==="div"?"columnheader":void 0,"aria-sort":l?(m=e.sortDirection)!==null&&m!==void 0?m:"none":void 0,...e}),{elementType:u}),aside:De(e.aside,{elementType:"span"}),sortIcon:De(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?RB[e.sortDirection]:void 0},elementType:"span"}),button:l?p:f,sortable:l,noNativeElements:n}},DB=e=>ct(e.root,{children:[ct(e.button,{children:[e.root.children,e.sortIcon&&ae(e.sortIcon,{})]}),e.aside&&ae(e.aside,{})]}),Rs={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},IB=de({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),OB=de({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;}"]}),AB=de({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);}"]}),qB=e=>{"use no memo";const o=AB(),n={table:IB(),flex:OB()};return e.root.className=re(Rs.root,o.root,e.sortable&&o.rootInteractive,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e.button.className=re(Rs.button,o.resetButton,o.button,e.sortable&&o.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=re(Rs.sortIcon,o.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=re(Rs.aside,o.resizeHandle,e.aside.className)),e},bm=S.createContext(void 0),MB="",ym=()=>{var e;return(e=S.useContext(bm))!==null&&e!==void 0?e:MB},LB=bm.Provider,wm=S.createContext(void 0),HB="",km=()=>{var e;return(e=S.useContext(wm))!==null&&e!==void 0?e:HB},WB=wm.Provider,VB=(e,o)=>{const n=gm(e,mt(o,Ko())),{noNativeElements:i}=to(),{type:l="checkbox",checked:c=!1,subtle:u=!1,hidden:f=!1,invisible:p=!1}=e;return{...n,components:{...n.components,checkboxIndicator:sc,radioIndicator:cc},checkboxIndicator:De(e.checkboxIndicator,{renderByDefault:l==="checkbox",defaultProps:{checked:e.checked},elementType:sc}),radioIndicator:De(e.radioIndicator,{renderByDefault:l==="radio",defaultProps:{checked:!!c,input:{name:Ot("table-selection-radio")}},elementType:cc}),type:l,checked:c,noNativeElements:i,subtle:u,hidden:p||f}},$B=e=>ct(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&ae(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&ae(e.radioIndicator,{})]}),xm=Ha(void 0),Sm={...H_,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},UB=xm.Provider,Ve=e=>Yp(xm,(o=Sm)=>e(o)),GB=(e,o)=>{const{focusMode:n="cell"}=e,i=ym(),l=Ve(p=>(p.focusMode==="cell"||p.focusMode==="composite")&&n!=="none"),c=Ve(p=>p.resizableColumns),u=Ve(p=>p.columnSizing_unstable.getTableCellProps),f=fs({tabBehavior:"limited-trap-focus"});return gm({as:"div",role:"gridcell",...n==="group"&&f,tabIndex:l?0:void 0,...c?u(i):{},...e},o)},KB=e=>Q_(e),XB={root:"fui-DataGridCell"},QB=e=>{"use no memo";return tB(e),e.root.className=re(XB.root,e.root.className),e},gc=S.forwardRef((e,o)=>{const n=GB(e,o);return QB(n),Qe("useDataGridCellStyles_unstable")(n),KB(n)});gc.displayName="DataGridCell";const YB=(e,o)=>{const n=hc(),i=km(),l=Ve(m=>m.subtleSelection),c=Ve(m=>n&&m.selection.selectionMode==="multiselect"?m.selection.allRowsSelected?!0:m.selection.someRowsSelected?"mixed":!1:m.selection.isRowSelected(i)),u=Ve(m=>m.selection.toggleAllRows),f=Ve(m=>m.selection.selectionMode==="multiselect"?"checkbox":"radio"),p=_e(m=>{var g;n&&u(m),(g=e.onClick)===null||g===void 0||g.call(e,m)});return VB({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)},JB=e=>$B(e),vc={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},ZB=e=>{"use no memo";return aB(e),e.root.className=re(vc.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=re(vc.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=re(vc.radioIndicator,e.radioIndicator.className)),e},bc=S.forwardRef((e,o)=>{const n=YB(e,o);return ZB(n),Qe("useDataGridSelectionCellStyles_unstable")(n),JB(n)});bc.displayName="DataGridSelectionCell";const eC=(e,o)=>{const n=km(),i=hc(),l=Ve(w=>w.columns),c=Ve(w=>w.selectableRows),u=Ve(w=>w.selection.isRowSelected(n)),f=Ve(w=>w.focusMode),p=Ve(w=>w.compositeRowTabsterAttribute),m=f==="row_unstable"||f==="composite",g=Ve(w=>!i&&c&&w.selection.isRowSelected(n)?w.selectionAppearance:"none"),v=Ve(w=>w.selection.toggleRow),y=_e(w=>{var _;c&&!i&&v(w,n),(_=e.onClick)===null||_===void 0||_.call(e,w)}),b=_e(w=>{var _;c&&!i&&w.key===kr&&!Xb(w.target)&&(w.preventDefault(),v(w,n)),(_=e.onKeyDown)===null||_===void 0||_.call(e,w)}),k=nB({appearance:g,"aria-selected":c?u:void 0,tabIndex:m&&!i?0:void 0,...f==="composite"&&!i&&p,...e,onClick:y,onKeyDown:b,children:null,as:"div"},o);return{...k,components:{...k.components,selectionCell:bc},selectionCell:De(e.selectionCell,{renderByDefault:c,elementType:bc}),renderCell:e.children,columnDefs:l,dataGridContextValue:tC()}};function tC(){const e=S.useRef(Sm);return Ve(o=>(e.current=o,null)),e.current}const rC=e=>ct(e.root,{children:[e.selectionCell&&ae(e.selectionCell,{}),e.columnDefs.map(o=>ae(LB,{value:o.columnId,children:e.renderCell(o,e.dataGridContextValue)},o.columnId))]}),_m={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},oC=de({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),nC=e=>{"use no memo";const o=Ve(i=>i.subtleSelection),n=oC();return pB(e),e.root.className=re(_m.root,e.root.className,o&&n.subtleSelection),e.selectionCell&&(e.selectionCell.className=re(_m.selectionCell,e.selectionCell.className)),e},Zn=S.forwardRef((e,o)=>{const n=eC(e,o);return nC(n),Qe("useDataGridRowStyles_unstable")(n),rC(n)});Zn.displayName="DataGridRow";const iC=(e,o)=>{const{sortable:n}=to(),i=Ve(f=>f.getRows),l=Ve(f=>f.sort.sort),c=n?l(i()):i();return{...hB({...e,children:null,as:"div"},o),rows:c,renderRow:e.children}},sC=e=>ae(e.root,{children:e.rows.map(o=>ae(WB,{value:o.rowId,children:e.renderRow(o)},o.rowId))}),lC={root:"fui-DataGridBody"},aC=e=>{"use no memo";return bB(e),e.root.className=re(lC.root,e.root.className),e},yc=S.forwardRef((e,o)=>{const n=iC(e,o);return aC(n),Qe("useDataGridBodyStyles_unstable")(n),sC(n)});yc.displayName="DataGridBody";const cC=(e,o)=>{const{items:n,columns:i,focusMode:l="cell",selectionMode:c,onSortChange:u,onSelectionChange:f,defaultSortState:p,sortState:m,selectedItems:g,defaultSelectedItems:v,subtleSelection:y=!1,selectionAppearance:b="brand",getRowId:k,resizableColumns:w,columnSizingOptions:_,onColumnResize:C,containerWidthOffset:N,resizableColumnsOptions:T={}}=e,z=N??(c?-44:0),j=Ia({axis:"grid"}),{onTableKeyDown:A,tableTabsterAttribute:O,tableRowTabsterAttribute:H}=G_();var J;const te=W_({items:n,columns:i,getRowId:k},[k_({defaultSortState:p,sortState:m,onSortChange:u}),y_({defaultSelectedItems:v,selectedItems:g,onSelectionChange:f,selectionMode:c??"multiselect"}),q_({onColumnResize:C,columnSizingOptions:_,containerWidthOffset:z,autoFitColumns:(J=T.autoFitColumns)!==null&&J!==void 0?J:!0})]),pe=S.useRef(null),{findFirstFocusable:me,findLastFocusable:V}=ps(),oe=_e(ge=>{var he;if((he=e.onKeyDown)===null||he===void 0||he.call(e,ge),l==="composite"&&A(ge),!(!pe.current||!ge.ctrlKey||ge.defaultPrevented)){if(ge.key===rh){const Z=pe.current.querySelector('[role="row"]');if(Z){var K;(K=me(Z))===null||K===void 0||K.focus()}}if(ge.key===th){const Z=pe.current.querySelectorAll('[role="row"]');if(Z.length){var ee;const R=Z.item(Z.length-1);(ee=V(R))===null||ee===void 0||ee.focus()}}}});return{...yB({role:"grid",as:"div",noNativeElements:!0,...l==="cell"&&j,...l==="composite"&&O,...e,onKeyDown:oe,...w?te.columnSizing_unstable.getTableProps(e):{}},mt(o,te.tableRef,pe)),focusMode:l,tableState:te,selectableRows:!!c,subtleSelection:y,selectionAppearance:b,resizableColumns:w,compositeRowTabsterAttribute:H}},uC=(e,o)=>S.createElement(UB,{value:o.dataGrid},wB(e,o)),dC={root:"fui-DataGrid"},fC=e=>{"use no memo";return BB(e),e.root.className=re(dC.root,e.root.className),e};function pC(e){const o=CB(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 wc=S.forwardRef((e,o)=>{const n=cC(e,o);return fC(n),Qe("useDataGridStyles_unstable")(n),uC(n,pC(n))});wc.displayName="DataGrid";const hC=(e,o)=>zB({...e,as:"div"},o),mC=e=>NB(e),gC={root:"fui-DataGridHeader"},vC=e=>{"use no memo";return jB(e),e.root.className=re(gC.root,e.root.className),e},kc=S.forwardRef((e,o)=>{const n=hC(e,o);return vC(n),Qe("useDataGridHeaderStyles_unstable")(n),mC(n)});kc.displayName="DataGridHeader";function bC(e){return e.compare.length>0}const yC=(e,o)=>{const n=ym(),{sortable:i}=to(),l=Ve(y=>y.sort.toggleColumnSort),c=Ve(y=>{const b=!!y.columns.find(k=>k.columnId===n&&bC(k));return i?b:!1}),u=Ve(y=>c?y.sort.getSortDirection(n):void 0),f=Ve(y=>y.resizableColumns),p=Ve(y=>y.columnSizing_unstable.getTableHeaderCellProps),{focusMode:m=c?"none":"cell"}=e,g=fs({tabBehavior:"limited-trap-focus"}),v=_e(y=>{var b;c&&l(y,n),(b=e.onClick)===null||b===void 0||b.call(e,y)});return FB({sortable:c,sortDirection:u,as:"div",tabIndex:m!=="none"?0:void 0,...m==="group"&&g,...f?p(n):{},...e,onClick:v},o)},wC=e=>DB(e),Fs={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},kC=e=>{"use no memo";return qB(e),e.root.className=re(Fs.root,e.root.className),e.button&&(e.button.className=re(Fs.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=re(Fs.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=re(Fs.aside,e.aside.className)),e},xc=S.forwardRef((e,o)=>{const n=yC(e,o);return kC(n),Qe("useDataGridHeaderCellStyles_unstable")(n),wC(n)});xc.displayName="DataGridHeaderCell";const xC=(e,{referenceLabel:o,referenceId:n},i)=>{const{checkbox:l={},onSelectionChange:c,floatingAction:u,onClick:f,onKeyDown:p,disabled:m}=e,{findAllFocusable:g}=ps(),v=S.useRef(null),[y,b]=Pr({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),k=[e.selected,e.defaultSelected,c].some(O=>typeof O<"u"),[w,_]=S.useState(!1),C=S.useCallback(O=>{if(!i.current)return!1;const H=g(i.current),J=O.target,te=H.some(me=>me.contains(J)),pe=v?.current===J;return te&&!pe},[i,g]),N=S.useCallback(O=>{if(m||C(O))return;const H=!y;b(H),c&&c(O,{selected:H})},[m,c,y,b,C]),T=S.useCallback(O=>{[_o].includes(O.key)&&(O.preventDefault(),N(O))},[N]),z=S.useMemo(()=>{if(!k||u)return;const O={};return n?O["aria-labelledby"]=n:o&&(O["aria-label"]=o),De(l,{defaultProps:{ref:v,type:"checkbox",checked:y,disabled:m,onChange:H=>N(H),onFocus:()=>_(!0),onBlur:()=>_(!1),...O},elementType:"input"})},[l,m,u,y,k,N,n,o]),j=S.useMemo(()=>{if(u)return De(u,{defaultProps:{ref:v},elementType:"div"})},[u]),A=S.useMemo(()=>k?{onClick:yt(f,N),onKeyDown:yt(p,T)}:null,[k,N,f,p,T]);return{selected:y,selectable:k,selectFocused:w,selectableCardProps:A,checkboxSlot:z,floatingActionSlot:j}},Bm=S.createContext(void 0),Sc={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},SC=Bm.Provider,_C=()=>{var e;return(e=S.useContext(Bm))!==null&&e!==void 0?e:Sc},BC={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},CC=({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=fs({tabBehavior:BC[l]});return o?{interactive:!1,focusAttributes:null}:l==="off"?{interactive:i,focusAttributes:null}:{interactive:i,focusAttributes:{...c,tabIndex:0}}},zC=(e,o)=>{const{appearance:n="filled",orientation:i="vertical",size:l="medium",disabled:c=!1,...u}=e,[f,p]=S.useState(Sc.selectableA11yProps.referenceId),[m,g]=S.useState(Sc.selectableA11yProps.referenceId),v=Ko(),{selectable:y,selected:b,selectableCardProps:k,selectFocused:w,checkboxSlot:_,floatingActionSlot:C}=xC(e,{referenceId:f,referenceLabel:m},v),N=mt(v,o),{interactive:T,focusAttributes:z}=CC(e);let j={...y?null:z,...u,...k};return c&&(j={...u,"aria-disabled":!0,onClick:void 0}),{appearance:n,orientation:i,size:l,interactive:T,selectable:y,selectFocused:w,selected:b,disabled:c,selectableA11yProps:{setReferenceId:p,referenceId:f,referenceLabel:m,setReferenceLabel:g},components:{root:"div",floatingAction:"div",checkbox:"input"},root:Re(pt("div",{ref:N,role:"group",...j}),{elementType:"div"}),floatingAction:C,checkbox:_}},NC=(e,o)=>ae(e.root,{children:ct(SC,{value:o,children:[e.checkbox?ae(e.checkbox,{}):null,e.floatingAction?ae(e.floatingAction,{}):null,e.root.children]})}),Cm={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},TC=de({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)"}]]}),EC=de({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;}"]}),PC=de({root:{mc9l5x:"f22iagw"},header:{Bh6795r:"fqerorx"},image:{},description:{},action:{}},{d:[".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}"]}),jC=e=>{"use no memo";const o=TC(),n=EC(),i=PC(),l=e.description?n:i,c=u=>{var f;return re(Cm[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},_c={root:"fui-Card",floatingAction:"fui-Card__floatingAction",checkbox:"fui-Card__checkbox"},RC=ot("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;}"]),FC=de({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);}"]}),DC=e=>{"use no memo";const o=RC(),n=FC(),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),m=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(_c.root,o,i[e.orientation],l[e.size],c[e.appearance],p&&n.interactive,p&&f[e.appearance],e.selected&&u[e.appearance],m,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(_c.floatingAction,n.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=re(_c.checkbox,n.hiddenCheckbox,e.checkbox.className)),e};function IC({selectableA11yProps:e}){return{selectableA11yProps:e}}const Bc=S.forwardRef((e,o)=>{const n=zC(e,o),i=IC(n);return DC(n),Qe("useCardStyles_unstable")(n),NC(n,i)});Bc.displayName="Card";function OC(e){function o(n){return S.isValidElement(n)&&!!n.props.id}return S.Children.toArray(e).find(o)}function AC(e,o,n){return e||(o?.props.id?o.props.id:n)}const qC=(e,o)=>{const{image:n,header:i,description:l,action:c}=e,{selectableA11yProps:{referenceId:u,setReferenceId:f}}=_C(),p=S.useRef(null),m=S.useRef(!1),g=Ot(Cm.header,u),v=De(i,{renderByDefault:!0,defaultProps:{ref:p,id:m.current?void 0:u},elementType:"div"});return S.useEffect(()=>{var y;const b=m.current||(y=p.current)===null||y===void 0?void 0:y.id,k=OC(v?.children);m.current=!!k,f(AC(b,k,g))},[g,i,v,f]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:Re(pt("div",{ref:o,...e}),{elementType:"div"}),image:De(n,{elementType:"div"}),header:v,description:De(l,{elementType:"div"}),action:De(c,{elementType:"div"})}},MC=e=>ct(e.root,{children:[e.image&&ae(e.image,{}),e.header&&ae(e.header,{}),e.description&&ae(e.description,{}),e.action&&ae(e.action,{})]}),Cc=S.forwardRef((e,o)=>{const n=qC(e,o);return jC(n),Qe("useCardHeaderStyles_unstable")(n),MC(n)});Cc.displayName="CardHeader";const LC=(e,o)=>{const{size:n="medium",disabled:i=!1,root:l,contentBefore:c,dismiss:u,contentAfter:f,value:p,defaultValue:m,...g}=e,v=S.useRef(null),y=S.useRef(null),[b,k]=Pr({state:p,defaultState:m,initialState:""}),[w,_]=S.useState(!1),C=S.useCallback(()=>{_(!0)},[_]),N=S.useCallback(O=>{var H;_(!!(!((H=v.current)===null||H===void 0)&&H.contains(O.relatedTarget)))},[_]),T=Cf(l),z=_e(O=>{var H,J;if(zf(u)){var te;(te=u.onClick)===null||te===void 0||te.call(u,O)}const pe="";k(pe),(H=e.onChange)===null||H===void 0||H.call(e,O,{value:pe}),(J=y.current)===null||J===void 0||J.focus()}),j=M2({type:"search",disabled:i,size:n,value:b,root:Re({...T,ref:mt(T?.ref,v),onFocus:yt(T?.onFocus,C),onBlur:yt(T?.onBlur,N)},{elementType:"span"}),contentBefore:De(c,{renderByDefault:!0,defaultProps:{children:S.createElement(Gk,null)},elementType:"span"}),contentAfter:De(f,{renderByDefault:!0,elementType:"span"}),...g,onChange:_e(O=>{var H;const J=O.target.value;(H=e.onChange)===null||H===void 0||H.call(e,O,{value:J}),k(J)})},mt(y,o)),A={...j,components:{...j.components,dismiss:"span"},dismiss:De(u,{defaultProps:{children:S.createElement(fh,null),role:"button","aria-label":"clear",tabIndex:-1},renderByDefault:!0,elementType:"span"}),disabled:i,focused:w,size:n};return A.dismiss&&(A.dismiss.onClick=z),A},HC=e=>ct(e.root,{children:[e.contentBefore&&ae(e.contentBefore,{}),ae(e.input,{}),e.contentAfter&&ct(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&ae(e.dismiss,{})]})]}),ei={root:"fui-SearchBox",dismiss:"fui-SearchBox__dismiss",contentAfter:"fui-SearchBox__contentAfter",contentBefore:"fui-SearchBox__contentBefore",input:"fui-SearchBox__input"},WC=de({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;}"]}),VC=de({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);}"]}),$C=de({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}]]}),UC=ot("r1pvzcuu",null,[".r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}",".r1pvzcuu>svg{font-size:20px;}"]),GC=de({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;}"]}),KC=e=>{"use no memo";const{disabled:o,focused:n,size:i}=e,l=WC(),c=VC(),u=$C(),f=UC(),p=GC();return e.root.className=re(ei.root,l[i],!n&&l.unfocusedNoContentAfter,e.root.className),e.input.className=re(ei.input,l.input,!n&&c[i],e.input.className),e.dismiss&&(e.dismiss.className=re(ei.dismiss,f,o&&p.disabled,p[i],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=re(ei.contentBefore,e.contentBefore.className)),e.contentAfter?e.contentAfter.className=re(ei.contentAfter,u.contentAfter,!n&&u.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=re(e.dismiss.className,u.contentAfter)),G2(e),e},zm=S.forwardRef((e,o)=>{const n=LC(e,o);return KC(n),Qe("useSearchBoxStyles_unstable")(n),HC(n)});zm.displayName="SearchBox";const XC=Ln({root:{display:"flex",gap:"20px",alignItems:"flex-end",flexWrap:"wrap"},field:{display:"grid",justifyItems:"start",gap:"2px"},dropdown:{minWidth:"200px"},searchInput:{minWidth:"350px"}}),QC=e=>{const o=Ot("entity-type-dropdown"),n=Ot("search-input"),i=Ot("status-dropdown"),l=Ot("user-type-dropdown"),c=Ot("business-unit-dropdown"),u=(b,k)=>{e.onEntityTypeChanged(k.optionValue)},f=(b,k)=>{e.onTextFilterChanged(k.value)},p=(b,k)=>{e.onStatusFilterChanged?.(k.optionValue)},m=(b,k)=>{e.onUserTypeFilterChanged?.(k.optionValue)},g=(b,k)=>{e.onBusinessUnitFilterChanged?.(k.optionValue??"all")},v=_d.useMemo(()=>{const b=new Map;return e.systemUsers.forEach(k=>{k.businessunitid&&b.set(k.businessunitid.businessunitid,k.businessunitid.name)}),e.teams.forEach(k=>{k.businessunitid&&b.set(k.businessunitid.businessunitid,k.businessunitid.name)}),Array.from(b.entries()).map(([k,w])=>({id:k,name:w})).sort((k,w)=>k.name.localeCompare(w.name))},[e.systemUsers,e.teams]),y=XC();return W.jsxs("div",{className:y.root,children:[W.jsxs("div",{className:y.field,children:[W.jsx("label",{htmlFor:o,children:"Entity Type"}),W.jsxs(Xn,{id:o,placeholder:"Select entity type",onOptionSelect:u,className:y.dropdown,value:e.entityType==="systemuser"?"System Users":"Teams",selectedOptions:[e.entityType],children:[W.jsx(dr,{value:"systemuser",text:"System Users",children:"System Users"}),W.jsx(dr,{value:"team",text:"Teams",children:"Teams"})]})]}),e.entityType==="systemuser"&&W.jsxs(W.Fragment,{children:[W.jsxs("div",{className:y.field,children:[W.jsx("label",{htmlFor:i,children:"Status"}),W.jsxs(Xn,{id:i,placeholder:"Enabled",onOptionSelect:p,className:y.dropdown,value:e.statusFilter==="all"?"All":e.statusFilter==="enabled"?"Enabled":"Disabled",selectedOptions:[e.statusFilter??"enabled"],children:[W.jsx(dr,{value:"all",text:"All",children:"All"}),W.jsx(dr,{value:"enabled",text:"Enabled",children:"Enabled"}),W.jsx(dr,{value:"disabled",text:"Disabled",children:"Disabled"})]})]}),W.jsxs("div",{className:y.field,children:[W.jsx("label",{htmlFor:l,children:"User Type"}),W.jsxs(Xn,{id:l,placeholder:"All",onOptionSelect:m,className:y.dropdown,value:e.userTypeFilter==="all"?"All":e.userTypeFilter==="users"?"Users":"Applications",selectedOptions:[e.userTypeFilter??"all"],children:[W.jsx(dr,{value:"all",text:"All",children:"All"}),W.jsx(dr,{value:"users",text:"Users",children:"Users"}),W.jsx(dr,{value:"applications",text:"Applications",children:"Applications"})]})]})]}),W.jsxs("div",{className:y.field,children:[W.jsx("label",{htmlFor:c,children:"Business Unit"}),W.jsxs(Xn,{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:[W.jsx(dr,{value:"all",text:"All",children:"All"}),v.map(b=>W.jsx(dr,{value:b.id,text:b.name,children:b.name},b.id))]})]}),W.jsxs("div",{className:y.field,children:[W.jsx("label",{htmlFor:n,children:"Search"}),W.jsx(zm,{id:n,placeholder:"Search by name...",onChange:f,className:y.searchInput})]})]})},YC=Ln({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%"}}),JC=({entityType:e,systemUsers:o,teams:n,selectedId:i,onSelectionChange:l})=>{const c=YC(),u=S.useMemo(()=>i?new Set([i]):new Set,[i]),f=(g,v)=>{const y=Array.from(v.selectedItems)[0];l(y?String(y):null)},p=[eo({columnId:"fullname",compare:(g,v)=>g.fullname.localeCompare(v.fullname),renderHeaderCell:()=>"Full Name",renderCell:g=>W.jsx("div",{className:c.cellStyles,children:g.fullname})}),eo({columnId:"domainname",compare:(g,v)=>g.domainname.localeCompare(v.domainname),renderHeaderCell:()=>"Domain Name",renderCell:g=>W.jsx("div",{className:c.cellStyles,children:g.domainname})}),eo({columnId:"businessunit",compare:(g,v)=>(g.businessunitid?.name??"").localeCompare(v.businessunitid?.name??""),renderHeaderCell:()=>"Business Unit",renderCell:g=>W.jsx("div",{className:c.cellStyles,children:g.businessunitid?.name??"N/A"})}),eo({columnId:"status",compare:(g,v)=>g.isdisabled===v.isdisabled?0:g.isdisabled?1:-1,renderHeaderCell:()=>"Status",renderCell:g=>W.jsx("div",{className:c.cellStyles,children:g.isdisabled?"Disabled":"Enabled"})})],m=[eo({columnId:"name",compare:(g,v)=>g.name.localeCompare(v.name),renderHeaderCell:()=>"Team Name",renderCell:g=>W.jsx("div",{className:c.cellStyles,children:g.name})}),eo({columnId:"teamtype",compare:(g,v)=>g.teamtype-v.teamtype,renderHeaderCell:()=>"Team Type",renderCell:g=>W.jsx("div",{className:c.cellStyles,children:g.teamtype===0?"Owner":g.teamtype===1?"Access":"Other"})}),eo({columnId:"businessunit",compare:(g,v)=>(g.businessunitid?.name??"").localeCompare(v.businessunitid?.name??""),renderHeaderCell:()=>"Business Unit",renderCell:g=>W.jsx("div",{className:c.cellStyles,children:g.businessunitid?.name??"N/A"})}),eo({columnId:"isdefault",compare:(g,v)=>g.isdefault===v.isdefault?0:g.isdefault?-1:1,renderHeaderCell:()=>"Default Team",renderCell:g=>W.jsx("div",{className:c.cellStyles,children:g.isdefault?"Yes":"No"})})];return e==="systemuser"?W.jsx("div",{className:c.container,children:W.jsxs(wc,{items:o,columns:p,sortable:!0,defaultSortState:{sortColumn:"fullname",sortDirection:"ascending"},className:c.dataGrid,size:"small",selectionMode:"single",selectedItems:u,onSelectionChange:f,getRowId:g=>g.systemuserid,children:[W.jsx(kc,{children:W.jsx(Zn,{children:({renderHeaderCell:g})=>W.jsx(xc,{children:g()})})}),W.jsx(yc,{className:c.dataGridBody,children:({item:g,rowId:v})=>W.jsx(Zn,{children:({renderCell:y})=>W.jsx(gc,{children:y(g)})},v)})]})}):W.jsx("div",{className:c.container,children:W.jsxs(wc,{items:n,columns:m,sortable:!0,defaultSortState:{sortColumn:"name",sortDirection:"ascending"},className:c.dataGrid,size:"small",selectionMode:"single",selectedItems:u,onSelectionChange:f,getRowId:g=>g.teamid,children:[W.jsx(kc,{children:W.jsx(Zn,{children:({renderHeaderCell:g})=>W.jsx(xc,{children:g()})})}),W.jsx(yc,{className:c.dataGridBody,children:({item:g,rowId:v})=>W.jsx(Zn,{children:({renderCell:y})=>W.jsx(gc,{children:y(g)})},v)})]})})},ZC=Ln({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}}),e5=({entityType:e,entityName:o,roles:n,isLoadingRoles:i,userTeams:l=[],isLoadingTeams:c=!1})=>{const u=ZC();return W.jsxs("div",{className:u.panel,children:[W.jsx("div",{className:u.header,children:W.jsx(b_,{children:o})}),W.jsxs("div",{className:u.content,children:[W.jsxs("div",{className:u.section,children:[W.jsx(uc,{className:u.sectionTitle,children:"Security Roles"}),i?W.jsx("div",{className:u.loadingContainer,children:W.jsx(on,{label:"Loading security roles..."})}):n.length===0?W.jsx("div",{className:u.emptyState,children:W.jsx(nn,{children:"No security roles assigned"})}):n.map(f=>W.jsx(Bc,{className:u.roleCard,children:W.jsx(Cc,{header:W.jsxs("div",{className:u.roleHeader,children:[W.jsx("div",{className:u.roleName,children:f.name}),f.ismanaged&&W.jsx($a,{appearance:"tint",color:"informative",children:"Managed"})]}),description:W.jsx("div",{className:u.roleDetails,children:f.businessunitid?`Business Unit: ${f.businessunitid.name}`:"No Business Unit"})})},f.roleid))]}),e==="systemuser"&&W.jsxs("div",{className:u.section,children:[W.jsx(uc,{className:u.sectionTitle,children:"Team Memberships"}),c?W.jsx("div",{className:u.loadingContainer,children:W.jsx(on,{label:"Loading teams..."})}):l.length===0?W.jsx("div",{className:u.emptyState,children:W.jsx(nn,{children:"No team memberships"})}):l.map(f=>W.jsx(Bc,{className:u.teamCard,children:W.jsx(Cc,{header:W.jsxs("div",{className:u.teamHeader,children:[W.jsx("div",{className:u.teamName,children:f.name}),f.isdefault&&W.jsx($a,{appearance:"tint",color:"success",children:"Default"})]}),description:W.jsxs("div",{className:u.teamDetails,children:[W.jsx("div",{children:f.teamtype===0?"Owner Team":f.teamtype===1?"Access Team":"Other"}),f.businessunitid&&W.jsxs("div",{children:["Business Unit: ",f.businessunitid.name]})]})})},f.teamid))]})]})]})},t5=({connection:e})=>{const[o,n]=S.useState([]),[i,l]=S.useState([]),[c,u]=S.useState("systemuser"),[f,p]=S.useState(""),[m,g]=S.useState("enabled"),[v,y]=S.useState("users"),[b,k]=S.useState("all"),[w,_]=S.useState(!1),[C,N]=S.useState(null),[T,z]=S.useState([]),[j,A]=S.useState(!1),[O,H]=S.useState([]),[J,te]=S.useState(!1),[pe,me]=S.useState(!1),[V,oe]=S.useState(!1),ge=Ln({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 he()})()},[e]);const he=S.useCallback(async()=>{try{_(!0);const[M,ie]=await Promise.all([N0(),T0()]);n(M),l(ie),at.info(`Fetched ${M.length} system users and ${ie.length} teams`)}catch(M){at.error(`Error loading data: ${M.message}`)}finally{_(!1)}},[e]),K=S.useCallback(async M=>{if(N(M),!M){z([]),H([]);return}A(!0),z([]),c==="systemuser"&&(te(!0),H([]));try{let ie=[];if(c==="systemuser"){const[ye,ze]=await Promise.all([Ql(M),Yl(M)]);ie=ye,H(ze),at.info(`Fetched ${ie.length} security roles and ${ze.length} teams for user ${M}`)}else ie=await E0(M),at.info(`Fetched ${ie.length} security roles for team ${M}`);z(ie)}catch(ie){at.error(`Error loading data: ${ie.message}`)}finally{A(!1),c==="systemuser"&&te(!1)}},[c]),ee=S.useMemo(()=>{let M=o;if(m!=="all"&&(M=M.filter(ie=>m==="enabled"?!ie.isdisabled:ie.isdisabled)),v!=="all"&&(M=M.filter(ie=>v==="users"?!ie.applicationid:!!ie.applicationid)),b!=="all"&&(M=M.filter(ie=>ie.businessunitid?.businessunitid===b)),f){const ie=f.toLowerCase();M=M.filter(ye=>ye.fullname?.toLowerCase().includes(ie)||ye.domainname?.toLowerCase().includes(ie)||ye.businessunitid?.name?.toLowerCase().includes(ie))}return M},[o,f,m,v,b]),Z=S.useMemo(()=>{let M=i;if(b!=="all"&&(M=M.filter(ie=>ie.businessunitid?.businessunitid===b)),f){const ie=f.toLowerCase();M=M.filter(ye=>ye.name?.toLowerCase().includes(ie)||ye.businessunitid?.name?.toLowerCase().includes(ie))}return M},[i,f,b]),R=S.useCallback(()=>C?c==="systemuser"?o.find(ie=>ie.systemuserid===C)?.fullname??"":i.find(ie=>ie.teamid===C)?.name??"":"",[C,c,o,i]),q=S.useCallback(async()=>{me(!0);try{const M=[];for(const qe of ee){const Lt=await Ql(qe.systemuserid),Yt=await Yl(qe.systemuserid);M.push({user:qe,roles:Lt,teams:Yt})}const ie=new Map,ye=new Map;M.forEach(({roles:qe,teams:Lt})=>{qe.forEach(Yt=>ie.set(Yt.roleid,Yt.name)),Lt.forEach(Yt=>ye.set(Yt.teamid,Yt.name))});const ze=Array.from(ie.entries()).sort((qe,Lt)=>qe[1].localeCompare(Lt[1])),Ne=Array.from(ye.entries()).sort((qe,Lt)=>qe[1].localeCompare(Lt[1])),xe=[],it=["User Name","Domain Name","Business Unit","Status"];ze.forEach(([,qe])=>it.push(`Role: ${qe}`)),Ne.forEach(([,qe])=>it.push(`Team: ${qe}`)),xe.push(it.map(qe=>`"${qe}"`).join(",")),M.forEach(({user:qe,roles:Lt,teams:Yt})=>{const ln=[qe.fullname,qe.domainname,qe.businessunitid?.name??"N/A",qe.isdisabled?"Disabled":"Enabled"];ze.forEach(([Ar])=>{const an=Lt.some(zo=>zo.roleid===Ar);ln.push(an?"X":"")}),Ne.forEach(([Ar])=>{const an=Yt.some(zo=>zo.teamid===Ar);ln.push(an?"X":"")}),xe.push(ln.map(Ar=>`"${Ar}"`).join(","))});const sn=xe.join(`
10
- `),Ds=new Date().toISOString().replace(/[:.]/g,"-");await window.toolboxAPI.utils.saveFile(`user-security-export-${Ds}.csv`,sn),await window.toolboxAPI.utils.showNotification({title:"Export Successful",body:"User security data has been exported to CSV successfully.",type:"success"}),at.info("Exported data to CSV successfully")}catch(M){at.error(`Error exporting to CSV: ${M.message}`)}finally{me(!1)}},[ee]),ce=S.useCallback(async()=>{oe(!0);try{const M=[];M.push("# User Security Report"),M.push(""),M.push(`Generated: ${new Date().toLocaleString()}`),M.push("");for(const ye of ee){const ze=await Ql(ye.systemuserid),Ne=await Yl(ye.systemuserid);M.push(""),M.push(`## ${ye.fullname}`),M.push(""),M.push(`- **Domain Name:** ${ye.domainname}`),M.push(`- **Business Unit:** ${ye.businessunitid?.name??"N/A"}`),M.push(`- **Status:** ${ye.isdisabled?"Disabled":"Enabled"}`),ze.length>0?(M.push(""),M.push("### Security Roles"),M.push(""),ze.forEach(xe=>{M.push(`- ${xe.name}${xe.ismanaged?" (Managed)":""}${xe.businessunitid?` - ${xe.businessunitid.name}`:""}`)})):(M.push(""),M.push("*No security roles assigned*")),Ne.length>0?(M.push(""),M.push("### Team Memberships"),M.push(""),Ne.forEach(xe=>{const it=xe.teamtype===0?"Owner":xe.teamtype===1?"Access":"Other";M.push(`- ${xe.name} (${it})${xe.isdefault?" [Default]":""}${xe.businessunitid?` - ${xe.businessunitid.name}`:""}`)})):(M.push(""),M.push("*No team memberships*"))}const ie=M.join(`
11
- `);await window.toolboxAPI.utils.copyToClipboard(ie),await window.toolboxAPI.utils.showNotification({title:"Copy Successful",body:"User security data has been copied to clipboard as Markdown successfully.",type:"success"}),at.info("Copied data to clipboard as Markdown successfully")}catch(M){at.error(`Error exporting to Markdown: ${M.message}`)}finally{oe(!1)}},[ee]);return W.jsx("div",{className:ge.overviewRoot,children:w?W.jsx("div",{className:ge.loadingContainer,children:W.jsx(on,{label:"Loading data...",size:"large"})}):W.jsxs(W.Fragment,{children:[W.jsxs("div",{className:ge.filterSection,children:[W.jsx(QC,{entityType:c,systemUsers:o,teams:i,statusFilter:m,userTypeFilter:v,businessUnitFilter:b,onEntityTypeChanged:M=>{at.info(`Entity type changed to: ${M}`),u(M),p(""),g("enabled"),y("all"),k("all"),N(null),z([]),H([])},onTextFilterChanged:M=>{p(M)},onStatusFilterChanged:M=>{at.info(`Status filter changed to: ${M}`),g(M)},onUserTypeFilterChanged:M=>{at.info(`User type filter changed to: ${M}`),y(M)},onBusinessUnitFilterChanged:M=>{at.info(`Business unit filter changed to: ${M}`),k(M)}}),c==="systemuser"&&W.jsxs("div",{className:ge.buttonContainer,children:[W.jsx(ic,{appearance:"primary",icon:pe?W.jsx(on,{size:"tiny"}):W.jsx(Uk,{}),onClick:q,disabled:pe||V||ee.length===0,children:pe?"Exporting...":"Export to CSV"}),W.jsx(ic,{appearance:"secondary",icon:V?W.jsx(on,{size:"tiny"}):W.jsx($k,{}),onClick:ce,disabled:pe||V||ee.length===0,children:V?"Copying...":"Copy as Markdown"})]})]}),W.jsxs("div",{className:ge.dataSection,children:[W.jsxs("div",{className:ge.gridSection,children:[c==="systemuser"&&ee.length===0&&W.jsx(nn,{children:"No system users found."}),c==="team"&&Z.length===0&&W.jsx(nn,{children:"No teams found."}),(c==="systemuser"&&ee.length>0||c==="team"&&Z.length>0)&&W.jsx(JC,{entityType:c,systemUsers:ee,teams:Z,selectedId:C,onSelectionChange:K})]}),C&&W.jsx(e5,{entityType:c,entityName:R(),roles:T,isLoadingRoles:j,userTeams:O,isLoadingTeams:J})]})]})})};function r5(){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 o5(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 n5=""+new URL("user-team-security_small-B9V3XVfW.png",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href,i5=Ln({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 s5(){const{connection:e,refreshConnection:o}=r5(),[n,i]=S.useState(Gp),l=i5(),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(),at.info("Settings updated");break}},[o]);async function u(){const f=await window.toolboxAPI.utils.getCurrentTheme();i(f==="dark"?Gp:fk),at.info(`Theme updated:${f}`)}return o5(c),S.useEffect(()=>{(async()=>{await u(),at.info("Initialized")})()},[]),W.jsx(Xp,{theme:n,children:W.jsxs("div",{className:l.container,children:[W.jsxs("div",{className:l.header,children:[W.jsx("img",{src:n5,alt:"User & Team Security Viewer Icon",className:l.headerIcon}),W.jsxs("div",{className:l.headerTitle,children:[W.jsx(uc,{children:"User & Team Security Documentation Generator"}),W.jsx(nn,{className:l.subtitle,children:"A Power Platform Tool Box tool to show user & team security easily."})]})]}),W.jsx("div",{className:l.content,children:W.jsx(t5,{connection:e})})]})})}const ti=document.getElementById("root");ti&&!ti.hasAttribute("data-reactroot-initialized")?(ti.setAttribute("data-reactroot-initialized","true"),C0.createRoot(ti).render(W.jsx(S.StrictMode,{children:W.jsx(s5,{})}))):ti||console.error('Root element not found. Make sure the HTML contains <div id="root"></div>')})();