@cyco77/pptb-ownership-mover 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -0
- package/README.md +44 -0
- package/dist/assets/index-CoMOMTmV.js +23 -0
- package/dist/assets/ownership-mover_logo-DI95f7fI.png +0 -0
- package/dist/index.html +14 -0
- package/index.html +12 -0
- package/npm-shrinkwrap.json +2748 -0
- package/package.json +67 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
(function(){var e=document.createElement(`style`);e.textContent=`*{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6}#root{height:100vh}[role=grid] [role=rowgroup]:first-child{z-index:10;background-color:var(--colorNeutralBackground1,#fff);position:sticky;top:0}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(e);var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},l=(e,r,i)=>(i=e==null?{}:t(a(e)),c(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),u=s((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function ee(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function E(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function te(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ne=/\/+/g;function D(e,t){return typeof e==`object`&&e&&e.key!=null?te(``+e.key):t.toString(36)}function re(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+D(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(ne,`$&/`)+`/`),re(o,r,i,``,function(e){return e})):o!=null&&(E(o)&&(o=ee(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(ne,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+D(s,l);c+=re(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+D(s,l++),c+=re(s,r,i,u,o);else if(s===`object`)throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`);return c}function ie(e,t,n){if(e==null)return e;var r=[],i=0;return re(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ae(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var oe={current:null},se={transition:null},ce={ReactCurrentDispatcher:oe,ReactCurrentBatchConfig:se,ReactCurrentOwner:C};function le(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:ie,forEach:function(e,t,n){ie(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ie(e,function(){t++}),t},toArray:function(e){return ie(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ce,e.act=le,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=E,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ae}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=se.transition;se.transition={};try{e()}finally{se.transition=t}},e.unstable_act=le,e.useCallback=function(e,t){return oe.current.useCallback(e,t)},e.useContext=function(e){return oe.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return oe.current.useDeferredValue(e)},e.useEffect=function(e,t){return oe.current.useEffect(e,t)},e.useId=function(){return oe.current.useId()},e.useImperativeHandle=function(e,t,n){return oe.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return oe.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return oe.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return oe.current.useMemo(e,t)},e.useReducer=function(e,t,n){return oe.current.useReducer(e,t,n)},e.useRef=function(e){return oe.current.useRef(e)},e.useState=function(e){return oe.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return oe.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return oe.current.useTransition()},e.version=`18.3.1`})),d=s(((e,t)=>{t.exports=u()})),f=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=typeof setTimeout==`function`?setTimeout:null,_=typeof clearTimeout==`function`?clearTimeout:null,v=typeof setImmediate<`u`?setImmediate:null;typeof navigator<`u`&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function b(e){if(h=!1,y(e),!m)if(n(c)!==null)m=!0,ie(x);else{var t=n(l);t!==null&&ae(b,t.startTime-e)}}function x(t,i){m=!1,h&&(h=!1,_(w),w=-1),p=!0;var a=f;try{for(y(i),d=n(c);d!==null&&(!(d.expirationTime>i)||t&&!E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=i);i=e.unstable_now(),typeof s==`function`?d.callback=s:d===n(c)&&r(c),y(i)}else r(c);d=n(c)}if(d!==null)var u=!0;else{var g=n(l);g!==null&&ae(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,w=-1,T=5,ee=-1;function E(){return!(e.unstable_now()-ee<T)}function te(){if(C!==null){var t=e.unstable_now();ee=t;var n=!0;try{n=C(!0,t)}finally{n?ne():(S=!1,C=null)}}else S=!1}var ne;if(typeof v==`function`)ne=function(){v(te)};else if(typeof MessageChannel<`u`){var D=new MessageChannel,re=D.port2;D.port1.onmessage=te,ne=function(){re.postMessage(null)}}else ne=function(){g(te,0)};function ie(e){C=e,S||(S=!0,ne())}function ae(t,n){w=g(function(){t(e.unstable_now())},n)}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(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,ie(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):T=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(_(w),w=-1):h=!0,ae(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ie(x))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{var t=d(),n=p();function r(e){for(var t=`https://reactjs.org/docs/error-decoder.html?invariant=`+e,n=1;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n]);return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=new Set,a={};function o(e,t){s(e,t),s(e+`Capture`,t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),l=Object.prototype.hasOwnProperty,u=/^[: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]*$/,f={},m={};function h(e){return l.call(m,e)?!0:l.call(f,e)?!1:u.test(e)?m[e]=!0:(f[e]=!0,!1)}function g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case`function`:case`symbol`:return!0;case`boolean`:return r?!1:n===null?(e=e.toLowerCase().slice(0,5),e!==`data-`&&e!==`aria-`):!n.acceptsBooleans;default:return!1}}function _(e,t,n,r){if(t==null||g(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function v(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};`children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style`.split(` `).forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(function(e){y[e]=new v(e,2,!1,e,null,!1,!1)}),`allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope`.split(` `).forEach(function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}`accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,null,!1,!1)}),`xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v(`xlinkHref`,1,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function S(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(i===null?r||!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`:i.type!==0)&&(_(t,n,i,r)&&(n=null),r||i===null?h(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,``+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:``:n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&!0===n?``:``+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for(`react.element`),T=Symbol.for(`react.portal`),ee=Symbol.for(`react.fragment`),E=Symbol.for(`react.strict_mode`),te=Symbol.for(`react.profiler`),ne=Symbol.for(`react.provider`),D=Symbol.for(`react.context`),re=Symbol.for(`react.forward_ref`),ie=Symbol.for(`react.suspense`),ae=Symbol.for(`react.suspense_list`),oe=Symbol.for(`react.memo`),se=Symbol.for(`react.lazy`),ce=Symbol.for(`react.offscreen`),le=Symbol.iterator;function ue(e){return typeof e!=`object`||!e?null:(e=le&&e[le]||e[`@@iterator`],typeof e==`function`?e:null)}var de=Object.assign,fe;function pe(e){if(fe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);fe=t&&t[1]||``}return`
|
|
3
|
+
`+fe+e}var me=!1;function he(e,t){if(!e||me)return``;me=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&typeof t.stack==`string`){for(var i=t.stack.split(`
|
|
4
|
+
`),a=r.stack.split(`
|
|
5
|
+
`),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var c=`
|
|
6
|
+
`+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(`<anonymous>`)&&(c=c.replace(`<anonymous>`,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{me=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?pe(e):``}function ge(e){switch(e.tag){case 5:return pe(e.type);case 16:return pe(`Lazy`);case 13:return pe(`Suspense`);case 19:return pe(`SuspenseList`);case 0:case 2:case 15:return e=he(e.type,!1),e;case 11:return e=he(e.type.render,!1),e;case 1:return e=he(e.type,!0),e;default:return``}}function _e(e){if(e==null)return null;if(typeof e==`function`)return e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case ee:return`Fragment`;case T:return`Portal`;case te:return`Profiler`;case E:return`StrictMode`;case ie:return`Suspense`;case ae:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case D:return(e.displayName||`Context`)+`.Consumer`;case ne:return(e._context.displayName||`Context`)+`.Provider`;case re:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case oe:return t=e.displayName||null,t===null?_e(e.type)||`Memo`:t;case se:t=e._payload,e=e._init;try{return _e(e(t))}catch{}}return null}function ve(e){var t=e.type;switch(e.tag){case 24:return`Cache`;case 9:return(t.displayName||`Context`)+`.Consumer`;case 10:return(t._context.displayName||`Context`)+`.Provider`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return _e(t);case 8:return t===E?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t}return null}function O(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function ye(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function be(e){var t=ye(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xe(e){e._valueTracker||=be(e)}function Se(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=ye(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Ce(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function we(e,t){var n=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Te(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=O(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function Ee(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function De(e,t){Ee(e,t);var n=O(t.value),r=t.type;if(n!=null)r===`number`?(n===0&&e.value===``||e.value!=n)&&(e.value=``+n):e.value!==``+n&&(e.value=``+n);else if(r===`submit`||r===`reset`){e.removeAttribute(`value`);return}t.hasOwnProperty(`value`)?ke(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&ke(e,t.type,O(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Oe(e,t,n){if(t.hasOwnProperty(`value`)||t.hasOwnProperty(`defaultValue`)){var r=t.type;if(!(r!==`submit`&&r!==`reset`||t.value!==void 0&&t.value!==null))return;t=``+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==``&&(e.name=``),e.defaultChecked=!!e._wrapperState.initialChecked,n!==``&&(e.name=n)}function ke(e,t,n){(t!==`number`||Ce(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var Ae=Array.isArray;function je(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+O(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Me(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return de({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function Ne(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(r(92));if(Ae(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:O(n)}}function Pe(e,t){var n=O(t.value),r=O(t.defaultValue);n!=null&&(n=``+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=``+r)}function Fe(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function Ie(e){switch(e){case`svg`:return`http://www.w3.org/2000/svg`;case`math`:return`http://www.w3.org/1998/Math/MathML`;default:return`http://www.w3.org/1999/xhtml`}}function Le(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?Ie(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var Re,ze=function(e){return typeof MSApp<`u`&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==`http://www.w3.org/2000/svg`||`innerHTML`in e)e.innerHTML=t;else{for(Re||=document.createElement(`div`),Re.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=Re.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ve={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},He=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Ve).forEach(function(e){He.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ve[t]=Ve[e]})});function Ue(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Ve.hasOwnProperty(e)&&Ve[e]?(``+t).trim():t+`px`}function We(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=Ue(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var Ge=de({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 k(e,t){if(t){if(Ge[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function Ke(e,t){if(e.indexOf(`-`)===-1)return typeof t.is==`string`;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var qe=null;function Je(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ye=null,Xe=null,Ze=null;function Qe(e){if(e=Hi(e)){if(typeof Ye!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=Wi(t),Ye(e.stateNode,e.type,t))}}function $e(e){Xe?Ze?Ze.push(e):Ze=[e]:Xe=e}function et(){if(Xe){var e=Xe,t=Ze;if(Ze=Xe=null,Qe(e),t)for(e=0;e<t.length;e++)Qe(t[e])}}function tt(e,t){return e(t)}function nt(){}var rt=!1;function it(e,t,n){if(rt)return e(t,n);rt=!0;try{return tt(e,t,n)}finally{rt=!1,(Xe!==null||Ze!==null)&&(nt(),et())}}function at(e,t){var n=e.stateNode;if(n===null)return null;var i=Wi(n);if(i===null)return null;n=i[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(i=!i.disabled)||(e=e.type,i=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!i;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(r(231,t,typeof n));return n}var ot=!1;if(c)try{var st={};Object.defineProperty(st,"passive",{get:function(){ot=!0}}),window.addEventListener(`test`,st,st),window.removeEventListener(`test`,st,st)}catch{ot=!1}function ct(e,t,n,r,i,a,o,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var lt=!1,ut=null,dt=!1,ft=null,pt={onError:function(e){lt=!0,ut=e}};function mt(e,t,n,r,i,a,o,s,c){lt=!1,ut=null,ct.apply(pt,arguments)}function ht(e,t,n,i,a,o,s,c,l){if(mt.apply(this,arguments),lt){if(lt){var u=ut;lt=!1,ut=null}else throw Error(r(198));dt||(dt=!0,ft=u)}}function gt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function _t(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function vt(e){if(gt(e)!==e)throw Error(r(188))}function yt(e){var t=e.alternate;if(!t){if(t=gt(e),t===null)throw Error(r(188));return t===e?e:null}for(var n=e,i=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return vt(a),e;if(o===i)return vt(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=o;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function bt(e){return e=yt(e),e===null?null:xt(e)}function xt(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xt(e);if(t!==null)return t;e=e.sibling}return null}var St=n.unstable_scheduleCallback,Ct=n.unstable_cancelCallback,wt=n.unstable_shouldYield,Tt=n.unstable_requestPaint,A=n.unstable_now,Et=n.unstable_getCurrentPriorityLevel,Dt=n.unstable_ImmediatePriority,Ot=n.unstable_UserBlockingPriority,kt=n.unstable_NormalPriority,At=n.unstable_LowPriority,jt=n.unstable_IdlePriority,Mt=null,Nt=null;function Pt(e){if(Nt&&typeof Nt.onCommitFiberRoot==`function`)try{Nt.onCommitFiberRoot(Mt,e,void 0,(e.current.flags&128)==128)}catch{}}var j=Math.clz32?Math.clz32:Lt,Ft=Math.log,It=Math.LN2;function Lt(e){return e>>>=0,e===0?32:31-(Ft(e)/It|0)|0}var Rt=64,zt=4194304;function Bt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Vt(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=Bt(a))):r=Bt(s)}else o=n&~i,o===0?a!==0&&(r=Bt(a)):r=Bt(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-j(t),i=1<<n,r|=e[n],t&=~i;return r}function Ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ut(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-j(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ht(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function Wt(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function Gt(){var e=Rt;return Rt<<=1,!(Rt&4194240)&&(Rt=64),e}function Kt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function qt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-j(t),e[t]=n}function Jt(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-j(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-j(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var M=0;function Xt(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Zt,Qt,$t,en,tn,nn=!1,rn=[],an=null,on=null,sn=null,cn=new Map,ln=new Map,un=[],dn=`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 fn(e,t){switch(e){case`focusin`:case`focusout`:an=null;break;case`dragenter`:case`dragleave`:on=null;break;case`mouseover`:case`mouseout`:sn=null;break;case`pointerover`:case`pointerout`:cn.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:ln.delete(t.pointerId)}}function pn(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Hi(t),t!==null&&Qt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function mn(e,t,n,r,i){switch(t){case`focusin`:return an=pn(an,e,t,n,r,i),!0;case`dragenter`:return on=pn(on,e,t,n,r,i),!0;case`mouseover`:return sn=pn(sn,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return cn.set(a,pn(cn.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,ln.set(a,pn(ln.get(a)||null,e,t,n,r,i)),!0}return!1}function hn(e){var t=Vi(e.target);if(t!==null){var n=gt(t);if(n!==null){if(t=n.tag,t===13){if(t=_t(n),t!==null){e.blockedOn=t,tn(e.priority,function(){$t(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gn(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Dn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);qe=r,n.target.dispatchEvent(r),qe=null}else return t=Hi(n),t!==null&&Qt(t),e.blockedOn=n,!1;t.shift()}return!0}function _n(e,t,n){gn(e)&&n.delete(t)}function vn(){nn=!1,an!==null&&gn(an)&&(an=null),on!==null&&gn(on)&&(on=null),sn!==null&&gn(sn)&&(sn=null),cn.forEach(_n),ln.forEach(_n)}function yn(e,t){e.blockedOn===t&&(e.blockedOn=null,nn||(nn=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,vn)))}function bn(e){function t(t){return yn(t,e)}if(0<rn.length){yn(rn[0],e);for(var n=1;n<rn.length;n++){var r=rn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(an!==null&&yn(an,e),on!==null&&yn(on,e),sn!==null&&yn(sn,e),cn.forEach(t),ln.forEach(t),n=0;n<un.length;n++)r=un[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<un.length&&(n=un[0],n.blockedOn===null);)hn(n),n.blockedOn===null&&un.shift()}var xn=C.ReactCurrentBatchConfig,Sn=!0;function Cn(e,t,n,r){var i=M,a=xn.transition;xn.transition=null;try{M=1,Tn(e,t,n,r)}finally{M=i,xn.transition=a}}function wn(e,t,n,r){var i=M,a=xn.transition;xn.transition=null;try{M=4,Tn(e,t,n,r)}finally{M=i,xn.transition=a}}function Tn(e,t,n,r){if(Sn){var i=Dn(e,t,n,r);if(i===null)mi(e,t,r,En,n),fn(e,r);else if(mn(i,e,t,n,r))r.stopPropagation();else if(fn(e,r),t&4&&-1<dn.indexOf(e)){for(;i!==null;){var a=Hi(i);if(a!==null&&Zt(a),a=Dn(e,t,n,r),a===null&&mi(e,t,r,En,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else mi(e,t,r,null,n)}}var En=null;function Dn(e,t,n,r){if(En=null,e=Je(r),e=Vi(e),e!==null)if(t=gt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=_t(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return En=e,null}function On(e){switch(e){case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 1;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`toggle`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 4;case`message`:switch(Et()){case Dt:return 1;case Ot:return 4;case kt:case At:return 16;case jt:return 536870912;default:return 16}default:return 16}}var kn=null,An=null,jn=null;function Mn(){if(jn)return jn;var e,t=An,n=t.length,r,i=`value`in kn?kn.value:kn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return jn=i.slice(e,1<r?1-r:void 0)}function Nn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Pn(){return!0}function Fn(){return!1}function In(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Pn:Fn,this.isPropagationStopped=Fn,this}return de(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Pn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Pn)},persist:function(){},isPersistent:Pn}),t}var Ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rn=In(Ln),zn=de({},Ln,{view:0,detail:0}),Bn=In(zn),Vn,Hn,Un,Wn=de({},zn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Un&&(Un&&e.type===`mousemove`?(Vn=e.screenX-Un.screenX,Hn=e.screenY-Un.screenY):Hn=Vn=0,Un=e),Vn)},movementY:function(e){return`movementY`in e?e.movementY:Hn}}),Gn=In(Wn),Kn=In(de({},Wn,{dataTransfer:0})),qn=In(de({},zn,{relatedTarget:0})),Jn=In(de({},Ln,{animationName:0,elapsedTime:0,pseudoElement:0})),Yn=In(de({},Ln,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Xn=In(de({},Ln,{data:0})),Zn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Qn={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`},$n={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$n[e])?!!t[e]:!1}function tr(){return er}var nr=In(de({},zn,{key:function(e){if(e.key){var t=Zn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Nn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Qn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tr,charCode:function(e){return e.type===`keypress`?Nn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Nn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),rr=In(de({},Wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ir=In(de({},zn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tr})),ar=In(de({},Ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),N=In(de({},Wn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),or=[9,13,27,32],sr=c&&`CompositionEvent`in window,cr=null;c&&`documentMode`in document&&(cr=document.documentMode);var lr=c&&`TextEvent`in window&&!cr,ur=c&&(!sr||cr&&8<cr&&11>=cr),P=` `,F=!1;function dr(e,t){switch(e){case`keyup`:return or.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function fr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var pr=!1;function mr(e,t){switch(e){case`compositionend`:return fr(t);case`keypress`:return t.which===32?(F=!0,P):null;case`textInput`:return e=t.data,e===P&&F?null:e;default:return null}}function I(e,t){if(pr)return e===`compositionend`||!sr&&dr(e,t)?(e=Mn(),jn=An=kn=null,pr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return ur&&t.locale!==`ko`?null:t.data;default:return null}}var hr={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 gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!hr[e.type]:t===`textarea`}function _r(e,t,n,r){$e(r),t=gi(t,`onChange`),0<t.length&&(n=new Rn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var vr=null,yr=null;function br(e){li(e,0)}function xr(e){if(Se(Ui(e)))return e}function Sr(e,t){if(e===`change`)return t}var Cr=!1;if(c){var wr;if(c){var Tr=`oninput`in document;if(!Tr){var Er=document.createElement(`div`);Er.setAttribute(`oninput`,`return;`),Tr=typeof Er.oninput==`function`}wr=Tr}else wr=!1;Cr=wr&&(!document.documentMode||9<document.documentMode)}function Dr(){vr&&(vr.detachEvent(`onpropertychange`,Or),yr=vr=null)}function Or(e){if(e.propertyName===`value`&&xr(yr)){var t=[];_r(t,yr,e,Je(e)),it(br,t)}}function kr(e,t,n){e===`focusin`?(Dr(),vr=t,yr=n,vr.attachEvent(`onpropertychange`,Or)):e===`focusout`&&Dr()}function Ar(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return xr(yr)}function jr(e,t){if(e===`click`)return xr(t)}function Mr(e,t){if(e===`input`||e===`change`)return xr(t)}function Nr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Pr=typeof Object.is==`function`?Object.is:Nr;function Fr(e,t){if(Pr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l.call(t,i)||!Pr(e[i],t[i]))return!1}return!0}function Ir(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lr(e,t){var n=Ir(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Ir(n)}}function Rr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zr(){for(var e=window,t=Ce();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ce(e.document)}return t}function Br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Vr(e){var t=zr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Rr(n.ownerDocument.documentElement,n)){if(r!==null&&Br(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),`selectionStart`in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Lr(n,a);var o=Lr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==`function`&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hr=c&&`documentMode`in document&&11>=document.documentMode,Ur=null,L=null,Wr=null,Gr=!1;function Kr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Gr||Ur==null||Ur!==Ce(r)||(r=Ur,`selectionStart`in r&&Br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Wr&&Fr(Wr,r)||(Wr=r,r=gi(L,`onSelect`),0<r.length&&(t=new Rn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Ur)))}function qr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Jr={animationend:qr(`Animation`,`AnimationEnd`),animationiteration:qr(`Animation`,`AnimationIteration`),animationstart:qr(`Animation`,`AnimationStart`),transitionend:qr(`Transition`,`TransitionEnd`)},Yr={},Xr={};c&&(Xr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Jr.animationend.animation,delete Jr.animationiteration.animation,delete Jr.animationstart.animation),`TransitionEvent`in window||delete Jr.transitionend.transition);function Zr(e){if(Yr[e])return Yr[e];if(!Jr[e])return e;var t=Jr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Xr)return Yr[e]=t[n];return e}var Qr=Zr(`animationend`),$r=Zr(`animationiteration`),ei=Zr(`animationstart`),ti=Zr(`transitionend`),ni=new Map,ri=`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 ii(e,t){ni.set(e,t),o(t,[e])}for(var ai=0;ai<ri.length;ai++){var oi=ri[ai];ii(oi.toLowerCase(),`on`+(oi[0].toUpperCase()+oi.slice(1)))}ii(Qr,`onAnimationEnd`),ii($r,`onAnimationIteration`),ii(ei,`onAnimationStart`),ii(`dblclick`,`onDoubleClick`),ii(`focusin`,`onFocus`),ii(`focusout`,`onBlur`),ii(ti,`onTransitionEnd`),s(`onMouseEnter`,[`mouseout`,`mouseover`]),s(`onMouseLeave`,[`mouseout`,`mouseover`]),s(`onPointerEnter`,[`pointerout`,`pointerover`]),s(`onPointerLeave`,[`pointerout`,`pointerover`]),o(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),o(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),o(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),o(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var si=`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(` `),R=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(si));function ci(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,ht(r,t,void 0,e),e.currentTarget=null}function li(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;ci(i,s,l),a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;ci(i,s,l),a=c}}}if(dt)throw e=ft,dt=!1,ft=null,e}function z(e,t){var n=t[Ri];n===void 0&&(n=t[Ri]=new Set);var r=e+`__bubble`;n.has(r)||(pi(t,e,2,!1),n.add(r))}function ui(e,t,n){var r=0;t&&(r|=4),pi(n,e,r,t)}var di=`_reactListening`+Math.random().toString(36).slice(2);function fi(e){if(!e[di]){e[di]=!0,i.forEach(function(t){t!==`selectionchange`&&(R.has(t)||ui(t,!1,e),ui(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[di]||(t[di]=!0,ui(`selectionchange`,!1,t))}}function pi(e,t,n,r){switch(On(t)){case 1:var i=Cn;break;case 4:i=wn;break;default:i=Tn}n=i.bind(null,t,n,e),i=void 0,!ot||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function mi(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;s!==null;){if(o=Vi(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}it(function(){var r=a,i=Je(n),o=[];a:{var s=ni.get(e);if(s!==void 0){var c=Rn,l=e;switch(e){case`keypress`:if(Nn(n)===0)break a;case`keydown`:case`keyup`:c=nr;break;case`focusin`:l=`focus`,c=qn;break;case`focusout`:l=`blur`,c=qn;break;case`beforeblur`:case`afterblur`:c=qn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=Gn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Kn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=ir;break;case Qr:case $r:case ei:c=Jn;break;case ti:c=ar;break;case`scroll`:c=Bn;break;case`wheel`:c=N;break;case`copy`:case`cut`:case`paste`:c=Yn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=rr}var u=(t&4)!=0,d=!u&&e===`scroll`,f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){m=p;var h=m.stateNode;if(m.tag===5&&h!==null&&(m=h,f!==null&&(h=at(p,f),h!=null&&u.push(hi(p,h,m)))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==qe&&(l=n.relatedTarget||n.fromElement)&&(Vi(l)||l[Li]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Vi(l):null,l!==null&&(d=gt(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=Gn,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=rr,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Ui(c),m=l==null?s:Ui(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Vi(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=c,f=l,p=0,m=u;m;m=_i(m))p++;for(m=0,h=f;h;h=_i(h))m++;for(;0<p-m;)u=_i(u),p--;for(;0<m-p;)f=_i(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=_i(u),f=_i(f)}u=null}else u=null;c!==null&&vi(o,s,c,u,!1),l!==null&&d!==null&&vi(o,d,l,u,!0)}}a:{if(s=r?Ui(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=Sr;else if(gr(s))if(Cr)g=Mr;else{g=Ar;var _=kr}else (c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=jr);if(g&&=g(e,r)){_r(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&ke(s,`number`,s.value)}switch(_=r?Ui(r):window,e){case`focusin`:(gr(_)||_.contentEditable===`true`)&&(Ur=_,L=r,Wr=null);break;case`focusout`:Wr=L=Ur=null;break;case`mousedown`:Gr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Gr=!1,Kr(o,n,i);break;case`selectionchange`:if(Hr)break;case`keydown`:case`keyup`:Kr(o,n,i)}var v;if(sr)b:{switch(e){case`compositionstart`:var y=`onCompositionStart`;break b;case`compositionend`:y=`onCompositionEnd`;break b;case`compositionupdate`:y=`onCompositionUpdate`;break b}y=void 0}else pr?dr(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(ur&&n.locale!==`ko`&&(pr||y!==`onCompositionStart`?y===`onCompositionEnd`&&pr&&(v=Mn()):(kn=i,An=`value`in kn?kn.value:kn.textContent,pr=!0)),_=gi(r,y),0<_.length&&(y=new Xn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=fr(n),v!==null&&(y.data=v)))),(v=lr?mr(e,n):I(e,n))&&(r=gi(r,`onBeforeInput`),0<r.length&&(i=new Xn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}li(o,t)})}function hi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function gi(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=at(e,n),a!=null&&r.unshift(hi(e,a,i)),a=at(e,t),a!=null&&r.push(hi(e,a,i))),e=e.return}return r}function _i(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function vi(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(c!==null&&c===r)break;s.tag===5&&l!==null&&(s=l,i?(c=at(n,a),c!=null&&o.unshift(hi(n,c,s))):i||(c=at(n,a),c!=null&&o.push(hi(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var yi=/\r\n?/g,bi=/\u0000|\uFFFD/g;function B(e){return(typeof e==`string`?e:``+e).replace(yi,`
|
|
7
|
+
`).replace(bi,``)}function xi(e,t,n){if(t=B(t),B(e)!==t&&n)throw Error(r(425))}function Si(){}var Ci=null,wi=null;function Ti(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ei=typeof setTimeout==`function`?setTimeout:void 0,Di=typeof clearTimeout==`function`?clearTimeout:void 0,Oi=typeof Promise==`function`?Promise:void 0,ki=typeof queueMicrotask==`function`?queueMicrotask:Oi===void 0?Ei:function(e){return Oi.resolve(null).then(e).catch(Ai)};function Ai(e){setTimeout(function(){throw e})}function ji(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),bn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);bn(t)}function Mi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function Ni(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Pi=Math.random().toString(36).slice(2),Fi=`__reactFiber$`+Pi,Ii=`__reactProps$`+Pi,Li=`__reactContainer$`+Pi,Ri=`__reactEvents$`+Pi,zi=`__reactListeners$`+Pi,Bi=`__reactHandles$`+Pi;function Vi(e){var t=e[Fi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Li]||n[Fi]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ni(e);e!==null;){if(n=e[Fi])return n;e=Ni(e)}return t}e=n,n=e.parentNode}return null}function Hi(e){return e=e[Fi]||e[Li],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ui(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Wi(e){return e[Ii]||null}var Gi=[],Ki=-1;function qi(e){return{current:e}}function Ji(e){0>Ki||(e.current=Gi[Ki],Gi[Ki]=null,Ki--)}function V(e,t){Ki++,Gi[Ki]=e.current,e.current=t}var Yi={},Xi=qi(Yi),Zi=qi(!1),Qi=Yi;function $i(e,t){var n=e.type.contextTypes;if(!n)return Yi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ea(e){return e=e.childContextTypes,e!=null}function ta(){Ji(Zi),Ji(Xi)}function H(e,t,n){if(Xi.current!==Yi)throw Error(r(168));V(Xi,t),V(Zi,n)}function na(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,ve(e)||`Unknown`,a));return de({},n,i)}function ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yi,Qi=Xi.current,V(Xi,e),V(Zi,Zi.current),!0}function ia(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=na(e,t,Qi),i.__reactInternalMemoizedMergedChildContext=e,Ji(Zi),Ji(Xi),V(Xi,e)):Ji(Zi),V(Zi,n)}var U=null,aa=!1,oa=!1;function sa(e){U===null?U=[e]:U.push(e)}function ca(e){aa=!0,sa(e)}function la(){if(!oa&&U!==null){oa=!0;var e=0,t=M;try{var n=U;for(M=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}U=null,aa=!1}catch(t){throw U!==null&&(U=U.slice(e+1)),St(Dt,la),t}finally{M=t,oa=!1}}return null}var ua=[],da=0,fa=null,pa=0,ma=[],ha=0,ga=null,_a=1,va=``;function ya(e,t){ua[da++]=pa,ua[da++]=fa,fa=e,pa=t}function ba(e,t,n){ma[ha++]=_a,ma[ha++]=va,ma[ha++]=ga,ga=e;var r=_a;e=va;var i=32-j(r)-1;r&=~(1<<i),n+=1;var a=32-j(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,_a=1<<32-j(t)+i|n<<i|r,va=a+e}else _a=1<<a|n<<i|r,va=e}function xa(e){e.return!==null&&(ya(e,1),ba(e,1,0))}function Sa(e){for(;e===fa;)fa=ua[--da],ua[da]=null,pa=ua[--da],ua[da]=null;for(;e===ga;)ga=ma[--ha],ma[ha]=null,va=ma[--ha],ma[ha]=null,_a=ma[--ha],ma[ha]=null}var Ca=null,wa=null,W=!1,Ta=null;function Ea(e,t){var n=ql(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Da(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,Ca=e,wa=Mi(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,Ca=e,wa=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=ga===null?null:{id:_a,overflow:va},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ql(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ca=e,wa=null,!0);default:return!1}}function Oa(e){return(e.mode&1)!=0&&(e.flags&128)==0}function ka(e){if(W){var t=wa;if(t){var n=t;if(!Da(e,t)){if(Oa(e))throw Error(r(418));t=Mi(n.nextSibling);var i=Ca;t&&Da(e,t)?Ea(i,n):(e.flags=e.flags&-4097|2,W=!1,Ca=e)}}else{if(Oa(e))throw Error(r(418));e.flags=e.flags&-4097|2,W=!1,Ca=e}}}function Aa(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ca=e}function ja(e){if(e!==Ca)return!1;if(!W)return Aa(e),W=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Ti(e.type,e.memoizedProps)),t&&=wa){if(Oa(e))throw Ma(),Error(r(418));for(;t;)Ea(e,t),t=Mi(t.nextSibling)}if(Aa(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){wa=Mi(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}wa=null}}else wa=Ca?Mi(e.stateNode.nextSibling):null;return!0}function Ma(){for(var e=wa;e;)e=Mi(e.nextSibling)}function Na(){wa=Ca=null,W=!1}function Pa(e){Ta===null?Ta=[e]:Ta.push(e)}var Fa=C.ReactCurrentBatchConfig;function Ia(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function La(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Ra(e){var t=e._init;return t(e._payload)}function za(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=Xl(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=eu(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===ee?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===se&&Ra(i)===t.type)?(r=a(t,n.props),r.ref=Ia(e,t,n),r.return=e,r):(r=Zl(n.type,n.key,n.props,null,e.mode,r),r.ref=Ia(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=tu(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=Ql(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=eu(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=Zl(t.type,t.key,t.props,null,e.mode,n),n.ref=Ia(e,null,t),n.return=e,n;case T:return t=tu(t,e.mode,n),t.return=e,t;case se:var r=t._init;return f(e,r(t._payload),n)}if(Ae(t)||ue(t))return t=Ql(t,e.mode,n,null),t.return=e,t;La(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case se:return i=n._init,p(e,t,i(n._payload),r)}if(Ae(n)||ue(n))return i===null?d(e,t,n,r,null):null;La(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case se:var a=r._init;return m(e,t,n,a(r._payload),i)}if(Ae(r)||ue(r))return e=e.get(n)||null,d(t,e,r,i,null);La(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),W&&ya(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return W&&ya(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),W&&ya(r,h),l}function g(a,s,c,l){var u=ue(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),W&&ya(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return W&&ya(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),W&&ya(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===ee&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===ee){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===se&&Ra(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Ia(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===ee?(r=Ql(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=Zl(i.type,i.key,i.props,null,e.mode,o),o.ref=Ia(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=tu(i,e.mode,o),r.return=e,e=r}return s(e);case se:return l=i._init,_(e,r,l(i._payload),o)}if(Ae(i))return h(e,r,i,o);if(ue(i))return g(e,r,i,o);La(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=eu(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var Ba=za(!0),Va=za(!1),Ha=qi(null),Ua=null,Wa=null,Ga=null;function Ka(){Ga=Wa=Ua=null}function qa(e){var t=Ha.current;Ji(Ha),e._currentValue=t}function Ja(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Ya(e,t){Ua=e,Ga=Wa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ls=!0),e.firstContext=null)}function Xa(e){var t=e._currentValue;if(Ga!==e)if(e={context:e,memoizedValue:t,next:null},Wa===null){if(Ua===null)throw Error(r(308));Wa=e,Ua.dependencies={lanes:0,firstContext:e}}else Wa=Wa.next=e;return t}var Za=null;function Qa(e){Za===null?Za=[e]:Za.push(e)}function $a(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Qa(t)):(n.next=i.next,i.next=n),t.interleaved=n,eo(e,r)}function eo(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var to=!1;function no(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ro(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function io(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ao(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Y&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,eo(e,n)}return i=r.interleaved,i===null?(t.next=t,Qa(r)):(t.next=i.next,i.next=t),r.interleaved=t,eo(e,n)}function oo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yt(e,n)}}function so(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function co(e,t,n,r){var i=e.updateQueue;to=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=de({},d,f);break a;case 2:to=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Qc|=o,e.lanes=o,e.memoizedState=d}}function G(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var lo={},uo=qi(lo),fo=qi(lo),po=qi(lo);function mo(e){if(e===lo)throw Error(r(174));return e}function ho(e,t){switch(V(po,t),V(fo,e),V(uo,lo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Le(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Le(t,e)}Ji(uo),V(uo,t)}function go(){Ji(uo),Ji(fo),Ji(po)}function _o(e){mo(po.current);var t=mo(uo.current),n=Le(t,e.type);t!==n&&(V(fo,e),V(uo,n))}function vo(e){fo.current===e&&(Ji(uo),Ji(fo))}var yo=qi(0);function bo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var xo=[];function So(){for(var e=0;e<xo.length;e++)xo[e]._workInProgressVersionPrimary=null;xo.length=0}var Co=C.ReactCurrentDispatcher,wo=C.ReactCurrentBatchConfig,To=0,Eo=null,Do=null,Oo=null,ko=!1,Ao=!1,jo=0,Mo=0;function No(){throw Error(r(321))}function Po(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Pr(e[n],t[n]))return!1;return!0}function Fo(e,t,n,i,a,o){if(To=o,Eo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Co.current=e===null||e.memoizedState===null?_s:vs,e=n(i,a),Ao){o=0;do{if(Ao=!1,jo=0,25<=o)throw Error(r(301));o+=1,Oo=Do=null,t.updateQueue=null,Co.current=ys,e=n(i,a)}while(Ao)}if(Co.current=gs,t=Do!==null&&Do.next!==null,To=0,Oo=Do=Eo=null,ko=!1,t)throw Error(r(300));return e}function Io(){var e=jo!==0;return jo=0,e}function Lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Oo===null?Eo.memoizedState=Oo=e:Oo=Oo.next=e,Oo}function Ro(){if(Do===null){var e=Eo.alternate;e=e===null?null:e.memoizedState}else e=Do.next;var t=Oo===null?Eo.memoizedState:Oo.next;if(t!==null)Oo=t,Do=e;else{if(e===null)throw Error(r(310));Do=e,e={memoizedState:Do.memoizedState,baseState:Do.baseState,baseQueue:Do.baseQueue,queue:Do.queue,next:null},Oo===null?Eo.memoizedState=Oo=e:Oo=Oo.next=e}return Oo}function zo(e,t){return typeof t==`function`?t(e):t}function Bo(e){var t=Ro(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=Do,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((To&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,Eo.lanes|=d,Qc|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Pr(i,t.memoizedState)||(Ls=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,Eo.lanes|=o,Qc|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Vo(e){var t=Ro(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Pr(o,t.memoizedState)||(Ls=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Ho(){}function Uo(e,t){var n=Eo,i=Ro(),a=t(),o=!Pr(i.memoizedState,a);if(o&&(i.memoizedState=a,Ls=!0),i=i.queue,ts(Ko.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||Oo!==null&&Oo.memoizedState.tag&1){if(n.flags|=2048,Xo(9,Go.bind(null,n,i,a,t),void 0,null),Gc===null)throw Error(r(349));To&30||Wo(n,t,a)}return a}function Wo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Eo.updateQueue,t===null?(t={lastEffect:null,stores:null},Eo.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Go(e,t,n,r){t.value=n,t.getSnapshot=r,qo(t)&&Jo(e)}function Ko(e,t,n){return n(function(){qo(t)&&Jo(e)})}function qo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Pr(e,n)}catch{return!0}}function Jo(e){var t=eo(e,1);t!==null&&gl(t,e,1,-1)}function Yo(e){var t=Lo();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},t.queue=e,e=e.dispatch=fs.bind(null,Eo,e),[t.memoizedState,e]}function Xo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Eo.updateQueue,t===null?(t={lastEffect:null,stores:null},Eo.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Zo(){return Ro().memoizedState}function Qo(e,t,n,r){var i=Lo();Eo.flags|=e,i.memoizedState=Xo(1|t,n,void 0,r===void 0?null:r)}function $o(e,t,n,r){var i=Ro();r=r===void 0?null:r;var a=void 0;if(Do!==null){var o=Do.memoizedState;if(a=o.destroy,r!==null&&Po(r,o.deps)){i.memoizedState=Xo(t,n,a,r);return}}Eo.flags|=e,i.memoizedState=Xo(1|t,n,a,r)}function es(e,t){return Qo(8390656,8,e,t)}function ts(e,t){return $o(2048,8,e,t)}function ns(e,t){return $o(4,2,e,t)}function K(e,t){return $o(4,4,e,t)}function rs(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function is(e,t,n){return n=n==null?null:n.concat([e]),$o(4,4,rs.bind(null,t,e),n)}function as(){}function os(e,t){var n=Ro();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ss(e,t){var n=Ro();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Po(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function cs(e,t,n){return To&21?(Pr(n,t)||(n=Gt(),Eo.lanes|=n,Qc|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ls=!0),e.memoizedState=n)}function ls(e,t){var n=M;M=n!==0&&4>n?n:4,e(!0);var r=wo.transition;wo.transition={};try{e(!1),t()}finally{M=n,wo.transition=r}}function us(){return Ro().memoizedState}function ds(e,t,n){var r=hl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ps(e))ms(t,n);else if(n=$a(e,t,n,r),n!==null){var i=ml();gl(n,e,r,i),hs(n,t,r)}}function fs(e,t,n){var r=hl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ps(e))ms(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Pr(s,o)){var c=t.interleaved;c===null?(i.next=i,Qa(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=$a(e,t,i,r),n!==null&&(i=ml(),gl(n,e,r,i),hs(n,t,r))}}function ps(e){var t=e.alternate;return e===Eo||t!==null&&t===Eo}function ms(e,t){Ao=ko=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hs(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yt(e,n)}}var gs={readContext:Xa,useCallback:No,useContext:No,useEffect:No,useImperativeHandle:No,useInsertionEffect:No,useLayoutEffect:No,useMemo:No,useReducer:No,useRef:No,useState:No,useDebugValue:No,useDeferredValue:No,useTransition:No,useMutableSource:No,useSyncExternalStore:No,useId:No,unstable_isNewReconciler:!1},_s={readContext:Xa,useCallback:function(e,t){return Lo().memoizedState=[e,t===void 0?null:t],e},useContext:Xa,useEffect:es,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),Qo(4194308,4,rs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qo(4,2,e,t)},useMemo:function(e,t){var n=Lo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lo();return t=n===void 0?t:n(t),r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ds.bind(null,Eo,e),[r.memoizedState,e]},useRef:function(e){var t=Lo();return e={current:e},t.memoizedState=e},useState:Yo,useDebugValue:as,useDeferredValue:function(e){return Lo().memoizedState=e},useTransition:function(){var e=Yo(!1),t=e[0];return e=ls.bind(null,e[1]),Lo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Eo,a=Lo();if(W){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Gc===null)throw Error(r(349));To&30||Wo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,es(Ko.bind(null,i,o,e),[e]),i.flags|=2048,Xo(9,Go.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Lo(),t=Gc.identifierPrefix;if(W){var n=va,r=_a;n=(r&~(1<<32-j(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=jo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=Mo++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},vs={readContext:Xa,useCallback:os,useContext:Xa,useEffect:ts,useImperativeHandle:is,useInsertionEffect:ns,useLayoutEffect:K,useMemo:ss,useReducer:Bo,useRef:Zo,useState:function(){return Bo(zo)},useDebugValue:as,useDeferredValue:function(e){return cs(Ro(),Do.memoizedState,e)},useTransition:function(){return[Bo(zo)[0],Ro().memoizedState]},useMutableSource:Ho,useSyncExternalStore:Uo,useId:us,unstable_isNewReconciler:!1},ys={readContext:Xa,useCallback:os,useContext:Xa,useEffect:ts,useImperativeHandle:is,useInsertionEffect:ns,useLayoutEffect:K,useMemo:ss,useReducer:Vo,useRef:Zo,useState:function(){return Vo(zo)},useDebugValue:as,useDeferredValue:function(e){var t=Ro();return Do===null?t.memoizedState=e:cs(t,Do.memoizedState,e)},useTransition:function(){return[Vo(zo)[0],Ro().memoizedState]},useMutableSource:Ho,useSyncExternalStore:Uo,useId:us,unstable_isNewReconciler:!1};function bs(e,t){if(e&&e.defaultProps){for(var n in t=de({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function xs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:de({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ss={isMounted:function(e){return(e=e._reactInternals)?gt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ml(),i=hl(e),a=io(r,i);a.payload=t,n!=null&&(a.callback=n),t=ao(e,a,i),t!==null&&(gl(t,e,i,r),oo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ml(),i=hl(e),a=io(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=ao(e,a,i),t!==null&&(gl(t,e,i,r),oo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ml(),r=hl(e),i=io(n,r);i.tag=2,t!=null&&(i.callback=t),t=ao(e,i,r),t!==null&&(gl(t,e,r,n),oo(t,e,r))}};function Cs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Fr(n,r)||!Fr(i,a):!0}function ws(e,t,n){var r=!1,i=Yi,a=t.contextType;return typeof a==`object`&&a?a=Xa(a):(i=ea(t)?Qi:Xi.current,r=t.contextTypes,a=(r=r!=null)?$i(e,i):Yi),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ss,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ts(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ss.enqueueReplaceState(t,t.state,null)}function Es(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},no(e);var a=t.contextType;typeof a==`object`&&a?i.context=Xa(a):(a=ea(t)?Qi:Xi.current,i.context=$i(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(xs(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&Ss.enqueueReplaceState(i,i.state,null),co(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function Ds(e,t){try{var n=``,r=t;do n+=ge(r),r=r.return;while(r);var i=n}catch(e){i=`
|
|
8
|
+
Error generating stack: `+e.message+`
|
|
9
|
+
`+e.stack}return{value:e,source:t,stack:i,digest:null}}function Os(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ks(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var As=typeof WeakMap==`function`?WeakMap:Map;function js(e,t,n){n=io(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Z||(Z=!0,al=r),ks(e,t)},n}function Ms(e,t,n){n=io(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ks(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){ks(e,t),typeof r!=`function`&&(ol===null?ol=new Set([this]):ol.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Ns(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new As;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Bl.bind(null,e,t,n),t.then(e,e))}function Ps(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null?!0:t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Fs(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=io(-1,1),t.tag=2,ao(n,t,1))),n.lanes|=1),e)}var Is=C.ReactCurrentOwner,Ls=!1;function Rs(e,t,n,r){t.child=e===null?Va(t,null,n,r):Ba(t,e.child,n,r)}function zs(e,t,n,r,i){n=n.render;var a=t.ref;return Ya(t,i),r=Fo(e,t,n,r,a,i),n=Io(),e!==null&&!Ls?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ac(e,t,i)):(W&&n&&xa(t),t.flags|=1,Rs(e,t,r,i),t.child)}function Bs(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Jl(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Vs(e,t,a,r,i)):(e=Zl(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?Fr:n,n(o,r)&&e.ref===t.ref)return ac(e,t,i)}return t.flags|=1,e=Xl(a,r),e.ref=t.ref,e.return=t,t.child=e}function Vs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Fr(a,r)&&e.ref===t.ref)if(Ls=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Ls=!0);else return t.lanes=e.lanes,ac(e,t,i)}return Ws(e,t,n,r,i)}function Hs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},V(Yc,Jc),Jc|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,V(Yc,Jc),Jc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,V(Yc,Jc),Jc|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),V(Yc,Jc),Jc|=r;return Rs(e,t,i,n),t.child}function Us(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ws(e,t,n,r,i){var a=ea(n)?Qi:Xi.current;return a=$i(t,a),Ya(t,i),n=Fo(e,t,n,r,a,i),r=Io(),e!==null&&!Ls?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ac(e,t,i)):(W&&r&&xa(t),t.flags|=1,Rs(e,t,n,i),t.child)}function Gs(e,t,n,r,i){if(ea(n)){var a=!0;ra(t)}else a=!1;if(Ya(t,i),t.stateNode===null)ic(e,t),ws(t,n,r),Es(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=Xa(l):(l=ea(n)?Qi:Xi.current,l=$i(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&Ts(t,o,r,l),to=!1;var f=t.memoizedState;o.state=f,co(t,r,o,i),c=t.memoizedState,s!==r||f!==c||Zi.current||to?(typeof u==`function`&&(xs(t,n,u,r),c=t.memoizedState),(s=to||Cs(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,ro(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:bs(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=Xa(c):(c=ea(n)?Qi:Xi.current,c=$i(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&Ts(t,o,r,c),to=!1,f=t.memoizedState,o.state=f,co(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||Zi.current||to?(typeof p==`function`&&(xs(t,n,p,r),m=t.memoizedState),(l=to||Cs(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ks(e,t,n,r,a,i)}function Ks(e,t,n,r,i,a){Us(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&ia(t,n,!1),ac(e,t,a);r=t.stateNode,Is.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ba(t,e.child,null,a),t.child=Ba(t,null,s,a)):Rs(e,t,s,a),t.memoizedState=r.state,i&&ia(t,n,!0),t.child}function qs(e){var t=e.stateNode;t.pendingContext?H(e,t.pendingContext,t.pendingContext!==t.context):t.context&&H(e,t.context,!1),ho(e,t.containerInfo)}function Js(e,t,n,r,i){return Na(),Pa(i),t.flags|=256,Rs(e,t,n,r),t.child}var Ys={dehydrated:null,treeContext:null,retryLane:0};function Xs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Zs(e,t,n){var r=t.pendingProps,i=yo.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),V(yo,i&1),e===null)return ka(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=$l(o,r,0,null),e=Ql(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Xs(n),t.memoizedState=Ys,e):Qs(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return ec(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Xl(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=Ql(a,o,n,null),a.flags|=2):a=Xl(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?Xs(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=Ys,r}return a=e.child,e=a.sibling,r=Xl(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Qs(e,t){return t=$l({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function $s(e,t,n,r){return r!==null&&Pa(r),Ba(t,e.child,null,n),e=Qs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ec(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=Os(Error(r(422))),$s(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=$l({mode:`visible`,children:i.children},a,0,null),o=Ql(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&Ba(t,e.child,null,s),t.child.memoizedState=Xs(s),t.memoizedState=Ys,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return $s(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=Os(o,i,void 0),$s(e,t,s,i)}if(c=(s&e.childLanes)!==0,Ls||c){if(i=Gc,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,eo(e,a),gl(i,e,a,-1))}return kl(),i=Os(Error(r(421))),$s(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=Hl.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,wa=Mi(a.nextSibling),Ca=t,W=!0,Ta=null,e!==null&&(ma[ha++]=_a,ma[ha++]=va,ma[ha++]=ga,_a=e.id,va=e.overflow,ga=t),t=Qs(t,i.children),t.flags|=4096,t)}function tc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ja(e.return,t,n)}function nc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function rc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Rs(e,t,r.children,n),r=yo.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&tc(e,n,t);else if(e.tag===19)tc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(V(yo,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&bo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),nc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&bo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}nc(t,!0,n,null,a);break;case`together`:nc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ic(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ac(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Qc|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=Xl(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function oc(e,t,n){switch(t.tag){case 3:qs(t),Na();break;case 5:_o(t);break;case 1:ea(t.type)&&ra(t);break;case 4:ho(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;V(Ha,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(V(yo,yo.current&1),e=ac(e,t,n),e===null?null:e.sibling):Zs(e,t,n):(V(yo,yo.current&1),t.flags|=128,null);V(yo,yo.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return rc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),V(yo,yo.current),r)break;return null;case 22:case 23:return t.lanes=0,Hs(e,t,n)}return ac(e,t,n)}var sc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},cc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,mo(uo.current);var o=null;switch(n){case`input`:i=we(e,i),r=we(e,r),o=[];break;case`select`:i=de({},i,{value:void 0}),r=de({},r,{value:void 0}),o=[];break;case`textarea`:i=Me(e,i),r=Me(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=Si)}k(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&z(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},lc=function(e,t,n,r){n!==r&&(t.flags|=4)};function uc(e,t){if(!W)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function dc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function fc(e,t,n){var i=t.pendingProps;switch(Sa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dc(t),null;case 1:return ea(t.type)&&ta(),dc(t),null;case 3:return i=t.stateNode,go(),Ji(Zi),Ji(Xi),So(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(ja(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ta!==null&&(bl(Ta),Ta=null))),dc(t),null;case 5:vo(t);var o=mo(po.current);if(n=t.type,e!==null&&t.stateNode!=null)cc(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return dc(t),null}if(e=mo(uo.current),ja(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Fi]=t,i[Ii]=s,e=(t.mode&1)!=0,n){case`dialog`:z(`cancel`,i),z(`close`,i);break;case`iframe`:case`object`:case`embed`:z(`load`,i);break;case`video`:case`audio`:for(o=0;o<si.length;o++)z(si[o],i);break;case`source`:z(`error`,i);break;case`img`:case`image`:case`link`:z(`error`,i),z(`load`,i);break;case`details`:z(`toggle`,i);break;case`input`:Te(i,s),z(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},z(`invalid`,i);break;case`textarea`:Ne(i,s),z(`invalid`,i)}for(var c in k(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&xi(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&xi(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&z(`scroll`,i)}switch(n){case`input`:xe(i),Oe(i,s,!0);break;case`textarea`:xe(i),Fe(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=Si)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=Ie(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[Fi]=t,e[Ii]=i,sc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Ke(n,i),n){case`dialog`:z(`cancel`,e),z(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:z(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<si.length;o++)z(si[o],e);o=i;break;case`source`:z(`error`,e),o=i;break;case`img`:case`image`:case`link`:z(`error`,e),z(`load`,e),o=i;break;case`details`:z(`toggle`,e),o=i;break;case`input`:Te(e,i),o=we(e,i),z(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=de({},i,{value:void 0}),z(`invalid`,e);break;case`textarea`:Ne(e,i),o=Me(e,i),z(`invalid`,e);break;default:o=i}for(s in k(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?We(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&ze(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&Be(e,u):typeof u==`number`&&Be(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&z(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:xe(e),Oe(e,i,!1);break;case`textarea`:xe(e),Fe(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+O(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&je(e,!!i.multiple,i.defaultValue,!0):je(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=Si)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return dc(t),null;case 6:if(e&&t.stateNode!=null)lc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=mo(po.current),mo(uo.current),ja(t)){if(i=t.stateNode,n=t.memoizedProps,i[Fi]=t,(s=i.nodeValue!==n)&&(e=Ca,e!==null))switch(e.tag){case 3:xi(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&xi(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Fi]=t,t.stateNode=i}return dc(t),null;case 13:if(Ji(yo),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(W&&wa!==null&&t.mode&1&&!(t.flags&128))Ma(),Na(),t.flags|=98560,s=!1;else if(s=ja(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[Fi]=t}else Na(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;dc(t),s=!1}else Ta!==null&&(bl(Ta),Ta=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||yo.current&1?Xc===0&&(Xc=3):kl())),t.updateQueue!==null&&(t.flags|=4),dc(t),null);case 4:return go(),e===null&&fi(t.stateNode.containerInfo),dc(t),null;case 10:return qa(t.type._context),dc(t),null;case 17:return ea(t.type)&&ta(),dc(t),null;case 19:if(Ji(yo),s=t.memoizedState,s===null)return dc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)uc(s,!1);else{if(Xc!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=bo(e),c!==null){for(t.flags|=128,uc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return V(yo,yo.current&1|2),t.child}e=e.sibling}s.tail!==null&&A()>X&&(t.flags|=128,i=!0,uc(s,!1),t.lanes=4194304)}else{if(!i)if(e=bo(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),uc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!W)return dc(t),null}else 2*A()-s.renderingStartTime>X&&n!==1073741824&&(t.flags|=128,i=!0,uc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(dc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=A(),t.sibling=null,n=yo.current,V(yo,i?n&1|2:n&1),t);case 22:case 23:return Tl(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Jc&1073741824&&(dc(t),t.subtreeFlags&6&&(t.flags|=8192)):dc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function pc(e,t){switch(Sa(t),t.tag){case 1:return ea(t.type)&&ta(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return go(),Ji(Zi),Ji(Xi),So(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return vo(t),null;case 13:if(Ji(yo),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Na()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ji(yo),null;case 4:return go(),null;case 10:return qa(t.type._context),null;case 22:case 23:return Tl(),null;case 24:return null;default:return null}}var mc=!1,hc=!1,gc=typeof WeakSet==`function`?WeakSet:Set,q=null;function _c(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){zl(e,t,n)}else n.current=null}function vc(e,t,n){try{n()}catch(n){zl(e,t,n)}}var yc=!1;function bc(e,t){if(Ci=Sn,e=zr(),Br(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(wi={focusedElem:e,selectionRange:n},Sn=!1,q=t;q!==null;)if(t=q,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:bs(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){zl(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return h=yc,yc=!1,h}function xc(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&vc(t,n,a)}i=i.next}while(i!==r)}}function J(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Sc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==`function`?t(e):t.current=e}}function Cc(e){var t=e.alternate;t!==null&&(e.alternate=null,Cc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fi],delete t[Ii],delete t[Ri],delete t[zi],delete t[Bi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function wc(e){return e.tag===5||e.tag===3||e.tag===4}function Tc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||wc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ec(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Si));else if(r!==4&&(e=e.child,e!==null))for(Ec(e,t,n),e=e.sibling;e!==null;)Ec(e,t,n),e=e.sibling}function Dc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Dc(e,t,n),e=e.sibling;e!==null;)Dc(e,t,n),e=e.sibling}var Oc=null,kc=!1;function Ac(e,t,n){for(n=n.child;n!==null;)jc(e,t,n),n=n.sibling}function jc(e,t,n){if(Nt&&typeof Nt.onCommitFiberUnmount==`function`)try{Nt.onCommitFiberUnmount(Mt,n)}catch{}switch(n.tag){case 5:hc||_c(n,t);case 6:var r=Oc,i=kc;Oc=null,Ac(e,t,n),Oc=r,kc=i,Oc!==null&&(kc?(e=Oc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Oc.removeChild(n.stateNode));break;case 18:Oc!==null&&(kc?(e=Oc,n=n.stateNode,e.nodeType===8?ji(e.parentNode,n):e.nodeType===1&&ji(e,n),bn(e)):ji(Oc,n.stateNode));break;case 4:r=Oc,i=kc,Oc=n.stateNode.containerInfo,kc=!0,Ac(e,t,n),Oc=r,kc=i;break;case 0:case 11:case 14:case 15:if(!hc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&vc(n,t,o),i=i.next}while(i!==r)}Ac(e,t,n);break;case 1:if(!hc&&(_c(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){zl(n,t,e)}Ac(e,t,n);break;case 21:Ac(e,t,n);break;case 22:n.mode&1?(hc=(r=hc)||n.memoizedState!==null,Ac(e,t,n),hc=r):Ac(e,t,n);break;default:Ac(e,t,n)}}function Mc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new gc),t.forEach(function(t){var r=Ul.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Nc(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:Oc=c.stateNode,kc=!1;break a;case 3:Oc=c.stateNode.containerInfo,kc=!0;break a;case 4:Oc=c.stateNode.containerInfo,kc=!0;break a}c=c.return}if(Oc===null)throw Error(r(160));jc(o,s,a),Oc=null,kc=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){zl(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Pc(t,e),t=t.sibling}function Pc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Nc(t,e),Fc(e),i&4){try{xc(3,e,e.return),J(3,e)}catch(t){zl(e,e.return,t)}try{xc(5,e,e.return)}catch(t){zl(e,e.return,t)}}break;case 1:Nc(t,e),Fc(e),i&512&&n!==null&&_c(n,n.return);break;case 5:if(Nc(t,e),Fc(e),i&512&&n!==null&&_c(n,n.return),e.flags&32){var a=e.stateNode;try{Be(a,``)}catch(t){zl(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&Ee(a,o),Ke(c,s);var u=Ke(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?We(a,f):d===`dangerouslySetInnerHTML`?ze(a,f):d===`children`?Be(a,f):S(a,d,f,u)}switch(c){case`input`:De(a,o);break;case`textarea`:Pe(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?je(a,!!o.multiple,o.multiple?[]:``,!1):je(a,!!o.multiple,o.defaultValue,!0)):je(a,!!o.multiple,m,!1)}a[Ii]=o}catch(t){zl(e,e.return,t)}}break;case 6:if(Nc(t,e),Fc(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){zl(e,e.return,t)}}break;case 3:if(Nc(t,e),Fc(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{bn(t.containerInfo)}catch(t){zl(e,e.return,t)}break;case 4:Nc(t,e),Fc(e);break;case 13:Nc(t,e),Fc(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(rl=A())),i&4&&Mc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(hc=(u=hc)||d,Nc(t,e),hc=u):Nc(t,e),Fc(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(q=e,d=e.child;d!==null;){for(f=q=d;q!==null;){switch(p=q,m=p.child,p.tag){case 0:case 11:case 14:case 15:xc(4,p,p.return);break;case 1:_c(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){zl(i,n,e)}}break;case 5:_c(p,p.return);break;case 22:if(p.memoizedState!==null){zc(f);continue}}m===null?zc(f):(m.return=p,q=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=Ue(`display`,s))}catch(t){zl(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){zl(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Nc(t,e),Fc(e),i&4&&Mc(e);break;case 21:break;default:Nc(t,e),Fc(e)}}function Fc(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(wc(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(Be(a,``),i.flags&=-33),Dc(e,Tc(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;Ec(e,Tc(e),o);break;default:throw Error(r(161))}}catch(t){zl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ic(e,t,n){q=e,Lc(e,t,n)}function Lc(e,t,n){for(var r=(e.mode&1)!=0;q!==null;){var i=q,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||mc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||hc;s=mc;var l=hc;if(mc=o,(hc=c)&&!l)for(q=i;q!==null;)o=q,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Bc(i):(c.return=o,q=c);for(;a!==null;)q=a,Lc(a,t,n),a=a.sibling;q=i,mc=s,hc=l}Rc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,q=a):Rc(e,t,n)}}function Rc(e){for(;q!==null;){var t=q;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:hc||J(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!hc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:bs(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&G(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}G(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&bn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}hc||t.flags&512&&Sc(t)}catch(e){zl(t,t.return,e)}}if(t===e){q=null;break}if(n=t.sibling,n!==null){n.return=t.return,q=n;break}q=t.return}}function zc(e){for(;q!==null;){var t=q;if(t===e){q=null;break}var n=t.sibling;if(n!==null){n.return=t.return,q=n;break}q=t.return}}function Bc(e){for(;q!==null;){var t=q;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{J(4,t)}catch(e){zl(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){zl(t,i,e)}}var a=t.return;try{Sc(t)}catch(e){zl(t,a,e)}break;case 5:var o=t.return;try{Sc(t)}catch(e){zl(t,o,e)}}}catch(e){zl(t,t.return,e)}if(t===e){q=null;break}var s=t.sibling;if(s!==null){s.return=t.return,q=s;break}q=t.return}}var Vc=Math.ceil,Hc=C.ReactCurrentDispatcher,Uc=C.ReactCurrentOwner,Wc=C.ReactCurrentBatchConfig,Y=0,Gc=null,Kc=null,qc=0,Jc=0,Yc=qi(0),Xc=0,Zc=null,Qc=0,$c=0,el=0,tl=null,nl=null,rl=0,X=1/0,il=null,Z=!1,al=null,ol=null,sl=!1,cl=null,ll=0,ul=0,dl=null,fl=-1,pl=0;function ml(){return Y&6?A():fl===-1?fl=A():fl}function hl(e){return e.mode&1?Y&2&&qc!==0?qc&-qc:Fa.transition===null?(e=M,e===0?(e=window.event,e=e===void 0?16:On(e.type),e):e):(pl===0&&(pl=Gt()),pl):1}function gl(e,t,n,i){if(50<ul)throw ul=0,dl=null,Error(r(185));qt(e,n,i),(!(Y&2)||e!==Gc)&&(e===Gc&&(!(Y&2)&&($c|=n),Xc===4&&Sl(e,qc)),_l(e,i),n===1&&Y===0&&!(t.mode&1)&&(X=A()+500,aa&&la()))}function _l(e,t){var n=e.callbackNode;Ut(e,t);var r=Vt(e,e===Gc?qc:0);if(r===0)n!==null&&Ct(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ct(n),t===1)e.tag===0?ca(Cl.bind(null,e)):sa(Cl.bind(null,e)),ki(function(){!(Y&6)&&la()}),n=null;else{switch(Xt(r)){case 1:n=Dt;break;case 4:n=Ot;break;case 16:n=kt;break;case 536870912:n=jt;break;default:n=kt}n=Gl(n,vl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function vl(e,t){if(fl=-1,pl=0,Y&6)throw Error(r(327));var n=e.callbackNode;if(Ll()&&e.callbackNode!==n)return null;var i=Vt(e,e===Gc?qc:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=Al(e,i);else{t=i;var a=Y;Y|=2;var o=Ol();(Gc!==e||qc!==t)&&(il=null,X=A()+500,El(e,t));do try{Ml();break}catch(t){Dl(e,t)}while(1);Ka(),Hc.current=o,Y=a,Kc===null?(Gc=null,qc=0,t=Xc):t=0}if(t!==0){if(t===2&&(a=Wt(e),a!==0&&(i=a,t=yl(e,a))),t===1)throw n=Zc,El(e,0),Sl(e,i),_l(e,A()),n;if(t===6)Sl(e,i);else{if(a=e.current.alternate,!(i&30)&&!xl(a)&&(t=Al(e,i),t===2&&(o=Wt(e),o!==0&&(i=o,t=yl(e,o))),t===1))throw n=Zc,El(e,0),Sl(e,i),_l(e,A()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Fl(e,nl,il);break;case 3:if(Sl(e,i),(i&130023424)===i&&(t=rl+500-A(),10<t)){if(Vt(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){ml(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Ei(Fl.bind(null,e,nl,il),t);break}Fl(e,nl,il);break;case 4:if(Sl(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-j(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=A()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Vc(i/1960))-i,10<i){e.timeoutHandle=Ei(Fl.bind(null,e,nl,il),i);break}Fl(e,nl,il);break;case 5:Fl(e,nl,il);break;default:throw Error(r(329))}}}return _l(e,A()),e.callbackNode===n?vl.bind(null,e):null}function yl(e,t){var n=tl;return e.current.memoizedState.isDehydrated&&(El(e,t).flags|=256),e=Al(e,t),e!==2&&(t=nl,nl=n,t!==null&&bl(t)),e}function bl(e){nl===null?nl=e:nl.push.apply(nl,e)}function xl(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Pr(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Sl(e,t){for(t&=~el,t&=~$c,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-j(t),r=1<<n;e[n]=-1,t&=~r}}function Cl(e){if(Y&6)throw Error(r(327));Ll();var t=Vt(e,0);if(!(t&1))return _l(e,A()),null;var n=Al(e,t);if(e.tag!==0&&n===2){var i=Wt(e);i!==0&&(t=i,n=yl(e,i))}if(n===1)throw n=Zc,El(e,0),Sl(e,t),_l(e,A()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Fl(e,nl,il),_l(e,A()),null}function Q(e,t){var n=Y;Y|=1;try{return e(t)}finally{Y=n,Y===0&&(X=A()+500,aa&&la())}}function wl(e){cl!==null&&cl.tag===0&&!(Y&6)&&Ll();var t=Y;Y|=1;var n=Wc.transition,r=M;try{if(Wc.transition=null,M=1,e)return e()}finally{M=r,Wc.transition=n,Y=t,!(Y&6)&&la()}}function Tl(){Jc=Yc.current,Ji(Yc)}function El(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Di(n)),Kc!==null)for(n=Kc.return;n!==null;){var r=n;switch(Sa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ta();break;case 3:go(),Ji(Zi),Ji(Xi),So();break;case 5:vo(r);break;case 4:go();break;case 13:Ji(yo);break;case 19:Ji(yo);break;case 10:qa(r.type._context);break;case 22:case 23:Tl()}n=n.return}if(Gc=e,Kc=e=Xl(e.current,null),qc=Jc=t,Xc=0,Zc=null,el=$c=Qc=0,nl=tl=null,Za!==null){for(t=0;t<Za.length;t++)if(n=Za[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}Za=null}return e}function Dl(e,t){do{var n=Kc;try{if(Ka(),Co.current=gs,ko){for(var i=Eo.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}ko=!1}if(To=0,Oo=Do=Eo=null,Ao=!1,jo=0,Uc.current=null,n===null||n.return===null){Xc=1,Zc=t,Kc=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=qc,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=Ps(s);if(m!==null){m.flags&=-257,Fs(m,s,c,o,t),m.mode&1&&Ns(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Ns(o,u,t),kl();break a}l=Error(r(426))}}else if(W&&c.mode&1){var _=Ps(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Fs(_,s,c,o,t),Pa(Ds(l,c));break a}}o=l=Ds(l,c),Xc!==4&&(Xc=2),tl===null?tl=[o]:tl.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=js(o,l,t);so(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(ol===null||!ol.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Ms(o,c,t);so(o,x);break a}}o=o.return}while(o!==null)}Pl(n)}catch(e){t=e,Kc===n&&n!==null&&(Kc=n=n.return);continue}break}while(1)}function Ol(){var e=Hc.current;return Hc.current=gs,e===null?gs:e}function kl(){(Xc===0||Xc===3||Xc===2)&&(Xc=4),Gc===null||!(Qc&268435455)&&!($c&268435455)||Sl(Gc,qc)}function Al(e,t){var n=Y;Y|=2;var i=Ol();(Gc!==e||qc!==t)&&(il=null,El(e,t));do try{jl();break}catch(t){Dl(e,t)}while(1);if(Ka(),Y=n,Hc.current=i,Kc!==null)throw Error(r(261));return Gc=null,qc=0,Xc}function jl(){for(;Kc!==null;)Nl(Kc)}function Ml(){for(;Kc!==null&&!wt();)Nl(Kc)}function Nl(e){var t=Wl(e.alternate,e,Jc);e.memoizedProps=e.pendingProps,t===null?Pl(e):Kc=t,Uc.current=null}function Pl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=pc(n,t),n!==null){n.flags&=32767,Kc=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Xc=6,Kc=null;return}}else if(n=fc(n,t,Jc),n!==null){Kc=n;return}if(t=t.sibling,t!==null){Kc=t;return}Kc=t=e}while(t!==null);Xc===0&&(Xc=5)}function Fl(e,t,n){var r=M,i=Wc.transition;try{Wc.transition=null,M=1,Il(e,t,n,r)}finally{Wc.transition=i,M=r}return null}function Il(e,t,n,i){do Ll();while(cl!==null);if(Y&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Jt(e,o),e===Gc&&(Kc=Gc=null,qc=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||sl||(sl=!0,Gl(kt,function(){return Ll(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=Wc.transition,Wc.transition=null;var s=M;M=1;var c=Y;Y|=4,Uc.current=null,bc(e,n),Pc(n,e),Vr(wi),Sn=!!Ci,wi=Ci=null,e.current=n,Ic(n,e,a),Tt(),Y=c,M=s,Wc.transition=o}else e.current=n;if(sl&&(sl=!1,cl=e,ll=a),o=e.pendingLanes,o===0&&(ol=null),Pt(n.stateNode,i),_l(e,A()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(Z)throw Z=!1,e=al,al=null,e;return ll&1&&e.tag!==0&&Ll(),o=e.pendingLanes,o&1?e===dl?ul++:(ul=0,dl=e):ul=0,la(),null}function Ll(){if(cl!==null){var e=Xt(ll),t=Wc.transition,n=M;try{if(Wc.transition=null,M=16>e?16:e,cl===null)var i=!1;else{if(e=cl,cl=null,ll=0,Y&6)throw Error(r(331));var a=Y;for(Y|=4,q=e.current;q!==null;){var o=q,s=o.child;if(q.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(q=u;q!==null;){var d=q;switch(d.tag){case 0:case 11:case 15:xc(8,d,o)}var f=d.child;if(f!==null)f.return=d,q=f;else for(;q!==null;){d=q;var p=d.sibling,m=d.return;if(Cc(d),d===u){q=null;break}if(p!==null){p.return=m,q=p;break}q=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}q=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,q=s;else b:for(;q!==null;){if(o=q,o.flags&2048)switch(o.tag){case 0:case 11:case 15:xc(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,q=v;break b}q=o.return}}var y=e.current;for(q=y;q!==null;){s=q;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,q=b;else b:for(s=y;q!==null;){if(c=q,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:J(9,c)}}catch(e){zl(c,c.return,e)}if(c===s){q=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,q=x;break b}q=c.return}}if(Y=a,la(),Nt&&typeof Nt.onPostCommitFiberRoot==`function`)try{Nt.onPostCommitFiberRoot(Mt,e)}catch{}i=!0}return i}finally{M=n,Wc.transition=t}}return!1}function Rl(e,t,n){t=Ds(n,t),t=js(e,t,1),e=ao(e,t,1),t=ml(),e!==null&&(qt(e,1,t),_l(e,t))}function zl(e,t,n){if(e.tag===3)Rl(e,e,n);else for(;t!==null;){if(t.tag===3){Rl(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(ol===null||!ol.has(r))){e=Ds(n,e),e=Ms(t,e,1),t=ao(t,e,1),e=ml(),t!==null&&(qt(t,1,e),_l(t,e));break}}t=t.return}}function Bl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ml(),e.pingedLanes|=e.suspendedLanes&n,Gc===e&&(qc&n)===n&&(Xc===4||Xc===3&&(qc&130023424)===qc&&500>A()-rl?El(e,0):el|=n),_l(e,t)}function Vl(e,t){t===0&&(e.mode&1?(t=zt,zt<<=1,!(zt&130023424)&&(zt=4194304)):t=1);var n=ml();e=eo(e,t),e!==null&&(qt(e,t,n),_l(e,n))}function Hl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Vl(e,n)}function Ul(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),Vl(e,n)}var Wl=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Zi.current)Ls=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Ls=!1,oc(e,t,n);Ls=!!(e.flags&131072)}else Ls=!1,W&&t.flags&1048576&&ba(t,pa,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;ic(e,t),e=t.pendingProps;var a=$i(t,Xi.current);Ya(t,n),a=Fo(null,t,i,e,a,n);var o=Io();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ea(i)?(o=!0,ra(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,no(t),a.updater=Ss,t.stateNode=a,a._reactInternals=t,Es(t,i,e,n),t=Ks(null,t,i,!0,o,n)):(t.tag=0,W&&o&&xa(t),Rs(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(ic(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=Yl(i),e=bs(i,e),a){case 0:t=Ws(null,t,i,e,n);break a;case 1:t=Gs(null,t,i,e,n);break a;case 11:t=zs(null,t,i,e,n);break a;case 14:t=Bs(null,t,i,bs(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:bs(i,a),Ws(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:bs(i,a),Gs(e,t,i,a,n);case 3:a:{if(qs(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,ro(e,t),co(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Ds(Error(r(423)),t),t=Js(e,t,i,n,a);break a}else if(i!==a){a=Ds(Error(r(424)),t),t=Js(e,t,i,n,a);break a}else for(wa=Mi(t.stateNode.containerInfo.firstChild),Ca=t,W=!0,Ta=null,n=Va(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Na(),i===a){t=ac(e,t,n);break a}Rs(e,t,i,n)}t=t.child}return t;case 5:return _o(t),e===null&&ka(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Ti(i,a)?s=null:o!==null&&Ti(i,o)&&(t.flags|=32),Us(e,t),Rs(e,t,s,n),t.child;case 6:return e===null&&ka(t),null;case 13:return Zs(e,t,n);case 4:return ho(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Ba(t,null,i,n):Rs(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:bs(i,a),zs(e,t,i,a,n);case 7:return Rs(e,t,t.pendingProps,n),t.child;case 8:return Rs(e,t,t.pendingProps.children,n),t.child;case 12:return Rs(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,V(Ha,i._currentValue),i._currentValue=s,o!==null)if(Pr(o.value,s)){if(o.children===a.children&&!Zi.current){t=ac(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=io(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Ja(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Ja(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Rs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,Ya(t,n),a=Xa(a),i=i(a),t.flags|=1,Rs(e,t,i,n),t.child;case 14:return i=t.type,a=bs(i,t.pendingProps),a=bs(i.type,a),Bs(e,t,i,a,n);case 15:return Vs(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:bs(i,a),ic(e,t),t.tag=1,ea(i)?(e=!0,ra(t)):e=!1,Ya(t,n),ws(t,i,a),Es(t,i,a,n),Ks(null,t,i,!0,e,n);case 19:return rc(e,t,n);case 22:return Hs(e,t,n)}throw Error(r(156,t.tag))};function Gl(e,t){return St(e,t)}function Kl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ql(e,t,n,r){return new Kl(e,t,n,r)}function Jl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Yl(e){if(typeof e==`function`)return+!!Jl(e);if(e!=null){if(e=e.$$typeof,e===re)return 11;if(e===oe)return 14}return 2}function Xl(e,t){var n=e.alternate;return n===null?(n=ql(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zl(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)Jl(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case ee:return Ql(n.children,a,o,t);case E:s=8,a|=8;break;case te:return e=ql(12,n,t,a|2),e.elementType=te,e.lanes=o,e;case ie:return e=ql(13,n,t,a),e.elementType=ie,e.lanes=o,e;case ae:return e=ql(19,n,t,a),e.elementType=ae,e.lanes=o,e;case ce:return $l(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case ne:s=10;break a;case D:s=9;break a;case re:s=11;break a;case oe:s=14;break a;case se:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=ql(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function Ql(e,t,n,r){return e=ql(7,e,r,t),e.lanes=n,e}function $l(e,t,n,r){return e=ql(22,e,r,t),e.elementType=ce,e.lanes=n,e.stateNode={isHidden:!1},e}function eu(e,t,n){return e=ql(6,e,null,t),e.lanes=n,e}function tu(e,t,n){return t=ql(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function nu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Kt(0),this.expirationTimes=Kt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ru(e,t,n,r,i,a,o,s,c){return e=new nu(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=ql(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},no(a),e}function iu(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function au(e){if(!e)return Yi;e=e._reactInternals;a:{if(gt(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if(ea(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if(ea(n))return na(e,n,t)}return t}function ou(e,t,n,r,i,a,o,s,c){return e=ru(n,r,!0,e,i,a,o,s,c),e.context=au(null),n=e.current,r=ml(),i=hl(n),a=io(r,i),a.callback=t??null,ao(n,a,i),e.current.lanes=i,qt(e,i,r),_l(e,r),e}function su(e,t,n,r){var i=t.current,a=ml(),o=hl(i);return n=au(n),t.context===null?t.context=n:t.pendingContext=n,t=io(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ao(i,t,o),e!==null&&(gl(e,i,o,a),oo(e,i,o)),o}function cu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function lu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function uu(e,t){lu(e,t),(e=e.alternate)&&lu(e,t)}function du(){return null}var fu=typeof reportError==`function`?reportError:function(e){console.error(e)};function pu(e){this._internalRoot=e}mu.prototype.render=pu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));su(e,t,null,null)},mu.prototype.unmount=pu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;wl(function(){su(null,e,null,null)}),t[Li]=null}};function mu(e){this._internalRoot=e}mu.prototype.unstable_scheduleHydration=function(e){if(e){var t=en();e={blockedOn:null,target:e,priority:t};for(var n=0;n<un.length&&t!==0&&t<un[n].priority;n++);un.splice(n,0,e),n===0&&hn(e)}};function hu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function gu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function _u(){}function vu(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=cu(o);a.call(e)}}var o=ou(t,r,e,0,null,!1,!1,``,_u);return e._reactRootContainer=o,e[Li]=o.current,fi(e.nodeType===8?e.parentNode:e),wl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=cu(c);s.call(e)}}var c=ru(e,0,!1,null,null,!1,!1,``,_u);return e._reactRootContainer=c,e[Li]=c.current,fi(e.nodeType===8?e.parentNode:e),wl(function(){su(t,c,n,r)}),c}function yu(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=cu(o);s.call(e)}}su(t,o,e,i)}else o=vu(n,t,e,i,r);return cu(o)}Zt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Bt(t.pendingLanes);n!==0&&(Yt(t,n|1),_l(t,A()),!(Y&6)&&(X=A()+500,la()))}break;case 13:wl(function(){var t=eo(e,1);t!==null&&gl(t,e,1,ml())}),uu(e,1)}},Qt=function(e){if(e.tag===13){var t=eo(e,134217728);t!==null&&gl(t,e,134217728,ml()),uu(e,134217728)}},$t=function(e){if(e.tag===13){var t=hl(e),n=eo(e,t);n!==null&&gl(n,e,t,ml()),uu(e,t)}},en=function(){return M},tn=function(e,t){var n=M;try{return M=e,t()}finally{M=n}},Ye=function(e,t,n){switch(t){case`input`:if(De(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type="radio"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=Wi(i);if(!a)throw Error(r(90));Se(i),De(i,a)}}}break;case`textarea`:Pe(e,n);break;case`select`:t=n.value,t!=null&&je(e,!!n.multiple,t,!1)}},tt=Q,nt=wl;var bu={usingClientEntryPoint:!1,Events:[Hi,Ui,Wi,$e,et,Q]},xu={findFiberByHostInstance:Vi,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},Su={bundleType:xu.bundleType,version:xu.version,rendererPackageName:xu.rendererPackageName,rendererConfig:xu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=bt(e),e===null?null:e.stateNode},findFiberByHostInstance:xu.findFiberByHostInstance||du,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 Cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cu.isDisabled&&Cu.supportsFiber)try{Mt=Cu.inject(Su),Nt=Cu}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=bu,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!hu(t))throw Error(r(200));return iu(e,t,null,n)},e.createRoot=function(e,t){if(!hu(e))throw Error(r(299));var n=!1,i=``,a=fu;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=ru(e,1,!1,null,null,n,!1,i,a),e[Li]=t.current,fi(e.nodeType===8?e.parentNode:e),new pu(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=bt(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return wl(e)},e.hydrate=function(e,t,n){if(!gu(t))throw Error(r(200));return yu(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!hu(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=fu;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=ou(t,null,e,1,n??null,a,!1,o,s),e[Li]=t.current,fi(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new mu(t)},e.render=function(e,t,n){if(!gu(t))throw Error(r(200));return yu(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!gu(e))throw Error(r(40));return e._reactRootContainer?(wl(function(){yu(null,null,e,!1,function(){e._reactRootContainer=null,e[Li]=null})}),!0):!1},e.unstable_batchedUpdates=Q,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!gu(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return yu(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),h=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=s((e=>{var t=h();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot})),_=l(d()),v=g(),y=new class{logCallback=null;setLogCallback(e){this.logCallback=e}log(e,t=`info`){this.logCallback?this.logCallback(e,t):console.log(`[${t.toUpperCase()}] ${e}`)}info(e){this.log(e,`info`)}success(e){this.log(e,`success`)}warning(e){this.log(e,`warning`)}error(e){this.log(e,`error`)}},b=async()=>(await S(`systemusers?$select=systemuserid,fullname,domainname,isdisabled,applicationid&$expand=businessunitid($select=businessunitid,name)&$orderby=fullname`)).map(e=>({systemuserid:e.systemuserid,fullname:e.fullname,domainname:e.domainname,isdisabled:e.isdisabled,applicationid:e.applicationid??null,businessunitid:e.businessunitid?{businessunitid:e.businessunitid.businessunitid,name:e.businessunitid.name}:void 0})),x=async()=>(await S(`teams?$select=teamid,name,teamtype,isdefault&$expand=businessunitid($select=businessunitid,name)&$orderby=name`)).map(e=>({teamid:e.teamid,name:e.name,teamtype:e.teamtype,isdefault:e.isdefault,businessunitid:e.businessunitid?{businessunitid:e.businessunitid.businessunitid,name:e.businessunitid.name}:void 0})),S=async e=>{let t=[];for(;e;){y.info(`Fetching data from URL: ${e}`);let n=e;if(e.startsWith(`http`)){let t=new URL(e);n=t.pathname.replace(/^\/api\/data\/v\d+\.\d+\//,``)+t.search}y.info(`Cleaned URL: ${n}`);let r=await window.dataverseAPI.queryData(n);t.push(...r.value),e=r[`@odata.nextLink`]||null}return console.log(`Total records fetched: ${t.length}`,t),t},C=e=>{if(typeof e==`string`)return e.toLowerCase();if(typeof e==`number`)return String(e);if(e&&typeof e==`object`){let t=e.Value;if(typeof t==`number`)return String(t);if(typeof t==`string`)return t.toLowerCase()}return``},w=e=>{let t=C(e.OwnershipType);return t.includes(`userowned`)||t.includes(`teamowned`)||t===`0`||t===`4`},T=e=>{let t=String(e.LogicalName??``);return e.DisplayName?.LocalizedLabels?.find(e=>!!e.Label)?.Label??t},ee=`Error invoking remote method 'dataverse.queryData':`,E=e=>{let t=e instanceof Error?e.message:String(e);return t.startsWith(ee)?t.slice(51):t},te=async(e,t,n)=>{let r=n.replace(/[{}]/g,``);return(await S(`${e}?${t?`$select=${t}&`:``}$filter=_ownerid_value eq ${r}`)).length},ne=async(e,t)=>{if(e.length===0)return{scannedEntities:0,analyzedEntities:0,failedEntities:0,failedEntityDetails:[],users:[]};let n=(await window.dataverseAPI.getAllEntitiesMetadata([`LogicalName`,`DisplayName`,`EntitySetName`,`PrimaryIdAttribute`,`OwnershipType`])).value.filter(e=>typeof e.EntitySetName==`string`&&w(e)),r=new Map;e.forEach(e=>r.set(e,[]));let i=0,a=0,o=0,s=[],c=[],l=(e,r)=>{t&&t({totalEntities:n.length,processedEntities:i,analyzedEntities:a,failedEntities:o,currentEntityLogicalName:e,currentEntityDisplayName:r,recentEntities:[...c]})},u=0,d=async t=>{let n=String(t.LogicalName??``),u=String(t.EntitySetName??``),d=T(t);if(!n||!u)return;l(n,d);let f=String(t.PrimaryIdAttribute??``),p=await Promise.all(e.map(async e=>{try{return{userId:e,count:await te(u,f,e),success:!0,errorMessage:``}}catch(t){let r=E(t);return y.warning(`Skipping ${n} for ${e}: ${r}`),{userId:e,count:0,success:!1,errorMessage:r}}}));if(!p.some(e=>e.success)){let e=p.find(e=>e.errorMessage)?.errorMessage??`Unknown error while counting records.`;o+=1,i+=1,s.push({entityLogicalName:n,entityDisplayName:d,message:e}),c.unshift({entityLogicalName:n,entityDisplayName:d,status:`failed`,recordsFound:0}),c.length>300&&c.pop(),l(n,d);return}a+=1,i+=1,p.forEach(({userId:e,count:i})=>{if(i<=0)return;let a=r.get(e)??[];a.push({entityLogicalName:n,entityDisplayName:d,entitySetName:u,primaryIdAttribute:String(t.PrimaryIdAttribute??``),recordCount:i}),r.set(e,a)});let m=p.reduce((e,t)=>e+(t.count>0?t.count:0),0);c.unshift({entityLogicalName:n,entityDisplayName:d,status:`analyzed`,recordsFound:m}),c.length>300&&c.pop(),l(n,d)},f=Math.min(10,n.length);await Promise.all(Array.from({length:f},async()=>{for(;;){let e=u;if(u+=1,e>=n.length)break;await d(n[e])}}));let p=e.map(e=>{let t=(r.get(e)??[]).sort((e,t)=>t.recordCount-e.recordCount),n=t.reduce((e,t)=>e+t.recordCount,0);return{userId:e,entityCounts:t,entitiesWithRecords:t.length,totalOwnedRecords:n}});return{scannedEntities:n.length,analyzedEntities:a,failedEntities:o,failedEntityDetails:s,users:p}},D=async(e,t,n)=>(await S(`${e}?$select=${t}&$filter=_ownerid_value eq ${n.replace(/[{}]/g,``)}`)).map(e=>e[t]).filter(e=>typeof e==`string`),re=(e,t)=>{if(t<=0)return[e];let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n},ie=async(e,t,n,r,i,a)=>{let o=[],s=0,c=0,l=i.reduce((e,t)=>e+t.recordCount,0),u=`/${r===`team`?`teams`:`systemusers`}(${n.replace(/[{}]/g,``)})`;for(let t of i){if(!t.primaryIdAttribute||!t.entitySetName)continue;let n=0,r=0,i=[],d=[];try{let o=re(await D(t.entitySetName,t.primaryIdAttribute,e),200),f=0,p=async()=>{for(;;){let e=f;if(f+=1,e>=o.length)break;let p=o[e],m=p.map(e=>({[t.primaryIdAttribute]:e,"@odata.type":`Microsoft.Dynamics.CRM.${t.entityLogicalName}`,"ownerid@odata.bind":u}));try{await window.dataverseAPI.updateMultiple(t.entityLogicalName,m),n+=p.length,i.push(...p)}catch(e){let n=E(e);r+=p.length,p.forEach(e=>{d.push({recordId:e,error:n})}),y.warning(`Failed to bulk reassign ${t.entityLogicalName} batch (${p.length} records): ${n}`)}a?.({assignedRecords:s+n,failedRecords:c+r,totalRecords:l,currentEntity:t.entityDisplayName})}},m=Math.min(5,o.length);await Promise.all(Array.from({length:m},async()=>{await p()}))}catch(e){r+=t.recordCount;let n=E(e);d.push({recordId:`(all)`,error:n}),y.warning(`Failed to load records for ${t.entityLogicalName}: ${n}`)}s+=n,c+=r,o.push({entityLogicalName:t.entityLogicalName,entityDisplayName:t.entityDisplayName,reassignedRecords:n,failedRecords:r,assignedRecordIds:i,failedRecordDetails:d})}return{sourceOwnerId:e,sourceOwnerType:t,targetOwnerId:n,targetOwnerType:r,processedEntities:o.length,reassignedRecords:s,failedRecords:c,entityResults:o}},ae=typeof window>`u`?global:window,oe=`@griffel/`;function se(e,t){return ae[Symbol.for(oe+e)]||(ae[Symbol.for(oe+e)]=t),ae[Symbol.for(oe+e)]}var ce=se(`DEFINITION_LOOKUP_TABLE`,{}),le=`data-make-styles-bucket`,ue=`data-priority`,de={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},fe=`DO_NOT_USE_DIRECTLY: @griffel/reset-value`;function pe(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function me(e){let t=e.length;if(t===7)return e;for(let n=t;n<7;n++)e+=`0`;return e}function he(e,t,n=[]){return`___`+me(pe(e+t))}function ge(e,t){let n=``,r=``;for(let i in e){let a=e[i];if(a===0){r+=i+` `;continue}let o=Array.isArray(a),s=t===`rtl`?(o?a[1]:a)+` `:(o?a[0]:a)+` `;n+=s,r+=s}return[n.slice(0,-1),r.slice(0,-1)]}function _e(e,t){let n={};for(let r in e){let[i,a]=ge(e[r],t);if(a===``){n[r]=``;continue}let o=he(a,t),s=o+(i===``?``:` `+i);ce[o]=[e[r],t],n[r]=s}return n}var ve={};function O(){let e=null,t=``,n=``,r=Array(arguments.length);for(let e=0;e<arguments.length;e++){let i=arguments[e];if(typeof i==`string`&&i!==``){let a=i.indexOf(`___`);if(a===-1)t+=i+` `;else{let o=i.substr(a,10);a>0&&(t+=i.slice(0,a)),n+=o,r[e]=o}}}if(n===``)return t.slice(0,-1);let i=ve[n];if(i!==void 0)return t+i;let a=[];for(let t=0;t<arguments.length;t++){let n=r[t];if(n){let t=ce[n];t&&(a.push(t[0]),e=t[1])}}let o=Object.assign.apply(Object,[{}].concat(a)),[s,c]=ge(o,e),l=he(c,e,r),u=l+` `+s;return ve[n]=u,ce[l]=[o,e],t+u}function ye(e){return Array.isArray(e)?e:[e]}function be(e,t,n,r){let i=[];if(r[le]=t,r[ue]=String(n),e)for(let t in r)e.setAttribute(t,r[t]);function a(t){return e?.sheet?e.sheet.insertRule(t,e.sheet.cssRules.length):i.push(t)}return{elementAttributes:r,insertRule:a,element:e,bucketName:t,cssRules(){return e?.sheet?Array.from(e.sheet.cssRules).map(e=>e.cssText):i}}}var xe=[`r`,`d`,`l`,`v`,`w`,`f`,`i`,`h`,`a`,`s`,`k`,`t`,`m`,`c`].reduce((e,t,n)=>(e[t]=n,e),{});function Se(e,t,n){return(e===`m`?e+t:e)+n}function Ce(e,t,n,r,i={}){let a=e===`m`,o=i.m??`0`,s=i.p??0,c=Se(e,o,s);if(!r.stylesheets[c]){let l=t&&t.createElement(`style`),u=be(l,e,s,Object.assign({},r.styleElementAttributes,a&&{media:o}));r.stylesheets[c]=u,t?.head&&l&&t.head.insertBefore(l,Te(t,n,e,r,i))}return r.stylesheets[c]}function we(e,t,n){return t+(n.m??``)===e.getAttribute(le)+(e.media??``)}function Te(e,t,n,r,i={}){let a=xe[n],o=i.m??``,s=i.p??0,c=e=>a-xe[e.getAttribute(le)],l=e.head.querySelectorAll(`[${le}]`);if(n===`m`){let t=e.head.querySelectorAll(`[${le}="${n}"]`);t.length&&(l=t,c=e=>r.compareMediaQueries(o,e.media))}let u=e=>we(e,n,i)?s-Number(e.getAttribute(`data-priority`)):c(e),d=l.length,f=d-1;for(;f>=0;){let e=l.item(f);if(u(e)>0)return e.nextSibling;f--}return d>0?l.item(0):t?t.nextSibling:null}`${[`-moz-placeholder`,`-moz-focus-inner`,`-moz-focusring`,`-ms-input-placeholder`,`-moz-read-write`,`-moz-read-only`].join(`|`)}`;function Ee(e,t){try{e.insertRule(t)}catch{}}var De=0,Oe=(e,t)=>e<t?-1:+(e>t);function ke(e=typeof document>`u`?void 0:document,t={}){let{classNameHashSalt:n,unstable_filterCSSRule:r,insertionPoint:i,styleElementAttributes:a,compareMediaQueries:o=Oe}=t,s={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(a),compareMediaQueries:o,id:`d${De++}`,insertCSSRules(t){for(let n in t){let a=t[n];for(let t=0,o=a.length;t<o;t++){let[o,c]=ye(a[t]),l=Ce(n,e,i||null,s,c);s.insertionCache[o]||(s.insertionCache[o]=n,r?r(o)&&Ee(l,o):Ee(l,o))}}}};return s}var Ae=()=>{let e={};return function(t,n){e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}};function je(e){return e.reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r,e[r]=n,e},{})}function Me(e){return typeof e==`boolean`}function Ne(e){return typeof e==`function`}function Pe(e){return typeof e==`number`}function Fe(e){return e==null}function Ie(e){return e&&typeof e==`object`}function Le(e){return typeof e==`string`}function Re(e,t){return e.indexOf(t)!==-1}function ze(e){return parseFloat(e)===0?e:e[0]===`-`?e.slice(1):`-`+e}function Be(e,t,n,r){return t+ze(n)+r}function Ve(e){var t=e.indexOf(`.`);if(t===-1)e=100-parseFloat(e)+`%`;else{var n=e.length-t-2;e=100-parseFloat(e),e=e.toFixed(n)+`%`}return e}function He(e){return e.replace(/ +/g,` `).split(` `).map(function(e){return e.trim()}).filter(Boolean).reduce(function(e,t){var n=e.list,r=e.state,i=(t.match(/\(/g)||[]).length,a=(t.match(/\)/g)||[]).length;return r.parensDepth>0?n[n.length-1]=n[n.length-1]+` `+t:n.push(t),r.parensDepth+=i-a,{list:n,state:r}},{list:[],state:{parensDepth:0}}).list}function Ue(e){var t=He(e);if(t.length<=3||t.length>4)return e;var n=t[0],r=t[1],i=t[2];return[n,t[3],i,r].join(` `)}function We(e){return!Me(e)&&!Fe(e)}function Ge(e){for(var t=[],n=0,r=0,i=!1;r<e.length;)!i&&e[r]===`,`?(t.push(e.substring(n,r).trim()),r++,n=r):e[r]===`(`?(i=!0,r++):(e[r]===`)`&&(i=!1),r++);return n!=r&&t.push(e.substring(n,r+1)),t}var k={padding:function(e){var t=e.value;return Pe(t)?t:Ue(t)},textShadow:function(e){var t=e.value;return Ge(t).map(function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,function(e,t,n,r){if(r===`0`)return e;var i=n===``?`-`:``;return``+t+i+r})}).join(`,`)},borderColor:function(e){var t=e.value;return Ue(t)},borderRadius:function(e){var t=e.value;if(Pe(t))return t;if(Re(t,`/`)){var n=t.split(`/`),r=n[0],i=n[1],a=k.borderRadius({value:r.trim()}),o=k.borderRadius({value:i.trim()});return a+` / `+o}var s=He(t);switch(s.length){case 2:return s.reverse().join(` `);case 4:var c=s[0],l=s[1],u=s[2];return[l,c,s[3],u].join(` `);default:return t}},background:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,i=e.bgImgDirectionRegex,a=e.bgPosDirectionRegex;if(Pe(t))return t;var o=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,``).trim();return t=t.replace(o,k.backgroundPosition({value:o,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:a})),k.backgroundImage({value:t,valuesToConvert:n,bgImgDirectionRegex:i})},backgroundImage:function(e){var t=e.value,n=e.valuesToConvert,r=e.bgImgDirectionRegex;return!Re(t,`url(`)&&!Re(t,`linear-gradient(`)?t:t.replace(r,function(e,t,r){return e.replace(r,n[r])})},backgroundPosition:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,i=e.bgPosDirectionRegex;return t.replace(r?/^((-|\d|\.)+%)/:null,function(e,t){return Ve(t)}).replace(i,function(e){return n[e]})},backgroundPositionX:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,i=e.bgPosDirectionRegex;return Pe(t)?t:k.backgroundPosition({value:t,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:i})},transition:function(e){var t=e.value,n=e.propertiesToConvert;return t.split(/,\s*/g).map(function(e){var t=e.split(` `);return t[0]=n[t[0]]||t[0],t.join(` `)}).join(`, `)},transitionProperty:function(e){var t=e.value,n=e.propertiesToConvert;return t.split(/,\s*/g).map(function(e){return n[e]||e}).join(`, `)},transform:function(e){var t=e.value,n=`[^\\u0020-\\u007e]`,r=`(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])`,i=`((?:-?`+(`(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|`+(`-?`+(`(?:[_a-z]|`+n+`|`+r+`)`)+(`(?:[_a-z0-9-]|`+n+`|`+r+`)`)+`*`)+`)?`)+`)|(?:inherit|auto))`,a=RegExp(`(translateX\\s*\\(\\s*)`+i+`(\\s*\\))`,`gi`),o=RegExp(`(translate\\s*\\(\\s*)`+i+`((?:\\s*,\\s*`+i+`){0,1}\\s*\\))`,`gi`),s=RegExp(`(translate3d\\s*\\(\\s*)`+i+`((?:\\s*,\\s*`+i+`){0,2}\\s*\\))`,`gi`),c=RegExp(`(rotate[ZY]?\\s*\\(\\s*)`+i+`(\\s*\\))`,`gi`);return t.replace(a,Be).replace(o,Be).replace(s,Be).replace(c,Be)}};k.objectPosition=k.backgroundPosition,k.margin=k.padding,k.borderWidth=k.padding,k.boxShadow=k.textShadow,k.webkitBoxShadow=k.boxShadow,k.mozBoxShadow=k.boxShadow,k.WebkitBoxShadow=k.boxShadow,k.MozBoxShadow=k.boxShadow,k.borderStyle=k.borderColor,k.webkitTransform=k.transform,k.mozTransform=k.transform,k.WebkitTransform=k.transform,k.MozTransform=k.transform,k.transformOrigin=k.backgroundPosition,k.webkitTransformOrigin=k.transformOrigin,k.mozTransformOrigin=k.transformOrigin,k.WebkitTransformOrigin=k.transformOrigin,k.MozTransformOrigin=k.transformOrigin,k.webkitTransition=k.transition,k.mozTransition=k.transition,k.WebkitTransition=k.transition,k.MozTransition=k.transition,k.webkitTransitionProperty=k.transitionProperty,k.mozTransitionProperty=k.transitionProperty,k.WebkitTransitionProperty=k.transitionProperty,k.MozTransitionProperty=k.transitionProperty,k[`text-shadow`]=k.textShadow,k[`border-color`]=k.borderColor,k[`border-radius`]=k.borderRadius,k[`background-image`]=k.backgroundImage,k[`background-position`]=k.backgroundPosition,k[`background-position-x`]=k.backgroundPositionX,k[`object-position`]=k.objectPosition,k[`border-width`]=k.padding,k[`box-shadow`]=k.textShadow,k[`-webkit-box-shadow`]=k.textShadow,k[`-moz-box-shadow`]=k.textShadow,k[`border-style`]=k.borderColor,k[`-webkit-transform`]=k.transform,k[`-moz-transform`]=k.transform,k[`transform-origin`]=k.transformOrigin,k[`-webkit-transform-origin`]=k.transformOrigin,k[`-moz-transform-origin`]=k.transformOrigin,k[`-webkit-transition`]=k.transition,k[`-moz-transition`]=k.transition,k[`transition-property`]=k.transitionProperty,k[`-webkit-transition-property`]=k.transitionProperty,k[`-moz-transition-property`]=k.transitionProperty;var Ke=je([[`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`]]),qe=[`content`],Je=je([[`ltr`,`rtl`],[`left`,`right`],[`w-resize`,`e-resize`],[`sw-resize`,`se-resize`],[`nw-resize`,`ne-resize`]]),Ye=RegExp(`(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)`,`g`),Xe=RegExp(`(left)|(right)`);function Ze(e){return Object.keys(e).reduce(function(t,n){var r=e[n];if(Le(r)&&(r=r.trim()),Re(qe,n))return t[n]=r,t;var i=Qe(n,r),a=i.key;return t[a]=i.value,t},Array.isArray(e)?[]:{})}function Qe(e,t){var n=/\/\*\s?@noflip\s?\*\//.test(t),r=n?e:$e(e);return{key:r,value:n?t:et(r,t)}}function $e(e){return Ke[e]||e}function et(e,t){if(!We(t))return t;if(Ie(t))return Ze(t);var n=Pe(t),r=Ne(t),i=n||r?t:t.replace(/ !important.*?$/,``),a=!n&&i.length!==t.length,o=k[e],s=o?o({value:i,valuesToConvert:Je,propertiesToConvert:Ke,isRtl:!0,bgImgDirectionRegex:Ye,bgPosDirectionRegex:Xe}):Je[i]||i;return a?s+` !important`:s}var tt=/[A-Z]/g,nt=/^ms-/,rt={};function it(e){return`-`+e.toLowerCase()}function at(e){if(Object.prototype.hasOwnProperty.call(rt,e))return rt[e];if(e.substr(0,2)===`--`)return e;let t=e.replace(tt,it);return rt[e]=nt.test(t)?`-`+t:t}function ot(e){return e.charAt(0)===`&`?e.slice(1):e}var st=`-moz-`,ct=`-webkit-`,lt=`comm`,ut=`rule`,dt=`decl`,ft=`@media`,pt=`@import`,mt=`@supports`,ht=`@namespace`,gt=`@keyframes`,_t=`@layer`,vt=Math.abs,yt=String.fromCharCode,bt=Object.assign;function xt(e,t){return A(e,0)^45?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}function St(e){return e.trim()}function Ct(e,t){return(e=t.exec(e))?e[0]:e}function wt(e,t,n){return e.replace(t,n)}function Tt(e,t,n){return e.indexOf(t,n)}function A(e,t){return e.charCodeAt(t)|0}function Et(e,t,n){return e.slice(t,n)}function Dt(e){return e.length}function Ot(e){return e.length}function kt(e,t){return t.push(e),e}function At(e,t){return e.map(t).join(``)}var jt=1,Mt=1,Nt=0,Pt=0,j=0,Ft=``;function It(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:jt,column:Mt,length:o,return:``,siblings:s}}function Lt(e,t){return bt(It(``,null,null,``,null,null,0,e.siblings),e,{length:-e.length},t)}function Rt(){return j}function zt(){return j=Pt>0?A(Ft,--Pt):0,Mt--,j===10&&(Mt=1,jt--),j}function Bt(){return j=Pt<Nt?A(Ft,Pt++):0,Mt++,j===10&&(Mt=1,jt++),j}function Vt(){return A(Ft,Pt)}function Ht(){return Pt}function Ut(e,t){return Et(Ft,e,t)}function Wt(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 Gt(e){return jt=Mt=1,Nt=Dt(Ft=e),Pt=0,[]}function Kt(e){return Ft=``,e}function qt(e){return St(Ut(Pt-1,Zt(e===91?e+2:e===40?e+1:e)))}function Jt(e){return Kt(M(Gt(e)))}function Yt(e){for(;(j=Vt())&&j<33;)Bt();return Wt(e)>2||Wt(j)>3?``:` `}function M(e){for(;Bt();)switch(Wt(j)){case 0:kt($t(Pt-1),e);break;case 2:kt(qt(j),e);break;default:kt(yt(j),e)}return e}function Xt(e,t){for(;--t&&Bt()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return Ut(e,Ht()+(t<6&&Vt()==32&&Bt()==32))}function Zt(e){for(;Bt();)switch(j){case e:return Pt;case 34:case 39:e!==34&&e!==39&&Zt(j);break;case 40:e===41&&Zt(e);break;case 92:Bt();break}return Pt}function Qt(e,t){for(;Bt()&&e+j!==57&&!(e+j===84&&Vt()===47););return`/*`+Ut(t,Pt-1)+`*`+yt(e===47?e:Bt())}function $t(e){for(;!Wt(Vt());)Bt();return Ut(e,Pt)}function en(e){return Kt(tn(``,null,null,null,[``],e=Gt(e),0,[0],e))}function tn(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=Bt()){case 40:if(m!=108&&A(C,d-1)==58){Tt(C+=wt(qt(v),`&`,`&\f`),`&\f`,vt(l?s[l-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:C+=qt(v);break;case 9:case 10:case 13:case 32:C+=Yt(m);break;case 92:C+=Xt(Ht()-1,7);continue;case 47:switch(Vt()){case 42:case 47:kt(rn(Qt(Bt(),Ht()),t,n,c),c),(Wt(m||1)==5||Wt(Vt()||1)==5)&&Dt(C)&&Et(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=Dt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=wt(C,/\f/g,``)),p>0&&(Dt(C)-d||h===0&&m===47)&&kt(p>32?an(C+`;`,r,n,d-1,c):an(wt(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if(kt(S=nn(C,t,n,l,u,i,s,y,b=[],x=[],d,a),a),v===123)if(u===0)tn(C,t,S,S,b,a,d,s,x);else{switch(f){case 99:if(A(C,3)===110)break;case 108:if(A(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?tn(e,S,S,r&&kt(nn(e,S,S,0,0,i,s,y,i,b=[],d,x),x),i,x,d,s,r?b:x):tn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Dt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&zt()==125)continue}switch(C+=yt(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Dt(C)-1)*_,_=1;break;case 64:Vt()===45&&(C+=qt(Bt())),f=Vt(),u=d=Dt(y=C+=$t(Ht())),v++;break;case 45:m===45&&Dt(C)==2&&(h=0)}}return a}function nn(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=Ot(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=Et(e,f+1,f=vt(g=o[h])),b=e;v<m;++v)(b=St(g>0?p[v]+` `+y:wt(y,/&\f/g,p[v])))&&(c[_++]=b);return It(e,t,n,i===0?ut:s,c,l,u,d)}function rn(e,t,n,r){return It(e,t,n,lt,yt(Rt()),Et(e,2,-2),0,r)}function an(e,t,n,r,i){return It(e,t,n,dt,Et(e,0,r),Et(e,r+1,-1),r,i)}function on(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function sn(e,t,n,r){switch(e.type){case _t:if(e.children.length)break;case pt:case ht:case dt:return e.return=e.return||e.value;case lt:return``;case gt:return e.return=e.value+`{`+on(e.children,r)+`}`;case ut:if(!Dt(e.value=e.props.join(`,`)))return``}return Dt(n=on(e.children,r))?e.return=e.value+`{`+n+`}`:``}function cn(e){var t=Ot(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function ln(e){return function(t){t.root||(t=t.return)&&e(t)}}var un=e=>{switch(e.type){case ut:if(typeof e.props==`string`)return;e.props=e.props.map(e=>e.indexOf(`:global(`)===-1?e:Jt(e).reduce((e,t,n,r)=>{if(t===``)return e;if(t===`:`&&r[n+1]===`global`){let t=r[n+2].slice(1,-1)+` `;return e.unshift(t),r[n+1]=``,r[n+2]=``,e}return e.push(t),e},[]).join(``))}};function dn(e,t,n){switch(xt(e,t)){case 5103:return ct+`print-`+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return ct+e+e;case 4215:if(A(e,9)===102||A(e,t+1)===116)return ct+e+e;break;case 4789:return st+e+e;case 5349:case 4246:case 6968:return ct+e+st+e+e;case 6187:if(!Ct(e,/grab/))return wt(wt(wt(e,/(zoom-|grab)/,ct+`$1`),/(image-set)/,ct+`$1`),e,``)+e;case 5495:case 3959:return wt(e,/(image-set\([^]*)/,ct+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return wt(e,/(.+)-inline(.+)/,ct+`$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(Dt(e)-1-t>6)switch(A(e,t+1)){case 102:if(A(e,t+3)===108)return wt(e,/(.+:)(.+)-([^]+)/,`$1`+ct+`$2-$3$1`+st+(A(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Tt(e,`stretch`)?dn(wt(e,`stretch`,`fill-available`),t)+e:e}break}return e}function fn(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case dt:e.return=dn(e.value,e.length);return;case ut:if(e.length)return At(e.props,function(t){switch(Ct(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return on([Lt(e,{props:[wt(t,/:(read-\w+)/,`:`+st+`$1`)]})],r);case`::placeholder`:return on([Lt(e,{props:[wt(t,/:(plac\w+)/,`:`+ct+`input-$1`)]}),Lt(e,{props:[wt(t,/:(plac\w+)/,`:`+st+`$1`)]})],r)}return``})}}function pn(e){switch(e.type){case`@container`:case ft:case mt:case _t:return!0}return!1}var mn=e=>{pn(e)&&Array.isArray(e.children)&&e.children.sort((e,t)=>e.props[0]>t.props[0]?1:-1)};function hn(){}function gn(e,t){let n=[];return on(en(e),cn([un,t?mn:hn,fn,sn,ln(e=>n.push(e))])),n}var _n=/,( *[^ &])/g;function vn(e){return`&`+ot(e.replace(_n,`,&$1`))}function yn(e,t,n){let r=t;return n.length>0&&(r=n.reduceRight((e,t)=>`${vn(t)} { ${e} }`,t)),`${e}{${r}}`}function bn(e,t){let{className:n,selectors:r,property:i,rtlClassName:a,rtlProperty:o,rtlValue:s,value:c}=e,{container:l,layer:u,media:d,supports:f}=t,p=yn(`.${n}`,Array.isArray(c)?`${c.map(e=>`${at(i)}: ${e}`).join(`;`)};`:`${at(i)}: ${c};`,r);if(o&&a){let e=`.${a}`,t=Array.isArray(s)?`${s.map(e=>`${at(o)}: ${e}`).join(`;`)};`:`${at(o)}: ${s};`;p+=yn(e,t,r)}return d&&(p=`@media ${d} { ${p} }`),u&&(p=`@layer ${u} { ${p} }`),f&&(p=`@supports ${f} { ${p} }`),l&&(p=`@container ${l} { ${p} }`),gn(p,!0)}function xn(e){let t=``;for(let n in e){let r=e[n];if(typeof r==`string`||typeof r==`number`){t+=at(n)+`:`+r+`;`;continue}if(Array.isArray(r))for(let e of r)t+=at(n)+`:`+e+`;`}return t}function Sn(e){let t=``;for(let n in e)t+=`${n}{${xn(e[n])}}`;return t}function Cn(e,t){let n=`@keyframes ${e} {${t}}`,r=[];return on(en(n),cn([sn,fn,ln(e=>r.push(e))])),r}var wn={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 Tn(e,t){return e.length===0?t:`${e} and ${t}`}function En(e){return e.substr(0,6)===`@media`}function Dn(e){return e.substr(0,6)===`@layer`}var On=/^(:|\[|>|&)/;function kn(e){return On.test(e)}function An(e){return e.substr(0,9)===`@supports`}function jn(e){return e.substring(0,10)===`@container`}function Mn(e){return typeof e==`object`&&!!e&&Array.isArray(e)===!1}var Nn={"us-w":`w`,"us-v":`i`,nk:`l`,si:`v`,cu:`f`,ve:`h`,ti:`a`};function Pn(e,t){if(t.media)return`m`;if(t.layer||t.supports)return`t`;if(t.container)return`c`;if(e.length>0){let t=e[0].trim();if(t.charCodeAt(0)===58)return Nn[t.slice(4,8)]||Nn[t.slice(3,5)]||`d`}return`d`}function Fn(e,t){return e&&t+e}function In(e){return Fn(e.container,`c`)+Fn(e.media,`m`)+Fn(e.layer,`l`)+Fn(e.supports,`s`)}function Ln(e,t,n){let r=pe(e+In(n)+t),i=r.charCodeAt(0);return i>=48&&i<=57?String.fromCharCode(i+17)+r.slice(1):r}function Rn({property:e,selector:t,salt:n,value:r},i){return`f`+pe(n+t+In(i)+e+r.trim())}function zn(e){return e===fe}function Bn(e){return e.replace(/>\s+/g,`>`)}function Vn(e){return wn[e]}function Hn(e){return e?.[0]??0}function Un(e,t,n,r){e[t]=r?[n,r]:n}function Wn(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function Gn(e,t,n,r,i,a){let o=[];a!==0&&o.push([`p`,a]),t===`m`&&i&&o.push([`m`,i]),e[t]??(e[t]=[]),n&&e[t].push(Wn(n,o)),r&&e[t].push(Wn(r,o))}function Kn(e,t=``,n=[],r={container:``,layer:``,media:``,supports:``},i={},a={},o){for(let s in e){if(de.hasOwnProperty(s)){e[s];continue}let c=e[s];if(c!=null){if(zn(c)){Un(i,Ln(Bn(n.join(``)),s,r),0,void 0);continue}if(typeof c==`string`||typeof c==`number`){let e=Bn(n.join(``)),l=Vn(s);if(l){let e=l[1];Kn(Object.fromEntries(e.map(e=>[e,fe])),t,n,r,i,a)}let u=Ln(e,s,r),d=Rn({value:c.toString(),salt:t,selector:e,property:s},r),f=o&&{key:s,value:o}||Qe(s,c),p=f.key!==s||f.value!==c,m=p?Rn({value:f.value.toString(),property:f.key,salt:t,selector:e},r):void 0,h=p?{rtlClassName:m,rtlProperty:f.key,rtlValue:f.value}:void 0,g=Pn(n,r),[_,v]=bn(Object.assign({className:d,selectors:n,property:s,value:c},h),r);Un(i,u,d,m),Gn(a,g,_,v,r.media,Hn(l))}else if(s===`animationName`){let e=Array.isArray(c)?c:[c],o=[],s=[];for(let t of e){let e=Sn(t),n=Sn(Ze(t)),i=`f`+pe(e),c,l=Cn(i,e),u=[];e===n?c=i:(c=`f`+pe(n),u=Cn(c,n));for(let e=0;e<l.length;e++)Gn(a,`k`,l[e],u[e],r.media,0);o.push(i),s.push(c)}Kn({animationName:o.join(`, `)},t,n,r,i,a,s.join(`, `))}else if(Array.isArray(c)){if(c.length===0)continue;let e=Bn(n.join(``)),o=Vn(s);if(o){let e=o[1];Kn(Object.fromEntries(e.map(e=>[e,fe])),t,n,r,i,a)}let l=Ln(e,s,r),u=Rn({value:c.map(e=>(e??``).toString()).join(`;`),salt:t,selector:e,property:s},r),d=c.map(e=>Qe(s,e));if(d.some(e=>e.key!==d[0].key))continue;let f=d[0].key!==s||d.some((e,t)=>e.value!==c[t]),p=f?Rn({value:d.map(e=>(e?.value??``).toString()).join(`;`),salt:t,property:d[0].key,selector:e},r):void 0,m=f?{rtlClassName:p,rtlProperty:d[0].key,rtlValue:d.map(e=>e.value)}:void 0,h=Pn(n,r),[g,_]=bn(Object.assign({className:u,selectors:n,property:s,value:c},m),r);Un(i,l,u,p),Gn(a,h,g,_,r.media,Hn(o))}else if(Mn(c)){if(kn(s))Kn(c,t,n.concat(ot(s)),r,i,a);else if(En(s)){let e=Tn(r.media,s.slice(6).trim());Kn(c,t,n,Object.assign({},r,{media:e}),i,a)}else if(Dn(s)){let e=(r.layer?`${r.layer}.`:``)+s.slice(6).trim();Kn(c,t,n,Object.assign({},r,{layer:e}),i,a)}else if(An(s)){let e=Tn(r.supports,s.slice(9).trim());Kn(c,t,n,Object.assign({},r,{supports:e}),i,a)}else if(jn(s)){let e=s.slice(10).trim();Kn(c,t,n,Object.assign({},r,{container:e}),i,a)}}}}return[i,a]}function qn(e,t=``){let n={},r={};for(let i in e){let a=e[i],[o,s]=Kn(a,t);n[i]=o,Object.keys(s).forEach(e=>{r[e]=(r[e]||[]).concat(s[e])})}return[n,r]}function Jn(e,t=Ae){let n=t(),r=null,i=null,a=null,o=null;function s(t){let{dir:s,renderer:c}=t;r===null&&([r,i]=qn(e,c.classNameHashSalt));let l=s===`ltr`;return l?a===null&&(a=_e(r,s)):o===null&&(o=_e(r,s)),n(c,i),l?a:o}return s}function Yn(e,t,n=Ae){let r=n(),i=null,a=null;function o(n){let{dir:o,renderer:s}=n,c=o===`ltr`;return c?i===null&&(i=_e(e,o)):a===null&&(a=_e(e,o)),r(s,t),c?i:a}return o}function Xn(e,t,n,r=Ae){let i=r();function a(r){let{dir:a,renderer:o}=r,s=a===`ltr`?e:t||e;return i(o,Array.isArray(n)?{r:n}:n),s}return a}function Zn(){return typeof window<`u`&&!!(window.document&&window.document.createElement)}var Qn=_.useInsertionEffect?_.useInsertionEffect:void 0,$n=()=>{let e={};return function(t,n){if(Qn&&Zn()){Qn(()=>{t.insertCSSRules(n)},[t,n]);return}e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}},er=_.createContext(ke());function tr(){return _.useContext(er)}var nr=_.createContext(`ltr`),rr=({children:e,dir:t})=>_.createElement(nr.Provider,{value:t},e);function ir(){return _.useContext(nr)}function ar(e){let t=Jn(e,$n);return function(){return t({dir:ir(),renderer:tr()})}}function N(e,t){let n=Yn(e,t,$n);return function(){return n({dir:ir(),renderer:tr()})}}function or(e,t,n){let r=Xn(e,t,n,$n);return function(){return r({dir:ir(),renderer:tr()})}}function sr(e,t){return t?`${e} { ${Object.keys(t).reduce((e,n)=>`${e}--${n}: ${t[n]}; `,``)} }`:`${e} {}`}var cr=Symbol.for(`fui.slotRenderFunction`),lr=Symbol.for(`fui.slotElementType`),ur=Symbol.for(`fui.slotClassNameProp`);function P(e,t){let{defaultProps:n,elementType:r}=t,i=dr(e),a={...n,...i,[lr]:r,[ur]:i?.className};return i&&typeof i.children==`function`&&(a[cr]=i.children,a.children=n?.children),a}function F(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return P(e,t)}function dr(e){return typeof e==`string`||typeof e==`number`||fr(e)||_.isValidElement(e)?{children:e}:e}var fr=e=>typeof e==`object`&&!!e&&Symbol.iterator in e;function pr(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!_.isValidElement(e)}function mr(e){return!!e?.hasOwnProperty(lr)}var I=(...e)=>{let t={};for(let n of e){let e=Array.isArray(n)?n:Object.keys(n);for(let n of e)t[n]=1}return t},hr=I(`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`.split(`.`)),gr=I(I([`accessKey`,`children`,`className`,`contentEditable`,`dir`,`draggable`,`hidden`,`htmlFor`,`id`,`lang`,`ref`,`role`,`style`,`tabIndex`,`title`,`translate`,`spellCheck`,`name`]),hr,I([`itemID`,`itemProp`,`itemRef`,`itemScope`,`itemType`])),_r=I(gr,[`form`]),vr=I(gr,[`height`,`loop`,`muted`,`preload`,`src`,`width`]),yr=I(vr,[`poster`]),br=I(gr,[`start`]),xr=I(gr,[`value`]),Sr=I(gr,[`download`,`href`,`hrefLang`,`media`,`referrerPolicy`,`rel`,`target`,`type`]),Cr=I(gr,[`dateTime`]),wr=I(gr,[`autoFocus`,`disabled`,`form`,`formAction`,`formEncType`,`formMethod`,`formNoValidate`,`formTarget`,`type`,`value`]),Tr=I(wr,`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`.split(`.`)),Er=I(wr,[`autoCapitalize`,`cols`,`dirname`,`form`,`maxLength`,`placeholder`,`readOnly`,`required`,`rows`,`wrap`]),Dr=I(wr,[`form`,`multiple`,`required`]),Or=I(gr,[`selected`,`value`]),kr=I(gr,[`cellPadding`,`cellSpacing`]),Ar=gr,jr=I(gr,[`colSpan`,`rowSpan`,`scope`]),Mr=I(gr,[`colSpan`,`headers`,`rowSpan`,`scope`]),Nr=I(gr,[`span`]),Pr=I(gr,[`span`]),Fr=I(gr,[`disabled`,`form`]),Ir=I(gr,[`acceptCharset`,`action`,`encType`,`encType`,`method`,`noValidate`,`target`]),Lr=I(gr,[`allow`,`allowFullScreen`,`allowPaymentRequest`,`allowTransparency`,`csp`,`height`,`importance`,`referrerPolicy`,`sandbox`,`src`,`srcDoc`,`width`]),Rr=I(gr,[`alt`,`crossOrigin`,`height`,`src`,`srcSet`,`useMap`,`width`]),zr=I(gr,[`open`,`onCancel`,`onClose`]);function Br(e,t,n){let r=Array.isArray(t),i={},a=Object.keys(e);for(let o of a)(!r&&t[o]||r&&t.indexOf(o)>=0||o.indexOf(`data-`)===0||o.indexOf(`aria-`)===0)&&(!n||n?.indexOf(o)===-1)&&(i[o]=e[o]);return i}var Vr={label:_r,audio:vr,video:yr,ol:br,li:xr,a:Sr,button:wr,input:Tr,textarea:Er,select:Dr,option:Or,table:kr,tr:Ar,th:jr,td:Mr,colGroup:Nr,col:Pr,fieldset:Fr,form:Ir,iframe:Lr,img:Rr,time:Cr,dialog:zr};function Hr(e,t,n){let r=e&&Vr[e]||gr;return r.as=1,Br(t,r,n)}var Ur=({primarySlotTagName:e,props:t,excludedPropNames:n})=>({root:{style:t.style,className:t.className},primary:Hr(e,t,[...n||[],`style`,`className`])}),L=(e,t,n)=>Hr(t.as??e,t,n);function Wr(e,t){let n=_.useRef(void 0),r=_.useCallback((r,i)=>(n.current!==void 0&&t(n.current),n.current=e(r,i),n.current),[t,e]),i=_.useCallback(()=>{n.current!==void 0&&(t(n.current),n.current=void 0)},[t]);return _.useEffect(()=>i,[i]),[r,i]}var Gr=_.createContext(void 0),Kr=Gr.Provider,qr=_.createContext(void 0),Jr=``,Yr=qr.Provider;function Xr(){return _.useContext(qr)??Jr}var Zr=_.createContext(void 0).Provider,Qr=_.createContext(void 0),$r={targetDocument:typeof document==`object`?document:void 0,dir:`ltr`},ei=Qr.Provider;function ti(){return _.useContext(Qr)??$r}var ni=_.createContext(void 0),ri=ni.Provider;function ii(){return _.useContext(ni)??{}}var ai=_.createContext(void 0),oi=()=>{},si=ai.Provider,R=e=>_.useContext(ai)?.[e]??oi,ci=_.createContext(void 0);ci.Provider;function li(){return _.useContext(ci)}var z=e=>(e(0),0),ui=e=>e;function di(){let{targetDocument:e}=ti(),t=e?.defaultView;return Wr(t?t.requestAnimationFrame:z,t?t.cancelAnimationFrame:ui)}function fi(e){return typeof e==`function`}var pi=e=>{"use no memo";let[t,n]=_.useState(()=>e.defaultState===void 0?e.initialState:mi(e.defaultState)?e.defaultState():e.defaultState),r=_.useRef(e.state);_.useEffect(()=>{r.current=e.state},[e.state]);let i=_.useCallback(e=>{fi(e)&&e(r.current)},[]);return hi(e.state)?[e.state,i]:[t,n]};function mi(e){return typeof e==`function`}var hi=e=>{"use no memo";let[t]=_.useState(()=>e!==void 0);return t};function gi(){return typeof window<`u`&&!!(window.document&&window.document.createElement)}var _i={current:0},vi=_.createContext(void 0);function yi(){return _.useContext(vi)??_i}var bi=gi()?_.useLayoutEffect:_.useEffect,B=e=>{let t=_.useRef(()=>{throw Error(`Cannot call an event handler while rendering`)});return bi(()=>{t.current=e},[e]),_.useCallback((...e)=>{let n=t.current;return n(...e)},[t])};function xi(){let e=_.useRef(!0);return _.useEffect(()=>{e.current&&=!1},[]),e.current}function Si(){return _.useReducer(e=>e+1,0)[1]}var Ci=_.createContext(void 0);Ci.Provider;function wi(){return _.useContext(Ci)||``}function Ti(e=`fui-`,t){"use no memo";let n=yi(),r=wi(),i=_.useId;if(i){let n=i(),a=_.useMemo(()=>n.replace(/:/g,``),[n]);return t||`${r}${e}${a}`}return _.useMemo(()=>t||`${r}${e}${++n.current}`,[r,e,t,n])}function Ei(...e){"use no memo";let t=_.useCallback(n=>{t.current=n;for(let t of e)typeof t==`function`?t(n):t&&(t.current=n)},[...e]);return t}var Di=(e,t)=>!!e?.contains(t),Oi=e=>{let{targetDocument:t}=ti(),n=t?.defaultView,{refs:r,callback:i,element:a,disabled:o,disabledFocusOnIframe:s,contains:c=Di}=e,l=_.useRef(void 0);ji({element:a,disabled:s||o,callback:i,refs:r,contains:c});let u=_.useRef(!1),d=B(e=>{if(u.current){u.current=!1;return}let t=e.composedPath()[0];r.every(e=>!c(e.current||null,t))&&!o&&i(e)}),f=B(e=>{u.current=r.some(t=>c(t.current||null,e.target))});_.useEffect(()=>{if(o)return;let e=ki(n),t=t=>{if(t===e){e=void 0;return}d(t)};return a?.addEventListener(`click`,t,!0),a?.addEventListener(`touchstart`,t,!0),a?.addEventListener(`contextmenu`,t,!0),a?.addEventListener(`mousedown`,f,!0),l.current=n?.setTimeout(()=>{e=void 0},1),()=>{a?.removeEventListener(`click`,t,!0),a?.removeEventListener(`touchstart`,t,!0),a?.removeEventListener(`contextmenu`,t,!0),a?.removeEventListener(`mousedown`,f,!0),n?.clearTimeout(l.current),e=void 0}},[d,a,o,f,n])},ki=e=>{if(e)return typeof e.window==`object`&&e.window===e?e.event:e.ownerDocument?.defaultView?.event??void 0},Ai=`fuiframefocus`,ji=e=>{let{disabled:t,element:n,callback:r,contains:i=Di,pollDuration:a=100,refs:o}=e,s=_.useRef(void 0),c=B(e=>{o.every(t=>!i(t.current||null,e.target))&&!t&&r(e)});_.useEffect(()=>{if(!t)return n?.addEventListener(Ai,c,!0),()=>{n?.removeEventListener(Ai,c,!0)}},[n,t,c]),_.useEffect(()=>{if(!t)return s.current=n?.defaultView?.setInterval(()=>{let e=n?.activeElement;if(e?.tagName===`IFRAME`||e?.tagName===`WEBVIEW`){let t=new CustomEvent(Ai,{bubbles:!0});e.dispatchEvent(t)}},a),()=>{var e;n==null||(e=n.defaultView)==null||e.clearInterval(s.current)}},[n,t,a])},Mi=e=>-1,Ni=e=>void 0;function Pi(){let{targetDocument:e}=ti(),t=e?.defaultView;return Wr(t?t.setTimeout:Mi,t?t.clearTimeout:Ni)}var Fi=!1;function Ii(e){if(e)return Fi?e.props.ref:e.ref}function Li(e,t){return(...n)=>{e?.(...n),t?.(...n)}}function Ri(e,t){let n=e;return!!(n!=null&&n.ownerDocument?.defaultView&&n instanceof n.ownerDocument.defaultView[t?.constructorName??`HTMLElement`])}function zi(e){if(!Ri(e))return!1;let{tagName:t}=e;switch(t){case`BUTTON`:case`A`:case`INPUT`:case`TEXTAREA`:return!0}return e.isContentEditable}function Bi(e){return e.type.startsWith(`touch`)}function Vi(e){return e.type.startsWith(`mouse`)||[`click`,`contextmenu`,`dblclick`].indexOf(e.type)>-1}function Hi(e){return Vi(e)?{clientX:e.clientX,clientY:e.clientY}:Bi(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function Ui(e){return e instanceof Set?e:new Set(e)}function Wi(e){let[t,n]=pi({initialState:new Set,defaultState:_.useMemo(()=>e.defaultSelectedItems&&Ui(e.defaultSelectedItems),[e.defaultSelectedItems]),state:_.useMemo(()=>e.selectedItems&&Ui(e.selectedItems),[e.selectedItems])});return[t,(t,r)=>{var i;(i=e.onSelectionChange)==null||i.call(e,t,{selectedItems:r}),n(r)}]}function Gi(e){let[t,n]=Wi(e);return[t,{deselectItem:e=>n(e,new Set),selectItem:(e,t)=>n(e,new Set([t])),toggleAllItems:()=>{},toggleItem:(e,t)=>n(e,new Set([t])),clearItems:e=>n(e,new Set),isSelected:e=>t.has(e)??!1}]}function Ki(e){let[t,n]=Wi(e);return[t,{toggleItem:(e,r)=>{let i=new Set(t);t.has(r)?i.delete(r):i.add(r),n(e,i)},selectItem:(e,r)=>{let i=new Set(t);i.add(r),n(e,i)},deselectItem:(e,r)=>{let i=new Set(t);i.delete(r),n(e,i)},clearItems:e=>{n(e,new Set)},isSelected:e=>t.has(e),toggleAllItems:(e,r)=>{let i=r.every(e=>t.has(e)),a=new Set(t);i?a.clear():r.forEach(e=>a.add(e)),n(e,a)}}]}function qi(e){"use no memo";return e.selectionMode===`multiselect`?Ki(e):Gi(e)}function Ji(e){return e&&!!e._virtual}function V(e){return Ji(e)&&e._virtual.parent||null}function Yi(e,t={}){if(!e)return null;if(!t.skipVirtual){let t=V(e);if(t)return t}let n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Xi(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function Zi(e,t){return{...t,[lr]:e}}var Qi=s((e=>{if(typeof Symbol==`function`&&Symbol.for){var t=Symbol.for;t(`react.element`),t(`react.portal`),t(`react.fragment`),t(`react.strict_mode`),t(`react.profiler`),t(`react.provider`),t(`react.context`),t(`react.forward_ref`),t(`react.suspense`),t(`react.suspense_list`),t(`react.memo`),t(`react.lazy`),t(`react.block`),t(`react.server.block`),t(`react.fundamental`),t(`react.debug_trace_mode`),t(`react.legacy_hidden`)}}));s(((e,t)=>{t.exports=Qi()}))();function $i(e,t){return function(n,r,i,a,o){return mr(r)?t(Zi(n,r),null,i,a,o):mr(n)?t(n,r,i,a,o):e(n,r,i,a,o)}}function ea(e){let{as:t,[ur]:n,[lr]:r,[cr]:i,...a}=e,o=a,s=typeof r==`string`?t??r:r;return typeof s!=`string`&&t&&(o.as=t),{elementType:s,props:o,renderFunction:i}}var ta=s((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),H=l(s(((e,t)=>{t.exports=ta()}))()),na=H,ra=(e,t,n)=>{let{elementType:r,renderFunction:i,props:a}=ea(e),o={...a,...t};return i?na.jsx(_.Fragment,{children:i(r,o)},n):na.jsx(r,o,n)},ia=(e,t,n)=>{let{elementType:r,renderFunction:i,props:a}=ea(e),o={...a,...t};return i?na.jsx(_.Fragment,{children:i(r,{...o,children:na.jsxs(_.Fragment,{children:o.children},void 0)})},n):na.jsxs(r,o,n)},U=$i(na.jsx,ra),aa=$i(na.jsxs,ia),oa=_.createContext(void 0),sa={},ca=oa.Provider,la=()=>_.useContext(oa)??sa,ua=(e,t)=>U(ei,{value:t.provider,children:U(Kr,{value:t.theme,children:U(Yr,{value:t.themeClassName,children:U(si,{value:t.customStyleHooks_unstable,children:U(Zr,{value:t.tooltip,children:U(rr,{dir:t.textDirection,children:U(ca,{value:t.iconDirection,children:U(ri,{value:t.overrides_unstable,children:aa(e.root,{children:[gi()?null:U(`style`,{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}),da=typeof WeakRef<`u`,fa=class{constructor(e){da&&typeof e==`object`?this._weakRef=new WeakRef(e):this._instance=e}deref(){let e;return this._weakRef?(e=this._weakRef?.deref(),e||delete this._weakRef):(e=this._instance,(e?.isDisposed)?.call(e)&&delete this._instance),e}},pa=`keyborg:focusin`,ma=`keyborg:focusout`;function ha(e){let t=e.HTMLElement,n=t.prototype.focus,r=!1;return t.prototype.focus=function(){r=!0},e.document.createElement(`button`).focus(),t.prototype.focus=n,r}var ga=!1;function _a(e){let t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function va(e){let t=e;ga||=ha(t);let n=t.HTMLElement.prototype.focus;if(n.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=c;let r=new Set,i=e=>{let t=e.target;if(!t)return;let n=new CustomEvent(ma,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(n)},a=e=>{let t=e.target;if(!t)return;let n=e.composedPath()[0],s=new Set;for(;n;)n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(s.add(n),n=n.host):n=n.parentNode;for(let e of r){let t=e.deref();(!t||!s.has(t))&&(r.delete(e),t&&(t.removeEventListener(`focusin`,a,!0),t.removeEventListener(`focusout`,i,!0)))}o(t,e.relatedTarget||void 0)},o=(e,t,n)=>{let o=e.shadowRoot;if(o){for(let e of r)if(e.deref()===o)return;o.addEventListener(`focusin`,a,!0),o.addEventListener(`focusout`,i,!0),r.add(new fa(o));return}let c={relatedTarget:t,originalEvent:n},l=new CustomEvent(pa,{cancelable:!0,bubbles:!0,composed:!0,detail:c});l.details=c,(ga||s.lastFocusedProgrammatically)&&(c.isFocusedProgrammatically=e===s.lastFocusedProgrammatically?.deref(),s.lastFocusedProgrammatically=void 0),e.dispatchEvent(l)},s=t.__keyborgData={focusInHandler:a,focusOutHandler:i,shadowTargets:r};t.document.addEventListener(`focusin`,t.__keyborgData.focusInHandler,!0),t.document.addEventListener(`focusout`,t.__keyborgData.focusOutHandler,!0);function c(){let e=t.__keyborgData;return e&&(e.lastFocusedProgrammatically=new fa(this)),n.apply(this,arguments)}let l=t.document.activeElement;for(;l&&l.shadowRoot;)o(l),l=l.shadowRoot.activeElement;c.__keyborgNativeFocus=n}function ya(e){let t=e,n=t.HTMLElement.prototype,r=n.focus.__keyborgNativeFocus,i=t.__keyborgData;if(i){t.document.removeEventListener(`focusin`,i.focusInHandler,!0),t.document.removeEventListener(`focusout`,i.focusOutHandler,!0);for(let e of i.shadowTargets){let t=e.deref();t&&(t.removeEventListener(`focusin`,i.focusInHandler,!0),t.removeEventListener(`focusout`,i.focusOutHandler,!0))}i.shadowTargets.clear(),delete t.__keyborgData}r&&(n.focus=r)}var ba=500,xa=0,Sa=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=e=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;let t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||t.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=e=>{e.buttons===0||e.clientX===0&&e.clientY===0&&e.screenX===0&&e.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let e=this._win;e&&(this._isMouseOrTouchUsedTimer&&e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=e.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=e=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(e)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(e)&&(this.isNavigatingWithKeyboard=!0)},this.id=`c`+ ++xa,this._win=e;let n=e.document;if(t){let e=t.triggerKeys,n=t.dismissKeys;e?.length&&(this._triggerKeys=new Set(e)),n?.length&&(this._dismissKeys=new Set(n))}n.addEventListener(pa,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),va(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(){let e=this._win;if(e){this._isMouseOrTouchUsedTimer&&=(e.clearTimeout(this._isMouseOrTouchUsedTimer),void 0),this._dismissTimer&&=(e.clearTimeout(this._dismissTimer),void 0),ya(e);let t=e.document;t.removeEventListener(pa,this._onFocusIn,!0),t.removeEventListener(`mousedown`,this._onMouseDown,!0),e.removeEventListener(`keydown`,this._onKeyDown,!0),t.removeEventListener(`touchstart`,this._onMouseOrTouch,!0),t.removeEventListener(`touchend`,this._onMouseOrTouch,!0),t.removeEventListener(`touchcancel`,this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){let e=this._win?.__keyborg?.refs;if(e)for(let t of Object.keys(e))Ca.update(e[t],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){if(e.key===`Tab`)return!0;let t=this._win?.document.activeElement,n=!this._triggerKeys||this._triggerKeys.has(e.keyCode),r=t&&(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable);return n&&!r}_shouldDismissKeyboardNavigation(e){return this._dismissKeys?.has(e.keyCode)}_scheduleDismiss(){let e=this._win;if(e){this._dismissTimer&&=(e.clearTimeout(this._dismissTimer),void 0);let t=e.document.activeElement;this._dismissTimer=e.setTimeout(()=>{this._dismissTimer=void 0;let n=e.document.activeElement;t&&n&&t===n&&(this.isNavigatingWithKeyboard=!1)},ba)}}},Ca=class e{constructor(e,t){this._cb=[],this._id=`k`+ ++xa,this._win=e;let n=e.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new Sa(e,t),e.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,n){return new e(t,n)}static dispose(e){e.dispose()}static update(e,t){e._cb.forEach(e=>e(t))}dispose(){let e=this._win?.__keyborg;e?.refs[this._id]&&(delete e.refs[this._id],Object.keys(e.refs).length===0&&(e.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){return!!this._core?.isNavigatingWithKeyboard}subscribe(e){this._cb.push(e)}unsubscribe(e){let t=this._cb.indexOf(e);t>=0&&this._cb.splice(t,1)}setVal(e){this._core&&(this._core.isNavigatingWithKeyboard=e)}};function wa(e,t){return Ca.create(e,t)}function W(e){Ca.dispose(e)}var Ta=`data-tabster`,Ea=`data-tabster-dummy`,Da=[`a[href]`,`button:not([disabled])`,`input:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`,`*[tabindex]`,`*[contenteditable]`,`details > summary`,`audio[controls]`,`video[controls]`].join(`, `),Oa={EscapeGroupper:1,Restorer:2,Deloser:3},ka={Invisible:0,PartiallyVisible:1,Visible:2},Aa={Source:0,Target:1},ja={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},Ma={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Na={Unlimited:0,Limited:1,LimitedTrapFocus:2},Pa={Enter:1,Escape:2},Fa={Auto:0,Inside:1,Outside:2};function Ia(e,t){return e.storageEntry(t)?.tabster}function La(e,t,n){let r=n||e._noop?void 0:t.getAttribute(Ta),i=e.storageEntry(t),a;if(r)if(r!==i?.attr?.string)try{let e=JSON.parse(r);if(typeof e!=`object`)throw Error(`Value is not a JSON object, got '${r}'.`);a={string:r,object:e}}catch{}else return;else if(!i)return;i||=e.storageEntry(t,!0),i.tabster||={};let o=i.tabster||{},s=i.attr?.object||{},c=a?.object||{};for(let n of Object.keys(s))if(!c[n]){if(n===`root`){let t=o[n];t&&e.root.onRoot(t,!0)}switch(n){case`deloser`:case`root`:case`groupper`:case`modalizer`:case`restorer`:case`mover`:let r=o[n];r&&(r.dispose(),delete o[n]);break;case`observed`:delete o[n],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case`focusable`:case`outline`:case`uncontrolled`:case`sys`:delete o[n];break}}for(let n of Object.keys(c)){let r=c.sys;switch(n){case`deloser`:o.deloser?o.deloser.setProps(c.deloser):e.deloser&&(o.deloser=e.deloser.createDeloser(t,c.deloser));break;case`root`:o.root?o.root.setProps(c.root):o.root=e.root.createRoot(t,c.root,r),e.root.onRoot(o.root);break;case`modalizer`:o.modalizer?o.modalizer.setProps(c.modalizer):e.modalizer&&(o.modalizer=e.modalizer.createModalizer(t,c.modalizer,r));break;case`restorer`:o.restorer?o.restorer.setProps(c.restorer):e.restorer&&c.restorer&&(o.restorer=e.restorer.createRestorer(t,c.restorer));break;case`focusable`:o.focusable=c.focusable;break;case`groupper`:o.groupper?o.groupper.setProps(c.groupper):e.groupper&&(o.groupper=e.groupper.createGroupper(t,c.groupper,r));break;case`mover`:o.mover?o.mover.setProps(c.mover):e.mover&&(o.mover=e.mover.createMover(t,c.mover,r));break;case`observed`:e.observedElement&&(o.observed=c.observed,e.observedElement.onObservedElementUpdate(t));break;case`uncontrolled`:o.uncontrolled=c.uncontrolled;break;case`outline`:e.outline&&(o.outline=c.outline);break;case`sys`:o.sys=c.sys;break;default:console.error(`Unknown key '${n}' in data-tabster attribute value.`)}}a?i.attr=a:(Object.keys(o).length===0&&(delete i.tabster,delete i.attr),e.storageEntry(t,!1))}var Ra=`tabster:focusin`,za=`tabster:focusout`,Ba=`tabster:movefocus`,Va=`tabster:modalizer:active`,Ha=`tabster:modalizer:inactive`,Ua=`tabster:mover:state`,Wa=`tabster:mover:movefocus`,Ga=`tabster:mover:memorized-element`,Ka=`tabster:groupper:movefocus`,qa=`tabster:restorer:restore-focus`,Ja=`tabster:root:focus`,Ya=`tabster:root:blur`,Xa=typeof CustomEvent<`u`?CustomEvent:function(){},Za=class extends Xa{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}},Qa=class extends Za{constructor(e){super(Ra,e)}},$a=class extends Za{constructor(e){super(za,e)}},eo=class extends Za{constructor(e){super(Ba,e)}},to=class extends Za{constructor(e){super(Ua,e)}},no=class extends Za{constructor(e){super(Wa,e)}},ro=class extends Za{constructor(e){super(Ka,e)}},io=class extends Za{constructor(e){super(Va,e)}},ao=class extends Za{constructor(e){super(Ha,e)}},oo=class extends Za{constructor(){super(qa)}},so=class extends Za{constructor(e){super(Ja,e)}},co=class extends Za{constructor(e){super(Ya,e)}},G={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,n,r)=>e.createTreeWalker(t,n,r),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!!(t&&e?.contains(t)),getActiveElement:e=>e.activeElement,querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getElementById:(e,t)=>e.getElementById(t),getFirstChild:e=>e?.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,t)=>e.appendChild(t),insertBefore:(e,t,n)=>e.insertBefore(t,n),getSelection:e=>e.ownerDocument?.getSelection()||null,getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};function lo(e){for(let t of Object.keys(e))G[t]=e[t]}var uo,fo=typeof DOMRect<`u`?DOMRect:class{constructor(e,t,n,r){this.left=e||0,this.top=t||0,this.right=(e||0)+(n||0),this.bottom=(t||0)+(r||0)}},po=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),uo=!1}catch{uo=!0}var mo=100;function ho(e){let t=e(),n=t.__tabsterInstanceContext;return n||(n={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=n),n}function go(e){let t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function _o(e){return new(e.__tabsterInstanceContext?.basics.WeakMap||WeakMap)}function vo(e){return!!e.querySelector(Da)}var yo=class{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return e._target?t||!Po(e._target.ownerDocument,e._target)?(delete e._target,!0):!1:!0}},bo=class{constructor(e,t,n){let r=ho(e),i;r.WeakRef?i=new r.WeakRef(t):(i=new yo(t),r.fakeWeakRefs.push(i)),this._ref=i,this._data=n}get(){let e=this._ref,t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}};function xo(e,t){let n=ho(e);n.fakeWeakRefs=n.fakeWeakRefs.filter(e=>!yo.cleanup(e,t))}function So(e){let t=ho(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=Lo(t)),t.fakeWeakRefsTimer||=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,xo(e),So(e)},120*1e3)}function Co(e){let t=ho(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}function wo(e,t,n){if(t.nodeType!==Node.ELEMENT_NODE)return;let r=uo?n:{acceptNode:n};return G.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,r,!1)}function To(e,t){let n=t.__tabsterCacheId,r=ho(e),i=n?r.containerBoundingRectCache[n]:void 0;if(i)return i.rect;let a=t.ownerDocument&&t.ownerDocument.documentElement;if(!a)return new fo;let o=0,s=0,c=a.clientWidth,l=a.clientHeight;if(t!==a){let e=t.getBoundingClientRect();o=Math.max(o,e.left),s=Math.max(s,e.top),c=Math.min(c,e.right),l=Math.min(l,e.bottom)}let u=new fo(o<c?o:-1,s<l?s:-1,o<c?c-o:0,s<l?l-s:0);return n||(n=`r-`+ ++r.lastContainerBoundingRectCacheId,t.__tabsterCacheId=n),r.containerBoundingRectCache[n]={rect:u,element:t},r.containerBoundingRectCacheTimer||=window.setTimeout(()=>{r.containerBoundingRectCacheTimer=void 0;for(let e of Object.keys(r.containerBoundingRectCache))delete r.containerBoundingRectCache[e].element.__tabsterCacheId;r.containerBoundingRectCache={}},50),u}function Eo(e,t,n){let r=Oo(t);if(!r)return!1;let i=To(e,r),a=t.getBoundingClientRect(),o=a.height*(1-n),s=Math.max(0,i.top-a.top)+Math.max(0,a.bottom-i.bottom);return s===0||s<=o}function Do(e,t,n){let r=Oo(t);if(r){let i=To(e,r),a=t.getBoundingClientRect();n?r.scrollTop+=a.top-i.top:r.scrollTop+=a.bottom-i.bottom}}function Oo(e){let t=e.ownerDocument;if(t){for(let t=G.getParentElement(e);t;t=G.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return t.documentElement}return null}function ko(e){e.__shouldIgnoreFocus=!0}function Ao(e){return!!e.__shouldIgnoreFocus}function jo(e){let t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let e=0;e<t.length;e++)t[e]=4294967295*Math.random();let n=[];for(let e=0;e<t.length;e++)n.push(t[e].toString(36));return n.push(`|`),n.push((++po).toString(36)),n.push(`|`),n.push(Date.now().toString(36)),n.join(``)}function Mo(e,t){let n=ho(e),r=t.__tabsterElementUID;return r||=t.__tabsterElementUID=jo(e()),!n.elementByUId[r]&&Po(t.ownerDocument,t)&&(n.elementByUId[r]=new bo(e,t)),r}function No(e,t){let n=ho(e);for(let e of Object.keys(n.elementByUId)){let r=n.elementByUId[e],i=r&&r.get();i&&t&&!G.nodeContains(t,i)||delete n.elementByUId[e]}}function Po(e,t){return G.nodeContains(e?.body,t)}function Fo(e,t){let n=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return n&&n.call(e,t)}function Io(e){let t=ho(e);if(t.basics.Promise)return t.basics.Promise;throw Error(`No Promise defined.`)}function Lo(e){return e.basics.WeakRef}var Ro=0,zo=class{constructor(e,t,n){let r=e.getWindow;this._tabster=e,this._element=new bo(r,t),this._props={...n},this.id=`i`+ ++Ro}getElement(){return this._element.get()}getProps(){return this._props}setProps(e){this._props={...e}}},Bo=class{constructor(e,t,n,r,i){this._focusIn=e=>{if(this._fixedTarget){let e=this._fixedTarget.get();e&&_a(e);return}let t=this.input;if(this.onFocusIn&&t){let n=e.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,n),n)}},this._focusOut=e=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let t=this.input;if(this.onFocusOut&&t){let n=e.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,n),n)}};let a=e(),o=a.document.createElement(`i`);o.tabIndex=0,o.setAttribute(`role`,`none`),o.setAttribute(Ea,``),o.setAttribute(`aria-hidden`,`true`);let s=o.style;s.position=`fixed`,s.width=s.height=`1px`,s.opacity=`0.001`,s.zIndex=`-1`,s.setProperty(`content-visibility`,`hidden`),ko(o),this.input=o,this.isFirst=n.isFirst,this.isOutside=t,this._isPhantom=n.isPhantom??!1,this._fixedTarget=i,o.addEventListener(`focusin`,this._focusIn),o.addEventListener(`focusout`,this._focusOut),o.__tabsterDummyContainer=r,this._isPhantom&&(this._disposeTimer=a.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(a.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var e;this._clearDisposeTimeout&&this._clearDisposeTimeout();let t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener(`focusin`,this._focusIn),t.removeEventListener(`focusout`,this._focusOut),delete t.__tabsterDummyContainer,(e=G.getParentNode(t))==null||e.removeChild(t))}setTopLeft(e,t){let n=this.input?.style;n&&(n.top=`${e}px`,n.left=`${t}px`)}_isBackward(e,t,n){return e&&!n?!this.isFirst:!!(n&&t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)}},Vo={Root:1,Modalizer:2,Mover:3,Groupper:4},Ho=class{constructor(e,t,n,r,i,a){this._element=t,this._instance=new Wo(e,t,this,n,r,i,a)}_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){var t;(t=this._instance)==null||t.moveOut(e)}moveOutWithDefaultAction(e,t){var n;(n=this._instance)==null||n.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){var t;(t=this._instance)==null||t.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,n,r,i){let a=new Bo(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(a){let o,s;if(t.tagName===`BODY`)o=t,s=n&&r||!n&&!r?G.getFirstElementChild(t):null;else{n&&(!r||r&&!e.focusable.isFocusable(t,!1,!0,!0))?(o=t,s=r?t.firstElementChild:null):(o=G.getParentElement(t),s=n&&r||!n&&!r?t:G.getNextElementSibling(t));let i,a;do i=n&&r||!n&&!r?G.getPreviousElementSibling(s):s,a=Zo(i),a===t?s=n&&r||!n&&!r?i:G.getNextElementSibling(i):a=null;while(a)}o?.dispatchEvent(new eo({by:`root`,owner:o,next:null,relatedEvent:i}))&&(G.insertBefore(o,a,s),_a(a))}}static addPhantomDummyWithTarget(e,t,n,r){let i=new Bo(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new bo(e.getWindow,r)).input;if(i){let e,r;vo(t)&&!n?(e=t,r=G.getFirstElementChild(t)):(e=G.getParentElement(t),r=n?t:G.getNextElementSibling(t)),e&&G.insertBefore(e,i,r)}}},Uo=class{constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=e=>{this._changedParents.has(e)||(this._changedParents.add(e),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=this._win?.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(let e of this._dummyElements){let t=e.get();if(t){let e=this._dummyCallbacks.get(t);if(e){let n=G.getParentNode(t);(!n||this._changedParents.has(n))&&e()}}}this._changedParents=new WeakSet},mo)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new bo(this._win,e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter(t=>{let n=t.get();return n&&n!==e}),this._dummyCallbacks.delete(e),this._dummyElements.length===0&&delete this.domChanged}dispose(){let e=this._win?.call(this);this._updateTimer&&(e?.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(e?.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(e){this._win&&(this._updateQueue.add(e),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){this._updateTimer||=this._win?.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+mo<=Date.now()){let e=new Map,t=[];for(let n of this._updateQueue)t.push(n(e));this._updateQueue.clear();for(let e of t)e();e.clear()}else this._scheduledUpdatePositions()},mo)}},Wo=class{constructor(e,t,n,r,i,a,o){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(e,t,n)=>{this._onFocus(!0,e,t,n)},this._onFocusOut=(e,t,n)=>{this._onFocus(!1,e,t,n)},this.moveOut=e=>{let t=this._firstDummy,n=this._lastDummy;if(t&&n){this._ensurePosition();let r=t.input,i=n.input,a=this._element?.get();if(r&&i&&a){let t;e?(r.tabIndex=0,t=r):(i.tabIndex=0,t=i),t&&_a(t)}}},this.moveOutWithDefaultAction=(e,t)=>{let n=this._firstDummy,r=this._lastDummy;if(n&&r){this._ensurePosition();let i=n.input,a=r.input,o=this._element?.get();if(i&&a&&o){let s;e?!n.isOutside&&this._tabster.focusable.isFocusable(o,!0,!0,!0)?s=o:(n.useDefaultAction=!0,i.tabIndex=0,s=i):(r.useDefaultAction=!0,a.tabIndex=0,s=a),s&&o.dispatchEvent(new eo({by:`root`,owner:o,next:null,relatedEvent:t}))&&_a(s)}}},this.setTabbable=(e,t)=>{for(let n of this._wrappers)if(n.manager===e){n.tabbable=t;break}let n=this._getCurrent();if(n){let e=n.tabbable?0:-1,t=this._firstDummy?.input;t&&(t.tabIndex=e),t=this._lastDummy?.input,t&&(t.tabIndex=e)}},this._addDummyInputs=()=>{this._addTimer||=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=e=>{let t=this._firstDummy?.input||this._lastDummy?.input,n=this._transformElements,r=new Set,i=0,a=0,o=this._getWindow();for(let s=t;s&&s.nodeType===Node.ELEMENT_NODE;s=G.getParentElement(s)){let t=e.get(s);if(t===void 0){let n=o.getComputedStyle(s).transform;n&&n!==`none`&&(t={scrollTop:s.scrollTop,scrollLeft:s.scrollLeft}),e.set(s,t||null)}t&&(r.add(s),n.has(s)||s.addEventListener(`scroll`,this._addTransformOffsets),i+=t.scrollTop,a+=t.scrollLeft)}for(let e of n)r.has(e)||e.removeEventListener(`scroll`,this._addTransformOffsets);return this._transformElements=r,()=>{var e,t;(e=this._firstDummy)==null||e.setTopLeft(i,a),(t=this._lastDummy)==null||t.setTopLeft(i,a)}};let s=t.get();if(!s)throw Error(`No element`);this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=o;let c=s.__tabsterDummy;if((c||this)._wrappers.push({manager:n,priority:r,tabbable:!0}),c)return c;s.__tabsterDummy=this;let l=i?.dummyInputsPosition,u=s.tagName;this._isOutside=l?l===Fa.Outside:(a||u===`UL`||u===`OL`||u===`TABLE`)&&!(u===`LI`||u===`TD`||u===`TH`),this._firstDummy=new Bo(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new Bo(this._getWindow,this._isOutside,{isFirst:!1},t);let d=this._firstDummy.input;d&&e._dummyObserver.add(d,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(e,t){var n,r;if((this._wrappers=this._wrappers.filter(n=>n.manager!==e&&!t)).length===0){delete(this._element?.get()).__tabsterDummy;for(let e of this._transformElements)e.removeEventListener(`scroll`,this._addTransformOffsets);this._transformElements.clear();let e=this._getWindow();this._addTimer&&(e.clearTimeout(this._addTimer),delete this._addTimer);let t=this._firstDummy?.input;t&&this._tabster._dummyObserver.remove(t),(n=this._firstDummy)==null||n.dispose(),(r=this._lastDummy)==null||r.dispose()}}_onFocus(e,t,n,r){var i;let a=this._getCurrent();a&&(!t.useDefaultAction||this._callForDefaultAction)&&((i=a.manager.getHandler(e))==null||i(t,n,r))}_getCurrent(){return this._wrappers.sort((e,t)=>e.tabbable===t.tabbable?e.priority-t.priority:e.tabbable?-1:1),this._wrappers[0]}_ensurePosition(){let e=this._element?.get(),t=this._firstDummy?.input,n=this._lastDummy?.input;if(!(!e||!t||!n))if(this._isOutside){let r=G.getParentNode(e);if(r){let i=G.getNextSibling(e);i!==n&&G.insertBefore(r,n,i),G.getPreviousElementSibling(e)!==t&&G.insertBefore(r,t,e)}}else{G.getLastElementChild(e)!==n&&G.appendChild(e,n);let r=G.getFirstElementChild(e);r&&r!==t&&r.parentNode&&G.insertBefore(r.parentNode,t,r)}}};function Go(e){let t=null;for(let n=G.getLastElementChild(e);n;n=G.getLastElementChild(n))t=n;return t||void 0}function Ko(e,t){let n=e,r=null;for(;n&&!r;)r=t?G.getPreviousElementSibling(n):G.getNextElementSibling(n),n=G.getParentElement(n);return r||void 0}function qo(e,t,n,r){let i=e.storageEntry(t,!0),a=!1;if(!i.aug){if(r===void 0)return a;i.aug={}}if(r===void 0){if(n in i.aug){let e=i.aug[n];delete i.aug[n],e===null?t.removeAttribute(n):t.setAttribute(n,e),a=!0}}else{let e;n in i.aug||(e=t.getAttribute(n)),e!==void 0&&e!==r&&(i.aug[n]=e,r===null?t.removeAttribute(n):t.setAttribute(n,r),a=!0)}return r===void 0&&Object.keys(i.aug).length===0&&(delete i.aug,e.storageEntry(t,!1)),a}function Jo(e){let t=e.ownerDocument,n=t.defaultView?.getComputedStyle(e);return e.offsetParent===null&&t.body!==e&&n?.position!==`fixed`||n?.visibility===`hidden`||n?.position===`fixed`&&(n.display===`none`||e.parentElement?.offsetParent===null&&t.body!==e.parentElement)}function Yo(e){return e.tagName===`INPUT`&&!!e.name&&e.type===`radio`}function Xo(e){if(!Yo(e))return;let t=e.name,n=Array.from(G.getElementsByName(e,t)),r;return n=n.filter(e=>Yo(e)?(e.checked&&(r=e),!0):!1),{name:t,buttons:new Set(n),checked:r}}function Zo(e){return(e?.__tabsterDummyContainer)?.get()||null}function Qo(e,t){let n=JSON.stringify(e);return t===!0?n:{[Ta]:n}}function $o(e,t){for(let n of Object.keys(t)){let r=t[n];r?e[n]=r:delete e[n]}}function es(e,t,n){let r;if(n){let t=e.getAttribute(Ta);if(t)try{r=JSON.parse(t)}catch{}}r||={},$o(r,t),Object.keys(r).length>0?e.setAttribute(Ta,Qo(r,!0)):e.removeAttribute(Ta)}var ts=class extends Ho{constructor(e,t,n,r){super(e,t,Vo.Root,r,void 0,!0),this._onDummyInputFocus=e=>{var t;if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let n=this._element.get();if(n){this._setFocused(!0);let t=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:n,ignoreAccessibility:!0});if(t){_a(t);return}}(t=e.input)==null||t.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=n}},ns=class extends zo{constructor(e,t,n,r,i){super(e,t,r),this._isFocused=!1,this._setFocused=e=>{var t;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===e)return;let n=this._element.get();n&&(e?(this._isFocused=!0,(t=this._dummyManager)==null||t.setTabbable(!1),n.dispatchEvent(new so({element:n}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var e;delete this._setFocusedTimer,this._isFocused=!1,(e=this._dummyManager)==null||e.setTabbable(!0),n.dispatchEvent(new co({element:n}))},0))},this._onFocusIn=e=>{let t=this._tabster.getParent,n=this._element.get(),r=e.composedPath()[0];do{if(r===n){this._setFocused(!0);return}r&&=t(r)}while(r)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=n;let a=e.getWindow;this.uid=Mo(a,t),this._sys=i,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();let o=a().document;o.addEventListener(pa,this._onFocusIn),o.addEventListener(ma,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||=new ts(this._tabster,this._element,this._setFocused,this._sys)}dispose(){var e;this._onDispose(this);let t=this._tabster.getWindow(),n=t.document;n.removeEventListener(pa,this._onFocusIn),n.removeEventListener(ma,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(e=this._dummyManager)==null||e.dispose(),this._remove()}moveOutWithDefaultAction(e,t){let n=this._dummyManager;if(n)n.moveOutWithDefaultAction(e,t);else{let n=this.getElement();n&&ts.moveWithPhantomDummy(this._tabster,n,!0,e,t)}}_add(){}_remove(){}},K=class{constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{let e=this._win().document,t=e.body;if(t){this._autoRootUnwait(e);let n=this._autoRoot;if(n)return es(t,{root:n},!0),La(this._tabster,t),Ia(this._tabster,t)?.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,e.addEventListener(`readystatechange`,this._autoRootCreate))},this._onRootDispose=e=>{delete this._roots[e.id]},this._tabster=e,this._win=e.getWindow,this._autoRoot=t,e.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(e){e.removeEventListener(`readystatechange`,this._autoRootCreate),this._autoRootWaiting=!1}dispose(){let e=this._win();this._autoRootUnwait(e.document),delete this._autoRoot,Object.keys(this._roots).forEach(e=>{this._roots[e]&&(this._roots[e].dispose(),delete this._roots[e])}),this.rootById={}}createRoot(e,t,n){let r=new ns(this._tabster,e,this._onRootDispose,t,n);return this._roots[r.id]=r,this._forceDummy&&r.addDummyInputs(),r}addDummyInputs(){this._forceDummy=!0;let e=this._roots;for(let t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){let n=e().__tabsterInstance;return n&&n.root.rootById[t]}static getTabsterContext(e,t,n){if(n===void 0&&(n={}),!t.ownerDocument)return;let{checkRtl:r,referenceElement:i}=n,a=e.getParent;e.drainInitQueue();let o,s,c,l,u=!1,d,f,p,m,h=i||t,g={};for(;h&&(!o||r);){let n=Ia(e,h);if(r&&p===void 0){let e=h.dir;e&&(p=e.toLowerCase()===`rtl`)}if(!n){h=a(h);continue}let i=h.tagName;(n.uncontrolled||i===`IFRAME`||i===`WEBVIEW`)&&e.focusable.isVisible(h)&&(m=h),!l&&n.focusable?.excludeFromMover&&!c&&(u=!0);let _=n.modalizer,v=n.groupper,y=n.mover;!s&&_&&(s=_),!c&&v&&(!s||_)&&(s?(!v.isActive()&&v.getProps().tabbability&&s.userId!==e.modalizer?.activeId&&(s=void 0,c=v),f=v):c=v),!l&&y&&(!s||_)&&(!v||h!==t)&&h.contains(t)&&(l=y,d=!!c&&c!==v),n.root&&(o=n.root),n.focusable?.ignoreKeydown&&Object.assign(g,n.focusable.ignoreKeydown),h=a(h)}if(!o){let n=e.root;n._autoRoot&&t.ownerDocument?.body&&(o=n._autoRootCreate())}return c&&!l&&(d=!0),o?{root:o,modalizer:s,groupper:c,mover:l,groupperBeforeMover:d,modalizerInGroupper:f,rtl:r?!!p:void 0,uncontrolled:m,excludedFromMover:u,ignoreKeydown:e=>!!g[e.key]}:void 0}static getRoot(e,t){let n=e.getParent;for(let r=t;r;r=n(r)){let t=Ia(e,r)?.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}},rs=class{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(e){let t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){let t=this._callbacks,n=t.indexOf(e);n>=0&&t.splice(n,1),t.unshift(e)}unsubscribe(e){let t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}setVal(e,t){this._val!==e&&(this._val=e,this._callCallbacks(e,t))}getVal(){return this._val}trigger(e,t){this._callCallbacks(e,t)}_callCallbacks(e,t){this._callbacks.forEach(n=>n(e,t))}},is=class{constructor(e){this._tabster=e}dispose(){}getProps(e){let t=Ia(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,n,r){return Fo(e,Da)&&(t||e.tabIndex!==-1)?(n||this.isVisible(e))&&(r||this.isAccessible(e)):!1}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE||Jo(e))return!1;let t=e.ownerDocument.body.getBoundingClientRect();return!(t.width===0&&t.height===0)}isAccessible(e){for(let t=e;t;t=G.getParentElement(t)){let e=Ia(this._tabster,t);if(this._isHidden(t)||!e?.focusable?.ignoreAriaDisabled&&this._isDisabled(t))return!1}return!0}_isDisabled(e){return e.hasAttribute(`disabled`)}_isHidden(e){let t=e.getAttribute(`aria-hidden`);return!!(t&&t.toLowerCase()===`true`&&!this._tabster.modalizer?.isAugmented(e))}findFirst(e,t){return this.findElement({...e},t)}findLast(e,t){return this.findElement({isBackward:!0,...e},t)}findNext(e,t){return this.findElement({...e},t)}findPrev(e,t){return this.findElement({...e,isBackward:!0},t)}findDefault(e,t){return this.findElement({...e,acceptCondition:t=>this.isFocusable(t,e.includeProgrammaticallyFocusable)&&!!this.getProps(t).isDefault},t)||null}findAll(e){return this._findElements(!0,e)||[]}findElement(e,t){let n=this._findElements(!1,e,t);return n&&n[0]}_findElements(e,t,n){let{container:r,currentElement:i=null,includeProgrammaticallyFocusable:a,useActiveModalizer:o,ignoreAccessibility:s,modalizerId:c,isBackward:l,onElement:u}=t;n||={};let d=[],{acceptCondition:f}=t,p=!!f;if(!r)return null;f||=e=>this.isFocusable(e,a,!1,s);let m={container:r,modalizerUserId:c===void 0&&o?this._tabster.modalizer?.activeId:c||K.getTabsterContext(this._tabster,r)?.modalizer?.userId,from:i||r,isBackward:l,isFindAll:e,acceptCondition:f,hasCustomCondition:p,includeProgrammaticallyFocusable:a,ignoreAccessibility:s,cachedGrouppers:{},cachedRadioGroups:{}},h=wo(r.ownerDocument,r,e=>this._acceptElement(e,m));if(!h)return null;let g=t=>{let r=m.foundElement??m.foundBackward;return r&&d.push(r),e?r&&(m.found=!1,delete m.foundElement,delete m.foundBackward,delete m.fromCtx,m.from=r,u&&!u(r))?!1:!!(r||t):(r&&n&&(n.uncontrolled=K.getTabsterContext(this._tabster,r)?.uncontrolled),!!(t&&!r))};if(i||(n.outOfDOMOrder=!0),i&&G.nodeContains(r,i))h.currentNode=i;else if(l){let e=Go(r);if(!e)return null;if(this._acceptElement(e,m)===NodeFilter.FILTER_ACCEPT&&!g(!0))return m.skippedFocusable&&(n.outOfDOMOrder=!0),d;h.currentNode=e}do l?h.previousNode():h.nextNode();while(g());return m.skippedFocusable&&(n.outOfDOMOrder=!0),d.length?d:null}_acceptElement(e,t){if(t.found)return NodeFilter.FILTER_ACCEPT;let n=t.foundBackward;if(n&&(e===n||!G.nodeContains(n,e)))return t.found=!0,t.foundElement=n,NodeFilter.FILTER_ACCEPT;let r=t.container;if(e===r)return NodeFilter.FILTER_SKIP;if(!G.nodeContains(r,e)||Zo(e)||G.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;let i=t.currentCtx=K.getTabsterContext(this._tabster,e);if(!i)return NodeFilter.FILTER_SKIP;if(Ao(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&(e.tagName===`IFRAME`||e.tagName===`WEBVIEW`))return this.isVisible(e)&&i.modalizer?.userId===this._tabster.modalizer?.activeId?(t.found=!0,t.rejectElementsFrom=t.foundElement=e,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(e))return this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let a,o=t.fromCtx;o||=t.fromCtx=K.getTabsterContext(this._tabster,t.from);let s=o?.mover,c=i.groupper,l=i.mover;if(a=this._tabster.modalizer?.acceptElement(e,t),a!==void 0&&(t.skippedFocusable=!0),a===void 0&&(c||l||s)){let n=c?.getElement(),i=s?.getElement(),o=l?.getElement();if(o&&G.nodeContains(i,o)&&G.nodeContains(r,i)&&(!n||!l||G.nodeContains(i,n))&&(l=s,o=i),n){if(n===r||!G.nodeContains(r,n))c=void 0;else if(!G.nodeContains(n,e))return NodeFilter.FILTER_REJECT}if(o){if(!G.nodeContains(r,o))l=void 0;else if(!G.nodeContains(o,e))return NodeFilter.FILTER_REJECT}c&&l&&(o&&n&&!G.nodeContains(n,o)?l=void 0:c=void 0),c&&(a=c.acceptElement(e,t)),l&&(a=l.acceptElement(e,t))}if(a===void 0&&(a=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,a===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),a===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&Yo(e)&&!e.checked){let n=e.name,r=t.cachedRadioGroups[n];if(r||(r=Xo(e),r&&(t.cachedRadioGroups[n]=r)),r?.checked&&r.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,a=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return a}},as={Tab:`Tab`,Enter:`Enter`,Escape:`Escape`,PageUp:`PageUp`,PageDown:`PageDown`,End:`End`,Home:`Home`,ArrowLeft:`ArrowLeft`,ArrowUp:`ArrowUp`,ArrowRight:`ArrowRight`,ArrowDown:`ArrowDown`};function os(e,t){let n=e.getParent,r=t;do{let t=Ia(e,r)?.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(r,!!t.completely))return r;r=n(r)}while(r)}var ss={[Oa.Restorer]:0,[Oa.Deloser]:1,[Oa.EscapeGroupper]:2},cs=class e extends rs{constructor(t,n){super(),this._init=()=>{let e=this._win(),t=e.document;t.addEventListener(pa,this._onFocusIn,!0),t.addEventListener(ma,this._onFocusOut,!0),e.addEventListener(`keydown`,this._onKeyDown,!0);let n=G.getActiveElement(t);n&&n!==t.body&&this._setFocusedElement(n),this.subscribe(this._onChanged)},this._onFocusIn=e=>{let t=e.composedPath()[0];t&&this._setFocusedElement(t,e.detail.relatedTarget,e.detail.isFocusedProgrammatically)},this._onFocusOut=e=>{this._setFocusedElement(void 0,e.detail?.originalEvent.relatedTarget)},this._validateFocusedElement=e=>{},this._onKeyDown=t=>{if(t.key!==as.Tab||t.ctrlKey)return;let n=this.getVal();if(!n||!n.ownerDocument||n.contentEditable===`true`)return;let r=this._tabster,i=r.controlTab,a=K.getTabsterContext(r,n);if(!a||a.ignoreKeydown(t))return;let o=t.shiftKey,s=e.findNextTabbable(r,a,void 0,n,void 0,o,!0),c=a.root.getElement();if(!c)return;let l=s?.element,u=os(r,n);if(l){let e=s.uncontrolled;if(a.uncontrolled||G.nodeContains(e,n)){if(!s.outOfDOMOrder&&e===a.uncontrolled||u&&!G.nodeContains(u,l))return;Ho.addPhantomDummyWithTarget(r,n,o,l);return}if(e&&r.focusable.isVisible(e)||l.tagName===`IFRAME`&&r.focusable.isVisible(l)){c.dispatchEvent(new eo({by:`root`,owner:c,next:l,relatedEvent:t}))&&Ho.moveWithPhantomDummy(r,e??l,!1,o,t);return}(i||s?.outOfDOMOrder)&&c.dispatchEvent(new eo({by:`root`,owner:c,next:l,relatedEvent:t}))&&(t.preventDefault(),t.stopImmediatePropagation(),_a(l))}else !u&&c.dispatchEvent(new eo({by:`root`,owner:c,next:null,relatedEvent:t}))&&a.root.moveOutWithDefaultAction(o,t)},this._onChanged=(e,t)=>{if(e)e.dispatchEvent(new Qa(t));else{let e=this._lastVal?.get();if(e){let n={...t},r=K.getTabsterContext(this._tabster,e)?.modalizer?.userId;r&&(n.modalizerId=r),e.dispatchEvent(new $a(n))}}},this._tabster=t,this._win=n,t.queueInit(this._init)}dispose(){super.dispose();let t=this._win(),n=t.document;n.removeEventListener(pa,this._onFocusIn,!0),n.removeEventListener(ma,this._onFocusOut,!0),t.removeEventListener(`keydown`,this._onKeyDown,!0),this.unsubscribe(this._onChanged);let r=this._asyncFocus;r&&(t.clearTimeout(r.timeout),delete this._asyncFocus),delete e._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,n){let r=e._lastResetElement,i=r&&r.get();i&&G.nodeContains(n,i)&&delete e._lastResetElement,i=(t._nextVal?.element)?.get(),i&&G.nodeContains(n,i)&&delete t._nextVal,r=t._lastVal,i=r&&r.get(),i&&G.nodeContains(n,i)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){let e=this._lastVal?.get();return(!e||e&&!Po(e.ownerDocument,e))&&(this._lastVal=e=void 0),e}focus(e,t,n,r){return this._tabster.focusable.isFocusable(e,t,!1,n)?(e.focus({preventScroll:r}),!0):!1}focusDefault(e){let t=this._tabster.focusable.findDefault({container:e});return t?(this._tabster.focusedElement.focus(t),!0):!1}getFirstOrLastTabbable(t,n){let{container:r,ignoreAccessibility:i}=n,a;if(r){let n=K.getTabsterContext(this._tabster,r);n&&(a=e.findNextTabbable(this._tabster,n,r,void 0,void 0,!t,i)?.element)}return a&&!G.nodeContains(r,a)&&(a=void 0),a||void 0}_focusFirstOrLast(e,t){let n=this.getFirstOrLastTabbable(e,t);return n?(this.focus(n,!1,!0),!0):!1}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(t){if(!this._tabster.focusable.isVisible(t))return!1;if(this._tabster.focusable.isFocusable(t,!0,!0,!0))this.focus(t);else{let n=t.getAttribute(`tabindex`),r=t.getAttribute(`aria-hidden`);t.tabIndex=-1,t.setAttribute(`aria-hidden`,`true`),e._lastResetElement=new bo(this._win,t),this.focus(t,!0,!0),this._setOrRemoveAttribute(t,`tabindex`,n),this._setOrRemoveAttribute(t,`aria-hidden`,r)}return!0}requestAsyncFocus(e,t,n){let r=this._tabster.getWindow(),i=this._asyncFocus;if(i){if(ss[e]>ss[i.source])return;r.clearTimeout(i.timeout)}this._asyncFocus={source:e,callback:t,timeout:r.setTimeout(()=>{this._asyncFocus=void 0,t()},n)}}cancelAsyncFocus(e){let t=this._asyncFocus;t?.source===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,n){n===null?e.removeAttribute(t):e.setAttribute(t,n)}_setFocusedElement(t,n,r){if(this._tabster._noop)return;let i={relatedTarget:n};if(t){let n=e._lastResetElement?.get();if(e._lastResetElement=void 0,n===t||Ao(t))return;i.isFocusedProgrammatically=r;let a=K.getTabsterContext(this._tabster,t)?.modalizer?.userId;a&&(i.modalizerId=a)}let a=this._nextVal={element:t?new bo(this._win,t):void 0,detail:i};t&&t!==this._val&&this._validateFocusedElement(t),this._nextVal===a&&this.setVal(t,i),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new bo(this._win,e))}static findNextTabbable(t,n,r,i,a,o,s){let c=r||n.root.getElement();if(!c)return null;let l=null,u=e._isTabbingTimer,d=t.getWindow();u&&d.clearTimeout(u),e.isTabbing=!0,e._isTabbingTimer=d.setTimeout(()=>{delete e._isTabbingTimer,e.isTabbing=!1},0);let f=n.modalizer,p=n.groupper,m=n.mover,h=n=>{if(l=n.findNextTabbable(i,a,o,s),i&&!l?.element){let a=n!==f&&G.getParentElement(n.getElement());if(a){let c=K.getTabsterContext(t,i,{referenceElement:a});if(c){let i=n.getElement(),u=o?i:i&&Go(i)||i;u&&(l=e.findNextTabbable(t,c,r,u,a,o,s),l&&(l.outOfDOMOrder=!0))}}}};if(p&&m)h(n.groupperBeforeMover?p:m);else if(p)h(p);else if(m)h(m);else if(f)h(f);else{let e={container:c,currentElement:i,referenceElement:a,ignoreAccessibility:s,useActiveModalizer:!0},n={};l={element:t.focusable[o?`findPrev`:`findNext`](e,n),outOfDOMOrder:n.outOfDOMOrder,uncontrolled:n.uncontrolled}}return l}};cs.isTabbing=!1;var ls=class extends Ho{constructor(e,t,n,r){super(n,e,Vo.Groupper,r,!0),this._setHandlers((r,i,a)=>{let o=e.get(),s=r.input;if(o&&s){let e=K.getTabsterContext(n,s);if(e){let c;c=t.findNextTabbable(a||void 0,void 0,i,!0)?.element,c||=cs.findNextTabbable(n,e,void 0,r.isOutside?s:Ko(o,!i),void 0,i,!0)?.element,c&&_a(c)}}})}},us=class extends zo{constructor(e,t,n,r,i){super(e,t,r),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=n,e.controlTab||(this.dummyManager=new ls(this._element,this,e,i))}dispose(){var e;this._onDispose(this),this._element.get(),(e=this.dummyManager)==null||e.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(e,t,n,r){let i=this.getElement();if(!i)return null;let a=Zo(e)===i;if(!this._shouldTabInside&&e&&G.nodeContains(i,e)&&!a)return{element:void 0,outOfDOMOrder:!0};let o=this.getFirst(!0);if(!e||!G.nodeContains(i,e)||a)return{element:o,outOfDOMOrder:!0};let s=this._tabster,c=null,l=!1,u;if(this._shouldTabInside&&o){let a={container:i,currentElement:e,referenceElement:t,ignoreAccessibility:r,useActiveModalizer:!0},o={};c=s.focusable[n?`findPrev`:`findNext`](a,o),l=!!o.outOfDOMOrder,!c&&this._props.tabbability===Na.LimitedTrapFocus&&(c=s.focusable[n?`findLast`:`findFirst`]({container:i,ignoreAccessibility:r,useActiveModalizer:!0},o),l=!0),u=o.uncontrolled}return{element:c,uncontrolled:u,outOfDOMOrder:l}}makeTabbable(e){this._shouldTabInside=e||!this._props.tabbability}isActive(e){let t=this.getElement()||null,n=!0;for(let e=G.getParentElement(t);e;e=G.getParentElement(e)){let t=Ia(this._tabster,e)?.groupper;t&&(t._shouldTabInside||(n=!1))}let r=n?this._props.tabbability?this._shouldTabInside:!1:void 0;if(r&&e){let e=this._tabster.focusedElement.getFocusedElement();e&&(r=e!==this.getFirst(!0))}return r}getFirst(e){let t=this.getElement(),n;if(t){if(e&&this._tabster.focusable.isFocusable(t))return t;n=this._first?.get(),n||(n=this._tabster.focusable.findFirst({container:t,useActiveModalizer:!0})||void 0,n&&this.setFirst(n))}return n}setFirst(e){e?this._first=new bo(this._tabster.getWindow,e):delete this._first}acceptElement(e,t){let n=t.cachedGrouppers,r=G.getParentElement(this.getElement()),i=r&&K.getTabsterContext(this._tabster,r),a=i?.groupper,o=i?.groupperBeforeMover?a:void 0,s,c=e=>{let t=n[e.id],r;return t?r=t.isActive:(r=this.isActive(!0),t=n[e.id]={isActive:r}),r};if(o&&(s=o.getElement(),!c(o)&&s&&t.container!==s&&G.nodeContains(t.container,s)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let l=c(this),u=this.getElement();if(u&&l!==!0){if(u===e&&a&&(s||=a.getElement(),s&&!c(a)&&G.nodeContains(t.container,s)&&s!==t.container)||u!==e&&G.nodeContains(u,e))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let r=n[this.id],i;if(i=`first`in r?r.first:r.first=this.getFirst(!0),i&&t.acceptCondition(i))return t.rejectElementsFrom=u,t.skippedFocusable=!0,i===t.from?NodeFilter.FILTER_REJECT:(t.found=!0,t.foundElement=i,NodeFilter.FILTER_ACCEPT)}}},ds=class{constructor(e,t){this._current={},this._grouppers={},this._init=()=>{let e=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);let t=e.document,n=G.getActiveElement(t);n&&this._onFocus(n),t.addEventListener(`mousedown`,this._onMouseDown,!0),e.addEventListener(`keydown`,this._onKeyDown,!0),e.addEventListener(Ka,this._onMoveFocus)},this._onGroupperDispose=e=>{delete this._grouppers[e.id]},this._onFocus=e=>{e&&this._updateCurrent(e)},this._onMouseDown=e=>{let t=e.target;for(;t&&!this._tabster.focusable.isFocusable(t);)t=this._tabster.getParent(t);t&&this._updateCurrent(t)},this._onKeyDown=e=>{if(e.key!==as.Enter&&e.key!==as.Escape||e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;let t=this._tabster.focusedElement.getFocusedElement();t&&this.handleKeyPress(t,e)},this._onMoveFocus=e=>{let t=e.composedPath()[0],n=e.detail?.action;t&&n!==void 0&&!e.defaultPrevented&&(n===Pa.Enter?this._enterGroupper(t):this._escapeGroupper(t),e.stopImmediatePropagation())},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){let e=this._win();this._tabster.focusedElement.cancelAsyncFocus(Oa.EscapeGroupper),this._current={},this._updateTimer&&(e.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),e.document.removeEventListener(`mousedown`,this._onMouseDown,!0),e.removeEventListener(`keydown`,this._onKeyDown,!0),e.removeEventListener(Ka,this._onMoveFocus),Object.keys(this._grouppers).forEach(e=>{this._grouppers[e]&&(this._grouppers[e].dispose(),delete this._grouppers[e])})}createGroupper(e,t,n){let r=this._tabster,i=new us(r,e,this._onGroupperDispose,t,n);this._grouppers[i.id]=i;let a=r.focusedElement.getFocusedElement();return a&&G.nodeContains(e,a)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,a===r.focusedElement.getFocusedElement()&&this._updateCurrent(a)},0)),i}forgetCurrentGrouppers(){this._current={}}_updateCurrent(e){this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);let t=this._tabster,n={};for(let r=t.getParent(e);r;r=t.getParent(r)){let i=Ia(t,r)?.groupper;if(i){n[i.id]=!0,this._current[i.id]=i;let t=i.isActive()||e!==r&&(!i.getProps().delegated||i.getFirst(!1)!==e);i.makeTabbable(t)}}for(let e of Object.keys(this._current)){let t=this._current[e];t.id in n||(t.makeTabbable(!1),t.setFirst(void 0),delete this._current[e])}}_enterGroupper(e,t){let n=this._tabster,r=K.getTabsterContext(n,e),i=r?.groupper||r?.modalizerInGroupper,a=i?.getElement();if(i&&a&&(e===a||i.getProps().delegated&&e===i.getFirst(!1))){let r=n.focusable.findNext({container:a,currentElement:e,useActiveModalizer:!0});if(r&&(!t||t&&a.dispatchEvent(new eo({by:`groupper`,owner:a,next:r,relatedEvent:t}))))return t&&(t.preventDefault(),t.stopImmediatePropagation()),r.focus(),r}return null}_escapeGroupper(e,t,n){let r=this._tabster,i=K.getTabsterContext(r,e),a=i?.groupper||i?.modalizerInGroupper,o=a?.getElement();if(a&&o&&G.nodeContains(o,e)){let i;if(e!==o||n)i=a.getFirst(!0);else{let e=G.getParentElement(o);a=(e?K.getTabsterContext(r,e):void 0)?.groupper,i=a?.getFirst(!0)}if(i&&(!t||t&&o.dispatchEvent(new eo({by:`groupper`,owner:o,next:i,relatedEvent:t}))))return a&&a.makeTabbable(!1),i.focus(),i}return null}moveFocus(e,t){return t===Pa.Enter?this._enterGroupper(e):this._escapeGroupper(e)}handleKeyPress(e,t,n){let r=this._tabster,i=K.getTabsterContext(r,e);if(i&&(i?.groupper||i?.modalizerInGroupper)){if(r.focusedElement.cancelAsyncFocus(Oa.EscapeGroupper),i.ignoreKeydown(t))return;if(t.key===as.Enter)this._enterGroupper(e,t);else if(t.key===as.Escape){let i=r.focusedElement.getFocusedElement();r.focusedElement.requestAsyncFocus(Oa.EscapeGroupper,()=>{i!==r.focusedElement.getFocusedElement()&&(n&&!i||!n)||this._escapeGroupper(e,t,n)},0)}}}},fs=class extends rs{constructor(e){super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=wa(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),W(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;(t=this._keyborg)==null||t.setVal(e)}isNavigatingWithKeyboard(){return!!this._keyborg?.isNavigatingWithKeyboard()}},ps=0,ms=`aria-hidden`,hs=class extends Ho{constructor(e,t,n){super(t,e,Vo.Modalizer,n),this._setHandlers((n,r)=>{let i=e.get(),a=i&&K.getRoot(t,i)?.getElement(),o=n.input,s;if(a&&o){let e=Zo(o),n=K.getTabsterContext(t,e||o);n&&(s=cs.findNextTabbable(t,n,a,o,void 0,r,!0)?.element),s&&_a(s)}})}},gs=class extends zo{constructor(e,t,n,r,i,a){super(e,t,r),this._wasFocused=0,this.userId=r.id,this._onDispose=n,this._activeElements=a,e.controlTab||(this.dummyManager=new hs(this._element,e,i))}makeActive(e){if(this._isActive!==e){this._isActive=e;let t=this.getElement();if(t){let n=this._activeElements,r=n.map(e=>e.get()).indexOf(t);e?r<0&&n.push(new bo(this._tabster.getWindow,t)):r>=0&&n.splice(r,1)}this._dispatchEvent(e)}}focused(e){return e||(this._wasFocused=++ps),this._wasFocused}setProps(e){e.id&&(this.userId=e.id),this._props={...e}}dispose(){var e;this.makeActive(!1),this._onDispose(this),(e=this.dummyManager)==null||e.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(e){return G.nodeContains(this.getElement(),e)}findNextTabbable(e,t,n,r){if(!this.getElement())return null;let i=this._tabster,a=null,o=!1,s,c=e&&K.getRoot(i,e)?.getElement();if(c){let l={container:c,currentElement:e,referenceElement:t,ignoreAccessibility:r,useActiveModalizer:!0},u={};a=i.focusable[n?`findPrev`:`findNext`](l,u),!a&&this._props.isTrapped&&i.modalizer?.activeId?(a=i.focusable[n?`findLast`:`findFirst`]({container:c,ignoreAccessibility:r,useActiveModalizer:!0},u),a===null&&(a=e),o=!0):o=!!u.outOfDOMOrder,s=u.uncontrolled}return{element:a,uncontrolled:s,outOfDOMOrder:o}}_dispatchEvent(e,t){let n=this.getElement(),r=!1;if(n){let i=t?this._activeElements.map(e=>e.get()):[n];for(let t of i)if(t){let i={id:this.userId,element:n},a=e?new io(i):new ao(i);t.dispatchEvent(a),a.defaultPrevented&&(r=!0)}}return r}_remove(){}},_s=class{constructor(e,t,n){this._onModalizerDispose=e=>{let t=e.id,n=e.userId,r=this._parts[n];if(delete this._modalizers[t],r&&(delete r[t],Object.keys(r).length===0)){delete this._parts[n];let e=this._activationHistory,t=[],r;for(let i=e.length;i--;){let a=e[i];a!==n&&a!==r&&(r=a,(a||t.length>0)&&t.unshift(a))}if(this._activationHistory=t,this.activeId===n){let e=t[0],n=e?Object.values(this._parts[e])[0]:void 0;this.setActive(n)}}},this._onKeyDown=e=>{var t;if(e.key!==as.Escape)return;let n=this._tabster,r=n.focusedElement.getFocusedElement();if(r){let i=K.getTabsterContext(n,r),a=i?.modalizer;if(i&&!i.groupper&&a?.isActive()&&!i.ignoreKeydown(e)){let r=a.userId;if(r){let i=this._parts[r];if(i){let r=Object.keys(i).map(e=>{let t=i[e],r=t.getElement(),a;return r&&(a=Ia(n,r)?.groupper),t&&r&&a?{el:r,focusedSince:t.focused(!0)}:{focusedSince:0}}).filter(e=>e.focusedSince>0).sort((e,t)=>e.focusedSince>t.focusedSince?-1:+(e.focusedSince<t.focusedSince));if(r.length){let i=r[0].el;i&&((t=n.groupper)==null||t.handleKeyPress(i,e,!0))}}}}}},this._onFocus=(e,t)=>{let n=this._tabster,r=e&&K.getTabsterContext(n,e);if(!r||!e)return;let i=this._augMap;for(let t=e;t;t=G.getParentElement(t))i.has(t)&&(i.delete(t),qo(n,t,ms));let a=r.modalizer,o=Ia(n,e),s=o?.modalizer;if(s&&(s.focused(),s.userId===this.activeId&&o.groupper)){let t=n.getParent(e),r=t&&K.getTabsterContext(n,t)?.modalizer;if(r)a=r;else{this.setActive(void 0);return}}if(a?.focused(),a?.userId===this.activeId){this.currentIsOthersAccessible=a?.getProps().isOthersAccessible;return}if(t.isFocusedProgrammatically||this.currentIsOthersAccessible||a?.getProps().isAlwaysAccessible)this.setActive(a);else{let t=this._win();t.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=t.setTimeout(()=>this._restoreModalizerFocus(e),100)}},this._tabster=e,this._win=e.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=t,this._accessibleCheck=n,this._activationHistory=[],this.activeElements=[],e.controlTab||e.root.addDummyInputs(),this._win().addEventListener(`keydown`,this._onKeyDown,!0),e.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){let e=this._win();e.removeEventListener(`keydown`,this._onKeyDown,!0),Object.keys(this._modalizers).forEach(e=>{this._modalizers[e]&&(this._modalizers[e].dispose(),delete this._modalizers[e])}),e.clearTimeout(this._restoreModalizerFocusTimer),e.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(e,t,n){let r=new gs(this._tabster,e,this._onModalizerDispose,t,n,this.activeElements),i=r.id,a=t.id;this._modalizers[i]=r;let o=this._parts[a];o||=this._parts[a]={},o[i]=r;let s=this._tabster.focusedElement.getFocusedElement()??null;return e!==s&&G.nodeContains(e,s)&&(a===this.activeId?r.makeActive(!0):this.setActive(r)),r}isAugmented(e){return this._augMap.has(e)}hiddenUpdate(){this._hiddenUpdateTimer||=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250)}setActive(e){let t=e?.userId,n=this.activeId;if(n===t)return;if(this.activeId=t,n){let e=this._parts[n];if(e)for(let t of Object.keys(e))e[t].makeActive(!1)}if(t){let e=this._parts[t];if(e)for(let t of Object.keys(e))e[t].makeActive(!0)}this.currentIsOthersAccessible=e?.getProps().isOthersAccessible,this.hiddenUpdate();let r=this._activationHistory;r[0]!==t&&(t!==void 0||r.length>0)&&r.unshift(t)}focus(e,t,n){let r=this._tabster,i=K.getTabsterContext(r,e)?.modalizer;if(i){this.setActive(i);let e=i.getProps(),a=i.getElement();if(a){if(t===void 0&&(t=e.isNoFocusFirst),!t&&r.keyboardNavigation.isNavigatingWithKeyboard()&&r.focusedElement.focusFirst({container:a})||(n===void 0&&(n=e.isNoFocusDefault),!n&&r.focusedElement.focusDefault(a)))return!0;r.focusedElement.resetFocus(a)}}return!1}activate(e){let t=e?K.getTabsterContext(this._tabster,e)?.modalizer:void 0;return!e||t?(this.setActive(t),!0):!1}acceptElement(e,t){let n=t.modalizerUserId,r=t.currentCtx?.modalizer;if(n)for(let t of this.activeElements){let n=t.get();if(n&&(G.nodeContains(e,n)||n===e))return NodeFilter.FILTER_SKIP}let i=n===r?.userId||!n&&r?.getProps().isAlwaysAccessible?void 0:NodeFilter.FILTER_SKIP;return i!==void 0&&(t.skippedFocusable=!0),i}_hiddenUpdate(){var e;let t=this._tabster,n=t.getWindow().document.body,r=this.activeId,i=this._parts,a=[],o=[],s=this._alwaysAccessibleSelector,c=s?Array.from(G.querySelectorAll(n,s)):[],l=[];for(let e of Object.keys(i)){let t=i[e];for(let n of Object.keys(t)){let i=t[n],s=i.getElement(),u=i.getProps().isAlwaysAccessible;s&&(e===r?(l.push(s),this.currentIsOthersAccessible||a.push(s)):u?c.push(s):o.push(s))}}let u=this._augMap,d=a.length>0?[...a,...c]:void 0,f=[],p=new WeakMap,m=(e,n)=>{let r=e.tagName;if(r===`SCRIPT`||r===`STYLE`)return;let i=!1;u.has(e)?n?i=!0:(u.delete(e),qo(t,e,ms)):n&&!this._accessibleCheck?.call(this,e,l)&&qo(t,e,ms,`true`)&&(u.set(e,!0),i=!0),i&&(f.push(new bo(t.getWindow,e)),p.set(e,!0))},h=e=>{for(let n=G.getFirstElementChild(e);n;n=G.getNextElementSibling(n)){let e=!1,r=!1,i=!1;if(d){let a=t.getParent(n);for(let t of d){if(n===t){e=!0;break}if(G.nodeContains(n,t)){r=!0;break}else G.nodeContains(t,a)&&(i=!0)}r||n.__tabsterElementFlags?.noDirectAriaHidden?h(n):!e&&!i&&m(n,!0)}else m(n,!1)}};d||c.forEach(e=>m(e,!1)),o.forEach(e=>m(e,!0)),n&&h(n),(e=this._aug)==null||e.map(e=>e.get()).forEach(e=>{e&&!p.get(e)&&m(e,!1)}),this._aug=f,this._augMap=p}_restoreModalizerFocus(e){let t=e?.ownerDocument;if(!e||!t)return;let n=this._tabster.focusedElement.getFocusedElement(),r=n&&K.getTabsterContext(this._tabster,n)?.modalizer;if(!n||n&&r?.userId===this.activeId)return;let i=this._tabster,a=K.getTabsterContext(i,e),o=a?.modalizer,s=this.activeId;if(!o&&!s||o&&s===o.userId)return;let c=a?.root.getElement();if(c){let t=i.focusable.findFirst({container:c,useActiveModalizer:!0});if(t){if(e.compareDocumentPosition(t)&document.DOCUMENT_POSITION_PRECEDING&&(t=i.focusable.findLast({container:c,useActiveModalizer:!0}),!t))throw Error(`Something went wrong.`);i.focusedElement.focus(t);return}}e.blur()}},vs=[`input`,`textarea`,`*[contenteditable]`].join(`, `),ys=class extends Ho{constructor(e,t,n,r){super(t,e,Vo.Mover,r),this._onFocusDummyInput=e=>{let t=this._element.get(),n=e.input;if(t&&n){let r=K.getTabsterContext(this._tabster,t),i;r&&(i=cs.findNextTabbable(this._tabster,r,void 0,n,void 0,!e.isFirst,!0)?.element);let a=this._getMemorized()?.get();a&&this._tabster.focusable.isFocusable(a)&&(i=a),i&&_a(i)}},this._tabster=t,this._getMemorized=n,this._setHandlers(this._onFocusDummyInput)}},bs=1,xs=2,Ss=3,Cs=class extends zo{constructor(e,t,n,r,i){super(e,t,r),this._visible={},this._onIntersection=e=>{for(let t of e){let e=t.target,n=Mo(this._win,e),r,i=this._fullyVisible;if(t.intersectionRatio>=.25?(r=t.intersectionRatio>=.75?ka.Visible:ka.PartiallyVisible,r===ka.Visible&&(i=n)):r=ka.Invisible,this._visible[n]!==r){r===void 0?(delete this._visible[n],i===n&&delete this._fullyVisible):(this._visible[n]=r,this._fullyVisible=i);let t=this.getState(e);t&&e.dispatchEvent(new to(t))}}},this._win=e.getWindow,this.visibilityTolerance=r.visibilityTolerance??.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=n;let a=()=>r.memorizeCurrent?this._current:void 0;e.controlTab||(this.dummyManager=new ys(this._element,e,a,i))}dispose(){var e;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);let t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),(e=this.dummyManager)==null||e.dispose(),delete this.dummyManager}setCurrent(e){e?this._current=new bo(this._win,e):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{delete this._setCurrentTimer;let e=[];this._current!==this._prevCurrent&&(e.push(this._current),e.push(this._prevCurrent),this._prevCurrent=this._current);for(let t of e){let e=t?.get();if(e&&this._allElements?.get(e)===this){let t=this._props;if(e&&(t.visibilityAware!==void 0||t.trackState)){let t=this.getState(e);t&&e.dispatchEvent(new to(t))}}}}))}getCurrent(){return this._current?.get()||null}findNextTabbable(e,t,n,r){let i=this.getElement(),a=i&&Zo(e)===i;if(!i)return null;let o=null,s=!1,c;if(this._props.tabbable||a||e&&!G.nodeContains(i,e)){let a={currentElement:e,referenceElement:t,container:i,ignoreAccessibility:r,useActiveModalizer:!0},l={};o=this._tabster.focusable[n?`findPrev`:`findNext`](a,l),s=!!l.outOfDOMOrder,c=l.uncontrolled}return{element:o,uncontrolled:c,outOfDOMOrder:s}}acceptElement(e,t){if(!cs.isTabbing)return t.currentCtx?.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:n,visibilityAware:r,hasDefault:i=!0}=this._props,a=this.getElement();if(a&&(n||r||i)&&(!G.nodeContains(a,t.from)||Zo(t.from)===a)){let e;if(n){let n=this._current?.get();n&&t.acceptCondition(n)&&(e=n)}if(!e&&i&&(e=this._tabster.focusable.findDefault({container:a,useActiveModalizer:!0})),!e&&r&&(e=this._tabster.focusable.findElement({container:a,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:e=>{let n=Mo(this._win,e),i=this._visible[n];return a!==e&&!!this._allElements?.get(e)&&t.acceptCondition(e)&&(i===ka.Visible||i===ka.PartiallyVisible&&(r===ka.PartiallyVisible||!this._fullyVisible))}})),e)return t.found=!0,t.foundElement=e,t.rejectElementsFrom=a,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){let e=this.getElement();if(this._unobserve||!e||typeof MutationObserver>`u`)return;let t=this._win(),n=this._allElements=new WeakMap,r=this._tabster.focusable,i=this._updateQueue=[],a=G.createMutationObserver(e=>{for(let t of e){let e=t.target,n=t.removedNodes,r=t.addedNodes;if(t.type===`attributes`)t.attributeName===`tabindex`&&i.push({element:e,type:xs});else{for(let e=0;e<n.length;e++)i.push({element:n[e],type:Ss});for(let e=0;e<r.length;e++)i.push({element:r[e],type:bs})}}u()}),o=(e,t)=>{var r,i;let a=n.get(e);a&&t&&((r=this._intersectionObserver)==null||r.unobserve(e),n.delete(e)),!a&&!t&&(n.set(e,this),(i=this._intersectionObserver)==null||i.observe(e))},s=e=>{let t=r.isFocusable(e);n.get(e)?t||o(e,!0):t&&o(e)},c=e=>{let{mover:n}=d(e);if(n&&n!==this)if(n.getElement()===e&&r.isFocusable(e))o(e);else return;let i=wo(t.document,e,e=>{let{mover:t,groupper:n}=d(e);if(t&&t!==this)return NodeFilter.FILTER_REJECT;let i=n?.getFirst(!0);return n&&n.getElement()!==e&&i&&i!==e?NodeFilter.FILTER_REJECT:(r.isFocusable(e)&&o(e),NodeFilter.FILTER_SKIP)});if(i)for(i.currentNode=e;i.nextNode(););},l=e=>{n.get(e)&&o(e,!0);for(let t=G.getFirstElementChild(e);t;t=G.getNextElementSibling(t))l(t)},u=()=>{!this._updateTimer&&i.length&&(this._updateTimer=t.setTimeout(()=>{delete this._updateTimer;for(let{element:e,type:t}of i)switch(t){case xs:s(e);break;case bs:c(e);break;case Ss:l(e);break}i=this._updateQueue=[]},0))},d=e=>{let t={};for(let n=e;n;n=G.getParentElement(n)){let e=Ia(this._tabster,n);if(e&&(e.groupper&&!t.groupper&&(t.groupper=e.groupper),e.mover)){t.mover=e.mover;break}}return t};i.push({element:e,type:bs}),u(),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`tabindex`]}),this._unobserve=()=>{a.disconnect()}}getState(e){let t=Mo(this._win,e);if(t in this._visible){let n=this._visible[t]||ka.Invisible;return{isCurrent:this._current?this._current.get()===e:void 0,visibility:n}}}};function ws(e,t,n,r,i,a,o,s){let c=n<i?i-n:o<e?e-o:0,l=r<a?a-r:s<t?t-s:0;return c===0?l:l===0?c:Math.sqrt(c*c+l*l)}var Ts=class{constructor(e,t){this._init=()=>{let e=this._win();e.addEventListener(`keydown`,this._onKeyDown,!0),e.addEventListener(Wa,this._onMoveFocus),e.addEventListener(Ga,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=e=>{delete this._movers[e.id]},this._onFocus=e=>{let t=e,n=e;for(let r=G.getParentElement(e);r;r=G.getParentElement(r)){let e=Ia(this._tabster,r)?.mover;e&&(e.setCurrent(n),t=void 0),!t&&this._tabster.focusable.isFocusable(r)&&(t=n=r)}},this._onKeyDown=async e=>{var t;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(t=this._ignoredInputResolve)==null||t.call(this,!1),e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;let n=e.key,r;if(n===as.ArrowDown?r=Ma.ArrowDown:n===as.ArrowRight?r=Ma.ArrowRight:n===as.ArrowUp?r=Ma.ArrowUp:n===as.ArrowLeft?r=Ma.ArrowLeft:n===as.PageDown?r=Ma.PageDown:n===as.PageUp?r=Ma.PageUp:n===as.Home?r=Ma.Home:n===as.End&&(r=Ma.End),!r)return;let i=this._tabster.focusedElement.getFocusedElement();!i||await this._isIgnoredInput(i,n)||this._moveFocus(i,r,e)},this._onMoveFocus=e=>{let t=e.composedPath()[0],n=e.detail?.key;t&&n!==void 0&&!e.defaultPrevented&&(this._moveFocus(t,n),e.stopImmediatePropagation())},this._onMemorizedElement=e=>{let t=e.composedPath()[0],n=e.detail?.memorizedElement;if(t){let r=K.getTabsterContext(this._tabster,t)?.mover;r&&(n&&!G.nodeContains(r.getElement(),n)&&(n=void 0),r.setCurrent(n),e.stopImmediatePropagation())}},this._tabster=e,this._win=t,this._movers={},e.queueInit(this._init)}dispose(){var e;let t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),(e=this._ignoredInputResolve)==null||e.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener(`keydown`,this._onKeyDown,!0),t.removeEventListener(Wa,this._onMoveFocus),t.removeEventListener(Ga,this._onMemorizedElement),Object.keys(this._movers).forEach(e=>{this._movers[e]&&(this._movers[e].dispose(),delete this._movers[e])})}createMover(e,t,n){let r=new Cs(this._tabster,e,this._onMoverDispose,t,n);return this._movers[r.id]=r,r}moveFocus(e,t){return this._moveFocus(e,t)}_moveFocus(e,t,n){let r=this._tabster,i=K.getTabsterContext(r,e,{checkRtl:!0});if(!i||!i.mover||i.excludedFromMover||n&&i.ignoreKeydown(n))return null;let a=i.mover,o=a.getElement();if(i.groupperBeforeMover){let e=i.groupper;if(e&&!e.isActive(!0)){for(let t=G.getParentElement(e.getElement());t&&t!==o;t=G.getParentElement(t))if((Ia(r,t)?.groupper)?.isActive(!0))return null}else return null}if(!o)return null;let s=r.focusable,c=a.getProps(),l=c.direction||ja.Both,u=l===ja.Both,d=u||l===ja.Vertical,f=u||l===ja.Horizontal,p=l===ja.GridLinear,m=p||l===ja.Grid,h=c.cyclic,g,_,v,y=0,b=0;if(m&&(v=e.getBoundingClientRect(),y=Math.ceil(v.left),b=Math.floor(v.right)),i.rtl&&(t===Ma.ArrowRight?t=Ma.ArrowLeft:t===Ma.ArrowLeft&&(t=Ma.ArrowRight)),t===Ma.ArrowDown&&d||t===Ma.ArrowRight&&(f||m))if(g=s.findNext({currentElement:e,container:o,useActiveModalizer:!0}),g&&m){let e=Math.ceil(g.getBoundingClientRect().left);!p&&b>e&&(g=void 0)}else !g&&h&&(g=s.findFirst({container:o,useActiveModalizer:!0}));else if(t===Ma.ArrowUp&&d||t===Ma.ArrowLeft&&(f||m))if(g=s.findPrev({currentElement:e,container:o,useActiveModalizer:!0}),g&&m){let e=Math.floor(g.getBoundingClientRect().right);!p&&e>y&&(g=void 0)}else !g&&h&&(g=s.findLast({container:o,useActiveModalizer:!0}));else if(t===Ma.Home)m?s.findElement({container:o,currentElement:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!s.isFocusable(t))return!1;let n=Math.ceil(t.getBoundingClientRect().left??0);return t!==e&&y<=n?!0:(g=t,!1)}}):g=s.findFirst({container:o,useActiveModalizer:!0});else if(t===Ma.End)m?s.findElement({container:o,currentElement:e,useActiveModalizer:!0,acceptCondition:t=>{if(!s.isFocusable(t))return!1;let n=Math.ceil(t.getBoundingClientRect().left??0);return t!==e&&y>=n?!0:(g=t,!1)}}):g=s.findLast({container:o,useActiveModalizer:!0});else if(t===Ma.PageUp){if(s.findElement({currentElement:e,container:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>s.isFocusable(e)?Eo(this._win,e,a.visibilityTolerance)?(g=e,!1):!0:!1}),m&&g){let e=Math.ceil(g.getBoundingClientRect().left);s.findElement({currentElement:g,container:o,useActiveModalizer:!0,acceptCondition:t=>{if(!s.isFocusable(t))return!1;let n=Math.ceil(t.getBoundingClientRect().left);return y<n||e>=n?!0:(g=t,!1)}})}_=!1}else if(t===Ma.PageDown){if(s.findElement({currentElement:e,container:o,useActiveModalizer:!0,acceptCondition:e=>s.isFocusable(e)?Eo(this._win,e,a.visibilityTolerance)?(g=e,!1):!0:!1}),m&&g){let e=Math.ceil(g.getBoundingClientRect().left);s.findElement({currentElement:g,container:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!s.isFocusable(t))return!1;let n=Math.ceil(t.getBoundingClientRect().left);return y>n||e<=n?!0:(g=t,!1)}})}_=!0}else if(m){let n=t===Ma.ArrowUp,r=y,i=Math.ceil(v.top),a=b,c=Math.floor(v.bottom),l,u,d=0;s.findAll({container:o,currentElement:e,isBackward:n,onElement:e=>{let t=e.getBoundingClientRect(),o=Math.ceil(t.left),s=Math.ceil(t.top),f=Math.floor(t.right),p=Math.floor(t.bottom);if(n&&i<p||!n&&c>s)return!0;let m=Math.ceil(Math.min(a,f))-Math.floor(Math.max(r,o)),h=Math.ceil(Math.min(a-r,f-o));if(m>0&&h>=m){let t=m/h;t>d&&(l=e,d=t)}else if(d===0){let t=ws(r,i,a,c,o,s,f,p);(u===void 0||t<u)&&(u=t,l=e)}else if(d>0)return!1;return!0}}),g=l}return g&&(!n||n&&o.dispatchEvent(new eo({by:`mover`,owner:o,next:g,relatedEvent:n})))?(_!==void 0&&Do(this._win,g,_),n&&(n.preventDefault(),n.stopImmediatePropagation()),_a(g),g):null}async _isIgnoredInput(e,t){if(e.getAttribute(`aria-expanded`)===`true`&&e.hasAttribute(`aria-activedescendant`))return!0;if(Fo(e,vs)){let n=0,r=0,i=0,a;if(e.tagName===`INPUT`||e.tagName===`TEXTAREA`){let a=e.type;if(i=(e.value||``).length,a===`email`||a===`number`){if(i){let n=G.getSelection(e);if(n){let e=n.toString().length,r=t===as.ArrowLeft||t===as.ArrowUp;if(n.modify(`extend`,r?`backward`:`forward`,`character`),e!==n.toString().length)return n.modify(`extend`,r?`forward`:`backward`,`character`),!0;i=0}}}else{let t=e.selectionStart;if(t===null)return a===`hidden`;n=t||0,r=e.selectionEnd||0}}else e.contentEditable===`true`&&(a=new(Io(this._win))(t=>{this._ignoredInputResolve=e=>{delete this._ignoredInputResolve,t(e)};let a=this._win();this._ignoredInputTimer&&a.clearTimeout(this._ignoredInputTimer);let{anchorNode:o,focusNode:s,anchorOffset:c,focusOffset:l}=G.getSelection(e)||{};this._ignoredInputTimer=a.setTimeout(()=>{var t,a;delete this._ignoredInputTimer;let{anchorNode:u,focusNode:d,anchorOffset:f,focusOffset:p}=G.getSelection(e)||{};if(u!==o||d!==s||f!==c||p!==l){(t=this._ignoredInputResolve)==null||t.call(this,!1);return}if(n=f||0,r=p||0,i=e.textContent?.length||0,u&&d&&G.nodeContains(e,u)&&G.nodeContains(e,d)&&u!==e){let t=!1,i=e=>{if(e===u)t=!0;else if(e===d)return!0;let a=e.textContent;if(a&&!G.getFirstChild(e)){let e=a.length;t?d!==u&&(r+=e):(n+=e,r+=e)}let o=!1;for(let t=G.getFirstChild(e);t&&!o;t=t.nextSibling)o=i(t);return o};i(e)}(a=this._ignoredInputResolve)==null||a.call(this,!0)},0)}));if(a&&!await a||n!==r||n>0&&(t===as.ArrowLeft||t===as.ArrowUp||t===as.Home)||n<i&&(t===as.ArrowRight||t===as.ArrowDown||t===as.End))return!0}return!1}};function Es(e,t,n,r){if(typeof MutationObserver>`u`)return()=>{};let i=t.getWindow,a,o=e=>{var r,i,a,o,c;let l=new Set;for(let c of e){let e=c.target,u=c.removedNodes,d=c.addedNodes;if(c.type===`attributes`)c.attributeName===`data-tabster`&&(l.has(e)||n(t,e));else{for(let n=0;n<u.length;n++){let a=u[n];l.add(a),s(a,!0),(i=(r=t._dummyObserver).domChanged)==null||i.call(r,e)}for(let n=0;n<d.length;n++)s(d[n]),(o=(a=t._dummyObserver).domChanged)==null||o.call(a,e)}}l.clear(),(c=t.modalizer)==null||c.hiddenUpdate()};function s(t,n){a||=ho(i).elementByUId,c(t,n);let r=wo(e,t,e=>c(e,n));if(r)for(;r.nextNode(););}function c(e,r){if(!e.getAttribute)return NodeFilter.FILTER_SKIP;let o=e.__tabsterElementUID;return o&&a&&(r?delete a[o]:a[o]??(a[o]=new bo(i,e))),(Ia(t,e)||e.hasAttribute(`data-tabster`))&&n(t,e,r),NodeFilter.FILTER_SKIP}let l=G.createMutationObserver(o);return r&&s(i().document.body),l.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Ta]}),()=>{l.disconnect()}}var Ds=class{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletely(e,t){let n=this._isUncontrolledCompletely?.call(this,e,t);return n===void 0?t:n}},Os=class extends zo{constructor(e,t,n){if(super(e,t,n),this._hasFocus=!1,this._onFocusOut=e=>{let t=this._element?.get();t&&e.relatedTarget===null&&t.dispatchEvent(new oo),t&&!G.nodeContains(t,e.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===Aa.Source){let e=this._element?.get();e?.addEventListener(`focusout`,this._onFocusOut),e?.addEventListener(`focusin`,this._onFocusIn),this._hasFocus=G.nodeContains(e,e&&G.getActiveElement(e.ownerDocument))}}dispose(){if(this._props.type===Aa.Source){let e=this._element?.get();e?.removeEventListener(`focusout`,this._onFocusOut),e?.removeEventListener(`focusin`,this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new oo)}}},ks=class e{constructor(e){this._stack=[],this._getWindow=e}push(t){this._stack[this._stack.length-1]?.get()!==t&&(this._stack.length>e.DEPTH&&this._stack.shift(),this._stack.push(new bo(this._getWindow,t)))}pop(e){e===void 0&&(e=()=>!0);let t=this._getWindow().document;for(let n=this._stack.length-1;n>=0;n--){let n=this._stack.pop()?.get();if(n&&G.nodeContains(t.body,G.getParentElement(n))&&e(n))return n}}};ks.DEPTH=10;var As=class{constructor(e){this._onRestoreFocus=e=>{this._focusedElementState.cancelAsyncFocus(Oa.Restorer);let t=e.composedPath()[0];if(t){let e=(Ia(this._tabster,t)?.restorer)?.getProps().id;this._focusedElementState.requestAsyncFocus(Oa.Restorer,()=>this._restoreFocus(t,e),0)}},this._onFocusIn=e=>{e&&(Ia(this._tabster,e)?.restorer)?.getProps().type===Aa.Target&&this._history.push(e)},this._restoreFocus=(e,t)=>{var n;let r=this._getWindow().document;if(G.getActiveElement(r)!==r.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&G.nodeContains(r.body,e))return;let i=e=>{let t=(Ia(this._tabster,e)?.restorer)?.getProps();return t?t.id:null};(n=this._history.pop(e=>t===i(e)))==null||n.focus()},this._tabster=e,this._getWindow=e.getWindow,this._getWindow().addEventListener(qa,this._onRestoreFocus),this._history=new ks(this._getWindow),this._keyboardNavState=e.keyboardNavigation,this._focusedElementState=e.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){let e=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(Oa.Restorer),e.removeEventListener(qa,this._onRestoreFocus)}createRestorer(e,t){let n=new Os(this._tabster,e,t);return t.type===Aa.Target&&G.getActiveElement(e.ownerDocument)===e&&this._history.push(e),n}};function js(e,t){if(!e||!t)return!1;let n=t;for(;n;){if(n===e)return!0;n=typeof n.assignedElements!=`function`&&n.assignedSlot?.parentNode?n.assignedSlot?.parentNode:n.nodeType===document.DOCUMENT_FRAGMENT_NODE?n.host:n.parentNode}return!1}var Ms=class e{static _overrideAttachShadow(t){let n=t.Element.prototype.attachShadow;n.__origAttachShadow||(Element.prototype.attachShadow=function(t){let r=n.call(this,t);for(let t of e._shadowObservers)t._addSubObserver(r);return r},Element.prototype.attachShadow.__origAttachShadow=n)}constructor(e){this._isObserving=!1,this._callbackWrapper=(e,t)=>{for(let t of e)if(t.type===`childList`){let e=t.removedNodes,n=t.addedNodes;for(let t=0;t<e.length;t++)this._walkShadows(e[t],!0);for(let e=0;e<n.length;e++)this._walkShadows(n[e])}this._callback(e,t)},this._callback=e,this._observer=new MutationObserver(this._callbackWrapper),this._subObservers=new Map}_addSubObserver(e){if(!(!this._options||!this._callback||this._subObservers.has(e))&&this._options.subtree&&js(this._root,e)){let t=new MutationObserver(this._callbackWrapper);this._subObservers.set(e,t),this._isObserving&&t.observe(e,this._options),this._walkShadows(e)}}disconnect(){this._isObserving=!1,delete this._options,e._shadowObservers.delete(this);for(let e of this._subObservers.values())e.disconnect();this._subObservers.clear(),this._observer.disconnect()}observe(t,n){let r=t.nodeType===Node.DOCUMENT_NODE?t:t.ownerDocument,i=r?.defaultView;!r||!i||(e._overrideAttachShadow(i),e._shadowObservers.add(this),this._root=t,this._options=n,this._isObserving=!0,this._observer.observe(t,n),this._walkShadows(t))}_walkShadows(e,t){let n=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument;if(n){if(e===n)e=n.body;else{let t=e.shadowRoot;if(t){this._addSubObserver(t);return}}n.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{if(e.nodeType===Node.ELEMENT_NODE)if(t){let t=this._subObservers.get(e);t&&(t.disconnect(),this._subObservers.delete(e))}else{let t=e.shadowRoot;t&&this._addSubObserver(t)}return NodeFilter.FILTER_SKIP}}).nextNode()}}takeRecords(){let e=this._observer.takeRecords();for(let t of this._subObservers.values())e.push(...t.takeRecords());return e}};Ms._shadowObservers=new Set;var Ns=class{constructor(e){this.keyboardNavigation=e.keyboardNavigation,this.focusedElement=e.focusedElement,this.focusable=e.focusable,this.root=e.root,this.uncontrolled=e.uncontrolled,this.core=e}},Ps=class{constructor(e,t){this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version=`8.5.6`,this._noop=!1,this.getWindow=()=>{if(!this._win)throw Error(`Using disposed Tabster.`);return this._win},this._storage=_o(e),this._win=e;let n=this.getWindow;t?.DOMAPI&&lo({...t.DOMAPI}),this.keyboardNavigation=new fs(n),this.focusedElement=new cs(this,n),this.focusable=new is(this),this.root=new K(this,t?.autoRoot),this.uncontrolled=new Ds(t?.checkUncontrolledCompletely||t?.checkUncontrolledTrappingFocus),this.controlTab=t?.controlTab??!0,this.rootDummyInputs=!!t?.rootDummyInputs,this._dummyObserver=new Uo(n),this.getParent=t?.getParent??G.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:e=>{if(!this._unobserve){let t=n().document;this._unobserve=Es(t,this,La,e)}}},So(n),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(e){e&&(this.getParent=e.getParent??this.getParent)}createTabster(e,t){let n=new Ns(this);return e||this._wrappers.add(n),this._mergeProps(t),n}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),this._wrappers.size===0&&this.dispose()}dispose(){var e,t,n,r,i,a,o,s;this.internal.stopObserver();let c=this._win;c?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],c&&this._forgetMemorizedTimer&&(c.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(e=this.outline)==null||e.dispose(),(t=this.crossOrigin)==null||t.dispose(),(n=this.deloser)==null||n.dispose(),(r=this.groupper)==null||r.dispose(),(i=this.mover)==null||i.dispose(),(a=this.modalizer)==null||a.dispose(),(o=this.observedElement)==null||o.dispose(),(s=this.restorer)==null||s.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Co(this.getWindow),No(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),c&&(go(c),delete c.__tabsterInstance,delete this._win)}storageEntry(e,t){let n=this._storage,r=n.get(e);return r?t===!1&&Object.keys(r).length===0&&n.delete(e):t===!0&&(r={},n.set(e,r)),r}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let e=this._forgetMemorizedElements.shift();e;e=this._forgetMemorizedElements.shift())No(this.getWindow,e),cs.forgetMemorized(this.focusedElement,e)},0),xo(this.getWindow,!0)))}queueInit(e){this._win&&(this._initQueue.push(e),this._initTimer||=this._win?.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0))}drainInitQueue(){if(!this._win)return;let e=this._initQueue;this._initQueue=[],e.forEach(e=>e())}};function Fs(e,t){let n=Vs(e);return n?n.createTabster(!1,t):(n=new Ps(e,t),e.__tabsterInstance=n,n.createTabster())}function Is(e){let t=e.core;return t.groupper||=new ds(t,t.getWindow),t.groupper}function Ls(e){let t=e.core;return t.mover||=new Ts(t,t.getWindow),t.mover}function Rs(e,t,n){let r=e.core;return r.modalizer||=new _s(r,t,n),r.modalizer}function zs(e){let t=e.core;return t.restorer||=new As(t),t.restorer}function Bs(e,t){e.core.disposeTabster(e,t)}function Vs(e){return e.__tabsterInstance}var Hs=e=>e;function Us(e){let t=e?.defaultView||void 0,n=t?.__tabsterShadowDOMAPI;if(t)return Fs(t,{autoRoot:{},controlTab:!1,getParent:Yi,checkUncontrolledCompletely:e=>e.firstElementChild?.hasAttribute(`data-is-focus-trap-zone-bumper`)===!0||void 0,DOMAPI:n})}function Ws(e=Hs){let{targetDocument:t}=ti(),n=_.useRef(null);return bi(()=>{let r=Us(t);if(r)return n.current=e(r),()=>{Bs(r),n.current=null}},[t,e]),n}var Gs=e=>{Ws();let t=Qo(e,!0);return _.useMemo(()=>({[Ta]:t}),[t])},Ks=(e={})=>{let{circular:t,axis:n,memorizeCurrent:r=!0,tabbable:i,ignoreDefaultKeydown:a,unstable_hasDefault:o}=e;return Ws(Ls),Gs({mover:{cyclic:!!t,direction:qs(n??`vertical`),memorizeCurrent:r,tabbable:i,hasDefault:o},...a&&{focusable:{ignoreKeydown:a}}})};function qs(e){switch(e){case`horizontal`:return ja.Horizontal;case`grid`:return ja.Grid;case`grid-linear`:return ja.GridLinear;case`both`:return ja.Both;default:return ja.Vertical}}var Js=e=>(Ws(Is),Gs({groupper:{tabbability:Ys(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),Ys=e=>{switch(e){case`unlimited`:return Na.Unlimited;case`limited`:return Na.Limited;case`limited-trap-focus`:return Na.LimitedTrapFocus;default:return}},Xs=()=>{let e=Ws(),{targetDocument:t}=ti();return{findAllFocusable:_.useCallback((t,n)=>t&&e.current?.focusable.findAll({container:t,acceptCondition:n})||[],[e]),findFirstFocusable:_.useCallback(t=>t&&e.current?.focusable.findFirst({container:t}),[e]),findLastFocusable:_.useCallback(t=>t&&e.current?.focusable.findLast({container:t}),[e]),findNextFocusable:_.useCallback((n,r={})=>{if(!e.current||!t||!n)return null;let{container:i=t.body}=r;return e.current.focusable.findNext({currentElement:n,container:i})},[e,t]),findPrevFocusable:_.useCallback((n,r={})=>{if(!e.current||!t||!n)return null;let{container:i=t.body}=r;return e.current.focusable.findPrev({currentElement:n,container:i})},[e,t])}},Zs=`data-fui-focus-visible`,Qs=`data-fui-focus-within`;function $s(e,t){if(ec(e))return()=>void 0;let n={current:void 0},r=wa(t);function i(e){r.isNavigatingWithKeyboard()&&Ri(e)&&(n.current=e,e.setAttribute(Zs,``))}function a(){n.current&&=(n.current.removeAttribute(Zs),void 0)}r.subscribe(e=>{e?i(t.document.activeElement):a()});let o=e=>{a();let t=e.composedPath()[0];i(t)},s=t=>{(!t.relatedTarget||Ri(t.relatedTarget)&&!e.contains(t.relatedTarget))&&a()};return e.addEventListener(pa,o),e.addEventListener(`focusout`,s),e.focusVisible=!0,e.contains(t.document.activeElement)&&i(t.document.activeElement),()=>{a(),e.removeEventListener(pa,o),e.removeEventListener(`focusout`,s),e.focusVisible=void 0,W(r)}}function ec(e){return e?e.focusVisible?!0:ec(e?.parentElement):!1}function tc(e={}){let t=ti(),n=_.useRef(null),r=e.targetDocument??t.targetDocument;return _.useEffect(()=>{if(r?.defaultView&&n.current)return $s(n.current,r.defaultView)},[n,r]),n}function nc(e,t){let n=wa(t);n.subscribe(t=>{t||ic(e)});let r=t=>{n.isNavigatingWithKeyboard()&&ac(t.target)&&rc(e)},i=t=>{(!t.relatedTarget||ac(t.relatedTarget)&&!e.contains(t.relatedTarget))&&ic(e)};return e.addEventListener(pa,r),e.addEventListener(`focusout`,i),()=>{e.removeEventListener(pa,r),e.removeEventListener(`focusout`,i),W(n)}}function rc(e){e.setAttribute(Qs,``)}function ic(e){e.removeAttribute(Qs)}function ac(e){return e?!!(e&&typeof e==`object`&&`classList`in e&&`contains`in e):!1}function oc(){let{targetDocument:e}=ti(),t=_.useRef(null);return _.useEffect(()=>{if(e?.defaultView&&t.current)return nc(t.current,e.defaultView)},[t,e]),t}function sc(){let{targetDocument:e}=ti(),t=_.useRef(null);return _.useEffect(()=>{let n=e?.defaultView;if(n){let e=wa(n);return t.current=e,()=>{W(e),t.current=null}}},[e]),t}function cc(e){let t=sc(),n=B(e);_.useEffect(()=>{let e=t.current;if(e){let t=e=>{n(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}},[t,n])}var lc=`data-tabster-never-hide`,uc=e=>e.hasAttribute(lc);function dc(e){Rs(e,void 0,uc),zs(e)}var fc=(e={})=>{let{trapFocus:t,alwaysFocusable:n,legacyTrapFocus:r}=e;Ws(dc);let i=Ti(`modal-`,e.id);return{modalAttributes:Gs({restorer:{type:Aa.Source},...t&&{modalizer:{id:i,isOthersAccessible:!t,isAlwaysAccessible:n,isTrapped:r&&t}}}),triggerAttributes:Gs({restorer:{type:Aa.Target}})}},pc=(...e)=>{"use no memo";let t=e.reduce((e,t)=>(t?.[`data-tabster`]&&e.push(t[Ta]),e),[]);return _.useMemo(()=>({[Ta]:t.length>0?t.reduce(mc):void 0}),t)},mc=(e,t)=>JSON.stringify(Object.assign(hc(e),hc(t))),hc=e=>{try{return JSON.parse(e)}catch{return{}}};function gc(){let e=sc();return _.useCallback(t=>{var n;(n=e.current)==null||n.setVal(t)},[e])}var q={2:`#050505`,4:`#0a0a0a`,6:`#0f0f0f`,8:`#141414`,10:`#1a1a1a`,12:`#1f1f1f`,14:`#242424`,16:`#292929`,18:`#2e2e2e`,20:`#333333`,22:`#383838`,24:`#3d3d3d`,26:`#424242`,28:`#474747`,30:`#4d4d4d`,32:`#525252`,34:`#575757`,36:`#5c5c5c`,38:`#616161`,40:`#666666`,42:`#6b6b6b`,44:`#707070`,46:`#757575`,48:`#7a7a7a`,50:`#808080`,52:`#858585`,54:`#8a8a8a`,56:`#8f8f8f`,58:`#949494`,60:`#999999`,62:`#9e9e9e`,64:`#a3a3a3`,66:`#a8a8a8`,68:`#adadad`,70:`#b3b3b3`,72:`#b8b8b8`,74:`#bdbdbd`,76:`#c2c2c2`,78:`#c7c7c7`,80:`#cccccc`,82:`#d1d1d1`,84:`#d6d6d6`,86:`#dbdbdb`,88:`#e0e0e0`,90:`#e6e6e6`,92:`#ebebeb`,94:`#f0f0f0`,96:`#f5f5f5`,98:`#fafafa`},_c={5:`rgba(255, 255, 255, 0.05)`,10:`rgba(255, 255, 255, 0.1)`,20:`rgba(255, 255, 255, 0.2)`,30:`rgba(255, 255, 255, 0.3)`,40:`rgba(255, 255, 255, 0.4)`,50:`rgba(255, 255, 255, 0.5)`,60:`rgba(255, 255, 255, 0.6)`,70:`rgba(255, 255, 255, 0.7)`,80:`rgba(255, 255, 255, 0.8)`,90:`rgba(255, 255, 255, 0.9)`},vc={5:`rgba(0, 0, 0, 0.05)`,10:`rgba(0, 0, 0, 0.1)`,20:`rgba(0, 0, 0, 0.2)`,30:`rgba(0, 0, 0, 0.3)`,40:`rgba(0, 0, 0, 0.4)`,50:`rgba(0, 0, 0, 0.5)`,60:`rgba(0, 0, 0, 0.6)`,70:`rgba(0, 0, 0, 0.7)`,80:`rgba(0, 0, 0, 0.8)`,90:`rgba(0, 0, 0, 0.9)`},yc={5:`rgba(26, 26, 26, 0.05)`,10:`rgba(26, 26, 26, 0.1)`,20:`rgba(26, 26, 26, 0.2)`,30:`rgba(26, 26, 26, 0.3)`,40:`rgba(26, 26, 26, 0.4)`,50:`rgba(26, 26, 26, 0.5)`,60:`rgba(26, 26, 26, 0.6)`,70:`rgba(26, 26, 26, 0.7)`,80:`rgba(26, 26, 26, 0.8)`,90:`rgba(26, 26, 26, 0.9)`},bc={5:`rgba(31, 31, 31, 0.05)`,10:`rgba(31, 31, 31, 0.1)`,20:`rgba(31, 31, 31, 0.2)`,30:`rgba(31, 31, 31, 0.3)`,40:`rgba(31, 31, 31, 0.4)`,50:`rgba(31, 31, 31, 0.5)`,60:`rgba(31, 31, 31, 0.6)`,70:`rgba(31, 31, 31, 0.7)`,80:`rgba(31, 31, 31, 0.8)`,90:`rgba(31, 31, 31, 0.9)`},xc={5:`rgba(36, 36, 36, 0.05)`,10:`rgba(36, 36, 36, 0.1)`,20:`rgba(36, 36, 36, 0.2)`,30:`rgba(36, 36, 36, 0.3)`,40:`rgba(36, 36, 36, 0.4)`,50:`rgba(36, 36, 36, 0.5)`,60:`rgba(36, 36, 36, 0.6)`,70:`rgba(36, 36, 36, 0.7)`,80:`rgba(36, 36, 36, 0.8)`,90:`rgba(36, 36, 36, 0.9)`},J=`#ffffff`,Sc=`#000000`,Cc={shade50:`#130204`,shade40:`#230308`,shade30:`#420610`,shade20:`#590815`,shade10:`#690a19`,primary:`#750b1c`,tint10:`#861b2c`,tint20:`#962f3f`,tint30:`#ac4f5e`,tint40:`#d69ca5`,tint50:`#e9c7cd`,tint60:`#f9f0f2`},wc={shade50:`#200205`,shade40:`#3b0509`,shade30:`#6e0811`,shade20:`#960b18`,shade10:`#b10e1c`,primary:`#c50f1f`,tint10:`#cc2635`,tint20:`#d33f4c`,tint30:`#dc626d`,tint40:`#eeacb2`,tint50:`#f6d1d5`,tint60:`#fdf3f4`},Tc={shade50:`#210809`,shade40:`#3f1011`,shade30:`#751d1f`,shade20:`#9f282b`,shade10:`#bc2f32`,primary:`#d13438`,tint10:`#d7494c`,tint20:`#dc5e62`,tint30:`#e37d80`,tint40:`#f1bbbc`,tint50:`#f8dadb`,tint60:`#fdf6f6`},Ec={shade50:`#230900`,shade40:`#411200`,shade30:`#7a2101`,shade20:`#a62d01`,shade10:`#c43501`,primary:`#da3b01`,tint10:`#de501c`,tint20:`#e36537`,tint30:`#e9835e`,tint40:`#f4bfab`,tint50:`#f9dcd1`,tint60:`#fdf6f3`},Dc={shade50:`#200d03`,shade40:`#3d1805`,shade30:`#712d09`,shade20:`#9a3d0c`,shade10:`#b6480e`,primary:`#ca5010`,tint10:`#d06228`,tint20:`#d77440`,tint30:`#df8e64`,tint40:`#efc4ad`,tint50:`#f7dfd2`,tint60:`#fdf7f4`},Oc={shade50:`#271002`,shade40:`#4a1e04`,shade30:`#8a3707`,shade20:`#bc4b09`,shade10:`#de590b`,primary:`#f7630c`,tint10:`#f87528`,tint20:`#f98845`,tint30:`#faa06b`,tint40:`#fdcfb4`,tint50:`#fee5d7`,tint60:`#fff9f5`},kc={shade50:`#291600`,shade40:`#4d2a00`,shade30:`#8f4e00`,shade20:`#c26a00`,shade10:`#e67e00`,primary:`#ff8c00`,tint10:`#ff9a1f`,tint20:`#ffa83d`,tint30:`#ffba66`,tint40:`#ffddb3`,tint50:`#ffedd6`,tint60:`#fffaf5`},Ac={shade50:`#251a00`,shade40:`#463100`,shade30:`#835b00`,shade20:`#b27c00`,shade10:`#d39300`,primary:`#eaa300`,tint10:`#edad1c`,tint20:`#efb839`,tint30:`#f2c661`,tint40:`#f9e2ae`,tint50:`#fcefd3`,tint60:`#fefbf4`},jc={shade50:`#282400`,shade40:`#4c4400`,shade30:`#817400`,shade20:`#c0ad00`,shade10:`#e4cc00`,primary:`#fde300`,tint10:`#fde61e`,tint20:`#fdea3d`,tint30:`#feee66`,tint40:`#fef7b2`,tint50:`#fffad6`,tint60:`#fffef5`},Mc={shade50:`#1f1900`,shade40:`#3a2f00`,shade30:`#6c5700`,shade20:`#937700`,shade10:`#ae8c00`,primary:`#c19c00`,tint10:`#c8a718`,tint20:`#d0b232`,tint30:`#dac157`,tint40:`#ecdfa5`,tint50:`#f5eece`,tint60:`#fdfbf2`},Nc={shade50:`#181202`,shade40:`#2e2103`,shade30:`#553e06`,shade20:`#745408`,shade10:`#89640a`,primary:`#986f0b`,tint10:`#a47d1e`,tint20:`#b18c34`,tint30:`#c1a256`,tint40:`#e0cea2`,tint50:`#efe4cb`,tint60:`#fbf8f2`},Pc={shade50:`#170e07`,shade40:`#2b1a0e`,shade30:`#50301a`,shade20:`#6c4123`,shade10:`#804d29`,primary:`#8e562e`,tint10:`#9c663f`,tint20:`#a97652`,tint30:`#bb8f6f`,tint40:`#ddc3b0`,tint50:`#edded3`,tint60:`#faf7f4`},Fc={shade50:`#0c1501`,shade40:`#162702`,shade30:`#294903`,shade20:`#376304`,shade10:`#427505`,primary:`#498205`,tint10:`#599116`,tint20:`#6ba02b`,tint30:`#85b44c`,tint40:`#bdd99b`,tint50:`#dbebc7`,tint60:`#f6faf0`},Ic={shade50:`#002111`,shade40:`#003d20`,shade30:`#00723b`,shade20:`#009b51`,shade10:`#00b85f`,primary:`#00cc6a`,tint10:`#19d279`,tint20:`#34d889`,tint30:`#5ae0a0`,tint40:`#a8f0cd`,tint50:`#cff7e4`,tint60:`#f3fdf8`},Lc={shade50:`#031a02`,shade40:`#063004`,shade30:`#0b5a08`,shade20:`#0e7a0b`,shade10:`#11910d`,primary:`#13a10e`,tint10:`#27ac22`,tint20:`#3db838`,tint30:`#5ec75a`,tint40:`#a7e3a5`,tint50:`#cef0cd`,tint60:`#f2fbf2`},Rc={shade50:`#031403`,shade40:`#052505`,shade30:`#094509`,shade20:`#0c5e0c`,shade10:`#0e700e`,primary:`#107c10`,tint10:`#218c21`,tint20:`#359b35`,tint30:`#54b054`,tint40:`#9fd89f`,tint50:`#c9eac9`,tint60:`#f1faf1`},zc={shade50:`#021102`,shade40:`#032003`,shade30:`#063b06`,shade20:`#085108`,shade10:`#0a5f0a`,primary:`#0b6a0b`,tint10:`#1a7c1a`,tint20:`#2d8e2d`,tint30:`#4da64d`,tint40:`#9ad29a`,tint50:`#c6e7c6`,tint60:`#f0f9f0`},Bc={shade50:`#001d1f`,shade40:`#00373a`,shade30:`#00666d`,shade20:`#008b94`,shade10:`#00a5af`,primary:`#00b7c3`,tint10:`#18bfca`,tint20:`#32c8d1`,tint30:`#58d3db`,tint40:`#a6e9ed`,tint50:`#cef3f5`,tint60:`#f2fcfd`},Vc={shade50:`#001516`,shade40:`#012728`,shade30:`#02494c`,shade20:`#026467`,shade10:`#037679`,primary:`#038387`,tint10:`#159195`,tint20:`#2aa0a4`,tint30:`#4cb4b7`,tint40:`#9bd9db`,tint50:`#c7ebec`,tint60:`#f0fafa`},Hc={shade50:`#000f12`,shade40:`#001b22`,shade30:`#00333f`,shade20:`#004555`,shade10:`#005265`,primary:`#005b70`,tint10:`#0f6c81`,tint20:`#237d92`,tint30:`#4496a9`,tint40:`#94c8d4`,tint50:`#c3e1e8`,tint60:`#eff7f9`},Uc={shade50:`#001322`,shade40:`#002440`,shade30:`#004377`,shade20:`#005ba1`,shade10:`#006cbf`,primary:`#0078d4`,tint10:`#1a86d9`,tint20:`#3595de`,tint30:`#5caae5`,tint40:`#a9d3f2`,tint50:`#d0e7f8`,tint60:`#f3f9fd`},Wc={shade50:`#000c16`,shade40:`#00172a`,shade30:`#002c4e`,shade20:`#003b6a`,shade10:`#00467e`,primary:`#004e8c`,tint10:`#125e9a`,tint20:`#286fa8`,tint30:`#4a89ba`,tint40:`#9abfdc`,tint50:`#c7dced`,tint60:`#f0f6fa`},Y={shade50:`#0d1126`,shade40:`#182047`,shade30:`#2c3c85`,shade20:`#3c51b4`,shade10:`#4760d5`,primary:`#4f6bed`,tint10:`#637cef`,tint20:`#778df1`,tint30:`#93a4f4`,tint40:`#c8d1fa`,tint50:`#e1e6fc`,tint60:`#f7f9fe`},Gc={shade50:`#00061d`,shade40:`#000c36`,shade30:`#001665`,shade20:`#001e89`,shade10:`#0023a2`,primary:`#0027b4`,tint10:`#173bbd`,tint20:`#3050c6`,tint30:`#546fd2`,tint40:`#a3b2e8`,tint50:`#ccd5f3`,tint60:`#f2f4fc`},Kc={shade50:`#120f25`,shade40:`#221d46`,shade30:`#3f3682`,shade20:`#5649b0`,shade10:`#6656d1`,primary:`#7160e8`,tint10:`#8172eb`,tint20:`#9184ee`,tint30:`#a79cf1`,tint40:`#d2ccf8`,tint50:`#e7e4fb`,tint60:`#f9f8fe`},qc={shade50:`#0f0717`,shade40:`#1c0e2b`,shade30:`#341a51`,shade20:`#46236e`,shade10:`#532982`,primary:`#5c2e91`,tint10:`#6b3f9e`,tint20:`#7c52ab`,tint30:`#9470bd`,tint40:`#c6b1de`,tint50:`#e0d3ed`,tint60:`#f7f4fb`},Jc={shade50:`#160418`,shade40:`#29072e`,shade30:`#4c0d55`,shade20:`#671174`,shade10:`#7a1589`,primary:`#881798`,tint10:`#952aa4`,tint20:`#a33fb1`,tint30:`#b55fc1`,tint40:`#d9a7e0`,tint50:`#eaceef`,tint60:`#faf2fb`},Yc={shade50:`#1f091d`,shade40:`#3a1136`,shade30:`#6d2064`,shade20:`#932b88`,shade10:`#af33a1`,primary:`#c239b3`,tint10:`#c94cbc`,tint20:`#d161c4`,tint30:`#da7ed0`,tint40:`#edbbe7`,tint50:`#f5daf2`,tint60:`#fdf5fc`},Xc={shade50:`#1c0b1f`,shade40:`#35153a`,shade30:`#63276d`,shade20:`#863593`,shade10:`#9f3faf`,primary:`#b146c2`,tint10:`#ba58c9`,tint20:`#c36bd1`,tint30:`#cf87da`,tint40:`#e6bfed`,tint50:`#f2dcf5`,tint60:`#fcf6fd`},Zc={shade50:`#24091b`,shade40:`#441232`,shade30:`#80215d`,shade20:`#ad2d7e`,shade10:`#cd3595`,primary:`#e43ba6`,tint10:`#e750b0`,tint20:`#ea66ba`,tint30:`#ef85c8`,tint40:`#f7c0e3`,tint50:`#fbddf0`,tint60:`#fef6fb`},Qc={shade50:`#1f0013`,shade40:`#390024`,shade30:`#6b0043`,shade20:`#91005a`,shade10:`#ac006b`,primary:`#bf0077`,tint10:`#c71885`,tint20:`#ce3293`,tint30:`#d957a8`,tint40:`#eca5d1`,tint50:`#f5cee6`,tint60:`#fcf2f9`},$c={shade50:`#13000c`,shade40:`#240017`,shade30:`#43002b`,shade20:`#5a003b`,shade10:`#6b0045`,primary:`#77004d`,tint10:`#87105d`,tint20:`#98246f`,tint30:`#ad4589`,tint40:`#d696c0`,tint50:`#e9c4dc`,tint60:`#faf0f6`},el={shade50:`#141313`,shade40:`#252323`,shade30:`#444241`,shade20:`#5d5958`,shade10:`#6e6968`,primary:`#7a7574`,tint10:`#8a8584`,tint20:`#9a9594`,tint30:`#afabaa`,tint40:`#d7d4d4`,tint50:`#eae8e8`,tint60:`#faf9f9`},tl={shade50:`#0f0e0e`,shade40:`#1c1b1a`,shade30:`#343231`,shade20:`#474443`,shade10:`#54514f`,primary:`#5d5a58`,tint10:`#706d6b`,tint20:`#84817e`,tint30:`#9e9b99`,tint40:`#cecccb`,tint50:`#e5e4e3`,tint60:`#f8f8f8`},nl={shade50:`#111314`,shade40:`#1f2426`,shade30:`#3b4447`,shade20:`#505c60`,shade10:`#5f6d71`,primary:`#69797e`,tint10:`#79898d`,tint20:`#89989d`,tint30:`#a0adb2`,tint40:`#cdd6d8`,tint50:`#e4e9ea`,tint60:`#f8f9fa`},rl={shade50:`#090a0b`,shade40:`#111315`,shade30:`#202427`,shade20:`#2b3135`,shade10:`#333a3f`,primary:`#394146`,tint10:`#4d565c`,tint20:`#626c72`,tint30:`#808a90`,tint40:`#bcc3c7`,tint50:`#dbdfe1`,tint60:`#f6f7f8`},X={red:Tc,green:Rc,darkOrange:Ec,yellow:jc,berry:Yc,lightGreen:Lc,marigold:Ac},il={darkRed:Cc,cranberry:wc,pumpkin:Dc,peach:kc,gold:Mc,brass:Nc,brown:Pc,forest:Fc,seafoam:Ic,darkGreen:zc,lightTeal:Bc,teal:Vc,steel:Hc,blue:Uc,royalBlue:Wc,cornflower:Y,navy:Gc,lavender:Kc,purple:qc,grape:Jc,lilac:Xc,pink:Zc,magenta:Qc,plum:$c,beige:el,mink:tl,platinum:nl,anchor:rl},Z={cranberry:wc,green:Rc,orange:Oc},al=[`red`,`green`,`darkOrange`,`yellow`,`berry`,`lightGreen`,`marigold`],ol=`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`.split(`.`),sl={success:`green`,warning:`orange`,danger:`cranberry`},cl=al.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background1`]:X[t].tint60,[`colorPalette${n}Background2`]:X[t].tint40,[`colorPalette${n}Background3`]:X[t].primary,[`colorPalette${n}Foreground1`]:X[t].shade10,[`colorPalette${n}Foreground2`]:X[t].shade30,[`colorPalette${n}Foreground3`]:X[t].primary,[`colorPalette${n}BorderActive`]:X[t].primary,[`colorPalette${n}Border1`]:X[t].tint40,[`colorPalette${n}Border2`]:X[t].primary};return Object.assign(e,r)},{});cl.colorPaletteYellowForeground1=X.yellow.shade30,cl.colorPaletteRedForegroundInverted=X.red.tint20,cl.colorPaletteGreenForegroundInverted=X.green.tint20,cl.colorPaletteYellowForegroundInverted=X.yellow.tint40;var ll=ol.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background2`]:il[t].tint40,[`colorPalette${n}Foreground2`]:il[t].shade30,[`colorPalette${n}BorderActive`]:il[t].primary};return Object.assign(e,r)},{}),ul={...cl,...ll},dl=Object.entries(sl).reduce((e,[t,n])=>{let r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${r}Background1`]:Z[n].tint60,[`colorStatus${r}Background2`]:Z[n].tint40,[`colorStatus${r}Background3`]:Z[n].primary,[`colorStatus${r}Foreground1`]:Z[n].shade10,[`colorStatus${r}Foreground2`]:Z[n].shade30,[`colorStatus${r}Foreground3`]:Z[n].primary,[`colorStatus${r}ForegroundInverted`]:Z[n].tint30,[`colorStatus${r}BorderActive`]:Z[n].primary,[`colorStatus${r}Border1`]:Z[n].tint40,[`colorStatus${r}Border2`]:Z[n].primary};return Object.assign(e,i)},{});dl.colorStatusDangerBackground3Hover=Z[sl.danger].shade10,dl.colorStatusDangerBackground3Pressed=Z[sl.danger].shade20,dl.colorStatusWarningForeground1=Z[sl.warning].shade20,dl.colorStatusWarningForeground3=Z[sl.warning].shade20,dl.colorStatusWarningBorder2=Z[sl.warning].shade20;var fl=e=>({colorNeutralForeground1:q[14],colorNeutralForeground1Hover:q[14],colorNeutralForeground1Pressed:q[14],colorNeutralForeground1Selected:q[14],colorNeutralForeground2:q[26],colorNeutralForeground2Hover:q[14],colorNeutralForeground2Pressed:q[14],colorNeutralForeground2Selected:q[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:q[38],colorNeutralForeground3Hover:q[26],colorNeutralForeground3Pressed:q[26],colorNeutralForeground3Selected:q[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:q[44],colorNeutralForegroundDisabled:q[74],colorNeutralForegroundInvertedDisabled:_c[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:q[26],colorNeutralForeground2LinkHover:q[14],colorNeutralForeground2LinkPressed:q[14],colorNeutralForeground2LinkSelected:q[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:q[14],colorNeutralForegroundStaticInverted:J,colorNeutralForegroundInverted:J,colorNeutralForegroundInvertedHover:J,colorNeutralForegroundInvertedPressed:J,colorNeutralForegroundInvertedSelected:J,colorNeutralForegroundInverted2:J,colorNeutralForegroundOnBrand:J,colorNeutralForegroundInvertedLink:J,colorNeutralForegroundInvertedLinkHover:J,colorNeutralForegroundInvertedLinkPressed:J,colorNeutralForegroundInvertedLinkSelected:J,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:J,colorNeutralBackground1Hover:q[96],colorNeutralBackground1Pressed:q[88],colorNeutralBackground1Selected:q[92],colorNeutralBackground2:q[98],colorNeutralBackground2Hover:q[94],colorNeutralBackground2Pressed:q[86],colorNeutralBackground2Selected:q[90],colorNeutralBackground3:q[96],colorNeutralBackground3Hover:q[92],colorNeutralBackground3Pressed:q[84],colorNeutralBackground3Selected:q[88],colorNeutralBackground4:q[94],colorNeutralBackground4Hover:q[98],colorNeutralBackground4Pressed:q[96],colorNeutralBackground4Selected:J,colorNeutralBackground5:q[92],colorNeutralBackground5Hover:q[96],colorNeutralBackground5Pressed:q[94],colorNeutralBackground5Selected:q[98],colorNeutralBackground6:q[90],colorNeutralBackgroundInverted:q[16],colorNeutralBackgroundStatic:q[20],colorNeutralBackgroundAlpha:_c[50],colorNeutralBackgroundAlpha2:_c[80],colorSubtleBackground:`transparent`,colorSubtleBackgroundHover:q[96],colorSubtleBackgroundPressed:q[88],colorSubtleBackgroundSelected:q[92],colorSubtleBackgroundLightAlphaHover:_c[70],colorSubtleBackgroundLightAlphaPressed:_c[50],colorSubtleBackgroundLightAlphaSelected:`transparent`,colorSubtleBackgroundInverted:`transparent`,colorSubtleBackgroundInvertedHover:vc[10],colorSubtleBackgroundInvertedPressed:vc[30],colorSubtleBackgroundInvertedSelected:vc[20],colorTransparentBackground:`transparent`,colorTransparentBackgroundHover:`transparent`,colorTransparentBackgroundPressed:`transparent`,colorTransparentBackgroundSelected:`transparent`,colorNeutralBackgroundDisabled:q[94],colorNeutralBackgroundInvertedDisabled:_c[10],colorNeutralStencil1:q[90],colorNeutralStencil2:q[98],colorNeutralStencil1Alpha:vc[10],colorNeutralStencil2Alpha:vc[5],colorBackgroundOverlay:vc[40],colorScrollbarOverlay:vc[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:J,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:q[98],colorNeutralCardBackgroundHover:J,colorNeutralCardBackgroundPressed:q[96],colorNeutralCardBackgroundSelected:q[92],colorNeutralCardBackgroundDisabled:q[94],colorNeutralStrokeAccessible:q[38],colorNeutralStrokeAccessibleHover:q[34],colorNeutralStrokeAccessiblePressed:q[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:q[82],colorNeutralStroke1Hover:q[78],colorNeutralStroke1Pressed:q[70],colorNeutralStroke1Selected:q[74],colorNeutralStroke2:q[88],colorNeutralStroke3:q[94],colorNeutralStrokeSubtle:q[88],colorNeutralStrokeOnBrand:J,colorNeutralStrokeOnBrand2:J,colorNeutralStrokeOnBrand2Hover:J,colorNeutralStrokeOnBrand2Pressed:J,colorNeutralStrokeOnBrand2Selected:J,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:q[88],colorNeutralStrokeInvertedDisabled:_c[40],colorTransparentStroke:`transparent`,colorTransparentStrokeInteractive:`transparent`,colorTransparentStrokeDisabled:`transparent`,colorNeutralStrokeAlpha:vc[5],colorNeutralStrokeAlpha2:_c[20],colorStrokeFocus1:J,colorStrokeFocus2:Sc,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)`}),pl={borderRadiusNone:`0`,borderRadiusSmall:`2px`,borderRadiusMedium:`4px`,borderRadiusLarge:`6px`,borderRadiusXLarge:`8px`,borderRadiusCircular:`10000px`},ml={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)`},hl={durationUltraFast:`50ms`,durationFaster:`100ms`,durationFast:`150ms`,durationNormal:`200ms`,durationGentle:`250ms`,durationSlow:`300ms`,durationSlower:`400ms`,durationUltraSlow:`500ms`},gl={fontSizeBase100:`10px`,fontSizeBase200:`12px`,fontSizeBase300:`14px`,fontSizeBase400:`16px`,fontSizeBase500:`20px`,fontSizeBase600:`24px`,fontSizeHero700:`28px`,fontSizeHero800:`32px`,fontSizeHero900:`40px`,fontSizeHero1000:`68px`},_l={lineHeightBase100:`14px`,lineHeightBase200:`16px`,lineHeightBase300:`20px`,lineHeightBase400:`22px`,lineHeightBase500:`28px`,lineHeightBase600:`32px`,lineHeightHero700:`36px`,lineHeightHero800:`40px`,lineHeightHero900:`52px`,lineHeightHero1000:`92px`},vl={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},yl={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`},bl={none:`0`,xxs:`2px`,xs:`4px`,sNudge:`6px`,s:`8px`,mNudge:`10px`,m:`12px`,l:`16px`,xl:`20px`,xxl:`24px`,xxxl:`32px`},xl={spacingHorizontalNone:bl.none,spacingHorizontalXXS:bl.xxs,spacingHorizontalXS:bl.xs,spacingHorizontalSNudge:bl.sNudge,spacingHorizontalS:bl.s,spacingHorizontalMNudge:bl.mNudge,spacingHorizontalM:bl.m,spacingHorizontalL:bl.l,spacingHorizontalXL:bl.xl,spacingHorizontalXXL:bl.xxl,spacingHorizontalXXXL:bl.xxxl},Sl={spacingVerticalNone:bl.none,spacingVerticalXXS:bl.xxs,spacingVerticalXS:bl.xs,spacingVerticalSNudge:bl.sNudge,spacingVerticalS:bl.s,spacingVerticalMNudge:bl.mNudge,spacingVerticalM:bl.m,spacingVerticalL:bl.l,spacingVerticalXL:bl.xl,spacingVerticalXXL:bl.xxl,spacingVerticalXXXL:bl.xxxl},Cl={strokeWidthThin:`1px`,strokeWidthThick:`2px`,strokeWidthThicker:`3px`,strokeWidthThickest:`4px`},Q={colorNeutralForeground1:`var(--colorNeutralForeground1)`,colorNeutralForeground1Hover:`var(--colorNeutralForeground1Hover)`,colorNeutralForeground1Pressed:`var(--colorNeutralForeground1Pressed)`,colorNeutralForeground1Selected:`var(--colorNeutralForeground1Selected)`,colorNeutralForeground2:`var(--colorNeutralForeground2)`,colorNeutralForeground2Hover:`var(--colorNeutralForeground2Hover)`,colorNeutralForeground2Pressed:`var(--colorNeutralForeground2Pressed)`,colorNeutralForeground2Selected:`var(--colorNeutralForeground2Selected)`,colorNeutralForeground2BrandHover:`var(--colorNeutralForeground2BrandHover)`,colorNeutralForeground2BrandPressed:`var(--colorNeutralForeground2BrandPressed)`,colorNeutralForeground2BrandSelected:`var(--colorNeutralForeground2BrandSelected)`,colorNeutralForeground3:`var(--colorNeutralForeground3)`,colorNeutralForeground3Hover:`var(--colorNeutralForeground3Hover)`,colorNeutralForeground3Pressed:`var(--colorNeutralForeground3Pressed)`,colorNeutralForeground3Selected:`var(--colorNeutralForeground3Selected)`,colorNeutralForeground3BrandHover:`var(--colorNeutralForeground3BrandHover)`,colorNeutralForeground3BrandPressed:`var(--colorNeutralForeground3BrandPressed)`,colorNeutralForeground3BrandSelected:`var(--colorNeutralForeground3BrandSelected)`,colorNeutralForeground4:`var(--colorNeutralForeground4)`,colorNeutralForegroundDisabled:`var(--colorNeutralForegroundDisabled)`,colorBrandForegroundLink:`var(--colorBrandForegroundLink)`,colorBrandForegroundLinkHover:`var(--colorBrandForegroundLinkHover)`,colorBrandForegroundLinkPressed:`var(--colorBrandForegroundLinkPressed)`,colorBrandForegroundLinkSelected:`var(--colorBrandForegroundLinkSelected)`,colorNeutralForeground2Link:`var(--colorNeutralForeground2Link)`,colorNeutralForeground2LinkHover:`var(--colorNeutralForeground2LinkHover)`,colorNeutralForeground2LinkPressed:`var(--colorNeutralForeground2LinkPressed)`,colorNeutralForeground2LinkSelected:`var(--colorNeutralForeground2LinkSelected)`,colorCompoundBrandForeground1:`var(--colorCompoundBrandForeground1)`,colorCompoundBrandForeground1Hover:`var(--colorCompoundBrandForeground1Hover)`,colorCompoundBrandForeground1Pressed:`var(--colorCompoundBrandForeground1Pressed)`,colorNeutralForegroundOnBrand:`var(--colorNeutralForegroundOnBrand)`,colorNeutralForegroundInverted:`var(--colorNeutralForegroundInverted)`,colorNeutralForegroundInvertedHover:`var(--colorNeutralForegroundInvertedHover)`,colorNeutralForegroundInvertedPressed:`var(--colorNeutralForegroundInvertedPressed)`,colorNeutralForegroundInvertedSelected:`var(--colorNeutralForegroundInvertedSelected)`,colorNeutralForegroundInverted2:`var(--colorNeutralForegroundInverted2)`,colorNeutralForegroundStaticInverted:`var(--colorNeutralForegroundStaticInverted)`,colorNeutralForegroundInvertedLink:`var(--colorNeutralForegroundInvertedLink)`,colorNeutralForegroundInvertedLinkHover:`var(--colorNeutralForegroundInvertedLinkHover)`,colorNeutralForegroundInvertedLinkPressed:`var(--colorNeutralForegroundInvertedLinkPressed)`,colorNeutralForegroundInvertedLinkSelected:`var(--colorNeutralForegroundInvertedLinkSelected)`,colorNeutralForegroundInvertedDisabled:`var(--colorNeutralForegroundInvertedDisabled)`,colorBrandForeground1:`var(--colorBrandForeground1)`,colorBrandForeground2:`var(--colorBrandForeground2)`,colorBrandForeground2Hover:`var(--colorBrandForeground2Hover)`,colorBrandForeground2Pressed:`var(--colorBrandForeground2Pressed)`,colorNeutralForeground1Static:`var(--colorNeutralForeground1Static)`,colorBrandForegroundInverted:`var(--colorBrandForegroundInverted)`,colorBrandForegroundInvertedHover:`var(--colorBrandForegroundInvertedHover)`,colorBrandForegroundInvertedPressed:`var(--colorBrandForegroundInvertedPressed)`,colorBrandForegroundOnLight:`var(--colorBrandForegroundOnLight)`,colorBrandForegroundOnLightHover:`var(--colorBrandForegroundOnLightHover)`,colorBrandForegroundOnLightPressed:`var(--colorBrandForegroundOnLightPressed)`,colorBrandForegroundOnLightSelected:`var(--colorBrandForegroundOnLightSelected)`,colorNeutralBackground1:`var(--colorNeutralBackground1)`,colorNeutralBackground1Hover:`var(--colorNeutralBackground1Hover)`,colorNeutralBackground1Pressed:`var(--colorNeutralBackground1Pressed)`,colorNeutralBackground1Selected:`var(--colorNeutralBackground1Selected)`,colorNeutralBackground2:`var(--colorNeutralBackground2)`,colorNeutralBackground2Hover:`var(--colorNeutralBackground2Hover)`,colorNeutralBackground2Pressed:`var(--colorNeutralBackground2Pressed)`,colorNeutralBackground2Selected:`var(--colorNeutralBackground2Selected)`,colorNeutralBackground3:`var(--colorNeutralBackground3)`,colorNeutralBackground3Hover:`var(--colorNeutralBackground3Hover)`,colorNeutralBackground3Pressed:`var(--colorNeutralBackground3Pressed)`,colorNeutralBackground3Selected:`var(--colorNeutralBackground3Selected)`,colorNeutralBackground4:`var(--colorNeutralBackground4)`,colorNeutralBackground4Hover:`var(--colorNeutralBackground4Hover)`,colorNeutralBackground4Pressed:`var(--colorNeutralBackground4Pressed)`,colorNeutralBackground4Selected:`var(--colorNeutralBackground4Selected)`,colorNeutralBackground5:`var(--colorNeutralBackground5)`,colorNeutralBackground5Hover:`var(--colorNeutralBackground5Hover)`,colorNeutralBackground5Pressed:`var(--colorNeutralBackground5Pressed)`,colorNeutralBackground5Selected:`var(--colorNeutralBackground5Selected)`,colorNeutralBackground6:`var(--colorNeutralBackground6)`,colorNeutralBackgroundInverted:`var(--colorNeutralBackgroundInverted)`,colorNeutralBackgroundStatic:`var(--colorNeutralBackgroundStatic)`,colorNeutralBackgroundAlpha:`var(--colorNeutralBackgroundAlpha)`,colorNeutralBackgroundAlpha2:`var(--colorNeutralBackgroundAlpha2)`,colorSubtleBackground:`var(--colorSubtleBackground)`,colorSubtleBackgroundHover:`var(--colorSubtleBackgroundHover)`,colorSubtleBackgroundPressed:`var(--colorSubtleBackgroundPressed)`,colorSubtleBackgroundSelected:`var(--colorSubtleBackgroundSelected)`,colorSubtleBackgroundLightAlphaHover:`var(--colorSubtleBackgroundLightAlphaHover)`,colorSubtleBackgroundLightAlphaPressed:`var(--colorSubtleBackgroundLightAlphaPressed)`,colorSubtleBackgroundLightAlphaSelected:`var(--colorSubtleBackgroundLightAlphaSelected)`,colorSubtleBackgroundInverted:`var(--colorSubtleBackgroundInverted)`,colorSubtleBackgroundInvertedHover:`var(--colorSubtleBackgroundInvertedHover)`,colorSubtleBackgroundInvertedPressed:`var(--colorSubtleBackgroundInvertedPressed)`,colorSubtleBackgroundInvertedSelected:`var(--colorSubtleBackgroundInvertedSelected)`,colorTransparentBackground:`var(--colorTransparentBackground)`,colorTransparentBackgroundHover:`var(--colorTransparentBackgroundHover)`,colorTransparentBackgroundPressed:`var(--colorTransparentBackgroundPressed)`,colorTransparentBackgroundSelected:`var(--colorTransparentBackgroundSelected)`,colorNeutralBackgroundDisabled:`var(--colorNeutralBackgroundDisabled)`,colorNeutralBackgroundInvertedDisabled:`var(--colorNeutralBackgroundInvertedDisabled)`,colorNeutralStencil1:`var(--colorNeutralStencil1)`,colorNeutralStencil2:`var(--colorNeutralStencil2)`,colorNeutralStencil1Alpha:`var(--colorNeutralStencil1Alpha)`,colorNeutralStencil2Alpha:`var(--colorNeutralStencil2Alpha)`,colorBackgroundOverlay:`var(--colorBackgroundOverlay)`,colorScrollbarOverlay:`var(--colorScrollbarOverlay)`,colorBrandBackground:`var(--colorBrandBackground)`,colorBrandBackgroundHover:`var(--colorBrandBackgroundHover)`,colorBrandBackgroundPressed:`var(--colorBrandBackgroundPressed)`,colorBrandBackgroundSelected:`var(--colorBrandBackgroundSelected)`,colorCompoundBrandBackground:`var(--colorCompoundBrandBackground)`,colorCompoundBrandBackgroundHover:`var(--colorCompoundBrandBackgroundHover)`,colorCompoundBrandBackgroundPressed:`var(--colorCompoundBrandBackgroundPressed)`,colorBrandBackgroundStatic:`var(--colorBrandBackgroundStatic)`,colorBrandBackground2:`var(--colorBrandBackground2)`,colorBrandBackground2Hover:`var(--colorBrandBackground2Hover)`,colorBrandBackground2Pressed:`var(--colorBrandBackground2Pressed)`,colorBrandBackground3Static:`var(--colorBrandBackground3Static)`,colorBrandBackground4Static:`var(--colorBrandBackground4Static)`,colorBrandBackgroundInverted:`var(--colorBrandBackgroundInverted)`,colorBrandBackgroundInvertedHover:`var(--colorBrandBackgroundInvertedHover)`,colorBrandBackgroundInvertedPressed:`var(--colorBrandBackgroundInvertedPressed)`,colorBrandBackgroundInvertedSelected:`var(--colorBrandBackgroundInvertedSelected)`,colorNeutralCardBackground:`var(--colorNeutralCardBackground)`,colorNeutralCardBackgroundHover:`var(--colorNeutralCardBackgroundHover)`,colorNeutralCardBackgroundPressed:`var(--colorNeutralCardBackgroundPressed)`,colorNeutralCardBackgroundSelected:`var(--colorNeutralCardBackgroundSelected)`,colorNeutralCardBackgroundDisabled:`var(--colorNeutralCardBackgroundDisabled)`,colorNeutralStrokeAccessible:`var(--colorNeutralStrokeAccessible)`,colorNeutralStrokeAccessibleHover:`var(--colorNeutralStrokeAccessibleHover)`,colorNeutralStrokeAccessiblePressed:`var(--colorNeutralStrokeAccessiblePressed)`,colorNeutralStrokeAccessibleSelected:`var(--colorNeutralStrokeAccessibleSelected)`,colorNeutralStroke1:`var(--colorNeutralStroke1)`,colorNeutralStroke1Hover:`var(--colorNeutralStroke1Hover)`,colorNeutralStroke1Pressed:`var(--colorNeutralStroke1Pressed)`,colorNeutralStroke1Selected:`var(--colorNeutralStroke1Selected)`,colorNeutralStroke2:`var(--colorNeutralStroke2)`,colorNeutralStroke3:`var(--colorNeutralStroke3)`,colorNeutralStrokeSubtle:`var(--colorNeutralStrokeSubtle)`,colorNeutralStrokeOnBrand:`var(--colorNeutralStrokeOnBrand)`,colorNeutralStrokeOnBrand2:`var(--colorNeutralStrokeOnBrand2)`,colorNeutralStrokeOnBrand2Hover:`var(--colorNeutralStrokeOnBrand2Hover)`,colorNeutralStrokeOnBrand2Pressed:`var(--colorNeutralStrokeOnBrand2Pressed)`,colorNeutralStrokeOnBrand2Selected:`var(--colorNeutralStrokeOnBrand2Selected)`,colorBrandStroke1:`var(--colorBrandStroke1)`,colorBrandStroke2:`var(--colorBrandStroke2)`,colorBrandStroke2Hover:`var(--colorBrandStroke2Hover)`,colorBrandStroke2Pressed:`var(--colorBrandStroke2Pressed)`,colorBrandStroke2Contrast:`var(--colorBrandStroke2Contrast)`,colorCompoundBrandStroke:`var(--colorCompoundBrandStroke)`,colorCompoundBrandStrokeHover:`var(--colorCompoundBrandStrokeHover)`,colorCompoundBrandStrokePressed:`var(--colorCompoundBrandStrokePressed)`,colorNeutralStrokeDisabled:`var(--colorNeutralStrokeDisabled)`,colorNeutralStrokeInvertedDisabled:`var(--colorNeutralStrokeInvertedDisabled)`,colorTransparentStroke:`var(--colorTransparentStroke)`,colorTransparentStrokeInteractive:`var(--colorTransparentStrokeInteractive)`,colorTransparentStrokeDisabled:`var(--colorTransparentStrokeDisabled)`,colorNeutralStrokeAlpha:`var(--colorNeutralStrokeAlpha)`,colorNeutralStrokeAlpha2:`var(--colorNeutralStrokeAlpha2)`,colorStrokeFocus1:`var(--colorStrokeFocus1)`,colorStrokeFocus2:`var(--colorStrokeFocus2)`,colorNeutralShadowAmbient:`var(--colorNeutralShadowAmbient)`,colorNeutralShadowKey:`var(--colorNeutralShadowKey)`,colorNeutralShadowAmbientLighter:`var(--colorNeutralShadowAmbientLighter)`,colorNeutralShadowKeyLighter:`var(--colorNeutralShadowKeyLighter)`,colorNeutralShadowAmbientDarker:`var(--colorNeutralShadowAmbientDarker)`,colorNeutralShadowKeyDarker:`var(--colorNeutralShadowKeyDarker)`,colorBrandShadowAmbient:`var(--colorBrandShadowAmbient)`,colorBrandShadowKey:`var(--colorBrandShadowKey)`,colorPaletteRedBackground1:`var(--colorPaletteRedBackground1)`,colorPaletteRedBackground2:`var(--colorPaletteRedBackground2)`,colorPaletteRedBackground3:`var(--colorPaletteRedBackground3)`,colorPaletteRedBorderActive:`var(--colorPaletteRedBorderActive)`,colorPaletteRedBorder1:`var(--colorPaletteRedBorder1)`,colorPaletteRedBorder2:`var(--colorPaletteRedBorder2)`,colorPaletteRedForeground1:`var(--colorPaletteRedForeground1)`,colorPaletteRedForeground2:`var(--colorPaletteRedForeground2)`,colorPaletteRedForeground3:`var(--colorPaletteRedForeground3)`,colorPaletteRedForegroundInverted:`var(--colorPaletteRedForegroundInverted)`,colorPaletteGreenBackground1:`var(--colorPaletteGreenBackground1)`,colorPaletteGreenBackground2:`var(--colorPaletteGreenBackground2)`,colorPaletteGreenBackground3:`var(--colorPaletteGreenBackground3)`,colorPaletteGreenBorderActive:`var(--colorPaletteGreenBorderActive)`,colorPaletteGreenBorder1:`var(--colorPaletteGreenBorder1)`,colorPaletteGreenBorder2:`var(--colorPaletteGreenBorder2)`,colorPaletteGreenForeground1:`var(--colorPaletteGreenForeground1)`,colorPaletteGreenForeground2:`var(--colorPaletteGreenForeground2)`,colorPaletteGreenForeground3:`var(--colorPaletteGreenForeground3)`,colorPaletteGreenForegroundInverted:`var(--colorPaletteGreenForegroundInverted)`,colorPaletteDarkOrangeBackground1:`var(--colorPaletteDarkOrangeBackground1)`,colorPaletteDarkOrangeBackground2:`var(--colorPaletteDarkOrangeBackground2)`,colorPaletteDarkOrangeBackground3:`var(--colorPaletteDarkOrangeBackground3)`,colorPaletteDarkOrangeBorderActive:`var(--colorPaletteDarkOrangeBorderActive)`,colorPaletteDarkOrangeBorder1:`var(--colorPaletteDarkOrangeBorder1)`,colorPaletteDarkOrangeBorder2:`var(--colorPaletteDarkOrangeBorder2)`,colorPaletteDarkOrangeForeground1:`var(--colorPaletteDarkOrangeForeground1)`,colorPaletteDarkOrangeForeground2:`var(--colorPaletteDarkOrangeForeground2)`,colorPaletteDarkOrangeForeground3:`var(--colorPaletteDarkOrangeForeground3)`,colorPaletteYellowBackground1:`var(--colorPaletteYellowBackground1)`,colorPaletteYellowBackground2:`var(--colorPaletteYellowBackground2)`,colorPaletteYellowBackground3:`var(--colorPaletteYellowBackground3)`,colorPaletteYellowBorderActive:`var(--colorPaletteYellowBorderActive)`,colorPaletteYellowBorder1:`var(--colorPaletteYellowBorder1)`,colorPaletteYellowBorder2:`var(--colorPaletteYellowBorder2)`,colorPaletteYellowForeground1:`var(--colorPaletteYellowForeground1)`,colorPaletteYellowForeground2:`var(--colorPaletteYellowForeground2)`,colorPaletteYellowForeground3:`var(--colorPaletteYellowForeground3)`,colorPaletteYellowForegroundInverted:`var(--colorPaletteYellowForegroundInverted)`,colorPaletteBerryBackground1:`var(--colorPaletteBerryBackground1)`,colorPaletteBerryBackground2:`var(--colorPaletteBerryBackground2)`,colorPaletteBerryBackground3:`var(--colorPaletteBerryBackground3)`,colorPaletteBerryBorderActive:`var(--colorPaletteBerryBorderActive)`,colorPaletteBerryBorder1:`var(--colorPaletteBerryBorder1)`,colorPaletteBerryBorder2:`var(--colorPaletteBerryBorder2)`,colorPaletteBerryForeground1:`var(--colorPaletteBerryForeground1)`,colorPaletteBerryForeground2:`var(--colorPaletteBerryForeground2)`,colorPaletteBerryForeground3:`var(--colorPaletteBerryForeground3)`,colorPaletteMarigoldBackground1:`var(--colorPaletteMarigoldBackground1)`,colorPaletteMarigoldBackground2:`var(--colorPaletteMarigoldBackground2)`,colorPaletteMarigoldBackground3:`var(--colorPaletteMarigoldBackground3)`,colorPaletteMarigoldBorderActive:`var(--colorPaletteMarigoldBorderActive)`,colorPaletteMarigoldBorder1:`var(--colorPaletteMarigoldBorder1)`,colorPaletteMarigoldBorder2:`var(--colorPaletteMarigoldBorder2)`,colorPaletteMarigoldForeground1:`var(--colorPaletteMarigoldForeground1)`,colorPaletteMarigoldForeground2:`var(--colorPaletteMarigoldForeground2)`,colorPaletteMarigoldForeground3:`var(--colorPaletteMarigoldForeground3)`,colorPaletteLightGreenBackground1:`var(--colorPaletteLightGreenBackground1)`,colorPaletteLightGreenBackground2:`var(--colorPaletteLightGreenBackground2)`,colorPaletteLightGreenBackground3:`var(--colorPaletteLightGreenBackground3)`,colorPaletteLightGreenBorderActive:`var(--colorPaletteLightGreenBorderActive)`,colorPaletteLightGreenBorder1:`var(--colorPaletteLightGreenBorder1)`,colorPaletteLightGreenBorder2:`var(--colorPaletteLightGreenBorder2)`,colorPaletteLightGreenForeground1:`var(--colorPaletteLightGreenForeground1)`,colorPaletteLightGreenForeground2:`var(--colorPaletteLightGreenForeground2)`,colorPaletteLightGreenForeground3:`var(--colorPaletteLightGreenForeground3)`,colorPaletteAnchorBackground2:`var(--colorPaletteAnchorBackground2)`,colorPaletteAnchorBorderActive:`var(--colorPaletteAnchorBorderActive)`,colorPaletteAnchorForeground2:`var(--colorPaletteAnchorForeground2)`,colorPaletteBeigeBackground2:`var(--colorPaletteBeigeBackground2)`,colorPaletteBeigeBorderActive:`var(--colorPaletteBeigeBorderActive)`,colorPaletteBeigeForeground2:`var(--colorPaletteBeigeForeground2)`,colorPaletteBlueBackground2:`var(--colorPaletteBlueBackground2)`,colorPaletteBlueBorderActive:`var(--colorPaletteBlueBorderActive)`,colorPaletteBlueForeground2:`var(--colorPaletteBlueForeground2)`,colorPaletteBrassBackground2:`var(--colorPaletteBrassBackground2)`,colorPaletteBrassBorderActive:`var(--colorPaletteBrassBorderActive)`,colorPaletteBrassForeground2:`var(--colorPaletteBrassForeground2)`,colorPaletteBrownBackground2:`var(--colorPaletteBrownBackground2)`,colorPaletteBrownBorderActive:`var(--colorPaletteBrownBorderActive)`,colorPaletteBrownForeground2:`var(--colorPaletteBrownForeground2)`,colorPaletteCornflowerBackground2:`var(--colorPaletteCornflowerBackground2)`,colorPaletteCornflowerBorderActive:`var(--colorPaletteCornflowerBorderActive)`,colorPaletteCornflowerForeground2:`var(--colorPaletteCornflowerForeground2)`,colorPaletteCranberryBackground2:`var(--colorPaletteCranberryBackground2)`,colorPaletteCranberryBorderActive:`var(--colorPaletteCranberryBorderActive)`,colorPaletteCranberryForeground2:`var(--colorPaletteCranberryForeground2)`,colorPaletteDarkGreenBackground2:`var(--colorPaletteDarkGreenBackground2)`,colorPaletteDarkGreenBorderActive:`var(--colorPaletteDarkGreenBorderActive)`,colorPaletteDarkGreenForeground2:`var(--colorPaletteDarkGreenForeground2)`,colorPaletteDarkRedBackground2:`var(--colorPaletteDarkRedBackground2)`,colorPaletteDarkRedBorderActive:`var(--colorPaletteDarkRedBorderActive)`,colorPaletteDarkRedForeground2:`var(--colorPaletteDarkRedForeground2)`,colorPaletteForestBackground2:`var(--colorPaletteForestBackground2)`,colorPaletteForestBorderActive:`var(--colorPaletteForestBorderActive)`,colorPaletteForestForeground2:`var(--colorPaletteForestForeground2)`,colorPaletteGoldBackground2:`var(--colorPaletteGoldBackground2)`,colorPaletteGoldBorderActive:`var(--colorPaletteGoldBorderActive)`,colorPaletteGoldForeground2:`var(--colorPaletteGoldForeground2)`,colorPaletteGrapeBackground2:`var(--colorPaletteGrapeBackground2)`,colorPaletteGrapeBorderActive:`var(--colorPaletteGrapeBorderActive)`,colorPaletteGrapeForeground2:`var(--colorPaletteGrapeForeground2)`,colorPaletteLavenderBackground2:`var(--colorPaletteLavenderBackground2)`,colorPaletteLavenderBorderActive:`var(--colorPaletteLavenderBorderActive)`,colorPaletteLavenderForeground2:`var(--colorPaletteLavenderForeground2)`,colorPaletteLightTealBackground2:`var(--colorPaletteLightTealBackground2)`,colorPaletteLightTealBorderActive:`var(--colorPaletteLightTealBorderActive)`,colorPaletteLightTealForeground2:`var(--colorPaletteLightTealForeground2)`,colorPaletteLilacBackground2:`var(--colorPaletteLilacBackground2)`,colorPaletteLilacBorderActive:`var(--colorPaletteLilacBorderActive)`,colorPaletteLilacForeground2:`var(--colorPaletteLilacForeground2)`,colorPaletteMagentaBackground2:`var(--colorPaletteMagentaBackground2)`,colorPaletteMagentaBorderActive:`var(--colorPaletteMagentaBorderActive)`,colorPaletteMagentaForeground2:`var(--colorPaletteMagentaForeground2)`,colorPaletteMinkBackground2:`var(--colorPaletteMinkBackground2)`,colorPaletteMinkBorderActive:`var(--colorPaletteMinkBorderActive)`,colorPaletteMinkForeground2:`var(--colorPaletteMinkForeground2)`,colorPaletteNavyBackground2:`var(--colorPaletteNavyBackground2)`,colorPaletteNavyBorderActive:`var(--colorPaletteNavyBorderActive)`,colorPaletteNavyForeground2:`var(--colorPaletteNavyForeground2)`,colorPalettePeachBackground2:`var(--colorPalettePeachBackground2)`,colorPalettePeachBorderActive:`var(--colorPalettePeachBorderActive)`,colorPalettePeachForeground2:`var(--colorPalettePeachForeground2)`,colorPalettePinkBackground2:`var(--colorPalettePinkBackground2)`,colorPalettePinkBorderActive:`var(--colorPalettePinkBorderActive)`,colorPalettePinkForeground2:`var(--colorPalettePinkForeground2)`,colorPalettePlatinumBackground2:`var(--colorPalettePlatinumBackground2)`,colorPalettePlatinumBorderActive:`var(--colorPalettePlatinumBorderActive)`,colorPalettePlatinumForeground2:`var(--colorPalettePlatinumForeground2)`,colorPalettePlumBackground2:`var(--colorPalettePlumBackground2)`,colorPalettePlumBorderActive:`var(--colorPalettePlumBorderActive)`,colorPalettePlumForeground2:`var(--colorPalettePlumForeground2)`,colorPalettePumpkinBackground2:`var(--colorPalettePumpkinBackground2)`,colorPalettePumpkinBorderActive:`var(--colorPalettePumpkinBorderActive)`,colorPalettePumpkinForeground2:`var(--colorPalettePumpkinForeground2)`,colorPalettePurpleBackground2:`var(--colorPalettePurpleBackground2)`,colorPalettePurpleBorderActive:`var(--colorPalettePurpleBorderActive)`,colorPalettePurpleForeground2:`var(--colorPalettePurpleForeground2)`,colorPaletteRoyalBlueBackground2:`var(--colorPaletteRoyalBlueBackground2)`,colorPaletteRoyalBlueBorderActive:`var(--colorPaletteRoyalBlueBorderActive)`,colorPaletteRoyalBlueForeground2:`var(--colorPaletteRoyalBlueForeground2)`,colorPaletteSeafoamBackground2:`var(--colorPaletteSeafoamBackground2)`,colorPaletteSeafoamBorderActive:`var(--colorPaletteSeafoamBorderActive)`,colorPaletteSeafoamForeground2:`var(--colorPaletteSeafoamForeground2)`,colorPaletteSteelBackground2:`var(--colorPaletteSteelBackground2)`,colorPaletteSteelBorderActive:`var(--colorPaletteSteelBorderActive)`,colorPaletteSteelForeground2:`var(--colorPaletteSteelForeground2)`,colorPaletteTealBackground2:`var(--colorPaletteTealBackground2)`,colorPaletteTealBorderActive:`var(--colorPaletteTealBorderActive)`,colorPaletteTealForeground2:`var(--colorPaletteTealForeground2)`,colorStatusSuccessBackground1:`var(--colorStatusSuccessBackground1)`,colorStatusSuccessBackground2:`var(--colorStatusSuccessBackground2)`,colorStatusSuccessBackground3:`var(--colorStatusSuccessBackground3)`,colorStatusSuccessForeground1:`var(--colorStatusSuccessForeground1)`,colorStatusSuccessForeground2:`var(--colorStatusSuccessForeground2)`,colorStatusSuccessForeground3:`var(--colorStatusSuccessForeground3)`,colorStatusSuccessForegroundInverted:`var(--colorStatusSuccessForegroundInverted)`,colorStatusSuccessBorderActive:`var(--colorStatusSuccessBorderActive)`,colorStatusSuccessBorder1:`var(--colorStatusSuccessBorder1)`,colorStatusSuccessBorder2:`var(--colorStatusSuccessBorder2)`,colorStatusWarningBackground1:`var(--colorStatusWarningBackground1)`,colorStatusWarningBackground2:`var(--colorStatusWarningBackground2)`,colorStatusWarningBackground3:`var(--colorStatusWarningBackground3)`,colorStatusWarningForeground1:`var(--colorStatusWarningForeground1)`,colorStatusWarningForeground2:`var(--colorStatusWarningForeground2)`,colorStatusWarningForeground3:`var(--colorStatusWarningForeground3)`,colorStatusWarningForegroundInverted:`var(--colorStatusWarningForegroundInverted)`,colorStatusWarningBorderActive:`var(--colorStatusWarningBorderActive)`,colorStatusWarningBorder1:`var(--colorStatusWarningBorder1)`,colorStatusWarningBorder2:`var(--colorStatusWarningBorder2)`,colorStatusDangerBackground1:`var(--colorStatusDangerBackground1)`,colorStatusDangerBackground2:`var(--colorStatusDangerBackground2)`,colorStatusDangerBackground3:`var(--colorStatusDangerBackground3)`,colorStatusDangerBackground3Hover:`var(--colorStatusDangerBackground3Hover)`,colorStatusDangerBackground3Pressed:`var(--colorStatusDangerBackground3Pressed)`,colorStatusDangerForeground1:`var(--colorStatusDangerForeground1)`,colorStatusDangerForeground2:`var(--colorStatusDangerForeground2)`,colorStatusDangerForeground3:`var(--colorStatusDangerForeground3)`,colorStatusDangerForegroundInverted:`var(--colorStatusDangerForegroundInverted)`,colorStatusDangerBorderActive:`var(--colorStatusDangerBorderActive)`,colorStatusDangerBorder1:`var(--colorStatusDangerBorder1)`,colorStatusDangerBorder2:`var(--colorStatusDangerBorder2)`,borderRadiusNone:`var(--borderRadiusNone)`,borderRadiusSmall:`var(--borderRadiusSmall)`,borderRadiusMedium:`var(--borderRadiusMedium)`,borderRadiusLarge:`var(--borderRadiusLarge)`,borderRadiusXLarge:`var(--borderRadiusXLarge)`,borderRadiusCircular:`var(--borderRadiusCircular)`,fontFamilyBase:`var(--fontFamilyBase)`,fontFamilyMonospace:`var(--fontFamilyMonospace)`,fontFamilyNumeric:`var(--fontFamilyNumeric)`,fontSizeBase100:`var(--fontSizeBase100)`,fontSizeBase200:`var(--fontSizeBase200)`,fontSizeBase300:`var(--fontSizeBase300)`,fontSizeBase400:`var(--fontSizeBase400)`,fontSizeBase500:`var(--fontSizeBase500)`,fontSizeBase600:`var(--fontSizeBase600)`,fontSizeHero700:`var(--fontSizeHero700)`,fontSizeHero800:`var(--fontSizeHero800)`,fontSizeHero900:`var(--fontSizeHero900)`,fontSizeHero1000:`var(--fontSizeHero1000)`,fontWeightRegular:`var(--fontWeightRegular)`,fontWeightMedium:`var(--fontWeightMedium)`,fontWeightSemibold:`var(--fontWeightSemibold)`,fontWeightBold:`var(--fontWeightBold)`,lineHeightBase100:`var(--lineHeightBase100)`,lineHeightBase200:`var(--lineHeightBase200)`,lineHeightBase300:`var(--lineHeightBase300)`,lineHeightBase400:`var(--lineHeightBase400)`,lineHeightBase500:`var(--lineHeightBase500)`,lineHeightBase600:`var(--lineHeightBase600)`,lineHeightHero700:`var(--lineHeightHero700)`,lineHeightHero800:`var(--lineHeightHero800)`,lineHeightHero900:`var(--lineHeightHero900)`,lineHeightHero1000:`var(--lineHeightHero1000)`,shadow2:`var(--shadow2)`,shadow4:`var(--shadow4)`,shadow8:`var(--shadow8)`,shadow16:`var(--shadow16)`,shadow28:`var(--shadow28)`,shadow64:`var(--shadow64)`,shadow2Brand:`var(--shadow2Brand)`,shadow4Brand:`var(--shadow4Brand)`,shadow8Brand:`var(--shadow8Brand)`,shadow16Brand:`var(--shadow16Brand)`,shadow28Brand:`var(--shadow28Brand)`,shadow64Brand:`var(--shadow64Brand)`,strokeWidthThin:`var(--strokeWidthThin)`,strokeWidthThick:`var(--strokeWidthThick)`,strokeWidthThicker:`var(--strokeWidthThicker)`,strokeWidthThickest:`var(--strokeWidthThickest)`,spacingHorizontalNone:`var(--spacingHorizontalNone)`,spacingHorizontalXXS:`var(--spacingHorizontalXXS)`,spacingHorizontalXS:`var(--spacingHorizontalXS)`,spacingHorizontalSNudge:`var(--spacingHorizontalSNudge)`,spacingHorizontalS:`var(--spacingHorizontalS)`,spacingHorizontalMNudge:`var(--spacingHorizontalMNudge)`,spacingHorizontalM:`var(--spacingHorizontalM)`,spacingHorizontalL:`var(--spacingHorizontalL)`,spacingHorizontalXL:`var(--spacingHorizontalXL)`,spacingHorizontalXXL:`var(--spacingHorizontalXXL)`,spacingHorizontalXXXL:`var(--spacingHorizontalXXXL)`,spacingVerticalNone:`var(--spacingVerticalNone)`,spacingVerticalXXS:`var(--spacingVerticalXXS)`,spacingVerticalXS:`var(--spacingVerticalXS)`,spacingVerticalSNudge:`var(--spacingVerticalSNudge)`,spacingVerticalS:`var(--spacingVerticalS)`,spacingVerticalMNudge:`var(--spacingVerticalMNudge)`,spacingVerticalM:`var(--spacingVerticalM)`,spacingVerticalL:`var(--spacingVerticalL)`,spacingVerticalXL:`var(--spacingVerticalXL)`,spacingVerticalXXL:`var(--spacingVerticalXXL)`,spacingVerticalXXXL:`var(--spacingVerticalXXXL)`,durationUltraFast:`var(--durationUltraFast)`,durationFaster:`var(--durationFaster)`,durationFast:`var(--durationFast)`,durationNormal:`var(--durationNormal)`,durationGentle:`var(--durationGentle)`,durationSlow:`var(--durationSlow)`,durationSlower:`var(--durationSlower)`,durationUltraSlow:`var(--durationUltraSlow)`,curveAccelerateMax:`var(--curveAccelerateMax)`,curveAccelerateMid:`var(--curveAccelerateMid)`,curveAccelerateMin:`var(--curveAccelerateMin)`,curveDecelerateMax:`var(--curveDecelerateMax)`,curveDecelerateMid:`var(--curveDecelerateMid)`,curveDecelerateMin:`var(--curveDecelerateMin)`,curveEasyEaseMax:`var(--curveEasyEaseMax)`,curveEasyEase:`var(--curveEasyEase)`,curveLinear:`var(--curveLinear)`,zIndexBackground:`var(--zIndexBackground, 0)`,zIndexContent:`var(--zIndexContent, 1)`,zIndexOverlay:`var(--zIndexOverlay, 1000)`,zIndexPopup:`var(--zIndexPopup, 2000)`,zIndexMessages:`var(--zIndexMessages, 3000)`,zIndexFloating:`var(--zIndexFloating, 4000)`,zIndexPriority:`var(--zIndexPriority, 5000)`,zIndexDebug:`var(--zIndexDebug, 6000)`};function wl(e,t,n=``){return{[`shadow2${n}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${n}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${n}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${n}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${n}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${n}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}var Tl=e=>{let t=fl(e);return{...pl,...gl,..._l,...yl,...vl,...Cl,...xl,...Sl,...hl,...ml,...t,...ul,...dl,...wl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...wl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,`Brand`)}},El={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`},Dl={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`},Ol={...yl,fontFamilyBase:`-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif`},kl={...Tl(El),...Ol};({...Tl(Dl),...Ol});var Al=al.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background1`]:X[t].shade40,[`colorPalette${n}Background2`]:X[t].shade30,[`colorPalette${n}Background3`]:X[t].primary,[`colorPalette${n}Foreground1`]:X[t].tint30,[`colorPalette${n}Foreground2`]:X[t].tint40,[`colorPalette${n}Foreground3`]:X[t].tint20,[`colorPalette${n}BorderActive`]:X[t].tint30,[`colorPalette${n}Border1`]:X[t].primary,[`colorPalette${n}Border2`]:X[t].tint20};return Object.assign(e,r)},{});Al.colorPaletteRedForeground3=X.red.tint30,Al.colorPaletteRedBorder2=X.red.tint30,Al.colorPaletteGreenForeground3=X.green.tint40,Al.colorPaletteGreenBorder2=X.green.tint40,Al.colorPaletteDarkOrangeForeground3=X.darkOrange.tint30,Al.colorPaletteDarkOrangeBorder2=X.darkOrange.tint30,Al.colorPaletteRedForegroundInverted=X.red.primary,Al.colorPaletteGreenForegroundInverted=X.green.primary,Al.colorPaletteYellowForegroundInverted=X.yellow.shade30;var jl=ol.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background2`]:il[t].shade30,[`colorPalette${n}Foreground2`]:il[t].tint40,[`colorPalette${n}BorderActive`]:il[t].tint30};return Object.assign(e,r)},{});jl.colorPaletteDarkRedBackground2=il.darkRed.shade20,jl.colorPalettePlumBackground2=il.plum.shade20;var Ml={...Al,...jl},Nl=Object.entries(sl).reduce((e,[t,n])=>{let r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${r}Background1`]:Z[n].shade40,[`colorStatus${r}Background2`]:Z[n].shade30,[`colorStatus${r}Background3`]:Z[n].primary,[`colorStatus${r}Foreground1`]:Z[n].tint30,[`colorStatus${r}Foreground2`]:Z[n].tint40,[`colorStatus${r}Foreground3`]:Z[n].tint20,[`colorStatus${r}BorderActive`]:Z[n].tint30,[`colorStatus${r}ForegroundInverted`]:Z[n].shade10,[`colorStatus${r}Border1`]:Z[n].primary,[`colorStatus${r}Border2`]:Z[n].tint20};return Object.assign(e,i)},{});Nl.colorStatusDangerBackground3Hover=Z[sl.danger].shade10,Nl.colorStatusDangerBackground3Pressed=Z[sl.danger].shade20,Nl.colorStatusDangerForeground3=Z[sl.danger].tint40,Nl.colorStatusDangerBorder2=Z[sl.danger].tint30,Nl.colorStatusSuccessForeground3=Z[sl.success].tint40,Nl.colorStatusSuccessBorder2=Z[sl.success].tint40,Nl.colorStatusWarningForegroundInverted=Z[sl.warning].shade20;var Pl=e=>({colorNeutralForeground1:J,colorNeutralForeground1Hover:J,colorNeutralForeground1Pressed:J,colorNeutralForeground1Selected:J,colorNeutralForeground2:q[84],colorNeutralForeground2Hover:J,colorNeutralForeground2Pressed:J,colorNeutralForeground2Selected:J,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:q[68],colorNeutralForeground3Hover:q[84],colorNeutralForeground3Pressed:q[84],colorNeutralForeground3Selected:q[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:q[60],colorNeutralForegroundDisabled:q[36],colorNeutralForegroundInvertedDisabled:_c[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:q[84],colorNeutralForeground2LinkHover:J,colorNeutralForeground2LinkPressed:J,colorNeutralForeground2LinkSelected:J,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[120],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:q[14],colorNeutralForegroundStaticInverted:J,colorNeutralForegroundInverted:q[14],colorNeutralForegroundInvertedHover:q[14],colorNeutralForegroundInvertedPressed:q[14],colorNeutralForegroundInvertedSelected:q[14],colorNeutralForegroundInverted2:q[14],colorNeutralForegroundOnBrand:J,colorNeutralForegroundInvertedLink:J,colorNeutralForegroundInvertedLinkHover:J,colorNeutralForegroundInvertedLinkPressed:J,colorNeutralForegroundInvertedLinkSelected:J,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:q[16],colorNeutralBackground1Hover:q[24],colorNeutralBackground1Pressed:q[12],colorNeutralBackground1Selected:q[22],colorNeutralBackground2:q[14],colorNeutralBackground2Hover:q[22],colorNeutralBackground2Pressed:q[10],colorNeutralBackground2Selected:q[20],colorNeutralBackground3:q[12],colorNeutralBackground3Hover:q[20],colorNeutralBackground3Pressed:q[8],colorNeutralBackground3Selected:q[18],colorNeutralBackground4:q[8],colorNeutralBackground4Hover:q[16],colorNeutralBackground4Pressed:q[4],colorNeutralBackground4Selected:q[14],colorNeutralBackground5:q[4],colorNeutralBackground5Hover:q[12],colorNeutralBackground5Pressed:Sc,colorNeutralBackground5Selected:q[10],colorNeutralBackground6:q[20],colorNeutralBackgroundInverted:J,colorNeutralBackgroundStatic:q[24],colorNeutralBackgroundAlpha:yc[50],colorNeutralBackgroundAlpha2:bc[70],colorSubtleBackground:`transparent`,colorSubtleBackgroundHover:q[22],colorSubtleBackgroundPressed:q[18],colorSubtleBackgroundSelected:q[20],colorSubtleBackgroundLightAlphaHover:xc[80],colorSubtleBackgroundLightAlphaPressed:xc[50],colorSubtleBackgroundLightAlphaSelected:`transparent`,colorSubtleBackgroundInverted:`transparent`,colorSubtleBackgroundInvertedHover:vc[10],colorSubtleBackgroundInvertedPressed:vc[30],colorSubtleBackgroundInvertedSelected:vc[20],colorTransparentBackground:`transparent`,colorTransparentBackgroundHover:`transparent`,colorTransparentBackgroundPressed:`transparent`,colorTransparentBackgroundSelected:`transparent`,colorNeutralBackgroundDisabled:q[8],colorNeutralBackgroundInvertedDisabled:_c[10],colorNeutralStencil1:q[34],colorNeutralStencil2:q[20],colorNeutralStencil1Alpha:_c[10],colorNeutralStencil2Alpha:_c[5],colorBackgroundOverlay:vc[50],colorScrollbarOverlay:_c[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:J,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:q[20],colorNeutralCardBackgroundHover:q[24],colorNeutralCardBackgroundPressed:q[18],colorNeutralCardBackgroundSelected:q[22],colorNeutralCardBackgroundDisabled:q[8],colorNeutralStrokeAccessible:q[68],colorNeutralStrokeAccessibleHover:q[74],colorNeutralStrokeAccessiblePressed:q[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:q[40],colorNeutralStroke1Hover:q[46],colorNeutralStroke1Pressed:q[42],colorNeutralStroke1Selected:q[44],colorNeutralStroke2:q[32],colorNeutralStroke3:q[24],colorNeutralStrokeSubtle:q[4],colorNeutralStrokeOnBrand:q[16],colorNeutralStrokeOnBrand2:J,colorNeutralStrokeOnBrand2Hover:J,colorNeutralStrokeOnBrand2Pressed:J,colorNeutralStrokeOnBrand2Selected:J,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[90],colorCompoundBrandStrokeHover:e[100],colorCompoundBrandStrokePressed:e[80],colorNeutralStrokeDisabled:q[26],colorNeutralStrokeInvertedDisabled:_c[40],colorTransparentStroke:`transparent`,colorTransparentStrokeInteractive:`transparent`,colorTransparentStrokeDisabled:`transparent`,colorNeutralStrokeAlpha:_c[10],colorNeutralStrokeAlpha2:_c[20],colorStrokeFocus1:Sc,colorStrokeFocus2:J,colorNeutralShadowAmbient:`rgba(0,0,0,0.24)`,colorNeutralShadowKey:`rgba(0,0,0,0.28)`,colorNeutralShadowAmbientLighter:`rgba(0,0,0,0.12)`,colorNeutralShadowKeyLighter:`rgba(0,0,0,0.14)`,colorNeutralShadowAmbientDarker:`rgba(0,0,0,0.40)`,colorNeutralShadowKeyDarker:`rgba(0,0,0,0.48)`,colorBrandShadowAmbient:`rgba(0,0,0,0.30)`,colorBrandShadowKey:`rgba(0,0,0,0.25)`}),Fl=e=>{let t=Pl(e);return{...pl,...gl,..._l,...yl,...vl,...Cl,...xl,...Sl,...hl,...ml,...t,...Ml,...Nl,...wl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...wl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,`Brand`)}},Il={...Fl(El),...Ol};({...Fl(Dl),...Ol});var Ll={root:`fui-FluentProvider`},Rl=Yn({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);}`]}),zl=e=>{"use no memo";let t=tr(),n=Rl({dir:e.dir,renderer:t});return e.root.className=O(Ll.root,e.themeClassName,n.root,e.root.className),e},Bl=_.useInsertionEffect?_.useInsertionEffect:bi,Vl=(e,t)=>{if(!e?.head)return;let n=e.createElement(`style`);return Object.keys(t).forEach(e=>{n.setAttribute(e,t[e])}),e.head.appendChild(n),n},Hl=(e,t)=>{let n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(t,0))},Ul=e=>{"use no memo";let{targetDocument:t,theme:n,rendererAttributes:r}=e,i=_.useRef(void 0),a=Ti(Ll.root),o=r,s=_.useMemo(()=>sr(`.${a}`,n),[n,a]);return Wl(t,a),Bl(()=>{let e=t?.getElementById(a);return e?i.current=e:(i.current=Vl(t,{...o,id:a}),i.current&&Hl(i.current,s)),()=>{var e;(e=i.current)==null||e.remove()}},[a,t,s,o]),{styleTagId:a,rule:s}};function Wl(e,t){_.useState(()=>{if(!e)return;let n=e.getElementById(t);n&&e.head.append(n)})}var Gl={},Kl={},ql=(e,t)=>{"use no memo";let n=ti(),r=Yl(),i=ii(),a=_.useContext(ai)||Gl,{applyStylesToPortals:o=!0,customStyleHooks_unstable:s,dir:c=n.dir,targetDocument:l=n.targetDocument,theme:u,overrides_unstable:d={}}=e,f=Jl(r,u),p=Jl(i,d),m=Jl(a,s),h=tr(),{styleTagId:g,rule:v}=Ul({theme:f,targetDocument:l,rendererAttributes:h.styleElementAttributes??Kl});return{applyStylesToPortals:o,customStyleHooks_unstable:m,dir:c,targetDocument:l,theme:f,overrides_unstable:p,themeClassName:g,components:{root:`div`},root:P(L(`div`,{...e,dir:c,ref:Ei(t,tc({targetDocument:l}))}),{elementType:`div`}),serverStyleProps:{cssRule:v,attributes:{...h.styleElementAttributes,id:g}}}};function Jl(e,t){return e&&t?{...e,...t}:e||t}function Yl(){return _.useContext(Gr)}function Xl(e){let{applyStylesToPortals:t,customStyleHooks_unstable:n,dir:r,root:i,targetDocument:a,theme:o,themeClassName:s,overrides_unstable:c}=e,l=_.useMemo(()=>({dir:r,targetDocument:a}),[r,a]),[u]=_.useState(()=>({}));return{customStyleHooks_unstable:n,overrides_unstable:c,provider:l,textDirection:r,iconDirection:_.useMemo(()=>({textDirection:r}),[r]),tooltip:u,theme:o,themeClassName:t?i.className:s}}var Zl=_.forwardRef((e,t)=>{let n=ql(e,t);return zl(n),ua(n,Xl(n))});Zl.displayName=`FluentProvider`;var Ql=p(),$l=e=>t=>{let n=_.useRef(t.value),r=_.useRef(0),i=_.useRef(null);return i.current||={value:n,version:r,listeners:[]},bi(()=>{n.current=t.value,r.current+=1,(0,Ql.unstable_runWithPriority)(Ql.unstable_NormalPriority,()=>{i.current.listeners.forEach(e=>{e([r.current,t.value])})})},[t.value]),_.createElement(e,{value:i.current},t.children)},eu=e=>{let t=_.createContext({value:{current:e},version:{current:-1},listeners:[]});return t.Provider=$l(t.Provider),delete t.Consumer,t},tu=(e,t)=>{let{value:{current:n},version:{current:r},listeners:i}=_.useContext(e),a=t(n),[o,s]=_.useState([n,a]),c=e=>{s(i=>{if(!e)return[n,a];if(e[0]<=r)return Object.is(i[1],a)?i:[n,a];try{if(Object.is(i[0],e[1]))return i;let n=t(e[1]);return Object.is(i[1],n)?i:[e[1],n]}catch{}return[i[0],i[1]]})};Object.is(o[1],a)||c(void 0);let l=B(c);return bi(()=>(i.push(l),()=>{let e=i.indexOf(l);i.splice(e,1)}),[l,i]),o[1]};function nu(e){let t=_.useContext(e);return t.version?t.version.current!==-1:!1}var ru=eu(void 0),iu={openItems:[],collapsible:!1,multiple:!1,navigation:void 0,requestToggle(){}},{Provider:au}=ru,ou=e=>tu(ru,(t=iu)=>e(t)),su=(e,t)=>U(e.root,{children:U(au,{value:t.accordion,children:e.root.children})}),cu=(e,t)=>{let{openItems:n,defaultOpenItems:r,multiple:i=!1,collapsible:a=!1,onToggle:o,navigation:s,...c}=e,[l,u]=pi({state:_.useMemo(()=>du(n),[n]),defaultState:r&&(()=>lu({defaultOpenItems:r,multiple:i})),initialState:[]}),d=Ks({circular:s===`circular`,tabbable:!0});return{collapsible:a,multiple:i,navigation:s,openItems:l,requestToggle:B(e=>{let t=uu(e.value,l,i,a);o?.(e.event,{value:e.value,openItems:t}),u(t)}),components:{root:`div`},root:P(L(`div`,{...c,...s?d:void 0,ref:t}),{elementType:`div`})}};function lu({defaultOpenItems:e,multiple:t}){return e===void 0?[]:Array.isArray(e)?t?e:[e[0]]:[e]}function uu(e,t,n,r){if(n)if(t.includes(e)){if(t.length>1||r)return t.filter(t=>t!==e)}else return[...t,e].sort();else return t[0]===e&&r?[]:[e];return t}function du(e){if(e!==void 0)return Array.isArray(e)?e:[e]}function fu(e){let{navigation:t,openItems:n,requestToggle:r,multiple:i,collapsible:a}=e;return{accordion:{navigation:t,openItems:n,requestToggle:r,collapsible:a,multiple:i}}}var pu={root:`fui-Accordion`},mu=e=>{"use no memo";return e.root.className=O(pu.root,e.root.className),e},hu=_.forwardRef((e,t)=>{let n=cu(e,t),r=fu(n);return mu(n),R(`useAccordionStyles_unstable`)(n),su(n,r)});hu.displayName=`Accordion`;var gu=(e,t)=>{let{value:n,disabled:r=!1}=e,i=ou(e=>e.requestToggle);return{open:ou(e=>e.openItems.includes(n)),value:n,disabled:r,onHeaderClick:B(e=>i({event:e,value:n})),components:{root:`div`},root:P(L(`div`,{ref:t,...e}),{elementType:`div`})}};function _u(e){let{disabled:t,open:n,value:r,onHeaderClick:i}=e;return{accordionItem:_.useMemo(()=>({disabled:t,open:n,value:r,onHeaderClick:i}),[t,n,r,i])}}var vu=_.createContext(void 0),yu={open:!1,disabled:!1,value:void 0,onHeaderClick(){}},{Provider:bu}=vu,xu=()=>_.useContext(vu)??yu,Su=(e,t)=>U(e.root,{children:U(bu,{value:t.accordionItem,children:e.root.children})}),Cu={root:`fui-AccordionItem`},wu=e=>{"use no memo";return e.root.className=O(Cu.root,e.root.className),e},Tu=_.forwardRef((e,t)=>{let n=gu(e,t),r=_u(n);return wu(n),R(`useAccordionItemStyles_unstable`)(n),Su(n,r)});Tu.displayName=`AccordionItem`;var Eu=`Shift`,Du=`Enter`,Ou=`ArrowLeft`,ku=`ArrowRight`,Au=`Escape`;function ju(e,t){let{disabled:n,disabledFocusable:r=!1,"aria-disabled":i,onClick:a,onKeyDown:o,onKeyUp:s,...c}=t??{},l=typeof i==`string`?i===`true`:i,u=n||r||l,d=B(e=>{u?(e.preventDefault(),e.stopPropagation()):a?.(e)}),f=B(e=>{if(o?.(e),e.isDefaultPrevented())return;let t=e.key;if(u&&(t===`Enter`||t===` `)){e.preventDefault(),e.stopPropagation();return}if(t===` `){e.preventDefault();return}else t===`Enter`&&(e.preventDefault(),e.currentTarget.click())}),p=B(e=>{if(s?.(e),e.isDefaultPrevented())return;let t=e.key;if(u&&(t===`Enter`||t===` `)){e.preventDefault(),e.stopPropagation();return}t===` `&&(e.preventDefault(),e.currentTarget.click())});if(e===`button`||e===void 0)return{...c,disabled:n&&!r,"aria-disabled":r?!0:l,onClick:r?void 0:d,onKeyUp:r?void 0:s,onKeyDown:r?void 0:o};{let t=!!c.href,i=t?void 0:`button`;!i&&u&&(i=`link`);let a={role:i,tabIndex:r||!t&&!n?0:void 0,...c,onClick:d,onKeyUp:p,onKeyDown:f,"aria-disabled":u};return e===`a`&&u&&(a.href=void 0),a}}var Mu=()=>void 0,Nu={controller:{active:Mu,blur:Mu,find:Mu,first:Mu,focus:Mu,focusLastActive:Mu,scrollActiveIntoView:Mu,last:Mu,next:Mu,prev:Mu,showAttributes:Mu,hideAttributes:Mu,showFocusVisibleAttributes:Mu,hideFocusVisibleAttributes:Mu}},Pu=_.createContext(void 0),Fu=Pu.Provider,Iu=()=>_.useContext(Pu)??Nu,Lu=()=>!!_.useContext(Pu);function Ru(e){let{matchOption:t}=e,{targetDocument:n}=ti(),r=_.useRef(null),i=_.useRef(null),a=_.useCallback(e=>Ri(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[t]),o=_.useCallback(e=>{e&&n?(i.current=e,r.current=n.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a)):(i.current=null,r.current=null)},[n,a]);return{optionWalker:_.useMemo(()=>({first:()=>!r.current||!i.current?null:(r.current.currentNode=i.current,r.current.firstChild()),last:()=>!r.current||!i.current?null:(r.current.currentNode=i.current,r.current.lastChild()),next:()=>r.current?r.current.nextNode():null,prev:()=>r.current?r.current.previousNode():null,find:(e,t)=>{if(!r.current||!i.current)return null;let a=t?n?.getElementById(t):null;r.current.currentNode=a??i.current;let o=r.current.currentNode;for(;o&&!e(o.id);)o=r.current.nextNode();return o},setCurrent:e=>{r.current&&(r.current.currentNode=e)}}),[n]),listboxCallbackRef:o}}var zu=`data-activedescendant`,Bu=`data-activedescendant-focusvisible`,Vu=e=>{if(!e)return;let t=Hu(e.parentElement);if(!t)return;let{offsetHeight:n}=e,r=Uu(e,t),{scrollMarginTop:i,scrollMarginBottom:a}=Wu(e),{offsetHeight:o,scrollTop:s}=t,c=r-i<s,l=r+n+a>s+o;c?t.scrollTo(0,r-i-2):l&&t.scrollTo(0,r+n+a-o+2)},Hu=e=>e?e.scrollHeight>e.offsetHeight?e:Hu(e.parentElement):null,Uu=(e,t)=>!e||e===t?0:e.contains(t)?t.offsetTop*-1:e.offsetTop+Uu(e.offsetParent,t),Wu=e=>{let t=e.ownerDocument?.defaultView;if(!t)return{scrollMarginTop:0,scrollMarginBottom:0};let n=t.getComputedStyle(e);return{scrollMarginTop:Gu(n.scrollMarginTop)??Gu(n.scrollMarginBlockStart),scrollMarginBottom:Gu(n.scrollMarginBottom)??Gu(n.scrollMarginBlockEnd)}},Gu=e=>e?parseInt(e,10):0,Ku=e=>new CustomEvent(`activedescendantchange`,{bubbles:!0,cancelable:!1,composed:!0,detail:e});function qu(e){let{imperativeRef:t,matchOption:n}=e,r=_.useRef(!1),i=_.useRef(!0),a=_.useRef(null),o=_.useRef(null),s=_.useRef(null),c=_.useRef(!0),l=_.useCallback(()=>{var e;(e=s.current)==null||e.removeAttribute(`aria-activedescendant`)},[]),u=_.useCallback(e=>{if(e&&(a.current=e),c.current&&a.current){var t;(t=s.current)==null||t.setAttribute(`aria-activedescendant`,a.current)}},[]);cc(e=>{r.current=e;let t=h();t&&(e&&i.current?t.setAttribute(Bu,``):t.removeAttribute(Bu))});let d=B(n),f=_.useRef(null),{optionWalker:p,listboxCallbackRef:m}=Ru({matchOption:d}),h=_.useCallback(()=>f.current?.querySelector(`#${a.current}`),[f]),g=_.useCallback(e=>{i.current=e;let t=h();t&&(e&&r.current?t.setAttribute(Bu,``):t.removeAttribute(Bu))},[h]),v=_.useCallback(()=>{let e=h();return e&&(e.removeAttribute(zu),e.removeAttribute(Bu)),l(),o.current=a.current,a.current=null,e?.id??null},[h,l]),y=_.useCallback(e=>{if(!e)return;let t=v();Vu(e),u(e.id),e.setAttribute(zu,``),r.current&&i.current&&e.setAttribute(Bu,``);let n=Ku({id:e.id,previousId:t});e.dispatchEvent(n)},[v,u]),b=_.useMemo(()=>({first:({passive:e}={})=>{let t=p.first();return e||y(t),t?.id},last:({passive:e}={})=>{let t=p.last();return e||y(t),t?.id},next:({passive:e}={})=>{let t=h();if(!t)return;p.setCurrent(t);let n=p.next();return e||y(n),n?.id},prev:({passive:e}={})=>{let t=h();if(!t)return;p.setCurrent(t);let n=p.prev();return e||y(n),n?.id},blur:()=>{v()},active:()=>h()?.id,focus:e=>{if(!f.current)return;let t=f.current.querySelector(`#${e}`);t&&y(t)},focusLastActive:()=>{if(!f.current||!o.current)return;let e=f.current.querySelector(`#${o.current}`);if(e)return y(e),!0},find(e,{passive:t,startFrom:n}={}){let r=p.find(e,n);return t||y(r),r?.id},scrollActiveIntoView:()=>{if(!f.current)return;let e=h();e&&Vu(e)},showAttributes(){c.current=!0,u()},hideAttributes(){c.current=!1,l()},showFocusVisibleAttributes(){g(!0)},hideFocusVisibleAttributes(){g(!1)}}),[p,f,u,l,y,v,h,g]);return _.useImperativeHandle(t,()=>b),{listboxRef:Ei(f,m),activeParentRef:s,controller:b}}var Ju=N({root:{mc9l5x:`f1w7gpdv`,Bg96gwp:`fez10in`},rtl:{Bz10aip:`f13rod7r`}},{d:[`.f1w7gpdv{display:inline;}`,`.fez10in{line-height:0;}`,`.f13rod7r{transform:scaleX(-1);}`]}),Yu=(e,t)=>{let{title:n,primaryFill:r=`currentColor`,...i}=e,a={...i,title:void 0,fill:r},o=Ju(),s=la();return a.className=O(o.root,t?.flipInRtl&&s?.textDirection===`rtl`&&o.rtl,a.className),n&&(a[`aria-label`]=n),!a[`aria-label`]&&!a[`aria-labelledby`]?a[`aria-hidden`]=!0:a.role=`img`,a},Xu=N({root:{B8gzw0y:`f1dd5bof`}},{m:[[`@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}`,{m:`(forced-colors: active)`}]]}),Zu=(e,t,n,r)=>{let i=t===`1em`?`20`:t,a=_.forwardRef((e,a)=>{let o=Xu(),s=Yu(e,{flipInRtl:r?.flipInRtl}),c={...s,className:O(s.className,o.root),ref:a,width:t,height:t,viewBox:`0 0 ${i} ${i}`,xmlns:`http://www.w3.org/2000/svg`};return typeof n==`string`?_.createElement(`svg`,{...c,dangerouslySetInnerHTML:{__html:n}}):_.createElement(`svg`,c,...n.map(e=>_.createElement(`path`,{d:e,fill:c.fill})))});return a.displayName=e,a},Qu=Zu(`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`]),$u=Zu(`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}),ed=Zu(`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`]),td=Zu(`CheckmarkCircleRegular`,`1em`,[`M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.36 4.65c.17.17.2.44.06.63l-.06.07-4 4a.5.5 0 0 1-.64.07l-.07-.06-2-2a.5.5 0 0 1 .63-.77l.07.06L9 11.3l3.65-3.65c.2-.2.51-.2.7 0Z`]),nd=Zu(`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`]),rd=Zu(`ChevronRightRegular`,`1em`,[`M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z`]),id=Zu(`CircleFilled`,`1em`,[`M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z`]),ad=Zu(`DatabaseSearchRegular`,`1em`,[`M4 5c0-1 .88-1.76 1.9-2.22C6.98 2.28 8.43 2 10 2c1.57 0 3.02.29 4.1.78C15.12 3.24 16 3.99 16 5v4.76c-.3-.2-.64-.38-1-.5V6.7c-.27.2-.58.38-.9.52-1.08.5-2.53.78-4.1.78-1.57 0-3.02-.29-4.1-.78A4.92 4.92 0 0 1 5 6.7V15c0 .37.36.88 1.32 1.31a9.19 9.19 0 0 0 4.33.67c.45.37.97.65 1.53.82-.68.13-1.41.2-2.18.2-1.57 0-3.02-.29-4.1-.78C4.88 16.76 4 16.01 4 15V5Zm1 0c0 .37.36.88 1.32 1.31.91.42 2.22.69 3.68.69s2.77-.27 3.68-.69C14.64 5.88 15 5.37 15 5c0-.37-.36-.88-1.32-1.31A9.19 9.19 0 0 0 10 3c-1.46 0-2.77.27-3.68.69C5.36 4.12 5 4.63 5 5Zm8.5 12c.79 0 1.51-.26 2.1-.7l2.55 2.55a.5.5 0 1 0 .7-.7L16.3 15.6a3.5 3.5 0 1 0-2.8 1.4Zm0-1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z`]),od=Zu(`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`]),sd=Zu(`ErrorCircleRegular`,`1em`,[`M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 9.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5ZM10 6a.5.5 0 0 1 .5.41V11a.5.5 0 0 1-1 .09V6.5c0-.28.22-.5.5-.5Z`]),cd=Zu(`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`]),ld=Zu(`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`]),ud=Zu(`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`]),dd=Zu(`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`]),fd=Zu(`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`]),pd={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},md={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)`},$={...pd,...md};function hd(e){if(e.playState===`running`){if(e.overallProgress!==void 0){let t=e.overallProgress??0;return t>0&&t<1}let t=Number(e.currentTime??0),n=Number(e.effect?.getTiming().duration??0);return t>0&&t<n}return!1}var gd={fill:`forwards`},_d={duration:1};function vd(){let e=typeof window<`u`&&typeof window.Animation?.prototype.persist==`function`;return _.useCallback((t,n,r)=>{let i=Array.isArray(n)?n:[n],{isReducedMotion:a}=r,o=i.map(n=>{let{keyframes:r,reducedMotion:i=_d,...o}=n,{keyframes:s=r,...c}=i,l=a?s:r,u={...gd,...o,...a&&c};try{let n=t.animate(l,u);if(e)n?.persist();else{let e=l[l.length-1];Object.assign(t.style??{},e)}return n}catch{return null}}).filter(e=>!!e);return{set playbackRate(e){o.forEach(t=>{t.playbackRate=e})},setMotionEndCallbacks(e,t){let n=o.map(e=>new Promise((t,n)=>{e.onfinish=()=>t(),e.oncancel=()=>n()}));Promise.all(n).then(()=>{e()}).catch(()=>{t()})},isRunning(){return o.some(e=>hd(e))},cancel:()=>{o.forEach(e=>{e.cancel()})},pause:()=>{o.forEach(e=>{e.pause()})},play:()=>{o.forEach(e=>{e.play()})},finish:()=>{o.forEach(e=>{e.finish()})},reverse:()=>{o.forEach(e=>{e.reverse()})}}},[e])}function yd(){"use no memo";return vd()}function bd(e){let t=_.useRef(void 0);return _.useImperativeHandle(e,()=>({setPlayState:e=>{if(e===`running`){var n;(n=t.current)==null||n.play()}if(e===`paused`){var r;(r=t.current)==null||r.pause()}},setPlaybackRate:e=>{t.current&&(t.current.playbackRate=e)}})),t}var xd=`screen and (prefers-reduced-motion: reduce)`;function Sd(){let{targetDocument:e}=ti(),t=e?.defaultView??null,n=_.useRef(!1),r=_.useCallback(()=>n.current,[]);return bi(()=>{if(t===null||typeof t.matchMedia!=`function`)return;let e=t.matchMedia(xd);e.matches&&(n.current=!0);let r=e=>{n.current=e.matches};return e.addEventListener(`change`,r),()=>{e.removeEventListener(`change`,r)}},[t]),r}var Cd=[`@fluentui/react-motion: Invalid child element.`,`
|
|
10
|
+
`,`Motion factories require a single child element to be passed. `,`That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef().`].join(``);function wd(e,t=!0){let n=_.useRef(null);_.useEffect(()=>{},[t]);try{let t=_.Children.only(e);if(_.isValidElement(t))return[_.cloneElement(t,{ref:Ei(n,Ii(t))}),n]}catch{}throw Error(Cd)}var Td=_.createContext(void 0);Td.Provider;var Ed=()=>_.useContext(Td)??`default`,Dd=Symbol(`MOTION_DEFINITION`);function Od(e){return Object.assign(t=>{"use no memo";let{children:n,imperativeRef:r,onMotionFinish:i,onMotionStart:a,onMotionCancel:o,...s}=t,c=s,[l,u]=wd(n),d=bd(r),f=Ed()===`skip`,p=_.useRef({skipMotions:f,params:c}),m=yd(),h=Sd(),g=B(()=>{a?.(null)}),v=B(()=>{i?.(null)}),y=B(()=>{o?.(null)});return bi(()=>{p.current={skipMotions:f,params:c}}),bi(()=>{let t=u.current;if(t){let n=typeof e==`function`?e({element:t,...p.current.params}):e;g();let r=m(t,n,{isReducedMotion:h()});return d.current=r,r.setMotionEndCallbacks(v,y),p.current.skipMotions&&r.finish(),()=>{r.cancel()}}},[m,u,d,h,v,g,y]),l},{[Dd]:typeof e==`function`?e:()=>e})}var kd=_.createContext(void 0);kd.Provider;function Ad(e=!1,t=!1){let n=_.useRef(t?e:!0),r=Si(),i=_.useCallback(e=>{n.current!==e&&(n.current=e,r())},[r]);return _.useEffect(()=>{e&&(n.current=e)}),[e||n.current,i]}var jd=Symbol(`PRESENCE_MOTION_DEFINITION`),Md=Symbol.for(`interruptablePresence`);function Nd(e){return Object.assign(t=>{"use no memo";let n={..._.useContext(kd),...t},r=Ed()===`skip`,{appear:i,children:a,imperativeRef:o,onExit:s,onMotionFinish:c,onMotionStart:l,onMotionCancel:u,visible:d,unmountOnExit:f,...p}=n,m=p,[h,g]=Ad(d,f),[v,y]=wd(a,h),b=bd(o),x=_.useRef({appear:i,params:m,skipMotions:r}),S=yd(),C=xi(),w=Sd(),T=B(e=>{l?.(null,{direction:e})}),ee=B(e=>{c?.(null,{direction:e}),e===`exit`&&f&&(g(!1),s?.())}),E=B(e=>{u?.(null,{direction:e})});return bi(()=>{x.current={appear:i,params:m,skipMotions:r}}),bi(()=>{let t=y.current;if(!t)return;let n;function r(){n&&(a&&n.isRunning()||(n.cancel(),b.current=void 0))}let i=typeof e==`function`?e({element:t,...x.current.params}):e,a=i[Md];if(a&&(n=b.current,n&&n.isRunning()))return n.reverse(),r;let o=d?i.enter:i.exit,s=d?`enter`:`exit`,c=!x.current.appear&&C,l=x.current.skipMotions;return c||T(s),n=S(t,o,{isReducedMotion:w()}),c?(n.finish(),r):(b.current=n,n.setMotionEndCallbacks(()=>ee(s),()=>E(s)),l&&n.finish(),r)},[S,y,b,w,ee,T,E,d]),h?v:null},{[jd]:typeof e==`function`?e:()=>e},{In:Od(typeof e==`function`?(...t)=>e(...t).enter:e.enter),Out:Od(typeof e==`function`?(...t)=>e(...t).exit:e.exit)})}function Pd(e,t){return n=>e({...t,...n})}function Fd(e,t){let n=e[jd];return Nd(Pd(n,t))}function Id(e,t){let{as:n,children:r,...i}=e??{};if(e===null){let e=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,n=(t,n)=>e?null:_.createElement(_.Fragment,null,n.children);return{[cr]:n,[lr]:t.elementType}}let a={...t.defaultProps,...i,[lr]:t.elementType};return typeof r==`function`&&(a[cr]=r),a}var Ld=(e,t)=>{let{icon:n,button:r,expandIcon:i,inline:a=!1,size:o=`medium`,expandIconPosition:s=`start`}=e,{value:c,disabled:l,open:u}=xu(),d=ou(e=>e.requestToggle),f=ou(e=>!e.collapsible&&e.openItems.length===1&&u),{dir:p}=ti(),m;m=s===`end`?u?-90:90:u?90:p===`rtl`?180:0;let h=P(r,{elementType:`button`,defaultProps:{disabled:l,disabledFocusable:f,"aria-expanded":u,type:`button`}});return h.onClick=B(e=>{if(pr(r)){var t;(t=r.onClick)==null||t.call(r,e)}e.defaultPrevented||d({value:c,event:e})}),{disabled:l,open:u,size:o,inline:a,expandIconPosition:s,components:{root:`div`,button:`button`,expandIcon:`span`,icon:`div`},root:P(L(`div`,{ref:t,...e}),{elementType:`div`}),icon:F(n,{elementType:`div`}),expandIcon:F(i,{renderByDefault:!0,defaultProps:{children:_.createElement(rd,{style:{transform:`rotate(${m}deg)`,transition:`transform ${$.durationNormal}ms ease-out`}}),"aria-hidden":!0},elementType:`span`}),button:ju(h.as,h)}},{Provider:Rd}=_.createContext(void 0),zd=(e,t)=>U(Rd,{value:t.accordionHeader,children:U(e.root,{children:aa(e.button,{children:[e.expandIconPosition===`start`&&e.expandIcon&&U(e.expandIcon,{}),e.icon&&U(e.icon,{}),e.root.children,e.expandIconPosition===`end`&&e.expandIcon&&U(e.expandIcon,{})]})})}),Bd={root:`fui-AccordionHeader`,button:`fui-AccordionHeader__button`,expandIcon:`fui-AccordionHeader__expandIcon`,icon:`fui-AccordionHeader__icon`},Vd=N({resetButton:{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`,Bv0vk6g:`f37px4s`,fsow6f:`fgusgyc`},focusIndicator:{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:`ffwy5si`,Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:`f3znvyf`,J0r882:`f57olzd`,Bule8hv:[`f4stah7`,`fs1por5`],Bjwuhne:`f480a47`,Ghsupd:[`fs1por5`,`f4stah7`]},root:{sj55zd:`f19n0e5`,De3pzq:`f1c21dwh`,jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:`f1s184ao`,Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`ft85np5`},rootDisabled:{Bcmaq0h:`fwrgwhw`,sj55zd:`f1s2aq7o`},rootInline:{mc9l5x:`f14t3ns0`},button:{qhf8xq:`f10pi13n`,a9b677:`fly5x3f`,B4j52fo:`fre7gi1`,Bekrc4i:[`f1358rze`,`f1rvrf73`],Bn0qgzm:`fqdk4by`,ibv6hh:[`f1rvrf73`,`f1358rze`],Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:[`f1rmphuq`,`f26yw9j`],sshi5w:`f5pgtk9`,mc9l5x:`f22iagw`,Bt984gj:`f122n59`,Bceei9c:`f1k6fduh`,Bahqtrf:`fk6fouc`,Be2twd7:`fkhj508`,Bhrd7zp:`figsok6`,Bg96gwp:`f1i3iumi`,B7ck84d:`f1ewtqcl`},buttonSmall:{sshi5w:`f1nxs5xn`,Be2twd7:`fy9rknc`},buttonLarge:{Bg96gwp:`faaz57k`,Be2twd7:`fod5ikn`},buttonExtraLarge:{Bg96gwp:`f106mvju`,Be2twd7:`f1pp30po`},buttonInline:{mc9l5x:`ftuwxu6`},buttonExpandIconEndNoIcon:{uwmqm3:[`f1uw59to`,`fw5db7e`]},buttonExpandIconEnd:{z189sj:[`f11gcy0p`,`f1ng84yb`]},buttonDisabled:{Bceei9c:`fdrzuqr`},expandIcon:{Bqenvij:`f1l02sjl`,mc9l5x:`f22iagw`,Bt984gj:`f122n59`,Bg96gwp:`f106mvju`,Be2twd7:`f1pp30po`},expandIconStart:{z189sj:[`f1vdfbxk`,`f1f5gg8d`]},expandIconEnd:{Bh6795r:`fqerorx`,Bnnss6s:`f1neuvcm`,xawz:`flqd7gy`,mc9l5x:`f22iagw`,Brf1p80:`f9c4gz4`,uwmqm3:[`f1f5gg8d`,`f1vdfbxk`]},icon:{Bqenvij:`f1l02sjl`,mc9l5x:`f22iagw`,Bt984gj:`f122n59`,z189sj:[`f1vdfbxk`,`f1f5gg8d`],Bg96gwp:`f106mvju`,Be2twd7:`f1pp30po`}},{d:[`.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}],`.f37px4s{-webkit-appearance:button;}`,`.fgusgyc{text-align:unset;}`,`.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;}`,[`.ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}`,{p:-2}],[`.f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}`,`.f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}`,`.fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}`,`.f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}`,`.f19n0e5{color:var(--colorNeutralForeground1);}`,`.f1c21dwh{background-color:var(--colorTransparentBackground);}`,[`.f1s184ao{margin:0;}`,{p:-1}],[`.ft85np5{border-radius:var(--borderRadiusMedium);}`,{p:-1}],`.fwrgwhw{background-image:none;}`,`.f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}`,`.f14t3ns0{display:inline-block;}`,`.f10pi13n{position:relative;}`,`.fly5x3f{width:100%;}`,`.fre7gi1{border-top-width:0;}`,`.f1358rze{border-right-width:0;}`,`.f1rvrf73{border-left-width:0;}`,`.fqdk4by{border-bottom-width:0;}`,[`.f1rmphuq{padding:0 var(--spacingHorizontalM) 0 var(--spacingHorizontalMNudge);}`,{p:-1}],[`.f26yw9j{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalM);}`,{p:-1}],`.f5pgtk9{min-height:44px;}`,`.f22iagw{display:flex;}`,`.f122n59{align-items:center;}`,`.f1k6fduh{cursor:pointer;}`,`.fk6fouc{font-family:var(--fontFamilyBase);}`,`.fkhj508{font-size:var(--fontSizeBase300);}`,`.figsok6{font-weight:var(--fontWeightRegular);}`,`.f1i3iumi{line-height:var(--lineHeightBase300);}`,`.f1ewtqcl{box-sizing:border-box;}`,`.f1nxs5xn{min-height:32px;}`,`.fy9rknc{font-size:var(--fontSizeBase200);}`,`.faaz57k{line-height:var(--lineHeightBase400);}`,`.fod5ikn{font-size:var(--fontSizeBase400);}`,`.f106mvju{line-height:var(--lineHeightBase500);}`,`.f1pp30po{font-size:var(--fontSizeBase500);}`,`.ftuwxu6{display:inline-flex;}`,`.f1uw59to{padding-left:var(--spacingHorizontalM);}`,`.fw5db7e{padding-right:var(--spacingHorizontalM);}`,`.f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}`,`.f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}`,`.fdrzuqr{cursor:not-allowed;}`,`.f1l02sjl{height:100%;}`,`.f1vdfbxk{padding-right:var(--spacingHorizontalS);}`,`.f1f5gg8d{padding-left:var(--spacingHorizontalS);}`,`.fqerorx{flex-grow:1;}`,`.f1neuvcm{flex-shrink:1;}`,`.flqd7gy{flex-basis:0%;}`,`.f9c4gz4{justify-content:flex-end;}`],f:[`.ftqa4ok:focus{outline-style:none;}`],i:[`.f2hkw1w:focus-visible{outline-style:none;}`],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)`}]]}),Hd=e=>{"use no memo";let t=Vd();return e.root.className=O(Bd.root,t.root,e.inline&&t.rootInline,e.disabled&&t.rootDisabled,e.root.className),e.button.className=O(Bd.button,t.resetButton,t.button,t.focusIndicator,e.expandIconPosition===`end`&&!e.icon&&t.buttonExpandIconEndNoIcon,e.expandIconPosition===`end`&&t.buttonExpandIconEnd,e.inline&&t.buttonInline,e.size===`small`&&t.buttonSmall,e.size===`large`&&t.buttonLarge,e.size===`extra-large`&&t.buttonExtraLarge,e.disabled&&t.buttonDisabled,e.button.className),e.expandIcon&&(e.expandIcon.className=O(Bd.expandIcon,t.expandIcon,e.expandIconPosition===`start`&&t.expandIconStart,e.expandIconPosition===`end`&&t.expandIconEnd,e.expandIcon.className)),e.icon&&(e.icon.className=O(Bd.icon,t.icon,e.icon.className)),e};function Ud(e){let{disabled:t,expandIconPosition:n,open:r,size:i}=e;return{accordionHeader:_.useMemo(()=>({disabled:t,expandIconPosition:n,open:r,size:i}),[t,n,r,i])}}var Wd=_.forwardRef((e,t)=>{let n=Ld(e,t),r=Ud(n);return Hd(n),R(`useAccordionHeaderStyles_unstable`)(n),zd(n,r)});Wd.displayName=`AccordionHeader`;var Gd=(e,t)=>({sizeName:e===`horizontal`?`maxWidth`:`maxHeight`,overflowName:e===`horizontal`?`overflowX`:`overflowY`,toSize:`${e===`horizontal`?t.scrollWidth:t.scrollHeight}px`}),Kd=({orientation:e,duration:t,easing:n,element:r,fromSize:i=`0`,delay:a=0})=>{let{sizeName:o,overflowName:s,toSize:c}=Gd(e,r);return{keyframes:[{[o]:i,[s]:`hidden`},{[o]:c,offset:.9999,[s]:`hidden`},{[o]:`unset`,[s]:`unset`}],duration:t,easing:n,delay:a,fill:`both`}},qd=({orientation:e,duration:t,easing:n,element:r,delay:i=0,fromSize:a=`0`})=>{let{sizeName:o,overflowName:s,toSize:c}=Gd(e,r);return{keyframes:[{[o]:c,[s]:`hidden`},{[o]:a,[s]:`hidden`}],duration:t,easing:n,delay:i,fill:`both`}},Jd=e=>e===`horizontal`?{paddingStart:`paddingInlineStart`,paddingEnd:`paddingInlineEnd`,marginStart:`marginInlineStart`,marginEnd:`marginInlineEnd`}:{paddingStart:`paddingBlockStart`,paddingEnd:`paddingBlockEnd`,marginStart:`marginBlockStart`,marginEnd:`marginBlockEnd`},Yd=({direction:e,orientation:t,duration:n,easing:r,delay:i=0})=>{let{paddingStart:a,paddingEnd:o,marginStart:s,marginEnd:c}=Jd(t),l=e===`enter`?0:1;return{keyframes:[{[a]:`0`,[o]:`0`,[s]:`0`,[c]:`0`,offset:l}],duration:n,easing:r,delay:i,fill:`both`}},Xd=({direction:e,duration:t,easing:n=$.curveLinear,delay:r=0,fromOpacity:i=0,toOpacity:a=1})=>{let o=[{opacity:i},{opacity:a}];return e===`exit`&&o.reverse(),{keyframes:o,duration:t,easing:n,delay:r,fill:`both`}},Zd=Nd(({element:e,duration:t=$.durationNormal,exitDuration:n=t,sizeDuration:r=t,opacityDuration:i=r,exitSizeDuration:a=n,exitOpacityDuration:o=a,easing:s=$.curveEasyEaseMax,delay:c=0,exitEasing:l=s,exitDelay:u=c,staggerDelay:d=0,exitStaggerDelay:f=d,animateOpacity:p=!0,orientation:m=`vertical`,fromSize:h=`0px`})=>{let g=[Kd({orientation:m,duration:r,easing:s,element:e,fromSize:h,delay:c}),Yd({direction:`enter`,orientation:m,duration:r,easing:s,delay:c})];p&&g.push(Xd({direction:`enter`,duration:i,easing:s,delay:c+d}));let _=[];return p&&_.push(Xd({direction:`exit`,duration:o,easing:l,delay:u})),_.push(qd({orientation:m,duration:a,easing:l,element:e,delay:u+f,fromSize:h}),Yd({direction:`exit`,orientation:m,duration:a,easing:l,delay:u+f})),{enter:g,exit:_}});Fd(Zd,{duration:$.durationFast}),Fd(Zd,{duration:$.durationSlower}),Fd(Zd,{sizeDuration:$.durationNormal,opacityDuration:$.durationSlower,staggerDelay:$.durationNormal,exitSizeDuration:$.durationNormal,exitOpacityDuration:$.durationSlower,exitStaggerDelay:$.durationSlower,easing:$.curveEasyEase,exitEasing:$.curveEasyEase});var Qd=Nd(({duration:e=$.durationNormal,easing:t=$.curveEasyEase,delay:n=0,exitDuration:r=e,exitEasing:i=t,exitDelay:a=n,fromOpacity:o=0,toOpacity:s=1})=>({enter:Xd({direction:`enter`,duration:e,easing:t,delay:n,fromOpacity:o,toOpacity:s}),exit:Xd({direction:`exit`,duration:r,easing:i,delay:a,fromOpacity:o,toOpacity:s})}));Fd(Qd,{duration:$.durationFast});var $d=Fd(Qd,{duration:$.durationGentle}),ef=({direction:e,duration:t,easing:n=$.curveLinear,delay:r=0,fromScale:i=.9,toScale:a=1})=>{let o=[{scale:i},{scale:a}];return e===`exit`&&o.reverse(),{keyframes:o,duration:t,easing:n,delay:r}},tf=Nd(({duration:e=$.durationGentle,easing:t=$.curveDecelerateMax,delay:n=0,exitDuration:r=$.durationNormal,exitEasing:i=$.curveAccelerateMax,exitDelay:a=n,fromScale:o=.9,toScale:s=1,animateOpacity:c=!0})=>{let l=[ef({direction:`enter`,duration:e,easing:t,delay:n,fromScale:o,toScale:s})],u=[ef({direction:`exit`,duration:r,easing:i,delay:a,fromScale:o,toScale:s})];return c&&(l.push(Xd({direction:`enter`,duration:e,easing:t,delay:n})),u.push(Xd({direction:`exit`,duration:r,easing:i,delay:a}))),{enter:l,exit:u}});Fd(tf,{duration:$.durationNormal,exitDuration:$.durationFast}),Fd(tf,{duration:$.durationSlow,exitDuration:$.durationGentle});var nf=(e,t)=>{let{open:n}=xu(),r=Gs({focusable:{excludeFromMover:!0}}),i=ou(e=>e.navigation);return{open:n,components:{root:`div`,collapseMotion:Zd},root:P(L(`div`,{ref:t,...e,...i&&r}),{elementType:`div`}),collapseMotion:Id(e.collapseMotion,{elementType:Zd,defaultProps:{visible:n,unmountOnExit:!0}})}},rf=e=>e.collapseMotion?U(e.collapseMotion,{children:U(e.root,{})}):U(e.root,{}),af={root:`fui-AccordionPanel`},of=N({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:`f1axvtxu`}},{d:[[`.f1axvtxu{margin:0 var(--spacingHorizontalM);}`,{p:-1}]]}),sf=e=>{"use no memo";let t=of();return e.root.className=O(af.root,t.root,e.root.className),e},cf=_.forwardRef((e,t)=>{let n=nf(e,t);return sf(n),R(`useAccordionPanelStyles_unstable`)(n),rf(n)});cf.displayName=`AccordionPanel`;var lf=`data-popper-is-intersecting`,uf=`data-popper-escaped`,df=`data-popper-reference-hidden`,ff=`data-popper-placement`,pf=`fui-positioningend`,mf=({options:e})=>e,hf=_.createContext(void 0);hf.Provider;var gf=()=>_.useContext(hf)??mf,_f=[`top`,`right`,`bottom`,`left`],vf=Math.min,yf=Math.max,bf=Math.round,xf=e=>({x:e,y:e}),Sf={left:`right`,right:`left`,bottom:`top`,top:`bottom`},Cf={start:`end`,end:`start`};function wf(e,t,n){return yf(e,vf(t,n))}function Tf(e,t){return typeof e==`function`?e(t):e}function Ef(e){return e.split(`-`)[0]}function Df(e){return e.split(`-`)[1]}function Of(e){return e===`x`?`y`:`x`}function kf(e){return e===`y`?`height`:`width`}var Af=new Set([`top`,`bottom`]);function jf(e){return Af.has(Ef(e))?`y`:`x`}function Mf(e){return Of(jf(e))}function Nf(e,t,n){n===void 0&&(n=!1);let r=Df(e),i=Mf(e),a=kf(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Hf(o)),[o,Hf(o)]}function Pf(e){let t=Hf(e);return[Ff(e),t,Ff(t)]}function Ff(e){return e.replace(/start|end/g,e=>Cf[e])}var If=[`left`,`right`],Lf=[`right`,`left`],Rf=[`top`,`bottom`],zf=[`bottom`,`top`];function Bf(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Lf:If:t?If:Lf;case`left`:case`right`:return t?Rf:zf;default:return[]}}function Vf(e,t,n,r){let i=Df(e),a=Bf(Ef(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Ff)))),a}function Hf(e){return e.replace(/left|right|bottom|top/g,e=>Sf[e])}function Uf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wf(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Uf(e)}function Gf(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Kf(e,t,n){let{reference:r,floating:i}=e,a=jf(t),o=Mf(t),s=kf(o),c=Ef(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Df(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var qf=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Kf(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=Kf(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function Jf(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Tf(t,e),p=Wf(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Gf(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Gf(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Yf=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Tf(e,t)||{};if(l==null)return{};let d=Wf(u),f={x:n,y:r},p=Mf(i),m=kf(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,ee=vf(d[_],T),E=vf(d[v],T),te=ee,ne=C-h[m]-E,D=C/2-h[m]/2+w,re=wf(te,D,ne),ie=!c.arrow&&Df(i)!=null&&D!==re&&a.reference[m]/2-(D<te?ee:E)-h[m]/2<0,ae=ie?D<te?D-te:D-ne:0;return{[p]:f[p]+ae,data:{[p]:re,centerOffset:D-re-ae,...ie&&{alignmentOffset:ae}},reset:ie}}}),Xf=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Tf(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Ef(r),_=jf(o),v=Ef(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Hf(o)]:Pf(o)),x=p!==`none`;!d&&x&&b.push(...Vf(o,m,p,y));let S=[o,...b],C=await Jf(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Nf(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==jf(t))||T.every(e=>jf(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=jf(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function Zf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Qf(e){return _f.some(t=>e[t]>=0)}var $f=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=Tf(e,t);switch(r){case`referenceHidden`:{let e=Zf(await Jf(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Qf(e)}}}case`escaped`:{let e=Zf(await Jf(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Qf(e)}}}default:return{}}}}},ep=new Set([`left`,`top`]);async function tp(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Ef(n),s=Df(n),c=jf(n)===`y`,l=ep.has(o)?-1:1,u=a&&c?-1:1,d=Tf(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var np=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await tp(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},rp=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Tf(e,t),l={x:n,y:r},u=await Jf(t,c),d=jf(Ef(i)),f=Of(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=wf(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=wf(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},ip=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Tf(e,t),u={x:n,y:r},d=jf(i),f=Of(d),p=u[f],m=u[d],h=Tf(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=ep.has(Ef(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},ap=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=Tf(e,t),u=await Jf(t,l),d=Ef(i),f=Df(i),p=jf(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=vf(h-u[g],v),x=vf(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=yf(u.left,0),t=yf(u.right,0),n=yf(u.top,0),r=yf(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:yf(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:yf(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function op(){return typeof window<`u`}function sp(e){return up(e)?(e.nodeName||``).toLowerCase():`#document`}function cp(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function lp(e){return((up(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function up(e){return op()?e instanceof Node||e instanceof cp(e).Node:!1}function dp(e){return op()?e instanceof Element||e instanceof cp(e).Element:!1}function fp(e){return op()?e instanceof HTMLElement||e instanceof cp(e).HTMLElement:!1}function pp(e){return!op()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof cp(e).ShadowRoot}var mp=new Set([`inline`,`contents`]);function hp(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Op(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!mp.has(i)}var gp=new Set([`table`,`td`,`th`]);function _p(e){return gp.has(sp(e))}var vp=[`:popover-open`,`:modal`];function yp(e){return vp.some(t=>{try{return e.matches(t)}catch{return!1}})}var bp=[`transform`,`translate`,`scale`,`rotate`,`perspective`],xp=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],Sp=[`paint`,`layout`,`strict`,`content`];function Cp(e){let t=Tp(),n=dp(e)?Op(e):e;return bp.some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||xp.some(e=>(n.willChange||``).includes(e))||Sp.some(e=>(n.contain||``).includes(e))}function wp(e){let t=Ap(e);for(;fp(t)&&!Dp(t);){if(Cp(t))return t;if(yp(t))return null;t=Ap(t)}return null}function Tp(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var Ep=new Set([`html`,`body`,`#document`]);function Dp(e){return Ep.has(sp(e))}function Op(e){return cp(e).getComputedStyle(e)}function kp(e){return dp(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ap(e){if(sp(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||pp(e)&&e.host||lp(e);return pp(t)?t.host:t}function jp(e){let t=Ap(e);return Dp(t)?e.ownerDocument?e.ownerDocument.body:e.body:fp(t)&&hp(t)?t:jp(t)}function Mp(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=jp(e),i=r===e.ownerDocument?.body,a=cp(r);if(i){let e=Np(a);return t.concat(a,a.visualViewport||[],hp(r)?r:[],e&&n?Mp(e):[])}return t.concat(r,Mp(r,[],n))}function Np(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Pp(e){let t=Op(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=fp(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=bf(n)!==a||bf(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Fp(e){return dp(e)?e:e.contextElement}function Ip(e){let t=Fp(e);if(!fp(t))return xf(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Pp(t),o=(a?bf(n.width):n.width)/r,s=(a?bf(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Lp=xf(0);function Rp(e){let t=cp(e);return!Tp()||!t.visualViewport?Lp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zp(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==cp(e)?!1:t}function Bp(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Fp(e),o=xf(1);t&&(r?dp(r)&&(o=Ip(r)):o=Ip(e));let s=zp(a,n,r)?Rp(a):xf(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=cp(a),t=r&&dp(r)?cp(r):r,n=e,i=Np(n);for(;i&&r&&t!==n;){let e=Ip(i),t=i.getBoundingClientRect(),r=Op(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=cp(i),i=Np(n)}}return Gf({width:u,height:d,x:c,y:l})}function Vp(e,t){let n=kp(e).scrollLeft;return t?t.left+n:Bp(lp(e)).left+n}function Hp(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Vp(e,n),y:n.top+t.scrollTop}}function Up(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=lp(r),s=t?yp(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=xf(1),u=xf(0),d=fp(r);if((d||!d&&!a)&&((sp(r)!==`body`||hp(o))&&(c=kp(r)),fp(r))){let e=Bp(r);l=Ip(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Hp(o,c):xf(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Wp(e){return Array.from(e.getClientRects())}function Gp(e){let t=lp(e),n=kp(e),r=e.ownerDocument.body,i=yf(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=yf(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Vp(e),s=-n.scrollTop;return Op(r).direction===`rtl`&&(o+=yf(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Kp=25;function qp(e,t){let n=cp(e),r=lp(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Tp();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Vp(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=Kp&&(a-=o)}else l<=Kp&&(a+=l);return{width:a,height:o,x:s,y:c}}var Jp=new Set([`absolute`,`fixed`]);function Yp(e,t){let n=Bp(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=fp(e)?Ip(e):xf(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Xp(e,t,n){let r;if(t===`viewport`)r=qp(e,n);else if(t===`document`)r=Gp(lp(e));else if(dp(t))r=Yp(t,n);else{let n=Rp(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Gf(r)}function Zp(e,t){let n=Ap(e);return n===t||!dp(n)||Dp(n)?!1:Op(n).position===`fixed`||Zp(n,t)}function Qp(e,t){let n=t.get(e);if(n)return n;let r=Mp(e,[],!1).filter(e=>dp(e)&&sp(e)!==`body`),i=null,a=Op(e).position===`fixed`,o=a?Ap(e):e;for(;dp(o)&&!Dp(o);){let t=Op(o),n=Cp(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&Jp.has(i.position)||hp(o)&&!n&&Zp(e,o))?r=r.filter(e=>e!==o):i=t,o=Ap(o)}return t.set(e,r),r}function $p(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?yp(t)?[]:Qp(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=Xp(t,n,i);return e.top=yf(r.top,e.top),e.right=vf(r.right,e.right),e.bottom=vf(r.bottom,e.bottom),e.left=yf(r.left,e.left),e},Xp(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function em(e){let{width:t,height:n}=Pp(e);return{width:t,height:n}}function tm(e,t,n){let r=fp(t),i=lp(t),a=n===`fixed`,o=Bp(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=xf(0);function l(){c.x=Vp(i)}if(r||!r&&!a)if((sp(t)!==`body`||hp(i))&&(s=kp(t)),r){let e=Bp(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?Hp(i,s):xf(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function nm(e){return Op(e).position===`static`}function rm(e,t){if(!fp(e)||Op(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return lp(e)===n&&(n=n.ownerDocument.body),n}function im(e,t){let n=cp(e);if(yp(e))return n;if(!fp(e)){let t=Ap(e);for(;t&&!Dp(t);){if(dp(t)&&!nm(t))return t;t=Ap(t)}return n}let r=rm(e,t);for(;r&&_p(r)&&nm(r);)r=rm(r,t);return r&&Dp(r)&&nm(r)&&!Cp(r)?n:r||wp(e)||n}var am=async function(e){let t=this.getOffsetParent||im,n=this.getDimensions,r=await n(e.floating);return{reference:tm(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function om(e){return Op(e).direction===`rtl`}var sm={convertOffsetParentRelativeRectToViewportRelativeRect:Up,getDocumentElement:lp,getClippingRect:$p,getOffsetParent:im,getElementRects:am,getClientRects:Wp,getDimensions:em,getScale:Ip,isElement:dp,isRTL:om},cm=Jf,lm=np,um=rp,dm=Xf,fm=ap,pm=$f,mm=Yf,hm=ip,gm=(e,t,n)=>{let r=new Map,i={platform:sm,...n},a={...i.platform,_c:r};return qf(e,t,{...i,platform:a})};function _m(e){let t=e.split(`-`);return{side:t[0],alignment:t[1]}}var vm=e=>e.nodeName===`HTML`?e:e.parentNode||e.host,ym=e=>{if(e.nodeType!==1)return{};let t=e.ownerDocument?.defaultView;return t?t.getComputedStyle(e,null):{}},bm=e=>{let t=e&&vm(e);if(!t)return document.body;switch(t.nodeName){case`HTML`:case`BODY`:return t.ownerDocument.body;case`#document`:return t.body}let{overflow:n,overflowX:r,overflowY:i}=ym(t);return/(auto|scroll|overlay)/.test(n+i+r)?t:bm(t)},xm=e=>{let t=bm(e);return t?t!==t.ownerDocument?.body:!1};function Sm(e,t){if(t===`window`)return e?.ownerDocument.documentElement;if(t===`clippingParents`)return`clippingAncestors`;if(t===`scrollParent`){let t=bm(e);return t.nodeName===`BODY`&&(t=e?.ownerDocument.documentElement),t}return t}function Cm(e,t){if(typeof e==`number`)return e;let{start:n,end:r,...i}=e,a=i,o=t?`end`:`start`,s=t?`start`:`end`;return e[o]&&(a.left=e[o]),e[s]&&(a.right=e[s]),a}var wm=e=>({above:`top`,below:`bottom`,before:e?`right`:`left`,after:e?`left`:`right`}),Tm=()=>({start:`start`,end:`end`,top:`start`,bottom:`end`,center:void 0}),Em=(e,t)=>{let n=e===`above`||e===`below`,r=t===`top`||t===`bottom`;return n&&r||!n&&!r},Dm=(e,t,n)=>{let r=Em(t,e)?`center`:e,i=t&&wm(n)[t],a=r&&Tm()[r];return i&&a?`${i}-${a}`:i},Om=()=>({top:`above`,bottom:`below`,right:`after`,left:`before`}),km=e=>e===`above`||e===`below`?{start:`start`,end:`end`}:{start:`top`,end:`bottom`},Am=e=>{let{side:t,alignment:n}=_m(e),r=Om()[t];return{position:r,alignment:n&&km(r)[n]}},jm={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 Mm(e){return e==null?{}:typeof e==`string`?jm[e]:e}function Nm(e,t,n){let r=_.useRef(!0),[i]=_.useState(()=>({value:e,callback:t,facade:{get current(){return i.value},set current(e){let t=i.value;if(t!==e){if(i.value=e,n&&r.current)return;i.callback(e,t)}}}}));return bi(()=>{r.current=!1},[]),i.callback=t,i.facade}function Pm(e){let t;return()=>(t||=new Promise(n=>{Promise.resolve().then(()=>{t=void 0,n(e())})}),t)}function Fm(e){let{arrow:t,middlewareData:n}=e;if(!n.arrow||!t)return;let{x:r,y:i}=n.arrow;Object.assign(t.style,{left:r==null?``:`${r}px`,top:i==null?``:`${i}px`})}function Im(e){let{container:t,placement:n,middlewareData:r,strategy:i,lowPPI:a,coordinates:o,useTransform:s=!0}=e;if(!t)return;t.setAttribute(ff,n),t.removeAttribute(lf),r.intersectionObserver.intersecting&&t.setAttribute(lf,``),t.removeAttribute(uf),r.hide?.escaped&&t.setAttribute(uf,``),t.removeAttribute(df),r.hide?.referenceHidden&&t.setAttribute(df,``);let c=t.ownerDocument.defaultView?.devicePixelRatio||1,l=Math.round(o.x*c)/c,u=Math.round(o.y*c)/c;if(Object.assign(t.style,{position:i}),s){Object.assign(t.style,{transform:a?`translate(${l}px, ${u}px)`:`translate3d(${l}px, ${u}px, 0)`});return}Object.assign(t.style,{left:`${l}px`,top:`${u}px`})}var Lm=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 Rm(e){let t=[],n=e;for(;n;){let r=bm(n);if(e.ownerDocument.body===r){t.push(r);break}if(r.nodeName===`BODY`&&r!==e.ownerDocument.body)break;t.push(r),n=r}return t}function zm(e,t){return new e.ResizeObserver(t)}function Bm(e){let t=!1,{container:n,target:r,arrow:i,strategy:a,middleware:o,placement:s,useTransform:c=!0,disableUpdateOnResize:l=!1}=e,u=n.ownerDocument.defaultView;if(!r||!n||!u)return{updatePosition:()=>void 0,dispose:()=>void 0};let d=l?null:zm(u,e=>{e.every(e=>e.contentRect.width>0&&e.contentRect.height>0)&&h()}),f=!0,p=new Set;Object.assign(n.style,{position:`fixed`,left:0,top:0,margin:0});let m=()=>{t||(f&&=(Rm(n).forEach(e=>p.add(e)),Ri(r)&&Rm(r).forEach(e=>p.add(e)),p.forEach(e=>{e.addEventListener(`scroll`,h,{passive:!0})}),d?.observe(n),Ri(r)&&d?.observe(r),!1),Object.assign(n.style,{position:a}),gm(r,n,{placement:s,middleware:o,strategy:a}).then(({x:e,y:r,middlewareData:o,placement:s})=>{t||(Fm({arrow:i,middlewareData:o}),Im({container:n,middlewareData:o,placement:s,coordinates:{x:e,y:r},lowPPI:(u?.devicePixelRatio||1)<=1,strategy:a,useTransform:c}),n.dispatchEvent(new CustomEvent(pf)))}).catch(e=>{}))},h=Pm(()=>m());return u&&(u.addEventListener(`scroll`,h,{passive:!0}),u.addEventListener(`resize`,h)),h(),{updatePosition:h,dispose:()=>{t=!0,u&&(u.removeEventListener(`scroll`,h),u.removeEventListener(`resize`,h)),p.forEach(e=>{e.removeEventListener(`scroll`,h)}),p.clear(),d?.disconnect()}}}function Vm(){return{name:`coverTarget`,fn:e=>{let{placement:t,rects:n,x:r,y:i}=e,a=_m(t).side,o={x:r,y:i};switch(a){case`bottom`:o.y-=n.reference.height;break;case`top`:o.y+=n.reference.height;break;case`left`:o.x+=n.reference.width;break;case`right`:o.x-=n.reference.width;break}return o}}}function Hm(e){let{hasScrollableElement:t,flipBoundary:n,container:r,fallbackPositions:i=[],isRtl:a}=e,o=i.reduce((e,t)=>{let{position:n,align:r}=Mm(t),i=Dm(r,n,a);return i&&e.push(i),e},[]);return dm({...t&&{boundary:`clippingAncestors`},...n&&{altBoundary:!0,boundary:Sm(r,n)},fallbackStrategy:`bestFit`,...o.length&&{fallbackPlacements:o}})}function Um(){return{name:`intersectionObserver`,fn:async e=>{let t=e.rects.floating,n=await cm(e,{altBoundary:!0}),r=n.top<t.height&&n.top>0,i=n.bottom<t.height&&n.bottom>0;return{data:{intersecting:r||i}}}}}var Wm=e=>({name:`resetMaxSize`,fn({middlewareData:t,elements:n}){if(t.resetMaxSize?.maxSizeAlreadyReset)return{};let{applyMaxWidth:r,applyMaxHeight:i}=e;return r&&(n.floating.style.removeProperty(`box-sizing`),n.floating.style.removeProperty(`max-width`),n.floating.style.removeProperty(`width`)),i&&(n.floating.style.removeProperty(`box-sizing`),n.floating.style.removeProperty(`max-height`),n.floating.style.removeProperty(`height`)),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Gm(e,t){let{container:n,overflowBoundary:r,overflowBoundaryPadding:i,isRtl:a}=t;return fm({...i&&{padding:Cm(i,a)},...r&&{altBoundary:!0,boundary:Sm(n,r)},apply({availableHeight:t,availableWidth:n,elements:r,rects:i}){let a=(e,t,n)=>{if(e&&(r.floating.style.setProperty(`box-sizing`,`border-box`),r.floating.style.setProperty(`max-${t}`,`${n}px`),i.floating[t]>n)){r.floating.style.setProperty(t,`${n}px`);let e=t===`width`?`x`:`y`;r.floating.style.getPropertyValue(`overflow-${e}`)||r.floating.style.setProperty(`overflow-${e}`,`auto`)}},{applyMaxWidth:o,applyMaxHeight:s}=e;a(o,`width`,n),a(s,`height`,t)}})}function Km(e){return!e||typeof e==`number`||typeof e==`object`?e:({rects:{floating:t,reference:n},placement:r})=>{let{position:i,alignment:a}=Am(r);return e({positionedRect:t,targetRect:n,position:i,alignment:a})}}function qm(e){return lm(Km(e))}function Jm(e){let{hasScrollableElement:t,shiftToCoverTarget:n,disableTether:r,overflowBoundary:i,container:a,overflowBoundaryPadding:o,isRtl:s}=e;return um({...t&&{boundary:`clippingAncestors`},...n&&{crossAxis:!0,limiter:hm({crossAxis:!0,mainAxis:!1})},...r&&{crossAxis:r===`all`,limiter:hm({crossAxis:r!==`all`,mainAxis:!1})},...o&&{padding:Cm(o,s)},...i&&{altBoundary:!0,boundary:Sm(a,i)}})}var Ym=`--fui-match-target-size`;function Xm(){return{name:`matchTargetSize`,fn:async e=>{let{rects:{reference:t,floating:n},elements:{floating:r},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(t.width===n.width||i)return{};let{width:a}=t;return r.style.setProperty(Ym,`${a}px`),r.style.width||(r.style.width=`var(${Ym})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function Zm(e,t){let{align:n,arrowPadding:r,autoSize:i,coverTarget:a,disableUpdateOnResize:o,flipBoundary:s,offset:c,overflowBoundary:l,pinned:u,position:d,unstable_disableTether:f,strategy:p,overflowBoundaryPadding:m,fallbackPositions:h,useTransform:g,matchTargetSize:v,shiftToCoverTarget:y}=t;return _.useCallback((t,_)=>e({container:t,arrow:_,options:{autoSize:i,disableUpdateOnResize:o,matchTargetSize:v,offset:c,strategy:p,coverTarget:a,flipBoundary:s,overflowBoundary:l,useTransform:g,overflowBoundaryPadding:m,pinned:u,arrowPadding:r,align:n,fallbackPositions:h,shiftToCoverTarget:y,position:d,unstable_disableTether:f}}),[i,o,v,c,p,a,s,l,g,m,u,r,n,h,y,d,f,e])}function Qm(e){let{dir:t,targetDocument:n}=ti(),r=t===`rtl`,i=Zm(gf(),e),{positionFixed:a}=e;return _.useCallback((e,t)=>{let n=xm(e),{autoSize:o,disableUpdateOnResize:s,matchTargetSize:c,offset:l,coverTarget:u,flipBoundary:d,overflowBoundary:f,useTransform:p,overflowBoundaryPadding:m,pinned:h,position:g,arrowPadding:_,strategy:v,align:y,fallbackPositions:b,shiftToCoverTarget:x,unstable_disableTether:S}=i(e,t),C=Lm(o),w=[C&&Wm(C),c&&Xm(),l&&qm(l),u&&Vm(),!h&&Hm({container:e,flipBoundary:d,hasScrollableElement:n,isRtl:r,fallbackPositions:b}),Jm({container:e,hasScrollableElement:n,overflowBoundary:f,disableTether:S,overflowBoundaryPadding:m,isRtl:r,shiftToCoverTarget:x}),C&&Gm(C,{container:e,overflowBoundary:f,overflowBoundaryPadding:m,isRtl:r}),Um(),t&&mm({element:t,padding:_}),pm({strategy:`referenceHidden`}),pm({strategy:`escaped`}),!1].filter(Boolean);return{placement:Dm(y,g,r),middleware:w,strategy:v??a?`fixed`:`absolute`,disableUpdateOnResize:s,useTransform:p}},[i,r,n,a])}function $m(e){"use no memo";let t=_.useRef(null),n=_.useRef(null),r=_.useRef(null),i=_.useRef(null),a=_.useRef(null),{enabled:o=!0}=e,s=Qm(e),c=_.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;let e=r.current??n.current;o&&gi()&&e&&i.current&&(t.current=Bm({container:i.current,target:e,arrow:a.current,...s(i.current,a.current)}))},[o,s]),l=B(e=>{r.current=e,c()});_.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>t.current?.updatePosition(),setTarget:t=>{e.target,l(t)}}),[e.target,l]),bi(()=>{l(e.target??null)},[e.target,l]),bi(()=>{c()},[c]);let u=Nm(null,e=>{n.current!==e&&(n.current=e,c())}),d=B(()=>e.onPositioningEnd?.call(e));return{targetRef:u,containerRef:Nm(null,e=>{if(i.current!==e){var t;(t=i.current)==null||t.removeEventListener(`fui-positioningend`,d),e?.addEventListener(`fui-positioningend`,d),i.current=e,c()}}),arrowRef:Nm(null,e=>{a.current!==e&&(a.current=e,c())})}}function eh(e){return Ri(e)?{element:e}:typeof e==`object`?e===null?{element:null}:e:{}}var th=N({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;}`]}),nh=_.useInsertionEffect,rh=e=>{"use no memo";let{className:t,dir:n,focusVisibleRef:r,targetNode:i}=e,a=_.useMemo(()=>{if(i===void 0||e.disabled)return null;let t=i.ownerDocument.createElement(`div`);return i.appendChild(t),t},[i,e.disabled]);return _.useMemo(()=>{a&&(a.className=t,a.setAttribute(`dir`,n),a.setAttribute(`data-portal-node`,`true`),r.current=a)},[t,n,a,r]),_.useEffect(()=>()=>{a?.remove()},[a]),a},ih=()=>{let e;function t(t,n){return e||(n&&(e=t.ownerDocument.createElement(`div`),t.appendChild(e)),e)}function n(){e&&=(e.remove(),void 0)}return{get:t,dispose:n}},ah=nh?e=>{"use no memo";let{className:t,dir:n,focusVisibleRef:r,targetNode:i}=e,[a]=_.useState(ih),o=_.useMemo(()=>i===void 0||e.disabled?null:new Proxy({},{get(e,t){if(t===`nodeType`)return 1;if(t===`remove`){let e=a.get(i,!1);return e&&e.childNodes.length===0&&a.dispose(),()=>{}}let n=a.get(i,!0),r=n?n[t]:void 0;return typeof r==`function`?r.bind(n):r},set(e,t,n){let r=t===`_virtual`||t===`focusVisible`,o=r?a.get(i,!1):a.get(i,!0);return r&&!o?!0:o?(Object.assign(o,{[t]:n}),!0):!1}}),[a,i,e.disabled]);return nh(()=>{if(!o)return;let e=t.split(` `).filter(Boolean);return o.classList.add(...e),o.setAttribute(`dir`,n),o.setAttribute(`data-portal-node`,`true`),r.current=o,()=>{o.classList.remove(...e),o.removeAttribute(`dir`)}},[t,n,o,r]),_.useEffect(()=>()=>{o?.remove()},[o]),o}:rh,oh=e=>{"use no memo";let{targetDocument:t,dir:n}=ti(),r=li(),i=tc(),a=th(),o=Xr();return ah({dir:n,disabled:e.disabled,focusVisibleRef:i,className:O(o,a.root,e.className),targetNode:r??t?.body})},sh=e=>{let{element:t,className:n}=eh(e.mountNode),r=_.useRef(null),i=oh({disabled:!!t,className:n}),a=t??i,o={children:e.children,mountNode:a,virtualParentRootRef:r};return _.useEffect(()=>{if(!a)return;let e=r.current,t=a.contains(e);if(e&&!t)return Xi(a,e),()=>{Xi(a,void 0)}},[r,a]),o},ch=l(h()),lh=e=>_.createElement(`span`,{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&ch.createPortal(_.createElement(_.Fragment,null,e.children,_.createElement(`span`,{hidden:!0})),e.mountNode)),uh=e=>lh(sh(e));uh.displayName=`Portal`;var dh=e=>{let{iconOnly:t,iconPosition:n}=e;return aa(e.root,{children:[n!==`after`&&e.icon&&U(e.icon,{}),!t&&e.root.children,n===`after`&&e.icon&&U(e.icon,{})]})},fh=_.createContext(void 0),ph={};fh.Provider;var mh=()=>_.useContext(fh)??ph,hh=(e,t)=>{let{size:n}=mh(),{appearance:r=`secondary`,as:i=`button`,disabled:a=!1,disabledFocusable:o=!1,icon:s,iconPosition:c=`before`,shape:l=`rounded`,size:u=n??`medium`}=e,d=F(s,{elementType:`span`});return{appearance:r,disabled:a,disabledFocusable:o,iconPosition:c,shape:l,size:u,iconOnly:!!(d?.children&&!e.children),components:{root:`button`,icon:`span`},root:P(L(i,ju(e.as,e)),{elementType:`button`,defaultProps:{ref:t,type:i===`button`?`button`:void 0}}),icon:d}},gh={root:`fui-Button`,icon:`fui-Button__icon`};`${Q.strokeWidthThin}`;var _h=or(`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;}}`]}),vh=or(`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);}`]),yh=N({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);}`.split(`,`),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)`}]]}),bh=N({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;}`.split(`,`),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)`}]]}),xh=N({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;}}`]}),Sh=N({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;}`]}),Ch=N({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);}`]}),wh=e=>{"use no memo";let t=_h(),n=vh(),r=yh(),i=bh(),a=xh(),o=Sh(),s=Ch(),{appearance:c,disabled:l,disabledFocusable:u,icon:d,iconOnly:f,iconPosition:p,shape:m,size:h}=e;return e.root.className=O(gh.root,t,c&&r[c],r[h],d&&h===`small`&&r.smallWithIcon,d&&h===`large`&&r.largeWithIcon,r[m],(l||u)&&i.base,(l||u)&&i.highContrast,c&&(l||u)&&i[c],c===`primary`&&a.primary,a[h],a[m],f&&o[h],e.root.className),e.icon&&(e.icon.className=O(gh.icon,n,!!e.root.children&&s[p],s[h],e.icon.className)),e},Th=_.forwardRef((e,t)=>{let n=hh(e,t);return wh(n),R(`useButtonStyles_unstable`)(n),dh(n)});Th.displayName=`Button`;var Eh=_.createContext(void 0);Eh.Provider;var Dh=()=>_.useContext(Eh);function Oh(e,t){return kh(Dh(),e,t)}function kh(e,t,n){if(!e)return t;t={...t};let{generatedControlId:r,hintId:i,labelFor:a,labelId:o,required:s,validationMessageId:c,validationState:l}=e;if(r){var u;(u=t).id??(u.id=r)}if(o&&(!n?.supportsLabelFor||a!==t.id)){var d,f;(d=t)[f=`aria-labelledby`]??(d[f]=o)}if((c||i)&&(t[`aria-describedby`]=[c,i,t?.[`aria-describedby`]].filter(Boolean).join(` `)),l===`error`){var p,m;(p=t)[m=`aria-invalid`]??(p[m]=!0)}if(s)if(n?.supportsRequired){var h;(h=t).required??(h.required=!0)}else{var g,_;(g=t)[_=`aria-required`]??(g[_]=!0)}if(n?.supportsSize){var v;(v=t).size??(v.size=e.size)}return t}var Ah=(e,t)=>{let{disabled:n=!1,required:r=!1,weight:i=`regular`,size:a=`medium`}=e;return{disabled:n,required:F(r===!0?`*`:r||void 0,{defaultProps:{"aria-hidden":`true`},elementType:`span`}),weight:i,size:a,components:{root:`label`,required:`span`},root:P(L(`label`,{ref:t,...e}),{elementType:`label`})}},jh=e=>aa(e.root,{children:[e.root.children,e.required&&U(e.required,{})]}),Mh={root:`fui-Label`,required:`fui-Label__required`},Nh=N({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)`}]]}),Ph=e=>{"use no memo";let t=Nh();return e.root.className=O(Mh.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight===`semibold`&&t.semibold,e.root.className),e.required&&(e.required.className=O(Mh.required,t.required,e.disabled&&t.disabled,e.required.className)),e},Fh=_.forwardRef((e,t)=>{let n=Ah(e,t);return Ph(n),R(`useLabelStyles_unstable`)(n),jh(n)});Fh.displayName=`Label`;var Ih=(e,t)=>{"use no memo";e=Oh(e,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:n=!1,required:r,shape:i=`square`,size:a=`medium`,labelPosition:o=`after`,onChange:s}=e,[c,l]=pi({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),u=Ur({props:e,primarySlotTagName:`input`,excludedPropNames:[`checked`,`defaultChecked`,`size`,`onChange`]}),d=c===`mixed`,f=Ti(`checkbox-`,u.primary.id),p;d?p=i===`circular`?_.createElement(id,null):a===`large`?_.createElement(fd,null):_.createElement(dd,null):c&&(p=a===`large`?_.createElement(ud,null):_.createElement(ld,null));let m={shape:i,checked:c,disabled:n,size:a,labelPosition:o,components:{root:`span`,input:`input`,indicator:`div`,label:Fh},root:P(e.root,{defaultProps:{ref:oc(),...u.root},elementType:`span`}),input:P(e.input,{defaultProps:{type:`checkbox`,id:f,ref:t,checked:c===!0,...u.primary},elementType:`input`}),label:F(e.label,{defaultProps:{htmlFor:f,disabled:n,required:r,size:`medium`},elementType:Fh}),indicator:F(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:p},elementType:`div`})};m.input.onChange=B(e=>{let t=e.currentTarget.indeterminate?`mixed`:e.currentTarget.checked;s?.(e,{checked:t}),l(t)});let h=Ei(m.input.ref);return m.input.ref=h,bi(()=>{h.current&&(h.current.indeterminate=d)},[h,d]),m},Lh=e=>aa(e.root,{children:[U(e.input,{}),e.labelPosition===`before`&&e.label&&U(e.label,{}),e.indicator&&U(e.indicator,{}),e.labelPosition===`after`&&e.label&&U(e.label,{})]}),Rh={root:`fui-Checkbox`,label:`fui-Checkbox__label`,input:`fui-Checkbox__input`,indicator:`fui-Checkbox__indicator`},zh=or(`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;}}`]}),Bh=N({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)`}]]}),Vh=or(`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));}`]),Hh=N({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));}`]}),Uh=or(`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;}`]),Wh=N({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}]]}),Gh=N({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);}`]}),Kh=e=>{"use no memo";let{checked:t,disabled:n,labelPosition:r,shape:i,size:a}=e,o=zh(),s=Bh();e.root.className=O(Rh.root,o,n?s.disabled:t===`mixed`?s.mixed:t?s.checked:s.unchecked,e.root.className);let c=Vh(),l=Hh();e.input.className=O(Rh.input,c,a===`large`&&l.large,l[r],e.input.className);let u=Uh(),d=Wh();e.indicator&&(e.indicator.className=O(Rh.indicator,u,a===`large`&&d.large,i===`circular`&&d.circular,e.indicator.className));let f=Gh();return e.label&&(e.label.className=O(Rh.label,f.base,f[a],f[r],e.label.className)),e},qh=_.forwardRef((e,t)=>{let n=Ih(e,t);return Kh(n),R(`useCheckboxStyles_unstable`)(n),Lh(n)});qh.displayName=`Checkbox`;var Jh=eu({activeOption:void 0,appearance:`outline`,focusVisible:!1,open:!1,registerOption(){return()=>void 0},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:`medium`});Jh.Provider;var Yh={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>void 0},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Xh=eu(void 0),Zh=e=>tu(Xh,(t=Yh)=>e(t));Xh.Provider;function Qh(e){let{appearance:t,open:n,getOptionById:r,getOptionsMatchingValue:i,registerOption:a,selectedOptions:o,selectOption:s,setOpen:c,size:l,activeDescendantController:u,onOptionClick:d,onActiveDescendantChange:f}=e,p={activeOption:void 0,appearance:t,focusVisible:!1,open:n,registerOption:a,selectedOptions:o,selectOption:s,setActiveOption:()=>null,setOpen:c,size:l},m={activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:i,registerOption:a,selectedOptions:o,selectOption:s,setActiveOption:()=>null,onOptionClick:d,onActiveDescendantChange:f};return{combobox:p,activeDescendant:_.useMemo(()=>({controller:u}),[u]),listbox:m}}function $h(e){let t=nu(Xh),{getOptionById:n,getOptionsMatchingValue:r,multiselect:i,registerOption:a,selectedOptions:o,selectOption:s,activeDescendantController:c}=e,l=Zh(e=>e.registerOption),u=Zh(e=>e.onOptionClick),d=Zh(e=>e.onActiveDescendantChange);return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:r,multiselect:i,registerOption:t?l:a,selectedOptions:o,selectOption:s,setActiveOption:()=>void 0,onOptionClick:u,onActiveDescendantChange:d},activeDescendant:_.useMemo(()=>({controller:c}),[c])}}function eg(e,t={}){let{open:n=!0,multiselect:r=!1}=t,i=e.key,{altKey:a,ctrlKey:o,key:s,metaKey:c}=e;return s.length===1&&i!==` `&&!a&&!o&&!c?`Type`:n?i===`ArrowUp`&&a||i===`Enter`||!r&&i===` `?`CloseSelect`:r&&i===` `?`Select`:i===`Escape`?`Close`:i===`ArrowDown`?`Next`:i===`ArrowUp`?`Previous`:i===`Home`?`First`:i===`End`?`Last`:i===`PageUp`?`PageUp`:i===`PageDown`?`PageDown`:i===`Tab`?`Tab`:`None`:i===`ArrowDown`||i===`ArrowUp`||i===`Enter`||i===` `?`Open`:`None`}var tg=()=>{let e=_.useRef(new Map),t=_.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>void 0,getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter(({text:e})=>t(e)),getOptionsMatchingValue:t=>{let n=[];for(let r of e.current.values())t(r.value)&&n.push(r);return n}}),[]),n=_.useCallback(t=>(e.current.set(t.id,t),()=>e.current.delete(t.id)),[]);return{...t,options:Array.from(e.current.values()),registerOption:n}},ng=e=>{let{defaultSelectedOptions:t,multiselect:n,onOptionSelect:r}=e,[i,a]=pi({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{a([]),r?.(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:_.useCallback((e,t)=>{if(t.disabled)return;let o=[t.value];if(n){let e=i.findIndex(e=>e===t.value);o=e>-1?[...i.slice(0,e),...i.slice(e+1)]:[...i,t.value]}a(o),r?.(e,{optionValue:t.value,optionText:t.text,selectedOptions:o})},[r,n,i,a]),selectedOptions:i}},rg={root:`fui-Option`,checkIcon:`fui-Option__checkIcon`},ig=N({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)`}]]}),ag=e=>{"use no memo";let{disabled:t,multiselect:n,selected:r}=e,i=ig();return e.root.className=O(rg.root,i.root,i.active,t&&i.disabled,r&&i.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=O(rg.checkIcon,i.checkIcon,n&&i.multiselectCheck,r&&i.selectedCheck,r&&n&&i.selectedMultiselectCheck,t&&i.checkDisabled,t&&n&&i.multiselectCheckDisabled,e.checkIcon.className)),e},og={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},sg=(e,t)=>{"use no memo";let{multiselect:n,disableAutoFocus:r=!1}=e,i=tg(),{listboxRef:a,activeParentRef:o,controller:s}=qu({matchOption:e=>e.classList.contains(rg.root)}),c=nu(Xh),l=Zh(e=>e.onActiveDescendantChange),u=Zh(e=>e.getOptionById),d=Zh(e=>e.getOptionsMatchingValue),f=c?u:i.getOptionById,p=c?d:i.getOptionsMatchingValue,m=_.useMemo(()=>{let e=null,t=e=>{l?.(e)};return n=>{if(!n){e?.removeEventListener(`activedescendantchange`,t);return}e=n,e.addEventListener(`activedescendantchange`,t)}},[l]),[h,g]=_.useState(!1);cc(g);let v=Iu(),y=Lu(),b=y?v.controller:s,{clearSelection:x,selectedOptions:S,selectOption:C}=ng(e),w=e=>{let t=eg(e,{open:!0}),n=b.active(),r=n?f(n):null;switch(t){case`First`:case`Last`:case`Next`:case`Previous`:case`PageDown`:case`PageUp`:case`CloseSelect`:case`Select`:e.preventDefault();break}switch(t){case`Next`:r?b.next():b.first();break;case`Previous`:r?b.prev():b.first();break;case`PageUp`:case`First`:b.first();break;case`PageDown`:case`Last`:b.last();break;case`Select`:case`CloseSelect`:r&&C(e,r);break}},T=Zh(e=>e.selectedOptions),ee=Zh(e=>e.selectOption),E=c?{selectedOptions:T,selectOption:ee,...og}:{selectedOptions:S,selectOption:C,...og};_.useEffect(()=>{if(!y){if(b.hideFocusVisibleAttributes(),!r)if(!n&&E.selectedOptions.length>0){let e=p(e=>e===E.selectedOptions[0]).pop();e?.id&&b.focus(e.id)}else b.first();return()=>{b.blur()}}},[]);let te=_.useCallback(()=>{y||(b.showFocusVisibleAttributes(),h&&b.scrollActiveIntoView())},[b,y,h]),ne=_.useCallback(()=>{y||b.hideFocusVisibleAttributes()},[b,y]),D={components:{root:`div`},root:P(L(`div`,{ref:Ei(t,o,a,m),role:n?`menu`:`listbox`,tabIndex:0,...e}),{elementType:`div`}),standalone:!c,multiselect:n,clearSelection:x,activeDescendantController:b,onActiveDescendantChange:l,...i,...E};return D.root.onKeyDown=B(Li(D.root.onKeyDown,w)),D.root.onFocus=B(Li(D.root.onFocus,te)),D.root.onBlur=B(Li(D.root.onBlur,ne)),D},cg=(e,t)=>U(Fu,{value:t.activeDescendant,children:U(Xh.Provider,{value:t.listbox,children:U(e.root,{})})}),lg={root:`fui-Listbox`},ug=N({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);}`]}),dg=e=>{"use no memo";let t=ug();return e.root.className=O(lg.root,t.root,e.root.className),e},fg=_.forwardRef((e,t)=>{let n=sg(e,t),r=$h(n);return dg(n),R(`useListboxStyles_unstable`)(n),cg(n,r)});fg.displayName=`Listbox`;function pg(e,t){if(e!==void 0)return e;let n=``,r=!1;return _.Children.forEach(t,e=>{typeof e==`string`?n+=e:r=!0}),r&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}var mg=(e,t)=>{let{children:n,disabled:r,text:i,value:a}=e,o=_.useRef(null),s=pg(i,n),c=a??s,l=Ti(`fluent-option`,e.id),u=_.useMemo(()=>({id:l,disabled:r,text:s,value:c}),[l,r,s,c]),{controller:d}=Iu(),f=Zh(e=>e.multiselect),p=Zh(e=>e.registerOption),m=Zh(e=>{let t=e.selectedOptions;return c!==void 0&&t.find(e=>e===c)!==void 0}),h=Zh(e=>e.selectOption),g=Zh(e=>e.onOptionClick),v=_.createElement(ed,null);f&&(v=m?_.createElement(ld,null):``);let y=t=>{var n;if(r){t.preventDefault();return}d.focus(l),h(t,u),g(t),(n=e.onClick)==null||n.call(e,t)};_.useEffect(()=>{if(l&&o.current)return p(u,o.current)},[l,u,p]);let b=f?{role:`menuitemcheckbox`,"aria-checked":m}:{role:`option`,"aria-selected":m};return{components:{root:`div`,checkIcon:`span`},root:P(L(`div`,{ref:Ei(t,o),"aria-disabled":r?`true`:void 0,id:l,...b,...e,onClick:y}),{elementType:`div`}),checkIcon:F(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":`true`,children:v},elementType:`span`}),disabled:r,multiselect:f,selected:m,focusVisible:!1,active:!1}},hg=e=>aa(e.root,{children:[e.checkIcon&&U(e.checkIcon,{}),e.root.children]}),gg=_.forwardRef((e,t)=>{let n=mg(e,t);return ag(n),R(`useOptionStyles_unstable`)(n),hg(n)});gg.displayName=`Option`;var _g=e=>{"use no memo";let{appearance:t=`outline`,disableAutoFocus:n,children:r,clearable:i=!1,editable:a=!1,inlinePopup:o=!1,mountNode:s=void 0,multiselect:c,onOpenChange:l,size:u=`medium`,activeDescendantController:d,freeform:f=!1,disabled:p=!1,onActiveOptionChange:m=null}=e,h=tg(),{getOptionsMatchingValue:g}=h,{getOptionById:v}=h,y=_.useCallback(()=>{let e=d.active();return e?v(e):void 0},[d,v]),b=y(),x=_.useCallback(e=>{let t;typeof e==`function`&&(t=e(y())),t?d.focus(t.id):d.blur()},[d,y]),[S,C]=_.useState(!1),[w,T]=_.useState(!1),ee=_.useRef(!1),E=xi(),[te,ne]=pi({state:e.value,initialState:void 0}),{selectedOptions:D,selectOption:re,clearSelection:ie}=ng(e),ae=_.useCallback((e,t)=>{ch.unstable_batchedUpdates(()=>{ne(void 0),re(e,t)})},[ne,re]),oe=_.useMemo(()=>{if(te!==void 0)return te;if(E&&e.defaultValue!==void 0)return e.defaultValue;let t=g(e=>D.includes(e)).map(e=>e.text);return c?a?``:t.join(`, `):t[0]},[te,a,g,c,D]),[se,ce]=pi({state:e.open,defaultState:e.defaultOpen,initialState:!1}),le=_.useCallback((e,t)=>{p||(l?.(e,{open:t}),ch.unstable_batchedUpdates(()=>{!t&&!f&&ne(void 0),ce(t)}))},[l,ce,ne,f,p]);_.useEffect(()=>{if(se){if(!c&&D.length>0){let e=g(e=>e===D[0]).pop();e?.id&&d.focus(e.id)}}else d.blur()},[se,d]),_.useEffect(()=>{se&&!n&&!d.active()&&d.first()},[se,r,n,d,v]);let ue=B(e=>{let t=e.detail.previousId?h.getOptionById(e.detail.previousId):null,n=h.getOptionById(e.detail.id);m?.(e,{event:e,type:`change`,previousOption:t,nextOption:n})});return{...h,freeform:f,disabled:p,selectOption:ae,clearSelection:ie,selectedOptions:D,activeOption:b,appearance:t,clearable:i,focusVisible:S,ignoreNextBlur:ee,inlinePopup:o,mountNode:s,open:se,hasFocus:w,setActiveOption:x,setFocusVisible:C,setHasFocus:T,setOpen:le,setValue:ne,size:u,value:oe,multiselect:c,onOptionClick:B(e=>{c||le(e,!1)}),onActiveDescendantChange:ue}};function vg(e){let{positioning:t}=e,{targetRef:n,containerRef:r}=$m({position:`below`,align:`start`,offset:{crossAxis:0,mainAxis:2},fallbackPositions:[`above`,`after`,`after-top`,`before`,`before-top`],matchTargetSize:`width`,autoSize:!0,...Mm(t)});return[r,n]}function yg(e,t,n){let{state:{multiselect:r},triggerRef:i,defaultProps:a}=n,o=Ti(`fluent-listbox`,pr(e)?e.id:void 0),s=F(e,{renderByDefault:!0,elementType:fg,defaultProps:{id:o,multiselect:r,tabIndex:void 0,...a}}),c=Oh({id:o},{supportsLabelFor:!0});s&&!s[`aria-label`]&&!s[`aria-labelledby`]&&c[`aria-labelledby`]&&(s[`aria-labelledby`]=c[`aria-labelledby`]);let l=B(Li(e=>{e.preventDefault()},s?.onMouseDown)),u=B(Li(e=>{var t;e.preventDefault(),(t=i.current)==null||t.focus()},s?.onClick)),d=Ei(s?.ref,t);return s&&(s.ref=d,s.onMouseDown=l,s.onClick=u),s}function bg(e,t,n){let{state:{open:r,setOpen:i,setHasFocus:a},defaultProps:o,elementType:s,activeDescendantController:c}=n,l=P(e,{defaultProps:{type:`text`,"aria-expanded":r,role:`combobox`,...typeof o==`object`&&o},elementType:s});return l.ref=Ei(_.useRef(null),l.ref,t),l.onBlur=Li(e=>{i(e,!1),a(!1)},l.onBlur),l.onFocus=Li(e=>{e.target===e.currentTarget&&a(!0)},l.onFocus),l.onClick=Li(e=>{i(e,!r)},l.onClick),l.onKeyDown=Li(xg({activeDescendantController:c,...n.state}),l.onKeyDown),l}function xg(e){let{activeDescendantController:t,getOptionById:n,setOpen:r,selectOption:i,multiselect:a,open:o}=e,s=_.useCallback(()=>{let e=t.active();return e?n(e):void 0},[t,n]),c=()=>{t.first()},l=()=>{t.last()},u=e=>{e?t.next():t.first()},d=e=>{e?t.prev():t.first()},f=()=>{for(let e=0;e<10;e++)t.prev()},p=()=>{for(let e=0;e<10;e++)t.next()},m=gc();return B(e=>{let t=eg(e,{open:o,multiselect:a}),n=s();switch(t){case`First`:case`Last`:case`Next`:case`Previous`:case`PageDown`:case`PageUp`:case`Open`:case`Close`:case`CloseSelect`:case`Select`:e.preventDefault();break}switch(m(!0),t){case`First`:c();break;case`Last`:l();break;case`Next`:u(n);break;case`Previous`:d(n);break;case`PageDown`:p();break;case`PageUp`:f();break;case`Open`:r(e,!0);break;case`Close`:e.stopPropagation(),r(e,!1);break;case`CloseSelect`:!a&&!n?.disabled&&r(e,!1);case`Select`:n&&i(e,n);break;case`Tab`:!a&&n&&i(e,n);break}})}function Sg(e,t,n){"use no memo";let{state:{open:r,setOpen:i,getOptionById:a},defaultProps:o,activeDescendantController:s}=n,c=_.useRef(``),[l,u]=Pi(),d=(e,t={startFromNext:!1})=>{let{startFromNext:n}=t,r=s.active();return s.find(t=>{let n=a(t);return!!n&&e(n.text)},{startFrom:n?s.next({passive:!0}):r})||s.find(t=>{let n=a(t);return!!n&&e(n.text)})},f=()=>{d(e=>e.toLocaleLowerCase().indexOf(c.current)===0,{startFromNext:c.current.length===1})||Cg(c.current)&&d(e=>e.toLocaleLowerCase().indexOf(c.current[0])===0,{startFromNext:!0})||s.blur()},p=e=>{u(),eg(e)===`Type`&&(c.current+=e.key.toLowerCase(),l(()=>{c.current=``},500),r&&f(),!r&&i(e,!0))},m=bg(e,t,{state:n.state,defaultProps:o,elementType:`button`,activeDescendantController:s});return m.onKeyDown=Li(p,m.onKeyDown),m}function Cg(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}var wg=(e,t)=>{"use no memo";e=Oh(e,{supportsLabelFor:!0,supportsSize:!0});let{listboxRef:n,activeParentRef:r,controller:i}=qu({matchOption:e=>e.classList.contains(rg.root)}),a=_g({...e,activeDescendantController:i,freeform:!1}),{clearable:o,clearSelection:s,disabled:c,hasFocus:l,multiselect:u,open:d,selectedOptions:f,setOpen:p}=a,{primary:m,root:h}=Ur({props:e,primarySlotTagName:`button`,excludedPropNames:[`children`]}),[g,v]=vg(e),y=_.useRef(null),b=yg(e.listbox,Ei(g,n),{state:a,triggerRef:y,defaultProps:{children:e.children}}),{targetDocument:x}=ti();Oi({element:x,callback:e=>p(e,!1),refs:[y,g,v],disabled:!d});let S=Sg(e.button??{},Ei(y,r,t),{state:a,defaultProps:{type:`button`,tabIndex:m.disabled?void 0:0,children:a.value||e.placeholder,"aria-controls":d?b?.id:void 0,...m},activeDescendantController:i}),C=P(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&d?b?.id:void 0,children:e.children,...h},elementType:`div`});C.ref=Ei(C.ref,v);let w=f.length>0&&!c&&o&&!u,T={components:{root:`div`,button:`button`,clearButton:`button`,expandIcon:`span`,listbox:fg},root:C,button:S,listbox:d||l?b:void 0,clearButton:F(e.clearButton,{defaultProps:{"aria-label":`Clear selection`,children:_.createElement(od,null),tabIndex:w?0:void 0,type:`button`},elementType:`button`,renderByDefault:!0}),expandIcon:F(e.expandIcon,{renderByDefault:!0,defaultProps:{children:_.createElement(nd,null)},elementType:`span`}),placeholderVisible:!a.value&&!!e.placeholder,showClearButton:w,activeDescendantController:i,...a},ee=B(Li(T.clearButton?.onClick,e=>{var t;s(e),(t=y.current)==null||t.focus()}));return T.clearButton&&(T.clearButton.onClick=ee),u&&(T.clearButton=void 0),T},Tg=(e,t)=>U(e.root,{children:U(Fu,{value:t.activeDescendant,children:U(Xh.Provider,{value:t.listbox,children:aa(Jh.Provider,{value:t.combobox,children:[aa(e.button,{children:[e.button.children,e.expandIcon&&U(e.expandIcon,{})]}),e.clearButton&&U(e.clearButton,{}),e.listbox&&(e.inlinePopup?U(e.listbox,{}):U(uh,{mountNode:e.mountNode,children:U(e.listbox,{})}))]})})})}),Eg={root:`fui-Dropdown`,button:`fui-Dropdown__button`,clearButton:`fui-Dropdown__clearButton`,expandIcon:`fui-Dropdown__expandIcon`,listbox:`fui-Dropdown__listbox`},Dg=N({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);}`]}),Og=N({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);}`]}),kg=or(`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;}}`]}),Ag=e=>{"use no memo";let{appearance:t,open:n,placeholderVisible:r,showClearButton:i,size:a}=e,o=`${e.button[`aria-invalid`]}`==`true`,s=e.button.disabled,c=Dg(),l=Og(),u=kg();return e.root.className=O(Eg.root,c.root,c[t],!s&&t===`outline`&&c.outlineInteractive,o&&t!==`underline`&&c.invalid,o&&t===`underline`&&c.invalidUnderline,s&&c.disabled,e.root.className),e.button.className=O(Eg.button,c.button,c[a],r&&c.placeholder,s&&c.disabledText,e.button.className),e.listbox&&(e.listbox.className=O(Eg.listbox,c.listbox,e.inlinePopup&&c.inlineListbox,!n&&c.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=O(Eg.expandIcon,l.icon,l[a],s&&l.disabled,i&&c.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=O(Eg.clearButton,u,l.icon,l[a],s&&l.disabled,!i&&c.hidden,e.clearButton.className)),e},jg=_.forwardRef((e,t)=>{let n=wg(e,t),r=Qh(n);return Ag(n),R(`useDropdownStyles_unstable`)(n),Tg(n,r)});jg.displayName=`Dropdown`;var Mg=(e,t)=>{e=Oh(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let n=ii(),{size:r=`medium`,appearance:i=n.inputDefaultAppearance??`outline`,onChange:a}=e,[o,s]=pi({state:e.value,defaultState:e.defaultValue,initialState:``}),c=Ur({props:e,primarySlotTagName:`input`,excludedPropNames:[`size`,`onChange`,`value`,`defaultValue`]}),l={size:r,appearance:i,components:{root:`span`,input:`input`,contentBefore:`span`,contentAfter:`span`},input:P(e.input,{defaultProps:{type:`text`,ref:t,...c.primary},elementType:`input`}),contentAfter:F(e.contentAfter,{elementType:`span`}),contentBefore:F(e.contentBefore,{elementType:`span`}),root:P(e.root,{defaultProps:c.root,elementType:`span`})};return l.input.value=o,l.input.onChange=B(e=>{let t=e.target.value;a?.(e,{value:t}),s(t)}),l},Ng={root:`fui-Input`,input:`fui-Input__input`,contentBefore:`fui-Input__contentBefore`,contentAfter:`fui-Input__contentAfter`};Q.spacingHorizontalSNudge,Q.spacingHorizontalMNudge,Q.spacingHorizontalM,Q.spacingHorizontalXXS,Q.spacingHorizontalXXS,Q.spacingHorizontalSNudge,Q.spacingHorizontalS,Q.spacingHorizontalM,`${Q.spacingHorizontalM}${Q.spacingHorizontalSNudge}`;var Pg=or(`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;}}`]}),Fg=N({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;}`]}),Ig=or(`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;}`]),Lg=N({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);}`]}),Rg=or(`r1572tok`,null,[`.r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}`,`.r1572tok>svg{font-size:20px;}`]),zg=N({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;}`]}),Bg=e=>{"use no memo";let{size:t,appearance:n}=e,r=e.input.disabled,i=`${e.input[`aria-invalid`]}`==`true`,a=n.startsWith(`filled`),o=Fg(),s=Lg(),c=zg();e.root.className=O(Ng.root,Pg(),o[t],e.contentBefore&&o[`${t}WithContentBefore`],e.contentAfter&&o[`${t}WithContentAfter`],o[n],!r&&n===`outline`&&o.outlineInteractive,!r&&n===`underline`&&o.underlineInteractive,!r&&a&&o.filledInteractive,a&&o.filled,!r&&i&&o.invalid,r&&o.disabled,e.root.className),e.input.className=O(Ng.input,Ig(),s[t],e.contentBefore&&s[`${t}WithContentBefore`],e.contentAfter&&s[`${t}WithContentAfter`],r&&s.disabled,e.input.className);let l=[Rg(),r&&c.disabled,c[t]];return e.contentBefore&&(e.contentBefore.className=O(Ng.contentBefore,...l,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=O(Ng.contentAfter,...l,e.contentAfter.className)),e},Vg=_.createContext(void 0),Hg={};Vg.Provider;var Ug=()=>_.useContext(Vg)||Hg,Wg=e=>aa(e.root,{children:[U(e.input,{}),U(e.indicator,{}),e.label&&U(e.label,{})]}),Gg=(e,t)=>{let n=Ug(),{name:r=n.name,checked:i=n.value===void 0?void 0:n.value===e.value,defaultChecked:a=n.defaultValue===void 0?void 0:n.defaultValue===e.value,labelPosition:o=n.layout===`horizontal-stacked`?`below`:`after`,disabled:s=n.disabled,required:c=n.required,"aria-describedby":l=n[`aria-describedby`],onChange:u}=e,d=Ur({props:e,primarySlotTagName:`input`,excludedPropNames:[`checked`,`defaultChecked`,`onChange`]}),f=P(e.root,{defaultProps:{ref:oc(),...d.root},elementType:`span`}),p=P(e.input,{defaultProps:{ref:t,type:`radio`,id:Ti(`radio-`,d.primary.id),name:r,checked:i,defaultChecked:a,disabled:s,required:c,"aria-describedby":l,...d.primary},elementType:`input`});p.onChange=Li(p.onChange,e=>u?.(e,{value:e.currentTarget.value}));let m=F(e.label,{defaultProps:{htmlFor:p.id,disabled:p.disabled},elementType:Fh}),h=P(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:`div`});return{labelPosition:o,components:{root:`span`,input:`input`,label:Fh,indicator:`div`},root:f,input:p,label:m,indicator:h}},Kg={root:`fui-Radio`,indicator:`fui-Radio__indicator`,input:`fui-Radio__input`,label:`fui-Radio__label`},qg=or(`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;}}`]}),Jg=N({vertical:{Beiy3e4:`f1vx9l62`,Bt984gj:`f122n59`}},{d:[`.f1vx9l62{flex-direction:column;}`,`.f122n59{align-items:center;}`]}),Yg=or(`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);}`.split(`,`),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;}}`]}),Xg=N({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;}`]}),Zg=or(`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;}`]),Qg=N({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;}`]}),$g=e=>{"use no memo";let{labelPosition:t}=e,n=qg(),r=Jg();e.root.className=O(Kg.root,n,t===`below`&&r.vertical,e.root.className);let i=Yg(),a=Xg();e.input.className=O(Kg.input,i,t===`below`&&a.below,e.indicator.children?a.customIndicator:a.defaultIndicator,e.input.className);let o=Zg();e.indicator.className=O(Kg.indicator,o,e.indicator.className);let s=Qg();return e.label&&(e.label.className=O(Kg.label,s.base,s[t],e.label.className)),e},e_=_.forwardRef((e,t)=>{let n=Gg(e,t);return $g(n),R(`useRadioStyles_unstable`)(n),Wg(n)});e_.displayName=`Radio`;var t_=_.createContext(void 0),n_={};t_.Provider;var r_=()=>_.useContext(t_)??n_,i_=(e,t)=>{let{size:n}=r_(),{appearance:r=`primary`,labelPosition:i=`after`,size:a=n??`medium`,delay:o=0}=e,s=Ti(`spinner`),{role:c=`progressbar`,...l}=e,u=P(L(`div`,{ref:t,role:c,...l},[`size`]),{elementType:`div`}),[d,f]=_.useState(!1),[p,m]=Pi();_.useEffect(()=>{if(!(o<=0))return p(()=>{f(!0)},o),()=>{m()}},[p,m,o]);let h=F(e.label,{defaultProps:{id:s},renderByDefault:!1,elementType:Fh}),g=F(e.spinner,{renderByDefault:!0,elementType:`span`});return h&&u&&!u[`aria-labelledby`]&&(u[`aria-labelledby`]=h.id),{appearance:r,delay:o,labelPosition:i,size:a,shouldRenderSpinner:!o||d,components:{root:`div`,spinner:`span`,spinnerTail:`span`,label:Fh},root:u,spinner:g,spinnerTail:P(e.spinnerTail,{elementType:`span`}),label:h}},a_=e=>{let{labelPosition:t,shouldRenderSpinner:n}=e;return aa(e.root,{children:[e.label&&n&&(t===`above`||t===`before`)&&U(e.label,{}),e.spinner&&n&&U(e.spinner,{children:e.spinnerTail&&U(e.spinnerTail,{})}),e.label&&n&&(t===`below`||t===`after`)&&U(e.label,{})]})},o_={root:`fui-Spinner`,spinner:`fui-Spinner__spinner`,spinnerTail:`fui-Spinner__spinnerTail`,label:`fui-Spinner__label`},s_=or(`rpp59a7`,null,[`.rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}`]),c_=N({vertical:{Beiy3e4:`f1vx9l62`}},{d:[`.f1vx9l62{flex-direction:column;}`]}),l_=or(`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;}}`]}),u_=or(`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;}}`]}),d_=N({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)`}]]}),f_=N({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);}`]}),p_=e=>{"use no memo";let{labelPosition:t,size:n,appearance:r}=e,{dir:i}=ti(),a=s_(),o=c_(),s=l_(),c=d_(),l=u_(),u=f_();return e.root.className=O(o_.root,a,(t===`above`||t===`below`)&&o.vertical,e.root.className),e.spinner&&(e.spinner.className=O(o_.spinner,s,c[n],r===`inverted`&&c.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=O(o_.spinnerTail,l,i===`rtl`&&c.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=O(o_.label,u[n],r===`inverted`&&u.inverted,e.label.className)),e},m_=_.forwardRef((e,t)=>{let n=i_(e,t);return p_(n),R(`useSpinnerStyles_unstable`)(n),a_(n)});m_.displayName=`Spinner`;var h_=(e,t)=>{let{wrap:n,truncate:r,block:i,italic:a,underline:o,strikethrough:s,size:c,font:l,weight:u,align:d}=e;return{align:d??`start`,block:i??!1,font:l??`base`,italic:a??!1,size:c??300,strikethrough:s??!1,truncate:r??!1,underline:o??!1,weight:u??`regular`,wrap:n??!0,components:{root:`span`},root:P(L(`span`,{ref:t,...e}),{elementType:`span`})}},g_=e=>U(e.root,{}),__={root:`fui-Text`},v_=N({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;}`]}),y_=e=>{"use no memo";let t=v_();return e.root.className=O(__.root,t.root,e.wrap===!1&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,e.size===100&&t.base100,e.size===200&&t.base200,e.size===400&&t.base400,e.size===500&&t.base500,e.size===600&&t.base600,e.size===700&&t.hero700,e.size===800&&t.hero800,e.size===900&&t.hero900,e.size===1e3&&t.hero1000,e.font===`monospace`&&t.monospace,e.font===`numeric`&&t.numeric,e.weight===`medium`&&t.weightMedium,e.weight===`semibold`&&t.weightSemibold,e.weight===`bold`&&t.weightBold,e.align===`center`&&t.alignCenter,e.align===`end`&&t.alignEnd,e.align===`justify`&&t.alignJustify,e.root.className),e},b_=_.forwardRef((e,t)=>{let n=h_(e,t);return y_(n),R(`useTextStyles_unstable`)(n),g_(n)});b_.displayName=`Text`;function x_(e){let{useStyles:t,className:n,displayName:r}=e,i=_.forwardRef((e,r)=>{"use no memo";let i=t(),a=h_(e,r);return y_(a),a.root.className=O(n,a.root.className,i.root,e.className),g_(a)});return i.displayName=r,i}var S_=x_({useStyles:N({root:{Bahqtrf:`fk6fouc`,Be2twd7:`fkhj508`,Bhrd7zp:`figsok6`,Bg96gwp:`f1i3iumi`}},{d:[`.fk6fouc{font-family:var(--fontFamilyBase);}`,`.fkhj508{font-size:var(--fontSizeBase300);}`,`.figsok6{font-weight:var(--fontWeightRegular);}`,`.f1i3iumi{line-height:var(--lineHeightBase300);}`]}),className:{root:`fui-Body1`}.root,displayName:`Body1`}),C_=x_({useStyles:N({root:{Bahqtrf:`fk6fouc`,Be2twd7:`fy9rknc`,Bhrd7zp:`figsok6`,Bg96gwp:`fwrc4pm`}},{d:[`.fk6fouc{font-family:var(--fontFamilyBase);}`,`.fy9rknc{font-size:var(--fontSizeBase200);}`,`.figsok6{font-weight:var(--fontWeightRegular);}`,`.fwrc4pm{line-height:var(--lineHeightBase200);}`]}),className:{root:`fui-Caption1`}.root,displayName:`Caption1`}),w_=x_({useStyles:N({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`}),T_=or(`r6pzz3z`,null,[`.r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}`]),E_=or(`r144vlu9`,null,[`.r144vlu9{overflow-y:hidden;}`]);function D_(){let e=T_(),t=E_(),{targetDocument:n}=ti();return{disableBodyScroll:_.useCallback(()=>{n&&Math.floor(n.body.getBoundingClientRect().height)>(n.defaultView?.innerHeight??0)&&(n.documentElement.classList.add(e),n.body.classList.add(t))},[n,e,t]),enableBodyScroll:_.useCallback(()=>{n&&(n.documentElement.classList.remove(e),n.body.classList.remove(t))},[n,e,t])}}function O_(e,t){let{findFirstFocusable:n}=Xs(),{targetDocument:r}=ti(),i=_.useRef(null);return _.useEffect(()=>{if(!e)return;let t=i.current&&n(i.current);if(t)t.focus();else{var r;(r=i.current)==null||r.focus()}},[n,e,t,r]),i}var k_={open:!1,inertTrapFocus:!1,modalType:`modal`,isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},A_=eu(void 0),j_=A_.Provider,M_=e=>tu(A_,(t=k_)=>e(t)),N_=_.createContext(void 0).Provider,P_=Fd(tf,{fromScale:.85,easing:$.curveDecelerateMid,duration:$.durationGentle,exitEasing:$.curveAccelerateMin,exitDuration:$.durationGentle}),F_=e=>{let{children:t,modalType:n=`modal`,onOpenChange:r,inertTrapFocus:i=!1,unmountOnClose:a=!0}=e,o=Ti(`dialog-title-`),[s,c]=I_(t),[l,u]=pi({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=B(e=>{r?.(e.event,e),e.event.isDefaultPrevented()||u(e.open)}),f=O_(l,n),{modalAttributes:p,triggerAttributes:m}=fc({trapFocus:n!==`non-modal`,legacyTrapFocus:!i}),h=nu(A_);return{components:{surfaceMotion:P_},inertTrapFocus:i,open:l,modalType:n,content:c,trigger:s,requestOpenChange:d,dialogTitleId:o,isNestedDialog:h,unmountOnClose:a,dialogRef:f,modalAttributes:p,triggerAttributes:m,surfaceMotion:Id(e.surfaceMotion,{elementType:P_,defaultProps:{visible:l,appear:a,unmountOnExit:a}})}};function I_(e){let t=_.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}var L_=_.createContext(void 0);function R_(){return _.useContext(L_)}var z_=_.forwardRef((e,t)=>_.createElement(L_.Provider,{value:t},e.children)),B_=(e,t)=>U(j_,{value:t.dialog,children:aa(N_,{value:t.dialogSurface,children:[e.trigger,e.content&&U(e.surfaceMotion,{children:U(z_,{children:e.content})})]})});function V_(e){let{modalType:t,open:n,dialogRef:r,dialogTitleId:i,isNestedDialog:a,inertTrapFocus:o,requestOpenChange:s,modalAttributes:c,triggerAttributes:l,unmountOnClose:u}=e;return{dialog:{open:n,modalType:t,dialogRef:r,dialogTitleId:i,isNestedDialog:a,inertTrapFocus:o,modalAttributes:c,triggerAttributes:l,unmountOnClose:u,requestOpenChange:s},dialogSurface:!1}}var H_=_.memo(e=>{let t=F_(e);return B_(t,V_(t))});H_.displayName=`Dialog`;var U_={root:`fui-DialogTitle`,action:`fui-DialogTitle__action`},W_=or(`rxjm636`,null,[`.rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}`]),G_=N({rootWithoutAction:{Bw0ie65:`fsyjsko`}},{d:[`.fsyjsko{grid-column-end:4;}`]}),K_=or(`r13kcrze`,null,[`.r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}`]),q_=e=>{"use no memo";let t=W_(),n=K_(),r=G_();return e.root.className=O(U_.root,t,!e.action&&r.rootWithoutAction,e.root.className),e.action&&(e.action.className=O(U_.action,n,e.action.className)),e},J_=$d,Y_=(e,t)=>{let n=R_(),r=M_(e=>e.modalType),i=M_(e=>e.isNestedDialog),a=M_(e=>e.modalAttributes),o=M_(e=>e.dialogRef),s=M_(e=>e.requestOpenChange),c=M_(e=>e.dialogTitleId),l=M_(e=>e.open),u=M_(e=>e.unmountOnClose),d=B(t=>{if(pr(e.backdrop)){var n,i;(n=(i=e.backdrop).onClick)==null||n.call(i,t)}r===`modal`&&!t.isDefaultPrevented()&&s({event:t,open:!1,type:`backdropClick`})}),f=B(t=>{var n;(n=e.onKeyDown)==null||n.call(e,t),t.key===`Escape`&&!t.isDefaultPrevented()&&(s({event:t,open:!1,type:`escapeKeyDown`}),t.preventDefault())}),p=F(e.backdrop,{renderByDefault:r!==`non-modal`,defaultProps:{"aria-hidden":`true`},elementType:`div`});p&&(p.onClick=d);let{disableBodyScroll:m,enableBodyScroll:h}=D_();return bi(()=>{if(!l){h();return}if(!(i||r===`non-modal`))return m(),()=>h()},[l,r,i,m,h]),{components:{backdrop:`div`,root:`div`,backdropMotion:J_},open:l,backdrop:p,isNestedDialog:i,unmountOnClose:u,mountNode:e.mountNode,root:P(L(`div`,{tabIndex:-1,role:r===`alert`?`alertdialog`:`dialog`,"aria-modal":r!==`non-modal`,"aria-labelledby":e[`aria-label`]?void 0:c,"aria-hidden":!u&&!l?!0:void 0,...e,...a,onKeyDown:f,ref:Ei(t,n,o)}),{elementType:`div`}),backdropMotion:Id(e.backdropMotion,{elementType:J_,defaultProps:{appear:u,visible:l}}),transitionStatus:void 0}},X_=(e,t)=>aa(uh,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&U(e.backdropMotion,{children:U(e.backdrop,{})}),U(N_,{value:t.dialogSurface,children:U(e.root,{})})]});function Z_(e){return{dialogSurface:!0}}var Q_=e=>e<=0?1:e,$_=(e,t)=>e===void 0?e:e<0?0:e>t?t:e,ev=(e,t)=>{let n=Dh(),r=n?.validationState,{color:i=r===`error`||r===`warning`||r===`success`?r:`brand`,shape:a=`rounded`,thickness:o=`medium`}=e,s=Q_(e.max??1),c=$_(e.value,s),l=P(L(`div`,{ref:t,role:`progressbar`,"aria-valuemin":c===void 0?void 0:0,"aria-valuemax":c===void 0?void 0:s,"aria-valuenow":c,"aria-labelledby":n?.labelId,...e}),{elementType:`div`});return n&&(n.validationMessageId||n.hintId)&&(l[`aria-describedby`]=[n?.validationMessageId,n?.hintId,l[`aria-describedby`]].filter(Boolean).join(` `)),{color:i,max:s,shape:a,thickness:o,value:c,components:{root:`div`,bar:`div`},root:l,bar:P(e.bar,{elementType:`div`})}},tv=e=>U(e.root,{children:e.bar&&U(e.bar,{})}),nv={root:`fui-ProgressBar`,bar:`fui-ProgressBar__bar`},rv=.01,iv=N({root:{mc9l5x:`ftgm304`,De3pzq:`f18f03hv`,a9b677:`fly5x3f`,B68tc82:0,Bmxbyg5:0,Bpg54ce:`f1a3p1vp`,Bomf52o:`f1skxd4g`},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`ft85np5`},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`f1fabniw`},medium:{Bqenvij:`f4t8t6x`},large:{Bqenvij:`f6ywr7j`}},{d:[`.ftgm304{display:block;}`,`.f18f03hv{background-color:var(--colorNeutralBackground6);}`,`.fly5x3f{width:100%;}`,[`.f1a3p1vp{overflow:hidden;}`,{p:-1}],[`.ft85np5{border-radius:var(--borderRadiusMedium);}`,{p:-1}],[`.f1fabniw{border-radius:var(--borderRadiusNone);}`,{p:-1}],`.f4t8t6x{height:2px;}`,`.f6ywr7j{height:4px;}`],m:[[`@media screen and (forced-colors: active){.f1skxd4g{background-color:CanvasText;}}`,{m:`screen and (forced-colors: active)`}]]}),av=N({base:{Bomf52o:`f1tnpuu0`,Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`f12b9xdw`,Bqenvij:`f1l02sjl`},nonZeroDeterminate:{Bmy1vo4:`fjt6zfz`,B3o57yi:`f1wofebd`,Bkqvd7p:`fv71qf3`},indeterminate:{B2u0y6b:`fa0wk36`,qhf8xq:`f10pi13n`,Bcmaq0h:[`fpo0yib`,`f1u5hf6c`],Bv12yb3:[`fwd2bol`,`f14gig94`],vin17d:`f1a27w2r`,Ezkn3b:`f452v7t`,w3vfg9:`f1cpbl36`,jpy9cc:`f3z2g5w`,Bqo2lbl:`fz5izi4`,B6plc1d:`fv40pdu`,I82g5a:`f1uj6jbf`},brand:{De3pzq:`ftywsgz`},error:{De3pzq:`fdl5y0r`},warning:{De3pzq:`f1s438gw`},success:{De3pzq:`flxk52p`}},{m:[[`@media screen and (forced-colors: active){.f1tnpuu0{background-color:Highlight;}}`,{m:`screen and (forced-colors: active)`}],[`@media screen and (prefers-reduced-motion: reduce){.f3z2g5w{max-width:100%;}}`,{m:`screen and (prefers-reduced-motion: reduce)`}],[`@media screen and (prefers-reduced-motion: reduce){.fz5izi4{animation-iteration-count:infinite;}}`,{m:`screen and (prefers-reduced-motion: reduce)`}],[`@media screen and (prefers-reduced-motion: reduce){.fv40pdu{animation-duration:3s;}}`,{m:`screen and (prefers-reduced-motion: reduce)`}],[`@media screen and (prefers-reduced-motion: reduce){.f1uj6jbf{animation-name:ftc26vs;}}`,{m:`screen and (prefers-reduced-motion: reduce)`}]],d:[[`.f12b9xdw{border-radius:inherit;}`,{p:-1}],`.f1l02sjl{height:100%;}`,`.fjt6zfz{transition-property:width;}`,`.f1wofebd{transition-duration:0.3s;}`,`.fv71qf3{transition-timing-function:ease;}`,`.fa0wk36{max-width:33%;}`,`.f10pi13n{position:relative;}`,`.fpo0yib{background-image:linear-gradient(
|
|
11
|
+
to right,
|
|
12
|
+
var(--colorNeutralBackground6) 0%,
|
|
13
|
+
var(--colorTransparentBackground) 50%,
|
|
14
|
+
var(--colorNeutralBackground6) 100%
|
|
15
|
+
);}`,`.f1u5hf6c{background-image:linear-gradient(
|
|
16
|
+
to left,
|
|
17
|
+
var(--colorNeutralBackground6) 0%,
|
|
18
|
+
var(--colorTransparentBackground) 50%,
|
|
19
|
+
var(--colorNeutralBackground6) 100%
|
|
20
|
+
);}`,`.fwd2bol{animation-name:f1keuaan;}`,`.f14gig94{animation-name:f10x8f8u;}`,`.f1a27w2r{animation-duration:3s;}`,`.f452v7t{animation-timing-function:linear;}`,`.f1cpbl36{animation-iteration-count:infinite;}`,`.ftywsgz{background-color:var(--colorCompoundBrandBackground);}`,`.fdl5y0r{background-color:var(--colorPaletteRedBackground3);}`,`.f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}`,`.flxk52p{background-color:var(--colorPaletteGreenBackground3);}`],k:[`@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}`,`@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}`,`@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}`]}),ov=e=>{"use no memo";let{color:t,max:n,shape:r,thickness:i,value:a}=e,o=iv(),s=av();return e.root.className=O(nv.root,o.root,o[r],o[i],e.root.className),e.bar&&(e.bar.className=O(nv.bar,s.base,s.brand,a===void 0&&s.indeterminate,a!==void 0&&a>rv&&s.nonZeroDeterminate,t&&a!==void 0&&s[t],e.bar.className)),e.bar&&a!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,a/n*100))+`%`,...e.bar.style}),e},sv=_.forwardRef((e,t)=>{let n=ev(e,t);return ov(n),R(`useProgressBarStyles_unstable`)(n),tv(n)});sv.displayName=`ProgressBar`;var cv=()=>void 0,lv={allRowsSelected:!1,clearRows:cv,deselectRow:cv,isRowSelected:()=>!1,selectRow:cv,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:cv,toggleRow:cv,selectionMode:`multiselect`};function uv(e){"use no memo";return t=>dv(t,e)}function dv(e,t){let{items:n,getRowId:r}=e,{selectionMode:i,defaultSelectedItems:a,selectedItems:o,onSelectionChange:s}=t,[c,l]=qi({selectionMode:i,defaultSelectedItems:a,selectedItems:o,onSelectionChange:s}),u=_.useMemo(()=>{let e=new Set;for(let t=0;t<n.length;t++)e.add(r?.(n[t])??t);return e},[n,r]),d=_.useMemo(()=>{if(i===`single`){let e=Array.from(c)[0];return u.has(e)}if(c.size<u.size||u.size===0)return!1;let e=!0;return u.forEach(t=>{c.has(t)||(e=!1)}),e},[u,c,i]),f=_.useMemo(()=>{if(c.size<=0)return!1;let e=!1;return u.forEach(t=>{c.has(t)&&(e=!0)}),e},[u,c]),p=B(e=>{l.toggleAllItems(e,n.map((e,t)=>r?.(e)??t))}),m=B((e,t)=>l.toggleItem(e,t)),h=B((e,t)=>l.deselectItem(e,t)),g=B((e,t)=>l.selectItem(e,t)),v=e=>l.isSelected(e),y=B(e=>l.clearItems(e));return{...e,selection:{selectionMode:i,someRowsSelected:f,allRowsSelected:d,selectedRows:c,toggleRow:m,toggleAllRows:p,clearRows:y,deselectRow:h,selectRow:g,isRowSelected:v}}}var fv=()=>void 0,pv={getSortDirection:()=>`ascending`,setColumnSort:fv,sort:e=>[...e],sortColumn:void 0,sortDirection:`ascending`,toggleColumnSort:fv};function mv(e){"use no memo";return t=>hv(t,e)}function hv(e,t){let{columns:n}=e,{sortState:r,defaultSortState:i,onSortChange:a=fv}=t,[o,s]=pi({initialState:{sortDirection:`ascending`,sortColumn:void 0},defaultState:i,state:r}),{sortColumn:c,sortDirection:l}=o,u=B(a),d=_.useCallback((e,t)=>{s(n=>{let r={...n,sortColumn:t};return n.sortColumn===t?r.sortDirection=n.sortDirection===`ascending`?`descending`:`ascending`:r.sortDirection=`ascending`,u?.(e,r),r})},[u,s]),f=(e,t,n)=>{let r={sortColumn:t,sortDirection:n};u?.(e,r),s(r)},p=_.useCallback(e=>e.slice().sort((e,t)=>{let r=n.find(e=>e.columnId===c);if(!r?.compare)return 0;let i=l===`ascending`?1:-1;return r.compare(e.item,t.item)*i}),[n,c,l]),m=e=>c===e?l:void 0;return{...e,sort:{sort:p,sortColumn:c,sortDirection:l,setColumnSort:f,toggleColumnSort:d,getSortDirection:m}}}var gv=(e,t)=>{let n=B(t=>{var n;(n=e.onClick)==null||n.call(e,t),t.stopPropagation()});return{components:{root:`div`},root:P(L(`div`,{ref:t,...e,onClick:n}),{elementType:`div`})}},_v=e=>U(e.root,{}),vv={root:`fui-TableResizeHandle`},yv=N({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;}`]}),bv=e=>{"use no memo";let t=yv();return e.root.className=O(vv.root,t.root,e.root.className),e},xv=_.forwardRef((e,t)=>{let n=gv(e,t);return bv(n),R(`useTableResizeHandleStyles_unstable`)(n),_v(n)});xv.displayName=`TableResizeHandle`;function Sv(){let[e,t]=_.useState(0),n=_.useRef(void 0),r=_.useRef(null),{targetDocument:i}=ti(),a=_.useCallback(()=>{t(n.current?.getBoundingClientRect().width||0)},[]),o=_.useCallback(e=>{if(i&&(!e&&r.current&&n.current&&r.current.unobserve(n.current),n.current=void 0,e?.parentElement)){var t;n.current=e.parentElement,a(),(t=r.current)==null||t.observe(n.current)}},[i,a]);return _.useEffect(()=>{if(r.current=Cv(i,a),!(!n.current||!r.current))return r.current.observe(n.current),()=>{var e;(e=r.current)==null||e.disconnect()}},[a,i]),{width:e,measureElementRef:o}}function Cv(e,t){return e!=null&&e.defaultView?.ResizeObserver?new e.defaultView.ResizeObserver(t):null}function wv(e){let t=_.useRef(0),n=_.useRef(0),r=_.useRef(void 0),[i,a]=_.useState(!1),{targetDocument:o}=ti(),{getColumnWidth:s,setColumnWidth:c}=e,l=_.useCallback(e=>{let{clientX:i}=Hi(e),a=i-t.current;n.current+=a,r.current&&c(e,{columnId:r.current,width:n.current}),t.current=i},[c]),[u]=di(),d=_.useCallback(e=>{u(()=>l(e))},[u,l]),f=_.useCallback(e=>{Vi(e)&&(o?.removeEventListener(`mouseup`,f),o?.removeEventListener(`mousemove`,d)),Bi(e)&&(o?.removeEventListener(`touchend`,f),o?.removeEventListener(`touchmove`,d)),a(!1)},[d,o]);return{getOnMouseDown:_.useCallback(e=>i=>{if(n.current=s(e),t.current=Hi(i).clientX,r.current=e,Vi(i)){if(i.target!==i.currentTarget||i.button!==0)return;o?.addEventListener(`mouseup`,f),o?.addEventListener(`mousemove`,d),a(!0)}Bi(i)&&(o?.addEventListener(`touchend`,f),o?.addEventListener(`touchmove`,d),a(!0))},[s,d,f,o]),dragging:i}}var Tv=150,Ev=100;function Dv(e,t=[],n={}){let r=!1,i=new Map(t.map(e=>[e.columnId,e])),a=e.map(e=>{let t=i.get(e.columnId);if(t){let{idealWidth:i=t.idealWidth,minWidth:a=t.minWidth,padding:o=t.padding}=n[e.columnId]??{};return i!==t.idealWidth||a!==t.minWidth||o!==t.padding?(r=!0,{...t,idealWidth:i,width:i,minWidth:a,padding:o}):t}let{defaultWidth:a,idealWidth:o=Tv,minWidth:s=Ev,padding:c}=n[e.columnId]??{};return r=!0,{columnId:e.columnId,width:Math.max(a??o,s),minWidth:s,idealWidth:Math.max(a??o,s),padding:c??16}});if(a.length!==t.length||r){let e=a.find(e=>e.width>e.idealWidth);e&&(e.width=e.idealWidth),r=!0}return r?a:t}function Ov(e,t){return e.find(e=>e.columnId===t)}function kv(e,t){return e[t]}function Av(e){return e.reduce((e,t)=>e+t.width+t.padding,0)}function jv(e,t){return Ov(e,t)?.width??0}function Mv(e,t,n,r){let i=Ov(e,t);if(!i||i?.[n]===r)return e;let a={...i,[n]:r};return e.reduce((e,t)=>t.columnId===a.columnId?[...e,a]:[...e,t],[])}function Nv(e,t){let n=e,r=Av(n);if(r<t){let e=t-r,i=0;for(;i<n.length&&e>0;){let t=kv(n,i);if(!t)break;let r=Math.min(t.idealWidth-t.width,e);if(n=Mv(n,t.columnId,`width`,t.width+r),e-=r,i===n.length-1&&e!==0){let t=kv(n,i);t&&(n=Mv(n,t.columnId,`width`,t.width+e))}i++}}else if(r>=t){let e=r-t,i=n.length-1;for(;i>=0&&e>0;){let t=kv(n,i);if(!t){i--;continue}if(t.width>t.minWidth){let r=Math.min(t.width-t.minWidth,e);e-=r,n=Mv(n,t.columnId,`width`,t.width-r)}i--}}return n}var Pv=e=>(t,n)=>{switch(n.type){case`CONTAINER_WIDTH_UPDATED`:return{...t,containerWidth:n.containerWidth,columnWidthState:e?Nv(t.columnWidthState,n.containerWidth):t.columnWidthState};case`COLUMNS_UPDATED`:let r=Dv(n.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:n.columns,columnWidthState:e?Nv(r,t.containerWidth):r};case`COLUMN_SIZING_OPTIONS_UPDATED`:let i=Dv(t.columns,t.columnWidthState,n.columnSizingOptions);return{...t,columnSizingOptions:n.columnSizingOptions,columnWidthState:e?Nv(i,t.containerWidth):i};case`SET_COLUMN_WIDTH`:let{columnId:a,width:o}=n,{containerWidth:s}=t,c=Ov(t.columnWidthState,a),l=[...t.columnWidthState];return c?(l=Mv(l,a,`width`,o),l=Mv(l,a,`idealWidth`,o),e&&(l=Nv(l,s)),{...t,columnWidthState:l}):t}};function Fv(e,t,n={}){let{onColumnResize:r,columnSizingOptions:i,autoFitColumns:a=!0}=n,o=_.useMemo(()=>Pv(a),[a]),[s,c]=_.useReducer(o,{columns:e,containerWidth:0,columnWidthState:Dv(e,void 0,i),columnSizingOptions:i});bi(()=>{c({type:`CONTAINER_WIDTH_UPDATED`,containerWidth:t})},[t]),bi(()=>{c({type:`COLUMNS_UPDATED`,columns:e})},[e]),bi(()=>{c({type:`COLUMN_SIZING_OPTIONS_UPDATED`,columnSizingOptions:i})},[i]);let l=B((e,t)=>{let{width:n}=t,{columnId:i}=t,a=Ov(s.columnWidthState,i);a&&(n=Math.max(a.minWidth||0,n),r&&r(e,{columnId:i,width:n}),c({type:`SET_COLUMN_WIDTH`,columnId:i,width:n}))});return{getColumnById:_.useCallback(e=>Ov(s.columnWidthState,e),[s.columnWidthState]),getColumns:_.useCallback(()=>s.columnWidthState,[s.columnWidthState]),getColumnWidth:_.useCallback(e=>jv(s.columnWidthState,e),[s.columnWidthState]),setColumnWidth:l}}var Iv=20,Lv=Eu,Rv=1/4;function zv(e){let[t,n]=_.useState(),r=_.useRef(void 0),{findPrevFocusable:i}=Xs(),a=_.useRef(e);_.useEffect(()=>{a.current=e},[e]);let[o]=_.useState(()=>new Map),s=B(e=>{if(!t)return;let n=a.current.getColumnWidth(t),r=e.getModifierState(Lv),i=()=>{e.preventDefault(),e.stopPropagation()};switch(e.key){case Ou:i(),a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:n-(r?Iv*Rv:Iv)});return;case ku:i(),a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:n+(r?Iv*Rv:Iv)});return;case` `:case Du:case Au:var s,c;i(),(c=o.get(t))==null||(s=c.current)==null||s.blur();break}}),c=_.useCallback(e=>{var t;n(e),(t=r.current)==null||t.call(r,e,!0);let i=o.get(e)?.current;i&&(i.setAttribute(`tabindex`,`-1`),i.tabIndex=-1,i.focus())},[o]),l=_.useCallback(()=>{var e;if(!t)return;(e=r.current)==null||e.call(r,t,!1);let a=o.get(t)?.current;if(a){var s;(s=i(a))==null||s.focus(),a.removeAttribute(`tabindex`)}n(void 0)},[t,i,o]),u=(e,i)=>{r.current=i,t?e&&t!==e?(c(e),n(e)):l():c(e)},d=_.useCallback(e=>{let t=o.get(e)||_.createRef();return o.set(e,t),t},[o]),f=Gs({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:u,columnId:t,getKeyboardResizingProps:_.useCallback((e,n)=>({onKeyDown:s,onBlur:l,ref:d(e),role:`separator`,"aria-label":`Resize column`,"aria-valuetext":`${n} pixels`,"aria-hidden":e!==t,tabIndex:e===t?0:void 0,...f}),[t,l,d,s,f])}}var Bv={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:``}),getTableCellProps:()=>({style:{},columnId:``}),enableKeyboardMode:()=>()=>null};function Vv(e){"use no memo";return t=>Uv(t,{autoFitColumns:!0,...e})}function Hv(e,t){let n=e.width;return{width:n,minWidth:n,maxWidth:n,...t?{pointerEvents:`none`}:{}}}function Uv(e,t={}){let{columns:n}=e,{width:r,measureElementRef:i}=Sv(),a=Fv(n,r+(t?.containerWidthOffset||0),t),o=wv(a),{toggleInteractiveMode:s,getKeyboardResizingProps:c}=zv(a),{autoFitColumns:l}=t,u=_.useCallback((e,t)=>n=>{n.preventDefault(),n.nativeEvent.stopPropagation(),s(e,t)},[s]),{getColumnById:d,setColumnWidth:f,getColumns:p}=a,{getOnMouseDown:m,dragging:h}=o;return{...e,tableRef:i,columnSizing_unstable:{getOnMouseDown:m,setColumnWidth:(e,t)=>f(void 0,{columnId:e,width:t}),getColumnWidths:p,getTableProps:(e={})=>({...e,style:{minWidth:`fit-content`,...e.style||{}}}),getTableHeaderCellProps:_.useCallback(e=>{let t=d(e),r=n[n.length-1]?.columnId===e&&l?null:_.createElement(xv,{onMouseDown:m(e),onTouchStart:m(e),...c(e,t?.width||0)});return t?{style:Hv(t,h),aside:r}:{}},[d,n,h,c,m,l]),getTableCellProps:_.useCallback(e=>{let t=d(e);return t?{style:Hv(t)}:{}},[d]),enableKeyboardMode:u}}}var Wv=e=>e,Gv={selection:lv,sort:pv,getRows:()=>[],getRowId:()=>``,items:[],columns:[],columnSizing_unstable:Bv,tableRef:_.createRef()};function Kv(e,t=[]){let{items:n,getRowId:r,columns:i}=e,a={getRowId:r,items:n,columns:i,getRows:_.useCallback((e=Wv)=>n.map((t,n)=>e({item:t,rowId:r?.(t)??n})),[n,r]),selection:lv,sort:pv,columnSizing_unstable:Bv,tableRef:_.createRef()};return t.reduce((e,t)=>t(e),a)}var qv=()=>0,Jv=()=>null,Yv=()=>null;function Xv(e){let{columnId:t,renderCell:n=Jv,renderHeaderCell:r=Yv,compare:i=qv}=e;return{columnId:t,renderCell:n,renderHeaderCell:r,compare:i}}function Zv(){let e=Ks({axis:`horizontal`}),t=Ks({axis:`grid`}),n=Js({tabBehavior:`limited-trap-focus`}),{findFirstFocusable:r}=Xs(),{targetDocument:i}=ti(),a=pc(e,n);return{onTableKeyDown:_.useCallback(e=>{if(!i)return;let t=i.activeElement;if(!t||!e.currentTarget.contains(t))return;let n=t.getAttribute(`role`);if(e.key===`ArrowRight`&&n===`row`&&Ri(t)){var a;(a=r(t))==null||a.focus()}if(n===`row`)return;let o=(()=>{let e=Ri(t)?t:null;for(;e;){let t=e.getAttribute(`role`);if(t===`cell`||t===`gridcell`)return!0;e=e.parentElement}return!1})();if(e.key===`ArrowLeft`&&o){t.dispatchEvent(new ro({action:Pa.Escape}));return}(e.key===`ArrowDown`||e.key===`ArrowUp`)&&o&&(t.dispatchEvent(new ro({action:Pa.Escape})),t=i.activeElement,t&&t.dispatchEvent(new no({key:Ma[e.key]})))},[i,r]),tableTabsterAttribute:t,tableRowTabsterAttribute:a}}var Qv=_.createContext(void 0),$v={size:`medium`,noNativeElements:!1,sortable:!1},ey=Qv.Provider,ty=()=>_.useContext(Qv)??$v,ny=(e,t)=>{let{noNativeElements:n,size:r}=ty(),i=e.as??n?`div`:`td`;return{components:{root:i},root:P(L(i,{ref:t,role:i===`div`?`cell`:void 0,...e}),{elementType:i}),noNativeElements:n,size:r}},ry=e=>U(e.root,{}),iy={root:`fui-TableCell`},ay=N({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;}`]}),oy=N({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;}`]}),sy=N({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}]]}),cy=e=>{"use no memo";let t=sy(),n={table:ay(),flex:oy()};return e.root.className=O(iy.root,t.root,e.noNativeElements?n.flex.root:n.table.root,e.noNativeElements?n.flex[e.size]:n.table[e.size],e.root.className),e},ly=_.createContext(void 0),uy=``,dy=ly.Provider,fy=()=>_.useContext(ly)===uy,py=(e,t)=>{let{noNativeElements:n,size:r}=ty(),i=e.as??n?`div`:`tr`,a=tc(),o=oc(),s=fy();return{components:{root:i},root:P(L(i,{ref:Ei(t,a,o),role:i===`div`?`row`:void 0,...e}),{elementType:i}),size:r,noNativeElements:n,appearance:e.appearance??`none`,isHeaderRow:s}},my={root:`fui-TableSelectionCell`,checkboxIndicator:`fui-TableSelectionCell__checkboxIndicator`,radioIndicator:`fui-TableSelectionCell__radioIndicator`},hy=N({root:{mc9l5x:`f15pt5es`,a9b677:`fksc0bp`}},{d:[`.f15pt5es{display:table-cell;}`,`.fksc0bp{width:44px;}`]}),gy=N({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;}`]}),_y=N({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;}`]}),vy=e=>{"use no memo";let t=_y(),n={table:hy(),flex:gy()};return e.root.className=O(my.root,t.root,e.noNativeElements?n.flex.root:n.table.root,e.subtle&&e.checked===!1&&t.subtle,e.hidden&&t.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=O(my.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=O(my.radioIndicator,t.radioIndicator,e.radioIndicator.className)),e},yy={root:`fui-TableRow`},by=N({root:{mc9l5x:`f1u0rzck`}},{d:[`.f1u0rzck{display:table-row;}`]}),xy=N({root:{mc9l5x:`f22iagw`,Bt984gj:`f122n59`}},{d:[`.f22iagw{display:flex;}`,`.f122n59{align-items:center;}`]}),Sy=N({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)`}]]}),Cy=e=>{"use no memo";let t=Sy(),n={table:by(),flex:xy()};return e.root.className=O(yy.root,t.root,!e.isHeaderRow&&t.rootInteractive,t[e.size],e.noNativeElements?n.flex.root:n.table.root,t[e.appearance],e.root.className),e},wy=(e,t)=>{let{noNativeElements:n}=ty(),r=e.as??n?`div`:`tbody`;return{components:{root:r},root:P(L(r,{ref:t,role:r===`div`?`rowgroup`:void 0,...e}),{elementType:r}),noNativeElements:n}},Ty=N({root:{mc9l5x:`f1tp1avn`}},{d:[`.f1tp1avn{display:table-row-group;}`]}),Ey=N({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),Dy=`fui-TableBody`,Oy=e=>{"use no memo";let t={table:Ty(),flex:Ey()};return e.root.className=O(Dy,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},ky=(e,t)=>{let n=e.as??e.noNativeElements?`div`:`table`;return{components:{root:n},root:P(L(n,{ref:t,role:n===`div`?`table`:void 0,...e}),{elementType:n}),size:e.size??`medium`,noNativeElements:e.noNativeElements??!1,sortable:e.sortable??!1}},Ay=(e,t)=>U(ey,{value:t.table,children:U(e.root,{})}),jy=`fui-Table`,My=N({root:{mc9l5x:`f1w4nmp0`,ha4doy:`fmrv4ls`,a9b677:`fly5x3f`,B73mfa3:`f14m3nip`}},{d:[`.f1w4nmp0{display:table;}`,`.fmrv4ls{vertical-align:middle;}`,`.fly5x3f{width:100%;}`,`.f14m3nip{table-layout:fixed;}`]}),Ny=N({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),Py=N({root:{po53p8:`fgkb47j`,De3pzq:`fhovq9v`}},{d:[`.fgkb47j{border-collapse:collapse;}`,`.fhovq9v{background-color:var(--colorSubtleBackground);}`]}),Fy=e=>{"use no memo";let t=Py(),n={table:My(),flex:Ny()};return e.root.className=O(jy,t.root,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e};function Iy(e){let{size:t,noNativeElements:n,sortable:r}=e;return{table:_.useMemo(()=>({noNativeElements:n,size:t,sortable:r}),[n,t,r])}}var Ly=(e,t)=>{let{noNativeElements:n}=ty(),r=e.as??n?`div`:`thead`;return{components:{root:r},root:P(L(r,{ref:t,role:r===`div`?`rowgroup`:void 0,...e}),{elementType:r}),noNativeElements:n}},Ry=e=>U(dy,{value:``,children:U(e.root,{})}),zy=`fui-TableHeader`,By=N({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),Vy=N({root:{mc9l5x:`f1tp1avn`}},{d:[`.f1tp1avn{display:table-row-group;}`]}),Hy=e=>{"use no memo";let t={table:Vy(),flex:By()};return e.root.className=O(zy,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},Uy={ascending:_.createElement($u,{fontSize:12}),descending:_.createElement(Qu,{fontSize:12})},Wy=(e,t)=>{let{noNativeElements:n,sortable:r}=ty(),{sortable:i=r}=e,a=e.as??n?`div`:`th`,o=P(e.button,{elementType:`div`,defaultProps:{as:`div`}}),s=ju(o.as,o);return{components:{root:a,button:`div`,sortIcon:`span`,aside:`span`},root:P(L(a,{ref:Ei(t,oc()),role:a===`div`?`columnheader`:void 0,"aria-sort":i?e.sortDirection??`none`:void 0,...e}),{elementType:a}),aside:F(e.aside,{elementType:`span`}),sortIcon:F(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?Uy[e.sortDirection]:void 0},elementType:`span`}),button:i?s:o,sortable:i,noNativeElements:n}},Gy=e=>aa(e.root,{children:[aa(e.button,{children:[e.root.children,e.sortIcon&&U(e.sortIcon,{})]}),e.aside&&U(e.aside,{})]}),Ky={root:`fui-TableHeaderCell`,button:`fui-TableHeaderCell__button`,sortIcon:`fui-TableHeaderCell__sortIcon`,aside:`fui-TableHeaderCell__aside`},qy=N({root:{mc9l5x:`f15pt5es`,ha4doy:`fmrv4ls`}},{d:[`.f15pt5es{display:table-cell;}`,`.fmrv4ls{vertical-align:middle;}`]}),Jy=N({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;}`]}),Yy=N({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);}`]}),Xy=e=>{"use no memo";let t=Yy(),n={table:qy(),flex:Jy()};return e.root.className=O(Ky.root,t.root,e.sortable&&t.rootInteractive,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e.button.className=O(Ky.button,t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=O(Ky.sortIcon,t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=O(Ky.aside,t.resizeHandle,e.aside.className)),e},Zy=_.createContext(void 0),Qy=()=>_.useContext(Zy)??``,$y=Zy.Provider,eb=_.createContext(void 0),tb=()=>_.useContext(eb)??``,nb=eb.Provider,rb=(e,t)=>{let n=ny(e,Ei(t,oc())),{noNativeElements:r}=ty(),{type:i=`checkbox`,checked:a=!1,subtle:o=!1,hidden:s=!1,invisible:c=!1}=e;return{...n,components:{...n.components,checkboxIndicator:qh,radioIndicator:e_},checkboxIndicator:F(e.checkboxIndicator,{renderByDefault:i===`checkbox`,defaultProps:{checked:e.checked},elementType:qh}),radioIndicator:F(e.radioIndicator,{renderByDefault:i===`radio`,defaultProps:{checked:!!a,input:{name:Ti(`table-selection-radio`)}},elementType:e_}),type:i,checked:a,noNativeElements:r,subtle:o,hidden:c||s}},ib=e=>aa(e.root,{children:[e.type===`checkbox`&&e.checkboxIndicator&&U(e.checkboxIndicator,{}),e.type===`radio`&&e.radioIndicator&&U(e.radioIndicator,{})]}),ab=eu(void 0),ob={...Gv,subtleSelection:!1,selectableRows:!1,selectionAppearance:`brand`,focusMode:`none`,compositeRowTabsterAttribute:{}},sb=ab.Provider,cb=e=>tu(ab,(t=ob)=>e(t)),lb=(e,t)=>{let{focusMode:n=`cell`}=e,r=Qy(),i=cb(e=>(e.focusMode===`cell`||e.focusMode===`composite`)&&n!==`none`),a=cb(e=>e.resizableColumns),o=cb(e=>e.columnSizing_unstable.getTableCellProps),s=Js({tabBehavior:`limited-trap-focus`});return ny({as:`div`,role:`gridcell`,...n===`group`&&s,tabIndex:i?0:void 0,...a?o(r):{},...e},t)},ub=e=>ry(e),db={root:`fui-DataGridCell`},fb=e=>{"use no memo";return cy(e),e.root.className=O(db.root,e.root.className),e},pb=_.forwardRef((e,t)=>{let n=lb(e,t);return fb(n),R(`useDataGridCellStyles_unstable`)(n),ub(n)});pb.displayName=`DataGridCell`;var mb=(e,t)=>{let n=fy(),r=tb(),i=cb(e=>e.subtleSelection),a=cb(e=>n&&e.selection.selectionMode===`multiselect`?e.selection.allRowsSelected?!0:e.selection.someRowsSelected?`mixed`:!1:e.selection.isRowSelected(r)),o=cb(e=>e.selection.toggleAllRows),s=cb(e=>e.selection.selectionMode===`multiselect`?`checkbox`:`radio`),c=B(t=>{var r;n&&o(t),(r=e.onClick)==null||r.call(e,t)});return rb({as:`div`,role:`gridcell`,checked:a,type:s,invisible:n&&s===`radio`,"aria-selected":a===`mixed`?void 0:a,subtle:i,radioIndicator:n?null:void 0,...e,onClick:c},t)},hb=e=>ib(e),gb={root:`fui-DataGridSelectionCell`,checkboxIndicator:`fui-DataGridSelectionCell__checkboxIndicator`,radioIndicator:`fui-DataGridSelectionCell__radioIndicator`},_b=e=>{"use no memo";return vy(e),e.root.className=O(gb.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=O(gb.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=O(gb.radioIndicator,e.radioIndicator.className)),e},vb=_.forwardRef((e,t)=>{let n=mb(e,t);return _b(n),R(`useDataGridSelectionCellStyles_unstable`)(n),hb(n)});vb.displayName=`DataGridSelectionCell`;var yb=(e,t)=>{let n=tb(),r=fy(),i=cb(e=>e.columns),a=cb(e=>e.selectableRows),o=cb(e=>e.selection.isRowSelected(n)),s=cb(e=>e.focusMode),c=cb(e=>e.compositeRowTabsterAttribute),l=s===`row_unstable`||s===`composite`,u=cb(e=>!r&&a&&e.selection.isRowSelected(n)?e.selectionAppearance:`none`),d=cb(e=>e.selection.toggleRow),f=B(t=>{var i;a&&!r&&d(t,n),(i=e.onClick)==null||i.call(e,t)}),p=B(t=>{var i;a&&!r&&t.key===` `&&!zi(t.target)&&(t.preventDefault(),d(t,n)),(i=e.onKeyDown)==null||i.call(e,t)}),m=py({appearance:u,"aria-selected":a?o:void 0,tabIndex:l&&!r?0:void 0,...s===`composite`&&!r&&c,...e,onClick:f,onKeyDown:p,children:null,as:`div`},t);return{...m,components:{...m.components,selectionCell:vb},selectionCell:F(e.selectionCell,{renderByDefault:a,elementType:vb}),renderCell:e.children,columnDefs:i,dataGridContextValue:bb()}};function bb(){let e=_.useRef(ob);return cb(t=>(e.current=t,null)),e.current}var xb=e=>aa(e.root,{children:[e.selectionCell&&U(e.selectionCell,{}),e.columnDefs.map(t=>U($y,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}),Sb={root:`fui-DataGridRow`,selectionCell:`fui-DataGridRow__selectionCell`},Cb=N({subtleSelection:{Bconypa:`f1jazu75`,ff6mpl:`fw60kww`}},{d:[`.f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}`],h:[`.fw60kww:hover .fui-TableSelectionCell{opacity:1;}`]}),wb=e=>{"use no memo";let t=cb(e=>e.subtleSelection),n=Cb();return Cy(e),e.root.className=O(Sb.root,e.root.className,t&&n.subtleSelection),e.selectionCell&&(e.selectionCell.className=O(Sb.selectionCell,e.selectionCell.className)),e},Tb=_.forwardRef((e,t)=>{let n=yb(e,t);return wb(n),R(`useDataGridRowStyles_unstable`)(n),xb(n)});Tb.displayName=`DataGridRow`;var Eb=(e,t)=>{let{sortable:n}=ty(),r=cb(e=>e.getRows),i=cb(e=>e.sort.sort),a=n?i(r()):r();return{...wy({...e,children:null,as:`div`},t),rows:a,renderRow:e.children}},Db=e=>U(e.root,{children:e.rows.map(t=>U(nb,{value:t.rowId,children:e.renderRow(t)},t.rowId))}),Ob={root:`fui-DataGridBody`},kb=e=>{"use no memo";return Oy(e),e.root.className=O(Ob.root,e.root.className),e},Ab=_.forwardRef((e,t)=>{let n=Eb(e,t);return kb(n),R(`useDataGridBodyStyles_unstable`)(n),Db(n)});Ab.displayName=`DataGridBody`;var jb=(e,t)=>{let{items:n,columns:r,focusMode:i=`cell`,selectionMode:a,onSortChange:o,onSelectionChange:s,defaultSortState:c,sortState:l,selectedItems:u,defaultSelectedItems:d,subtleSelection:f=!1,selectionAppearance:p=`brand`,getRowId:m,resizableColumns:h,columnSizingOptions:g,onColumnResize:v,containerWidthOffset:y,resizableColumnsOptions:b={}}=e,x=y??(a?-44:0),S=Ks({axis:`grid`}),{onTableKeyDown:C,tableTabsterAttribute:w,tableRowTabsterAttribute:T}=Zv(),ee=Kv({items:n,columns:r,getRowId:m},[mv({defaultSortState:c,sortState:l,onSortChange:o}),uv({defaultSelectedItems:d,selectedItems:u,onSelectionChange:s,selectionMode:a??`multiselect`}),Vv({onColumnResize:v,columnSizingOptions:g,containerWidthOffset:x,autoFitColumns:b.autoFitColumns??!0})]),E=_.useRef(null),{findFirstFocusable:te,findLastFocusable:ne}=Xs(),D=B(t=>{var n;if((n=e.onKeyDown)==null||n.call(e,t),i===`composite`&&C(t),!(!E.current||!t.ctrlKey||t.defaultPrevented)){if(t.key===`Home`){let e=E.current.querySelector(`[role="row"]`);if(e){var r;(r=te(e))==null||r.focus()}}if(t.key===`End`){let e=E.current.querySelectorAll(`[role="row"]`);if(e.length){var a;(a=ne(e.item(e.length-1)))==null||a.focus()}}}});return{...ky({role:`grid`,as:`div`,noNativeElements:!0,...i===`cell`&&S,...i===`composite`&&w,...e,onKeyDown:D,...h?ee.columnSizing_unstable.getTableProps(e):{}},Ei(t,ee.tableRef,E)),focusMode:i,tableState:ee,selectableRows:!!a,subtleSelection:f,selectionAppearance:p,resizableColumns:h,compositeRowTabsterAttribute:T}},Mb=(e,t)=>_.createElement(sb,{value:t.dataGrid},Ay(e,t)),Nb={root:`fui-DataGrid`},Pb=e=>{"use no memo";return Fy(e),e.root.className=O(Nb.root,e.root.className),e};function Fb(e){let t=Iy(e),{tableState:n,focusMode:r,selectableRows:i,subtleSelection:a,selectionAppearance:o,resizableColumns:s,compositeRowTabsterAttribute:c}=e;return{...t,dataGrid:{...n,focusMode:r,selectableRows:i,subtleSelection:a,selectionAppearance:o,resizableColumns:s,compositeRowTabsterAttribute:c}}}var Ib=_.forwardRef((e,t)=>{let n=jb(e,t);return Pb(n),R(`useDataGridStyles_unstable`)(n),Mb(n,Fb(n))});Ib.displayName=`DataGrid`;var Lb=(e,t)=>Ly({...e,as:`div`},t),Rb=e=>Ry(e),zb={root:`fui-DataGridHeader`},Bb=e=>{"use no memo";return Hy(e),e.root.className=O(zb.root,e.root.className),e},Vb=_.forwardRef((e,t)=>{let n=Lb(e,t);return Bb(n),R(`useDataGridHeaderStyles_unstable`)(n),Rb(n)});Vb.displayName=`DataGridHeader`;function Hb(e){return e.compare.length>0}var Ub=(e,t)=>{let n=Qy(),{sortable:r}=ty(),i=cb(e=>e.sort.toggleColumnSort),a=cb(e=>{let t=!!e.columns.find(e=>e.columnId===n&&Hb(e));return r?t:!1}),o=cb(e=>a?e.sort.getSortDirection(n):void 0),s=cb(e=>e.resizableColumns),c=cb(e=>e.columnSizing_unstable.getTableHeaderCellProps),{focusMode:l=a?`none`:`cell`}=e,u=Js({tabBehavior:`limited-trap-focus`}),d=B(t=>{var r;a&&i(t,n),(r=e.onClick)==null||r.call(e,t)});return Wy({sortable:a,sortDirection:o,as:`div`,tabIndex:l===`none`?void 0:0,...l===`group`&&u,...s?c(n):{},...e,onClick:d},t)},Wb=e=>Gy(e),Gb={root:`fui-DataGridHeaderCell`,button:`fui-DataGridHeaderCell__button`,sortIcon:`fui-DataGridHeaderCell__sortIcon`,aside:`fui-DataGridHeaderCell__aside`},Kb=e=>{"use no memo";return Xy(e),e.root.className=O(Gb.root,e.root.className),e.button&&(e.button.className=O(Gb.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=O(Gb.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=O(Gb.aside,e.aside.className)),e},qb=_.forwardRef((e,t)=>{let n=Ub(e,t);return Kb(n),R(`useDataGridHeaderCellStyles_unstable`)(n),Wb(n)});qb.displayName=`DataGridHeaderCell`;var Jb={scrollState:`none`,setScrollState:()=>({})},Yb=_.createContext(void 0),Xb=Yb.Provider,Zb=()=>_.useContext(Yb)??Jb,Qb=()=>{let[e,t]=_.useState(`none`);return{setScrollState:t,scrollState:e}},$b={drawerSizeVar:`--fui-Drawer--size`};`${$b.drawerSizeVar}`,Q.colorNeutralBackground1,Q.colorNeutralForeground1;var ex=N({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:[`f1xteiwb`,`fsqykmd`],oyh7mz:[`f1vgc2s3`,`f1e31b4d`],j35jbq:[`fvfyk4`,`frppm18`]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:[`fsqykmd`,`f1xteiwb`],j35jbq:[`f1e31b4d`,`f1vgc2s3`],oyh7mz:[`frppm18`,`fvfyk4`]},bottom:{B5kzvoi:`f1yab3r1`,Bhzewxz:`f198g47y`},small:{Bjr0ffy:`f1exhnwo`},medium:{Bjr0ffy:`fqofjzu`},large:{Bjr0ffy:`fce6y3m`},full:{Bjr0ffy:`fsdmzs6`}},{d:[[`.f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}`,{p:-1}],[`.fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}`,{p:-1}],`.f1vgc2s3{left:0;}`,`.f1e31b4d{right:0;}`,`.fvfyk4{right:auto;}`,`.frppm18{left:auto;}`,[`.fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}`,{p:-1}],[`.f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}`,{p:-1}],`.f1yab3r1{bottom:0;}`,`.f198g47y{top:auto;}`,`.f1exhnwo{--fui-Drawer--size:320px;}`,`.fqofjzu{--fui-Drawer--size:592px;}`,`.fce6y3m{--fui-Drawer--size:940px;}`,`.fsdmzs6{--fui-Drawer--size:100vw;}`]}),tx=N({small:{Bjr0ffy:`f1exhnwo`},medium:{Bjr0ffy:`fqofjzu`},large:{Bjr0ffy:`fce6y3m`},full:{Bjr0ffy:`f1rat34m`}},{d:[`.f1exhnwo{--fui-Drawer--size:320px;}`,`.fqofjzu{--fui-Drawer--size:592px;}`,`.fce6y3m{--fui-Drawer--size:940px;}`,`.f1rat34m{--fui-Drawer--size:100%;}`]}),nx=({position:e,size:t})=>{let n=ex(),r=tx();return O(n[e],e===`bottom`&&r[t],e!==`bottom`&&n[t])},rx={small:$.durationGentle,medium:$.durationSlow,large:$.durationSlower,full:$.durationUltraSlow};function ix(e,t,n){let r=`translate3d(var(${t}), 0, 0)`,i=`translate3d(calc(var(${t}) * -1), 0, 0)`,a=`translate3d(0, var(${t}), 0)`;return e===`start`?n===`ltr`?i:r:e===`end`?n===`ltr`?r:i:e===`bottom`?a:`translate3d(0, 0, 0)`}Nd(({position:e,size:t,dir:n})=>{let r=[{transform:ix(e,$b.drawerSizeVar,n),opacity:0},{transform:`translate3d(0, 0, 0)`,opacity:1}],i=rx[t];return{enter:{keyframes:r,duration:i,easing:$.curveDecelerateMid},exit:{keyframes:[...r].reverse(),duration:i,easing:$.curveAccelerateMin}}});var ax=Nd(({position:e,size:t,dir:n})=>{let r=[{transform:ix(e,$b.drawerSizeVar,n),boxShadow:`0px ${Q.colorTransparentBackground}`,opacity:0},{transform:`translate3d(0, 0, 0)`,boxShadow:Q.shadow64,opacity:1}],i=rx[t];return{enter:{keyframes:r,duration:i,easing:$.curveDecelerateMid},exit:{keyframes:[...r].reverse(),duration:i,easing:$.curveAccelerateMin}}}),ox=Nd(({size:e})=>{let t=rx[e],n=$.curveLinear;return{enter:Xd({direction:`enter`,duration:t,easing:n}),exit:Xd({direction:`exit`,duration:t,easing:n})}});function sx(e){let{open:t=!1,size:n=`small`,position:r=`start`}=e;return{size:n,position:r,open:t}}var cx=or(`rl76ifk`,null,[`.rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}`]),lx=N({nested:{De3pzq:`f1c21dwh`}},{d:[`.f1c21dwh{background-color:var(--colorTransparentBackground);}`]}),ux=e=>{"use no memo";let t=cx(),n=lx();return e.backdrop&&(e.backdrop.className=O(t,e.isNestedDialog&&n.nested,e.backdrop.className)),e},dx=_.forwardRef((e,t)=>{let n=Y_({...e,as:e.as},t),r=Z_(n);return ux(n),R(`useOverlayDrawerSurfaceStyles_unstable`)(n),X_(n,r)});dx.displayName=`OverlayDrawerSurface`;function fx(e,t,n){return e===null?null:{...e,children:(r,i)=>e?.children?e.children(t,{...i,...n}):_.createElement(t,{...i,...n},i.children)}}var px={active:!0,canRender:!0,ref:_.createRef(),type:`idle`},mx=(e,t)=>{let{open:n,size:r,position:i}=sx(e),{backdropMotion:a,modalType:o=`modal`,inertTrapFocus:s,onOpenChange:c,surfaceMotion:l,mountNode:u}=e,{dir:d,targetDocument:f}=ti(),{element:p}=eh(u),m=!!(p&&f?.body!==p),h=dr(e.backdrop),g=o!==`non-modal`&&h!==null,_=P({...e,ref:t,backdrop:g?{...h}:null,backdropMotion:fx(a,ox,{size:r})},{elementType:dx}),v=P({open:n,onOpenChange:c,inertTrapFocus:s,modalType:o,surfaceMotion:fx(l,ax,{position:i,size:r,dir:d}),children:null},{elementType:H_});return{components:{root:dx,dialog:H_},root:_,dialog:v,open:n,size:r,position:i,hasMountNodeElement:m,mountNode:u,motion:px}},hx=(e,t)=>U(Xb,{value:t,children:U(e.dialog,{children:U(e.root,{})})}),gx={root:`fui-OverlayDrawer`,backdrop:`fui-OverlayDrawer__backdrop`},_x=or(`r7dfyj8`,`rmx02j7`,{r:[`.r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}`,`.r7dfyj8:focus{outline-style:none;}`,`.r7dfyj8:focus-visible{outline-style:none;}`,`.r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}`,`.r7dfyj8[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);}`,`.rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}`,`.rmx02j7:focus{outline-style:none;}`,`.rmx02j7:focus-visible{outline-style:none;}`,`.rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}`,`.rmx02j7[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){.r7dfyj8[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){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}`]}),vx=N({start:{},end:{},bottom:{Bhzewxz:`f198g47y`,Bqenvij:`fub80nq`,a9b677:`fr97h3j`},absolute:{qhf8xq:`f1euv43f`}},{d:[`.f198g47y{top:auto;}`,`.fub80nq{height:var(--fui-Drawer--size);}`,`.fr97h3j{width:100vw;}`,`.f1euv43f{position:absolute;}`]}),yx=e=>{"use no memo";let t=nx(e),n=_x(),r=vx(),i=e.hasMountNodeElement&&r.absolute,a=e.root.backdrop;return e.root.className=O(gx.root,t,n,r[e.position],i,e.root.className),a&&(a.className=O(gx.backdrop,i,a.className)),e},bx=_.forwardRef((e,t)=>{let n=mx(e,t),r=Qb();return yx(n),R(`useDrawerOverlayStyles_unstable`)(n),R(`useOverlayDrawerStyles_unstable`)(n),hx(n,r)});bx.displayName=`OverlayDrawer`;var xx=({scrollTop:e,scrollHeight:t,clientHeight:n})=>t<=n?`none`:e===0?`top`:e+n===t?`bottom`:`middle`,Sx=(e,t)=>{let{targetDocument:n}=ti(),r=n?.defaultView,{setScrollState:i}=Zb(),a=_.useRef(null),o=Ei(t,a),[s,c]=di(),[l,u]=di(),d=_.useCallback(()=>{a.current&&i(xx(a.current))},[i]),f=_.useCallback(()=>{c(),s(d)},[c,s,d]);return bi(d,[e.children,d]),bi(()=>{if(!a.current||!r?.ResizeObserver)return;let e=new r.ResizeObserver(()=>l(d));return e.observe(a.current),()=>{e.disconnect(),u()}},[l,u,d,r]),{components:{root:`div`},root:P(L(`div`,{ref:o,...e,onScroll:Li(e.onScroll,f)}),{elementType:`div`})}},Cx=e=>U(e.root,{}),wx={root:`fui-DrawerBody`},Tx=or(`ri6rvx7`,null,[`.ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}`,`.ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}`,`.ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}`]),Ex=e=>{"use no memo";let t=Tx();return e.root.className=O(wx.root,t,e.root.className),e},Dx=_.forwardRef((e,t)=>{let n=Sx(e,t);return Ex(n),R(`useDrawerBodyStyles_unstable`)(n),Cx(n)});Dx.displayName=`DrawerBody`;var Ox=(e,t)=>{let{scrollState:n}=Zb();return{components:{root:`header`},root:P(L(`header`,{ref:t,role:`none`,...e}),{elementType:`header`}),scrollState:n}},kx=e=>U(e.root,{}),Ax={root:`fui-DrawerHeader`},jx=or(`r3ovn4i`,null,[`.r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}`]),Mx=N({separator:{Dlnsje:`fxnjyrl`,E3zdtr:`f1mdlcz9`,B1piin3:[`f15yvnhg`,`f1n6gb5g`],Eqx8gd:[`f1n6gb5g`,`f15yvnhg`],Bp15pi3:`f1564nw5`,Bjyk6c5:`fdlpgxj`,F2fol1:`f15cmg8x`,Ba2ppi3:`f3f8dgl`,B1dyfl9:`fjvo4va`,Bsft5z2:`f13zj6fq`,By385i5:`fo72kxq`},separatorVisible:{Bp15pi3:`fjsqi2x`}},{d:[`.fxnjyrl::after{height:1px;}`,`.f1mdlcz9::after{position:absolute;}`,`.f15yvnhg::after{right:0;}`,`.f1n6gb5g::after{left:0;}`,`.f1564nw5::after{opacity:0;}`,`.fdlpgxj::after{background-color:var(--colorNeutralStroke1);}`,`.f15cmg8x::after{transition-duration:var(--durationNormal);}`,`.f3f8dgl::after{transition-property:opacity;}`,`.fjvo4va::after{transition-timing-function:var(--curveEasyEase);}`,`.f13zj6fq::after{content:"";}`,`.fo72kxq::after{bottom:0;}`,`.fjsqi2x::after{opacity:1;}`]}),Nx=e=>{"use no memo";let t=jx(),n=Mx();return e.root.className=O(Ax.root,t,e.scrollState!==`none`&&n.separator,[`middle`,`bottom`].includes(e.scrollState)&&n.separatorVisible,e.root.className),e},Px=_.forwardRef((e,t)=>{let n=Ox(e,t);return Nx(n),R(`useDrawerHeaderStyles_unstable`)(n),kx(n)});Px.displayName=`DrawerHeader`;var Fx=(e,t)=>{let{children:n,heading:r}=e,i=M_(e=>e.dialogTitleId);return{components:{root:`div`,heading:`h2`,action:`div`},root:P(L(`div`,{ref:t,...e}),{elementType:`div`}),heading:F(r,{defaultProps:{id:i,children:n},renderByDefault:!0,elementType:`h2`}),action:F(e.action,{elementType:`div`})}},Ix=e=>aa(e.root,{children:[e.heading&&U(e.heading,{}),e.action&&U(e.action,{})]}),Lx={root:`fui-DrawerHeaderTitle`,heading:`fui-DrawerHeaderTitle__heading`,action:`fui-DrawerHeaderTitle__action`},Rx=N({root:{mc9l5x:`f22iagw`,Brf1p80:`f1869bpl`,Bt984gj:`f122n59`,i8kkvl:`fsnqrgy`},action:{t21cq0:[`faqnl2i`,`fd75udd`]}},{d:[`.f22iagw{display:flex;}`,`.f1869bpl{justify-content:space-between;}`,`.f122n59{align-items:center;}`,`.fsnqrgy{column-gap:var(--spacingHorizontalS);}`,`.faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}`,`.fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}`]}),zx=e=>{"use no memo";let t=Rx(),{heading:n={},action:r,components:i}=e;return q_({components:{root:i.heading,action:i.action},root:n,action:r}),e.root.className=O(Lx.root,t.root,e.root.className),e.heading&&(e.heading.className=O(Lx.heading,e.heading.className)),e.action&&(e.action.className=O(Lx.action,t.action,e.action.className)),e},Bx=_.forwardRef((e,t)=>{let n=Fx(e,t);return zx(n),R(`useDrawerHeaderTitleStyles_unstable`)(n),Ix(n)});Bx.displayName=`DrawerHeaderTitle`;var Vx=(e,t)=>{let{size:n=`medium`,disabled:r=!1,root:i,contentBefore:a,dismiss:o,contentAfter:s,value:c,defaultValue:l,...u}=e,d=_.useRef(null),f=_.useRef(null),[p,m]=pi({state:c,defaultState:l,initialState:``}),[h,g]=_.useState(!1),v=_.useCallback(()=>{g(!0)},[g]),y=_.useCallback(e=>{g(!!d.current?.contains(e.relatedTarget))},[g]),b=dr(i),x=B(t=>{var n,r;if(pr(o)){var i;(i=o.onClick)==null||i.call(o,t)}m(``),(n=e.onChange)==null||n.call(e,t,{value:``}),(r=f.current)==null||r.focus()}),S=Mg({type:`search`,disabled:r,size:n,value:p,root:P({...b,ref:Ei(b?.ref,d),onFocus:Li(b?.onFocus,v),onBlur:Li(b?.onBlur,y)},{elementType:`span`}),contentBefore:F(a,{renderByDefault:!0,defaultProps:{children:_.createElement(cd,null)},elementType:`span`}),contentAfter:F(s,{renderByDefault:!0,elementType:`span`}),...u,onChange:B(t=>{var n;let r=t.target.value;(n=e.onChange)==null||n.call(e,t,{value:r}),m(r)})},Ei(f,t)),C={...S,components:{...S.components,dismiss:`span`},dismiss:F(o,{defaultProps:{children:_.createElement(od,null),role:`button`,"aria-label":`clear`,tabIndex:-1},renderByDefault:!0,elementType:`span`}),disabled:r,focused:h,size:n};return C.dismiss&&(C.dismiss.onClick=x),C},Hx=e=>aa(e.root,{children:[e.contentBefore&&U(e.contentBefore,{}),U(e.input,{}),e.contentAfter&&aa(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&U(e.dismiss,{})]})]}),Ux={root:`fui-SearchBox`,dismiss:`fui-SearchBox__dismiss`,contentAfter:`fui-SearchBox__contentAfter`,contentBefore:`fui-SearchBox__contentBefore`,input:`fui-SearchBox__input`},Wx=N({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;}`]}),Gx=N({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);}`]}),Kx=N({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}]]}),qx=or(`r1pvzcuu`,null,[`.r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}`,`.r1pvzcuu>svg{font-size:20px;}`]),Jx=N({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;}`]}),Yx=e=>{"use no memo";let{disabled:t,focused:n,size:r}=e,i=Wx(),a=Gx(),o=Kx(),s=qx(),c=Jx();return e.root.className=O(Ux.root,i[r],!n&&i.unfocusedNoContentAfter,e.root.className),e.input.className=O(Ux.input,i.input,!n&&a[r],e.input.className),e.dismiss&&(e.dismiss.className=O(Ux.dismiss,s,t&&c.disabled,c[r],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=O(Ux.contentBefore,e.contentBefore.className)),e.contentAfter?e.contentAfter.className=O(Ux.contentAfter,o.contentAfter,!n&&o.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=O(e.dismiss.className,o.contentAfter)),Bg(e),e},Xx=_.forwardRef((e,t)=>{let n=Vx(e,t);return Yx(n),R(`useSearchBoxStyles_unstable`)(n),Hx(n)});Xx.displayName=`SearchBox`;var Zx=ar({root:{display:`flex`,gap:`20px`,alignItems:`flex-end`,flexWrap:`wrap`},field:{display:`grid`,justifyItems:`start`,gap:`2px`},dropdown:{minWidth:`200px`},dropdownSmall:{minWidth:`150px`},searchInput:{minWidth:`350px`}}),Qx=e=>{let t=Ti(`entity-type-dropdown`),n=Ti(`search-input`),r=Ti(`status-dropdown`),i=Ti(`user-type-dropdown`),a=Ti(`business-unit-dropdown`),o=(t,n)=>{e.onEntityTypeChanged(n.optionValue)},s=(t,n)=>{e.onTextFilterChanged(n.value)},c=(t,n)=>{e.onStatusFilterChanged?.(n.optionValue)},l=(t,n)=>{e.onUserTypeFilterChanged?.(n.optionValue)},u=(t,n)=>{e.onBusinessUnitFilterChanged?.(n.optionValue??`all`)},d=_.useMemo(()=>{let t=new Map;return e.systemUsers.forEach(e=>{e.businessunitid&&t.set(e.businessunitid.businessunitid,e.businessunitid.name)}),e.teams.forEach(e=>{e.businessunitid&&t.set(e.businessunitid.businessunitid,e.businessunitid.name)}),Array.from(t.entries()).map(([e,t])=>({id:e,name:t})).sort((e,t)=>e.name.localeCompare(t.name))},[e.systemUsers,e.teams]),f=Zx();return(0,H.jsxs)(`div`,{className:f.root,children:[(0,H.jsxs)(`div`,{className:f.field,children:[(0,H.jsx)(`label`,{htmlFor:t,children:`Entity Type`}),(0,H.jsxs)(jg,{id:t,placeholder:`Select entity type`,onOptionSelect:o,className:f.dropdownSmall,value:e.entityType===`systemuser`?`System Users`:`Teams`,selectedOptions:[e.entityType],children:[(0,H.jsx)(gg,{value:`systemuser`,text:`System Users`,children:`System Users`}),(0,H.jsx)(gg,{value:`team`,text:`Teams`,children:`Teams`})]})]}),e.entityType===`systemuser`&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(`div`,{className:f.field,children:[(0,H.jsx)(`label`,{htmlFor:r,children:`Status`}),(0,H.jsxs)(jg,{id:r,placeholder:`Enabled`,onOptionSelect:c,className:f.dropdownSmall,value:e.statusFilter===`all`?`All`:e.statusFilter===`enabled`?`Enabled`:`Disabled`,selectedOptions:[e.statusFilter??`enabled`],children:[(0,H.jsx)(gg,{value:`all`,text:`All`,children:`All`}),(0,H.jsx)(gg,{value:`enabled`,text:`Enabled`,children:`Enabled`}),(0,H.jsx)(gg,{value:`disabled`,text:`Disabled`,children:`Disabled`})]})]}),(0,H.jsxs)(`div`,{className:f.field,children:[(0,H.jsx)(`label`,{htmlFor:i,children:`User Type`}),(0,H.jsxs)(jg,{id:i,placeholder:`All`,onOptionSelect:l,className:f.dropdownSmall,value:e.userTypeFilter===`all`?`All`:e.userTypeFilter===`users`?`Users`:`Applications`,selectedOptions:[e.userTypeFilter??`all`],children:[(0,H.jsx)(gg,{value:`all`,text:`All`,children:`All`}),(0,H.jsx)(gg,{value:`users`,text:`Users`,children:`Users`}),(0,H.jsx)(gg,{value:`applications`,text:`Applications`,children:`Applications`})]})]})]}),(0,H.jsxs)(`div`,{className:f.field,children:[(0,H.jsx)(`label`,{htmlFor:a,children:`Business Unit`}),(0,H.jsxs)(jg,{id:a,placeholder:`All`,onOptionSelect:u,className:f.dropdown,value:e.businessUnitFilter===`all`?`All`:d.find(t=>t.id===e.businessUnitFilter)?.name??`All`,selectedOptions:[e.businessUnitFilter??`all`],children:[(0,H.jsx)(gg,{value:`all`,text:`All`,children:`All`}),d.map(e=>(0,H.jsx)(gg,{value:e.id,text:e.name,children:e.name},e.id))]})]}),(0,H.jsxs)(`div`,{className:f.field,children:[(0,H.jsx)(`label`,{htmlFor:n,children:`Search`}),(0,H.jsx)(Xx,{id:n,placeholder:`Search by name...`,value:e.textFilter??``,onChange:s,className:f.searchInput})]})]})},$x=ar({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%`},headerCell:{fontWeight:700}}),eS=({entityType:e,systemUsers:t,teams:n,selectedIds:r,onSelectionChange:i})=>{let a=$x(),o=(0,_.useMemo)(()=>new Set(r),[r]),s=(e,t)=>{i(Array.from(t.selectedItems).map(e=>String(e)))},c=[Xv({columnId:`fullname`,compare:(e,t)=>e.fullname.localeCompare(t.fullname),renderHeaderCell:()=>`Full Name`,renderCell:e=>(0,H.jsx)(`span`,{className:a.cellStyles,title:e.fullname,children:e.fullname})}),Xv({columnId:`domainname`,compare:(e,t)=>e.domainname.localeCompare(t.domainname),renderHeaderCell:()=>`Domain Name`,renderCell:e=>(0,H.jsx)(`span`,{className:a.cellStyles,title:e.domainname,children:e.domainname})}),Xv({columnId:`businessunit`,compare:(e,t)=>(e.businessunitid?.name??``).localeCompare(t.businessunitid?.name??``),renderHeaderCell:()=>`Business Unit`,renderCell:e=>(0,H.jsx)(`span`,{className:a.cellStyles,title:e.businessunitid?.name??`N/A`,children:e.businessunitid?.name??`N/A`})}),Xv({columnId:`status`,compare:(e,t)=>e.isdisabled===t.isdisabled?0:e.isdisabled?1:-1,renderHeaderCell:()=>`Status`,renderCell:e=>(0,H.jsx)(`span`,{className:a.cellStyles,title:e.isdisabled?`Disabled`:`Enabled`,children:e.isdisabled?`Disabled`:`Enabled`})})],l=[Xv({columnId:`teamname`,compare:(e,t)=>e.name.localeCompare(t.name),renderHeaderCell:()=>`Team Name`,renderCell:e=>(0,H.jsx)(`div`,{className:a.cellStyles,title:e.name,children:e.name})}),Xv({columnId:`teamtype`,compare:(e,t)=>e.teamtype-t.teamtype,renderHeaderCell:()=>`Team Type`,renderCell:e=>{let t=e.teamtype===0?`Owner`:e.teamtype===1?`Access`:`Other`;return(0,H.jsx)(`div`,{className:a.cellStyles,title:t,children:t})}}),Xv({columnId:`businessunit`,compare:(e,t)=>(e.businessunitid?.name??``).localeCompare(t.businessunitid?.name??``),renderHeaderCell:()=>`Business Unit`,renderCell:e=>{let t=e.businessunitid?.name??`N/A`;return(0,H.jsx)(`div`,{className:a.cellStyles,title:t,children:t})}}),Xv({columnId:`isdefault`,compare:(e,t)=>e.isdefault===t.isdefault?0:e.isdefault?-1:1,renderHeaderCell:()=>`Default Team`,renderCell:e=>{let t=e.isdefault?`Yes`:`No`;return(0,H.jsx)(`div`,{className:a.cellStyles,title:t,children:t})}})];return e===`systemuser`?(0,H.jsx)(`div`,{className:a.container,children:(0,H.jsxs)(Ib,{items:t,columns:c,sortable:!0,defaultSortState:{sortColumn:`fullname`,sortDirection:`ascending`},resizableColumns:!0,columnSizingOptions:{fullname:{minWidth:300,defaultWidth:300},domainname:{minWidth:300,defaultWidth:300},businessunit:{minWidth:250,defaultWidth:250},status:{minWidth:200,defaultWidth:200}},className:a.dataGrid,size:`small`,selectionMode:`multiselect`,selectedItems:o,onSelectionChange:s,getRowId:e=>e.systemuserid,children:[(0,H.jsx)(Vb,{children:(0,H.jsx)(Tb,{children:({renderHeaderCell:e})=>(0,H.jsx)(qb,{className:a.headerCell,children:e()})})}),(0,H.jsx)(Ab,{className:a.dataGridBody,children:({item:e,rowId:t})=>(0,H.jsx)(Tb,{children:({renderCell:t})=>(0,H.jsx)(pb,{children:t(e)})},t)})]},`systemuser-grid`)}):(0,H.jsx)(`div`,{className:a.container,children:(0,H.jsxs)(Ib,{items:n,columns:l,sortable:!0,resizableColumns:!0,columnSizingOptions:{teamname:{minWidth:300,defaultWidth:300},teamtype:{minWidth:100,defaultWidth:100},businessunit:{minWidth:250,defaultWidth:250},isdefault:{minWidth:200,defaultWidth:200}},defaultSortState:{sortColumn:`teamname`,sortDirection:`ascending`},className:a.dataGrid,size:`small`,selectionMode:`multiselect`,selectedItems:o,onSelectionChange:s,getRowId:e=>e.teamid,children:[(0,H.jsx)(Vb,{children:(0,H.jsx)(Tb,{children:({renderHeaderCell:e})=>(0,H.jsx)(qb,{className:a.headerCell,children:e()})})}),(0,H.jsx)(Ab,{className:a.dataGridBody,children:({item:e,rowId:t})=>(0,H.jsx)(Tb,{children:({renderCell:t})=>(0,H.jsx)(pb,{children:t(e)})},t)})]},`team-grid`)})},tS=ar({drawerRoot:{width:`80vw`,maxWidth:`80vw`},drawerBody:{height:`100%`,minHeight:0,display:`flex`,flexDirection:`column`,overflow:`hidden`},summarySection:{display:`grid`,gridTemplateColumns:`repeat(auto-fit, minmax(200px, 1fr))`,gap:Q.spacingVerticalM,marginBottom:Q.spacingVerticalL},statCard:{display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalS,padding:Q.spacingVerticalM,borderRadius:Q.borderRadiusMedium,border:`1px solid ${Q.colorNeutralStroke2}`,backgroundColor:Q.colorNeutralBackground1,boxShadow:`0 1px 3px rgba(0, 0, 0, 0.08)`},statCardHeader:{display:`flex`,alignItems:`center`,gap:Q.spacingHorizontalS},statIcon:{fontSize:`24px`,display:`flex`,alignItems:`center`},statLabel:{fontSize:`12px`,color:Q.colorNeutralForeground3,fontWeight:500,letterSpacing:`0.5px`},statValue:{fontSize:`32px`,fontWeight:700,color:Q.colorNeutralForeground1,lineHeight:`1`},userSection:{marginTop:Q.spacingVerticalS,display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalS},userMetrics:{display:`flex`,gap:Q.spacingHorizontalL,flexWrap:`wrap`},tableContainer:{border:`1px solid ${Q.colorNeutralStroke2}`,borderRadius:Q.borderRadiusMedium,overflow:`hidden`,maxHeight:`260px`,overflowY:`auto`},dataGrid:{width:`100%`},emptyState:{color:Q.colorNeutralForeground3},loadingContainer:{display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalM,alignItems:`stretch`,justifyContent:`flex-start`,flex:1,minHeight:0},resultContainer:{flex:1,minHeight:0,overflowY:`auto`,paddingRight:Q.spacingHorizontalXS},loadingHeader:{display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalXS},progressBlock:{width:`calc(100% - 10px)`,display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalS},loadingLogContainer:{border:`1px solid ${Q.colorNeutralStroke2}`,borderRadius:Q.borderRadiusMedium,padding:Q.spacingHorizontalM,flex:1,minHeight:0,overflowY:`auto`,backgroundColor:Q.colorNeutralBackground2},progressStats:{display:`flex`,flexWrap:`wrap`,gap:Q.spacingHorizontalL},recentList:{display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalXS},recentItem:{display:`flex`,justifyContent:`space-between`,gap:Q.spacingHorizontalM},stickyHeaderCell:{position:`sticky`,top:0,zIndex:2,backgroundColor:Q.colorNeutralBackground1,fontWeight:700},controlRow:{display:`flex`,gap:Q.spacingHorizontalS,alignItems:`center`,flexWrap:`wrap`},userSelect:{minWidth:`500px`},dropdownListbox:{zIndex:20},assignmentResult:{color:Q.colorNeutralForeground3},entitySelectionInfo:{color:Q.colorNeutralForeground3},summaryActions:{display:`flex`,justifyContent:`flex-end`,marginBottom:Q.spacingVerticalS},bottomActions:{display:`flex`,justifyContent:`space-between`,gap:Q.spacingHorizontalM,marginTop:Q.spacingVerticalM,paddingTop:Q.spacingVerticalS,borderTop:`1px solid ${Q.colorNeutralStroke2}`},errorItem:{padding:`${Q.spacingVerticalXS} 0`,borderBottom:`1px solid ${Q.colorNeutralStroke2}`,display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalXXS}}),nS=({open:e,isLoading:t,users:n,sourceOwnerType:r,allSystemUsers:i,allTeams:a,result:o,progress:s,onAssignRecords:c,onOpenChange:l})=>{let u=tS(),[d,f]=(0,_.useState)({}),[p,m]=(0,_.useState)({}),[h,g]=(0,_.useState)({}),[v,y]=(0,_.useState)({}),[b,x]=(0,_.useState)({}),[S,C]=(0,_.useState)({}),[w,T]=(0,_.useState)([]),ee=[Xv({columnId:`entityDisplayName`,renderHeaderCell:()=>`Entity`,renderCell:e=>e.entityDisplayName,compare:(e,t)=>e.entityDisplayName.localeCompare(t.entityDisplayName)}),Xv({columnId:`entityLogicalName`,renderHeaderCell:()=>`Logical Name`,renderCell:e=>e.entityLogicalName,compare:(e,t)=>e.entityLogicalName.localeCompare(t.entityLogicalName)}),Xv({columnId:`recordCount`,renderHeaderCell:()=>`Record Count`,renderCell:e=>e.recordCount,compare:(e,t)=>t.recordCount-e.recordCount})],E=(0,_.useMemo)(()=>(e,t)=>{let n=e===`team`?a:i;return e===r?n.filter(e=>e.userId!==t):n},[i,a,r]);(0,_.useEffect)(()=>{e||(f({}),m({}),g({}),y({}),x({}),C({}),T([]))},[e]),(0,_.useEffect)(()=>{if(!o)return;let e={},t={},n={};o.users.forEach(r=>{let i=r.userId;n[i]=r.entityCounts.map(e=>e.entityLogicalName);let a=`systemuser`;e[i]=a,t[i]=E(a,i)[0]?.userId??``}),f(t=>({...e,...t})),m(e=>({...t,...e})),g(e=>({...n,...e}))},[o,r,E]);let te=async e=>{let t=d[e]??`systemuser`,n=p[e]??``,r=h[e]??[];if(!(!n||r.length===0)){y(t=>({...t,[e]:!0}));try{let i=await c(e,t,n,r,t=>x(n=>({...n,[e]:t})));T(e=>[{...i,assignedAt:new Date().toISOString()},...e]),C(t=>({...t,[e]:i}))}finally{y(t=>({...t,[e]:!1}))}}},ne=(e,t)=>(t===`team`?a:i).find(t=>t.userId===e)?.userName??e,D=(e,t)=>t===`team`?``:i.find(t=>t.userId===e)?.domainName??``,re=()=>{if(w.length===0)return;let e=[];e.push([`Assigned At`,`Source Type`,`Source Owner`,`Source Owner Domain Name`,`Target Type`,`Target Owner`,`Target Owner Domain Name`,`Entity Display Name`,`Entity Logical Name`,`Assigned Record ID`,`Status`,`Error`,`Reassigned Records`,`Failed Records`].map(e=>`"${e}"`).join(`,`)),w.forEach(t=>{let n=ne(t.sourceOwnerId,t.sourceOwnerType),r=D(t.sourceOwnerId,t.sourceOwnerType),i=ne(t.targetOwnerId,t.targetOwnerType),a=D(t.targetOwnerId,t.targetOwnerType);t.entityResults.forEach(o=>{o.assignedRecordIds.forEach(s=>{e.push([t.assignedAt,t.sourceOwnerType,n,r,t.targetOwnerType,i,a,o.entityDisplayName,o.entityLogicalName,s,`Assigned`,``,`1`,`0`].map(e=>`"${String(e).replace(/"/g,`""`)}"`).join(`,`))}),o.failedRecordDetails.forEach(s=>{e.push([t.assignedAt,t.sourceOwnerType,n,r,t.targetOwnerType,i,a,o.entityDisplayName,o.entityLogicalName,s.recordId,`Failed`,s.error,`0`,`1`].map(e=>`"${String(e).replace(/"/g,`""`)}"`).join(`,`))}),o.assignedRecordIds.length===0&&o.failedRecordDetails.length===0&&e.push([t.assignedAt,t.sourceOwnerType,n,r,t.targetOwnerType,i,a,o.entityDisplayName,o.entityLogicalName,``,`No records`,``,String(o.reassignedRecords),String(o.failedRecords)].map(e=>`"${String(e).replace(/"/g,`""`)}"`).join(`,`))})});let t=new Blob([``+e.join(`\r
|
|
21
|
+
`)],{type:`text/csv;charset=utf-8;`}),n=URL.createObjectURL(t),r=document.createElement(`a`),i=new Date().toISOString().replace(/[:.]/g,`-`);r.href=n,r.download=`ownership-assignment-summary-${i}.csv`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n)},ie=()=>{let e=[];e.push([`Assigned At`,`Source Owner`,`Source Owner Domain Name`,`Target Owner`,`Target Owner Domain Name`,`Entity Display Name`,`Entity Logical Name`,`Record ID`,`Error`].map(e=>`"${e}"`).join(`,`)),w.forEach(t=>{let n=ne(t.sourceOwnerId,t.sourceOwnerType),r=D(t.sourceOwnerId,t.sourceOwnerType),i=ne(t.targetOwnerId,t.targetOwnerType),a=D(t.targetOwnerId,t.targetOwnerType);t.entityResults.forEach(o=>{o.failedRecordDetails.forEach(s=>{e.push([t.assignedAt,n,r,i,a,o.entityDisplayName,o.entityLogicalName,s.recordId,s.error].map(e=>`"${String(e).replace(/"/g,`""`)}"`).join(`,`))})})});let t=new Blob([``+e.join(`\r
|
|
22
|
+
`)],{type:`text/csv;charset=utf-8;`}),n=URL.createObjectURL(t),r=document.createElement(`a`),i=new Date().toISOString().replace(/[:.]/g,`-`);r.href=n,r.download=`ownership-assignment-errors-${i}.csv`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n)},ae=w.some(e=>e.entityResults.some(e=>e.failedRecordDetails.length>0));return(0,H.jsxs)(bx,{position:`end`,size:`full`,className:u.drawerRoot,open:e,modalType:`modal`,onOpenChange:(e,t)=>l(t.open),children:[(0,H.jsx)(Px,{children:(0,H.jsx)(Bx,{action:(0,H.jsx)(Th,{appearance:`subtle`,"aria-label":`Close ownership results`,icon:(0,H.jsx)(od,{}),onClick:()=>l(!1)}),children:`Ownership Analysis Results`})}),(0,H.jsxs)(Dx,{className:u.drawerBody,children:[t&&(0,H.jsxs)(`div`,{className:u.loadingContainer,children:[(0,H.jsxs)(`div`,{className:u.loadingHeader,children:[(0,H.jsx)(m_,{label:`Analyzing Dataverse entities...`,size:`medium`}),(0,H.jsx)(C_,{children:`Scanning owner-based entities and counting records by owner.`})]}),s&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(`div`,{className:u.progressBlock,children:[(0,H.jsxs)(S_,{children:[`Processing `,s.processedEntities,` of`,` `,s.totalEntities,` entities`]}),(0,H.jsx)(sv,{value:s.totalEntities>0?s.processedEntities/s.totalEntities:0}),(0,H.jsxs)(`div`,{className:u.progressStats,children:[(0,H.jsxs)(C_,{children:[`Analyzed: `,(0,H.jsx)(`strong`,{children:s.analyzedEntities})]}),(0,H.jsxs)(C_,{children:[`Failed: `,(0,H.jsx)(`strong`,{children:s.failedEntities})]})]}),(0,H.jsxs)(C_,{children:[`Current entity: `,s.currentEntityDisplayName,` (`,s.currentEntityLogicalName,`)`]})]}),(0,H.jsx)(`div`,{className:u.loadingLogContainer,children:(0,H.jsxs)(`div`,{className:u.recentList,children:[(0,H.jsx)(C_,{children:`Analysis log`}),s.recentEntities.map((e,t)=>(0,H.jsxs)(`div`,{className:u.recentItem,children:[(0,H.jsxs)(C_,{children:[e.entityDisplayName,` (`,e.entityLogicalName,`)`]}),(0,H.jsx)(C_,{children:e.status===`failed`?`Failed`:`${e.recordsFound} records`})]},`${e.entityLogicalName}-${t}`))]})})]})]}),!t&&o&&(0,H.jsxs)(`div`,{className:u.resultContainer,children:[(0,H.jsxs)(`div`,{className:u.summarySection,children:[(0,H.jsxs)(`div`,{className:u.statCard,children:[(0,H.jsxs)(`div`,{className:u.statCardHeader,children:[(0,H.jsx)(`div`,{className:u.statIcon,style:{color:Q.colorBrandForeground1},children:(0,H.jsx)(ad,{})}),(0,H.jsx)(`span`,{className:u.statLabel,children:`Scanned Entities`})]}),(0,H.jsx)(`div`,{className:u.statValue,children:o.scannedEntities})]}),(0,H.jsxs)(`div`,{className:u.statCard,children:[(0,H.jsxs)(`div`,{className:u.statCardHeader,children:[(0,H.jsx)(`div`,{className:u.statIcon,style:{color:Q.colorStatusSuccessForeground1},children:(0,H.jsx)(td,{})}),(0,H.jsx)(`span`,{className:u.statLabel,children:`Successfully Analyzed`})]}),(0,H.jsx)(`div`,{className:u.statValue,children:o.analyzedEntities})]}),(0,H.jsxs)(`div`,{className:u.statCard,children:[(0,H.jsxs)(`div`,{className:u.statCardHeader,children:[(0,H.jsx)(`div`,{className:u.statIcon,style:{color:Q.colorStatusDangerForeground1},children:(0,H.jsx)(sd,{})}),(0,H.jsx)(`span`,{className:u.statLabel,children:`Failed Entities`})]}),(0,H.jsx)(`div`,{className:u.statValue,children:o.failedEntities})]})]}),o.failedEntityDetails.length>0&&(0,H.jsx)(hu,{collapsible:!0,children:(0,H.jsxs)(Tu,{value:`failed-entities`,children:[(0,H.jsxs)(Wd,{children:[`Failed Entity Details (`,o.failedEntityDetails.length,`)`]}),(0,H.jsx)(cf,{children:o.failedEntityDetails.map(e=>(0,H.jsxs)(`div`,{className:u.errorItem,children:[(0,H.jsxs)(b_,{weight:`semibold`,children:[e.entityDisplayName,` (`,e.entityLogicalName,`)`]}),(0,H.jsx)(C_,{children:e.message})]},e.entityLogicalName))})]})}),(0,H.jsx)(hu,{collapsible:!0,multiple:!0,defaultOpenItems:o.users.length>0?[o.users[0].userId]:[],children:o.users.map(e=>{let t=n.find(t=>t.userId===e.userId),r=e.entityCounts.slice(0,100),i=h[e.userId]??[],a=new Set(i),o=d[e.userId]??`systemuser`,s=E(o,e.userId),c=p[e.userId]??``,l=s.find(e=>e.userId===c)?.userName??``,_=e=>o===`systemuser`&&e.domainName?`${e.userName} (${e.domainName})`:e.userName,y=S[e.userId];return(0,H.jsxs)(Tu,{value:e.userId,children:[(0,H.jsxs)(Wd,{children:[t?.userName??e.userId,t?.domainName&&` (${t.domainName})`]}),(0,H.jsx)(cf,{children:(0,H.jsxs)(`section`,{className:u.userSection,children:[(0,H.jsxs)(`div`,{className:u.userMetrics,children:[(0,H.jsxs)(S_,{children:[`Total owned records:`,` `,(0,H.jsx)(`strong`,{children:e.totalOwnedRecords})]}),(0,H.jsxs)(S_,{children:[`Entities with records:`,` `,(0,H.jsx)(`strong`,{children:e.entitiesWithRecords})]})]}),(0,H.jsxs)(C_,{className:u.entitySelectionInfo,children:[`Selected entities for assignment:`,` `,i.length]}),r.length===0?(0,H.jsx)(b_,{className:u.emptyState,children:`No owned records found for this owner.`}):(0,H.jsx)(`div`,{className:u.tableContainer,children:(0,H.jsxs)(Ib,{items:r,columns:ee,sortable:!0,defaultSortState:{sortColumn:`recordCount`,sortDirection:`descending`},selectionMode:`multiselect`,selectedItems:a,getRowId:e=>e.entityLogicalName,className:u.dataGrid,onSelectionChange:(t,n)=>g(t=>({...t,[e.userId]:Array.from(n.selectedItems).map(e=>String(e))})),children:[(0,H.jsx)(Vb,{children:(0,H.jsx)(Tb,{children:({renderHeaderCell:e})=>(0,H.jsx)(qb,{className:u.stickyHeaderCell,children:e()})})}),(0,H.jsx)(Ab,{children:({item:e,rowId:t})=>(0,H.jsx)(Tb,{children:({renderCell:t})=>(0,H.jsx)(pb,{children:t(e)})},t)})]})}),(0,H.jsxs)(`div`,{className:u.controlRow,children:[(0,H.jsxs)(jg,{className:u.userSelect,inlinePopup:!0,listbox:{className:u.dropdownListbox},value:o===`team`?`Target: Team`:`Target: User`,selectedOptions:[o],onOptionSelect:(t,n)=>{let r=n.optionValue;if(!r)return;let i=E(r,e.userId);f(t=>({...t,[e.userId]:r})),m(t=>({...t,[e.userId]:i[0]?.userId??``}))},children:[(0,H.jsx)(gg,{value:`systemuser`,text:`Target: User`,children:`Target: User`}),(0,H.jsx)(gg,{value:`team`,text:`Target: Team`,children:`Target: Team`})]}),(0,H.jsx)(jg,{className:u.userSelect,inlinePopup:!0,listbox:{className:u.dropdownListbox},placeholder:`Select target`,value:l,selectedOptions:c?[c]:[],onOptionSelect:(t,n)=>m(t=>({...t,[e.userId]:n.optionValue??``})),children:s.map(e=>(0,H.jsx)(gg,{value:e.userId,text:_(e),children:_(e)},e.userId))}),(0,H.jsx)(Th,{appearance:`primary`,disabled:!c||(v[e.userId]??!1)||e.totalOwnedRecords===0||i.length===0,onClick:()=>te(e.userId),children:v[e.userId]?`Assigning...`:`Assign selected records`})]}),v[e.userId]&&(()=>{let t=b[e.userId],n=t?.totalRecords??0,r=(t?.assignedRecords??0)+(t?.failedRecords??0);return(0,H.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalXS},children:[(0,H.jsx)(sv,{value:n>0?r/n:void 0}),(0,H.jsx)(C_,{children:t?`Assigning records: ${r} / ${n} — ${t.currentEntity}`:`Preparing assignment...`})]})})(),y&&(0,H.jsxs)(C_,{className:u.assignmentResult,children:[`Last assignment result: reassigned`,` `,y.reassignedRecords,`, failed`,` `,y.failedRecords,`.`]})]})})]},e.userId)})}),(0,H.jsxs)(`div`,{className:u.bottomActions,children:[(0,H.jsx)(Th,{appearance:`secondary`,onClick:()=>{if(!o||o.users.length===0)return;let e=[];e.push([`Source Owner Type`,`Source Owner Id`,`Source Owner Name`,`Source Owner Domain Name`,`Total Owned Records`,`Entities With Records`,`Entity Display Name`,`Entity Logical Name`,`Record Count`].map(e=>`"${e}"`).join(`,`)),o.users.forEach(t=>{let i=n.find(e=>e.userId===t.userId)?.userName??t.userId,a=n.find(e=>e.userId===t.userId)?.domainName??``;if(t.entityCounts.length===0){e.push([r,t.userId,i,a,String(t.totalOwnedRecords),String(t.entitiesWithRecords),``,``,`0`].map(e=>`"${String(e).replace(/"/g,`""`)}"`).join(`,`));return}t.entityCounts.forEach(n=>{e.push([r,t.userId,i,a,String(t.totalOwnedRecords),String(t.entitiesWithRecords),n.entityDisplayName,n.entityLogicalName,String(n.recordCount)].map(e=>`"${String(e).replace(/"/g,`""`)}"`).join(`,`))})});let t=new Blob([``+e.join(`\r
|
|
23
|
+
`)],{type:`text/csv;charset=utf-8;`}),i=URL.createObjectURL(t),a=document.createElement(`a`),s=new Date().toISOString().replace(/[:.]/g,`-`);a.href=i,a.download=`ownership-complete-analysis-${s}.csv`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i)},children:`Download Complete Analysis CSV`}),w.length>0&&(0,H.jsxs)(`div`,{style:{display:`flex`,gap:Q.spacingHorizontalM},children:[ae&&(0,H.jsx)(Th,{appearance:`secondary`,onClick:ie,children:`Download Assignment Errors (CSV)`}),(0,H.jsx)(Th,{appearance:`secondary`,onClick:re,children:`Download Assignment Summary (CSV)`})]})]})]})]})]})},rS=({connection:e})=>{let[t,n]=(0,_.useState)([]),[r,i]=(0,_.useState)([]),[a,o]=(0,_.useState)(`systemuser`),[s,c]=(0,_.useState)(``),[l,u]=(0,_.useState)(`enabled`),[d,f]=(0,_.useState)(`users`),[p,m]=(0,_.useState)(`all`),[h,g]=(0,_.useState)(!1),[v,S]=(0,_.useState)([]),[C,w]=(0,_.useState)(!1),[T,ee]=(0,_.useState)(!1),[E,te]=(0,_.useState)(`systemuser`),[D,re]=(0,_.useState)([]),[ae,oe]=(0,_.useState)(null),[se,ce]=(0,_.useState)(null),le=ar({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},gridSectionDisabled:{pointerEvents:`none`,userSelect:`none`}})();(0,_.useEffect)(()=>{(async()=>{e&&await ue()})()},[e]);let ue=(0,_.useCallback)(async()=>{try{g(!0);let[e,t]=await Promise.all([b(),x()]);n(e),i(t),y.info(`Fetched ${e.length} system users and ${t.length} teams`)}catch(e){y.error(`Error loading data: ${e.message}`),await window.toolboxAPI.utils.showNotification({title:`Error Loading Data`,body:`Failed to load data from Dataverse: ${e.message}`,type:`error`})}finally{g(!1)}},[e]),de=(0,_.useCallback)(e=>{S(e)},[]),fe=(0,_.useCallback)(async()=>{if(v.length!==0){w(!0),ee(!0),te(a),re(v),oe(null),ce(null);try{let e=await ne(v,ce);oe(e),y.info(`Ownership analysis completed for ${v.length} owner(s). Scanned ${e.scannedEntities} entities.`)}catch(e){y.error(`Error loading ownership analysis: ${e.message}`),await window.toolboxAPI.utils.showNotification({title:`Ownership Analysis Failed`,body:`Failed to analyze user ownership: ${e.message}`,type:`error`})}finally{ee(!1)}}},[v,a]),pe=(0,_.useCallback)(async(e,t,n,r,i)=>{let a=ae?.users.find(t=>t.userId===e);if(!a)throw Error(`No ownership data found for selected source owner.`);let o=new Set(r),s=await ie(e,E,n,t,a.entityCounts.filter(e=>o.has(e.entityLogicalName)),i);return await window.toolboxAPI.utils.showNotification({title:`Ownership Assignment Completed`,body:`Reassigned ${s.reassignedRecords} record(s). Failed: ${s.failedRecords}.`,type:s.failedRecords>0?`warning`:`success`}),s},[ae,D,E]),me=(0,_.useMemo)(()=>{let e=t;if(l!==`all`&&(e=e.filter(e=>l===`enabled`?!e.isdisabled:e.isdisabled)),d!==`all`&&(e=e.filter(e=>d===`users`?!e.applicationid:!!e.applicationid)),p!==`all`&&(e=e.filter(e=>e.businessunitid?.businessunitid===p)),s){let t=s.toLowerCase();e=e.filter(e=>e.fullname?.toLowerCase().includes(t)||e.domainname?.toLowerCase().includes(t)||e.businessunitid?.name?.toLowerCase().includes(t))}return e},[t,s,l,d,p]),he=(0,_.useMemo)(()=>{let e=r;if(p!==`all`&&(e=e.filter(e=>e.businessunitid?.businessunitid===p)),s){let t=s.toLowerCase();e=e.filter(e=>e.name?.toLowerCase().includes(t)||e.businessunitid?.name?.toLowerCase().includes(t))}return e},[r,s,p]);return(0,H.jsx)(`div`,{className:le.overviewRoot,children:h?(0,H.jsx)(`div`,{className:le.loadingContainer,children:(0,H.jsx)(m_,{label:`Loading data...`,size:`large`})}):(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(`div`,{className:le.filterSection,children:[(0,H.jsx)(Qx,{entityType:a,systemUsers:t,teams:r,statusFilter:l,userTypeFilter:d,businessUnitFilter:p,textFilter:s,onEntityTypeChanged:e=>{y.info(`Entity type changed to: ${e}`),o(e),c(``),u(`enabled`),f(`all`),m(`all`),S([])},onTextFilterChanged:e=>{c(e)},onStatusFilterChanged:e=>{y.info(`Status filter changed to: ${e}`),u(e)},onUserTypeFilterChanged:e=>{y.info(`User type filter changed to: ${e}`),f(e)},onBusinessUnitFilterChanged:e=>{y.info(`Business unit filter changed to: ${e}`),m(e)}}),(a===`systemuser`||a===`team`)&&(0,H.jsx)(`div`,{className:le.buttonContainer,children:(0,H.jsx)(Th,{appearance:`primary`,onClick:fe,disabled:T||v.length===0,children:T?`Analyzing ownership...`:`Analyze Ownership`})})]}),(0,H.jsx)(`div`,{className:le.dataSection,children:(0,H.jsxs)(`div`,{className:`${le.gridSection} ${C?le.gridSectionDisabled:``}`,"aria-hidden":C,children:[a===`systemuser`&&me.length===0&&(0,H.jsx)(b_,{children:`No system users found.`}),a===`team`&&he.length===0&&(0,H.jsx)(b_,{children:`No teams found.`}),(a===`systemuser`&&me.length>0||a===`team`&&he.length>0)&&(0,H.jsx)(eS,{entityType:a,systemUsers:me,teams:he,selectedIds:v,onSelectionChange:de})]})}),(0,H.jsx)(nS,{open:C,isLoading:T,result:ae,progress:se,sourceOwnerType:E,allSystemUsers:t.map(e=>({userId:e.systemuserid,userName:e.fullname,domainName:e.domainname})),allTeams:r.map(e=>({userId:e.teamid,userName:e.name})),users:D.map(e=>({userId:e,userName:E===`team`?r.find(t=>t.teamid===e)?.name??e:t.find(t=>t.systemuserid===e)?.fullname??e,domainName:E===`systemuser`?t.find(t=>t.systemuserid===e)?.domainname??void 0:void 0})),onAssignRecords:pe,onOpenChange:w})]})})};function iS(){let[e,t]=(0,_.useState)(null),[n,r]=(0,_.useState)(!0),i=(0,_.useCallback)(async()=>{try{t(await window.toolboxAPI.connections.getActiveConnection())}catch(e){console.error(`Error refreshing connection:`,e)}finally{r(!1)}},[]);return(0,_.useEffect)(()=>{i()},[i]),{connection:e,isLoading:n,refreshConnection:i}}function aS(e){(0,_.useEffect)(()=>(window.toolboxAPI.events.on((t,n)=>{console.log(`Toolbox event received: ${n.event}`,n.data),e(n.event,n.data)}),()=>{}),[e])}var oS=``+new URL(`ownership-mover_logo-DI95f7fI.png`,document.currentScript&&document.currentScript.tagName.toUpperCase()===`SCRIPT`&&document.currentScript.src||document.baseURI).href,sS=ar({container:{backgroundColor:Q.colorNeutralBackground1,height:`100vh`,display:`flex`,flexDirection:`column`,overflow:`hidden`},header:{padding:Q.spacingVerticalL,paddingBottom:Q.spacingVerticalS,borderBottom:`1px solid ${Q.colorNeutralStroke1}`,display:`flex`,alignItems:`center`,gap:Q.spacingHorizontalM,flexShrink:0},headerTitle:{display:`flex`,flexDirection:`column`,alignItems:`flex-start`,gap:Q.spacingVerticalXXS},headerTitleRow:{display:`flex`,alignItems:`center`,gap:Q.spacingHorizontalM},headerIcon:{height:`50px`,objectFit:`contain`},subtitle:{color:Q.colorNeutralForeground3,fontSize:Q.fontSizeBase300},content:{padding:Q.spacingVerticalL,flex:1,overflow:`hidden`,minHeight:0}});function cS(){let{connection:e,refreshConnection:t}=iS(),[n,r]=(0,_.useState)(Il),i=sS(),a=(0,_.useCallback)((e,n)=>{switch(console.log(`Received event: ${e}`),e){case`connection:updated`:case`connection:created`:t();break;case`connection:deleted`:t();break;case`terminal:output`:case`terminal:command:completed`:case`terminal:error`:break;case`settings:updated`:o(),y.info(`Settings updated`);break}},[t]);async function o(){let e=await window.toolboxAPI.utils.getCurrentTheme();r(e===`dark`?Il:kl),y.info(`Theme updated:${e}`)}return aS(a),(0,_.useEffect)(()=>{(async()=>{await o(),y.info(`Initialized`)})()},[]),(0,H.jsx)(Zl,{theme:n,children:(0,H.jsxs)(`div`,{className:i.container,children:[(0,H.jsxs)(`div`,{className:i.header,children:[(0,H.jsx)(`img`,{src:oS,alt:`Ownership Mover`,className:i.headerIcon}),(0,H.jsxs)(`div`,{className:i.headerTitle,children:[(0,H.jsx)(w_,{children:`Ownership Mover`}),(0,H.jsx)(b_,{className:i.subtitle,children:`A Power Platform Toolbox tool to move ownership of records easily.`})]})]}),(0,H.jsx)(`div`,{className:i.content,children:(0,H.jsx)(rS,{connection:e})})]})})}var lS=document.getElementById(`root`);lS&&!lS.hasAttribute(`data-reactroot-initialized`)?(lS.setAttribute(`data-reactroot-initialized`,`true`),(0,v.createRoot)(lS).render((0,H.jsx)(_.StrictMode,{children:(0,H.jsx)(cS,{})}))):lS||console.error(`Root element not found. Make sure the HTML contains <div id="root"></div>`)})();
|