@cyco77/pptb-user-security-utility 0.7.2 → 0.7.4

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.
@@ -0,0 +1,13 @@
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 te(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ne(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var E=/\/+/g;function D(e,t){return typeof e==`object`&&e&&e.key!=null?ne(``+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(E,`$&/`)+`/`),re(o,r,i,``,function(e){return e})):o!=null&&(te(o)&&(o=ee(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(E,`$&/`)+`/`)+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(!te(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=te,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&&!te());){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 te(){return!(e.unstable_now()-ee<T)}function ne(){if(C!==null){var t=e.unstable_now();ee=t;var n=!0;try{n=C(!0,t)}finally{n?E():(S=!1,C=null)}}else S=!1}var E;if(typeof v==`function`)E=function(){v(ne)};else if(typeof MessageChannel<`u`){var D=new MessageChannel,re=D.port2;D.port1.onmessage=ne,E=function(){re.postMessage(null)}}else E=function(){g(ne,0)};function ie(e){C=e,S||(S=!0,E())}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=te,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`),te=Symbol.for(`react.strict_mode`),ne=Symbol.for(`react.profiler`),E=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 O=Object.assign,de;function fe(e){if(de===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);de=t&&t[1]||``}return`
3
+ `+de+e}var pe=!1;function me(e,t){if(!e||pe)return``;pe=!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{pe=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?fe(e):``}function he(e){switch(e.tag){case 5:return fe(e.type);case 16:return fe(`Lazy`);case 13:return fe(`Suspense`);case 19:return fe(`SuspenseList`);case 0:case 2:case 15:return e=me(e.type,!1),e;case 11:return e=me(e.type.render,!1),e;case 1:return e=me(e.type,!0),e;default:return``}}function ge(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 ne:return`Profiler`;case te: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 E: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?ge(e.type)||`Memo`:t;case se:t=e._payload,e=e._init;try{return ge(e(t))}catch{}}return null}function _e(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 ge(t);case 8:return t===te?`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 ve(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 O({},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=ve(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=ve(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,ve(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=``+ve(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 O({},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:ve(n)}}function Pe(e,t){var n=ve(t.value),r=ve(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=O({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 Ke(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 qe(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 Je=null;function Ye(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xe=null,Ze=null,Qe=null;function $e(e){if(e=Wi(e)){if(typeof Xe!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=Ki(t),Xe(e.stateNode,e.type,t))}}function et(e){Ze?Qe?Qe.push(e):Qe=[e]:Ze=e}function tt(){if(Ze){var e=Ze,t=Qe;if(Qe=Ze=null,$e(e),t)for(e=0;e<t.length;e++)$e(t[e])}}function nt(e,t){return e(t)}function k(){}var rt=!1;function it(e,t,n){if(rt)return e(t,n);rt=!0;try{return nt(e,t,n)}finally{rt=!1,(Ze!==null||Qe!==null)&&(k(),tt())}}function at(e,t){var n=e.stateNode;if(n===null)return null;var i=Ki(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,Et=n.unstable_now,Dt=n.unstable_getCurrentPriorityLevel,Ot=n.unstable_ImmediatePriority,kt=n.unstable_UserBlockingPriority,A=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 Ft=Math.clz32?Math.clz32:Rt,It=Math.log,Lt=Math.LN2;function Rt(e){return e>>>=0,e===0?32:31-(It(e)/Lt|0)|0}var zt=64,Bt=4194304;function Vt(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 Ht(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=Vt(a))):r=Vt(s)}else o=n&~i,o===0?a!==0&&(r=Vt(a)):r=Vt(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-Ft(t),i=1<<n,r|=e[n],t&=~i;return r}function Ut(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 Wt(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-Ft(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ut(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function Gt(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function Kt(){var e=zt;return zt<<=1,!(zt&4194240)&&(zt=64),e}function qt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Jt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ft(t),e[t]=n}function Yt(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-Ft(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Xt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ft(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var j=0;function Zt(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Qt,$t,en,tn,nn,rn=!1,an=[],on=null,sn=null,cn=null,ln=new Map,un=new Map,dn=[],fn=`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 pn(e,t){switch(e){case`focusin`:case`focusout`:on=null;break;case`dragenter`:case`dragleave`:sn=null;break;case`mouseover`:case`mouseout`:cn=null;break;case`pointerover`:case`pointerout`:ln.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:un.delete(t.pointerId)}}function mn(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=Wi(t),t!==null&&$t(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function hn(e,t,n,r,i){switch(t){case`focusin`:return on=mn(on,e,t,n,r,i),!0;case`dragenter`:return sn=mn(sn,e,t,n,r,i),!0;case`mouseover`:return cn=mn(cn,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return ln.set(a,mn(ln.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,un.set(a,mn(un.get(a)||null,e,t,n,r,i)),!0}return!1}function gn(e){var t=Ui(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,nn(e.priority,function(){en(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 _n(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);Je=r,n.target.dispatchEvent(r),Je=null}else return t=Wi(n),t!==null&&$t(t),e.blockedOn=n,!1;t.shift()}return!0}function vn(e,t,n){_n(e)&&n.delete(t)}function yn(){rn=!1,on!==null&&_n(on)&&(on=null),sn!==null&&_n(sn)&&(sn=null),cn!==null&&_n(cn)&&(cn=null),ln.forEach(vn),un.forEach(vn)}function M(e,t){e.blockedOn===t&&(e.blockedOn=null,rn||(rn=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,yn)))}function bn(e){function t(t){return M(t,e)}if(0<an.length){M(an[0],e);for(var n=1;n<an.length;n++){var r=an[n];r.blockedOn===e&&(r.blockedOn=null)}}for(on!==null&&M(on,e),sn!==null&&M(sn,e),cn!==null&&M(cn,e),ln.forEach(t),un.forEach(t),n=0;n<dn.length;n++)r=dn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<dn.length&&(n=dn[0],n.blockedOn===null);)gn(n),n.blockedOn===null&&dn.shift()}var xn=C.ReactCurrentBatchConfig,Sn=!0;function Cn(e,t,n,r){var i=j,a=xn.transition;xn.transition=null;try{j=1,Tn(e,t,n,r)}finally{j=i,xn.transition=a}}function wn(e,t,n,r){var i=j,a=xn.transition;xn.transition=null;try{j=4,Tn(e,t,n,r)}finally{j=i,xn.transition=a}}function Tn(e,t,n,r){if(Sn){var i=Dn(e,t,n,r);if(i===null)gi(e,t,r,En,n),pn(e,r);else if(hn(i,e,t,n,r))r.stopPropagation();else if(pn(e,r),t&4&&-1<fn.indexOf(e)){for(;i!==null;){var a=Wi(i);if(a!==null&&Qt(a),a=Dn(e,t,n,r),a===null&&gi(e,t,r,En,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else gi(e,t,r,null,n)}}var En=null;function Dn(e,t,n,r){if(En=null,e=Ye(r),e=Ui(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(Dt()){case Ot:return 1;case kt:return 4;case A: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 O(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=O({},Ln,{view:0,detail:0}),Bn=In(zn),Vn,Hn,Un,Wn=O({},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(O({},Wn,{dataTransfer:0})),qn=In(O({},zn,{relatedTarget:0})),Jn=In(O({},Ln,{animationName:0,elapsedTime:0,pseudoElement:0})),Yn=In(O({},Ln,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Xn=In(O({},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(O({},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(O({},Wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ir=In(O({},zn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tr})),ar=In(O({},Ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),or=In(O({},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})),sr=[9,13,27,32],cr=c&&`CompositionEvent`in window,lr=null;c&&`documentMode`in document&&(lr=document.documentMode);var ur=c&&`TextEvent`in window&&!lr,dr=c&&(!cr||lr&&8<lr&&11>=lr),fr=` `,pr=!1;function mr(e,t){switch(e){case`keyup`:return sr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function hr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var gr=!1;function _r(e,t){switch(e){case`compositionend`:return hr(t);case`keypress`:return t.which===32?(pr=!0,fr):null;case`textInput`:return e=t.data,e===fr&&pr?null:e;default:return null}}function vr(e,t){if(gr)return e===`compositionend`||!cr&&mr(e,t)?(e=Mn(),jn=An=kn=null,gr=!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 dr&&t.locale!==`ko`?null:t.data;default:return null}}var yr={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 br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!yr[e.type]:t===`textarea`}function xr(e,t,n,r){et(r),t=vi(t,`onChange`),0<t.length&&(n=new Rn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var Sr=null,Cr=null;function wr(e){di(e,0)}function Tr(e){if(Se(Gi(e)))return e}function Er(e,t){if(e===`change`)return t}var Dr=!1;if(c){var Or;if(c){var kr=`oninput`in document;if(!kr){var Ar=document.createElement(`div`);Ar.setAttribute(`oninput`,`return;`),kr=typeof Ar.oninput==`function`}Or=kr}else Or=!1;Dr=Or&&(!document.documentMode||9<document.documentMode)}function jr(){Sr&&(Sr.detachEvent(`onpropertychange`,Mr),Cr=Sr=null)}function Mr(e){if(e.propertyName===`value`&&Tr(Cr)){var t=[];xr(t,Cr,e,Ye(e)),it(wr,t)}}function Nr(e,t,n){e===`focusin`?(jr(),Sr=t,Cr=n,Sr.attachEvent(`onpropertychange`,Mr)):e===`focusout`&&jr()}function Pr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Tr(Cr)}function Fr(e,t){if(e===`click`)return Tr(t)}function Ir(e,t){if(e===`input`||e===`change`)return Tr(t)}function Lr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Rr=typeof Object.is==`function`?Object.is:Lr;function zr(e,t){if(Rr(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)||!Rr(e[i],t[i]))return!1}return!0}function Br(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vr(e,t){var n=Br(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=Br(n)}}function Hr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ur(){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 Wr(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 Gr(e){var t=Ur(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Hr(n.ownerDocument.documentElement,n)){if(r!==null&&Wr(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=Vr(n,a);var o=Vr(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 N=c&&`documentMode`in document&&11>=document.documentMode,Kr=null,qr=null,Jr=null,Yr=!1;function P(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Yr||Kr==null||Kr!==Ce(r)||(r=Kr,`selectionStart`in r&&Wr(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}),Jr&&zr(Jr,r)||(Jr=r,r=vi(qr,`onSelect`),0<r.length&&(t=new Rn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Kr)))}function F(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Xr={animationend:F(`Animation`,`AnimationEnd`),animationiteration:F(`Animation`,`AnimationIteration`),animationstart:F(`Animation`,`AnimationStart`),transitionend:F(`Transition`,`TransitionEnd`)},Zr={},Qr={};c&&(Qr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Xr.animationend.animation,delete Xr.animationiteration.animation,delete Xr.animationstart.animation),`TransitionEvent`in window||delete Xr.transitionend.transition);function $r(e){if(Zr[e])return Zr[e];if(!Xr[e])return e;var t=Xr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Qr)return Zr[e]=t[n];return e}var I=$r(`animationend`),ei=$r(`animationiteration`),ti=$r(`animationstart`),ni=$r(`transitionend`),ri=new Map,ii=`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 ai(e,t){ri.set(e,t),o(t,[e])}for(var oi=0;oi<ii.length;oi++){var si=ii[oi];ai(si.toLowerCase(),`on`+(si[0].toUpperCase()+si.slice(1)))}ai(I,`onAnimationEnd`),ai(ei,`onAnimationIteration`),ai(ti,`onAnimationStart`),ai(`dblclick`,`onDoubleClick`),ai(`focusin`,`onFocus`),ai(`focusout`,`onBlur`),ai(ni,`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 ci=`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(` `),li=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(ci));function ui(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,ht(r,t,void 0,e),e.currentTarget=null}function di(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;ui(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;ui(i,s,l),a=c}}}if(dt)throw e=ft,dt=!1,ft=null,e}function L(e,t){var n=t[Bi];n===void 0&&(n=t[Bi]=new Set);var r=e+`__bubble`;n.has(r)||(hi(t,e,2,!1),n.add(r))}function fi(e,t,n){var r=0;t&&(r|=4),hi(n,e,r,t)}var pi=`_reactListening`+Math.random().toString(36).slice(2);function mi(e){if(!e[pi]){e[pi]=!0,i.forEach(function(t){t!==`selectionchange`&&(li.has(t)||fi(t,!1,e),fi(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[pi]||(t[pi]=!0,fi(`selectionchange`,!1,t))}}function hi(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 gi(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=Ui(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=Ye(n),o=[];a:{var s=ri.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 I:case ei:case ti:c=Jn;break;case ni:c=ar;break;case`scroll`:c=Bn;break;case`wheel`:c=or;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(_i(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!==Je&&(l=n.relatedTarget||n.fromElement)&&(Ui(l)||l[R]))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?Ui(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:Gi(c),m=l==null?s:Gi(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Ui(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=yi(m))p++;for(m=0,h=f;h;h=yi(h))m++;for(;0<p-m;)u=yi(u),p--;for(;0<m-p;)f=yi(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=yi(u),f=yi(f)}u=null}else u=null;c!==null&&bi(o,s,c,u,!1),l!==null&&d!==null&&bi(o,d,l,u,!0)}}a:{if(s=r?Gi(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=Er;else if(br(s))if(Dr)g=Ir;else{g=Pr;var _=Nr}else(c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=Fr);if(g&&=g(e,r)){xr(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&ke(s,`number`,s.value)}switch(_=r?Gi(r):window,e){case`focusin`:(br(_)||_.contentEditable===`true`)&&(Kr=_,qr=r,Jr=null);break;case`focusout`:Jr=qr=Kr=null;break;case`mousedown`:Yr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Yr=!1,P(o,n,i);break;case`selectionchange`:if(N)break;case`keydown`:case`keyup`:P(o,n,i)}var v;if(cr)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 gr?mr(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(dr&&n.locale!==`ko`&&(gr||y!==`onCompositionStart`?y===`onCompositionEnd`&&gr&&(v=Mn()):(kn=i,An=`value`in kn?kn.value:kn.textContent,gr=!0)),_=vi(r,y),0<_.length&&(y=new Xn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=hr(n),v!==null&&(y.data=v)))),(v=ur?_r(e,n):vr(e,n))&&(r=vi(r,`onBeforeInput`),0<r.length&&(i=new Xn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}di(o,t)})}function _i(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vi(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(_i(e,a,i)),a=at(e,t),a!=null&&r.push(_i(e,a,i))),e=e.return}return r}function yi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function bi(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(_i(n,c,s))):i||(c=at(n,a),c!=null&&o.push(_i(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var xi=/\r\n?/g,Si=/\u0000|\uFFFD/g;function Ci(e){return(typeof e==`string`?e:``+e).replace(xi,`
7
+ `).replace(Si,``)}function wi(e,t,n){if(t=Ci(t),Ci(e)!==t&&n)throw Error(r(425))}function Ti(){}var Ei=null,Di=null;function Oi(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 ki=typeof setTimeout==`function`?setTimeout:void 0,Ai=typeof clearTimeout==`function`?clearTimeout:void 0,ji=typeof Promise==`function`?Promise:void 0,Mi=typeof queueMicrotask==`function`?queueMicrotask:ji===void 0?ki:function(e){return ji.resolve(null).then(e).catch(Ni)};function Ni(e){setTimeout(function(){throw e})}function Pi(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 Fi(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 Ii(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 Li=Math.random().toString(36).slice(2),Ri=`__reactFiber$`+Li,zi=`__reactProps$`+Li,R=`__reactContainer$`+Li,Bi=`__reactEvents$`+Li,Vi=`__reactListeners$`+Li,Hi=`__reactHandles$`+Li;function Ui(e){var t=e[Ri];if(t)return t;for(var n=e.parentNode;n;){if(t=n[R]||n[Ri]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ii(e);e!==null;){if(n=e[Ri])return n;e=Ii(e)}return t}e=n,n=e.parentNode}return null}function Wi(e){return e=e[Ri]||e[R],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Gi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Ki(e){return e[zi]||null}var qi=[],Ji=-1;function Yi(e){return{current:e}}function z(e){0>Ji||(e.current=qi[Ji],qi[Ji]=null,Ji--)}function B(e,t){Ji++,qi[Ji]=e.current,e.current=t}var Xi={},Zi=Yi(Xi),Qi=Yi(!1),$i=Xi;function ea(e,t){var n=e.type.contextTypes;if(!n)return Xi;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 ta(e){return e=e.childContextTypes,e!=null}function na(){z(Qi),z(Zi)}function ra(e,t,n){if(Zi.current!==Xi)throw Error(r(168));B(Zi,t),B(Qi,n)}function ia(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,_e(e)||`Unknown`,a));return O({},n,i)}function V(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xi,$i=Zi.current,B(Zi,e),B(Qi,Qi.current),!0}function aa(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=ia(e,t,$i),i.__reactInternalMemoizedMergedChildContext=e,z(Qi),z(Zi),B(Zi,e)):z(Qi),B(Qi,n)}var oa=null,sa=!1,ca=!1;function la(e){oa===null?oa=[e]:oa.push(e)}function ua(e){sa=!0,la(e)}function da(){if(!ca&&oa!==null){ca=!0;var e=0,t=j;try{var n=oa;for(j=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}oa=null,sa=!1}catch(t){throw oa!==null&&(oa=oa.slice(e+1)),St(Ot,da),t}finally{j=t,ca=!1}}return null}var fa=[],pa=0,ma=null,ha=0,ga=[],_a=0,va=null,ya=1,ba=``;function xa(e,t){fa[pa++]=ha,fa[pa++]=ma,ma=e,ha=t}function Sa(e,t,n){ga[_a++]=ya,ga[_a++]=ba,ga[_a++]=va,va=e;var r=ya;e=ba;var i=32-Ft(r)-1;r&=~(1<<i),n+=1;var a=32-Ft(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ya=1<<32-Ft(t)+i|n<<i|r,ba=a+e}else ya=1<<a|n<<i|r,ba=e}function Ca(e){e.return!==null&&(xa(e,1),Sa(e,1,0))}function wa(e){for(;e===ma;)ma=fa[--pa],fa[pa]=null,ha=fa[--pa],fa[pa]=null;for(;e===va;)va=ga[--_a],ga[_a]=null,ba=ga[--_a],ga[_a]=null,ya=ga[--_a],ga[_a]=null}var Ta=null,Ea=null,Da=!1,Oa=null;function ka(e,t){var n=Kl(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 Aa(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,Ta=e,Ea=Fi(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,Ta=e,Ea=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=va===null?null:{id:ya,overflow:ba},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Kl(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ta=e,Ea=null,!0);default:return!1}}function ja(e){return(e.mode&1)!=0&&(e.flags&128)==0}function Ma(e){if(Da){var t=Ea;if(t){var n=t;if(!Aa(e,t)){if(ja(e))throw Error(r(418));t=Fi(n.nextSibling);var i=Ta;t&&Aa(e,t)?ka(i,n):(e.flags=e.flags&-4097|2,Da=!1,Ta=e)}}else{if(ja(e))throw Error(r(418));e.flags=e.flags&-4097|2,Da=!1,Ta=e}}}function Na(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ta=e}function Pa(e){if(e!==Ta)return!1;if(!Da)return Na(e),Da=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Oi(e.type,e.memoizedProps)),t&&=Ea){if(ja(e))throw Fa(),Error(r(418));for(;t;)ka(e,t),t=Fi(t.nextSibling)}if(Na(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){Ea=Fi(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Ea=null}}else Ea=Ta?Fi(e.stateNode.nextSibling):null;return!0}function Fa(){for(var e=Ea;e;)e=Fi(e.nextSibling)}function Ia(){Ea=Ta=null,Da=!1}function La(e){Oa===null?Oa=[e]:Oa.push(e)}var H=C.ReactCurrentBatchConfig;function Ra(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 za(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Ba(e){var t=e._init;return t(e._payload)}function U(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=Yl(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=$l(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&&Ba(i)===t.type)?(r=a(t,n.props),r.ref=Ra(e,t,n),r.return=e,r):(r=Xl(n.type,n.key,n.props,null,e.mode,r),r.ref=Ra(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=eu(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=Zl(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=$l(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=Xl(t.type,t.key,t.props,null,e.mode,n),n.ref=Ra(e,null,t),n.return=e,n;case T:return t=eu(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=Zl(t,e.mode,n,null),t.return=e,t;za(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;za(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);za(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),Da&&xa(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 Da&&xa(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)}),Da&&xa(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),Da&&xa(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 Da&&xa(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)}),Da&&xa(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&&Ba(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Ra(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=Zl(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=Xl(i.type,i.key,i.props,null,e.mode,o),o.ref=Ra(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=eu(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);za(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=$l(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var Va=U(!0),Ha=U(!1),Ua=Yi(null),Wa=null,Ga=null,Ka=null;function qa(){Ka=Ga=Wa=null}function Ja(e){var t=Ua.current;z(Ua),e._currentValue=t}function Ya(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 Xa(e,t){Wa=e,Ka=Ga=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Rs=!0),e.firstContext=null)}function Za(e){var t=e._currentValue;if(Ka!==e)if(e={context:e,memoizedValue:t,next:null},Ga===null){if(Wa===null)throw Error(r(308));Ga=e,Wa.dependencies={lanes:0,firstContext:e}}else Ga=Ga.next=e;return t}var Qa=null;function $a(e){Qa===null?Qa=[e]:Qa.push(e)}function eo(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,$a(t)):(n.next=i.next,i.next=n),t.interleaved=n,to(e,r)}function to(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 no=!1;function ro(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function io(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 ao(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function oo(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,to(e,n)}return i=r.interleaved,i===null?(t.next=t,$a(r)):(t.next=i.next,i.next=t),r.interleaved=t,to(e,n)}function so(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,Xt(e,n)}}function co(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 lo(e,t,n,r){var i=e.updateQueue;no=!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=O({},d,f);break a;case 2:no=!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 uo(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 fo={},po=Yi(fo),mo=Yi(fo),W=Yi(fo);function ho(e){if(e===fo)throw Error(r(174));return e}function go(e,t){switch(B(W,t),B(mo,e),B(po,fo),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)}z(po),B(po,t)}function _o(){z(po),z(mo),z(W)}function vo(e){ho(W.current);var t=ho(po.current),n=Le(t,e.type);t!==n&&(B(mo,e),B(po,n))}function yo(e){mo.current===e&&(z(po),z(mo))}var bo=Yi(0);function xo(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 So=[];function Co(){for(var e=0;e<So.length;e++)So[e]._workInProgressVersionPrimary=null;So.length=0}var wo=C.ReactCurrentDispatcher,To=C.ReactCurrentBatchConfig,Eo=0,Do=null,Oo=null,ko=null,Ao=!1,jo=!1,Mo=0,No=0;function Po(){throw Error(r(321))}function Fo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rr(e[n],t[n]))return!1;return!0}function Io(e,t,n,i,a,o){if(Eo=o,Do=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,wo.current=e===null||e.memoizedState===null?vs:ys,e=n(i,a),jo){o=0;do{if(jo=!1,Mo=0,25<=o)throw Error(r(301));o+=1,ko=Oo=null,t.updateQueue=null,wo.current=bs,e=n(i,a)}while(jo)}if(wo.current=_s,t=Oo!==null&&Oo.next!==null,Eo=0,ko=Oo=Do=null,Ao=!1,t)throw Error(r(300));return e}function Lo(){var e=Mo!==0;return Mo=0,e}function Ro(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ko===null?Do.memoizedState=ko=e:ko=ko.next=e,ko}function G(){if(Oo===null){var e=Do.alternate;e=e===null?null:e.memoizedState}else e=Oo.next;var t=ko===null?Do.memoizedState:ko.next;if(t!==null)ko=t,Oo=e;else{if(e===null)throw Error(r(310));Oo=e,e={memoizedState:Oo.memoizedState,baseState:Oo.baseState,baseQueue:Oo.baseQueue,queue:Oo.queue,next:null},ko===null?Do.memoizedState=ko=e:ko=ko.next=e}return ko}function zo(e,t){return typeof t==`function`?t(e):t}function Bo(e){var t=G(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=Oo,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((Eo&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,Do.lanes|=d,Qc|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Rr(i,t.memoizedState)||(Rs=!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,Do.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=G(),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);Rr(o,t.memoizedState)||(Rs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Ho(){}function Uo(e,t){var n=Do,i=G(),a=t(),o=!Rr(i.memoizedState,a);if(o&&(i.memoizedState=a,Rs=!0),i=i.queue,ts(Ko.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||ko!==null&&ko.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));Eo&30||Wo(n,t,a)}return a}function Wo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Do.updateQueue,t===null?(t={lastEffect:null,stores:null},Do.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!Rr(e,n)}catch{return!0}}function Jo(e){var t=to(e,1);t!==null&&vl(t,e,1,-1)}function Yo(e){var t=Ro();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=ps.bind(null,Do,e),[t.memoizedState,e]}function Xo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Do.updateQueue,t===null?(t={lastEffect:null,stores:null},Do.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 G().memoizedState}function Qo(e,t,n,r){var i=Ro();Do.flags|=e,i.memoizedState=Xo(1|t,n,void 0,r===void 0?null:r)}function $o(e,t,n,r){var i=G();r=r===void 0?null:r;var a=void 0;if(Oo!==null){var o=Oo.memoizedState;if(a=o.destroy,r!==null&&Fo(r,o.deps)){i.memoizedState=Xo(t,n,a,r);return}}Do.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 rs(e,t){return $o(4,4,e,t)}function is(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 as(e,t,n){return n=n==null?null:n.concat([e]),$o(4,4,is.bind(null,t,e),n)}function os(){}function ss(e,t){var n=G();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Fo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function cs(e,t){var n=G();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Fo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ls(e,t,n){return Eo&21?(Rr(n,t)||(n=Kt(),Do.lanes|=n,Qc|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Rs=!0),e.memoizedState=n)}function us(e,t){var n=j;j=n!==0&&4>n?n:4,e(!0);var r=To.transition;To.transition={};try{e(!1),t()}finally{j=n,To.transition=r}}function ds(){return G().memoizedState}function fs(e,t,n){var r=_l(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ms(e))hs(t,n);else if(n=eo(e,t,n,r),n!==null){var i=gl();vl(n,e,r,i),gs(n,t,r)}}function ps(e,t,n){var r=_l(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ms(e))hs(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,Rr(s,o)){var c=t.interleaved;c===null?(i.next=i,$a(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=eo(e,t,i,r),n!==null&&(i=gl(),vl(n,e,r,i),gs(n,t,r))}}function ms(e){var t=e.alternate;return e===Do||t!==null&&t===Do}function hs(e,t){jo=Ao=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function gs(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xt(e,n)}}var _s={readContext:Za,useCallback:Po,useContext:Po,useEffect:Po,useImperativeHandle:Po,useInsertionEffect:Po,useLayoutEffect:Po,useMemo:Po,useReducer:Po,useRef:Po,useState:Po,useDebugValue:Po,useDeferredValue:Po,useTransition:Po,useMutableSource:Po,useSyncExternalStore:Po,useId:Po,unstable_isNewReconciler:!1},vs={readContext:Za,useCallback:function(e,t){return Ro().memoizedState=[e,t===void 0?null:t],e},useContext:Za,useEffect:es,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),Qo(4194308,4,is.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=Ro();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ro();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=fs.bind(null,Do,e),[r.memoizedState,e]},useRef:function(e){var t=Ro();return e={current:e},t.memoizedState=e},useState:Yo,useDebugValue:os,useDeferredValue:function(e){return Ro().memoizedState=e},useTransition:function(){var e=Yo(!1),t=e[0];return e=us.bind(null,e[1]),Ro().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Do,a=Ro();if(Da){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Gc===null)throw Error(r(349));Eo&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=Ro(),t=Gc.identifierPrefix;if(Da){var n=ba,r=ya;n=(r&~(1<<32-Ft(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=Mo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=No++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},ys={readContext:Za,useCallback:ss,useContext:Za,useEffect:ts,useImperativeHandle:as,useInsertionEffect:ns,useLayoutEffect:rs,useMemo:cs,useReducer:Bo,useRef:Zo,useState:function(){return Bo(zo)},useDebugValue:os,useDeferredValue:function(e){return ls(G(),Oo.memoizedState,e)},useTransition:function(){return[Bo(zo)[0],G().memoizedState]},useMutableSource:Ho,useSyncExternalStore:Uo,useId:ds,unstable_isNewReconciler:!1},bs={readContext:Za,useCallback:ss,useContext:Za,useEffect:ts,useImperativeHandle:as,useInsertionEffect:ns,useLayoutEffect:rs,useMemo:cs,useReducer:Vo,useRef:Zo,useState:function(){return Vo(zo)},useDebugValue:os,useDeferredValue:function(e){var t=G();return Oo===null?t.memoizedState=e:ls(t,Oo.memoizedState,e)},useTransition:function(){return[Vo(zo)[0],G().memoizedState]},useMutableSource:Ho,useSyncExternalStore:Uo,useId:ds,unstable_isNewReconciler:!1};function xs(e,t){if(e&&e.defaultProps){for(var n in t=O({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ss(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:O({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cs={isMounted:function(e){return(e=e._reactInternals)?gt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=gl(),i=_l(e),a=ao(r,i);a.payload=t,n!=null&&(a.callback=n),t=oo(e,a,i),t!==null&&(vl(t,e,i,r),so(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=gl(),i=_l(e),a=ao(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=oo(e,a,i),t!==null&&(vl(t,e,i,r),so(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gl(),r=_l(e),i=ao(n,r);i.tag=2,t!=null&&(i.callback=t),t=oo(e,i,r),t!==null&&(vl(t,e,r,n),so(t,e,r))}};function ws(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?!zr(n,r)||!zr(i,a):!0}function Ts(e,t,n){var r=!1,i=Xi,a=t.contextType;return typeof a==`object`&&a?a=Za(a):(i=ta(t)?$i:Zi.current,r=t.contextTypes,a=(r=r!=null)?ea(e,i):Xi),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Cs,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Es(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&&Cs.enqueueReplaceState(t,t.state,null)}function Ds(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ro(e);var a=t.contextType;typeof a==`object`&&a?i.context=Za(a):(a=ta(t)?$i:Zi.current,i.context=ea(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(Ss(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&&Cs.enqueueReplaceState(i,i.state,null),lo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function Os(e,t){try{var n=``,r=t;do n+=he(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 ks(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function As(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var js=typeof WeakMap==`function`?WeakMap:Map;function Ms(e,t,n){n=ao(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ol||(ol=!0,sl=r),As(e,t)},n}function Ns(e,t,n){n=ao(-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(){As(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){As(e,t),typeof r!=`function`&&(cl===null?cl=new Set([this]):cl.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Ps(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new js;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=zl.bind(null,e,t,n),t.then(e,e))}function Fs(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 Is(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=ao(-1,1),t.tag=2,oo(n,t,1))),n.lanes|=1),e)}var Ls=C.ReactCurrentOwner,Rs=!1;function zs(e,t,n,r){t.child=e===null?Ha(t,null,n,r):Va(t,e.child,n,r)}function Bs(e,t,n,r,i){n=n.render;var a=t.ref;return Xa(t,i),r=Io(e,t,n,r,a,i),n=Lo(),e!==null&&!Rs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,oc(e,t,i)):(Da&&n&&Ca(t),t.flags|=1,zs(e,t,r,i),t.child)}function Vs(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ql(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Hs(e,t,a,r,i)):(e=Xl(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?zr:n,n(o,r)&&e.ref===t.ref)return oc(e,t,i)}return t.flags|=1,e=Yl(a,r),e.ref=t.ref,e.return=t,t.child=e}function Hs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(zr(a,r)&&e.ref===t.ref)if(Rs=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Rs=!0);else return t.lanes=e.lanes,oc(e,t,i)}return Gs(e,t,n,r,i)}function Us(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},B(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,B(Yc,Jc),Jc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,B(Yc,Jc),Jc|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),B(Yc,Jc),Jc|=r;return zs(e,t,i,n),t.child}function Ws(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Gs(e,t,n,r,i){var a=ta(n)?$i:Zi.current;return a=ea(t,a),Xa(t,i),n=Io(e,t,n,r,a,i),r=Lo(),e!==null&&!Rs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,oc(e,t,i)):(Da&&r&&Ca(t),t.flags|=1,zs(e,t,n,i),t.child)}function Ks(e,t,n,r,i){if(ta(n)){var a=!0;V(t)}else a=!1;if(Xa(t,i),t.stateNode===null)ac(e,t),Ts(t,n,r),Ds(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=Za(l):(l=ta(n)?$i:Zi.current,l=ea(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)&&Es(t,o,r,l),no=!1;var f=t.memoizedState;o.state=f,lo(t,r,o,i),c=t.memoizedState,s!==r||f!==c||Qi.current||no?(typeof u==`function`&&(Ss(t,n,u,r),c=t.memoizedState),(s=no||ws(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,io(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:xs(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=Za(c):(c=ta(n)?$i:Zi.current,c=ea(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)&&Es(t,o,r,c),no=!1,f=t.memoizedState,o.state=f,lo(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||Qi.current||no?(typeof p==`function`&&(Ss(t,n,p,r),m=t.memoizedState),(l=no||ws(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 qs(e,t,n,r,a,i)}function qs(e,t,n,r,i,a){Ws(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&aa(t,n,!1),oc(e,t,a);r=t.stateNode,Ls.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Va(t,e.child,null,a),t.child=Va(t,null,s,a)):zs(e,t,s,a),t.memoizedState=r.state,i&&aa(t,n,!0),t.child}function Js(e){var t=e.stateNode;t.pendingContext?ra(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ra(e,t.context,!1),go(e,t.containerInfo)}function Ys(e,t,n,r,i){return Ia(),La(i),t.flags|=256,zs(e,t,n,r),t.child}var Xs={dehydrated:null,treeContext:null,retryLane:0};function Zs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Qs(e,t,n){var r=t.pendingProps,i=bo.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),B(bo,i&1),e===null)return Ma(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=Ql(o,r,0,null),e=Zl(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Zs(n),t.memoizedState=Xs,e):$s(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return tc(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=Yl(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=Zl(a,o,n,null),a.flags|=2):a=Yl(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?Zs(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=Xs,r}return a=e.child,e=a.sibling,r=Yl(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 $s(e,t){return t=Ql({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function ec(e,t,n,r){return r!==null&&La(r),Va(t,e.child,null,n),e=$s(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function tc(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=ks(Error(r(422))),ec(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=Ql({mode:`visible`,children:i.children},a,0,null),o=Zl(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&Va(t,e.child,null,s),t.child.memoizedState=Zs(s),t.memoizedState=Xs,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return ec(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=ks(o,i,void 0),ec(e,t,s,i)}if(c=(s&e.childLanes)!==0,Rs||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,to(e,a),vl(i,e,a,-1))}return Al(),i=ks(Error(r(421))),ec(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=Vl.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Ea=Fi(a.nextSibling),Ta=t,Da=!0,Oa=null,e!==null&&(ga[_a++]=ya,ga[_a++]=ba,ga[_a++]=va,ya=e.id,ba=e.overflow,va=t),t=$s(t,i.children),t.flags|=4096,t)}function nc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ya(e.return,t,n)}function rc(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 ic(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(zs(e,t,r.children,n),r=bo.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&&nc(e,n,t);else if(e.tag===19)nc(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(B(bo,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&&xo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),rc(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&&xo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}rc(t,!0,n,null,a);break;case`together`:rc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ac(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function oc(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=Yl(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Yl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function sc(e,t,n){switch(t.tag){case 3:Js(t),Ia();break;case 5:vo(t);break;case 1:ta(t.type)&&V(t);break;case 4:go(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;B(Ua,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(B(bo,bo.current&1),e=oc(e,t,n),e===null?null:e.sibling):Qs(e,t,n):(B(bo,bo.current&1),t.flags|=128,null);B(bo,bo.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ic(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),B(bo,bo.current),r)break;return null;case 22:case 23:return t.lanes=0,Us(e,t,n)}return oc(e,t,n)}var cc=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}},lc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ho(po.current);var o=null;switch(n){case`input`:i=we(e,i),r=we(e,r),o=[];break;case`select`:i=O({},i,{value:void 0}),r=O({},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=Ti)}Ke(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`&&L(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},uc=function(e,t,n,r){n!==r&&(t.flags|=4)};function dc(e,t){if(!Da)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 fc(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 pc(e,t,n){var i=t.pendingProps;switch(wa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fc(t),null;case 1:return ta(t.type)&&na(),fc(t),null;case 3:return i=t.stateNode,_o(),z(Qi),z(Zi),Co(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Pa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Oa!==null&&(bl(Oa),Oa=null))),fc(t),null;case 5:yo(t);var o=ho(W.current);if(n=t.type,e!==null&&t.stateNode!=null)lc(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 fc(t),null}if(e=ho(po.current),Pa(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Ri]=t,i[zi]=s,e=(t.mode&1)!=0,n){case`dialog`:L(`cancel`,i),L(`close`,i);break;case`iframe`:case`object`:case`embed`:L(`load`,i);break;case`video`:case`audio`:for(o=0;o<ci.length;o++)L(ci[o],i);break;case`source`:L(`error`,i);break;case`img`:case`image`:case`link`:L(`error`,i),L(`load`,i);break;case`details`:L(`toggle`,i);break;case`input`:Te(i,s),L(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},L(`invalid`,i);break;case`textarea`:Ne(i,s),L(`invalid`,i)}for(var c in Ke(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&wi(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&wi(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&L(`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=Ti)}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[Ri]=t,e[zi]=i,cc(e,t,!1,!1),t.stateNode=e;a:{switch(c=qe(n,i),n){case`dialog`:L(`cancel`,e),L(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:L(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<ci.length;o++)L(ci[o],e);o=i;break;case`source`:L(`error`,e),o=i;break;case`img`:case`image`:case`link`:L(`error`,e),L(`load`,e),o=i;break;case`details`:L(`toggle`,e),o=i;break;case`input`:Te(e,i),o=we(e,i),L(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=O({},i,{value:void 0}),L(`invalid`,e);break;case`textarea`:Ne(e,i),o=Me(e,i),L(`invalid`,e);break;default:o=i}for(s in Ke(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`&&L(`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`,``+ve(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=Ti)}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 fc(t),null;case 6:if(e&&t.stateNode!=null)uc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=ho(W.current),ho(po.current),Pa(t)){if(i=t.stateNode,n=t.memoizedProps,i[Ri]=t,(s=i.nodeValue!==n)&&(e=Ta,e!==null))switch(e.tag){case 3:wi(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&wi(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Ri]=t,t.stateNode=i}return fc(t),null;case 13:if(z(bo),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Da&&Ea!==null&&t.mode&1&&!(t.flags&128))Fa(),Ia(),t.flags|=98560,s=!1;else if(s=Pa(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[Ri]=t}else Ia(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;fc(t),s=!1}else Oa!==null&&(bl(Oa),Oa=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||bo.current&1?Xc===0&&(Xc=3):Al())),t.updateQueue!==null&&(t.flags|=4),fc(t),null);case 4:return _o(),e===null&&mi(t.stateNode.containerInfo),fc(t),null;case 10:return Ja(t.type._context),fc(t),null;case 17:return ta(t.type)&&na(),fc(t),null;case 19:if(z(bo),s=t.memoizedState,s===null)return fc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)dc(s,!1);else{if(Xc!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=xo(e),c!==null){for(t.flags|=128,dc(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 B(bo,bo.current&1|2),t.child}e=e.sibling}s.tail!==null&&Et()>il&&(t.flags|=128,i=!0,dc(s,!1),t.lanes=4194304)}else{if(!i)if(e=xo(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),dc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!Da)return fc(t),null}else 2*Et()-s.renderingStartTime>il&&n!==1073741824&&(t.flags|=128,i=!0,dc(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?(fc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Et(),t.sibling=null,n=bo.current,B(bo,i?n&1|2:n&1),t);case 22:case 23:return El(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Jc&1073741824&&(fc(t),t.subtreeFlags&6&&(t.flags|=8192)):fc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function mc(e,t){switch(wa(t),t.tag){case 1:return ta(t.type)&&na(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _o(),z(Qi),z(Zi),Co(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return yo(t),null;case 13:if(z(bo),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return z(bo),null;case 4:return _o(),null;case 10:return Ja(t.type._context),null;case 22:case 23:return El(),null;case 24:return null;default:return null}}var hc=!1,gc=!1,_c=typeof WeakSet==`function`?WeakSet:Set,K=null;function vc(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){Rl(e,t,n)}else n.current=null}function yc(e,t,n){try{n()}catch(n){Rl(e,t,n)}}var bc=!1;function xc(e,t){if(Ei=Sn,e=Ur(),Wr(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(Di={focusedElem:e,selectionRange:n},Sn=!1,K=t;K!==null;)if(t=K,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;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:xs(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){Rl(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return h=bc,bc=!1,h}function Sc(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&&yc(t,n,a)}i=i.next}while(i!==r)}}function Cc(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 wc(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 Tc(e){var t=e.alternate;t!==null&&(e.alternate=null,Tc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ri],delete t[zi],delete t[Bi],delete t[Vi],delete t[Hi])),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 Ec(e){return e.tag===5||e.tag===3||e.tag===4}function Dc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Ec(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 Oc(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=Ti));else if(r!==4&&(e=e.child,e!==null))for(Oc(e,t,n),e=e.sibling;e!==null;)Oc(e,t,n),e=e.sibling}function kc(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(kc(e,t,n),e=e.sibling;e!==null;)kc(e,t,n),e=e.sibling}var Ac=null,jc=!1;function q(e,t,n){for(n=n.child;n!==null;)Mc(e,t,n),n=n.sibling}function Mc(e,t,n){if(Nt&&typeof Nt.onCommitFiberUnmount==`function`)try{Nt.onCommitFiberUnmount(Mt,n)}catch{}switch(n.tag){case 5:gc||vc(n,t);case 6:var r=Ac,i=jc;Ac=null,q(e,t,n),Ac=r,jc=i,Ac!==null&&(jc?(e=Ac,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ac.removeChild(n.stateNode));break;case 18:Ac!==null&&(jc?(e=Ac,n=n.stateNode,e.nodeType===8?Pi(e.parentNode,n):e.nodeType===1&&Pi(e,n),bn(e)):Pi(Ac,n.stateNode));break;case 4:r=Ac,i=jc,Ac=n.stateNode.containerInfo,jc=!0,q(e,t,n),Ac=r,jc=i;break;case 0:case 11:case 14:case 15:if(!gc&&(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)&&yc(n,t,o),i=i.next}while(i!==r)}q(e,t,n);break;case 1:if(!gc&&(vc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Rl(n,t,e)}q(e,t,n);break;case 21:q(e,t,n);break;case 22:n.mode&1?(gc=(r=gc)||n.memoizedState!==null,q(e,t,n),gc=r):q(e,t,n);break;default:q(e,t,n)}}function Nc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _c),t.forEach(function(t){var r=Hl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Pc(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:Ac=c.stateNode,jc=!1;break a;case 3:Ac=c.stateNode.containerInfo,jc=!0;break a;case 4:Ac=c.stateNode.containerInfo,jc=!0;break a}c=c.return}if(Ac===null)throw Error(r(160));Mc(o,s,a),Ac=null,jc=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){Rl(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Fc(t,e),t=t.sibling}function Fc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Pc(t,e),Ic(e),i&4){try{Sc(3,e,e.return),Cc(3,e)}catch(t){Rl(e,e.return,t)}try{Sc(5,e,e.return)}catch(t){Rl(e,e.return,t)}}break;case 1:Pc(t,e),Ic(e),i&512&&n!==null&&vc(n,n.return);break;case 5:if(Pc(t,e),Ic(e),i&512&&n!==null&&vc(n,n.return),e.flags&32){var a=e.stateNode;try{Be(a,``)}catch(t){Rl(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),qe(c,s);var u=qe(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[zi]=o}catch(t){Rl(e,e.return,t)}}break;case 6:if(Pc(t,e),Ic(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){Rl(e,e.return,t)}}break;case 3:if(Pc(t,e),Ic(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{bn(t.containerInfo)}catch(t){Rl(e,e.return,t)}break;case 4:Pc(t,e),Ic(e);break;case 13:Pc(t,e),Ic(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(rl=Et())),i&4&&Nc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(gc=(u=gc)||d,Pc(t,e),gc=u):Pc(t,e),Ic(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(K=e,d=e.child;d!==null;){for(f=K=d;K!==null;){switch(p=K,m=p.child,p.tag){case 0:case 11:case 14:case 15:Sc(4,p,p.return);break;case 1:vc(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){Rl(i,n,e)}}break;case 5:vc(p,p.return);break;case 22:if(p.memoizedState!==null){zc(f);continue}}m===null?zc(f):(m.return=p,K=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){Rl(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){Rl(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:Pc(t,e),Ic(e),i&4&&Nc(e);break;case 21:break;default:Pc(t,e),Ic(e)}}function Ic(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(Ec(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),kc(e,Dc(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;Oc(e,Dc(e),o);break;default:throw Error(r(161))}}catch(t){Rl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function J(e,t,n){K=e,Lc(e,t,n)}function Lc(e,t,n){for(var r=(e.mode&1)!=0;K!==null;){var i=K,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||hc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||gc;s=hc;var l=gc;if(hc=o,(gc=c)&&!l)for(K=i;K!==null;)o=K,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Bc(i):(c.return=o,K=c);for(;a!==null;)K=a,Lc(a,t,n),a=a.sibling;K=i,hc=s,gc=l}Rc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,K=a):Rc(e,t,n)}}function Rc(e){for(;K!==null;){var t=K;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:gc||Cc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!gc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:xs(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&uo(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}uo(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))}gc||t.flags&512&&wc(t)}catch(e){Rl(t,t.return,e)}}if(t===e){K=null;break}if(n=t.sibling,n!==null){n.return=t.return,K=n;break}K=t.return}}function zc(e){for(;K!==null;){var t=K;if(t===e){K=null;break}var n=t.sibling;if(n!==null){n.return=t.return,K=n;break}K=t.return}}function Bc(e){for(;K!==null;){var t=K;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Cc(4,t)}catch(e){Rl(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){Rl(t,i,e)}}var a=t.return;try{wc(t)}catch(e){Rl(t,a,e)}break;case 5:var o=t.return;try{wc(t)}catch(e){Rl(t,o,e)}}}catch(e){Rl(t,t.return,e)}if(t===e){K=null;break}var s=t.sibling;if(s!==null){s.return=t.return,K=s;break}K=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=Yi(0),Xc=0,Zc=null,Qc=0,$c=0,el=0,tl=null,nl=null,rl=0,il=1/0,al=null,ol=!1,sl=null,cl=null,ll=!1,ul=null,dl=0,fl=0,pl=null,ml=-1,hl=0;function gl(){return Y&6?Et():ml===-1?ml=Et():ml}function _l(e){return e.mode&1?Y&2&&qc!==0?qc&-qc:H.transition===null?(e=j,e===0?(e=window.event,e=e===void 0?16:On(e.type),e):e):(hl===0&&(hl=Kt()),hl):1}function vl(e,t,n,i){if(50<fl)throw fl=0,pl=null,Error(r(185));Jt(e,n,i),(!(Y&2)||e!==Gc)&&(e===Gc&&(!(Y&2)&&($c|=n),Xc===4&&Sl(e,qc)),X(e,i),n===1&&Y===0&&!(t.mode&1)&&(il=Et()+500,sa&&da()))}function X(e,t){var n=e.callbackNode;Wt(e,t);var r=Ht(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?ua(Cl.bind(null,e)):la(Cl.bind(null,e)),Mi(function(){!(Y&6)&&da()}),n=null;else{switch(Zt(r)){case 1:n=Ot;break;case 4:n=kt;break;case 16:n=A;break;case 536870912:n=jt;break;default:n=A}n=Wl(n,yl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function yl(e,t){if(ml=-1,hl=0,Y&6)throw Error(r(327));var n=e.callbackNode;if($()&&e.callbackNode!==n)return null;var i=Ht(e,e===Gc?qc:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=jl(e,i);else{t=i;var a=Y;Y|=2;var o=kl();(Gc!==e||qc!==t)&&(al=null,il=Et()+500,Dl(e,t));do try{Nl();break}catch(t){Ol(e,t)}while(1);qa(),Hc.current=o,Y=a,Kc===null?(Gc=null,qc=0,t=Xc):t=0}if(t!==0){if(t===2&&(a=Gt(e),a!==0&&(i=a,t=Z(e,a))),t===1)throw n=Zc,Dl(e,0),Sl(e,i),X(e,Et()),n;if(t===6)Sl(e,i);else{if(a=e.current.alternate,!(i&30)&&!xl(a)&&(t=jl(e,i),t===2&&(o=Gt(e),o!==0&&(i=o,t=Z(e,o))),t===1))throw n=Zc,Dl(e,0),Sl(e,i),X(e,Et()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Fl(e,nl,al);break;case 3:if(Sl(e,i),(i&130023424)===i&&(t=rl+500-Et(),10<t)){if(Ht(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){gl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ki(Fl.bind(null,e,nl,al),t);break}Fl(e,nl,al);break;case 4:if(Sl(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-Ft(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=Et()-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=ki(Fl.bind(null,e,nl,al),i);break}Fl(e,nl,al);break;case 5:Fl(e,nl,al);break;default:throw Error(r(329))}}}return X(e,Et()),e.callbackNode===n?yl.bind(null,e):null}function Z(e,t){var n=tl;return e.current.memoizedState.isDehydrated&&(Dl(e,t).flags|=256),e=jl(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(!Rr(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-Ft(t),r=1<<n;e[n]=-1,t&=~r}}function Cl(e){if(Y&6)throw Error(r(327));$();var t=Ht(e,0);if(!(t&1))return X(e,Et()),null;var n=jl(e,t);if(e.tag!==0&&n===2){var i=Gt(e);i!==0&&(t=i,n=Z(e,i))}if(n===1)throw n=Zc,Dl(e,0),Sl(e,t),X(e,Et()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Fl(e,nl,al),X(e,Et()),null}function wl(e,t){var n=Y;Y|=1;try{return e(t)}finally{Y=n,Y===0&&(il=Et()+500,sa&&da())}}function Tl(e){ul!==null&&ul.tag===0&&!(Y&6)&&$();var t=Y;Y|=1;var n=Wc.transition,r=j;try{if(Wc.transition=null,j=1,e)return e()}finally{j=r,Wc.transition=n,Y=t,!(Y&6)&&da()}}function El(){Jc=Yc.current,z(Yc)}function Dl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ai(n)),Kc!==null)for(n=Kc.return;n!==null;){var r=n;switch(wa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&na();break;case 3:_o(),z(Qi),z(Zi),Co();break;case 5:yo(r);break;case 4:_o();break;case 13:z(bo);break;case 19:z(bo);break;case 10:Ja(r.type._context);break;case 22:case 23:El()}n=n.return}if(Gc=e,Kc=e=Yl(e.current,null),qc=Jc=t,Xc=0,Zc=null,el=$c=Qc=0,nl=tl=null,Qa!==null){for(t=0;t<Qa.length;t++)if(n=Qa[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}Qa=null}return e}function Ol(e,t){do{var n=Kc;try{if(qa(),wo.current=_s,Ao){for(var i=Do.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}Ao=!1}if(Eo=0,ko=Oo=Do=null,jo=!1,Mo=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=Fs(s);if(m!==null){m.flags&=-257,Is(m,s,c,o,t),m.mode&1&&Ps(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)){Ps(o,u,t),Al();break a}l=Error(r(426))}}else if(Da&&c.mode&1){var _=Fs(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Is(_,s,c,o,t),La(Os(l,c));break a}}o=l=Os(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=Ms(o,l,t);co(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`&&(cl===null||!cl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Ns(o,c,t);co(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 kl(){var e=Hc.current;return Hc.current=_s,e===null?_s:e}function Al(){(Xc===0||Xc===3||Xc===2)&&(Xc=4),Gc===null||!(Qc&268435455)&&!($c&268435455)||Sl(Gc,qc)}function jl(e,t){var n=Y;Y|=2;var i=kl();(Gc!==e||qc!==t)&&(al=null,Dl(e,t));do try{Ml();break}catch(t){Ol(e,t)}while(1);if(qa(),Y=n,Hc.current=i,Kc!==null)throw Error(r(261));return Gc=null,qc=0,Xc}function Ml(){for(;Kc!==null;)Q(Kc)}function Nl(){for(;Kc!==null&&!wt();)Q(Kc)}function Q(e){var t=Ul(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=mc(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=pc(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=j,i=Wc.transition;try{Wc.transition=null,j=1,Il(e,t,n,r)}finally{Wc.transition=i,j=r}return null}function Il(e,t,n,i){do $();while(ul!==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(Yt(e,o),e===Gc&&(Kc=Gc=null,qc=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ll||(ll=!0,Wl(A,function(){return $(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=Wc.transition,Wc.transition=null;var s=j;j=1;var c=Y;Y|=4,Uc.current=null,xc(e,n),Fc(n,e),Gr(Di),Sn=!!Ei,Di=Ei=null,e.current=n,J(n,e,a),Tt(),Y=c,j=s,Wc.transition=o}else e.current=n;if(ll&&(ll=!1,ul=e,dl=a),o=e.pendingLanes,o===0&&(cl=null),Pt(n.stateNode,i),X(e,Et()),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(ol)throw ol=!1,e=sl,sl=null,e;return dl&1&&e.tag!==0&&$(),o=e.pendingLanes,o&1?e===pl?fl++:(fl=0,pl=e):fl=0,da(),null}function $(){if(ul!==null){var e=Zt(dl),t=Wc.transition,n=j;try{if(Wc.transition=null,j=16>e?16:e,ul===null)var i=!1;else{if(e=ul,ul=null,dl=0,Y&6)throw Error(r(331));var a=Y;for(Y|=4,K=e.current;K!==null;){var o=K,s=o.child;if(K.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(K=u;K!==null;){var d=K;switch(d.tag){case 0:case 11:case 15:Sc(8,d,o)}var f=d.child;if(f!==null)f.return=d,K=f;else for(;K!==null;){d=K;var p=d.sibling,m=d.return;if(Tc(d),d===u){K=null;break}if(p!==null){p.return=m,K=p;break}K=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)}}K=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,K=s;else b:for(;K!==null;){if(o=K,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Sc(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,K=v;break b}K=o.return}}var y=e.current;for(K=y;K!==null;){s=K;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,K=b;else b:for(s=y;K!==null;){if(c=K,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:Cc(9,c)}}catch(e){Rl(c,c.return,e)}if(c===s){K=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,K=x;break b}K=c.return}}if(Y=a,da(),Nt&&typeof Nt.onPostCommitFiberRoot==`function`)try{Nt.onPostCommitFiberRoot(Mt,e)}catch{}i=!0}return i}finally{j=n,Wc.transition=t}}return!1}function Ll(e,t,n){t=Os(n,t),t=Ms(e,t,1),e=oo(e,t,1),t=gl(),e!==null&&(Jt(e,1,t),X(e,t))}function Rl(e,t,n){if(e.tag===3)Ll(e,e,n);else for(;t!==null;){if(t.tag===3){Ll(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(cl===null||!cl.has(r))){e=Os(n,e),e=Ns(t,e,1),t=oo(t,e,1),e=gl(),t!==null&&(Jt(t,1,e),X(t,e));break}}t=t.return}}function zl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=gl(),e.pingedLanes|=e.suspendedLanes&n,Gc===e&&(qc&n)===n&&(Xc===4||Xc===3&&(qc&130023424)===qc&&500>Et()-rl?Dl(e,0):el|=n),X(e,t)}function Bl(e,t){t===0&&(e.mode&1?(t=Bt,Bt<<=1,!(Bt&130023424)&&(Bt=4194304)):t=1);var n=gl();e=to(e,t),e!==null&&(Jt(e,t,n),X(e,n))}function Vl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Bl(e,n)}function Hl(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),Bl(e,n)}var Ul=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qi.current)Rs=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Rs=!1,sc(e,t,n);Rs=!!(e.flags&131072)}else Rs=!1,Da&&t.flags&1048576&&Sa(t,ha,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;ac(e,t),e=t.pendingProps;var a=ea(t,Zi.current);Xa(t,n),a=Io(null,t,i,e,a,n);var o=Lo();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,ta(i)?(o=!0,V(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,ro(t),a.updater=Cs,t.stateNode=a,a._reactInternals=t,Ds(t,i,e,n),t=qs(null,t,i,!0,o,n)):(t.tag=0,Da&&o&&Ca(t),zs(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(ac(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=Jl(i),e=xs(i,e),a){case 0:t=Gs(null,t,i,e,n);break a;case 1:t=Ks(null,t,i,e,n);break a;case 11:t=Bs(null,t,i,e,n);break a;case 14:t=Vs(null,t,i,xs(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:xs(i,a),Gs(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:xs(i,a),Ks(e,t,i,a,n);case 3:a:{if(Js(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,io(e,t),lo(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=Os(Error(r(423)),t),t=Ys(e,t,i,n,a);break a}else if(i!==a){a=Os(Error(r(424)),t),t=Ys(e,t,i,n,a);break a}else for(Ea=Fi(t.stateNode.containerInfo.firstChild),Ta=t,Da=!0,Oa=null,n=Ha(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ia(),i===a){t=oc(e,t,n);break a}zs(e,t,i,n)}t=t.child}return t;case 5:return vo(t),e===null&&Ma(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Oi(i,a)?s=null:o!==null&&Oi(i,o)&&(t.flags|=32),Ws(e,t),zs(e,t,s,n),t.child;case 6:return e===null&&Ma(t),null;case 13:return Qs(e,t,n);case 4:return go(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Va(t,null,i,n):zs(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:xs(i,a),Bs(e,t,i,a,n);case 7:return zs(e,t,t.pendingProps,n),t.child;case 8:return zs(e,t,t.pendingProps.children,n),t.child;case 12:return zs(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,B(Ua,i._currentValue),i._currentValue=s,o!==null)if(Rr(o.value,s)){if(o.children===a.children&&!Qi.current){t=oc(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=ao(-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),Ya(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),Ya(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}zs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,Xa(t,n),a=Za(a),i=i(a),t.flags|=1,zs(e,t,i,n),t.child;case 14:return i=t.type,a=xs(i,t.pendingProps),a=xs(i.type,a),Vs(e,t,i,a,n);case 15:return Hs(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:xs(i,a),ac(e,t),t.tag=1,ta(i)?(e=!0,V(t)):e=!1,Xa(t,n),Ts(t,i,a),Ds(t,i,a,n),qs(null,t,i,!0,e,n);case 19:return ic(e,t,n);case 22:return Us(e,t,n)}throw Error(r(156,t.tag))};function Wl(e,t){return St(e,t)}function Gl(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 Kl(e,t,n,r){return new Gl(e,t,n,r)}function ql(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jl(e){if(typeof e==`function`)return+!!ql(e);if(e!=null){if(e=e.$$typeof,e===re)return 11;if(e===oe)return 14}return 2}function Yl(e,t){var n=e.alternate;return n===null?(n=Kl(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 Xl(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)ql(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case ee:return Zl(n.children,a,o,t);case te:s=8,a|=8;break;case ne:return e=Kl(12,n,t,a|2),e.elementType=ne,e.lanes=o,e;case ie:return e=Kl(13,n,t,a),e.elementType=ie,e.lanes=o,e;case ae:return e=Kl(19,n,t,a),e.elementType=ae,e.lanes=o,e;case ce:return Ql(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case E: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=Kl(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function Zl(e,t,n,r){return e=Kl(7,e,r,t),e.lanes=n,e}function Ql(e,t,n,r){return e=Kl(22,e,r,t),e.elementType=ce,e.lanes=n,e.stateNode={isHidden:!1},e}function $l(e,t,n){return e=Kl(6,e,null,t),e.lanes=n,e}function eu(e,t,n){return t=Kl(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tu(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=qt(0),this.expirationTimes=qt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function nu(e,t,n,r,i,a,o,s,c){return e=new tu(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=Kl(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ro(a),e}function ru(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 iu(e){if(!e)return Xi;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(ta(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(ta(n))return ia(e,n,t)}return t}function au(e,t,n,r,i,a,o,s,c){return e=nu(n,r,!0,e,i,a,o,s,c),e.context=iu(null),n=e.current,r=gl(),i=_l(n),a=ao(r,i),a.callback=t??null,oo(n,a,i),e.current.lanes=i,Jt(e,i,r),X(e,r),e}function ou(e,t,n,r){var i=t.current,a=gl(),o=_l(i);return n=iu(n),t.context===null?t.context=n:t.pendingContext=n,t=ao(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=oo(i,t,o),e!==null&&(vl(e,i,o,a),so(e,i,o)),o}function su(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 cu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function lu(e,t){cu(e,t),(e=e.alternate)&&cu(e,t)}function uu(){return null}var du=typeof reportError==`function`?reportError:function(e){console.error(e)};function fu(e){this._internalRoot=e}pu.prototype.render=fu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));ou(e,t,null,null)},pu.prototype.unmount=fu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Tl(function(){ou(null,e,null,null)}),t[R]=null}};function pu(e){this._internalRoot=e}pu.prototype.unstable_scheduleHydration=function(e){if(e){var t=tn();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dn.length&&t!==0&&t<dn[n].priority;n++);dn.splice(n,0,e),n===0&&gn(e)}};function mu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function hu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function gu(){}function _u(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=su(o);a.call(e)}}var o=au(t,r,e,0,null,!1,!1,``,gu);return e._reactRootContainer=o,e[R]=o.current,mi(e.nodeType===8?e.parentNode:e),Tl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=su(c);s.call(e)}}var c=nu(e,0,!1,null,null,!1,!1,``,gu);return e._reactRootContainer=c,e[R]=c.current,mi(e.nodeType===8?e.parentNode:e),Tl(function(){ou(t,c,n,r)}),c}function vu(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=su(o);s.call(e)}}ou(t,o,e,i)}else o=_u(n,t,e,i,r);return su(o)}Qt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Vt(t.pendingLanes);n!==0&&(Xt(t,n|1),X(t,Et()),!(Y&6)&&(il=Et()+500,da()))}break;case 13:Tl(function(){var t=to(e,1);t!==null&&vl(t,e,1,gl())}),lu(e,1)}},$t=function(e){if(e.tag===13){var t=to(e,134217728);t!==null&&vl(t,e,134217728,gl()),lu(e,134217728)}},en=function(e){if(e.tag===13){var t=_l(e),n=to(e,t);n!==null&&vl(n,e,t,gl()),lu(e,t)}},tn=function(){return j},nn=function(e,t){var n=j;try{return j=e,t()}finally{j=n}},Xe=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=Ki(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)}},nt=wl,k=Tl;var yu={usingClientEntryPoint:!1,Events:[Wi,Gi,Ki,et,tt,wl]},bu={findFiberByHostInstance:Ui,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},xu={bundleType:bu.bundleType,version:bu.version,rendererPackageName:bu.rendererPackageName,rendererConfig:bu.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:bu.findFiberByHostInstance||uu,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 Su=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Su.isDisabled&&Su.supportsFiber)try{Mt=Su.inject(xu),Nt=Su}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yu,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!mu(t))throw Error(r(200));return ru(e,t,null,n)},e.createRoot=function(e,t){if(!mu(e))throw Error(r(299));var n=!1,i=``,a=du;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=nu(e,1,!1,null,null,n,!1,i,a),e[R]=t.current,mi(e.nodeType===8?e.parentNode:e),new fu(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 Tl(e)},e.hydrate=function(e,t,n){if(!hu(t))throw Error(r(200));return vu(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!mu(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=du;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=au(t,null,e,1,n??null,a,!1,o,s),e[R]=t.current,mi(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 pu(t)},e.render=function(e,t,n){if(!hu(t))throw Error(r(200));return vu(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!hu(e))throw Error(r(40));return e._reactRootContainer?(Tl(function(){vu(null,null,e,!1,function(){e._reactRootContainer=null,e[R]=null})}),!0):!1},e.unstable_batchedUpdates=wl,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!hu(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return vu(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=async e=>(await S(`systemusers(${e})/systemuserroles_association?$select=roleid,name,ismanaged&$expand=businessunitid($select=businessunitid,name)`)).map(e=>({roleid:e.roleid,name:e.name,ismanaged:e.ismanaged,businessunitid:e.businessunitid?{businessunitid:e.businessunitid.businessunitid,name:e.businessunitid.name}:void 0})),w=async e=>(await S(`teams(${e})/teamroles_association?$select=roleid,name,ismanaged&$expand=businessunitid($select=businessunitid,name)`)).map(e=>({roleid:e.roleid,name:e.name,ismanaged:e.ismanaged,businessunitid:e.businessunitid?{businessunitid:e.businessunitid.businessunitid,name:e.businessunitid.name}:void 0})),T=async e=>(await S(`systemusers(${e})/teammembership_association?$select=teamid,name,teamtype,isdefault&$expand=businessunitid($select=businessunitid,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})),ee=async e=>(await S(`teams(${e})/teammembership_association?$select=systemuserid,fullname,domainname,isdisabled,applicationid&$expand=businessunitid($select=businessunitid,name)`)).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})),te=async e=>(await S(`systemusers(${e})/queuemembership_association?$select=queueid,name,queuetypecode&$orderby=name`)).map(e=>({queueid:e.queueid,name:e.name,queuetypecode:e.queuetypecode})),ne=[`Top`,`Right`,`Bottom`,`Left`];function E(e,t,...n){let[r,i=r,a=r,o=i]=n,s=[r,i,a,o],c={};for(let n=0;n<s.length;n+=1)if(s[n]||s[n]===0){let r=e+ne[n]+t;c[r]=s[n]}return c}function D(...e){return E(`border`,`Width`,...e)}function re(...e){return E(`border`,`Style`,...e)}function ie(...e){return E(`border`,`Color`,...e)}var ae=[`none`,`hidden`,`dotted`,`dashed`,`solid`,`double`,`groove`,`ridge`,`inset`,`outset`];function oe(e){return ae.includes(e)}function se(...e){return oe(e[0])?Object.assign({},re(e[0]),e[1]&&D(e[1]),e[2]&&ie(e[2])):Object.assign({},D(e[0]),e[1]&&re(e[1]),e[2]&&ie(e[2]))}function ce(...e){return oe(e[0])?Object.assign({borderLeftStyle:e[0]},e[1]&&{borderLeftWidth:e[1]},e[2]&&{borderLeftColor:e[2]}):Object.assign({borderLeftWidth:e[0]},e[1]&&{borderLeftStyle:e[1]},e[2]&&{borderLeftColor:e[2]})}function le(...e){return oe(e[0])?Object.assign({borderBottomStyle:e[0]},e[1]&&{borderBottomWidth:e[1]},e[2]&&{borderBottomColor:e[2]}):Object.assign({borderBottomWidth:e[0]},e[1]&&{borderBottomStyle:e[1]},e[2]&&{borderBottomColor:e[2]})}function ue(...e){return oe(e[0])?Object.assign({borderRightStyle:e[0]},e[1]&&{borderRightWidth:e[1]},e[2]&&{borderRightColor:e[2]}):Object.assign({borderRightWidth:e[0]},e[1]&&{borderRightStyle:e[1]},e[2]&&{borderRightColor:e[2]})}function O(...e){return oe(e[0])?Object.assign({borderTopStyle:e[0]},e[1]&&{borderTopWidth:e[1]},e[2]&&{borderTopColor:e[2]}):Object.assign({borderTopWidth:e[0]},e[1]&&{borderTopStyle:e[1]},e[2]&&{borderTopColor:e[2]})}function de(e,t=e,n=e,r=t){return{borderBottomRightRadius:n,borderBottomLeftRadius:r,borderTopRightRadius:t,borderTopLeftRadius:e}}var fe=e=>typeof e==`string`&&/(\d+(\w+|%))/.test(e),pe=e=>typeof e==`number`&&!Number.isNaN(e),me=e=>e===`initial`,he=e=>e===`auto`,ge=e=>e===`none`,_e=[`content`,`fit-content`,`max-content`,`min-content`],ve=e=>_e.some(t=>e===t)||fe(e);function ye(...e){let t=e.length===1,n=e.length===2,r=e.length===3;if(t){let[t]=e;if(me(t))return{flexGrow:0,flexShrink:1,flexBasis:`auto`};if(he(t))return{flexGrow:1,flexShrink:1,flexBasis:`auto`};if(ge(t))return{flexGrow:0,flexShrink:0,flexBasis:`auto`};if(pe(t))return{flexGrow:t,flexShrink:1,flexBasis:0};if(ve(t))return{flexGrow:1,flexShrink:1,flexBasis:t}}if(n){let[t,n]=e;if(pe(n))return{flexGrow:t,flexShrink:n,flexBasis:0};if(ve(n))return{flexGrow:t,flexShrink:1,flexBasis:n}}if(r){let[t,n,r]=e;if(pe(t)&&pe(n)&&(he(r)||ve(r)))return{flexGrow:t,flexShrink:n,flexBasis:r}}return{}}function be(e,t=e){return{columnGap:e,rowGap:t}}var xe=/var\(.*\)/gi;function Se(e){return e===void 0||typeof e==`number`||typeof e==`string`&&!xe.test(e)}var Ce=/^[a-zA-Z0-9\-_\\#;]+$/,we=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function Te(e){return e!==void 0&&typeof e==`string`&&Ce.test(e)&&!we.test(e)}function Ee(...e){if(e.some(e=>!Se(e)))return{};let t=e[0]===void 0?`auto`:e[0],n=e[1]===void 0?Te(t)?t:`auto`:e[1];return{gridRowStart:t,gridColumnStart:n,gridRowEnd:e[2]===void 0?Te(t)?t:`auto`:e[2],gridColumnEnd:e[3]===void 0?Te(n)?n:`auto`:e[3]}}function De(...e){return E(`margin`,``,...e)}function Oe(e,t=e){return{marginBlockStart:e,marginBlockEnd:t}}function ke(e,t=e){return{marginInlineStart:e,marginInlineEnd:t}}function Ae(...e){return E(`padding`,``,...e)}function je(e,t=e){return{paddingBlockStart:e,paddingBlockEnd:t}}function Me(e,t=e){return{paddingInlineStart:e,paddingInlineEnd:t}}function Ne(e,t=e){return{overflowX:e,overflowY:t}}function Pe(...e){let[t,n=t,r=t,i=n]=e;return{top:t,right:n,bottom:r,left:i}}function Fe(e,t,n){return Object.assign({outlineWidth:e},t&&{outlineStyle:t},n&&{outlineColor:n})}function Ie(...e){return Re(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:ze(e).reduce((e,[t,n=`0s`,r=`0s`,i=`ease`],a)=>(a===0?(e.transitionProperty=t,e.transitionDuration=n,e.transitionDelay=r,e.transitionTimingFunction=i):(e.transitionProperty+=`, ${t}`,e.transitionDuration+=`, ${n}`,e.transitionDelay+=`, ${r}`,e.transitionTimingFunction+=`, ${i}`),e),{})}var Le=[`-moz-initial`,`inherit`,`initial`,`revert`,`unset`];function Re(e){return e.length===1&&Le.includes(e[0])}function ze(e){return e.length===1&&Array.isArray(e[0])?e[0]:[e]}function Be(e,...t){if(t.length===0)return He(e)?{textDecorationStyle:e}:{textDecorationLine:e};let[n,r,i]=t;return Object.assign({textDecorationLine:e},n&&{textDecorationStyle:n},r&&{textDecorationColor:r},i&&{textDecorationThickness:i})}var Ve=[`dashed`,`dotted`,`double`,`solid`,`wavy`];function He(e){return Ve.includes(e)}var Ue=typeof window>`u`?global:window,We=`@griffel/`;function Ge(e,t){return Ue[Symbol.for(We+e)]||(Ue[Symbol.for(We+e)]=t),Ue[Symbol.for(We+e)]}var Ke=Ge(`DEFINITION_LOOKUP_TABLE`,{}),qe=`data-make-styles-bucket`,Je=`data-priority`,Ye={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},Xe=`DO_NOT_USE_DIRECTLY: @griffel/reset-value`;function Ze(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 Qe(e){let t=e.length;if(t===7)return e;for(let n=t;n<7;n++)e+=`0`;return e}function $e(e,t,n=[]){return`___`+Qe(Ze(e+t))}function et(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 tt(e,t){let n={};for(let r in e){let[i,a]=et(e[r],t);if(a===``){n[r]=``;continue}let o=$e(a,t),s=o+(i===``?``:` `+i);Ke[o]=[e[r],t],n[r]=s}return n}var nt={};function k(){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=nt[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=Ke[n];t&&(a.push(t[0]),e=t[1])}}let o=Object.assign.apply(Object,[{}].concat(a)),[s,c]=et(o,e),l=$e(c,e,r),u=l+` `+s;return nt[n]=u,Ke[l]=[o,e],t+u}function rt(e){return Array.isArray(e)?e:[e]}function it(e,t,n,r){let i=[];if(r[qe]=t,r[Je]=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 at=[`r`,`d`,`l`,`v`,`w`,`f`,`i`,`h`,`a`,`s`,`k`,`t`,`m`,`c`].reduce((e,t,n)=>(e[t]=n,e),{});function ot(e,t,n){return(e===`m`?e+t:e)+n}function st(e,t,n,r,i={}){let a=e===`m`,o=i.m??`0`,s=i.p??0,c=ot(e,o,s);if(!r.stylesheets[c]){let l=t&&t.createElement(`style`),u=it(l,e,s,Object.assign({},r.styleElementAttributes,a&&{media:o}));r.stylesheets[c]=u,t?.head&&l&&t.head.insertBefore(l,lt(t,n,e,r,i))}return r.stylesheets[c]}function ct(e,t,n){return t+(n.m??``)===e.getAttribute(qe)+(e.media??``)}function lt(e,t,n,r,i={}){let a=at[n],o=i.m??``,s=i.p??0,c=e=>a-at[e.getAttribute(qe)],l=e.head.querySelectorAll(`[${qe}]`);if(n===`m`){let t=e.head.querySelectorAll(`[${qe}="${n}"]`);t.length&&(l=t,c=e=>r.compareMediaQueries(o,e.media))}let u=e=>ct(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 ut(e,t){try{e.insertRule(t)}catch{}}var dt=0,ft=(e,t)=>e<t?-1:+(e>t);function pt(e=typeof document>`u`?void 0:document,t={}){let{classNameHashSalt:n,unstable_filterCSSRule:r,insertionPoint:i,styleElementAttributes:a,compareMediaQueries:o=ft}=t,s={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(a),compareMediaQueries:o,id:`d${dt++}`,insertCSSRules(t){for(let n in t){let a=t[n];for(let t=0,o=a.length;t<o;t++){let[o,c]=rt(a[t]),l=st(n,e,i||null,s,c);s.insertionCache[o]||(s.insertionCache[o]=n,r?r(o)&&ut(l,o):ut(l,o))}}}};return s}var mt=()=>{let e={};return function(t,n){e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}};function ht(e){return e.reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r,e[r]=n,e},{})}function gt(e){return typeof e==`boolean`}function _t(e){return typeof e==`function`}function vt(e){return typeof e==`number`}function yt(e){return e==null}function bt(e){return e&&typeof e==`object`}function xt(e){return typeof e==`string`}function St(e,t){return e.indexOf(t)!==-1}function Ct(e){return parseFloat(e)===0?e:e[0]===`-`?e.slice(1):`-`+e}function wt(e,t,n,r){return t+Ct(n)+r}function Tt(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 Et(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 Dt(e){var t=Et(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 Ot(e){return!gt(e)&&!yt(e)}function kt(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 A={padding:function(e){var t=e.value;return vt(t)?t:Dt(t)},textShadow:function(e){var t=e.value;return kt(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 Dt(t)},borderRadius:function(e){var t=e.value;if(vt(t))return t;if(St(t,`/`)){var n=t.split(`/`),r=n[0],i=n[1],a=A.borderRadius({value:r.trim()}),o=A.borderRadius({value:i.trim()});return a+` / `+o}var s=Et(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(vt(t))return t;var o=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,``).trim();return t=t.replace(o,A.backgroundPosition({value:o,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:a})),A.backgroundImage({value:t,valuesToConvert:n,bgImgDirectionRegex:i})},backgroundImage:function(e){var t=e.value,n=e.valuesToConvert,r=e.bgImgDirectionRegex;return!St(t,`url(`)&&!St(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 Tt(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 vt(t)?t:A.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,wt).replace(o,wt).replace(s,wt).replace(c,wt)}};A.objectPosition=A.backgroundPosition,A.margin=A.padding,A.borderWidth=A.padding,A.boxShadow=A.textShadow,A.webkitBoxShadow=A.boxShadow,A.mozBoxShadow=A.boxShadow,A.WebkitBoxShadow=A.boxShadow,A.MozBoxShadow=A.boxShadow,A.borderStyle=A.borderColor,A.webkitTransform=A.transform,A.mozTransform=A.transform,A.WebkitTransform=A.transform,A.MozTransform=A.transform,A.transformOrigin=A.backgroundPosition,A.webkitTransformOrigin=A.transformOrigin,A.mozTransformOrigin=A.transformOrigin,A.WebkitTransformOrigin=A.transformOrigin,A.MozTransformOrigin=A.transformOrigin,A.webkitTransition=A.transition,A.mozTransition=A.transition,A.WebkitTransition=A.transition,A.MozTransition=A.transition,A.webkitTransitionProperty=A.transitionProperty,A.mozTransitionProperty=A.transitionProperty,A.WebkitTransitionProperty=A.transitionProperty,A.MozTransitionProperty=A.transitionProperty,A[`text-shadow`]=A.textShadow,A[`border-color`]=A.borderColor,A[`border-radius`]=A.borderRadius,A[`background-image`]=A.backgroundImage,A[`background-position`]=A.backgroundPosition,A[`background-position-x`]=A.backgroundPositionX,A[`object-position`]=A.objectPosition,A[`border-width`]=A.padding,A[`box-shadow`]=A.textShadow,A[`-webkit-box-shadow`]=A.textShadow,A[`-moz-box-shadow`]=A.textShadow,A[`border-style`]=A.borderColor,A[`-webkit-transform`]=A.transform,A[`-moz-transform`]=A.transform,A[`transform-origin`]=A.transformOrigin,A[`-webkit-transform-origin`]=A.transformOrigin,A[`-moz-transform-origin`]=A.transformOrigin,A[`-webkit-transition`]=A.transition,A[`-moz-transition`]=A.transition,A[`transition-property`]=A.transitionProperty,A[`-webkit-transition-property`]=A.transitionProperty,A[`-moz-transition-property`]=A.transitionProperty;var At=ht([[`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`]]),jt=[`content`],Mt=ht([[`ltr`,`rtl`],[`left`,`right`],[`w-resize`,`e-resize`],[`sw-resize`,`se-resize`],[`nw-resize`,`ne-resize`]]),Nt=RegExp(`(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)`,`g`),Pt=RegExp(`(left)|(right)`);function Ft(e){return Object.keys(e).reduce(function(t,n){var r=e[n];if(xt(r)&&(r=r.trim()),St(jt,n))return t[n]=r,t;var i=It(n,r),a=i.key;return t[a]=i.value,t},Array.isArray(e)?[]:{})}function It(e,t){var n=/\/\*\s?@noflip\s?\*\//.test(t),r=n?e:Lt(e);return{key:r,value:n?t:Rt(r,t)}}function Lt(e){return At[e]||e}function Rt(e,t){if(!Ot(t))return t;if(bt(t))return Ft(t);var n=vt(t),r=_t(t),i=n||r?t:t.replace(/ !important.*?$/,``),a=!n&&i.length!==t.length,o=A[e],s=o?o({value:i,valuesToConvert:Mt,propertiesToConvert:At,isRtl:!0,bgImgDirectionRegex:Nt,bgPosDirectionRegex:Pt}):Mt[i]||i;return a?s+` !important`:s}var zt=/[A-Z]/g,Bt=/^ms-/,Vt={};function Ht(e){return`-`+e.toLowerCase()}function Ut(e){if(Object.prototype.hasOwnProperty.call(Vt,e))return Vt[e];if(e.substr(0,2)===`--`)return e;let t=e.replace(zt,Ht);return Vt[e]=Bt.test(t)?`-`+t:t}function Wt(e){return e.charAt(0)===`&`?e.slice(1):e}var Gt=`-moz-`,Kt=`-webkit-`,qt=`comm`,Jt=`rule`,Yt=`decl`,Xt=`@media`,j=`@import`,Zt=`@supports`,Qt=`@namespace`,$t=`@keyframes`,en=`@layer`,tn=Math.abs,nn=String.fromCharCode,rn=Object.assign;function an(e,t){return un(e,0)^45?(((t<<2^un(e,0))<<2^un(e,1))<<2^un(e,2))<<2^un(e,3):0}function on(e){return e.trim()}function sn(e,t){return(e=t.exec(e))?e[0]:e}function cn(e,t,n){return e.replace(t,n)}function ln(e,t,n){return e.indexOf(t,n)}function un(e,t){return e.charCodeAt(t)|0}function dn(e,t,n){return e.slice(t,n)}function fn(e){return e.length}function pn(e){return e.length}function mn(e,t){return t.push(e),e}function hn(e,t){return e.map(t).join(``)}var gn=1,_n=1,vn=0,yn=0,M=0,bn=``;function xn(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:gn,column:_n,length:o,return:``,siblings:s}}function Sn(e,t){return rn(xn(``,null,null,``,null,null,0,e.siblings),e,{length:-e.length},t)}function Cn(){return M}function wn(){return M=yn>0?un(bn,--yn):0,_n--,M===10&&(_n=1,gn--),M}function Tn(){return M=yn<vn?un(bn,yn++):0,_n++,M===10&&(_n=1,gn++),M}function En(){return un(bn,yn)}function Dn(){return yn}function On(e,t){return dn(bn,e,t)}function kn(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 An(e){return gn=_n=1,vn=fn(bn=e),yn=0,[]}function jn(e){return bn=``,e}function Mn(e){return on(On(yn-1,Ln(e===91?e+2:e===40?e+1:e)))}function Nn(e){return jn(Fn(An(e)))}function Pn(e){for(;(M=En())&&M<33;)Tn();return kn(e)>2||kn(M)>3?``:` `}function Fn(e){for(;Tn();)switch(kn(M)){case 0:mn(zn(yn-1),e);break;case 2:mn(Mn(M),e);break;default:mn(nn(M),e)}return e}function In(e,t){for(;--t&&Tn()&&!(M<48||M>102||M>57&&M<65||M>70&&M<97););return On(e,Dn()+(t<6&&En()==32&&Tn()==32))}function Ln(e){for(;Tn();)switch(M){case e:return yn;case 34:case 39:e!==34&&e!==39&&Ln(M);break;case 40:e===41&&Ln(e);break;case 92:Tn();break}return yn}function Rn(e,t){for(;Tn()&&e+M!==57&&!(e+M===84&&En()===47););return`/*`+On(t,yn-1)+`*`+nn(e===47?e:Tn())}function zn(e){for(;!kn(En());)Tn();return On(e,yn)}function Bn(e){return jn(Vn(``,null,null,null,[``],e=An(e),0,[0],e))}function Vn(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=Tn()){case 40:if(m!=108&&un(C,d-1)==58){ln(C+=cn(Mn(v),`&`,`&\f`),`&\f`,tn(l?s[l-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Mn(v);break;case 9:case 10:case 13:case 32:C+=Pn(m);break;case 92:C+=In(Dn()-1,7);continue;case 47:switch(En()){case 42:case 47:mn(Un(Rn(Tn(),Dn()),t,n,c),c),(kn(m||1)==5||kn(En()||1)==5)&&fn(C)&&dn(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=fn(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=cn(C,/\f/g,``)),p>0&&(fn(C)-d||h===0&&m===47)&&mn(p>32?Wn(C+`;`,r,n,d-1,c):Wn(cn(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if(mn(S=Hn(C,t,n,l,u,i,s,y,b=[],x=[],d,a),a),v===123)if(u===0)Vn(C,t,S,S,b,a,d,s,x);else{switch(f){case 99:if(un(C,3)===110)break;case 108:if(un(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?Vn(e,S,S,r&&mn(Hn(e,S,S,0,0,i,s,y,i,b=[],d,x),x),i,x,d,s,r?b:x):Vn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+fn(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&wn()==125)continue}switch(C+=nn(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(fn(C)-1)*_,_=1;break;case 64:En()===45&&(C+=Mn(Tn())),f=En(),u=d=fn(y=C+=zn(Dn())),v++;break;case 45:m===45&&fn(C)==2&&(h=0)}}return a}function Hn(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=pn(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=dn(e,f+1,f=tn(g=o[h])),b=e;v<m;++v)(b=on(g>0?p[v]+` `+y:cn(y,/&\f/g,p[v])))&&(c[_++]=b);return xn(e,t,n,i===0?Jt:s,c,l,u,d)}function Un(e,t,n,r){return xn(e,t,n,qt,nn(Cn()),dn(e,2,-2),0,r)}function Wn(e,t,n,r,i){return xn(e,t,n,Yt,dn(e,0,r),dn(e,r+1,-1),r,i)}function Gn(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function Kn(e,t,n,r){switch(e.type){case en:if(e.children.length)break;case j:case Qt:case Yt:return e.return=e.return||e.value;case qt:return``;case $t:return e.return=e.value+`{`+Gn(e.children,r)+`}`;case Jt:if(!fn(e.value=e.props.join(`,`)))return``}return fn(n=Gn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function qn(e){var t=pn(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 Jn(e){return function(t){t.root||(t=t.return)&&e(t)}}var Yn=e=>{switch(e.type){case Jt:if(typeof e.props==`string`)return;e.props=e.props.map(e=>e.indexOf(`:global(`)===-1?e:Nn(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 Xn(e,t,n){switch(an(e,t)){case 5103:return Kt+`print-`+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return Kt+e+e;case 4215:if(un(e,9)===102||un(e,t+1)===116)return Kt+e+e;break;case 4789:return Gt+e+e;case 5349:case 4246:case 6968:return Kt+e+Gt+e+e;case 6187:if(!sn(e,/grab/))return cn(cn(cn(e,/(zoom-|grab)/,Kt+`$1`),/(image-set)/,Kt+`$1`),e,``)+e;case 5495:case 3959:return cn(e,/(image-set\([^]*)/,Kt+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return cn(e,/(.+)-inline(.+)/,Kt+`$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(fn(e)-1-t>6)switch(un(e,t+1)){case 102:if(un(e,t+3)===108)return cn(e,/(.+:)(.+)-([^]+)/,`$1`+Kt+`$2-$3$1`+Gt+(un(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~ln(e,`stretch`)?Xn(cn(e,`stretch`,`fill-available`),t)+e:e}break}return e}function Zn(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Yt:e.return=Xn(e.value,e.length);return;case Jt:if(e.length)return hn(e.props,function(t){switch(sn(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Gn([Sn(e,{props:[cn(t,/:(read-\w+)/,`:`+Gt+`$1`)]})],r);case`::placeholder`:return Gn([Sn(e,{props:[cn(t,/:(plac\w+)/,`:`+Kt+`input-$1`)]}),Sn(e,{props:[cn(t,/:(plac\w+)/,`:`+Gt+`$1`)]})],r)}return``})}}function Qn(e){switch(e.type){case`@container`:case Xt:case Zt:case en:return!0}return!1}var $n=e=>{Qn(e)&&Array.isArray(e.children)&&e.children.sort((e,t)=>e.props[0]>t.props[0]?1:-1)};function er(){}function tr(e,t){let n=[];return Gn(Bn(e),qn([Yn,t?$n:er,Zn,Kn,Jn(e=>n.push(e))])),n}var nr=/,( *[^ &])/g;function rr(e){return`&`+Wt(e.replace(nr,`,&$1`))}function ir(e,t,n){let r=t;return n.length>0&&(r=n.reduceRight((e,t)=>`${rr(t)} { ${e} }`,t)),`${e}{${r}}`}function ar(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=ir(`.${n}`,Array.isArray(c)?`${c.map(e=>`${Ut(i)}: ${e}`).join(`;`)};`:`${Ut(i)}: ${c};`,r);if(o&&a){let e=`.${a}`,t=Array.isArray(s)?`${s.map(e=>`${Ut(o)}: ${e}`).join(`;`)};`:`${Ut(o)}: ${s};`;p+=ir(e,t,r)}return d&&(p=`@media ${d} { ${p} }`),u&&(p=`@layer ${u} { ${p} }`),f&&(p=`@supports ${f} { ${p} }`),l&&(p=`@container ${l} { ${p} }`),tr(p,!0)}function or(e){let t=``;for(let n in e){let r=e[n];if(typeof r==`string`||typeof r==`number`){t+=Ut(n)+`:`+r+`;`;continue}if(Array.isArray(r))for(let e of r)t+=Ut(n)+`:`+e+`;`}return t}function sr(e){let t=``;for(let n in e)t+=`${n}{${or(e[n])}}`;return t}function cr(e,t){let n=`@keyframes ${e} {${t}}`,r=[];return Gn(Bn(n),qn([Kn,Zn,Jn(e=>r.push(e))])),r}var lr={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 ur(e,t){return e.length===0?t:`${e} and ${t}`}function dr(e){return e.substr(0,6)===`@media`}function fr(e){return e.substr(0,6)===`@layer`}var pr=/^(:|\[|>|&)/;function mr(e){return pr.test(e)}function hr(e){return e.substr(0,9)===`@supports`}function gr(e){return e.substring(0,10)===`@container`}function _r(e){return typeof e==`object`&&!!e&&Array.isArray(e)===!1}var vr={"us-w":`w`,"us-v":`i`,nk:`l`,si:`v`,cu:`f`,ve:`h`,ti:`a`};function yr(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 vr[t.slice(4,8)]||vr[t.slice(3,5)]||`d`}return`d`}function br(e,t){return e&&t+e}function xr(e){return br(e.container,`c`)+br(e.media,`m`)+br(e.layer,`l`)+br(e.supports,`s`)}function Sr(e,t,n){let r=Ze(e+xr(n)+t),i=r.charCodeAt(0);return i>=48&&i<=57?String.fromCharCode(i+17)+r.slice(1):r}function Cr({property:e,selector:t,salt:n,value:r},i){return`f`+Ze(n+t+xr(i)+e+r.trim())}function wr(e){return e===Xe}function Tr(e){return e.replace(/>\s+/g,`>`)}function Er(e){return lr[e]}function Dr(e){return e?.[0]??0}function Or(e,t,n,r){e[t]=r?[n,r]:n}function kr(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function Ar(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(kr(n,o)),r&&e[t].push(kr(r,o))}function jr(e,t=``,n=[],r={container:``,layer:``,media:``,supports:``},i={},a={},o){for(let s in e){if(Ye.hasOwnProperty(s)){e[s];continue}let c=e[s];if(c!=null){if(wr(c)){Or(i,Sr(Tr(n.join(``)),s,r),0,void 0);continue}if(typeof c==`string`||typeof c==`number`){let e=Tr(n.join(``)),l=Er(s);if(l){let e=l[1];jr(Object.fromEntries(e.map(e=>[e,Xe])),t,n,r,i,a)}let u=Sr(e,s,r),d=Cr({value:c.toString(),salt:t,selector:e,property:s},r),f=o&&{key:s,value:o}||It(s,c),p=f.key!==s||f.value!==c,m=p?Cr({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=yr(n,r),[_,v]=ar(Object.assign({className:d,selectors:n,property:s,value:c},h),r);Or(i,u,d,m),Ar(a,g,_,v,r.media,Dr(l))}else if(s===`animationName`){let e=Array.isArray(c)?c:[c],o=[],s=[];for(let t of e){let e=sr(t),n=sr(Ft(t)),i=`f`+Ze(e),c,l=cr(i,e),u=[];e===n?c=i:(c=`f`+Ze(n),u=cr(c,n));for(let e=0;e<l.length;e++)Ar(a,`k`,l[e],u[e],r.media,0);o.push(i),s.push(c)}jr({animationName:o.join(`, `)},t,n,r,i,a,s.join(`, `))}else if(Array.isArray(c)){if(c.length===0)continue;let e=Tr(n.join(``)),o=Er(s);if(o){let e=o[1];jr(Object.fromEntries(e.map(e=>[e,Xe])),t,n,r,i,a)}let l=Sr(e,s,r),u=Cr({value:c.map(e=>(e??``).toString()).join(`;`),salt:t,selector:e,property:s},r),d=c.map(e=>It(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?Cr({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=yr(n,r),[g,_]=ar(Object.assign({className:u,selectors:n,property:s,value:c},m),r);Or(i,l,u,p),Ar(a,h,g,_,r.media,Dr(o))}else if(_r(c)){if(mr(s))jr(c,t,n.concat(Wt(s)),r,i,a);else if(dr(s)){let e=ur(r.media,s.slice(6).trim());jr(c,t,n,Object.assign({},r,{media:e}),i,a)}else if(fr(s)){let e=(r.layer?`${r.layer}.`:``)+s.slice(6).trim();jr(c,t,n,Object.assign({},r,{layer:e}),i,a)}else if(hr(s)){let e=ur(r.supports,s.slice(9).trim());jr(c,t,n,Object.assign({},r,{supports:e}),i,a)}else if(gr(s)){let e=s.slice(10).trim();jr(c,t,n,Object.assign({},r,{container:e}),i,a)}}}}return[i,a]}function Mr(e,t=``){let n={},r={};for(let i in e){let a=e[i],[o,s]=jr(a,t);n[i]=o,Object.keys(s).forEach(e=>{r[e]=(r[e]||[]).concat(s[e])})}return[n,r]}function Nr(e,t=mt){let n=t(),r=null,i=null,a=null,o=null;function s(t){let{dir:s,renderer:c}=t;r===null&&([r,i]=Mr(e,c.classNameHashSalt));let l=s===`ltr`;return l?a===null&&(a=tt(r,s)):o===null&&(o=tt(r,s)),n(c,i),l?a:o}return s}function Pr(e,t,n=mt){let r=n(),i=null,a=null;function o(n){let{dir:o,renderer:s}=n,c=o===`ltr`;return c?i===null&&(i=tt(e,o)):a===null&&(a=tt(e,o)),r(s,t),c?i:a}return o}function Fr(e,t,n,r=mt){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}var Ir={border:se,borderLeft:ce,borderBottom:le,borderRight:ue,borderTop:O,borderColor:ie,borderStyle:re,borderRadius:de,borderWidth:D,flex:ye,gap:be,gridArea:Ee,margin:De,marginBlock:Oe,marginInline:ke,padding:Ae,paddingBlock:je,paddingInline:Me,overflow:Ne,inset:Pe,outline:Fe,transition:Ie,textDecoration:Be};function Lr(){return typeof window<`u`&&!!(window.document&&window.document.createElement)}var Rr=_.useInsertionEffect?_.useInsertionEffect:void 0,zr=()=>{let e={};return function(t,n){if(Rr&&Lr()){Rr(()=>{t.insertCSSRules(n)},[t,n]);return}e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}},Br=_.createContext(pt());function Vr(){return _.useContext(Br)}var Hr=_.createContext(`ltr`),Ur=({children:e,dir:t})=>_.createElement(Hr.Provider,{value:t},e);function Wr(){return _.useContext(Hr)}function Gr(e){let t=Nr(e,zr);return function(){return t({dir:Wr(),renderer:Vr()})}}function N(e,t){let n=Pr(e,t,zr);return function(){return n({dir:Wr(),renderer:Vr()})}}function Kr(e,t,n){let r=Fr(e,t,n,zr);return function(){return r({dir:Wr(),renderer:Vr()})}}var qr=Symbol.for(`fui.slotRenderFunction`),Jr=Symbol.for(`fui.slotElementType`),Yr=Symbol.for(`fui.slotClassNameProp`);function P(e,t){let{defaultProps:n,elementType:r}=t,i=Xr(e),a={...n,...i,[Jr]:r,[Yr]:i?.className};return i&&typeof i.children==`function`&&(a[qr]=i.children,a.children=n?.children),a}function F(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return P(e,t)}function Xr(e){return typeof e==`string`||typeof e==`number`||Zr(e)||_.isValidElement(e)?{children:e}:e}var Zr=e=>typeof e==`object`&&!!e&&Symbol.iterator in e;function Qr(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!_.isValidElement(e)}function $r(e){return!!e?.hasOwnProperty(Jr)}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},ei=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(`.`)),ti=I(I([`accessKey`,`children`,`className`,`contentEditable`,`dir`,`draggable`,`hidden`,`htmlFor`,`id`,`lang`,`ref`,`role`,`style`,`tabIndex`,`title`,`translate`,`spellCheck`,`name`]),ei,I([`itemID`,`itemProp`,`itemRef`,`itemScope`,`itemType`])),ni=I(ti,[`form`]),ri=I(ti,[`height`,`loop`,`muted`,`preload`,`src`,`width`]),ii=I(ri,[`poster`]),ai=I(ti,[`start`]),oi=I(ti,[`value`]),si=I(ti,[`download`,`href`,`hrefLang`,`media`,`referrerPolicy`,`rel`,`target`,`type`]),ci=I(ti,[`dateTime`]),li=I(ti,[`autoFocus`,`disabled`,`form`,`formAction`,`formEncType`,`formMethod`,`formNoValidate`,`formTarget`,`type`,`value`]),ui=I(li,`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(`.`)),di=I(li,[`autoCapitalize`,`cols`,`dirname`,`form`,`maxLength`,`placeholder`,`readOnly`,`required`,`rows`,`wrap`]),L=I(li,[`form`,`multiple`,`required`]),fi=I(ti,[`selected`,`value`]),pi=I(ti,[`cellPadding`,`cellSpacing`]),mi=ti,hi=I(ti,[`colSpan`,`rowSpan`,`scope`]),gi=I(ti,[`colSpan`,`headers`,`rowSpan`,`scope`]),_i=I(ti,[`span`]),vi=I(ti,[`span`]),yi=I(ti,[`disabled`,`form`]),bi=I(ti,[`acceptCharset`,`action`,`encType`,`encType`,`method`,`noValidate`,`target`]),xi=I(ti,[`allow`,`allowFullScreen`,`allowPaymentRequest`,`allowTransparency`,`csp`,`height`,`importance`,`referrerPolicy`,`sandbox`,`src`,`srcDoc`,`width`]),Si=I(ti,[`alt`,`crossOrigin`,`height`,`src`,`srcSet`,`useMap`,`width`]),Ci=I(ti,[`open`,`onCancel`,`onClose`]);function wi(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 Ti={label:ni,audio:ri,video:ii,ol:ai,li:oi,a:si,button:li,input:ui,textarea:di,select:L,option:fi,table:pi,tr:mi,th:hi,td:gi,colGroup:_i,col:vi,fieldset:yi,form:bi,iframe:xi,img:Si,time:ci,dialog:Ci};function Ei(e,t,n){let r=e&&Ti[e]||ti;return r.as=1,wi(t,r,n)}var Di=({primarySlotTagName:e,props:t,excludedPropNames:n})=>({root:{style:t.style,className:t.className},primary:Ei(e,t,[...n||[],`style`,`className`])}),Oi=(e,t,n)=>Ei(t.as??e,t,n);function ki(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 Ai=_.createContext(void 0),ji=Ai.Provider,Mi=_.createContext(void 0),Ni=``,Pi=Mi.Provider;function Fi(){return _.useContext(Mi)??Ni}var Ii=_.createContext(void 0).Provider,Li=_.createContext(void 0),Ri={targetDocument:typeof document==`object`?document:void 0,dir:`ltr`},zi=Li.Provider;function R(){return _.useContext(Li)??Ri}var Bi=_.createContext(void 0),Vi=Bi.Provider;function Hi(){return _.useContext(Bi)??{}}var Ui=_.createContext(void 0),Wi=()=>{},Gi=Ui.Provider,Ki=e=>_.useContext(Ui)?.[e]??Wi,qi=_.createContext(void 0);qi.Provider;function Ji(){return _.useContext(qi)}var Yi=e=>(e(0),0),z=e=>e;function B(){let{targetDocument:e}=R(),t=e?.defaultView;return ki(t?t.requestAnimationFrame:Yi,t?t.cancelAnimationFrame:z)}function Xi(e){return typeof e==`function`}var Zi=e=>{"use no memo";let[t,n]=_.useState(()=>e.defaultState===void 0?e.initialState:Qi(e.defaultState)?e.defaultState():e.defaultState),r=_.useRef(e.state);_.useEffect(()=>{r.current=e.state},[e.state]);let i=_.useCallback(e=>{Xi(e)&&e(r.current)},[]);return $i(e.state)?[e.state,i]:[t,n]};function Qi(e){return typeof e==`function`}var $i=e=>{"use no memo";let[t]=_.useState(()=>e!==void 0);return t};function ea(){return typeof window<`u`&&!!(window.document&&window.document.createElement)}var ta={current:0},na=_.createContext(void 0);function ra(){return _.useContext(na)??ta}var ia=ea()?_.useLayoutEffect:_.useEffect,V=e=>{let t=_.useRef(()=>{throw Error(`Cannot call an event handler while rendering`)});return ia(()=>{t.current=e},[e]),_.useCallback((...e)=>{let n=t.current;return n(...e)},[t])};function aa(){let e=_.useRef(!0);return _.useEffect(()=>{e.current&&=!1},[]),e.current}var oa=_.createContext(void 0);oa.Provider;function sa(){return _.useContext(oa)||``}function ca(e=`fui-`,t){"use no memo";let n=ra(),r=sa(),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 la(...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 ua=(e,t)=>!!e?.contains(t),da=e=>{let{targetDocument:t}=R(),n=t?.defaultView,{refs:r,callback:i,element:a,disabled:o,disabledFocusOnIframe:s,contains:c=ua}=e,l=_.useRef(void 0);ma({element:a,disabled:s||o,callback:i,refs:r,contains:c});let u=_.useRef(!1),d=V(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=V(e=>{u.current=r.some(t=>c(t.current||null,e.target))});_.useEffect(()=>{if(o)return;let e=fa(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])},fa=e=>{if(e)return typeof e.window==`object`&&e.window===e?e.event:e.ownerDocument?.defaultView?.event??void 0},pa=`fuiframefocus`,ma=e=>{let{disabled:t,element:n,callback:r,contains:i=ua,pollDuration:a=100,refs:o}=e,s=_.useRef(void 0),c=V(e=>{o.every(t=>!i(t.current||null,e.target))&&!t&&r(e)});_.useEffect(()=>{if(!t)return n?.addEventListener(pa,c,!0),()=>{n?.removeEventListener(pa,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(pa,{bubbles:!0});e.dispatchEvent(t)}},a),()=>{var e;n==null||(e=n.defaultView)==null||e.clearInterval(s.current)}},[n,t,a])},ha=e=>-1,ga=e=>void 0;function _a(){let{targetDocument:e}=R(),t=e?.defaultView;return ki(t?t.setTimeout:ha,t?t.clearTimeout:ga)}function va(e,t){return(...n)=>{e?.(...n),t?.(...n)}}function ya(e,t){let n=e;return!!(n!=null&&n.ownerDocument?.defaultView&&n instanceof n.ownerDocument.defaultView[t?.constructorName??`HTMLElement`])}function ba(e){if(!ya(e))return!1;let{tagName:t}=e;switch(t){case`BUTTON`:case`A`:case`INPUT`:case`TEXTAREA`:return!0}return e.isContentEditable}function xa(e){return e.type.startsWith(`touch`)}function Sa(e){return e.type.startsWith(`mouse`)||[`click`,`contextmenu`,`dblclick`].indexOf(e.type)>-1}function Ca(e){return Sa(e)?{clientX:e.clientX,clientY:e.clientY}:xa(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function wa(e){return e instanceof Set?e:new Set(e)}function Ta(e){let[t,n]=Zi({initialState:new Set,defaultState:_.useMemo(()=>e.defaultSelectedItems&&wa(e.defaultSelectedItems),[e.defaultSelectedItems]),state:_.useMemo(()=>e.selectedItems&&wa(e.selectedItems),[e.selectedItems])});return[t,(t,r)=>{var i;(i=e.onSelectionChange)==null||i.call(e,t,{selectedItems:r}),n(r)}]}function Ea(e){let[t,n]=Ta(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 Da(e){let[t,n]=Ta(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 Oa(e){"use no memo";return e.selectionMode===`multiselect`?Da(e):Ea(e)}function ka(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function Aa(e){return e&&!!e._virtual}function ja(e){return Aa(e)&&e._virtual.parent||null}function Ma(e,t={}){if(!e)return null;if(!t.skipVirtual){let t=ja(e);if(t)return t}let n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Na(e,t){return{...t,[Jr]:e}}var Pa=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=Pa()}))();function Fa(e,t){return function(n,r,i,a,o){return $r(r)?t(Na(n,r),null,i,a,o):$r(n)?t(n,r,i,a,o):e(n,r,i,a,o)}}function Ia(e){let{as:t,[Yr]:n,[Jr]:r,[qr]: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 La=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=La()}))()),Ra=H,za=(e,t,n)=>{let{elementType:r,renderFunction:i,props:a}=Ia(e),o={...a,...t};return i?Ra.jsx(_.Fragment,{children:i(r,o)},n):Ra.jsx(r,o,n)},Ba=(e,t,n)=>{let{elementType:r,renderFunction:i,props:a}=Ia(e),o={...a,...t};return i?Ra.jsx(_.Fragment,{children:i(r,{...o,children:Ra.jsxs(_.Fragment,{children:o.children},void 0)})},n):Ra.jsxs(r,o,n)},U=Fa(Ra.jsx,za),Va=Fa(Ra.jsxs,Ba),Ha=_.createContext(void 0),Ua={},Wa=Ha.Provider,Ga=()=>_.useContext(Ha)??Ua,Ka=(e,t)=>U(zi,{value:t.provider,children:U(ji,{value:t.theme,children:U(Pi,{value:t.themeClassName,children:U(Gi,{value:t.customStyleHooks_unstable,children:U(Ii,{value:t.tooltip,children:U(Ur,{dir:t.textDirection,children:U(Wa,{value:t.iconDirection,children:U(Vi,{value:t.overrides_unstable,children:Va(e.root,{children:[ea()?null:U(`style`,{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}),qa=typeof WeakRef<`u`,Ja=class{constructor(e){qa&&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}},Ya=`keyborg:focusin`,Xa=`keyborg:focusout`;function Za(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 Qa=!1;function $a(e){let t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function eo(e){let t=e;Qa||=Za(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(Xa,{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 Ja(o));return}let c={relatedTarget:t,originalEvent:n},l=new CustomEvent(Ya,{cancelable:!0,bubbles:!0,composed:!0,detail:c});l.details=c,(Qa||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 Ja(this)),n.apply(this,arguments)}let l=t.document.activeElement;for(;l&&l.shadowRoot;)o(l),l=l.shadowRoot.activeElement;c.__keyborgNativeFocus=n}function to(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 no=500,ro=0,io=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`+ ++ro,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(Ya,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),eo(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),to(e);let t=e.document;t.removeEventListener(Ya,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))ao.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)},no)}}},ao=class e{constructor(e,t){this._cb=[],this._id=`k`+ ++ro,this._win=e;let n=e.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new io(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 oo(e,t){return ao.create(e,t)}function so(e){ao.dispose(e)}var co=`data-tabster`,lo=`data-tabster-dummy`,uo=[`a[href]`,`button:not([disabled])`,`input:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`,`*[tabindex]`,`*[contenteditable]`,`details > summary`,`audio[controls]`,`video[controls]`].join(`, `),fo={EscapeGroupper:1,Restorer:2,Deloser:3},po={Invisible:0,PartiallyVisible:1,Visible:2},mo={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},W={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},ho={Unlimited:0,Limited:1,LimitedTrapFocus:2},go={Enter:1,Escape:2},_o={Auto:0,Inside:1,Outside:2};function vo(e,t){return e.storageEntry(t)?.tabster}function yo(e,t,n){let r=n||e._noop?void 0:t.getAttribute(co),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 bo=`tabster:focusin`,xo=`tabster:focusout`,So=`tabster:movefocus`,Co=`tabster:mover:state`,wo=`tabster:mover:movefocus`,To=`tabster:mover:memorized-element`,Eo=`tabster:groupper:movefocus`,Do=`tabster:root:focus`,Oo=`tabster:root:blur`,ko=typeof CustomEvent<`u`?CustomEvent:function(){},Ao=class extends ko{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}},jo=class extends Ao{constructor(e){super(bo,e)}},Mo=class extends Ao{constructor(e){super(xo,e)}},No=class extends Ao{constructor(e){super(So,e)}},Po=class extends Ao{constructor(e){super(Co,e)}},Fo=class extends Ao{constructor(e){super(wo,e)}},Io=class extends Ao{constructor(e){super(Eo,e)}},Lo=class extends Ao{constructor(e){super(Do,e)}},Ro=class extends Ao{constructor(e){super(Oo,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 zo(e){for(let t of Object.keys(e))G[t]=e[t]}var Bo,Vo=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)}},Ho=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Bo=!1}catch{Bo=!0}var Uo=100;function Wo(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 Ko(e){return new((e.__tabsterInstanceContext?.basics.WeakMap)||WeakMap)}function qo(e){return!!e.querySelector(uo)}var Jo=class{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return e._target?t||!ls(e._target.ownerDocument,e._target)?(delete e._target,!0):!1:!0}},Yo=class{constructor(e,t,n){let r=Wo(e),i;r.WeakRef?i=new r.WeakRef(t):(i=new Jo(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=Wo(e);n.fakeWeakRefs=n.fakeWeakRefs.filter(e=>!Jo.cleanup(e,t))}function Zo(e){let t=Wo(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=fs(t)),t.fakeWeakRefsTimer||=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,Xo(e),Zo(e)},120*1e3)}function Qo(e){let t=Wo(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}function $o(e,t,n){if(t.nodeType!==Node.ELEMENT_NODE)return;let r=Bo?n:{acceptNode:n};return G.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,r,!1)}function es(e,t){let n=t.__tabsterCacheId,r=Wo(e),i=n?r.containerBoundingRectCache[n]:void 0;if(i)return i.rect;let a=t.ownerDocument&&t.ownerDocument.documentElement;if(!a)return new Vo;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 Vo(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 ts(e,t,n){let r=rs(t);if(!r)return!1;let i=es(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 ns(e,t,n){let r=rs(t);if(r){let i=es(e,r),a=t.getBoundingClientRect();n?r.scrollTop+=a.top-i.top:r.scrollTop+=a.bottom-i.bottom}}function rs(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 is(e){e.__shouldIgnoreFocus=!0}function as(e){return!!e.__shouldIgnoreFocus}function os(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((++Ho).toString(36)),n.push(`|`),n.push(Date.now().toString(36)),n.join(``)}function ss(e,t){let n=Wo(e),r=t.__tabsterElementUID;return r||=t.__tabsterElementUID=os(e()),!n.elementByUId[r]&&ls(t.ownerDocument,t)&&(n.elementByUId[r]=new Yo(e,t)),r}function cs(e,t){let n=Wo(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 ls(e,t){return G.nodeContains(e?.body,t)}function us(e,t){let n=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return n&&n.call(e,t)}function ds(e){let t=Wo(e);if(t.basics.Promise)return t.basics.Promise;throw Error(`No Promise defined.`)}function fs(e){return e.basics.WeakRef}var ps=0,ms=class{constructor(e,t,n){let r=e.getWindow;this._tabster=e,this._element=new Yo(r,t),this._props={...n},this.id=`i`+ ++ps}getElement(){return this._element.get()}getProps(){return this._props}setProps(e){this._props={...e}}},hs=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(lo,``),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`),is(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)}},gs={Root:1,Modalizer:2,Mover:3,Groupper:4},_s=class{constructor(e,t,n,r,i,a){this._element=t,this._instance=new ys(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 hs(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=Ts(i),a===t?s=n&&r||!n&&!r?i:G.getNextElementSibling(i):a=null;while(a)}o?.dispatchEvent(new No({by:`root`,owner:o,next:null,relatedEvent:i}))&&(G.insertBefore(o,a,s),$a(a))}}static addPhantomDummyWithTarget(e,t,n,r){let i=new hs(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Yo(e.getWindow,r)).input;if(i){let e,r;qo(t)&&!n?(e=t,r=G.getFirstElementChild(t)):(e=G.getParentElement(t),r=n?t:G.getNextElementSibling(t)),e&&G.insertBefore(e,i,r)}}},vs=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},Uo)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new Yo(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+Uo<=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()},Uo)}},ys=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 No({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===_o.Outside:(a||u===`UL`||u===`OL`||u===`TABLE`)&&!(u===`LI`||u===`TD`||u===`TH`),this._firstDummy=new hs(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new hs(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 bs(e){let t=null;for(let n=G.getLastElementChild(e);n;n=G.getLastElementChild(n))t=n;return t||void 0}function xs(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 Ss(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 Cs(e){return e.tagName===`INPUT`&&!!e.name&&e.type===`radio`}function ws(e){if(!Cs(e))return;let t=e.name,n=Array.from(G.getElementsByName(e,t)),r;return n=n.filter(e=>Cs(e)?(e.checked&&(r=e),!0):!1),{name:t,buttons:new Set(n),checked:r}}function Ts(e){return(e?.__tabsterDummyContainer)?.get()||null}function Es(e,t){let n=JSON.stringify(e);return t===!0?n:{[co]:n}}function Ds(e,t){for(let n of Object.keys(t)){let r=t[n];r?e[n]=r:delete e[n]}}function Os(e,t,n){let r;if(n){let t=e.getAttribute(co);if(t)try{r=JSON.parse(t)}catch{}}r||={},Ds(r,t),Object.keys(r).length>0?e.setAttribute(co,Es(r,!0)):e.removeAttribute(co)}var ks=class extends _s{constructor(e,t,n,r){super(e,t,gs.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}},As=class extends ms{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 Lo({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 Ro({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=ss(a,t),this._sys=i,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();let o=a().document;o.addEventListener(Ya,this._onFocusIn),o.addEventListener(Xa,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||=new ks(this._tabster,this._element,this._setFocused,this._sys)}dispose(){var e;this._onDispose(this);let t=this._tabster.getWindow(),n=t.document;n.removeEventListener(Ya,this._onFocusIn),n.removeEventListener(Xa,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&&ks.moveWithPhantomDummy(this._tabster,n,!0,e,t)}}_add(){}_remove(){}},js=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 Os(t,{root:n},!0),yo(this._tabster,t),vo(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 As(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=vo(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=vo(e,r)?.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}},Ms=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))}},Ns=class{constructor(e){this._tabster=e}dispose(){}getProps(e){let t=vo(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,n,r){return us(e,uo)&&(t||e.tabIndex!==-1)?(n||this.isVisible(e))&&(r||this.isAccessible(e)):!1}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE||Ss(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=vo(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||js.getTabsterContext(this._tabster,r)?.modalizer?.userId,from:i||r,isBackward:l,isFindAll:e,acceptCondition:f,hasCustomCondition:p,includeProgrammaticallyFocusable:a,ignoreAccessibility:s,cachedGrouppers:{},cachedRadioGroups:{}},h=$o(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=js.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=bs(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)||Ts(e)||G.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;let i=t.currentCtx=js.getTabsterContext(this._tabster,e);if(!i)return NodeFilter.FILTER_SKIP;if(as(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=js.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&&Cs(e)&&!e.checked){let n=e.name,r=t.cachedRadioGroups[n];if(r||(r=ws(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}},Ps={Tab:`Tab`,Enter:`Enter`,Escape:`Escape`,PageUp:`PageUp`,PageDown:`PageDown`,End:`End`,Home:`Home`,ArrowLeft:`ArrowLeft`,ArrowUp:`ArrowUp`,ArrowRight:`ArrowRight`,ArrowDown:`ArrowDown`};function Fs(e,t){let n=e.getParent,r=t;do{let t=vo(e,r)?.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(r,!!t.completely))return r;r=n(r)}while(r)}var Is={[fo.Restorer]:0,[fo.Deloser]:1,[fo.EscapeGroupper]:2},Ls=class e extends Ms{constructor(t,n){super(),this._init=()=>{let e=this._win(),t=e.document;t.addEventListener(Ya,this._onFocusIn,!0),t.addEventListener(Xa,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!==Ps.Tab||t.ctrlKey)return;let n=this.getVal();if(!n||!n.ownerDocument||n.contentEditable===`true`)return;let r=this._tabster,i=r.controlTab,a=js.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=Fs(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;_s.addPhantomDummyWithTarget(r,n,o,l);return}if(e&&r.focusable.isVisible(e)||l.tagName===`IFRAME`&&r.focusable.isVisible(l)){c.dispatchEvent(new No({by:`root`,owner:c,next:l,relatedEvent:t}))&&_s.moveWithPhantomDummy(r,e??l,!1,o,t);return}(i||s?.outOfDOMOrder)&&c.dispatchEvent(new No({by:`root`,owner:c,next:l,relatedEvent:t}))&&(t.preventDefault(),t.stopImmediatePropagation(),$a(l))}else!u&&c.dispatchEvent(new No({by:`root`,owner:c,next:null,relatedEvent:t}))&&a.root.moveOutWithDefaultAction(o,t)},this._onChanged=(e,t)=>{if(e)e.dispatchEvent(new jo(t));else{let e=this._lastVal?.get();if(e){let n={...t},r=js.getTabsterContext(this._tabster,e)?.modalizer?.userId;r&&(n.modalizerId=r),e.dispatchEvent(new Mo(n))}}},this._tabster=t,this._win=n,t.queueInit(this._init)}dispose(){super.dispose();let t=this._win(),n=t.document;n.removeEventListener(Ya,this._onFocusIn,!0),n.removeEventListener(Xa,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&&!ls(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=js.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 Yo(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(Is[e]>Is[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||as(t))return;i.isFocusedProgrammatically=r;let a=js.getTabsterContext(this._tabster,t)?.modalizer?.userId;a&&(i.modalizerId=a)}let a=this._nextVal={element:t?new Yo(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 Yo(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=js.getTabsterContext(t,i,{referenceElement:a});if(c){let i=n.getElement(),u=o?i:i&&bs(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}};Ls.isTabbing=!1;var Rs=class extends _s{constructor(e,t,n,r){super(n,e,gs.Groupper,r,!0),this._setHandlers((r,i,a)=>{let o=e.get(),s=r.input;if(o&&s){let e=js.getTabsterContext(n,s);if(e){let c;c=t.findNextTabbable(a||void 0,void 0,i,!0)?.element,c||=Ls.findNextTabbable(n,e,void 0,r.isOutside?s:xs(o,!i),void 0,i,!0)?.element,c&&$a(c)}}})}},zs=class extends ms{constructor(e,t,n,r,i){super(e,t,r),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=n,e.controlTab||(this.dummyManager=new Rs(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=Ts(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===ho.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=vo(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 Yo(this._tabster.getWindow,e):delete this._first}acceptElement(e,t){let n=t.cachedGrouppers,r=G.getParentElement(this.getElement()),i=r&&js.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)}}},Bs=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(Eo,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!==Ps.Enter&&e.key!==Ps.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===go.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(fo.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(Eo,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 zs(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=vo(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=js.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 No({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=js.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?js.getTabsterContext(r,e):void 0)?.groupper,i=a?.getFirst(!0)}if(i&&(!t||t&&o.dispatchEvent(new No({by:`groupper`,owner:o,next:i,relatedEvent:t}))))return a&&a.makeTabbable(!1),i.focus(),i}return null}moveFocus(e,t){return t===go.Enter?this._enterGroupper(e):this._escapeGroupper(e)}handleKeyPress(e,t,n){let r=this._tabster,i=js.getTabsterContext(r,e);if(i&&(i?.groupper||i?.modalizerInGroupper)){if(r.focusedElement.cancelAsyncFocus(fo.EscapeGroupper),i.ignoreKeydown(t))return;if(t.key===Ps.Enter)this._enterGroupper(e,t);else if(t.key===Ps.Escape){let i=r.focusedElement.getFocusedElement();r.focusedElement.requestAsyncFocus(fo.EscapeGroupper,()=>{i!==r.focusedElement.getFocusedElement()&&(n&&!i||!n)||this._escapeGroupper(e,t,n)},0)}}}},Vs=class extends Ms{constructor(e){super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=oo(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),so(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;(t=this._keyborg)==null||t.setVal(e)}isNavigatingWithKeyboard(){return!!this._keyborg?.isNavigatingWithKeyboard()}},Hs=[`input`,`textarea`,`*[contenteditable]`].join(`, `),Us=class extends _s{constructor(e,t,n,r){super(t,e,gs.Mover,r),this._onFocusDummyInput=e=>{let t=this._element.get(),n=e.input;if(t&&n){let r=js.getTabsterContext(this._tabster,t),i;r&&(i=Ls.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)}},Ws=1,Gs=2,Ks=3,qs=class extends ms{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=ss(this._win,e),r,i=this._fullyVisible;if(t.intersectionRatio>=.25?(r=t.intersectionRatio>=.75?po.Visible:po.PartiallyVisible,r===po.Visible&&(i=n)):r=po.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 Po(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 Us(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 Yo(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 Po(t))}}}}))}getCurrent(){return this._current?.get()||null}findNextTabbable(e,t,n,r){let i=this.getElement(),a=i&&Ts(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(!Ls.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)||Ts(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=ss(this._win,e),i=this._visible[n];return a!==e&&!!this._allElements?.get(e)&&t.acceptCondition(e)&&(i===po.Visible||i===po.PartiallyVisible&&(r===po.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:Gs});else{for(let e=0;e<n.length;e++)i.push({element:n[e],type:Ks});for(let e=0;e<r.length;e++)i.push({element:r[e],type:Ws})}}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=$o(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 Gs:s(e);break;case Ws:c(e);break;case Ks:l(e);break}i=this._updateQueue=[]},0))},d=e=>{let t={};for(let n=e;n;n=G.getParentElement(n)){let e=vo(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:Ws}),u(),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`tabindex`]}),this._unobserve=()=>{a.disconnect()}}getState(e){let t=ss(this._win,e);if(t in this._visible){let n=this._visible[t]||po.Invisible;return{isCurrent:this._current?this._current.get()===e:void 0,visibility:n}}}};function Js(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 Ys=class{constructor(e,t){this._init=()=>{let e=this._win();e.addEventListener(`keydown`,this._onKeyDown,!0),e.addEventListener(wo,this._onMoveFocus),e.addEventListener(To,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=vo(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===Ps.ArrowDown?r=W.ArrowDown:n===Ps.ArrowRight?r=W.ArrowRight:n===Ps.ArrowUp?r=W.ArrowUp:n===Ps.ArrowLeft?r=W.ArrowLeft:n===Ps.PageDown?r=W.PageDown:n===Ps.PageUp?r=W.PageUp:n===Ps.Home?r=W.Home:n===Ps.End&&(r=W.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=js.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(wo,this._onMoveFocus),t.removeEventListener(To,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 qs(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=js.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((vo(r,t)?.groupper)?.isActive(!0))return null}else return null}if(!o)return null;let s=r.focusable,c=a.getProps(),l=c.direction||mo.Both,u=l===mo.Both,d=u||l===mo.Vertical,f=u||l===mo.Horizontal,p=l===mo.GridLinear,m=p||l===mo.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===W.ArrowRight?t=W.ArrowLeft:t===W.ArrowLeft&&(t=W.ArrowRight)),t===W.ArrowDown&&d||t===W.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===W.ArrowUp&&d||t===W.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===W.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===W.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===W.PageUp){if(s.findElement({currentElement:e,container:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>s.isFocusable(e)?ts(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===W.PageDown){if(s.findElement({currentElement:e,container:o,useActiveModalizer:!0,acceptCondition:e=>s.isFocusable(e)?ts(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===W.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=Js(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 No({by:`mover`,owner:o,next:g,relatedEvent:n})))?(_!==void 0&&ns(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(us(e,Hs)){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===Ps.ArrowLeft||t===Ps.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(ds(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===Ps.ArrowLeft||t===Ps.ArrowUp||t===Ps.Home)||n<i&&(t===Ps.ArrowRight||t===Ps.ArrowDown||t===Ps.End))return!0}return!1}};function Xs(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||=Wo(i).elementByUId,c(t,n);let r=$o(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 Yo(i,e))),(vo(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:[co]}),()=>{l.disconnect()}}var Zs=class{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletely(e,t){let n=this._isUncontrolledCompletely?.call(this,e,t);return n===void 0?t:n}},Qs=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 Yo(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}}};Qs.DEPTH=10;function $s(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 ec=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&&$s(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}};ec._shadowObservers=new Set;var tc=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}},nc=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=Ko(e),this._win=e;let n=this.getWindow;t?.DOMAPI&&zo({...t.DOMAPI}),this.keyboardNavigation=new Vs(n),this.focusedElement=new Ls(this,n),this.focusable=new Ns(this),this.root=new js(this,t?.autoRoot),this.uncontrolled=new Zs(t?.checkUncontrolledCompletely||t?.checkUncontrolledTrappingFocus),this.controlTab=t?.controlTab??!0,this.rootDummyInputs=!!t?.rootDummyInputs,this._dummyObserver=new vs(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=Xs(t,this,yo,e)}}},Zo(n),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(e){e&&(this.getParent=e.getParent??this.getParent)}createTabster(e,t){let n=new tc(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(),Qo(this.getWindow),cs(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())cs(this.getWindow,e),Ls.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 rc(e,t){let n=sc(e);return n?n.createTabster(!1,t):(n=new nc(e,t),e.__tabsterInstance=n,n.createTabster())}function ic(e){let t=e.core;return t.groupper||=new Bs(t,t.getWindow),t.groupper}function ac(e){let t=e.core;return t.mover||=new Ys(t,t.getWindow),t.mover}function oc(e,t){e.core.disposeTabster(e,t)}function sc(e){return e.__tabsterInstance}var cc=e=>e;function lc(e){let t=e?.defaultView||void 0,n=t?.__tabsterShadowDOMAPI;if(t)return rc(t,{autoRoot:{},controlTab:!1,getParent:Ma,checkUncontrolledCompletely:e=>e.firstElementChild?.hasAttribute(`data-is-focus-trap-zone-bumper`)===!0||void 0,DOMAPI:n})}function uc(e=cc){let{targetDocument:t}=R(),n=_.useRef(null);return ia(()=>{let r=lc(t);if(r)return n.current=e(r),()=>{oc(r),n.current=null}},[t,e]),n}var dc=e=>{uc();let t=Es(e,!0);return _.useMemo(()=>({[co]:t}),[t])},fc=(e={})=>{let{circular:t,axis:n,memorizeCurrent:r=!0,tabbable:i,ignoreDefaultKeydown:a,unstable_hasDefault:o}=e;return uc(ac),dc({mover:{cyclic:!!t,direction:pc(n??`vertical`),memorizeCurrent:r,tabbable:i,hasDefault:o},...a&&{focusable:{ignoreKeydown:a}}})};function pc(e){switch(e){case`horizontal`:return mo.Horizontal;case`grid`:return mo.Grid;case`grid-linear`:return mo.GridLinear;case`both`:return mo.Both;default:return mo.Vertical}}var mc=e=>(uc(ic),dc({groupper:{tabbability:hc(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),hc=e=>{switch(e){case`unlimited`:return ho.Unlimited;case`limited`:return ho.Limited;case`limited-trap-focus`:return ho.LimitedTrapFocus;default:return}},gc=()=>{let e=uc(),{targetDocument:t}=R();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])}},_c=`data-fui-focus-visible`,K=`data-fui-focus-within`;function vc(e,t){if(yc(e))return()=>void 0;let n={current:void 0},r=oo(t);function i(e){r.isNavigatingWithKeyboard()&&ya(e)&&(n.current=e,e.setAttribute(_c,``))}function a(){n.current&&=(n.current.removeAttribute(_c),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||ya(t.relatedTarget)&&!e.contains(t.relatedTarget))&&a()};return e.addEventListener(Ya,o),e.addEventListener(`focusout`,s),e.focusVisible=!0,e.contains(t.document.activeElement)&&i(t.document.activeElement),()=>{a(),e.removeEventListener(Ya,o),e.removeEventListener(`focusout`,s),e.focusVisible=void 0,so(r)}}function yc(e){return e?e.focusVisible?!0:yc(e?.parentElement):!1}function bc(e={}){let t=R(),n=_.useRef(null),r=e.targetDocument??t.targetDocument;return _.useEffect(()=>{if(r?.defaultView&&n.current)return vc(n.current,r.defaultView)},[n,r]),n}function xc(e,t){let n=oo(t);n.subscribe(t=>{t||Cc(e)});let r=t=>{n.isNavigatingWithKeyboard()&&wc(t.target)&&Sc(e)},i=t=>{(!t.relatedTarget||wc(t.relatedTarget)&&!e.contains(t.relatedTarget))&&Cc(e)};return e.addEventListener(Ya,r),e.addEventListener(`focusout`,i),()=>{e.removeEventListener(Ya,r),e.removeEventListener(`focusout`,i),so(n)}}function Sc(e){e.setAttribute(K,``)}function Cc(e){e.removeAttribute(K)}function wc(e){return e?!!(e&&typeof e==`object`&&`classList`in e&&`contains`in e):!1}function Tc(){let{targetDocument:e}=R(),t=_.useRef(null);return _.useEffect(()=>{if(e?.defaultView&&t.current)return xc(t.current,e.defaultView)},[t,e]),t}function Ec(){let{targetDocument:e}=R(),t=_.useRef(null);return _.useEffect(()=>{let n=e?.defaultView;if(n){let e=oo(n);return t.current=e,()=>{so(e),t.current=null}}},[e]),t}function Dc(e){let t=Ec(),n=V(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 Oc=(...e)=>{"use no memo";let t=e.reduce((e,t)=>(t?.[`data-tabster`]&&e.push(t[co]),e),[]);return _.useMemo(()=>({[co]:t.length>0?t.reduce(kc):void 0}),t)},kc=(e,t)=>JSON.stringify(Object.assign(Ac(e),Ac(t))),Ac=e=>{try{return JSON.parse(e)}catch{return{}}};function jc(){let e=Ec();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`},Mc={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)`},Nc={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)`},Pc={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)`},Fc={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)`},Ic={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`,Lc=`#000000`,Rc={shade50:`#130204`,shade40:`#230308`,shade30:`#420610`,shade20:`#590815`,shade10:`#690a19`,primary:`#750b1c`,tint10:`#861b2c`,tint20:`#962f3f`,tint30:`#ac4f5e`,tint40:`#d69ca5`,tint50:`#e9c7cd`,tint60:`#f9f0f2`},zc={shade50:`#200205`,shade40:`#3b0509`,shade30:`#6e0811`,shade20:`#960b18`,shade10:`#b10e1c`,primary:`#c50f1f`,tint10:`#cc2635`,tint20:`#d33f4c`,tint30:`#dc626d`,tint40:`#eeacb2`,tint50:`#f6d1d5`,tint60:`#fdf3f4`},Bc={shade50:`#210809`,shade40:`#3f1011`,shade30:`#751d1f`,shade20:`#9f282b`,shade10:`#bc2f32`,primary:`#d13438`,tint10:`#d7494c`,tint20:`#dc5e62`,tint30:`#e37d80`,tint40:`#f1bbbc`,tint50:`#f8dadb`,tint60:`#fdf6f6`},Vc={shade50:`#230900`,shade40:`#411200`,shade30:`#7a2101`,shade20:`#a62d01`,shade10:`#c43501`,primary:`#da3b01`,tint10:`#de501c`,tint20:`#e36537`,tint30:`#e9835e`,tint40:`#f4bfab`,tint50:`#f9dcd1`,tint60:`#fdf6f3`},Hc={shade50:`#200d03`,shade40:`#3d1805`,shade30:`#712d09`,shade20:`#9a3d0c`,shade10:`#b6480e`,primary:`#ca5010`,tint10:`#d06228`,tint20:`#d77440`,tint30:`#df8e64`,tint40:`#efc4ad`,tint50:`#f7dfd2`,tint60:`#fdf7f4`},Uc={shade50:`#271002`,shade40:`#4a1e04`,shade30:`#8a3707`,shade20:`#bc4b09`,shade10:`#de590b`,primary:`#f7630c`,tint10:`#f87528`,tint20:`#f98845`,tint30:`#faa06b`,tint40:`#fdcfb4`,tint50:`#fee5d7`,tint60:`#fff9f5`},Wc={shade50:`#291600`,shade40:`#4d2a00`,shade30:`#8f4e00`,shade20:`#c26a00`,shade10:`#e67e00`,primary:`#ff8c00`,tint10:`#ff9a1f`,tint20:`#ffa83d`,tint30:`#ffba66`,tint40:`#ffddb3`,tint50:`#ffedd6`,tint60:`#fffaf5`},Y={shade50:`#251a00`,shade40:`#463100`,shade30:`#835b00`,shade20:`#b27c00`,shade10:`#d39300`,primary:`#eaa300`,tint10:`#edad1c`,tint20:`#efb839`,tint30:`#f2c661`,tint40:`#f9e2ae`,tint50:`#fcefd3`,tint60:`#fefbf4`},Gc={shade50:`#282400`,shade40:`#4c4400`,shade30:`#817400`,shade20:`#c0ad00`,shade10:`#e4cc00`,primary:`#fde300`,tint10:`#fde61e`,tint20:`#fdea3d`,tint30:`#feee66`,tint40:`#fef7b2`,tint50:`#fffad6`,tint60:`#fffef5`},Kc={shade50:`#1f1900`,shade40:`#3a2f00`,shade30:`#6c5700`,shade20:`#937700`,shade10:`#ae8c00`,primary:`#c19c00`,tint10:`#c8a718`,tint20:`#d0b232`,tint30:`#dac157`,tint40:`#ecdfa5`,tint50:`#f5eece`,tint60:`#fdfbf2`},qc={shade50:`#181202`,shade40:`#2e2103`,shade30:`#553e06`,shade20:`#745408`,shade10:`#89640a`,primary:`#986f0b`,tint10:`#a47d1e`,tint20:`#b18c34`,tint30:`#c1a256`,tint40:`#e0cea2`,tint50:`#efe4cb`,tint60:`#fbf8f2`},Jc={shade50:`#170e07`,shade40:`#2b1a0e`,shade30:`#50301a`,shade20:`#6c4123`,shade10:`#804d29`,primary:`#8e562e`,tint10:`#9c663f`,tint20:`#a97652`,tint30:`#bb8f6f`,tint40:`#ddc3b0`,tint50:`#edded3`,tint60:`#faf7f4`},Yc={shade50:`#0c1501`,shade40:`#162702`,shade30:`#294903`,shade20:`#376304`,shade10:`#427505`,primary:`#498205`,tint10:`#599116`,tint20:`#6ba02b`,tint30:`#85b44c`,tint40:`#bdd99b`,tint50:`#dbebc7`,tint60:`#f6faf0`},Xc={shade50:`#002111`,shade40:`#003d20`,shade30:`#00723b`,shade20:`#009b51`,shade10:`#00b85f`,primary:`#00cc6a`,tint10:`#19d279`,tint20:`#34d889`,tint30:`#5ae0a0`,tint40:`#a8f0cd`,tint50:`#cff7e4`,tint60:`#f3fdf8`},Zc={shade50:`#031a02`,shade40:`#063004`,shade30:`#0b5a08`,shade20:`#0e7a0b`,shade10:`#11910d`,primary:`#13a10e`,tint10:`#27ac22`,tint20:`#3db838`,tint30:`#5ec75a`,tint40:`#a7e3a5`,tint50:`#cef0cd`,tint60:`#f2fbf2`},Qc={shade50:`#031403`,shade40:`#052505`,shade30:`#094509`,shade20:`#0c5e0c`,shade10:`#0e700e`,primary:`#107c10`,tint10:`#218c21`,tint20:`#359b35`,tint30:`#54b054`,tint40:`#9fd89f`,tint50:`#c9eac9`,tint60:`#f1faf1`},$c={shade50:`#021102`,shade40:`#032003`,shade30:`#063b06`,shade20:`#085108`,shade10:`#0a5f0a`,primary:`#0b6a0b`,tint10:`#1a7c1a`,tint20:`#2d8e2d`,tint30:`#4da64d`,tint40:`#9ad29a`,tint50:`#c6e7c6`,tint60:`#f0f9f0`},el={shade50:`#001d1f`,shade40:`#00373a`,shade30:`#00666d`,shade20:`#008b94`,shade10:`#00a5af`,primary:`#00b7c3`,tint10:`#18bfca`,tint20:`#32c8d1`,tint30:`#58d3db`,tint40:`#a6e9ed`,tint50:`#cef3f5`,tint60:`#f2fcfd`},tl={shade50:`#001516`,shade40:`#012728`,shade30:`#02494c`,shade20:`#026467`,shade10:`#037679`,primary:`#038387`,tint10:`#159195`,tint20:`#2aa0a4`,tint30:`#4cb4b7`,tint40:`#9bd9db`,tint50:`#c7ebec`,tint60:`#f0fafa`},nl={shade50:`#000f12`,shade40:`#001b22`,shade30:`#00333f`,shade20:`#004555`,shade10:`#005265`,primary:`#005b70`,tint10:`#0f6c81`,tint20:`#237d92`,tint30:`#4496a9`,tint40:`#94c8d4`,tint50:`#c3e1e8`,tint60:`#eff7f9`},rl={shade50:`#001322`,shade40:`#002440`,shade30:`#004377`,shade20:`#005ba1`,shade10:`#006cbf`,primary:`#0078d4`,tint10:`#1a86d9`,tint20:`#3595de`,tint30:`#5caae5`,tint40:`#a9d3f2`,tint50:`#d0e7f8`,tint60:`#f3f9fd`},il={shade50:`#000c16`,shade40:`#00172a`,shade30:`#002c4e`,shade20:`#003b6a`,shade10:`#00467e`,primary:`#004e8c`,tint10:`#125e9a`,tint20:`#286fa8`,tint30:`#4a89ba`,tint40:`#9abfdc`,tint50:`#c7dced`,tint60:`#f0f6fa`},al={shade50:`#0d1126`,shade40:`#182047`,shade30:`#2c3c85`,shade20:`#3c51b4`,shade10:`#4760d5`,primary:`#4f6bed`,tint10:`#637cef`,tint20:`#778df1`,tint30:`#93a4f4`,tint40:`#c8d1fa`,tint50:`#e1e6fc`,tint60:`#f7f9fe`},ol={shade50:`#00061d`,shade40:`#000c36`,shade30:`#001665`,shade20:`#001e89`,shade10:`#0023a2`,primary:`#0027b4`,tint10:`#173bbd`,tint20:`#3050c6`,tint30:`#546fd2`,tint40:`#a3b2e8`,tint50:`#ccd5f3`,tint60:`#f2f4fc`},sl={shade50:`#120f25`,shade40:`#221d46`,shade30:`#3f3682`,shade20:`#5649b0`,shade10:`#6656d1`,primary:`#7160e8`,tint10:`#8172eb`,tint20:`#9184ee`,tint30:`#a79cf1`,tint40:`#d2ccf8`,tint50:`#e7e4fb`,tint60:`#f9f8fe`},cl={shade50:`#0f0717`,shade40:`#1c0e2b`,shade30:`#341a51`,shade20:`#46236e`,shade10:`#532982`,primary:`#5c2e91`,tint10:`#6b3f9e`,tint20:`#7c52ab`,tint30:`#9470bd`,tint40:`#c6b1de`,tint50:`#e0d3ed`,tint60:`#f7f4fb`},ll={shade50:`#160418`,shade40:`#29072e`,shade30:`#4c0d55`,shade20:`#671174`,shade10:`#7a1589`,primary:`#881798`,tint10:`#952aa4`,tint20:`#a33fb1`,tint30:`#b55fc1`,tint40:`#d9a7e0`,tint50:`#eaceef`,tint60:`#faf2fb`},ul={shade50:`#1f091d`,shade40:`#3a1136`,shade30:`#6d2064`,shade20:`#932b88`,shade10:`#af33a1`,primary:`#c239b3`,tint10:`#c94cbc`,tint20:`#d161c4`,tint30:`#da7ed0`,tint40:`#edbbe7`,tint50:`#f5daf2`,tint60:`#fdf5fc`},dl={shade50:`#1c0b1f`,shade40:`#35153a`,shade30:`#63276d`,shade20:`#863593`,shade10:`#9f3faf`,primary:`#b146c2`,tint10:`#ba58c9`,tint20:`#c36bd1`,tint30:`#cf87da`,tint40:`#e6bfed`,tint50:`#f2dcf5`,tint60:`#fcf6fd`},fl={shade50:`#24091b`,shade40:`#441232`,shade30:`#80215d`,shade20:`#ad2d7e`,shade10:`#cd3595`,primary:`#e43ba6`,tint10:`#e750b0`,tint20:`#ea66ba`,tint30:`#ef85c8`,tint40:`#f7c0e3`,tint50:`#fbddf0`,tint60:`#fef6fb`},pl={shade50:`#1f0013`,shade40:`#390024`,shade30:`#6b0043`,shade20:`#91005a`,shade10:`#ac006b`,primary:`#bf0077`,tint10:`#c71885`,tint20:`#ce3293`,tint30:`#d957a8`,tint40:`#eca5d1`,tint50:`#f5cee6`,tint60:`#fcf2f9`},ml={shade50:`#13000c`,shade40:`#240017`,shade30:`#43002b`,shade20:`#5a003b`,shade10:`#6b0045`,primary:`#77004d`,tint10:`#87105d`,tint20:`#98246f`,tint30:`#ad4589`,tint40:`#d696c0`,tint50:`#e9c4dc`,tint60:`#faf0f6`},hl={shade50:`#141313`,shade40:`#252323`,shade30:`#444241`,shade20:`#5d5958`,shade10:`#6e6968`,primary:`#7a7574`,tint10:`#8a8584`,tint20:`#9a9594`,tint30:`#afabaa`,tint40:`#d7d4d4`,tint50:`#eae8e8`,tint60:`#faf9f9`},gl={shade50:`#0f0e0e`,shade40:`#1c1b1a`,shade30:`#343231`,shade20:`#474443`,shade10:`#54514f`,primary:`#5d5a58`,tint10:`#706d6b`,tint20:`#84817e`,tint30:`#9e9b99`,tint40:`#cecccb`,tint50:`#e5e4e3`,tint60:`#f8f8f8`},_l={shade50:`#111314`,shade40:`#1f2426`,shade30:`#3b4447`,shade20:`#505c60`,shade10:`#5f6d71`,primary:`#69797e`,tint10:`#79898d`,tint20:`#89989d`,tint30:`#a0adb2`,tint40:`#cdd6d8`,tint50:`#e4e9ea`,tint60:`#f8f9fa`},vl={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:Bc,green:Qc,darkOrange:Vc,yellow:Gc,berry:ul,lightGreen:Zc,marigold:Y},yl={darkRed:Rc,cranberry:zc,pumpkin:Hc,peach:Wc,gold:Kc,brass:qc,brown:Jc,forest:Yc,seafoam:Xc,darkGreen:$c,lightTeal:el,teal:tl,steel:nl,blue:rl,royalBlue:il,cornflower:al,navy:ol,lavender:sl,purple:cl,grape:ll,lilac:dl,pink:fl,magenta:pl,plum:ml,beige:hl,mink:gl,platinum:_l,anchor:vl},Z={cranberry:zc,green:Qc,orange:Uc},bl=[`red`,`green`,`darkOrange`,`yellow`,`berry`,`lightGreen`,`marigold`],xl=`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=bl.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 wl=xl.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background2`]:yl[t].tint40,[`colorPalette${n}Foreground2`]:yl[t].shade30,[`colorPalette${n}BorderActive`]:yl[t].primary};return Object.assign(e,r)},{}),Tl={...Cl,...wl},El=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)},{});El.colorStatusDangerBackground3Hover=Z[Sl.danger].shade10,El.colorStatusDangerBackground3Pressed=Z[Sl.danger].shade20,El.colorStatusWarningForeground1=Z[Sl.warning].shade20,El.colorStatusWarningForeground3=Z[Sl.warning].shade20,El.colorStatusWarningBorder2=Z[Sl.warning].shade20;var Dl=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:Mc[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:Mc[50],colorNeutralBackgroundAlpha2:Mc[80],colorSubtleBackground:`transparent`,colorSubtleBackgroundHover:q[96],colorSubtleBackgroundPressed:q[88],colorSubtleBackgroundSelected:q[92],colorSubtleBackgroundLightAlphaHover:Mc[70],colorSubtleBackgroundLightAlphaPressed:Mc[50],colorSubtleBackgroundLightAlphaSelected:`transparent`,colorSubtleBackgroundInverted:`transparent`,colorSubtleBackgroundInvertedHover:Nc[10],colorSubtleBackgroundInvertedPressed:Nc[30],colorSubtleBackgroundInvertedSelected:Nc[20],colorTransparentBackground:`transparent`,colorTransparentBackgroundHover:`transparent`,colorTransparentBackgroundPressed:`transparent`,colorTransparentBackgroundSelected:`transparent`,colorNeutralBackgroundDisabled:q[94],colorNeutralBackgroundInvertedDisabled:Mc[10],colorNeutralStencil1:q[90],colorNeutralStencil2:q[98],colorNeutralStencil1Alpha:Nc[10],colorNeutralStencil2Alpha:Nc[5],colorBackgroundOverlay:Nc[40],colorScrollbarOverlay:Nc[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:Mc[40],colorTransparentStroke:`transparent`,colorTransparentStrokeInteractive:`transparent`,colorTransparentStrokeDisabled:`transparent`,colorNeutralStrokeAlpha:Nc[5],colorNeutralStrokeAlpha2:Mc[20],colorStrokeFocus1:J,colorStrokeFocus2:Lc,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)`}),Ol={borderRadiusNone:`0`,borderRadiusSmall:`2px`,borderRadiusMedium:`4px`,borderRadiusLarge:`6px`,borderRadiusXLarge:`8px`,borderRadiusCircular:`10000px`},kl={fontSizeBase100:`10px`,fontSizeBase200:`12px`,fontSizeBase300:`14px`,fontSizeBase400:`16px`,fontSizeBase500:`20px`,fontSizeBase600:`24px`,fontSizeHero700:`28px`,fontSizeHero800:`32px`,fontSizeHero900:`40px`,fontSizeHero1000:`68px`},Al={lineHeightBase100:`14px`,lineHeightBase200:`16px`,lineHeightBase300:`20px`,lineHeightBase400:`22px`,lineHeightBase500:`28px`,lineHeightBase600:`32px`,lineHeightHero700:`36px`,lineHeightHero800:`40px`,lineHeightHero900:`52px`,lineHeightHero1000:`92px`},jl={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Ml={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`},Nl={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 Pl(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 Fl={durationUltraFast:`50ms`,durationFaster:`100ms`,durationFast:`150ms`,durationNormal:`200ms`,durationGentle:`250ms`,durationSlow:`300ms`,durationSlower:`400ms`,durationUltraSlow:`500ms`},Il={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)`},$={none:`0`,xxs:`2px`,xs:`4px`,sNudge:`6px`,s:`8px`,mNudge:`10px`,m:`12px`,l:`16px`,xl:`20px`,xxl:`24px`,xxxl:`32px`},Ll={spacingHorizontalNone:$.none,spacingHorizontalXXS:$.xxs,spacingHorizontalXS:$.xs,spacingHorizontalSNudge:$.sNudge,spacingHorizontalS:$.s,spacingHorizontalMNudge:$.mNudge,spacingHorizontalM:$.m,spacingHorizontalL:$.l,spacingHorizontalXL:$.xl,spacingHorizontalXXL:$.xxl,spacingHorizontalXXXL:$.xxxl},Rl={spacingVerticalNone:$.none,spacingVerticalXXS:$.xxs,spacingVerticalXS:$.xs,spacingVerticalSNudge:$.sNudge,spacingVerticalS:$.s,spacingVerticalMNudge:$.mNudge,spacingVerticalM:$.m,spacingVerticalL:$.l,spacingVerticalXL:$.xl,spacingVerticalXXL:$.xxl,spacingVerticalXXXL:$.xxxl},zl=e=>{let t=Dl(e);return{...Ol,...kl,...Al,...Ml,...jl,...Nl,...Ll,...Rl,...Fl,...Il,...t,...Tl,...El,...Pl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Pl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,`Brand`)}},Bl={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`},Vl={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`},Hl={...Ml,fontFamilyBase:`-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif`},Ul={...zl(Bl),...Hl};({...zl(Vl),...Hl});var Wl=bl.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)},{});Wl.colorPaletteRedForeground3=X.red.tint30,Wl.colorPaletteRedBorder2=X.red.tint30,Wl.colorPaletteGreenForeground3=X.green.tint40,Wl.colorPaletteGreenBorder2=X.green.tint40,Wl.colorPaletteDarkOrangeForeground3=X.darkOrange.tint30,Wl.colorPaletteDarkOrangeBorder2=X.darkOrange.tint30,Wl.colorPaletteRedForegroundInverted=X.red.primary,Wl.colorPaletteGreenForegroundInverted=X.green.primary,Wl.colorPaletteYellowForegroundInverted=X.yellow.shade30;var Gl=xl.reduce((e,t)=>{let n=t.slice(0,1).toUpperCase()+t.slice(1),r={[`colorPalette${n}Background2`]:yl[t].shade30,[`colorPalette${n}Foreground2`]:yl[t].tint40,[`colorPalette${n}BorderActive`]:yl[t].tint30};return Object.assign(e,r)},{});Gl.colorPaletteDarkRedBackground2=yl.darkRed.shade20,Gl.colorPalettePlumBackground2=yl.plum.shade20;var Kl={...Wl,...Gl},ql=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)},{});ql.colorStatusDangerBackground3Hover=Z[Sl.danger].shade10,ql.colorStatusDangerBackground3Pressed=Z[Sl.danger].shade20,ql.colorStatusDangerForeground3=Z[Sl.danger].tint40,ql.colorStatusDangerBorder2=Z[Sl.danger].tint30,ql.colorStatusSuccessForeground3=Z[Sl.success].tint40,ql.colorStatusSuccessBorder2=Z[Sl.success].tint40,ql.colorStatusWarningForegroundInverted=Z[Sl.warning].shade20;var Jl=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:Mc[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:Lc,colorNeutralBackground5Selected:q[10],colorNeutralBackground6:q[20],colorNeutralBackgroundInverted:J,colorNeutralBackgroundStatic:q[24],colorNeutralBackgroundAlpha:Pc[50],colorNeutralBackgroundAlpha2:Fc[70],colorSubtleBackground:`transparent`,colorSubtleBackgroundHover:q[22],colorSubtleBackgroundPressed:q[18],colorSubtleBackgroundSelected:q[20],colorSubtleBackgroundLightAlphaHover:Ic[80],colorSubtleBackgroundLightAlphaPressed:Ic[50],colorSubtleBackgroundLightAlphaSelected:`transparent`,colorSubtleBackgroundInverted:`transparent`,colorSubtleBackgroundInvertedHover:Nc[10],colorSubtleBackgroundInvertedPressed:Nc[30],colorSubtleBackgroundInvertedSelected:Nc[20],colorTransparentBackground:`transparent`,colorTransparentBackgroundHover:`transparent`,colorTransparentBackgroundPressed:`transparent`,colorTransparentBackgroundSelected:`transparent`,colorNeutralBackgroundDisabled:q[8],colorNeutralBackgroundInvertedDisabled:Mc[10],colorNeutralStencil1:q[34],colorNeutralStencil2:q[20],colorNeutralStencil1Alpha:Mc[10],colorNeutralStencil2Alpha:Mc[5],colorBackgroundOverlay:Nc[50],colorScrollbarOverlay:Mc[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:Mc[40],colorTransparentStroke:`transparent`,colorTransparentStrokeInteractive:`transparent`,colorTransparentStrokeDisabled:`transparent`,colorNeutralStrokeAlpha:Mc[10],colorNeutralStrokeAlpha2:Mc[20],colorStrokeFocus1:Lc,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)`}),Yl=e=>{let t=Jl(e);return{...Ol,...kl,...Al,...Ml,...jl,...Nl,...Ll,...Rl,...Fl,...Il,...t,...Kl,...ql,...Pl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Pl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,`Brand`)}},Xl={...Yl(Bl),...Hl};({...Yl(Vl),...Hl});function Zl(e,t){return t?`${e} { ${Object.keys(t).reduce((e,n)=>`${e}--${n}: ${t[n]}; `,``)} }`:`${e} {}`}var Ql={root:`fui-FluentProvider`},$l=Pr({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);}`]}),eu=e=>{"use no memo";let t=Vr(),n=$l({dir:e.dir,renderer:t});return e.root.className=k(Ql.root,e.themeClassName,n.root,e.root.className),e},tu=_.useInsertionEffect?_.useInsertionEffect:ia,nu=(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},ru=(e,t)=>{let n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(t,0))},iu=e=>{"use no memo";let{targetDocument:t,theme:n,rendererAttributes:r}=e,i=_.useRef(void 0),a=ca(Ql.root),o=r,s=_.useMemo(()=>Zl(`.${a}`,n),[n,a]);return au(t,a),tu(()=>{let e=t?.getElementById(a);return e?i.current=e:(i.current=nu(t,{...o,id:a}),i.current&&ru(i.current,s)),()=>{var e;(e=i.current)==null||e.remove()}},[a,t,s,o]),{styleTagId:a,rule:s}};function au(e,t){_.useState(()=>{if(!e)return;let n=e.getElementById(t);n&&e.head.append(n)})}var ou={},su={},cu=(e,t)=>{"use no memo";let n=R(),r=uu(),i=Hi(),a=_.useContext(Ui)||ou,{applyStylesToPortals:o=!0,customStyleHooks_unstable:s,dir:c=n.dir,targetDocument:l=n.targetDocument,theme:u,overrides_unstable:d={}}=e,f=lu(r,u),p=lu(i,d),m=lu(a,s),h=Vr(),{styleTagId:g,rule:v}=iu({theme:f,targetDocument:l,rendererAttributes:h.styleElementAttributes??su});return{applyStylesToPortals:o,customStyleHooks_unstable:m,dir:c,targetDocument:l,theme:f,overrides_unstable:p,themeClassName:g,components:{root:`div`},root:P(Oi(`div`,{...e,dir:c,ref:la(t,bc({targetDocument:l}))}),{elementType:`div`}),serverStyleProps:{cssRule:v,attributes:{...h.styleElementAttributes,id:g}}}};function lu(e,t){return e&&t?{...e,...t}:e||t}function uu(){return _.useContext(Ai)}function du(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 fu=_.forwardRef((e,t)=>{let n=cu(e,t);return eu(n),Ka(n,du(n))});fu.displayName=`FluentProvider`;var pu=(e,t)=>{let{shape:n=`circular`,size:r=`medium`,iconPosition:i=`before`,appearance:a=`filled`,color:o=`brand`}=e;return{shape:n,size:r,iconPosition:i,appearance:a,color:o,components:{root:`div`,icon:`span`},root:P(Oi(`div`,{ref:t,...e}),{elementType:`div`}),icon:F(e.icon,{elementType:`span`})}},mu={root:`fui-Badge`,icon:`fui-Badge__icon`};Q.spacingHorizontalXXS;var hu=Kr(`r1iycov`,`r115jdol`,[`.r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}`,`.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}`,`.r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}`,`.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}`]),gu=N({fontSmallToTiny:{Bahqtrf:`fk6fouc`,Be2twd7:`f13mqy1h`,Bhrd7zp:`fl43uef`,Bg96gwp:`fcpl73t`},tiny:{a9b677:`f16dn6v3`,Bqenvij:`f3mu39s`,Be2twd7:`f130uwy9`,Bg96gwp:`fod1mrr`,Bf4jedk:`f18p0k4z`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`f19jm9xf`},"extra-small":{a9b677:`fpd43o0`,Bqenvij:`f30q22z`,Be2twd7:`f1tccstq`,Bg96gwp:`f1y3arg5`,Bf4jedk:`f18p0k4z`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`f19jm9xf`},small:{Bf4jedk:`fq2vo04`,Bqenvij:`fd461yt`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`fupdldz`},medium:{},large:{Bf4jedk:`f17fgpbq`,Bqenvij:`frvgh55`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`f1996nqw`},"extra-large":{Bf4jedk:`fwbmr0d`,Bqenvij:`f1d2rq10`,Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:`fty64o7`},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`f1fabniw`},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`ft85np5`},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:`fq9zq91`},circular:{},borderGhost:{ap17g6:`f10ludwy`},filled:{},"filled-brand":{De3pzq:`ffp7eso`,sj55zd:`f1phragk`},"filled-danger":{De3pzq:`fdl5y0r`,sj55zd:`f1phragk`},"filled-important":{De3pzq:`f1c73kur`,sj55zd:`fr0bkrk`},"filled-informative":{De3pzq:`f3vzo32`,sj55zd:`f11d4kpn`},"filled-severe":{De3pzq:`f1s438gw`,sj55zd:`f1phragk`},"filled-subtle":{De3pzq:`fxugw4r`,sj55zd:`f19n0e5`},"filled-success":{De3pzq:`flxk52p`,sj55zd:`f1phragk`},"filled-warning":{De3pzq:`ffq97bm`,sj55zd:`ff5vbop`},ghost:{},"ghost-brand":{sj55zd:`f16muhyy`},"ghost-danger":{sj55zd:`f1whyuy6`},"ghost-important":{sj55zd:`f19n0e5`},"ghost-informative":{sj55zd:`f11d4kpn`},"ghost-severe":{sj55zd:`f1l8vj45`},"ghost-subtle":{sj55zd:`fonrgv7`},"ghost-success":{sj55zd:`f1m7fhi8`},"ghost-warning":{sj55zd:`fpti2h4`},outline:{g2u3we:`f23ftbb`,h3c5rm:[`f1gkuv52`,`f1p1bl80`],B9xav0g:`fioka3i`,zhjwy3:[`f1p1bl80`,`f1gkuv52`]},"outline-brand":{sj55zd:`f16muhyy`},"outline-danger":{sj55zd:`f1whyuy6`,g2u3we:`fyqpifd`,h3c5rm:[`f3ukxca`,`f1k7dugc`],B9xav0g:`f1njxb2b`,zhjwy3:[`f1k7dugc`,`f3ukxca`]},"outline-important":{sj55zd:`f11d4kpn`,g2u3we:`fq0vr37`,h3c5rm:[`f1byw159`,`f11cr0be`],B9xav0g:`f1c1zstj`,zhjwy3:[`f11cr0be`,`f1byw159`]},"outline-informative":{sj55zd:`f11d4kpn`,g2u3we:`f68mrw8`,h3c5rm:[`f7pw515`,`fw35ms5`],B9xav0g:`frpde29`,zhjwy3:[`fw35ms5`,`f7pw515`]},"outline-severe":{sj55zd:`f1l8vj45`},"outline-subtle":{sj55zd:`fonrgv7`},"outline-success":{sj55zd:`f1m7fhi8`,g2u3we:`f1mmhl11`,h3c5rm:[`f1tjpp2f`,`f1ocn5n7`],B9xav0g:`f1gjv25d`,zhjwy3:[`f1ocn5n7`,`f1tjpp2f`]},"outline-warning":{sj55zd:`fpti2h4`},tint:{},"tint-brand":{De3pzq:`f16xkysk`,sj55zd:`faj9fo0`,g2u3we:`f161y7kd`,h3c5rm:[`f1c8dzaj`,`f1sl6hi9`],B9xav0g:`f1619yhw`,zhjwy3:[`f1sl6hi9`,`f1c8dzaj`]},"tint-danger":{De3pzq:`ff0poqj`,sj55zd:`f1hcrxcs`,g2u3we:`f1oqjm8o`,h3c5rm:[`fkgrb8g`,`frb5wm0`],B9xav0g:`f1iai1ph`,zhjwy3:[`frb5wm0`,`fkgrb8g`]},"tint-important":{De3pzq:`f945g0u`,sj55zd:`fr0bkrk`,g2u3we:`fghlq4f`,h3c5rm:[`f1gn591s`,`fjscplz`],B9xav0g:`fb073pr`,zhjwy3:[`fjscplz`,`f1gn591s`]},"tint-informative":{De3pzq:`f1ctqxl6`,sj55zd:`f11d4kpn`,g2u3we:`f68mrw8`,h3c5rm:[`f7pw515`,`fw35ms5`],B9xav0g:`frpde29`,zhjwy3:[`fw35ms5`,`f7pw515`]},"tint-severe":{De3pzq:`f1xzsg4`,sj55zd:`f1k5f75o`,g2u3we:`fxy9dsj`,h3c5rm:[`f54u6j2`,`fcm23ze`],B9xav0g:`f4vf0uq`,zhjwy3:[`fcm23ze`,`f54u6j2`]},"tint-subtle":{De3pzq:`fxugw4r`,sj55zd:`f11d4kpn`,g2u3we:`f68mrw8`,h3c5rm:[`f7pw515`,`fw35ms5`],B9xav0g:`frpde29`,zhjwy3:[`fw35ms5`,`f7pw515`]},"tint-success":{De3pzq:`f2vsrz6`,sj55zd:`ffmvakt`,g2u3we:`fdmic9h`,h3c5rm:[`f196y6m`,`fetptd8`],B9xav0g:`f1pev5xq`,zhjwy3:[`fetptd8`,`f196y6m`]},"tint-warning":{De3pzq:`f10s6hli`,sj55zd:`f42v8de`,g2u3we:`fn9i3n`,h3c5rm:[`f1aw8cx4`,`f51if14`],B9xav0g:`fvq8iai`,zhjwy3:[`f51if14`,`f1aw8cx4`]}},{d:[`.fk6fouc{font-family:var(--fontFamilyBase);}`,`.f13mqy1h{font-size:var(--fontSizeBase100);}`,`.fl43uef{font-weight:var(--fontWeightSemibold);}`,`.fcpl73t{line-height:var(--lineHeightBase100);}`,`.f16dn6v3{width:6px;}`,`.f3mu39s{height:6px;}`,`.f130uwy9{font-size:4px;}`,`.fod1mrr{line-height:4px;}`,`.f18p0k4z{min-width:unset;}`,[`.f19jm9xf{padding:unset;}`,{p:-1}],`.fpd43o0{width:10px;}`,`.f30q22z{height:10px;}`,`.f1tccstq{font-size:6px;}`,`.f1y3arg5{line-height:6px;}`,[`.f19jm9xf{padding:unset;}`,{p:-1}],`.fq2vo04{min-width:16px;}`,`.fd461yt{height:16px;}`,[`.fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}`,{p:-1}],`.f17fgpbq{min-width:24px;}`,`.frvgh55{height:24px;}`,[`.f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}`,{p:-1}],`.fwbmr0d{min-width:32px;}`,`.f1d2rq10{height:32px;}`,[`.fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}`,{p:-1}],[`.f1fabniw{border-radius:var(--borderRadiusNone);}`,{p:-1}],[`.ft85np5{border-radius:var(--borderRadiusMedium);}`,{p:-1}],[`.fq9zq91{border-radius:var(--borderRadiusSmall);}`,{p:-1}],`.f10ludwy::after{display:none;}`,`.ffp7eso{background-color:var(--colorBrandBackground);}`,`.f1phragk{color:var(--colorNeutralForegroundOnBrand);}`,`.fdl5y0r{background-color:var(--colorPaletteRedBackground3);}`,`.f1c73kur{background-color:var(--colorNeutralForeground1);}`,`.fr0bkrk{color:var(--colorNeutralBackground1);}`,`.f3vzo32{background-color:var(--colorNeutralBackground5);}`,`.f11d4kpn{color:var(--colorNeutralForeground3);}`,`.f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}`,`.fxugw4r{background-color:var(--colorNeutralBackground1);}`,`.f19n0e5{color:var(--colorNeutralForeground1);}`,`.flxk52p{background-color:var(--colorPaletteGreenBackground3);}`,`.ffq97bm{background-color:var(--colorPaletteYellowBackground3);}`,`.ff5vbop{color:var(--colorNeutralForeground1Static);}`,`.f16muhyy{color:var(--colorBrandForeground1);}`,`.f1whyuy6{color:var(--colorPaletteRedForeground3);}`,`.f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}`,`.fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}`,`.f1m7fhi8{color:var(--colorPaletteGreenForeground3);}`,`.fpti2h4{color:var(--colorPaletteYellowForeground2);}`,`.f23ftbb{border-top-color:currentColor;}`,`.f1gkuv52{border-right-color:currentColor;}`,`.f1p1bl80{border-left-color:currentColor;}`,`.fioka3i{border-bottom-color:currentColor;}`,`.fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}`,`.f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}`,`.f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}`,`.f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}`,`.fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}`,`.f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}`,`.f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}`,`.f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}`,`.f68mrw8{border-top-color:var(--colorNeutralStroke2);}`,`.f7pw515{border-right-color:var(--colorNeutralStroke2);}`,`.fw35ms5{border-left-color:var(--colorNeutralStroke2);}`,`.frpde29{border-bottom-color:var(--colorNeutralStroke2);}`,`.f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}`,`.f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}`,`.f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}`,`.f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}`,`.f16xkysk{background-color:var(--colorBrandBackground2);}`,`.faj9fo0{color:var(--colorBrandForeground2);}`,`.f161y7kd{border-top-color:var(--colorBrandStroke2);}`,`.f1c8dzaj{border-right-color:var(--colorBrandStroke2);}`,`.f1sl6hi9{border-left-color:var(--colorBrandStroke2);}`,`.f1619yhw{border-bottom-color:var(--colorBrandStroke2);}`,`.ff0poqj{background-color:var(--colorPaletteRedBackground1);}`,`.f1hcrxcs{color:var(--colorPaletteRedForeground1);}`,`.f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}`,`.fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}`,`.frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}`,`.f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}`,`.f945g0u{background-color:var(--colorNeutralForeground3);}`,`.fghlq4f{border-top-color:var(--colorTransparentStroke);}`,`.f1gn591s{border-right-color:var(--colorTransparentStroke);}`,`.fjscplz{border-left-color:var(--colorTransparentStroke);}`,`.fb073pr{border-bottom-color:var(--colorTransparentStroke);}`,`.f1ctqxl6{background-color:var(--colorNeutralBackground4);}`,`.f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}`,`.f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}`,`.fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}`,`.f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}`,`.fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}`,`.f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}`,`.f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}`,`.ffmvakt{color:var(--colorPaletteGreenForeground1);}`,`.fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}`,`.f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}`,`.fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}`,`.f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}`,`.f10s6hli{background-color:var(--colorPaletteYellowBackground1);}`,`.f42v8de{color:var(--colorPaletteYellowForeground1);}`,`.fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}`,`.f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}`,`.f51if14{border-left-color:var(--colorPaletteYellowBorder1);}`,`.fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}`]}),_u=Kr(`rttl5z0`,null,[`.rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}`]),vu=N({beforeText:{t21cq0:[`f1t8l4o1`,`f11juvx6`]},afterText:{Frg6f3:[`f11juvx6`,`f1t8l4o1`]},beforeTextXL:{t21cq0:[`f1rs9grm`,`f1kwmkpi`]},afterTextXL:{Frg6f3:[`f1kwmkpi`,`f1rs9grm`]},tiny:{Be2twd7:`f1tccstq`},"extra-small":{Be2twd7:`fnmn6fi`},small:{Be2twd7:`f1ugzwwg`},medium:{},large:{Be2twd7:`f4ybsrx`},"extra-large":{Be2twd7:`fe5j1ua`}},{d:[`.f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}`,`.f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}`,`.f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}`,`.f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}`,`.f1tccstq{font-size:6px;}`,`.fnmn6fi{font-size:10px;}`,`.f1ugzwwg{font-size:12px;}`,`.f4ybsrx{font-size:16px;}`,`.fe5j1ua{font-size:20px;}`]}),yu=e=>{"use no memo";let t=hu(),n=gu(),r=e.size===`small`||e.size===`extra-small`||e.size===`tiny`;e.root.className=k(mu.root,t,r&&n.fontSmallToTiny,n[e.size],n[e.shape],e.shape===`rounded`&&r&&n.roundedSmallToTiny,e.appearance===`ghost`&&n.borderGhost,n[e.appearance],n[`${e.appearance}-${e.color}`],e.root.className);let i=_u(),a=vu();if(e.icon){let t;_.Children.toArray(e.root.children).length>0&&(t=e.size===`extra-large`?e.iconPosition===`after`?a.afterTextXL:a.beforeTextXL:e.iconPosition===`after`?a.afterText:a.beforeText),e.icon.className=k(mu.icon,i,t,a[e.size],e.icon.className)}return e},bu=e=>Va(e.root,{children:[e.iconPosition===`before`&&e.icon&&U(e.icon,{}),e.root.children,e.iconPosition===`after`&&e.icon&&U(e.icon,{})]}),xu=_.forwardRef((e,t)=>{let n=pu(e,t);return yu(n),Ki(`useBadgeStyles_unstable`)(n),bu(n)});xu.displayName=`Badge`;var Su=e=>{let{iconOnly:t,iconPosition:n}=e;return Va(e.root,{children:[n!==`after`&&e.icon&&U(e.icon,{}),!t&&e.root.children,n===`after`&&e.icon&&U(e.icon,{})]})},Cu=`Shift`,wu=`Enter`,Tu=`ArrowLeft`,Eu=`ArrowRight`,Du=`Escape`;function Ou(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=V(e=>{u?(e.preventDefault(),e.stopPropagation()):a?.(e)}),f=V(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=V(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 ku=()=>void 0,Au={controller:{active:ku,blur:ku,find:ku,first:ku,focus:ku,focusLastActive:ku,scrollActiveIntoView:ku,last:ku,next:ku,prev:ku,showAttributes:ku,hideAttributes:ku,showFocusVisibleAttributes:ku,hideFocusVisibleAttributes:ku}},ju=_.createContext(void 0),Mu=ju.Provider,Nu=()=>_.useContext(ju)??Au,Pu=()=>!!_.useContext(ju);function Fu(e){let{matchOption:t}=e,{targetDocument:n}=R(),r=_.useRef(null),i=_.useRef(null),a=_.useCallback(e=>ya(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 Iu=`data-activedescendant`,Lu=`data-activedescendant-focusvisible`,Ru=e=>{if(!e)return;let t=zu(e.parentElement);if(!t)return;let{offsetHeight:n}=e,r=Bu(e,t),{scrollMarginTop:i,scrollMarginBottom:a}=Vu(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)},zu=e=>e?e.scrollHeight>e.offsetHeight?e:zu(e.parentElement):null,Bu=(e,t)=>!e||e===t?0:e.contains(t)?t.offsetTop*-1:e.offsetTop+Bu(e.offsetParent,t),Vu=e=>{let t=e.ownerDocument?.defaultView;if(!t)return{scrollMarginTop:0,scrollMarginBottom:0};let n=t.getComputedStyle(e);return{scrollMarginTop:Hu(n.scrollMarginTop)??Hu(n.scrollMarginBlockStart),scrollMarginBottom:Hu(n.scrollMarginBottom)??Hu(n.scrollMarginBlockEnd)}},Hu=e=>e?parseInt(e,10):0,Uu=e=>new CustomEvent(`activedescendantchange`,{bubbles:!0,cancelable:!1,composed:!0,detail:e});function Wu(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)}},[]);Dc(e=>{r.current=e;let t=h();t&&(e&&i.current?t.setAttribute(Lu,``):t.removeAttribute(Lu))});let d=V(n),f=_.useRef(null),{optionWalker:p,listboxCallbackRef:m}=Fu({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(Lu,``):t.removeAttribute(Lu))},[h]),v=_.useCallback(()=>{let e=h();return e&&(e.removeAttribute(Iu),e.removeAttribute(Lu)),l(),o.current=a.current,a.current=null,e?.id??null},[h,l]),y=_.useCallback(e=>{if(!e)return;let t=v();Ru(e),u(e.id),e.setAttribute(Iu,``),r.current&&i.current&&e.setAttribute(Lu,``);let n=Uu({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&&Ru(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:la(f,m),activeParentRef:s,controller:b}}var Gu=_.createContext(void 0),Ku={};Gu.Provider;var qu=()=>_.useContext(Gu)??Ku,Ju=(e,t)=>{let{size:n}=qu(),{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(Oi(i,Ou(e.as,e)),{elementType:`button`,defaultProps:{ref:t,type:i===`button`?`button`:void 0}}),icon:d}},Yu=N({root:{mc9l5x:`f1w7gpdv`,Bg96gwp:`fez10in`},rtl:{Bz10aip:`f13rod7r`}},{d:[`.f1w7gpdv{display:inline;}`,`.fez10in{line-height:0;}`,`.f13rod7r{transform:scaleX(-1);}`]}),Xu=(e,t)=>{let{title:n,primaryFill:r=`currentColor`,...i}=e,a={...i,title:void 0,fill:r},o=Yu(),s=Ga();return a.className=k(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},Zu=N({root:{B8gzw0y:`f1dd5bof`}},{m:[[`@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}`,{m:`(forced-colors: active)`}]]}),Qu=(e,t,n,r)=>{let i=t===`1em`?`20`:t,a=_.forwardRef((e,a)=>{let o=Zu(),s=Xu(e,{flipInRtl:r?.flipInRtl}),c={...s,className:k(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},$u=Qu(`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`]),ed=Qu(`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}),td=Qu(`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`]),nd=Qu(`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=Qu(`CircleFilled`,`1em`,[`M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z`]),id=Qu(`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`]),ad=Qu(`DocumentCopyRegular`,`1em`,[`M6 4c0-1.1.9-2 2-2h3.59c.4 0 .78.16 1.06.44l3.91 3.91c.28.28.44.67.44 1.06V14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8h-3.5A1.5 1.5 0 0 1 11 6.5V3H8Zm4 .2v3.3c0 .28.22.5.5.5h3.3L12 3.2ZM4 5a1 1 0 0 1 1-1v10a3 3 0 0 0 3 3h7a1 1 0 0 1-1 1H7.94A3.94 3.94 0 0 1 4 14.06V5Z`]),od=Qu(`SaveRegular`,`1em`,[`M3 5c0-1.1.9-2 2-2h8.38a2 2 0 0 1 1.41.59l1.62 1.62A2 2 0 0 1 17 6.62V15a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm2-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1v-4.5c0-.83.67-1.5 1.5-1.5h7c.83 0 1.5.67 1.5 1.5V16a1 1 0 0 0 1-1V6.62a1 1 0 0 0-.3-.7L14.1 4.28a1 1 0 0 0-.71-.29H13v2.5c0 .83-.67 1.5-1.5 1.5h-4A1.5 1.5 0 0 1 6 6.5V4H5Zm2 0v2.5c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5V4H7Zm7 12v-4.5a.5.5 0 0 0-.5-.5h-7a.5.5 0 0 0-.5.5V16h8Z`]),sd=Qu(`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`]),cd=Qu(`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`]),ld=Qu(`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`]),ud=Qu(`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`]),dd=Qu(`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`]),fd={root:`fui-Button`,icon:`fui-Button__icon`};`${Q.strokeWidthThin}`;var pd=Kr(`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;}}`]}),md=Kr(`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);}`]),hd=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)`}]]}),gd=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)`}]]}),_d=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;}}`]}),vd=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;}`]}),yd=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);}`]}),bd=e=>{"use no memo";let t=pd(),n=md(),r=hd(),i=gd(),a=_d(),o=vd(),s=yd(),{appearance:c,disabled:l,disabledFocusable:u,icon:d,iconOnly:f,iconPosition:p,shape:m,size:h}=e;return e.root.className=k(fd.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=k(fd.icon,n,!!e.root.children&&s[p],s[h],e.icon.className)),e},xd=_.forwardRef((e,t)=>{let n=Ju(e,t);return bd(n),Ki(`useButtonStyles_unstable`)(n),Su(n)});xd.displayName=`Button`;var Sd=p(),Cd=e=>t=>{let n=_.useRef(t.value),r=_.useRef(0),i=_.useRef(null);return i.current||={value:n,version:r,listeners:[]},ia(()=>{n.current=t.value,r.current+=1,(0,Sd.unstable_runWithPriority)(Sd.unstable_NormalPriority,()=>{i.current.listeners.forEach(e=>{e([r.current,t.value])})})},[t.value]),_.createElement(e,{value:i.current},t.children)},wd=e=>{let t=_.createContext({value:{current:e},version:{current:-1},listeners:[]});return t.Provider=Cd(t.Provider),delete t.Consumer,t},Td=(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=V(c);return ia(()=>(i.push(l),()=>{let e=i.indexOf(l);i.splice(e,1)}),[l,i]),o[1]};function Ed(e){let t=_.useContext(e);return t.version?t.version.current!==-1:!1}var Dd={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>void 0},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Od=wd(void 0),kd=e=>Td(Od,(t=Dd)=>e(t));Od.Provider;function Ad(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 jd=(e,t)=>{let{children:n,disabled:r,text:i,value:a}=e,o=_.useRef(null),s=Ad(i,n),c=a??s,l=ca(`fluent-option`,e.id),u=_.useMemo(()=>({id:l,disabled:r,text:s,value:c}),[l,r,s,c]),{controller:d}=Nu(),f=kd(e=>e.multiselect),p=kd(e=>e.registerOption),m=kd(e=>{let t=e.selectedOptions;return c!==void 0&&t.find(e=>e===c)!==void 0}),h=kd(e=>e.selectOption),g=kd(e=>e.onOptionClick),v=_.createElement(td,null);f&&(v=m?_.createElement(cd,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(Oi(`div`,{ref:la(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}},Md=e=>Va(e.root,{children:[e.checkIcon&&U(e.checkIcon,{}),e.root.children]}),Nd={root:`fui-Option`,checkIcon:`fui-Option__checkIcon`},Pd=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)`}]]}),Fd=e=>{"use no memo";let{disabled:t,multiselect:n,selected:r}=e,i=Pd();return e.root.className=k(Nd.root,i.root,i.active,t&&i.disabled,r&&i.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=k(Nd.checkIcon,i.checkIcon,n&&i.multiselectCheck,r&&i.selectedCheck,r&&n&&i.selectedMultiselectCheck,t&&i.checkDisabled,t&&n&&i.multiselectCheckDisabled,e.checkIcon.className)),e},Id=_.forwardRef((e,t)=>{let n=jd(e,t);return Fd(n),Ki(`useOptionStyles_unstable`)(n),Md(n)});Id.displayName=`Option`;var Ld=_.createContext(void 0);Ld.Provider;var Rd=()=>_.useContext(Ld);function zd(e,t){return Bd(Rd(),e,t)}function Bd(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 Vd=()=>{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}},Hd=e=>{let{defaultSelectedOptions:t,multiselect:n,onOptionSelect:r}=e,[i,a]=Zi({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}},Ud=l(h()),Wd=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=Vd(),{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),te=aa(),[ne,E]=Zi({state:e.value,initialState:void 0}),{selectedOptions:D,selectOption:re,clearSelection:ie}=Hd(e),ae=_.useCallback((e,t)=>{Ud.unstable_batchedUpdates(()=>{E(void 0),re(e,t)})},[E,re]),oe=_.useMemo(()=>{if(ne!==void 0)return ne;if(te&&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]},[ne,a,g,c,D]),[se,ce]=Zi({state:e.open,defaultState:e.defaultOpen,initialState:!1}),le=_.useCallback((e,t)=>{p||(l?.(e,{open:t}),Ud.unstable_batchedUpdates(()=>{!t&&!f&&E(void 0),ce(t)}))},[l,ce,E,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=V(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:E,size:u,value:oe,multiselect:c,onOptionClick:V(e=>{c||le(e,!1)}),onActiveDescendantChange:ue}},Gd=`data-popper-is-intersecting`,Kd=`data-popper-escaped`,qd=`data-popper-reference-hidden`,Jd=`data-popper-placement`,Yd=`fui-positioningend`,Xd=[`top`,`right`,`bottom`,`left`],Zd=Math.min,Qd=Math.max,$d=Math.round,ef=e=>({x:e,y:e}),tf={left:`right`,right:`left`,bottom:`top`,top:`bottom`},nf={start:`end`,end:`start`};function rf(e,t,n){return Qd(e,Zd(t,n))}function af(e,t){return typeof e==`function`?e(t):e}function of(e){return e.split(`-`)[0]}function sf(e){return e.split(`-`)[1]}function cf(e){return e===`x`?`y`:`x`}function lf(e){return e===`y`?`height`:`width`}var uf=new Set([`top`,`bottom`]);function df(e){return uf.has(of(e))?`y`:`x`}function ff(e){return cf(df(e))}function pf(e,t,n){n===void 0&&(n=!1);let r=sf(e),i=ff(e),a=lf(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Sf(o)),[o,Sf(o)]}function mf(e){let t=Sf(e);return[hf(e),t,hf(t)]}function hf(e){return e.replace(/start|end/g,e=>nf[e])}var gf=[`left`,`right`],_f=[`right`,`left`],vf=[`top`,`bottom`],yf=[`bottom`,`top`];function bf(e,t,n){switch(e){case`top`:case`bottom`:return n?t?_f:gf:t?gf:_f;case`left`:case`right`:return t?vf:yf;default:return[]}}function xf(e,t,n,r){let i=sf(e),a=bf(of(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(hf)))),a}function Sf(e){return e.replace(/left|right|bottom|top/g,e=>tf[e])}function Cf(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}:Cf(e)}function Tf(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 Ef(e,t,n){let{reference:r,floating:i}=e,a=df(t),o=ff(t),s=lf(o),c=of(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(sf(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var Df=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}=Ef(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}=Ef(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function Of(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}=af(t,e),p=wf(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Tf(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=Tf(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 kf=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}=af(e,t)||{};if(l==null)return{};let d=wf(u),f={x:n,y:r},p=ff(i),m=lf(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=Zd(d[_],T),te=Zd(d[v],T),ne=ee,E=C-h[m]-te,D=C/2-h[m]/2+w,re=rf(ne,D,E),ie=!c.arrow&&sf(i)!=null&&D!==re&&a.reference[m]/2-(D<ne?ee:te)-h[m]/2<0,ae=ie?D<ne?D-ne:D-E:0;return{[p]:f[p]+ae,data:{[p]:re,centerOffset:D-re-ae,...ie&&{alignmentOffset:ae}},reset:ie}}}),Af=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}=af(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=of(r),_=df(o),v=of(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Sf(o)]:mf(o)),x=p!==`none`;!d&&x&&b.push(...xf(o,m,p,y));let S=[o,...b],C=await Of(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=pf(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`&&_!==df(t))||T.every(e=>df(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=df(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 jf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Mf(e){return Xd.some(t=>e[t]>=0)}var Nf=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=af(e,t);switch(r){case`referenceHidden`:{let e=jf(await Of(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Mf(e)}}}case`escaped`:{let e=jf(await Of(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Mf(e)}}}default:return{}}}}},Pf=new Set([`left`,`top`]);async function Ff(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=of(n),s=sf(n),c=df(n)===`y`,l=Pf.has(o)?-1:1,u=a&&c?-1:1,d=af(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 If=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 Ff(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}}}}},Lf=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}=af(e,t),l={x:n,y:r},u=await Of(t,c),d=df(of(i)),f=cf(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=rf(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=rf(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}}}}}},Rf=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}=af(e,t),u={x:n,y:r},d=df(i),f=cf(d),p=u[f],m=u[d],h=af(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=Pf.has(of(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}}}},zf=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}=af(e,t),u=await Of(t,l),d=of(i),f=sf(i),p=df(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=Zd(h-u[g],v),x=Zd(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=Qd(u.left,0),t=Qd(u.right,0),n=Qd(u.top,0),r=Qd(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:Qd(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:Qd(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 Bf(){return typeof window<`u`}function Vf(e){return Wf(e)?(e.nodeName||``).toLowerCase():`#document`}function Hf(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Uf(e){return((Wf(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Wf(e){return Bf()?e instanceof Node||e instanceof Hf(e).Node:!1}function Gf(e){return Bf()?e instanceof Element||e instanceof Hf(e).Element:!1}function Kf(e){return Bf()?e instanceof HTMLElement||e instanceof Hf(e).HTMLElement:!1}function qf(e){return!Bf()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Hf(e).ShadowRoot}var Jf=new Set([`inline`,`contents`]);function Yf(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=cp(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Jf.has(i)}var Xf=new Set([`table`,`td`,`th`]);function Zf(e){return Xf.has(Vf(e))}var Qf=[`:popover-open`,`:modal`];function $f(e){return Qf.some(t=>{try{return e.matches(t)}catch{return!1}})}var ep=[`transform`,`translate`,`scale`,`rotate`,`perspective`],tp=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],np=[`paint`,`layout`,`strict`,`content`];function rp(e){let t=ap(),n=Gf(e)?cp(e):e;return ep.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)||tp.some(e=>(n.willChange||``).includes(e))||np.some(e=>(n.contain||``).includes(e))}function ip(e){let t=up(e);for(;Kf(t)&&!sp(t);){if(rp(t))return t;if($f(t))return null;t=up(t)}return null}function ap(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var op=new Set([`html`,`body`,`#document`]);function sp(e){return op.has(Vf(e))}function cp(e){return Hf(e).getComputedStyle(e)}function lp(e){return Gf(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function up(e){if(Vf(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||qf(e)&&e.host||Uf(e);return qf(t)?t.host:t}function dp(e){let t=up(e);return sp(t)?e.ownerDocument?e.ownerDocument.body:e.body:Kf(t)&&Yf(t)?t:dp(t)}function fp(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=dp(e),i=r===e.ownerDocument?.body,a=Hf(r);if(i){let e=pp(a);return t.concat(a,a.visualViewport||[],Yf(r)?r:[],e&&n?fp(e):[])}return t.concat(r,fp(r,[],n))}function pp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function mp(e){let t=cp(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Kf(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=$d(n)!==a||$d(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function hp(e){return Gf(e)?e:e.contextElement}function gp(e){let t=hp(e);if(!Kf(t))return ef(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=mp(t),o=(a?$d(n.width):n.width)/r,s=(a?$d(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var _p=ef(0);function vp(e){let t=Hf(e);return!ap()||!t.visualViewport?_p:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function yp(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Hf(e)?!1:t}function bp(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=hp(e),o=ef(1);t&&(r?Gf(r)&&(o=gp(r)):o=gp(e));let s=yp(a,n,r)?vp(a):ef(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=Hf(a),t=r&&Gf(r)?Hf(r):r,n=e,i=pp(n);for(;i&&r&&t!==n;){let e=gp(i),t=i.getBoundingClientRect(),r=cp(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=Hf(i),i=pp(n)}}return Tf({width:u,height:d,x:c,y:l})}function xp(e,t){let n=lp(e).scrollLeft;return t?t.left+n:bp(Uf(e)).left+n}function Sp(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-xp(e,n),y:n.top+t.scrollTop}}function Cp(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Uf(r),s=t?$f(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=ef(1),u=ef(0),d=Kf(r);if((d||!d&&!a)&&((Vf(r)!==`body`||Yf(o))&&(c=lp(r)),Kf(r))){let e=bp(r);l=gp(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Sp(o,c):ef(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 Tp(e){let t=Uf(e),n=lp(e),r=e.ownerDocument.body,i=Qd(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Qd(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+xp(e),s=-n.scrollTop;return cp(r).direction===`rtl`&&(o+=Qd(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Ep=25;function Dp(e,t){let n=Hf(e),r=Uf(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=ap();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=xp(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<=Ep&&(a-=o)}else l<=Ep&&(a+=l);return{width:a,height:o,x:s,y:c}}var Op=new Set([`absolute`,`fixed`]);function kp(e,t){let n=bp(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Kf(e)?gp(e):ef(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Ap(e,t,n){let r;if(t===`viewport`)r=Dp(e,n);else if(t===`document`)r=Tp(Uf(e));else if(Gf(t))r=kp(t,n);else{let n=vp(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Tf(r)}function jp(e,t){let n=up(e);return n===t||!Gf(n)||sp(n)?!1:cp(n).position===`fixed`||jp(n,t)}function Mp(e,t){let n=t.get(e);if(n)return n;let r=fp(e,[],!1).filter(e=>Gf(e)&&Vf(e)!==`body`),i=null,a=cp(e).position===`fixed`,o=a?up(e):e;for(;Gf(o)&&!sp(o);){let t=cp(o),n=rp(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&Op.has(i.position)||Yf(o)&&!n&&jp(e,o))?r=r.filter(e=>e!==o):i=t,o=up(o)}return t.set(e,r),r}function Np(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?$f(t)?[]:Mp(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=Ap(t,n,i);return e.top=Qd(r.top,e.top),e.right=Zd(r.right,e.right),e.bottom=Zd(r.bottom,e.bottom),e.left=Qd(r.left,e.left),e},Ap(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Pp(e){let{width:t,height:n}=mp(e);return{width:t,height:n}}function Fp(e,t,n){let r=Kf(t),i=Uf(t),a=n===`fixed`,o=bp(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=ef(0);function l(){c.x=xp(i)}if(r||!r&&!a)if((Vf(t)!==`body`||Yf(i))&&(s=lp(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?Sp(i,s):ef(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 Ip(e){return cp(e).position===`static`}function Lp(e,t){if(!Kf(e)||cp(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Uf(e)===n&&(n=n.ownerDocument.body),n}function Rp(e,t){let n=Hf(e);if($f(e))return n;if(!Kf(e)){let t=up(e);for(;t&&!sp(t);){if(Gf(t)&&!Ip(t))return t;t=up(t)}return n}let r=Lp(e,t);for(;r&&Zf(r)&&Ip(r);)r=Lp(r,t);return r&&sp(r)&&Ip(r)&&!rp(r)?n:r||ip(e)||n}var zp=async function(e){let t=this.getOffsetParent||Rp,n=this.getDimensions,r=await n(e.floating);return{reference:Fp(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Bp(e){return cp(e).direction===`rtl`}var Vp={convertOffsetParentRelativeRectToViewportRelativeRect:Cp,getDocumentElement:Uf,getClippingRect:Np,getOffsetParent:Rp,getElementRects:zp,getClientRects:wp,getDimensions:Pp,getScale:gp,isElement:Gf,isRTL:Bp},Hp=Of,Up=If,Wp=Lf,Gp=Af,Kp=zf,qp=Nf,Jp=kf,Yp=Rf,Xp=(e,t,n)=>{let r=new Map,i={platform:Vp,...n},a={...i.platform,_c:r};return Df(e,t,{...i,platform:a})};function Zp(e){let t=e.split(`-`);return{side:t[0],alignment:t[1]}}var Qp=e=>e.nodeName===`HTML`?e:e.parentNode||e.host,$p=e=>{if(e.nodeType!==1)return{};let t=e.ownerDocument?.defaultView;return t?t.getComputedStyle(e,null):{}},em=e=>{let t=e&&Qp(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}=$p(t);return/(auto|scroll|overlay)/.test(n+i+r)?t:em(t)},tm=e=>{let t=em(e);return t?t!==t.ownerDocument?.body:!1};function nm(e,t){if(t===`window`)return e?.ownerDocument.documentElement;if(t===`clippingParents`)return`clippingAncestors`;if(t===`scrollParent`){let t=em(e);return t.nodeName===`BODY`&&(t=e?.ownerDocument.documentElement),t}return t}function rm(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 im=e=>({above:`top`,below:`bottom`,before:e?`right`:`left`,after:e?`left`:`right`}),am=()=>({start:`start`,end:`end`,top:`start`,bottom:`end`,center:void 0}),om=(e,t)=>{let n=e===`above`||e===`below`,r=t===`top`||t===`bottom`;return n&&r||!n&&!r},sm=(e,t,n)=>{let r=om(t,e)?`center`:e,i=t&&im(n)[t],a=r&&am()[r];return i&&a?`${i}-${a}`:i},cm={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 lm(e){return e==null?{}:typeof e==`string`?cm[e]:e}function um(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 ia(()=>{r.current=!1},[]),i.callback=t,i.facade}function dm(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 pm(e){let{container:t,placement:n,middlewareData:r,strategy:i,lowPPI:a,coordinates:o,useTransform:s=!0}=e;if(!t)return;t.setAttribute(Jd,n),t.removeAttribute(Gd),r.intersectionObserver.intersecting&&t.setAttribute(Gd,``),t.removeAttribute(Kd),r.hide?.escaped&&t.setAttribute(Kd,``),t.removeAttribute(qd),r.hide?.referenceHidden&&t.setAttribute(qd,``);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 mm=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 hm(e){let t=[],n=e;for(;n;){let r=em(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 gm(e,t){return new e.ResizeObserver(t)}function _m(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:gm(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&&=(hm(n).forEach(e=>p.add(e)),ya(r)&&hm(r).forEach(e=>p.add(e)),p.forEach(e=>{e.addEventListener(`scroll`,h,{passive:!0})}),d?.observe(n),ya(r)&&d?.observe(r),!1),Object.assign(n.style,{position:a}),Xp(r,n,{placement:s,middleware:o,strategy:a}).then(({x:e,y:r,middlewareData:o,placement:s})=>{t||(fm({arrow:i,middlewareData:o}),pm({container:n,middlewareData:o,placement:s,coordinates:{x:e,y:r},lowPPI:(u?.devicePixelRatio||1)<=1,strategy:a,useTransform:c}),n.dispatchEvent(new CustomEvent(Yd)))}).catch(e=>{}))},h=dm(()=>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=Zp(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 ym(e){let{hasScrollableElement:t,flipBoundary:n,container:r,fallbackPositions:i=[],isRtl:a}=e,o=i.reduce((e,t)=>{let{position:n,align:r}=lm(t),i=sm(r,n,a);return i&&e.push(i),e},[]);return Gp({...t&&{boundary:`clippingAncestors`},...n&&{altBoundary:!0,boundary:nm(r,n)},fallbackStrategy:`bestFit`,...o.length&&{fallbackPlacements:o}})}function bm(){return{name:`intersectionObserver`,fn:async e=>{let t=e.rects.floating,n=await Hp(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 xm=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 Sm(e,t){let{container:n,overflowBoundary:r,overflowBoundaryPadding:i,isRtl:a}=t;return Kp({...i&&{padding:rm(i,a)},...r&&{altBoundary:!0,boundary:nm(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)}})}var Cm=()=>({top:`above`,bottom:`below`,right:`after`,left:`before`}),wm=e=>e===`above`||e===`below`?{start:`start`,end:`end`}:{start:`top`,end:`bottom`},Tm=e=>{let{side:t,alignment:n}=Zp(e),r=Cm()[t];return{position:r,alignment:n&&wm(r)[n]}};function Em(e){return!e||typeof e==`number`||typeof e==`object`?e:({rects:{floating:t,reference:n},placement:r})=>{let{position:i,alignment:a}=Tm(r);return e({positionedRect:t,targetRect:n,position:i,alignment:a})}}function Dm(e){return Up(Em(e))}function Om(e){let{hasScrollableElement:t,shiftToCoverTarget:n,disableTether:r,overflowBoundary:i,container:a,overflowBoundaryPadding:o,isRtl:s}=e;return Wp({...t&&{boundary:`clippingAncestors`},...n&&{crossAxis:!0,limiter:Yp({crossAxis:!0,mainAxis:!1})},...r&&{crossAxis:r===`all`,limiter:Yp({crossAxis:r!==`all`,mainAxis:!1})},...o&&{padding:rm(o,s)},...i&&{altBoundary:!0,boundary:nm(a,i)}})}var km=`--fui-match-target-size`;function Am(){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(km,`${a}px`),r.style.width||(r.style.width=`var(${km})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}var jm=({options:e})=>e,Mm=_.createContext(void 0);Mm.Provider;var Nm=()=>_.useContext(Mm)??jm;function Pm(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 Fm(e){let{dir:t,targetDocument:n}=R(),r=t===`rtl`,i=Pm(Nm(),e),{positionFixed:a}=e;return _.useCallback((e,t)=>{let n=tm(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=mm(o),w=[C&&xm(C),c&&Am(),l&&Dm(l),u&&vm(),!h&&ym({container:e,flipBoundary:d,hasScrollableElement:n,isRtl:r,fallbackPositions:b}),Om({container:e,hasScrollableElement:n,overflowBoundary:f,disableTether:S,overflowBoundaryPadding:m,isRtl:r,shiftToCoverTarget:x}),C&&Sm(C,{container:e,overflowBoundary:f,overflowBoundaryPadding:m,isRtl:r}),bm(),t&&Jp({element:t,padding:_}),qp({strategy:`referenceHidden`}),qp({strategy:`escaped`}),!1].filter(Boolean);return{placement:sm(y,g,r),middleware:w,strategy:v??a?`fixed`:`absolute`,disableUpdateOnResize:s,useTransform:p}},[i,r,n,a])}function Im(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=Fm(e),c=_.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;let e=r.current??n.current;o&&ea()&&e&&i.current&&(t.current=_m({container:i.current,target:e,arrow:a.current,...s(i.current,a.current)}))},[o,s]),l=V(e=>{r.current=e,c()});_.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>t.current?.updatePosition(),setTarget:t=>{e.target,l(t)}}),[e.target,l]),ia(()=>{l(e.target??null)},[e.target,l]),ia(()=>{c()},[c]);let u=um(null,e=>{n.current!==e&&(n.current=e,c())}),d=V(()=>e.onPositioningEnd?.call(e));return{targetRef:u,containerRef:um(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:um(null,e=>{a.current!==e&&(a.current=e,c())})}}function Lm(e){let{positioning:t}=e,{targetRef:n,containerRef:r}=Im({position:`below`,align:`start`,offset:{crossAxis:0,mainAxis:2},fallbackPositions:[`above`,`after`,`after-top`,`before`,`before-top`],matchTargetSize:`width`,autoSize:!0,...lm(t)});return[r,n]}function Rm(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 zm={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},Bm=(e,t)=>{"use no memo";let{multiselect:n,disableAutoFocus:r=!1}=e,i=Vd(),{listboxRef:a,activeParentRef:o,controller:s}=Wu({matchOption:e=>e.classList.contains(Nd.root)}),c=Ed(Od),l=kd(e=>e.onActiveDescendantChange),u=kd(e=>e.getOptionById),d=kd(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);Dc(g);let v=Nu(),y=Pu(),b=y?v.controller:s,{clearSelection:x,selectedOptions:S,selectOption:C}=Hd(e),w=e=>{let t=Rm(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=kd(e=>e.selectedOptions),ee=kd(e=>e.selectOption),te=c?{selectedOptions:T,selectOption:ee,...zm}:{selectedOptions:S,selectOption:C,...zm};_.useEffect(()=>{if(!y){if(b.hideFocusVisibleAttributes(),!r)if(!n&&te.selectedOptions.length>0){let e=p(e=>e===te.selectedOptions[0]).pop();e?.id&&b.focus(e.id)}else b.first();return()=>{b.blur()}}},[]);let ne=_.useCallback(()=>{y||(b.showFocusVisibleAttributes(),h&&b.scrollActiveIntoView())},[b,y,h]),E=_.useCallback(()=>{y||b.hideFocusVisibleAttributes()},[b,y]),D={components:{root:`div`},root:P(Oi(`div`,{ref:la(t,o,a,m),role:n?`menu`:`listbox`,tabIndex:0,...e}),{elementType:`div`}),standalone:!c,multiselect:n,clearSelection:x,activeDescendantController:b,onActiveDescendantChange:l,...i,...te};return D.root.onKeyDown=V(va(D.root.onKeyDown,w)),D.root.onFocus=V(va(D.root.onFocus,ne)),D.root.onBlur=V(va(D.root.onBlur,E)),D},Vm=(e,t)=>U(Mu,{value:t.activeDescendant,children:U(Od.Provider,{value:t.listbox,children:U(e.root,{})})}),Hm={root:`fui-Listbox`},Um=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);}`]}),Wm=e=>{"use no memo";let t=Um();return e.root.className=k(Hm.root,t.root,e.root.className),e};function Gm(e){let t=Ed(Od),{getOptionById:n,getOptionsMatchingValue:r,multiselect:i,registerOption:a,selectedOptions:o,selectOption:s,activeDescendantController:c}=e,l=kd(e=>e.registerOption),u=kd(e=>e.onOptionClick),d=kd(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])}}var Km=_.forwardRef((e,t)=>{let n=Bm(e,t),r=Gm(n);return Wm(n),Ki(`useListboxStyles_unstable`)(n),Vm(n,r)});Km.displayName=`Listbox`;function qm(e,t,n){let{state:{multiselect:r},triggerRef:i,defaultProps:a}=n,o=ca(`fluent-listbox`,Qr(e)?e.id:void 0),s=F(e,{renderByDefault:!0,elementType:Km,defaultProps:{id:o,multiselect:r,tabIndex:void 0,...a}}),c=zd({id:o},{supportsLabelFor:!0});s&&!s[`aria-label`]&&!s[`aria-labelledby`]&&c[`aria-labelledby`]&&(s[`aria-labelledby`]=c[`aria-labelledby`]);let l=V(va(e=>{e.preventDefault()},s?.onMouseDown)),u=V(va(e=>{var t;e.preventDefault(),(t=i.current)==null||t.focus()},s?.onClick)),d=la(s?.ref,t);return s&&(s.ref=d,s.onMouseDown=l,s.onClick=u),s}function Jm(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=la(_.useRef(null),l.ref,t),l.onBlur=va(e=>{i(e,!1),a(!1)},l.onBlur),l.onFocus=va(e=>{e.target===e.currentTarget&&a(!0)},l.onFocus),l.onClick=va(e=>{i(e,!r)},l.onClick),l.onKeyDown=va(Ym({activeDescendantController:c,...n.state}),l.onKeyDown),l}function Ym(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=jc();return V(e=>{let t=Rm(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 Xm(e,t,n){"use no memo";let{state:{open:r,setOpen:i,getOptionById:a},defaultProps:o,activeDescendantController:s}=n,c=_.useRef(``),[l,u]=_a(),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})||Zm(c.current)&&d(e=>e.toLocaleLowerCase().indexOf(c.current[0])===0,{startFromNext:!0})||s.blur()},p=e=>{u(),Rm(e)===`Type`&&(c.current+=e.key.toLowerCase(),l(()=>{c.current=``},500),r&&f(),!r&&i(e,!0))},m=Jm(e,t,{state:n.state,defaultProps:o,elementType:`button`,activeDescendantController:s});return m.onKeyDown=va(p,m.onKeyDown),m}function Zm(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}var Qm=(e,t)=>{"use no memo";e=zd(e,{supportsLabelFor:!0,supportsSize:!0});let{listboxRef:n,activeParentRef:r,controller:i}=Wu({matchOption:e=>e.classList.contains(Nd.root)}),a=Wd({...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}=Di({props:e,primarySlotTagName:`button`,excludedPropNames:[`children`]}),[g,v]=Lm(e),y=_.useRef(null),b=qm(e.listbox,la(g,n),{state:a,triggerRef:y,defaultProps:{children:e.children}}),{targetDocument:x}=R();da({element:x,callback:e=>p(e,!1),refs:[y,g,v],disabled:!d});let S=Xm(e.button??{},la(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=la(C.ref,v);let w=f.length>0&&!c&&o&&!u,T={components:{root:`div`,button:`button`,clearButton:`button`,expandIcon:`span`,listbox:Km},root:C,button:S,listbox:d||l?b:void 0,clearButton:F(e.clearButton,{defaultProps:{"aria-label":`Clear selection`,children:_.createElement(id,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=V(va(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};function $m(e){return ya(e)?{element:e}:typeof e==`object`?e===null?{element:null}:e:{}}var eh=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;}`]}),th=_.useInsertionEffect,nh=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},rh=()=>{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}},ih=th?e=>{"use no memo";let{className:t,dir:n,focusVisibleRef:r,targetNode:i}=e,[a]=_.useState(rh),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 th(()=>{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}:nh,ah=e=>{"use no memo";let{targetDocument:t,dir:n}=R(),r=Ji(),i=bc(),a=eh(),o=Fi();return ih({dir:n,disabled:e.disabled,focusVisibleRef:i,className:k(o,a.root,e.className),targetNode:r??t?.body})},oh=e=>{let{element:t,className:n}=$m(e.mountNode),r=_.useRef(null),i=ah({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 ka(a,e),()=>{ka(a,void 0)}},[r,a]),o},sh=e=>_.createElement(`span`,{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Ud.createPortal(_.createElement(_.Fragment,null,e.children,_.createElement(`span`,{hidden:!0})),e.mountNode)),ch=e=>sh(oh(e));ch.displayName=`Portal`;var lh=wd({activeOption:void 0,appearance:`outline`,focusVisible:!1,open:!1,registerOption(){return()=>void 0},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:`medium`});lh.Provider;var uh=(e,t)=>U(e.root,{children:U(Mu,{value:t.activeDescendant,children:U(Od.Provider,{value:t.listbox,children:Va(lh.Provider,{value:t.combobox,children:[Va(e.button,{children:[e.button.children,e.expandIcon&&U(e.expandIcon,{})]}),e.clearButton&&U(e.clearButton,{}),e.listbox&&(e.inlinePopup?U(e.listbox,{}):U(ch,{mountNode:e.mountNode,children:U(e.listbox,{})}))]})})})}),dh={root:`fui-Dropdown`,button:`fui-Dropdown__button`,clearButton:`fui-Dropdown__clearButton`,expandIcon:`fui-Dropdown__expandIcon`,listbox:`fui-Dropdown__listbox`},fh=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);}`]}),ph=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);}`]}),mh=Kr(`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;}}`]}),hh=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=fh(),l=ph(),u=mh();return e.root.className=k(dh.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=k(dh.button,c.button,c[a],r&&c.placeholder,s&&c.disabledText,e.button.className),e.listbox&&(e.listbox.className=k(dh.listbox,c.listbox,e.inlinePopup&&c.inlineListbox,!n&&c.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=k(dh.expandIcon,l.icon,l[a],s&&l.disabled,i&&c.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=k(dh.clearButton,u,l.icon,l[a],s&&l.disabled,!i&&c.hidden,e.clearButton.className)),e};function gh(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}}var _h=_.forwardRef((e,t)=>{let n=Qm(e,t),r=gh(n);return hh(n),Ki(`useDropdownStyles_unstable`)(n),uh(n,r)});_h.displayName=`Dropdown`;var vh=(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(Oi(`label`,{ref:t,...e}),{elementType:`label`})}},yh=e=>Va(e.root,{children:[e.root.children,e.required&&U(e.required,{})]}),bh={root:`fui-Label`,required:`fui-Label__required`},xh=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)`}]]}),Sh=e=>{"use no memo";let t=xh();return e.root.className=k(bh.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight===`semibold`&&t.semibold,e.root.className),e.required&&(e.required.className=k(bh.required,t.required,e.disabled&&t.disabled,e.required.className)),e},Ch=_.forwardRef((e,t)=>{let n=vh(e,t);return Sh(n),Ki(`useLabelStyles_unstable`)(n),yh(n)});Ch.displayName=`Label`;var wh=_.createContext(void 0),Th={};wh.Provider;var Eh=()=>_.useContext(wh)??Th,Dh=(e,t)=>{let{size:n}=Eh(),{appearance:r=`primary`,labelPosition:i=`after`,size:a=n??`medium`,delay:o=0}=e,s=ca(`spinner`),{role:c=`progressbar`,...l}=e,u=P(Oi(`div`,{ref:t,role:c,...l},[`size`]),{elementType:`div`}),[d,f]=_.useState(!1),[p,m]=_a();_.useEffect(()=>{if(!(o<=0))return p(()=>{f(!0)},o),()=>{m()}},[p,m,o]);let h=F(e.label,{defaultProps:{id:s},renderByDefault:!1,elementType:Ch}),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:Ch},root:u,spinner:g,spinnerTail:P(e.spinnerTail,{elementType:`span`}),label:h}},Oh=e=>{let{labelPosition:t,shouldRenderSpinner:n}=e;return Va(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,{})]})},kh={root:`fui-Spinner`,spinner:`fui-Spinner__spinner`,spinnerTail:`fui-Spinner__spinnerTail`,label:`fui-Spinner__label`},Ah=Kr(`rpp59a7`,null,[`.rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}`]),jh=N({vertical:{Beiy3e4:`f1vx9l62`}},{d:[`.f1vx9l62{flex-direction:column;}`]}),Mh=Kr(`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;}}`]}),Nh=Kr(`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;}}`]}),Ph=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)`}]]}),Fh=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);}`]}),Ih=e=>{"use no memo";let{labelPosition:t,size:n,appearance:r}=e,{dir:i}=R(),a=Ah(),o=jh(),s=Mh(),c=Ph(),l=Nh(),u=Fh();return e.root.className=k(kh.root,a,(t===`above`||t===`below`)&&o.vertical,e.root.className),e.spinner&&(e.spinner.className=k(kh.spinner,s,c[n],r===`inverted`&&c.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=k(kh.spinnerTail,l,i===`rtl`&&c.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=k(kh.label,u[n],r===`inverted`&&u.inverted,e.label.className)),e},Lh=_.forwardRef((e,t)=>{let n=Dh(e,t);return Ih(n),Ki(`useSpinnerStyles_unstable`)(n),Oh(n)});Lh.displayName=`Spinner`;var Rh=(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(Oi(`span`,{ref:t,...e}),{elementType:`span`})}},zh=e=>U(e.root,{}),Bh={root:`fui-Text`},Vh=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;}`]}),Hh=e=>{"use no memo";let t=Vh();return e.root.className=k(Bh.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},Uh=_.forwardRef((e,t)=>{let n=Rh(e,t);return Hh(n),Ki(`useTextStyles_unstable`)(n),zh(n)});Uh.displayName=`Text`;function Wh(e){let{useStyles:t,className:n,displayName:r}=e,i=_.forwardRef((e,r)=>{"use no memo";let i=t(),a=Rh(e,r);return Hh(a),a.root.className=k(n,a.root.className,i.root,e.className),zh(a)});return i.displayName=r,i}var Gh=Wh({useStyles:N({root:{Bahqtrf:`fk6fouc`,Be2twd7:`fojgt09`,Bhrd7zp:`fl43uef`,Bg96gwp:`fcen8rp`}},{d:[`.fk6fouc{font-family:var(--fontFamilyBase);}`,`.fojgt09{font-size:var(--fontSizeHero700);}`,`.fl43uef{font-weight:var(--fontWeightSemibold);}`,`.fcen8rp{line-height:var(--lineHeightHero700);}`]}),className:{root:`fui-Title2`}.root,displayName:`Title2`}),Kh=Wh({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`}),qh=()=>void 0,Jh={allRowsSelected:!1,clearRows:qh,deselectRow:qh,isRowSelected:()=>!1,selectRow:qh,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:qh,toggleRow:qh,selectionMode:`multiselect`};function Yh(e){"use no memo";return t=>Xh(t,e)}function Xh(e,t){let{items:n,getRowId:r}=e,{selectionMode:i,defaultSelectedItems:a,selectedItems:o,onSelectionChange:s}=t,[c,l]=Oa({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=V(e=>{l.toggleAllItems(e,n.map((e,t)=>r?.(e)??t))}),m=V((e,t)=>l.toggleItem(e,t)),h=V((e,t)=>l.deselectItem(e,t)),g=V((e,t)=>l.selectItem(e,t)),v=e=>l.isSelected(e),y=V(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 Zh=()=>void 0,Qh={getSortDirection:()=>`ascending`,setColumnSort:Zh,sort:e=>[...e],sortColumn:void 0,sortDirection:`ascending`,toggleColumnSort:Zh};function $h(e){"use no memo";return t=>eg(t,e)}function eg(e,t){let{columns:n}=e,{sortState:r,defaultSortState:i,onSortChange:a=Zh}=t,[o,s]=Zi({initialState:{sortDirection:`ascending`,sortColumn:void 0},defaultState:i,state:r}),{sortColumn:c,sortDirection:l}=o,u=V(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 tg=(e,t)=>{let n=V(t=>{var n;(n=e.onClick)==null||n.call(e,t),t.stopPropagation()});return{components:{root:`div`},root:P(Oi(`div`,{ref:t,...e,onClick:n}),{elementType:`div`})}},ng=e=>U(e.root,{}),rg={root:`fui-TableResizeHandle`},ig=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;}`]}),ag=e=>{"use no memo";let t=ig();return e.root.className=k(rg.root,t.root,e.root.className),e},og=_.forwardRef((e,t)=>{let n=tg(e,t);return ag(n),Ki(`useTableResizeHandleStyles_unstable`)(n),ng(n)});og.displayName=`TableResizeHandle`;function sg(){let[e,t]=_.useState(0),n=_.useRef(void 0),r=_.useRef(null),{targetDocument:i}=R(),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=cg(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 cg(e,t){return e!=null&&e.defaultView?.ResizeObserver?new e.defaultView.ResizeObserver(t):null}function lg(e){let t=_.useRef(0),n=_.useRef(0),r=_.useRef(void 0),[i,a]=_.useState(!1),{targetDocument:o}=R(),{getColumnWidth:s,setColumnWidth:c}=e,l=_.useCallback(e=>{let{clientX:i}=Ca(e),a=i-t.current;n.current+=a,r.current&&c(e,{columnId:r.current,width:n.current}),t.current=i},[c]),[u]=B(),d=_.useCallback(e=>{u(()=>l(e))},[u,l]),f=_.useCallback(e=>{Sa(e)&&(o?.removeEventListener(`mouseup`,f),o?.removeEventListener(`mousemove`,d)),xa(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=Ca(i).clientX,r.current=e,Sa(i)){if(i.target!==i.currentTarget||i.button!==0)return;o?.addEventListener(`mouseup`,f),o?.addEventListener(`mousemove`,d),a(!0)}xa(i)&&(o?.addEventListener(`touchend`,f),o?.addEventListener(`touchmove`,d),a(!0))},[s,d,f,o]),dragging:i}}var ug=150,dg=100;function fg(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=ug,minWidth:s=dg,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 pg(e,t){return e.find(e=>e.columnId===t)}function mg(e,t){return e[t]}function hg(e){return e.reduce((e,t)=>e+t.width+t.padding,0)}function gg(e,t){return pg(e,t)?.width??0}function _g(e,t,n,r){let i=pg(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 vg(e,t){let n=e,r=hg(n);if(r<t){let e=t-r,i=0;for(;i<n.length&&e>0;){let t=mg(n,i);if(!t)break;let r=Math.min(t.idealWidth-t.width,e);if(n=_g(n,t.columnId,`width`,t.width+r),e-=r,i===n.length-1&&e!==0){let t=mg(n,i);t&&(n=_g(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=mg(n,i);if(!t){i--;continue}if(t.width>t.minWidth){let r=Math.min(t.width-t.minWidth,e);e-=r,n=_g(n,t.columnId,`width`,t.width-r)}i--}}return n}var yg=e=>(t,n)=>{switch(n.type){case`CONTAINER_WIDTH_UPDATED`:return{...t,containerWidth:n.containerWidth,columnWidthState:e?vg(t.columnWidthState,n.containerWidth):t.columnWidthState};case`COLUMNS_UPDATED`:let r=fg(n.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:n.columns,columnWidthState:e?vg(r,t.containerWidth):r};case`COLUMN_SIZING_OPTIONS_UPDATED`:let i=fg(t.columns,t.columnWidthState,n.columnSizingOptions);return{...t,columnSizingOptions:n.columnSizingOptions,columnWidthState:e?vg(i,t.containerWidth):i};case`SET_COLUMN_WIDTH`:let{columnId:a,width:o}=n,{containerWidth:s}=t,c=pg(t.columnWidthState,a),l=[...t.columnWidthState];return c?(l=_g(l,a,`width`,o),l=_g(l,a,`idealWidth`,o),e&&(l=vg(l,s)),{...t,columnWidthState:l}):t}};function bg(e,t,n={}){let{onColumnResize:r,columnSizingOptions:i,autoFitColumns:a=!0}=n,o=_.useMemo(()=>yg(a),[a]),[s,c]=_.useReducer(o,{columns:e,containerWidth:0,columnWidthState:fg(e,void 0,i),columnSizingOptions:i});ia(()=>{c({type:`CONTAINER_WIDTH_UPDATED`,containerWidth:t})},[t]),ia(()=>{c({type:`COLUMNS_UPDATED`,columns:e})},[e]),ia(()=>{c({type:`COLUMN_SIZING_OPTIONS_UPDATED`,columnSizingOptions:i})},[i]);let l=V((e,t)=>{let{width:n}=t,{columnId:i}=t,a=pg(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=>pg(s.columnWidthState,e),[s.columnWidthState]),getColumns:_.useCallback(()=>s.columnWidthState,[s.columnWidthState]),getColumnWidth:_.useCallback(e=>gg(s.columnWidthState,e),[s.columnWidthState]),setColumnWidth:l}}var xg=20,Sg=Cu,Cg=1/4;function wg(e){let[t,n]=_.useState(),r=_.useRef(void 0),{findPrevFocusable:i}=gc(),a=_.useRef(e);_.useEffect(()=>{a.current=e},[e]);let[o]=_.useState(()=>new Map),s=V(e=>{if(!t)return;let n=a.current.getColumnWidth(t),r=e.getModifierState(Sg),i=()=>{e.preventDefault(),e.stopPropagation()};switch(e.key){case Tu:i(),a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:n-(r?xg*Cg:xg)});return;case Eu:i(),a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:n+(r?xg*Cg:xg)});return;case` `:case wu:case Du: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=dc({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 Tg={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:``}),getTableCellProps:()=>({style:{},columnId:``}),enableKeyboardMode:()=>()=>null};function Eg(e){"use no memo";return t=>Og(t,{autoFitColumns:!0,...e})}function Dg(e,t){let n=e.width;return{width:n,minWidth:n,maxWidth:n,...t?{pointerEvents:`none`}:{}}}function Og(e,t={}){let{columns:n}=e,{width:r,measureElementRef:i}=sg(),a=bg(n,r+(t?.containerWidthOffset||0),t),o=lg(a),{toggleInteractiveMode:s,getKeyboardResizingProps:c}=wg(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(og,{onMouseDown:m(e),onTouchStart:m(e),...c(e,t?.width||0)});return t?{style:Dg(t,h),aside:r}:{}},[d,n,h,c,m,l]),getTableCellProps:_.useCallback(e=>{let t=d(e);return t?{style:Dg(t)}:{}},[d]),enableKeyboardMode:u}}}var kg=e=>e,Ag={selection:Jh,sort:Qh,getRows:()=>[],getRowId:()=>``,items:[],columns:[],columnSizing_unstable:Tg,tableRef:_.createRef()};function jg(e,t=[]){let{items:n,getRowId:r,columns:i}=e,a={getRowId:r,items:n,columns:i,getRows:_.useCallback((e=kg)=>n.map((t,n)=>e({item:t,rowId:r?.(t)??n})),[n,r]),selection:Jh,sort:Qh,columnSizing_unstable:Tg,tableRef:_.createRef()};return t.reduce((e,t)=>t(e),a)}var Mg=()=>0,Ng=()=>null,Pg=()=>null;function Fg(e){let{columnId:t,renderCell:n=Ng,renderHeaderCell:r=Pg,compare:i=Mg}=e;return{columnId:t,renderCell:n,renderHeaderCell:r,compare:i}}function Ig(){let e=fc({axis:`horizontal`}),t=fc({axis:`grid`}),n=mc({tabBehavior:`limited-trap-focus`}),{findFirstFocusable:r}=gc(),{targetDocument:i}=R(),a=Oc(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`&&ya(t)){var a;(a=r(t))==null||a.focus()}if(n===`row`)return;let o=(()=>{let e=ya(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 Io({action:go.Escape}));return}(e.key===`ArrowDown`||e.key===`ArrowUp`)&&o&&(t.dispatchEvent(new Io({action:go.Escape})),t=i.activeElement,t&&t.dispatchEvent(new Fo({key:W[e.key]})))},[i,r]),tableTabsterAttribute:t,tableRowTabsterAttribute:a}}var Lg=_.createContext(void 0),Rg={size:`medium`,noNativeElements:!1,sortable:!1},zg=Lg.Provider,Bg=()=>_.useContext(Lg)??Rg,Vg=(e,t)=>{let{noNativeElements:n,size:r}=Bg(),i=e.as??n?`div`:`td`;return{components:{root:i},root:P(Oi(i,{ref:t,role:i===`div`?`cell`:void 0,...e}),{elementType:i}),noNativeElements:n,size:r}},Hg=wd(void 0),Ug={...Ag,subtleSelection:!1,selectableRows:!1,selectionAppearance:`brand`,focusMode:`none`,compositeRowTabsterAttribute:{}},Wg=Hg.Provider,Gg=e=>Td(Hg,(t=Ug)=>e(t)),Kg=_.createContext(void 0),qg=()=>_.useContext(Kg)??``,Jg=Kg.Provider,Yg=(e,t)=>{let{focusMode:n=`cell`}=e,r=qg(),i=Gg(e=>(e.focusMode===`cell`||e.focusMode===`composite`)&&n!==`none`),a=Gg(e=>e.resizableColumns),o=Gg(e=>e.columnSizing_unstable.getTableCellProps),s=mc({tabBehavior:`limited-trap-focus`});return Vg({as:`div`,role:`gridcell`,...n===`group`&&s,tabIndex:i?0:void 0,...a?o(r):{},...e},t)},Xg=e=>U(e.root,{}),Zg=e=>Xg(e),Qg={root:`fui-TableCell`},$g=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;}`]}),e_=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;}`]}),t_=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}]]}),n_=e=>{"use no memo";let t=t_(),n={table:$g(),flex:e_()};return e.root.className=k(Qg.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},r_={root:`fui-DataGridCell`},i_=e=>{"use no memo";return n_(e),e.root.className=k(r_.root,e.root.className),e},a_=_.forwardRef((e,t)=>{let n=Yg(e,t);return i_(n),Ki(`useDataGridCellStyles_unstable`)(n),Zg(n)});a_.displayName=`DataGridCell`;var o_=_.createContext(void 0),s_=``,c_=o_.Provider,l_=()=>_.useContext(o_)===s_,u_=(e,t)=>{let{noNativeElements:n,size:r}=Bg(),i=e.as??n?`div`:`tr`,a=bc(),o=Tc(),s=l_();return{components:{root:i},root:P(Oi(i,{ref:la(t,a,o),role:i===`div`?`row`:void 0,...e}),{elementType:i}),size:r,noNativeElements:n,appearance:e.appearance??`none`,isHeaderRow:s}},d_=_.createContext(void 0),f_=()=>_.useContext(d_)??``,p_=d_.Provider,m_=(e,t)=>{"use no memo";e=zd(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]=Zi({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),u=Di({props:e,primarySlotTagName:`input`,excludedPropNames:[`checked`,`defaultChecked`,`size`,`onChange`]}),d=c===`mixed`,f=ca(`checkbox-`,u.primary.id),p;d?p=i===`circular`?_.createElement(rd,null):a===`large`?_.createElement(dd,null):_.createElement(ud,null):c&&(p=a===`large`?_.createElement(ld,null):_.createElement(cd,null));let m={shape:i,checked:c,disabled:n,size:a,labelPosition:o,components:{root:`span`,input:`input`,indicator:`div`,label:Ch},root:P(e.root,{defaultProps:{ref:Tc(),...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:Ch}),indicator:F(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:p},elementType:`div`})};m.input.onChange=V(e=>{let t=e.currentTarget.indeterminate?`mixed`:e.currentTarget.checked;s?.(e,{checked:t}),l(t)});let h=la(m.input.ref);return m.input.ref=h,ia(()=>{h.current&&(h.current.indeterminate=d)},[h,d]),m},h_=e=>Va(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,{})]}),g_={root:`fui-Checkbox`,label:`fui-Checkbox__label`,input:`fui-Checkbox__input`,indicator:`fui-Checkbox__indicator`},__=Kr(`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;}}`]}),v_=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)`}]]}),y_=Kr(`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));}`]),b_=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));}`]}),x_=Kr(`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;}`]),S_=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}]]}),C_=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);}`]}),w_=e=>{"use no memo";let{checked:t,disabled:n,labelPosition:r,shape:i,size:a}=e,o=__(),s=v_();e.root.className=k(g_.root,o,n?s.disabled:t===`mixed`?s.mixed:t?s.checked:s.unchecked,e.root.className);let c=y_(),l=b_();e.input.className=k(g_.input,c,a===`large`&&l.large,l[r],e.input.className);let u=x_(),d=S_();e.indicator&&(e.indicator.className=k(g_.indicator,u,a===`large`&&d.large,i===`circular`&&d.circular,e.indicator.className));let f=C_();return e.label&&(e.label.className=k(g_.label,f.base,f[a],f[r],e.label.className)),e},T_=_.forwardRef((e,t)=>{let n=m_(e,t);return w_(n),Ki(`useCheckboxStyles_unstable`)(n),h_(n)});T_.displayName=`Checkbox`;var E_=e=>Va(e.root,{children:[U(e.input,{}),U(e.indicator,{}),e.label&&U(e.label,{})]}),D_=_.createContext(void 0),O_={};D_.Provider;var k_=()=>_.useContext(D_)||O_,A_=(e,t)=>{let n=k_(),{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=Di({props:e,primarySlotTagName:`input`,excludedPropNames:[`checked`,`defaultChecked`,`onChange`]}),f=P(e.root,{defaultProps:{ref:Tc(),...d.root},elementType:`span`}),p=P(e.input,{defaultProps:{ref:t,type:`radio`,id:ca(`radio-`,d.primary.id),name:r,checked:i,defaultChecked:a,disabled:s,required:c,"aria-describedby":l,...d.primary},elementType:`input`});p.onChange=va(p.onChange,e=>u?.(e,{value:e.currentTarget.value}));let m=F(e.label,{defaultProps:{htmlFor:p.id,disabled:p.disabled},elementType:Ch}),h=P(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:`div`});return{labelPosition:o,components:{root:`span`,input:`input`,label:Ch,indicator:`div`},root:f,input:p,label:m,indicator:h}},j_={root:`fui-Radio`,indicator:`fui-Radio__indicator`,input:`fui-Radio__input`,label:`fui-Radio__label`},M_=Kr(`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;}}`]}),N_=N({vertical:{Beiy3e4:`f1vx9l62`,Bt984gj:`f122n59`}},{d:[`.f1vx9l62{flex-direction:column;}`,`.f122n59{align-items:center;}`]}),P_=Kr(`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;}}`]}),F_=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;}`]}),I_=Kr(`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;}`]),L_=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;}`]}),R_=e=>{"use no memo";let{labelPosition:t}=e,n=M_(),r=N_();e.root.className=k(j_.root,n,t===`below`&&r.vertical,e.root.className);let i=P_(),a=F_();e.input.className=k(j_.input,i,t===`below`&&a.below,e.indicator.children?a.customIndicator:a.defaultIndicator,e.input.className);let o=I_();e.indicator.className=k(j_.indicator,o,e.indicator.className);let s=L_();return e.label&&(e.label.className=k(j_.label,s.base,s[t],e.label.className)),e},z_=_.forwardRef((e,t)=>{let n=A_(e,t);return R_(n),Ki(`useRadioStyles_unstable`)(n),E_(n)});z_.displayName=`Radio`;var B_=(e,t)=>{let n=Vg(e,la(t,Tc())),{noNativeElements:r}=Bg(),{type:i=`checkbox`,checked:a=!1,subtle:o=!1,hidden:s=!1,invisible:c=!1}=e;return{...n,components:{...n.components,checkboxIndicator:T_,radioIndicator:z_},checkboxIndicator:F(e.checkboxIndicator,{renderByDefault:i===`checkbox`,defaultProps:{checked:e.checked},elementType:T_}),radioIndicator:F(e.radioIndicator,{renderByDefault:i===`radio`,defaultProps:{checked:!!a,input:{name:ca(`table-selection-radio`)}},elementType:z_}),type:i,checked:a,noNativeElements:r,subtle:o,hidden:c||s}},V_=(e,t)=>{let n=l_(),r=f_(),i=Gg(e=>e.subtleSelection),a=Gg(e=>n&&e.selection.selectionMode===`multiselect`?e.selection.allRowsSelected?!0:e.selection.someRowsSelected?`mixed`:!1:e.selection.isRowSelected(r)),o=Gg(e=>e.selection.toggleAllRows),s=Gg(e=>e.selection.selectionMode===`multiselect`?`checkbox`:`radio`),c=V(t=>{var r;n&&o(t),(r=e.onClick)==null||r.call(e,t)});return B_({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)},H_=e=>Va(e.root,{children:[e.type===`checkbox`&&e.checkboxIndicator&&U(e.checkboxIndicator,{}),e.type===`radio`&&e.radioIndicator&&U(e.radioIndicator,{})]}),U_=e=>H_(e),W_={root:`fui-TableSelectionCell`,checkboxIndicator:`fui-TableSelectionCell__checkboxIndicator`,radioIndicator:`fui-TableSelectionCell__radioIndicator`},G_=N({root:{mc9l5x:`f15pt5es`,a9b677:`fksc0bp`}},{d:[`.f15pt5es{display:table-cell;}`,`.fksc0bp{width:44px;}`]}),K_=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;}`]}),q_=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;}`]}),J_=e=>{"use no memo";let t=q_(),n={table:G_(),flex:K_()};return e.root.className=k(W_.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=k(W_.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=k(W_.radioIndicator,t.radioIndicator,e.radioIndicator.className)),e},Y_={root:`fui-DataGridSelectionCell`,checkboxIndicator:`fui-DataGridSelectionCell__checkboxIndicator`,radioIndicator:`fui-DataGridSelectionCell__radioIndicator`},X_=e=>{"use no memo";return J_(e),e.root.className=k(Y_.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=k(Y_.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=k(Y_.radioIndicator,e.radioIndicator.className)),e},Z_=_.forwardRef((e,t)=>{let n=V_(e,t);return X_(n),Ki(`useDataGridSelectionCellStyles_unstable`)(n),U_(n)});Z_.displayName=`DataGridSelectionCell`;var Q_=(e,t)=>{let n=f_(),r=l_(),i=Gg(e=>e.columns),a=Gg(e=>e.selectableRows),o=Gg(e=>e.selection.isRowSelected(n)),s=Gg(e=>e.focusMode),c=Gg(e=>e.compositeRowTabsterAttribute),l=s===`row_unstable`||s===`composite`,u=Gg(e=>!r&&a&&e.selection.isRowSelected(n)?e.selectionAppearance:`none`),d=Gg(e=>e.selection.toggleRow),f=V(t=>{var i;a&&!r&&d(t,n),(i=e.onClick)==null||i.call(e,t)}),p=V(t=>{var i;a&&!r&&t.key===` `&&!ba(t.target)&&(t.preventDefault(),d(t,n)),(i=e.onKeyDown)==null||i.call(e,t)}),m=u_({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:Z_},selectionCell:F(e.selectionCell,{renderByDefault:a,elementType:Z_}),renderCell:e.children,columnDefs:i,dataGridContextValue:$_()}};function $_(){let e=_.useRef(Ug);return Gg(t=>(e.current=t,null)),e.current}var ev=e=>Va(e.root,{children:[e.selectionCell&&U(e.selectionCell,{}),e.columnDefs.map(t=>U(Jg,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}),tv={root:`fui-TableRow`},nv=N({root:{mc9l5x:`f1u0rzck`}},{d:[`.f1u0rzck{display:table-row;}`]}),rv=N({root:{mc9l5x:`f22iagw`,Bt984gj:`f122n59`}},{d:[`.f22iagw{display:flex;}`,`.f122n59{align-items:center;}`]}),iv=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)`}]]}),av=e=>{"use no memo";let t=iv(),n={table:nv(),flex:rv()};return e.root.className=k(tv.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},ov={root:`fui-DataGridRow`,selectionCell:`fui-DataGridRow__selectionCell`},sv=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;}`]}),cv=e=>{"use no memo";let t=Gg(e=>e.subtleSelection),n=sv();return av(e),e.root.className=k(ov.root,e.root.className,t&&n.subtleSelection),e.selectionCell&&(e.selectionCell.className=k(ov.selectionCell,e.selectionCell.className)),e},lv=_.forwardRef((e,t)=>{let n=Q_(e,t);return cv(n),Ki(`useDataGridRowStyles_unstable`)(n),ev(n)});lv.displayName=`DataGridRow`;var uv=(e,t)=>{let{noNativeElements:n}=Bg(),r=e.as??n?`div`:`tbody`;return{components:{root:r},root:P(Oi(r,{ref:t,role:r===`div`?`rowgroup`:void 0,...e}),{elementType:r}),noNativeElements:n}},dv=(e,t)=>{let{sortable:n}=Bg(),r=Gg(e=>e.getRows),i=Gg(e=>e.sort.sort),a=n?i(r()):r();return{...uv({...e,children:null,as:`div`},t),rows:a,renderRow:e.children}},fv=e=>U(e.root,{children:e.rows.map(t=>U(p_,{value:t.rowId,children:e.renderRow(t)},t.rowId))}),pv=N({root:{mc9l5x:`f1tp1avn`}},{d:[`.f1tp1avn{display:table-row-group;}`]}),mv=N({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),hv=`fui-TableBody`,gv=e=>{"use no memo";let t={table:pv(),flex:mv()};return e.root.className=k(hv,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},_v={root:`fui-DataGridBody`},vv=e=>{"use no memo";return gv(e),e.root.className=k(_v.root,e.root.className),e},yv=_.forwardRef((e,t)=>{let n=dv(e,t);return vv(n),Ki(`useDataGridBodyStyles_unstable`)(n),fv(n)});yv.displayName=`DataGridBody`;var bv=(e,t)=>{let n=e.as??e.noNativeElements?`div`:`table`;return{components:{root:n},root:P(Oi(n,{ref:t,role:n===`div`?`table`:void 0,...e}),{elementType:n}),size:e.size??`medium`,noNativeElements:e.noNativeElements??!1,sortable:e.sortable??!1}},xv=(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=fc({axis:`grid`}),{onTableKeyDown:C,tableTabsterAttribute:w,tableRowTabsterAttribute:T}=Ig(),ee=jg({items:n,columns:r,getRowId:m},[$h({defaultSortState:c,sortState:l,onSortChange:o}),Yh({defaultSelectedItems:d,selectedItems:u,onSelectionChange:s,selectionMode:a??`multiselect`}),Eg({onColumnResize:v,columnSizingOptions:g,containerWidthOffset:x,autoFitColumns:b.autoFitColumns??!0})]),te=_.useRef(null),{findFirstFocusable:ne,findLastFocusable:E}=gc(),D=V(t=>{var n;if((n=e.onKeyDown)==null||n.call(e,t),i===`composite`&&C(t),!(!te.current||!t.ctrlKey||t.defaultPrevented)){if(t.key===`Home`){let e=te.current.querySelector(`[role="row"]`);if(e){var r;(r=ne(e))==null||r.focus()}}if(t.key===`End`){let e=te.current.querySelectorAll(`[role="row"]`);if(e.length){var a;(a=E(e.item(e.length-1)))==null||a.focus()}}}});return{...bv({role:`grid`,as:`div`,noNativeElements:!0,...i===`cell`&&S,...i===`composite`&&w,...e,onKeyDown:D,...h?ee.columnSizing_unstable.getTableProps(e):{}},la(t,ee.tableRef,te)),focusMode:i,tableState:ee,selectableRows:!!a,subtleSelection:f,selectionAppearance:p,resizableColumns:h,compositeRowTabsterAttribute:T}},Sv=(e,t)=>U(zg,{value:t.table,children:U(e.root,{})}),Cv=(e,t)=>_.createElement(Wg,{value:t.dataGrid},Sv(e,t)),wv=`fui-Table`,Tv=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;}`]}),Ev=N({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),Dv=N({root:{po53p8:`fgkb47j`,De3pzq:`fhovq9v`}},{d:[`.fgkb47j{border-collapse:collapse;}`,`.fhovq9v{background-color:var(--colorSubtleBackground);}`]}),Ov=e=>{"use no memo";let t=Dv(),n={table:Tv(),flex:Ev()};return e.root.className=k(wv,t.root,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e},kv={root:`fui-DataGrid`},Av=e=>{"use no memo";return Ov(e),e.root.className=k(kv.root,e.root.className),e};function jv(e){let{size:t,noNativeElements:n,sortable:r}=e;return{table:_.useMemo(()=>({noNativeElements:n,size:t,sortable:r}),[n,t,r])}}function Mv(e){let t=jv(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 Nv=_.forwardRef((e,t)=>{let n=xv(e,t);return Av(n),Ki(`useDataGridStyles_unstable`)(n),Cv(n,Mv(n))});Nv.displayName=`DataGrid`;var Pv=(e,t)=>{let{noNativeElements:n}=Bg(),r=e.as??n?`div`:`thead`;return{components:{root:r},root:P(Oi(r,{ref:t,role:r===`div`?`rowgroup`:void 0,...e}),{elementType:r}),noNativeElements:n}},Fv=(e,t)=>Pv({...e,as:`div`},t),Iv=e=>U(c_,{value:``,children:U(e.root,{})}),Lv=e=>Iv(e),Rv=`fui-TableHeader`,zv=N({root:{mc9l5x:`ftgm304`}},{d:[`.ftgm304{display:block;}`]}),Bv=N({root:{mc9l5x:`f1tp1avn`}},{d:[`.f1tp1avn{display:table-row-group;}`]}),Vv=e=>{"use no memo";let t={table:Bv(),flex:zv()};return e.root.className=k(Rv,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},Hv={root:`fui-DataGridHeader`},Uv=e=>{"use no memo";return Vv(e),e.root.className=k(Hv.root,e.root.className),e},Wv=_.forwardRef((e,t)=>{let n=Fv(e,t);return Uv(n),Ki(`useDataGridHeaderStyles_unstable`)(n),Lv(n)});Wv.displayName=`DataGridHeader`;var Gv={ascending:_.createElement(ed,{fontSize:12}),descending:_.createElement($u,{fontSize:12})},Kv=(e,t)=>{let{noNativeElements:n,sortable:r}=Bg(),{sortable:i=r}=e,a=e.as??n?`div`:`th`,o=P(e.button,{elementType:`div`,defaultProps:{as:`div`}}),s=Ou(o.as,o);return{components:{root:a,button:`div`,sortIcon:`span`,aside:`span`},root:P(Oi(a,{ref:la(t,Tc()),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?Gv[e.sortDirection]:void 0},elementType:`span`}),button:i?s:o,sortable:i,noNativeElements:n}};function qv(e){return e.compare.length>0}var Jv=(e,t)=>{let n=qg(),{sortable:r}=Bg(),i=Gg(e=>e.sort.toggleColumnSort),a=Gg(e=>{let t=!!e.columns.find(e=>e.columnId===n&&qv(e));return r?t:!1}),o=Gg(e=>a?e.sort.getSortDirection(n):void 0),s=Gg(e=>e.resizableColumns),c=Gg(e=>e.columnSizing_unstable.getTableHeaderCellProps),{focusMode:l=a?`none`:`cell`}=e,u=mc({tabBehavior:`limited-trap-focus`}),d=V(t=>{var r;a&&i(t,n),(r=e.onClick)==null||r.call(e,t)});return Kv({sortable:a,sortDirection:o,as:`div`,tabIndex:l===`none`?void 0:0,...l===`group`&&u,...s?c(n):{},...e,onClick:d},t)},Yv=e=>Va(e.root,{children:[Va(e.button,{children:[e.root.children,e.sortIcon&&U(e.sortIcon,{})]}),e.aside&&U(e.aside,{})]}),Xv=e=>Yv(e),Zv={root:`fui-TableHeaderCell`,button:`fui-TableHeaderCell__button`,sortIcon:`fui-TableHeaderCell__sortIcon`,aside:`fui-TableHeaderCell__aside`},Qv=N({root:{mc9l5x:`f15pt5es`,ha4doy:`fmrv4ls`}},{d:[`.f15pt5es{display:table-cell;}`,`.fmrv4ls{vertical-align:middle;}`]}),$v=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;}`]}),ey=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);}`]}),ty=e=>{"use no memo";let t=ey(),n={table:Qv(),flex:$v()};return e.root.className=k(Zv.root,t.root,e.sortable&&t.rootInteractive,e.noNativeElements?n.flex.root:n.table.root,e.root.className),e.button.className=k(Zv.button,t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=k(Zv.sortIcon,t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=k(Zv.aside,t.resizeHandle,e.aside.className)),e},ny={root:`fui-DataGridHeaderCell`,button:`fui-DataGridHeaderCell__button`,sortIcon:`fui-DataGridHeaderCell__sortIcon`,aside:`fui-DataGridHeaderCell__aside`},ry=e=>{"use no memo";return ty(e),e.root.className=k(ny.root,e.root.className),e.button&&(e.button.className=k(ny.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=k(ny.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=k(ny.aside,e.aside.className)),e},iy=_.forwardRef((e,t)=>{let n=Jv(e,t);return ry(n),Ki(`useDataGridHeaderCellStyles_unstable`)(n),Xv(n)});iy.displayName=`DataGridHeaderCell`;var ay=(e,{referenceLabel:t,referenceId:n},r)=>{let{checkbox:i={},onSelectionChange:a,floatingAction:o,onClick:s,onKeyDown:c,disabled:l}=e,{findAllFocusable:u}=gc(),d=_.useRef(null),[f,p]=Zi({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),m=[e.selected,e.defaultSelected,a].some(e=>e!==void 0),[h,g]=_.useState(!1),v=_.useCallback(e=>{if(!r.current)return!1;let t=u(r.current),n=e.target,i=t.some(e=>e.contains(n)),a=d?.current===n;return i&&!a},[r,u]),y=_.useCallback(e=>{if(l||v(e))return;let t=!f;p(t),a&&a(e,{selected:t})},[l,a,f,p,v]),b=_.useCallback(e=>{[`Enter`].includes(e.key)&&(e.preventDefault(),y(e))},[y]),x=_.useMemo(()=>{if(!m||o)return;let e={};return n?e[`aria-labelledby`]=n:t&&(e[`aria-label`]=t),F(i,{defaultProps:{ref:d,type:`checkbox`,checked:f,disabled:l,onChange:e=>y(e),onFocus:()=>g(!0),onBlur:()=>g(!1),...e},elementType:`input`})},[i,l,o,f,m,y,n,t]),S=_.useMemo(()=>{if(o)return F(o,{defaultProps:{ref:d},elementType:`div`})},[o]);return{selected:f,selectable:m,selectFocused:h,selectableCardProps:_.useMemo(()=>m?{onClick:va(s,y),onKeyDown:va(c,b)}:null,[m,y,s,c,b]),checkboxSlot:x,floatingActionSlot:S}},oy=_.createContext(void 0),sy={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},cy=oy.Provider,ly=()=>_.useContext(oy)??sy,uy={off:void 0,"no-tab":`limited-trap-focus`,"tab-exit":`limited`,"tab-only":`unlimited`},dy=({focusMode:e,disabled:t=!1,...n})=>{let r=[`onClick`,`onDoubleClick`,`onMouseUp`,`onMouseDown`,`onPointerUp`,`onPointerDown`,`onTouchStart`,`onTouchEnd`,`onDragStart`,`onDragEnd`].some(e=>n[e]),i=e??(r?`no-tab`:`off`),a=mc({tabBehavior:uy[i]});return t?{interactive:!1,focusAttributes:null}:i===`off`?{interactive:r,focusAttributes:null}:{interactive:r,focusAttributes:{...a,tabIndex:0}}},fy=(e,t)=>{let{appearance:n=`filled`,orientation:r=`vertical`,size:i=`medium`,disabled:a=!1,...o}=e,[s,c]=_.useState(sy.selectableA11yProps.referenceId),[l,u]=_.useState(sy.selectableA11yProps.referenceId),d=Tc(),{selectable:f,selected:p,selectableCardProps:m,selectFocused:h,checkboxSlot:g,floatingActionSlot:v}=ay(e,{referenceId:s,referenceLabel:l},d),y=la(d,t),{interactive:b,focusAttributes:x}=dy(e),S={...f?null:x,...o,...m};return a&&(S={...o,"aria-disabled":!0,onClick:void 0}),{appearance:n,orientation:r,size:i,interactive:b,selectable:f,selectFocused:h,selected:p,disabled:a,selectableA11yProps:{setReferenceId:c,referenceId:s,referenceLabel:l,setReferenceLabel:u},components:{root:`div`,floatingAction:`div`,checkbox:`input`},root:P(Oi(`div`,{ref:y,role:`group`,...S}),{elementType:`div`}),floatingAction:v,checkbox:g}},py=(e,t)=>U(e.root,{children:Va(cy,{value:t,children:[e.checkbox?U(e.checkbox,{}):null,e.floatingAction?U(e.floatingAction,{}):null,e.root.children]})}),my={root:`fui-CardHeader`,image:`fui-CardHeader__image`,header:`fui-CardHeader__header`,description:`fui-CardHeader__description`,action:`fui-CardHeader__action`},hy=N({root:{Bkc6ea2:`fkufhic`,Bt984gj:`f122n59`},image:{mc9l5x:`ftuwxu6`,t21cq0:[`fql5097`,`f6yss9k`]},header:{mc9l5x:`f22iagw`},description:{mc9l5x:`f22iagw`},action:{Frg6f3:[`f6yss9k`,`fql5097`],rjrqlh:`fs9eatd`,Boue1pl:[`fxoo9ru`,`f1g0ekvh`],Bhz1vi0:`f1m6zfxz`,etxrgc:[`f1g0ekvh`,`fxoo9ru`],Bdua9ef:`f1sret3r`,cbfxhg:`fs4gbcv`}},{d:[`.fkufhic{--fui-CardHeader--gap:12px;}`,`.f122n59{align-items:center;}`,`.ftuwxu6{display:inline-flex;}`,`.fql5097{margin-right:var(--fui-CardHeader--gap);}`,`.f6yss9k{margin-left:var(--fui-CardHeader--gap);}`,`.f22iagw{display:flex;}`],m:[[`@media (forced-colors: active){.fs9eatd .fui-Button,.fs9eatd .fui-Link{border-top-color:currentColor;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1g0ekvh .fui-Button,.f1g0ekvh .fui-Link{border-left-color:currentColor;}.fxoo9ru .fui-Button,.fxoo9ru .fui-Link{border-right-color:currentColor;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1m6zfxz .fui-Button,.f1m6zfxz .fui-Link{border-bottom-color:currentColor;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1sret3r .fui-Button,.f1sret3r .fui-Link{color:currentColor;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.fs4gbcv .fui-Button,.fs4gbcv .fui-Link{outline-color:currentColor;}}`,{m:`(forced-colors: active)`}]]}),gy=N({root:{mc9l5x:`f13qh94s`,t4k1zu:`f8a668j`},image:{Br312pm:`fwpfdsa`,Ijaq50:`fldnz9j`},header:{Br312pm:`fd46tj4`,Ijaq50:`f16hsg94`},description:{Br312pm:`fd46tj4`,Ijaq50:`faunodf`},action:{Br312pm:`fis13di`,Ijaq50:`fldnz9j`}},{d:[`.f13qh94s{display:grid;}`,`.f8a668j{grid-auto-columns:min-content 1fr min-content;}`,`.fwpfdsa{grid-column-start:1;}`,`.fldnz9j{grid-row-start:span 2;}`,`.fd46tj4{grid-column-start:2;}`,`.f16hsg94{grid-row-start:1;}`,`.faunodf{grid-row-start:2;}`,`.fis13di{grid-column-start:3;}`]}),_y=N({root:{mc9l5x:`f22iagw`},header:{Bh6795r:`fqerorx`},image:{},description:{},action:{}},{d:[`.f22iagw{display:flex;}`,`.fqerorx{flex-grow:1;}`]}),vy=e=>{"use no memo";let t=hy(),n=gy(),r=_y(),i=e.description?n:r,a=n=>k(my[n],t[n],i[n],e[n]?.className);return e.root.className=a(`root`),e.image&&(e.image.className=a(`image`)),e.header&&(e.header.className=a(`header`)),e.description&&(e.description.className=a(`description`)),e.action&&(e.action.className=a(`action`)),e},yy={root:`fui-Card`,floatingAction:`fui-Card__floatingAction`,checkbox:`fui-Card__checkbox`};`${{cardSizeVar:`--fui-Card--size`,cardBorderRadiusVar:`--fui-Card--border-radius`}.cardBorderRadiusVar}`,Q.strokeWidthThick;var by=Kr(`rfxo2k2`,`rgle7w9`,[`.rfxo2k2{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}`,`.rfxo2k2::after{position:absolute;top:0;left:0;right:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}`,`.rfxo2k2>.fui-CardHeader,.rfxo2k2>.fui-CardFooter{flex-shrink:0;}`,`.rgle7w9{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}`,`.rgle7w9::after{position:absolute;top:0;right:0;left:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}`,`.rgle7w9>.fui-CardHeader,.rgle7w9>.fui-CardFooter{flex-shrink:0;}`]);Q.colorNeutralForegroundDisabled,Q.colorNeutralBackgroundDisabled,Q.shadow2,{...Ir.borderColor(Q.colorNeutralStrokeDisabled)},`${Q.zIndexContent}`,{...Ir.borderColor(Q.colorNeutralStrokeDisabled)};var xy=N({focused:{Brovlpu:`ftqa4ok`,B486eqv:`f2hkw1w`,B8q5s1w:`f8hki3x`,Bci5o5g:[`f1d2448m`,`ffh67wi`],n8qw10:`f1bjia2o`,Bdrgwmp:[`ffh67wi`,`f1d2448m`],Bqhya38:`f1j6vpng`,Bwxa6fj:[`f1pniga2`,`f1ffjurs`],Bdhvstf:`f987i1v`,B7zbvrb:[`f1ffjurs`,`f1pniga2`],Bm4h7ae:`f15bsgw9`,B7ys5i9:`f14e48fq`,Busjfv9:`f18yb2kv`,Bhk32uz:`fd6o370`,f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:`fpqizxz`,Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:`fnd8nzh`,J0r882:`f15fr7a0`,Bule8hv:[`fwsq40z`,`fy0y4wt`],Bjwuhne:`f34ld9f`,Ghsupd:[`fy0y4wt`,`fwsq40z`]},selectableFocused:{Brovlpu:`ftqa4ok`,B486eqv:`f2hkw1w`,Bssx7fj:`f1b1k54r`,uh7if5:[`f4ne723`,`fqqcjud`],clntm0:`fh7aioi`,Dlk2r6:[`fqqcjud`,`f4ne723`],h6p2u:`f1ufm4qn`,I6qiy5:[`f1qnwcb4`,`fgrk5zm`],yzno9d:`fi52z01`,By0wis0:[`fgrk5zm`,`f1qnwcb4`],B2j2mmj:`ffht0p2`,wigs8:`f1p0ul1q`,pbfy6t:`f1c901ms`,B0v4ure:`f1alokd7`,Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:`f1i978nd`,az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:`f1nh8hsq`,B2pnrqr:`f1amxum7`,B29w5g4:[`f1cec8w7`,`f554mv0`],Bhhzhcn:`f1sj6kbr`,Bec0n69:[`f554mv0`,`f1cec8w7`]},orientationHorizontal:{Beiy3e4:`f1063pyq`,Bt984gj:`f122n59`,Binpb3b:`ftrw7vg`,qrt8p2:`f18opajm`,k6ws3r:[`f13002it`,`fqo182t`],Btcwela:[`f18yna97`,`f1kd6wh7`],Fer9m8:`f4i4759`},orientationVertical:{Beiy3e4:`f1vx9l62`,B5nvv7i:[`f14k419y`,`f1fgo9fz`],Baxg94k:[`f1fgo9fz`,`f14k419y`],tn21ii:`fvqmfsm`,B0ud6bj:`f3am6yf`,Bgdo4j:`f1r5wgso`},sizeSmall:{B7balbw:`f1pi9uxy`,B1h88n7:`f1h1zgly`},sizeMedium:{B7balbw:`frsmuga`,B1h88n7:`fuldkky`},sizeLarge:{B7balbw:`f1qua4xo`,B1h88n7:`fimkt6v`},interactive:{rhjd8f:`f1epqm3e`},filled:{De3pzq:`fxugw4r`,E5pizo:`f1whvlc6`,B0n5ga8:`f16gxe2i`,s924m2:[`fpgykix`,`fzybk4o`],B1q35kw:`f1osi826`,Gp14am:[`fzybk4o`,`fpgykix`]},filledInteractive:{Bceei9c:`f1k6fduh`,De3pzq:`fxugw4r`,E5pizo:`f1whvlc6`,B0n5ga8:`f16gxe2i`,s924m2:[`fpgykix`,`fzybk4o`],B1q35kw:`f1osi826`,Gp14am:[`fzybk4o`,`fpgykix`],Bi91k9c:`feu1g3u`,Jwef8y:`f1knas48`,Bvxd0ez:`f1m145df`,ecr2s2:`fb40n2d`},filledInteractiveSelected:{De3pzq:`f1nfm20t`,B0n5ga8:`f16eln5f`,s924m2:[`fa2okxs`,`fg4zq3l`],B1q35kw:`ff6932p`,Gp14am:[`fg4zq3l`,`fa2okxs`],Bi91k9c:`fx9teim`,Jwef8y:`f1kz6goq`},filledAlternative:{De3pzq:`f1dmdbja`,E5pizo:`f1whvlc6`,B0n5ga8:`f16gxe2i`,s924m2:[`fpgykix`,`fzybk4o`],B1q35kw:`f1osi826`,Gp14am:[`fzybk4o`,`fpgykix`]},filledAlternativeInteractive:{Bceei9c:`f1k6fduh`,De3pzq:`f1dmdbja`,E5pizo:`f1whvlc6`,B0n5ga8:`f16gxe2i`,s924m2:[`fpgykix`,`fzybk4o`],B1q35kw:`f1osi826`,Gp14am:[`fzybk4o`,`fpgykix`],Bi91k9c:`fnwyq0v`,Jwef8y:`f1uvynv3`,Bvxd0ez:`f1m145df`,ecr2s2:`f1yhgkbh`},filledAlternativeInteractiveSelected:{De3pzq:`fjxa0vh`,B0n5ga8:`f16eln5f`,s924m2:[`fa2okxs`,`fg4zq3l`],B1q35kw:`ff6932p`,Gp14am:[`fg4zq3l`,`fa2okxs`],Bi91k9c:`f1luvkty`,Jwef8y:`fehi0vp`},outline:{De3pzq:`f1c21dwh`,E5pizo:`f1couhl3`,B0n5ga8:`ft83z1f`,s924m2:[`f1g4150c`,`f192dr6e`],B1q35kw:`f1qnawh6`,Gp14am:[`f192dr6e`,`f1g4150c`]},outlineInteractive:{Bceei9c:`f1k6fduh`,De3pzq:`f1c21dwh`,E5pizo:`f1couhl3`,B0n5ga8:`ft83z1f`,s924m2:[`f1g4150c`,`f192dr6e`],B1q35kw:`f1qnawh6`,Gp14am:[`f192dr6e`,`f1g4150c`],Bi91k9c:`feu1g3u`,Jwef8y:`fjxutwb`,Be0v6ae:`f1llr77y`,B5kxglz:[`fzk0khw`,`fjj8tog`],B3pwyw6:`fb1u8ub`,Bymgtzf:[`fjj8tog`,`fzk0khw`],ecr2s2:`fophhak`,dmfk:`f1uohb70`,B4ofi8:[`f1jm7v1n`,`f1bus3rq`],jgq6uv:`f1fbu7rr`,Baxewws:[`f1bus3rq`,`f1jm7v1n`]},outlineInteractiveSelected:{De3pzq:`f1q9pm1r`,B0n5ga8:`f16eln5f`,s924m2:[`fa2okxs`,`fg4zq3l`],B1q35kw:`ff6932p`,Gp14am:[`fg4zq3l`,`fa2okxs`],Bi91k9c:`fx9teim`,Jwef8y:`fg59vm4`},outlineDisabled:{De3pzq:`f1c21dwh`,E5pizo:`f1couhl3`,g2u3we:`f1jj8ep1`,h3c5rm:[`f15xbau`,`fy0fskl`],B9xav0g:`f4ikngz`,zhjwy3:[`fy0fskl`,`f15xbau`],ezxybo:`f1ls5moo`,wc7uws:`f1qiza15`,B0n5ga8:`f13dj02`,s924m2:[`f9wngki`,`f17v59j0`],B1q35kw:`f1vxzwsp`,Gp14am:[`f17v59j0`,`f9wngki`]},subtle:{De3pzq:`fhovq9v`,E5pizo:`f1couhl3`,B0n5ga8:`f16gxe2i`,s924m2:[`fpgykix`,`fzybk4o`],B1q35kw:`f1osi826`,Gp14am:[`fzybk4o`,`fpgykix`]},subtleInteractive:{Bceei9c:`f1k6fduh`,De3pzq:`fhovq9v`,E5pizo:`f1couhl3`,B0n5ga8:`f16gxe2i`,s924m2:[`fpgykix`,`fzybk4o`],B1q35kw:`f1osi826`,Gp14am:[`fzybk4o`,`fpgykix`],Bi91k9c:`feu1g3u`,Jwef8y:`f1t94bn6`,ecr2s2:`f1wfn5kd`},subtleInteractiveSelected:{De3pzq:`fq5gl1p`,B0n5ga8:`f16eln5f`,s924m2:[`fa2okxs`,`fg4zq3l`],B1q35kw:`ff6932p`,Gp14am:[`fg4zq3l`,`fa2okxs`],Bi91k9c:`fx9teim`,Jwef8y:`f1uqaxdt`},highContrastSelected:{B8gzw0y:`f1h3a8gf`,By8wz76:`f1nz3ub2`,B7iucu3:`fqc85l4`,Boo9lyk:`f1ucc5z8`,sga51p:`fyj59f4`,qj1yg9:[`f19v95gn`,`f1n69f6i`],B8acmzm:`f16q7dot`,Gezqo6:[`f1n69f6i`,`f19v95gn`]},highContrastInteractive:{waf3gn:`f1quqgnd`,B96h8j5:`f193utb4`,Bpd3jnq:`f1io67iv`,uhbujs:`f3n01jk`,sga51p:`fyj59f4`,qj1yg9:[`f19v95gn`,`f1n69f6i`],B8acmzm:`f16q7dot`,Gezqo6:[`f1n69f6i`,`f19v95gn`]},select:{qhf8xq:`f1euv43f`,Bhzewxz:`fqclxi7`,j35jbq:[`fiv86kb`,`f36uhnt`],Bj3rh1h:`fom9my7`},hiddenCheckbox:{B68tc82:0,Bmxbyg5:0,Bpg54ce:`f1a3p1vp`,a9b677:`frkrog8`,Bqenvij:`f1mpe4l3`,qhf8xq:`f1euv43f`,Bh84pgu:`fmf1zke`,Bgl5zvf:`f1wch0ki`,Huce71:`fz5stix`},disabled:{Bceei9c:`fdrzuqr`,famaaq:`f1xqy1su`,sj55zd:`f1s2aq7o`,De3pzq:`f1bg9a2p`,E5pizo:`fyed02w`,g2u3we:`f1jj8ep1`,h3c5rm:[`f15xbau`,`fy0fskl`],B9xav0g:`f4ikngz`,zhjwy3:[`fy0fskl`,`f15xbau`],Ftih45:`f1wl9k8s`,Brfgrao:`f1j7ml58`,lawp4y:0,Fbdkly:0,mdwyqc:0,Bciustq:0,gc50h5:`f13vvzas`,Ehzi8l:`f198lalb`,B0n5ga8:`f13dj02`,s924m2:[`f9wngki`,`f17v59j0`],B1q35kw:`f1vxzwsp`,Gp14am:[`f17v59j0`,`f9wngki`],Bikrtoi:`f11og98d`,G8qf51:`f1rg3h4v`,Brxh4y7:`fbm2y3b`,ezxybo:`f4yodeu`,wc7uws:`fcwfbwp`,gp3uxg:`f1repx37`,Fohawp:[`f1ybi8ct`,`f1h4eg6q`],Bxulg6k:`f18mejnb`,vcjq4m:[`f1h4eg6q`,`f1ybi8ct`],Bsqkqe9:`f1nift3m`,fskg1g:`f1wu3i8x`,iwiei9:0,Effecx:0,Bkt1b9m:0,jfmxvr:0,orauir:`f6v4vfa`,B2yd9ot:`folrdqs`,Fn9tzk:`f168z5yf`,Bv0wker:[`fpor7gj`,`fzextn6`],Bp2dl5b:`f1yaw79v`,pzn0iz:[`fzextn6`,`fpor7gj`]}},{f:[`.ftqa4ok:focus{outline-style:none;}`],i:[`.f2hkw1w:focus-visible{outline-style:none;}`],d:[`.f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}`,`.f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}`,`.ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}`,`.f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}`,`.f15bsgw9[data-fui-focus-visible]::after{content:"";}`,`.f14e48fq[data-fui-focus-visible]::after{position:absolute;}`,`.f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}`,`.fd6o370[data-fui-focus-visible]::after{z-index:1;}`,[`.fpqizxz[data-fui-focus-visible]::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}`,{p:-2}],[`.fnd8nzh[data-fui-focus-visible]::after{border-radius:var(--fui-Card--border-radius);}`,{p:-1}],`.f15fr7a0[data-fui-focus-visible]::after{top:calc(0px - var(--strokeWidthThick) - -2px);}`,`.fwsq40z[data-fui-focus-visible]::after{right:calc(0px - var(--strokeWidthThick) - -2px);}`,`.fy0y4wt[data-fui-focus-visible]::after{left:calc(0px - var(--strokeWidthThick) - -2px);}`,`.f34ld9f[data-fui-focus-visible]::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}`,`.f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}`,`.f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}`,`.fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}`,`.fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}`,`.ffht0p2[data-fui-focus-within]:focus-within::after{content:"";}`,`.f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}`,`.f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}`,`.f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}`,[`.f1i978nd[data-fui-focus-within]:focus-within::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}`,{p:-2}],[`.f1nh8hsq[data-fui-focus-within]:focus-within::after{border-radius:var(--fui-Card--border-radius);}`,{p:-1}],`.f1amxum7[data-fui-focus-within]:focus-within::after{top:calc(0px - var(--strokeWidthThick) - -2px);}`,`.f1cec8w7[data-fui-focus-within]:focus-within::after{right:calc(0px - var(--strokeWidthThick) - -2px);}`,`.f554mv0[data-fui-focus-within]:focus-within::after{left:calc(0px - var(--strokeWidthThick) - -2px);}`,`.f1sj6kbr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}`,`.f1063pyq{flex-direction:row;}`,`.f122n59{align-items:center;}`,`.ftrw7vg>.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}`,`.f18opajm>.fui-CardPreview{margin-bottom:calc(var(--fui-Card--size) * -1);}`,`.f13002it>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-left:calc(var(--fui-Card--size) * -1);}`,`.fqo182t>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-right:calc(var(--fui-Card--size) * -1);}`,`.f18yna97>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-right:calc(var(--fui-Card--size) * -1);}`,`.f1kd6wh7>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-left:calc(var(--fui-Card--size) * -1);}`,`.f4i4759>.fui-CardHeader:last-of-type,.f4i4759>.fui-CardFooter:last-of-type{flex-grow:1;}`,`.f1vx9l62{flex-direction:column;}`,`.f14k419y>.fui-CardPreview{margin-left:calc(var(--fui-Card--size) * -1);}`,`.f1fgo9fz>.fui-CardPreview{margin-right:calc(var(--fui-Card--size) * -1);}`,`.fvqmfsm>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-top:calc(var(--fui-Card--size) * -1);}`,`.f3am6yf>.fui-Card__floatingAction+.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}`,`.f1r5wgso>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-bottom:calc(var(--fui-Card--size) * -1);}`,`.f1pi9uxy{--fui-Card--size:8px;}`,`.f1h1zgly{--fui-Card--border-radius:var(--borderRadiusSmall);}`,`.frsmuga{--fui-Card--size:12px;}`,`.fuldkky{--fui-Card--border-radius:var(--borderRadiusMedium);}`,`.f1qua4xo{--fui-Card--size:16px;}`,`.fimkt6v{--fui-Card--border-radius:var(--borderRadiusLarge);}`,`.f1epqm3e .fui-Text{color:currentColor;}`,`.fxugw4r{background-color:var(--colorNeutralBackground1);}`,`.f1whvlc6{box-shadow:var(--shadow4);}`,`.f16gxe2i::after{border-top-color:var(--colorTransparentStroke);}`,`.fpgykix::after{border-right-color:var(--colorTransparentStroke);}`,`.fzybk4o::after{border-left-color:var(--colorTransparentStroke);}`,`.f1osi826::after{border-bottom-color:var(--colorTransparentStroke);}`,`.f1k6fduh{cursor:pointer;}`,`.f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}`,`.f16eln5f::after{border-top-color:var(--colorNeutralStroke1Selected);}`,`.fa2okxs::after{border-right-color:var(--colorNeutralStroke1Selected);}`,`.fg4zq3l::after{border-left-color:var(--colorNeutralStroke1Selected);}`,`.ff6932p::after{border-bottom-color:var(--colorNeutralStroke1Selected);}`,`.f1dmdbja{background-color:var(--colorNeutralBackground2);}`,`.fjxa0vh{background-color:var(--colorNeutralBackground2Selected);}`,`.f1c21dwh{background-color:var(--colorTransparentBackground);}`,`.f1couhl3{box-shadow:none;}`,`.ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}`,`.f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}`,`.f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}`,`.f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}`,`.f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}`,`.f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}`,`.f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}`,`.fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}`,`.f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}`,`.f13dj02::after{border-top-color:var(--colorNeutralStrokeDisabled);}`,`.f9wngki::after{border-right-color:var(--colorNeutralStrokeDisabled);}`,`.f17v59j0::after{border-left-color:var(--colorNeutralStrokeDisabled);}`,`.f1vxzwsp::after{border-bottom-color:var(--colorNeutralStrokeDisabled);}`,`.fhovq9v{background-color:var(--colorSubtleBackground);}`,`.fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}`,`.f1euv43f{position:absolute;}`,`.fqclxi7{top:4px;}`,`.fiv86kb{right:4px;}`,`.f36uhnt{left:4px;}`,`.fom9my7{z-index:var(--zIndexContent, 1);}`,[`.f1a3p1vp{overflow:hidden;}`,{p:-1}],`.frkrog8{width:1px;}`,`.f1mpe4l3{height:1px;}`,`.fmf1zke{clip:rect(0 0 0 0);}`,`.f1wch0ki{clip-path:inset(50%);}`,`.fz5stix{white-space:nowrap;}`,`.fdrzuqr{cursor:not-allowed;}`,`.f1xqy1su{-webkit-user-select:none;-moz-user-select:none;user-select:none;}`,`.f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}`,`.f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}`,`.fyed02w{box-shadow:var(--shadow2);}`,`.f1wl9k8s::before{content:"";}`,`.f1j7ml58::before{position:absolute;}`,[`.f13vvzas::before{inset:0;}`,{p:-1}],`.f198lalb::before{z-index:calc(var(--zIndexContent, 1) + 1);}`],m:[[`@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1ufm4qn[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1qnwcb4[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}.fgrk5zm[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.fi52z01[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.fqc85l4{color:HighlightText;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1ucc5z8 .fui-CardPreview,.f1ucc5z8 .fui-CardFooter{forced-color-adjust:auto;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.fyj59f4::after{border-top-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f19v95gn::after{border-right-color:Highlight;}.f1n69f6i::after{border-left-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f16q7dot::after{border-bottom-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1quqgnd:hover,.f1quqgnd :active{forced-color-adjust:none;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f193utb4:hover,.f193utb4 :active{background-color:Highlight;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f1io67iv:hover,.f1io67iv :active{color:HighlightText;}}`,{m:`(forced-colors: active)`}],[`@media (forced-colors: active){.f3n01jk:hover .fui-CardPreview,.f3n01jk :active .fui-CardPreview,.f3n01jk:hover .fui-CardFooter,.f3n01jk :active .fui-CardFooter{forced-color-adjust:auto;}}`,{m:`(forced-colors: active)`}]],h:[`.feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}`,`.f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}`,`.f1m145df:hover{box-shadow:var(--shadow8);}`,`.fx9teim:hover{color:var(--colorNeutralForeground1Selected);}`,`.f1kz6goq:hover{background-color:var(--colorNeutralBackground1Selected);}`,`.fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}`,`.f1uvynv3:hover{background-color:var(--colorNeutralBackground2Hover);}`,`.f1luvkty:hover{color:var(--colorNeutralForeground2Selected);}`,`.fehi0vp:hover{background-color:var(--colorNeutralBackground2Selected);}`,`.fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}`,`.f1llr77y:hover::after{border-top-color:var(--colorNeutralStroke1Hover);}`,`.fzk0khw:hover::after{border-right-color:var(--colorNeutralStroke1Hover);}`,`.fjj8tog:hover::after{border-left-color:var(--colorNeutralStroke1Hover);}`,`.fb1u8ub:hover::after{border-bottom-color:var(--colorNeutralStroke1Hover);}`,`.fg59vm4:hover{background-color:var(--colorTransparentBackgroundSelected);}`,`.f1ls5moo:hover,.f1ls5moo:active{background-color:var(--colorTransparentBackground);}`,`.f1qiza15:hover,.f1qiza15:active{box-shadow:none;}`,`.f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}`,`.f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}`,`.f11og98d:hover,.f11og98d:active{cursor:not-allowed;}`,`.f1rg3h4v:hover,.f1rg3h4v:active{-webkit-user-select:none;-moz-user-select:none;user-select:none;}`,`.fbm2y3b:hover,.fbm2y3b:active{color:var(--colorNeutralForegroundDisabled);}`,`.f4yodeu:hover,.f4yodeu:active{background-color:var(--colorNeutralBackgroundDisabled);}`,`.fcwfbwp:hover,.fcwfbwp:active{box-shadow:var(--shadow2);}`,`.f1repx37:hover,.f1repx37:active{border-top-color:var(--colorNeutralStrokeDisabled);}`,`.f1ybi8ct:hover,.f1ybi8ct:active{border-right-color:var(--colorNeutralStrokeDisabled);}`,`.f1h4eg6q:hover,.f1h4eg6q:active{border-left-color:var(--colorNeutralStrokeDisabled);}`,`.f18mejnb:hover,.f18mejnb:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}`,`.f1nift3m:hover::before,.f1nift3m:active::before{content:"";}`,`.f1wu3i8x:hover::before,.f1wu3i8x:active::before{position:absolute;}`,[`.f6v4vfa:hover::before,.f6v4vfa:active::before{inset:0;}`,{p:-1}],`.folrdqs:hover::before,.folrdqs:active::before{z-index:calc(var(--zIndexContent, 1) + 1);}`,`.f168z5yf:hover::after,.f168z5yf:active::after{border-top-color:var(--colorNeutralStrokeDisabled);}`,`.fpor7gj:hover::after,.fpor7gj:active::after{border-right-color:var(--colorNeutralStrokeDisabled);}`,`.fzextn6:hover::after,.fzextn6:active::after{border-left-color:var(--colorNeutralStrokeDisabled);}`,`.f1yaw79v:hover::after,.f1yaw79v:active::after{border-bottom-color:var(--colorNeutralStrokeDisabled);}`],a:[`.fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}`,`.f1yhgkbh:active{background-color:var(--colorNeutralBackground2Pressed);}`,`.fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}`,`.f1uohb70:active::after{border-top-color:var(--colorNeutralStroke1Pressed);}`,`.f1jm7v1n:active::after{border-right-color:var(--colorNeutralStroke1Pressed);}`,`.f1bus3rq:active::after{border-left-color:var(--colorNeutralStroke1Pressed);}`,`.f1fbu7rr:active::after{border-bottom-color:var(--colorNeutralStroke1Pressed);}`,`.f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}`]}),Sy=e=>{"use no memo";let t=by(),n=xy(),r={horizontal:n.orientationHorizontal,vertical:n.orientationVertical},i={small:n.sizeSmall,medium:n.sizeMedium,large:n.sizeLarge},a={filled:n.filled,"filled-alternative":n.filledAlternative,outline:n.outline,subtle:n.subtle},o={filled:n.filledInteractiveSelected,"filled-alternative":n.filledAlternativeInteractiveSelected,outline:n.outlineInteractiveSelected,subtle:n.subtleInteractiveSelected},s={filled:n.filledInteractive,"filled-alternative":n.filledAlternativeInteractive,outline:n.outlineInteractive,subtle:n.subtleInteractive},c=!e.disabled&&(e.interactive||e.selectable),l=_.useMemo(()=>e.disabled?``:e.selectable?e.selectFocused?n.selectableFocused:``:n.focused,[e.disabled,e.selectFocused,e.selectable,n.focused,n.selectableFocused]);return e.root.className=k(yy.root,t,r[e.orientation],i[e.size],a[e.appearance],c&&n.interactive,c&&s[e.appearance],e.selected&&o[e.appearance],l,c&&n.highContrastInteractive,e.selected&&n.highContrastSelected,e.disabled&&n.disabled,e.disabled&&e.appearance===`outline`&&n.outlineDisabled,e.root.className),e.floatingAction&&(e.floatingAction.className=k(yy.floatingAction,n.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=k(yy.checkbox,n.hiddenCheckbox,e.checkbox.className)),e};function Cy({selectableA11yProps:e}){return{selectableA11yProps:e}}var wy=_.forwardRef((e,t)=>{let n=fy(e,t),r=Cy(n);return Sy(n),Ki(`useCardStyles_unstable`)(n),py(n,r)});wy.displayName=`Card`;function Ty(e){function t(e){return _.isValidElement(e)&&!!e.props.id}return _.Children.toArray(e).find(t)}function Ey(e,t,n){return e||(t?.props.id?t.props.id:n)}var Dy=(e,t)=>{let{image:n,header:r,description:i,action:a}=e,{selectableA11yProps:{referenceId:o,setReferenceId:s}}=ly(),c=_.useRef(null),l=_.useRef(!1),u=ca(my.header,o),d=F(r,{renderByDefault:!0,defaultProps:{ref:c,id:l.current?void 0:o},elementType:`div`});return _.useEffect(()=>{let e=l.current?void 0:c.current?.id,t=Ty(d?.children);l.current=!!t,s(Ey(e,t,u))},[u,r,d,s]),{components:{root:`div`,image:`div`,header:`div`,description:`div`,action:`div`},root:P(Oi(`div`,{ref:t,...e}),{elementType:`div`}),image:F(n,{elementType:`div`}),header:d,description:F(i,{elementType:`div`}),action:F(a,{elementType:`div`})}},Oy=e=>Va(e.root,{children:[e.image&&U(e.image,{}),e.header&&U(e.header,{}),e.description&&U(e.description,{}),e.action&&U(e.action,{})]}),ky=_.forwardRef((e,t)=>{let n=Dy(e,t);return vy(n),Ki(`useCardHeaderStyles_unstable`)(n),Oy(n)});ky.displayName=`CardHeader`;var Ay=(e,t)=>{e=zd(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let n=Hi(),{size:r=`medium`,appearance:i=n.inputDefaultAppearance??`outline`,onChange:a}=e,[o,s]=Zi({state:e.value,defaultState:e.defaultValue,initialState:``}),c=Di({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=V(e=>{let t=e.target.value;a?.(e,{value:t}),s(t)}),l},jy={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 My=Kr(`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;}}`]}),Ny=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;}`]}),Py=Kr(`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;}`]),Fy=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);}`]}),Iy=Kr(`r1572tok`,null,[`.r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}`,`.r1572tok>svg{font-size:20px;}`]),Ly=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;}`]}),Ry=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=Ny(),s=Fy(),c=Ly();e.root.className=k(jy.root,My(),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=k(jy.input,Py(),s[t],e.contentBefore&&s[`${t}WithContentBefore`],e.contentAfter&&s[`${t}WithContentAfter`],r&&s.disabled,e.input.className);let l=[Iy(),r&&c.disabled,c[t]];return e.contentBefore&&(e.contentBefore.className=k(jy.contentBefore,...l,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=k(jy.contentAfter,...l,e.contentAfter.className)),e},zy=(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]=Zi({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=Xr(i),x=V(t=>{var n,r;if(Qr(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=Ay({type:`search`,disabled:r,size:n,value:p,root:P({...b,ref:la(b?.ref,d),onFocus:va(b?.onFocus,v),onBlur:va(b?.onBlur,y)},{elementType:`span`}),contentBefore:F(a,{renderByDefault:!0,defaultProps:{children:_.createElement(sd,null)},elementType:`span`}),contentAfter:F(s,{renderByDefault:!0,elementType:`span`}),...u,onChange:V(t=>{var n;let r=t.target.value;(n=e.onChange)==null||n.call(e,t,{value:r}),m(r)})},la(f,t)),C={...S,components:{...S.components,dismiss:`span`},dismiss:F(o,{defaultProps:{children:_.createElement(id,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},By=e=>Va(e.root,{children:[e.contentBefore&&U(e.contentBefore,{}),U(e.input,{}),e.contentAfter&&Va(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&U(e.dismiss,{})]})]}),Vy={root:`fui-SearchBox`,dismiss:`fui-SearchBox__dismiss`,contentAfter:`fui-SearchBox__contentAfter`,contentBefore:`fui-SearchBox__contentBefore`,input:`fui-SearchBox__input`},Hy=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;}`]}),Uy=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);}`]}),Wy=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}]]}),Gy=Kr(`r1pvzcuu`,null,[`.r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}`,`.r1pvzcuu>svg{font-size:20px;}`]),Ky=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;}`]}),qy=e=>{"use no memo";let{disabled:t,focused:n,size:r}=e,i=Hy(),a=Uy(),o=Wy(),s=Gy(),c=Ky();return e.root.className=k(Vy.root,i[r],!n&&i.unfocusedNoContentAfter,e.root.className),e.input.className=k(Vy.input,i.input,!n&&a[r],e.input.className),e.dismiss&&(e.dismiss.className=k(Vy.dismiss,s,t&&c.disabled,c[r],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=k(Vy.contentBefore,e.contentBefore.className)),e.contentAfter?e.contentAfter.className=k(Vy.contentAfter,o.contentAfter,!n&&o.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=k(e.dismiss.className,o.contentAfter)),Ry(e),e},Jy=_.forwardRef((e,t)=>{let n=zy(e,t);return qy(n),Ki(`useSearchBoxStyles_unstable`)(n),By(n)});Jy.displayName=`SearchBox`;var Yy=Gr({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`}}),Xy=e=>{let t=ca(`entity-type-dropdown`),n=ca(`search-input`),r=ca(`status-dropdown`),i=ca(`user-type-dropdown`),a=ca(`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=Yy();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)(_h,{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)(Id,{value:`systemuser`,text:`System Users`,children:`System Users`}),(0,H.jsx)(Id,{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)(_h,{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)(Id,{value:`all`,text:`All`,children:`All`}),(0,H.jsx)(Id,{value:`enabled`,text:`Enabled`,children:`Enabled`}),(0,H.jsx)(Id,{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)(_h,{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)(Id,{value:`all`,text:`All`,children:`All`}),(0,H.jsx)(Id,{value:`users`,text:`Users`,children:`Users`}),(0,H.jsx)(Id,{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)(_h,{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)(Id,{value:`all`,text:`All`,children:`All`}),d.map(e=>(0,H.jsx)(Id,{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)(Jy,{id:n,placeholder:`Search by name...`,value:e.textFilter??``,onChange:s,className:f.searchInput})]})]})},Zy=Gr({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%`}}),Qy=({entityType:e,systemUsers:t,teams:n,selectedId:r,onSelectionChange:i})=>{let a=Zy(),o=(0,_.useMemo)(()=>r?new Set([r]):new Set,[r]),s=(e,t)=>{let n=Array.from(t.selectedItems)[0];i(n?String(n):null)},c=[Fg({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})}),Fg({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})}),Fg({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`})}),Fg({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=[Fg({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})}),Fg({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})}}),Fg({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})}}),Fg({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)(Nv,{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:`single`,selectedItems:o,onSelectionChange:s,getRowId:e=>e.systemuserid,children:[(0,H.jsx)(Wv,{children:(0,H.jsx)(lv,{children:({renderHeaderCell:e})=>(0,H.jsx)(iy,{children:e()})})}),(0,H.jsx)(yv,{className:a.dataGridBody,children:({item:e,rowId:t})=>(0,H.jsx)(lv,{children:({renderCell:t})=>(0,H.jsx)(a_,{children:t(e)})},t)})]},`systemuser-grid`)}):(0,H.jsx)(`div`,{className:a.container,children:(0,H.jsxs)(Nv,{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:`single`,selectedItems:o,onSelectionChange:s,getRowId:e=>e.teamid,children:[(0,H.jsx)(Wv,{children:(0,H.jsx)(lv,{children:({renderHeaderCell:e})=>(0,H.jsx)(iy,{children:e()})})}),(0,H.jsx)(yv,{className:a.dataGridBody,children:({item:e,rowId:t})=>(0,H.jsx)(lv,{children:({renderCell:t})=>(0,H.jsx)(a_,{children:t(e)})},t)})]},`team-grid`)})},$y=Gr({panel:{width:`400px`,borderLeft:`1px solid ${Q.colorNeutralStroke1}`,backgroundColor:Q.colorNeutralBackground1,display:`flex`,flexDirection:`column`,overflow:`hidden`},header:{padding:Q.spacingVerticalL,paddingBottom:Q.spacingVerticalM,borderBottom:`1px solid ${Q.colorNeutralStroke1}`,flexShrink:0},content:{padding:Q.spacingVerticalM,flex:1,overflowY:`auto`,display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalS},loadingContainer:{display:`flex`,justifyContent:`center`,alignItems:`center`,padding:Q.spacingVerticalXXL},emptyState:{textAlign:`center`,padding:Q.spacingVerticalXXL,color:Q.colorNeutralForeground3},roleCard:{padding:Q.spacingVerticalM},roleHeader:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},roleName:{fontWeight:Q.fontWeightSemibold,fontSize:Q.fontSizeBase300},roleDetails:{marginTop:Q.spacingVerticalXS,fontSize:Q.fontSizeBase200,color:Q.colorNeutralForeground3},section:{display:`flex`,flexDirection:`column`,gap:Q.spacingVerticalS},sectionTitle:{marginTop:Q.spacingVerticalM,marginBottom:Q.spacingVerticalXS},teamCard:{padding:Q.spacingVerticalM},teamHeader:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},teamName:{fontWeight:Q.fontWeightSemibold,fontSize:Q.fontSizeBase300},teamDetails:{marginTop:Q.spacingVerticalXS,fontSize:Q.fontSizeBase200,color:Q.colorNeutralForeground3},badge:{marginLeft:Q.spacingHorizontalM},userCard:{padding:Q.spacingVerticalM},userHeader:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},userName:{fontWeight:Q.fontWeightSemibold,fontSize:Q.fontSizeBase300},userDetails:{marginTop:Q.spacingVerticalXS,fontSize:Q.fontSizeBase200,color:Q.colorNeutralForeground3},filterInput:{marginBottom:Q.spacingVerticalS},queueCard:{padding:Q.spacingVerticalM},queueName:{fontWeight:Q.fontWeightSemibold,fontSize:Q.fontSizeBase300},queueDetails:{marginTop:Q.spacingVerticalXS,fontSize:Q.fontSizeBase200,color:Q.colorNeutralForeground3}}),eb=({entityType:e,entityName:t,roles:n,isLoadingRoles:r,userTeams:i=[],isLoadingTeams:a=!1,userQueues:o=[],isLoadingQueues:s=!1,teamMembers:c=[],isLoadingTeamMembers:l=!1})=>{let u=$y(),[d,f]=(0,_.useState)(``),p=(0,_.useMemo)(()=>{if(!d)return c;let e=d.toLowerCase();return c.filter(t=>t.fullname?.toLowerCase().includes(e)||t.domainname?.toLowerCase().includes(e)||t.businessunitid?.name?.toLowerCase().includes(e))},[c,d]);return(0,H.jsxs)(`div`,{className:u.panel,children:[(0,H.jsx)(`div`,{className:u.header,children:(0,H.jsx)(Gh,{children:t})}),(0,H.jsxs)(`div`,{className:u.content,children:[(0,H.jsxs)(`div`,{className:u.section,children:[(0,H.jsx)(Kh,{className:u.sectionTitle,children:`Security Roles`}),r?(0,H.jsx)(`div`,{className:u.loadingContainer,children:(0,H.jsx)(Lh,{label:`Loading security roles...`})}):n.length===0?(0,H.jsx)(`div`,{className:u.emptyState,children:(0,H.jsx)(Uh,{children:`No security roles assigned`})}):n.map(e=>(0,H.jsx)(wy,{className:u.roleCard,children:(0,H.jsx)(ky,{header:(0,H.jsxs)(`div`,{className:u.roleHeader,children:[(0,H.jsx)(`div`,{className:u.roleName,children:e.name}),e.ismanaged&&(0,H.jsx)(xu,{appearance:`tint`,color:`informative`,className:u.badge,children:`Managed`})]}),description:(0,H.jsx)(`div`,{className:u.roleDetails,children:e.businessunitid?`Business Unit: ${e.businessunitid.name}`:`No Business Unit`})})},e.roleid))]}),e===`systemuser`&&(0,H.jsxs)(`div`,{className:u.section,children:[(0,H.jsx)(Kh,{className:u.sectionTitle,children:`Team Memberships`}),a?(0,H.jsx)(`div`,{className:u.loadingContainer,children:(0,H.jsx)(Lh,{label:`Loading teams...`})}):i.length===0?(0,H.jsx)(`div`,{className:u.emptyState,children:(0,H.jsx)(Uh,{children:`No team memberships`})}):i.map(e=>(0,H.jsx)(wy,{className:u.teamCard,children:(0,H.jsx)(ky,{header:(0,H.jsxs)(`div`,{className:u.teamHeader,children:[(0,H.jsx)(`div`,{className:u.teamName,children:e.name}),e.isdefault&&(0,H.jsx)(xu,{appearance:`tint`,color:`success`,className:u.badge,children:`Default`})]}),description:(0,H.jsxs)(`div`,{className:u.teamDetails,children:[(0,H.jsx)(`div`,{children:e.teamtype===0?`Owner Team`:e.teamtype===1?`Access Team`:`Other`}),e.businessunitid&&(0,H.jsxs)(`div`,{children:[`Business Unit: `,e.businessunitid.name]})]})})},e.teamid))]}),e===`systemuser`&&(0,H.jsxs)(`div`,{className:u.section,children:[(0,H.jsx)(Kh,{className:u.sectionTitle,children:`Queue Memberships`}),s?(0,H.jsx)(`div`,{className:u.loadingContainer,children:(0,H.jsx)(Lh,{label:`Loading queues...`})}):o.length===0?(0,H.jsx)(`div`,{className:u.emptyState,children:(0,H.jsx)(Uh,{children:`No queue memberships`})}):o.map(e=>(0,H.jsx)(wy,{className:u.queueCard,children:(0,H.jsx)(ky,{header:(0,H.jsx)(`div`,{className:u.queueName,children:e.name}),description:(0,H.jsx)(`div`,{className:u.queueDetails,children:e.queuetypecode!==void 0&&(0,H.jsxs)(`div`,{children:[`Type:`,` `,e.queuetypecode===1?`Private`:e.queuetypecode===2?`Public`:`Unknown`]})})})},e.queueid))]}),e===`team`&&(0,H.jsxs)(`div`,{className:u.section,children:[(0,H.jsx)(Kh,{className:u.sectionTitle,children:`Team Members`}),l?(0,H.jsx)(`div`,{className:u.loadingContainer,children:(0,H.jsx)(Lh,{label:`Loading team members...`})}):c.length===0?(0,H.jsx)(`div`,{className:u.emptyState,children:(0,H.jsx)(Uh,{children:`No team members`})}):(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(Jy,{className:u.filterInput,placeholder:`Filter members...`,value:d,onChange:(e,t)=>f(t.value)}),p.length===0?(0,H.jsx)(`div`,{className:u.emptyState,children:(0,H.jsx)(Uh,{children:`No members match the filter`})}):[...p].sort((e,t)=>e.fullname.localeCompare(t.fullname)).map(e=>(0,H.jsx)(wy,{className:u.userCard,children:(0,H.jsx)(ky,{header:(0,H.jsxs)(`div`,{className:u.userHeader,children:[(0,H.jsx)(`div`,{className:u.userName,children:e.fullname}),e.isdisabled&&(0,H.jsx)(xu,{appearance:`tint`,color:`warning`,className:u.badge,children:`Disabled`})]}),description:(0,H.jsxs)(`div`,{className:u.userDetails,children:[(0,H.jsx)(`div`,{children:e.domainname}),e.businessunitid&&(0,H.jsxs)(`div`,{children:[`Business Unit: `,e.businessunitid.name]})]})})},e.systemuserid))]})]})]})]})},tb=({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)(null),[ne,E]=(0,_.useState)([]),[D,re]=(0,_.useState)(!1),[ie,ae]=(0,_.useState)([]),[oe,se]=(0,_.useState)(!1),[ce,le]=(0,_.useState)([]),[ue,O]=(0,_.useState)(!1),[de,fe]=(0,_.useState)([]),[pe,me]=(0,_.useState)(!1),[he,ge]=(0,_.useState)(!1),[_e,ve]=(0,_.useState)(!1),ye=Gr({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}})();(0,_.useEffect)(()=>{(async()=>{e&&await be()})()},[e]);let be=(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]),xe=(0,_.useCallback)(async e=>{if(S(e),!e){E([]),ae([]),le([]),fe([]);return}re(!0),E([]),a===`systemuser`?(se(!0),ae([]),O(!0),le([])):(me(!0),fe([]));try{let t=[];if(a===`systemuser`){let[n,r,i]=await Promise.all([C(e),T(e),te(e)]);t=n,ae(r),le(i),y.info(`Fetched ${t.length} security roles, ${r.length} teams, and ${i.length} queues for user ${e}`)}else{let[n,r]=await Promise.all([w(e),ee(e)]);t=n,fe(r),y.info(`Fetched ${t.length} security roles and ${r.length} members for team ${e}`)}E(t)}catch(e){y.error(`Error loading data: ${e.message}`),await window.toolboxAPI.utils.showNotification({title:`Error Loading Details`,body:`Failed to load security roles and related data: ${e.message}`,type:`error`})}finally{re(!1),a===`systemuser`?(se(!1),O(!1)):me(!1)}},[a]),Se=(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]),Ce=(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]),we=(0,_.useCallback)(()=>v?a===`systemuser`?t.find(e=>e.systemuserid===v)?.fullname??``:r.find(e=>e.teamid===v)?.name??``:``,[v,a,t,r]),Te=(0,_.useCallback)(async()=>{ge(!0);try{let e=[];for(let t of Se){let n=await C(t.systemuserid),r=await T(t.systemuserid),i=await te(t.systemuserid);e.push({user:t,roles:n,teams:r,queues:i})}let t=new Map,n=new Map,r=new Map;e.forEach(({roles:e,teams:i,queues:a})=>{e.forEach(e=>t.set(e.roleid,e.name)),i.forEach(e=>n.set(e.teamid,e.name)),a.forEach(e=>r.set(e.queueid,e.name))});let i=Array.from(t.entries()).sort((e,t)=>e[1].localeCompare(t[1])),a=Array.from(n.entries()).sort((e,t)=>e[1].localeCompare(t[1])),o=Array.from(r.entries()).sort((e,t)=>e[1].localeCompare(t[1])),s=[],c=[`User Name`,`Domain Name`,`Business Unit`,`Status`];i.forEach(([,e])=>c.push(`Role: ${e}`)),a.forEach(([,e])=>c.push(`Team: ${e}`)),o.forEach(([,e])=>c.push(`Queue: ${e}`)),s.push(c.map(e=>`"${e}"`).join(`,`)),e.forEach(({user:e,roles:t,teams:n,queues:r})=>{let c=[e.fullname,e.domainname,e.businessunitid?.name??`N/A`,e.isdisabled?`Disabled`:`Enabled`];i.forEach(([e])=>{let n=t.some(t=>t.roleid===e);c.push(n?`X`:``)}),a.forEach(([e])=>{let t=n.some(t=>t.teamid===e);c.push(t?`X`:``)}),o.forEach(([e])=>{let t=r.some(t=>t.queueid===e);c.push(t?`X`:``)}),s.push(c.map(e=>`"${e}"`).join(`,`))});let l=``+s.join(`\r
10
+ `),u=new Date().toISOString().replace(/[:.]/g,`-`);await window.toolboxAPI.fileSystem.saveFile(`user-security-export-${u}.csv`,l),await window.toolboxAPI.utils.showNotification({title:`Export Successful`,body:`User security data has been exported to CSV successfully.`,type:`success`}),y.info(`Exported data to CSV successfully`)}catch(e){y.error(`Error exporting to CSV: ${e.message}`)}finally{ge(!1)}},[Se]),Ee=(0,_.useCallback)(async()=>{ve(!0);try{let e=[];e.push(`# User Security Report`),e.push(``),e.push(`Generated: ${new Date().toLocaleString()}`),e.push(``);for(let t of Se){let n=await C(t.systemuserid),r=await T(t.systemuserid),i=await te(t.systemuserid);e.push(``),e.push(`## ${t.fullname}`),e.push(``),e.push(`- **Domain Name:** ${t.domainname}`),e.push(`- **Business Unit:** ${t.businessunitid?.name??`N/A`}`),e.push(`- **Status:** ${t.isdisabled?`Disabled`:`Enabled`}`),n.length>0?(e.push(``),e.push(`### Security Roles`),e.push(``),n.forEach(t=>{e.push(`- ${t.name}${t.ismanaged?` (Managed)`:``}${t.businessunitid?` - ${t.businessunitid.name}`:``}`)})):(e.push(``),e.push(`*No security roles assigned*`)),r.length>0?(e.push(``),e.push(`### Team Memberships`),e.push(``),r.forEach(t=>{let n=t.teamtype===0?`Owner`:t.teamtype===1?`Access`:`Other`;e.push(`- ${t.name} (${n})${t.isdefault?` [Default]`:``}${t.businessunitid?` - ${t.businessunitid.name}`:``}`)})):(e.push(``),e.push(`*No team memberships*`)),i.length>0?(e.push(``),e.push(`### Queue Memberships`),e.push(``),i.forEach(t=>{let n=t.queuetypecode===1?`Private`:t.queuetypecode===2?`Public`:`Unknown`;e.push(`- ${t.name} (${n})`)})):(e.push(``),e.push(`*No queue memberships*`))}let t=e.join(`
11
+ `);await window.toolboxAPI.utils.copyToClipboard(t),await window.toolboxAPI.utils.showNotification({title:`Copy Successful`,body:`User security data has been copied to clipboard as Markdown successfully.`,type:`success`}),y.info(`Copied data to clipboard as Markdown successfully`)}catch(e){y.error(`Error exporting to Markdown: ${e.message}`)}finally{ve(!1)}},[Se]),De=(0,_.useCallback)(async()=>{ge(!0);try{let e=[];for(let t of Ce){let n=await w(t.teamid),r=await ee(t.teamid);e.push({team:t,roles:n,members:r})}let t=new Map,n=new Map;e.forEach(({roles:e,members:r})=>{e.forEach(e=>t.set(e.roleid,e.name)),r.forEach(e=>n.set(e.systemuserid,e.fullname))});let r=Array.from(t.entries()).sort((e,t)=>e[1].localeCompare(t[1])),i=Array.from(n.entries()).sort((e,t)=>e[1].localeCompare(t[1])),a=[],o=[`Team Name`,`Team Type`,`Business Unit`];r.forEach(([,e])=>o.push(`Role: ${e}`)),i.forEach(([,e])=>o.push(`Member: ${e}`)),a.push(o.map(e=>`"${e}"`).join(`,`)),e.forEach(({team:e,roles:t,members:n})=>{let o=e.teamtype===0?`Owner`:e.teamtype===1?`Access`:`Other`,s=[e.name,o,e.businessunitid?.name??`N/A`];r.forEach(([e])=>{let n=t.some(t=>t.roleid===e);s.push(n?`X`:``)}),i.forEach(([e])=>{let t=n.some(t=>t.systemuserid===e);s.push(t?`X`:``)}),a.push(s.map(e=>`"${e}"`).join(`,`))});let s=``+a.join(`\r
12
+ `),c=new Date().toISOString().replace(/[:.]/g,`-`);await window.toolboxAPI.fileSystem.saveFile(`team-security-export-${c}.csv`,s),await window.toolboxAPI.utils.showNotification({title:`Export Successful`,body:`Team security data has been exported to CSV successfully.`,type:`success`}),y.info(`Exported team data to CSV successfully`)}catch(e){y.error(`Error exporting to CSV: ${e.message}`)}finally{ge(!1)}},[Ce]),Oe=(0,_.useCallback)(async()=>{ve(!0);try{let e=[];e.push(`# Team Security Report`),e.push(``),e.push(`Generated: ${new Date().toLocaleString()}`),e.push(``);for(let t of Ce){let n=await w(t.teamid),r=await ee(t.teamid);e.push(``),e.push(`## ${t.name}`),e.push(``);let i=t.teamtype===0?`Owner`:t.teamtype===1?`Access`:`Other`;e.push(`- **Team Type:** ${i}`),e.push(`- **Business Unit:** ${t.businessunitid?.name??`N/A`}`),e.push(`- **Default Team:** ${t.isdefault?`Yes`:`No`}`),n.length>0?(e.push(``),e.push(`### Security Roles`),e.push(``),n.forEach(t=>{e.push(`- ${t.name}${t.ismanaged?` (Managed)`:``}${t.businessunitid?` - ${t.businessunitid.name}`:``}`)})):(e.push(``),e.push(`*No security roles assigned*`)),r.length>0?(e.push(``),e.push(`### Team Members`),e.push(``),r.sort((e,t)=>e.fullname.localeCompare(t.fullname)).forEach(t=>{e.push(`- ${t.fullname} (${t.domainname})${t.isdisabled?` [Disabled]`:``}${t.businessunitid?` - ${t.businessunitid.name}`:``}`)})):(e.push(``),e.push(`*No team members*`))}let t=e.join(`
13
+ `);await window.toolboxAPI.utils.copyToClipboard(t),await window.toolboxAPI.utils.showNotification({title:`Copy Successful`,body:`Team security data has been copied to clipboard as Markdown successfully.`,type:`success`}),y.info(`Copied team data to clipboard as Markdown successfully`)}catch(e){y.error(`Error exporting to Markdown: ${e.message}`)}finally{ve(!1)}},[Ce]);return(0,H.jsx)(`div`,{className:ye.overviewRoot,children:h?(0,H.jsx)(`div`,{className:ye.loadingContainer,children:(0,H.jsx)(Lh,{label:`Loading data...`,size:`large`})}):(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(`div`,{className:ye.filterSection,children:[(0,H.jsx)(Xy,{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(null),E([]),ae([])},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`&&(0,H.jsxs)(`div`,{className:ye.buttonContainer,children:[(0,H.jsx)(xd,{appearance:`primary`,icon:he?(0,H.jsx)(Lh,{size:`tiny`}):(0,H.jsx)(od,{}),onClick:Te,disabled:he||_e||Se.length===0,children:he?`Exporting...`:`Export to CSV`}),(0,H.jsx)(xd,{appearance:`secondary`,icon:_e?(0,H.jsx)(Lh,{size:`tiny`}):(0,H.jsx)(ad,{}),onClick:Ee,disabled:he||_e||Se.length===0,children:_e?`Copying...`:`Copy as Markdown`})]}),a===`team`&&(0,H.jsxs)(`div`,{className:ye.buttonContainer,children:[(0,H.jsx)(xd,{appearance:`primary`,icon:he?(0,H.jsx)(Lh,{size:`tiny`}):(0,H.jsx)(od,{}),onClick:De,disabled:he||_e||Ce.length===0,children:he?`Exporting...`:`Export to CSV`}),(0,H.jsx)(xd,{appearance:`secondary`,icon:_e?(0,H.jsx)(Lh,{size:`tiny`}):(0,H.jsx)(ad,{}),onClick:Oe,disabled:he||_e||Ce.length===0,children:_e?`Copying...`:`Copy as Markdown`})]})]}),(0,H.jsxs)(`div`,{className:ye.dataSection,children:[(0,H.jsxs)(`div`,{className:ye.gridSection,children:[a===`systemuser`&&Se.length===0&&(0,H.jsx)(Uh,{children:`No system users found.`}),a===`team`&&Ce.length===0&&(0,H.jsx)(Uh,{children:`No teams found.`}),(a===`systemuser`&&Se.length>0||a===`team`&&Ce.length>0)&&(0,H.jsx)(Qy,{entityType:a,systemUsers:Se,teams:Ce,selectedId:v,onSelectionChange:xe})]}),v&&(0,H.jsx)(eb,{entityType:a,entityName:we(),roles:ne,isLoadingRoles:D,userTeams:ie,isLoadingTeams:oe,userQueues:ce,isLoadingQueues:ue,teamMembers:de,isLoadingTeamMembers:pe})]})]})})};function nb(){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 rb(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 ib=``+new URL(`user-team-security_small-B9V3XVfW.png`,document.currentScript&&document.currentScript.tagName.toUpperCase()===`SCRIPT`&&document.currentScript.src||document.baseURI).href,ab=Gr({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 ob(){let{connection:e,refreshConnection:t}=nb(),[n,r]=(0,_.useState)(Xl),i=ab(),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`?Xl:Ul),y.info(`Theme updated:${e}`)}return rb(a),(0,_.useEffect)(()=>{(async()=>{await o(),y.info(`Initialized`)})()},[]),(0,H.jsx)(fu,{theme:n,children:(0,H.jsxs)(`div`,{className:i.container,children:[(0,H.jsxs)(`div`,{className:i.header,children:[(0,H.jsx)(`img`,{src:ib,alt:`User & Team Security Viewer Icon`,className:i.headerIcon}),(0,H.jsxs)(`div`,{className:i.headerTitle,children:[(0,H.jsx)(Kh,{children:`User & Team Security Documentation Generator`}),(0,H.jsx)(Uh,{className:i.subtitle,children:`A Power Platform Tool Box tool to show user & team security easily.`})]})]}),(0,H.jsx)(`div`,{className:i.content,children:(0,H.jsx)(tb,{connection:e})})]})})}var sb=document.getElementById(`root`);sb&&!sb.hasAttribute(`data-reactroot-initialized`)?(sb.setAttribute(`data-reactroot-initialized`,`true`),(0,v.createRoot)(sb).render((0,H.jsx)(_.StrictMode,{children:(0,H.jsx)(ob,{})}))):sb||console.error(`Root element not found. Make sure the HTML contains <div id="root"></div>`)})();