@babylonjs/gui-editor 9.5.1 → 9.5.2

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,2 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@babylonjs/core"),require("@babylonjs/gui")):"function"==typeof define&&define.amd?define(["exports","@babylonjs/core","@babylonjs/gui"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).GUIEDITOR=e.GUIEDITOR||{},e.BABYLON,e.BABYLON.GUI)}(this,function(e,t,r){"use strict";function o(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if("default"!==r&&!(r in e)){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}})}),e}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var a,i={exports:{}},l={};i.exports,i.exports=function(){if(a)return l;a=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,v={};function m(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||h}function b(){}function C(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||h}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var y=C.prototype=new b;y.constructor=C,g(y,m.prototype),y.isPureReactComponent=!0;var x=Array.isArray,w=Object.prototype.hasOwnProperty,k={current:null},B={key:!0,ref:!0,__self:!0,__source:!0};function z(t,r,o){var n,a={},i=null,l=null;if(null!=r)for(n in void 0!==r.ref&&(l=r.ref),void 0!==r.key&&(i=""+r.key),r)w.call(r,n)&&!B.hasOwnProperty(n)&&(a[n]=r[n]);var s=arguments.length-2;if(1===s)a.children=o;else if(1<s){for(var c=Array(s),d=0;d<s;d++)c[d]=arguments[d+2];a.children=c}if(t&&t.defaultProps)for(n in s=t.defaultProps)void 0===a[n]&&(a[n]=s[n]);return{$$typeof:e,type:t,key:i,ref:l,props:a,_owner:k.current}}function j(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var S=/\/+/g;function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function _(r,o,n,a,i){var l=typeof r;"undefined"!==l&&"boolean"!==l||(r=null);var s=!1;if(null===r)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(r.$$typeof){case e:case t:s=!0}}if(s)return i=i(s=r),r=""===a?"."+N(s,0):a,x(i)?(n="",null!=r&&(n=r.replace(S,"$&/")+"/"),_(i,o,n,"",function(e){return e})):null!=i&&(j(i)&&(i=function(t,r){return{$$typeof:e,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+r)),o.push(i)),1;if(s=0,a=""===a?".":a+":",x(r))for(var c=0;c<r.length;c++){var d=a+N(l=r[c],c);s+=_(l,o,n,d,i)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(r),"function"==typeof d)for(r=d.call(r),c=0;!(l=r.next()).done;)s+=_(l=l.value,o,n,d=a+N(l,c++),i);else if("object"===l)throw o=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===o?"object with keys {"+Object.keys(r).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return s}function T(e,t,r){if(null==e)return e;var o=[],n=0;return _(e,o,"","",function(e){return t.call(r,e,n++)}),o}function q(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var F={current:null},D={transition:null},E={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:D,ReactCurrentOwner:k};function P(){throw Error("act(...) is not supported in production builds of React.")}return l.Children={map:T,forEach:function(e,t,r){T(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return T(e,function(){t++}),t},toArray:function(e){return T(e,function(e){return e})||[]},only:function(e){if(!j(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},l.Component=m,l.Fragment=r,l.Profiler=n,l.PureComponent=C,l.StrictMode=o,l.Suspense=d,l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E,l.act=P,l.cloneElement=function(t,r,o){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var n=g({},t.props),a=t.key,i=t.ref,l=t._owner;if(null!=r){if(void 0!==r.ref&&(i=r.ref,l=k.current),void 0!==r.key&&(a=""+r.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(c in r)w.call(r,c)&&!B.hasOwnProperty(c)&&(n[c]=void 0===r[c]&&void 0!==s?s[c]:r[c])}var c=arguments.length-2;if(1===c)n.children=o;else if(1<c){s=Array(c);for(var d=0;d<c;d++)s[d]=arguments[d+2];n.children=s}return{$$typeof:e,type:t.type,key:a,ref:i,props:n,_owner:l}},l.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},l.createElement=z,l.createFactory=function(e){var t=z.bind(null,e);return t.type=e,t},l.createRef=function(){return{current:null}},l.forwardRef=function(e){return{$$typeof:c,render:e}},l.isValidElement=j,l.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:q}},l.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},l.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},l.unstable_act=P,l.useCallback=function(e,t){return F.current.useCallback(e,t)},l.useContext=function(e){return F.current.useContext(e)},l.useDebugValue=function(){},l.useDeferredValue=function(e){return F.current.useDeferredValue(e)},l.useEffect=function(e,t){return F.current.useEffect(e,t)},l.useId=function(){return F.current.useId()},l.useImperativeHandle=function(e,t,r){return F.current.useImperativeHandle(e,t,r)},l.useInsertionEffect=function(e,t){return F.current.useInsertionEffect(e,t)},l.useLayoutEffect=function(e,t){return F.current.useLayoutEffect(e,t)},l.useMemo=function(e,t){return F.current.useMemo(e,t)},l.useReducer=function(e,t,r){return F.current.useReducer(e,t,r)},l.useRef=function(e){return F.current.useRef(e)},l.useState=function(e){return F.current.useState(e)},l.useSyncExternalStore=function(e,t,r){return F.current.useSyncExternalStore(e,t,r)},l.useTransition=function(){return F.current.useTransition()},l.version="18.3.1",l}();var s,c,d,u=i.exports,f=n(u),p=o({__proto__:null,default:f},[u]),h={},g={exports:{}},v={},m={exports:{}},b={};function C(){return c||(c=1,m.exports=(s||(s=1,function(e){function t(e,t){var r=e.length;e.push(t);e:for(;0<r;){var o=r-1>>>1,a=e[o];if(!(0<n(a,t)))break e;e[o]=t,e[r]=a,r=o}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var o=0,a=e.length,i=a>>>1;o<i;){var l=2*(o+1)-1,s=e[l],c=l+1,d=e[c];if(0>n(s,r))c<a&&0>n(d,s)?(e[o]=d,e[c]=r,o=c):(e[o]=s,e[l]=r,o=l);else{if(!(c<a&&0>n(d,r)))break e;e[o]=d,e[c]=r,o=c}}}return t}function n(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],c=[],d=1,u=null,f=3,p=!1,h=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function C(e){for(var n=r(c);null!==n;){if(null===n.callback)o(c);else{if(!(n.startTime<=e))break;o(c),n.sortIndex=n.expirationTime,t(s,n)}n=r(c)}}function y(e){if(g=!1,C(e),!h)if(null!==r(s))h=!0,F(x);else{var t=r(c);null!==t&&D(y,t.startTime-e)}}function x(t,n){h=!1,g&&(g=!1,m(z),z=-1),p=!0;var a=f;try{for(C(n),u=r(s);null!==u&&(!(u.expirationTime>n)||t&&!N());){var i=u.callback;if("function"==typeof i){u.callback=null,f=u.priorityLevel;var l=i(u.expirationTime<=n);n=e.unstable_now(),"function"==typeof l?u.callback=l:u===r(s)&&o(s),C(n)}else o(s);u=r(s)}if(null!==u)var d=!0;else{var v=r(c);null!==v&&D(y,v.startTime-n),d=!1}return d}finally{u=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,k=!1,B=null,z=-1,j=5,S=-1;function N(){return!(e.unstable_now()-S<j)}function _(){if(null!==B){var t=e.unstable_now();S=t;var r=!0;try{r=B(!0,t)}finally{r?w():(k=!1,B=null)}}else k=!1}if("function"==typeof b)w=function(){b(_)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,q=T.port2;T.port1.onmessage=_,w=function(){q.postMessage(null)}}else w=function(){v(_,0)};function F(e){B=e,k||(k=!0,w())}function D(t,r){z=v(function(){t(e.unstable_now())},r)}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(){h||p||(h=!0,F(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"):j=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return r(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},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 r=f;f=e;try{return t()}finally{f=r}},e.unstable_scheduleCallback=function(o,n,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,o){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return o={id:d++,callback:n,priorityLevel:o,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(o.sortIndex=a,t(c,o),null===r(s)&&o===r(c)&&(g?(m(z),z=-1):g=!0,D(y,a-i))):(o.sortIndex=l,t(s,o),h||p||(h=!0,F(x))),o},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}}(b)),b)),m.exports}m.exports,g.exports,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),g.exports=function(){if(d)return v;d=1;var e=u,t=C();function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 o=new Set,n={};function a(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(n[e]=t,e=0;e<t.length;e++)o.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=Object.prototype.hasOwnProperty,c=/^[: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={},p={};function h(e,t,r,o,n,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=n,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){g[e]=new h(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){g[e]=new h(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){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){g[e]=new h(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){g[e]=new h(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){g[e]=new h(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)});var m=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,r,o){var n=g.hasOwnProperty(t)?g[t]:null;(null!==n?0!==n.type:o||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,o){if(null==t||function(e,t,r,o){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,o))return!0;if(o)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,n,o)&&(r=null),o||null===n?function(e){return!!s.call(p,e)||!s.call(f,e)&&(c.test(e)?p[e]=!0:(f[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):n.mustUseProperty?e[n.propertyName]=null===r?3!==n.type&&"":r:(t=n.attributeName,o=n.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(n=n.type)||4===n&&!0===r?"":""+r,o?e.setAttributeNS(o,t,r):e.setAttribute(t,r))))}"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(m,b);g[t]=new h(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(m,b);g[t]=new h(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(m,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)}),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)});var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),N=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var E=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var P=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var O,A=Object.assign;function R(e){if(void 0===O)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);O=t&&t[1]||""}return"\n"+O+e}var M=!1;function H(e,t){if(!e||M)return"";M=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var o=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){o=e}e.call(t.prototype)}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var n=t.stack.split("\n"),a=o.stack.split("\n"),i=n.length-1,l=a.length-1;1<=i&&0<=l&&n[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(n[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||n[i]!==a[l]){var s="\n"+n[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{M=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?R(e):""}function L(e){switch(e.tag){case 5:return R(e.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return H(e.type,!1);case 11:return H(e.type.render,!1);case 1:return H(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case B:return"Fragment";case k:return"Portal";case j:return"Profiler";case z:return"StrictMode";case T:return"Suspense";case q:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case F:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function W(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=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===z?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var n=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(e){o=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=U(e)?e.checked?"true":"false":e.value),(e=o)!==r&&(t.setValue(e),!0)}function $(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var r=t.checked;return A({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function Y(e,t){var r=null==t.defaultValue?"":t.defaultValue,o=null!=t.checked?t.checked:t.defaultChecked;r=Z(null!=t.value?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function Q(e,t){J(e,t);var r=Z(t.value),o=t.type;if(null!=r)"number"===o?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===o||"reset"===o)return void e.removeAttribute("value");t.hasOwnProperty("value")?te(e,t.type,r):t.hasOwnProperty("defaultValue")&&te(e,t.type,Z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ee(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!("submit"!==o&&"reset"!==o||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function te(e,t,r){"number"===t&&$(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var re=Array.isArray;function oe(e,t,r,o){if(e=e.options,t){t={};for(var n=0;n<r.length;n++)t["$"+r[n]]=!0;for(r=0;r<e.length;r++)n=t.hasOwnProperty("$"+e[r].value),e[r].selected!==n&&(e[r].selected=n),n&&o&&(e[r].defaultSelected=!0)}else{for(r=""+Z(r),t=null,n=0;n<e.length;n++){if(e[n].value===r)return e[n].selected=!0,void(o&&(e[n].defaultSelected=!0));null!==t||e[n].disabled||(t=e[n])}null!==t&&(t.selected=!0)}}function ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(r(91));return A({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var o=t.value;if(null==o){if(o=t.children,t=t.defaultValue,null!=o){if(null!=t)throw Error(r(92));if(re(o)){if(1<o.length)throw Error(r(93));o=o[0]}t=o}null==t&&(t=""),o=t}e._wrapperState={initialValue:Z(o)}}function ie(e,t){var r=Z(t.value),o=Z(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=o&&(e.defaultValue=""+o)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(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 ce(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var de,ue,fe=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((de=de||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=de.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,o){MSApp.execUnsafeLocalFunction(function(){return ue(e,t)})}:ue);function pe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var he={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},ge=["Webkit","ms","Moz","O"];function ve(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function me(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--"),n=ve(r,t[r],o);"float"===r&&(r="cssFloat"),o?e.setProperty(r,n):e[r]=n}}Object.keys(he).forEach(function(e){ge.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]})});var be=A({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 Ce(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(r(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(r(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(r(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(r(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Be=null,ze=null;function je(e){if(e=xn(e)){if("function"!=typeof ke)throw Error(r(280));var t=e.stateNode;t&&(t=kn(t),ke(e.stateNode,e.type,t))}}function Se(e){Be?ze?ze.push(e):ze=[e]:Be=e}function Ne(){if(Be){var e=Be,t=ze;if(ze=Be=null,je(e),t)for(e=0;e<t.length;e++)je(t[e])}}function _e(e,t){return e(t)}function Te(){}var qe=!1;function Fe(e,t,r){if(qe)return e(t,r);qe=!0;try{return _e(e,t,r)}finally{qe=!1,(null!==Be||null!==ze)&&(Te(),Ne())}}function De(e,t){var o=e.stateNode;if(null===o)return null;var n=kn(o);if(null===n)return null;o=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(o&&"function"!=typeof o)throw Error(r(231,t,typeof o));return o}var Ee=!1;if(l)try{var Pe={};Object.defineProperty(Pe,"passive",{get:function(){Ee=!0}}),window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch(ue){Ee=!1}function Ie(e,t,r,o,n,a,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}var Oe=!1,Ae=null,Re=!1,Me=null,He={onError:function(e){Oe=!0,Ae=e}};function Le(e,t,r,o,n,a,i,l,s){Oe=!1,Ae=null,Ie.apply(He,arguments)}function Ve(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ze(e){if(Ve(e)!==e)throw Error(r(188))}function Ue(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(r(188));return t!==e?null:e}for(var o=e,n=t;;){var a=o.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(n=a.return)){o=n;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===o)return Ze(a),e;if(i===n)return Ze(a),t;i=i.sibling}throw Error(r(188))}if(o.return!==n.return)o=a,n=i;else{for(var l=!1,s=a.child;s;){if(s===o){l=!0,o=a,n=i;break}if(s===n){l=!0,n=a,o=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===o){l=!0,o=i,n=a;break}if(s===n){l=!0,n=i,o=a;break}s=s.sibling}if(!l)throw Error(r(189))}}if(o.alternate!==n)throw Error(r(190))}if(3!==o.tag)throw Error(r(188));return o.stateNode.current===o?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var Xe=t.unstable_scheduleCallback,$e=t.unstable_cancelCallback,Ke=t.unstable_shouldYield,Ye=t.unstable_requestPaint,Je=t.unstable_now,Qe=t.unstable_getCurrentPriorityLevel,et=t.unstable_ImmediatePriority,tt=t.unstable_UserBlockingPriority,rt=t.unstable_NormalPriority,ot=t.unstable_LowPriority,nt=t.unstable_IdlePriority,at=null,it=null,lt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(st(e)/ct|0)|0},st=Math.log,ct=Math.LN2,dt=64,ut=4194304;function ft(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var r=e.pendingLanes;if(0===r)return 0;var o=0,n=e.suspendedLanes,a=e.pingedLanes,i=268435455&r;if(0!==i){var l=i&~n;0!==l?o=ft(l):0!==(a&=i)&&(o=ft(a))}else 0!==(i=r&~n)?o=ft(i):0!==a&&(o=ft(a));if(0===o)return 0;if(0!==t&&t!==o&&0===(t&n)&&((n=o&-o)>=(a=t&-t)||16===n&&4194240&a))return t;if(4&o&&(o|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=o;0<t;)n=1<<(r=31-lt(t)),o|=e[r],t&=~n;return o}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function gt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=dt;return!(4194240&(dt<<=1))&&(dt=64),e}function mt(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function bt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-lt(t)]=r}function Ct(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-lt(r),n=1<<o;n&t|e[o]&t&&(e[o]|=t),r&=~n}}var yt=0;function xt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,kt,Bt,zt,jt,St=!1,Nt=[],_t=null,Tt=null,qt=null,Ft=new Map,Dt=new Map,Et=[],Pt="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 It(e,t){switch(e){case"focusin":case"focusout":_t=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":qt=null;break;case"pointerover":case"pointerout":Ft.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(t.pointerId)}}function Ot(e,t,r,o,n,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:a,targetContainers:[n]},null!==t&&null!==(t=xn(t))&&kt(t),e):(e.eventSystemFlags|=o,t=e.targetContainers,null!==n&&-1===t.indexOf(n)&&t.push(n),e)}function At(e){var t=yn(e.target);if(null!==t){var r=Ve(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=We(r)))return e.blockedOn=t,void jt(e.priority,function(){Bt(r)})}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=xn(r))&&kt(t),e.blockedOn=r,!1;var o=new(r=e.nativeEvent).constructor(r.type,r);xe=o,r.target.dispatchEvent(o),xe=null,t.shift()}return!0}function Mt(e,t,r){Rt(e)&&r.delete(t)}function Ht(){St=!1,null!==_t&&Rt(_t)&&(_t=null),null!==Tt&&Rt(Tt)&&(Tt=null),null!==qt&&Rt(qt)&&(qt=null),Ft.forEach(Mt),Dt.forEach(Mt)}function Lt(e,r){e.blockedOn===r&&(e.blockedOn=null,St||(St=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ht)))}function Vt(e){function t(t){return Lt(t,e)}if(0<Nt.length){Lt(Nt[0],e);for(var r=1;r<Nt.length;r++){var o=Nt[r];o.blockedOn===e&&(o.blockedOn=null)}}for(null!==_t&&Lt(_t,e),null!==Tt&&Lt(Tt,e),null!==qt&&Lt(qt,e),Ft.forEach(t),Dt.forEach(t),r=0;r<Et.length;r++)(o=Et[r]).blockedOn===e&&(o.blockedOn=null);for(;0<Et.length&&null===(r=Et[0]).blockedOn;)At(r),null===r.blockedOn&&Et.shift()}var Wt=x.ReactCurrentBatchConfig,Zt=!0;function Ut(e,t,r,o){var n=yt,a=Wt.transition;Wt.transition=null;try{yt=1,Xt(e,t,r,o)}finally{yt=n,Wt.transition=a}}function Gt(e,t,r,o){var n=yt,a=Wt.transition;Wt.transition=null;try{yt=4,Xt(e,t,r,o)}finally{yt=n,Wt.transition=a}}function Xt(e,t,r,o){if(Zt){var n=Kt(e,t,r,o);if(null===n)Zo(e,t,o,$t,r),It(e,o);else if(function(e,t,r,o,n){switch(t){case"focusin":return _t=Ot(_t,e,t,r,o,n),!0;case"dragenter":return Tt=Ot(Tt,e,t,r,o,n),!0;case"mouseover":return qt=Ot(qt,e,t,r,o,n),!0;case"pointerover":var a=n.pointerId;return Ft.set(a,Ot(Ft.get(a)||null,e,t,r,o,n)),!0;case"gotpointercapture":return a=n.pointerId,Dt.set(a,Ot(Dt.get(a)||null,e,t,r,o,n)),!0}return!1}(n,e,t,r,o))o.stopPropagation();else if(It(e,o),4&t&&-1<Pt.indexOf(e)){for(;null!==n;){var a=xn(n);if(null!==a&&wt(a),null===(a=Kt(e,t,r,o))&&Zo(e,t,o,$t,r),a===n)break;n=a}null!==n&&o.stopPropagation()}else Zo(e,t,o,null,r)}}var $t=null;function Kt(e,t,r,o){if($t=null,null!==(e=yn(e=we(o))))if(null===(t=Ve(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $t=e,null}function Yt(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(Qe()){case et:return 1;case tt:return 4;case rt:case ot:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Jt=null,Qt=null,er=null;function tr(){if(er)return er;var e,t,r=Qt,o=r.length,n="value"in Jt?Jt.value:Jt.textContent,a=n.length;for(e=0;e<o&&r[e]===n[e];e++);var i=o-e;for(t=1;t<=i&&r[o-t]===n[a-t];t++);return er=n.slice(e,1<t?1-t:void 0)}function rr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function or(){return!0}function nr(){return!1}function ar(e){function t(t,r,o,n,a){for(var i in this._reactName=t,this._targetInst=o,this.type=r,this.nativeEvent=n,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(n):n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?or:nr,this.isPropagationStopped=nr,this}return A(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=or)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=or)},persist:function(){},isPersistent:or}),t}var ir,lr,sr,cr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dr=ar(cr),ur=A({},cr,{view:0,detail:0}),fr=ar(ur),pr=A({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sr&&(sr&&"mousemove"===e.type?(ir=e.screenX-sr.screenX,lr=e.screenY-sr.screenY):lr=ir=0,sr=e),ir)},movementY:function(e){return"movementY"in e?e.movementY:lr}}),hr=ar(pr),gr=ar(A({},pr,{dataTransfer:0})),vr=ar(A({},ur,{relatedTarget:0})),mr=ar(A({},cr,{animationName:0,elapsedTime:0,pseudoElement:0})),br=A({},cr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cr=ar(br),yr=ar(A({},cr,{data:0})),xr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wr={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"},kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Br(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kr[e])&&!!t[e]}function zr(){return Br}var jr=A({},ur,{key:function(e){if(e.key){var t=xr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zr,charCode:function(e){return"keypress"===e.type?rr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Sr=ar(jr),Nr=ar(A({},pr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),_r=ar(A({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zr})),Tr=ar(A({},cr,{propertyName:0,elapsedTime:0,pseudoElement:0})),qr=A({},pr,{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}),Fr=ar(qr),Dr=[9,13,27,32],Er=l&&"CompositionEvent"in window,Pr=null;l&&"documentMode"in document&&(Pr=document.documentMode);var Ir=l&&"TextEvent"in window&&!Pr,Or=l&&(!Er||Pr&&8<Pr&&11>=Pr),Ar=String.fromCharCode(32),Rr=!1;function Mr(e,t){switch(e){case"keyup":return-1!==Dr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Lr=!1,Vr={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 Wr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vr[e.type]:"textarea"===t}function Zr(e,t,r,o){Se(o),0<(t=Go(t,"onChange")).length&&(r=new dr("onChange","change",null,r,o),e.push({event:r,listeners:t}))}var Ur=null,Gr=null;function Xr(e){Ro(e,0)}function $r(e){if(X(wn(e)))return e}function Kr(e,t){if("change"===e)return t}var Yr=!1;if(l){var Jr;if(l){var Qr="oninput"in document;if(!Qr){var eo=document.createElement("div");eo.setAttribute("oninput","return;"),Qr="function"==typeof eo.oninput}Jr=Qr}else Jr=!1;Yr=Jr&&(!document.documentMode||9<document.documentMode)}function to(){Ur&&(Ur.detachEvent("onpropertychange",ro),Gr=Ur=null)}function ro(e){if("value"===e.propertyName&&$r(Gr)){var t=[];Zr(t,Gr,e,we(e)),Fe(Xr,t)}}function oo(e,t,r){"focusin"===e?(to(),Gr=r,(Ur=t).attachEvent("onpropertychange",ro)):"focusout"===e&&to()}function no(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $r(Gr)}function ao(e,t){if("click"===e)return $r(t)}function io(e,t){if("input"===e||"change"===e)return $r(t)}var lo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function so(e,t){if(lo(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var n=r[o];if(!s.call(t,n)||!lo(e[n],t[n]))return!1}return!0}function co(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function uo(e,t){var r,o=co(e);for(e=0;o;){if(3===o.nodeType){if(r=e+o.textContent.length,e<=t&&r>=t)return{node:o,offset:t-e};e=r}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=co(o)}}function fo(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fo(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function po(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=$((e=t.contentWindow).document)}return t}function ho(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function go(e){var t=po(),r=e.focusedElem,o=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&fo(r.ownerDocument.documentElement,r)){if(null!==o&&ho(r))if(t=o.start,void 0===(e=o.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var n=r.textContent.length,a=Math.min(o.start,n);o=void 0===o.end?a:Math.min(o.end,n),!e.extend&&a>o&&(n=o,o=a,a=n),n=uo(r,a);var i=uo(r,o);n&&i&&(1!==e.rangeCount||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(n.node,n.offset),e.removeAllRanges(),a>o?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vo=l&&"documentMode"in document&&11>=document.documentMode,mo=null,bo=null,Co=null,yo=!1;function xo(e,t,r){var o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;yo||null==mo||mo!==$(o)||(o="selectionStart"in(o=mo)&&ho(o)?{start:o.selectionStart,end:o.selectionEnd}:{anchorNode:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset},Co&&so(Co,o)||(Co=o,0<(o=Go(bo,"onSelect")).length&&(t=new dr("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=mo)))}function wo(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var ko={animationend:wo("Animation","AnimationEnd"),animationiteration:wo("Animation","AnimationIteration"),animationstart:wo("Animation","AnimationStart"),transitionend:wo("Transition","TransitionEnd")},Bo={},zo={};function jo(e){if(Bo[e])return Bo[e];if(!ko[e])return e;var t,r=ko[e];for(t in r)if(r.hasOwnProperty(t)&&t in zo)return Bo[e]=r[t];return e}l&&(zo=document.createElement("div").style,"AnimationEvent"in window||(delete ko.animationend.animation,delete ko.animationiteration.animation,delete ko.animationstart.animation),"TransitionEvent"in window||delete ko.transitionend.transition);var So=jo("animationend"),No=jo("animationiteration"),_o=jo("animationstart"),To=jo("transitionend"),qo=new Map,Fo="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 Do(e,t){qo.set(e,t),a(t,[e])}for(var Eo=0;Eo<Fo.length;Eo++){var Po=Fo[Eo];Do(Po.toLowerCase(),"on"+(Po[0].toUpperCase()+Po.slice(1)))}Do(So,"onAnimationEnd"),Do(No,"onAnimationIteration"),Do(_o,"onAnimationStart"),Do("dblclick","onDoubleClick"),Do("focusin","onFocus"),Do("focusout","onBlur"),Do(To,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Io="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(" "),Oo=new Set("cancel close invalid load scroll toggle".split(" ").concat(Io));function Ao(e,t,o){var n=e.type||"unknown-event";e.currentTarget=o,function(e,t,o,n,a,i,l,s,c){if(Le.apply(this,arguments),Oe){if(!Oe)throw Error(r(198));var d=Ae;Oe=!1,Ae=null,Re||(Re=!0,Me=d)}}(n,t,void 0,e),e.currentTarget=null}function Ro(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var o=e[r],n=o.event;o=o.listeners;e:{var a=void 0;if(t)for(var i=o.length-1;0<=i;i--){var l=o[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&n.isPropagationStopped())break e;Ao(n,l,c),a=s}else for(i=0;i<o.length;i++){if(s=(l=o[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&n.isPropagationStopped())break e;Ao(n,l,c),a=s}}}if(Re)throw e=Me,Re=!1,Me=null,e}function Mo(e,t){var r=t[mn];void 0===r&&(r=t[mn]=new Set);var o=e+"__bubble";r.has(o)||(Wo(t,e,2,!1),r.add(o))}function Ho(e,t,r){var o=0;t&&(o|=4),Wo(r,e,o,t)}var Lo="_reactListening"+Math.random().toString(36).slice(2);function Vo(e){if(!e[Lo]){e[Lo]=!0,o.forEach(function(t){"selectionchange"!==t&&(Oo.has(t)||Ho(t,!1,e),Ho(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Lo]||(t[Lo]=!0,Ho("selectionchange",!1,t))}}function Wo(e,t,r,o){switch(Yt(t)){case 1:var n=Ut;break;case 4:n=Gt;break;default:n=Xt}r=n.bind(null,t,r,e),n=void 0,!Ee||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(n=!0),o?void 0!==n?e.addEventListener(t,r,{capture:!0,passive:n}):e.addEventListener(t,r,!0):void 0!==n?e.addEventListener(t,r,{passive:n}):e.addEventListener(t,r,!1)}function Zo(e,t,r,o,n){var a=o;if(!(1&t||2&t||null===o))e:for(;;){if(null===o)return;var i=o.tag;if(3===i||4===i){var l=o.stateNode.containerInfo;if(l===n||8===l.nodeType&&l.parentNode===n)break;if(4===i)for(i=o.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===n||8===s.nodeType&&s.parentNode===n))return;i=i.return}for(;null!==l;){if(null===(i=yn(l)))return;if(5===(s=i.tag)||6===s){o=a=i;continue e}l=l.parentNode}}o=o.return}Fe(function(){var o=a,n=we(r),i=[];e:{var l=qo.get(e);if(void 0!==l){var s=dr,c=e;switch(e){case"keypress":if(0===rr(r))break e;case"keydown":case"keyup":s=Sr;break;case"focusin":c="focus",s=vr;break;case"focusout":c="blur",s=vr;break;case"beforeblur":case"afterblur":s=vr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=gr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=_r;break;case So:case No:case _o:s=mr;break;case To:s=Tr;break;case"scroll":s=fr;break;case"wheel":s=Fr;break;case"copy":case"cut":case"paste":s=Cr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Nr}var d=!!(4&t),u=!d&&"scroll"===e,f=d?null!==l?l+"Capture":null:l;d=[];for(var p,h=o;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&null!=(g=De(h,f))&&d.push(Uo(h,g,p))),u)break;h=h.return}0<d.length&&(l=new s(l,c,null,r,n),i.push({event:l,listeners:d}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||r===xe||!(c=r.relatedTarget||r.fromElement)||!yn(c)&&!c[vn])&&(s||l)&&(l=n.window===n?n:(l=n.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=o,null!==(c=(c=r.relatedTarget||r.toElement)?yn(c):null)&&(c!==(u=Ve(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=o),s!==c)){if(d=hr,g="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(d=Nr,g="onPointerLeave",f="onPointerEnter",h="pointer"),u=null==s?l:wn(s),p=null==c?l:wn(c),(l=new d(g,h+"leave",s,r,n)).target=u,l.relatedTarget=p,g=null,yn(n)===o&&((d=new d(f,h+"enter",c,r,n)).target=p,d.relatedTarget=u,g=d),u=g,s&&c)e:{for(f=c,h=0,p=d=s;p;p=Xo(p))h++;for(p=0,g=f;g;g=Xo(g))p++;for(;0<h-p;)d=Xo(d),h--;for(;0<p-h;)f=Xo(f),p--;for(;h--;){if(d===f||null!==f&&d===f.alternate)break e;d=Xo(d),f=Xo(f)}d=null}else d=null;null!==s&&$o(i,l,s,d,!1),null!==c&&null!==u&&$o(i,u,c,d,!0)}if("select"===(s=(l=o?wn(o):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Kr;else if(Wr(l))if(Yr)v=io;else{v=no;var m=oo}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ao);switch(v&&(v=v(e,o))?Zr(i,v,r,n):(m&&m(e,l,o),"focusout"===e&&(m=l._wrapperState)&&m.controlled&&"number"===l.type&&te(l,"number",l.value)),m=o?wn(o):window,e){case"focusin":(Wr(m)||"true"===m.contentEditable)&&(mo=m,bo=o,Co=null);break;case"focusout":Co=bo=mo=null;break;case"mousedown":yo=!0;break;case"contextmenu":case"mouseup":case"dragend":yo=!1,xo(i,r,n);break;case"selectionchange":if(vo)break;case"keydown":case"keyup":xo(i,r,n)}var b;if(Er)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else Lr?Mr(e,r)&&(C="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(C="onCompositionStart");C&&(Or&&"ko"!==r.locale&&(Lr||"onCompositionStart"!==C?"onCompositionEnd"===C&&Lr&&(b=tr()):(Qt="value"in(Jt=n)?Jt.value:Jt.textContent,Lr=!0)),0<(m=Go(o,C)).length&&(C=new yr(C,e,null,r,n),i.push({event:C,listeners:m}),(b||null!==(b=Hr(r)))&&(C.data=b))),(b=Ir?function(e,t){switch(e){case"compositionend":return Hr(t);case"keypress":return 32!==t.which?null:(Rr=!0,Ar);case"textInput":return(e=t.data)===Ar&&Rr?null:e;default:return null}}(e,r):function(e,t){if(Lr)return"compositionend"===e||!Er&&Mr(e,t)?(e=tr(),er=Qt=Jt=null,Lr=!1,e):null;switch(e){case"paste":default: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 Or&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(o=Go(o,"onBeforeInput")).length&&(n=new yr("onBeforeInput","beforeinput",null,r,n),i.push({event:n,listeners:o}),n.data=b)}Ro(i,t)})}function Uo(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Go(e,t){for(var r=t+"Capture",o=[];null!==e;){var n=e,a=n.stateNode;5===n.tag&&null!==a&&(n=a,null!=(a=De(e,r))&&o.unshift(Uo(e,a,n)),null!=(a=De(e,t))&&o.push(Uo(e,a,n))),e=e.return}return o}function Xo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function $o(e,t,r,o,n){for(var a=t._reactName,i=[];null!==r&&r!==o;){var l=r,s=l.alternate,c=l.stateNode;if(null!==s&&s===o)break;5===l.tag&&null!==c&&(l=c,n?null!=(s=De(r,a))&&i.unshift(Uo(r,s,l)):n||null!=(s=De(r,a))&&i.push(Uo(r,s,l))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var Ko=/\r\n?/g,Yo=/\u0000|\uFFFD/g;function Jo(e){return("string"==typeof e?e:""+e).replace(Ko,"\n").replace(Yo,"")}function Qo(e,t,o){if(t=Jo(t),Jo(e)!==t&&o)throw Error(r(425))}function en(){}var tn=null,rn=null;function on(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var nn="function"==typeof setTimeout?setTimeout:void 0,an="function"==typeof clearTimeout?clearTimeout:void 0,ln="function"==typeof Promise?Promise:void 0,sn="function"==typeof queueMicrotask?queueMicrotask:void 0!==ln?function(e){return ln.resolve(null).then(e).catch(cn)}:nn;function cn(e){setTimeout(function(){throw e})}function dn(e,t){var r=t,o=0;do{var n=r.nextSibling;if(e.removeChild(r),n&&8===n.nodeType)if("/$"===(r=n.data)){if(0===o)return e.removeChild(n),void Vt(t);o--}else"$"!==r&&"$?"!==r&&"$!"!==r||o++;r=n}while(r);Vt(t)}function un(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function fn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var pn=Math.random().toString(36).slice(2),hn="__reactFiber$"+pn,gn="__reactProps$"+pn,vn="__reactContainer$"+pn,mn="__reactEvents$"+pn,bn="__reactListeners$"+pn,Cn="__reactHandles$"+pn;function yn(e){var t=e[hn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[vn]||r[hn]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=fn(e);null!==e;){if(r=e[hn])return r;e=fn(e)}return t}r=(e=r).parentNode}return null}function xn(e){return!(e=e[hn]||e[vn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(r(33))}function kn(e){return e[gn]||null}var Bn=[],zn=-1;function jn(e){return{current:e}}function Sn(e){0>zn||(e.current=Bn[zn],Bn[zn]=null,zn--)}function Nn(e,t){zn++,Bn[zn]=e.current,e.current=t}var _n={},Tn=jn(_n),qn=jn(!1),Fn=_n;function Dn(e,t){var r=e.type.contextTypes;if(!r)return _n;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var n,a={};for(n in r)a[n]=t[n];return o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function En(e){return null!=e.childContextTypes}function Pn(){Sn(qn),Sn(Tn)}function In(e,t,o){if(Tn.current!==_n)throw Error(r(168));Nn(Tn,t),Nn(qn,o)}function On(e,t,o){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return o;for(var a in n=n.getChildContext())if(!(a in t))throw Error(r(108,W(e)||"Unknown",a));return A({},o,n)}function An(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_n,Fn=Tn.current,Nn(Tn,e),Nn(qn,qn.current),!0}function Rn(e,t,o){var n=e.stateNode;if(!n)throw Error(r(169));o?(e=On(e,t,Fn),n.__reactInternalMemoizedMergedChildContext=e,Sn(qn),Sn(Tn),Nn(Tn,e)):Sn(qn),Nn(qn,o)}var Mn=null,Hn=!1,Ln=!1;function Vn(e){null===Mn?Mn=[e]:Mn.push(e)}function Wn(){if(!Ln&&null!==Mn){Ln=!0;var e=0,t=yt;try{var r=Mn;for(yt=1;e<r.length;e++){var o=r[e];do{o=o(!0)}while(null!==o)}Mn=null,Hn=!1}catch(t){throw null!==Mn&&(Mn=Mn.slice(e+1)),Xe(et,Wn),t}finally{yt=t,Ln=!1}}return null}var Zn=[],Un=0,Gn=null,Xn=0,$n=[],Kn=0,Yn=null,Jn=1,Qn="";function ea(e,t){Zn[Un++]=Xn,Zn[Un++]=Gn,Gn=e,Xn=t}function ta(e,t,r){$n[Kn++]=Jn,$n[Kn++]=Qn,$n[Kn++]=Yn,Yn=e;var o=Jn;e=Qn;var n=32-lt(o)-1;o&=~(1<<n),r+=1;var a=32-lt(t)+n;if(30<a){var i=n-n%5;a=(o&(1<<i)-1).toString(32),o>>=i,n-=i,Jn=1<<32-lt(t)+n|r<<n|o,Qn=a+e}else Jn=1<<a|r<<n|o,Qn=e}function ra(e){null!==e.return&&(ea(e,1),ta(e,1,0))}function oa(e){for(;e===Gn;)Gn=Zn[--Un],Zn[Un]=null,Xn=Zn[--Un],Zn[Un]=null;for(;e===Yn;)Yn=$n[--Kn],$n[Kn]=null,Qn=$n[--Kn],$n[Kn]=null,Jn=$n[--Kn],$n[Kn]=null}var na=null,aa=null,ia=!1,la=null;function sa(e,t){var r=Fc(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function ca(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,na=e,aa=un(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,na=e,aa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Yn?{id:Jn,overflow:Qn}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=Fc(18,null,null,0)).stateNode=t,r.return=e,e.child=r,na=e,aa=null,!0);default:return!1}}function da(e){return!(!(1&e.mode)||128&e.flags)}function ua(e){if(ia){var t=aa;if(t){var o=t;if(!ca(e,t)){if(da(e))throw Error(r(418));t=un(o.nextSibling);var n=na;t&&ca(e,t)?sa(n,o):(e.flags=-4097&e.flags|2,ia=!1,na=e)}}else{if(da(e))throw Error(r(418));e.flags=-4097&e.flags|2,ia=!1,na=e}}}function fa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;na=e}function pa(e){if(e!==na)return!1;if(!ia)return fa(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!on(e.type,e.memoizedProps)),t&&(t=aa)){if(da(e))throw ha(),Error(r(418));for(;t;)sa(e,t),t=un(t.nextSibling)}if(fa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var o=e.data;if("/$"===o){if(0===t){aa=un(e.nextSibling);break e}t--}else"$"!==o&&"$!"!==o&&"$?"!==o||t++}e=e.nextSibling}aa=null}}else aa=na?un(e.stateNode.nextSibling):null;return!0}function ha(){for(var e=aa;e;)e=un(e.nextSibling)}function ga(){aa=na=null,ia=!1}function va(e){null===la?la=[e]:la.push(e)}var ma=x.ReactCurrentBatchConfig;function ba(e,t,o){if(null!==(e=o.ref)&&"function"!=typeof e&&"object"!=typeof e){if(o._owner){if(o=o._owner){if(1!==o.tag)throw Error(r(309));var n=o.stateNode}if(!n)throw Error(r(147,e));var a=n,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(r(284));if(!o._owner)throw Error(r(290,e))}return e}function Ca(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ya(e){return(0,e._init)(e._payload)}function xa(e){function t(t,r){if(e){var o=t.deletions;null===o?(t.deletions=[r],t.flags|=16):o.push(r)}}function o(r,o){if(!e)return null;for(;null!==o;)t(r,o),o=o.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ec(e,t)).index=0,e.sibling=null,e}function i(t,r,o){return t.index=o,e?null!==(o=t.alternate)?(o=o.index)<r?(t.flags|=2,r):o:(t.flags|=2,r):(t.flags|=1048576,r)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,r,o){return null===t||6!==t.tag?((t=Ac(r,e.mode,o)).return=e,t):((t=a(t,r)).return=e,t)}function c(e,t,r,o){var n=r.type;return n===B?u(e,t,r.props.children,o,r.key):null!==t&&(t.elementType===n||"object"==typeof n&&null!==n&&n.$$typeof===D&&ya(n)===t.type)?((o=a(t,r.props)).ref=ba(e,t,r),o.return=e,o):((o=Pc(r.type,r.key,r.props,null,e.mode,o)).ref=ba(e,t,r),o.return=e,o)}function d(e,t,r,o){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Rc(r,e.mode,o)).return=e,t):((t=a(t,r.children||[])).return=e,t)}function u(e,t,r,o,n){return null===t||7!==t.tag?((t=Ic(r,e.mode,o,n)).return=e,t):((t=a(t,r)).return=e,t)}function f(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Ac(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(r=Pc(t.type,t.key,t.props,null,e.mode,r)).ref=ba(e,null,t),r.return=e,r;case k:return(t=Rc(t,e.mode,r)).return=e,t;case D:return f(e,(0,t._init)(t._payload),r)}if(re(t)||I(t))return(t=Ic(t,e.mode,r,null)).return=e,t;Ca(e,t)}return null}function p(e,t,r,o){var n=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==n?null:s(e,t,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return r.key===n?c(e,t,r,o):null;case k:return r.key===n?d(e,t,r,o):null;case D:return p(e,t,(n=r._init)(r._payload),o)}if(re(r)||I(r))return null!==n?null:u(e,t,r,o,null);Ca(e,r)}return null}function h(e,t,r,o,n){if("string"==typeof o&&""!==o||"number"==typeof o)return s(t,e=e.get(r)||null,""+o,n);if("object"==typeof o&&null!==o){switch(o.$$typeof){case w:return c(t,e=e.get(null===o.key?r:o.key)||null,o,n);case k:return d(t,e=e.get(null===o.key?r:o.key)||null,o,n);case D:return h(e,t,r,(0,o._init)(o._payload),n)}if(re(o)||I(o))return u(t,e=e.get(r)||null,o,n,null);Ca(t,o)}return null}function g(r,a,l,s){for(var c=null,d=null,u=a,g=a=0,v=null;null!==u&&g<l.length;g++){u.index>g?(v=u,u=null):v=u.sibling;var m=p(r,u,l[g],s);if(null===m){null===u&&(u=v);break}e&&u&&null===m.alternate&&t(r,u),a=i(m,a,g),null===d?c=m:d.sibling=m,d=m,u=v}if(g===l.length)return o(r,u),ia&&ea(r,g),c;if(null===u){for(;g<l.length;g++)null!==(u=f(r,l[g],s))&&(a=i(u,a,g),null===d?c=u:d.sibling=u,d=u);return ia&&ea(r,g),c}for(u=n(r,u);g<l.length;g++)null!==(v=h(u,r,g,l[g],s))&&(e&&null!==v.alternate&&u.delete(null===v.key?g:v.key),a=i(v,a,g),null===d?c=v:d.sibling=v,d=v);return e&&u.forEach(function(e){return t(r,e)}),ia&&ea(r,g),c}function v(a,l,s,c){var d=I(s);if("function"!=typeof d)throw Error(r(150));if(null==(s=d.call(s)))throw Error(r(151));for(var u=d=null,g=l,v=l=0,m=null,b=s.next();null!==g&&!b.done;v++,b=s.next()){g.index>v?(m=g,g=null):m=g.sibling;var C=p(a,g,b.value,c);if(null===C){null===g&&(g=m);break}e&&g&&null===C.alternate&&t(a,g),l=i(C,l,v),null===u?d=C:u.sibling=C,u=C,g=m}if(b.done)return o(a,g),ia&&ea(a,v),d;if(null===g){for(;!b.done;v++,b=s.next())null!==(b=f(a,b.value,c))&&(l=i(b,l,v),null===u?d=b:u.sibling=b,u=b);return ia&&ea(a,v),d}for(g=n(a,g);!b.done;v++,b=s.next())null!==(b=h(g,a,v,b.value,c))&&(e&&null!==b.alternate&&g.delete(null===b.key?v:b.key),l=i(b,l,v),null===u?d=b:u.sibling=b,u=b);return e&&g.forEach(function(e){return t(a,e)}),ia&&ea(a,v),d}return function e(r,n,i,s){if("object"==typeof i&&null!==i&&i.type===B&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,d=n;null!==d;){if(d.key===c){if((c=i.type)===B){if(7===d.tag){o(r,d.sibling),(n=a(d,i.props.children)).return=r,r=n;break e}}else if(d.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===D&&ya(c)===d.type){o(r,d.sibling),(n=a(d,i.props)).ref=ba(r,d,i),n.return=r,r=n;break e}o(r,d);break}t(r,d),d=d.sibling}i.type===B?((n=Ic(i.props.children,r.mode,s,i.key)).return=r,r=n):((s=Pc(i.type,i.key,i.props,null,r.mode,s)).ref=ba(r,n,i),s.return=r,r=s)}return l(r);case k:e:{for(d=i.key;null!==n;){if(n.key===d){if(4===n.tag&&n.stateNode.containerInfo===i.containerInfo&&n.stateNode.implementation===i.implementation){o(r,n.sibling),(n=a(n,i.children||[])).return=r,r=n;break e}o(r,n);break}t(r,n),n=n.sibling}(n=Rc(i,r.mode,s)).return=r,r=n}return l(r);case D:return e(r,n,(d=i._init)(i._payload),s)}if(re(i))return g(r,n,i,s);if(I(i))return v(r,n,i,s);Ca(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==n&&6===n.tag?(o(r,n.sibling),(n=a(n,i)).return=r,r=n):(o(r,n),(n=Ac(i,r.mode,s)).return=r,r=n),l(r)):o(r,n)}}var wa=xa(!0),ka=xa(!1),Ba=jn(null),za=null,ja=null,Sa=null;function Na(){Sa=ja=za=null}function _a(e){var t=Ba.current;Sn(Ba),e._currentValue=t}function Ta(e,t,r){for(;null!==e;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==o&&(o.childLanes|=t)):null!==o&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}}function qa(e,t){za=e,Sa=ja=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(yl=!0),e.firstContext=null)}function Fa(e){var t=e._currentValue;if(Sa!==e)if(e={context:e,memoizedValue:t,next:null},null===ja){if(null===za)throw Error(r(308));ja=e,za.dependencies={lanes:0,firstContext:e}}else ja=ja.next=e;return t}var Da=null;function Ea(e){null===Da?Da=[e]:Da.push(e)}function Pa(e,t,r,o){var n=t.interleaved;return null===n?(r.next=r,Ea(t)):(r.next=n.next,n.next=r),t.interleaved=r,Ia(e,o)}function Ia(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var Oa=!1;function Aa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ra(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 Ma(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ha(e,t,r){var o=e.updateQueue;if(null===o)return null;if(o=o.shared,2&_s){var n=o.pending;return null===n?t.next=t:(t.next=n.next,n.next=t),o.pending=t,Ia(e,r)}return null===(n=o.interleaved)?(t.next=t,Ea(o)):(t.next=n.next,n.next=t),o.interleaved=t,Ia(e,r)}function La(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var o=t.lanes;r|=o&=e.pendingLanes,t.lanes=r,Ct(e,r)}}function Va(e,t){var r=e.updateQueue,o=e.alternate;if(null!==o&&r===(o=o.updateQueue)){var n=null,a=null;if(null!==(r=r.firstBaseUpdate)){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===a?n=a=i:a=a.next=i,r=r.next}while(null!==r);null===a?n=a=t:a=a.next=t}else n=a=t;return r={baseState:o.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:o.shared,effects:o.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Wa(e,t,r,o){var n=e.updateQueue;Oa=!1;var a=n.firstBaseUpdate,i=n.lastBaseUpdate,l=n.shared.pending;if(null!==l){n.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var d=e.alternate;null!==d&&(l=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===l?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=s)}if(null!==a){var u=n.baseState;for(i=0,d=c=s=null,l=a;;){var f=l.lane,p=l.eventTime;if((o&f)===f){null!==d&&(d=d.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,g=l;switch(f=t,p=r,g.tag){case 1:if("function"==typeof(h=g.payload)){u=h.call(p,u,f);break e}u=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(p,u,f):h))break e;u=A({},u,f);break e;case 2:Oa=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=n.effects)?n.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===d?(c=d=p,s=u):d=d.next=p,i|=f;if(null===(l=l.next)){if(null===(l=n.shared.pending))break;l=(f=l).next,f.next=null,n.lastBaseUpdate=f,n.shared.pending=null}}if(null===d&&(s=u),n.baseState=s,n.firstBaseUpdate=c,n.lastBaseUpdate=d,null!==(t=n.shared.interleaved)){n=t;do{i|=n.lane,n=n.next}while(n!==t)}else null===a&&(n.shared.lanes=0);Os|=i,e.lanes=i,e.memoizedState=u}}function Za(e,t,o){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],a=n.callback;if(null!==a){if(n.callback=null,n=o,"function"!=typeof a)throw Error(r(191,a));a.call(n)}}}var Ua={},Ga=jn(Ua),Xa=jn(Ua),$a=jn(Ua);function Ka(e){if(e===Ua)throw Error(r(174));return e}function Ya(e,t){switch(Nn($a,t),Nn(Xa,e),Nn(Ga,Ua),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Sn(Ga),Nn(Ga,t)}function Ja(){Sn(Ga),Sn(Xa),Sn($a)}function Qa(e){Ka($a.current);var t=Ka(Ga.current),r=ce(t,e.type);t!==r&&(Nn(Xa,e),Nn(Ga,r))}function ei(e){Xa.current===e&&(Sn(Ga),Sn(Xa))}var ti=jn(0);function ri(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var oi=[];function ni(){for(var e=0;e<oi.length;e++)oi[e]._workInProgressVersionPrimary=null;oi.length=0}var ai=x.ReactCurrentDispatcher,ii=x.ReactCurrentBatchConfig,li=0,si=null,ci=null,di=null,ui=!1,fi=!1,pi=0,hi=0;function gi(){throw Error(r(321))}function vi(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!lo(e[r],t[r]))return!1;return!0}function mi(e,t,o,n,a,i){if(li=i,si=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?el:tl,e=o(n,a),fi){i=0;do{if(fi=!1,pi=0,25<=i)throw Error(r(301));i+=1,di=ci=null,t.updateQueue=null,ai.current=rl,e=o(n,a)}while(fi)}if(ai.current=Qi,t=null!==ci&&null!==ci.next,li=0,di=ci=si=null,ui=!1,t)throw Error(r(300));return e}function bi(){var e=0!==pi;return pi=0,e}function Ci(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===di?si.memoizedState=di=e:di=di.next=e,di}function yi(){if(null===ci){var e=si.alternate;e=null!==e?e.memoizedState:null}else e=ci.next;var t=null===di?si.memoizedState:di.next;if(null!==t)di=t,ci=e;else{if(null===e)throw Error(r(310));e={memoizedState:(ci=e).memoizedState,baseState:ci.baseState,baseQueue:ci.baseQueue,queue:ci.queue,next:null},null===di?si.memoizedState=di=e:di=di.next=e}return di}function xi(e,t){return"function"==typeof t?t(e):t}function wi(e){var t=yi(),o=t.queue;if(null===o)throw Error(r(311));o.lastRenderedReducer=e;var n=ci,a=n.baseQueue,i=o.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}n.baseQueue=a=i,o.pending=null}if(null!==a){i=a.next,n=n.baseState;var s=l=null,c=null,d=i;do{var u=d.lane;if((li&u)===u)null!==c&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),n=d.hasEagerState?d.eagerState:e(n,d.action);else{var f={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};null===c?(s=c=f,l=n):c=c.next=f,si.lanes|=u,Os|=u}d=d.next}while(null!==d&&d!==i);null===c?l=n:c.next=s,lo(n,t.memoizedState)||(yl=!0),t.memoizedState=n,t.baseState=l,t.baseQueue=c,o.lastRenderedState=n}if(null!==(e=o.interleaved)){a=e;do{i=a.lane,si.lanes|=i,Os|=i,a=a.next}while(a!==e)}else null===a&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function ki(e){var t=yi(),o=t.queue;if(null===o)throw Error(r(311));o.lastRenderedReducer=e;var n=o.dispatch,a=o.pending,i=t.memoizedState;if(null!==a){o.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lo(i,t.memoizedState)||(yl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),o.lastRenderedState=i}return[i,n]}function Bi(){}function zi(e,t){var o=si,n=yi(),a=t(),i=!lo(n.memoizedState,a);if(i&&(n.memoizedState=a,yl=!0),n=n.queue,Oi(Ni.bind(null,o,n,e),[e]),n.getSnapshot!==t||i||null!==di&&1&di.memoizedState.tag){if(o.flags|=2048,Fi(9,Si.bind(null,o,n,a,t),void 0,null),null===Ts)throw Error(r(349));30&li||ji(o,t,a)}return a}function ji(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Si(e,t,r,o){t.value=r,t.getSnapshot=o,_i(t)&&Ti(e)}function Ni(e,t,r){return r(function(){_i(t)&&Ti(e)})}function _i(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!lo(e,r)}catch(e){return!0}}function Ti(e){var t=Ia(e,1);null!==t&&oc(t,e,1,-1)}function qi(e){var t=Ci();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xi,lastRenderedState:e},t.queue=e,e=e.dispatch=$i.bind(null,si,e),[t.memoizedState,e]}function Fi(e,t,r,o){return e={tag:e,create:t,destroy:r,deps:o,next:null},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e),e}function Di(){return yi().memoizedState}function Ei(e,t,r,o){var n=Ci();si.flags|=e,n.memoizedState=Fi(1|t,r,void 0,void 0===o?null:o)}function Pi(e,t,r,o){var n=yi();o=void 0===o?null:o;var a=void 0;if(null!==ci){var i=ci.memoizedState;if(a=i.destroy,null!==o&&vi(o,i.deps))return void(n.memoizedState=Fi(t,r,a,o))}si.flags|=e,n.memoizedState=Fi(1|t,r,a,o)}function Ii(e,t){return Ei(8390656,8,e,t)}function Oi(e,t){return Pi(2048,8,e,t)}function Ai(e,t){return Pi(4,2,e,t)}function Ri(e,t){return Pi(4,4,e,t)}function Mi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Hi(e,t,r){return r=null!=r?r.concat([e]):null,Pi(4,4,Mi.bind(null,t,e),r)}function Li(){}function Vi(e,t){var r=yi();t=void 0===t?null:t;var o=r.memoizedState;return null!==o&&null!==t&&vi(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function Wi(e,t){var r=yi();t=void 0===t?null:t;var o=r.memoizedState;return null!==o&&null!==t&&vi(t,o[1])?o[0]:(e=e(),r.memoizedState=[e,t],e)}function Zi(e,t,r){return 21&li?(lo(r,t)||(r=vt(),si.lanes|=r,Os|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,yl=!0),e.memoizedState=r)}function Ui(e,t){var r=yt;yt=0!==r&&4>r?r:4,e(!0);var o=ii.transition;ii.transition={};try{e(!1),t()}finally{yt=r,ii.transition=o}}function Gi(){return yi().memoizedState}function Xi(e,t,r){var o=rc(e);r={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null},Ki(e)?Yi(t,r):null!==(r=Pa(e,t,r,o))&&(oc(r,e,o,tc()),Ji(r,t,o))}function $i(e,t,r){var o=rc(e),n={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null};if(Ki(e))Yi(t,n);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,r);if(n.hasEagerState=!0,n.eagerState=l,lo(l,i)){var s=t.interleaved;return null===s?(n.next=n,Ea(t)):(n.next=s.next,s.next=n),void(t.interleaved=n)}}catch(e){}null!==(r=Pa(e,t,n,o))&&(oc(r,e,o,n=tc()),Ji(r,t,o))}}function Ki(e){var t=e.alternate;return e===si||null!==t&&t===si}function Yi(e,t){fi=ui=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Ji(e,t,r){if(4194240&r){var o=t.lanes;r|=o&=e.pendingLanes,t.lanes=r,Ct(e,r)}}var Qi={readContext:Fa,useCallback:gi,useContext:gi,useEffect:gi,useImperativeHandle:gi,useInsertionEffect:gi,useLayoutEffect:gi,useMemo:gi,useReducer:gi,useRef:gi,useState:gi,useDebugValue:gi,useDeferredValue:gi,useTransition:gi,useMutableSource:gi,useSyncExternalStore:gi,useId:gi,unstable_isNewReconciler:!1},el={readContext:Fa,useCallback:function(e,t){return Ci().memoizedState=[e,void 0===t?null:t],e},useContext:Fa,useEffect:Ii,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Ei(4194308,4,Mi.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ei(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ei(4,2,e,t)},useMemo:function(e,t){var r=Ci();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var o=Ci();return t=void 0!==r?r(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=Xi.bind(null,si,e),[o.memoizedState,e]},useRef:function(e){return e={current:e},Ci().memoizedState=e},useState:qi,useDebugValue:Li,useDeferredValue:function(e){return Ci().memoizedState=e},useTransition:function(){var e=qi(!1),t=e[0];return e=Ui.bind(null,e[1]),Ci().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var n=si,a=Ci();if(ia){if(void 0===o)throw Error(r(407));o=o()}else{if(o=t(),null===Ts)throw Error(r(349));30&li||ji(n,t,o)}a.memoizedState=o;var i={value:o,getSnapshot:t};return a.queue=i,Ii(Ni.bind(null,n,i,e),[e]),n.flags|=2048,Fi(9,Si.bind(null,n,i,o,t),void 0,null),o},useId:function(){var e=Ci(),t=Ts.identifierPrefix;if(ia){var r=Qn;t=":"+t+"R"+(r=(Jn&~(1<<32-lt(Jn)-1)).toString(32)+r),0<(r=pi++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=hi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},tl={readContext:Fa,useCallback:Vi,useContext:Fa,useEffect:Oi,useImperativeHandle:Hi,useInsertionEffect:Ai,useLayoutEffect:Ri,useMemo:Wi,useReducer:wi,useRef:Di,useState:function(){return wi(xi)},useDebugValue:Li,useDeferredValue:function(e){return Zi(yi(),ci.memoizedState,e)},useTransition:function(){return[wi(xi)[0],yi().memoizedState]},useMutableSource:Bi,useSyncExternalStore:zi,useId:Gi,unstable_isNewReconciler:!1},rl={readContext:Fa,useCallback:Vi,useContext:Fa,useEffect:Oi,useImperativeHandle:Hi,useInsertionEffect:Ai,useLayoutEffect:Ri,useMemo:Wi,useReducer:ki,useRef:Di,useState:function(){return ki(xi)},useDebugValue:Li,useDeferredValue:function(e){var t=yi();return null===ci?t.memoizedState=e:Zi(t,ci.memoizedState,e)},useTransition:function(){return[ki(xi)[0],yi().memoizedState]},useMutableSource:Bi,useSyncExternalStore:zi,useId:Gi,unstable_isNewReconciler:!1};function ol(e,t){if(e&&e.defaultProps){for(var r in t=A({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function nl(e,t,r,o){r=null==(r=r(o,t=e.memoizedState))?t:A({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var al={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var o=tc(),n=rc(e),a=Ma(o,n);a.payload=t,null!=r&&(a.callback=r),null!==(t=Ha(e,a,n))&&(oc(t,e,n,o),La(t,e,n))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=tc(),n=rc(e),a=Ma(o,n);a.tag=1,a.payload=t,null!=r&&(a.callback=r),null!==(t=Ha(e,a,n))&&(oc(t,e,n,o),La(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=tc(),o=rc(e),n=Ma(r,o);n.tag=2,null!=t&&(n.callback=t),null!==(t=Ha(e,n,o))&&(oc(t,e,o,r),La(t,e,o))}};function il(e,t,r,o,n,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(o,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&so(r,o)&&so(n,a))}function ll(e,t,r){var o=!1,n=_n,a=t.contextType;return"object"==typeof a&&null!==a?a=Fa(a):(n=En(t)?Fn:Tn.current,a=(o=null!=(o=t.contextTypes))?Dn(e,n):_n),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=al,e.stateNode=t,t._reactInternals=e,o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),t}function sl(e,t,r,o){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,o),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==e&&al.enqueueReplaceState(t,t.state,null)}function cl(e,t,r,o){var n=e.stateNode;n.props=r,n.state=e.memoizedState,n.refs={},Aa(e);var a=t.contextType;"object"==typeof a&&null!==a?n.context=Fa(a):(a=En(t)?Fn:Tn.current,n.context=Dn(e,a)),n.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(nl(e,t,a,r),n.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof n.getSnapshotBeforeUpdate||"function"!=typeof n.UNSAFE_componentWillMount&&"function"!=typeof n.componentWillMount||(t=n.state,"function"==typeof n.componentWillMount&&n.componentWillMount(),"function"==typeof n.UNSAFE_componentWillMount&&n.UNSAFE_componentWillMount(),t!==n.state&&al.enqueueReplaceState(n,n.state,null),Wa(e,r,n,o),n.state=e.memoizedState),"function"==typeof n.componentDidMount&&(e.flags|=4194308)}function dl(e,t){try{var r="",o=t;do{r+=L(o),o=o.return}while(o);var n=r}catch(e){n="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:n,digest:null}}function ul(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var pl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,r){(r=Ma(-1,r)).tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){Zs||(Zs=!0,Us=o),fl(0,t)},r}function gl(e,t,r){(r=Ma(-1,r)).tag=3;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var n=t.value;r.payload=function(){return o(n)},r.callback=function(){fl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(r.callback=function(){fl(0,t),"function"!=typeof o&&(null===Gs?Gs=new Set([this]):Gs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function vl(e,t,r){var o=e.pingCache;if(null===o){o=e.pingCache=new pl;var n=new Set;o.set(t,n)}else void 0===(n=o.get(t))&&(n=new Set,o.set(t,n));n.has(r)||(n.add(r),e=jc.bind(null,e,t,r),t.then(e,e))}function ml(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bl(e,t,r,o,n){return 1&e.mode?(e.flags|=65536,e.lanes=n,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Ma(-1,1)).tag=2,Ha(r,t,1))),r.lanes|=1),e)}var Cl=x.ReactCurrentOwner,yl=!1;function xl(e,t,r,o){t.child=null===e?ka(t,null,r,o):wa(t,e.child,r,o)}function wl(e,t,r,o,n){r=r.render;var a=t.ref;return qa(t,n),o=mi(e,t,r,o,a,n),r=bi(),null===e||yl?(ia&&r&&ra(t),t.flags|=1,xl(e,t,o,n),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Zl(e,t,n))}function kl(e,t,r,o,n){if(null===e){var a=r.type;return"function"!=typeof a||Dc(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Pc(r.type,null,o,t,t.mode,n)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Bl(e,t,a,o,n))}if(a=e.child,0===(e.lanes&n)){var i=a.memoizedProps;if((r=null!==(r=r.compare)?r:so)(i,o)&&e.ref===t.ref)return Zl(e,t,n)}return t.flags|=1,(e=Ec(a,o)).ref=t.ref,e.return=t,t.child=e}function Bl(e,t,r,o,n){if(null!==e){var a=e.memoizedProps;if(so(a,o)&&e.ref===t.ref){if(yl=!1,t.pendingProps=o=a,0===(e.lanes&n))return t.lanes=e.lanes,Zl(e,t,n);131072&e.flags&&(yl=!0)}}return Sl(e,t,r,o,n)}function zl(e,t,r){var o=t.pendingProps,n=o.children,a=null!==e?e.memoizedState:null;if("hidden"===o.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==a?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Nn(Es,Ds),Ds|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=null!==a?a.baseLanes:r,Nn(Es,Ds),Ds|=o}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Nn(Es,Ds),Ds|=r;else null!==a?(o=a.baseLanes|r,t.memoizedState=null):o=r,Nn(Es,Ds),Ds|=o;return xl(e,t,n,r),t.child}function jl(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Sl(e,t,r,o,n){var a=En(r)?Fn:Tn.current;return a=Dn(t,a),qa(t,n),r=mi(e,t,r,o,a,n),o=bi(),null===e||yl?(ia&&o&&ra(t),t.flags|=1,xl(e,t,r,n),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Zl(e,t,n))}function Nl(e,t,r,o,n){if(En(r)){var a=!0;An(t)}else a=!1;if(qa(t,n),null===t.stateNode)Wl(e,t),ll(t,r,o),cl(t,r,o,n),o=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=r.contextType;c="object"==typeof c&&null!==c?Fa(c):Dn(t,c=En(r)?Fn:Tn.current);var d=r.getDerivedStateFromProps,u="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate;u||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==o||s!==c)&&sl(t,i,o,c),Oa=!1;var f=t.memoizedState;i.state=f,Wa(t,o,i,n),s=t.memoizedState,l!==o||f!==s||qn.current||Oa?("function"==typeof d&&(nl(t,r,d,o),s=t.memoizedState),(l=Oa||il(t,r,l,o,f,s,c))?(u||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=s),i.props=o,i.state=s,i.context=c,o=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),o=!1)}else{i=t.stateNode,Ra(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:ol(t.type,l),i.props=c,u=t.pendingProps,f=i.context,s="object"==typeof(s=r.contextType)&&null!==s?Fa(s):Dn(t,s=En(r)?Fn:Tn.current);var p=r.getDerivedStateFromProps;(d="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==u||f!==s)&&sl(t,i,o,s),Oa=!1,f=t.memoizedState,i.state=f,Wa(t,o,i,n);var h=t.memoizedState;l!==u||f!==h||qn.current||Oa?("function"==typeof p&&(nl(t,r,p,o),h=t.memoizedState),(c=Oa||il(t,r,c,o,f,h,s)||!1)?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(o,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(o,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=h),i.props=o,i.state=h,i.context=s,o=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),o=!1)}return _l(e,t,r,o,a,n)}function _l(e,t,r,o,n,a){jl(e,t);var i=!!(128&t.flags);if(!o&&!i)return n&&Rn(t,r,!1),Zl(e,t,a);o=t.stateNode,Cl.current=t;var l=i&&"function"!=typeof r.getDerivedStateFromError?null:o.render();return t.flags|=1,null!==e&&i?(t.child=wa(t,e.child,null,a),t.child=wa(t,null,l,a)):xl(e,t,l,a),t.memoizedState=o.state,n&&Rn(t,r,!0),t.child}function Tl(e){var t=e.stateNode;t.pendingContext?In(0,t.pendingContext,t.pendingContext!==t.context):t.context&&In(0,t.context,!1),Ya(e,t.containerInfo)}function ql(e,t,r,o,n){return ga(),va(n),t.flags|=256,xl(e,t,r,o),t.child}var Fl,Dl,El,Pl,Il={dehydrated:null,treeContext:null,retryLane:0};function Ol(e){return{baseLanes:e,cachePool:null,transitions:null}}function Al(e,t,o){var n,a=t.pendingProps,i=ti.current,l=!1,s=!!(128&t.flags);if((n=s)||(n=(null===e||null!==e.memoizedState)&&!!(2&i)),n?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Nn(ti,1&i),null===e)return ua(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},1&a||null===l?l=Oc(s,a,0,null):(l.childLanes=0,l.pendingProps=s),e=Ic(e,a,o,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Ol(o),t.memoizedState=Il,e):Rl(t,s));if(null!==(i=e.memoizedState)&&null!==(n=i.dehydrated))return function(e,t,o,n,a,i,l){if(o)return 256&t.flags?(t.flags&=-257,Ml(e,t,l,n=ul(Error(r(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=n.fallback,a=t.mode,n=Oc({mode:"visible",children:n.children},a,0,null),(i=Ic(i,a,l,null)).flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,1&t.mode&&wa(t,e.child,null,l),t.child.memoizedState=Ol(l),t.memoizedState=Il,i);if(!(1&t.mode))return Ml(e,t,l,null);if("$!"===a.data){if(n=a.nextSibling&&a.nextSibling.dataset)var s=n.dgst;return n=s,Ml(e,t,l,n=ul(i=Error(r(419)),n,void 0))}if(s=0!==(l&e.childLanes),yl||s){if(null!==(n=Ts)){switch(l&-l){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}0!==(a=0!==(a&(n.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Ia(e,a),oc(n,e,a,-1))}return vc(),Ml(e,t,l,n=ul(Error(r(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Nc.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,aa=un(a.nextSibling),na=t,ia=!0,la=null,null!==e&&($n[Kn++]=Jn,$n[Kn++]=Qn,$n[Kn++]=Yn,Jn=e.id,Qn=e.overflow,Yn=t),(t=Rl(t,n.children)).flags|=4096,t)}(e,t,s,a,n,i,o);if(l){l=a.fallback,s=t.mode,n=(i=e.child).sibling;var c={mode:"hidden",children:a.children};return 1&s||t.child===i?(a=Ec(i,c)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null),null!==n?l=Ec(n,l):(l=Ic(l,s,o,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Ol(o):{baseLanes:s.baseLanes|o,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~o,t.memoizedState=Il,a}return e=(l=e.child).sibling,a=Ec(l,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=o),a.return=t,a.sibling=null,null!==e&&(null===(o=t.deletions)?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a}function Rl(e,t){return(t=Oc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ml(e,t,r,o){return null!==o&&va(o),wa(t,e.child,null,r),(e=Rl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hl(e,t,r){e.lanes|=t;var o=e.alternate;null!==o&&(o.lanes|=t),Ta(e.return,t,r)}function Ll(e,t,r,o,n){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:n}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=o,a.tail=r,a.tailMode=n)}function Vl(e,t,r){var o=t.pendingProps,n=o.revealOrder,a=o.tail;if(xl(e,t,o.children,r),2&(o=ti.current))o=1&o|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hl(e,r,t);else if(19===e.tag)Hl(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}if(Nn(ti,o),1&t.mode)switch(n){case"forwards":for(r=t.child,n=null;null!==r;)null!==(e=r.alternate)&&null===ri(e)&&(n=r),r=r.sibling;null===(r=n)?(n=t.child,t.child=null):(n=r.sibling,r.sibling=null),Ll(t,!1,n,r,a);break;case"backwards":for(r=null,n=t.child,t.child=null;null!==n;){if(null!==(e=n.alternate)&&null===ri(e)){t.child=n;break}e=n.sibling,n.sibling=r,r=n,n=e}Ll(t,!0,r,null,a);break;case"together":Ll(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Wl(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zl(e,t,o){if(null!==e&&(t.dependencies=e.dependencies),Os|=t.lanes,0===(o&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(o=Ec(e=t.child,e.pendingProps),t.child=o,o.return=t;null!==e.sibling;)e=e.sibling,(o=o.sibling=Ec(e,e.pendingProps)).return=t;o.sibling=null}return t.child}function Ul(e,t){if(!ia)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;null!==r;)null!==r.alternate&&(o=r),r=r.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Gl(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,o=0;if(t)for(var n=e.child;null!==n;)r|=n.lanes|n.childLanes,o|=14680064&n.subtreeFlags,o|=14680064&n.flags,n.return=e,n=n.sibling;else for(n=e.child;null!==n;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags,o|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function Xl(e,t,o){var a=t.pendingProps;switch(oa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gl(t),null;case 1:case 17:return En(t.type)&&Pn(),Gl(t),null;case 3:return a=t.stateNode,Ja(),Sn(qn),Sn(Tn),ni(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==la&&(lc(la),la=null))),Dl(e,t),Gl(t),null;case 5:ei(t);var i=Ka($a.current);if(o=t.type,null!==e&&null!=t.stateNode)El(e,t,o,a,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(null===t.stateNode)throw Error(r(166));return Gl(t),null}if(e=Ka(Ga.current),pa(t)){a=t.stateNode,o=t.type;var l=t.memoizedProps;switch(a[hn]=t,a[gn]=l,e=!!(1&t.mode),o){case"dialog":Mo("cancel",a),Mo("close",a);break;case"iframe":case"object":case"embed":Mo("load",a);break;case"video":case"audio":for(i=0;i<Io.length;i++)Mo(Io[i],a);break;case"source":Mo("error",a);break;case"img":case"image":case"link":Mo("error",a),Mo("load",a);break;case"details":Mo("toggle",a);break;case"input":Y(a,l),Mo("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!l.multiple},Mo("invalid",a);break;case"textarea":ae(a,l),Mo("invalid",a)}for(var s in Ce(o,l),i=null,l)if(l.hasOwnProperty(s)){var c=l[s];"children"===s?"string"==typeof c?a.textContent!==c&&(!0!==l.suppressHydrationWarning&&Qo(a.textContent,c,e),i=["children",c]):"number"==typeof c&&a.textContent!==""+c&&(!0!==l.suppressHydrationWarning&&Qo(a.textContent,c,e),i=["children",""+c]):n.hasOwnProperty(s)&&null!=c&&"onScroll"===s&&Mo("scroll",a)}switch(o){case"input":G(a),ee(a,l,!0);break;case"textarea":G(a),le(a);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(a.onclick=en)}a=i,t.updateQueue=a,null!==a&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(o)),"http://www.w3.org/1999/xhtml"===e?"script"===o?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof a.is?e=s.createElement(o,{is:a.is}):(e=s.createElement(o),"select"===o&&(s=e,a.multiple?s.multiple=!0:a.size&&(s.size=a.size))):e=s.createElementNS(e,o),e[hn]=t,e[gn]=a,Fl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ye(o,a),o){case"dialog":Mo("cancel",e),Mo("close",e),i=a;break;case"iframe":case"object":case"embed":Mo("load",e),i=a;break;case"video":case"audio":for(i=0;i<Io.length;i++)Mo(Io[i],e);i=a;break;case"source":Mo("error",e),i=a;break;case"img":case"image":case"link":Mo("error",e),Mo("load",e),i=a;break;case"details":Mo("toggle",e),i=a;break;case"input":Y(e,a),i=K(e,a),Mo("invalid",e);break;case"option":default:i=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},i=A({},a,{value:void 0}),Mo("invalid",e);break;case"textarea":ae(e,a),i=ne(e,a),Mo("invalid",e)}for(l in Ce(o,i),c=i)if(c.hasOwnProperty(l)){var d=c[l];"style"===l?me(e,d):"dangerouslySetInnerHTML"===l?null!=(d=d?d.__html:void 0)&&fe(e,d):"children"===l?"string"==typeof d?("textarea"!==o||""!==d)&&pe(e,d):"number"==typeof d&&pe(e,""+d):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(n.hasOwnProperty(l)?null!=d&&"onScroll"===l&&Mo("scroll",e):null!=d&&y(e,l,d,s))}switch(o){case"input":G(e),ee(e,a,!1);break;case"textarea":G(e),le(e);break;case"option":null!=a.value&&e.setAttribute("value",""+Z(a.value));break;case"select":e.multiple=!!a.multiple,null!=(l=a.value)?oe(e,!!a.multiple,l,!1):null!=a.defaultValue&&oe(e,!!a.multiple,a.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=en)}switch(o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gl(t),null;case 6:if(e&&null!=t.stateNode)Pl(e,t,e.memoizedProps,a);else{if("string"!=typeof a&&null===t.stateNode)throw Error(r(166));if(o=Ka($a.current),Ka(Ga.current),pa(t)){if(a=t.stateNode,o=t.memoizedProps,a[hn]=t,(l=a.nodeValue!==o)&&null!==(e=na))switch(e.tag){case 3:Qo(a.nodeValue,o,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qo(a.nodeValue,o,!!(1&e.mode))}l&&(t.flags|=4)}else(a=(9===o.nodeType?o:o.ownerDocument).createTextNode(a))[hn]=t,t.stateNode=a}return Gl(t),null;case 13:if(Sn(ti),a=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==aa&&1&t.mode&&!(128&t.flags))ha(),ga(),t.flags|=98560,l=!1;else if(l=pa(t),null!==a&&null!==a.dehydrated){if(null===e){if(!l)throw Error(r(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(r(317));l[hn]=t}else ga(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gl(t),l=!1}else null!==la&&(lc(la),la=null),l=!0;if(!l)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=o,t):((a=null!==a)!=(null!==e&&null!==e.memoizedState)&&a&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ti.current?0===Ps&&(Ps=3):vc())),null!==t.updateQueue&&(t.flags|=4),Gl(t),null);case 4:return Ja(),Dl(e,t),null===e&&Vo(t.stateNode.containerInfo),Gl(t),null;case 10:return _a(t.type._context),Gl(t),null;case 19:if(Sn(ti),null===(l=t.memoizedState))return Gl(t),null;if(a=!!(128&t.flags),null===(s=l.rendering))if(a)Ul(l,!1);else{if(0!==Ps||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=ri(e))){for(t.flags|=128,Ul(l,!1),null!==(a=s.updateQueue)&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=o,o=t.child;null!==o;)e=a,(l=o).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Nn(ti,1&ti.current|2),t.child}e=e.sibling}null!==l.tail&&Je()>Vs&&(t.flags|=128,a=!0,Ul(l,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=ri(s))){if(t.flags|=128,a=!0,null!==(o=e.updateQueue)&&(t.updateQueue=o,t.flags|=4),Ul(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!ia)return Gl(t),null}else 2*Je()-l.renderingStartTime>Vs&&1073741824!==o&&(t.flags|=128,a=!0,Ul(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(o=l.last)?o.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Je(),t.sibling=null,o=ti.current,Nn(ti,a?1&o|2:1&o),t):(Gl(t),null);case 22:case 23:return fc(),a=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==a&&(t.flags|=8192),a&&1&t.mode?!!(1073741824&Ds)&&(Gl(t),6&t.subtreeFlags&&(t.flags|=8192)):Gl(t),null;case 24:case 25:return null}throw Error(r(156,t.tag))}function $l(e,t){switch(oa(t),t.tag){case 1:return En(t.type)&&Pn(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ja(),Sn(qn),Sn(Tn),ni(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ei(t),null;case 13:if(Sn(ti),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));ga()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Sn(ti),null;case 4:return Ja(),null;case 10:return _a(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Fl=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Dl=function(){},El=function(e,t,r,o){var a=e.memoizedProps;if(a!==o){e=t.stateNode,Ka(Ga.current);var i,l=null;switch(r){case"input":a=K(e,a),o=K(e,o),l=[];break;case"select":a=A({},a,{value:void 0}),o=A({},o,{value:void 0}),l=[];break;case"textarea":a=ne(e,a),o=ne(e,o),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof o.onClick&&(e.onclick=en)}for(d in Ce(r,o),r=null,a)if(!o.hasOwnProperty(d)&&a.hasOwnProperty(d)&&null!=a[d])if("style"===d){var s=a[d];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(n.hasOwnProperty(d)?l||(l=[]):(l=l||[]).push(d,null));for(d in o){var c=o[d];if(s=null!=a?a[d]:void 0,o.hasOwnProperty(d)&&c!==s&&(null!=c||null!=s))if("style"===d)if(s){for(i in s)!s.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in c)c.hasOwnProperty(i)&&s[i]!==c[i]&&(r||(r={}),r[i]=c[i])}else r||(l||(l=[]),l.push(d,r)),r=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(l=l||[]).push(d,c)):"children"===d?"string"!=typeof c&&"number"!=typeof c||(l=l||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(n.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Mo("scroll",e),l||s===c||(l=[])):(l=l||[]).push(d,c))}r&&(l=l||[]).push("style",r);var d=l;(t.updateQueue=d)&&(t.flags|=4)}},Pl=function(e,t,r,o){r!==o&&(t.flags|=4)};var Kl=!1,Yl=!1,Jl="function"==typeof WeakSet?WeakSet:Set,Ql=null;function es(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){zc(e,t,r)}else r.current=null}function ts(e,t,r){try{r()}catch(r){zc(e,t,r)}}var rs=!1;function os(e,t,r){var o=t.updateQueue;if(null!==(o=null!==o?o.lastEffect:null)){var n=o=o.next;do{if((n.tag&e)===e){var a=n.destroy;n.destroy=void 0,void 0!==a&&ts(t,r,a)}n=n.next}while(n!==o)}}function ns(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var o=r.create;r.destroy=o()}r=r.next}while(r!==t)}}function as(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[hn],delete t[gn],delete t[mn],delete t[bn],delete t[Cn]),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 ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cs(e,t,r){var o=e.tag;if(5===o||6===o)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=en));else if(4!==o&&null!==(e=e.child))for(cs(e,t,r),e=e.sibling;null!==e;)cs(e,t,r),e=e.sibling}function ds(e,t,r){var o=e.tag;if(5===o||6===o)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==o&&null!==(e=e.child))for(ds(e,t,r),e=e.sibling;null!==e;)ds(e,t,r),e=e.sibling}var us=null,fs=!1;function ps(e,t,r){for(r=r.child;null!==r;)hs(e,t,r),r=r.sibling}function hs(e,t,r){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(at,r)}catch(e){}switch(r.tag){case 5:Yl||es(r,t);case 6:var o=us,n=fs;us=null,ps(e,t,r),fs=n,null!==(us=o)&&(fs?(e=us,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):us.removeChild(r.stateNode));break;case 18:null!==us&&(fs?(e=us,r=r.stateNode,8===e.nodeType?dn(e.parentNode,r):1===e.nodeType&&dn(e,r),Vt(e)):dn(us,r.stateNode));break;case 4:o=us,n=fs,us=r.stateNode.containerInfo,fs=!0,ps(e,t,r),us=o,fs=n;break;case 0:case 11:case 14:case 15:if(!Yl&&null!==(o=r.updateQueue)&&null!==(o=o.lastEffect)){n=o=o.next;do{var a=n,i=a.destroy;a=a.tag,void 0!==i&&(2&a||4&a)&&ts(r,t,i),n=n.next}while(n!==o)}ps(e,t,r);break;case 1:if(!Yl&&(es(r,t),"function"==typeof(o=r.stateNode).componentWillUnmount))try{o.props=r.memoizedProps,o.state=r.memoizedState,o.componentWillUnmount()}catch(e){zc(r,t,e)}ps(e,t,r);break;case 21:ps(e,t,r);break;case 22:1&r.mode?(Yl=(o=Yl)||null!==r.memoizedState,ps(e,t,r),Yl=o):ps(e,t,r);break;default:ps(e,t,r)}}function gs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Jl),t.forEach(function(t){var o=_c.bind(null,e,t);r.has(t)||(r.add(t),t.then(o,o))})}}function vs(e,t){var o=t.deletions;if(null!==o)for(var n=0;n<o.length;n++){var a=o[n];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:us=s.stateNode,fs=!1;break e;case 3:case 4:us=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===us)throw Error(r(160));hs(i,l,a),us=null,fs=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(e){zc(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ms(t,e),t=t.sibling}function ms(e,t){var o=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),bs(e),4&n){try{os(3,e,e.return),ns(3,e)}catch(t){zc(e,e.return,t)}try{os(5,e,e.return)}catch(t){zc(e,e.return,t)}}break;case 1:vs(t,e),bs(e),512&n&&null!==o&&es(o,o.return);break;case 5:if(vs(t,e),bs(e),512&n&&null!==o&&es(o,o.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(t){zc(e,e.return,t)}}if(4&n&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==o?o.memoizedProps:i,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===i.type&&null!=i.name&&J(a,i),ye(s,l);var d=ye(s,i);for(l=0;l<c.length;l+=2){var u=c[l],f=c[l+1];"style"===u?me(a,f):"dangerouslySetInnerHTML"===u?fe(a,f):"children"===u?pe(a,f):y(a,u,f,d)}switch(s){case"input":Q(a,i);break;case"textarea":ie(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?oe(a,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?oe(a,!!i.multiple,i.defaultValue,!0):oe(a,!!i.multiple,i.multiple?[]:"",!1))}a[gn]=i}catch(t){zc(e,e.return,t)}}break;case 6:if(vs(t,e),bs(e),4&n){if(null===e.stateNode)throw Error(r(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(t){zc(e,e.return,t)}}break;case 3:if(vs(t,e),bs(e),4&n&&null!==o&&o.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){zc(e,e.return,t)}break;case 4:default:vs(t,e),bs(e);break;case 13:vs(t,e),bs(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Ls=Je())),4&n&&gs(e);break;case 22:if(u=null!==o&&null!==o.memoizedState,1&e.mode?(Yl=(d=Yl)||u,vs(t,e),Yl=d):vs(t,e),bs(e),8192&n){if(d=null!==e.memoizedState,(e.stateNode.isHidden=d)&&!u&&1&e.mode)for(Ql=e,u=e.child;null!==u;){for(f=Ql=u;null!==Ql;){switch(h=(p=Ql).child,p.tag){case 0:case 11:case 14:case 15:os(4,p,p.return);break;case 1:es(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){n=p,o=p.return;try{t=n,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){zc(n,o,e)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){ws(f);continue}}null!==h?(h.return=p,Ql=h):ws(f)}u=u.sibling}e:for(u=null,f=e;;){if(5===f.tag){if(null===u){u=f;try{a=f.stateNode,d?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=f.stateNode,l=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=ve("display",l))}catch(t){zc(e,e.return,t)}}}else if(6===f.tag){if(null===u)try{f.stateNode.nodeValue=d?"":f.memoizedProps}catch(t){zc(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;u===f&&(u=null),f=f.return}u===f&&(u=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),bs(e),4&n&&gs(e);case 21:}}function bs(e){var t=e.flags;if(2&t){try{e:{for(var o=e.return;null!==o;){if(ls(o)){var n=o;break e}o=o.return}throw Error(r(160))}switch(n.tag){case 5:var a=n.stateNode;32&n.flags&&(pe(a,""),n.flags&=-33),ds(e,ss(e),a);break;case 3:case 4:var i=n.stateNode.containerInfo;cs(e,ss(e),i);break;default:throw Error(r(161))}}catch(t){zc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Cs(e,t,r){Ql=e,ys(e,t,r)}function ys(e,t,r){for(var o=!!(1&e.mode);null!==Ql;){var n=Ql,a=n.child;if(22===n.tag&&o){var i=null!==n.memoizedState||Kl;if(!i){var l=n.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=Kl;var c=Yl;if(Kl=i,(Yl=s)&&!c)for(Ql=n;null!==Ql;)s=(i=Ql).child,22===i.tag&&null!==i.memoizedState?ks(n):null!==s?(s.return=i,Ql=s):ks(n);for(;null!==a;)Ql=a,ys(a,t,r),a=a.sibling;Ql=n,Kl=l,Yl=c}xs(e)}else 8772&n.subtreeFlags&&null!==a?(a.return=n,Ql=a):xs(e)}}function xs(e){for(;null!==Ql;){var t=Ql;if(8772&t.flags){var o=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Yl||ns(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!Yl)if(null===o)n.componentDidMount();else{var a=t.elementType===t.type?o.memoizedProps:ol(t.type,o.memoizedProps);n.componentDidUpdate(a,o.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Za(t,i,n);break;case 3:var l=t.updateQueue;if(null!==l){if(o=null,null!==t.child)switch(t.child.tag){case 5:case 1:o=t.child.stateNode}Za(t,l,o)}break;case 5:var s=t.stateNode;if(null===o&&4&t.flags){o=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&o.focus();break;case"img":c.src&&(o.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var d=t.alternate;if(null!==d){var u=d.memoizedState;if(null!==u){var f=u.dehydrated;null!==f&&Vt(f)}}}break;default:throw Error(r(163))}Yl||512&t.flags&&as(t)}catch(e){zc(t,t.return,e)}}if(t===e){Ql=null;break}if(null!==(o=t.sibling)){o.return=t.return,Ql=o;break}Ql=t.return}}function ws(e){for(;null!==Ql;){var t=Ql;if(t===e){Ql=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Ql=r;break}Ql=t.return}}function ks(e){for(;null!==Ql;){var t=Ql;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{ns(4,t)}catch(e){zc(t,r,e)}break;case 1:var o=t.stateNode;if("function"==typeof o.componentDidMount){var n=t.return;try{o.componentDidMount()}catch(e){zc(t,n,e)}}var a=t.return;try{as(t)}catch(e){zc(t,a,e)}break;case 5:var i=t.return;try{as(t)}catch(e){zc(t,i,e)}}}catch(e){zc(t,t.return,e)}if(t===e){Ql=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Ql=l;break}Ql=t.return}}var Bs,zs=Math.ceil,js=x.ReactCurrentDispatcher,Ss=x.ReactCurrentOwner,Ns=x.ReactCurrentBatchConfig,_s=0,Ts=null,qs=null,Fs=0,Ds=0,Es=jn(0),Ps=0,Is=null,Os=0,As=0,Rs=0,Ms=null,Hs=null,Ls=0,Vs=1/0,Ws=null,Zs=!1,Us=null,Gs=null,Xs=!1,$s=null,Ks=0,Ys=0,Js=null,Qs=-1,ec=0;function tc(){return 6&_s?Je():-1!==Qs?Qs:Qs=Je()}function rc(e){return 1&e.mode?2&_s&&0!==Fs?Fs&-Fs:null!==ma.transition?(0===ec&&(ec=vt()),ec):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function oc(e,t,o,n){if(50<Ys)throw Ys=0,Js=null,Error(r(185));bt(e,o,n),2&_s&&e===Ts||(e===Ts&&(!(2&_s)&&(As|=o),4===Ps&&sc(e,Fs)),nc(e,n),1===o&&0===_s&&!(1&t.mode)&&(Vs=Je()+500,Hn&&Wn()))}function nc(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-lt(a),l=1<<i,s=n[i];-1===s?0!==(l&r)&&0===(l&o)||(n[i]=ht(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var o=pt(e,e===Ts?Fs:0);if(0===o)null!==r&&$e(r),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(null!=r&&$e(r),1===t)0===e.tag?function(e){Hn=!0,Vn(e)}(cc.bind(null,e)):Vn(cc.bind(null,e)),sn(function(){!(6&_s)&&Wn()}),r=null;else{switch(xt(o)){case 1:r=et;break;case 4:r=tt;break;case 16:default:r=rt;break;case 536870912:r=nt}r=Tc(r,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function ac(e,t){if(Qs=-1,ec=0,6&_s)throw Error(r(327));var o=e.callbackNode;if(kc()&&e.callbackNode!==o)return null;var n=pt(e,e===Ts?Fs:0);if(0===n)return null;if(30&n||0!==(n&e.expiredLanes)||t)t=mc(e,n);else{t=n;var a=_s;_s|=2;var i=gc();for(Ts===e&&Fs===t||(Ws=null,Vs=Je()+500,pc(e,t));;)try{Cc();break}catch(t){hc(e,t)}Na(),js.current=i,_s=a,null!==qs?t=0:(Ts=null,Fs=0,t=Ps)}if(0!==t){if(2===t&&0!==(a=gt(e))&&(n=a,t=ic(e,a)),1===t)throw o=Is,pc(e,0),sc(e,n),nc(e,Je()),o;if(6===t)sc(e,n);else{if(a=e.current.alternate,!(30&n||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var o=0;o<r.length;o++){var n=r[o],a=n.getSnapshot;n=n.value;try{if(!lo(a(),n))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=mc(e,n),2===t&&(i=gt(e),0!==i&&(n=i,t=ic(e,i))),1!==t)))throw o=Is,pc(e,0),sc(e,n),nc(e,Je()),o;switch(e.finishedWork=a,e.finishedLanes=n,t){case 0:case 1:throw Error(r(345));case 2:case 5:wc(e,Hs,Ws);break;case 3:if(sc(e,n),(130023424&n)===n&&10<(t=Ls+500-Je())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&n)!==n){tc(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=nn(wc.bind(null,e,Hs,Ws),t);break}wc(e,Hs,Ws);break;case 4:if(sc(e,n),(4194240&n)===n)break;for(t=e.eventTimes,a=-1;0<n;){var l=31-lt(n);i=1<<l,(l=t[l])>a&&(a=l),n&=~i}if(n=a,10<(n=(120>(n=Je()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*zs(n/1960))-n)){e.timeoutHandle=nn(wc.bind(null,e,Hs,Ws),n);break}wc(e,Hs,Ws);break;default:throw Error(r(329))}}}return nc(e,Je()),e.callbackNode===o?ac.bind(null,e):null}function ic(e,t){var r=Ms;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Hs,Hs=r,null!==t&&lc(t)),e}function lc(e){null===Hs?Hs=e:Hs.push.apply(Hs,e)}function sc(e,t){for(t&=~Rs,t&=~As,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-lt(t),o=1<<r;e[r]=-1,t&=~o}}function cc(e){if(6&_s)throw Error(r(327));kc();var t=pt(e,0);if(!(1&t))return nc(e,Je()),null;var o=mc(e,t);if(0!==e.tag&&2===o){var n=gt(e);0!==n&&(t=n,o=ic(e,n))}if(1===o)throw o=Is,pc(e,0),sc(e,t),nc(e,Je()),o;if(6===o)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Hs,Ws),nc(e,Je()),null}function dc(e,t){var r=_s;_s|=1;try{return e(t)}finally{0===(_s=r)&&(Vs=Je()+500,Hn&&Wn())}}function uc(e){null!==$s&&0===$s.tag&&!(6&_s)&&kc();var t=_s;_s|=1;var r=Ns.transition,o=yt;try{if(Ns.transition=null,yt=1,e)return e()}finally{yt=o,Ns.transition=r,!(6&(_s=t))&&Wn()}}function fc(){Ds=Es.current,Sn(Es)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,an(r)),null!==qs)for(r=qs.return;null!==r;){var o=r;switch(oa(o),o.tag){case 1:null!=(o=o.type.childContextTypes)&&Pn();break;case 3:Ja(),Sn(qn),Sn(Tn),ni();break;case 5:ei(o);break;case 4:Ja();break;case 13:case 19:Sn(ti);break;case 10:_a(o.type._context);break;case 22:case 23:fc()}r=r.return}if(Ts=e,qs=e=Ec(e.current,null),Fs=Ds=t,Ps=0,Is=null,Rs=As=Os=0,Hs=Ms=null,null!==Da){for(t=0;t<Da.length;t++)if(null!==(o=(r=Da[t]).interleaved)){r.interleaved=null;var n=o.next,a=r.pending;if(null!==a){var i=a.next;a.next=n,o.next=i}r.pending=o}Da=null}return e}function hc(e,t){for(;;){var o=qs;try{if(Na(),ai.current=Qi,ui){for(var n=si.memoizedState;null!==n;){var a=n.queue;null!==a&&(a.pending=null),n=n.next}ui=!1}if(li=0,di=ci=si=null,fi=!1,pi=0,Ss.current=null,null===o||null===o.return){Ps=1,Is=t,qs=null;break}e:{var i=e,l=o.return,s=o,c=t;if(t=Fs,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var d=c,u=s,f=u.tag;if(!(1&u.mode||0!==f&&11!==f&&15!==f)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var h=ml(l);if(null!==h){h.flags&=-257,bl(h,l,s,0,t),1&h.mode&&vl(i,d,t),c=d;var g=(t=h).updateQueue;if(null===g){var v=new Set;v.add(c),t.updateQueue=v}else g.add(c);break e}if(!(1&t)){vl(i,d,t),vc();break e}c=Error(r(426))}else if(ia&&1&s.mode){var m=ml(l);if(null!==m){!(65536&m.flags)&&(m.flags|=256),bl(m,l,s,0,t),va(dl(c,s));break e}}i=c=dl(c,s),4!==Ps&&(Ps=2),null===Ms?Ms=[i]:Ms.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Va(i,hl(0,c,t));break e;case 1:s=c;var b=i.type,C=i.stateNode;if(!(128&i.flags||"function"!=typeof b.getDerivedStateFromError&&(null===C||"function"!=typeof C.componentDidCatch||null!==Gs&&Gs.has(C)))){i.flags|=65536,t&=-t,i.lanes|=t,Va(i,gl(i,s,t));break e}}i=i.return}while(null!==i)}xc(o)}catch(e){t=e,qs===o&&null!==o&&(qs=o=o.return);continue}break}}function gc(){var e=js.current;return js.current=Qi,null===e?Qi:e}function vc(){0!==Ps&&3!==Ps&&2!==Ps||(Ps=4),null===Ts||!(268435455&Os)&&!(268435455&As)||sc(Ts,Fs)}function mc(e,t){var o=_s;_s|=2;var n=gc();for(Ts===e&&Fs===t||(Ws=null,pc(e,t));;)try{bc();break}catch(t){hc(e,t)}if(Na(),_s=o,js.current=n,null!==qs)throw Error(r(261));return Ts=null,Fs=0,Ps}function bc(){for(;null!==qs;)yc(qs)}function Cc(){for(;null!==qs&&!Ke();)yc(qs)}function yc(e){var t=Bs(e.alternate,e,Ds);e.memoizedProps=e.pendingProps,null===t?xc(e):qs=t,Ss.current=null}function xc(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=$l(r,t)))return r.flags&=32767,void(qs=r);if(null===e)return Ps=6,void(qs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=Xl(r,t,Ds)))return void(qs=r);if(null!==(t=t.sibling))return void(qs=t);qs=t=e}while(null!==t);0===Ps&&(Ps=5)}function wc(e,t,o){var n=yt,a=Ns.transition;try{Ns.transition=null,yt=1,function(e,t,o,n){do{kc()}while(null!==$s);if(6&_s)throw Error(r(327));o=e.finishedWork;var a=e.finishedLanes;if(null===o)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var i=o.lanes|o.childLanes;if(function(e,t){var r=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 o=e.eventTimes;for(e=e.expirationTimes;0<r;){var n=31-lt(r),a=1<<n;t[n]=0,o[n]=-1,e[n]=-1,r&=~a}}(e,i),e===Ts&&(qs=Ts=null,Fs=0),!(2064&o.subtreeFlags)&&!(2064&o.flags)||Xs||(Xs=!0,Tc(rt,function(){return kc(),null})),i=!!(15990&o.flags),15990&o.subtreeFlags||i){i=Ns.transition,Ns.transition=null;var l=yt;yt=1;var s=_s;_s|=4,Ss.current=null,function(e,t){if(tn=Zt,ho(e=po())){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(o=(o=e.ownerDocument)&&o.defaultView||window).getSelection&&o.getSelection();if(n&&0!==n.rangeCount){o=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{o.nodeType,i.nodeType}catch(e){o=null;break e}var l=0,s=-1,c=-1,d=0,u=0,f=e,p=null;t:for(;;){for(var h;f!==o||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==n&&3!==f.nodeType||(c=l+n),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===o&&++d===a&&(s=l),p===i&&++u===n&&(c=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}o=-1===s||-1===c?null:{start:s,end:c}}else o=null}o=o||{start:0,end:0}}else o=null;for(rn={focusedElem:e,selectionRange:o},Zt=!1,Ql=t;null!==Ql;)if(e=(t=Ql).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ql=e;else for(;null!==Ql;){t=Ql;try{var g=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var v=g.memoizedProps,m=g.memoizedState,b=t.stateNode,C=b.getSnapshotBeforeUpdate(t.elementType===t.type?v:ol(t.type,v),m);b.__reactInternalSnapshotBeforeUpdate=C}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(r(163))}}catch(e){zc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ql=e;break}Ql=t.return}g=rs,rs=!1}(e,o),ms(o,e),go(rn),Zt=!!tn,rn=tn=null,e.current=o,Cs(o,e,a),Ye(),_s=s,yt=l,Ns.transition=i}else e.current=o;if(Xs&&(Xs=!1,$s=e,Ks=a),0===(i=e.pendingLanes)&&(Gs=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(e){}}(o.stateNode),nc(e,Je()),null!==t)for(n=e.onRecoverableError,o=0;o<t.length;o++)n((a=t[o]).value,{componentStack:a.stack,digest:a.digest});if(Zs)throw Zs=!1,e=Us,Us=null,e;!!(1&Ks)&&0!==e.tag&&kc(),1&(i=e.pendingLanes)?e===Js?Ys++:(Ys=0,Js=e):Ys=0,Wn()}(e,t,o,n)}finally{Ns.transition=a,yt=n}return null}function kc(){if(null!==$s){var e=xt(Ks),t=Ns.transition,o=yt;try{if(Ns.transition=null,yt=16>e?16:e,null===$s)var n=!1;else{if(e=$s,$s=null,Ks=0,6&_s)throw Error(r(331));var a=_s;for(_s|=4,Ql=e.current;null!==Ql;){var i=Ql,l=i.child;if(16&Ql.flags){var s=i.deletions;if(null!==s){for(var c=0;c<s.length;c++){var d=s[c];for(Ql=d;null!==Ql;){var u=Ql;switch(u.tag){case 0:case 11:case 15:os(8,u,i)}var f=u.child;if(null!==f)f.return=u,Ql=f;else for(;null!==Ql;){var p=(u=Ql).sibling,h=u.return;if(is(u),u===d){Ql=null;break}if(null!==p){p.return=h,Ql=p;break}Ql=h}}}var g=i.alternate;if(null!==g){var v=g.child;if(null!==v){g.child=null;do{var m=v.sibling;v.sibling=null,v=m}while(null!==v)}}Ql=i}}if(2064&i.subtreeFlags&&null!==l)l.return=i,Ql=l;else e:for(;null!==Ql;){if(2048&(i=Ql).flags)switch(i.tag){case 0:case 11:case 15:os(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Ql=b;break e}Ql=i.return}}var C=e.current;for(Ql=C;null!==Ql;){var y=(l=Ql).child;if(2064&l.subtreeFlags&&null!==y)y.return=l,Ql=y;else e:for(l=C;null!==Ql;){if(2048&(s=Ql).flags)try{switch(s.tag){case 0:case 11:case 15:ns(9,s)}}catch(e){zc(s,s.return,e)}if(s===l){Ql=null;break e}var x=s.sibling;if(null!==x){x.return=s.return,Ql=x;break e}Ql=s.return}}if(_s=a,Wn(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(at,e)}catch(e){}n=!0}return n}finally{yt=o,Ns.transition=t}}return!1}function Bc(e,t,r){e=Ha(e,t=hl(0,t=dl(r,t),1),1),t=tc(),null!==e&&(bt(e,1,t),nc(e,t))}function zc(e,t,r){if(3===e.tag)Bc(e,e,r);else for(;null!==t;){if(3===t.tag){Bc(t,e,r);break}if(1===t.tag){var o=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&(null===Gs||!Gs.has(o))){t=Ha(t,e=gl(t,e=dl(r,e),1),1),e=tc(),null!==t&&(bt(t,1,e),nc(t,e));break}}t=t.return}}function jc(e,t,r){var o=e.pingCache;null!==o&&o.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&r,Ts===e&&(Fs&r)===r&&(4===Ps||3===Ps&&(130023424&Fs)===Fs&&500>Je()-Ls?pc(e,0):Rs|=r),nc(e,t)}function Sc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var r=tc();null!==(e=Ia(e,t))&&(bt(e,t,r),nc(e,r))}function Nc(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Sc(e,r)}function _c(e,t){var o=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;null!==a&&(o=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(r(314))}null!==n&&n.delete(t),Sc(e,o)}function Tc(e,t){return Xe(e,t)}function qc(e,t,r,o){this.tag=e,this.key=r,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fc(e,t,r,o){return new qc(e,t,r,o)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ec(e,t){var r=e.alternate;return null===r?((r=Fc(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Pc(e,t,o,n,a,i){var l=2;if(n=e,"function"==typeof e)Dc(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case B:return Ic(o.children,a,i,t);case z:l=8,a|=8;break;case j:return(e=Fc(12,o,t,2|a)).elementType=j,e.lanes=i,e;case T:return(e=Fc(13,o,t,a)).elementType=T,e.lanes=i,e;case q:return(e=Fc(19,o,t,a)).elementType=q,e.lanes=i,e;case E:return Oc(o,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:l=10;break e;case N:l=9;break e;case _:l=11;break e;case F:l=14;break e;case D:l=16,n=null;break e}throw Error(r(130,null==e?e:typeof e,""))}return(t=Fc(l,o,t,a)).elementType=e,t.type=n,t.lanes=i,t}function Ic(e,t,r,o){return(e=Fc(7,e,o,t)).lanes=r,e}function Oc(e,t,r,o){return(e=Fc(22,e,o,t)).elementType=E,e.lanes=r,e.stateNode={isHidden:!1},e}function Ac(e,t,r){return(e=Fc(6,e,null,t)).lanes=r,e}function Rc(e,t,r){return(t=Fc(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Mc(e,t,r,o,n){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=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=o,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function Hc(e,t,r,o,n,a,i,l,s){return e=new Mc(e,t,r,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Fc(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:o,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Aa(a),e}function Lc(e){if(!e)return _n;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(En(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(r(171))}if(1===e.tag){var o=e.type;if(En(o))return On(e,o,t)}return t}function Vc(e,t,r,o,n,a,i,l,s){return(e=Hc(r,o,!0,e,0,a,0,l,s)).context=Lc(null),r=e.current,(a=Ma(o=tc(),n=rc(r))).callback=null!=t?t:null,Ha(r,a,n),e.current.lanes=n,bt(e,n,o),nc(e,o),e}function Wc(e,t,r,o){var n=t.current,a=tc(),i=rc(n);return r=Lc(r),null===t.context?t.context=r:t.pendingContext=r,(t=Ma(a,i)).payload={element:e},null!==(o=void 0===o?null:o)&&(t.callback=o),null!==(e=Ha(n,t,i))&&(oc(e,n,i,a),La(e,n,i)),i}function Zc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Uc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Gc(e,t){Uc(e,t),(e=e.alternate)&&Uc(e,t)}Bs=function(e,t,o){if(null!==e)if(e.memoizedProps!==t.pendingProps||qn.current)yl=!0;else{if(0===(e.lanes&o)&&!(128&t.flags))return yl=!1,function(e,t,r){switch(t.tag){case 3:Tl(t),ga();break;case 5:Qa(t);break;case 1:En(t.type)&&An(t);break;case 4:Ya(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,n=t.memoizedProps.value;Nn(Ba,o._currentValue),o._currentValue=n;break;case 13:if(null!==(o=t.memoizedState))return null!==o.dehydrated?(Nn(ti,1&ti.current),t.flags|=128,null):0!==(r&t.child.childLanes)?Al(e,t,r):(Nn(ti,1&ti.current),null!==(e=Zl(e,t,r))?e.sibling:null);Nn(ti,1&ti.current);break;case 19:if(o=0!==(r&t.childLanes),128&e.flags){if(o)return Vl(e,t,r);t.flags|=128}if(null!==(n=t.memoizedState)&&(n.rendering=null,n.tail=null,n.lastEffect=null),Nn(ti,ti.current),o)break;return null;case 22:case 23:return t.lanes=0,zl(e,t,r)}return Zl(e,t,r)}(e,t,o);yl=!!(131072&e.flags)}else yl=!1,ia&&1048576&t.flags&&ta(t,Xn,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Wl(e,t),e=t.pendingProps;var a=Dn(t,Tn.current);qa(t,o),a=mi(null,t,n,e,a,o);var i=bi();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,En(n)?(i=!0,An(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Aa(t),a.updater=al,t.stateNode=a,a._reactInternals=t,cl(t,n,e,o),t=_l(null,t,n,!0,i,o)):(t.tag=0,ia&&i&&ra(t),xl(null,t,a,o),t=t.child),t;case 16:n=t.elementType;e:{switch(Wl(e,t),e=t.pendingProps,n=(a=n._init)(n._payload),t.type=n,a=t.tag=function(e){if("function"==typeof e)return Dc(e)?1:0;if(null!=e){if((e=e.$$typeof)===_)return 11;if(e===F)return 14}return 2}(n),e=ol(n,e),a){case 0:t=Sl(null,t,n,e,o);break e;case 1:t=Nl(null,t,n,e,o);break e;case 11:t=wl(null,t,n,e,o);break e;case 14:t=kl(null,t,n,ol(n.type,e),o);break e}throw Error(r(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,Sl(e,t,n,a=t.elementType===n?a:ol(n,a),o);case 1:return n=t.type,a=t.pendingProps,Nl(e,t,n,a=t.elementType===n?a:ol(n,a),o);case 3:e:{if(Tl(t),null===e)throw Error(r(387));n=t.pendingProps,a=(i=t.memoizedState).element,Ra(e,t),Wa(t,n,null,o);var l=t.memoizedState;if(n=l.element,i.isDehydrated){if(i={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=ql(e,t,n,o,a=dl(Error(r(423)),t));break e}if(n!==a){t=ql(e,t,n,o,a=dl(Error(r(424)),t));break e}for(aa=un(t.stateNode.containerInfo.firstChild),na=t,ia=!0,la=null,o=ka(t,null,n,o),t.child=o;o;)o.flags=-3&o.flags|4096,o=o.sibling}else{if(ga(),n===a){t=Zl(e,t,o);break e}xl(e,t,n,o)}t=t.child}return t;case 5:return Qa(t),null===e&&ua(t),n=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,on(n,a)?l=null:null!==i&&on(n,i)&&(t.flags|=32),jl(e,t),xl(e,t,l,o),t.child;case 6:return null===e&&ua(t),null;case 13:return Al(e,t,o);case 4:return Ya(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=wa(t,null,n,o):xl(e,t,n,o),t.child;case 11:return n=t.type,a=t.pendingProps,wl(e,t,n,a=t.elementType===n?a:ol(n,a),o);case 7:return xl(e,t,t.pendingProps,o),t.child;case 8:case 12:return xl(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Nn(Ba,n._currentValue),n._currentValue=l,null!==i)if(lo(i.value,l)){if(i.children===a.children&&!qn.current){t=Zl(e,t,o);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var c=s.firstContext;null!==c;){if(c.context===n){if(1===i.tag){(c=Ma(-1,o&-o)).tag=2;var d=i.updateQueue;if(null!==d){var u=(d=d.shared).pending;null===u?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}i.lanes|=o,null!==(c=i.alternate)&&(c.lanes|=o),Ta(i.return,o,t),s.lanes|=o;break}c=c.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(r(341));l.lanes|=o,null!==(s=l.alternate)&&(s.lanes|=o),Ta(l,o,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}xl(e,t,a.children,o),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,qa(t,o),n=n(a=Fa(a)),t.flags|=1,xl(e,t,n,o),t.child;case 14:return a=ol(n=t.type,t.pendingProps),kl(e,t,n,a=ol(n.type,a),o);case 15:return Bl(e,t,t.type,t.pendingProps,o);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:ol(n,a),Wl(e,t),t.tag=1,En(n)?(e=!0,An(t)):e=!1,qa(t,o),ll(t,n,a),cl(t,n,a,o),_l(null,t,n,!0,e,o);case 19:return Vl(e,t,o);case 22:return zl(e,t,o)}throw Error(r(156,t.tag))};var Xc="function"==typeof reportError?reportError:function(e){console.error(e)};function $c(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qc(){}function ed(e,t,r,o,n){var a=r._reactRootContainer;if(a){var i=a;if("function"==typeof n){var l=n;n=function(){var e=Zc(i);l.call(e)}}Wc(t,i,e,n)}else i=function(e,t,r,o,n){if(n){if("function"==typeof o){var a=o;o=function(){var e=Zc(i);a.call(e)}}var i=Vc(t,o,e,0,null,!1,0,"",Qc);return e._reactRootContainer=i,e[vn]=i.current,Vo(8===e.nodeType?e.parentNode:e),uc(),i}for(;n=e.lastChild;)e.removeChild(n);if("function"==typeof o){var l=o;o=function(){var e=Zc(s);l.call(e)}}var s=Hc(e,0,!1,null,0,!1,0,"",Qc);return e._reactRootContainer=s,e[vn]=s.current,Vo(8===e.nodeType?e.parentNode:e),uc(function(){Wc(t,s,r,o)}),s}(r,t,e,n,o);return Zc(i)}Kc.prototype.render=$c.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));Wc(e,t,null,null)},Kc.prototype.unmount=$c.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc(function(){Wc(null,e,null,null)}),t[vn]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=zt();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Et.length&&0!==t&&t<Et[r].priority;r++);Et.splice(r,0,e),0===r&&At(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=ft(t.pendingLanes);0!==r&&(Ct(t,1|r),nc(t,Je()),!(6&_s)&&(Vs=Je()+500,Wn()))}break;case 13:uc(function(){var t=Ia(e,1);if(null!==t){var r=tc();oc(t,e,1,r)}}),Gc(e,1)}},kt=function(e){if(13===e.tag){var t=Ia(e,134217728);null!==t&&oc(t,e,134217728,tc()),Gc(e,134217728)}},Bt=function(e){if(13===e.tag){var t=rc(e),r=Ia(e,t);null!==r&&oc(r,e,t,tc()),Gc(e,t)}},zt=function(){return yt},jt=function(e,t){var r=yt;try{return yt=e,t()}finally{yt=r}},ke=function(e,t,o){switch(t){case"input":if(Q(e,o),t=o.name,"radio"===o.type&&null!=t){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var n=o[t];if(n!==e&&n.form===e.form){var a=kn(n);if(!a)throw Error(r(90));X(n),Q(n,a)}}}break;case"textarea":ie(e,o);break;case"select":null!=(t=o.value)&&oe(e,!!o.multiple,t,!1)}},_e=dc,Te=uc;var td={usingClientEntryPoint:!1,Events:[xn,wn,kn,Se,Ne,dc]},rd={findFiberByHostInstance:yn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},od={bundleType:rd.bundleType,version:rd.version,rendererPackageName:rd.rendererPackageName,rendererConfig:rd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:rd.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nd.isDisabled&&nd.supportsFiber)try{at=nd.inject(od),it=nd}catch(ue){}}return v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=td,v.createPortal=function(e,t){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(r(200));return function(e,t,r){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==o?null:""+o,children:e,containerInfo:t,implementation:r}}(e,t,null,o)},v.createRoot=function(e,t){if(!Yc(e))throw Error(r(299));var o=!1,n="",a=Xc;return null!=t&&(!0===t.unstable_strictMode&&(o=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Hc(e,1,!1,null,0,o,0,n,a),e[vn]=t.current,Vo(8===e.nodeType?e.parentNode:e),new $c(t)},v.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return null===(e=Ue(t))?null:e.stateNode},v.flushSync=function(e){return uc(e)},v.hydrate=function(e,t,o){if(!Jc(t))throw Error(r(200));return ed(null,e,t,!0,o)},v.hydrateRoot=function(e,t,o){if(!Yc(e))throw Error(r(405));var n=null!=o&&o.hydratedSources||null,a=!1,i="",l=Xc;if(null!=o&&(!0===o.unstable_strictMode&&(a=!0),void 0!==o.identifierPrefix&&(i=o.identifierPrefix),void 0!==o.onRecoverableError&&(l=o.onRecoverableError)),t=Vc(t,null,e,1,null!=o?o:null,a,0,i,l),e[vn]=t.current,Vo(e),n)for(e=0;e<n.length;e++)a=(a=(o=n[e])._getVersion)(o._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[o,a]:t.mutableSourceEagerHydrationData.push(o,a);return new Kc(t)},v.render=function(e,t,o){if(!Jc(t))throw Error(r(200));return ed(null,e,t,!1,o)},v.unmountComponentAtNode=function(e){if(!Jc(e))throw Error(r(40));return!!e._reactRootContainer&&(uc(function(){ed(null,null,e,!1,function(){e._reactRootContainer=null,e[vn]=null})}),!0)},v.unstable_batchedUpdates=dc,v.unstable_renderSubtreeIntoContainer=function(e,t,o,n){if(!Jc(o))throw Error(r(200));if(null==e||void 0===e._reactInternals)throw Error(r(38));return ed(e,t,o,!1,n)},v.version="18.3.1-next-f1338f8080-20240426",v}();var y,x=g.exports,w=x;y=h.createRoot=w.createRoot,h.hydrateRoot=w.hydrateRoot;class k{constructor(){this.lock=!1}}class B{constructor(e,t,r,o){this.left=e,this.top=t,this.right=r,this.bottom=o}clone(){return new B(this.left,this.top,this.right,this.bottom)}get center(){const e=new t.Vector2(this.left,this.top);return e.addInPlace(new t.Vector2(this.right,this.bottom).subtractInPlace(e).multiplyByFloats(.5,.5))}get width(){return this.right-this.left}get height(){return this.bottom-this.top}}const z=e=>Math.round(100*e)/100;class j{static GetScale(e,r){let o=e.scaleX,n=e.scaleY;if(r)return new t.Vector2(o,n);let a=e.parent;for(;a;)o*=a.scaleX,n*=a.scaleY,a=a.parent;return new t.Vector2(o,n)}static GetRotation(e,t){let r=e.rotation;if(t)return r;let o=e.parent;for(;o;)r+=o.rotation,o=o.parent;return r}static GetParentSizes(e){const t=new r.Measure(0,0,0,0);if(e.parent&&(t.copyFrom(e.parent._currentMeasure),"Grid"===e.parent.typeName)){const r=e.parent.getChildCellInfo(e),o=e.parent.cells[r];o&&(t.width=o.widthInPixels,t.height=o.heightInPixels)}return t}static GetNodeMatrix(e,t){const o=this.GlobalState.guiTexture.getSize();let n,a;if(e.parent){const t=j.GetParentSizes(e);n=t.width,a=t.height}else n=o.width,a=o.height;let i=0,l=0;const s=t?t.width:e.widthInPixels,c=t?t.height:e.heightInPixels,d=t?t.left:e.leftInPixels,u=t?t.top:e.topInPixels;switch(e.horizontalAlignment){case r.Control.HORIZONTAL_ALIGNMENT_LEFT:i=-(n-s)/2;break;case r.Control.HORIZONTAL_ALIGNMENT_RIGHT:i=(n-s)/2;break;case r.Control.HORIZONTAL_ALIGNMENT_CENTER:i=0}switch(e.verticalAlignment){case r.Control.VERTICAL_ALIGNMENT_TOP:l=-(a-c)/2;break;case r.Control.VERTICAL_ALIGNMENT_BOTTOM:l=(a-c)/2;break;case r.Control.VERTICAL_ALIGNMENT_CENTER:l=0}this._ResetMatrixArray();const f=this._MatrixCache[0],p=this._MatrixCache[1],h=r.Matrix2D.Identity();let g=s*e.transformCenterX-s/2,v=c*e.transformCenterY-c/2;e.descendantsOnlyPadding||(g-=1*(e.paddingRightInPixels-e.paddingLeftInPixels)/2,v-=1*(e.paddingBottomInPixels-e.paddingTopInPixels)/2),r.Matrix2D.TranslationToRef(i+d,l+u,p);const m=this.GetRotation(e,!0),b=this.GetScale(e,!0);return r.Matrix2D.ComposeToRef(-g,-v,m,b.x,b.y,null,f),h.multiplyToRef(f,h),h.multiplyToRef(p,h),h}static NodeToRTTWorldMatrix(e,t,r){const o=[e];let n=e.parent,a=e;for(;n&&a!==r;){if("Grid"===n.typeName){const e=n.getChildCellInfo(a),t=n.cells[e];o.push(t)}o.push(n),a=n,n=n.parent}this._ResetMatrixArray();const i=o.map((e,r)=>this.GetNodeMatrix(e,0===r?t:void 0));return i.reduce((e,t)=>(e.multiplyToRef(t,e),e),this._MatrixCache[2])}static NodeToRTTSpace(e,r,o,n=new t.Vector2,a,i){return this.NodeToRTTWorldMatrix(e,a,i).transformCoordinates(r,o,n),n.x=z(n.x),n.y=z(n.y),n}static RttToLocalNodeSpace(e,r,o,n=new t.Vector2,a){const i=this.NodeToRTTWorldMatrix(e,a),l=this._MatrixCache[3];return i.invertToRef(l),l.transformCoordinates(r,o,n),n.x=z(n.x),n.y=z(n.y),n}static RttToCanvasSpace(e,r){const o=this.GlobalState.workbench._scene.getEngine();return new t.Vector2(e+o.getRenderWidth()/2,r+o.getRenderHeight()/2)}static MousePointerToRTTSpace(e,r,o){const n=this.GlobalState.workbench._scene,a=n.getEngine();return new t.Vector2((r||n.pointerX)-a.getRenderWidth()/2,(o||n.pointerY)-a.getRenderHeight()/2)}static _ResetMatrixArray(){for(const e of this._MatrixCache)r.Matrix2D.IdentityToRef(e)}static ComputeLocalBounds(e){return new B(.5*-e.widthInPixels,.5*-e.heightInPixels,.5*e.widthInPixels,.5*e.heightInPixels)}static ConvertToPercentage(e,t=["left","top","width","height"],r){let o=1,n=1;if(e.parent)if("Grid"===e.parent.typeName){const t=e.parent.getChildCellInfo(e),r=e.parent.cells[t];o=r.widthInPixels,n=r.heightInPixels}else if("Rectangle"===e.parent.typeName||"Button"===e.parent.typeName){const t=2*e.parent.thickness;o=e.parent._currentMeasure.width-t,n=e.parent._currentMeasure.height-t}else o=e.parent._currentMeasure.width,n=e.parent._currentMeasure.height;for(const a of t){const t=e[a],i="left"===a||"width"===a||"paddingLeft"===a||"paddingRight"===a?o:n,l=100*e[`${a}InPixels`]/i;e[a]=`${l.toFixed(2)}%`,r?.notifyObservers({object:e,initialValue:t,value:e[a],property:a})}}static Round(e){return Math.floor(100*e)/100}static ConvertToPixels(e,t=["left","top","width","height"],o){const n=j.GetParentSizes(e);e._processMeasures(n,e.host.getContext());for(const n of t){const t=e[n];e[`_${n}`]=new r.ValueAndUnit(this.Round(e[`${n}InPixels`]),r.ValueAndUnit.UNITMODE_PIXEL),o?.notifyObservers({object:e,initialValue:t,value:e[n],property:n})}}}j._MatrixCache=[r.Matrix2D.Identity(),r.Matrix2D.Identity(),r.Matrix2D.Identity(),r.Matrix2D.Identity()];class S{constructor(e){this._kdListener=e=>this._keyEvent(e,!0),this._kuListener=e=>this._keyEvent(e,!1),this._moveListener=e=>this._updateModifierKeys(e),this._focusOutListener=()=>this._clearKeys(),this._keys=new Set,this._hostElement=e,e.addEventListener("keydown",this._kdListener),e.addEventListener("keypress",this._kdListener),e.addEventListener("keyup",this._kuListener),e.addEventListener("mousemove",this._moveListener),e.addEventListener("focusout",this._focusOutListener),this.onKeyPressedObservable=new t.Observable}_keyEvent(e,t){this._updateModifierKeys(e)," "===e.key&&this._setKeyDown("space",t)}_updateModifierKeys(e){this._setKeyDown("control",e.ctrlKey),this._setKeyDown("alt",e.altKey),this._setKeyDown("shift",e.shiftKey),this._setKeyDown("meta",e.metaKey)}_setKeyDown(e,t){this._keys.has(e)!==t&&(t?this._keys.add(e):this._keys.delete(e),this.onKeyPressedObservable.notifyObservers(e))}_clearKeys(){for(const e of this._keys)this._keys.delete(e),this.onKeyPressedObservable.notifyObservers(e)}isKeyDown(e){return this._keys.has(e)}dispose(){this._hostElement.removeEventListener("keydown",this._kdListener),this._hostElement.removeEventListener("keypress",this._kdListener),this._hostElement.removeEventListener("keyup",this._kuListener),this._hostElement.removeEventListener("mousemove",this._moveListener),this._hostElement.removeEventListener("focusout",this._focusOutListener)}}var N,_;!function(e){e[e.ABOVE=0]="ABOVE",e[e.BELOW=1]="BELOW",e[e.CENTER=2]="CENTER",e[e.NONE=3]="NONE"}(N||(N={})),function(e){e[e.SELECT=0]="SELECT",e[e.PAN=1]="PAN",e[e.ZOOM=2]="ZOOM"}(_||(_={}));class T{get tool(){return this._tool===_.ZOOM?_.ZOOM:this._tool===_.PAN?_.PAN:_.SELECT}set tool(e){this._tool!==e&&(this._prevTool=this._tool,this._tool=e,this.onToolChangeObservable.notifyObservers())}get usePrevSelected(){return this._usePrevSelected}set usePrevSelected(e){this._usePrevSelected=e}restorePreviousTool(){this._tool!==this._prevTool&&(this._tool=this._prevTool,this.onToolChangeObservable.notifyObservers())}constructor(){this.selectedControls=[],this.onSelectionChangedObservable=new t.Observable,this.onResizeObservable=new t.Observable,this.onBuiltObservable=new t.Observable,this.onResetRequiredObservable=new t.Observable,this.onUpdateRequiredObservable=new t.Observable,this.onLogRequiredObservable=new t.Observable,this.onErrorMessageDialogRequiredObservable=new t.Observable,this.onIsLoadingChanged=new t.Observable,this.onSelectionBoxMoved=new t.Observable,this.onNewSceneObservable=new t.Observable,this.onGuiNodeRemovalObservable=new t.Observable,this.onPopupClosedObservable=new t.Observable,this._outlines=!1,this.blockKeyboardEvents=!1,this.onOutlineChangedObservable=new t.Observable,this.onPropertyChangedObservable=new t.Observable,this._tool=_.SELECT,this._prevTool=this._tool,this.onToolChangeObservable=new t.Observable,this.onFitControlsToWindowObservable=new t.Observable,this.onReframeWindowObservable=new t.Observable,this.onLoadObservable=new t.Observable,this.onSaveObservable=new t.Observable,this.onSaveSelectedControl=new t.Observable,this.onSnippetLoadObservable=new t.Observable,this.onSnippetSaveObservable=new t.Observable,this.onControlLoadObservable=new t.Observable,this.onResponsiveChangeObservable=new t.Observable,this.onParentingChangeObservable=new t.Observable,this.onDropObservable=new t.Observable,this.onPropertyGridUpdateRequiredObservable=new t.Observable,this.onDraggingEndObservable=new t.Observable,this.onDraggingStartObservable=new t.Observable,this.onWindowResizeObservable=new t.Observable,this.onGizmoUpdateRequireObservable=new t.Observable,this.onArtBoardUpdateRequiredObservable=new t.Observable,this.onBackgroundColorChangeObservable=new t.Observable,this.onFontsParsedObservable=new t.Observable,this.onPointerMoveObservable=new t.Observable,this.onPointerUpObservable=new t.Observable,this.draggedControl=null,this.onCopyObservable=new t.Observable,this.onCutObservable=new t.Observable,this.onPasteObservable=new t.Observable,this.isSaving=!1,this.lockObject=new k,this.shiftKeyPressed=!1,this.controlCamera=t.DataStorage.ReadBoolean("ControlCamera",!0);const e=t.DataStorage.ReadNumber("BackgroundColorR",.8),r=t.DataStorage.ReadNumber("BackgroundColorG",.8),o=t.DataStorage.ReadNumber("BackgroundColorB",.8);this.backgroundColor=new t.Color3(e,r,o),this.onBackgroundColorChangeObservable.notifyObservers(),j.GlobalState=this}registerEventListeners(){const e=e=>e.isContentEditable||"INPUT"===e.tagName||"TEXTAREA"===e.tagName;this.hostDocument.addEventListener("copy",t=>{e(t.target)||(this.onCopyObservable.notifyObservers(e=>t.clipboardData?.setData("text/plain",e)),t.preventDefault())}),this.hostDocument.addEventListener("cut",t=>{e(t.target)||(this.onCutObservable.notifyObservers(e=>t.clipboardData?.setData("text/plain",e)),t.preventDefault())}),this.hostDocument.addEventListener("paste",t=>{e(t.target)||(this.onPasteObservable.notifyObservers(t.clipboardData?.getData("text")||""),t.preventDefault())}),this.keys=new S(this.hostDocument),this.keys.onKeyPressedObservable.add(()=>{this.onToolChangeObservable.notifyObservers()})}get backgroundColor(){return this._backgroundColor}get fromPG(){return this._fromPg}set fromPG(e){this._fromPg=e}set backgroundColor(e){this._backgroundColor=e,this.onBackgroundColorChangeObservable.notifyObservers(),t.DataStorage.WriteNumber("BackgroundColorR",e.r),t.DataStorage.WriteNumber("BackgroundColorG",e.g),t.DataStorage.WriteNumber("BackgroundColorB",e.b)}get outlines(){return this._outlines}set outlines(e){this._outlines=e,this.onOutlineChangedObservable.notifyObservers()}select(e){this.keys.isKeyDown("control")&&this.isMultiSelectable(e)?-1===this.selectedControls.indexOf(e)?this.setSelection([...this.selectedControls,e]):this.setSelection(this.selectedControls.filter(t=>t!==e)):this.setSelection([e])}setSelection(e){this.selectedControls=[...e],this.onSelectionChangedObservable.notifyObservers()}_findParentControlInTexture(e,t){const o=[e.rootContainer];for(;o.length>0;){const e=o.splice(0,1)[0],n=e.children;if(-1!==n.indexOf(t))return e;for(const e of n)e instanceof r.Container&&o.push(e)}return null}deleteSelectedNodes(){for(const e of this.selectedControls){const t=this._findParentControlInTexture(this.guiTexture,e);if(t?.removeControl(e),this.liveGuiTexture){const t=e.getDescendants();for(const e of t){const t=this._findParentControlInTexture(this.liveGuiTexture,e);t?.removeControl(e),e.dispose()}const r=this._findParentControlInTexture(this.liveGuiTexture,e);r?.removeControl(e)}e.dispose()}this.setSelection([])}isMultiSelectable(e){return 0===this.selectedControls.length||this.selectedControls[0].parent===e.parent}dispose(){this.keys.dispose()}}var q,F={exports:{}},D={};F.exports,F.exports=function(){if(q)return D;q=1;var e=u,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(e,r,i){var l,s={},c=null,d=null;for(l in void 0!==i&&(c=""+i),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(d=r.ref),r)o.call(r,l)&&!a.hasOwnProperty(l)&&(s[l]=r[l]);if(e&&e.defaultProps)for(l in r=e.defaultProps)void 0===s[l]&&(s[l]=r[l]);return{$$typeof:t,type:e,key:c,ref:d,props:s,_owner:n.current}}return D.Fragment=r,D.jsx=i,D.jsxs=i,D}();var E=F.exports,P=o({__proto__:null,default:n(E)},[E]);class I{static _SaveAs(e,t,r){if("download"in HTMLAnchorElement.prototype){const o=window.URL||window.webkitURL,n=r.createElement("a");return n.download=t,n.rel="noopener",n.href=o.createObjectURL(e),setTimeout(()=>{o.revokeObjectURL(n.href)},4e4),void setTimeout(()=>{this._Click(n,r)},0)}let o=open("","_blank");o&&(o.document.title=o.document.body.innerText="downloading...");const n="application/octet-stream"===e.type,a=/constructor/i.test(window.HTMLElement)||window.safari,i=/CriOS\/[\d]+/.test(navigator.userAgent);if((i||n&&a)&&"undefined"!=typeof FileReader){const t=new FileReader;t.onloadend=()=>{let e=t.result;e=i?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location.href=e,o=null},t.readAsDataURL(e)}else{const t=window.URL||window.webkitURL,r=t.createObjectURL(e);o?o.location.href=r:location.href=r,o=null,setTimeout(function(){t.revokeObjectURL(r)},4e4)}}static _Click(e,t){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){const o=t.createEvent("MouseEvents");o.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(o)}}static DownloadAsFile(e,t,r){const o=new Blob([t],{type:"application/octet-stream"});this._SaveAs(o,r,e)}}var O="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctitle%3Ecopy%3C%2Ftitle%3E%3Cg%20id%3D%22UI_Elements%22%20data-name%3D%22UI%20Elements%22%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M24%2C14.89H22.76l-3-3H12.43V26.59h4.26v3h11.5V19Zm.3%2C1.71%2C2.14%2C2.13H24.34Zm-10.91%2C9V12.93h5.93l2%2C2H16.69v10.7Zm4.26%2C3V15.89h5.65v3.84h3.85v8.83Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";let A="";const R="undefined"!=typeof global?global:"undefined"!=typeof window?window:void 0;function M(e){const t=document.createElement("div");if(t.textContent=e,document.body.appendChild(t),window.getSelection){const e=document.createRange();e.selectNode(t),window.getSelection().removeAllRanges(),window.getSelection().addRange(e)}document.execCommand("copy"),t.remove()}function H(e){let r=t.GetClassName(e);return r.includes("BABYLON.")&&(r=r.split("BABYLON.")[1]),{className:r,babylonNamespace:A}}function L(e,t){Array.from(e.querySelectorAll("style")).forEach(r=>{const o=e.createElement("style");o.textContent=r.textContent,t.head?t.head.appendChild(o):t.appendChild(o)}),Array.from(e.querySelectorAll('link[rel="stylesheet"]')).forEach(r=>{const o=e.createElement("link");o.rel="stylesheet",o.href=r.href,t.head?t.head.appendChild(o):t.appendChild(o)})}void 0!==R&&void 0!==R.BABYLON&&(A="BABYLON.");const V="undefined"==typeof window?global:window,W="@griffel/";function Z(e,t){return V[Symbol.for(W+e)]||(V[Symbol.for(W+e)]=t),V[Symbol.for(W+e)]}const U=Z("DEFINITION_LOOKUP_TABLE",{}),G="data-make-styles-bucket",X={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},$="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function K(e){for(var t,r=0,o=0,n=e.length;n>=4;++o,n-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}function Y(e,t,r=[]){return"___"+function(e){const t=e.length;if(7===t)return e;for(let r=t;r<7;r++)e+="0";return e}(K(e+t))}function J(e,t){let r="",o="";for(const n in e){const a=e[n];if(0===a){o+=n+" ";continue}const i=Array.isArray(a),l="rtl"===t?(i?a[1]:a)+" ":(i?a[0]:a)+" ";r+=l,o+=l}return[r.slice(0,-1),o.slice(0,-1)]}function Q(e,t){const r={};for(const o in e){const[n,a]=J(e[o],t);if(""===a){r[o]="";continue}const i=Y(a,t),l=i+(""===n?"":" "+n);U[i]=[e[o],t],r[o]=l}return r}const ee={};function te(){let e=null,t="",r="";const o=new Array(arguments.length);for(let e=0;e<arguments.length;e++){const n=arguments[e];if("string"==typeof n&&""!==n){const a=n.indexOf("___");if(-1===a)t+=n+" ";else{const i=n.substr(a,10);a>0&&(t+=n.slice(0,a)),r+=i,o[e]=i}}}if(""===r)return t.slice(0,-1);const n=ee[r];if(void 0!==n)return t+n;const a=[];for(let t=0;t<arguments.length;t++){const r=o[t];if(r){const t=U[r];t&&(a.push(t[0]),e=t[1])}}const i=Object.assign.apply(Object,[{}].concat(a)),[l,s]=J(i,e),c=Y(s,e,o),d=c+" "+l;return ee[r]=d,U[c]=[i,e],t+d}function re(e){return Array.isArray(e)?e:[e]}const oe=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,t,r)=>(e[t]=r,e),{});function ne(e,t,r,o,n={}){var a,i;const l="m"===e,s=null!==(a=n.m)&&void 0!==a?a:"0",c=null!==(i=n.p)&&void 0!==i?i:0,d=function(e,t,r){return("m"===e?e+t:e)+r}(e,s,c);if(!o.stylesheets[d]){const a=t&&t.createElement("style"),i=function(e,t,r,o){const n=[];if(o[G]=t,o["data-priority"]=String(r),e)for(const t in o)e.setAttribute(t,o[t]);return{elementAttributes:o,insertRule:function(t){return(null==e?void 0:e.sheet)?e.sheet.insertRule(t,e.sheet.cssRules.length):n.push(t)},element:e,bucketName:t,cssRules:()=>(null==e?void 0:e.sheet)?Array.from(e.sheet.cssRules).map(e=>e.cssText):n}}(a,e,c,Object.assign({},o.styleElementAttributes,l&&{media:s}));o.stylesheets[d]=i,(null==t?void 0:t.head)&&a&&t.head.insertBefore(a,function(e,t,r,o,n={}){var a,i;const l=oe[r],s=null!==(a=n.m)&&void 0!==a?a:"",c=null!==(i=n.p)&&void 0!==i?i:0;let d=e=>l-oe[e.getAttribute(G)],u=e.head.querySelectorAll(`[${G}]`);if("m"===r){const t=e.head.querySelectorAll(`[${G}="${r}"]`);t.length&&(u=t,d=e=>o.compareMediaQueries(s,e.media))}const f=e=>function(e,t,r){var o,n;return t+(null!==(o=r.m)&&void 0!==o?o:"")===e.getAttribute(G)+(null!==(n=e.media)&&void 0!==n?n:"")}(e,r,n)?c-Number(e.getAttribute("data-priority")):d(e),p=u.length;let h=p-1;for(;h>=0;){const e=u.item(h);if(f(e)>0)return e.nextSibling;h--}return p>0?u.item(0):t?t.nextSibling:null}(t,r,e,o,n))}return o.stylesheets[d]}function ae(e,t){try{e.insertRule(t)}catch(e){}}let ie=0;const le=(e,t)=>e<t?-1:e>t?1:0;function se(e=("undefined"==typeof document?void 0:document),t={}){const{classNameHashSalt:r,unstable_filterCSSRule:o,insertionPoint:n,styleElementAttributes:a,compareMediaQueries:i=le}=t,l={classNameHashSalt:r,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(a),compareMediaQueries:i,id:"d"+ie++,insertCSSRules(t){for(const r in t){const a=t[r];for(let t=0,i=a.length;t<i;t++){const[i,s]=re(a[t]),c=ne(r,e,n||null,l,s);l.insertionCache[i]||(l.insertionCache[i]=r,o?o(i)&&ae(c,i):ae(c,i))}}}};return l}const ce=()=>{const e={};return function(t,r){void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}};function de(e){return e.reduce(function(e,t){var r=t[0],o=t[1];return e[r]=o,e[o]=r,e},{})}function ue(e){return"number"==typeof e}function fe(e,t){return-1!==e.indexOf(t)}function pe(e,t,r,o){return t+(n=r,0===parseFloat(n)?n:"-"===n[0]?n.slice(1):"-"+n)+o;var n}function he(e){return e.replace(/ +/g," ").split(" ").map(function(e){return e.trim()}).filter(Boolean).reduce(function(e,t){var r=e.list,o=e.state,n=(t.match(/\(/g)||[]).length,a=(t.match(/\)/g)||[]).length;return o.parensDepth>0?r[r.length-1]=r[r.length-1]+" "+t:r.push(t),o.parensDepth+=n-a,{list:r,state:o}},{list:[],state:{parensDepth:0}}).list}function ge(e){var t=he(e);if(t.length<=3||t.length>4)return e;var r=t[0],o=t[1],n=t[2];return[r,t[3],n,o].join(" ")}var ve={padding:function(e){var t=e.value;return ue(t)?t:ge(t)},textShadow:function(e){var t=function(e){for(var t=[],r=0,o=0,n=!1;o<e.length;)n||","!==e[o]?"("===e[o]?(n=!0,o++):")"===e[o]?(n=!1,o++):o++:(t.push(e.substring(r,o).trim()),r=++o);return r!=o&&t.push(e.substring(r,o+1)),t}(e.value).map(function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,function(e,t,r,o){return"0"===o?e:t+(""===r?"-":"")+o})});return t.join(",")},borderColor:function(e){return ge(e.value)},borderRadius:function(e){var t=e.value;if(ue(t))return t;if(fe(t,"/")){var r=t.split("/"),o=r[0],n=r[1];return ve.borderRadius({value:o.trim()})+" / "+ve.borderRadius({value:n.trim()})}var a=he(t);switch(a.length){case 2:return a.reverse().join(" ");case 4:var i=a[0],l=a[1],s=a[2];return[l,i,a[3],s].join(" ");default:return t}},background:function(e){var t=e.value,r=e.valuesToConvert,o=e.isRtl,n=e.bgImgDirectionRegex,a=e.bgPosDirectionRegex;if(ue(t))return t;var i=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(i,ve.backgroundPosition({value:i,valuesToConvert:r,isRtl:o,bgPosDirectionRegex:a})),ve.backgroundImage({value:t,valuesToConvert:r,bgImgDirectionRegex:n})},backgroundImage:function(e){var t=e.value,r=e.valuesToConvert,o=e.bgImgDirectionRegex;return fe(t,"url(")||fe(t,"linear-gradient(")?t.replace(o,function(e,t,o){return e.replace(o,r[o])}):t},backgroundPosition:function(e){var t=e.value,r=e.valuesToConvert,o=e.isRtl,n=e.bgPosDirectionRegex;return t.replace(o?/^((-|\d|\.)+%)/:null,function(e,t){return function(e){var t=e.indexOf(".");if(-1===t)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=(e=100-parseFloat(e)).toFixed(r)+"%"}return e}(t)}).replace(n,function(e){return r[e]})},backgroundPositionX:function(e){var t=e.value,r=e.valuesToConvert,o=e.isRtl,n=e.bgPosDirectionRegex;return ue(t)?t:ve.backgroundPosition({value:t,valuesToConvert:r,isRtl:o,bgPosDirectionRegex:n})},transition:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map(function(e){var t=e.split(" ");return t[0]=r[t[0]]||t[0],t.join(" ")}).join(", ")},transitionProperty:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map(function(e){return r[e]||e}).join(", ")},transform:function(e){var t=e.value,r="[^\\u0020-\\u007e]",o="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",n="((?:-?(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|-?(?:[_a-z]|"+r+"|"+o+")(?:[_a-z0-9-]|"+r+"|"+o+")*)?)|(?:inherit|auto))",a=new RegExp("(translateX\\s*\\(\\s*)"+n+"(\\s*\\))","gi"),i=new RegExp("(translate\\s*\\(\\s*)"+n+"((?:\\s*,\\s*"+n+"){0,1}\\s*\\))","gi"),l=new RegExp("(translate3d\\s*\\(\\s*)"+n+"((?:\\s*,\\s*"+n+"){0,2}\\s*\\))","gi"),s=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+n+"(\\s*\\))","gi");return t.replace(a,pe).replace(i,pe).replace(l,pe).replace(s,pe)}};ve.objectPosition=ve.backgroundPosition,ve.margin=ve.padding,ve.borderWidth=ve.padding,ve.boxShadow=ve.textShadow,ve.webkitBoxShadow=ve.boxShadow,ve.mozBoxShadow=ve.boxShadow,ve.WebkitBoxShadow=ve.boxShadow,ve.MozBoxShadow=ve.boxShadow,ve.borderStyle=ve.borderColor,ve.webkitTransform=ve.transform,ve.mozTransform=ve.transform,ve.WebkitTransform=ve.transform,ve.MozTransform=ve.transform,ve.transformOrigin=ve.backgroundPosition,ve.webkitTransformOrigin=ve.transformOrigin,ve.mozTransformOrigin=ve.transformOrigin,ve.WebkitTransformOrigin=ve.transformOrigin,ve.MozTransformOrigin=ve.transformOrigin,ve.webkitTransition=ve.transition,ve.mozTransition=ve.transition,ve.WebkitTransition=ve.transition,ve.MozTransition=ve.transition,ve.webkitTransitionProperty=ve.transitionProperty,ve.mozTransitionProperty=ve.transitionProperty,ve.WebkitTransitionProperty=ve.transitionProperty,ve.MozTransitionProperty=ve.transitionProperty,ve["text-shadow"]=ve.textShadow,ve["border-color"]=ve.borderColor,ve["border-radius"]=ve.borderRadius,ve["background-image"]=ve.backgroundImage,ve["background-position"]=ve.backgroundPosition,ve["background-position-x"]=ve.backgroundPositionX,ve["object-position"]=ve.objectPosition,ve["border-width"]=ve.padding,ve["box-shadow"]=ve.textShadow,ve["-webkit-box-shadow"]=ve.textShadow,ve["-moz-box-shadow"]=ve.textShadow,ve["border-style"]=ve.borderColor,ve["-webkit-transform"]=ve.transform,ve["-moz-transform"]=ve.transform,ve["transform-origin"]=ve.transformOrigin,ve["-webkit-transform-origin"]=ve.transformOrigin,ve["-moz-transform-origin"]=ve.transformOrigin,ve["-webkit-transition"]=ve.transition,ve["-moz-transition"]=ve.transition,ve["transition-property"]=ve.transitionProperty,ve["-webkit-transition-property"]=ve.transitionProperty,ve["-moz-transition-property"]=ve.transitionProperty;var me=de([["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"]]),be=["content"],Ce=de([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),ye=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),xe=new RegExp("(left)|(right)");function we(e){return Object.keys(e).reduce(function(t,r){var o=e[r];if("string"==typeof o&&(o=o.trim()),fe(be,r))return t[r]=o,t;var n=ke(r,o),a=n.key,i=n.value;return t[a]=i,t},Array.isArray(e)?[]:{})}function ke(e,t){var r,o=/\/\*\s?@noflip\s?\*\//.test(t),n=o?e:me[r=e]||r,a=o?t:function(e,t){if(!function(e){return!("boolean"==typeof e||function(e){return null==e}(e))}(t))return t;if((r=t)&&"object"==typeof r)return we(t);var r,o,n=ue(t),a=function(e){return"function"==typeof e}(t),i=n||a?t:t.replace(/ !important.*?$/,""),l=!n&&i.length!==t.length,s=ve[e];return o=s?s({value:i,valuesToConvert:Ce,propertiesToConvert:me,isRtl:!0,bgImgDirectionRegex:ye,bgPosDirectionRegex:xe}):Ce[i]||i,l?o+" !important":o}(n,t);return{key:n,value:a}}const Be=/[A-Z]/g,ze=/^ms-/,je={};function Se(e){return"-"+e.toLowerCase()}function Ne(e){if(Object.prototype.hasOwnProperty.call(je,e))return je[e];if("--"===e.substr(0,2))return e;const t=e.replace(Be,Se);return je[e]=ze.test(t)?"-"+t:t}function _e(e){return"&"===e.charAt(0)?e.slice(1):e}var Te="-moz-",qe="-webkit-",Fe="comm",De="rule",Ee="decl",Pe="@layer",Ie=Math.abs,Oe=String.fromCharCode,Ae=Object.assign;function Re(e){return e.trim()}function Me(e,t){return(e=t.exec(e))?e[0]:e}function He(e,t,r){return e.replace(t,r)}function Le(e,t,r){return e.indexOf(t,r)}function Ve(e,t){return 0|e.charCodeAt(t)}function We(e,t,r){return e.slice(t,r)}function Ze(e){return e.length}function Ue(e){return e.length}function Ge(e,t){return t.push(e),e}var Xe=1,$e=1,Ke=0,Ye=0,Je=0,Qe="";function et(e,t,r,o,n,a,i,l){return{value:e,root:t,parent:r,type:o,props:n,children:a,line:Xe,column:$e,length:i,return:"",siblings:l}}function tt(e,t){return Ae(et("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function rt(){return Je=Ye>0?Ve(Qe,--Ye):0,$e--,10===Je&&($e=1,Xe--),Je}function ot(){return Je=Ye<Ke?Ve(Qe,Ye++):0,$e++,10===Je&&($e=1,Xe++),Je}function nt(){return Ve(Qe,Ye)}function at(){return Ye}function it(e,t){return We(Qe,e,t)}function lt(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 st(e){return Xe=$e=1,Ke=Ze(Qe=e),Ye=0,[]}function ct(e){return Qe="",e}function dt(e){return Re(it(Ye-1,pt(91===e?e+2:40===e?e+1:e)))}function ut(e){for(;(Je=nt())&&Je<33;)ot();return lt(e)>2||lt(Je)>3?"":" "}function ft(e,t){for(;--t&&ot()&&!(Je<48||Je>102||Je>57&&Je<65||Je>70&&Je<97););return it(e,at()+(t<6&&32==nt()&&32==ot()))}function pt(e){for(;ot();)switch(Je){case e:return Ye;case 34:case 39:34!==e&&39!==e&&pt(Je);break;case 40:41===e&&pt(e);break;case 92:ot()}return Ye}function ht(e,t){for(;ot()&&e+Je!==57&&(e+Je!==84||47!==nt()););return"/*"+it(t,Ye-1)+"*"+Oe(47===e?e:ot())}function gt(e){for(;!lt(nt());)ot();return it(e,Ye)}function vt(e){return ct(mt("",null,null,null,[""],e=st(e),0,[0],e))}function mt(e,t,r,o,n,a,i,l,s){for(var c=0,d=0,u=i,f=0,p=0,h=0,g=1,v=1,m=1,b=0,C="",y=n,x=a,w=o,k=C;v;)switch(h=b,b=ot()){case 40:if(108!=h&&58==Ve(k,u-1)){-1!=Le(k+=He(dt(b),"&","&\f"),"&\f",Ie(c?l[c-1]:0))&&(m=-1);break}case 34:case 39:case 91:k+=dt(b);break;case 9:case 10:case 13:case 32:k+=ut(h);break;case 92:k+=ft(at()-1,7);continue;case 47:switch(nt()){case 42:case 47:Ge(Ct(ht(ot(),at()),t,r,s),s),5!=lt(h||1)&&5!=lt(nt()||1)||!Ze(k)||" "===We(k,-1,void 0)||(k+=" ");break;default:k+="/"}break;case 123*g:l[c++]=Ze(k)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+d:-1==m&&(k=He(k,/\f/g,"")),p>0&&(Ze(k)-u||0===g&&47===h)&&Ge(p>32?yt(k+";",o,r,u-1,s):yt(He(k," ","")+";",o,r,u-2,s),s);break;case 59:k+=";";default:if(Ge(w=bt(k,t,r,c,d,n,l,C,y=[],x=[],u,a),a),123===b)if(0===d)mt(k,t,w,w,y,a,u,l,x);else{switch(f){case 99:if(110===Ve(k,3))break;case 108:if(97===Ve(k,2))break;default:d=0;case 100:case 109:case 115:}d?mt(e,w,w,o&&Ge(bt(e,w,w,0,0,n,l,C,n,y=[],u,x),x),n,x,u,l,o?y:x):mt(k,w,w,w,[""],x,0,l,x)}}c=d=p=0,g=m=1,C=k="",u=i;break;case 58:u=1+Ze(k),p=h;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==rt())continue;switch(k+=Oe(b),b*g){case 38:m=d>0?1:(k+="\f",-1);break;case 44:l[c++]=(Ze(k)-1)*m,m=1;break;case 64:45===nt()&&(k+=dt(ot())),f=nt(),d=u=Ze(C=k+=gt(at())),b++;break;case 45:45===h&&2==Ze(k)&&(g=0)}}return a}function bt(e,t,r,o,n,a,i,l,s,c,d,u){for(var f=n-1,p=0===n?a:[""],h=Ue(p),g=0,v=0,m=0;g<o;++g)for(var b=0,C=We(e,f+1,f=Ie(v=i[g])),y=e;b<h;++b)(y=Re(v>0?p[b]+" "+C:He(C,/&\f/g,p[b])))&&(s[m++]=y);return et(e,t,r,0===n?De:l,s,c,d,u)}function Ct(e,t,r,o){return et(e,t,r,Fe,Oe(Je),We(e,2,-2),0,o)}function yt(e,t,r,o,n){return et(e,t,r,Ee,We(e,0,o),We(e,o+1,-1),o,n)}function xt(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function wt(e,t,r,o){switch(e.type){case Pe:if(e.children.length)break;case"@import":case"@namespace":case Ee:return e.return=e.return||e.value;case Fe:return"";case"@keyframes":return e.return=e.value+"{"+xt(e.children,o)+"}";case De:if(!Ze(e.value=e.props.join(",")))return""}return Ze(r=xt(e.children,o))?e.return=e.value+"{"+r+"}":""}function kt(e){var t=Ue(e);return function(r,o,n,a){for(var i="",l=0;l<t;l++)i+=e[l](r,o,n,a)||"";return i}}function Bt(e){return function(t){t.root||(t=t.return)&&e(t)}}const zt=e=>{if(e.type===De){if("string"==typeof e.props)return;e.props=e.props.map(e=>-1===e.indexOf(":global(")?e:function(e){return ct(function(e){for(;ot();)switch(lt(Je)){case 0:Ge(gt(Ye-1),e);break;case 2:Ge(dt(Je),e);break;default:Ge(Oe(Je),e)}return e}(st(e)))}(e).reduce((e,t,r,o)=>{if(""===t)return e;if(":"===t&&"global"===o[r+1]){const t=o[r+2].slice(1,-1)+" ";return e.unshift(t),o[r+1]="",o[r+2]="",e}return e.push(t),e},[]).join(""))}};function jt(e,t,r){switch(function(e,t){return 45^Ve(e,0)?(((t<<2^Ve(e,0))<<2^Ve(e,1))<<2^Ve(e,2))<<2^Ve(e,3):0}(e,t)){case 5103:return qe+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return qe+e+e;case 4215:if(102===Ve(e,9))return qe+e+e;if(116===Ve(e,t+1))return qe+e+e;break;case 4789:return Te+e+e;case 5349:case 4246:case 6968:return qe+e+Te+e+e;case 6187:if(!Me(e,/grab/))return He(He(He(e,/(zoom-|grab)/,qe+"$1"),/(image-set)/,qe+"$1"),e,"")+e;case 5495:case 3959:return He(e,/(image-set\([^]*)/,qe+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return He(e,/(.+)-inline(.+)/,qe+"$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(Ze(e)-1-t>6)switch(Ve(e,t+1)){case 102:if(108===Ve(e,t+3))return He(e,/(.+:)(.+)-([^]+)/,"$1"+qe+"$2-$3$1"+Te+(108==Ve(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Le(e,"stretch")?jt(He(e,"stretch","fill-available"),t)+e:e}}return e}function St(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case Ee:return void(e.return=jt(e.value,e.length));case De:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(Me(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return xt([tt(e,{props:[He(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return xt([tt(e,{props:[He(t,/:(plac\w+)/,":"+qe+"input-$1")]}),tt(e,{props:[He(t,/:(plac\w+)/,":-moz-$1")]})],o)}return""})}}const Nt=e=>{(function(e){switch(e.type){case"@container":case"@media":case"@supports":case Pe:return!0}return!1})(e)&&Array.isArray(e.children)&&e.children.sort((e,t)=>e.props[0]>t.props[0]?1:-1)};function _t(){}const Tt=/,( *[^ &])/g;function qt(e,t,r){let o=t;return r.length>0&&(o=r.reduceRight((e,t)=>{return`${r=t,"&"+_e(r.replace(Tt,",&$1"))} { ${e} }`;var r},t)),`${e}{${o}}`}function Ft(e,t){const{className:r,selectors:o,property:n,rtlClassName:a,rtlProperty:i,rtlValue:l,value:s}=e,{container:c,layer:d,media:u,supports:f}=t;let p=qt(`.${r}`,Array.isArray(s)?`${s.map(e=>`${Ne(n)}: ${e}`).join(";")};`:`${Ne(n)}: ${s};`,o);if(i&&a){p+=qt(`.${a}`,Array.isArray(l)?`${l.map(e=>`${Ne(i)}: ${e}`).join(";")};`:`${Ne(i)}: ${l};`,o)}return u&&(p=`@media ${u} { ${p} }`),d&&(p=`@layer ${d} { ${p} }`),f&&(p=`@supports ${f} { ${p} }`),c&&(p=`@container ${c} { ${p} }`),function(e,t){const r=[];return xt(vt(e),kt([zt,t?Nt:_t,St,wt,Bt(e=>r.push(e))])),r}(p,!0)}function Dt(e){let t="";for(const r in e){const o=e[r];if("string"!=typeof o&&"number"!=typeof o){if(Array.isArray(o))for(const e of o)t+=Ne(r)+":"+e+";"}else t+=Ne(r)+":"+o+";"}return t}function Et(e){let t="";for(const r in e)t+=`${r}{${Dt(e[r])}}`;return t}function Pt(e,t){const r=[];return xt(vt(`@keyframes ${e} {${t}}`),kt([wt,St,Bt(e=>r.push(e))])),r}const It={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 Ot(e,t){return 0===e.length?t:`${e} and ${t}`}function At(e){return"@media"===e.substr(0,6)}function Rt(e){return"@layer"===e.substr(0,6)}const Mt=/^(:|\[|>|&)/;function Ht(e){return Mt.test(e)}function Lt(e){return"@supports"===e.substr(0,9)}function Vt(e){return"@container"===e.substring(0,10)}function Wt(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}const Zt={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Ut(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"c";if(e.length>0){const t=e[0].trim();if(58===t.charCodeAt(0))return Zt[t.slice(4,8)]||Zt[t.slice(3,5)]||"d"}return"d"}function Gt(e,t){return e?t+e:e}function Xt(e){return Gt(e.container,"c")+Gt(e.media,"m")+Gt(e.layer,"l")+Gt(e.supports,"s")}function $t(e,t,r){const o=K(e+Xt(r)+t),n=o.charCodeAt(0);return n>=48&&n<=57?String.fromCharCode(n+17)+o.slice(1):o}function Kt({property:e,selector:t,salt:r,value:o},n){return"f"+K(r+t+Xt(n)+e+o.trim())}function Yt(e){return e===$}function Jt(e){return e.replace(/>\s+/g,">")}function Qt(e,t){}function er(e,t){}function tr(e){return It[e]}function rr(e){var t;return null!==(t=null==e?void 0:e[0])&&void 0!==t?t:0}function or(e,t,r,o){e[t]=o?[r,o]:r}function nr(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function ar(e,t,r,o,n,a){var i;const l=[];0!==a&&l.push(["p",a]),"m"===t&&n&&l.push(["m",n]),null!==(i=e[t])&&void 0!==i||(e[t]=[]),r&&e[t].push(nr(r,l)),o&&e[t].push(nr(o,l))}function ir(e,t="",r=[],o={container:"",layer:"",media:"",supports:""},n={},a={},i){for(const l in e){if(X.hasOwnProperty(l)){er(0,e[l]);continue}const s=e[l];if(null!=s){if(Yt(s)){or(n,$t(Jt(r.join("")),l,o),0,void 0);continue}if("string"==typeof s||"number"==typeof s){const e=Jt(r.join("")),c=tr(l);if(c){const e=c[1],i=Object.fromEntries(e.map(e=>[e,$]));ir(i,t,r,o,n,a)}const d=$t(e,l,o),u=Kt({value:s.toString(),salt:t,selector:e,property:l},o),f=i&&{key:l,value:i}||ke(l,s),p=f.key!==l||f.value!==s,h=p?Kt({value:f.value.toString(),property:f.key,salt:t,selector:e},o):void 0,g=p?{rtlClassName:h,rtlProperty:f.key,rtlValue:f.value}:void 0,v=Ut(r,o),[m,b]=Ft(Object.assign({className:u,selectors:r,property:l,value:s},g),o);or(n,d,u,h),ar(a,v,m,b,o.media,rr(c))}else if("animationName"===l){const e=Array.isArray(s)?s:[s],i=[],l=[];for(const t of e){const e=Et(t),r=Et(we(t)),n="f"+K(e);let s;const c=Pt(n,e);let d=[];e===r?s=n:(s="f"+K(r),d=Pt(s,r));for(let e=0;e<c.length;e++)ar(a,"k",c[e],d[e],o.media,0);i.push(n),l.push(s)}ir({animationName:i.join(", ")},t,r,o,n,a,l.join(", "))}else if(Array.isArray(s)){if(0===s.length)continue;const e=Jt(r.join("")),i=tr(l);if(i){const e=i[1],l=Object.fromEntries(e.map(e=>[e,$]));ir(l,t,r,o,n,a)}const c=$t(e,l,o),d=Kt({value:s.map(e=>(null!=e?e:"").toString()).join(";"),salt:t,selector:e,property:l},o),u=s.map(e=>ke(l,e));if(!!u.some(e=>e.key!==u[0].key))continue;const f=u[0].key!==l||u.some((e,t)=>e.value!==s[t]),p=f?Kt({value:u.map(e=>{var t;return(null!==(t=null==e?void 0:e.value)&&void 0!==t?t:"").toString()}).join(";"),salt:t,property:u[0].key,selector:e},o):void 0,h=f?{rtlClassName:p,rtlProperty:u[0].key,rtlValue:u.map(e=>e.value)}:void 0,g=Ut(r,o),[v,m]=Ft(Object.assign({className:d,selectors:r,property:l,value:s},h),o);or(n,c,d,p),ar(a,g,v,m,o.media,rr(i))}else if(Wt(s))if(Ht(l))ir(s,t,r.concat(_e(l)),o,n,a);else if(At(l)){const e=Ot(o.media,l.slice(6).trim());ir(s,t,r,Object.assign({},o,{media:e}),n,a)}else if(Rt(l)){const e=(o.layer?`${o.layer}.`:"")+l.slice(6).trim();ir(s,t,r,Object.assign({},o,{layer:e}),n,a)}else if(Lt(l)){const e=Ot(o.supports,l.slice(9).trim());ir(s,t,r,Object.assign({},o,{supports:e}),n,a)}else if(Vt(l)){const e=l.slice(10).trim();ir(s,t,r,Object.assign({},o,{container:e}),n,a)}else Qt()}}return[n,a]}function lr(e,t,r=ce){const o=r();let n=null,a=null;return function(r){const{dir:i,renderer:l}=r,s="ltr"===i;s?null===n&&(n=Q(e,i)):null===a&&(a=Q(e,i)),o(l,t);return s?n:a}}const sr=p.useInsertionEffect?p.useInsertionEffect:void 0,cr=()=>{const e={};return function(t,r){sr&&"undefined"!=typeof window&&window.document&&window.document.createElement?sr(()=>{t.insertCSSRules(r)},[t,r]):void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}},dr=u.createContext(se());function ur(){return u.useContext(dr)}const fr=u.createContext("ltr"),pr=({children:e,dir:t})=>u.createElement(fr.Provider,{value:t},e);function hr(){return u.useContext(fr)}function gr(e){const t=function(e,t=ce){const r=t();let o=null,n=null,a=null,i=null;return function(t){const{dir:l,renderer:s}=t;null===o&&([o,n]=function(e,t=""){const r={},o={};for(const n in e){const a=e[n],[i,l]=ir(a,t);r[n]=i,Object.keys(l).forEach(e=>{o[e]=(o[e]||[]).concat(l[e])})}return[r,o]}(e,s.classNameHashSalt));const c="ltr"===l;return c?null===a&&(a=Q(o,l)):null===i&&(i=Q(o,l)),r(s,n),c?a:i}}(e,cr);return function(){const e=hr(),r=ur();return t({dir:e,renderer:r})}}function vr(e,t){const r=lr(e,t,cr);return function(){const e=hr(),t=ur();return r({dir:e,renderer:t})}}function mr(e,t,r){const o=function(e,t,r,o=ce){const n=o();return function(o){const{dir:a,renderer:i}=o,l="ltr"===a?e:t||e;return n(i,Array.isArray(r)?{r:r}:r),l}}(e,t,r,cr);return function(){const e=hr(),t=ur();return o({dir:e,renderer:t})}}const br={"<":"\\3C ",">":"\\3E "};const Cr=Symbol.for("fui.slotRenderFunction"),yr=Symbol.for("fui.slotElementType"),xr=Symbol.for("fui.slotClassNameProp");function wr(e,t){const{defaultProps:r,elementType:o}=t,n=Br(e),a={...r,...n,[yr]:o,[xr]:(null==n?void 0:n.className)||(null==r?void 0:r.className)};return n&&"function"==typeof n.children&&(a[Cr]=n.children,a.children=null==r?void 0:r.children),a}function kr(e,t){if(null!==e&&(void 0!==e||t.renderByDefault))return wr(e,t)}function Br(e){return"string"==typeof e||"number"==typeof e||zr(e)||u.isValidElement(e)?{children:e}:e}const zr=e=>"object"==typeof e&&null!==e&&Symbol.iterator in e;function jr(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)&&!u.isValidElement(e)}function Sr(e){return Boolean(null==e?void 0:e.hasOwnProperty(yr))}const Nr=(...e)=>{const t={};for(const r of e){const e=Array.isArray(r)?r:Object.keys(r);for(const r of e)t[r]=1}return t},_r=Nr(["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"]),Tr=Nr(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","ref","role","style","tabIndex","title","translate","spellCheck","name"]),qr=Nr(["itemID","itemProp","itemRef","itemScope","itemType"]),Fr=Nr(Tr,_r,qr),Dr=Nr(Fr,["form"]),Er=Nr(Fr,["height","loop","muted","preload","src","width"]),Pr=Nr(Er,["poster"]),Ir=Nr(Fr,["start"]),Or=Nr(Fr,["value"]),Ar=Nr(Fr,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),Rr=Nr(Fr,["dateTime"]),Mr=Nr(Fr,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),Hr={label:Dr,audio:Er,video:Pr,ol:Ir,li:Or,a:Ar,button:Mr,input:Nr(Mr,["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"]),textarea:Nr(Mr,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),select:Nr(Mr,["form","multiple","required"]),option:Nr(Fr,["selected","value"]),table:Nr(Fr,["cellPadding","cellSpacing"]),tr:Fr,th:Nr(Fr,["colSpan","rowSpan","scope"]),td:Nr(Fr,["colSpan","headers","rowSpan","scope"]),colGroup:Nr(Fr,["span"]),col:Nr(Fr,["span"]),fieldset:Nr(Fr,["disabled","form"]),form:Nr(Fr,["acceptCharset","action","encType","encType","method","noValidate","target"]),iframe:Nr(Fr,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),img:Nr(Fr,["alt","crossOrigin","height","src","srcSet","useMap","width"]),time:Rr,dialog:Nr(Fr,["open","onCancel","onClose"])};function Lr(e,t,r){const o=e&&Hr[e]||Fr;return o.as=1,function(e,t,r){const o=Array.isArray(t),n={},a=Object.keys(e);for(const i of a)!(!o&&t[i]||o&&t.indexOf(i)>=0||0===i.indexOf("data-")||0===i.indexOf("aria-"))||r&&-1!==(null==r?void 0:r.indexOf(i))||(n[i]=e[i]);return n}(t,o,r)}const Vr=({primarySlotTagName:e,props:t,excludedPropNames:r})=>({root:{style:t.style,className:t.className},primary:Lr(e,t,[...r||[],"style","className"])}),Wr=(e,t,r)=>{var o;return Lr(null!==(o=t.as)&&void 0!==o?o:e,t,r)};function Zr(e,t){const r=u.useRef(void 0),o=u.useCallback((o,n)=>(void 0!==r.current&&t(r.current),r.current=e(o,n),r.current),[t,e]),n=u.useCallback(()=>{void 0!==r.current&&(t(r.current),r.current=void 0)},[t]);return u.useEffect(()=>n,[n]),[o,n]}const Ur=u.createContext(void 0),Gr=Ur.Provider,Xr=u.createContext(void 0),$r=Xr.Provider,Kr=u.createContext(void 0),Yr={},Jr=Kr.Provider,Qr=u.createContext(void 0),eo={targetDocument:"object"==typeof document?document:void 0,dir:"ltr"},to=Qr.Provider;function ro(){var e;return null!==(e=u.useContext(Qr))&&void 0!==e?e:eo}const oo=u.createContext(void 0),no=oo.Provider;function ao(){var e;return null!==(e=u.useContext(oo))&&void 0!==e?e:{}}const io=u.createContext(void 0),lo=()=>{},so=io.Provider,co=e=>{var t,r;return null!==(r=null===(t=u.useContext(io))||void 0===t?void 0:t[e])&&void 0!==r?r:lo},uo=u.createContext(void 0),fo=uo.Provider;function po(){return u.useContext(uo)}const ho=u.createContext(void 0);ho.Provider;const go=u.createContext(void 0);go.Provider;function vo(){var e;return null!==(e=u.useContext(go))&&void 0!==e?e:{announce:()=>{}}}const mo=e=>(e(0),0),bo=e=>e;function Co(){const{targetDocument:e}=ro(),t=null==e?void 0:e.defaultView;return Zr(t?t.requestAnimationFrame:mo,t?t.cancelAnimationFrame:bo)}new WeakMap;const yo=e=>{const[t,r]=u.useState(()=>void 0===e.defaultState?e.initialState:"function"==typeof e.defaultState?e.defaultState():e.defaultState),o=u.useRef(e.state);u.useEffect(()=>{o.current=e.state},[e.state]);const n=u.useCallback(e=>{(function(e){return"function"==typeof e})(e)&&e(o.current)},[]);return xo(e.state)?[e.state,n]:[t,r]},xo=e=>{const[t]=u.useState(()=>void 0!==e);return t};function wo(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}const ko={current:0},Bo=u.createContext(void 0);function zo(){var e;return null!==(e=u.useContext(Bo))&&void 0!==e?e:ko}const jo=wo()?u.useLayoutEffect:u.useEffect,So=e=>{const t=u.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return jo(()=>{t.current=e},[e]),u.useCallback((...e)=>(0,t.current)(...e),[t])};function No(){const e=u.useRef(!0);return u.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function _o(){return u.useReducer(e=>e+1,0)[1]}const To=u.createContext(void 0);function qo(e="fui-",t){const r=zo(),o=u.useContext(To)||"",n=p.useId;if(n){const r=n(),a=u.useMemo(()=>r.replace(/:/g,""),[r]);return t||`${o}${e}${a}`}return u.useMemo(()=>t||`${o}${e}${++r.current}`,[o,e,t,r])}function Fo(...e){const t=u.useCallback(r=>{t.current=r;for(const t of e)"function"==typeof t?t(r):t&&(t.current=r)},[...e]);return t}To.Provider;const Do=(e,t)=>!!(null==e?void 0:e.contains(t)),Eo=e=>{const{targetDocument:t}=ro(),r=null==t?void 0:t.defaultView,{refs:o,callback:n,element:a,disabled:i,disabledFocusOnIframe:l,contains:s=Do}=e,c=u.useRef(void 0);Oo({element:a,disabled:l||i,callback:n,refs:o,contains:s});const d=u.useRef(!1),f=So(e=>{if(d.current)return void(d.current=!1);const t=e.composedPath()[0];o.every(e=>!s(e.current||null,t))&&!i&&n(e)}),p=So(e=>{d.current=o.some(t=>s(t.current||null,e.target))});u.useEffect(()=>{if(i)return;let e=Po(r);const t=t=>{t!==e?f(t):e=void 0};return null==a||a.addEventListener("click",t,!0),null==a||a.addEventListener("touchstart",t,!0),null==a||a.addEventListener("contextmenu",t,!0),null==a||a.addEventListener("mousedown",p,!0),c.current=null==r?void 0:r.setTimeout(()=>{e=void 0},1),()=>{null==a||a.removeEventListener("click",t,!0),null==a||a.removeEventListener("touchstart",t,!0),null==a||a.removeEventListener("contextmenu",t,!0),null==a||a.removeEventListener("mousedown",p,!0),null==r||r.clearTimeout(c.current),e=void 0}},[f,a,i,p,r])},Po=e=>{var t,r,o;if(e)return"object"==typeof e.window&&e.window===e?e.event:null!==(o=null===(r=e.ownerDocument)||void 0===r||null===(t=r.defaultView)||void 0===t?void 0:t.event)&&void 0!==o?o:void 0},Io="fuiframefocus",Oo=e=>{const{disabled:t,element:r,callback:o,contains:n=Do,pollDuration:a=100,refs:i}=e,l=u.useRef(void 0),s=So(e=>{i.every(t=>!n(t.current||null,e.target))&&!t&&o(e)});u.useEffect(()=>{if(!t)return null==r||r.addEventListener(Io,s,!0),()=>{null==r||r.removeEventListener(Io,s,!0)}},[r,t,s]),u.useEffect(()=>{var e;if(!t)return l.current=null==r||null===(e=r.defaultView)||void 0===e?void 0:e.setInterval(()=>{const e=null==r?void 0:r.activeElement;if("IFRAME"===(null==e?void 0:e.tagName)||"WEBVIEW"===(null==e?void 0:e.tagName)){const t=new CustomEvent(Io,{bubbles:!0});e.dispatchEvent(t)}},a),()=>{var e;null==r||null===(e=r.defaultView)||void 0===e||e.clearInterval(l.current)}},[r,t,a])},Ao=e=>{const{refs:t,callback:r,element:o,disabled:n,contains:a}=e,i=So(e=>{const o=a||((e,t)=>!!(null==e?void 0:e.contains(t))),i=e.composedPath()[0];t.every(e=>!o(e.current||null,i))&&!n&&r(e)});u.useEffect(()=>{if(!n)return null==o||o.addEventListener("wheel",i),null==o||o.addEventListener("touchmove",i),()=>{null==o||o.removeEventListener("wheel",i),null==o||o.removeEventListener("touchmove",i)}},[i,o,n])};new WeakMap;const Ro=e=>-1,Mo=e=>{};function Ho(){const{targetDocument:e}=ro(),t=null==e?void 0:e.defaultView;return Zr(t?t.setTimeout:Ro,t?t.clearTimeout:Mo)}const Lo=(e,t,r)=>Math.max(t,Math.min(r,e||0)),Vo=parseInt(u.version,10)>=19;function Wo(e){if(e)return Vo?e.props.ref:e.ref}const Zo=(e,t)=>{if("rtl"===t)switch(e){case"ArrowLeft":return"ArrowRight";case"ArrowRight":return"ArrowLeft"}return e};function Uo(e,t){return(...r)=>{null==e||e(...r),null==t||t(...r)}}function Go(e,t){var r;const o=e;var n;return Boolean((null==o||null===(r=o.ownerDocument)||void 0===r?void 0:r.defaultView)&&o instanceof o.ownerDocument.defaultView[null!==(n=null==t?void 0:t.constructorName)&&void 0!==n?n:"HTMLElement"])}function Xo(e){const t=[];let r=0;const o=(e,r)=>{const o=t[e];t[e]=t[r],t[r]=o},n=a=>{let i=a;const l=$o(a),s=Ko(a);l<r&&e(t[l],t[i])<0&&(i=l),s<r&&e(t[s],t[i])<0&&(i=s),i!==a&&(o(i,a),n(i))};return{all:()=>t.slice(0,r),clear:()=>{r=0},contains:e=>{const o=t.indexOf(e);return o>=0&&o<r},dequeue:()=>{if(0===r)throw new Error("Priority queue empty");const e=t[0];return t[0]=t[--r],n(0),e},enqueue:n=>{t[r++]=n;let a=r-1,i=Yo(a);for(;a>0&&e(t[i],t[a])>0;)o(i,a),a=i,i=Yo(a)},peek:()=>0===r?null:t[0],remove:e=>{const o=t.indexOf(e);-1===o||o>=r||(t[o]=t[--r],n(o))},size:()=>r}}const $o=e=>2*e+1,Ko=e=>2*e+2,Yo=e=>Math.floor((e-1)/2);function Jo(e){return Boolean(e.type.isFluentTriggerComponent)}function Qo(e,t){return"function"==typeof e?e(t):e?en(e,t):e||null}function en(e,t){if(!u.isValidElement(e)||e.type===u.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(Jo(e)){const r=en(e.props.children,t);return u.cloneElement(e,void 0,r)}return u.cloneElement(e,t)}function tn(e){return u.isValidElement(e)?Jo(e)?tn(e.props.children):e:null}function rn(e){return e.type.startsWith("touch")}function on(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function nn(e){return on(e)?{clientX:e.clientX,clientY:e.clientY}:rn(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function an(e){return e instanceof Set?e:new Set(e)}function ln(e){const[t,r]=yo({initialState:new Set,defaultState:u.useMemo(()=>e.defaultSelectedItems&&an(e.defaultSelectedItems),[e.defaultSelectedItems]),state:u.useMemo(()=>e.selectedItems&&an(e.selectedItems),[e.selectedItems])});return[t,(t,o)=>{var n;null===(n=e.onSelectionChange)||void 0===n||n.call(e,t,{selectedItems:o}),r(o)}]}function sn(e){return"multiselect"===e.selectionMode?function(e){const[t,r]=ln(e),o={toggleItem:(e,o)=>{const n=new Set(t);t.has(o)?n.delete(o):n.add(o),r(e,n)},selectItem:(e,o)=>{const n=new Set(t);n.add(o),r(e,n)},deselectItem:(e,o)=>{const n=new Set(t);n.delete(o),r(e,n)},clearItems:e=>{r(e,new Set)},isSelected:e=>t.has(e),toggleAllItems:(e,o)=>{const n=o.every(e=>t.has(e)),a=new Set(t);n?a.clear():o.forEach(e=>a.add(e)),r(e,a)}};return[t,o]}(e):function(e){const[t,r]=ln(e),o={deselectItem:e=>r(e,new Set),selectItem:(e,t)=>r(e,new Set([t])),toggleAllItems:()=>{},toggleItem:(e,t)=>r(e,new Set([t])),clearItems:e=>r(e,new Set),isSelected:e=>{var r;return null!==(r=t.has(e))&&void 0!==r&&r}};return[t,o]}(e)}function cn(e,t={}){if(!e)return null;if(!t.skipVirtual){const t=function(e){return(t=e)&&t._virtual&&e._virtual.parent||null;var t}(e);if(t)return t}const r=e.parentNode;return r&&11===r.nodeType?r.host:r}function dn(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const o=cn(t,{skipVirtual:r.has(t)});if(r.add(t),o===e)return!0;t=o}}return!1}function un(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function fn(e,t){return function(r,o,n,a,i){return Sr(o)?t(function(e,t){return{...t,[yr]:e}}(r,o),null,n,a,i):Sr(r)?t(r,o,n,a,i):e(r,o,n,a,i)}}function pn(e){const{as:t,[xr]:r,[yr]:o,[Cr]:n,...a}=e,i=a,l="string"==typeof o&&null!=t?t:o;return"string"!=typeof l&&t&&(i.as=t),{elementType:l,props:i,renderFunction:n}}const hn=P,gn=fn(hn.jsx,(e,t,r)=>{const{elementType:o,renderFunction:n,props:a}=pn(e),i={...a,...t};return n?hn.jsx(u.Fragment,{children:n(o,i)},r):hn.jsx(o,i,r)}),vn=fn(hn.jsxs,(e,t,r)=>{const{elementType:o,renderFunction:n,props:a}=pn(e),i={...a,...t};return n?hn.jsx(u.Fragment,{children:n(o,{...i,children:hn.jsxs(u.Fragment,{children:i.children},void 0)})},r):hn.jsxs(o,i,r)}),mn=u.createContext(void 0),bn={},Cn=mn.Provider;var yn="undefined"!=typeof WeakRef,xn=class{constructor(e){yn&&"object"==typeof e?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,t;let r;return this._weakRef?(r=null==(e=this._weakRef)?void 0:e.deref(),r||delete this._weakRef):(r=this._instance,(null==(t=null==r?void 0:r.isDisposed)?void 0:t.call(r))&&delete this._instance),r}},wn="keyborg:focusin",kn="keyborg:focusout",Bn=!1;function zn(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}var jn=0,Sn=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=e=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;const t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||void 0===t.isFocusedProgrammatically||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=e=>{0===e.buttons||0===e.clientX&&0===e.clientY&&0===e.screenX&&0===e.screenY||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const 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"+ ++jn,this._win=e;const r=e.document;if(t){const e=t.triggerKeys,r=t.dismissKeys;(null==e?void 0:e.length)&&(this._triggerKeys=new Set(e)),(null==r?void 0:r.length)&&(this._dismissKeys=new Set(r))}r.addEventListener(wn,this._onFocusIn,!0),r.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),r.addEventListener("touchstart",this._onMouseOrTouch,!0),r.addEventListener("touchend",this._onMouseOrTouch,!0),r.addEventListener("touchcancel",this._onMouseOrTouch,!0),function(e){const t=e;Bn||(Bn=function(e){const t=e.HTMLElement,r=t.prototype.focus;let o=!1;return t.prototype.focus=function(){o=!0},e.document.createElement("button").focus(),t.prototype.focus=r,o}(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=s;const o=new Set,n=e=>{const t=e.target;if(!t)return;const r=new CustomEvent(kn,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(r)},a=e=>{const t=e.target;if(!t)return;let r=e.composedPath()[0];const l=new Set;for(;r;)r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(l.add(r),r=r.host):r=r.parentNode;for(const e of o){const t=e.deref();t&&l.has(t)||(o.delete(e),t&&(t.removeEventListener("focusin",a,!0),t.removeEventListener("focusout",n,!0)))}i(t,e.relatedTarget||void 0)},i=(e,t,r)=>{var i;const s=e.shadowRoot;if(s){for(const e of o)if(e.deref()===s)return;return s.addEventListener("focusin",a,!0),s.addEventListener("focusout",n,!0),void o.add(new xn(s))}const c={relatedTarget:t,originalEvent:r},d=new CustomEvent(wn,{cancelable:!0,bubbles:!0,composed:!0,detail:c});d.details=c,(Bn||l.lastFocusedProgrammatically)&&(c.isFocusedProgrammatically=e===(null==(i=l.lastFocusedProgrammatically)?void 0:i.deref()),l.lastFocusedProgrammatically=void 0),e.dispatchEvent(d)},l=t.__keyborgData={focusInHandler:a,focusOutHandler:n,shadowTargets:o};function s(){const e=t.__keyborgData;return e&&(e.lastFocusedProgrammatically=new xn(this)),r.apply(this,arguments)}t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);let c=t.document.activeElement;for(;c&&c.shadowRoot;)i(c),c=c.shadowRoot.activeElement;s.__keyborgNativeFocus=r}(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),function(e){const t=e,r=t.HTMLElement.prototype,o=r.focus.__keyborgNativeFocus,n=t.__keyborgData;if(n){t.document.removeEventListener("focusin",n.focusInHandler,!0),t.document.removeEventListener("focusout",n.focusOutHandler,!0);for(const e of n.shadowTargets){const t=e.deref();t&&(t.removeEventListener("focusin",n.focusInHandler,!0),t.removeEventListener("focusout",n.focusOutHandler,!0))}n.shadowTargets.clear(),delete t.__keyborgData}o&&(r.focus=o)}(e);const t=e.document;t.removeEventListener(wn,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(){var e,t;const r=null==(t=null==(e=this._win)?void 0:e.__keyborg)?void 0:t.refs;if(r)for(const e of Object.keys(r))Nn.update(r[e],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if("Tab"===e.key)return!0;const r=null==(t=this._win)?void 0:t.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(e.keyCode),n=r&&("INPUT"===r.tagName||"TEXTAREA"===r.tagName||r.isContentEditable);return o&&!n}_shouldDismissKeyboardNavigation(e){var t;return null==(t=this._dismissKeys)?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout(()=>{this._dismissTimer=void 0;const r=e.document.activeElement;t&&r&&t===r&&(this.isNavigatingWithKeyboard=!1)},500)}}},Nn=class e{constructor(e,t){this._cb=[],this._id="k"+ ++jn,this._win=e;const r=e.__keyborg;r?(this._core=r.core,r.refs[this._id]=this):(this._core=new Sn(e,t),e.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,r){return new e(t,r)}static dispose(e){e.dispose()}static update(e,t){e._cb.forEach(e=>e(t))}dispose(){var e;const t=null==(e=this._win)?void 0:e.__keyborg;(null==t?void 0:t.refs[this._id])&&(delete t.refs[this._id],0===Object.keys(t.refs).length&&(t.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var e;return!!(null==(e=this._core)?void 0:e.isNavigatingWithKeyboard)}subscribe(e){this._cb.push(e)}unsubscribe(e){const t=this._cb.indexOf(e);t>=0&&this._cb.splice(t,1)}setVal(e){this._core&&(this._core.isNavigatingWithKeyboard=e)}};function _n(e,t){return Nn.create(e,t)}function Tn(e){Nn.dispose(e)}const qn="data-tabster",Fn=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Dn=1,En=2,Pn=3,In={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8};function On(e,t){var r;return null===(r=e.storageEntry(t))||void 0===r?void 0:r.tabster}function An(e,t,r){var o,n,a;const i=r||e._noop?void 0:t.getAttribute(qn);let l,s=e.storageEntry(t);if(i){if(i===(null===(o=null==s?void 0:s.attr)||void 0===o?void 0:o.string))return;try{const e=JSON.parse(i);if("object"!=typeof e)throw new Error(`Value is not a JSON object, got '${i}'.`);l={string:i,object:e}}catch(e){}}else if(!s)return;s||(s=e.storageEntry(t,!0)),s.tabster||(s.tabster={});const c=s.tabster||{},d=(null===(n=s.attr)||void 0===n?void 0:n.object)||{},u=(null==l?void 0:l.object)||{};for(const r of Object.keys(d))if(!u[r]){if("root"===r){const t=c[r];t&&e.root.onRoot(t,!0)}switch(r){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const o=c[r];o&&(o.dispose(),delete c[r]);break;case"observed":delete c[r],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete c[r]}}for(const r of Object.keys(u)){const o=u.sys;switch(r){case"deloser":c.deloser?c.deloser.setProps(u.deloser):e.deloser&&(c.deloser=e.deloser.createDeloser(t,u.deloser));break;case"root":c.root?c.root.setProps(u.root):c.root=e.root.createRoot(t,u.root,o),e.root.onRoot(c.root);break;case"modalizer":{let r;const n=e.modalizer;if(c.modalizer){const e=u.modalizer,t=e.id;t&&(null===(a=null==d?void 0:d.modalizer)||void 0===a?void 0:a.id)!==t?(c.modalizer.dispose(),r=e):c.modalizer.setProps(e)}else n&&(r=u.modalizer);n&&r&&(c.modalizer=n.createModalizer(t,r,o))}break;case"restorer":c.restorer?c.restorer.setProps(u.restorer):e.restorer&&u.restorer&&(c.restorer=e.restorer.createRestorer(t,u.restorer));break;case"focusable":c.focusable=u.focusable;break;case"groupper":c.groupper?c.groupper.setProps(u.groupper):e.groupper&&(c.groupper=e.groupper.createGroupper(t,u.groupper,o));break;case"mover":c.mover?c.mover.setProps(u.mover):e.mover&&(c.mover=e.mover.createMover(t,u.mover,o));break;case"observed":e.observedElement&&(c.observed=u.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":c.uncontrolled=u.uncontrolled;break;case"outline":e.outline&&(c.outline=u.outline);break;case"sys":c.sys=u.sys;break;default:console.error(`Unknown key '${r}' in data-tabster attribute value.`)}}l?s.attr=l:(0===Object.keys(c).length&&(delete s.tabster,delete s.attr),e.storageEntry(t,!1))}const Rn="tabster:movefocus",Mn="tabster:mover:movefocus",Hn="tabster:mover:memorized-element",Ln="tabster:groupper:movefocus",Vn="tabster:restorer:restore-focus",Wn="undefined"!=typeof CustomEvent?CustomEvent:function(){};class Zn extends Wn{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class Un extends Zn{constructor(e){super("tabster:focusin",e)}}class Gn extends Zn{constructor(e){super("tabster:focusout",e)}}class Xn extends Zn{constructor(e){super(Rn,e)}}class $n extends Zn{constructor(e){super("tabster:mover:state",e)}}class Kn extends Zn{constructor(e){super(Mn,e)}}class Yn extends Zn{constructor(e){super(Ln,e)}}class Jn extends Zn{constructor(e){super("tabster:modalizer:active",e)}}class Qn extends Zn{constructor(e){super("tabster:modalizer:inactive",e)}}class ea extends Zn{constructor(){super(Vn)}}class ta extends Zn{constructor(e){super("tabster:root:focus",e)}}class ra extends Zn{constructor(e){super("tabster:root:blur",e)}}const oa={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,r,o)=>e.createTreeWalker(t,r,o),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!(!t||!(null==e?void 0: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=>(null==e?void 0:e.firstChild)||null,getLastChild:e=>(null==e?void 0:e.lastChild)||null,getNextSibling:e=>(null==e?void 0:e.nextSibling)||null,getPreviousSibling:e=>(null==e?void 0:e.previousSibling)||null,getFirstElementChild:e=>(null==e?void 0:e.firstElementChild)||null,getLastElementChild:e=>(null==e?void 0:e.lastElementChild)||null,getNextElementSibling:e=>(null==e?void 0:e.nextElementSibling)||null,getPreviousElementSibling:e=>(null==e?void 0:e.previousElementSibling)||null,appendChild:(e,t)=>e.appendChild(t),insertBefore:(e,t,r)=>e.insertBefore(t,r),getSelection:e=>{var t;return(null===(t=e.ownerDocument)||void 0===t?void 0:t.getSelection())||null},getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};let na;const aa="undefined"!=typeof DOMRect?DOMRect:class{constructor(e,t,r,o){this.left=e||0,this.top=t||0,this.right=(e||0)+(r||0),this.bottom=(t||0)+(o||0)}};let ia=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),na=!1}catch(e){na=!0}function la(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=r),r}class sa{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return!e._target||!(!t&&Ca(e._target.ownerDocument,e._target))&&(delete e._target,!0)}}class ca{constructor(e,t,r){const o=la(e);let n;o.WeakRef?n=new o.WeakRef(t):(n=new sa(t),o.fakeWeakRefs.push(n)),this._ref=n,this._data=r}get(){const e=this._ref;let t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}}function da(e,t){const r=la(e);r.fakeWeakRefs=r.fakeWeakRefs.filter(e=>!sa.cleanup(e,t))}function ua(e){const t=la(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=function(e){return e.basics.WeakRef}(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,da(e),ua(e)},12e4))}function fa(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const o=na?r:{acceptNode:r};return oa.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,o,!1)}function pa(e,t){let r=t.__tabsterCacheId;const o=la(e),n=r?o.containerBoundingRectCache[r]:void 0;if(n)return n.rect;const a=t.ownerDocument&&t.ownerDocument.documentElement;if(!a)return new aa;let i=0,l=0,s=a.clientWidth,c=a.clientHeight;if(t!==a){const e=t.getBoundingClientRect();i=Math.max(i,e.left),l=Math.max(l,e.top),s=Math.min(s,e.right),c=Math.min(c,e.bottom)}const d=new aa(i<s?i:-1,l<c?l:-1,i<s?s-i:0,l<c?c-l:0);return r||(r="r-"+ ++o.lastContainerBoundingRectCacheId,t.__tabsterCacheId=r),o.containerBoundingRectCache[r]={rect:d,element:t},o.containerBoundingRectCacheTimer||(o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(const e of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[e].element.__tabsterCacheId;o.containerBoundingRectCache={}},50)),d}function ha(e,t,r){const o=ga(t);if(!o)return!1;const n=pa(e,o),a=t.getBoundingClientRect(),i=a.height*(1-r),l=Math.max(0,n.top-a.top)+Math.max(0,a.bottom-n.bottom);return 0===l||l<=i}function ga(e){const t=e.ownerDocument;if(t){for(let t=oa.getParentElement(e);t;t=oa.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return t.documentElement}return null}function va(e){return!!e.__shouldIgnoreFocus}function ma(e,t){const r=la(e);let o=t.__tabsterElementUID;return o||(o=t.__tabsterElementUID=function(e){const 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();const r=[];for(let e=0;e<t.length;e++)r.push(t[e].toString(36));return r.push("|"),r.push((++ia).toString(36)),r.push("|"),r.push(Date.now().toString(36)),r.join("")}(e())),!r.elementByUId[o]&&Ca(t.ownerDocument,t)&&(r.elementByUId[o]=new ca(e,t)),o}function ba(e,t){const r=la(e);for(const e of Object.keys(r.elementByUId)){const o=r.elementByUId[e],n=o&&o.get();n&&t&&!oa.nodeContains(t,n)||delete r.elementByUId[e]}}function Ca(e,t){return oa.nodeContains(null==e?void 0:e.body,t)}function ya(e,t){const r=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return r&&r.call(e,t)}let xa=0;class wa{constructor(e,t,r){const o=e.getWindow;this._tabster=e,this._element=new ca(o,t),this._props={...r},this.id="i"+ ++xa}getElement(){return this._element.get()}getProps(){return this._props}setProps(e){this._props={...e}}}class ka{constructor(e,t,r,o,n){var a;this._focusIn=e=>{if(this._fixedTarget){const e=this._fixedTarget.get();return void(e&&zn(e))}const t=this.input;if(this.onFocusIn&&t){const r=e.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,r),r)}},this._focusOut=e=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const t=this.input;if(this.onFocusOut&&t){const r=e.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,r),r)}};const i=e(),l=i.document.createElement("i");l.tabIndex=0,l.setAttribute("role","none"),l.setAttribute("data-tabster-dummy",""),l.setAttribute("aria-hidden","true");const s=l.style;s.position="fixed",s.width=s.height="1px",s.opacity="0.001",s.zIndex="-1",s.setProperty("content-visibility","hidden"),function(e){e.__shouldIgnoreFocus=!0}(l),this.input=l,this.isFirst=r.isFirst,this.isOutside=t,this._isPhantom=null!==(a=r.isPhantom)&&void 0!==a&&a,this._fixedTarget=n,l.addEventListener("focusin",this._focusIn),l.addEventListener("focusout",this._focusOut),l.__tabsterDummyContainer=o,this._isPhantom&&(this._disposeTimer=i.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(i.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var e;this._clearDisposeTimeout&&this._clearDisposeTimeout();const 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,null===(e=oa.getParentNode(t))||void 0===e||e.removeChild(t))}setTopLeft(e,t){var r;const o=null===(r=this.input)||void 0===r?void 0:r.style;o&&(o.top=`${e}px`,o.left=`${t}px`)}_isBackward(e,t,r){return e&&!r?!this.isFirst:!!(r&&t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)}}class Ba{constructor(e,t,r,o,n,a){this._element=t,this._instance=new ja(e,t,this,r,o,n,a)}_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){var t;null===(t=this._instance)||void 0===t||t.moveOut(e)}moveOutWithDefaultAction(e,t){var r;null===(r=this._instance)||void 0===r||r.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){var t;null===(t=this._instance)||void 0===t||t.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,r,o,n){const a=new ka(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(a){let i,l;if("BODY"===t.tagName)i=t,l=r&&o||!r&&!o?oa.getFirstElementChild(t):null;else{let n,a;r&&(!o||o&&!e.focusable.isFocusable(t,!1,!0,!0))?(i=t,l=o?t.firstElementChild:null):(i=oa.getParentElement(t),l=r&&o||!r&&!o?t:oa.getNextElementSibling(t));do{n=r&&o||!r&&!o?oa.getPreviousElementSibling(l):l,a=Ta(n),a===t?l=r&&o||!r&&!o?n:oa.getNextElementSibling(n):a=null}while(a)}(null==i?void 0:i.dispatchEvent(new Xn({by:"root",owner:i,next:null,relatedEvent:n})))&&(oa.insertBefore(i,a,l),zn(a))}}static addPhantomDummyWithTarget(e,t,r,o){const n=new ka(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new ca(e.getWindow,o)).input;if(n){let e,o;t.querySelector(Fn)&&!r?(e=t,o=oa.getFirstElementChild(t)):(e=oa.getParentElement(t),o=r?t:oa.getNextElementSibling(t)),e&&oa.insertBefore(e,n,o)}}}class za{constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=e=>{var t;this._changedParents.has(e)||(this._changedParents.add(e),this._updateDummyInputsTimer||(this._updateDummyInputsTimer=null===(t=this._win)||void 0===t?void 0:t.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const e of this._dummyElements){const t=e.get();if(t){const e=this._dummyCallbacks.get(t);if(e){const r=oa.getParentNode(t);r&&!this._changedParents.has(r)||e()}}}this._changedParents=new WeakSet},100)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new ca(this._win,e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter(t=>{const r=t.get();return r&&r!==e}),this._dummyCallbacks.delete(e),0===this._dummyElements.length&&delete this.domChanged}dispose(){var e;const t=null===(e=this._win)||void 0===e?void 0:e.call(this);this._updateTimer&&(null==t||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(null==t||t.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(){var e;this._updateTimer||(this._updateTimer=null===(e=this._win)||void 0===e?void 0:e.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+100<=Date.now()){const e=new Map,t=[];for(const r of this._updateQueue)t.push(r(e));this._updateQueue.clear();for(const e of t)e();e.clear()}else this._scheduledUpdatePositions()},100))}}class ja{constructor(e,t,r,o,n,a,i){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(e,t,r)=>{this._onFocus(!0,e,t,r)},this._onFocusOut=(e,t,r)=>{this._onFocus(!1,e,t,r)},this.moveOut=e=>{var t;const r=this._firstDummy,o=this._lastDummy;if(r&&o){this._ensurePosition();const n=r.input,a=o.input,i=null===(t=this._element)||void 0===t?void 0:t.get();if(n&&a&&i){let t;e?(n.tabIndex=0,t=n):(a.tabIndex=0,t=a),t&&zn(t)}}},this.moveOutWithDefaultAction=(e,t)=>{var r;const o=this._firstDummy,n=this._lastDummy;if(o&&n){this._ensurePosition();const a=o.input,i=n.input,l=null===(r=this._element)||void 0===r?void 0:r.get();if(a&&i&&l){let r;e?!o.isOutside&&this._tabster.focusable.isFocusable(l,!0,!0,!0)?r=l:(o.useDefaultAction=!0,a.tabIndex=0,r=a):(n.useDefaultAction=!0,i.tabIndex=0,r=i),r&&l.dispatchEvent(new Xn({by:"root",owner:l,next:null,relatedEvent:t}))&&zn(r)}}},this.setTabbable=(e,t)=>{var r,o;for(const r of this._wrappers)if(r.manager===e){r.tabbable=t;break}const n=this._getCurrent();if(n){const e=n.tabbable?0:-1;let t=null===(r=this._firstDummy)||void 0===r?void 0:r.input;t&&(t.tabIndex=e),t=null===(o=this._lastDummy)||void 0===o?void 0:o.input,t&&(t.tabIndex=e)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=e=>{var t,r;const o=(null===(t=this._firstDummy)||void 0===t?void 0:t.input)||(null===(r=this._lastDummy)||void 0===r?void 0:r.input),n=this._transformElements,a=new Set;let i=0,l=0;const s=this._getWindow();for(let t=o;t&&t.nodeType===Node.ELEMENT_NODE;t=oa.getParentElement(t)){let r=e.get(t);if(void 0===r){const o=s.getComputedStyle(t).transform;o&&"none"!==o&&(r={scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),e.set(t,r||null)}r&&(a.add(t),n.has(t)||t.addEventListener("scroll",this._addTransformOffsets),i+=r.scrollTop,l+=r.scrollLeft)}for(const e of n)a.has(e)||e.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=a,()=>{var e,t;null===(e=this._firstDummy)||void 0===e||e.setTopLeft(i,l),null===(t=this._lastDummy)||void 0===t||t.setTopLeft(i,l)}};const l=t.get();if(!l)throw new Error("No element");this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=i;const s=l.__tabsterDummy;if((s||this)._wrappers.push({manager:r,priority:o,tabbable:!0}),s)return s;l.__tabsterDummy=this;const c=null==n?void 0:n.dummyInputsPosition,d=l.tagName;this._isOutside=c?2===c:(a||"UL"===d||"OL"===d||"TABLE"===d)&&!("LI"===d||"TD"===d||"TH"===d),this._firstDummy=new ka(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new ka(this._getWindow,this._isOutside,{isFirst:!1},t);const u=this._firstDummy.input;u&&e._dummyObserver.add(u,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 r,o,n,a;const i=this._wrappers=this._wrappers.filter(r=>r.manager!==e&&!t);if(0===i.length){delete(null===(r=this._element)||void 0===r?void 0:r.get()).__tabsterDummy;for(const e of this._transformElements)e.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const e=this._getWindow();this._addTimer&&(e.clearTimeout(this._addTimer),delete this._addTimer);const t=null===(o=this._firstDummy)||void 0===o?void 0:o.input;t&&this._tabster._dummyObserver.remove(t),null===(n=this._firstDummy)||void 0===n||n.dispose(),null===(a=this._lastDummy)||void 0===a||a.dispose()}}_onFocus(e,t,r,o){var n;const a=this._getCurrent();!a||t.useDefaultAction&&!this._callForDefaultAction||null===(n=a.manager.getHandler(e))||void 0===n||n(t,r,o)}_getCurrent(){return this._wrappers.sort((e,t)=>e.tabbable!==t.tabbable?e.tabbable?-1:1:e.priority-t.priority),this._wrappers[0]}_ensurePosition(){var e,t,r;const o=null===(e=this._element)||void 0===e?void 0:e.get(),n=null===(t=this._firstDummy)||void 0===t?void 0:t.input,a=null===(r=this._lastDummy)||void 0===r?void 0:r.input;if(o&&n&&a)if(this._isOutside){const e=oa.getParentNode(o);if(e){const t=oa.getNextSibling(o);t!==a&&oa.insertBefore(e,a,t),oa.getPreviousElementSibling(o)!==n&&oa.insertBefore(e,n,o)}}else{oa.getLastElementChild(o)!==a&&oa.appendChild(o,a);const e=oa.getFirstElementChild(o);e&&e!==n&&e.parentNode&&oa.insertBefore(e.parentNode,n,e)}}}function Sa(e){let t=null;for(let r=oa.getLastElementChild(e);r;r=oa.getLastElementChild(r))t=r;return t||void 0}function Na(e,t,r,o){const n=e.storageEntry(t,!0);let a=!1;if(!n.aug){if(void 0===o)return a;n.aug={}}if(void 0===o){if(r in n.aug){const e=n.aug[r];delete n.aug[r],null===e?t.removeAttribute(r):t.setAttribute(r,e),a=!0}}else{let e;r in n.aug||(e=t.getAttribute(r)),void 0!==e&&e!==o&&(n.aug[r]=e,null===o?t.removeAttribute(r):t.setAttribute(r,o),a=!0)}return void 0===o&&0===Object.keys(n.aug).length&&(delete n.aug,e.storageEntry(t,!1)),a}function _a(e){return"INPUT"===e.tagName&&!!e.name&&"radio"===e.type}function Ta(e){var t;return(null===(t=null==e?void 0:e.__tabsterDummyContainer)||void 0===t?void 0:t.get())||null}function qa(e,t){const r=JSON.stringify(e);return!0===t?r:{[qn]:r}}class Fa extends Ba{constructor(e,t,r,o){super(e,t,1,o,void 0,!0),this._onDummyInputFocus=e=>{var t;if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const r=this._element.get();if(r){this._setFocused(!0);const t=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:r,ignoreAccessibility:!0});if(t)return void zn(t)}null===(t=e.input)||void 0===t||t.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=r}}class Da extends wa{constructor(e,t,r,o,n){super(e,t,o),this._isFocused=!1,this._setFocused=e=>{var t;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===e)return;const r=this._element.get();r&&(e?(this._isFocused=!0,null===(t=this._dummyManager)||void 0===t||t.setTabbable(!1),r.dispatchEvent(new ta({element:r}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var e;delete this._setFocusedTimer,this._isFocused=!1,null===(e=this._dummyManager)||void 0===e||e.setTabbable(!0),r.dispatchEvent(new ra({element:r}))},0))},this._onFocusIn=e=>{const t=this._tabster.getParent,r=this._element.get();let o=e.composedPath()[0];do{if(o===r)return void this._setFocused(!0);o=o&&t(o)}while(o)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=r;const a=e.getWindow;this.uid=ma(a,t),this._sys=n,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();const i=a().document;i.addEventListener(wn,this._onFocusIn),i.addEventListener(kn,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Fa(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var e;this._onDispose(this);const t=this._tabster.getWindow(),r=t.document;r.removeEventListener(wn,this._onFocusIn),r.removeEventListener(kn,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),null===(e=this._dummyManager)||void 0===e||e.dispose(),this._remove()}moveOutWithDefaultAction(e,t){const r=this._dummyManager;if(r)r.moveOutWithDefaultAction(e,t);else{const r=this.getElement();r&&Fa.moveWithPhantomDummy(this._tabster,r,!0,e,t)}}_add(){}_remove(){}}class Ea{constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var e;const t=this._win().document,r=t.body;if(r){this._autoRootUnwait(t);const o=this._autoRoot;if(o)return function(e,t,r){let o;if(r){const t=e.getAttribute(qn);if(t)try{o=JSON.parse(t)}catch(e){}}o||(o={}),function(e,t){for(const r of Object.keys(t)){const o=t[r];o?e[r]=o:delete e[r]}}(o,t),Object.keys(o).length>0?e.setAttribute(qn,qa(o,!0)):e.removeAttribute(qn)}(r,{root:o},!0),An(this._tabster,r),null===(e=On(this._tabster,r))||void 0===e?void 0:e.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,t.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(){const 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,r){const o=new Da(this._tabster,e,this._onRootDispose,t,r);return this._roots[o.id]=o,this._forceDummy&&o.addDummyInputs(),o}addDummyInputs(){this._forceDummy=!0;const e=this._roots;for(const t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){const r=e().__tabsterInstance;return r&&r.root.rootById[t]}static getTabsterContext(e,t,r={}){var o,n,a,i;if(!t.ownerDocument)return;const{checkRtl:l,referenceElement:s}=r,c=e.getParent;let d,u,f,p;e.drainInitQueue();let h,g,v,m,b=!1,C=s||t;const y={};for(;C&&(!d||l);){const r=On(e,C);if(l&&void 0===v){const e=C.dir;e&&(v="rtl"===e.toLowerCase())}if(!r){C=c(C);continue}const i=C.tagName;(r.uncontrolled||"IFRAME"===i||"WEBVIEW"===i)&&e.focusable.isVisible(C)&&(m=C),p||!(null===(o=r.focusable)||void 0===o?void 0:o.excludeFromMover)||f||(b=!0);const s=r.modalizer,x=r.groupper,w=r.mover;!u&&s&&(u=s),f||!x||u&&!s||(u?(!x.isActive()&&x.getProps().tabbability&&u.userId!==(null===(n=e.modalizer)||void 0===n?void 0:n.activeId)&&(u=void 0,f=x),g=x):f=x),p||!w||u&&!s||x&&C===t||!C.contains(t)||(p=w,h=!!f&&f!==x),r.root&&(d=r.root),(null===(a=r.focusable)||void 0===a?void 0:a.ignoreKeydown)&&Object.assign(y,r.focusable.ignoreKeydown),C=c(C)}if(!d){const r=e.root;r._autoRoot&&(null===(i=t.ownerDocument)||void 0===i?void 0:i.body)&&(d=r._autoRootCreate())}return f&&!p&&(h=!0),d?{root:d,modalizer:u,groupper:f,mover:p,groupperBeforeMover:h,modalizerInGroupper:g,rtl:l?!!v:void 0,uncontrolled:m,excludedFromMover:b,ignoreKeydown:e=>!!y[e.key]}:void 0}static getRoot(e,t){var r;const o=e.getParent;for(let n=t;n;n=o(n)){const t=null===(r=On(e,n))||void 0===r?void 0:r.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}}class Pa{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(e){const t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){const t=this._callbacks,r=t.indexOf(e);r>=0&&t.splice(r,1),t.unshift(e)}unsubscribe(e){const 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(r=>r(e,t))}}class Ia{constructor(e){this._tabster=e}dispose(){}getProps(e){const t=On(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,r,o){return!(!ya(e,Fn)||!t&&-1===e.tabIndex)&&(r||this.isVisible(e))&&(o||this.isAccessible(e))}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE)return!1;if(function(e){var t,r;const o=e.ownerDocument,n=null===(t=o.defaultView)||void 0===t?void 0:t.getComputedStyle(e);if(null===e.offsetParent&&o.body!==e&&"fixed"!==(null==n?void 0:n.position))return!0;if("hidden"===(null==n?void 0:n.visibility))return!0;if("fixed"===(null==n?void 0:n.position)){if("none"===n.display)return!0;if(null===(null===(r=e.parentElement)||void 0===r?void 0:r.offsetParent)&&o.body!==e.parentElement)return!0}return!1}(e))return!1;const t=e.ownerDocument.body.getBoundingClientRect();return 0!==t.width||0!==t.height}isAccessible(e){var t;for(let r=e;r;r=oa.getParentElement(r)){const e=On(this._tabster,r);if(this._isHidden(r))return!1;if(!(null===(t=null==e?void 0:e.focusable)||void 0===t?void 0:t.ignoreAriaDisabled)&&this._isDisabled(r))return!1}return!0}_isDisabled(e){return e.hasAttribute("disabled")}_isHidden(e){var t;const r=e.getAttribute("aria-hidden");return!(!r||"true"!==r.toLowerCase()||(null===(t=this._tabster.modalizer)||void 0===t?void 0:t.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){const r=this._findElements(!1,e,t);return r?r[0]:r}_findElements(e,t,r){var o,n,a;const{container:i,currentElement:l=null,includeProgrammaticallyFocusable:s,useActiveModalizer:c,ignoreAccessibility:d,modalizerId:u,isBackward:f,onElement:p}=t;r||(r={});const h=[];let{acceptCondition:g}=t;const v=!!g;if(!i)return null;g||(g=e=>this.isFocusable(e,s,!1,d));const m={container:i,modalizerUserId:void 0===u&&c?null===(o=this._tabster.modalizer)||void 0===o?void 0:o.activeId:u||(null===(a=null===(n=Ea.getTabsterContext(this._tabster,i))||void 0===n?void 0:n.modalizer)||void 0===a?void 0:a.userId),from:l||i,isBackward:f,isFindAll:e,acceptCondition:g,hasCustomCondition:v,includeProgrammaticallyFocusable:s,ignoreAccessibility:d,cachedGrouppers:{},cachedRadioGroups:{}},b=fa(i.ownerDocument,i,e=>this._acceptElement(e,m));if(!b)return null;const C=t=>{var o,n;const a=null!==(o=m.foundElement)&&void 0!==o?o:m.foundBackward;return a&&h.push(a),e?!(a&&(m.found=!1,delete m.foundElement,delete m.foundBackward,delete m.fromCtx,m.from=a,p&&!p(a))||!a&&!t):(a&&r&&(r.uncontrolled=null===(n=Ea.getTabsterContext(this._tabster,a))||void 0===n?void 0:n.uncontrolled),!(!t||a))};if(l||(r.outOfDOMOrder=!0),l&&oa.nodeContains(i,l))b.currentNode=l;else if(f){const e=Sa(i);if(!e)return null;if(this._acceptElement(e,m)===NodeFilter.FILTER_ACCEPT&&!C(!0))return m.skippedFocusable&&(r.outOfDOMOrder=!0),h;b.currentNode=e}do{f?b.previousNode():b.nextNode()}while(C());return m.skippedFocusable&&(r.outOfDOMOrder=!0),h.length?h:null}_acceptElement(e,t){var r,o,n;if(t.found)return NodeFilter.FILTER_ACCEPT;const a=t.foundBackward;if(a&&(e===a||!oa.nodeContains(a,e)))return t.found=!0,t.foundElement=a,NodeFilter.FILTER_ACCEPT;const i=t.container;if(e===i)return NodeFilter.FILTER_SKIP;if(!oa.nodeContains(i,e))return NodeFilter.FILTER_REJECT;if(Ta(e))return NodeFilter.FILTER_REJECT;if(oa.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;const l=t.currentCtx=Ea.getTabsterContext(this._tabster,e);if(!l)return NodeFilter.FILTER_SKIP;if(va(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&("IFRAME"===e.tagName||"WEBVIEW"===e.tagName))return this.isVisible(e)&&(null===(r=l.modalizer)||void 0===r?void 0:r.userId)===(null===(o=this._tabster.modalizer)||void 0===o?void 0:o.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 s,c=t.fromCtx;c||(c=t.fromCtx=Ea.getTabsterContext(this._tabster,t.from));const d=null==c?void 0:c.mover;let u=l.groupper,f=l.mover;if(s=null===(n=this._tabster.modalizer)||void 0===n?void 0:n.acceptElement(e,t),void 0!==s&&(t.skippedFocusable=!0),void 0===s&&(u||f||d)){const r=null==u?void 0:u.getElement(),o=null==d?void 0:d.getElement();let n=null==f?void 0:f.getElement();if(n&&oa.nodeContains(o,n)&&oa.nodeContains(i,o)&&(!r||!f||oa.nodeContains(o,r))&&(f=d,n=o),r)if(r!==i&&oa.nodeContains(i,r)){if(!oa.nodeContains(r,e))return NodeFilter.FILTER_REJECT}else u=void 0;if(n)if(oa.nodeContains(i,n)){if(!oa.nodeContains(n,e))return NodeFilter.FILTER_REJECT}else f=void 0;u&&f&&(n&&r&&!oa.nodeContains(r,n)?f=void 0:u=void 0),u&&(s=u.acceptElement(e,t)),f&&(s=f.acceptElement(e,t))}if(void 0===s&&(s=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,s===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),s===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&_a(e)&&!e.checked){const r=e.name;let o=t.cachedRadioGroups[r];if(o||(o=function(e){if(!_a(e))return;const t=e.name;let r,o=Array.from(oa.getElementsByName(e,t));return o=o.filter(e=>!!_a(e)&&(e.checked&&(r=e),!0)),{name:t,buttons:new Set(o),checked:r}}(e),o&&(t.cachedRadioGroups[r]=o)),(null==o?void 0:o.checked)&&o.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,s=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return s}}const Oa="Enter",Aa="Escape",Ra="Home",Ma="ArrowLeft",Ha="ArrowUp",La="ArrowRight",Va="ArrowDown",Wa={[En]:0,[Pn]:1,[Dn]:2};class Za extends Pa{constructor(e,t){super(),this._init=()=>{const e=this._win(),t=e.document;t.addEventListener(wn,this._onFocusIn,!0),t.addEventListener(kn,this._onFocusOut,!0),e.addEventListener("keydown",this._onKeyDown,!0);const r=oa.getActiveElement(t);r&&r!==t.body&&this._setFocusedElement(r),this.subscribe(this._onChanged)},this._onFocusIn=e=>{const t=e.composedPath()[0];t&&this._setFocusedElement(t,e.detail.relatedTarget,e.detail.isFocusedProgrammatically)},this._onFocusOut=e=>{var t;this._setFocusedElement(void 0,null===(t=e.detail)||void 0===t?void 0:t.originalEvent.relatedTarget)},this._validateFocusedElement=e=>{},this._onKeyDown=e=>{if("Tab"!==e.key||e.ctrlKey)return;const t=this.getVal();if(!t||!t.ownerDocument||"true"===t.contentEditable)return;const r=this._tabster,o=r.controlTab,n=Ea.getTabsterContext(r,t);if(!n||n.ignoreKeydown(e))return;const a=e.shiftKey,i=Za.findNextTabbable(r,n,void 0,t,void 0,a,!0),l=n.root.getElement();if(!l)return;const s=null==i?void 0:i.element,c=function(e,t){var r;const o=e.getParent;let n=t;do{const t=null===(r=On(e,n))||void 0===r?void 0:r.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(n,!!t.completely))return n;n=o(n)}while(n)}(r,t);if(s){const d=i.uncontrolled;if(n.uncontrolled||oa.nodeContains(d,t)){if(!i.outOfDOMOrder&&d===n.uncontrolled||c&&!oa.nodeContains(c,s))return;return void Ba.addPhantomDummyWithTarget(r,t,a,s)}if(d&&r.focusable.isVisible(d)||"IFRAME"===s.tagName&&r.focusable.isVisible(s))return void(l.dispatchEvent(new Xn({by:"root",owner:l,next:s,relatedEvent:e}))&&Ba.moveWithPhantomDummy(r,null!=d?d:s,!1,a,e));(o||(null==i?void 0:i.outOfDOMOrder))&&l.dispatchEvent(new Xn({by:"root",owner:l,next:s,relatedEvent:e}))&&(e.preventDefault(),e.stopImmediatePropagation(),zn(s))}else!c&&l.dispatchEvent(new Xn({by:"root",owner:l,next:null,relatedEvent:e}))&&n.root.moveOutWithDefaultAction(a,e)},this._onChanged=(e,t)=>{var r,o;if(e)e.dispatchEvent(new Un(t));else{const e=null===(r=this._lastVal)||void 0===r?void 0:r.get();if(e){const r={...t},n=Ea.getTabsterContext(this._tabster,e),a=null===(o=null==n?void 0:n.modalizer)||void 0===o?void 0:o.userId;a&&(r.modalizerId=a),e.dispatchEvent(new Gn(r))}}},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){super.dispose();const e=this._win(),t=e.document;t.removeEventListener(wn,this._onFocusIn,!0),t.removeEventListener(kn,this._onFocusOut,!0),e.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const r=this._asyncFocus;r&&(e.clearTimeout(r.timeout),delete this._asyncFocus),delete Za._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(e,t){var r,o;let n=Za._lastResetElement,a=n&&n.get();a&&oa.nodeContains(t,a)&&delete Za._lastResetElement,a=null===(o=null===(r=e._nextVal)||void 0===r?void 0:r.element)||void 0===o?void 0:o.get(),a&&oa.nodeContains(t,a)&&delete e._nextVal,n=e._lastVal,a=n&&n.get(),a&&oa.nodeContains(t,a)&&delete e._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var e;let t=null===(e=this._lastVal)||void 0===e?void 0:e.get();return(!t||t&&!Ca(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(e,t,r,o){return!!this._tabster.focusable.isFocusable(e,t,!1,r)&&(e.focus({preventScroll:o}),!0)}focusDefault(e){const t=this._tabster.focusable.findDefault({container:e});return!!t&&(this._tabster.focusedElement.focus(t),!0)}getFirstOrLastTabbable(e,t){var r;const{container:o,ignoreAccessibility:n}=t;let a;if(o){const t=Ea.getTabsterContext(this._tabster,o);t&&(a=null===(r=Za.findNextTabbable(this._tabster,t,o,void 0,void 0,!e,n))||void 0===r?void 0:r.element)}return a&&!oa.nodeContains(o,a)&&(a=void 0),a||void 0}_focusFirstOrLast(e,t){const r=this.getFirstOrLastTabbable(e,t);return!!r&&(this.focus(r,!1,!0),!0)}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(e){if(!this._tabster.focusable.isVisible(e))return!1;if(this._tabster.focusable.isFocusable(e,!0,!0,!0))this.focus(e);else{const t=e.getAttribute("tabindex"),r=e.getAttribute("aria-hidden");e.tabIndex=-1,e.setAttribute("aria-hidden","true"),Za._lastResetElement=new ca(this._win,e),this.focus(e,!0,!0),this._setOrRemoveAttribute(e,"tabindex",t),this._setOrRemoveAttribute(e,"aria-hidden",r)}return!0}requestAsyncFocus(e,t,r){const o=this._tabster.getWindow(),n=this._asyncFocus;if(n){if(Wa[e]>Wa[n.source])return;o.clearTimeout(n.timeout)}this._asyncFocus={source:e,callback:t,timeout:o.setTimeout(()=>{this._asyncFocus=void 0,t()},r)}}cancelAsyncFocus(e){const t=this._asyncFocus;(null==t?void 0:t.source)===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,r){null===r?e.removeAttribute(t):e.setAttribute(t,r)}_setFocusedElement(e,t,r){var o,n;if(this._tabster._noop)return;const a={relatedTarget:t};if(e){const t=null===(o=Za._lastResetElement)||void 0===o?void 0:o.get();if(Za._lastResetElement=void 0,t===e||va(e))return;a.isFocusedProgrammatically=r;const i=Ea.getTabsterContext(this._tabster,e),l=null===(n=null==i?void 0:i.modalizer)||void 0===n?void 0:n.userId;l&&(a.modalizerId=l)}const i=this._nextVal={element:e?new ca(this._win,e):void 0,detail:a};e&&e!==this._val&&this._validateFocusedElement(e),this._nextVal===i&&this.setVal(e,a),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new ca(this._win,e))}static findNextTabbable(e,t,r,o,n,a,i){const l=r||t.root.getElement();if(!l)return null;let s=null;const c=Za._isTabbingTimer,d=e.getWindow();c&&d.clearTimeout(c),Za.isTabbing=!0,Za._isTabbingTimer=d.setTimeout(()=>{delete Za._isTabbingTimer,Za.isTabbing=!1},0);const u=t.modalizer,f=t.groupper,p=t.mover,h=t=>{if(s=t.findNextTabbable(o,n,a,i),o&&!(null==s?void 0:s.element)){const n=t!==u&&oa.getParentElement(t.getElement());if(n){const l=Ea.getTabsterContext(e,o,{referenceElement:n});if(l){const o=t.getElement(),c=a?o:o&&Sa(o)||o;c&&(s=Za.findNextTabbable(e,l,r,c,n,a,i),s&&(s.outOfDOMOrder=!0))}}}};if(f&&p)h(t.groupperBeforeMover?f:p);else if(f)h(f);else if(p)h(p);else if(u)h(u);else{const t={container:l,currentElement:o,referenceElement:n,ignoreAccessibility:i,useActiveModalizer:!0},r={},c=e.focusable[a?"findPrev":"findNext"](t,r);s={element:c,outOfDOMOrder:r.outOfDOMOrder,uncontrolled:r.uncontrolled}}return s}}Za.isTabbing=!1;class Ua extends Ba{constructor(e,t,r,o){super(r,e,4,o,!0),this._setHandlers((o,n,a)=>{var i,l;const s=e.get(),c=o.input;if(s&&c){const e=Ea.getTabsterContext(r,c);if(e){let d;d=null===(i=t.findNextTabbable(a||void 0,void 0,n,!0))||void 0===i?void 0:i.element,d||(d=null===(l=Za.findNextTabbable(r,e,void 0,o.isOutside?c:function(e,t){let r=e,o=null;for(;r&&!o;)o=t?oa.getPreviousElementSibling(r):oa.getNextElementSibling(r),r=oa.getParentElement(r);return o||void 0}(s,!n),void 0,n,!0))||void 0===l?void 0:l.element),d&&zn(d)}}})}}class Ga extends wa{constructor(e,t,r,o,n){super(e,t,o),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=r,e.controlTab||(this.dummyManager=new Ua(this._element,this,e,n))}dispose(){var e;this._onDispose(this),this._element.get(),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(e,t,r,o){const n=this.getElement();if(!n)return null;const a=Ta(e)===n;if(!this._shouldTabInside&&e&&oa.nodeContains(n,e)&&!a)return{element:void 0,outOfDOMOrder:!0};const i=this.getFirst(!0);if(!e||!oa.nodeContains(n,e)||a)return{element:i,outOfDOMOrder:!0};const l=this._tabster;let s,c=null,d=!1;if(this._shouldTabInside&&i){const a={container:n,currentElement:e,referenceElement:t,ignoreAccessibility:o,useActiveModalizer:!0},i={};c=l.focusable[r?"findPrev":"findNext"](a,i),d=!!i.outOfDOMOrder,c||2!==this._props.tabbability||(c=l.focusable[r?"findLast":"findFirst"]({container:n,ignoreAccessibility:o,useActiveModalizer:!0},i),d=!0),s=i.uncontrolled}return{element:c,uncontrolled:s,outOfDOMOrder:d}}makeTabbable(e){this._shouldTabInside=e||!this._props.tabbability}isActive(e){var t;const r=this.getElement()||null;let o=!0;for(let e=oa.getParentElement(r);e;e=oa.getParentElement(e)){const r=null===(t=On(this._tabster,e))||void 0===t?void 0:t.groupper;r&&(r._shouldTabInside||(o=!1))}let n=o?!!this._props.tabbability&&this._shouldTabInside:void 0;if(n&&e){const e=this._tabster.focusedElement.getFocusedElement();e&&(n=e!==this.getFirst(!0))}return n}getFirst(e){var t;const r=this.getElement();let o;if(r){if(e&&this._tabster.focusable.isFocusable(r))return r;o=null===(t=this._first)||void 0===t?void 0:t.get(),o||(o=this._tabster.focusable.findFirst({container:r,useActiveModalizer:!0})||void 0,o&&this.setFirst(o))}return o}setFirst(e){e?this._first=new ca(this._tabster.getWindow,e):delete this._first}acceptElement(e,t){const r=t.cachedGrouppers,o=oa.getParentElement(this.getElement()),n=o&&Ea.getTabsterContext(this._tabster,o),a=null==n?void 0:n.groupper,i=(null==n?void 0:n.groupperBeforeMover)?a:void 0;let l;const s=e=>{let t,o=r[e.id];return o?t=o.isActive:(t=this.isActive(!0),o=r[e.id]={isActive:t}),t};if(i&&(l=i.getElement(),!s(i)&&l&&t.container!==l&&oa.nodeContains(t.container,l)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const c=s(this),d=this.getElement();if(d&&!0!==c){if(d===e&&a&&(l||(l=a.getElement()),l&&!s(a)&&oa.nodeContains(t.container,l)&&l!==t.container))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;if(d!==e&&oa.nodeContains(d,e))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const o=r[this.id];let n;if(n="first"in o?o.first:o.first=this.getFirst(!0),n&&t.acceptCondition(n))return t.rejectElementsFrom=d,t.skippedFocusable=!0,n!==t.from?(t.found=!0,t.foundElement=n,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class Xa{constructor(e,t){this._current={},this._grouppers={},this._init=()=>{const e=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const t=e.document,r=oa.getActiveElement(t);r&&this._onFocus(r),t.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),e.addEventListener(Ln,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!==Oa&&e.key!==Aa)return;if(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;const t=this._tabster.focusedElement.getFocusedElement();t&&this.handleKeyPress(t,e)},this._onMoveFocus=e=>{var t;const r=e.composedPath()[0],o=null===(t=e.detail)||void 0===t?void 0:t.action;r&&void 0!==o&&!e.defaultPrevented&&(1===o?this._enterGroupper(r):this._escapeGroupper(r),e.stopImmediatePropagation())},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){const e=this._win();this._tabster.focusedElement.cancelAsyncFocus(1),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(Ln,this._onMoveFocus),Object.keys(this._grouppers).forEach(e=>{this._grouppers[e]&&(this._grouppers[e].dispose(),delete this._grouppers[e])})}createGroupper(e,t,r){const o=this._tabster,n=new Ga(o,e,this._onGroupperDispose,t,r);this._grouppers[n.id]=n;const a=o.focusedElement.getFocusedElement();return a&&oa.nodeContains(e,a)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,a===o.focusedElement.getFocusedElement()&&this._updateCurrent(a)},0)),n}forgetCurrentGrouppers(){this._current={}}_updateCurrent(e){var t;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const r=this._tabster,o={};for(let n=r.getParent(e);n;n=r.getParent(n)){const a=null===(t=On(r,n))||void 0===t?void 0:t.groupper;if(a){o[a.id]=!0,this._current[a.id]=a;const t=a.isActive()||e!==n&&(!a.getProps().delegated||a.getFirst(!1)!==e);a.makeTabbable(t)}}for(const e of Object.keys(this._current)){const t=this._current[e];t.id in o||(t.makeTabbable(!1),t.setFirst(void 0),delete this._current[e])}}_enterGroupper(e,t){const r=this._tabster,o=Ea.getTabsterContext(r,e),n=(null==o?void 0:o.groupper)||(null==o?void 0:o.modalizerInGroupper),a=null==n?void 0:n.getElement();if(n&&a&&(e===a||n.getProps().delegated&&e===n.getFirst(!1))){const o=r.focusable.findNext({container:a,currentElement:e,useActiveModalizer:!0});if(o&&(!t||t&&a.dispatchEvent(new Xn({by:"groupper",owner:a,next:o,relatedEvent:t}))))return t&&(t.preventDefault(),t.stopImmediatePropagation()),o.focus(),o}return null}_escapeGroupper(e,t,r){const o=this._tabster,n=Ea.getTabsterContext(o,e);let a=(null==n?void 0:n.groupper)||(null==n?void 0:n.modalizerInGroupper);const i=null==a?void 0:a.getElement();if(a&&i&&oa.nodeContains(i,e)){let n;if(e!==i||r)n=a.getFirst(!0);else{const e=oa.getParentElement(i),t=e?Ea.getTabsterContext(o,e):void 0;a=null==t?void 0:t.groupper,n=null==a?void 0:a.getFirst(!0)}if(n&&(!t||t&&i.dispatchEvent(new Xn({by:"groupper",owner:i,next:n,relatedEvent:t}))))return a&&a.makeTabbable(!1),n.focus(),n}return null}moveFocus(e,t){return 1===t?this._enterGroupper(e):this._escapeGroupper(e)}handleKeyPress(e,t,r){const o=this._tabster,n=Ea.getTabsterContext(o,e);if(n&&((null==n?void 0:n.groupper)||(null==n?void 0:n.modalizerInGroupper))){if(o.focusedElement.cancelAsyncFocus(1),n.ignoreKeydown(t))return;if(t.key===Oa)this._enterGroupper(e,t);else if(t.key===Aa){const n=o.focusedElement.getFocusedElement();o.focusedElement.requestAsyncFocus(1,()=>{(n===o.focusedElement.getFocusedElement()||(!r||n)&&r)&&this._escapeGroupper(e,t,r)},0)}}}}class $a extends Pa{constructor(e){super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=_n(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Tn(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;null===(t=this._keyborg)||void 0===t||t.setVal(e)}isNavigatingWithKeyboard(){var e;return!!(null===(e=this._keyborg)||void 0===e?void 0:e.isNavigatingWithKeyboard())}}let Ka=0;const Ya="aria-hidden";class Ja extends Ba{constructor(e,t,r){super(t,e,2,r),this._setHandlers((r,o)=>{var n,a;const i=e.get(),l=i&&(null===(n=Ea.getRoot(t,i))||void 0===n?void 0:n.getElement()),s=r.input;let c;if(l&&s){const e=Ta(s),r=Ea.getTabsterContext(t,e||s);r&&(c=null===(a=Za.findNextTabbable(t,r,l,s,void 0,o,!0))||void 0===a?void 0:a.element),c&&zn(c)}})}}class Qa extends wa{constructor(e,t,r,o,n,a){super(e,t,o),this._wasFocused=0,this.userId=o.id,this._onDispose=r,this._activeElements=a,e.controlTab||(this.dummyManager=new Ja(this._element,e,n))}makeActive(e){if(this._isActive!==e){this._isActive=e;const t=this.getElement();if(t){const r=this._activeElements,o=r.map(e=>e.get()).indexOf(t);e?o<0&&r.push(new ca(this._tabster.getWindow,t)):o>=0&&r.splice(o,1)}this._dispatchEvent(e)}}focused(e){return e||(this._wasFocused=++Ka),this._wasFocused}setProps(e){e.id&&(this.userId=e.id),this._props={...e}}dispose(){var e;this.makeActive(!1),this._onDispose(this),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(e){return oa.nodeContains(this.getElement(),e)}findNextTabbable(e,t,r,o){var n,a;if(!this.getElement())return null;const i=this._tabster;let l,s=null,c=!1;const d=e&&(null===(n=Ea.getRoot(i,e))||void 0===n?void 0:n.getElement());if(d){const n={container:d,currentElement:e,referenceElement:t,ignoreAccessibility:o,useActiveModalizer:!0},u={};s=i.focusable[r?"findPrev":"findNext"](n,u),!s&&this._props.isTrapped&&(null===(a=i.modalizer)||void 0===a?void 0:a.activeId)?(s=i.focusable[r?"findLast":"findFirst"]({container:d,ignoreAccessibility:o,useActiveModalizer:!0},u),null===s&&(s=e),c=!0):c=!!u.outOfDOMOrder,l=u.uncontrolled}return{element:s,uncontrolled:l,outOfDOMOrder:c}}_dispatchEvent(e,t){const r=this.getElement();let o=!1;if(r){const n=t?this._activeElements.map(e=>e.get()):[r];for(const t of n)if(t){const n={id:this.userId,element:r},a=e?new Jn(n):new Qn(n);t.dispatchEvent(a),a.defaultPrevented&&(o=!0)}}return o}_remove(){}}class ei{constructor(e,t,r){this._onModalizerDispose=e=>{const t=e.id,r=e.userId,o=this._parts[r];if(delete this._modalizers[t],o&&(delete o[t],0===Object.keys(o).length)){delete this._parts[r];const e=this._activationHistory,t=[];let o;for(let n=e.length;n--;){const a=e[n];a!==r&&a!==o&&(o=a,(a||t.length>0)&&t.unshift(a))}if(this._activationHistory=t,this.activeId===r){const e=t[0],r=e?Object.values(this._parts[e])[0]:void 0;this.setActive(r)}}},this._onKeyDown=e=>{var t;if(e.key!==Aa)return;const r=this._tabster,o=r.focusedElement.getFocusedElement();if(o){const n=Ea.getTabsterContext(r,o),a=null==n?void 0:n.modalizer;if(n&&!n.groupper&&(null==a?void 0:a.isActive())&&!n.ignoreKeydown(e)){const o=a.userId;if(o){const n=this._parts[o];if(n){const o=Object.keys(n).map(e=>{var t;const o=n[e],a=o.getElement();let i;return a&&(i=null===(t=On(r,a))||void 0===t?void 0:t.groupper),o&&a&&i?{el:a,focusedSince:o.focused(!0)}:{focusedSince:0}}).filter(e=>e.focusedSince>0).sort((e,t)=>e.focusedSince>t.focusedSince?-1:e.focusedSince<t.focusedSince?1:0);if(o.length){const n=o[0].el;n&&(null===(t=r.groupper)||void 0===t||t.handleKeyPress(n,e,!0))}}}}}},this._onFocus=(e,t)=>{var r;const o=this._tabster,n=e&&Ea.getTabsterContext(o,e);if(!n||!e)return;const a=this._augMap;for(let t=e;t;t=oa.getParentElement(t))a.has(t)&&(a.delete(t),Na(o,t,Ya));let i=n.modalizer;const l=On(o,e),s=null==l?void 0:l.modalizer;if(s&&(s.focused(),s.userId===this.activeId&&l.groupper)){const t=o.getParent(e),n=t&&(null===(r=Ea.getTabsterContext(o,t))||void 0===r?void 0:r.modalizer);if(!n)return void this.setActive(void 0);i=n}if(null==i||i.focused(),(null==i?void 0:i.userId)!==this.activeId)if(t.isFocusedProgrammatically||this.currentIsOthersAccessible||(null==i?void 0:i.getProps().isAlwaysAccessible))this.setActive(i);else{const t=this._win();t.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=t.setTimeout(()=>this._restoreModalizerFocus(e),100)}else this.currentIsOthersAccessible=null==i?void 0:i.getProps().isOthersAccessible},this._tabster=e,this._win=e.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=t,this._accessibleCheck=r,this._activationHistory=[],this.activeElements=[],e.controlTab||e.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),e.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const e=this._win();e.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(e=>{this._modalizers[e]&&(this._modalizers[e].dispose(),delete this._modalizers[e])}),e.clearTimeout(this._restoreModalizerFocusTimer),e.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(e,t,r){var o;const n=new Qa(this._tabster,e,this._onModalizerDispose,t,r,this.activeElements),a=n.id,i=t.id;this._modalizers[a]=n;let l=this._parts[i];l||(l=this._parts[i]={}),l[a]=n;const s=null!==(o=this._tabster.focusedElement.getFocusedElement())&&void 0!==o?o:null;return e!==s&&oa.nodeContains(e,s)&&(i!==this.activeId?this.setActive(n):n.makeActive(!0)),n}isAugmented(e){return this._augMap.has(e)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(e){const t=null==e?void 0:e.userId,r=this.activeId;if(r===t)return;if(this.activeId=t,r){const e=this._parts[r];if(e)for(const t of Object.keys(e))e[t].makeActive(!1)}if(t){const e=this._parts[t];if(e)for(const t of Object.keys(e))e[t].makeActive(!0)}this.currentIsOthersAccessible=null==e?void 0:e.getProps().isOthersAccessible,this.hiddenUpdate();const o=this._activationHistory;o[0]!==t&&(void 0!==t||o.length>0)&&o.unshift(t)}focus(e,t,r){const o=this._tabster,n=Ea.getTabsterContext(o,e),a=null==n?void 0:n.modalizer;if(a){this.setActive(a);const e=a.getProps(),n=a.getElement();if(n){if(void 0===t&&(t=e.isNoFocusFirst),!t&&o.keyboardNavigation.isNavigatingWithKeyboard()&&o.focusedElement.focusFirst({container:n}))return!0;if(void 0===r&&(r=e.isNoFocusDefault),!r&&o.focusedElement.focusDefault(n))return!0;o.focusedElement.resetFocus(n)}}return!1}activate(e){var t;const r=e?null===(t=Ea.getTabsterContext(this._tabster,e))||void 0===t?void 0:t.modalizer:void 0;return!(e&&!r||(this.setActive(r),0))}acceptElement(e,t){var r;const o=t.modalizerUserId,n=null===(r=t.currentCtx)||void 0===r?void 0:r.modalizer;if(o)for(const t of this.activeElements){const r=t.get();if(r&&(oa.nodeContains(e,r)||r===e))return NodeFilter.FILTER_SKIP}const a=o===(null==n?void 0:n.userId)||!o&&(null==n?void 0:n.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return void 0!==a&&(t.skippedFocusable=!0),a}_hiddenUpdate(){var e;const t=this._tabster,r=t.getWindow().document.body,o=this.activeId,n=this._parts,a=[],i=[],l=this._alwaysAccessibleSelector,s=l?Array.from(oa.querySelectorAll(r,l)):[],c=[];for(const e of Object.keys(n)){const t=n[e];for(const r of Object.keys(t)){const n=t[r],l=n.getElement(),d=n.getProps().isAlwaysAccessible;l&&(e===o?(c.push(l),this.currentIsOthersAccessible||a.push(l)):d?s.push(l):i.push(l))}}const d=this._augMap,u=a.length>0?[...a,...s]:void 0,f=[],p=new WeakMap,h=(e,r)=>{var o;const n=e.tagName;if("SCRIPT"===n||"STYLE"===n)return;let a=!1;d.has(e)?r?a=!0:(d.delete(e),Na(t,e,Ya)):r&&!(null===(o=this._accessibleCheck)||void 0===o?void 0:o.call(this,e,c))&&Na(t,e,Ya,"true")&&(d.set(e,!0),a=!0),a&&(f.push(new ca(t.getWindow,e)),p.set(e,!0))},g=e=>{var r;for(let o=oa.getFirstElementChild(e);o;o=oa.getNextElementSibling(o)){let e=!1,n=!1,a=!1;if(u){const i=t.getParent(o);for(const t of u){if(o===t){e=!0;break}if(oa.nodeContains(o,t)){n=!0;break}oa.nodeContains(t,i)&&(a=!0)}n||(null===(r=o.__tabsterElementFlags)||void 0===r?void 0:r.noDirectAriaHidden)?g(o):e||a||h(o,!0)}else h(o,!1)}};u||s.forEach(e=>h(e,!1)),i.forEach(e=>h(e,!0)),r&&g(r),null===(e=this._aug)||void 0===e||e.map(e=>e.get()).forEach(e=>{e&&!p.get(e)&&h(e,!1)}),this._aug=f,this._augMap=p}_restoreModalizerFocus(e){var t;const r=null==e?void 0:e.ownerDocument;if(!e||!r)return;const o=this._tabster.focusedElement.getFocusedElement(),n=o&&(null===(t=Ea.getTabsterContext(this._tabster,o))||void 0===t?void 0:t.modalizer);if(!o||o&&(null==n?void 0:n.userId)===this.activeId)return;const a=this._tabster,i=Ea.getTabsterContext(a,e),l=null==i?void 0:i.modalizer,s=this.activeId;if(!l&&!s||l&&s===l.userId)return;const c=null==i?void 0:i.root.getElement();if(c){let t=a.focusable.findFirst({container:c,useActiveModalizer:!0});if(t){if(e.compareDocumentPosition(t)&document.DOCUMENT_POSITION_PRECEDING&&(t=a.focusable.findLast({container:c,useActiveModalizer:!0}),!t))throw new Error("Something went wrong.");return void a.focusedElement.focus(t)}}e.blur()}}const ti=["input","textarea","*[contenteditable]"].join(", ");class ri extends Ba{constructor(e,t,r,o){super(t,e,3,o),this._onFocusDummyInput=e=>{var t,r;const o=this._element.get(),n=e.input;if(o&&n){const a=Ea.getTabsterContext(this._tabster,o);let i;a&&(i=null===(t=Za.findNextTabbable(this._tabster,a,void 0,n,void 0,!e.isFirst,!0))||void 0===t?void 0:t.element);const l=null===(r=this._getMemorized())||void 0===r?void 0:r.get();l&&this._tabster.focusable.isFocusable(l)&&(i=l),i&&zn(i)}},this._tabster=t,this._getMemorized=r,this._setHandlers(this._onFocusDummyInput)}}class oi extends wa{constructor(e,t,r,o,n){var a;super(e,t,o),this._visible={},this._onIntersection=e=>{for(const t of e){const e=t.target,r=ma(this._win,e);let o,n=this._fullyVisible;if(t.intersectionRatio>=.25?(o=t.intersectionRatio>=.75?2:1,2===o&&(n=r)):o=0,this._visible[r]!==o){void 0===o?(delete this._visible[r],n===r&&delete this._fullyVisible):(this._visible[r]=o,this._fullyVisible=n);const t=this.getState(e);t&&e.dispatchEvent(new $n(t))}}},this._win=e.getWindow,this.visibilityTolerance=null!==(a=o.visibilityTolerance)&&void 0!==a?a:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=r;e.controlTab||(this.dummyManager=new ri(this._element,e,()=>o.memorizeCurrent?this._current:void 0,n))}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);const t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager}setCurrent(e){this._current=e?new ca(this._win,e):void 0,!this._props.trackState&&!this._props.visibilityAware||this._setCurrentTimer||(this._setCurrentTimer=this._win().setTimeout(()=>{var e;delete this._setCurrentTimer;const t=[];this._current!==this._prevCurrent&&(t.push(this._current),t.push(this._prevCurrent),this._prevCurrent=this._current);for(const r of t){const t=null==r?void 0:r.get();if(t&&(null===(e=this._allElements)||void 0===e?void 0:e.get(t))===this){const e=this._props;if(t&&(void 0!==e.visibilityAware||e.trackState)){const e=this.getState(t);e&&t.dispatchEvent(new $n(e))}}}}))}getCurrent(){var e;return(null===(e=this._current)||void 0===e?void 0:e.get())||null}findNextTabbable(e,t,r,o){const n=this.getElement(),a=n&&Ta(e)===n;if(!n)return null;let i,l=null,s=!1;if(this._props.tabbable||a||e&&!oa.nodeContains(n,e)){const a={currentElement:e,referenceElement:t,container:n,ignoreAccessibility:o,useActiveModalizer:!0},c={};l=this._tabster.focusable[r?"findPrev":"findNext"](a,c),s=!!c.outOfDOMOrder,i=c.uncontrolled}return{element:l,uncontrolled:i,outOfDOMOrder:s}}acceptElement(e,t){var r,o;if(!Za.isTabbing)return(null===(r=t.currentCtx)||void 0===r?void 0:r.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:n,visibilityAware:a,hasDefault:i=!0}=this._props,l=this.getElement();if(l&&(n||a||i)&&(!oa.nodeContains(l,t.from)||Ta(t.from)===l)){let e;if(n){const r=null===(o=this._current)||void 0===o?void 0:o.get();r&&t.acceptCondition(r)&&(e=r)}if(!e&&i&&(e=this._tabster.focusable.findDefault({container:l,useActiveModalizer:!0})),!e&&a&&(e=this._tabster.focusable.findElement({container:l,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:e=>{var r;const o=ma(this._win,e),n=this._visible[o];return l!==e&&!!(null===(r=this._allElements)||void 0===r?void 0:r.get(e))&&t.acceptCondition(e)&&(2===n||1===n&&(1===a||!this._fullyVisible))}})),e)return t.found=!0,t.foundElement=e,t.rejectElementsFrom=l,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const e=this.getElement();if(this._unobserve||!e||"undefined"==typeof MutationObserver)return;const t=this._win(),r=this._allElements=new WeakMap,o=this._tabster.focusable;let n=this._updateQueue=[];const a=oa.createMutationObserver(e=>{for(const t of e){const e=t.target,r=t.removedNodes,o=t.addedNodes;if("attributes"===t.type)"tabindex"===t.attributeName&&n.push({element:e,type:2});else{for(let e=0;e<r.length;e++)n.push({element:r[e],type:3});for(let e=0;e<o.length;e++)n.push({element:o[e],type:1})}}d()}),i=(e,t)=>{var o,n;const a=r.get(e);a&&t&&(null===(o=this._intersectionObserver)||void 0===o||o.unobserve(e),r.delete(e)),a||t||(r.set(e,this),null===(n=this._intersectionObserver)||void 0===n||n.observe(e))},l=e=>{const t=o.isFocusable(e);r.get(e)?t||i(e,!0):t&&i(e)},s=e=>{const{mover:r}=u(e);if(r&&r!==this){if(r.getElement()!==e||!o.isFocusable(e))return;i(e)}const n=fa(t.document,e,e=>{const{mover:t,groupper:r}=u(e);if(t&&t!==this)return NodeFilter.FILTER_REJECT;const n=null==r?void 0:r.getFirst(!0);return r&&r.getElement()!==e&&n&&n!==e?NodeFilter.FILTER_REJECT:(o.isFocusable(e)&&i(e),NodeFilter.FILTER_SKIP)});if(n)for(n.currentNode=e;n.nextNode(););},c=e=>{r.get(e)&&i(e,!0);for(let t=oa.getFirstElementChild(e);t;t=oa.getNextElementSibling(t))c(t)},d=()=>{!this._updateTimer&&n.length&&(this._updateTimer=t.setTimeout(()=>{delete this._updateTimer;for(const{element:e,type:t}of n)switch(t){case 2:l(e);break;case 1:s(e);break;case 3:c(e)}n=this._updateQueue=[]},0))},u=e=>{const t={};for(let r=e;r;r=oa.getParentElement(r)){const e=On(this._tabster,r);if(e&&(e.groupper&&!t.groupper&&(t.groupper=e.groupper),e.mover)){t.mover=e.mover;break}}return t};n.push({element:e,type:1}),d(),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{a.disconnect()}}getState(e){const t=ma(this._win,e);if(t in this._visible){const r=this._visible[t]||0;return{isCurrent:this._current?this._current.get()===e:void 0,visibility:r}}}}class ni{constructor(e,t){this._init=()=>{const e=this._win();e.addEventListener("keydown",this._onKeyDown,!0),e.addEventListener(Mn,this._onMoveFocus),e.addEventListener(Hn,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=e=>{delete this._movers[e.id]},this._onFocus=e=>{var t;let r=e,o=e;for(let n=oa.getParentElement(e);n;n=oa.getParentElement(n)){const e=null===(t=On(this._tabster,n))||void 0===t?void 0:t.mover;e&&(e.setCurrent(o),r=void 0),!r&&this._tabster.focusable.isFocusable(n)&&(r=o=n)}},this._onKeyDown=async e=>{var t;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1),e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;const r=e.key;let o;if(r===Va?o=In.ArrowDown:r===La?o=In.ArrowRight:r===Ha?o=In.ArrowUp:r===Ma?o=In.ArrowLeft:"PageDown"===r?o=In.PageDown:"PageUp"===r?o=In.PageUp:r===Ra?o=In.Home:"End"===r&&(o=In.End),!o)return;const n=this._tabster.focusedElement.getFocusedElement();n&&!await this._isIgnoredInput(n,r)&&this._moveFocus(n,o,e)},this._onMoveFocus=e=>{var t;const r=e.composedPath()[0],o=null===(t=e.detail)||void 0===t?void 0:t.key;r&&void 0!==o&&!e.defaultPrevented&&(this._moveFocus(r,o),e.stopImmediatePropagation())},this._onMemorizedElement=e=>{var t;const r=e.composedPath()[0];let o=null===(t=e.detail)||void 0===t?void 0:t.memorizedElement;if(r){const t=Ea.getTabsterContext(this._tabster,r),n=null==t?void 0:t.mover;n&&(o&&!oa.nodeContains(n.getElement(),o)&&(o=void 0),n.setCurrent(o),e.stopImmediatePropagation())}},this._tabster=e,this._win=t,this._movers={},e.queueInit(this._init)}dispose(){var e;const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),null===(e=this._ignoredInputResolve)||void 0===e||e.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(Mn,this._onMoveFocus),t.removeEventListener(Hn,this._onMemorizedElement),Object.keys(this._movers).forEach(e=>{this._movers[e]&&(this._movers[e].dispose(),delete this._movers[e])})}createMover(e,t,r){const o=new oi(this._tabster,e,this._onMoverDispose,t,r);return this._movers[o.id]=o,o}moveFocus(e,t){return this._moveFocus(e,t)}_moveFocus(e,t,r){var o,n;const a=this._tabster,i=Ea.getTabsterContext(a,e,{checkRtl:!0});if(!i||!i.mover||i.excludedFromMover||r&&i.ignoreKeydown(r))return null;const l=i.mover,s=l.getElement();if(i.groupperBeforeMover){const e=i.groupper;if(!e||e.isActive(!0))return null;for(let t=oa.getParentElement(e.getElement());t&&t!==s;t=oa.getParentElement(t))if(null===(n=null===(o=On(a,t))||void 0===o?void 0:o.groupper)||void 0===n?void 0:n.isActive(!0))return null}if(!s)return null;const c=a.focusable,d=l.getProps(),u=d.direction||0,f=0===u,p=f||1===u,h=f||2===u,g=4===u,v=g||3===u,m=d.cyclic;let b,C,y,x=0,w=0;if(v&&(y=e.getBoundingClientRect(),x=Math.ceil(y.left),w=Math.floor(y.right)),i.rtl&&(t===In.ArrowRight?t=In.ArrowLeft:t===In.ArrowLeft&&(t=In.ArrowRight)),t===In.ArrowDown&&p||t===In.ArrowRight&&(h||v))if(b=c.findNext({currentElement:e,container:s,useActiveModalizer:!0}),b&&v){const e=Math.ceil(b.getBoundingClientRect().left);!g&&w>e&&(b=void 0)}else!b&&m&&(b=c.findFirst({container:s,useActiveModalizer:!0}));else if(t===In.ArrowUp&&p||t===In.ArrowLeft&&(h||v))if(b=c.findPrev({currentElement:e,container:s,useActiveModalizer:!0}),b&&v){const e=Math.floor(b.getBoundingClientRect().right);!g&&e>x&&(b=void 0)}else!b&&m&&(b=c.findLast({container:s,useActiveModalizer:!0}));else if(t===In.Home)v?c.findElement({container:s,currentElement:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{var r;if(!c.isFocusable(t))return!1;const o=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&x<=o||(b=t,!1)}}):b=c.findFirst({container:s,useActiveModalizer:!0});else if(t===In.End)v?c.findElement({container:s,currentElement:e,useActiveModalizer:!0,acceptCondition:t=>{var r;if(!c.isFocusable(t))return!1;const o=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&x>=o||(b=t,!1)}}):b=c.findLast({container:s,useActiveModalizer:!0});else if(t===In.PageUp){if(c.findElement({currentElement:e,container:s,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>!(!c.isFocusable(e)||ha(this._win,e,l.visibilityTolerance)&&(b=e,1))}),v&&b){const e=Math.ceil(b.getBoundingClientRect().left);c.findElement({currentElement:b,container:s,useActiveModalizer:!0,acceptCondition:t=>{if(!c.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return x<r||e>=r||(b=t,!1)}})}C=!1}else if(t===In.PageDown){if(c.findElement({currentElement:e,container:s,useActiveModalizer:!0,acceptCondition:e=>!(!c.isFocusable(e)||ha(this._win,e,l.visibilityTolerance)&&(b=e,1))}),v&&b){const e=Math.ceil(b.getBoundingClientRect().left);c.findElement({currentElement:b,container:s,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!c.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return x>r||e<=r||(b=t,!1)}})}C=!0}else if(v){const r=t===In.ArrowUp,o=x,n=Math.ceil(y.top),a=w,i=Math.floor(y.bottom);let l,d,u=0;c.findAll({container:s,currentElement:e,isBackward:r,onElement:e=>{const t=e.getBoundingClientRect(),s=Math.ceil(t.left),c=Math.ceil(t.top),f=Math.floor(t.right),p=Math.floor(t.bottom);if(r&&n<p||!r&&i>c)return!0;const h=Math.ceil(Math.min(a,f))-Math.floor(Math.max(o,s)),g=Math.ceil(Math.min(a-o,f-s));if(h>0&&g>=h){const t=h/g;t>u&&(l=e,u=t)}else if(0===u){const t=function(e,t,r,o,n,a,i,l){const s=r<n?n-r:i<e?e-i:0,c=o<a?a-o:l<t?t-l:0;return 0===s?c:0===c?s:Math.sqrt(s*s+c*c)}(o,n,a,i,s,c,f,p);(void 0===d||t<d)&&(d=t,l=e)}else if(u>0)return!1;return!0}}),b=l}return b&&(!r||r&&s.dispatchEvent(new Xn({by:"mover",owner:s,next:b,relatedEvent:r})))?(void 0!==C&&function(e,t,r){const o=ga(t);if(o){const n=pa(e,o),a=t.getBoundingClientRect();o.scrollTop+=r?a.top-n.top:a.bottom-n.bottom}}(this._win,b,C),r&&(r.preventDefault(),r.stopImmediatePropagation()),zn(b),b):null}async _isIgnoredInput(e,t){if("true"===e.getAttribute("aria-expanded")&&(e.hasAttribute("aria-activedescendant")||"combobox"===e.getAttribute("role")))return!0;if(ya(e,ti)){let r,o=0,n=0,a=0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName){const r=e.type,i=e.value;if(a=(i||"").length,"email"===r||"number"===r){if(a){const r=oa.getSelection(e);if(r){const e=r.toString().length,o=t===Ma||t===Ha;if(r.modify("extend",o?"backward":"forward","character"),e!==r.toString().length)return r.modify("extend",o?"forward":"backward","character"),!0;a=0}}}else{const t=e.selectionStart;if(null===t)return"hidden"===r;o=t||0,n=e.selectionEnd||0}}else"true"===e.contentEditable&&(r=new(function(e){const t=la(e);if(t.basics.Promise)return t.basics.Promise;throw new Error("No Promise defined.")}(this._win))(t=>{this._ignoredInputResolve=e=>{delete this._ignoredInputResolve,t(e)};const r=this._win();this._ignoredInputTimer&&r.clearTimeout(this._ignoredInputTimer);const{anchorNode:i,focusNode:l,anchorOffset:s,focusOffset:c}=oa.getSelection(e)||{};this._ignoredInputTimer=r.setTimeout(()=>{var t,r,d;delete this._ignoredInputTimer;const{anchorNode:u,focusNode:f,anchorOffset:p,focusOffset:h}=oa.getSelection(e)||{};if(u===i&&f===l&&p===s&&h===c){if(o=p||0,n=h||0,a=(null===(r=e.textContent)||void 0===r?void 0:r.length)||0,u&&f&&oa.nodeContains(e,u)&&oa.nodeContains(e,f)&&u!==e){let t=!1;const r=e=>{if(e===u)t=!0;else if(e===f)return!0;const a=e.textContent;if(a&&!oa.getFirstChild(e)){const e=a.length;t?f!==u&&(n+=e):(o+=e,n+=e)}let i=!1;for(let t=oa.getFirstChild(e);t&&!i;t=t.nextSibling)i=r(t);return i};r(e)}null===(d=this._ignoredInputResolve)||void 0===d||d.call(this,!0)}else null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1)},0)}));if(r&&!await r)return!0;if(o!==n)return!0;if(o>0&&(t===Ma||t===Ha||t===Ra))return!0;if(o<a&&(t===La||t===Va||"End"===t))return!0}return!1}}class ai{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletely(e,t){var r;const o=null===(r=this._isUncontrolledCompletely)||void 0===r?void 0:r.call(this,e,t);return void 0===o?t:o}}class ii extends wa{constructor(e,t,r){var o;if(super(e,t,r),this._hasFocus=!1,this._onFocusOut=e=>{var t;const r=null===(t=this._element)||void 0===t?void 0:t.get();r&&null===e.relatedTarget&&r.dispatchEvent(new ea),r&&!oa.nodeContains(r,e.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},0===this._props.type){const e=null===(o=this._element)||void 0===o?void 0:o.get();null==e||e.addEventListener("focusout",this._onFocusOut),null==e||e.addEventListener("focusin",this._onFocusIn),this._hasFocus=oa.nodeContains(e,e&&oa.getActiveElement(e.ownerDocument))}}dispose(){var e;if(0===this._props.type){const t=null===(e=this._element)||void 0===e?void 0:e.get();null==t||t.removeEventListener("focusout",this._onFocusOut),null==t||t.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new ea)}}}class li{constructor(e){this._stack=[],this._getWindow=e}push(e){var t;(null===(t=this._stack[this._stack.length-1])||void 0===t?void 0:t.get())!==e&&(this._stack.length>li.DEPTH&&this._stack.shift(),this._stack.push(new ca(this._getWindow,e)))}pop(e=()=>!0){var t;const r=this._getWindow().document;for(let o=this._stack.length-1;o>=0;o--){const o=null===(t=this._stack.pop())||void 0===t?void 0:t.get();if(o&&oa.nodeContains(r.body,oa.getParentElement(o))&&e(o))return o}}}li.DEPTH=10;class si{constructor(e){this._onRestoreFocus=e=>{var t,r;this._focusedElementState.cancelAsyncFocus(2);const o=e.composedPath()[0];if(o){const e=null===(r=null===(t=On(this._tabster,o))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps().id;this._focusedElementState.requestAsyncFocus(2,()=>this._restoreFocus(o,e),0)}},this._onFocusIn=e=>{var t;if(!e)return;const r=On(this._tabster,e);1===(null===(t=null==r?void 0:r.restorer)||void 0===t?void 0:t.getProps().type)&&this._history.push(e)},this._restoreFocus=(e,t)=>{var r;const o=this._getWindow().document;if(oa.getActiveElement(o)!==o.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&oa.nodeContains(o.body,e))return;const n=e=>{var t,r;const o=null===(r=null===(t=On(this._tabster,e))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps();return o?o.id:null};null===(r=this._history.pop(e=>t===n(e)))||void 0===r||r.focus()},this._tabster=e,this._getWindow=e.getWindow,this._getWindow().addEventListener(Vn,this._onRestoreFocus),this._history=new li(this._getWindow),this._keyboardNavState=e.keyboardNavigation,this._focusedElementState=e.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const e=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(2),e.removeEventListener(Vn,this._onRestoreFocus)}createRestorer(e,t){const r=new ii(this._tabster,e,t);return 1===t.type&&oa.getActiveElement(e.ownerDocument)===e&&this._history.push(e),r}}class ci{static _overrideAttachShadow(e){const t=e.Element.prototype.attachShadow;t.__origAttachShadow||(Element.prototype.attachShadow=function(e){const r=t.call(this,e);for(const e of ci._shadowObservers)e._addSubObserver(r);return r},Element.prototype.attachShadow.__origAttachShadow=t)}constructor(e){this._isObserving=!1,this._callbackWrapper=(e,t)=>{for(const t of e)if("childList"===t.type){const e=t.removedNodes,r=t.addedNodes;for(let t=0;t<e.length;t++)this._walkShadows(e[t],!0);for(let e=0;e<r.length;e++)this._walkShadows(r[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&&function(e,t){var r,o;if(!e||!t)return!1;let n=t;for(;n;){if(n===e)return!0;n="function"!=typeof n.assignedElements&&(null===(r=n.assignedSlot)||void 0===r?void 0:r.parentNode)?null===(o=n.assignedSlot)||void 0===o?void 0:o.parentNode:n.nodeType===document.DOCUMENT_FRAGMENT_NODE?n.host:n.parentNode}return!1}(this._root,e)){const 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,ci._shadowObservers.delete(this);for(const e of this._subObservers.values())e.disconnect();this._subObservers.clear(),this._observer.disconnect()}observe(e,t){const r=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument,o=null==r?void 0:r.defaultView;r&&o&&(ci._overrideAttachShadow(o),ci._shadowObservers.add(this),this._root=e,this._options=t,this._isObserving=!0,this._observer.observe(e,t),this._walkShadows(e))}_walkShadows(e,t){const r=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument;if(!r)return;if(e===r)e=r.body;else{const t=e.shadowRoot;if(t)return void this._addSubObserver(t)}const o=r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{if(e.nodeType===Node.ELEMENT_NODE)if(t){const t=this._subObservers.get(e);t&&(t.disconnect(),this._subObservers.delete(e))}else{const t=e.shadowRoot;t&&this._addSubObserver(t)}return NodeFilter.FILTER_SKIP}});o.nextNode()}takeRecords(){const e=this._observer.takeRecords();for(const t of this._subObservers.values())e.push(...t.takeRecords());return e}}ci._shadowObservers=new Set;class di{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}}class ui{constructor(e,t){var r,o;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.7.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=function(e){const t=e.__tabsterInstanceContext;return new((null==t?void 0:t.basics.WeakMap)||WeakMap)}(e),this._win=e;const n=this.getWindow;(null==t?void 0:t.DOMAPI)&&function(e){for(const t of Object.keys(e))oa[t]=e[t]}({...t.DOMAPI}),this.keyboardNavigation=new $a(n),this.focusedElement=new Za(this,n),this.focusable=new Ia(this),this.root=new Ea(this,null==t?void 0:t.autoRoot),this.uncontrolled=new ai((null==t?void 0:t.checkUncontrolledCompletely)||(null==t?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=null===(r=null==t?void 0:t.controlTab)||void 0===r||r,this.rootDummyInputs=!!(null==t?void 0:t.rootDummyInputs),this._dummyObserver=new za(n),this.getParent=null!==(o=null==t?void 0:t.getParent)&&void 0!==o?o:oa.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:e=>{if(!this._unobserve){const t=n().document;this._unobserve=function(e,t,r,o){if("undefined"==typeof MutationObserver)return()=>{};const n=t.getWindow;let a;function i(t,r){a||(a=la(n).elementByUId),l(t,r);const o=fa(e,t,e=>l(e,r));if(o)for(;o.nextNode(););}function l(e,o){var i;if(!e.getAttribute)return NodeFilter.FILTER_SKIP;const l=e.__tabsterElementUID;return l&&a&&(o?delete a[l]:null!==(i=a[l])&&void 0!==i||(a[l]=new ca(n,e))),(On(t,e)||e.hasAttribute(qn))&&r(t,e,o),NodeFilter.FILTER_SKIP}const s=oa.createMutationObserver(e=>{var o,n,a,l,s;const c=new Set;for(const s of e){const e=s.target,d=s.removedNodes,u=s.addedNodes;if("attributes"===s.type)s.attributeName===qn&&(c.has(e)||r(t,e));else{for(let r=0;r<d.length;r++){const a=d[r];c.add(a),i(a,!0),null===(n=(o=t._dummyObserver).domChanged)||void 0===n||n.call(o,e)}for(let r=0;r<u.length;r++)i(u[r]),null===(l=(a=t._dummyObserver).domChanged)||void 0===l||l.call(a,e)}}c.clear(),null===(s=t.modalizer)||void 0===s||s.hiddenUpdate()});return o&&i(n().document.body),s.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[qn]}),()=>{s.disconnect()}}(t,this,An,e)}}},ua(n),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(e){var t;e&&(this.getParent=null!==(t=e.getParent)&&void 0!==t?t:this.getParent)}createTabster(e,t){const r=new di(this);return e||this._wrappers.add(r),this._mergeProps(t),r}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),0===this._wrappers.size&&this.dispose()}dispose(){var e,t,r,o,n,a,i,l;this.internal.stopObserver();const s=this._win;null==s||s.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],s&&this._forgetMemorizedTimer&&(s.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),null===(e=this.outline)||void 0===e||e.dispose(),null===(t=this.crossOrigin)||void 0===t||t.dispose(),null===(r=this.deloser)||void 0===r||r.dispose(),null===(o=this.groupper)||void 0===o||o.dispose(),null===(n=this.mover)||void 0===n||n.dispose(),null===(a=this.modalizer)||void 0===a||a.dispose(),null===(i=this.observedElement)||void 0===i||i.dispose(),null===(l=this.restorer)||void 0===l||l.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),function(e){const t=la(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}(this.getWindow),ba(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),s&&(function(e){const 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)}(s),delete s.__tabsterInstance,delete this._win)}storageEntry(e,t){const r=this._storage;let o=r.get(e);return o?!1===t&&0===Object.keys(o).length&&r.delete(e):!0===t&&(o={},r.set(e,o)),o}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())ba(this.getWindow,e),Za.forgetMemorized(this.focusedElement,e)},0),da(this.getWindow,!0)))}queueInit(e){var t;this._win&&(this._initQueue.push(e),this._initTimer||(this._initTimer=null===(t=this._win)||void 0===t?void 0:t.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const e=this._initQueue;this._initQueue=[],e.forEach(e=>e())}}function fi(e){const t=e.core;return t.groupper||(t.groupper=new Xa(t,t.getWindow)),t.groupper}function pi(e){const t=e.core;return t.mover||(t.mover=new ni(t,t.getWindow)),t.mover}function hi(e,t,r){const o=e.core;return o.modalizer||(o.modalizer=new ei(o,t,r)),o.modalizer}function gi(e){const t=e.core;return t.restorer||(t.restorer=new si(t)),t.restorer}function vi(e,t){e.core.disposeTabster(e,t)}const mi=e=>e;function bi(e){const t=(null==e?void 0:e.defaultView)||void 0,r=null==t?void 0:t.__tabsterShadowDOMAPI;if(t)return function(e,t){let r=function(e){return e.__tabsterInstance}(e);return r?r.createTabster(!1,t):(r=new ui(e,t),e.__tabsterInstance=r,r.createTabster())}(t,{autoRoot:{},controlTab:!1,getParent:cn,checkUncontrolledCompletely:e=>{var t;return!0===(null===(t=e.firstElementChild)||void 0===t?void 0:t.hasAttribute("data-is-focus-trap-zone-bumper"))||void 0},DOMAPI:r})}function Ci(e=mi){const{targetDocument:t}=ro(),r=u.useRef(null);return jo(()=>{const o=bi(t);if(o)return r.current=e(o),()=>{vi(o),r.current=null}},[t,e]),r}const yi=e=>{Ci();const t=qa(e,!0);return u.useMemo(()=>({[qn]:t}),[t])},xi=(e={})=>{const{circular:t,axis:r,memorizeCurrent:o=!0,tabbable:n,ignoreDefaultKeydown:a,unstable_hasDefault:i}=e;return Ci(pi),yi({mover:{cyclic:!!t,direction:wi(null!=r?r:"vertical"),memorizeCurrent:o,tabbable:n,hasDefault:i},...a&&{focusable:{ignoreKeydown:a}}})};function wi(e){switch(e){case"horizontal":return 2;case"grid":return 3;case"grid-linear":return 4;case"both":return 0;default:return 1}}const ki=e=>(Ci(fi),yi({groupper:{tabbability:Bi(null==e?void 0:e.tabBehavior)},focusable:{ignoreKeydown:null==e?void 0:e.ignoreDefaultKeydown}})),Bi=e=>{switch(e){case"unlimited":return 0;case"limited":return 1;case"limited-trap-focus":return 2;default:return}},zi=()=>{const e=Ci(),{targetDocument:t}=ro();return{findAllFocusable:u.useCallback((t,r)=>{var o;return t&&(null===(o=e.current)||void 0===o?void 0:o.focusable.findAll({container:t,acceptCondition:r}))||[]},[e]),findFirstFocusable:u.useCallback(t=>{var r;return t&&(null===(r=e.current)||void 0===r?void 0:r.focusable.findFirst({container:t}))},[e]),findLastFocusable:u.useCallback(t=>{var r;return t&&(null===(r=e.current)||void 0===r?void 0:r.focusable.findLast({container:t}))},[e]),findNextFocusable:u.useCallback((r,o={})=>{if(!e.current||!t||!r)return null;const{container:n=t.body}=o;return e.current.focusable.findNext({currentElement:r,container:n})},[e,t]),findPrevFocusable:u.useCallback((r,o={})=>{if(!e.current||!t||!r)return null;const{container:n=t.body}=o;return e.current.focusable.findPrev({currentElement:r,container:n})},[e,t])}},ji="data-fui-focus-visible",Si="data-fui-focus-within";function Ni(e,t){if(_i(e))return()=>{};const r={current:void 0},o=_n(t);function n(e){o.isNavigatingWithKeyboard()&&Go(e)&&(r.current=e,e.setAttribute(ji,""))}function a(){r.current&&(r.current.removeAttribute(ji),r.current=void 0)}o.subscribe(e=>{e?n(t.document.activeElement):a()});const i=e=>{a(),n(e.composedPath()[0])},l=t=>{(!t.relatedTarget||Go(t.relatedTarget)&&!e.contains(t.relatedTarget))&&a()};return e.addEventListener(wn,i),e.addEventListener("focusout",l),e.focusVisible=!0,e.contains(t.document.activeElement)&&n(t.document.activeElement),()=>{a(),e.removeEventListener(wn,i),e.removeEventListener("focusout",l),e.focusVisible=void 0,Tn(o)}}function _i(e){return!!e&&(!!e.focusVisible||_i(null==e?void 0:e.parentElement))}function Ti(e={}){const t=ro(),r=u.useRef(null);var o;const n=null!==(o=e.targetDocument)&&void 0!==o?o:t.targetDocument;return u.useEffect(()=>{if((null==n?void 0:n.defaultView)&&r.current)return Ni(r.current,n.defaultView)},[r,n]),r}function qi(e){e.removeAttribute(Si)}function Fi(e){return!!e&&Boolean(e&&"object"==typeof e&&"classList"in e&&"contains"in e)}function Di(){const{targetDocument:e}=ro(),t=u.useRef(null);return u.useEffect(()=>{if((null==e?void 0:e.defaultView)&&t.current)return function(e,t){const r=_n(t);r.subscribe(t=>{t||qi(e)});const o=t=>{r.isNavigatingWithKeyboard()&&Fi(t.target)&&e.setAttribute(Si,"")},n=t=>{(!t.relatedTarget||Fi(t.relatedTarget)&&!e.contains(t.relatedTarget))&&qi(e)};return e.addEventListener(wn,o),e.addEventListener("focusout",n),()=>{e.removeEventListener(wn,o),e.removeEventListener("focusout",n),Tn(r)}}(t.current,e.defaultView)},[t,e]),t}function Ei(){const{targetDocument:e}=ro(),t=u.useRef(null);return u.useEffect(()=>{const r=null==e?void 0:e.defaultView;if(r){const e=_n(r);return t.current=e,()=>{Tn(e),t.current=null}}},[e]),t}function Pi(e){const t=Ei(),r=So(e);u.useEffect(()=>{const e=t.current;if(e){const t=e=>{r(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}},[t,r])}const Ii="data-tabster-never-hide",Oi=e=>e.hasAttribute(Ii);function Ai(e){hi(e,void 0,Oi),gi(e)}const Ri=(e={})=>{const{trapFocus:t,alwaysFocusable:r,legacyTrapFocus:o}=e;Ci(Ai);const n=qo("modal-",e.id);return{modalAttributes:yi({restorer:{type:0},...t&&{modalizer:{id:n,isOthersAccessible:!t,isAlwaysAccessible:r,isTrapped:o&&t}}}),triggerAttributes:yi({restorer:{type:1}})}},Mi=(...e)=>{const t=e.reduce((e,t)=>((null==t?void 0:t[qn])&&e.push(t[qn]),e),[]);return u.useMemo(()=>({[qn]:t.length>0?t.reduce(Hi):void 0}),t)},Hi=(e,t)=>JSON.stringify(Object.assign(Li(e),Li(t))),Li=e=>{try{return JSON.parse(e)}catch{return{}}};function Vi(){const e=Ei();return u.useCallback(()=>{var t,r;return null!==(r=null===(t=e.current)||void 0===t?void 0:t.isNavigatingWithKeyboard())&&void 0!==r&&r},[e])}const Wi="#0a0a0a",Zi="#141414",Ui="#1a1a1a",Gi="#1f1f1f",Xi="#242424",$i="#292929",Ki="#2e2e2e",Yi="#333333",Ji="#383838",Qi="#3d3d3d",el="#424242",tl="#525252",rl="#575757",ol="#5c5c5c",nl="#616161",al="#666666",il="#6b6b6b",ll="#707070",sl="#757575",cl="#999999",dl="#adadad",ul="#b3b3b3",fl="#bdbdbd",pl="#d6d6d6",hl="#e0e0e0",gl="#e6e6e6",vl="#ebebeb",ml="#f0f0f0",bl="#f5f5f5",Cl="#fafafa",yl="rgba(255, 255, 255, 0.05)",xl="rgba(255, 255, 255, 0.1)",wl="rgba(255, 255, 255, 0.2)",kl="rgba(255, 255, 255, 0.4)",Bl="rgba(255, 255, 255, 0.5)",zl="rgba(255, 255, 255, 0.6)",jl="rgba(0, 0, 0, 0.05)",Sl="rgba(0, 0, 0, 0.1)",Nl="rgba(0, 0, 0, 0.2)",_l="rgba(0, 0, 0, 0.3)",Tl="rgba(0, 0, 0, 0.5)",ql="rgba(26, 26, 26, 0.5)",Fl="rgba(31, 31, 31, 0.7)",Dl="rgba(36, 36, 36, 0.5)",El="rgba(36, 36, 36, 0.8)",Pl="#ffffff",Il="#000000",Ol="#1aebff",Al="#000000",Rl="#ffffff",Ml={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},Hl={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},Ll={red:{shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},green:Hl,darkOrange:{shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},yellow:{shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},berry:{shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},lightGreen:{shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},marigold:{shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"}},Vl={darkRed:{shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},cranberry:Ml,pumpkin:{shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},peach:{shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},gold:{shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},brass:{shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},brown:{shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},forest:{shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},seafoam:{shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},darkGreen:{shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},lightTeal:{shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},teal:{shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},steel:{shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},blue:{shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},royalBlue:{shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},cornflower:{shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},navy:{shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},lavender:{shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},purple:{shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},grape:{shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},lilac:{shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},pink:{shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},magenta:{shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},plum:{shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},beige:{shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},mink:{shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},platinum:{shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},anchor:{shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"}},Wl={cranberry:Ml,green:Hl,orange:{shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"}},Zl=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Ul=["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"],Gl={success:"green",warning:"orange",danger:"cranberry"},Xl=Zl.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background1`]:Ll[t].tint60,[`colorPalette${r}Background2`]:Ll[t].tint40,[`colorPalette${r}Background3`]:Ll[t].primary,[`colorPalette${r}Foreground1`]:Ll[t].shade10,[`colorPalette${r}Foreground2`]:Ll[t].shade30,[`colorPalette${r}Foreground3`]:Ll[t].primary,[`colorPalette${r}BorderActive`]:Ll[t].primary,[`colorPalette${r}Border1`]:Ll[t].tint40,[`colorPalette${r}Border2`]:Ll[t].primary};return Object.assign(e,o)},{});Xl.colorPaletteYellowForeground1=Ll.yellow.shade30,Xl.colorPaletteRedForegroundInverted=Ll.red.tint20,Xl.colorPaletteGreenForegroundInverted=Ll.green.tint20,Xl.colorPaletteYellowForegroundInverted=Ll.yellow.tint40;const $l=Ul.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background2`]:Vl[t].tint40,[`colorPalette${r}Foreground2`]:Vl[t].shade30,[`colorPalette${r}BorderActive`]:Vl[t].primary};return Object.assign(e,o)},{}),Kl={...Xl,...$l},Yl=Object.entries(Gl).reduce((e,[t,r])=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorStatus${o}Background1`]:Wl[r].tint60,[`colorStatus${o}Background2`]:Wl[r].tint40,[`colorStatus${o}Background3`]:Wl[r].primary,[`colorStatus${o}Foreground1`]:Wl[r].shade10,[`colorStatus${o}Foreground2`]:Wl[r].shade30,[`colorStatus${o}Foreground3`]:Wl[r].primary,[`colorStatus${o}ForegroundInverted`]:Wl[r].tint30,[`colorStatus${o}BorderActive`]:Wl[r].primary,[`colorStatus${o}Border1`]:Wl[r].tint40,[`colorStatus${o}Border2`]:Wl[r].primary};return Object.assign(e,n)},{});Yl.colorStatusDangerBackground3Hover=Wl[Gl.danger].shade10,Yl.colorStatusDangerBackground3Pressed=Wl[Gl.danger].shade20,Yl.colorStatusWarningForeground1=Wl[Gl.warning].shade20,Yl.colorStatusWarningForeground3=Wl[Gl.warning].shade20,Yl.colorStatusWarningBorder2=Wl[Gl.warning].shade20;const Jl={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Ql={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)"},es={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},ts={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},rs={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},os={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},ns={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"},as="10px",is="12px",ls="16px",ss="20px",cs="24px",ds="32px",us={spacingHorizontalNone:"0",spacingHorizontalXXS:"2px",spacingHorizontalXS:"4px",spacingHorizontalSNudge:"6px",spacingHorizontalS:"8px",spacingHorizontalMNudge:as,spacingHorizontalM:is,spacingHorizontalL:ls,spacingHorizontalXL:ss,spacingHorizontalXXL:cs,spacingHorizontalXXXL:ds},fs={spacingVerticalNone:"0",spacingVerticalXXS:"2px",spacingVerticalXS:"4px",spacingVerticalSNudge:"6px",spacingVerticalS:"8px",spacingVerticalMNudge:as,spacingVerticalM:is,spacingVerticalL:ls,spacingVerticalXL:ss,spacingVerticalXXL:cs,spacingVerticalXXXL:ds},ps={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},hs="var(--colorNeutralForeground2)",gs="var(--colorBrandForeground1)",vs="var(--colorTransparentBackground)",ms="var(--colorBrandBackground)",bs="var(--colorNeutralStroke2)",Cs="var(--colorTransparentStroke)",ys="var(--colorNeutralShadowKeyLighter)",xs="var(--colorNeutralShadowKeyDarker)",ws="var(--colorPaletteRedBackground2)",ks="var(--borderRadiusSmall)",Bs="var(--borderRadiusMedium)",zs="var(--borderRadiusLarge)",js="var(--borderRadiusXLarge)",Ss="var(--fontSizeBase100)",Ns="var(--fontSizeBase200)",_s="var(--fontSizeBase300)",Ts="var(--fontSizeBase400)",qs="var(--fontSizeBase500)",Fs="var(--fontSizeBase600)",Ds="var(--lineHeightBase500)",Es="var(--lineHeightBase600)",Ps="var(--lineHeightHero700)",Is="var(--lineHeightHero800)",Os="var(--shadow64)",As="var(--spacingHorizontalXS)",Rs="var(--spacingHorizontalM)",Ms="var(--spacingHorizontalL)",Hs="var(--spacingHorizontalXL)",Ls="var(--spacingVerticalXXS)",Vs="var(--spacingVerticalSNudge)",Ws="var(--spacingVerticalM)";function Zs(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const Us=e=>{const t=(e=>({colorNeutralForeground1:Xi,colorNeutralForeground1Hover:Xi,colorNeutralForeground1Pressed:Xi,colorNeutralForeground1Selected:Xi,colorNeutralForeground2:el,colorNeutralForeground2Hover:Xi,colorNeutralForeground2Pressed:Xi,colorNeutralForeground2Selected:Xi,colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:nl,colorNeutralForeground3Hover:el,colorNeutralForeground3Pressed:el,colorNeutralForeground3Selected:el,colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:ll,colorNeutralForeground5:nl,colorNeutralForeground5Hover:Xi,colorNeutralForeground5Pressed:Xi,colorNeutralForeground5Selected:Xi,colorNeutralForegroundDisabled:fl,colorNeutralForegroundInvertedDisabled:kl,colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:el,colorNeutralForeground2LinkHover:Xi,colorNeutralForeground2LinkPressed:Xi,colorNeutralForeground2LinkSelected:Xi,colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:Xi,colorNeutralForegroundStaticInverted:Pl,colorNeutralForegroundInverted:Pl,colorNeutralForegroundInvertedHover:Pl,colorNeutralForegroundInvertedPressed:Pl,colorNeutralForegroundInvertedSelected:Pl,colorNeutralForegroundInverted2:Pl,colorNeutralForegroundOnBrand:Pl,colorNeutralForegroundInvertedLink:Pl,colorNeutralForegroundInvertedLinkHover:Pl,colorNeutralForegroundInvertedLinkPressed:Pl,colorNeutralForegroundInvertedLinkSelected:Pl,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Pl,colorNeutralBackground1Hover:bl,colorNeutralBackground1Pressed:hl,colorNeutralBackground1Selected:vl,colorNeutralBackground2:Cl,colorNeutralBackground2Hover:ml,colorNeutralBackground2Pressed:"#dbdbdb",colorNeutralBackground2Selected:gl,colorNeutralBackground3:bl,colorNeutralBackground3Hover:vl,colorNeutralBackground3Pressed:pl,colorNeutralBackground3Selected:hl,colorNeutralBackground4:ml,colorNeutralBackground4Hover:Cl,colorNeutralBackground4Pressed:bl,colorNeutralBackground4Selected:Pl,colorNeutralBackground5:vl,colorNeutralBackground5Hover:bl,colorNeutralBackground5Pressed:ml,colorNeutralBackground5Selected:Cl,colorNeutralBackground6:gl,colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:vl,colorNeutralBackground7Pressed:pl,colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:"#fcfcfc",colorNeutralBackgroundInverted:$i,colorNeutralBackgroundInvertedHover:Qi,colorNeutralBackgroundInvertedPressed:Gi,colorNeutralBackgroundInvertedSelected:Ji,colorNeutralBackgroundStatic:Yi,colorNeutralBackgroundAlpha:Bl,colorNeutralBackgroundAlpha2:"rgba(255, 255, 255, 0.8)",colorSubtleBackground:"transparent",colorSubtleBackgroundHover:bl,colorSubtleBackgroundPressed:hl,colorSubtleBackgroundSelected:vl,colorSubtleBackgroundLightAlphaHover:"rgba(255, 255, 255, 0.7)",colorSubtleBackgroundLightAlphaPressed:Bl,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Sl,colorSubtleBackgroundInvertedPressed:_l,colorSubtleBackgroundInvertedSelected:Nl,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:ml,colorNeutralBackgroundDisabled2:Pl,colorNeutralBackgroundInvertedDisabled:xl,colorNeutralStencil1:gl,colorNeutralStencil2:Cl,colorNeutralStencil1Alpha:Sl,colorNeutralStencil2Alpha:jl,colorBackgroundOverlay:"rgba(0, 0, 0, 0.4)",colorScrollbarOverlay:Tl,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:Pl,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:Cl,colorNeutralCardBackgroundHover:Pl,colorNeutralCardBackgroundPressed:bl,colorNeutralCardBackgroundSelected:vl,colorNeutralCardBackgroundDisabled:ml,colorNeutralStrokeAccessible:nl,colorNeutralStrokeAccessibleHover:rl,colorNeutralStrokeAccessiblePressed:"#4d4d4d",colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:"#d1d1d1",colorNeutralStroke1Hover:"#c7c7c7",colorNeutralStroke1Pressed:ul,colorNeutralStroke1Selected:fl,colorNeutralStroke2:hl,colorNeutralStroke3:ml,colorNeutralStroke4:vl,colorNeutralStroke4Hover:hl,colorNeutralStroke4Pressed:pl,colorNeutralStroke4Selected:vl,colorNeutralStrokeSubtle:hl,colorNeutralStrokeOnBrand:Pl,colorNeutralStrokeOnBrand2:Pl,colorNeutralStrokeOnBrand2Hover:Pl,colorNeutralStrokeOnBrand2Pressed:Pl,colorNeutralStrokeOnBrand2Selected:Pl,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:hl,colorNeutralStrokeDisabled2:vl,colorNeutralStrokeInvertedDisabled:kl,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:jl,colorNeutralStrokeAlpha2:wl,colorStrokeFocus1:Pl,colorStrokeFocus2:Il,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)"}))(e);return{...Jl,...ts,...rs,...ns,...os,...ps,...us,...fs,...es,...Ql,...t,...Kl,...Yl,...Zs(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Zs(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},Gs={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"},Xs={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"},$s={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"},Ks=(Us(Xs),Us($s),Zl.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background1`]:Ll[t].shade40,[`colorPalette${r}Background2`]:Ll[t].shade30,[`colorPalette${r}Background3`]:Ll[t].primary,[`colorPalette${r}Foreground1`]:Ll[t].tint30,[`colorPalette${r}Foreground2`]:Ll[t].tint40,[`colorPalette${r}Foreground3`]:Ll[t].tint20,[`colorPalette${r}BorderActive`]:Ll[t].tint30,[`colorPalette${r}Border1`]:Ll[t].primary,[`colorPalette${r}Border2`]:Ll[t].tint20};return Object.assign(e,o)},{}));Ks.colorPaletteRedForeground3=Ll.red.tint30,Ks.colorPaletteRedBorder2=Ll.red.tint30,Ks.colorPaletteGreenForeground3=Ll.green.tint40,Ks.colorPaletteGreenBorder2=Ll.green.tint40,Ks.colorPaletteDarkOrangeForeground3=Ll.darkOrange.tint30,Ks.colorPaletteDarkOrangeBorder2=Ll.darkOrange.tint30,Ks.colorPaletteRedForegroundInverted=Ll.red.primary,Ks.colorPaletteGreenForegroundInverted=Ll.green.primary,Ks.colorPaletteYellowForegroundInverted=Ll.yellow.shade30;const Ys=Ul.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background2`]:Vl[t].shade30,[`colorPalette${r}Foreground2`]:Vl[t].tint40,[`colorPalette${r}BorderActive`]:Vl[t].tint30};return Object.assign(e,o)},{});Ys.colorPaletteDarkRedBackground2=Vl.darkRed.shade20,Ys.colorPalettePlumBackground2=Vl.plum.shade20;const Js={...Ks,...Ys},Qs=Object.entries(Gl).reduce((e,[t,r])=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorStatus${o}Background1`]:Wl[r].shade40,[`colorStatus${o}Background2`]:Wl[r].shade30,[`colorStatus${o}Background3`]:Wl[r].primary,[`colorStatus${o}Foreground1`]:Wl[r].tint30,[`colorStatus${o}Foreground2`]:Wl[r].tint40,[`colorStatus${o}Foreground3`]:Wl[r].tint20,[`colorStatus${o}BorderActive`]:Wl[r].tint30,[`colorStatus${o}ForegroundInverted`]:Wl[r].shade10,[`colorStatus${o}Border1`]:Wl[r].primary,[`colorStatus${o}Border2`]:Wl[r].tint20};return Object.assign(e,n)},{});Qs.colorStatusDangerBackground3Hover=Wl[Gl.danger].shade10,Qs.colorStatusDangerBackground3Pressed=Wl[Gl.danger].shade20,Qs.colorStatusDangerForeground3=Wl[Gl.danger].tint40,Qs.colorStatusDangerBorder2=Wl[Gl.danger].tint30,Qs.colorStatusSuccessForeground3=Wl[Gl.success].tint40,Qs.colorStatusSuccessBorder2=Wl[Gl.success].tint40,Qs.colorStatusWarningForegroundInverted=Wl[Gl.warning].shade20;const ec=e=>{const t=(e=>({colorNeutralForeground1:Pl,colorNeutralForeground1Hover:Pl,colorNeutralForeground1Pressed:Pl,colorNeutralForeground1Selected:Pl,colorNeutralForeground2:pl,colorNeutralForeground2Hover:Pl,colorNeutralForeground2Pressed:Pl,colorNeutralForeground2Selected:Pl,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:dl,colorNeutralForeground3Hover:pl,colorNeutralForeground3Pressed:pl,colorNeutralForeground3Selected:pl,colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:cl,colorNeutralForeground5:dl,colorNeutralForeground5Hover:Pl,colorNeutralForeground5Pressed:Pl,colorNeutralForeground5Selected:Pl,colorNeutralForegroundDisabled:ol,colorNeutralForegroundInvertedDisabled:kl,colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:pl,colorNeutralForeground2LinkHover:Pl,colorNeutralForeground2LinkPressed:Pl,colorNeutralForeground2LinkSelected:Pl,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[120],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:Xi,colorNeutralForegroundStaticInverted:Pl,colorNeutralForegroundInverted:Xi,colorNeutralForegroundInvertedHover:Xi,colorNeutralForegroundInvertedPressed:Xi,colorNeutralForegroundInvertedSelected:Xi,colorNeutralForegroundInverted2:Xi,colorNeutralForegroundOnBrand:Pl,colorNeutralForegroundInvertedLink:Pl,colorNeutralForegroundInvertedLinkHover:Pl,colorNeutralForegroundInvertedLinkPressed:Pl,colorNeutralForegroundInvertedLinkSelected:Pl,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:$i,colorNeutralBackground1Hover:Qi,colorNeutralBackground1Pressed:Gi,colorNeutralBackground1Selected:Ji,colorNeutralBackground2:Xi,colorNeutralBackground2Hover:Ji,colorNeutralBackground2Pressed:Ui,colorNeutralBackground2Selected:Yi,colorNeutralBackground3:Gi,colorNeutralBackground3Hover:Yi,colorNeutralBackground3Pressed:Zi,colorNeutralBackground3Selected:Ki,colorNeutralBackground4:Zi,colorNeutralBackground4Hover:$i,colorNeutralBackground4Pressed:Wi,colorNeutralBackground4Selected:Xi,colorNeutralBackground5:Wi,colorNeutralBackground5Hover:Gi,colorNeutralBackground5Pressed:Il,colorNeutralBackground5Selected:Ui,colorNeutralBackground6:Yi,colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:Ui,colorNeutralBackground7Pressed:Wi,colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:$i,colorNeutralBackgroundInverted:Pl,colorNeutralBackgroundInvertedHover:bl,colorNeutralBackgroundInvertedPressed:hl,colorNeutralBackgroundInvertedSelected:vl,colorNeutralBackgroundStatic:Qi,colorNeutralBackgroundAlpha:ql,colorNeutralBackgroundAlpha2:Fl,colorSubtleBackground:"transparent",colorSubtleBackgroundHover:Ji,colorSubtleBackgroundPressed:Ki,colorSubtleBackgroundSelected:Yi,colorSubtleBackgroundLightAlphaHover:El,colorSubtleBackgroundLightAlphaPressed:Dl,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Sl,colorSubtleBackgroundInvertedPressed:_l,colorSubtleBackgroundInvertedSelected:Nl,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:Zi,colorNeutralBackgroundDisabled2:$i,colorNeutralBackgroundInvertedDisabled:xl,colorNeutralStencil1:rl,colorNeutralStencil2:Yi,colorNeutralStencil1Alpha:xl,colorNeutralStencil2Alpha:yl,colorBackgroundOverlay:Tl,colorScrollbarOverlay:zl,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:Pl,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:Yi,colorNeutralCardBackgroundHover:Qi,colorNeutralCardBackgroundPressed:Ki,colorNeutralCardBackgroundSelected:Ji,colorNeutralCardBackgroundDisabled:Zi,colorNeutralStrokeAccessible:dl,colorNeutralStrokeAccessibleHover:fl,colorNeutralStrokeAccessiblePressed:ul,colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:al,colorNeutralStroke1Hover:sl,colorNeutralStroke1Pressed:il,colorNeutralStroke1Selected:ll,colorNeutralStroke2:tl,colorNeutralStroke3:Qi,colorNeutralStroke4:Qi,colorNeutralStroke4Hover:Ki,colorNeutralStroke4Pressed:Xi,colorNeutralStroke4Selected:Qi,colorNeutralStrokeSubtle:Wi,colorNeutralStrokeOnBrand:$i,colorNeutralStrokeOnBrand2:Pl,colorNeutralStrokeOnBrand2Hover:Pl,colorNeutralStrokeOnBrand2Pressed:Pl,colorNeutralStrokeOnBrand2Selected:Pl,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:el,colorNeutralStrokeDisabled2:Qi,colorNeutralStrokeInvertedDisabled:kl,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:xl,colorNeutralStrokeAlpha2:wl,colorStrokeFocus1:Il,colorStrokeFocus2:Pl,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)"}))(e);return{...Jl,...ts,...rs,...ns,...os,...ps,...us,...fs,...es,...Ql,...t,...Js,...Qs,...Zs(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Zs(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},tc=(ec(Xs),ec($s),Zl.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background1`]:Al,[`colorPalette${r}Background2`]:Al,[`colorPalette${r}Background3`]:Rl,[`colorPalette${r}Foreground1`]:Rl,[`colorPalette${r}Foreground2`]:Rl,[`colorPalette${r}Foreground3`]:Rl,[`colorPalette${r}BorderActive`]:Ol,[`colorPalette${r}Border1`]:Rl,[`colorPalette${r}Border2`]:Rl};return Object.assign(e,o)},{}));tc.colorPaletteRedForegroundInverted=Rl,tc.colorPaletteGreenForegroundInverted=Rl,tc.colorPaletteYellowForegroundInverted=Rl;const rc=Ul.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background2`]:Al,[`colorPalette${r}Foreground2`]:Rl,[`colorPalette${r}BorderActive`]:Ol};return Object.assign(e,o)},{}),oc=Object.entries(Gl).reduce((e,[t,r])=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorStatus${o}Background1`]:Al,[`colorStatus${o}Background2`]:Al,[`colorStatus${o}Background3`]:Rl,[`colorStatus${o}Foreground1`]:Rl,[`colorStatus${o}Foreground2`]:Rl,[`colorStatus${o}Foreground3`]:Rl,[`colorStatus${o}BorderActive`]:Ol,[`colorStatus${o}ForegroundInverted`]:Rl,[`colorStatus${o}Border1`]:Rl,[`colorStatus${o}Border2`]:Rl};return Object.assign(e,n)},{});oc.colorStatusDangerBackground3Hover=Ol,oc.colorStatusDangerBackground3Pressed=Ol,(()=>{const e="rgba(0,0,0,0.30)",t="rgba(0,0,0,0.25)";Zs("rgba(0,0,0,0.24)","rgba(0,0,0,0.28)"),Zs(e,t,"Brand")})(),Us(Gs);const nc=(e=>{const t=(e=>({colorNeutralForeground1:Pl,colorNeutralForeground1Hover:Pl,colorNeutralForeground1Pressed:Pl,colorNeutralForeground1Selected:Pl,colorNeutralForeground2:pl,colorNeutralForeground2Hover:Pl,colorNeutralForeground2Pressed:Pl,colorNeutralForeground2Selected:Pl,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:dl,colorNeutralForeground3Hover:pl,colorNeutralForeground3Pressed:pl,colorNeutralForeground3Selected:pl,colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:cl,colorNeutralForeground5:dl,colorNeutralForeground5Hover:Pl,colorNeutralForeground5Pressed:Pl,colorNeutralForeground5Selected:Pl,colorNeutralForegroundDisabled:ol,colorNeutralForegroundInvertedDisabled:kl,colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:pl,colorNeutralForeground2LinkHover:Pl,colorNeutralForeground2LinkPressed:Pl,colorNeutralForeground2LinkSelected:Pl,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:Xi,colorNeutralForegroundStaticInverted:Pl,colorNeutralForegroundInverted:Xi,colorNeutralForegroundInvertedHover:Xi,colorNeutralForegroundInvertedPressed:Xi,colorNeutralForegroundInvertedSelected:Xi,colorNeutralForegroundInverted2:Xi,colorNeutralForegroundOnBrand:Pl,colorNeutralForegroundInvertedLink:Pl,colorNeutralForegroundInvertedLinkHover:Pl,colorNeutralForegroundInvertedLinkPressed:Pl,colorNeutralForegroundInvertedLinkSelected:Pl,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:$i,colorNeutralBackground1Hover:Qi,colorNeutralBackground1Pressed:Gi,colorNeutralBackground1Selected:Ji,colorNeutralBackground2:Gi,colorNeutralBackground2Hover:Yi,colorNeutralBackground2Pressed:Zi,colorNeutralBackground2Selected:Ki,colorNeutralBackground3:Zi,colorNeutralBackground3Hover:$i,colorNeutralBackground3Pressed:Wi,colorNeutralBackground3Selected:Xi,colorNeutralBackground4:Wi,colorNeutralBackground4Hover:Gi,colorNeutralBackground4Pressed:Il,colorNeutralBackground4Selected:Ui,colorNeutralBackground5:Il,colorNeutralBackground5Hover:Zi,colorNeutralBackground5Pressed:"#050505",colorNeutralBackground5Selected:"#0f0f0f",colorNeutralBackground6:Yi,colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:Ui,colorNeutralBackground7Pressed:Wi,colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:$i,colorNeutralBackgroundInverted:Pl,colorNeutralBackgroundInvertedHover:bl,colorNeutralBackgroundInvertedPressed:hl,colorNeutralBackgroundInvertedSelected:vl,colorNeutralBackgroundStatic:Qi,colorNeutralBackgroundAlpha:ql,colorNeutralBackgroundAlpha2:Fl,colorSubtleBackground:"transparent",colorSubtleBackgroundHover:Ji,colorSubtleBackgroundPressed:Ki,colorSubtleBackgroundSelected:Yi,colorSubtleBackgroundLightAlphaHover:El,colorSubtleBackgroundLightAlphaPressed:Dl,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Sl,colorSubtleBackgroundInvertedPressed:_l,colorSubtleBackgroundInvertedSelected:Nl,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:Zi,colorNeutralBackgroundDisabled2:$i,colorNeutralBackgroundInvertedDisabled:xl,colorNeutralStencil1:rl,colorNeutralStencil2:Yi,colorNeutralStencil1Alpha:xl,colorNeutralStencil2Alpha:yl,colorBackgroundOverlay:Tl,colorScrollbarOverlay:zl,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:Pl,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:Yi,colorNeutralCardBackgroundHover:Qi,colorNeutralCardBackgroundPressed:Ki,colorNeutralCardBackgroundSelected:Ji,colorNeutralCardBackgroundDisabled:Zi,colorNeutralStrokeAccessible:dl,colorNeutralStrokeAccessibleHover:fl,colorNeutralStrokeAccessiblePressed:ul,colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:al,colorNeutralStroke1Hover:sl,colorNeutralStroke1Pressed:il,colorNeutralStroke1Selected:ll,colorNeutralStroke2:tl,colorNeutralStroke3:Qi,colorNeutralStroke4:Qi,colorNeutralStroke4Hover:Ki,colorNeutralStroke4Pressed:Xi,colorNeutralStroke4Selected:Qi,colorNeutralStrokeSubtle:Wi,colorNeutralStrokeOnBrand:$i,colorNeutralStrokeOnBrand2:Pl,colorNeutralStrokeOnBrand2Hover:Pl,colorNeutralStrokeOnBrand2Pressed:Pl,colorNeutralStrokeOnBrand2Selected:Pl,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:el,colorNeutralStrokeDisabled2:Qi,colorNeutralStrokeInvertedDisabled:kl,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:xl,colorNeutralStrokeAlpha2:wl,colorStrokeFocus1:Il,colorStrokeFocus2:Pl,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)"}))(e);return{...Jl,...ts,...rs,...ns,...os,...ps,...us,...fs,...es,...Ql,...t,...Js,...Qs,...Zs(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Zs(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}})(Gs);["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]"].join(", ");const ac="fui-FluentProvider",ic=lr({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);}"]}),lc=p.useInsertionEffect?p.useInsertionEffect:jo,sc=e=>{const{targetDocument:t,theme:r,rendererAttributes:o}=e,n=u.useRef(void 0),a=qo(ac),i=o,l=u.useMemo(()=>function(e,t){if(t)return`${e} { ${r=Object.keys(t).reduce((e,r)=>`${e}--${r}: ${t[r]}; `,""),r.replace(/[<>]/g,e=>br[e])} }`;var r;return`${e} {}`}(`.${a}`,r),[r,a]);return function(e,t){u.useState(()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)})}(t,a),lc(()=>{const e=null==t?void 0:t.getElementById(a);return e?n.current=e:(n.current=((e,t)=>{if(!(null==e?void 0:e.head))return;const r=e.createElement("style");return Object.keys(t).forEach(e=>{r.setAttribute(e,t[e])}),e.head.appendChild(r),r})(t,{...i,id:a}),n.current&&((e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))})(n.current,l)),()=>{var e;null===(e=n.current)||void 0===e||e.remove()}},[a,t,l,i]),{styleTagId:a,rule:l}},cc={},dc={};function uc(e,t){return e&&t?{...e,...t}:e||t}const fc=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=ro(),o=u.useContext(Ur),n=ao(),a=u.useContext(io)||cc,{applyStylesToPortals:i=!0,customStyleHooks_unstable:l,dir:s=r.dir,targetDocument:c=r.targetDocument,theme:d,overrides_unstable:f={}}=e,p=uc(o,d),h=uc(n,f),g=uc(a,l),v=ur();var m;const{styleTagId:b,rule:C}=sc({theme:p,targetDocument:c,rendererAttributes:null!==(m=v.styleElementAttributes)&&void 0!==m?m:dc});return{applyStylesToPortals:i,customStyleHooks_unstable:g,dir:s,targetDocument:c,theme:p,overrides_unstable:h,themeClassName:b,components:{root:"div"},root:wr(Wr("div",{...e,dir:s,ref:Fo(t,Ti({targetDocument:c}))}),{elementType:"div"}),serverStyleProps:{cssRule:C,attributes:{...v.styleElementAttributes,id:b}}}})(e,t);(e=>{const t=ur(),r=ic({dir:e.dir,renderer:t});e.root.className=te(ac,e.themeClassName,r.root,e.root.className)})(r);const o=function(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:o,root:n,targetDocument:a,theme:i,themeClassName:l,overrides_unstable:s}=e,c=u.useMemo(()=>({dir:o,targetDocument:a}),[o,a]),[d]=u.useState(()=>({})),f=u.useMemo(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:r,overrides_unstable:s,provider:c,textDirection:o,iconDirection:f,tooltip:d,theme:i,themeClassName:t?n.className:l}}(r);return((e,t)=>gn(to,{value:t.provider,children:gn(Gr,{value:t.theme,children:gn($r,{value:t.themeClassName,children:gn(so,{value:t.customStyleHooks_unstable,children:gn(Jr,{value:t.tooltip,children:gn(pr,{dir:t.textDirection,children:gn(Cn,{value:t.iconDirection,children:gn(no,{value:t.overrides_unstable,children:vn(e.root,{children:[wo()?null:gn("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}))(r,o)});fc.displayName="FluentProvider";var pc=C();const hc=e=>{const t=u.createContext({value:{current:e},version:{current:-1},listeners:[]});return t.Provider=(r=t.Provider,e=>{const t=u.useRef(e.value),o=u.useRef(0),n=u.useRef(null);return n.current||(n.current={value:t,version:o,listeners:[]}),jo(()=>{t.current=e.value,o.current+=1,pc.unstable_runWithPriority(pc.unstable_NormalPriority,()=>{n.current.listeners.forEach(t=>{t([o.current,e.value])})})},[e.value]),u.createElement(r,{value:n.current},e.children)}),delete t.Consumer,t;var r},gc=(e,t)=>{const r=u.useContext(e),{value:{current:o},version:{current:n},listeners:a}=r,i=t(o),[l,s]=u.useState([o,i]),c=e=>{s(r=>{if(!e)return[o,i];if(e[0]<=n)return Object.is(r[1],i)?r:[o,i];try{if(Object.is(r[0],e[1]))return r;const o=t(e[1]);return Object.is(r[1],o)?r:[e[1],o]}catch(e){}return[r[0],r[1]]})};Object.is(l[1],i)||c(void 0);const d=So(c);return jo(()=>(a.push(d),()=>{const e=a.indexOf(d);a.splice(e,1)}),[d,a]),l[1]};function vc(e){const t=u.useContext(e);return!!t.version&&-1!==t.version.current}const mc=hc(void 0),bc={openItems:[],collapsible:!1,multiple:!1,navigation:void 0,requestToggle(){}},{Provider:Cc}=mc,yc=e=>gc(mc,(t=bc)=>e(t)),xc=u.forwardRef((e,t)=>{const r=((e,t)=>{const{navigation:r,...o}=e,n=((e,t)=>{const{openItems:r,defaultOpenItems:o,multiple:n=!1,collapsible:a=!1,onToggle:i,...l}=e,[s,c]=yo({state:u.useMemo(()=>function(e){if(void 0!==e)return Array.isArray(e)?e:[e]}(r),[r]),defaultState:o&&(()=>function({defaultOpenItems:e,multiple:t}){return void 0!==e?Array.isArray(e)?t?e:[e[0]]:[e]:[]}({defaultOpenItems:o,multiple:n})),initialState:[]}),d=So(e=>{const t=function(e,t,r,o){return r?t.includes(e)?t.length>1||o?t.filter(t=>t!==e):t:[...t,e].sort():t[0]===e&&o?[]:[e]}(e.value,s,n,a);null==i||i(e.event,{value:e.value,openItems:t}),c(t)});return{collapsible:a,multiple:n,openItems:s,requestToggle:d,components:{root:"div"},root:wr({ref:t,...l},{elementType:"div"})}})(o,t),a=xi({circular:"circular"===r,tabbable:!0});return{navigation:r,...n,root:{...n.root,...r?a:void 0}}})(e,t),o=function(e){const{navigation:t,openItems:r,requestToggle:o,multiple:n,collapsible:a}=e;return{accordion:{navigation:t,openItems:r,requestToggle:o,collapsible:a,multiple:n}}}(r);return(e=>{e.root.className=te("fui-Accordion",e.root.className)})(r),co("useAccordionStyles_unstable")(r),((e,t)=>gn(e.root,{children:gn(Cc,{value:t.accordion,children:e.root.children})}))(r,o)});xc.displayName="Accordion";const wc=u.createContext(void 0),kc={open:!1,disabled:!1,value:void 0,onHeaderClick(){}},{Provider:Bc}=wc,zc=()=>{var e;return null!==(e=u.useContext(wc))&&void 0!==e?e:kc},jc=u.forwardRef((e,t)=>{const r=((e,t)=>{const{value:r,disabled:o=!1,...n}=e,a=yc(e=>e.requestToggle),i=yc(e=>e.openItems.includes(r)),l=So(e=>a({event:e,value:r}));return{open:i,value:r,disabled:o,onHeaderClick:l,components:{root:"div"},root:wr({disabled:o,ref:t,...n},{elementType:"div"})}})(e,t),o=function(e){const{disabled:t,open:r,value:o,onHeaderClick:n}=e;return{accordionItem:u.useMemo(()=>({disabled:t,open:r,value:o,onHeaderClick:n}),[t,r,o,n])}}(r);return(e=>{e.root.className=te("fui-AccordionItem",e.root.className)})(r),co("useAccordionItemStyles_unstable")(r),((e,t)=>gn(e.root,{children:gn(Bc,{value:t.accordionItem,children:e.root.children})}))(r,o)});jc.displayName="AccordionItem";const Sc="Enter",Nc=" ",_c="Tab",Tc="ArrowDown",qc="ArrowLeft",Fc="ArrowRight",Dc="ArrowUp",Ec="End",Pc="Home",Ic="PageDown",Oc="PageUp",Ac="Backspace",Rc="Delete",Mc="Escape";function Hc(e,t){const{disabled:r,disabledFocusable:o=!1,"aria-disabled":n,onClick:a,onKeyDown:i,onKeyUp:l,...s}=null!=t?t:{},c="string"==typeof n?"true"===n:n,d=r||o||c,u=So(e=>{d?(e.preventDefault(),e.stopPropagation()):null==a||a(e)}),f=So(e=>{if(null==i||i(e),e.isDefaultPrevented())return;const t=e.key;if(d&&(t===Sc||t===Nc))return e.preventDefault(),void e.stopPropagation();t!==Nc?t===Sc&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()}),p=So(e=>{if(null==l||l(e),e.isDefaultPrevented())return;const t=e.key;if(d&&(t===Sc||t===Nc))return e.preventDefault(),void e.stopPropagation();t===Nc&&(e.preventDefault(),e.currentTarget.click())});if("button"===e||void 0===e)return{...s,disabled:r&&!o,"aria-disabled":!!o||c,onClick:o?void 0:u,onKeyUp:o?void 0:l,onKeyDown:o?void 0:i};{const t=!!s.href;let n=t?void 0:"button";!n&&d&&(n="link");const a={role:n,tabIndex:o||!t&&!r?0:void 0,...s,onClick:u,onKeyUp:p,onKeyDown:f,"aria-disabled":d};return"a"===e&&d&&(a.href=void 0),a}}const Lc=()=>{},Vc={controller:{active:Lc,blur:Lc,find:Lc,first:Lc,focus:Lc,focusLastActive:Lc,scrollActiveIntoView:Lc,last:Lc,next:Lc,prev:Lc,showAttributes:Lc,hideAttributes:Lc,showFocusVisibleAttributes:Lc,hideFocusVisibleAttributes:Lc}},Wc=u.createContext(void 0),Zc=Wc.Provider,Uc=()=>{var e;return null!==(e=u.useContext(Wc))&&void 0!==e?e:Vc},Gc="data-activedescendant",Xc="data-activedescendant-focusvisible",$c=e=>{if(!e)return;const t=Kc(e.parentElement);if(!t)return;const{offsetHeight:r}=e,o=Yc(e,t),{scrollMarginTop:n,scrollMarginBottom:a}=Jc(e),{offsetHeight:i,scrollTop:l}=t,s=o+r+a>l+i;o-n<l?t.scrollTo(0,o-n-2):s&&t.scrollTo(0,o+r+a-i+2)},Kc=e=>e?e.scrollHeight>e.offsetHeight?e:Kc(e.parentElement):null,Yc=(e,t)=>e&&e!==t?e.contains(t)?-1*t.offsetTop:e.offsetTop+Yc(e.offsetParent,t):0,Jc=e=>{var t;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!r)return{scrollMarginTop:0,scrollMarginBottom:0};const o=r.getComputedStyle(e);var n,a;return{scrollMarginTop:null!==(n=Qc(o.scrollMarginTop))&&void 0!==n?n:Qc(o.scrollMarginBlockStart),scrollMarginBottom:null!==(a=Qc(o.scrollMarginBottom))&&void 0!==a?a:Qc(o.scrollMarginBlockEnd)}},Qc=e=>e?parseInt(e,10):0;function ed(e){const{imperativeRef:t,matchOption:r}=e,o=u.useRef(!1),n=u.useRef(!0),a=u.useRef(null),i=u.useRef(null),l=u.useRef(null),s=u.useRef(!0),c=u.useCallback(()=>{var e;null===(e=l.current)||void 0===e||e.removeAttribute("aria-activedescendant")},[]),d=u.useCallback(e=>{var t;e&&(a.current=e),s.current&&a.current&&(null===(t=l.current)||void 0===t||t.setAttribute("aria-activedescendant",a.current))},[]);Pi(e=>{o.current=e;const t=v();t&&(e&&n.current?t.setAttribute(Xc,""):t.removeAttribute(Xc))});const f=So(r),p=u.useRef(null),{optionWalker:h,listboxCallbackRef:g}=function(e){const{matchOption:t}=e,{targetDocument:r}=ro(),o=u.useRef(null),n=u.useRef(null),a=u.useCallback(e=>Go(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[t]),i=u.useCallback(e=>{e&&r?(n.current=e,o.current=r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a)):(n.current=null,o.current=null)},[r,a]);return{optionWalker:u.useMemo(()=>({first:()=>o.current&&n.current?(o.current.currentNode=n.current,o.current.firstChild()):null,last:()=>o.current&&n.current?(o.current.currentNode=n.current,o.current.lastChild()):null,next:()=>o.current?o.current.nextNode():null,prev:()=>o.current?o.current.previousNode():null,find:(e,t)=>{if(!o.current||!n.current)return null;const a=t?null==r?void 0:r.getElementById(t):null;o.current.currentNode=null!=a?a:n.current;let i=o.current.currentNode;for(;i&&!e(i.id);)i=o.current.nextNode();return i},setCurrent:e=>{o.current&&(o.current.currentNode=e)}}),[r]),listboxCallbackRef:i}}({matchOption:f}),v=u.useCallback(()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.querySelector(`#${a.current}`)},[p]),m=u.useCallback(e=>{n.current=e;const t=v();t&&(e&&o.current?t.setAttribute(Xc,""):t.removeAttribute(Xc))},[v]),b=u.useCallback(()=>{const e=v();var t;return e&&(e.removeAttribute(Gc),e.removeAttribute(Xc)),c(),i.current=a.current,a.current=null,null!==(t=null==e?void 0:e.id)&&void 0!==t?t:null},[v,c]),C=u.useCallback(e=>{if(!e)return;const t=b();$c(e),d(e.id),e.setAttribute(Gc,""),o.current&&n.current&&e.setAttribute(Xc,"");const r=(a={id:e.id,previousId:t},new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:a}));var a;e.dispatchEvent(r)},[b,d]),y=u.useMemo(()=>({first:({passive:e}={})=>{const t=h.first();return e||C(t),null==t?void 0:t.id},last:({passive:e}={})=>{const t=h.last();return e||C(t),null==t?void 0:t.id},next:({passive:e}={})=>{const t=v();if(!t)return;h.setCurrent(t);const r=h.next();return e||C(r),null==r?void 0:r.id},prev:({passive:e}={})=>{const t=v();if(!t)return;h.setCurrent(t);const r=h.prev();return e||C(r),null==r?void 0:r.id},blur:()=>{b()},active:()=>{var e;return null===(e=v())||void 0===e?void 0:e.id},focus:e=>{if(!p.current)return;const t=p.current.querySelector(`#${e}`);t&&C(t)},focusLastActive:()=>{if(!p.current||!i.current)return;const e=p.current.querySelector(`#${i.current}`);return e?(C(e),!0):void 0},find(e,{passive:t,startFrom:r}={}){const o=h.find(e,r);return t||C(o),null==o?void 0:o.id},scrollActiveIntoView:()=>{if(!p.current)return;const e=v();e&&$c(e)},showAttributes(){s.current=!0,d()},hideAttributes(){s.current=!1,c()},showFocusVisibleAttributes(){m(!0)},hideFocusVisibleAttributes(){m(!1)}}),[h,p,d,c,C,b,v,m]);return u.useImperativeHandle(t,()=>y),{listboxRef:Fo(p,g),activeParentRef:l,controller:y}}const td=vr({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),rd=vr({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),od=(e,t,r,o)=>{const n="1em"===t?"20":t,a=u.forwardRef((e,a)=>{const i=rd(),l=((e,t)=>{const{filled:r,title:o,primaryFill:n="currentColor",...a}=e,i={...a,fill:n},l=td(),s=(()=>{const e=u.useContext(mn);return null!=e?e:bn})();return i.className=te(l.root,(null==t?void 0:t.flipInRtl)&&"rtl"===(null==s?void 0:s.textDirection)&&l.rtl,i.className),o&&(i["aria-label"]=o),i["aria-label"]||i["aria-labelledby"]?i.role="img":i["aria-hidden"]=!0,i})(e,{flipInRtl:null==o?void 0:o.flipInRtl}),s={...l,className:te("fui-Icon",l.className,i.root),ref:a,width:t,height:t,viewBox:`0 0 ${n} ${n}`,xmlns:"http://www.w3.org/2000/svg"};return"string"==typeof r?u.createElement("svg",{...s,dangerouslySetInnerHTML:{__html:r}}):u.createElement("svg",s,...r.map(e=>u.createElement("path",{d:e,fill:s.fill})))});return a.displayName=e,a},nd=od("ProhibitedFilled","1em",["M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0c0-1.52-.53-2.93-1.4-4.04L5.96 15.1A6.5 6.5 0 0 0 16.5 10ZM4.9 14.04l9.14-9.14a6.5 6.5 0 0 0-9.13 9.13Z"]),ad=od("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"]),id=od("MoreHorizontalFilled","1em",["M6.75 10a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0Zm5 0a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM15 11.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5Z"]),ld=od("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),sd=od("CopyRegular","1em",["M8 2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8ZM7 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4ZM4 6a2 2 0 0 1 1-1.73V14.5A2.5 2.5 0 0 0 7.5 17h6.23A2 2 0 0 1 12 18H7.5A3.5 3.5 0 0 1 4 14.5V6Z"]),cd=od("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]),dd=od("StarFilled","1em",["M9.1 2.9a1 1 0 0 1 1.8 0l1.93 3.91 4.31.63a1 1 0 0 1 .56 1.7l-3.12 3.05.73 4.3a1 1 0 0 1-1.45 1.05L10 15.51l-3.86 2.03a1 1 0 0 1-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 0 1 .56-1.7l4.31-.63L9.1 2.9Z"]),ud=od("StarRegular","1em",["M9.1 2.9a1 1 0 0 1 1.8 0l1.93 3.91 4.31.63a1 1 0 0 1 .56 1.7l-3.12 3.05.73 4.3a1 1 0 0 1-1.45 1.05L10 15.51l-3.86 2.03a1 1 0 0 1-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 0 1 .56-1.7l4.31-.63L9.1 2.9Zm.9.44L8.07 7.25a1 1 0 0 1-.75.55L3 8.43l3.12 3.04a1 1 0 0 1 .3.89l-.75 4.3 3.87-2.03a1 1 0 0 1 .93 0l3.86 2.03-.74-4.3a1 1 0 0 1 .29-.89L17 8.43l-4.32-.63a1 1 0 0 1-.75-.55L10 3.35Z"]),fd=od("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]),pd=od("PlayCircleRegular","1em",["M9.13 7.18A.75.75 0 0 0 8 7.83v4.34c0 .57.63.94 1.13.65l4.12-2.39a.5.5 0 0 0 0-.86L9.13 7.18ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14Z"]),hd=od("EyeFilled","1em",["M3.26 11.6A6.97 6.97 0 0 1 10 6c3.2 0 6.06 2.33 6.74 5.6a.5.5 0 0 0 .98-.2A7.97 7.97 0 0 0 10 5a7.97 7.97 0 0 0-7.72 6.4.5.5 0 0 0 .98.2ZM9.99 8a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Z"]),gd=od("EyeOffRegular","1em",["M2.85 2.15a.5.5 0 1 0-.7.7l3.5 3.5a8.1 8.1 0 0 0-3.37 5.05.5.5 0 1 0 .98.2 7.09 7.09 0 0 1 3.1-4.53l1.6 1.59a3.5 3.5 0 1 0 4.88 4.89l4.3 4.3a.5.5 0 0 0 .71-.7l-15-15Zm9.27 10.68a2.5 2.5 0 1 1-3.45-3.45l3.45 3.45Zm-2-4.83 3.38 3.38A3.5 3.5 0 0 0 10.12 8ZM10 6c-.57 0-1.13.07-1.67.21l-.8-.8A7.65 7.65 0 0 1 10 5c3.7 0 6.94 2.67 7.72 6.4a.5.5 0 0 1-.98.2A6.97 6.97 0 0 0 10 6Z"]),vd=od("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),md=od("EditRegular","1em",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]),bd=od("PinFilled","1em",["M13.33 2.62a2 2 0 0 0-3.2.52L8.38 6.6a1.5 1.5 0 0 1-.78.72L4 8.75a1 1 0 0 0-.33 1.64l2.61 2.6L3 16.3v.7h.7L7 13.72l2.61 2.6a1 1 0 0 0 1.64-.33l1.43-3.59c.14-.34.4-.62.72-.78l3.46-1.73a2 2 0 0 0 .52-3.2l-4.05-4.06Z"]),Cd=od("PinRegular","1em",["M10.12 3.14a2 2 0 0 1 3.2-.52l4.06 4.05a2 2 0 0 1-.52 3.2l-3.46 1.74a1.5 1.5 0 0 0-.72.78L11.25 16a1 1 0 0 1-1.64.33L7 13.7 3.7 17H3v-.7L6.3 13l-2.62-2.61a1 1 0 0 1 .34-1.64L7.6 7.32c.34-.14.62-.4.78-.72l1.73-3.46Zm2.5.18a1 1 0 0 0-1.6.26L9.29 7.04a2.5 2.5 0 0 1-1.31 1.2L4.39 9.69l5.93 5.93 1.43-3.59a2.5 2.5 0 0 1 1.2-1.3l3.46-1.74a1 1 0 0 0 .26-1.6l-4.05-4.06Z"]),yd=od("ArrowBidirectionalUpDownFilled","1em",["M6.78 7.78a.75.75 0 0 1-1.06-1.06l3.5-3.5c.3-.3.77-.3 1.06 0l3.5 3.5a.75.75 0 0 1-1.06 1.06L10.5 5.56v8.88l2.22-2.22a.75.75 0 1 1 1.06 1.06l-3.5 3.5c-.3.3-.77.3-1.06 0l-3.5-3.5a.75.75 0 1 1 1.06-1.06L9 14.44V5.56L6.78 7.78Z"]),xd=od("ArrowCircleUpRegular","1em",["m6.65 9.15 3-3c.2-.2.5-.2.7 0l3 3a.5.5 0 0 1-.7.7L10.5 7.71v5.79a.5.5 0 0 1-1 0V7.7L7.35 9.86a.5.5 0 0 1-.7-.7ZM10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-7 8a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]),wd=od("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"]),kd=od("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}),Bd=od("ArrowUploadRegular","1em",["M15 3a.5.5 0 0 0 .09-.99H4a.5.5 0 0 0-.09.98L4 3h11ZM9.5 18a.5.5 0 0 0 .5-.41V5.7l3.64 3.65c.17.18.44.2.64.06l.07-.06a.5.5 0 0 0 .06-.63l-.06-.07-4.5-4.5A.5.5 0 0 0 9.6 4h-.1a.5.5 0 0 0-.4.19L4.64 8.65a.5.5 0 0 0 .64.76l.07-.06L9 5.71V17.5c0 .28.22.5.5.5Z"]),zd=od("PauseCircleRegular","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14ZM8.5 6.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V7c0-.28.22-.5.5-.5Zm3 0c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V7c0-.28.22-.5.5-.5Z"]),jd=od("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"]),Sd=od("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),Nd=od("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"]),_d=od("ChevronLeftFilled","1em",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06Z"]),Td=od("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),qd=od("ChevronRightFilled","1em",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]),Fd=od("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),Dd=od("FilterRegular","1em",["M7.5 13h5a.5.5 0 0 1 .09 1H7.5a.5.5 0 0 1-.09-1h5.09-5Zm-2-4h9a.5.5 0 0 1 .09 1H5.5a.5.5 0 0 1-.09-1h9.09-9Zm-2-4h13a.5.5 0 0 1 .09 1H3.5a.5.5 0 0 1-.09-1H16.5h-13Z"]),Ed=od("DiamondDismissFilled","1em",["M7.88 2.88a3 3 0 0 1 4.24 0l5 5a3 3 0 0 1 0 4.24l-5 5a3 3 0 0 1-4.24 0l-5-5a3 3 0 0 1 0-4.24l5-5Zm-.03 4.27a.5.5 0 1 0-.7.7L9.29 10l-2.14 2.15a.5.5 0 0 0 .7.7L10 10.71l2.15 2.14a.5.5 0 0 0 .7-.7L10.71 10l2.14-2.15a.5.5 0 0 0-.7-.7L10 9.29 7.85 7.15Z"]),Pd=od("DismissFilled","1em",["m3.9 4.05.07-.08a.75.75 0 0 1 .98-.07l.08.07L10 8.94l4.97-4.97a.75.75 0 0 1 .98-.07l.08.07c.27.27.3.68.07.98l-.07.08L11.06 10l4.97 4.97c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L10 11.06l-4.97 4.97a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L8.94 10 3.97 5.03a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]),Id=od("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"]),Od=od("Copy16Regular","16",["M4 4.09v6.41A2.5 2.5 0 0 0 6.34 13h4.57c-.2.58-.76 1-1.41 1H6a3 3 0 0 1-3-3V5.5c0-.65.42-1.2 1-1.41ZM11.5 2c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 5 10.5v-7C5 2.67 5.67 2 6.5 2h5Zm0 1h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Z"]),Ad=od("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]),Rd=od("Info12Filled","12",["M11 6A5 5 0 1 1 1 6a5 5 0 0 1 10 0Zm-5.5.5V8a.5.5 0 0 0 1 0V6.5a.5.5 0 0 0-1 0ZM6 3.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]),Md=od("Info12Regular","12",["M5.5 6.5a.5.5 0 0 1 1 0V8a.5.5 0 0 1-1 0V6.5ZM6 3.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),Hd=od("Info16Filled","16",["M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 5.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm.5 1.25a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0v-3Z"]),Ld=od("Info16Regular","16",["M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),Vd=od("Info20Filled","20",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]),Wd=od("Info20Regular","20",["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91Zm.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0ZM18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]),Zd=od("Navigation20Filled","20",["M2 4.75c0-.41.34-.75.75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 5c0-.41.34-.75.75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 9.75ZM2.75 14a.75.75 0 0 0 0 1.5h14.5a.75.75 0 0 0 0-1.5H2.75Z"]),Ud=od("Lightbulb16Regular","16",["M4.5 6.5A3.5 3.5 0 1 1 10.45 9c-.19.19-.36.43-.44.73L9.66 11H6.34l-.35-1.27c-.08-.3-.25-.54-.44-.73A3.49 3.49 0 0 1 4.5 6.5ZM6.6 12h2.8l-.18.63a.5.5 0 0 1-.48.37H7.26a.5.5 0 0 1-.48-.37L6.61 12ZM8 2a4.5 4.5 0 0 0-3.16 7.7c.1.1.16.2.19.3l.79 2.9c.17.65.77 1.1 1.44 1.1h1.48a1.5 1.5 0 0 0 1.44-1.1l.8-2.9c.02-.1.08-.2.18-.3A4.49 4.49 0 0 0 8 2Z"]),Gd=od("Pin20Regular","20",["M10.12 3.14a2 2 0 0 1 3.2-.52l4.06 4.05a2 2 0 0 1-.52 3.2l-3.46 1.74a1.5 1.5 0 0 0-.72.78L11.25 16a1 1 0 0 1-1.64.33L7 13.7 3.7 17H3v-.7L6.3 13l-2.62-2.61a1 1 0 0 1 .34-1.64L7.6 7.32c.34-.14.62-.4.78-.72l1.73-3.46Zm2.5.18a1 1 0 0 0-1.6.26L9.29 7.04a2.5 2.5 0 0 1-1.31 1.2L4.39 9.69l5.93 5.93 1.43-3.59a2.5 2.5 0 0 1 1.2-1.3l3.46-1.74a1 1 0 0 0 .26-1.6l-4.05-4.06Z"]),Xd=od("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),$d=od("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),Kd=od("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),Yd=od("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),Jd=od("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),Qd=od("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),eu=od("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),tu=od("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),ru=od("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),ou=od("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),nu=od("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),au=od("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),iu=od("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),lu=od("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),su=od("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),cu=od("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),du=od("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),uu=od("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),fu=od("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),pu=od("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),hu=od("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),gu=od("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),vu=od("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),mu=od("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),bu=od("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),Cu=od("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),yu=od("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),xu=od("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),wu=od("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),ku=od("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),Bu=od("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),zu=od("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),ju=od("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),Su=od("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),Nu=od("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),_u=od("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),Tu=od("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),qu=od("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),Fu=od("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),Du=od("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),Eu=od("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"]),Pu=od("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"]),Iu=od("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),Ou=od("ChevronCircleDown16Regular","16",["M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Zm2.65 4.65a.5.5 0 1 1 .7.7l-3 3a.5.5 0 0 1-.7 0l-3-3a.5.5 0 1 1 .7-.7L8 9.29l2.65-2.64Z"]),Au=od("ChevronCircleDown20Regular","20",["M3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Zm7-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM6.85 8.15a.5.5 0 1 0-.7.7l3.5 3.5a.5.5 0 0 0 .7 0l3.5-3.5a.5.5 0 0 0-.7-.7L10 11.29 6.85 8.15Z"]),Ru=od("ChevronCircleRight16Regular","16",["M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM6.65 4.65c.2-.2.5-.2.7 0l3 3c.2.2.2.5 0 .7l-3 3a.5.5 0 1 1-.7-.7L9.29 8 6.65 5.35a.5.5 0 0 1 0-.7Z"]),Mu=od("ChevronCircleRight20Regular","20",["M10 17a7 7 0 1 1 0-14 7 7 0 0 1 0 14Zm-8-7a8 8 0 1 0 16 0 8 8 0 0 0-16 0Zm6.15 3.15a.5.5 0 0 0 .7.7l3.5-3.5a.5.5 0 0 0 0-.7l-3.5-3.5a.5.5 0 1 0-.7.7L11.29 10l-3.14 3.15Z"]),Hu=od("ChevronDown16Regular","16",["M3.15 5.65c.2-.2.5-.2.7 0L8 9.79l4.15-4.14a.5.5 0 0 1 .7.7l-4.5 4.5a.5.5 0 0 1-.7 0l-4.5-4.5a.5.5 0 0 1 0-.7Z"]),Lu=od("ChevronDown20Regular","20",["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"]),Vu=od("ChevronRight12Regular","12",["M4.65 2.15a.5.5 0 0 0 0 .7L7.79 6 4.65 9.15a.5.5 0 1 0 .7.7l3.5-3.5a.5.5 0 0 0 0-.7l-3.5-3.5a.5.5 0 0 0-.7 0Z"]),Wu=od("ChevronUp16Regular","16",["M3.15 10.35c.2.2.5.2.7 0L8 6.21l4.15 4.14a.5.5 0 0 0 .7-.7l-4.5-4.5a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 0 0 0 .7Z"]),Zu=od("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"]),Uu=od("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"]),Gu=od("DiamondDismiss12Filled","12",["M4.58 1.58a2 2 0 0 1 2.83 0l3 3a2 2 0 0 1 0 2.83l-3 3a2 2 0 0 1-2.83 0l-3-3a2 2 0 0 1-.14-2.68l.14-.15 3-3Zm3.27 2.57a.5.5 0 0 0-.7 0L6 5.29 4.85 4.15l-.07-.07a.5.5 0 0 0-.7.7l.07.07L5.29 6 4.15 7.15a.5.5 0 0 0 .7.7L6 6.71l1.15 1.14.07.07a.5.5 0 0 0 .7-.7l-.07-.07L6.71 6l1.14-1.15a.5.5 0 0 0 0-.7Z"]),Xu=od("Dismiss12Regular","12",["m2.09 2.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L6 5.29l3.15-3.14a.5.5 0 1 1 .7.7L6.71 6l3.14 3.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L6 6.71 2.85 9.85a.5.5 0 0 1-.7-.7L5.29 6 2.15 2.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),$u=od("Dismiss20Regular","20",["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"]),Ku=vr({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),Yu=(e,t)=>{const r=r=>{const{className:o,filled:n,...a}=r,i=Ku();return u.createElement(u.Fragment,null,u.createElement(e,Object.assign({},a,{className:te(i.root,n&&i.visible,"fui-Icon-filled",o)})),u.createElement(t,Object.assign({},a,{className:te(i.root,!n&&i.visible,"fui-Icon-regular",o)})))};return r.displayName="CompoundIcon",r},Ju={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},Qu={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)"},ef={...Ju,...Qu},tf={fill:"forwards"},rf={duration:1};function of(){var e;const t="undefined"!=typeof window&&"function"==typeof(null===(e=window.Animation)||void 0===e?void 0:e.prototype.persist);return u.useCallback((e,r,o)=>{const n=Array.isArray(r)?r:[r],{isReducedMotion:a}=o;return i=n.map(r=>{const{keyframes:o,reducedMotion:n=rf,...i}=r,{keyframes:l=o,...s}=n,c=a?l:o,d={...tf,...i,...a&&s};try{const r=e.animate(c,d);if(t)null==r||r.persist();else{const t=c[c.length-1];var u;Object.assign(null!==(u=e.style)&&void 0!==u?u:{},t)}return r}catch(e){return null}}).filter(e=>!!e),{set playbackRate(e){i.forEach(t=>{t.playbackRate=e})},setMotionEndCallbacks(e,t){const r=i.map(e=>new Promise((t,r)=>{e.onfinish=()=>t(),e.oncancel=()=>r()}));Promise.all(r).then(()=>{e()}).catch(()=>{t()})},isRunning:()=>i.some(e=>function(e){if("running"===e.playState){var t,r;if(void 0!==e.overallProgress){var o;const t=null!==(o=e.overallProgress)&&void 0!==o?o:0;return t>0&&t<1}const a=Number(null!==(r=e.currentTime)&&void 0!==r?r:0);var n;const i=Number(null!==(n=null===(t=e.effect)||void 0===t?void 0:t.getTiming().duration)&&void 0!==n?n:0);return a>0&&a<i}return!1}(e)),dispose:()=>{i.length=0},cancel:()=>{i.forEach(e=>{e.cancel()})},pause:()=>{i.forEach(e=>{e.pause()})},play:()=>{i.forEach(e=>{e.play()})},finish:()=>{i.forEach(e=>{e.finish()})},reverse:()=>{i.forEach(e=>{e.reverse()})}};var i},[t])}function nf(){return of()}function af(e){const t=u.useRef(void 0);return u.useImperativeHandle(e,()=>({setPlayState:e=>{var r,o;"running"===e&&(null===(r=t.current)||void 0===r||r.play()),"paused"===e&&(null===(o=t.current)||void 0===o||o.pause())},setPlaybackRate:e=>{t.current&&(t.current.playbackRate=e)}})),t}function lf(){const{targetDocument:e}=ro();var t;const r=null!==(t=null==e?void 0:e.defaultView)&&void 0!==t?t:null,o=u.useRef(!1),n=u.useCallback(()=>o.current,[]);return jo(()=>{if(null===r||"function"!=typeof r.matchMedia)return;const e=r.matchMedia("screen and (prefers-reduced-motion: reduce)");e.matches&&(o.current=!0);const t=e=>{o.current=e.matches};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[r]),n}const sf=["@fluentui/react-motion: Invalid child element.","\n","Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function cf(e,t=!0){const r=u.useRef(null);u.useEffect(()=>{},[t]);try{const t=u.Children.only(e);if(u.isValidElement(t))return[u.cloneElement(t,{ref:Fo(r,Wo(t))}),r]}catch{}throw new Error(sf)}const df=u.createContext(void 0),uf=(df.Provider,()=>{var e;return null!==(e=u.useContext(df))&&void 0!==e?e:"default"}),ff=Symbol("MOTION_DEFINITION");function pf(e){return Object.assign(t=>{const{children:r,imperativeRef:o,onMotionFinish:n,onMotionStart:a,onMotionCancel:i,...l}=t,s=l,[c,d]=cf(r),f=af(o),p="skip"===uf(),h=u.useRef({skipMotions:p,params:s}),g=nf(),v=lf(),m=So(()=>{null==a||a(null)}),b=So(()=>{null==n||n(null)}),C=So(()=>{null==i||i(null)});return jo(()=>{h.current={skipMotions:p,params:s}}),jo(()=>{const t=d.current;if(t){const r="function"==typeof e?e({element:t,...h.current.params}):e;m();const o=g(t,r,{isReducedMotion:v()});return f.current=o,o.setMotionEndCallbacks(b,C),h.current.skipMotions&&o.finish(),()=>{o.cancel()}}},[g,d,f,v,b,m,C]),c},{[ff]:"function"==typeof e?e:()=>e})}const hf=u.createContext(void 0);hf.Provider;const gf=Symbol("PRESENCE_MOTION_DEFINITION"),vf=Symbol.for("interruptablePresence");function mf(e){return Object.assign(t=>{const r={...u.useContext(hf),...t},o="skip"===uf(),{appear:n,children:a,imperativeRef:i,onExit:l,onMotionFinish:s,onMotionStart:c,onMotionCancel:d,visible:f,unmountOnExit:p,...h}=r,g=h,[v,m]=function(e=!1,t=!1){const r=u.useRef(!t||e),o=_o(),n=u.useCallback(e=>{r.current!==e&&(r.current=e,o())},[o]);return u.useEffect(()=>{e&&(r.current=e)}),[e||r.current,n]}(f,p),[b,C]=cf(a,v),y=af(i),x=u.useRef({appear:n,params:g,skipMotions:o}),w=nf(),k=No(),B=lf(),z=So(e=>{null==c||c(null,{direction:e})}),j=So(e=>{null==s||s(null,{direction:e}),"exit"===e&&p&&(m(!1),null==l||l())}),S=So(e=>{null==d||d(null,{direction:e})});return jo(()=>{x.current={appear:n,params:g,skipMotions:o}}),jo(()=>{const t=C.current;if(!t)return;let r;function o(){r&&(a&&r.isRunning()||(r.cancel(),y.current=void 0))}const n="function"==typeof e?e({element:t,...x.current.params}):e,a=n[vf];if(a&&(r=y.current,r&&r.isRunning()))return r.reverse(),o;const i=f?n.enter:n.exit,l=f?"enter":"exit",s=!x.current.appear&&k,c=x.current.skipMotions;return s||z(l),r=w(t,i,{isReducedMotion:B()}),s?(r.finish(),o):(y.current=r,r.setMotionEndCallbacks(()=>j(l),()=>S(l)),c&&r.finish(),o)},[w,C,y,B,j,z,S,f]),u.useEffect(()=>{var e;p&&!v&&(null===(e=y.current)||void 0===e||e.dispose())},[y,p,v]),v?b:null},{[gf]:"function"==typeof e?e:()=>e},{In:pf("function"==typeof e?(...t)=>e(...t).enter:e.enter),Out:pf("function"==typeof e?(...t)=>e(...t).exit:e.exit)})}function bf(e,t){const r=function(e,t){return r=>e({...t,...r})}(e[gf],t);return mf(r)}function Cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e,t){const r=function(e,t){function r(r){return r in t?t[r]:e[r]}const o={};let n=[];for(const r in e)r in t?n.length&&(o[r]=n,n=[]):n.push(r);const a={};for(const e in t){if(o[e])for(const t of o[e])a[t]=r(t);a[e]=r(e)}for(const e of n)a[e]=r(e);return a}(e,t);return Object.entries(r).forEach(([o,n])=>{if(o in t)return o in e?void(r[o]={...n}):void(r[o]={...n,appear:!0,visible:!0});r[o]={...n,visible:!1}}),r}function xf(e){const t={};return e&&u.Children.toArray(e).forEach(e=>{var r;u.isValidElement(e)&&(t[null!==(r=e.key)&&void 0!==r?r:""]={appear:!1,element:e,visible:!0,unmountOnExit:!0})}),t}const wf=e=>{const{appear:t,childKey:r,onExit:o,visible:n,unmountOnExit:a}=e,i=u.useMemo(()=>({appear:t,visible:n,onExit:()=>o(r),unmountOnExit:a}),[t,r,o,n,a]);return u.createElement(hf.Provider,{value:i},e.children)};class kf extends u.Component{static getDerivedStateFromProps(e,{childMapping:t,firstRender:r}){const o=xf(e.children);return{childMapping:r?o:yf(t,o),firstRender:!1}}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}render(){return u.createElement(u.Fragment,null,Object.entries(this.state.childMapping).map(([e,t])=>u.createElement(wf,{...t,childKey:e,key:e,onExit:this.handleExit},t.element)))}constructor(e,t){super(e,t),Cf(this,"mounted",!1),Cf(this,"handleExit",e=>{const t=xf(this.props.children);e in t||this.mounted&&this.setState(t=>{const r={...t.childMapping};return delete r[e],{childMapping:r}})}),this.state={childMapping:{},firstRender:!0}}}const Bf=u.createContext(void 0);function zf(){return u.useContext(Bf)}const jf=u.forwardRef((e,t)=>u.createElement(Bf.Provider,{value:t},e.children));jf.displayName="MotionRefForwarder";const Sf=e=>u.createElement(Bf.Provider,{value:void 0},e.children);function Nf(e,t){const{as:r,children:o,...n}=null!=e?e:{};if(null===e){const e=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,r=(t,r)=>e?null:u.createElement(u.Fragment,null,r.children);return{[Cr]:r,[yr]:t.elementType}}const a={...t.defaultProps,...n,[yr]:t.elementType};return"function"==typeof o&&(a[Cr]=o),a}Sf.displayName="MotionRefForwarderReset";const _f=u.createContext(void 0),{Provider:Tf}=_f,qf=vr({resetButton:{B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bv0vk6g:"f37px4s",fsow6f:"fgusgyc"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bqhya38:"f1j6vpng",Bwxa6fj:["f1pniga2","f1ffjurs"],Bdhvstf:"f987i1v",B7zbvrb:["f1ffjurs","f1pniga2"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},root:{sj55zd:"f19n0e5",De3pzq:"f1c21dwh",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},rootDisabled:{Bcmaq0h:"fwrgwhw",sj55zd:"f1s2aq7o"},rootInline:{mc9l5x:"f14t3ns0"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1rmphuq","f26yw9j"],sshi5w:"f5pgtk9",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bceei9c:"f1k6fduh",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B7ck84d:"f1ewtqcl"},buttonSmall:{sshi5w:"f1nxs5xn",Be2twd7:"fy9rknc"},buttonLarge:{Bg96gwp:"faaz57k",Be2twd7:"fod5ikn"},buttonExtraLarge:{Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},buttonInline:{mc9l5x:"ftuwxu6"},buttonExpandIconEndNoIcon:{uwmqm3:["f1uw59to","fw5db7e"]},buttonExpandIconEnd:{z189sj:["f11gcy0p","f1ng84yb"]},buttonDisabled:{Bceei9c:"fdrzuqr"},expandIcon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},expandIconStart:{z189sj:["f1vdfbxk","f1f5gg8d"]},expandIconEnd:{Bh6795r:"fqerorx",Bnnss6s:"f1neuvcm",xawz:"flqd7gy",mc9l5x:"f22iagw",Brf1p80:"f9c4gz4",uwmqm3:["f1f5gg8d","f1vdfbxk"]},icon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",z189sj:["f1vdfbxk","f1f5gg8d"],Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"}},{d:[".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f37px4s{-webkit-appearance:button;}",".fgusgyc{text-align:unset;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwrgwhw{background-image:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f14t3ns0{display:inline-block;}",".f10pi13n{position:relative;}",".fly5x3f{width:100%;}",".fre7gi1{border-top-width:0;}",".f1358rze{border-right-width:0;}",".f1rvrf73{border-left-width:0;}",".fqdk4by{border-bottom-width:0;}",[".f1rmphuq{padding:0 var(--spacingHorizontalM) 0 var(--spacingHorizontalMNudge);}",{p:-1}],[".f26yw9j{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalM);}",{p:-1}],".f5pgtk9{min-height:44px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1ewtqcl{box-sizing:border-box;}",".f1nxs5xn{min-height:32px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".ftuwxu6{display:inline-flex;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".fdrzuqr{cursor:not-allowed;}",".f1l02sjl{height:100%;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fqerorx{flex-grow:1;}",".f1neuvcm{flex-shrink:1;}",".flqd7gy{flex-basis:0%;}",".f9c4gz4{justify-content:flex-end;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),Ff=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=((e,t)=>{const{icon:r,button:o,expandIcon:n,inline:a=!1,size:i="medium",expandIconPosition:l="start",...s}=e,{value:c,disabled:d,open:u}=zc(),f=yc(e=>e.requestToggle),p=yc(e=>!e.collapsible&&1===e.openItems.length&&u),h=wr(o,{elementType:"button",defaultProps:{disabled:d,disabledFocusable:p,"aria-expanded":u,type:"button"}});return h.onClick=So(e=>{var t;jr(o)&&(null===(t=o.onClick)||void 0===t||t.call(o,e)),e.defaultPrevented||f({value:c,event:e})}),{disabled:d,open:u,size:i,inline:a,expandIconPosition:l,components:{root:"div",button:"button",expandIcon:"span",icon:"div"},root:wr({ref:t,...s},{elementType:"div"}),icon:kr(r,{elementType:"div"}),expandIcon:kr(n,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"}),button:Hc(h.as,h)}})(e,t),{dir:o}=ro();let n;var a,i;return n="end"===r.expandIconPosition?r.open?-90:90:r.open?90:"rtl"!==o?0:180,r.expandIcon&&(null!==(i=(a=r.expandIcon).children)&&void 0!==i||(a.children=u.createElement(Fd,{style:{transform:`rotate(${n}deg)`,transition:`transform ${ef.durationNormal}ms ease-out`}}))),r})(e,t),o=function(e){const{disabled:t,expandIconPosition:r,open:o,size:n}=e;return{accordionHeader:u.useMemo(()=>({disabled:t,expandIconPosition:r,open:o,size:n}),[t,r,o,n])}}(r);return(e=>{const t=qf();e.root.className=te("fui-AccordionHeader",t.root,e.inline&&t.rootInline,e.disabled&&t.rootDisabled,e.root.className),e.button.className=te("fui-AccordionHeader__button",t.resetButton,t.button,t.focusIndicator,"end"===e.expandIconPosition&&!e.icon&&t.buttonExpandIconEndNoIcon,"end"===e.expandIconPosition&&t.buttonExpandIconEnd,e.inline&&t.buttonInline,"small"===e.size&&t.buttonSmall,"large"===e.size&&t.buttonLarge,"extra-large"===e.size&&t.buttonExtraLarge,e.disabled&&t.buttonDisabled,e.button.className),e.expandIcon&&(e.expandIcon.className=te("fui-AccordionHeader__expandIcon",t.expandIcon,"start"===e.expandIconPosition&&t.expandIconStart,"end"===e.expandIconPosition&&t.expandIconEnd,e.expandIcon.className)),e.icon&&(e.icon.className=te("fui-AccordionHeader__icon",t.icon,e.icon.className))})(r),co("useAccordionHeaderStyles_unstable")(r),((e,t)=>gn(Tf,{value:t.accordionHeader,children:gn(e.root,{children:vn(e.button,{children:["start"===e.expandIconPosition&&e.expandIcon&&gn(e.expandIcon,{}),e.icon&&gn(e.icon,{}),e.root.children,"end"===e.expandIconPosition&&e.expandIcon&&gn(e.expandIcon,{})]})})}))(r,o)});Ff.displayName="AccordionHeader";const Df=(e,t)=>({sizeName:"horizontal"===e?"maxWidth":"maxHeight",overflowName:"horizontal"===e?"overflowX":"overflowY",toSize:`${"horizontal"===e?t.scrollWidth:t.scrollHeight}px`}),Ef=({orientation:e,duration:t,easing:r,element:o,outSize:n="0",delay:a=0})=>{const{sizeName:i,overflowName:l,toSize:s}=Df(e,o);return{keyframes:[{[i]:n,[l]:"hidden"},{[i]:s,offset:.9999,[l]:"hidden"},{[i]:"unset",[l]:"unset"}],duration:t,easing:r,delay:a,fill:"both"}},Pf=({direction:e,orientation:t,duration:r,easing:o,delay:n=0})=>{const{paddingStart:a,paddingEnd:i,marginStart:l,marginEnd:s}=(e=>"horizontal"===e?{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"}:{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"})(t),c="enter"===e?0:1;return{keyframes:[{[a]:"0",[i]:"0",[l]:"0",[s]:"0",offset:c}],duration:r,easing:o,delay:n,fill:"both"}},If=({direction:e,duration:t,easing:r=ef.curveLinear,delay:o=0,outOpacity:n=0,inOpacity:a=1})=>{const i=[{opacity:n},{opacity:a}];return"exit"===e&&i.reverse(),{keyframes:i,duration:t,easing:r,delay:o,fill:"both"}},Of=mf(({element:e,duration:t=ef.durationNormal,exitDuration:r=t,sizeDuration:o=t,opacityDuration:n=o,exitSizeDuration:a=r,exitOpacityDuration:i=a,easing:l=ef.curveEasyEaseMax,delay:s=0,exitEasing:c=l,exitDelay:d=s,staggerDelay:u=0,exitStaggerDelay:f=u,animateOpacity:p=!0,orientation:h="vertical",outSize:g="0px"})=>{const v=[Ef({orientation:h,duration:o,easing:l,element:e,outSize:g,delay:s}),Pf({direction:"enter",orientation:h,duration:o,easing:l,delay:s})];p&&v.push(If({direction:"enter",duration:n,easing:l,delay:s+u}));const m=[];return p&&m.push(If({direction:"exit",duration:i,easing:c,delay:d})),m.push((({orientation:e,duration:t,easing:r,element:o,delay:n=0,outSize:a="0"})=>{const{sizeName:i,overflowName:l,toSize:s}=Df(e,o);return{keyframes:[{[i]:s,[l]:"hidden"},{[i]:a,[l]:"hidden"}],duration:t,easing:r,delay:n,fill:"both"}})({orientation:h,duration:a,easing:c,element:e,delay:d+f,outSize:g}),Pf({direction:"exit",orientation:h,duration:a,easing:c,delay:d+f})),{enter:v,exit:m}}),Af=(bf(Of,{duration:ef.durationFast}),bf(Of,{duration:ef.durationSlower}),bf(Of,{sizeDuration:ef.durationNormal,opacityDuration:ef.durationSlower,staggerDelay:ef.durationNormal,exitSizeDuration:ef.durationNormal,exitOpacityDuration:ef.durationSlower,exitStaggerDelay:ef.durationSlower,easing:ef.curveEasyEase,exitEasing:ef.curveEasyEase})),Rf=mf(({duration:e=ef.durationNormal,easing:t=ef.curveEasyEase,delay:r=0,exitDuration:o=e,exitEasing:n=t,exitDelay:a=r,outOpacity:i=0,inOpacity:l=1})=>({enter:If({direction:"enter",duration:e,easing:t,delay:r,outOpacity:i,inOpacity:l}),exit:If({direction:"exit",duration:o,easing:n,delay:a,outOpacity:i,inOpacity:l})})),Mf=(bf(Rf,{duration:ef.durationFast}),bf(Rf,{duration:ef.durationGentle})),Hf=({direction:e,duration:t,easing:r=ef.curveLinear,delay:o=0,outScale:n=.9,inScale:a=1})=>{const i=[{scale:n},{scale:a}];return"exit"===e&&i.reverse(),{keyframes:i,duration:t,easing:r,delay:o}},Lf=mf(({duration:e=ef.durationGentle,easing:t=ef.curveDecelerateMax,delay:r=0,exitDuration:o=ef.durationNormal,exitEasing:n=ef.curveAccelerateMax,exitDelay:a=r,outScale:i=.9,inScale:l=1,animateOpacity:s=!0})=>{const c=[Hf({direction:"enter",duration:e,easing:t,delay:r,outScale:i,inScale:l})],d=[Hf({direction:"exit",duration:o,easing:n,delay:a,outScale:i,inScale:l})];return s&&(c.push(If({direction:"enter",duration:e,easing:t,delay:r})),d.push(If({direction:"exit",duration:o,easing:n,delay:a}))),{enter:c,exit:d}}),Vf=(bf(Lf,{duration:ef.durationNormal,exitDuration:ef.durationFast}),bf(Lf,{duration:ef.durationSlow,exitDuration:ef.durationGentle}),({direction:e,duration:t,easing:r=ef.curveLinear,delay:o=0,outX:n="0px",outY:a="0px",inX:i="0px",inY:l="0px"})=>{const s=[{translate:`${n} ${a}`},{translate:`${i} ${l}`}];return"exit"===e&&s.reverse(),{keyframes:s,duration:t,easing:r,delay:o}}),Wf=mf(({duration:e=ef.durationNormal,easing:t=ef.curveDecelerateMid,delay:r=0,exitDuration:o=e,exitEasing:n=ef.curveAccelerateMid,exitDelay:a=r,outX:i="0px",outY:l="0px",inX:s="0px",inY:c="0px",animateOpacity:d=!0})=>{const u=[Vf({direction:"enter",duration:e,easing:t,delay:r,outX:i,outY:l,inX:s,inY:c})],f=[Vf({direction:"exit",duration:o,easing:n,delay:a,outX:i,outY:l,inX:s,inY:c})];return d&&(u.push(If({direction:"enter",duration:e,easing:t,delay:r})),f.push(If({direction:"exit",duration:o,easing:n,delay:a}))),{enter:u,exit:f}}),Zf=(bf(Wf,{easing:ef.curveDecelerateMax,exitEasing:ef.curveAccelerateMax}),bf(Wf,{duration:ef.durationGentle}),({direction:e,duration:t,easing:r=ef.curveLinear,delay:o=0,outRadius:n="10px",inRadius:a="0px"})=>{const i=[{filter:`blur(${n})`},{filter:`blur(${a})`}];return"exit"===e&&i.reverse(),{keyframes:i,duration:t,easing:r,delay:o}}),Uf=(mf(({duration:e=ef.durationSlow,easing:t=ef.curveDecelerateMin,delay:r=0,exitDuration:o=e,exitEasing:n=ef.curveAccelerateMin,exitDelay:a=r,outRadius:i="10px",inRadius:l="0px",animateOpacity:s=!0})=>{const c=[Zf({direction:"enter",duration:e,easing:t,delay:r,outRadius:i,inRadius:l})],d=[Zf({direction:"exit",duration:o,easing:n,delay:a,outRadius:i,inRadius:l})];return s&&(c.push(If({direction:"enter",duration:e,easing:t,delay:r})),d.push(If({direction:"exit",duration:o,easing:n,delay:a}))),{enter:c,exit:d}}),(e,t)=>`${e.toLowerCase()} ${t}deg`),Gf=({direction:e,duration:t,easing:r=ef.curveLinear,delay:o=0,axis:n="z",outAngle:a=-90,inAngle:i=0})=>{const l=[{rotate:Uf(n,a)},{rotate:Uf(n,i)}];return"exit"===e&&l.reverse(),{keyframes:l,duration:t,easing:r,delay:o}},Xf=mf(({duration:e=ef.durationGentle,easing:t=ef.curveDecelerateMax,delay:r=0,exitDuration:o=e,exitEasing:n=ef.curveAccelerateMax,exitDelay:a=r,axis:i="z",outAngle:l=-90,inAngle:s=0,animateOpacity:c=!0})=>{const d=[Gf({direction:"enter",duration:e,easing:t,delay:r,axis:i,outAngle:l,inAngle:s})],u=[Gf({direction:"exit",duration:o,easing:n,delay:a,axis:i,outAngle:l,inAngle:s})];return c&&(d.push(If({direction:"enter",duration:e,easing:t,delay:r})),u.push(If({direction:"exit",duration:o,easing:n,delay:a}))),{enter:d,exit:u}}),$f=ef.durationFaster,Kf=ef.durationNormal;function Yf(e){return!(!(null==e?void 0:e.type)||"function"!=typeof e.type)&&Object.getOwnPropertySymbols(e.type).some(e=>"PRESENCE_MOTION_DEFINITION"===e.description)}function Jf(e){return Yf(e)}function Qf(e){const t={};return e&&u.Children.toArray(e).forEach((e,r)=>{var o;u.isValidElement(e)&&(t[null!==(o=e.key)&&void 0!==o?o:""]={element:e,index:r})}),t}const ep=(e,t)=>{const{hideMode:r,delayMode:o,fallbackHideMode:n="visibilityStyle"}=t,a=Qf(e),i=Object.values(a).map(e=>e.element),l=i.every(e=>Jf(e)),s=i.every(e=>{return Yf(t=e)||function(e){return!(!(null==e?void 0:e.type)||"function"!=typeof e.type)&&Object.getOwnPropertySymbols(e.type).some(e=>"MOTION_DEFINITION"===e.description)}(t);var t});return{hideMode:null!=r?r:l?"visibleProp":n,delayMode:null!=o?o:s?"delayProp":"timing"}},tp=({children:e,direction:t,itemDelay:r=$f,itemDuration:o=Kf,reversed:n=!1,hideMode:a,delayMode:i="timing",onMotionFinish:l})=>{const s=u.useMemo(()=>Qf(e),[e]),{itemsVisibility:c}=function({childMapping:e,itemDelay:t,itemDuration:r=Kf,direction:o,reversed:n=!1,onMotionFinish:a,hideMode:i="visibleProp"}){const[l,s]=Co(),c=So(null!=a?a:()=>{}),[d,f]=u.useState(0),p=u.useRef(o);u.useEffect(()=>{p.current!==o&&(f(e=>e+1),p.current=o)},[o]);const[h,g]=u.useState(()=>{const t={},r="enter"===o;return Object.keys(e).forEach(e=>{t[e]=r}),t});u.useEffect(()=>{g(t=>{const r={},n="enter"===o;return Object.keys(e).forEach(e=>{r[e]=e in t?t[e]:n}),r})},[e,o]);const v=u.useRef(null),m=u.useRef(null),b=u.useRef(!1),C=u.useRef(!0),y=u.useRef(e);u.useEffect(()=>{y.current=e},[e]);const x=u.useRef(n);return u.useEffect(()=>{x.current=n},[n]),u.useEffect(()=>{let e=!1;if(v.current=null,b.current=!1,C.current)return C.current=!1,void c();const n="exit"===o,a={};Object.keys(y.current).forEach(e=>{a[e]=n}),g(a);const i=n=>{if(e)return;null===v.current&&(v.current=n);const a=n-v.current,s=Object.keys(y.current),d=function({itemCount:e,elapsed:t,itemDelay:r=$f,itemDuration:o=Kf,direction:n="enter",reversed:a=!1}){if(e<=0)return{itemsVisibility:[],totalDuration:0};const i=function({itemCount:e,itemDelay:t=$f,itemDuration:r=Kf}){if(e<=0)return 0;if(e<=1)return Math.max(0,r);const o=t*(e-1);return Math.max(0,o+r)}({itemCount:e,itemDelay:r,itemDuration:o});let l;if(r<=0)l=e;else if(0===t)l="enter"===n?1:0;else{const o=Math.floor(t/r)+1;l=Math.min(e,o)}return{itemsVisibility:Array.from({length:e},(t,r)=>{let o=a?r>=e-l:r<l;return"exit"===n&&(o=!o),o}),totalDuration:i}}({itemCount:s.length,elapsed:a,itemDelay:t,itemDuration:r,direction:o,reversed:x.current}),u={};s.forEach((e,t)=>{u[e]=d.itemsVisibility[t]}),g(u),a<d.totalDuration?m.current=l(i):b.current||(b.current=!0,c())};return m.current=l(i),()=>{e=!0,m.current&&s()}},[d,t,r,o,l,s,c]),{itemsVisibility:h}}({childMapping:s,itemDelay:r,itemDuration:o,direction:t,reversed:n,onMotionFinish:l,hideMode:a});return"delayProp"===i?u.createElement(u.Fragment,null,Object.entries(s).map(([e,{element:o,index:a}])=>{const i=(n?Object.keys(s).length-1-a:a)*r,l="enter"===t?{delay:i}:{exitDelay:i},c=Jf(o)?{visible:"enter"===t}:{};return u.cloneElement(o,{key:e,...c,...l})})):u.createElement(u.Fragment,null,Object.entries(s).map(([e,{element:t}])=>{if("visibleProp"===a)return u.cloneElement(t,{key:e,visible:c[e]});if("visibilityStyle"===a){const r=t.props,o={...null==r?void 0:r.style,visibility:c[e]?"visible":"hidden"};return u.cloneElement(t,{key:e,style:o})}return c[e]?u.cloneElement(t,{key:e}):null}))},rp=e=>({hideMode:t,delayMode:r,children:o,...n})=>{const{hideMode:a,delayMode:i}=ep(o,{hideMode:t,delayMode:r,fallbackHideMode:"visibilityStyle"});return u.createElement(tp,{...n,children:o,direction:e,hideMode:a,delayMode:i})},op=rp("enter"),np=rp("exit"),ap=(Object.assign(e=>{const{children:t,visible:r=!1,hideMode:o,delayMode:n,...a}=e,{hideMode:i,delayMode:l}=ep(t,{hideMode:o,delayMode:n,fallbackHideMode:"visibilityStyle"}),s=r?"enter":"exit";return u.createElement(tp,{...a,children:t,hideMode:i,delayMode:l,direction:s})},{In:op,Out:np}),(e,t)=>{const{open:r}=zc();return{open:r,components:{root:"div"},root:wr({ref:t,...e},{elementType:"div"})}}),ip=vr({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1axvtxu"}},{d:[[".f1axvtxu{margin:0 var(--spacingHorizontalM);}",{p:-1}]]}),lp=u.forwardRef((e,t)=>{const r=((e,t)=>{const{collapseMotion:r,...o}=e,n=ap(o,t),a=yi({focusable:{excludeFromMover:!0}}),i=yc(e=>e.navigation);return{...n,components:{...n.components,collapseMotion:Of},root:{...n.root,...i&&a},collapseMotion:Nf(e.collapseMotion,{elementType:Of,defaultProps:{visible:n.open,unmountOnExit:!0}})}})(e,t);return(e=>{const t=ip();e.root.className=te("fui-AccordionPanel",t.root,e.root.className)})(r),co("useAccordionPanelStyles_unstable")(r),(e=>e.collapseMotion?gn(e.collapseMotion,{children:gn(e.root,{})}):gn(e.root,{}))(r)});lp.displayName="AccordionPanel";const sp=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,cp=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,dp=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,up=/\s+/g,fp=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function pp(e,t,r){return e?(e=function(e){return(e=(e=(e=e.replace(sp,"")).replace(cp,"")).replace(up," ")).trim()}(e),fp.test(e)||!(null==r?void 0:r.allowPhoneInitials)&&dp.test(e)?"":function(e,t,r){let o="";const n=e.split(" ");return 0!==n.length&&(o+=n[0].charAt(0).toUpperCase()),r||(2===n.length?o+=n[1].charAt(0).toUpperCase():3===n.length&&(o+=n[2].charAt(0).toUpperCase())),t&&o.length>1?o.charAt(1)+o.charAt(0):o}(e,t,null==r?void 0:r.firstInitialOnly)):""}const hp=(e,t)=>{const{iconPosition:r="before"}=e;return{iconPosition:r,components:{root:"div",icon:"span"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),icon:kr(e.icon,{elementType:"span"})}},gp=mr("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;}']),vp=vr({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);}"]}),mp=mr("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),bp=vr({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;}"]}),Cp=e=>{const t=gp(),r=vp(),o="small"===e.size||"extra-small"===e.size||"tiny"===e.size;e.root.className=te("fui-Badge",t,o&&r.fontSmallToTiny,r[e.size],r[e.shape],"rounded"===e.shape&&o&&r.roundedSmallToTiny,"ghost"===e.appearance&&r.borderGhost,r[e.appearance],r[`${e.appearance}-${e.color}`],e.root.className);const n=mp(),a=bp();if(e.icon){let t;u.Children.toArray(e.root.children).length>0&&(t="extra-large"===e.size?"after"===e.iconPosition?a.afterTextXL:a.beforeTextXL:"after"===e.iconPosition?a.afterText:a.beforeText),e.icon.className=te("fui-Badge__icon",n,t,a[e.size],e.icon.className)}return e},yp=e=>vn(e.root,{children:["before"===e.iconPosition&&e.icon&&gn(e.icon,{}),e.root.children,"after"===e.iconPosition&&e.icon&&gn(e.icon,{})]}),xp=u.forwardRef((e,t)=>{const r=((e,t)=>{const{shape:r="circular",size:o="medium",appearance:n="filled",color:a="brand",...i}=e;return{...hp(i,t),shape:r,size:o,appearance:n,color:a}})(e,t);return Cp(r),co("useBadgeStyles_unstable")(r),yp(r)});xp.displayName="Badge";const wp={tiny:ru,"extra-small":ru,small:ou,medium:nu,large:au,"extra-large":au},kp={tiny:$d,"extra-small":$d,small:Yd,medium:Qd,large:tu,"extra-large":tu},Bp={tiny:Xd,"extra-small":Xd,small:Kd,medium:Jd,large:eu,"extra-large":eu},zp={tiny:iu,"extra-small":iu,small:lu,medium:su,large:cu,"extra-large":cu},jp={tiny:du,"extra-small":du,small:uu,medium:fu,large:pu,"extra-large":pu},Sp={tiny:hu,"extra-small":hu,small:vu,medium:bu,large:yu,"extra-large":yu},Np={tiny:gu,"extra-small":gu,small:mu,medium:Cu,large:xu,"extra-large":xu},_p={tiny:ju,"extra-small":ju,small:Su,medium:Nu,large:_u,"extra-large":_u},Tp={tiny:wu,"extra-small":wu,small:ku,medium:Bu,large:zu,"extra-large":zu},qp={tiny:Tu,"extra-small":Tu,small:qu,medium:Fu,large:Du,"extra-large":Du},Fp={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},Dp=(e,t)=>{const{status:r="available",outOfOffice:o=!1}=e,n=Fp[r],a=e.outOfOffice&&"out-of-office"!==e.status?` ${Fp["out-of-office"]}`:"";return{...hp({"aria-label":n+a,role:"img",...e,icon:kr(e.icon,{renderByDefault:!0,elementType:"span"})},t),status:r,outOfOffice:o}},Ep=mr("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),Pp=mr("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),Ip=vr({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]}),Op=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r="medium",status:o="available",outOfOffice:n=!1,...a}=e,i=((e,t,r)=>{switch(e){case"available":return t?kp[r]:Bp[r];case"away":return t?_p[r]:wp[r];case"blocked":return zp[r];case"busy":return t?qp[r]:jp[r];case"do-not-disturb":return t?Np[r]:Sp[r];case"offline":return t?_p[r]:Tp[r];case"out-of-office":return _p[r];case"unknown":return qp[r]}})(o,n,r),l={...Dp(a,t),appearance:"filled",color:"brand",shape:"circular",size:r,status:o,outOfOffice:n};var s,c;return l.icon&&(null!==(c=(s=l.icon).children)&&void 0!==c||(s.children=u.createElement(i,null))),l})(e,t);return(e=>{const t=Ep(),r=Pp(),o=Ip(),n="busy"===(a=e.status)||"do-not-disturb"===a||"blocked"===a;var a;e.root.className=te("fui-PresenceBadge",t,n&&o.statusBusy,"away"===e.status&&o.statusAway,"available"===e.status&&o.statusAvailable,"offline"===e.status&&o.statusOffline,"out-of-office"===e.status&&o.statusOutOfOffice,"unknown"===e.status&&o.statusUnknown,e.outOfOffice&&o.outOfOffice,e.outOfOffice&&"available"===e.status&&o.outOfOfficeAvailable,e.outOfOffice&&n&&o.outOfOfficeBusy,e.outOfOffice&&("out-of-office"===e.status||"away"===e.status||"offline"===e.status)&&o.statusOutOfOffice,e.outOfOffice&&"unknown"===e.status&&o.outOfOfficeUnknown,"tiny"===e.size&&o.tiny,"large"===e.size&&o.large,"extra-large"===e.size&&o.extraLarge,e.root.className),e.icon&&(e.icon.className=te("fui-PresenceBadge__icon",r,e.icon.className))})(r),co("usePresenceBadgeStyles_unstable")(r),yp(r)});Op.displayName="PresenceBadge";const Ap=(e,t)=>{const{showZero:r=!1,overflowCount:o=99,count:n=0,dot:a=!1,...i}=e,l={...hp(i,t),showZero:r,count:n,dot:a};return 0===n&&!r||a||l.root.children||(l.root.children=n>o?`${o}+`:`${n}`),l},Rp=vr({dot:{Bf4jedk:"fgfkb25",a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai"},hide:{mc9l5x:"fjseox"}},{d:[".fgfkb25{min-width:auto;}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",[".f1mk8lai{padding:0;}",{p:-1}],".fjseox{display:none;}"]}),Mp=u.forwardRef((e,t)=>{const r=((e,t)=>{const{shape:r="circular",appearance:o="filled",color:n="brand",size:a="medium",...i}=e;return{...Ap(i,t),shape:r,appearance:o,color:n,size:a}})(e,t);return(e=>{const t=Rp();e.root.className=te("fui-CounterBadge",e.dot&&t.dot,!e.root.children&&!e.dot&&t.hide,e.root.className),e.icon&&(e.icon.className=te("fui-CounterBadge__icon",e.icon.className)),Cp(e)})(r),co("useCounterBadgeStyles_unstable")(r),yp(r)});Mp.displayName="CounterBadge";const Hp=u.createContext(void 0),Lp={},Vp=Hp.Provider,Wp={active:"active",inactive:"inactive"},Zp=(e,t)=>{const{dir:r}=ro(),{name:o,...n}=e,a=qo("avatar-"),i=wr({role:"img",id:a,ref:t,...n},{elementType:"span"}),[l,s]=u.useState(void 0);let c=kr(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:l},elementType:"img"});(null==c?void 0:c.src)||(c=void 0),c&&(c.onError=Uo(c.onError,()=>s(!0)),c.onLoad=Uo(c.onLoad,()=>s(void 0)));let d,f=kr(e.initials,{renderByDefault:!0,defaultProps:{children:pp(o,"rtl"===r),id:a+"__initials"},elementType:"span"});return(null==f?void 0:f.children)||(f=void 0),f||c&&!l||(d=kr(e.icon,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"})),i["aria-label"]||i["aria-labelledby"]||(o?i["aria-label"]=o:f&&(i["aria-labelledby"]=f.id)),{activeAriaLabelElement:void 0,components:{root:"span",initials:"span",icon:"span",image:"img"},root:i,initials:f,icon:d,image:c}},Up=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",Gp=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],Xp=e=>{let t=0;for(let r=e.length-1;r>=0;r--){const o=e.charCodeAt(r),n=r%8;t^=(o<<n)+(o>>8-n)}return t},$p=mr("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),Kp=mr("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),Yp=mr("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),Jp=vr({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Bg24rqe:"f9ttr0w"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f9ttr0w{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Qp=vr({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),eh=vr({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),th=vr({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),rh=u.forwardRef((e,t)=>{const r=((e,t)=>{const{dir:r}=ro(),{shape:o,size:n}=null!==(a=u.useContext(Hp))&&void 0!==a?a:Lp;var a;const{size:i=(null!=n?n:32),shape:l=(null!=o?o:"circular"),active:s="unset",activeAppearance:c="ring",idForColor:d,color:f="neutral",...p}=e,h=Zp(p,t);var g;const v="colorful"===f?Gp[Xp(null!==(g=null!=d?d:e.name)&&void 0!==g?g:"")%Gp.length]:f;var m,b,C;h.initials&&(h.initials=kr(e.initials,{renderByDefault:!0,defaultProps:{children:pp(e.name,"rtl"===r,{firstInitialOnly:i<=16}),id:null===(m=h.initials)||void 0===m?void 0:m.id},elementType:"span"})),h.icon&&(null!==(C=(b=h.icon).children)&&void 0!==C||(b.children=u.createElement(ld,null)));const y=kr(e.badge,{defaultProps:{size:Up(i),id:h.root.id+"__badge"},elementType:Op});let x=h.activeAriaLabelElement;const w=void 0!==e["aria-label"],k=void 0!==e["aria-labelledby"];if(!w&&!k&&(e.name?y&&(h.root["aria-labelledby"]=h.root.id+" "+y.id):h.initials&&(h.root["aria-labelledby"]=h.initials.id+(y?" "+y.id:""),delete h.root["aria-label"]),"active"===s||"inactive"===s)){const e=Wp[s];if(h.root["aria-labelledby"]){const t=h.root.id+"__active";h.root["aria-labelledby"]+=" "+t,x=u.createElement("span",{hidden:!0,id:t},e)}else h.root["aria-label"]&&(h.root["aria-label"]+=" "+e)}return{...h,size:i,shape:l,active:s,activeAppearance:c,activeAriaLabelElement:x,color:v,badge:y,components:{...h.components,badge:Op}}})(e,t);return(e=>{const{size:t,shape:r,active:o,activeAppearance:n,color:a}=e,i=$p(),l=Kp(),s=Yp(),c=Jp(),d=Qp(),u=eh(),f=th(),p=[i,32!==t&&d[t]];if(e.badge&&p.push(c.badgeAlign,c[e.badge.size||"medium"]),t<=24?p.push(c.textCaption2Strong):t<=28?p.push(c.textCaption1Strong):t<=40||(t<=56?p.push(c.textSubtitle2):t<=96?p.push(c.textSubtitle1):p.push(c.textTitle3)),"square"===r&&(t<=24?p.push(c.squareSmall):t<=48?p.push(c.squareMedium):t<=72?p.push(c.squareLarge):p.push(c.squareXLarge)),"active"!==o&&"inactive"!==o||(p.push(c.activeOrInactive),"ring"!==n&&"ring-shadow"!==n||(p.push(c.ring,f[a]),e.badge&&p.push(c.ringBadgeCutout),t<=48?p.push(c.ringThick):t<=64?p.push(c.ringThicker):p.push(c.ringThickest)),"shadow"!==n&&"ring-shadow"!==n||(p.push(c.shadow),t<=28?p.push(c.shadow4):t<=48?p.push(c.shadow8):t<=64?p.push(c.shadow16):p.push(c.shadow28)),"inactive"===o&&p.push(c.inactive)),e.root.className=te("fui-Avatar",...p,e.root.className),e.badge&&(e.badge.className=te("fui-Avatar__badge",c.badge,e.badge.className)),e.image&&(e.image.className=te("fui-Avatar__image",l,u[a],e.badge&&c.badgeCutout,e.image.className)),e.initials&&(e.initials.className=te("fui-Avatar__initials",s,u[a],e.badge&&c.badgeCutout,e.initials.className)),e.icon){let r;r=t<=16?c.icon12:t<=24?c.icon16:t<=40?c.icon20:t<=48?c.icon24:t<=56?c.icon28:t<=72?c.icon32:c.icon48,e.icon.className=te("fui-Avatar__icon",s,r,u[a],e.badge&&c.badgeCutout,e.icon.className)}})(r),co("useAvatarStyles_unstable")(r),(e=>vn(e.root,{children:[e.initials&&gn(e.initials,{}),e.icon&&gn(e.icon,{}),e.image&&gn(e.image,{}),e.badge&&gn(e.badge,{}),e.activeAriaLabelElement]}))(r)});rh.displayName="Avatar";const oh=hc(void 0),nh={},ah=oh.Provider,ih=e=>gc(oh,(t=nh)=>e(t)),lh=32,sh=vr({base:{mc9l5x:"ftuwxu6",qhf8xq:"f10pi13n"},pie:{Bgl5zvf:"f1uz6ud1",De3pzq:"f1ganh6p",By8wz76:"f1wgxgin"}},{d:[".ftuwxu6{display:inline-flex;}",".f10pi13n{position:relative;}",".f1uz6ud1{clip-path:circle(50%);}",".f1ganh6p{background-color:var(--colorTransparentStroke);}"],m:[["@media (forced-colors: active){.f1wgxgin{background-color:CanvasText;}}",{m:"(forced-colors: active)"}]]}),ch=u.forwardRef((e,t)=>{const r=((e,t)=>{const{layout:r="spread",size:o=lh}=e;return{layout:r,size:o,components:{root:"div"},root:wr(Wr("div",{role:"group",...e,ref:t},["size"]),{elementType:"div"})}})(e,t),o=(e=>{const{layout:t,size:r}=e;return{avatarGroup:{layout:t,size:r}}})(r);return(e=>{const{layout:t,size:r}=e,o=sh(),n=Qp();e.root.className=te("fui-AvatarGroup",o.base,"pie"===t&&n[r],"pie"===t&&o.pie,e.root.className)})(r),co("useAvatarGroupStyles_unstable")(r),((e,t)=>gn(ah,{value:t.avatarGroup,children:gn(e.root,{})}))(r,o)});ch.displayName="AvatarGroup";const dh=vr({base:{Bt984gj:"f122n59",mc9l5x:"ftuwxu6",Bnnss6s:"fi64zpg",qhf8xq:"f10pi13n"},overflowItem:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f16d74zd"},nonOverflowItem:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".fi64zpg{flex-shrink:0;}",".f10pi13n{position:relative;}",[".f16d74zd{padding:var(--spacingVerticalXS) var(--spacingHorizontalXS);}",{p:-1}],[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),uh=vr({nonOverflowItem:{qhf8xq:"f1euv43f"},pie:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f1euv43f{position:absolute;}",[".fokr779{border-radius:0;}",{p:-1}]]}),fh=vr({base:{Frg6f3:["foyynoy","f1vcna3q"],sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".foyynoy{margin-left:var(--spacingHorizontalS);}",".f1vcna3q{margin-right:var(--spacingHorizontalS);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),ph=vr({thick:{E5pizo:"foiuzp5"},thicker:{E5pizo:"f1x6o7w7"},thickest:{E5pizo:"f2aml1u"},xxs:{jhia2w:["f1cjco14","f13dxjc9"]},xs:{jhia2w:["f15p6bln","f1bab3ru"]},s:{jhia2w:["f1v53ncc","f17pu8r8"]},l:{jhia2w:["flv48ch","fnh1ydj"]}},{d:[".foiuzp5{box-shadow:0 0 0 var(--strokeWidthThick) var(--colorNeutralBackground2);}",".f1x6o7w7{box-shadow:0 0 0 var(--strokeWidthThicker) var(--colorNeutralBackground2);}",".f2aml1u{box-shadow:0 0 0 var(--strokeWidthThickest) var(--colorNeutralBackground2);}",".f1cjco14:not(:first-child){margin-left:calc(-1 * var(--spacingHorizontalXXS));}",".f13dxjc9:not(:first-child){margin-right:calc(-1 * var(--spacingHorizontalXXS));}",".f15p6bln:not(:first-child){margin-left:calc(-1 * var(--spacingHorizontalXS));}",".f1bab3ru:not(:first-child){margin-right:calc(-1 * var(--spacingHorizontalXS));}",".f1v53ncc:not(:first-child){margin-left:calc(-1 * var(--spacingHorizontalS));}",".f17pu8r8:not(:first-child){margin-right:calc(-1 * var(--spacingHorizontalS));}",".flv48ch:not(:first-child){margin-left:calc(-1 * var(--spacingHorizontalL));}",".fnh1ydj:not(:first-child){margin-right:calc(-1 * var(--spacingHorizontalL));}"]}),hh=vr({s:{jhia2w:["f7lhxv7","f6ou2b0"]},mNudge:{jhia2w:["f1h0okno","fnnqava"]},m:{jhia2w:["f1wkt588","f1maio5g"]},l:{jhia2w:["f1l333zn","f1r41m4c"]},xl:{jhia2w:["fahr13a","f2n7rbo"]}},{d:[".f7lhxv7:not(:first-child){margin-left:var(--spacingHorizontalS);}",".f6ou2b0:not(:first-child){margin-right:var(--spacingHorizontalS);}",".f1h0okno:not(:first-child){margin-left:var(--spacingHorizontalMNudge);}",".fnnqava:not(:first-child){margin-right:var(--spacingHorizontalMNudge);}",".f1wkt588:not(:first-child){margin-left:var(--spacingHorizontalM);}",".f1maio5g:not(:first-child){margin-right:var(--spacingHorizontalM);}",".f1l333zn:not(:first-child){margin-left:var(--spacingHorizontalL);}",".f1r41m4c:not(:first-child){margin-right:var(--spacingHorizontalL);}",".fahr13a:not(:first-child){margin-left:var(--spacingHorizontalXL);}",".f2n7rbo:not(:first-child){margin-right:var(--spacingHorizontalXL);}"]}),gh=vr({base:{qhf8xq:"f1euv43f"},slices:{B3gf25r:"f16m7w7k",Be2twx7:["f1o4hhgz","fb4gjrz"],Bvaow4n:"f1pgb5nx",Gpecfs:["fugirid","f4sk99m"],bhabj1:"fjreaf3",B7rc6i7:["f1k4vw81","f1w1xcy7"],Bwrfys5:"f1ef8vxk",Bwuzm9m:["f1x2qbfv","f1xwf4nz"],fflka:"ff6xuso",do7bja:"fzpvk6c",Be8zqhl:"f4onu7f",Bij0kh0:["f1ydfez1","fjensob"],Bwexnyt:"f1yv732j",Bhe5x6o:"fchq2fj",B3kv7bh:"ff5binh"},rtlSlices:{B3gf25r:"f5vdl61",Bvaow4n:"f1bnra92",bhabj1:"f4ibo7t",Bwrfys5:"f17heuis",Bwuzm9m:["f64f2ud","f1yjglu3"],Be8zqhl:"fa6l61x",Bij0kh0:["f1w2396a","f14ab3yo"]},thick:{uiicq7:"fnyfzln"},thicker:{uiicq7:"f1xdzzot"},thickest:{uiicq7:"f1auhru5"}},{d:[".f1euv43f{position:absolute;}",".f16m7w7k:nth-of-type(1):nth-last-of-type(2){clip-path:inset(0 calc(25% + (var(--fuiAvatarGroupItem__divider--width) / 2)) 0 25%);}",".f1o4hhgz:nth-of-type(1):nth-last-of-type(2){left:-25%;}",".fb4gjrz:nth-of-type(1):nth-last-of-type(2){right:-25%;}",".f1pgb5nx:nth-of-type(2):nth-last-of-type(1){clip-path:inset(0 25% 0 calc(25% + (var(--fuiAvatarGroupItem__divider--width) / 2)));}",".fugirid:nth-of-type(2):nth-last-of-type(1){left:25%;}",".f4sk99m:nth-of-type(2):nth-last-of-type(1){right:25%;}",".fjreaf3:nth-of-type(1):nth-last-of-type(3){clip-path:inset(0 calc(25% + (var(--fuiAvatarGroupItem__divider--width) / 2)) 0 25%);}",".f1k4vw81:nth-of-type(1):nth-last-of-type(3){left:-25%;}",".f1w1xcy7:nth-of-type(1):nth-last-of-type(3){right:-25%;}",".f1ef8vxk:nth-of-type(2):nth-last-of-type(2){clip-path:inset(0 0 var(--fuiAvatarGroupItem__divider--width) var(--fuiAvatarGroupItem__divider--width));}",".f1x2qbfv:nth-of-type(2):nth-last-of-type(2){left:50%;}",".f1xwf4nz:nth-of-type(2):nth-last-of-type(2){right:50%;}",".ff6xuso:nth-of-type(2):nth-last-of-type(2){transform:scale(0.5);}",".fzpvk6c:nth-of-type(2):nth-last-of-type(2){transform-origin:0 0;}",".f4onu7f:nth-of-type(3):nth-last-of-type(1){clip-path:inset(var(--fuiAvatarGroupItem__divider--width) 0 0 var(--fuiAvatarGroupItem__divider--width));}",".f1ydfez1:nth-of-type(3):nth-last-of-type(1){left:50%;}",".fjensob:nth-of-type(3):nth-last-of-type(1){right:50%;}",".f1yv732j:nth-of-type(3):nth-last-of-type(1){top:50%;}",".fchq2fj:nth-of-type(3):nth-last-of-type(1){transform:scale(0.5);}",".ff5binh:nth-of-type(3):nth-last-of-type(1){transform-origin:0 0;}",".f5vdl61:nth-of-type(1):nth-last-of-type(2){clip-path:inset(0 25% 0 calc(25% + (var(--fuiAvatarGroupItem__divider--width) / 2)));}",".f1bnra92:nth-of-type(2):nth-last-of-type(1){clip-path:inset(0 calc(25% + (var(--fuiAvatarGroupItem__divider--width) / 2)) 0 25%);}",".f4ibo7t:nth-of-type(1):nth-last-of-type(3){clip-path:inset(0 25% 0 calc(25% + (var(--fuiAvatarGroupItem__divider--width) / 2)));}",".f17heuis:nth-of-type(2):nth-last-of-type(2){clip-path:inset(0 var(--fuiAvatarGroupItem__divider--width) var(--fuiAvatarGroupItem__divider--width) 0);}",".f64f2ud:nth-of-type(2):nth-last-of-type(2){left:0;}",".f1yjglu3:nth-of-type(2):nth-last-of-type(2){right:0;}",".fa6l61x:nth-of-type(3):nth-last-of-type(1){clip-path:inset(var(--fuiAvatarGroupItem__divider--width) var(--fuiAvatarGroupItem__divider--width) 0 0);}",".f1w2396a:nth-of-type(3):nth-last-of-type(1){left:0;}",".f14ab3yo:nth-of-type(3):nth-last-of-type(1){right:0;}",".fnyfzln{--fuiAvatarGroupItem__divider--width:var(--strokeWidthThick);}",".f1xdzzot{--fuiAvatarGroupItem__divider--width:var(--strokeWidthThicker);}",".f1auhru5{--fuiAvatarGroupItem__divider--width:var(--strokeWidthThickest);}"]}),vh=(e,t)=>{const r=ph(),o=hh(),n=[];return t&&("stack"===e?(t<56?n.push(r.thick):t<72?n.push(r.thicker):n.push(r.thickest),t<24?n.push(r.xxs):t<48?n.push(r.xs):t<96?n.push(r.s):n.push(r.l)):"spread"===e&&(t<20?n.push(o.s):t<32?n.push(o.mNudge):t<64?n.push(o.l):n.push(o.xl))),te(...n)},mh=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=ih(e=>e.isOverflow),o=ih(e=>e.size),n=ih(e=>e.layout),{style:a,className:i,overflowLabel:l,...s}=e,c=null!=o?o:lh;return vc(oh),{isOverflowItem:r,layout:n,size:c,components:{root:r?"li":"div",avatar:rh,overflowLabel:"span"},root:wr(e.root,{defaultProps:{style:a,className:i},elementType:r?"li":"div"}),avatar:wr(e.avatar,{defaultProps:{ref:t,size:c,color:"colorful",...s},elementType:rh}),overflowLabel:wr(l,{defaultProps:{"aria-hidden":!0,children:e.name},elementType:"span"})}})(e,t);return(e=>{const{isOverflowItem:t,layout:r,size:o}=e,{dir:n}=ro(),a=uh(),i=fh(),l=gh(),s=dh(),c=Qp(),d=vh(r,o),u=[s.base];t?u.push(s.overflowItem):(u.push(s.nonOverflowItem),u.push(d),u.push(c[o]),"pie"===r&&(u.push(l.base),o<56?u.push(l.thick):o<72?u.push(l.thicker):u.push(l.thickest),u.push(l.slices),"rtl"===n&&u.push(l.rtlSlices))),e.root.className=te("fui-AvatarGroupItem",...u,e.root.className),e.avatar.className=te("fui-AvatarGroupItem__avatar",!t&&a.nonOverflowItem,"pie"===r&&a.pie,e.avatar.className),e.overflowLabel&&(e.overflowLabel.className=te("fui-AvatarGroupItem__overflowLabel",i.base,e.overflowLabel.className))})(r),co("useAvatarGroupItemStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.avatar,{}),e.isOverflowItem&&gn(e.overflowLabel,{})]}))(r)});mh.displayName="AvatarGroupItem";const bh="data-popper-is-intersecting",Ch="data-popper-escaped",yh="data-popper-reference-hidden",xh="fui-positioningend",wh="--fui-positioning-slide-direction-x",kh="--fui-positioning-slide-direction-y";function Bh(e){const{targetDocument:t,onPositioningEnd:r}=e,o=So(e=>{null==r||r(e);const t=e.target,o=e.detail.placement;if(!Go(t))return;const{x:n,y:a}=function(e){const t=e.split("-")[0];let r=0,o=1;return"right"===t?(r=-1,o=0):"bottom"===t?(r=0,o=-1):"left"===t&&(r=1,o=0),{x:r,y:o}}(o);t.style.setProperty(wh,`${n}px`),t.style.setProperty(kh,`${a}px`)});return u.useEffect(()=>{var e,r,o;const n=null!==(o=null==t||null===(r=t.defaultView)||void 0===r||null===(e=r.CSS)||void 0===e?void 0:e.registerProperty)&&void 0!==o?o:()=>{};try{n({name:wh,syntax:"<length>",inherits:!1,initialValue:"0px"}),n({name:kh,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch(e){}},[t]),o}const zh=({options:e})=>e,jh=u.createContext(void 0),Sh=(jh.Provider,["top","right","bottom","left"]),Nh=Math.min,_h=Math.max,Th=Math.round,qh=(Math.floor,e=>({x:e,y:e})),Fh={left:"right",right:"left",bottom:"top",top:"bottom"};function Dh(e,t,r){return _h(e,Nh(t,r))}function Eh(e,t){return"function"==typeof e?e(t):e}function Ph(e){return e.split("-")[0]}function Ih(e){return e.split("-")[1]}function Oh(e){return"x"===e?"y":"x"}function Ah(e){return"y"===e?"height":"width"}function Rh(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function Mh(e){return Oh(Rh(e))}function Hh(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Lh=["left","right"],Vh=["right","left"],Wh=["top","bottom"],Zh=["bottom","top"];function Uh(e){const t=Ph(e);return Fh[t]+e.slice(t.length)}function Gh(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Xh(e){const{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}function $h(e,t,r){let{reference:o,floating:n}=e;const a=Rh(t),i=Mh(t),l=Ah(i),s=Ph(t),c="y"===a,d=o.x+o.width/2-n.width/2,u=o.y+o.height/2-n.height/2,f=o[l]/2-n[l]/2;let p;switch(s){case"top":p={x:d,y:o.y-n.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:u};break;case"left":p={x:o.x-n.width,y:u};break;default:p={x:o.x,y:o.y}}switch(Ih(t)){case"start":p[i]-=f*(r&&c?-1:1);break;case"end":p[i]+=f*(r&&c?-1:1)}return p}async function Kh(e,t){var r;void 0===t&&(t={});const{x:o,y:n,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:p=0}=Eh(t,e),h=Gh(p),g=l[f?"floating"===u?"reference":"floating":u],v=Xh(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(g)))||r?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:s})),m="floating"===u?{x:o,y:n,width:i.floating.width,height:i.floating.height}:i.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),C=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},y=Xh(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:m,offsetParent:b,strategy:s}):m);return{top:(v.top-y.top+h.top)/C.y,bottom:(y.bottom-v.bottom+h.bottom)/C.y,left:(v.left-y.left+h.left)/C.x,right:(y.right-v.right+h.right)/C.x}}function Yh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Jh(e){return Sh.some(t=>e[t]>=0)}const Qh=new Set(["left","top"]);function eg(){return"undefined"!=typeof window}function tg(e){return ng(e)?(e.nodeName||"").toLowerCase():"#document"}function rg(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function og(e){var t;return null==(t=(ng(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ng(e){return!!eg()&&(e instanceof Node||e instanceof rg(e).Node)}function ag(e){return!!eg()&&(e instanceof Element||e instanceof rg(e).Element)}function ig(e){return!!eg()&&(e instanceof HTMLElement||e instanceof rg(e).HTMLElement)}function lg(e){return!(!eg()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof rg(e).ShadowRoot)}function sg(e){const{overflow:t,overflowX:r,overflowY:o,display:n}=bg(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&"inline"!==n&&"contents"!==n}function cg(e){return/^(table|td|th)$/.test(tg(e))}function dg(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const ug=/transform|translate|scale|rotate|perspective|filter/,fg=/paint|layout|strict|content/,pg=e=>!!e&&"none"!==e;let hg;function gg(e){const t=ag(e)?bg(e):e;return pg(t.transform)||pg(t.translate)||pg(t.scale)||pg(t.rotate)||pg(t.perspective)||!vg()&&(pg(t.backdropFilter)||pg(t.filter))||ug.test(t.willChange||"")||fg.test(t.contain||"")}function vg(){return null==hg&&(hg="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),hg}function mg(e){return/^(html|body|#document)$/.test(tg(e))}function bg(e){return rg(e).getComputedStyle(e)}function Cg(e){return ag(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yg(e){if("html"===tg(e))return e;const t=e.assignedSlot||e.parentNode||lg(e)&&e.host||og(e);return lg(t)?t.host:t}function xg(e){const t=yg(e);return mg(t)?e.ownerDocument?e.ownerDocument.body:e.body:ig(t)&&sg(t)?t:xg(t)}function wg(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const n=xg(e),a=n===(null==(o=e.ownerDocument)?void 0:o.body),i=rg(n);if(a){const e=kg(i);return t.concat(i,i.visualViewport||[],sg(n)?n:[],e&&r?wg(e):[])}return t.concat(n,wg(n,[],r))}function kg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Bg(e){const t=bg(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=ig(e),a=n?e.offsetWidth:r,i=n?e.offsetHeight:o,l=Th(r)!==a||Th(o)!==i;return l&&(r=a,o=i),{width:r,height:o,$:l}}function zg(e){return ag(e)?e:e.contextElement}function jg(e){const t=zg(e);if(!ig(t))return qh(1);const r=t.getBoundingClientRect(),{width:o,height:n,$:a}=Bg(t);let i=(a?Th(r.width):r.width)/o,l=(a?Th(r.height):r.height)/n;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const Sg=qh(0);function Ng(e){const t=rg(e);return vg()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Sg}function _g(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const n=e.getBoundingClientRect(),a=zg(e);let i=qh(1);t&&(o?ag(o)&&(i=jg(o)):i=jg(e));const l=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==rg(e))&&t}(a,r,o)?Ng(a):qh(0);let s=(n.left+l.x)/i.x,c=(n.top+l.y)/i.y,d=n.width/i.x,u=n.height/i.y;if(a){const e=rg(a),t=o&&ag(o)?rg(o):o;let r=e,n=kg(r);for(;n&&o&&t!==r;){const e=jg(n),t=n.getBoundingClientRect(),o=bg(n),a=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;s*=e.x,c*=e.y,d*=e.x,u*=e.y,s+=a,c+=i,r=rg(n),n=kg(r)}}return Xh({width:d,height:u,x:s,y:c})}function Tg(e,t){const r=Cg(e).scrollLeft;return t?t.left+r:_g(og(e)).left+r}function qg(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-Tg(e,r),y:r.top+t.scrollTop}}function Fg(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=rg(e),o=og(e),n=r.visualViewport;let a=o.clientWidth,i=o.clientHeight,l=0,s=0;if(n){a=n.width,i=n.height;const e=vg();(!e||e&&"fixed"===t)&&(l=n.offsetLeft,s=n.offsetTop)}const c=Tg(o);if(c<=0){const e=o.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-n);i<=25&&(a-=i)}else c<=25&&(a+=c);return{width:a,height:i,x:l,y:s}}(e,r);else if("document"===t)o=function(e){const t=og(e),r=Cg(e),o=e.ownerDocument.body,n=_h(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=_h(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-r.scrollLeft+Tg(e);const l=-r.scrollTop;return"rtl"===bg(o).direction&&(i+=_h(t.clientWidth,o.clientWidth)-n),{width:n,height:a,x:i,y:l}}(og(e));else if(ag(t))o=function(e,t){const r=_g(e,!0,"fixed"===t),o=r.top+e.clientTop,n=r.left+e.clientLeft,a=ig(e)?jg(e):qh(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:n*a.x,y:o*a.y}}(t,r);else{const r=Ng(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Xh(o)}function Dg(e,t){const r=yg(e);return!(r===t||!ag(r)||mg(r))&&("fixed"===bg(r).position||Dg(r,t))}function Eg(e,t,r){const o=ig(t),n=og(t),a="fixed"===r,i=_g(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=qh(0);function c(){s.x=Tg(n)}if(o||!o&&!a)if(("body"!==tg(t)||sg(n))&&(l=Cg(t)),o){const e=_g(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else n&&c();a&&!o&&n&&c();const d=!n||o||a?qh(0):qg(n,l);return{x:i.left+l.scrollLeft-s.x-d.x,y:i.top+l.scrollTop-s.y-d.y,width:i.width,height:i.height}}function Pg(e){return"static"===bg(e).position}function Ig(e,t){if(!ig(e)||"fixed"===bg(e).position)return null;if(t)return t(e);let r=e.offsetParent;return og(e)===r&&(r=r.ownerDocument.body),r}function Og(e,t){const r=rg(e);if(dg(e))return r;if(!ig(e)){let t=yg(e);for(;t&&!mg(t);){if(ag(t)&&!Pg(t))return t;t=yg(t)}return r}let o=Ig(e,t);for(;o&&cg(o)&&Pg(o);)o=Ig(o,t);return o&&mg(o)&&Pg(o)&&!gg(o)?r:o||function(e){let t=yg(e);for(;ig(t)&&!mg(t);){if(gg(t))return t;if(dg(t))return null;t=yg(t)}return null}(e)||r}const Ag={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e;const a="fixed"===n,i=og(o),l=!!t&&dg(t.floating);if(o===i||l&&a)return r;let s={scrollLeft:0,scrollTop:0},c=qh(1);const d=qh(0),u=ig(o);if((u||!u&&!a)&&(("body"!==tg(o)||sg(i))&&(s=Cg(o)),u)){const e=_g(o);c=jg(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const f=!i||u||a?qh(0):qg(i,s);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+d.x+f.x,y:r.y*c.y-s.scrollTop*c.y+d.y+f.y}},getDocumentElement:og,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e;const a="clippingAncestors"===r?dg(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let o=wg(e,[],!1).filter(e=>ag(e)&&"body"!==tg(e)),n=null;const a="fixed"===bg(e).position;let i=a?yg(e):e;for(;ag(i)&&!mg(i);){const t=bg(i),r=gg(i);r||"fixed"!==t.position||(n=null),(a?!r&&!n:!r&&"static"===t.position&&n&&("absolute"===n.position||"fixed"===n.position)||sg(i)&&!r&&Dg(e,i))?o=o.filter(e=>e!==i):n=t,i=yg(i)}return t.set(e,o),o}(t,this._c):[].concat(r),i=[...a,o],l=Fg(t,i[0],n);let s=l.top,c=l.right,d=l.bottom,u=l.left;for(let e=1;e<i.length;e++){const r=Fg(t,i[e],n);s=_h(r.top,s),c=Nh(r.right,c),d=Nh(r.bottom,d),u=_h(r.left,u)}return{width:c-u,height:d-s,x:u,y:s}},getOffsetParent:Og,getElementRects:async function(e){const t=this.getOffsetParent||Og,r=this.getDimensions,o=await r(e.floating);return{reference:Eg(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=Bg(e);return{width:t,height:r}},getScale:jg,isElement:ag,isRTL:function(e){return"rtl"===bg(e).direction}},Rg=Kh,Mg=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:n,middlewareData:a,rects:i,initialPlacement:l,platform:s,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...v}=Eh(e,t);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};const m=Ph(n),b=Rh(l),C=Ph(l)===l,y=await(null==s.isRTL?void 0:s.isRTL(c.floating)),x=f||(C||!g?[Uh(l)]:function(e){const t=Uh(e);return[Hh(e),t,Hh(t)]}(l)),w="none"!==h;!f&&w&&x.push(...function(e,t,r,o){const n=Ih(e);let a=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Vh:Lh:t?Lh:Vh;case"left":case"right":return t?Wh:Zh;default:return[]}}(Ph(e),"start"===r,o);return n&&(a=a.map(e=>e+"-"+n),t&&(a=a.concat(a.map(Hh)))),a}(l,g,h,y));const k=[l,...x],B=await s.detectOverflow(t,v),z=[];let j=(null==(o=a.flip)?void 0:o.overflows)||[];if(d&&z.push(B[m]),u){const e=function(e,t,r){void 0===r&&(r=!1);const o=Ih(e),n=Mh(e),a=Ah(n);let i="x"===n?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Uh(i)),[i,Uh(i)]}(n,i,y);z.push(B[e[0]],B[e[1]])}if(j=[...j,{placement:n,overflows:z}],!z.every(e=>e<=0)){var S,N;const e=((null==(S=a.flip)?void 0:S.index)||0)+1,t=k[e];if(t&&("alignment"!==u||b===Rh(t)||j.every(e=>Rh(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:j},reset:{placement:t}};let r=null==(N=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:N.placement;if(!r)switch(p){case"bestFit":{var _;const e=null==(_=j.filter(e=>{if(w){const t=Rh(e.placement);return t===b||"y"===t}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])?void 0:_[0];e&&(r=e);break}case"initialPlacement":r=l}if(n!==r)return{reset:{placement:r}}}return{}}}},Hg=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:o}=t,{strategy:n="referenceHidden",...a}=Eh(e,t);switch(n){case"referenceHidden":{const e=Yh(await o.detectOverflow(t,{...a,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Jh(e)}}}case"escaped":{const e=Yh(await o.detectOverflow(t,{...a,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:Jh(e)}}}default:return{}}}}},Lg=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:n,rects:a,platform:i,elements:l,middlewareData:s}=t,{element:c,padding:d=0}=Eh(e,t)||{};if(null==c)return{};const u=Gh(d),f={x:r,y:o},p=Mh(n),h=Ah(p),g=await i.getDimensions(c),v="y"===p,m=v?"top":"left",b=v?"bottom":"right",C=v?"clientHeight":"clientWidth",y=a.reference[h]+a.reference[p]-f[p]-a.floating[h],x=f[p]-a.reference[p],w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let k=w?w[C]:0;k&&await(null==i.isElement?void 0:i.isElement(w))||(k=l.floating[C]||a.floating[h]);const B=y/2-x/2,z=k/2-g[h]/2-1,j=Nh(u[m],z),S=Nh(u[b],z),N=j,_=k-g[h]-S,T=k/2-g[h]/2+B,q=Dh(N,T,_),F=!s.arrow&&null!=Ih(n)&&T!==q&&a.reference[h]/2-(T<N?j:S)-g[h]/2<0,D=F?T<N?T-N:T-_:0;return{[p]:f[p]+D,data:{[p]:q,centerOffset:T-q-D,...F&&{alignmentOffset:D}},reset:F}}}),Vg=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:n,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=Eh(e,t),d={x:r,y:o},u=Rh(n),f=Oh(u);let p=d[f],h=d[u];const g=Eh(l,t),v="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(s){const e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+v.mainAxis,r=a.reference[f]+a.reference[e]-v.mainAxis;p<t?p=t:p>r&&(p=r)}if(c){var m,b;const e="y"===f?"width":"height",t=Qh.has(Ph(n)),r=a.reference[u]-a.floating[e]+(t&&(null==(m=i.offset)?void 0:m[u])||0)+(t?0:v.crossAxis),o=a.reference[u]+a.reference[e]+(t?0:(null==(b=i.offset)?void 0:b[u])||0)-(t?v.crossAxis:0);h<r?h=r:h>o&&(h=o)}return{[f]:p,[u]:h}}}};function Wg(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const Zg=e=>{const t=e&&(e=>"HTML"===e.nodeName?e:e.parentNode||e.host)(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:o,overflowY:n}=(e=>{var t;if(1!==e.nodeType)return{};const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}})(t);return/(auto|scroll|overlay)/.test(r+n+o)?t:Zg(t)};function Ug(e,t){if("window"===t)return null==e?void 0:e.ownerDocument.documentElement;if("clippingParents"===t)return"clippingAncestors";if("scrollParent"===t){let t=Zg(e);return"BODY"===t.nodeName&&(t=null==e?void 0:e.ownerDocument.documentElement),t}return t}function Gg(e,t){return"number"==typeof e||"object"==typeof e&&null!==e?Xg(e,t):"function"==typeof e?r=>{const o=e(r);return Xg(o,t)}:{mainAxis:t}}const Xg=(e,t)=>{return"number"==typeof e?{mainAxis:e+t}:{...e,mainAxis:(null!==(r=e.mainAxis)&&void 0!==r?r:0)+t};var r};function $g(e,t){if("number"==typeof e)return e;const{start:r,end:o,...n}=e,a=n,i=t?"end":"start",l=t?"start":"end";return e[i]&&(a.left=e[i]),e[l]&&(a.right=e[l]),a}const Kg=(e,t,r)=>{const o=((e,t)=>{const r="above"===e||"below"===e,o="top"===t||"bottom"===t;return r&&o||!r&&!o})(t,e)?"center":e,n=t&&(e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}))(r)[t],a=o&&{start:"start",end:"end",top:"start",bottom:"end",center:void 0}[o];return n&&a?`${n}-${a}`:n},Yg={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 Jg(e){return null==e?{}:"string"==typeof e?Yg[e]:e}function Qg(e,t,r){const o=u.useRef(!0),[n]=u.useState(()=>({value:e,callback:t,facade:{get current(){return n.value},set current(e){const t=n.value;if(t!==e){if(n.value=e,r&&o.current)return;n.callback(e,t)}}}}));return jo(()=>{o.current=!1},[]),n.callback=t,n.facade}function ev(e){const t=[];let r=e;for(;r;){const o=Zg(r);if(e.ownerDocument.body===o){t.push(o);break}if("BODY"===o.nodeName&&o!==e.ownerDocument.body)break;t.push(o),r=o}return t}function tv(e){let t=!1;const{container:r,target:o,arrow:n,strategy:a,middleware:i,placement:l,useTransform:s=!0,disableUpdateOnResize:c=!1}=e,d=r.ownerDocument.defaultView;if(!o||!r||!d)return{updatePosition:()=>{},dispose:()=>{}};const u=c?null:function(e){return new e.ResizeObserver(e=>{e.every(e=>e.contentRect.width>0&&e.contentRect.height>0)&&g()})}(d);let f=!0;const p=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const h=()=>{t||(f&&(ev(r).forEach(e=>p.add(e)),Go(o)&&ev(o).forEach(e=>p.add(e)),p.forEach(e=>{e.addEventListener("scroll",g,{passive:!0})}),null==u||u.observe(r),Go(o)&&(null==u||u.observe(o)),f=!1),Object.assign(r.style,{position:a}),((e,t,r)=>{const o=new Map,n={platform:Ag,...r},a={...n.platform,_c:o};return(async(e,t,r)=>{const{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:i}=r,l=i.detectOverflow?i:{...i,detectOverflow:Kh},s=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:u}=$h(c,o,s),f=o,p=0;const h={};for(let r=0;r<a.length;r++){const g=a[r];if(!g)continue;const{name:v,fn:m}=g,{x:b,y:C,data:y,reset:x}=await m({x:d,y:u,initialPlacement:o,placement:f,strategy:n,middlewareData:h,rects:c,platform:l,elements:{reference:e,floating:t}});d=null!=b?b:d,u=null!=C?C:u,h[v]={...h[v],...y},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(f=x.placement),x.rects&&(c=!0===x.rects?await i.getElementRects({reference:e,floating:t,strategy:n}):x.rects),({x:d,y:u}=$h(c,f,s))),r=-1)}return{x:d,y:u,placement:f,strategy:n,middlewareData:h}})(e,t,{...n,platform:a})})(o,r,{placement:l,middleware:i,strategy:a}).then(({x:e,y:o,middlewareData:i,placement:l})=>{t||(function(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:o,y:n}=r.arrow;Object.assign(t.style,{left:null!=o?`${o}px`:"",top:null!=n?`${n}px`:""})}({arrow:n,middlewareData:i}),function(e){var t,r,o;const{container:n,placement:a,middlewareData:i,strategy:l,lowPPI:s,coordinates:c,useTransform:d=!0}=e;if(!n)return;n.setAttribute("data-popper-placement",a),n.removeAttribute(bh),i.intersectionObserver.intersecting&&n.setAttribute(bh,""),n.removeAttribute(Ch),(null===(t=i.hide)||void 0===t?void 0:t.escaped)&&n.setAttribute(Ch,""),n.removeAttribute(yh),(null===(r=i.hide)||void 0===r?void 0:r.referenceHidden)&&n.setAttribute(yh,"");const u=(null===(o=n.ownerDocument.defaultView)||void 0===o?void 0:o.devicePixelRatio)||1,f=Math.round(c.x*u)/u,p=Math.round(c.y*u)/u;Object.assign(n.style,{position:l}),d?Object.assign(n.style,{transform:s?`translate(${f}px, ${p}px)`:`translate3d(${f}px, ${p}px, 0)`}):Object.assign(n.style,{left:`${f}px`,top:`${p}px`})}({container:r,middlewareData:i,placement:l,coordinates:{x:e,y:o},lowPPI:((null==d?void 0:d.devicePixelRatio)||1)<=1,strategy:a,useTransform:s}),r.dispatchEvent(new CustomEvent(xh,{detail:{placement:l}})))}).catch(e=>{}))},g=function(){let e;return()=>(e||(e=new Promise(t=>{Promise.resolve().then(()=>{e=void 0,t(h())})})),e)}();return d&&(d.addEventListener("scroll",g,{passive:!0}),d.addEventListener("resize",g)),g(),{updatePosition:g,dispose:()=>{t=!0,d&&(d.removeEventListener("scroll",g),d.removeEventListener("resize",g)),p.forEach(e=>{e.removeEventListener("scroll",g)}),p.clear(),null==u||u.disconnect()}}}function rv(e){const{hasScrollableElement:t,flipBoundary:r,container:o,fallbackPositions:n=[],isRtl:a}=e,i=n.reduce((e,t)=>{const{position:r,align:o}=Jg(t),n=Kg(o,r,a);return n&&e.push(n),e},[]);return Mg({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:Ug(o,r)},fallbackStrategy:"bestFit",...i.length&&{fallbackPlacements:i}})}const ov=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var o;if(null===(o=t.resetMaxSize)||void 0===o?void 0:o.maxSizeAlreadyReset)return{};const{applyMaxWidth:n,applyMaxHeight:a}=e;return n&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),a&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function nv(e,t){const{container:r,overflowBoundary:o,overflowBoundaryPadding:n,isRtl:a}=t;return function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:n,rects:a,platform:i,elements:l}=t,{apply:s=()=>{},...c}=Eh(e,t),d=await i.detectOverflow(t,c),u=Ph(n),f=Ih(n),p="y"===Rh(n),{width:h,height:g}=a.floating;let v,m;"top"===u||"bottom"===u?(v=u,m=f===(await(null==i.isRTL?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(m=u,v="end"===f?"top":"bottom");const b=g-d.top-d.bottom,C=h-d.left-d.right,y=Nh(g-d[v],b),x=Nh(h-d[m],C),w=!t.middlewareData.shift;let k=y,B=x;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(B=C),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(k=b),w&&!f){const e=_h(d.left,0),t=_h(d.right,0),r=_h(d.top,0),o=_h(d.bottom,0);p?B=h-2*(0!==e||0!==t?e+t:_h(d.left,d.right)):k=g-2*(0!==r||0!==o?r+o:_h(d.top,d.bottom))}await s({...t,availableWidth:B,availableHeight:k});const z=await i.getDimensions(l.floating);return h!==z.width||g!==z.height?{reset:{rects:!0}}:{}}}}({...n&&{padding:$g(n,a)},...o&&{altBoundary:!0,boundary:Ug(r,o)},apply({availableHeight:t,availableWidth:r,elements:o,rects:n}){const a=(e,t,r)=>{if(e&&(o.floating.style.setProperty("box-sizing","border-box"),o.floating.style.setProperty(`max-${t}`,`${r}px`),n.floating[t]>r)){o.floating.style.setProperty(t,`${r}px`);const e="width"===t?"x":"y";o.floating.style.getPropertyValue(`overflow-${e}`)||o.floating.style.setProperty(`overflow-${e}`,"auto")}},{applyMaxWidth:i,applyMaxHeight:l}=e;a(i,"width",r),a(l,"height",t)}})}function av(e){const t=(r=e)?"number"==typeof r||"object"==typeof r?r:({rects:{floating:e,reference:t},placement:o})=>{const{position:n,alignment:a}=(e=>{const{side:t,alignment:r}=Wg(e),o={top:"above",bottom:"below",right:"after",left:"before"}[t],n=r&&(e=>"above"===e||"below"===e?{start:"start",end:"end"}:{start:"top",end:"bottom"})(o)[r];return{position:o,alignment:n}})(o);return r({positionedRect:e,targetRect:t,position:n,alignment:a})}:r;var r,o;return void 0===(o=t)&&(o=0),{name:"offset",options:o,async fn(e){var t,r;const{x:n,y:a,placement:i,middlewareData:l}=e,s=await async function(e,t){const{placement:r,platform:o,elements:n}=e,a=await(null==o.isRTL?void 0:o.isRTL(n.floating)),i=Ph(r),l=Ih(r),s="y"===Rh(r),c=Qh.has(i)?-1:1,d=a&&s?-1:1,u=Eh(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),s?{x:p*d,y:f*c}:{x:f*c,y:p*d}}(e,o);return i===(null==(t=l.offset)?void 0:t.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:n+s.x,y:a+s.y,data:{...s,placement:i}}}}}function iv(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:o,overflowBoundary:n,container:a,overflowBoundaryPadding:i,isRtl:l}=e;return function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:n,platform:a}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=Eh(e,t),d={x:r,y:o},u=await a.detectOverflow(t,c),f=Rh(Ph(n)),p=Oh(f);let h=d[p],g=d[f];if(i){const e="y"===p?"bottom":"right";h=Dh(h+u["y"===p?"top":"left"],h,h-u[e])}if(l){const e="y"===f?"bottom":"right";g=Dh(g+u["y"===f?"top":"left"],g,g-u[e])}const v=s.fn({...t,[p]:h,[f]:g});return{...v,data:{x:v.x-r,y:v.y-o,enabled:{[p]:i,[f]:l}}}}}}({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:Vg({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:"all"===o,limiter:Vg({crossAxis:"all"!==o,mainAxis:!1})},...i&&{padding:$g(i,l)},...n&&{altBoundary:!0,boundary:Ug(a,n)}})}const lv="--fui-match-target-size";function sv(e){const t=u.useRef(null),r=u.useRef(null),o=u.useRef(null),n=u.useRef(null),a=u.useRef(null),{enabled:i=!0}=e,l=function(e){const{dir:t,targetDocument:r}=ro(),o="rtl"===t,n=function(e,t){const{align:r,arrowPadding:o,autoSize:n,coverTarget:a,disableUpdateOnResize:i,flipBoundary:l,offset:s,overflowBoundary:c,pinned:d,position:f,unstable_disableTether:p,strategy:h,overflowBoundaryPadding:g,fallbackPositions:v,useTransform:m,matchTargetSize:b,shiftToCoverTarget:C}=t;return u.useCallback((t,u)=>e({container:t,arrow:u,options:{autoSize:n,disableUpdateOnResize:i,matchTargetSize:b,offset:s,strategy:h,coverTarget:a,flipBoundary:l,overflowBoundary:c,useTransform:m,overflowBoundaryPadding:g,pinned:d,arrowPadding:o,align:r,fallbackPositions:v,shiftToCoverTarget:C,position:f,unstable_disableTether:p}}),[n,i,b,s,h,a,l,c,m,g,d,o,r,v,C,f,p,e])}(null!==(a=u.useContext(jh))&&void 0!==a?a:zh,e);var a;const{positionFixed:i}=e;return u.useCallback((e,t)=>{const r=(e=>{var t;const r=Zg(e);return!!r&&r!==(null===(t=r.ownerDocument)||void 0===t?void 0:t.body)})(e),a=n(e,t),{autoSize:l,disableUpdateOnResize:s,matchTargetSize:c,offset:d,coverTarget:u,flipBoundary:f,overflowBoundary:p,useTransform:h,overflowBoundaryPadding:g,pinned:v,position:m,arrowPadding:b,strategy:C,align:y,fallbackPositions:x,shiftToCoverTarget:w,unstable_disableTether:k}=a,B=(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}})(l),z=[B&&ov(B),c&&{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:n=!1}={}}}=e;if(t.width===r.width||n)return{};const{width:a}=t;return o.style.setProperty(lv,`${a}px`),o.style.width||(o.style.width=`var(${lv})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}},d&&av(d),u&&{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:o,y:n}=e,a={x:o,y:n};switch(Wg(t).side){case"bottom":a.y-=r.reference.height;break;case"top":a.y+=r.reference.height;break;case"left":a.x+=r.reference.width;break;case"right":a.x-=r.reference.width}return a}},!v&&rv({container:e,flipBoundary:f,hasScrollableElement:r,isRtl:o,fallbackPositions:x}),iv({container:e,hasScrollableElement:r,overflowBoundary:p,disableTether:k,overflowBoundaryPadding:g,isRtl:o,shiftToCoverTarget:w}),B&&nv(B,{container:e,overflowBoundary:p,overflowBoundaryPadding:g,isRtl:o}),{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await Rg(e,{altBoundary:!0}),o=r.top<t.height&&r.top>0,n=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:o||n}}}},t&&Lg({element:t,padding:b}),Hg({strategy:"referenceHidden"}),Hg({strategy:"escaped"}),!1].filter(Boolean);return{placement:Kg(y,m,o),middleware:z,strategy:(null!=C?C:i)?"fixed":"absolute",disableUpdateOnResize:s,useTransform:h}},[n,o,r,i])}(e),s=u.useCallback(()=>{var e;t.current&&t.current.dispose(),t.current=null;const s=null!==(e=o.current)&&void 0!==e?e:r.current;i&&wo()&&s&&n.current&&(t.current=tv({container:n.current,target:s,arrow:a.current,...l(n.current,a.current)}))},[i,l]),c=So(e=>{o.current=e,s()});u.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.updatePosition()},setTarget:t=>{e.target,c(t)}}),[e.target,c]),jo(()=>{var t;c(null!==(t=e.target)&&void 0!==t?t:null)},[e.target,c]),jo(()=>{s()},[s]);const d=Qg(null,e=>{r.current!==e&&(r.current=e,s())}),f=So(t=>{var r;return null===(r=e.onPositioningEnd)||void 0===r?void 0:r.call(e,t)}),p=Qg(null,e=>{var t;n.current!==e&&(null===(t=n.current)||void 0===t||t.removeEventListener(xh,f),null==e||e.addEventListener(xh,f),n.current=e,s())}),h=Qg(null,e=>{a.current!==e&&(a.current=e,s())});return{targetRef:d,containerRef:p,arrowRef:h}}const cv=e=>{const[t,r]=u.useState(e);return[t,e=>{if(null==e)return void r(void 0);let t;t=e instanceof MouseEvent?e:e.nativeEvent,MouseEvent;const o=function(e){const t=e.clientX,r=e.clientY,o=t+1,n=r+1;return{getBoundingClientRect:function(){return{left:t,top:r,right:o,bottom:n,x:t,y:r,height:1,width:1}}}}(t);r(o)}]};function dv(){let e=!1;const t=[];return{isActive:()=>e,toggleActive(r){e!==r&&(e=r,t.forEach(t=>t(e)))},subscribe:e=>(t.push(e),()=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)})}}var uv,fv={exports:{}},pv={};fv.exports,fv.exports=function(){if(uv)return pv;uv=1;var e=u,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=e.useState,o=e.useEffect,n=e.useLayoutEffect,a=e.useDebugValue;function i(e){var r=e.getSnapshot;e=e.value;try{var o=r();return!t(e,o)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var l=t(),s=r({inst:{value:l,getSnapshot:t}}),c=s[0].inst,d=s[1];return n(function(){c.value=l,c.getSnapshot=t,i(c)&&d({inst:c})},[e,l,t]),o(function(){return i(c)&&d({inst:c}),e(function(){i(c)&&d({inst:c})})},[e]),a(l),l};return pv.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:l,pv}();var hv=fv.exports;function gv(e,t){return{topLeft:[e.left-t[0],e.top-t[1]],topRight:[e.right-t[0],e.top-t[1]],bottomRight:[e.right-t[0],e.bottom-t[1]],bottomLeft:[e.left-t[0],e.bottom-t[1]]}}function vv(e,t){return Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2)}function mv(e){return`M ${e} z`}const bv=vr({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function Cv(e){if(e.width<=0||e.height<=0)return"";let t="";return t+=`M ${e.x},${e.y} `,t+=`V ${e.y+e.height} `,t+=`H ${e.x+e.width} `,t+=`V ${e.y} `,t+=`H ${e.x} `,t+="Z ",t}const yv={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON:()=>""};function xv(e,t){return e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left&&e.width===t.width&&e.height===t.height}const wv=u.memo(e=>{const{debug:t,onMouseEnter:r,onMouseMove:o,onMouseLeave:n,stateStore:a}=e,i=qo(),l=bv(),s=hv.useSyncExternalStore(a.subscribe,a.isActive),c=u.useRef(null),[d,f]=u.useState(()=>({containerRect:yv,targetRect:yv,mouseCoordinates:[0,0]}));u.useImperativeHandle(e.imperativeRef,()=>({updateSVG(e){f(t=>{return xv(t.containerRect,e.containerRect)&&xv(t.targetRect,e.targetRect)&&(r=t.mouseCoordinates,o=e.mouseCoordinates,r[0]===o[0]&&r[1]===o[1])?t:e;var r,o})}}),[]);const{containerRect:p,targetRect:h,mouseCoordinates:g}=d,v=Math.min(h.top,p.top),m=Math.min(h.left,p.left),b=Math.max(h.bottom,p.bottom),C=Math.max(h.right,p.right),y=gv(p,[m,v]),x=gv(h,[m,v]),w=[g[0]-m,g[1]-v],k=function(e,t,r){const o=[(e[0]+t[0])/2,(e[1]+t[1])/2],n=function(e,t){const r=vv(e,t);return 0===r?[0,0]:[(e[0]-t[0])/r,(e[1]-t[1])/r]}([r[0],r[1]],[o[0],o[1]]),a=vv([o[0],o[1]],[r[0],r[1]]);return[o[0]+n[0]*(a+20),o[1]+n[1]*(a+20)]}(y.topLeft,y.bottomRight,w),B=[k,y.topLeft,y.topRight],z=[k,y.topRight,y.bottomRight],j=[k,y.bottomRight,y.bottomLeft],S=[k,y.bottomLeft,y.topLeft],N=C-m,_=b-v,T=function(e,t,r,o){let n=`M 0,0 H ${e} V ${t} H 0 Z `;return n+=Cv(r),n+=Cv(o),n}(N,_,{x:x.topLeft[0],y:x.topLeft[1],width:h.width,height:h.height},{x:y.topLeft[0],y:y.topLeft[1],width:p.width,height:p.height});return u.createElement("div",{className:te(l.wrapper,s&&l.wrapperActive),"data-safe-zone":""},s?u.createElement("svg",{"aria-hidden":!0,className:l.svg,xmlns:"http://www.w3.org/2000/svg",ref:c,style:{width:`${N}px`,height:`${_}px`,transform:`translate(${m}px, ${v}px)`}},u.createElement("g",{className:te(l.triangle,t&&l.triangleDebug),clipPath:`url(#${i})`,onMouseEnter:r,onMouseMove:o,onMouseLeave:n},u.createElement("path",{d:mv(B)}),u.createElement("path",{d:mv(z)}),u.createElement("path",{d:mv(j)}),u.createElement("path",{d:mv(S)})),u.createElement("clipPath",{id:i},u.createElement("path",{d:T})),t&&u.createElement("path",{className:l.rectDebug,d:T})):null)}),kv=hc(void 0),Bv={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1},zv=(kv.Provider,e=>gc(kv,(t=Bv)=>e(t))),jv=(e,t)=>{const r=zv(e=>e.size),o=zv(e=>e.appearance),n=zf();return{appearance:o,size:r,...Sv(e,Fo(t,n))}},Sv=(e,t)=>{const r=zv(e=>e.contentRef),o=zv(e=>e.openOnHover),n=zv(e=>e.setOpen),a=zv(e=>e.mountNode),i=zv(e=>e.arrowRef),l=zv(e=>e.withArrow),s=zv(e=>e.trapFocus),c=zv(e=>e.inertTrapFocus),d=zv(e=>e.inline),{modalAttributes:u}=Ri({trapFocus:s,legacyTrapFocus:!c,alwaysFocusable:!s}),f={inline:d,withArrow:l,arrowRef:i,mountNode:a,components:{root:"div"},root:wr({ref:Fo(t,r),role:s?"dialog":"group","aria-modal":!!s||void 0,...u,...e},{elementType:"div"})},{onMouseEnter:p,onMouseLeave:h,onKeyDown:g}=f.root;return f.root.onMouseEnter=e=>{o&&n(e,!0),null==p||p(e)},f.root.onMouseLeave=e=>{o&&n(e,!1),null==h||h(e)},f.root.onKeyDown=e=>{var t;"Escape"===e.key&&(null===(t=r.current)||void 0===t?void 0:t.contains(e.target))&&(e.preventDefault(),n(e,!1)),null==g||g(e)},f};function Nv(e){return Go(e)?{element:e}:"object"==typeof e?null===e?{element:null}:e:{}}const _v=vr({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;}"]}),Tv=p.useInsertionEffect,qv=()=>{let e;return{get:function(t,r){return e||(r&&(e=t.ownerDocument.createElement("div"),t.appendChild(e)),e)},dispose:function(){e&&(e.remove(),e=void 0)}}},Fv=Tv?e=>{const{className:t,dir:r,focusVisibleRef:o,targetNode:n}=e,[a]=u.useState(qv),i=u.useMemo(()=>void 0===n||e.disabled?null:new Proxy({},{get(e,t){if("nodeType"===t)return 1;if("remove"===t){const e=a.get(n,!1);return e&&0===e.childNodes.length&&a.dispose(),()=>{}}const r=a.get(n,!0),o=r?r[t]:void 0;return"function"==typeof o?o.bind(r):o},set(e,t,r){const o="_virtual"===t||"focusVisible"===t,i=o?a.get(n,!1):a.get(n,!0);return!(!o||i)||!!i&&(Object.assign(i,{[t]:r}),!0)}}),[a,n,e.disabled]);return Tv(()=>{if(!i)return;const e=t.split(" ").filter(Boolean);return i.classList.add(...e),i.setAttribute("dir",r),i.setAttribute("data-portal-node","true"),o.current=i,()=>{i.classList.remove(...e),i.removeAttribute("dir")}},[t,r,i,o]),u.useEffect(()=>()=>{null==i||i.remove()},[i]),i}:e=>{const{className:t,dir:r,focusVisibleRef:o,targetNode:n}=e,a=u.useMemo(()=>{if(void 0===n||e.disabled)return null;const t=n.ownerDocument.createElement("div");return n.appendChild(t),t},[n,e.disabled]);return u.useMemo(()=>{a&&(a.className=t,a.setAttribute("dir",r),a.setAttribute("data-portal-node","true"),o.current=a)},[t,r,a,o]),u.useEffect(()=>()=>{null==a||a.remove()},[a]),a},Dv=e=>{const t=(e=>{const{element:t,className:r}=Nv(e.mountNode),o=u.useRef(null),n=(e=>{const{targetDocument:t,dir:r}=ro(),o=u.useContext(ho),n=Ti(),a=_v(),i=null!==(l=u.useContext(Xr))&&void 0!==l?l:"";var l;const s={dir:r,disabled:e.disabled,focusVisibleRef:n,className:te(i,a.root,e.className),targetNode:null!=o?o:null==t?void 0:t.body};return Fv(s)})({disabled:!!t,className:r}),a=null!=t?t:n,i={children:e.children,mountNode:a,virtualParentRootRef:o};return u.useEffect(()=>{if(!a)return;const e=o.current,t=a.contains(e);return e&&!t?(un(a,e),()=>{un(a,void 0)}):void 0},[o,a]),i})(e);return(e=>u.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&x.createPortal(u.createElement(u.Fragment,null,e.children,u.createElement("span",{hidden:!0})),e.mountNode)))(t)};Dv.displayName="Portal";const Ev=e=>{const t=vn(e.root,{children:[e.withArrow&&gn("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:gn(Dv,{mountNode:e.mountNode,children:t})},Pv={small:6,medium:8,large:8},Iv=vr({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",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:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),Ov=e=>{const t=Iv();return e.root.className=te("fui-PopoverSurface",t.root,e.inline&&t.inline,"small"===e.size&&t.smallPadding,"medium"===e.size&&t.mediumPadding,"large"===e.size&&t.largePadding,"inverted"===e.appearance&&t.inverted,"brand"===e.appearance&&t.brand,e.root.className),e.arrowClassName=te(t.arrow,"small"===e.size?t.smallArrow:t.mediumLargeArrow),e},Av=u.forwardRef((e,t)=>{const r=jv(e,t);return Ov(r),co("usePopoverSurfaceStyles_unstable")(r),Ev(r)});Av.displayName="PopoverSurface";const Rv=ef.durationSlower,Mv=ef.curveDecelerateMid,Hv=mf(({distance:e=10})=>({enter:[If({duration:Rv,easing:Mv,direction:"enter"}),{...Vf({duration:Rv,easing:Mv,direction:"enter",outX:`calc(var(${wh}, 0px) * ${e})`,outY:`calc(var(${kh}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),Lv=e=>{const{appearance:t,size:r="medium"}=e,o=Jg(e.positioning),n=e.withArrow&&!o.coverTarget,{targetDocument:a}=ro(),i=Bh({targetDocument:a,onPositioningEnd:o.onPositioningEnd}),l=Vv({...e,positioning:{...o,onPositioningEnd:i,...n?{offset:Gg(o.offset,Pv[r])}:{}}});return{components:{surfaceMotion:Hv},appearance:t,size:r,...l,surfaceMotion:Nf(e.surfaceMotion,{elementType:Hv,defaultProps:{visible:l.open,appear:!0,unmountOnExit:!0}})}},Vv=e=>{const[t,r]=cv(),o={contextTarget:t,setContextTarget:r,...e},n=u.Children.toArray(e.children);let a,i;2===n.length?(a=n[0],i=n[1]):1===n.length&&(i=n[0]);const[l,s]=function(e){const t=So((t,r)=>{var o;return null===(o=e.onOpenChange)||void 0===o?void 0:o.call(e,t,r)}),[r,o]=yo({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=void 0!==r?r:e.open;const n=e.setContextTarget;return[r,u.useCallback((e,r)=>{r&&"contextmenu"===e.type&&n(e),r||n(void 0),o(r),null==t||t(e,{open:r})},[o,t,n])]}(o),[c,d]=Ho(),f=So((t,r)=>{var o;d(),t instanceof Event||!t.persist||t.persist(),"mouseleave"===t.type?c(()=>{s(t,r)},null!==(o=e.mouseLeaveDelay)&&void 0!==o?o:500):s(t,r)}),p=u.useCallback(e=>{f(e,!l)},[f,l]),h=function(e){const t={position:"above",align:"center",arrowPadding:8,target:e.openOnContext?e.contextTarget:void 0,...Jg(e.positioning)};t.coverTarget&&(e.withArrow=!1);const{targetRef:r,containerRef:o,arrowRef:n}=sv(t);return{triggerRef:r,contentRef:o,arrowRef:n}}(o),{targetDocument:g}=ro();var v;Eo({contains:dn,element:g,callback:e=>f(e,!1),refs:[h.triggerRef,h.contentRef],disabled:!l,disabledFocusOnIframe:!(null===(v=e.closeOnIframeFocus)||void 0===v||v)});const m=o.openOnContext||o.closeOnScroll;Ao({contains:dn,element:g,callback:e=>f(e,!1),refs:[h.triggerRef,h.contentRef],disabled:!l||!m});const{findFirstFocusable:b}=zi(),C=function(){const e=Ci(hi),[t]=Ho();return u.useCallback(r=>{t(()=>{var t;null===(t=e.current)||void 0===t||t.activate(r)},0)},[e,t])}();var y,x;return u.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const t=h.contentRef.current;if(l&&t){var r;const e=!isNaN(null!==(r=t.getAttribute("tabIndex"))&&void 0!==r?r:void 0),o=e?t:b(t);null==o||o.focus(),e&&C(t)}},[b,C,l,h.contentRef,e.unstable_disableAutoFocus]),{...o,...h,inertTrapFocus:null!==(y=e.inertTrapFocus)&&void 0!==y?y:void 0!==e.legacyTrapFocus&&!e.legacyTrapFocus,popoverTrigger:a,popoverSurface:i,open:l,setOpen:f,toggleOpen:p,setContextTarget:r,contextTarget:t,inline:null!==(x=e.inline)&&void 0!==x&&x}},Wv=e=>{const{appearance:t,arrowRef:r,contentRef:o,inline:n,mountNode:a,open:i,openOnContext:l,openOnHover:s,setOpen:c,size:d,toggleOpen:u,trapFocus:f,triggerRef:p,withArrow:h,inertTrapFocus:g}=e;return vn(kv.Provider,{value:{appearance:t,arrowRef:r,contentRef:o,inline:n,mountNode:a,open:i,openOnContext:l,openOnHover:s,setOpen:c,toggleOpen:u,triggerRef:p,size:d,trapFocus:f,inertTrapFocus:g,withArrow:h},children:[e.popoverTrigger,e.popoverSurface&&gn(e.surfaceMotion,{children:gn(jf,{children:e.popoverSurface})})]})},Zv=e=>{const t=Lv(e);return Wv(t)};Zv.displayName="Popover";const Uv=e=>{const{children:t,disableButtonEnhancement:r=!1}=e,o=tn(t),n=zv(e=>e.open),a=zv(e=>e.setOpen),i=zv(e=>e.toggleOpen),l=zv(e=>e.triggerRef),s=zv(e=>e.openOnHover),c=zv(e=>e.openOnContext),{triggerAttributes:d}=Ri(),u={...d,"aria-expanded":`${n}`,...null==o?void 0:o.props,onMouseEnter:So(Uo(null==o?void 0:o.props.onMouseEnter,e=>{s&&a(e,!0)})),onMouseLeave:So(Uo(null==o?void 0:o.props.onMouseLeave,e=>{s&&a(e,!1)})),onContextMenu:So(Uo(null==o?void 0:o.props.onContextMenu,e=>{c&&(e.preventDefault(),a(e,!0))})),ref:Fo(l,Wo(o))},f={...u,onClick:So(Uo(null==o?void 0:o.props.onClick,e=>{c||i(e)})),onKeyDown:So(Uo(null==o?void 0:o.props.onKeyDown,e=>{e.key===Mc&&n&&!e.isDefaultPrevented()&&(a(e,!1),e.preventDefault())}))},p=Hc("button"===(null==o?void 0:o.type)||"a"===(null==o?void 0:o.type)?o.type:"div",f);return{children:Qo(e.children,Hc("button"===(null==o?void 0:o.type)||"a"===(null==o?void 0:o.type)?o.type:"div",c?u:r?f:p))}},Gv=e=>Uv(e).children;Gv.displayName="PopoverTrigger",Gv.isFluentTriggerComponent=!0;const Xv=e=>-1,$v=e=>{},Kv=e=>{var t,r,o,n,a,i,l;const s=null!==(c=u.useContext(Kr))&&void 0!==c?c:Yr;var c;const d=function(){const e=zo()!==ko,[t,r]=u.useState(e);return wo()&&e&&u.useLayoutEffect(()=>{r(!1)},[]),t}(),{targetDocument:f}=ro(),[p,h]=yo({state:e.visible,initialState:!1}),{children:g,content:v,withArrow:m=!1,positioning:b="above",onVisibleChange:C,relationship:y,showDelay:x=250,hideDelay:w=250,mountNode:k}=e,B={withArrow:m,positioning:b,showDelay:x,hideDelay:w,relationship:y,visible:p,shouldRenderTooltip:p,mountNode:k,components:{content:"div"},content:wr(v,{defaultProps:{role:"tooltip"},elementType:"div"})};B.content.id=qo("tooltip-",B.content.id);const z={enabled:B.visible,arrowPadding:8,position:"above",align:"center",offset:4,...Jg(B.positioning)};B.withArrow&&(z.offset=Gg(z.offset,6));const{targetRef:j,containerRef:S,arrowRef:N}=sv(z),[_,T]=function(e){const{targetDocument:t}=ro(),r=null==t?void 0:t.defaultView,o=r?r.setTimeout:Xv,n=r?r.clearTimeout:$v,a=u.useRef(void 0),i=u.useCallback((e,t)=>(void 0!==a.current&&n(a.current),a.current=o(e,null!=t?t:0),a.current),[n,o]),l=u.useCallback(()=>{void 0!==a.current&&(n(a.current),a.current=void 0)},[n]);return u.useEffect(()=>{const t=e.current;return()=>{(!t||!t.isConnected)&&l()}},[l,e]),[i,l]}(S),q=u.useCallback((e,t)=>{T(),h(r=>(t.visible!==r&&(null==C||C(e,t)),t.visible))},[T,h,C]);B.content.ref=Fo(B.content.ref,S),B.arrowRef=N,jo(()=>{if(p){var e;const t={hide:e=>q(void 0,{visible:!1,documentKeyboardEvent:e})};null===(e=s.visibleTooltip)||void 0===e||e.hide(),s.visibleTooltip=t;const r=e=>{e.key!==Mc||e.defaultPrevented||(t.hide(e),e.preventDefault())};return null==f||f.addEventListener("keydown",r,{capture:!0}),()=>{s.visibleTooltip===t&&(s.visibleTooltip=void 0),null==f||f.removeEventListener("keydown",r,{capture:!0})}}},[s,f,p,q]);const F=u.useRef(!1),D=u.useCallback(e=>{if("focus"===e.type&&F.current)return void(F.current=!1);const t=s.visibleTooltip?0:B.showDelay;_(()=>{q(e,{visible:!0})},t),e.persist()},[_,q,B.showDelay,s]),E=Vi(),[P]=u.useState(()=>{const e=e=>{var t;(null===(t=e.detail)||void 0===t?void 0:t.isFocusedProgrammatically)&&!E()&&(F.current=!0)};let t=null;return r=>{null==t||t.removeEventListener(wn,e),null==r||r.addEventListener(wn,e),t=r}}),I=u.useCallback(e=>{let t=B.hideDelay;"blur"===e.type&&(t=0,F.current=(null==f?void 0:f.activeElement)===e.target),_(()=>{q(e,{visible:!1})},t),e.persist()},[_,q,B.hideDelay,f]);B.content.onPointerEnter=Uo(B.content.onPointerEnter,T),B.content.onPointerLeave=Uo(B.content.onPointerLeave,I),B.content.onFocus=Uo(B.content.onFocus,T),B.content.onBlur=Uo(B.content.onBlur,I);const O=tn(g),A={},R=(null==O||null===(t=O.props)||void 0===t?void 0:t["aria-haspopup"])&&(!0===(null==O||null===(r=O.props)||void 0===r?void 0:r["aria-expanded"])||"true"===(null==O||null===(o=O.props)||void 0===o?void 0:o["aria-expanded"]));return"label"===y?"string"==typeof B.content.children?A["aria-label"]=B.content.children:(A["aria-labelledby"]=B.content.id,B.shouldRenderTooltip=!0):"description"===y&&(A["aria-describedby"]=B.content.id,B.shouldRenderTooltip=!0),(d||R)&&(B.shouldRenderTooltip=!1),B.children=Qo(g,{...A,...null==O?void 0:O.props,ref:Fo(Wo(O),P,void 0===z.target?j:void 0),onPointerEnter:So(Uo(null==O||null===(n=O.props)||void 0===n?void 0:n.onPointerEnter,D)),onPointerLeave:So(Uo(null==O||null===(a=O.props)||void 0===a?void 0:a.onPointerLeave,I)),onFocus:So(Uo(null==O||null===(i=O.props)||void 0===i?void 0:i.onFocus,D)),onBlur:So(Uo(null==O||null===(l=O.props)||void 0===l?void 0:l.onBlur,I))}),B},Yv=vr({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",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:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),Jv=e=>{const t=(e=>{const{appearance:t="normal"}=e;return{appearance:t,...Kv(e)}})(e);return(e=>{const t=Yv();e.content.className=te("fui-Tooltip__content",t.root,"inverted"===e.appearance&&t.inverted,e.visible&&t.visible,e.content.className),e.arrowClassName=t.arrow})(t),co("useTooltipStyles_unstable")(t),(e=>vn(u.Fragment,{children:[e.children,e.shouldRenderTooltip&&gn(Dv,{mountNode:e.mountNode,children:vn(e.content,{children:[e.withArrow&&gn("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}))(t)};Jv.displayName="Tooltip",Jv.isFluentTriggerComponent=!0;const Qv=e=>{const{iconOnly:t,iconPosition:r}=e;return vn(e.root,{children:["after"!==r&&e.icon&&gn(e.icon,{}),!t&&e.root.children,"after"===r&&e.icon&&gn(e.icon,{})]})},em=u.createContext(void 0),tm={},rm=em.Provider,om=(e,t)=>{const{size:r}=null!==(o=u.useContext(em))&&void 0!==o?o:tm;var o;const{appearance:n="secondary",shape:a="rounded",size:i=(null!=r?r:"medium"),...l}=e;return{appearance:n,shape:a,size:i,...nm(l,t)}},nm=(e,t)=>{const{icon:r,iconPosition:o="before",...n}=e,a=kr(r,{elementType:"span"});var i,l;return{disabled:null!==(i=e.disabled)&&void 0!==i&&i,disabledFocusable:null!==(l=e.disabledFocusable)&&void 0!==l&&l,iconPosition:o,iconOnly:Boolean((null==a?void 0:a.children)&&!e.children),components:{root:"button",icon:"span"},root:wr(Hc(n.as,n),{elementType:"button",defaultProps:{ref:t,type:"a"!==e.as?"button":void 0}}),icon:a}},am=mr("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),im=mr("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);}"]),lm=vr({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),sm=vr({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),cm=vr({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;}}"]}),dm=vr({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;}"]}),um=vr({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);}"]}),fm=e=>{const t=am(),r=im(),o=lm(),n=sm(),a=cm(),i=dm(),l=um(),{appearance:s,disabled:c,disabledFocusable:d,icon:u,iconOnly:f,iconPosition:p,shape:h,size:g}=e;return e.root.className=te("fui-Button",t,s&&o[s],o[g],u&&"small"===g&&o.smallWithIcon,u&&"large"===g&&o.largeWithIcon,o[h],(c||d)&&n.base,(c||d)&&n.highContrast,s&&(c||d)&&n[s],"primary"===s&&a.primary,a[g],a[h],f&&i[g],e.root.className),e.icon&&(e.icon.className=te("fui-Button__icon",r,!!e.root.children&&l[p],l[g],e.icon.className)),e},pm=u.forwardRef((e,t)=>{const r=om(e,t);return fm(r),co("useButtonStyles_unstable")(r),Qv(r)});pm.displayName="Button";const hm=vr({base:{Bqenvij:"f11ysow2",J657lq:"f1um431h",Jlnjib:"fte7hqw",Bo7webf:"frw79jk"},highContrast:{m3fafd:"ffcivv0",pus4l6:"f1wchxtt"},outline:{},primary:{J657lq:"foe7gw6",Jlnjib:"fvxlz81",Bo7webf:"f16twlsn",D126e9:"fsglouz"},secondary:{},subtle:{J657lq:"f1um431h",Jlnjib:"fte7hqw",Bo7webf:"frw79jk",m3fafd:"f13lnigs",pus4l6:"f1ba77l5"},transparent:{J657lq:"f1um431h",Jlnjib:"f1wn9xqz",Bo7webf:"f1juxwb4"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ge6w2w",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fnnf4v2",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f14s4sho",Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},disabled:{J657lq:"f1rlv8bf",Jlnjib:"fd1dbtm",Bo7webf:"f1x3eb98"},disabledHighContrast:{D126e9:"fbqh1p7",m3fafd:"fu2tbix",pus4l6:"f1g2tosm"}},{d:[".f11ysow2{height:auto;}",".f1um431h .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2);}",".foe7gw6 .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundOnBrand);}",[".f1ge6w2w{padding:var(--spacingHorizontalS) var(--spacingHorizontalS) var(--spacingHorizontalMNudge) var(--spacingHorizontalS);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fnnf4v2{padding:14px var(--spacingHorizontalM) var(--spacingHorizontalL) var(--spacingHorizontalM);}",{p:-1}],[".f14s4sho{padding:18px var(--spacingHorizontalL) var(--spacingHorizontalXL) var(--spacingHorizontalL);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1rlv8bf .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundDisabled);}"],h:[".fte7hqw:hover .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2Hover);}",".frw79jk:hover:active .fui-CompoundButton__secondaryContent,.frw79jk:active:focus-visible .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2Pressed);}",".fvxlz81:hover .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundOnBrand);}",".f16twlsn:hover:active .fui-CompoundButton__secondaryContent,.f16twlsn:active:focus-visible .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundOnBrand);}",".f1wn9xqz:hover .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2BrandHover);}",".f1juxwb4:hover:active .fui-CompoundButton__secondaryContent,.f1juxwb4:active:focus-visible .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2BrandPressed);}",".fd1dbtm:hover .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundDisabled);}",".f1x3eb98:hover:active .fui-CompoundButton__secondaryContent,.f1x3eb98:active:focus-visible .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.ffcivv0:hover .fui-CompoundButton__secondaryContent{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wchxtt:hover:active .fui-CompoundButton__secondaryContent,.f1wchxtt:active:focus-visible .fui-CompoundButton__secondaryContent{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fsglouz .fui-CompoundButton__secondaryContent{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13lnigs:hover .fui-CompoundButton__secondaryContent{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ba77l5:hover:active .fui-CompoundButton__secondaryContent,.f1ba77l5:active:focus-visible .fui-CompoundButton__secondaryContent{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbqh1p7 .fui-CompoundButton__secondaryContent{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fu2tbix:hover .fui-CompoundButton__secondaryContent{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1g2tosm:hover:active .fui-CompoundButton__secondaryContent,.f1g2tosm:active:focus-visible .fui-CompoundButton__secondaryContent{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),gm=vr({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",B2u0y6b:"ft5vyj6",Bf4jedk:"f17suaiq"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1r1wyb6",B2u0y6b:"fdczgix",Bf4jedk:"fjdcg9m"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bnz8pu",B2u0y6b:"fww51uw",Bf4jedk:"f1qhsl2h"}},{d:[[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".ft5vyj6{max-width:48px;}",".f17suaiq{min-width:48px;}",[".f1r1wyb6{padding:var(--spacingHorizontalSNudge);}",{p:-1}],".fdczgix{max-width:52px;}",".fjdcg9m{min-width:52px;}",[".f1bnz8pu{padding:var(--spacingHorizontalS);}",{p:-1}],".fww51uw{max-width:56px;}",".f1qhsl2h{min-width:56px;}"]}),vm=vr({base:{Be2twd7:"fndrnj9",Bqenvij:"fbhnoac",a9b677:"feqmc2u"},before:{t21cq0:["fkujibs","f199hnxi"]},after:{Frg6f3:["f199hnxi","fkujibs"]}},{d:[".fndrnj9{font-size:40px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}"]}),mm=vr({base:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",fsow6f:["f1o700av","fes3tcz"]}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}"]}),bm=vr({base:{Bg96gwp:"flkuc6h",Bhrd7zp:"figsok6"},small:{Be2twd7:"fy9rknc"},medium:{Be2twd7:"fy9rknc"},large:{Be2twd7:"fkhj508"}},{d:[".flkuc6h{line-height:100%;}",".figsok6{font-weight:var(--fontWeightRegular);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}"]}),Cm=u.forwardRef((e,t)=>{const r=((e,t)=>{var r,o;const{contentContainer:n,secondaryContent:a,...i}=e,l={...om(i,t),components:{root:"button",icon:"span",contentContainer:"span",secondaryContent:"span"},contentContainer:wr(n,{elementType:"span"}),secondaryContent:kr(a,{elementType:"span"})};return l.iconOnly=Boolean((null===(r=l.icon)||void 0===r?void 0:r.children)&&!e.children&&!(null===(o=l.secondaryContent)||void 0===o?void 0:o.children)),l})(e,t);return(e=>{const t=hm(),r=gm(),o=vm(),n=mm(),a=bm(),{appearance:i,disabled:l,disabledFocusable:s,iconOnly:c,iconPosition:d,size:u}=e;e.root.className=te("fui-CompoundButton",t.base,t.highContrast,i&&t[i],t[u],(l||s)&&t.disabled,(l||s)&&t.disabledHighContrast,c&&r[u],e.root.className),e.contentContainer.className=te("fui-CompoundButton__contentContainer",n.base,e.contentContainer.className),e.icon&&(e.icon.className=te("fui-CompoundButton__icon",o.base,void 0!==e.root.children&&null!==e.root.children&&o[d],e.icon.className)),e.secondaryContent&&(e.secondaryContent.className=te("fui-CompoundButton__secondaryContent",a.base,a[u],e.secondaryContent.className)),fm(e)})(r),co("useCompoundButtonStyles_unstable")(r),(e=>{const{iconOnly:t,iconPosition:r}=e;return vn(e.root,{children:["after"!==r&&e.icon&&gn(e.icon,{}),!t&&vn(e.contentContainer,{children:[e.root.children,e.secondaryContent&&gn(e.secondaryContent,{})]}),"after"===r&&e.icon&&gn(e.icon,{})]})})(r)});Cm.displayName="CompoundButton";const ym=vr({base:{D0sxk3:"fxoiby5",t6yez3:"f15q0o9g"},outline:{g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],sj55zd:"f14nttnl"},primary:{De3pzq:"f8w4g0q"},secondary:{De3pzq:"f1nfm20t",g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],sj55zd:"f14nttnl"},subtle:{De3pzq:"fq5gl1p",sj55zd:"f1eryozh"},transparent:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59"}},{d:[".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1ly1fcm{border-top-color:var(--colorNeutralStroke1Selected);}",".fi8bssc{border-right-color:var(--colorNeutralStroke1Selected);}",".fj6btzu{border-left-color:var(--colorNeutralStroke1Selected);}",".f1s9tnsa{border-bottom-color:var(--colorNeutralStroke1Selected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"]}),xm=vr({outline:{sj55zd:"f14nttnl"},primary:{},secondary:{sj55zd:"f14nttnl"},subtle:{sj55zd:"f1qj7y59"},transparent:{sj55zd:"f1qj7y59"},highContrast:{Bahaeuw:"f1v3eptx"}},{d:[".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}]]}),wm=vr({base:{Bg96gwp:"fez10in"},small:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},medium:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},large:{Be2twd7:"f4ybsrx",Bqenvij:"fd461yt",Bg96gwp:"faaz57k",a9b677:"fjw5fx7"},notIconOnly:{Frg6f3:["fbyavb5","fm0x6gh"]}},{d:[".fez10in{line-height:0;}",".f1ugzwwg{font-size:12px;}",".fvblgha{height:12px;}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".frx94fk{width:12px;}",".f4ybsrx{font-size:16px;}",".fd461yt{height:16px;}",".faaz57k{line-height:var(--lineHeightBase400);}",".fjw5fx7{width:16px;}",".fbyavb5{margin-left:var(--spacingHorizontalXS);}",".fm0x6gh{margin-right:var(--spacingHorizontalXS);}"]}),km=u.forwardRef((e,t)=>{const r=((e,t)=>{const{menuIcon:r,...o}=e,n=om(o,t);return{...n,iconOnly:Boolean(!e.children),components:{...n.components,menuIcon:"span"},root:{...n.root,"aria-expanded":!!e["aria-expanded"]&&("true"===e["aria-expanded"]||!0===e["aria-expanded"])},menuIcon:kr(r,{defaultProps:{children:u.createElement(Nd,null)},renderByDefault:!0,elementType:"span"})}})(e,t);return(e=>{const t=ym(),r=xm(),o=wm();e.root.className=te("fui-MenuButton",e.root["aria-expanded"]&&t.base,e.root["aria-expanded"]&&t[e.appearance],e.root.className),e.icon&&(e.icon.className=te("fui-MenuButton__icon",e.root["aria-expanded"]&&r[e.appearance]&&r.highContrast,e.icon.className)),e.menuIcon&&(e.menuIcon.className=te("fui-MenuButton__menuIcon",o.base,o[e.size],!e.iconOnly&&o.notIconOnly,e.menuIcon.className)),fm({...e,iconPosition:"before"})})(r),co("useMenuButtonStyles_unstable")(r),(e=>{const{icon:t,iconOnly:r}=e;return vn(e.root,{children:[e.icon&&gn(e.icon,{}),!r&&e.root.children,(!r||!(null==t?void 0:t.children))&&e.menuIcon&&gn(e.menuIcon,{})]})})(r)});km.displayName="MenuButton";const Bm=vr({primaryActionButton:{B6xbmo0:["f1x37qnr","f1um7c6d"],kdpuga:["fn4c73s","f6pwzcr"]},menuButton:{lbo84a:["frrbwxo","f1rgcpbv"],dm238s:["f1um7c6d","f1x37qnr"],Bw81rd7:["f6pwzcr","fn4c73s"]}},{d:[".f1x37qnr[data-fui-focus-visible]{border-top-right-radius:0;}",".f1um7c6d[data-fui-focus-visible]{border-top-left-radius:0;}",".fn4c73s[data-fui-focus-visible]{border-bottom-right-radius:0;}",".f6pwzcr[data-fui-focus-visible]{border-bottom-left-radius:0;}",".frrbwxo[data-fui-focus-visible]{border-left-width:0;}",".f1rgcpbv[data-fui-focus-visible]{border-right-width:0;}"]}),zm=vr({base:{mc9l5x:"ftuwxu6",Brf1p80:"fsxf2b5",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",kn2xc0:["f14uur2j","fc1btbj"],Bs76p8a:["fye5tvs","fc597qq"],cuxpm9:["f1e8brtx","fr36rk3"],Biffepf:["fxp12j1","f1m6nt2y"],Defnvf:["fr7y8no","f1dn0c6m"],z0pv9t:"f1b65x5h"},outline:{},primary:{B1l9wao:["f4rm5b0","f1tuwo13"],lcnrd8:["fdwdeeo","f1ezdslh"],vlshuh:["f1ju2vgk","f1r6p88l"],B3s9tpx:["f2z0mmn","f12iqdwp"],rfylfo:["f1btorfl","fxofj4p"],k5lds2:["f161sdhp","f10m3pjc"]},secondary:{},subtle:{B1l9wao:["f16kf41h","fxiafvi"],lcnrd8:["ffl6mx9","f1t5sw6t"],vlshuh:["f1mww3cx","f1wtv0vd"]},transparent:{B1l9wao:["f16kf41h","fxiafvi"],lcnrd8:["ffl6mx9","f1t5sw6t"],vlshuh:["f1mww3cx","f1wtv0vd"]},circular:{},rounded:{},square:{},disabled:{B1l9wao:["f10xrnr8","f15nylwb"],lcnrd8:["f11fwhjz","f18vtcsx"],vlshuh:["f12kx9re","f1hyxdqk"]},disabledHighContrast:{B3s9tpx:["fslo9ob","ftovg2z"],rfylfo:["f1fuq5cn","f168zpha"],k5lds2:["f1t6bo0o","f1dnwhli"]}},{d:[".ftuwxu6{display:inline-flex;}",".fsxf2b5{justify-content:stretch;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f14uur2j .fui-SplitButton__primaryActionButton{border-top-right-radius:0;}",".fc1btbj .fui-SplitButton__primaryActionButton{border-top-left-radius:0;}",".fye5tvs .fui-SplitButton__primaryActionButton{border-bottom-right-radius:0;}",".fc597qq .fui-SplitButton__primaryActionButton{border-bottom-left-radius:0;}",".f1e8brtx .fui-SplitButton__menuButton{border-left-width:0;}",".fr36rk3 .fui-SplitButton__menuButton{border-right-width:0;}",".fxp12j1 .fui-SplitButton__menuButton{border-top-left-radius:0;}",".f1m6nt2y .fui-SplitButton__menuButton{border-top-right-radius:0;}",".fr7y8no .fui-SplitButton__menuButton{border-bottom-left-radius:0;}",".f1dn0c6m .fui-SplitButton__menuButton{border-bottom-right-radius:0;}",".f1b65x5h .fui-SplitButton__menuButton{min-width:24px;}",".f4rm5b0 .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f1tuwo13 .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeOnBrand);}",".f16kf41h .fui-SplitButton__primaryActionButton{border-right-color:var(--colorTransparentBackground);}",".fxiafvi .fui-SplitButton__primaryActionButton{border-left-color:var(--colorTransparentBackground);}",".f10xrnr8 .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeDisabled);}",".f15nylwb .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeDisabled);}"],h:[".fdwdeeo:hover .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f1ezdslh:hover .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeOnBrand);}",".f1ju2vgk:hover:active .fui-SplitButton__primaryActionButton,.f1ju2vgk:active:focus-visible .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f1r6p88l:hover:active .fui-SplitButton__primaryActionButton,.f1r6p88l:active:focus-visible .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeOnBrand);}",".ffl6mx9:hover .fui-SplitButton__primaryActionButton{border-right-color:var(--colorTransparentBackgroundHover);}",".f1t5sw6t:hover .fui-SplitButton__primaryActionButton{border-left-color:var(--colorTransparentBackgroundHover);}",".f1mww3cx:hover:active .fui-SplitButton__primaryActionButton,.f1mww3cx:active:focus-visible .fui-SplitButton__primaryActionButton{border-right-color:var(--colorTransparentBackgroundPressed);}",".f1wtv0vd:hover:active .fui-SplitButton__primaryActionButton,.f1wtv0vd:active:focus-visible .fui-SplitButton__primaryActionButton{border-left-color:var(--colorTransparentBackgroundPressed);}",".f11fwhjz:hover .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18vtcsx:hover .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12kx9re:hover:active .fui-SplitButton__primaryActionButton,.f12kx9re:active:focus-visible .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1hyxdqk:hover:active .fui-SplitButton__primaryActionButton,.f1hyxdqk:active:focus-visible .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeDisabled);}"],m:[["@media (forced-colors: active){.f12iqdwp .fui-SplitButton__primaryActionButton{border-left-color:HighlightText;}.f2z0mmn .fui-SplitButton__primaryActionButton{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1btorfl:hover .fui-SplitButton__primaryActionButton{border-right-color:Highlight;}.fxofj4p:hover .fui-SplitButton__primaryActionButton{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f10m3pjc:hover:active .fui-SplitButton__primaryActionButton,.f10m3pjc:active:focus-visible .fui-SplitButton__primaryActionButton{border-left-color:Highlight;}.f161sdhp:hover:active .fui-SplitButton__primaryActionButton,.f161sdhp:active:focus-visible .fui-SplitButton__primaryActionButton{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fslo9ob .fui-SplitButton__primaryActionButton{border-right-color:GrayText;}.ftovg2z .fui-SplitButton__primaryActionButton{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168zpha:hover .fui-SplitButton__primaryActionButton{border-left-color:GrayText;}.f1fuq5cn:hover .fui-SplitButton__primaryActionButton{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dnwhli:hover:active .fui-SplitButton__primaryActionButton,.f1dnwhli:active:focus-visible .fui-SplitButton__primaryActionButton{border-left-color:GrayText;}.f1t6bo0o:hover:active .fui-SplitButton__primaryActionButton,.f1t6bo0o:active:focus-visible .fui-SplitButton__primaryActionButton{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),jm=u.forwardRef((e,t)=>{const r=((e,t)=>{const{appearance:r="secondary",children:o,disabled:n=!1,disabledFocusable:a=!1,icon:i,iconPosition:l="before",menuButton:s,menuIcon:c,primaryActionButton:d,shape:u="rounded",size:f="medium",...p}=e,h=qo("splitButton-"),g=kr(s,{defaultProps:{appearance:r,disabled:n,disabledFocusable:a,menuIcon:c,shape:u,size:f},renderByDefault:!0,elementType:km}),v=kr(d,{defaultProps:{appearance:r,children:o,disabled:n,disabledFocusable:a,icon:i,iconPosition:l,id:h+"__primaryActionButton",shape:u,size:f},renderByDefault:!0,elementType:pm});return g&&v&&!g["aria-label"]&&!g["aria-labelledby"]&&(g["aria-labelledby"]=v.id),{appearance:r,disabled:n,disabledFocusable:a,iconPosition:l,shape:u,size:f,components:{root:"div",menuButton:km,primaryActionButton:pm},root:wr({ref:t,...p},{elementType:"div"}),menuButton:g,primaryActionButton:v}})(e,t);return(e=>{const t=zm(),r=Bm(),{appearance:o,disabled:n,disabledFocusable:a}=e;e.root.className=te("fui-SplitButton",t.base,o&&t[o],(n||a)&&t.disabled,(n||a)&&t.disabledHighContrast,e.root.className),e.menuButton&&(e.menuButton.className=te("fui-SplitButton__menuButton",r.menuButton,e.menuButton.className)),e.primaryActionButton&&(e.primaryActionButton.className=te("fui-SplitButton__primaryActionButton",r.primaryActionButton,e.primaryActionButton.className))})(r),co("useSplitButtonStyles_unstable")(r),(e=>vn(e.root,{children:[e.primaryActionButton&&gn(e.primaryActionButton,{}),e.menuButton&&gn(e.menuButton,{})]}))(r)});jm.displayName="SplitButton";const Sm=(e,t)=>{const{checked:r=!1,defaultChecked:o=!1,isAccessible:n=!1,...a}=e;return function(e,t){const{checked:r,defaultChecked:o,disabled:n,disabledFocusable:a,isAccessible:i=!1}=e,{onClick:l,role:s}=t.root,[c,d]=yo({state:r,defaultState:o,initialState:!1}),f="menuitemcheckbox"===s||"checkbox"===s,p=u.useCallback(e=>{if(!n&&!a){if(e.defaultPrevented)return;d(!c)}},[c,n,a,d]);return{...t,checked:c,isAccessible:i,root:{...t.root,[f?"aria-checked":"aria-pressed"]:c,onClick:So(Uo(l,p))}}}(e,om(a,t))},Nm=vr({base:{De3pzq:"f1nfm20t",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],sj55zd:"f14nttnl",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],D0sxk3:"fxoiby5",t6yez3:"f15q0o9g",Jwef8y:"f1knas48",Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1xlaoq0",gg5e9n:["f1m52nbi","f1ub3y4t"],Bi91k9c:"feu1g3u",Bpjbzib:"f128kf1x",im15vp:"f1a38rnh",Hjvxdg:["f1wvuwkr","fbu0tau"],Gpfmf1:"f132k7zb",ustxxc:["fbu0tau","f1wvuwkr"],Brsut9c:"fggfoek"},highContrast:{By8wz76:"f1nz3ub2",Bcq6wej:"fjq791v",Jcjdmf:["fkq2p2y","f1sehlss"],sc4o1m:"f11odvng",Bosien3:["f1sehlss","fkq2p2y"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan",B6rz4yo:0,Buk7464:0,Bqg8rp8:0,pjr8j7:0,Bgs2klq:0,Hwei09:0,Bi9aqk7:0,Fihjvf:0,nhyz0p:0,Buw724y:0,Bn7qjfh:0,B0u7xl9:0,md97jv:0,h3ptyc:0,s1kvfj:0,kogrdj:0,dqx2i2:"fdmpsdn",o0nolc:"fgjsukj"},outline:{De3pzq:"f1q9pm1r",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo",B8q5s1w:"fcaw57c",Bci5o5g:["fpwd27e","f1999bjr"],n8qw10:"f1hi52o4",Bdrgwmp:["f1999bjr","fpwd27e"]},primary:{De3pzq:"f8w4g0q",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x"},secondary:{},subtle:{De3pzq:"fq5gl1p",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1eryozh",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee"},transparent:{De3pzq:"f1q9pm1r",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1qj7y59",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9"}},{d:[".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".fcaw57c[data-fui-focus-visible]{border-top-color:var(--colorNeutralStroke1);}",".fpwd27e[data-fui-focus-visible]{border-right-color:var(--colorNeutralStroke1);}",".f1999bjr[data-fui-focus-visible]{border-left-color:var(--colorNeutralStroke1);}",".f1hi52o4[data-fui-focus-visible]{border-bottom-color:var(--colorNeutralStroke1);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1xlaoq0:hover{border-bottom-color:var(--colorNeutralStroke1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f128kf1x:hover:active,.f128kf1x:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);}",".f1a38rnh:hover:active,.f1a38rnh:active:focus-visible{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1wvuwkr:hover:active,.f1wvuwkr:active:focus-visible{border-right-color:var(--colorNeutralStroke1Pressed);}",".fbu0tau:hover:active,.fbu0tau:active:focus-visible{border-left-color:var(--colorNeutralStroke1Pressed);}",".f132k7zb:hover:active,.f132k7zb:active:focus-visible{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".fggfoek:hover:active,.fggfoek:active:focus-visible{color:var(--colorNeutralForeground1Pressed);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjq791v{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1sehlss{border-left-color:Highlight;}.fkq2p2y{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11odvng{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fdmpsdn:focus{border:1px solid HighlightText;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fgjsukj:focus{outline-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),_m=vr({base:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x"},outline:{B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"]},primary:{Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f12rpxh0",Dhobit:"f10okvgz",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f40way",Bpkdmpa:"ftbw7yw"},subtle:{ysa4qo:"f17xzaca"},transparent:{},secondary:{}},{d:[".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);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",[".f12rpxh0{outline:var(--strokeWidthThin) solid var(--colorNeutralForegroundOnBrand);}",{p:-1}],".f10okvgz{outline-offset:calc(var(--strokeWidthThicker) * -1);}",[".f40way[data-fui-focus-visible]{outline:var(--strokeWidthThin) solid var(--colorNeutralForegroundOnBrand);}",{p:-1}],".ftbw7yw[data-fui-focus-visible]{outline-offset:calc(var(--strokeWidthThickest) * -1);}"],h:[".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f17xzaca:hover .fui-ToggleButton__icon{color:var(--colorNeutralForegroundOnBrand);}"]}),Tm=vr({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy"},outline:{},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}"],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);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}"]}),qm=vr({subtleOrTransparent:{sj55zd:"f1qj7y59"},highContrast:{B8gzw0y:"f1dd5bof"}},{d:[".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Fm=vr({base:{By8wz76:"f14ptb23",Bcq6wej:"fd7znuh",Jcjdmf:["f1wh4a04","f15h7fac"],sc4o1m:"f1f064oi",Bosien3:["f15h7fac","f1wh4a04"],B7iucu3:"f3ggph1",B8gzw0y:"f1dd5bof"},disabled:{Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"]}},{m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd7znuh{border-top-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f15h7fac{border-left-color:ButtonBorder;}.f1wh4a04{border-right-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1f064oi{border-bottom-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3ggph1{color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{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){.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)"}]]}),Dm=e=>{const t=Nm(),r=_m(),o=Tm(),n=qm(),a=Fm(),{appearance:i,checked:l,disabled:s,disabledFocusable:c,isAccessible:d}=e;return e.root.className=te("fui-ToggleButton","primary"===i&&a.base,"primary"===i&&(s||c)&&a.disabled,l&&t.base,l&&t.highContrast,i&&l&&t[i],d&&l&&r.base,d&&i&&l&&r[i],(s||c)&&o.base,i&&(s||c)&&o[i],e.root.className),e.icon&&(e.icon.className=te("fui-ToggleButton__icon",l&&!d&&("subtle"===i||"transparent"===i)&&n.subtleOrTransparent,n.highContrast,e.icon.className)),fm(e),e},Em=u.forwardRef((e,t)=>{const r=Sm(e,t);return Dm(r),co("useToggleButtonStyles_unstable")(r),Qv(r)});Em.displayName="ToggleButton";const Pm=u.createContext(void 0),Im=Pm.Provider,Om=()=>u.useContext(Pm);function Am(e,t){return Rm(Om(),e,t)}function Rm(e,t,r){if(!e)return t;t={...t};const{generatedControlId:o,hintId:n,labelFor:a,labelId:i,required:l,validationMessageId:s,validationState:c}=e;var d,u,f,p,h,g,v,m,b,C,y,x;return o&&(null!==(u=(d=t).id)&&void 0!==u||(d.id=o)),!i||(null==r?void 0:r.supportsLabelFor)&&a===t.id||null!==(p=(f=t)["aria-labelledby"])&&void 0!==p||(f["aria-labelledby"]=i),(s||n)&&(t["aria-describedby"]=[s,n,null==t?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),"error"===c&&(null!==(g=(h=t)["aria-invalid"])&&void 0!==g||(h["aria-invalid"]=!0)),l&&((null==r?void 0:r.supportsRequired)?null!==(m=(v=t).required)&&void 0!==m||(v.required=!0):null!==(C=(b=t)["aria-required"])&&void 0!==C||(b["aria-required"]=!0)),(null==r?void 0:r.supportsSize)&&(null!==(x=(y=t).size)&&void 0!==x||(y.size=e.size)),t}const Mm=vr({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)"}]]}),Hm=u.forwardRef((e,t)=>{const r=((e,t)=>{const{disabled:r=!1,required:o=!1,weight:n="regular",size:a="medium"}=e;return{disabled:r,required:kr(!0===o?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:n,size:a,components:{root:"label",required:"span"},root:wr(Wr("label",{ref:t,...e}),{elementType:"label"})}})(e,t);return(e=>{const t=Mm();e.root.className=te("fui-Label",t.root,e.disabled&&t.disabled,t[e.size],"semibold"===e.weight&&t.semibold,e.root.className),e.required&&(e.required.className=te("fui-Label__required",t.required,e.disabled&&t.disabled,e.required.className))})(r),co("useLabelStyles_unstable")(r),(e=>vn(e.root,{children:[e.root.children,e.required&&gn(e.required,{})]}))(r)});Hm.displayName="Label";const Lm={error:u.createElement(Gu,null),warning:u.createElement(Ad,null),success:u.createElement(Iu,null),none:void 0},Vm="fui-Field",Wm="fui-Field__label",Zm="fui-Field__validationMessage",Um="fui-Field__validationMessageIcon",Gm="fui-Field__hint",Xm=vr({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),$m=vr({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),Km=mr("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),Ym=vr({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),Jm=mr("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),Qm=vr({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),eb=u.forwardRef((e,t)=>{const r=((e,t)=>{const{children:r,orientation:o="vertical",required:n=!1,validationState:a=(e.validationMessage?"error":"none"),size:i="medium"}=e,l=qo("field-"),s=l+"__control",c=wr(Wr("div",{...e,ref:t},["children"]),{elementType:"div"}),d=kr(e.label,{defaultProps:{htmlFor:s,id:l+"__label",required:n,size:i},elementType:Hm}),u=kr(e.validationMessage,{defaultProps:{id:l+"__validationMessage",role:"error"===a||"warning"===a?"alert":void 0},elementType:"div"}),f=kr(e.hint,{defaultProps:{id:l+"__hint"},elementType:"div"}),p=Lm[a],h=kr(e.validationMessageIcon,{renderByDefault:!!p,defaultProps:{children:p},elementType:"span"});return{children:r,generatedControlId:s,orientation:o,required:n,size:i,validationState:a,components:{root:"div",label:Hm,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:c,label:d,validationMessageIcon:h,validationMessage:u,hint:f}})(e,t);(e=>{const{validationState:t,size:r}=e,o="horizontal"===e.orientation,n=Xm();e.root.className=te(Vm,n.base,o&&n.horizontal,o&&!e.label&&n.horizontalNoLabel,e.root.className);const a=$m();e.label&&(e.label.className=te(Wm,a.base,o&&a.horizontal,o&&"small"===r&&a.horizontalSmall,o&&"large"===r&&a.horizontalLarge,!o&&a.vertical,!o&&"large"===r&&a.verticalLarge,e.label.className));const i=Jm(),l=Qm();e.validationMessageIcon&&(e.validationMessageIcon.className=te(Um,i,"none"!==t&&l[t],e.validationMessageIcon.className));const s=Km(),c=Ym();e.validationMessage&&(e.validationMessage.className=te(Zm,s,"error"===t&&c.error,!!e.validationMessageIcon&&c.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=te(Gm,s,e.hint.className))})(r),co("useFieldStyles_unstable")(r);const o=(e=>{var t,r,o,n;const{generatedControlId:a,orientation:i,required:l,size:s,validationState:c}=e,d=null===(t=e.label)||void 0===t?void 0:t.htmlFor,f=null===(r=e.label)||void 0===r?void 0:r.id,p=null===(o=e.validationMessage)||void 0===o?void 0:o.id,h=null===(n=e.hint)||void 0===n?void 0:n.id;return{field:u.useMemo(()=>({generatedControlId:a,hintId:h,labelFor:d,labelId:f,orientation:i,required:l,size:s,validationMessageId:p,validationState:c}),[a,h,d,f,i,l,s,p,c])}})(r);return((e,t)=>{let{children:r}=e;return"function"==typeof r&&(r=r(Rm(t.field)||{})),gn(Im,{value:null==t?void 0:t.field,children:vn(e.root,{children:[e.label&&gn(e.label,{}),r,e.validationMessage&&vn(e.validationMessage,{children:[e.validationMessageIcon&&gn(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&gn(e.hint,{})]})})})(r,o)});eb.displayName="Field";const tb=mr("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;}}"]}),rb=vr({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)"}]]}),ob=mr("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));}"]),nb=vr({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));}"]}),ab=mr("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;}"]),ib=vr({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}]]}),lb=vr({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);}"]}),sb=u.forwardRef((e,t)=>{const r=((e,t)=>{e=Am(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:o,shape:n="square",size:a="medium",labelPosition:i="after",onChange:l}=e,[s,c]=yo({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),d=Vr({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),f="mixed"===s,p=qo("checkbox-",d.primary.id);let h;f?h="circular"===n?u.createElement(vd,null):"large"===a?u.createElement(Uu,null):u.createElement(Zu,null):s&&(h="large"===a?u.createElement(Pu,null):u.createElement(Eu,null));const g={shape:n,checked:s,disabled:r,size:a,labelPosition:i,components:{root:"span",input:"input",indicator:"div",label:Hm},root:wr(e.root,{defaultProps:{ref:Di(),...d.root},elementType:"span"}),input:wr(e.input,{defaultProps:{type:"checkbox",id:p,ref:t,checked:!0===s,...d.primary},elementType:"input"}),label:kr(e.label,{defaultProps:{htmlFor:p,disabled:r,required:o,size:"medium"},elementType:Hm}),indicator:kr(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:h},elementType:"div"})};g.input.onChange=Uo(g.input.onChange,e=>{const t=e.currentTarget.indeterminate?"mixed":e.currentTarget.checked;null==l||l(e,{checked:t}),c(t)});const v=Fo(g.input.ref);return g.input.ref=v,jo(()=>{v.current&&(v.current.indeterminate=f)},[v,f]),g})(e,t);return(e=>{const{checked:t,disabled:r,labelPosition:o,shape:n,size:a}=e,i=tb(),l=rb();e.root.className=te("fui-Checkbox",i,r?l.disabled:"mixed"===t?l.mixed:t?l.checked:l.unchecked,e.root.className);const s=ob(),c=nb();e.input.className=te("fui-Checkbox__input",s,"large"===a&&c.large,c[o],e.input.className);const d=ab(),u=ib();e.indicator&&(e.indicator.className=te("fui-Checkbox__indicator",d,"large"===a&&u.large,"circular"===n&&u.circular,e.indicator.className));const f=lb();e.label&&(e.label.className=te("fui-Checkbox__label",f.base,f[a],f[o],e.label.className))})(r),co("useCheckboxStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.input,{}),"before"===e.labelPosition&&e.label&&gn(e.label,{}),e.indicator&&gn(e.indicator,{}),"after"===e.labelPosition&&e.label&&gn(e.label,{})]}))(r)});sb.displayName="Checkbox";const cb=hc({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption:()=>()=>{},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"}),db=(cb.Provider,{activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue:()=>[],registerOption:()=>()=>{},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}}),ub=hc(void 0),fb=e=>gc(ub,(t=db)=>e(t)),pb=ub.Provider;function hb(e){const{appearance:t,open:r,getOptionById:o,getOptionsMatchingValue:n,registerOption:a,selectedOptions:i,selectOption:l,setOpen:s,size:c,activeDescendantController:d,onOptionClick:f,onActiveDescendantChange:p}=e,h={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:n,registerOption:a,selectedOptions:i,selectOption:l,setActiveOption:()=>null,onOptionClick:f,onActiveDescendantChange:p};return{combobox:{activeOption:void 0,appearance:t,focusVisible:!1,open:r,registerOption:a,selectedOptions:i,selectOption:l,setActiveOption:()=>null,setOpen:s,size:c},activeDescendant:u.useMemo(()=>({controller:d}),[d]),listbox:h}}function gb(e,t={}){const{open:r=!0,multiselect:o=!1}=t,n=e.key,{altKey:a,ctrlKey:i,key:l,metaKey:s}=e;return 1!==l.length||n===Nc||a||i||s?r?n===Dc&&a||n===Sc||!o&&n===Nc?"CloseSelect":o&&n===Nc?"Select":n===Mc?"Close":n===Tc?"Next":n===Dc?"Previous":n===Pc?"First":n===Ec?"Last":n===Oc?"PageUp":n===Ic?"PageDown":n===_c?"Tab":"None":n===Tc||n===Dc||n===Sc||n===Nc?"Open":"None":"Type"}const vb=()=>{const e=u.useRef(new Map),t=u.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter(({text:e})=>t(e)),getOptionsMatchingValue:t=>{const r=[];for(const o of e.current.values())t(o.value)&&r.push(o);return r}}),[]),r=u.useCallback(t=>(e.current.set(t.id,t),()=>e.current.delete(t.id)),[]);return{...t,options:Array.from(e.current.values()),registerOption:r}},mb=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:o}=e,[n,a]=yo({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{a([]),null==o||o(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u.useCallback((e,t)=>{if(t.disabled)return;let i=[t.value];if(r){const e=n.findIndex(e=>e===t.value);i=e>-1?[...n.slice(0,e),...n.slice(e+1)]:[...n,t.value]}a(i),null==o||o(e,{optionValue:t.value,optionText:t.text,selectedOptions:i})},[o,r,n,a]),selectedOptions:n}},bb="fui-Option",Cb=vr({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)"}]]}),yb=e=>{const{disabled:t,multiselect:r,selected:o}=e,n=Cb();return e.root.className=te(bb,n.root,n.active,t&&n.disabled,o&&n.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=te("fui-Option__checkIcon",n.checkIcon,r&&n.multiselectCheck,o&&n.selectedCheck,o&&r&&n.selectedMultiselectCheck,t&&n.checkDisabled,t&&r&&n.multiselectCheckDisabled,e.checkIcon.className)),e},xb={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},wb=vr({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);}"]}),kb=u.forwardRef((e,t)=>{const r=((e,t)=>{const{multiselect:r,disableAutoFocus:o=!1}=e,n=vb(),{listboxRef:a,activeParentRef:i,controller:l}=ed({matchOption:e=>e.classList.contains(bb)}),s=vc(ub),c=fb(e=>e.onActiveDescendantChange),d=fb(e=>e.getOptionById),f=fb(e=>e.getOptionsMatchingValue),p=s?d:n.getOptionById,h=s?f:n.getOptionsMatchingValue,g=u.useMemo(()=>{let e=null;const t=e=>{null==c||c(e)};return r=>{r?(e=r,e.addEventListener("activedescendantchange",t)):null==e||e.removeEventListener("activedescendantchange",t)}},[c]),[v,m]=u.useState(!1);Pi(m);const b=Uc(),C=!!u.useContext(Wc),y=C?b.controller:l,{clearSelection:x,selectedOptions:w,selectOption:k}=mb(e),B=fb(e=>e.selectedOptions),z=fb(e=>e.selectOption),j=s?{selectedOptions:B,selectOption:z,...xb}:{selectedOptions:w,selectOption:k,...xb};u.useEffect(()=>{if(!C){if(y.hideFocusVisibleAttributes(),!o)if(!r&&j.selectedOptions.length>0){const e=h(e=>e===j.selectedOptions[0]).pop();(null==e?void 0:e.id)&&y.focus(e.id)}else y.first();return()=>{y.blur()}}},[]);const S=u.useCallback(()=>{C||(y.showFocusVisibleAttributes(),v&&y.scrollActiveIntoView())},[y,C,v]),N=u.useCallback(()=>{C||y.hideFocusVisibleAttributes()},[y,C]),_={components:{root:"div"},root:wr(Wr("div",{ref:Fo(t,i,a,g),role:r?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!s,multiselect:r,clearSelection:x,activeDescendantController:y,onActiveDescendantChange:c,...n,...j};return _.root.onKeyDown=So(Uo(_.root.onKeyDown,e=>{const t=gb(e,{open:!0}),r=y.active(),o=r?p(r):null;switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":e.preventDefault()}switch(t){case"Next":o?y.next():y.first();break;case"Previous":o?y.prev():y.first();break;case"PageUp":case"First":y.first();break;case"PageDown":case"Last":y.last();break;case"Select":case"CloseSelect":o&&k(e,o)}})),_.root.onFocus=So(Uo(_.root.onFocus,S)),_.root.onBlur=So(Uo(_.root.onBlur,N)),_})(e,t),o=function(e){const t=vc(ub),{getOptionById:r,getOptionsMatchingValue:o,multiselect:n,registerOption:a,selectedOptions:i,selectOption:l,activeDescendantController:s}=e,c=fb(e=>e.registerOption);return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:o,multiselect:n,registerOption:t?c:a,selectedOptions:i,selectOption:l,setActiveOption:()=>{},onOptionClick:fb(e=>e.onOptionClick),onActiveDescendantChange:fb(e=>e.onActiveDescendantChange)},activeDescendant:u.useMemo(()=>({controller:s}),[s])}}(r);return(e=>{const t=wb();e.root.className=te("fui-Listbox",t.root,e.root.className)})(r),co("useListboxStyles_unstable")(r),((e,t)=>gn(Zc,{value:t.activeDescendant,children:gn(ub.Provider,{value:t.listbox,children:gn(e.root,{})})}))(r,o)});kb.displayName="Listbox";const Bb=(e,t)=>{const{children:r,disabled:o,text:n,value:a}=e,i=u.useRef(null),l=function(e,t){if(void 0!==e)return e;let r="",o=!1;return u.Children.forEach(t,e=>{"string"==typeof e?r+=e:o=!0}),o&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),r}(n,r),s=null!=a?a:l,c=qo("fluent-option",e.id),d=u.useMemo(()=>({id:c,disabled:o,text:l,value:s}),[c,o,l,s]),{controller:f}=Uc(),p=fb(e=>e.multiselect),h=fb(e=>e.registerOption),g=fb(e=>{const t=e.selectedOptions;return void 0!==s&&void 0!==t.find(e=>e===s)}),v=fb(e=>e.selectOption),m=fb(e=>e.onOptionClick);let b=u.createElement(jd,null);p&&(b=g?u.createElement(Eu,null):""),u.useEffect(()=>{if(c&&i.current)return h(d,i.current)},[c,d,h]);const C=p?{role:"menuitemcheckbox","aria-checked":g}:{role:"option","aria-selected":g};return{components:{root:"div",checkIcon:"span"},root:wr(Wr("div",{ref:Fo(t,i),"aria-disabled":o?"true":void 0,id:c,...C,...e,onClick:t=>{var r;o?t.preventDefault():(f.focus(c),v(t,d),m(t),null===(r=e.onClick)||void 0===r||r.call(e,t))}}),{elementType:"div"}),checkIcon:kr(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:b},elementType:"span"}),disabled:o,multiselect:p,selected:g,focusVisible:!1,active:!1}},zb=u.forwardRef((e,t)=>{const r=Bb(e,t);return yb(r),co("useOptionStyles_unstable")(r),(e=>vn(e.root,{children:[e.checkIcon&&gn(e.checkIcon,{}),e.root.children]}))(r)});zb.displayName="Option";const jb=e=>{const{appearance:t="outline",disableAutoFocus:r,children:o,clearable:n=!1,editable:a=!1,inlinePopup:i=!1,mountNode:l,multiselect:s,onOpenChange:c,size:d="medium",activeDescendantController:f,freeform:p=!1,disabled:h=!1,onActiveOptionChange:g=null}=e,v=vb(),{getOptionsMatchingValue:m}=v,{getOptionById:b}=v,C=u.useCallback(()=>{const e=f.active();return e?b(e):void 0},[f,b]),y=C(),w=u.useCallback(e=>{let t;"function"==typeof e&&(t=e(C())),t?f.focus(t.id):f.blur()},[f,C]),[k,B]=u.useState(!1),[z,j]=u.useState(!1),S=u.useRef(!1),N=No(),[_,T]=yo({state:e.value,initialState:void 0}),{selectedOptions:q,selectOption:F,clearSelection:D}=mb(e),E=u.useCallback((e,t)=>{x.unstable_batchedUpdates(()=>{T(void 0),F(e,t)})},[T,F]),P=u.useMemo(()=>{if(void 0!==_)return _;if(N&&void 0!==e.defaultValue)return e.defaultValue;const t=m(e=>q.includes(e)).map(e=>e.text);return s?a?"":t.join(", "):t[0]},[_,a,m,s,q]),[I,O]=yo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),A=u.useCallback((e,t)=>{h||(null==c||c(e,{open:t}),x.unstable_batchedUpdates(()=>{t||p||T(void 0),O(t)}))},[c,O,T,p,h]);u.useEffect(()=>{if(I){if(!s&&q.length>0){const e=m(e=>e===q[0]).pop();(null==e?void 0:e.id)&&f.focus(e.id)}}else f.blur()},[I,f]),u.useEffect(()=>{!I||r||f.active()||f.first()},[I,o,r,f,b]);const R=So(e=>{const t=e.detail.previousId?v.getOptionById(e.detail.previousId):null,r=v.getOptionById(e.detail.id);null==g||g(e,{event:e,type:"change",previousOption:t,nextOption:r})});return{...v,freeform:p,disabled:h,selectOption:E,clearSelection:D,selectedOptions:q,activeOption:y,appearance:t,clearable:n,focusVisible:k,ignoreNextBlur:S,inlinePopup:i,mountNode:l,open:I,hasFocus:z,setActiveOption:w,setFocusVisible:B,setHasFocus:j,setOpen:A,setValue:T,size:d,value:P,multiselect:s,onOptionClick:So(e=>{s||A(e,!1)}),onActiveDescendantChange:R}};function Sb(e){const{positioning:t}=e,r={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Jg(t)},{targetRef:o,containerRef:n}=sv(r);return[n,o]}function Nb(e,t,r){const{state:{multiselect:o},triggerRef:n,defaultProps:a}=r,i=qo("fluent-listbox",jr(e)?e.id:void 0),l=kr(e,{renderByDefault:!0,elementType:kb,defaultProps:{id:i,multiselect:o,tabIndex:void 0,...a}}),s=Am({id:i},{supportsLabelFor:!0});l&&!l["aria-label"]&&!l["aria-labelledby"]&&s["aria-labelledby"]&&(l["aria-labelledby"]=s["aria-labelledby"]);const c=So(Uo(e=>{e.preventDefault()},null==l?void 0:l.onMouseDown)),d=So(Uo(e=>{var t;e.preventDefault(),null===(t=n.current)||void 0===t||t.focus()},null==l?void 0:l.onClick)),u=Fo(null==l?void 0:l.ref,t);return l&&(l.ref=u,l.onMouseDown=c,l.onClick=d),l}function _b(e,t,r){const{state:{open:o,setOpen:n,setHasFocus:a},defaultProps:i,elementType:l,activeDescendantController:s}=r,c=wr(e,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",..."object"==typeof i&&i},elementType:l}),d=u.useRef(null);return c.ref=Fo(d,c.ref,t),c.onBlur=Uo(e=>{n(e,!1),a(!1)},c.onBlur),c.onFocus=Uo(e=>{e.target===e.currentTarget&&a(!0)},c.onFocus),c.onClick=Uo(e=>{n(e,!o)},c.onClick),c.onKeyDown=Uo(function(e){const{activeDescendantController:t,getOptionById:r,setOpen:o,selectOption:n,multiselect:a,open:i}=e,l=u.useCallback(()=>{const e=t.active();return e?r(e):void 0},[t,r]),s=function(){const e=Ei();return u.useCallback(t=>{var r;null===(r=e.current)||void 0===r||r.setVal(t)},[e])}();return So(e=>{const r=gb(e,{open:i,multiselect:a}),c=l();switch(r){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":e.preventDefault()}switch(s(!0),r){case"First":t.first();break;case"Last":t.last();break;case"Next":(e=>{e?t.next():t.first()})(c);break;case"Previous":(e=>{e?t.prev():t.first()})(c);break;case"PageDown":(()=>{for(let e=0;e<10;e++)t.next()})();break;case"PageUp":(()=>{for(let e=0;e<10;e++)t.prev()})();break;case"Open":o(e,!0);break;case"Close":e.stopPropagation(),o(e,!1);break;case"CloseSelect":!a&&!(null==c?void 0:c.disabled)&&o(e,!1);case"Select":c&&n(e,c);break;case"Tab":!a&&c&&n(e,c)}})}({activeDescendantController:s,...r.state}),c.onKeyDown),c}function Tb(e,t,r){const{state:{open:o,value:n,selectOption:a,setValue:i,multiselect:l,selectedOptions:s,clearSelection:c,getOptionById:d,setOpen:f},freeform:p,defaultProps:h,activeDescendantController:g}=r,v=_b(e,t,{state:r.state,defaultProps:h,elementType:"input",activeDescendantController:g});v.onChange=Uo(v.onChange,e=>{const t=e.target.value;i(t);const r=(e=>{const t=null==e?void 0:e.trim().toLowerCase();if(!t||0===t.length)return void g.blur();const r=g.find(e=>{const r=d(e);return!!r&&0===r.text.toLowerCase().indexOf(t)});if(r)return d(r);g.blur()})(t);l||1!==s.length||!(t.length<1)&&r||c(e)}),v.onBlur=Uo(v.onBlur,e=>{if(!o&&!p){const t=g.active(),r=t?d(t):null;n&&r&&n.trim().toLowerCase()===(null==r?void 0:r.text.toLowerCase())&&a(e,r),i(void 0)}});const[m,b]=u.useState(!1),C=u.useRef(!1),y=v.onKeyDown,x=So(t=>{o||"Type"!==gb(t)||f(t,!0),t.key===qc||t.key===Fc?b(!0):b(!1);const r=gb(t,{open:o,multiselect:l});var n;"Type"===r?C.current=!0:("Open"===r&&" "!==t.key||"Next"===r||"Previous"===r||"First"===r||"Last"===r||"PageUp"===r||"PageDown"===r)&&(C.current=!1),!C.current&&o||" "!==t.key?null==y||y(t):null==e||null===(n=e.onKeyDown)||void 0===n||n.call(e,t)});return v.onKeyDown=x,m&&(v["aria-activedescendant"]=void 0),v}const qb=vr({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",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:"f145g4dw",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"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},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:"f88035w"},"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:"f88035w"},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"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".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;}",".f145g4dw::after{height:max(2px, 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;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{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);}"],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)"}]],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);}"]}),Fb=vr({input:{qb2dma:"f1ub7u0d",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",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),Db=vr({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fvc9v3g svg{display:block;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".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);}",".fdrzuqr{cursor:not-allowed;}"]}),Eb=u.forwardRef((e,t)=>{const r=((e,t)=>{var r,o;e=Am(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{listboxRef:n,activeParentRef:a,controller:i}=ed({matchOption:e=>e.classList.contains(bb)}),l=jb({...e,editable:!0,activeDescendantController:i}),{clearable:s,clearSelection:c,disabled:d,multiselect:f,open:p,selectedOptions:h,setOpen:g,value:v,hasFocus:m}=l,[b,C]=Sb(e),{disableAutoFocus:y=!1,freeform:x,inlinePopup:w}=e,k=qo("combobox-"),{primary:B,root:z}=Vr({props:e,primarySlotTagName:"input",excludedPropNames:["children","size"]}),j=u.useRef(null),S=Nb(e.listbox,Fo(b,n),{state:l,triggerRef:j,defaultProps:{children:e.children,disableAutoFocus:y}});var N;const _=Tb(null!==(N=e.input)&&void 0!==N?N:{},Fo(j,a,t),{state:l,freeform:x,defaultProps:{type:"text",value:null!=v?v:"","aria-controls":p?null==S?void 0:S.id:void 0,...B},activeDescendantController:i}),T=wr(e.root,{defaultProps:{"aria-owns":!w&&p?null==S?void 0:S.id:void 0,...z},elementType:"div"});T.ref=Fo(T.ref,C);const q=h.length>0&&!d&&s&&!f,F={components:{root:"div",input:"input",expandIcon:"span",listbox:kb,clearIcon:"span"},root:T,input:_,listbox:p||m?S:void 0,clearIcon:kr(e.clearIcon,{defaultProps:{"aria-hidden":"true",children:u.createElement(Id,null)},elementType:"span",renderByDefault:!0}),expandIcon:kr(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":d?"true":void 0,"aria-expanded":p,children:u.createElement(Nd,null),role:"button"},elementType:"span"}),showClearIcon:q,activeDescendantController:i,...l},{targetDocument:D}=ro();Eo({element:D,callback:e=>g(e,!1),refs:[j,b,C],disabled:!p});const{onMouseDown:E}=F.expandIcon||{},P=So(Uo(E,e=>{var t;e.preventDefault(),F.setOpen(e,!F.open),null===(t=j.current)||void 0===t||t.focus()}));if(F.expandIcon){F.expandIcon.onMouseDown=P;const t="Open";if(!F.expandIcon["aria-label"]&&!F.expandIcon["aria-labelledby"])if(e["aria-labelledby"]){var I;const e=null!==(I=F.expandIcon.id)&&void 0!==I?I:`${k}-chevron`,r=`${e} ${F.input["aria-labelledby"]}`;F.expandIcon["aria-label"]=t,F.expandIcon.id=e,F.expandIcon["aria-labelledby"]=r}else e["aria-label"]?F.expandIcon["aria-label"]=`${t} ${e["aria-label"]}`:F.expandIcon["aria-label"]=t}const O=So(Uo(null===(r=F.clearIcon)||void 0===r?void 0:r.onMouseDown,e=>{e.preventDefault()})),A=So(Uo(null===(o=F.clearIcon)||void 0===o?void 0:o.onClick,e=>{c(e)}));return F.clearIcon&&(F.clearIcon.onMouseDown=O,F.clearIcon.onClick=A),f&&(F.clearIcon=void 0),F})(e,t),o=hb(r);return(e=>{const{appearance:t,open:r,size:o,showClearIcon:n}=e,a="true"==`${e.input["aria-invalid"]}`,i=e.input.disabled,l=qb(),s=Db(),c=Fb();e.root.className=te("fui-Combobox",l.root,l[t],l[o],!i&&"outline"===t&&l.outlineInteractive,a&&"underline"!==t&&l.invalid,a&&"underline"===t&&l.invalidUnderline,i&&l.disabled,e.root.className),e.input.className=te("fui-Combobox__input",c.input,c[o],i&&c.disabled,e.input.className),e.listbox&&(e.listbox.className=te("fui-Combobox__listbox",l.listbox,e.inlinePopup&&l.inlineListbox,!r&&l.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=te("fui-Combobox__expandIcon",s.icon,s[o],i&&s.disabled,n&&s.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=te("fui-Combobox__clearIcon",s.icon,s[o],i&&s.disabled,!n&&s.hidden,e.clearIcon.className))})(r),co("useComboboxStyles_unstable")(r),((e,t)=>gn(e.root,{children:gn(Zc,{value:t.activeDescendant,children:gn(pb,{value:t.listbox,children:vn(cb.Provider,{value:t.combobox,children:[gn(e.input,{}),e.clearIcon&&gn(e.clearIcon,{}),e.expandIcon&&gn(e.expandIcon,{}),e.listbox&&(e.inlinePopup?gn(e.listbox,{}):gn(Dv,{mountNode:e.mountNode,children:gn(e.listbox,{})}))]})})})}))(r,o)});function Pb(e,t,r){const{state:{open:o,setOpen:n,getOptionById:a},defaultProps:i,activeDescendantController:l}=r,s=u.useRef(""),[c,d]=Ho(),f=(e,t={startFromNext:!1})=>{const{startFromNext:r}=t,o=l.active();return l.find(t=>{const r=a(t);return!!r&&e(r.text)},{startFrom:r?l.next({passive:!0}):o})||l.find(t=>{const r=a(t);return!!r&&e(r.text)})},p=_b(e,t,{state:r.state,defaultProps:i,elementType:"button",activeDescendantController:l});return p.onKeyDown=Uo(e=>{d(),"Type"===gb(e)&&(s.current+=e.key.toLowerCase(),c(()=>{s.current=""},500),o&&(f(e=>0===e.toLocaleLowerCase().indexOf(s.current),{startFromNext:1===s.current.length})||function(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}(s.current)&&f(e=>0===e.toLocaleLowerCase().indexOf(s.current[0]),{startFromNext:!0})||l.blur()),!o&&n(e,!0))},p.onKeyDown),p}Eb.displayName="Combobox";const Ib=vr({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);}"]}),Ob=vr({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);}"]}),Ab=mr("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;}}"]}),Rb=u.forwardRef((e,t)=>{const r=((e,t)=>{var r;e=Am(e,{supportsLabelFor:!0,supportsSize:!0});const{listboxRef:o,activeParentRef:n,controller:a}=ed({matchOption:e=>e.classList.contains(bb)}),i=jb({...e,activeDescendantController:a,freeform:!1}),{clearable:l,clearSelection:s,disabled:c,hasFocus:d,multiselect:f,open:p,selectedOptions:h,setOpen:g}=i,{primary:v,root:m}=Vr({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[b,C]=Sb(e),y=u.useRef(null),x=Nb(e.listbox,Fo(b,o),{state:i,triggerRef:y,defaultProps:{children:e.children}}),{targetDocument:w}=ro();var k;Eo({element:w,callback:e=>g(e,!1),refs:[y,b,C],disabled:!p});const B=Pb(null!==(k=e.button)&&void 0!==k?k:{},Fo(y,n,t),{state:i,defaultProps:{type:"button",tabIndex:v.disabled?void 0:0,children:i.value||e.placeholder,"aria-controls":p?null==x?void 0:x.id:void 0,...v},activeDescendantController:a}),z=wr(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&p?null==x?void 0:x.id:void 0,children:e.children,...m},elementType:"div"});z.ref=Fo(z.ref,C);const j=h.length>0&&!c&&l&&!f,S={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:kb},root:z,button:B,listbox:p||d?x:void 0,clearButton:kr(e.clearButton,{defaultProps:{"aria-label":"Clear selection",children:u.createElement(Id,null),tabIndex:j?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:kr(e.expandIcon,{renderByDefault:!0,defaultProps:{children:u.createElement(Nd,null)},elementType:"span"}),placeholderVisible:!i.value&&!!e.placeholder,showClearButton:j,activeDescendantController:a,...i},N=So(Uo(null===(r=S.clearButton)||void 0===r?void 0:r.onClick,e=>{var t;s(e),null===(t=y.current)||void 0===t||t.focus()}));return S.clearButton&&(S.clearButton.onClick=N),f&&(S.clearButton=void 0),S})(e,t),o=hb(r);return(e=>{const{appearance:t,open:r,placeholderVisible:o,showClearButton:n,size:a}=e,i="true"==`${e.button["aria-invalid"]}`,l=e.button.disabled,s=Ib(),c=Ob(),d=Ab();e.root.className=te("fui-Dropdown",s.root,s[t],!l&&"outline"===t&&s.outlineInteractive,i&&"underline"!==t&&s.invalid,i&&"underline"===t&&s.invalidUnderline,l&&s.disabled,e.root.className),e.button.className=te("fui-Dropdown__button",s.button,s[a],o&&s.placeholder,l&&s.disabledText,e.button.className),e.listbox&&(e.listbox.className=te("fui-Dropdown__listbox",s.listbox,e.inlinePopup&&s.inlineListbox,!r&&s.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=te("fui-Dropdown__expandIcon",c.icon,c[a],l&&c.disabled,n&&s.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=te("fui-Dropdown__clearButton",d,c.icon,c[a],l&&c.disabled,!n&&s.hidden,e.clearButton.className))})(r),co("useDropdownStyles_unstable")(r),((e,t)=>gn(e.root,{children:gn(Zc,{value:t.activeDescendant,children:gn(ub.Provider,{value:t.listbox,children:vn(cb.Provider,{value:t.combobox,children:[vn(e.button,{children:[e.button.children,e.expandIcon&&gn(e.expandIcon,{})]}),e.clearButton&&gn(e.clearButton,{}),e.listbox&&(e.inlinePopup?gn(e.listbox,{}):gn(Dv,{mountNode:e.mountNode,children:gn(e.listbox,{})}))]})})})}))(r,o)});Rb.displayName="Dropdown";const Mb=(e,t)=>{const r=qo("group-label"),{label:o}=e;return{components:{root:"div",label:"span"},root:wr(Wr("div",{ref:t,role:"group","aria-labelledby":o?r:void 0,...e}),{elementType:"div"}),label:kr(o,{defaultProps:{id:r,role:"presentation"},elementType:"span"})}},Hb=e=>vn(e.root,{children:[e.label&&gn(e.label,{children:e.label.children}),e.root.children]}),Lb=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Belr9w4:"fiut8dr",B8lkq7l:"f1xxzjds",eii1in:0,H93o2g:0,Gwp8xu:0,Bd39igo:"f16cmn8k",om0q45:"f5642y",Hl9o3s:"ffdf81h",sl1c2c:0,z4hxbw:0,B0i58d9:0,Bi9x0x4:0,Bgurq3m:"f1bsn9kn"},label:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f11d4kpn",mc9l5x:"ftgm304",Be2twd7:"fy9rknc",Bhrd7zp:"fl43uef",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mpq0zz"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".fiut8dr{row-gap:var(--spacingHorizontalXXS);}",'.f1xxzjds:not(:last-child)::after{content:"";}',[".f16cmn8k:not(:last-child)::after{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".f5642y:not(:last-child)::after{display:block;}",".ffdf81h:not(:last-child)::after{padding-bottom:var(--spacingHorizontalXS);}",[".f1bsn9kn:not(:last-child)::after{margin:0 calc(var(--spacingHorizontalXS) * -1) var(--spacingVerticalXS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f11d4kpn{color:var(--colorNeutralForeground3);}",".ftgm304{display:block;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".f1mpq0zz{padding:var(--spacingHorizontalS) var(--spacingHorizontalSNudge);}",{p:-1}]]}),Vb=e=>{const t=Lb();return e.root.className=te("fui-OptionGroup",t.root,e.root.className),e.label&&(e.label.className=te("fui-OptionGroup__label",t.label,e.label.className)),e};u.forwardRef((e,t)=>{const r=Mb(e,t);return Vb(r),co("useOptionGroupStyles_unstable")(r),Hb(r)}).displayName="OptionGroup";const Wb=e=>gn(e.root,{children:void 0!==e.root.children&&gn(e.wrapper,{children:e.root.children})}),Zb=(e,t)=>{const{alignContent:r="center",appearance:o="default",inset:n=!1,...a}=e;return{alignContent:r,appearance:o,inset:n,...Ub(a,t)}},Ub=(e,t)=>{const{vertical:r=!1,wrapper:o,...n}=e,a=qo("divider-");return{vertical:r,components:{root:"div",wrapper:"div"},root:wr({role:"separator","aria-orientation":r?"vertical":"horizontal","aria-labelledby":e.children?a:void 0,ref:t,...n},{elementType:"div"}),wrapper:wr(o,{defaultProps:{id:a,children:e.children},elementType:"div"})}},Gb=vr({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),Xb=vr({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),$b=vr({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),Kb=e=>{const t=Gb(),r=Xb(),o=$b(),{alignContent:n,appearance:a,inset:i,vertical:l}=e;return e.root.className=te("fui-Divider",t.base,t[n],a&&t[a],!l&&r.base,!l&&i&&r.inset,!l&&r[n],l&&o.base,l&&i&&o.inset,l&&o[n],l&&void 0!==e.root.children&&o.withChildren,void 0===e.root.children&&t.childless,e.root.className),e.wrapper&&(e.wrapper.className=te("fui-Divider__wrapper",e.wrapper.className)),e},Yb=u.forwardRef((e,t)=>{const r=Zb(e,t);return Kb(r),co("useDividerStyles_unstable")(r),Wb(r)});Yb.displayName="Divider";const Jb=(e,t)=>{e=Am(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=ao();var o;const{size:n="medium",appearance:a=(null!==(o=r.inputDefaultAppearance)&&void 0!==o?o:"outline"),...i}=e;return{size:n,appearance:a,...Qb(i,t)}},Qb=(e,t)=>{const{onChange:r}=e,[o,n]=yo({state:e.value,defaultState:e.defaultValue,initialState:""}),a=Vr({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),i={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:wr(e.input,{defaultProps:{type:"text",ref:t,...a.primary},elementType:"input"}),contentAfter:kr(e.contentAfter,{elementType:"span"}),contentBefore:kr(e.contentBefore,{elementType:"span"}),root:wr(e.root,{defaultProps:a.root,elementType:"span"})};return i.input.value=o,i.input.onChange=So(e=>{const t=e.target.value;null==r||r(e,{value:t}),n(t)}),i},eC=mr("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;}}"]}),tC=vr({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;}"]}),rC=mr("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;}"]),oC=vr({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);}"]}),nC=mr("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),aC=vr({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;}"]}),iC=e=>{const{size:t,appearance:r}=e,o=e.input.disabled,n="true"==`${e.input["aria-invalid"]}`,a=r.startsWith("filled"),i=tC(),l=oC(),s=aC();e.root.className=te("fui-Input",eC(),i[t],e.contentBefore&&i[`${t}WithContentBefore`],e.contentAfter&&i[`${t}WithContentAfter`],i[r],!o&&"outline"===r&&i.outlineInteractive,!o&&"underline"===r&&i.underlineInteractive,!o&&a&&i.filledInteractive,a&&i.filled,!o&&n&&i.invalid,o&&i.disabled,e.root.className),e.input.className=te("fui-Input__input",rC(),l[t],e.contentBefore&&l[`${t}WithContentBefore`],e.contentAfter&&l[`${t}WithContentAfter`],o&&l.disabled,e.input.className);const c=[nC(),o&&s.disabled,s[t]];return e.contentBefore&&(e.contentBefore.className=te("fui-Input__contentBefore",...c,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=te("fui-Input__contentAfter",...c,e.contentAfter.className)),e},lC=u.forwardRef((e,t)=>{const r=Jb(e,t);return iC(r),co("useInputStyles_unstable")(r),(e=>vn(e.root,{children:[e.contentBefore&&gn(e.contentBefore,{}),gn(e.input,{}),e.contentAfter&&gn(e.contentAfter,{})]}))(r)});lC.displayName="Input";const sC=(e,t)=>({components:{root:"img"},root:wr(Wr("img",{ref:t,...e}),{elementType:"img"})}),cC=vr({base:{g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",B7ck84d:"f1ewtqcl",mc9l5x:"f14t3ns0"},bordered:{icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"]},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{},shadow:{E5pizo:"f1whvlc6"},center:{st4lth:"f1plgu50",Ermj5k:"f14xojzb"},contain:{st4lth:"f1kle4es",Ermj5k:"f14xojzb"},default:{},cover:{st4lth:"f1ps3kmd",Ermj5k:"f14xojzb"},none:{st4lth:"f1plgu50",Ermj5k:["f13uwng7","fjmyj0p"]},fitFill:{Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},block:{a9b677:"fly5x3f"}},{d:[".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14t3ns0{display:inline-block;}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1whvlc6{box-shadow:var(--shadow4);}",".f1plgu50{object-fit:none;}",".f14xojzb{object-position:center;}",".f1kle4es{object-fit:contain;}",".f1ps3kmd{object-fit:cover;}",".f13uwng7{object-position:left top;}",".fjmyj0p{object-position:right top;}",".f1l02sjl{height:100%;}",".fly5x3f{width:100%;}"]}),dC=u.forwardRef((e,t)=>{const r=((e,t)=>{const{bordered:r=!1,block:o=!1,fit:n="default",shadow:a=!1,shape:i="square",...l}=e;return{bordered:r,block:o,fit:n,shadow:a,shape:i,...sC(l,t)}})(e,t);return(e=>{const t=cC(),{height:r,width:o}=e.root,n=null!=r||null!=o,a="default"!==e.fit&&!n;e.root.className=te("fui-Image",t.base,e.block&&t.block,e.bordered&&t.bordered,e.shadow&&t.shadow,t[e.fit],a&&t.fitFill,t[e.shape],e.root.className)})(r),co("useImageStyles_unstable")(r),(e=>gn(e.root,{}))(r)});dC.displayName="Image";const uC=u.createContext(void 0),fC={inline:!1},pC=uC.Provider,hC=(e,t)=>{const{inline:r}=null!==(o=u.useContext(uC))&&void 0!==o?o:fC;var o;const{disabled:n=!1,disabledFocusable:a=!1,inline:i=!1}=e,l=e.as||(e.href?"a":"button"),s={role:"span"===l?"button":void 0,type:"button"===l?"button":void 0,...e,as:l},c={disabled:n,disabledFocusable:a,inline:null!=i?i:!!r,components:{root:l},root:wr(Wr(l,{ref:t,...s}),{elementType:l})};return(e=>{const{disabled:t,disabledFocusable:r}=e,{onClick:o,onKeyDown:n,role:a,tabIndex:i}=e.root;"a"===e.root.as&&(e.root.href=t?void 0:e.root.href,(t||r)&&(e.root.role=a||"link")),"a"!==e.root.as&&"span"!==e.root.as||(e.root.tabIndex=null!=i?i:t&&!r?void 0:0),e.root.onClick=e=>{t||r?e.preventDefault():null==o||o(e)},e.root.onKeyDown=o=>{const a=o.key===Sc||o.key===Nc;(t||r)&&a?(o.preventDefault(),o.stopPropagation()):(null==n||n(o),"span"===e.root.as&&e.root.onClick&&!n&&a&&(o.preventDefault(),o.currentTarget.click()))},e.disabled=t||r,e.root["aria-disabled"]=t||r||void 0,"button"===e.root.as&&(e.root.disabled=t&&!r)})(c),c},gC=vr({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"f2yjg6r",Bde5pd6:"f1tx3yz7",Bi91k9c:"fj1cjhr",i089h6:"f1eh06m1",lj723h:"fhucn0c"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1ujg2k6",lj723h:"f1ebemlp"},brand:{sj55zd:"f179xftw",Bi91k9c:"f1sk1dtk",lj723h:"f182g21t"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".f2yjg6r{color:var(--colorNeutralForeground2Link);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".f179xftw{color:var(--colorNeutralForegroundInvertedLink);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fj1cjhr:hover{color:var(--colorNeutralForeground2LinkHover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ujg2k6:hover{color:var(--colorBrandForegroundInverted);}",".f1sk1dtk:hover{color:var(--colorNeutralForegroundInvertedLinkHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".fhucn0c:active{color:var(--colorNeutralForeground2LinkPressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ebemlp:active{color:var(--colorBrandForegroundInverted);}",".f182g21t:active{color:var(--colorNeutralForegroundInvertedLinkPressed);}"]}),vC=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=po(),{appearance:o="default",...n}=e;return{appearance:o,backgroundAppearance:r,...hC(n,t)}})(e,t);return(e=>{const t=gC(),{appearance:r,disabled:o,inline:n,root:a,backgroundAppearance:i}=e;e.root.className=te("fui-Link",t.root,t.focusIndicator,"a"===a.as&&a.href&&t.href,"button"===a.as&&t.button,"subtle"===r&&t.subtle,"inverted"===i&&t.inverted,"brand"===i&&t.brand,n&&t.inline,o&&t.disabled,e.root.className)})(r),co("useLinkStyles_unstable")(r),(e=>gn(e.root,{}))(r)});vC.displayName="Link";const mC=hc(void 0),bC={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},CC=mC.Provider,yC=e=>gc(mC,(t=bC)=>e(t)),xC=u.createContext(void 0),wC=xC.Provider,kC=u.createContext(void 0),BC={headerId:""},zC=kC.Provider,jC=hc(void 0),SC={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},NC=jC.Provider,_C=e=>gc(jC,(t=SC)=>e(t)),TC="fuimenuenter";function qC(){const e=yC(e=>e.isSubmenu),t=vc(jC);return e||t}const FC=e=>{const{targetDocument:t}=ro();return yC(e=>e.triggerRef),yC(e=>e.inline),u.useRef(null)},DC="fuimenusafezonetimeout",EC=vr({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),PC=e=>{const t=EC();e.checkmark&&(e.checkmark.className=te(t.root,e.checked&&t.rootChecked,e.checkmark.className))},IC="fui-MenuItem",OC=mr("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[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);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[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){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[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){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),AC=mr("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),RC=mr("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),MC=mr("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),HC=mr("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),LC=mr("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),VC=vr({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Bbkh6qg:"f1wzezsb",B3ejlan:"f1egomlm",B41git9:"f1wf2001",Boq1n10:"fied5gk",Dcq74g:"f1efp33f",rxnm8d:"f1m2zpi7",wxluhh:"fei14nx",idgcvv:"f12hmwa5",j9xr24:"f1hzwxd0"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wzezsb:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1egomlm:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wf2001:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fied5gk:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2zpi7:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fei14nx:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12hmwa5:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1hzwxd0:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),WC=vr({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),ZC=vr({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),UC=e=>{const t=VC(),r=OC(),o=AC(),n=RC(),a=MC(),i=HC(),l=ZC(),s=LC(),c=WC(),d=!!e.subText;return e.root.className=te(IC,r,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=te("fui-MenuItem__content",o,e.content.className,d&&l.content)),e.checkmark&&(e.checkmark.className=te("fui-MenuItem__checkmark",t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=te("fui-MenuItem__secondaryContent",n,e.disabled&&t.disabled,e.secondaryContent.className,d&&l.secondaryContent)),e.icon&&(e.icon.className=te("fui-MenuItem__icon",a,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=te("fui-MenuItem__submenuIndicator",i,e.submenuIndicator.className,d&&l.submenuIndicator)),e.subText&&(e.subText.className=te("fui-MenuItem__subText",e.disabled&&c.disabled,e.subText.className,s)),PC(e),e},GC=ef.durationSlower,XC=ef.curveDecelerateMid,$C=mf(({distance:e=10})=>({enter:[If({duration:GC,easing:XC,direction:"enter"}),{...Vf({duration:GC,easing:XC,direction:"enter",outX:`calc(var(${wh}, 0px) * ${e})`,outY:`calc(var(${kh}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),KC=["after","after-bottom","before-top","before","before-bottom","above"],YC=e=>{const[t,r]=yo({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}});return[t,So((t,{name:o,checkedItems:n})=>{var a;null===(a=e.onCheckedValueChange)||void 0===a||a.call(e,t,{name:o,checkedItems:n}),r(e=>({...e,[o]:n}))})]},JC=e=>{const{targetDocument:t}=ro(),r=yC(e=>e.setOpen),o=So((t,r)=>{var o;return null===(o=e.onOpenChange)||void 0===o?void 0:o.call(e,t,r)}),n=u.useRef(!1),[a,i]=yo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),l=So((t,n)=>{const a=t instanceof CustomEvent&&t.type===TC?t.detail.nativeEvent:t;null==o||o(a,{...n}),n.open&&"contextmenu"===t.type&&e.setContextTarget(t),n.open||e.setContextTarget(void 0),n.bubble&&r(t,{...n}),i(n.open)}),[s,c]=Ho(),d=So((t,r)=>{var o;c(),t instanceof Event||!t.persist||t.persist(),r.ignoreHoverDelay||"mouseleave"!==t.type&&"mouseover"!==t.type&&"mousemove"!==t.type&&t.type!==TC?l(t,r):((null===(o=e.triggerRef.current)||void 0===o?void 0:o.contains(t.target))&&(n.current="mouseover"===t.type||"mousemove"===t.type),s(()=>l(t,r),e.hoverDelay))});Eo({contains:dn,disabled:!a,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:e=>d(e,{open:!1,type:"clickOutside",event:e})});const f=e.openOnContext||e.closeOnScroll;Ao({contains:dn,element:t,callback:e=>d(e,{open:!1,type:"scrollOutside",event:e}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!a||!f}),(e=>{const{refs:t,callback:r,element:o,disabled:n}=e,a=So(e=>{const o=t[0],a=e.target;var i;!dn(null!==(i=o.current)&&void 0!==i?i:null,a)&&!n&&r(e)});u.useEffect(()=>{if(null!=o)return n||o.addEventListener(TC,a),()=>{o.removeEventListener(TC,a)}},[a,o,n])})({element:t,callback:e=>{n.current||d(e,{open:!1,type:"menuMouseEnter",event:e})},disabled:!a,refs:[e.menuPopoverRef]});const{findFirstFocusable:p}=zi(),h=u.useCallback(()=>{const t=p(e.menuPopoverRef.current);null==t||t.focus()},[p,e.menuPopoverRef]),g=No();return u.useEffect(()=>{var r,o,n;a?h():g||((null==t?void 0:t.activeElement)===(null==t?void 0:t.body)||(null===(r=e.menuPopoverRef.current)||void 0===r?void 0:r.contains(null!==(o=null==t?void 0:t.activeElement)&&void 0!==o?o:null)))&&(null===(n=e.triggerRef.current)||void 0===n||n.focus())},[e.triggerRef,e.isSubmenu,a,h,t,e.menuPopoverRef]),[a,d]},QC=e=>{const t=(e=>{const t=qC(),{hoverDelay:r=500,inline:o=!1,hasCheckmarks:n=!1,hasIcons:a=!1,closeOnScroll:i=!1,openOnContext:l=!1,persistOnItemClick:s=!1,openOnHover:c=t,defaultCheckedValues:d,mountNode:f=null,safeZone:p}=e,{targetDocument:h}=ro(),g=qo("menu"),[v,m]=cv(),b=Jg(e.positioning),C=Bh({targetDocument:h,onPositioningEnd:b.onPositioningEnd}),y={position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?v:void 0,fallbackPositions:t?KC:void 0,...b,onPositioningEnd:C},x=u.Children.toArray(e.children);let w,k;2===x.length?(w=x[0],k=x[1]):1===x.length&&(k=x[0]);const{targetRef:B,containerRef:z}=sv(y),j=p&&c,S=u.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),N=function({debug:e=!1,disabled:t=!1,onSafeZoneEnter:r,onSafeZoneMove:o,onSafeZoneLeave:n,onSafeZoneTimeout:a,timeout:i=1500}={}){const[l]=u.useState(dv),s=u.useRef(null),c=u.useRef(null),d=u.useRef(null),[f,p]=Ho(),[h,g]=Co(),v=u.useRef({x:0,y:0}),m=u.useMemo(()=>{if(t)return()=>{};let e=null;function r(){p(),l.toggleActive(!1)}return t=>{null===t&&(null==e||e.removeEventListener("mouseenter",r)),e=t,null==t||t.addEventListener("mouseenter",r)}},[p,t,l]),b=u.useMemo(()=>{if(t)return()=>{};let e=null;function r(e){v.current={x:e.clientX,y:e.clientY},l.isActive()||l.toggleActive(!0),f(()=>{l.toggleActive(!1)},2e3)}return t=>{null===t&&(g(),p(),null==e||e.removeEventListener("mousemove",r)),e=t,null==t||t.addEventListener("mousemove",r)}},[g,p,t,l,f]),C=So(e=>{null==r||r(e),f(()=>{l.toggleActive(!1),null==a||a()},i)}),y=So(e=>{f(()=>{l.toggleActive(!1),null==a||a()},i),null==o||o(e)}),x=So(e=>{null==n||n(e)});return u.useEffect(()=>l.subscribe(e=>{if(e){function t(){const e=c.current,r=d.current;var o;e&&r&&(null===(o=s.current)||void 0===o||o.updateSVG({containerRect:e.getBoundingClientRect(),mouseCoordinates:[v.current.x,v.current.y],targetRect:r.getBoundingClientRect()})),h(t)}return void t()}g()}),[g,h,l]),{containerRef:Fo(c,m),targetRef:Fo(d,b),elementToRender:u.useMemo(()=>t?null:u.createElement(wv,{debug:e,onMouseEnter:C,onMouseMove:y,onMouseLeave:x,imperativeRef:s,stateStore:l}),[t,e,C,y,x,l])}}({disabled:!j,timeout:"object"==typeof p?p.timeout:300,onSafeZoneEnter:e=>{F(e,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:e}),S.current.isInside=!0},onSafeZoneLeave:()=>{S.current.isInside=!1},onSafeZoneMove:e=>{S.current.mouseCoordinates={x:e.clientX,y:e.clientY}},onSafeZoneTimeout:()=>{const e=new CustomEvent(DC);if(F(e,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:e}),S.current.isInside&&h){const t=h.elementsFromPoint(S.current.mouseCoordinates.x,S.current.mouseCoordinates.y).find(e=>e.classList.contains(IC));null==t||t.dispatchEvent(e)}}}),_=Fo(B,N.targetRef),T=Fo(z,N.containerRef),[q,F]=JC({hoverDelay:r,isSubmenu:t,setContextTarget:m,closeOnScroll:i,menuPopoverRef:T,triggerRef:_,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:l}),[D,E]=YC({checkedValues:e.checkedValues,defaultCheckedValues:d,onCheckedValueChange:e.onCheckedValueChange});return{inline:o,hoverDelay:r,triggerId:g,isSubmenu:t,openOnHover:c,contextTarget:v,setContextTarget:m,hasCheckmarks:n,hasIcons:a,closeOnScroll:i,menuTrigger:w,menuPopover:k,mountNode:f,triggerRef:_,menuPopoverRef:T,components:{surfaceMotion:$C},openOnContext:l,open:q,setOpen:F,checkedValues:D,onCheckedValueChange:E,persistOnItemClick:s,safeZone:N.elementToRender,surfaceMotion:Nf(e.surfaceMotion,{elementType:$C,defaultProps:{visible:q,appear:!0,unmountOnExit:!0}})}})(e),r=function(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:n,isSubmenu:a,menuPopoverRef:i,mountNode:l,onCheckedValueChange:s,open:c,openOnContext:d,openOnHover:u,persistOnItemClick:f,safeZone:p,setOpen:h,triggerId:g,triggerRef:v}=e;return{menu:{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:n,isSubmenu:a,menuPopoverRef:i,mountNode:l,onCheckedValueChange:s,open:c,openOnContext:d,openOnHover:u,persistOnItemClick:f,safeZone:p,setOpen:h,triggerId:g,triggerRef:v}}}(t);return((e,t)=>vn(CC,{value:t.menu,children:[e.menuTrigger,e.menuPopover&&gn(e.surfaceMotion,{children:gn(jf,{children:e.menuPopover})})]}))(t,r)};QC.displayName="Menu";const ey=vr({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f8dz51a",a9b677:"f14z66ap",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"}},{d:[[".f8dz51a{margin:4px -5px 4px -5px;}",{p:-1}],".f14z66ap{width:auto;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}]]}),ty=u.forwardRef((e,t)=>{const r=((e,t)=>({components:{root:"div"},root:wr(Wr("div",{role:"presentation","aria-hidden":!0,...e,ref:t}),{elementType:"div"})}))(e,t);return(e=>{const t=ey();e.root.className=te("fui-MenuDivider",t.root,e.root.className)})(r),co("useMenuDividerStyles_unstable")(r),(e=>gn(e.root,{}))(r)});ty.displayName="MenuDivider";const ry=u.forwardRef((e,t)=>{const r=function(e,t){const r=qo("menu-group");return{components:{root:"div"},root:wr(Wr("div",{ref:t,"aria-labelledby":r,role:"group",...e}),{elementType:"div"}),headerId:r}}(e,t),o=function(e){const{headerId:t}=e;return{menuGroup:u.useMemo(()=>({headerId:t}),[t])}}(r);return(e=>{e.root.className=te("fui-MenuGroup",e.root.className)})(r),co("useMenuGroupStyles_unstable")(r),((e,t)=>gn(zC,{value:t.menuGroup,children:gn(e.root,{})}))(r,o)});ry.displayName="MenuGroup";const oy=vr({root:{Be2twd7:"fy9rknc",sj55zd:"f11d4kpn",uwmqm3:["f177v4lu","f19lj068"],z189sj:["f19lj068","f177v4lu"],Bhrd7zp:"fl43uef",Bqenvij:"f1d2rq10",mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".fy9rknc{font-size:var(--fontSizeBase200);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f177v4lu{padding-left:8px;}",".f19lj068{padding-right:8px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1d2rq10{height:32px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),ny=u.forwardRef((e,t)=>{const r=function(e,t){const{headerId:r}=null!==(o=u.useContext(kC))&&void 0!==o?o:BC;var o;return{components:{root:"div"},root:wr(Wr("div",{ref:t,id:r,...e}),{elementType:"div"})}}(e,t);return(e=>{const t=oy();e.root.className=te("fui-MenuGroupHeader",t.root,e.root.className)})(r),co("useMenuGroupHeaderStyles_unstable")(r),(e=>gn(e.root,{}))(r)});ny.displayName="MenuGroupHeader";const ay=u.createContext(void 0),iy={setMultiline:()=>null},ly=ay.Provider,sy=()=>{var e;return null!==(e=u.useContext(ay))&&void 0!==e?e:iy},cy=()=>sy()!==iy,dy=Yu(qd,Fd),uy=Yu(_d,Td),fy=(e,t)=>{const{dir:r}=ro(),o=py(e,t);var n,a;return o.submenuIndicator&&(null!==(a=(n=o.submenuIndicator).children)&&void 0!==a||(n.children="rtl"===r?u.createElement(uy,null):u.createElement(dy,null))),o},py=(e,t)=>{const r=null!==(o=u.useContext(xC))&&void 0!==o&&o;var o;const n=yC(e=>e.persistOnItemClick),{as:a="div",disabled:i=!1,hasSubmenu:l=r,persistOnClick:s=n,content:c,...d}=e,{hasIcons:f,hasCheckmarks:p}=gy({hasSubmenu:l}),h=yC(e=>e.setOpen);hy({multiline:!!e.subText,hasSubmenu:l});const g=u.useRef(null),v=u.useRef(!1),m=FC(vy(e.role)),b={hasSubmenu:l,disabled:i,persistOnClick:s,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:wr(Wr(a,Hc(a,{role:"menuitem",...d,disabled:!1,disabledFocusable:i,ref:Fo(t,g,m),onKeyDown:So(t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.isDefaultPrevented()||t.key!==Nc&&t.key!==Sc||(v.current=!0)}),onMouseMove:So(t=>{var r,o;t.currentTarget.ownerDocument.activeElement!==t.currentTarget&&(null===(o=g.current)||void 0===o||o.focus()),null===(r=e.onMouseMove)||void 0===r||r.call(e,t)}),onClick:So(t=>{var r;l||s||(h(t,{open:!1,keyboard:v.current,bubble:!0,type:"menuItemClick",event:t}),v.current=!1),null===(r=e.onClick)||void 0===r||r.call(e,t)})})),{elementType:"div"}),icon:kr(e.icon,{renderByDefault:f,elementType:"span"}),checkmark:kr(e.checkmark,{renderByDefault:p,elementType:"span"}),submenuIndicator:kr(e.submenuIndicator,{renderByDefault:l,elementType:"span"}),content:kr(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:kr(e.secondaryContent,{elementType:"span"}),subText:kr(e.subText,{elementType:"span"})};return((e,t)=>{const r=_C(e=>e.setFocusByFirstCharacter),{onKeyDown:o}=e.root;e.root.onKeyDown=e=>{var n;null==o||o(e),(null===(n=e.key)||void 0===n?void 0:n.length)>1||t.current&&(null==r||r(e,t.current))}})(b,g),b},hy=e=>{const{hasSubmenu:t,multiline:r}=e,o=cy()&&t,{setMultiline:n}=sy();jo(()=>{o||n(r)},[n,r,o])},gy=e=>{const{hasSubmenu:t}=e,r=_C(e=>e.hasIcons),o=_C(e=>e.hasCheckmarks),n=cy()&&t;return{hasIcons:r&&!n,hasCheckmarks:o&&!n}},vy=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},my=u.forwardRef((e,t)=>{const r=fy(e,t);return UC(r),co("useMenuItemStyles_unstable")(r),(e=>vn(e.root,{children:[e.checkmark&&gn(e.checkmark,{}),e.icon&&gn(e.icon,{}),e.content&&vn(e.content,{children:[e.content.children,e.subText&&gn(e.subText,{})]}),e.secondaryContent&&gn(e.secondaryContent,{}),e.submenuIndicator&&gn(e.submenuIndicator,{})]}))(r)});my.displayName="MenuItem";const by=(e,t)=>{const r=_C(e=>e.toggleCheckbox),{name:o,value:n}=e,a=_C(e=>{var t;return-1!==((null===(t=e.checkedValues)||void 0===t?void 0:t[o])||[]).indexOf(n)});return{...py({role:"menuitemcheckbox",persistOnClick:!0,...e,"aria-checked":a,checkmark:kr(e.checkmark,{renderByDefault:!0,elementType:"span"}),onClick:t=>{var i;null==r||r(t,o,n,a),null===(i=e.onClick)||void 0===i||i.call(e,t)}},t),name:o,value:n,checked:a}};u.forwardRef((e,t)=>{const r=((e,t)=>{const r=by(e,t);var o,n;return r.checkmark&&(null!==(n=(o=r.checkmark).children)&&void 0!==n||(o.children=u.createElement(Pu,null))),r})(e,t);return(e=>{e.root.className=te("fui-MenuItemCheckbox",e.root.className),e.content&&(e.content.className=te("fui-MenuItemCheckbox__content",e.content.className)),e.secondaryContent&&(e.secondaryContent.className=te("fui-MenuItemCheckbox__secondaryContent",e.secondaryContent.className)),e.icon&&(e.icon.className=te("fui-MenuItemCheckbox__icon",e.icon.className)),e.checkmark&&(e.checkmark.className=te("fui-MenuItemCheckbox__checkmark",e.checkmark.className)),e.subText&&(e.subText.className=te("fui-MenuItemCheckbox__subText",e.subText.className)),UC(e),PC(e)})(r),co("useMenuItemCheckboxStyles_unstable")(r),(e=>vn(e.root,{children:[e.checkmark&&gn(e.checkmark,{}),e.icon&&gn(e.icon,{}),e.content&&vn(e.content,{children:[e.content.children,e.subText&&gn(e.subText,{})]}),e.secondaryContent&&gn(e.secondaryContent,{})]}))(r)}).displayName="MenuItemCheckbox";u.forwardRef((e,t)=>{const r=((e,t)=>{const r=((e,t)=>{const{name:r,value:o}=e,n=_C(e=>{var t;return-1!==((null===(t=e.checkedValues)||void 0===t?void 0:t[r])||[]).indexOf(o)}),a=_C(e=>e.selectRadio);return{...py({...e,role:"menuitemradio","aria-checked":n,checkmark:kr(e.checkmark,{renderByDefault:!0,elementType:"span"}),onClick:t=>{var i;null==a||a(t,r,o,n),null===(i=e.onClick)||void 0===i||i.call(e,t)}},t),checked:n,name:r,value:o}})(e,t);var o,n;return r.checkmark&&(null!==(n=(o=r.checkmark).children)&&void 0!==n||(o.children=u.createElement(Pu,null))),r})(e,t);return(e=>{e.root.className=te("fui-MenuItemRadio",e.root.className),e.content&&(e.content.className=te("fui-MenuItemRadio__content",e.content.className)),e.secondaryContent&&(e.secondaryContent.className=te("fui-MenuItemRadio__secondaryContent",e.secondaryContent.className)),e.icon&&(e.icon.className=te("fui-MenuItemRadio__icon",e.icon.className)),e.checkmark&&(e.checkmark.className=te("fui-MenuItemRadio__checkmark",e.checkmark.className)),e.subText&&(e.subText.className=te("fui-MenuItemRadio__subText",e.subText.className)),UC(e),PC(e)})(r),co("useMenuItemRadioStyles_unstable")(r),(e=>vn(e.root,{children:[e.checkmark&&gn(e.checkmark,{}),e.icon&&gn(e.icon,{}),e.content&&vn(e.content,{children:[e.content.children,e.subText&&gn(e.subText,{})]}),e.secondaryContent&&gn(e.secondaryContent,{})]}))(r)}).displayName="MenuItemRadio";const Cy=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),yy=u.forwardRef((e,t)=>{const r=((e,t)=>{const{findAllFocusable:r}=zi(),{targetDocument:o}=ro(),n={checkedValues:yC(e=>e.checkedValues),onCheckedValueChange:yC(e=>e.onCheckedValueChange),triggerId:yC(e=>e.triggerId),hasIcons:yC(e=>e.hasIcons),hasCheckmarks:yC(e=>e.hasCheckmarks)},a=vc(mC),i=xi({circular:!0});((e,t,r)=>{let o=!1;for(const r in t)e[r]&&(o=!0);return r&&o})(e,n,a)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const l=u.useRef(null),s=FC();u.useEffect(()=>{const e=l.current;if(a&&o&&e){const t=t=>{const r=t.detail.next;r&&e.contains(o.activeElement)&&!e.contains(r)&&t.preventDefault()};return o.addEventListener(Rn,t),()=>{o.removeEventListener(Rn,t)}}},[l,o,a]);const c=u.useCallback((e,t)=>{const o=["menuitem","menuitemcheckbox","menuitemradio"];if(!l.current)return;const n=r(l.current,e=>e.hasAttribute("role")&&-1!==o.indexOf(e.getAttribute("role")));let a=n.indexOf(t)+1;a===n.length&&(a=0);const i=n.map(e=>{var t;return null===(t=e.textContent)||void 0===t?void 0:t.charAt(0).toLowerCase()}),s=e.key.toLowerCase(),c=(e,t)=>{for(let t=e;t<i.length;t++)if(s===i[t])return t;return-1};let d=c(a);-1===d&&(d=c(0)),d>-1&&n[d].focus()},[r]);var d;const[f,p]=yo({state:null!==(d=e.checkedValues)&&void 0!==d?d:a?n.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var h;const g=null!==(h=e.onCheckedValueChange)&&void 0!==h?h:a?n.onCheckedValueChange:void 0,v=So((e,t,r,o)=>{const n=[...(null==f?void 0:f[t])||[]];o?n.splice(n.indexOf(r),1):n.push(r),null==g||g(e,{name:t,checkedItems:n}),p(e=>({...e,[t]:n}))}),m=So((e,t,r)=>{const o=[r];p(e=>({...e,[t]:o})),null==g||g(e,{name:t,checkedItems:o})});return{components:{root:"div"},root:wr(Wr("div",{ref:Fo(t,l,s),role:"menu","aria-labelledby":n.triggerId,...i,...e}),{elementType:"div"}),hasIcons:n.hasIcons||!1,hasCheckmarks:n.hasCheckmarks||!1,checkedValues:f,hasMenuContext:a,setFocusByFirstCharacter:c,selectRadio:m,toggleCheckbox:v}})(e,t),o=function(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:n,setFocusByFirstCharacter:a,toggleCheckbox:i}=e;return{menuList:{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:n,setFocusByFirstCharacter:a,toggleCheckbox:i}}}(r);return(e=>{const t=Cy();e.root.className=te("fui-MenuList",t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className)})(r),co("useMenuListStyles_unstable")(r),((e,t)=>gn(NC,{value:t.menuList,children:gn(e.root,{})}))(r,o)});yy.displayName="MenuList";const xy=vr({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",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:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),wy=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=yC(e=>e.safeZone),o=yC(e=>e.menuPopoverRef),n=yC(e=>e.setOpen),a=yC(e=>e.open),i=yC(e=>e.openOnHover),l=yC(e=>e.triggerRef),s=qC(),c=u.useRef(!0),d=(Ci(gi),qa({restorer:{type:0}})),[f,p]=Ho(),{dir:h}=ro(),g="ltr"===h?qc:Fc,v=u.useCallback(e=>{e&&e.addEventListener("mouseover",e=>{var t;c.current&&(c.current=!1,t=e,o.current.dispatchEvent(new CustomEvent(TC,{bubbles:!0,detail:{nativeEvent:t}})),f(()=>{c.current=!0},250))})},[o,f]);var m;u.useEffect(()=>()=>p(),[p]);const b=null!==(m=yC(e=>e.inline))&&void 0!==m&&m,C=yC(e=>e.mountNode),y=wr(Wr("div",{role:"presentation",...d,...e,ref:Fo(t,o,v,zf())}),{elementType:"div"}),{onMouseEnter:x,onKeyDown:w}=y;return y.onMouseEnter=So(e=>{(i||s)&&n(e,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:e}),null==x||x(e)}),y.onKeyDown=So(e=>{const t=e.key;var r,i;(t===Mc||s&&t===g)&&a&&(null===(r=o.current)||void 0===r?void 0:r.contains(e.target))&&!e.isDefaultPrevented()&&(n(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),e.preventDefault()),t===_c&&(n(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),s||null===(i=l.current)||void 0===i||i.focus()),null==w||w(e)}),{inline:b,mountNode:C,safeZone:r,components:{root:"div"},root:y}})(e,t);return(e=>{const t=xy();e.root.className=te("fui-MenuPopover",t.root,e.root.className)})(r),co("useMenuPopoverStyles_unstable")(r),(e=>e.inline?vn(u.Fragment,{children:[gn(e.root,{}),e.safeZone]}):vn(Dv,{mountNode:e.mountNode,children:[gn(e.root,{}),e.safeZone]}))(r)});wy.displayName="MenuPopover";const ky=vr({root:{Bhlrgs3:"f1v24km9",mc9l5x:"f22iagw",rue6gn:0,oe75ve:0,Bbblmiw:0,Bn2ps6a:"fa49so4",Bu15iap:["fsdyxoe","fuk6rhi"],B71tm0z:["fn8z6db","f1be8c1t"],Gjs4sj:["f1vtn0lh","f8hq2kl"],foni4y:"f7j48hl",Ie9k5m:"f13du8c1",f30fub:"fe64lw1",Jberyy:"f92oj5h"}},{d:[".f1v24km9[data-multiline]>.fui-MenuItem:nth-of-type(2){align-self:center;}",".f22iagw{display:flex;}",[".fa49so4>.fui-MenuItem:nth-of-type(1){flex:1;}",{p:-1}],".fsdyxoe>.fui-MenuItem:nth-of-type(2){border-top-left-radius:0;}",".fuk6rhi>.fui-MenuItem:nth-of-type(2){border-top-right-radius:0;}",".fn8z6db>.fui-MenuItem:nth-of-type(2){border-bottom-left-radius:0;}",".f1be8c1t>.fui-MenuItem:nth-of-type(2){border-bottom-right-radius:0;}",".f1vtn0lh>.fui-MenuItem:nth-of-type(2){padding-left:0;}",".f8hq2kl>.fui-MenuItem:nth-of-type(2){padding-right:0;}",'.f7j48hl>.fui-MenuItem:nth-of-type(2)::before{content:"";}',".f13du8c1>.fui-MenuItem:nth-of-type(2)::before{width:var(--strokeWidthThin);}",".fe64lw1>.fui-MenuItem:nth-of-type(2)::before{height:20px;}",".f92oj5h>.fui-MenuItem:nth-of-type(2)::before{background-color:var(--colorNeutralStroke1);}"]}),By=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=u.useRef(void 0),{dir:o,targetDocument:n}=ro(),a=Zo(Fc,o),i=Zo(qc,o),{findNextFocusable:l,findPrevFocusable:s}=zi(),{multilineRef:c,setMultiline:d}=(()=>{const[e]=u.useState(()=>{let e=!1,t=null;function r(){null==t||t.toggleAttribute("data-multiline",e)}return{multilineRef:e=>{e?(t=e,r()):t=null},setMultiline:t=>{e=t,r()}}});return e})(),f=u.useCallback(e=>{var t;const o=null==n?void 0:n.activeElement;if(o&&(null===(t=r.current)||void 0===t?void 0:t.contains(o))){if(e.key===a){const e=l(o,{container:r.current});null==e||e.focus()}if(e.key===i){const e=s(o,{container:r.current});null==e||e.focus()}}},[l,s,n,a,i]);return{components:{root:"div"},setMultiline:d,root:wr(Wr("div",{role:"group",ref:Fo(t,r,c),onKeyDown:f,...e}),{elementType:"div"})}})(e,t);return(e=>{const t=ky();e.root.className=te("fui-MenuSplitGroup",t.root,e.root.className)})(r),co("useMenuSplitGroupStyles_unstable")(r),((e,t)=>{var r;return gn(ly,{value:null!==(r=null==t?void 0:t.menuSplitGroup)&&void 0!==r?r:iy,children:gn(e.root,{})})})(r,(e=>u.useMemo(()=>({menuSplitGroup:{setMultiline:e.setMultiline}}),[e.setMultiline]))(r))});function zy(){}By.displayName="MenuSplitGroup";const jy=e=>{const t=e=>e.hasAttribute("disabled")||e.hasAttribute("aria-disabled")&&"true"===e.getAttribute("aria-disabled");return!(!Go(e.target)||!t(e.target))||Go(e.currentTarget)&&t(e.currentTarget)},Sy=e=>{return t=(e=>{const{children:t,disableButtonEnhancement:r=!1}=e,o=yC(e=>e.triggerRef),n=yC(e=>e.menuPopoverRef),a=yC(e=>e.setOpen),i=yC(e=>e.open),l=yC(e=>e.triggerId),s=yC(e=>e.openOnHover),c=yC(e=>e.openOnContext),d=qC(),f=_C(e=>{var t;return null===(t=e.shouldOpenOnArrowRight)||void 0===t||t}),{findFirstFocusable:p}=zi(),h=u.useCallback(()=>{const e=p(n.current);null==e||e.focus()},[p,n]),g=u.useRef(!1),v=u.useRef(!1),m=u.useRef(!1),{dir:b}=ro(),C="ltr"===b?Fc:qc,y=tn(t),x=(e=>{const t=u.useRef(null);return u.useCallback(r=>{var o;null===(o=t.current)||void 0===o||o.removeEventListener(DC,e),null==r||r.addEventListener(DC,e),t.current=r},[e])})(So(()=>{d&&(v.current=!0)}));var w;const k={id:l,...null==y?void 0:y.props,ref:Fo(o,Wo(y),x),onMouseEnter:So(null!==(w=null==y?void 0:y.props.onMouseEnter)&&void 0!==w?w:zy),onMouseLeave:So(Uo(null==y?void 0:y.props.onMouseLeave,e=>{jy(e)||s&&a(e,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:e})})),onContextMenu:So(Uo(null==y?void 0:y.props.onContextMenu,e=>{jy(e)||e.isDefaultPrevented()||c&&(e.preventDefault(),a(e,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:e}))})),onMouseMove:So(Uo(null==y?void 0:y.props.onMouseMove,e=>{jy(e)||s&&!m.current&&(a(e,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:e}),m.current=!0)})),onMouseOver:So(Uo(null==y?void 0:y.props.onMouseOver,e=>{jy(e)||s&&(m.current?a(e,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:e}):v.current&&(a(e,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:e}),v.current=!1))}))},B={"aria-haspopup":"menu","aria-expanded":i||d?i:void 0,...k,onClick:So(Uo(null==y?void 0:y.props.onClick,e=>{jy(e)||c||(a(e,{open:!i,keyboard:g.current,type:"menuTriggerClick",event:e}),g.current=!1)})),onKeyDown:So(Uo(null==y?void 0:y.props.onKeyDown,e=>{if(jy(e)||e.isDefaultPrevented())return;const t=e.key;!c&&(d&&f&&t===C||!d&&t===Tc)&&a(e,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:e}),t!==Mc||d||a(e,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:e}),i&&t===C&&d&&f&&h()}))},z=Hc("button"===(null==y?void 0:y.type)||"a"===(null==y?void 0:y.type)?y.type:"div",B);return{isSubmenu:d,children:Qo(t,c?k:r?B:z)}})(e),u.createElement(wC,{value:t.isSubmenu},t.children);var t};Sy.displayName="MenuTrigger",Sy.isFluentTriggerComponent=!0;const Ny=vr({resetLink:{w71qe1:"f1iuv45f",Bkioxbp:"f9pkogg",I8pafv:"foe20s3",dvvfom:"f1kn6jj"}},{d:[".f1iuv45f{text-decoration-line:none;}",".f9pkogg{text-decoration-thickness:initial;}",".foe20s3{text-decoration-style:initial;}",".f1kn6jj{text-decoration-color:initial;}"]}),_y=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=fy(e,null),o={...e,...r.root,ref:t,tabIndex:e.tabIndex};return{...r,components:{...r.components,root:"a"},root:wr(Wr("a",{role:"menuitem",...o}),{elementType:"a"})}})(e,t);return(e=>{UC(e);const t=Ny();e.root.className=te("fui-MenuItemLink",t.resetLink,e.root.className),e.icon&&(e.icon.className=te("fui-MenuItemLink__icon",e.icon.className)),e.content&&(e.content.className=te("fui-MenuItemLink__content",e.content.className)),e.secondaryContent&&(e.secondaryContent.className=te("fui-MenuItemLink__secondaryContent",e.secondaryContent.className)),e.checkmark&&(e.checkmark.className=te("fui-MenuItemLink__checkmark",e.checkmark.className))})(r),co("useMenuItemLinkStyles_unstable")(r),(e=>vn(e.root,{children:[e.checkmark&&gn(e.checkmark,{}),e.icon&&gn(e.icon,{}),e.content&&gn(e.content,{}),e.secondaryContent&&gn(e.secondaryContent,{})]}))(r)});_y.displayName="MenuItemLink";const Ty=mr("r1x31n8g","rsmcm5v",{r:[".r1x31n8g{border-radius:var(--borderRadiusCircular);border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;margin-right:var(--spacingHorizontalXS);color:var(--colorNeutralStrokeAccessible);}",".r1x31n8g:hover{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".r1x31n8g:hover:active{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".r1x31n8g .fui-MenuItemSwitch__switchIndicator__circleFilled{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}",".rsmcm5v{border-radius:var(--borderRadiusCircular);border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;margin-left:var(--spacingHorizontalXS);color:var(--colorNeutralStrokeAccessible);}",".rsmcm5v:hover{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".rsmcm5v:hover:active{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rsmcm5v .fui-MenuItemSwitch__switchIndicator__circleFilled{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1x31n8g{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1x31n8g .fui-MenuItemSwitch__switchIndicator__circleFilled{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.rsmcm5v{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.rsmcm5v .fui-MenuItemSwitch__switchIndicator__circleFilled{transition-duration:0.01ms;}}"]}),qy=vr({checked:{G4r02d:["fdca5i2","fk0rr1z"],De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"],Bi91k9c:"fz46y8r",Jwef8y:"f1kjrvvj",Bgoe8wy:"fpa59ij",Bwzppfd:["f1rhln42","f1l1ogpg"],oetu4i:"fz67qlh",gg5e9n:["f1l1ogpg","f1rhln42"],B2d53fq:"frlnr8d",iro3zm:"fle2s0s",b661bw:"f1j8ziw4",Bk6r4ia:["f1xzu9i0","f1jlpvxk"],B9zn80p:"f1i1ccxp",Bpld233:["f1jlpvxk","f1xzu9i0"]}},{d:[".fdca5i2 .fui-MenuItemSwitch__switchIndicator__circleFilled{transform:translateX(20px);}",".fk0rr1z .fui-MenuItemSwitch__switchIndicator__circleFilled{transform:translateX(-20px);}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}"],h:[".fz46y8r:hover{color:var(--colorNeutralForegroundInverted);}",".f1kjrvvj:hover{background-color:var(--colorCompoundBrandBackgroundHover);}",".fpa59ij:hover{border-top-color:var(--colorTransparentStrokeInteractive);}",".f1rhln42:hover{border-right-color:var(--colorTransparentStrokeInteractive);}",".f1l1ogpg:hover{border-left-color:var(--colorTransparentStrokeInteractive);}",".fz67qlh:hover{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".frlnr8d:hover:active{color:var(--colorNeutralForegroundInverted);}",".fle2s0s:hover:active{background-color:var(--colorCompoundBrandBackgroundPressed);}",".f1j8ziw4:hover:active{border-top-color:var(--colorTransparentStrokeInteractive);}",".f1xzu9i0:hover:active{border-right-color:var(--colorTransparentStrokeInteractive);}",".f1jlpvxk:hover:active{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1i1ccxp:hover:active{border-bottom-color:var(--colorTransparentStrokeInteractive);}"]}),Fy=vr({switch:{qb2dma:"f7nlbp4"}},{d:[".f7nlbp4{align-self:center;}"]});u.forwardRef((e,t)=>{const r=((e,t)=>{const r=((e,t)=>{const r=by(e,t);return{...r,switchIndicator:kr(e.switchIndicator,{renderByDefault:!0,elementType:"span"}),components:{...r.components,switchIndicator:"span"}}})(e,t);var o,n;return r.switchIndicator&&(null!==(n=(o=r.switchIndicator).children)&&void 0!==n||(o.children=u.createElement(vd,{className:"fui-MenuItemSwitch__switchIndicator__circleFilled"}))),r})(e,t);return(e=>{const{checked:t,subText:r}=e,o=!!r,n=qy(),a=Ty(),i=Fy();e.root.className=te("fui-MenuItemSwitch",e.root.className),e.content&&(e.content.className=te("fui-MenuItemSwitch__content",e.content.className)),e.secondaryContent&&(e.secondaryContent.className=te("fui-MenuItemSwitch__secondaryContent",e.secondaryContent.className)),e.icon&&(e.icon.className=te("fui-MenuItemSwitch__icon",e.icon.className)),e.subText&&(e.subText.className=te("fui-MenuItemSwitch__subText",e.subText.className)),e.switchIndicator&&(e.switchIndicator.className=te("fui-MenuItemSwitch__switchIndicator",a,t&&n.checked,e.switchIndicator.className,o&&i.switch)),UC({...e,components:{...e.components,checkmark:"span",submenuIndicator:"span"},checkmark:void 0,submenuIndicator:void 0,hasSubmenu:!1,persistOnClick:!0})})(r),co("useMenuItemSwitchStyles_unstable")(r),(e=>vn(e.root,{children:[e.icon&&gn(e.icon,{}),e.content&&vn(e.content,{children:[e.content.children,e.subText&&gn(e.subText,{})]}),e.secondaryContent&&gn(e.secondaryContent,{}),e.switchIndicator&&gn(e.switchIndicator,{})]}))(r)}).displayName="MenuItemSwitch";const Dy={"extra-small":"tiny",small:"extra-small",medium:"small",large:"medium","extra-large":"large",huge:"large"},Ey={"extra-small":20,small:28,medium:32,large:36,"extra-large":40,huge:56},Py=mr("rlroi9i",null,[".rlroi9i{display:inline-grid;grid-auto-rows:max-content;grid-auto-flow:column;justify-items:start;grid-template-columns:max-content [middle] auto;}"]),Iy=vr({beforeAfterCenter:{wkccdc:"f1iantul"},after:{},before:{B7hvi0a:"f1tll2w5",Budl1dq:"ffvkwdr"},below:{Bxotwcr:"f1nkeedh",B7hvi0a:"f1oiokrs",Budl1dq:"f1emgwh2"},media:{Ijaq50:"f1hek2iy"},mediaBeforeAfterCenter:{Ijaq50:"fa4dipu"},start:{qb2dma:"f9h729m"},center:{qb2dma:"f7nlbp4"},afterAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Bw0ie65:"f1warjpf"},beforeAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Br312pm:"fwu52yu"},secondLineSpacing:{B6of3ja:"f1ryq6si"},primary:{Ijaq50:"f1q3ipgb"},secondary:{Ijaq50:"f3drtdk"},tertiary:{Ijaq50:"fa1o6s1"},quaternary:{Ijaq50:"f1tuwaia"}},{d:[".f1iantul{grid-template-rows:1fr [primary] max-content [secondary] max-content [tertiary] max-content [quaternary] max-content 1fr;}",".f1tll2w5{justify-items:end;}",".ffvkwdr{grid-template-columns:auto [middle] max-content;}",".f1nkeedh{grid-auto-flow:unset;}",".f1oiokrs{justify-items:center;}",".f1emgwh2{grid-template-columns:unset;}",".f1hek2iy{grid-row-start:span 5;}",".fa4dipu{grid-row-start:span 6;}",".f9h729m{align-self:start;}",".f7nlbp4{align-self:center;}",".f1rnkkuc{grid-row-start:unset;}",".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".f1ryq6si{margin-top:-2px;}",".f1q3ipgb{grid-row-start:primary;}",".f3drtdk{grid-row-start:secondary;}",".fa1o6s1{grid-row-start:tertiary;}",".f1tuwaia{grid-row-start:quaternary;}"]}),Oy=vr({"extra-small":{Bs1gm4r:"f1e48tse"},small:{Bs1gm4r:"f18q9vkd"},medium:{Bs1gm4r:"f18q9vkd"},large:{Bs1gm4r:"fx34bi6"},"extra-large":{Bs1gm4r:"fx34bi6"},huge:{Bs1gm4r:"f1o96qtm"},after:{t21cq0:["f103ycu4","f1tao51"]},below:{jrapky:"fbo7acy"},before:{Frg6f3:["f1tao51","f103ycu4"]}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}",".f18q9vkd{--fui-Persona__avatar--spacing:var(--spacingHorizontalS);}",".fx34bi6{--fui-Persona__avatar--spacing:var(--spacingHorizontalMNudge);}",".f1o96qtm{--fui-Persona__avatar--spacing:var(--spacingHorizontalM);}",".f103ycu4{margin-right:var(--fui-Persona__avatar--spacing);}",".f1tao51{margin-left:var(--fui-Persona__avatar--spacing);}",".fbo7acy{margin-bottom:var(--fui-Persona__avatar--spacing);}"]}),Ay=vr({small:{Bs1gm4r:"f1e48tse"}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]}),Ry=mr("rvj41k9",null,[".rvj41k9{display:block;color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}"]),My=mr("rp1pf9e",null,[".rp1pf9e{display:block;color:var(--colorNeutralForeground2);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),Hy=vr({beforeAlignToPrimary:{Bw0ie65:"f1warjpf"},afterAlignToPrimary:{Br312pm:"fwu52yu"},body1:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},caption1:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},subtitle2:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Ly=u.forwardRef((e,t)=>{const r=((e,t)=>{const{avatar:r,presenceOnly:o=!1,size:n="medium",textAlignment:a="start",textPosition:i="after",presence:l,...s}=e,c=((e,t)=>{const{name:r,primaryText:o,secondaryText:n,tertiaryText:a,quaternaryText:i,...l}=e,s=kr(o,{renderByDefault:!0,defaultProps:{children:r},elementType:"span"}),c=kr(n,{elementType:"span"}),d=kr(a,{elementType:"span"}),u=kr(i,{elementType:"span"});return{numTextLines:[s,c,d,u].filter(Boolean).length,components:{root:"div",primaryText:"span",secondaryText:"span",tertiaryText:"span",quaternaryText:"span"},root:wr({ref:t,...l},{elementType:"div"}),primaryText:s,secondaryText:c,tertiaryText:d,quaternaryText:u}})(s,t);return{...c,presenceOnly:o,size:n,textAlignment:a,textPosition:i,components:{...c.components,avatar:rh,presence:Op},avatar:o?void 0:kr(r,{renderByDefault:!0,defaultProps:{name:e.name,badge:l,size:Ey[n]},elementType:rh}),presence:o?kr(l,{defaultProps:{size:Dy[n]},elementType:Op}):void 0}})(e,t);return(e=>{const{presenceOnly:t,size:r,textAlignment:o,textPosition:n}=e,a=t&&"start"===o&&"extra-large"!==r&&"huge"!==r,i="below"!==n&&"center"===o,{primaryTextClassName:l,optionalTextClassName:s}=((e,t)=>{const{presenceOnly:r,size:o,textPosition:n}=e,a=Ry(),i=My(),l=Hy();let s,c;return r?("extra-small"===o?s=e.numTextLines<=1&&l.caption1:"extra-large"!==o&&"huge"!==o||(s=l.subtitle2),t&&("before"===n?c=l.beforeAlignToPrimary:"after"===n&&(c=l.afterAlignToPrimary))):("huge"===o||"extra-large"===o)&&(s=l.subtitle2),{primaryTextClassName:te(a,s,c),optionalTextClassName:te(i,!r&&"huge"===o&&l.body1,c)}})(e,a),c=Py(),d=Iy(),u=Oy(),f={...u,...Ay()};e.root.className=te("fui-Persona",c,i&&d.beforeAfterCenter,d[n],e.root.className),e.avatar&&(e.avatar.className=te("fui-Persona__avatar","below"!==n&&d.media,i&&d.mediaBeforeAfterCenter,d[o],u[r],u[n],e.avatar.className)),e.presence&&(e.presence.className=te("fui-Persona__presence","below"!==n&&d.media,i&&d.mediaBeforeAfterCenter,d[o],f[r],f[n],"after"===n&&a&&d.afterAlignToPrimary,"before"===n&&a&&d.beforeAlignToPrimary,e.presence.className)),e.primaryText&&(e.primaryText.className=te("fui-Persona__primaryText",i&&d.primary,l,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=te("fui-Persona__secondaryText",i&&d.secondary,s,d.secondLineSpacing,e.secondaryText.className)),e.tertiaryText&&(e.tertiaryText.className=te("fui-Persona__tertiaryText",i&&d.tertiary,s,e.tertiaryText.className)),e.quaternaryText&&(e.quaternaryText.className=te("fui-Persona__quaternaryText",i&&d.quaternary,s,e.quaternaryText.className))})(r),co("usePersonaStyles_unstable")(r),(e=>{const{presenceOnly:t,textPosition:r}=e,o=t?e.presence&&gn(e.presence,{}):e.avatar&&gn(e.avatar,{});return vn(e.root,{children:[("after"===r||"below"===r)&&o,e.primaryText&&gn(e.primaryText,{}),e.secondaryText&&gn(e.secondaryText,{}),e.tertiaryText&&gn(e.tertiaryText,{}),e.quaternaryText&&gn(e.quaternaryText,{}),"before"===r&&o]})})(r)});Ly.displayName="Persona";const Vy=u.createContext(void 0),Wy={},Zy=(Vy.Provider,()=>u.useContext(Vy)||Wy),Uy=vr({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),Gy=u.forwardRef((e,t)=>{const r=((e,t)=>{e=Am(e);const r=qo("radiogroup-"),{name:o=r,value:n,defaultValue:a,disabled:i,layout:l="vertical",onChange:s,required:c}=e;return{layout:l,name:o,value:n,defaultValue:a,disabled:i,required:c,components:{root:"div"},root:{ref:t,role:"radiogroup",...wr(Wr("div",e,["onChange","name"]),{elementType:"div"}),onChange:So(e=>{s&&Go(e.target,{constructorName:"HTMLInputElement"})&&"radio"===e.target.type&&s(e,{value:e.target.value})})}}})(e,t),o=(e=>{const{name:t,value:r,defaultValue:o,disabled:n,layout:a,required:i}=e,l=e.root["aria-describedby"];return{radioGroup:u.useMemo(()=>({name:t,value:r,defaultValue:o,disabled:n,layout:a,required:i,"aria-describedby":l}),[t,r,o,n,a,i,l])}})(r);return(e=>{const t=Uy();e.root.className=te("fui-RadioGroup",t.root,"vertical"===e.layout&&t.vertical,e.root.className)})(r),co("useRadioGroupStyles_unstable")(r),((e,t)=>gn(Vy.Provider,{value:t.radioGroup,children:gn(e.root,{})}))(r,o)});Gy.displayName="RadioGroup";const Xy=mr("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;}}"]}),$y=vr({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),Ky=mr("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),Yy=vr({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;}"]}),Jy=mr("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;}"]),Qy=vr({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;}"]}),ex=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=Zy(),{name:o=r.name,checked:n=(void 0!==r.value?r.value===e.value:void 0),defaultChecked:a=(void 0!==r.defaultValue?r.defaultValue===e.value:void 0),labelPosition:i=("horizontal-stacked"===r.layout?"below":"after"),disabled:l=r.disabled,required:s=r.required,"aria-describedby":c=r["aria-describedby"],onChange:d}=e,u=Vr({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),f=wr(e.root,{defaultProps:{ref:Di(),...u.root},elementType:"span"}),p=wr(e.input,{defaultProps:{ref:t,type:"radio",id:qo("radio-",u.primary.id),name:o,checked:n,defaultChecked:a,disabled:l,required:s,"aria-describedby":c,...u.primary},elementType:"input"});p.onChange=Uo(p.onChange,e=>null==d?void 0:d(e,{value:e.currentTarget.value}));const h=kr(e.label,{defaultProps:{htmlFor:p.id,disabled:p.disabled},elementType:Hm}),g=wr(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:i,components:{root:"span",input:"input",label:Hm,indicator:"div"},root:f,input:p,label:h,indicator:g}})(e,t);return(e=>{const{labelPosition:t}=e,r=Xy(),o=$y();e.root.className=te("fui-Radio",r,"below"===t&&o.vertical,e.root.className);const n=Ky(),a=Yy();e.input.className=te("fui-Radio__input",n,"below"===t&&a.below,e.indicator.children?a.customIndicator:a.defaultIndicator,e.input.className);const i=Jy();e.indicator.className=te("fui-Radio__indicator",i,e.indicator.className);const l=Qy();e.label&&(e.label.className=te("fui-Radio__label",l.base,l[t],e.label.className))})(r),co("useRadioStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.input,{}),gn(e.indicator,{}),e.label&&gn(e.label,{})]}))(r)});ex.displayName="Radio";const tx=vr({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Eh141a:"flvyvdh",Bahqtrf:"fk6fouc",qhf8xq:"f10pi13n",h62rwi:"f7ll8cq",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fe5s0lv",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",Dlnsje:"fhwjr99",E3zdtr:"f1mdlcz9",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"],b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40"}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".flvyvdh{flex-wrap:nowrap;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f10pi13n{position:relative;}",".f7ll8cq::after{background-image:linear-gradient(\n 0deg,\n var(--colorCompoundBrandStroke) 0%,\n var(--colorCompoundBrandStroke) 50%,\n transparent 50%,\n transparent 100%\n );}",[".fe5s0lv::after{border-radius:0 0 var(--borderRadiusMedium) var(--borderRadiusMedium);}",{p:-1}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".fhwjr99::after{height:var(--borderRadiusMedium);}",".f1mdlcz9::after{position:absolute;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}"],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)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}"]}),rx=vr({base:{Bowrso0:"fqrijq1",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:"faev5xe",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",E5pizo:"f1couhl3",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bceei9c:"f1k6fduh",Bh6795r:"fqerorx",B2u0y6b:"f6dzj5z",Byoj8tv:"f1qch9an",z8tnut:"f1g0x7ka",B3aqqti:"fatbyko",Brovlpu:"f1grzc83",Bxa1mx5:"f19shzzi"},disabled:{De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledUnderline:{g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f4ikngz",zhjwy3:["fziff3p","f1mxt3zg"]},small:{Bqenvij:"frvgh55",uwmqm3:["f1xile11","fqznh8f"],z189sj:["fiqd4sw","f11fkzut"],Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{Bqenvij:"f1d2rq10",uwmqm3:["f1e60jzv","f135dnwl"],z189sj:["f154vowv","flqamny"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{Bqenvij:"fbhnoac",uwmqm3:["fnphzt9","flt1dlf"],z189sj:["f1xi5ia2","f1xi1l47"],Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"},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:"fm9niy"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"flmw63s",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"fqhmt4z",B50zh58:["f4ruux4","f1assf6x"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"fd91s9p",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",C8i20h:"fb77jct"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker":{De3pzq:"f16xq7d1"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"}},{d:[".fqrijq1{-webkit-appearance:none;-moz-appearance:none;appearance:none;}",[".faev5xe{border:1px solid transparent;}",{p:-2}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1couhl3{box-shadow:none;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1k6fduh{cursor:pointer;}",".fqerorx{flex-grow:1;}",".f6dzj5z{max-width:100%;}",".f1qch9an{padding-bottom:0;}",".f1g0x7ka{padding-top:0;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".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;}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".frvgh55{height:24px;}",".f1xile11{padding-left:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".fqznh8f{padding-right:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".fiqd4sw{padding-right:calc(var(--spacingHorizontalSNudge)\n + 16px\n + var(--spacingHorizontalXXS)\n + var(--spacingHorizontalXXS));}",".f11fkzut{padding-left:calc(var(--spacingHorizontalSNudge)\n + 16px\n + var(--spacingHorizontalXXS)\n + var(--spacingHorizontalXXS));}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1d2rq10{height:32px;}",".f1e60jzv{padding-left:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f135dnwl{padding-right:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f154vowv{padding-right:calc(var(--spacingHorizontalMNudge)\n + 20px\n + var(--spacingHorizontalXXS)\n + var(--spacingHorizontalXXS));}",".flqamny{padding-left:calc(var(--spacingHorizontalMNudge)\n + 20px\n + var(--spacingHorizontalXXS)\n + var(--spacingHorizontalXXS));}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fbhnoac{height:40px;}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".f1xi5ia2{padding-right:calc(var(--spacingHorizontalM)\n + 24px\n + var(--spacingHorizontalSNudge)\n + var(--spacingHorizontalSNudge));}",".f1xi1l47{padding-left:calc(var(--spacingHorizontalM)\n + 24px\n + var(--spacingHorizontalSNudge)\n + var(--spacingHorizontalSNudge));}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fm9niy{border:1px solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".fd91s9p{border-bottom:1px solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],".fb77jct option{background-color:var(--colorNeutralBackground1);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".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);}"],f:[".fatbyko:focus{outline-width:2px;}",".f1grzc83:focus{outline-style:solid;}",".f19shzzi:focus{outline-color:transparent;}"],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)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".flmw63s:hover{border-bottom-color:var(--colorNeutralStrokeAccessible);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".fqhmt4z:active{border-bottom-color:var(--colorNeutralStrokeAccessible);}"]}),ox=vr({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",qhf8xq:"f1euv43f",Bkecrkj:"f1aehjj5",Bo70h7d:"fvc9v3g"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},small:{Be2twd7:"f4ybsrx",Bqenvij:"fd461yt",j35jbq:["f13lnp83","f1i5nn0v"],a9b677:"fjw5fx7"},medium:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",j35jbq:["fnyteob","f1enpzzf"],a9b677:"f64fuq3"},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",j35jbq:["f8b87gs","fedtrts"],a9b677:"fq4mcun"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1euv43f{position:absolute;}",".f1aehjj5{pointer-events:none;}",".fvc9v3g svg{display:block;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f4ybsrx{font-size:16px;}",".fd461yt{height:16px;}",".f13lnp83{right:var(--spacingHorizontalSNudge);}",".f1i5nn0v{left:var(--spacingHorizontalSNudge);}",".fjw5fx7{width:16px;}",".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".fnyteob{right:var(--spacingHorizontalMNudge);}",".f1enpzzf{left:var(--spacingHorizontalMNudge);}",".f64fuq3{width:20px;}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".f8b87gs{right:var(--spacingHorizontalM);}",".fedtrts{left:var(--spacingHorizontalM);}",".fq4mcun{width:24px;}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),nx=u.forwardRef((e,t)=>{const r=((e,t)=>{e=Am(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=ao();var o;const{defaultValue:n,value:a,select:i,icon:l,root:s,appearance:c=(null!==(o=r.inputDefaultAppearance)&&void 0!==o?o:"outline"),onChange:d,size:f="medium"}=e,p=Vr({props:e,primarySlotTagName:"select",excludedPropNames:["appearance","defaultValue","onChange","size","value"]}),h={size:f,appearance:c,components:{root:"span",select:"select",icon:"span"},select:wr(i,{defaultProps:{defaultValue:n,value:a,ref:t,...p.primary},elementType:"select"}),icon:kr(l,{renderByDefault:!0,defaultProps:{children:u.createElement(Nd,null)},elementType:"span"}),root:wr(s,{defaultProps:p.root,elementType:"span"})};return h.select.onChange=So(e=>{null==d||d(e,{value:e.target.value})}),h})(e,t);return(e=>{const{size:t,appearance:r}=e,o=e.select.disabled,n="true"==`${e.select["aria-invalid"]}`,a=ox(),i=tx(),l=rx();e.root.className=te("fui-Select",i.base,e.root.className),e.select.className=te("fui-Select__select",l.base,l[t],l[r],!o&&"outline"===r&&l.outlineInteractive,!o&&n&&"underline"!==r&&l.invalid,!o&&n&&"underline"===r&&l.invalidUnderline,o&&l.disabled,o&&"underline"===r&&l.disabledUnderline,e.select.className),e.icon&&(e.icon.className=te("fui-Select__icon",a.icon,o&&a.disabled,a[t],e.icon.className))})(r),co("useSelectStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.select,{children:e.select.children}),e.icon&&gn(e.icon,{})]}))(r)});nx.displayName="Select";const ax=u.createContext(void 0),ix={},lx=ax.Provider,sx=()=>{var e;return null!==(e=u.useContext(ax))&&void 0!==e?e:ix},cx=(e,t)=>({components:{root:"div"},root:wr(Wr("div",{ref:t,role:"progressbar","aria-busy":!0,...e}),{elementType:"div"})}),dx=vr({blockStyling:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),ux=u.forwardRef((e,t)=>{const r=((e,t)=>{const{animation:r,appearance:o}=sx(),{animation:n=(null!=r?r:"wave"),appearance:a=(null!=o?o:"opaque"),size:i,shape:l,...s}=e;return{...cx(s,t),animation:n,appearance:a,size:i,shape:l}})(e,t),o=(e=>{const{animation:t,appearance:r,size:o,shape:n}=e;return{skeletonGroup:u.useMemo(()=>({animation:t,appearance:r,size:o,shape:n}),[t,r,o,n])}})(r);return(e=>{const t=dx();e.root.className=te("fui-Skeleton","span"===e.root.as&&t.blockStyling,e.root.className)})(r),co("useSkeletonStyles_unstable")(r),((e,t)=>gn(lx,{value:t.skeletonGroup,children:gn(e.root,{})}))(r,o)});ux.displayName="Skeleton";const fx=(e,t)=>({components:{root:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"})}),px=vr({root:{qhf8xq:"f10pi13n",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bsft5z2:"f13zj6fq",ap17g6:"f2gz7yw",E3zdtr:"f1mdlcz9",By385i5:0,Eqx8gd:0,B1piin3:0,bn5sak:0,B58onuk:"f1nt53hs",s9ouvv:"f18xs7ez",xr36ep:"ffm3629",Bitv4sc:"f1f9zsvm",Gt9ir8:"f1evo4vk",Crt7la:"f18va1k3"},wave:{De3pzq:"f1gjxg63",Br128sd:["f3fo419","f6m9r4"],h62rwi:["ftnv2js","f12jzhyt"],b1kco5:["fig1c6l","f1rv5y9h"],Iqrfzq:"f1xjc3a9"},pulse:{Br128sd:"f171zwvm",xr36ep:"fs3pcyf",Bjyk6c5:"f1yu5riq"},translucent:{De3pzq:"f162mh4z",h62rwi:["flvf4r0","f1uek97b"]},translucentPulse:{De3pzq:"flu3bqm",Bjyk6c5:"fxucc0w"},blockStyling:{mc9l5x:"ftgm304"}},{d:[".f10pi13n{position:relative;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],'.f13zj6fq::after{content:"";}',".f2gz7yw::after{display:block;}",".f1mdlcz9::after{position:absolute;}",[".f1nt53hs::after{inset:0;}",{p:-1}],".f18xs7ez::after{animation-iteration-count:infinite;}",".ffm3629::after{animation-duration:3s;}",".f1f9zsvm::after{animation-timing-function:ease-in-out;}",".f1gjxg63{background-color:var(--colorNeutralStencil1);}",".f3fo419::after{animation-name:f1efwx7q;}",".f6m9r4::after{animation-name:f1kkgpz1;}",".ftnv2js::after{background-image:linear-gradient(\n to right,\n var(--colorNeutralStencil1) 0%,\n var(--colorNeutralStencil2) 50%,\n var(--colorNeutralStencil1) 100%);}",".f12jzhyt::after{background-image:linear-gradient(\n to left,\n var(--colorNeutralStencil1) 0%,\n var(--colorNeutralStencil2) 50%,\n var(--colorNeutralStencil1) 100%);}",".fig1c6l::after{transform:translate(-100%);}",".f1rv5y9h::after{transform:translate(100%);}",".f171zwvm::after{animation-name:f12o7gg6;}",".fs3pcyf::after{animation-duration:1s;}",".f1yu5riq::after{background-color:var(--colorNeutralStencil1);}",".f162mh4z{background-color:var(--colorNeutralStencil1Alpha);}",".flvf4r0::after{background-image:linear-gradient(\n to right,\n transparent 0%,\n var(--colorNeutralStencil1Alpha) 50%,\n transparent 100%);}",".f1uek97b::after{background-image:linear-gradient(\n to left,\n transparent 0%,\n var(--colorNeutralStencil1Alpha) 50%,\n transparent 100%);}",".flu3bqm{background-color:none;}",".fxucc0w::after{background-color:var(--colorNeutralStencil1Alpha);}",".ftgm304{display:block;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1evo4vk::after{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f18va1k3::after{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (forced-colors: active){.f1xjc3a9::after{background-color:WindowText;}}",{m:"screen and (forced-colors: active)"}]],k:["@keyframes f1efwx7q{to{transform:translate(100%);}}","@keyframes f1kkgpz1{to{transform:translate(-100%);}}","@keyframes f12o7gg6{0%{opacity:1;}50%{opacity:0.4;}100%{opacity:1;}}"]}),hx=vr({8:{Bqenvij:"f1x82gua"},12:{Bqenvij:"fvblgha"},14:{Bqenvij:"fuesxvb"},16:{Bqenvij:"fd461yt"},20:{Bqenvij:"fjamq6b"},22:{Bqenvij:"f50nw0v"},24:{Bqenvij:"frvgh55"},28:{Bqenvij:"fxldao9"},32:{Bqenvij:"f1d2rq10"},36:{Bqenvij:"f8ljn23"},40:{Bqenvij:"fbhnoac"},48:{Bqenvij:"ff2sm71"},52:{Bqenvij:"fltz6oj"},56:{Bqenvij:"fzki0ko"},64:{Bqenvij:"f16k9i2m"},72:{Bqenvij:"f1shusfg"},92:{Bqenvij:"f19zsq0h"},96:{Bqenvij:"fypu0ge"},120:{Bqenvij:"fjr5b71"},128:{Bqenvij:"fele2au"},root:{a9b677:"fly5x3f",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ff3glw6"}},{d:[".f1x82gua{height:8px;}",".fvblgha{height:12px;}",".fuesxvb{height:14px;}",".fd461yt{height:16px;}",".fjamq6b{height:20px;}",".f50nw0v{height:22px;}",".frvgh55{height:24px;}",".fxldao9{height:28px;}",".f1d2rq10{height:32px;}",".f8ljn23{height:36px;}",".fbhnoac{height:40px;}",".ff2sm71{height:48px;}",".fltz6oj{height:52px;}",".fzki0ko{height:56px;}",".f16k9i2m{height:64px;}",".f1shusfg{height:72px;}",".f19zsq0h{height:92px;}",".fypu0ge{height:96px;}",".fjr5b71{height:120px;}",".fele2au{height:128px;}",".fly5x3f{width:100%;}",[".ff3glw6{border-radius:4px;}",{p:-1}]]}),gx=vr({8:{a9b677:"f1o3cbw4",Bqenvij:"f1x82gua"},12:{a9b677:"frx94fk",Bqenvij:"fvblgha"},14:{a9b677:"fz18fzn",Bqenvij:"fuesxvb"},16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},22:{a9b677:"f6zmzpu",Bqenvij:"f50nw0v"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},52:{a9b677:"f16130wi",Bqenvij:"fltz6oj"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},92:{a9b677:"f78o5r6",Bqenvij:"f19zsq0h"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".f1o3cbw4{width:8px;}",".f1x82gua{height:8px;}",".frx94fk{width:12px;}",".fvblgha{height:12px;}",".fz18fzn{width:14px;}",".fuesxvb{height:14px;}",".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".f6zmzpu{width:22px;}",".f50nw0v{height:22px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f16130wi{width:52px;}",".fltz6oj{height:52px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f78o5r6{width:92px;}",".f19zsq0h{height:92px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),vx=vr({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f5q2cvs"}},{d:[[".f5q2cvs{border-radius:50%;}",{p:-1}]]}),mx=u.forwardRef((e,t)=>{const r=((e,t)=>{const{animation:r,appearance:o,size:n,shape:a}=sx(),{animation:i=(null!=r?r:"wave"),appearance:l=(null!=o?o:"opaque"),size:s=(null!=n?n:16),shape:c=(null!=a?a:"rectangle"),...d}=e;return{...fx(d,t),animation:i,appearance:l,size:s,shape:c}})(e,t);return(e=>{const{animation:t,appearance:r,size:o,shape:n}=e,a=px(),i=hx(),l=gx(),s=vx();e.root.className=te("fui-SkeletonItem",a.root,"span"===e.root.as&&a.blockStyling,"wave"===t&&a.wave,"pulse"===t&&a.pulse,"translucent"===r&&a.translucent,"pulse"===t&&"translucent"===r&&a.translucentPulse,"rectangle"===n&&i.root,"rectangle"===n&&i[o],"square"===n&&l[o],"circle"===n&&s.root,"circle"===n&&l[o],e.root.className)})(r),co("useSkeletonItemStyles_unstable")(r),(e=>gn(e.root,{}))(r)});mx.displayName="SkeletonItem";const bx={sliderDirectionVar:"--fui-Slider--direction",sliderInnerThumbRadiusVar:"--fui-Slider__inner-thumb--radius",sliderProgressVar:"--fui-Slider--progress",sliderProgressColorVar:"--fui-Slider__progress--color",sliderRailSizeVar:"--fui-Slider__rail--size",sliderRailColorVar:"--fui-Slider__rail--color",sliderStepsPercentVar:"--fui-Slider--steps-percent",sliderThumbColorVar:"--fui-Slider__thumb--color",sliderThumbSizeVar:"--fui-Slider__thumb--size"},{sliderDirectionVar:Cx,sliderInnerThumbRadiusVar:yx,sliderProgressVar:xx,sliderProgressColorVar:wx,sliderRailSizeVar:kx,sliderRailColorVar:Bx,sliderStepsPercentVar:zx,sliderThumbColorVar:jx,sliderThumbSizeVar:Sx}=bx,Nx=vr({root:{qhf8xq:"f10pi13n",mc9l5x:"fwk3njj",lpbzjs:"f1sdsnyy",Bt984gj:"f122n59",B7hvi0a:"f1oiokrs"},small:{Bi64ftq:"f1agqo6f",Bslxy2k:"f1mmvox9",Ba19x4e:"f1i7ztpd",sshi5w:"f1pha7fy"},medium:{Bi64ftq:"f1a78h9h",Bslxy2k:"fh1udnr",Ba19x4e:"fuok0yf",sshi5w:"f1nxs5xn"},horizontal:{Bf4jedk:"fyvtabn",wkccdc:"fgfd48t",Budl1dq:"f4t5rw1"},vertical:{sshi5w:"f1pzv1zu",wkccdc:"fktlcaf",Budl1dq:"fiadc6h"},enabled:{B7wi8oa:"f4l8x3l",B250r6j:"f671q34",Bpmy4es:"fvfzmw5",Buw9y6v:"faw1t00",Bq939m0:"fxdgx5",gjzr1t:"fii04fa",tg7hqu:"f36hzz8",qhf704:"fdjsfay",Blfvze:"f1fen33d",genz7u:"f1c6b0w1",Brgvh4e:"f1rq9b4z",Bsjyjqp:"f4xxiul"},disabled:{Bpmy4es:"foojseg",B7wi8oa:"f1lgdqhv",B250r6j:"f1veetlj",qhf704:"fn4acdm",Blfvze:"f4s8dx0",genz7u:"f1wil5xy"},focusIndicatorHorizontal:{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:"fmj8fco",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1iwowo3",B2pnrqr:"f1pffoy2",B29w5g4:["f1dfga45","f63jj3o"],Bhhzhcn:"fs6b7xr",Bec0n69:["f63jj3o","f1dfga45"]},focusIndicatorVertical:{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:"fmj8fco",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1iwowo3",B2pnrqr:"f1pffoy2",B29w5g4:["fm5xmfm","femsgmt"],Bhhzhcn:"fs6b7xr",Bec0n69:["femsgmt","fm5xmfm"]}},{d:[".f10pi13n{position:relative;}",".fwk3njj{display:inline-grid;}",".f1sdsnyy{touch-action:none;}",".f122n59{align-items:center;}",".f1oiokrs{justify-items:center;}",".f1agqo6f{--fui-Slider__thumb--size:16px;}",".f1mmvox9{--fui-Slider__inner-thumb--radius:5px;}",".f1i7ztpd{--fui-Slider__rail--size:2px;}",".f1pha7fy{min-height:24px;}",".f1a78h9h{--fui-Slider__thumb--size:20px;}",".fh1udnr{--fui-Slider__inner-thumb--radius:6px;}",".fuok0yf{--fui-Slider__rail--size:4px;}",".f1nxs5xn{min-height:32px;}",".fyvtabn{min-width:120px;}",".fgfd48t{grid-template-rows:1fr var(--fui-Slider__thumb--size) 1fr;}",".f4t5rw1{grid-template-columns:1fr calc(100% - var(--fui-Slider__thumb--size)) 1fr;}",".f1pzv1zu{min-height:120px;}",".fktlcaf{grid-template-rows:1fr calc(100% - var(--fui-Slider__thumb--size)) 1fr;}",".fiadc6h{grid-template-columns:1fr var(--fui-Slider__thumb--size) 1fr;}",".f4l8x3l{--fui-Slider__rail--color:var(--colorNeutralStrokeAccessible);}",".f671q34{--fui-Slider__progress--color:var(--colorCompoundBrandBackground);}",".fvfzmw5{--fui-Slider__thumb--color:var(--colorCompoundBrandBackground);}",".foojseg{--fui-Slider__thumb--color:var(--colorNeutralForegroundDisabled);}",".f1lgdqhv{--fui-Slider__rail--color:var(--colorNeutralBackgroundDisabled);}",".f1veetlj{--fui-Slider__progress--color:var(--colorNeutralForegroundDisabled);}",".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;}",[".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1pffoy2[data-fui-focus-within]:focus-within::after{top:calc(0px - 2px - -2px);}",".f1dfga45[data-fui-focus-within]:focus-within::after{right:calc(0px - 2px - -4px);}",".f63jj3o[data-fui-focus-within]:focus-within::after{left:calc(0px - 2px - -4px);}",".fs6b7xr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - 2px - -2px);}",[".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fm5xmfm[data-fui-focus-within]:focus-within::after{right:calc(0px - 2px - 4px);}",".femsgmt[data-fui-focus-within]:focus-within::after{left:calc(0px - 2px - 4px);}"],h:[".faw1t00:hover{--fui-Slider__thumb--color:var(--colorCompoundBrandBackgroundHover);}",".fxdgx5:hover{--fui-Slider__progress--color:var(--colorCompoundBrandBackgroundHover);}"],a:[".fii04fa:active{--fui-Slider__thumb--color:var(--colorCompoundBrandBackgroundPressed);}",".f36hzz8:active{--fui-Slider__progress--color:var(--colorCompoundBrandBackgroundPressed);}"],m:[["@media (forced-colors: active){.fdjsfay{--fui-Slider__rail--color:CanvasText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1fen33d{--fui-Slider__thumb--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1c6b0w1{--fui-Slider__progress--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rq9b4z:hover{--fui-Slider__thumb--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xxiul:hover{--fui-Slider__progress--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn4acdm{--fui-Slider__rail--color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4s8dx0{--fui-Slider__thumb--color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wil5xy{--fui-Slider__progress--color:GrayText;}}",{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)"}]],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"]}),_x=vr({rail:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu",Bkecrkj:"f1aehjj5",Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f10pi13n",Bvjb7m6:"fdgv6k0",Bcmaq0h:"fizngqt",Bpd4iqm:"fpvhumw",oeaueh:"f1yog68k",Bw0xxkn:"f13sgyd8",Ftih45:"fzhtfnv",Brfgrao:"f1j7ml58",Bbn5juq:"fx36ao7",Bses4cn:"fddlh2i"},horizontal:{a9b677:"fly5x3f",Bqenvij:"f1cy86ho",Fbdkly:["f1heqfse","fkh49vu"],mdwyqc:["fkh49vu","f1heqfse"],Baz25je:"f16tdq4e"},vertical:{a9b677:"fqxfnkd",Bqenvij:"f1l02sjl",Ccq8qp:"f1rik0od",Bciustq:"f14xwovp",lawp4y:"fdehrcx"}},{d:[[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".f1aehjj5{pointer-events:none;}",".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f10pi13n{position:relative;}",".fdgv6k0{forced-color-adjust:none;}",".fizngqt{background-image:linear-gradient(\n var(--fui-Slider--direction),\n var(--fui-Slider__progress--color) 0%,\n var(--fui-Slider__progress--color) var(--fui-Slider--progress),\n var(--fui-Slider__rail--color) var(--fui-Slider--progress)\n );}",".fpvhumw{outline-width:1px;}",".f1yog68k{outline-style:solid;}",".f13sgyd8{outline-color:var(--colorTransparentStroke);}",".fzhtfnv::before{content:'';}",".f1j7ml58::before{position:absolute;}",".fx36ao7::before{background-image:repeating-linear-gradient(\n var(--fui-Slider--direction),\n #0000 0%,\n #0000 calc(var(--fui-Slider--steps-percent) - 1px),\n var(--colorNeutralBackground1) calc(var(--fui-Slider--steps-percent) - 1px),\n var(--colorNeutralBackground1) var(--fui-Slider--steps-percent)\n );}",".fly5x3f{width:100%;}",".f1cy86ho{height:var(--fui-Slider__rail--size);}",".f1heqfse::before{left:-1px;}",".fkh49vu::before{right:-1px;}",".f16tdq4e::before{height:var(--fui-Slider__rail--size);}",".fqxfnkd{width:var(--fui-Slider__rail--size);}",".f1l02sjl{height:100%;}",".f1rik0od::before{width:var(--fui-Slider__rail--size);}",".f14xwovp::before{top:-1px;}",".fdehrcx::before{bottom:-1px;}"],m:[["@media (forced-colors: active){.fddlh2i::before{background-image:repeating-linear-gradient(\n var(--fui-Slider--direction),\n #0000 0%,\n #0000 calc(var(--fui-Slider--steps-percent) - 1px),\n HighlightText calc(var(--fui-Slider--steps-percent) - 1px),\n HighlightText var(--fui-Slider--steps-percent)\n );}}",{m:"(forced-colors: active)"}]]}),Tx=vr({thumb:{B2lzsem:"ftx3jue",Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f1euv43f",a9b677:"f174ca62",Bqenvij:"f1yfdkfd",Bkecrkj:"f1aehjj5",oeaueh:"f1s6fcnf",Bvjb7m6:"fdgv6k0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",E5pizo:"fof7hq0",De3pzq:"foksa45",Brfgrao:"f1j7ml58",Bciustq:"f14u7mkt",Fbdkly:["f5zrw40","f1ks5ppg"],lawp4y:"fto0uou",mdwyqc:["f1ks5ppg","f5zrw40"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"fielpny",Bcvre1j:"fyl8oag",Ftih45:"fzhtfnv",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1fsco4d"},disabled:{Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1pv9hn4"},horizontal:{Bz10aip:["f13gfj74","f1nfknbn"],oyh7mz:["foa2ioz","fjmilum"]},vertical:{Bz10aip:"f5cv5a3",B5kzvoi:"f1k2fpdo"}},{d:[".ftx3jue{--fui-Slider__thumb--position:clamp(var(--fui-Slider__inner-thumb--radius), var(--fui-Slider--progress), calc(100% - var(--fui-Slider__inner-thumb--radius)));}",".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f1euv43f{position:absolute;}",".f174ca62{width:var(--fui-Slider__thumb--size);}",".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".f1aehjj5{pointer-events:none;}",".f1s6fcnf{outline-style:none;}",".fdgv6k0{forced-color-adjust:none;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],".fof7hq0{box-shadow:0 0 0 calc(var(--fui-Slider__thumb--size) * .2) var(--colorNeutralBackground1) inset;}",".foksa45{background-color:var(--fui-Slider__thumb--color);}",".f1j7ml58::before{position:absolute;}",".f14u7mkt::before{top:0px;}",".f5zrw40::before{left:0px;}",".f1ks5ppg::before{right:0px;}",".fto0uou::before{bottom:0px;}",[".fielpny::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],".fyl8oag::before{box-sizing:border-box;}",".fzhtfnv::before{content:'';}",[".f1fsco4d::before{border:calc(var(--fui-Slider__thumb--size) * .05) solid var(--colorNeutralStroke1);}",{p:-2}],[".f1pv9hn4::before{border:calc(var(--fui-Slider__thumb--size) * .05) solid var(--colorNeutralForegroundDisabled);}",{p:-2}],".f13gfj74{transform:translateX(-50%);}",".f1nfknbn{transform:translateX(50%);}",".foa2ioz{left:var(--fui-Slider__thumb--position);}",".fjmilum{right:var(--fui-Slider__thumb--position);}",".f5cv5a3{transform:translateY(50%);}",".f1k2fpdo{bottom:var(--fui-Slider__thumb--position);}"]}),qx=vr({input:{Bceei9c:"f1k6fduh",abs64n:"fk73vx1",Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z",Br312pm:"fwpfdsa",Bw0ie65:"fuur7zz",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"},disabled:{Bceei9c:"f158kwzp"},horizontal:{Bqenvij:"f1yfdkfd",a9b677:"fly5x3f"},vertical:{Bqenvij:"f1l02sjl",a9b677:"f174ca62",wtfg9d:"f135tqni",By3ymbm:["f114o3fk","f1o9w1zd"],B1e78rk:"f1jr0wcp"}},{d:[".f1k6fduh{cursor:pointer;}",".fk73vx1{opacity:0;}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".fwpfdsa{grid-column-start:1;}",".fuur7zz{grid-column-end:-1;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],".f158kwzp{cursor:default;}",".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".fly5x3f{width:100%;}",".f1l02sjl{height:100%;}",".f174ca62{width:var(--fui-Slider__thumb--size);}"],t:["@supports (writing-mode: sideways-lr){.f135tqni{writing-mode:vertical-lr;}}","@supports (writing-mode: sideways-lr){.f114o3fk{direction:rtl;}.f1o9w1zd{direction:ltr;}}","@supports not (writing-mode: sideways-lr){.f1jr0wcp{-webkit-appearance:slider-vertical;}}"]}),{sliderStepsPercentVar:Fx,sliderProgressVar:Dx,sliderDirectionVar:Ex}=bx,Px=(e,t)=>{e=Am(e,{supportsLabelFor:!0});const r=Vr({props:e,primarySlotTagName:"input",excludedPropNames:["onChange"]}),{disabled:o,vertical:n,root:a,input:i,rail:l,thumb:s}=e,c={disabled:o,vertical:n,components:{input:"input",rail:"div",root:"div",thumb:"div"},root:wr(a,{defaultProps:r.root,elementType:"div"}),input:wr(i,{defaultProps:{id:qo("slider-",e.id),ref:t,...r.primary,type:"range",orient:n?"vertical":void 0},elementType:"input"}),rail:wr(l,{elementType:"div"}),thumb:wr(s,{elementType:"div"})};return c.root.ref=Fo(c.root.ref,Di()),((e,t)=>{const{min:r=0,max:o=100,step:n}=t,{dir:a}=ro(),[i,l]=yo({state:t.value,defaultState:t.defaultValue,initialState:0}),s=Lo(i,r,o),c=((e,t,r)=>r===t?0:(e-t)/(r-t)*100)(s,r,o),d=e.input.onChange,u=t.onChange,f=So(e=>{const t=Number(e.target.value);l(Lo(t,r,o)),d&&d!==u?d(e):u&&u(e,{value:t})}),p=n&&n>0?100*n/(o-r)+"%":void 0,h={[Ex]:e.vertical?"0deg":"ltr"===a?"90deg":"270deg",[Dx]:`${c}%`,...void 0!==p&&{[Fx]:p}};e.root.style={...h,...e.root.style},e.input.value=s,e.input.onChange=f})(c,e),c},Ix=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r="medium",...o}=e;return{...Px(o,t),size:r}})(e,t);return(e=>{const t=Nx(),r=_x(),o=Tx(),n=qx(),a=e.vertical;e.root.className=te("fui-Slider",t.root,a?t.focusIndicatorVertical:t.focusIndicatorHorizontal,t[e.size],a?t.vertical:t.horizontal,e.disabled?t.disabled:t.enabled,e.root.className),e.rail.className=te("fui-Slider__rail",r.rail,a?r.vertical:r.horizontal,e.rail.className),e.thumb.className=te("fui-Slider__thumb",o.thumb,a?o.vertical:o.horizontal,e.disabled&&o.disabled,e.thumb.className),e.input.className=te("fui-Slider__input",n.input,a?n.vertical:n.horizontal,e.disabled&&n.disabled,e.input.className)})(r),co("useSliderStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.input,{}),gn(e.rail,{}),gn(e.thumb,{})]}))(r)});Ix.displayName="Slider";const Ox=(e,t,r)=>{let o=e;if(void 0!==t){if(void 0!==r&&t>r)return new Error,e;o=Math.max(t,o)}return void 0!==r&&(o=Math.min(r,o)),o},Ax=(e,t,r)=>void 0!==t&&e===t?r===t?"both":"min":void 0!==r&&e===r?"max":"none";function Rx(e,t,r=10){const o=r**t;return Math.round(e*o)/o}const Mx="fui-SpinButton__button_active",Hx=mr("r109xulx","r1h2jnch",{r:[".r109xulx{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 0 0 var(--spacingHorizontalMNudge);border-radius:var(--borderRadiusMedium);}",'.r109xulx::before{content:"";box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r109xulx::after{box-sizing:border-box;content:"";position:absolute;right:0;bottom:0;left:0;z-index:20;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);}',".r109xulx:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r109xulx:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r109xulx:focus-within{outline:2px solid transparent;}",".r1h2jnch{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 var(--spacingHorizontalMNudge) 0 0;border-radius:var(--borderRadiusMedium);}",'.r1h2jnch::before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r1h2jnch::after{box-sizing:border-box;content:"";position:absolute;left:0;bottom:0;right:0;z-index:20;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);}',".r1h2jnch:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1h2jnch:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1h2jnch:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r109xulx::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r109xulx:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),Lx=vr({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",uwmqm3:["f1f5gg8d","f1vdfbxk"]},medium:{},outline:{},outlineInteractive:{Bo3r8zu:"f1w2y1rc",Hpvxnh:["f1gofhvl","f18htlvq"],Bx11ytk:"ffcnd28",B1rg0w0:["f18htlvq","f1gofhvl"],Bsg1tlv:"f6lmxco",Brjw370:["fcoc0mf","f15r4wkl"],xcfy85:"f1ipdth8",Bcc6kan:["f15r4wkl","fcoc0mf"]},underline:{B0qfbqy:"f1o236ok",B4f6apu:["faeg28l","f64aojp"],y0oebl:"fdw6hkg",uvfttm:["f64aojp","faeg28l"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"f1xyh2jw"},underlineInteractive:{Bx11ytk:"ffcnd28",xcfy85:"f1ipdth8",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fkp7w9h"},filled:{Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4"},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},filledInteractive:{B05mzqr:"f1xqt08",tb9y6h:["fzt5lgo","f8tv3r9"],jcehpj:"fyhrops",B23o0hn:["f8tv3r9","fzt5lgo"]},invalid:{emecyz:"fl48pg9",lz0pba:["f1a168p3","f1pvdymy"],Bo1k74p:"f11knvgl",Ba322q7:["f1pvdymy","f1a168p3"]},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",Bq4z7u6:"f1a0lfh7",Bk5zm6e:["f1p2ejm6","fmzytvz"],Bqjgrrk:"fas2e61",Bm6vgfq:["fmzytvz","f1p2ejm6"],Bvljrlq:"f1p5b8em",Cqojjj:["fs6f9xf","f11b7h5x"],G3zxag:"f1vrn6tw",H8270r:["f11b7h5x","fs6f9xf"]}},{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);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1o236ok::before{border-top-width:0;}",".faeg28l::before{border-right-width:0;}",".f64aojp::before{border-left-width:0;}",".fdw6hkg::before{border-bottom-width:1px;}",[".f1xyh2jw::before{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fkp7w9h::after{border-radius:var(--borderRadiusNone);}",{p:-1}],[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fl48pg9:not(:focus-within)::before,.fl48pg9:hover:not(:focus-within)::before{border-top-color:var(--colorPaletteRedBorder2);}",".f1a168p3:not(:focus-within)::before,.f1a168p3:hover:not(:focus-within)::before{border-right-color:var(--colorPaletteRedBorder2);}",".f1pvdymy:not(:focus-within)::before,.f1pvdymy:hover:not(:focus-within)::before{border-left-color:var(--colorPaletteRedBorder2);}",".f11knvgl:not(:focus-within)::before,.f11knvgl:hover:not(:focus-within)::before{border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1a0lfh7::before{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1p2ejm6::before{border-right-color:var(--colorNeutralStrokeDisabled);}",".fmzytvz::before{border-left-color:var(--colorNeutralStrokeDisabled);}",".fas2e61::before{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],h:[".f1w2y1rc:hover::before{border-top-color:var(--colorNeutralStroke1Hover);}",".f1gofhvl:hover::before{border-right-color:var(--colorNeutralStroke1Hover);}",".f18htlvq:hover::before{border-left-color:var(--colorNeutralStroke1Hover);}",".ffcnd28:hover::before{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".f1xqt08:hover::before,.f1xqt08:focus-within::before{border-top-color:var(--colorTransparentStrokeInteractive);}",".fzt5lgo:hover::before,.fzt5lgo:focus-within::before{border-right-color:var(--colorTransparentStrokeInteractive);}",".f8tv3r9:hover::before,.f8tv3r9:focus-within::before{border-left-color:var(--colorTransparentStrokeInteractive);}",".fyhrops:hover::before,.fyhrops:focus-within::before{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f6lmxco:active::before,.f6lmxco:focus-within::before{border-top-color:var(--colorNeutralStroke1Pressed);}",".fcoc0mf:active::before,.fcoc0mf:focus-within::before{border-right-color:var(--colorNeutralStroke1Pressed);}",".f15r4wkl:active::before,.f15r4wkl:focus-within::before{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1ipdth8:active::before,.f1ipdth8:focus-within::before{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f1p5b8em::before{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11b7h5x::before{border-left-color:GrayText;}.fs6f9xf::before{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vrn6tw::before{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Vx=mr("r1ljrqje",null,[".r1ljrqje{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:3;outline-style:none;border:0;padding:0;color:var(--colorNeutralForeground1);background-color:transparent;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;width:100%;}",".r1ljrqje::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),Wx=vr({disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",yvdlaj:"fahhnxm"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),Zx=mr("r1g4chgs",null,[".r1g4chgs{display:inline-flex;width:24px;align-items:center;justify-content:center;border:0;position:absolute;outline-style:none;height:16px;background-color:transparent;color:var(--colorNeutralForeground3);grid-column-start:2;border-radius:0;padding:0 5px 0 5px;}",".r1g4chgs:active{outline-style:none;}",".r1g4chgs:enabled:hover{cursor:pointer;color:var(--colorNeutralForeground3Hover);background-color:var(--colorSubtleBackgroundHover);}",".r1g4chgs:enabled:active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:disabled{cursor:not-allowed;color:var(--colorNeutralForegroundDisabled);}"]),Ux=vr({increment:{Ijaq50:"f16hsg94",B7oj6ja:["f1jar5jt","fyu767a"],z8tnut:"f10ra9hq",Byoj8tv:"f1brlhvm"},decrement:{Ijaq50:"faunodf",Bbmb7ep:["f1aa9q02","f16jpd5f"],z8tnut:"f1sl3k7w",Byoj8tv:"f1y2xyjm"},incrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f4lv8q1","fm3uwd2"],Bqenvij:"fvblgha"},decrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1q86st8","frkrfqj"],Bqenvij:"fvblgha"},outline:{},underline:{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1bifk9c",p743kt:"fp1zg4s",B7xitij:"fo6hitd",B6siaa6:"f1wiab75",Ba9qmo4:"fj9zm5z",Dyrjrp:"f1cqwcg4"},"filled-darker":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"fwwxidx",p743kt:"fp1zg4s",B7xitij:"f14i52sd",B6siaa6:"f1wiab75",Ba9qmo4:"fwry2ka",Dyrjrp:"f1cqwcg4"},"filled-lighter":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1yywxnv",drw0cw:"fzaa11h",idzz8t:"f4fpmm9",Dyrjrp:"f1cqwcg4"}},{d:[".f16hsg94{grid-row-start:1;}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f10ra9hq{padding-top:4px;}",".f1brlhvm{padding-bottom:1px;}",".faunodf{grid-row-start:2;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1sl3k7w{padding-top:1px;}",".f1y2xyjm{padding-bottom:4px;}",[".f4lv8q1{padding:3px 6px 0px 4px;}",{p:-1}],[".fm3uwd2{padding:3px 4px 0px 6px;}",{p:-1}],".fvblgha{height:12px;}",[".f1q86st8{padding:0px 6px 3px 4px;}",{p:-1}],[".frkrfqj{padding:0px 4px 3px 6px;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1no7wuu:enabled:hover{color:var(--colorNeutralForeground3Hover);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fp1zg4s:enabled:active{color:var(--colorNeutralForeground3Pressed);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1wiab75:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".fj9zm5z:enabled.fui-SpinButton__button_active{background-color:var(--colorSubtleBackgroundPressed);}",".f1cqwcg4:disabled{color:var(--colorNeutralForegroundDisabled);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".fwry2ka:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground3Pressed);}",".f1yywxnv:enabled:hover{background-color:var(--colorNeutralBackground1Hover);}",".fzaa11h:enabled:active,.fzaa11h:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".f4fpmm9:enabled:active,.f4fpmm9:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground1Pressed);}"]}),Gx=u.forwardRef((e,t)=>{const r=((e,t)=>{e=Am(e,{supportsLabelFor:!0,supportsRequired:!0});const r=Vr({props:e,primarySlotTagName:"input",excludedPropNames:["defaultValue","max","min","onChange","size","value"]}),o=ao();var n;const{value:a,displayValue:i,defaultValue:l,min:s,max:c,step:d=1,stepPage:f=1,precision:p,onChange:h,size:g="medium",appearance:v=(null!==(n=o.inputDefaultAppearance)&&void 0!==n?n:"outline"),root:m,input:b,incrementButton:C,decrementButton:y}=e,x=u.useMemo(()=>null!=p?p:Math.max(function(e){const t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}(d),0),[p,d]),[w,k]=yo({state:a,defaultState:l,initialState:0}),B=u.useRef(null),z=void 0!==a,[j,S]=u.useState(void 0),[N,_]=u.useState("rest"),T=u.useRef({value:w,spinState:"rest",spinTime:0,spinDelay:150,atBound:null!==w?Ax(Rx(w,x),s,c):"none"}),[q,F]=Ho(),D=(e,t,r)=>{let o=T.current.value;if(r){const e=parseFloat(r);isNaN(e)||(o=e)}const n=o,a="up"===t||"upPage"===t?1:-1,i="upPage"===t||"downPage"===t?f:d;if(null===n){const t=Ox((void 0===s?0:s)+i*a,s,c);return void I(e,t)}let l=n+i*a;Number.isNaN(l)||(l=Ox(l,s,c)),I(e,l),"rest"!==T.current.spinState&&q(()=>{T.current.spinTime+=T.current.spinDelay,T.current.spinDelay=150+T.current.spinTime/1e3*-70,D(e,t)},T.current.spinDelay)},E=e=>{T.current.previousTextValue||(T.current.previousTextValue=null!=j?j:String(w));const t=e.target.value;S(t),B.current&&(B.current.ariaValueNow=t)},P=e=>{F(),T.current.spinState="rest",T.current.spinDelay=150,T.current.spinTime=0},I=(e,t,r)=>{const o=void 0!==t&&w!==t,n=void 0!==r&&void 0!==T.current.previousTextValue&&T.current.previousTextValue!==r;let a;if(o)a=Rx(t,x),k(a),T.current.value=a;else if(n&&!z){const e=parseFloat(r);isNaN(e)||(k(Rx(e,x)),T.current.value=Rx(e,x))}(o||n)&&(null==h||h(e,{value:a,displayValue:r})),S(void 0)};let O;if(void 0!==j)O=j;else if(null===a||null===w)O=null!=i?i:"",T.current.value=null,T.current.atBound="none";else{const e=Rx(w,x);T.current.value=e,T.current.atBound=Ax(e,s,c),O=z&&null!=i?i:String(e)}const A={size:g,appearance:v,spinState:N,atBound:T.current.atBound,components:{root:"span",input:"input",incrementButton:"button",decrementButton:"button"},root:wr(m,{defaultProps:r.root,elementType:"span"}),input:wr(b,{defaultProps:{autoComplete:"off",role:"spinbutton",appearance:v,type:"text",...r.primary},elementType:"input"}),incrementButton:wr(C,{defaultProps:{tabIndex:-1,children:u.createElement(Wu,null),disabled:r.primary.readOnly||r.primary.disabled||"max"===T.current.atBound||"both"===T.current.atBound,"aria-label":"Increment value",type:"button"},elementType:"button"}),decrementButton:wr(y,{defaultProps:{tabIndex:-1,children:u.createElement(Hu,null),disabled:r.primary.readOnly||r.primary.disabled||"min"===T.current.atBound||"both"===T.current.atBound,"aria-label":"Decrement value",type:"button"},elementType:"button"})};var R,M;return A.input.value=O,A.input.ref=Fo(B,t),A.input["aria-valuemin"]=s,A.input["aria-valuemax"]=c,A.input["aria-valuenow"]=null!==(R=T.current.value)&&void 0!==R?R:void 0,A.input["aria-valuetext"]=null!==(M=A.input["aria-valuetext"])&&void 0!==M?M:void 0!==a&&i||void 0,A.input.onChange=Uo(A.input.onChange,E),A.input.onInput=Uo(A.input.onInput,E),A.input.onBlur=Uo(A.input.onBlur,e=>{I(e,w,j),T.current.previousTextValue=void 0}),A.input.onKeyDown=Uo(A.input.onKeyDown,e=>{let t="rest";e.currentTarget.readOnly||(e.key===Dc?(D(e,"up",j),t="up"):e.key===Tc?(D(e,"down",j),t="down"):e.key===Oc?(e.preventDefault(),D(e,"upPage",j),t="up"):e.key===Ic?(e.preventDefault(),D(e,"downPage",j),t="down"):e.shiftKey||e.key!==Pc||void 0===s?e.shiftKey||e.key!==Ec||void 0===c?e.key===Sc?(I(e,w,j),T.current.previousTextValue=void 0):e.key===Mc&&T.current.previousTextValue&&(S(void 0),T.current.previousTextValue=void 0):(I(e,c),t="up"):(I(e,s),t="down"),N!==t&&_(t))}),A.input.onKeyUp=Uo(A.input.onKeyUp,e=>{"rest"!==N&&(_("rest"),T.current.spinState="rest")}),A.incrementButton.onMouseDown=Uo(e=>{I(e,w,j),T.current.spinState="up",D(e,"up")},A.incrementButton.onMouseDown),A.incrementButton.onMouseUp=Uo(A.incrementButton.onMouseUp,P),A.incrementButton.onMouseLeave=Uo(A.incrementButton.onMouseLeave,P),A.decrementButton.onMouseDown=Uo(e=>{I(e,w,j),T.current.spinState="down",D(e,"down")},A.decrementButton.onMouseDown),A.decrementButton.onMouseUp=Uo(A.decrementButton.onMouseUp,P),A.decrementButton.onMouseLeave=Uo(A.decrementButton.onMouseLeave,P),A})(e,t);return(e=>{const{appearance:t,spinState:r,size:o}=e,n=e.input.disabled,a="true"==`${e.input["aria-invalid"]}`,i=t.startsWith("filled"),l=Lx(),s=Ux(),c=Wx();e.root.className=te("fui-SpinButton",Hx(),l[o],l[t],i&&l.filled,!n&&"outline"===t&&l.outlineInteractive,!n&&"underline"===t&&l.underlineInteractive,!n&&i&&l.filledInteractive,!n&&a&&l.invalid,n&&l.disabled,e.root.className),e.incrementButton.className=te("fui-SpinButton__incrementButton","up"===r&&`${Mx}`,Zx(),s.increment,s[t],"small"===o&&s.incrementButtonSmall,e.incrementButton.className),e.decrementButton.className=te("fui-SpinButton__decrementButton","down"===r&&`${Mx}`,Zx(),s.decrement,s[t],"small"===o&&s.decrementButtonSmall,e.decrementButton.className),e.input.className=te("fui-SpinButton__input",Vx(),n&&c.disabled,e.input.className)})(r),co("useSpinButtonStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.input,{}),gn(e.incrementButton,{}),gn(e.decrementButton,{})]}))(r)});Gx.displayName="SpinButton";const Xx=u.createContext(void 0),$x={},Kx=(Xx.Provider,(e,t)=>{const{size:r}=null!==(o=u.useContext(Xx))&&void 0!==o?o:$x;var o;const{appearance:n="primary",size:a=(null!=r?r:"medium"),...i}=e;return{...Yx(i,t),appearance:n,size:a}}),Yx=(e,t)=>{const{delay:r=0,labelPosition:o="after"}=e,n=qo("spinner"),{role:a="progressbar",...i}=e,l=wr(Wr("div",{ref:t,role:a,...i}),{elementType:"div"}),[s,c]=u.useState(!1),[d,f]=Ho();u.useEffect(()=>{if(!(r<=0))return d(()=>{c(!0)},r),()=>{f()}},[d,f,r]);const p=kr(e.label,{defaultProps:{id:n},renderByDefault:!1,elementType:Hm}),h=kr(e.spinner,{renderByDefault:!0,elementType:"span"});return p&&l&&!l["aria-labelledby"]&&(l["aria-labelledby"]=p.id),{delay:r,labelPosition:o,shouldRenderSpinner:!r||s,components:{root:"div",spinner:"span",spinnerTail:"span",label:Hm},root:l,spinner:h,spinnerTail:wr(e.spinnerTail,{elementType:"span"}),label:p}},Jx=mr("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),Qx=vr({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),ew=mr("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;}}"]}),tw=mr("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;}}"]}),rw=vr({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)"}]]}),ow=vr({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);}"]}),nw=u.forwardRef((e,t)=>{const r=Kx(e,t);return(e=>{const{labelPosition:t,size:r,appearance:o}=e,{dir:n}=ro(),a=Jx(),i=Qx(),l=ew(),s=rw(),c=tw(),d=ow();e.root.className=te("fui-Spinner",a,("above"===t||"below"===t)&&i.vertical,e.root.className),e.spinner&&(e.spinner.className=te("fui-Spinner__spinner",l,s[r],"inverted"===o&&s.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=te("fui-Spinner__spinnerTail",c,"rtl"===n&&s.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=te("fui-Spinner__label",d[r],"inverted"===o&&d.inverted,e.label.className))})(r),co("useSpinnerStyles_unstable")(r),(e=>{const{labelPosition:t,shouldRenderSpinner:r}=e;return vn(e.root,{children:[e.label&&r&&("above"===t||"before"===t)&&gn(e.label,{}),e.spinner&&r&&gn(e.spinner,{children:e.spinnerTail&&gn(e.spinnerTail,{})}),e.label&&r&&("below"===t||"after"===t)&&gn(e.label,{})]})})(r)});nw.displayName="Spinner";const aw=(e,t)=>{e=Am(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:r,defaultChecked:o,disabled:n,disabledFocusable:a=!1,labelPosition:i="after",onChange:l,required:s}=e,c=Vr({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),d=qo("switch-",c.primary.id),f=wr(e.root,{defaultProps:{ref:Di(),...c.root},elementType:"div"}),p=wr(e.indicator,{defaultProps:{"aria-hidden":!0,children:u.createElement(vd,null)},elementType:"div"}),h=wr(e.input,{defaultProps:{checked:r,defaultChecked:o,id:d,ref:t,role:"switch",type:"checkbox",...c.primary,disabled:n&&!a,...a&&{"aria-disabled":!0}},elementType:"input"});h.onChange=Uo(h.onChange,e=>null==l?void 0:l(e,{checked:e.currentTarget.checked})),h.onClick=Uo(h.onClick,e=>{a&&e.preventDefault()}),h.onKeyDown=Uo(h.onKeyDown,e=>{!a||" "!==e.key&&"Enter"!==e.key||e.preventDefault()});const g=kr(e.label,{defaultProps:{disabled:n||a,htmlFor:d,required:s,size:"medium"},elementType:Hm});return{disabledFocusable:a,labelPosition:i,components:{root:"div",indicator:"div",input:"input",label:Hm},root:f,indicator:p,input:h,label:g}},iw=mr("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[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);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[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){.r2i81i2[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){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),lw=vr({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),sw=mr("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),cw=vr({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),dw=mr("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),uw=vr({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),fw=vr({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),pw=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r="medium",...o}=e;return{...aw(o,t),size:r}})(e,t);return(e=>{const t=iw(),r=lw(),o=sw(),n=cw(),a=dw(),i=uw(),l=fw(),{label:s,labelPosition:c,size:d}=e;e.root.className=te("fui-Switch",t,"above"===c&&r.vertical,e.root.className),e.indicator.className=te("fui-Switch__indicator",o,s&&"above"===c&&n.labelAbove,"small"===d&&n.sizeSmall,e.indicator.className),e.input.className=te("fui-Switch__input",a,s&&i[c],"small"===d&&i.sizeSmall,e.input.className),e.label&&(e.label.className=te("fui-Switch__label",l.base,l[c],"small"===d&&l.sizeSmall,e.label.className))})(r),co("useSwitchStyles_unstable")(r),(e=>{const{labelPosition:t}=e;return vn(e.root,{children:[gn(e.input,{}),"after"!==t&&e.label&&gn(e.label,{}),gn(e.indicator,{}),"after"===t&&e.label&&gn(e.label,{})]})})(r)});pw.displayName="Switch";const hw={appearance:"transparent",reserveSelectedTabSpace:!0,selectTabOnFocus:!1,disabled:!1,selectedValue:void 0,onRegister:()=>{},onUnregister:()=>{},onSelect:()=>{},getRegisteredTabs:()=>({registeredTabs:{}}),size:"medium",vertical:!1},gw=hc(void 0),vw=gw.Provider,mw=e=>gc(gw,(t=hw)=>e(t)),bw=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bnnss6s:"fi64zpg",Eh141a:"flvyvdh",qhf8xq:"f10pi13n"},horizontal:{Bt984gj:"f1q9h2pe",Beiy3e4:"f1063pyq"},vertical:{Bt984gj:"f1q9h2pe",Beiy3e4:"f1vx9l62"},roundedSmall:{i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},rounded:{i8kkvl:0,Belr9w4:0,rmohyg:"faqewft"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fi64zpg{flex-shrink:0;}",".flvyvdh{flex-wrap:nowrap;}",".f10pi13n{position:relative;}",".f1q9h2pe{align-items:stretch;}",".f1vx9l62{flex-direction:column;}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}]]}),Cw=u.forwardRef((e,t)=>{const r=((e,t)=>{const{appearance:r="transparent",reserveSelectedTabSpace:o=!0,size:n="medium"}=e,a=((e,t)=>{const{disabled:r=!1,onTabSelect:o,selectTabOnFocus:n=!1,vertical:a=!1,selectedValue:i,defaultSelectedValue:l,...s}=e,c=u.useRef(null),[d,f]=yo({state:i,defaultState:l,initialState:void 0}),p=u.useRef(void 0),h=u.useRef(void 0);u.useEffect(()=>{h.current=p.current,p.current=d},[d]);const g=So((e,t)=>{f(t.value),null==o||o(e,t)}),v=u.useRef({}),m=So(e=>{const t=JSON.stringify(e.value);v.current[t]=e}),b=So(e=>{delete v.current[JSON.stringify(e.value)]}),C=u.useCallback(()=>({selectedValue:p.current,previousSelectedValue:h.current,registeredTabs:v.current}),[]);return{components:{root:"div"},root:wr({ref:Fo(t,c),role:"tablist","aria-orientation":a?"vertical":"horizontal",...s},{elementType:"div"}),disabled:r,selectTabOnFocus:n,selectedValue:d,onRegister:m,onUnregister:b,onSelect:g,getRegisteredTabs:C,vertical:a}})(e,t),i=(({vertical:e})=>xi({circular:!0,axis:e?"vertical":"horizontal",memorizeCurrent:!1,unstable_hasDefault:!0}))({vertical:a.vertical});return{...a,root:{...a.root,...i},appearance:r,reserveSelectedTabSpace:o,size:n}})(e,t),o=function(e){const{appearance:t,reserveSelectedTabSpace:r,disabled:o,selectTabOnFocus:n,selectedValue:a,onRegister:i,onUnregister:l,onSelect:s,getRegisteredTabs:c,size:d,vertical:u}=e;return{tabList:{appearance:t,reserveSelectedTabSpace:r,disabled:o,selectTabOnFocus:n,selectedValue:a,onSelect:s,onRegister:i,onUnregister:l,getRegisteredTabs:c,size:d,vertical:u}}}(r);return(e=>{const{appearance:t,vertical:r,size:o}=e,n=bw(),a="subtle-circular"===t||"filled-circular"===t;e.root.className=te("fui-TabList",n.root,r?n.vertical:n.horizontal,a&&("small"===o?n.roundedSmall:n.rounded),e.root.className)})(r),co("useTabListStyles_unstable")(r),((e,t)=>gn(e.root,{children:gn(vw,{value:t.tabList,children:e.root.children})}))(r,o)});Cw.displayName="TabList";const yw="--fui-Tab__indicator--offset",xw="--fui-Tab__indicator--scale",ww=vr({base:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg"},animated:{Ba2ppi3:"fhwpy7i",F2fol1:"f6zz20j",B1dyfl9:"f1ai4sc1",Bu93a1u:"f1rnm8gg",Bdasjez:"f1x3cmqg"},horizontal:{sjv3b2:["fug4aj8","f1i5xzg7"],b1kco5:"f1q7ujh"},vertical:{sjv3b2:"f1hqboyk",b1kco5:"f1dxupa6"}},{d:[[".f1gl81tg{overflow:visible;}",{p:-1}],".fhwpy7i::after{transition-property:transform;}",".f6zz20j::after{transition-duration:var(--durationSlow);}",".f1ai4sc1::after{transition-timing-function:var(--curveDecelerateMax);}",".fug4aj8::after{transform-origin:left;}",".f1i5xzg7::after{transform-origin:right;}",".f1q7ujh::after{transform:translateX(var(--fui-Tab__indicator--offset)) scaleX(var(--fui-Tab__indicator--scale));}",".f1hqboyk::after{transform-origin:top;}",".f1dxupa6::after{transform:translateY(var(--fui-Tab__indicator--offset)) scaleY(var(--fui-Tab__indicator--scale));}"],m:[["@media (prefers-reduced-motion: reduce){.f1rnm8gg::after{transition-property:none;}}",{m:"(prefers-reduced-motion: reduce)"}],["@media (prefers-reduced-motion: reduce){.f1x3cmqg::after{transition-duration:0.01ms;}}",{m:"(prefers-reduced-motion: reduce)"}]]}),kw=(e,t)=>{var r;const o=Bw(t)?null===(r=e[JSON.stringify(t)])||void 0===r?void 0:r.ref.current:void 0;return o?(e=>{if(e){var t;const r=(null===(t=e.parentElement)||void 0===t?void 0:t.getBoundingClientRect())||{x:0,y:0,width:0,height:0},o=e.getBoundingClientRect();return{x:o.x-r.x,y:o.y-r.y,width:o.width,height:o.height}}})(o):void 0},Bw=e=>null!=e,zw=vr({root:{Bt984gj:"f122n59",mc9l5x:"f13qh94s",Bnnss6s:"fi64zpg",Bxotwcr:"f1u07yai",Budl1dq:"frn2hmy",wkccdc:"f1olsevy",oeaueh:"f1s6fcnf",qhf8xq:"f10pi13n"},button:{Bt984gj:"f122n59",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",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bnnss6s:"fi64zpg",Bxotwcr:"f1u07yai",Budl1dq:"frn2hmy",wkccdc:"f1olsevy",Bahqtrf:"fk6fouc",Bg96gwp:"f1i3iumi",oeaueh:"f1s6fcnf",qhf8xq:"f10pi13n",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",B9bfxx9:"f1cxpek8"},horizontal:{Brf1p80:"f4d9j23"},vertical:{Brf1p80:"f1s9ku6b"},smallHorizontal:{i8kkvl:"f14mj54c",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1wmopi4"},smallVertical:{i8kkvl:"f14mj54c",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f12or63q"},mediumHorizontal:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1w08f2p"},mediumVertical:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fymxs25"},largeHorizontal:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ssfvub"},largeVertical:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fwkd1rq"},transparent:{De3pzq:"f1c21dwh",B95qlz1:"f9rvdkv",B7xitij:"f1051ucx",Bptxc3x:"fmmjozx",Bwqhzpy:"fqhzt5g",iyk698:"f7l5cgy",cl4aha:"fpkze5g",B0q3jbp:"f1iywnoi",Be9ayug:"f9n45c4"},subtle:{De3pzq:"fhovq9v",B95qlz1:"f1bifk9c",B7xitij:"fo6hitd",Bptxc3x:"fmmjozx",Bwqhzpy:"fqhzt5g",iyk698:"f7l5cgy",cl4aha:"fpkze5g",B0q3jbp:"f1iywnoi",Be9ayug:"f9n45c4"},disabledCursor:{Bceei9c:"fdrzuqr"},disabled:{De3pzq:"f1c21dwh",Bptxc3x:"fato7r6",cl4aha:"fao1bnu"},selected:{Bptxc3x:"f1cadz5z",Bwqhzpy:"fwhdxxj",iyk698:"fintccb",cl4aha:"ffplhdr",B0q3jbp:"fjo17wb",Be9ayug:"f148789c"}},{d:[".f122n59{align-items:center;}",".f13qh94s{display:grid;}",".fi64zpg{flex-shrink:0;}",".f1u07yai{grid-auto-flow:column;}",".frn2hmy{grid-template-columns:auto;}",".f1olsevy{grid-template-rows:auto;}",".f1s6fcnf{outline-style:none;}",".f10pi13n{position:relative;}",[".f3bhgqh{border:none;}",{p:-2}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cxpek8{text-transform:none;}",".f4d9j23{justify-content:center;}",".f1s9ku6b{justify-content:start;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",[".f1wmopi4{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalSNudge);}",{p:-1}],[".f12or63q{padding:var(--spacingVerticalXXS) var(--spacingHorizontalSNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",[".f1w08f2p{padding:var(--spacingVerticalM) var(--spacingHorizontalMNudge);}",{p:-1}],[".fymxs25{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalMNudge);}",{p:-1}],[".f1ssfvub{padding:var(--spacingVerticalL) var(--spacingHorizontalMNudge);}",{p:-1}],[".fwkd1rq{padding:var(--spacingVerticalS) var(--spacingHorizontalMNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f9rvdkv:enabled:hover{background-color:var(--colorTransparentBackgroundHover);}",".f1051ucx:enabled:active{background-color:var(--colorTransparentBackgroundPressed);}",".fmmjozx .fui-Tab__icon{color:var(--colorNeutralForeground2);}",".fqhzt5g:enabled:hover .fui-Tab__icon{color:var(--colorNeutralForeground2Hover);}",".f7l5cgy:enabled:active .fui-Tab__icon{color:var(--colorNeutralForeground2Pressed);}",".fpkze5g .fui-Tab__content{color:var(--colorNeutralForeground2);}",".f1iywnoi:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground2Hover);}",".f9n45c4:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground2Pressed);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".fdrzuqr{cursor:not-allowed;}",".fato7r6 .fui-Tab__icon{color:var(--colorNeutralForegroundDisabled);}",".fao1bnu .fui-Tab__content{color:var(--colorNeutralForegroundDisabled);}",".f1cadz5z .fui-Tab__icon{color:var(--colorCompoundBrandForeground1);}",".fwhdxxj:enabled:hover .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Hover);}",".fintccb:enabled:active .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Pressed);}",".ffplhdr .fui-Tab__content{color:var(--colorNeutralForeground1);}",".fjo17wb:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground1Hover);}",".f148789c:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground1Pressed);}"]}),jw=vr({base:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",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:"fp7rvkm",Bptxc3x:"ftorr8m",cl4aha:"f16lqpmv"},small:{Dbcxam:0,rjzwhg:0,Bblux5w:"fzklhed"},medium:{Dbcxam:0,rjzwhg:0,Bblux5w:"f1j721cc"},large:{Dbcxam:0,rjzwhg:0,Bblux5w:"frx9knr"},subtle:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",B95qlz1:"f1bifk9c",Eo63ln:0,r9osk6:0,Itrz8y:0,zeg6vx:0,l65xgk:0,Bw4olcx:0,Folb0i:0,I2h8y4:0,Bgxgoyi:0,Bvlkotb:0,Fwyncl:0,Byh5edv:0,Becqvjq:0,uumbiq:0,B73q3dg:0,Bblwbaf:0,B0ezav:"ft57sj0",r4wkhp:"f1fcoy83",B7xitij:"fo6hitd",d3wsvi:0,Hdqn7s:0,zu5y1p:0,owqphb:0,g9c53k:0,Btmu08z:0,Bthxvy6:0,gluvuq:0,tb88gp:0,wns6jk:0,kdfdk4:0,Bbw008l:0,Bayi1ib:0,B1kkfu3:0,J1oqyp:0,kem6az:0,goa3yj:"fhn220o",p743kt:"f15qf7sh",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:"f1mljprk"},subtleSelected:{De3pzq:"f16xkysk",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:"f1c2pc3t",sj55zd:"faj9fo0",B95qlz1:"fsm7zmf",Eo63ln:0,r9osk6:0,Itrz8y:0,zeg6vx:0,l65xgk:0,Bw4olcx:0,Folb0i:0,I2h8y4:0,Bgxgoyi:0,Bvlkotb:0,Fwyncl:0,Byh5edv:0,Becqvjq:0,uumbiq:0,B73q3dg:0,Bblwbaf:0,B0ezav:"f1wo0sfq",r4wkhp:"f1afuynh",B7xitij:"f94ddyl",d3wsvi:0,Hdqn7s:0,zu5y1p:0,owqphb:0,g9c53k:0,Btmu08z:0,Bthxvy6:0,gluvuq:0,tb88gp:0,wns6jk:0,kdfdk4:0,Bbw008l:0,Bayi1ib:0,B1kkfu3:0,J1oqyp:0,kem6az:0,goa3yj:"fmle6oo",p743kt:"f1d3itm4",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:"f1e9l2u"},subtleDisabled:{De3pzq:"fhovq9v",sj55zd:"f1s2aq7o"},subtleDisabledSelected:{De3pzq:"f1bg9a2p",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:"fegtqic",sj55zd:"f1s2aq7o"},filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb",B95qlz1:"fwwxidx",r4wkhp:"f1fcoy83",B7xitij:"f14i52sd",p743kt:"f15qf7sh",Hhssn:"f1cpi5f4",uaurb9:"f6pj1s0",B401qx7:"f12sz5kj",Buyp1jb:"f17588c3",gsp74p:"fnthgdt"},filledSelected:{De3pzq:"ffp7eso",sj55zd:"f1phragk",B95qlz1:"f1lm9dni",r4wkhp:"f1mn5ei1",B7xitij:"f1g6ncd0",p743kt:"fl71aob",Gedr8k:"f14zl92z",Bm69vlq:"f16zy3eu",Bodipah:"f1gdgb7p",B5kpen0:"f1tua9ng"},filledDisabled:{De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o"},filledDisabledSelected:{De3pzq:"f1bg9a2p",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:"fegtqic",sj55zd:"f1s2aq7o"}},{d:[[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fp7rvkm{border:solid var(--strokeWidthThin) var(--colorTransparentStroke);}",{p:-2}],".ftorr8m .fui-Tab__icon{color:inherit;}",".f16lqpmv .fui-Tab__content{color:inherit;}",[".fzklhed{padding-block:calc(var(--spacingVerticalXXS) - var(--strokeWidthThin));}",{p:-1}],[".f1j721cc{padding-block:calc(var(--spacingVerticalSNudge) - var(--strokeWidthThin));}",{p:-1}],[".frx9knr{padding-block:calc(var(--spacingVerticalS) - var(--strokeWidthThin));}",{p:-1}],".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",[".ft57sj0:enabled:hover{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Hover);}",{p:-2}],".f1fcoy83:enabled:hover{color:var(--colorNeutralForeground2Hover);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",[".fhn220o:enabled:active{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Pressed);}",{p:-2}],".f15qf7sh:enabled:active{color:var(--colorNeutralForeground2Pressed);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",[".f1c2pc3t{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStroke);}",{p:-2}],".faj9fo0{color:var(--colorBrandForeground2);}",".fsm7zmf:enabled:hover{background-color:var(--colorBrandBackground2Hover);}",[".f1wo0sfq:enabled:hover{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokeHover);}",{p:-2}],".f1afuynh:enabled:hover{color:var(--colorBrandForeground2Hover);}",".f94ddyl:enabled:active{background-color:var(--colorBrandBackground2Pressed);}",[".fmle6oo:enabled:active{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokePressed);}",{p:-2}],".f1d3itm4:enabled:active{color:var(--colorBrandForeground2Pressed);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",[".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".f1lm9dni:enabled:hover{background-color:var(--colorBrandBackgroundHover);}",".f1mn5ei1:enabled:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1g6ncd0:enabled:active{background-color:var(--colorBrandBackgroundPressed);}",".fl71aob:enabled:active{color:var(--colorNeutralForegroundOnBrand);}",[".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",{p:-2}]],m:[["@media (forced-colors: active){.f1mljprk{border:solid var(--strokeWidthThin) Canvas;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e9l2u{border:solid var(--strokeWidthThin) Highlight;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cpi5f4:enabled:hover{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f6pj1s0:enabled:hover{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12sz5kj:enabled:hover .fui-Tab__content{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f17588c3:enabled:hover .fui-Icon-filled{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnthgdt:enabled:hover .fui-Icon-regular{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14zl92z:enabled{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16zy3eu:enabled .fui-Tab__content{color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gdgb7p:enabled .fui-Tab__content{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tua9ng:enabled .fui-Tab__icon{color:ButtonFace;}}",{m:"(forced-colors: active)"}]]}),Sw=vr({base:{B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bn4voq9:"f1p7hgxw",Bfpq7zp:"f1way5bb",g9k6zt:"f9znhxp",j6ew2k:["fqa318h","fqa318h"],Bhxq17a:"f1vjpng2"},circular:{B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bn4voq9:"f1p7hgxw",Bfpq7zp:"f1way5bb",g9k6zt:"f9znhxp",j6ew2k:["fzgyhws","fqxug60"],Bhxq17a:"f1vjpng2"}},{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;}",".f1p7hgxw[data-fui-focus-visible]{outline-width:var(--strokeWidthThick);}",".f1way5bb[data-fui-focus-visible]{outline-color:transparent;}",".f9znhxp[data-fui-focus-visible]{outline-style:solid;}",".fqa318h[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2);}",".f1vjpng2[data-fui-focus-visible]{z-index:1;}",".fzgyhws[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}",".fqxug60[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}"]}),Nw=vr({base:{az7l2e:"fhw179n",vqofr:0,Bv4n3vi:0,Bgqb9hq:0,B0uxbk8:0,Bf3jju6:"fg9j5n4",amg5m6:"f1kmhr4c",zkfqfm:"fl1ydde",Bkydozb:"f1y7maxz",Bka2azo:0,vzq8l0:0,csmgbd:0,Br4ovkg:0,aelrif:"fceyvr4",y36c18:"f16cxu0",B1ctymy:"f1nwgacf",xzc5d:"fm6alxz",h5yqg8:"fhx32z1"},disabled:{az7l2e:"f1ut20fw",Bkydozb:"fhrzcfn",xzc5d:"fw15awd",h5yqg8:"faqmq51"},smallHorizontal:{lawp4y:"fchca7p",Baz25je:"f1r53b5e",Fbdkly:["f1s6rxz5","fo35v8s"],mdwyqc:["fo35v8s","f1s6rxz5"]},smallVertical:{lawp4y:"fze4zud",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"fdp32p8",Ccq8qp:"f1aij3q"},mediumHorizontal:{lawp4y:"fchca7p",Baz25je:"f1s2r9ax",Fbdkly:["f1o0nnkk","fxb7rol"],mdwyqc:["fxb7rol","f1o0nnkk"]},mediumVertical:{lawp4y:"f17jracn",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"f117lcb2",Ccq8qp:"f1aij3q"},largeHorizontal:{lawp4y:"fchca7p",Baz25je:"f1s2r9ax",Fbdkly:["f1o0nnkk","fxb7rol"],mdwyqc:["fxb7rol","f1o0nnkk"]},largeVertical:{lawp4y:"fel9d3z",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"f6vqlre",Ccq8qp:"f1aij3q"}},{h:[".fhw179n:hover::before{background-color:var(--colorNeutralStroke1Hover);}",[".fg9j5n4:hover::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f1kmhr4c:hover::before{content:"";}',".fl1ydde:hover::before{position:absolute;}",".f1ut20fw:hover::before{background-color:var(--colorTransparentStroke);}"],a:[".f1y7maxz:active::before{background-color:var(--colorNeutralStroke1Pressed);}",[".fceyvr4:active::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f16cxu0:active::before{content:"";}',".f1nwgacf:active::before{position:absolute;}",".fhrzcfn:active::before{background-color:var(--colorTransparentStroke);}"],m:[["@media (forced-colors: active){.fm6alxz:hover::before{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fhx32z1:active::before{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw15awd:hover::before{background-color:transparent;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faqmq51:active::before{background-color:transparent;}}",{m:"(forced-colors: active)"}]],d:[".fchca7p::before{bottom:0;}",".f1r53b5e::before{height:var(--strokeWidthThick);}",".f1s6rxz5::before{left:var(--spacingHorizontalSNudge);}",".fo35v8s::before{right:var(--spacingHorizontalSNudge);}",".fze4zud::before{bottom:var(--spacingVerticalXS);}",".f1fzr1x6::before{left:0;}",".f1f351id::before{right:0;}",".fdp32p8::before{top:var(--spacingVerticalXS);}",".f1aij3q::before{width:var(--strokeWidthThicker);}",".f1s2r9ax::before{height:var(--strokeWidthThicker);}",".f1o0nnkk::before{left:var(--spacingHorizontalM);}",".fxb7rol::before{right:var(--spacingHorizontalM);}",".f17jracn::before{bottom:var(--spacingVerticalS);}",".f117lcb2::before{top:var(--spacingVerticalS);}",".fel9d3z::before{bottom:var(--spacingVerticalMNudge);}",".f6vqlre::before{top:var(--spacingVerticalMNudge);}"]}),_w=vr({base:{Bjyk6c5:"f1rp0jgh",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f3b9emi",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9"},selected:{Bjyk6c5:"f1ksivud",Bej4dhw:"f1476jrx",B7wqxwa:"f18q216b",Hwb57:"f1wf6u82",Beg08s0:"f1xwit7m",Bo27r1v:"f1ksfgwi"},disabled:{Bjyk6c5:"f13lkzet"},smallHorizontal:{By385i5:"fo72kxq",Dlnsje:"f9bb2ob",Eqx8gd:["f1q70ajw","f18rbzdx"],B1piin3:["f18rbzdx","f1q70ajw"]},smallVertical:{By385i5:"fqbue9b",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"fk1klkt",a2br6o:"f1o25lip"},mediumHorizontal:{By385i5:"fo72kxq",Dlnsje:"f1vx7lu8",Eqx8gd:["fna7m5n","f1oxpfwv"],B1piin3:["f1oxpfwv","fna7m5n"]},mediumVertical:{By385i5:"fipylg0",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"fqchiol",a2br6o:"f1o25lip"},largeHorizontal:{By385i5:"fo72kxq",Dlnsje:"f1vx7lu8",Eqx8gd:["fna7m5n","f1oxpfwv"],B1piin3:["f1oxpfwv","fna7m5n"]},largeVertical:{By385i5:"f1w7dm5g",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"f1p6em4m",a2br6o:"f1o25lip"}},{d:[".f1rp0jgh::after{background-color:var(--colorTransparentStroke);}",[".f3b9emi::after{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1ksivud::after{background-color:var(--colorCompoundBrandStroke);}",".f1476jrx:enabled:hover::after{background-color:var(--colorCompoundBrandStrokeHover);}",".f18q216b:enabled:active::after{background-color:var(--colorCompoundBrandStrokePressed);}",".f13lkzet::after{background-color:var(--colorNeutralForegroundDisabled);}",".fo72kxq::after{bottom:0;}",".f9bb2ob::after{height:var(--strokeWidthThick);}",".f1q70ajw::after{left:var(--spacingHorizontalSNudge);}",".f18rbzdx::after{right:var(--spacingHorizontalSNudge);}",".fqbue9b::after{bottom:var(--spacingVerticalXS);}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fk1klkt::after{top:var(--spacingVerticalXS);}",".f1o25lip::after{width:var(--strokeWidthThicker);}",".f1vx7lu8::after{height:var(--strokeWidthThicker);}",".fna7m5n::after{left:var(--spacingHorizontalM);}",".f1oxpfwv::after{right:var(--spacingHorizontalM);}",".fipylg0::after{bottom:var(--spacingVerticalS);}",".fqchiol::after{top:var(--spacingVerticalS);}",".f1w7dm5g::after{bottom:var(--spacingVerticalMNudge);}",".f1p6em4m::after{top:var(--spacingVerticalMNudge);}"],m:[["@media (forced-colors: active){.f1wf6u82::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xwit7m:enabled:hover::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ksfgwi:enabled:active::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}]]}),Tw=vr({base:{Br312pm:"fwpfdsa",Ijaq50:"f16hsg94",Bt984gj:"f122n59",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",D0sxk3:"f16u1re",t6yez3:"f8bsbmo"},small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},medium:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun"},selected:{D0sxk3:"fxoiby5",t6yez3:"f15q0o9g"}},{d:[".fwpfdsa{grid-column-start:1;}",".f16hsg94{grid-row-start:1;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f16u1re .fui-Icon-filled{display:none;}",".f8bsbmo .fui-Icon-regular{display:inline;}",".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}"]}),qw=vr({base:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bwptpd"},selected:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"},largeSelected:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},noIconBefore:{Br312pm:"fwpfdsa",Ijaq50:"f16hsg94"},iconBefore:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94"},placeholder:{Bcdw1i0:"fd7fpy0"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1bwptpd{padding:var(--spacingVerticalNone) var(--spacingHorizontalXXS);}",{p:-1}],".fl43uef{font-weight:var(--fontWeightSemibold);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fwpfdsa{grid-column-start:1;}",".f16hsg94{grid-row-start:1;}",".fd46tj4{grid-column-start:2;}",".fd7fpy0{visibility:hidden;}"]}),Fw=u.forwardRef((e,t)=>{const r=((e,t)=>{const{content:r}=e,o=((e,t)=>{const{content:r,disabled:o=!1,icon:n,onClick:a,onFocus:i,value:l,...s}=e,c=mw(e=>e.selectTabOnFocus),d=mw(e=>e.disabled),f=mw(e=>e.selectedValue===l),p=mw(e=>e.onRegister),h=mw(e=>e.onUnregister),g=mw(e=>e.onSelect),v=mw(e=>!!e.vertical),m=d||o,b=u.useRef(null),C=e=>g(e,{value:l}),y=So(Uo(a,C)),x=So(Uo(i,C));u.useEffect(()=>(p({value:l,ref:b}),()=>{h({value:l,ref:b})}),[p,h,b,l]);const w=kr(n,{elementType:"span"}),k=wr(r,{defaultProps:{children:e.children},elementType:"span"}),B=Boolean((null==w?void 0:w.children)&&!k.children);return{components:{root:"button",icon:"span",content:"span",contentReservedSpace:"span"},root:wr({ref:Fo(t,b),role:"tab",type:"button","aria-selected":m?void 0:`${f}`,value:l,...s,disabled:m,onClick:y,onFocus:c?x:i},{elementType:"button"}),icon:w,iconOnly:B,content:k,disabled:m,selected:f,value:l,vertical:v}})(e,t),n=(({selected:e})=>yi({focusable:{isDefault:e}}))(o),a=mw(e=>e.appearance),i=mw(e=>e.reserveSelectedTabSpace),l=mw(e=>{var t;return null!==(t=e.size)&&void 0!==t?t:"medium"}),s=r&&"object"==typeof r?function(e,t){const r={};for(const o in e)-1===t.indexOf(o)&&e.hasOwnProperty(o)&&(r[o]=e[o]);return r}(r,["ref"]):r;return{...o,components:{...o.components,contentReservedSpace:"span"},root:{...n,...o.root},contentReservedSpace:kr(s,{renderByDefault:!o.selected&&!o.iconOnly&&i,defaultProps:{children:e.children},elementType:"span"}),appearance:a,size:l}})(e,t);return(e=>{(e=>{const t=zw(),r=Nw(),o=_w(),{appearance:n,disabled:a,selected:i,size:l,vertical:s}=e,c=["fui-Tab",t.root];"subtle-circular"!==n&&"filled-circular"!==n&&c.push(r.base,"small"===l&&(s?r.smallVertical:r.smallHorizontal),"medium"===l&&(s?r.mediumVertical:r.mediumHorizontal),"large"===l&&(s?r.largeVertical:r.largeHorizontal),a&&r.disabled,i&&o.base,i&&!a&&o.selected,i&&"small"===l&&(s?o.smallVertical:o.smallHorizontal),i&&"medium"===l&&(s?o.mediumVertical:o.mediumHorizontal),i&&"large"===l&&(s?o.largeVertical:o.largeHorizontal),i&&a&&o.disabled),e.root.className=te(...c,e.root.className),(e=>{const{disabled:t,selected:r,vertical:o}=e,n=ww(),[a,i]=u.useState(),[l,s]=u.useState({offset:0,scale:1}),c=mw(e=>e.getRegisteredTabs),[d]=Co();if(r){const{previousSelectedValue:e,selectedValue:t,registeredTabs:r}=c();if(Bw(e)&&a!==e){const n=kw(r,e),a=kw(r,t);if(a&&n){const t=o?n.y-a.y:n.x-a.x,r=o?n.height/a.height:n.width/a.width;s({offset:t,scale:r}),i(e),d(()=>s({offset:0,scale:1}))}}}else Bw(a)&&i(void 0);if(t)return e;const f=0===l.offset&&1===l.scale;e.root.className=te(e.root.className,r&&n.base,r&&f&&n.animated,r&&(o?n.vertical:n.horizontal));const p={[yw]:`${l.offset}px`,[xw]:`${l.scale}`};e.root.style={...p,...e.root.style}})(e)})(e),((e,t)=>{const r=zw(),o=Sw(),n=jw(),{appearance:a,disabled:i,selected:l,size:s,vertical:c}=e,d="subtle-circular"===a,u="filled-circular"===a,f=d||u,p=[n.base,o.circular,"small"===s&&n.small,"medium"===s&&n.medium,"large"===s&&n.large,d&&n.subtle,l&&d&&n.subtleSelected,i&&d&&n.subtleDisabled,l&&i&&d&&n.subtleDisabledSelected,u&&n.filled,l&&u&&n.filledSelected,i&&u&&n.filledDisabled,l&&i&&u&&n.filledDisabledSelected],h=[o.base,!i&&"subtle"===a&&r.subtle,!i&&"transparent"===a&&r.transparent,!i&&l&&r.selected,i&&r.disabled];t.className=te(r.button,c?r.vertical:r.horizontal,"small"===s&&(c?r.smallVertical:r.smallHorizontal),"medium"===s&&(c?r.mediumVertical:r.mediumHorizontal),"large"===s&&(c?r.largeVertical:r.largeHorizontal),...f?p:h,i&&r.disabledCursor,t.className)})(e,e.root),(e=>{const t=Tw(),r=qw(),{selected:o,size:n}=e;e.icon&&(e.icon.className=te("fui-Tab__icon",t.base,t[n],o&&t.selected,e.icon.className)),e.contentReservedSpace&&(e.contentReservedSpace.className=te("fui-Tab__content--reserved-space",r.base,"large"===n?r.largeSelected:r.selected,e.icon?r.iconBefore:r.noIconBefore,r.placeholder,e.content.className),e.contentReservedSpaceClassName=e.contentReservedSpace.className),e.content.className=te("fui-Tab__content",r.base,"large"===n&&r.large,o&&("large"===n?r.largeSelected:r.selected),e.icon?r.iconBefore:r.noIconBefore,e.content.className)})(e)})(r),co("useTabStyles_unstable")(r),(e=>vn(e.root,{children:[e.icon&&gn(e.icon,{}),!e.iconOnly&&gn(e.content,{}),e.contentReservedSpace&&gn(e.contentReservedSpace,{})]}))(r)});Fw.displayName="Tab";const Dw=(e,t)=>{const{wrap:r,truncate:o,block:n,italic:a,underline:i,strikethrough:l,size:s,font:c,weight:d,align:u}=e;return{align:null!=u?u:"start",block:null!=n&&n,font:null!=c?c:"base",italic:null!=a&&a,size:null!=s?s:300,strikethrough:null!=l&&l,truncate:null!=o&&o,underline:null!=i&&i,weight:null!=d?d:"regular",wrap:null==r||r,components:{root:"span"},root:wr(Wr("span",{ref:t,...e}),{elementType:"span"})}},Ew=e=>gn(e.root,{}),Pw=vr({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;}"]}),Iw=e=>{const t=Pw();return e.root.className=te("fui-Text",t.root,!1===e.wrap&&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,100===e.size&&t.base100,200===e.size&&t.base200,400===e.size&&t.base400,500===e.size&&t.base500,600===e.size&&t.base600,700===e.size&&t.hero700,800===e.size&&t.hero800,900===e.size&&t.hero900,1e3===e.size&&t.hero1000,"monospace"===e.font&&t.monospace,"numeric"===e.font&&t.numeric,"medium"===e.weight&&t.weightMedium,"semibold"===e.weight&&t.weightSemibold,"bold"===e.weight&&t.weightBold,"center"===e.align&&t.alignCenter,"end"===e.align&&t.alignEnd,"justify"===e.align&&t.alignJustify,e.root.className),e};function Ow(e){const{useStyles:t,className:r,displayName:o}=e,n=u.forwardRef((e,o)=>{const n=t(),a=Dw(e,o);return Iw(a),a.root.className=te(r,a.root.className,n.root,e.className),Ew(a)});return n.displayName=o,n}u.forwardRef((e,t)=>{const r=Dw(e,t);return Iw(r),co("useTextStyles_unstable")(r),Ew(r)}).displayName="Text";const Aw=Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),className:"fui-Body1",displayName:"Body1"}),Rw=Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),className:"fui-Body1Strong",displayName:"Body1Strong"}),Mw=(Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"flh3ekv",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),className:"fui-Body1Stronger",displayName:"Body1Stronger"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),className:"fui-Body2",displayName:"Body2"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),className:"fui-Caption1",displayName:"Caption1"})),Hw=(Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"fl43uef",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),className:"fui-Caption1Strong",displayName:"Caption1Strong"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"flh3ekv",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),className:"fui-Caption1Stronger",displayName:"Caption1Stronger"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"figsok6",Bg96gwp:"fcpl73t"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fcpl73t{line-height:var(--lineHeightBase100);}"]}),className:"fui-Caption2",displayName:"Caption2"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}"]}),className:"fui-Caption2Strong",displayName:"Caption2Strong"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fpyltcb",Bhrd7zp:"fl43uef",Bg96gwp:"f1ivgwrt"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}"]}),className:"fui-Display",displayName:"Display"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"f15afnhw",Bhrd7zp:"fl43uef",Bg96gwp:"fr3w3wp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fr3w3wp{line-height:var(--lineHeightHero900);}"]}),className:"fui-LargeTitle",displayName:"LargeTitle"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),className:"fui-Subtitle1",displayName:"Subtitle1"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),className:"fui-Subtitle2",displayName:"Subtitle2"}),Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"flh3ekv",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),className:"fui-Subtitle2Stronger",displayName:"Subtitle2Stronger"})),Lw=(Ow({useStyles:vr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fccw675",Bhrd7zp:"fl43uef",Bg96gwp:"f1ebx5kk"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fccw675{font-size:var(--fontSizeHero800);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}"]}),className:"fui-Title1",displayName:"Title1"}),Ow({useStyles:vr({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:"fui-Title2",displayName:"Title2"}),Ow({useStyles:vr({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:"fui-Title3",displayName:"Title3"}),(e,t)=>{e=Am(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:r="none",onChange:o}=e,[n,a]=yo({state:e.value,defaultState:e.defaultValue,initialState:void 0}),i=Vr({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),l={resize:r,components:{root:"span",textarea:"textarea"},textarea:wr(e.textarea,{defaultProps:{ref:t,...i.primary},elementType:"textarea"}),root:wr(e.root,{defaultProps:i.root,elementType:"span"})};return l.textarea.value=n,l.textarea.onChange=So(e=>{const t=e.target.value;null==o||o(e,{value:t}),a(t)}),l}),Vw=vr({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),Ww=vr({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Zw=vr({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),Uw=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=ao();var o;const{size:n="medium",appearance:a=(null!==(o=r.inputDefaultAppearance)&&void 0!==o?o:"outline"),...i}=e;return{...Lw(i,t),size:n,appearance:a}})(e,t);return(e=>{const{size:t,appearance:r,resize:o}=e,n=e.textarea.disabled,a="true"==`${e.textarea["aria-invalid"]}`,i=r.startsWith("filled"),l=Vw();e.root.className=te("fui-Textarea",l.base,n&&l.disabled,!n&&i&&l.filled,!n&&l[r],!n&&l.interactive,!n&&"outline"===r&&l.outlineInteractive,!n&&a&&l.invalid,e.root.className);const s=Ww(),c=Zw();e.textarea.className=te("fui-Textarea__textarea",s.base,s[t],c[o],n&&s.disabled,e.textarea.className)})(r),co("useTextareaStyles_unstable")(r),(e=>gn(e.root,{children:gn(e.textarea,{})}))(r)});Uw.displayName="Textarea";const Gw=mr("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),Xw=mr("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]),$w={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Kw=hc(void 0),Yw=Kw.Provider,Jw=e=>gc(Kw,(t=$w)=>e(t)),Qw=u.createContext(void 0),ek=Qw.Provider,tk=u.createContext(void 0),rk=tk.Provider,ok=bf(Lf,{outScale:.85,easing:ef.curveDecelerateMid,duration:ef.durationGentle,exitEasing:ef.curveAccelerateMin,exitDuration:ef.durationGentle}),nk=u.memo(e=>{const t=(e=>{const{children:t,modalType:r="modal",onOpenChange:o,inertTrapFocus:n=!1,unmountOnClose:a=!0}=e,i=qo("dialog-title-"),[l,s]=function(e){const t=u.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}(t),[c,d]=yo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),f=So(e=>{null==o||o(e.event,e),e.event.isDefaultPrevented()||d(e.open)}),p=function(e,t){const{findFirstFocusable:r}=zi(),{targetDocument:o}=ro(),n=u.useRef(null);return u.useEffect(()=>{if(!e)return;const t=n.current&&r(n.current);var o;t?t.focus():null===(o=n.current)||void 0===o||o.focus()},[r,e,t,o]),n}(c,r),{modalAttributes:h,triggerAttributes:g}=Ri({trapFocus:"non-modal"!==r,legacyTrapFocus:!n}),v=vc(Kw);return{components:{surfaceMotion:ok},inertTrapFocus:n,open:c,modalType:r,content:s,trigger:l,requestOpenChange:f,dialogTitleId:i,isNestedDialog:v,unmountOnClose:a,dialogRef:p,modalAttributes:h,triggerAttributes:g,surfaceMotion:Nf(e.surfaceMotion,{elementType:ok,defaultProps:{visible:c,appear:a,unmountOnExit:a}})}})(e),r=function(e){const{modalType:t,open:r,dialogRef:o,dialogTitleId:n,isNestedDialog:a,inertTrapFocus:i,requestOpenChange:l,modalAttributes:s,triggerAttributes:c,unmountOnClose:d}=e;return{dialog:{open:r,modalType:t,dialogRef:o,dialogTitleId:n,isNestedDialog:a,inertTrapFocus:i,modalAttributes:s,triggerAttributes:c,unmountOnClose:d,requestOpenChange:l},dialogSurface:!1}}(t);return((e,t)=>gn(Yw,{value:t.dialog,children:vn(ek,{value:t.dialogSurface,children:[e.trigger,e.content&&gn(e.surfaceMotion,{children:gn(jf,{children:e.content})})]})}))(t,r)});nk.displayName="Dialog";const ak=e=>{return t=(e=>{const t=null!==(r=u.useContext(Qw))&&void 0!==r&&r;var r;const{children:o,disableButtonEnhancement:n=!1,action:a=(t?"close":"open")}=e,i=tn(o),l=Jw(e=>e.requestOpenChange),{triggerAttributes:s}=Ri(),c=So(e=>{var t,r;null==i||null===(t=(r=i.props).onClick)||void 0===t||t.call(r,e),e.isDefaultPrevented()||l({event:e,type:"triggerClick",open:"open"===a})}),d={...null==i?void 0:i.props,ref:Wo(i),onClick:c,...s},f=Hc("button"===(null==i?void 0:i.type)||"a"===(null==i?void 0:i.type)?i.type:"div",{...d,type:"button"});return{children:Qo(o,n?d:f)}})(e),t.children;var t};ak.displayName="DialogTrigger",ak.isFluentTriggerComponent=!0;const ik=mr("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),lk=vr({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),sk=u.forwardRef((e,t)=>{const r=((e,t)=>{const{position:r="end",fluid:o=!1}=e;return{components:{root:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),position:r,fluid:o}})(e,t);return(e=>{const t=ik(),r=lk();e.root.className=te("fui-DialogActions",t,"start"===e.position&&r.gridPositionStart,"end"===e.position&&r.gridPositionEnd,e.fluid&&"start"===e.position&&r.fluidStart,e.fluid&&"end"===e.position&&r.fluidEnd,e.root.className)})(r),co("useDialogActionsStyles_unstable")(r),(e=>gn(e.root,{}))(r)});sk.displayName="DialogActions";const ck=mr("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]});u.forwardRef((e,t)=>{const r=((e,t)=>{var r;return{components:{root:"div"},root:wr(Wr(null!==(r=e.as)&&void 0!==r?r:"div",{ref:t,...e}),{elementType:"div"})}})(e,t);return(e=>{const t=ck();e.root.className=te("fui-DialogBody",t,e.root.className)})(r),co("useDialogBodyStyles_unstable")(r),(e=>gn(e.root,{}))(r)}).displayName="DialogBody";const dk=mr("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),uk=vr({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),fk=mr("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),pk=mr("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[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);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[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){.r2avt6e[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){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),hk=e=>{const t=dk(),r=fk(),o=uk();return e.root.className=te("fui-DialogTitle",t,!e.action&&o.rootWithoutAction,e.root.className),e.action&&(e.action.className=te("fui-DialogTitle__action",r,e.action.className)),e};u.forwardRef((e,t)=>{const r=((e,t)=>{const{action:r}=e,o=Jw(e=>e.modalType),n=pk();return{components:{root:"h2",action:"div"},root:wr(Wr("h2",{ref:t,id:Jw(e=>e.dialogTitleId),...e}),{elementType:"h2"}),action:kr(r,{renderByDefault:"non-modal"===o,defaultProps:{children:u.createElement(ak,{disableButtonEnhancement:!0,action:"close"},u.createElement("button",{type:"button",className:n,"aria-label":"close"},u.createElement($u,null)))},elementType:"div"})}})(e,t);return hk(r),co("useDialogTitleStyles_unstable")(r),(e=>vn(u.Fragment,{children:[gn(e.root,{children:e.root.children}),e.action&&gn(e.action,{})]}))(r)}).displayName="DialogTitle";const gk=Mf,vk=(e,t)=>{const r=zf(),o=Jw(e=>e.modalType),n=Jw(e=>e.isNestedDialog),a=u.useContext(tk),i=null!=a?a:n,l=Jw(e=>e.modalAttributes),s=Jw(e=>e.dialogRef),c=Jw(e=>e.requestOpenChange),d=Jw(e=>e.dialogTitleId),f=Jw(e=>e.open),p=Jw(e=>e.unmountOnClose),h=So(t=>{var r,n;jr(e.backdrop)&&(null===(r=(n=e.backdrop).onClick)||void 0===r||r.call(n,t)),"modal"!==o||t.isDefaultPrevented()||c({event:t,open:!1,type:"backdropClick"})}),g=So(t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.key!==Mc||t.isDefaultPrevented()||(c({event:t,open:!1,type:"escapeKeyDown"}),t.preventDefault())}),v=kr(e.backdrop,{renderByDefault:"non-modal"!==o,defaultProps:{"aria-hidden":"true"},elementType:"div"}),m=null==v?void 0:v.appearance;v&&(v.onClick=h,delete v.appearance);const{disableBodyScroll:b,enableBodyScroll:C}=function(){const e=Gw(),t=Xw(),{targetDocument:r}=ro();return{disableBodyScroll:u.useCallback(()=>{var o,n;r&&Math.floor(r.body.getBoundingClientRect().height)>(null!==(n=null===(o=r.defaultView)||void 0===o?void 0:o.innerHeight)&&void 0!==n?n:0)&&(r.documentElement.classList.add(e),r.body.classList.add(t))},[r,e,t]),enableBodyScroll:u.useCallback(()=>{r&&(r.documentElement.classList.remove(e),r.body.classList.remove(t))},[r,e,t])}}();return jo(()=>{if(f){if(!n&&"non-modal"!==o)return b(),()=>C()}else C()},[f,o,n,b,C]),{components:{backdrop:"div",root:"div",backdropMotion:gk},open:f,backdrop:v,isNestedDialog:n,treatBackdropAsNested:i,backdropAppearance:m,unmountOnClose:p,mountNode:e.mountNode,root:wr(Wr("div",{tabIndex:-1,role:"alert"===o?"alertdialog":"dialog","aria-modal":"non-modal"!==o,"aria-labelledby":e["aria-label"]?void 0:d,"aria-hidden":!p&&!f||void 0,...e,...l,onKeyDown:g,ref:Fo(t,r,s)}),{elementType:"div"}),backdropMotion:Nf(e.backdropMotion,{elementType:gk,defaultProps:{appear:p,visible:f}}),transitionStatus:void 0}},mk=(e,t)=>vn(Dv,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&gn(e.backdropMotion,{children:gn(e.backdrop,{})}),gn(Sf,{children:gn(ek,{value:t.dialogSurface,children:gn(e.root,{})})})]}),bk=mr("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),Ck=mr("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),yk=vr({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),xk=u.forwardRef((e,t)=>{const r=vk(e,t);return(e=>{const{root:t,backdrop:r,open:o,unmountOnClose:n,treatBackdropAsNested:a,backdropAppearance:i}=e,l=bk(),s=Ck(),c=yk(),d=i?"transparent"===i:a,u=!n&&!o;t.className=te("fui-DialogSurface",l,u&&c.dialogHidden,t.className),r&&(r.className=te("fui-DialogSurface__backdrop",s,u&&c.dialogHidden,d&&c.nestedDialogBackdrop,r.className))})(r),co("useDialogSurfaceStyles_unstable")(r),mk(r,{dialogSurface:!0})});xk.displayName="DialogSurface";const wk=mr("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),kk=u.forwardRef((e,t)=>{const r=((e,t)=>{var r;return{components:{root:"div"},root:wr(Wr(null!==(r=e.as)&&void 0!==r?r:"div",{ref:t,...e}),{elementType:"div"})}})(e,t);return(e=>{const t=wk();e.root.className=te("fui-DialogContent",t,e.root.className)})(r),co("useDialogContentStyles_unstable")(r),(e=>gn(e.root,{}))(r)});kk.displayName="DialogContent";const Bk=vr({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bomf52o:"f1skxd4g"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.f1skxd4g{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),zk=vr({base:{Bomf52o:"f1tnpuu0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],Bv12yb3:["fwd2bol","f14gig94"],vin17d:"f1a27w2r",Ezkn3b:"f452v7t",w3vfg9:"f1cpbl36",jpy9cc:"f3z2g5w",Bqo2lbl:"fz5izi4",B6plc1d:"fv40pdu",I82g5a:"f1uj6jbf"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1tnpuu0{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f3z2g5w{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fz5izi4{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fv40pdu{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1uj6jbf{animation-name:ftc26vs;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",".fpo0yib{background-image:linear-gradient(\n to right,\n var(--colorNeutralBackground6) 0%,\n var(--colorTransparentBackground) 50%,\n var(--colorNeutralBackground6) 100%\n );}",".f1u5hf6c{background-image:linear-gradient(\n to left,\n var(--colorNeutralBackground6) 0%,\n var(--colorTransparentBackground) 50%,\n var(--colorNeutralBackground6) 100%\n );}",".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),jk=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=Om(),o=null==r?void 0:r.validationState,{color:n=("error"===o||"warning"===o||"success"===o?o:"brand"),shape:a="rounded",thickness:i="medium"}=e;var l;const s=(e=>e<=0?1:e)(null!==(l=e.max)&&void 0!==l?l:1),c=((e,t)=>void 0===e?e:e<0?0:e>t?t:e)(e.value,s),d=wr(Wr("div",{ref:t,role:"progressbar","aria-valuemin":void 0!==c?0:void 0,"aria-valuemax":void 0!==c?s:void 0,"aria-valuenow":c,"aria-labelledby":null==r?void 0:r.labelId,...e}),{elementType:"div"});return r&&(r.validationMessageId||r.hintId)&&(d["aria-describedby"]=[null==r?void 0:r.validationMessageId,null==r?void 0:r.hintId,d["aria-describedby"]].filter(Boolean).join(" ")),{color:n,max:s,shape:a,thickness:i,value:c,components:{root:"div",bar:"div"},root:d,bar:wr(e.bar,{elementType:"div"})}})(e,t);return(e=>{const{color:t,max:r,shape:o,thickness:n,value:a}=e,i=Bk(),l=zk();e.root.className=te("fui-ProgressBar",i.root,i[o],i[n],e.root.className),e.bar&&(e.bar.className=te("fui-ProgressBar__bar",l.base,l.brand,void 0===a&&l.indeterminate,void 0!==a&&a>.01&&l.nonZeroDeterminate,t&&void 0!==a&&l[t],e.bar.className)),e.bar&&void 0!==a&&(e.bar.style={width:Math.min(100,Math.max(0,a/r*100))+"%",...e.bar.style})})(r),co("useProgressBarStyles_unstable")(r),(e=>gn(e.root,{children:e.bar&&gn(e.bar,{})}))(r)});jk.displayName="ProgressBar";const Sk=hc(void 0),Nk={itemVisibility:{},groupVisibility:{},hasOverflow:!1,registerItem:()=>()=>null,updateOverflow:()=>null,registerOverflowMenu:()=>()=>null,registerDivider:()=>()=>null};u.forwardRef((e,t)=>{const{id:r,groupId:o,priority:n,pinned:a,children:i}=e,l=function(e,t,r,o){const n=u.useRef(null),a=(i=e=>e.registerItem,gc(Sk,(e=Nk)=>i(e)));var i;return jo(()=>{if(n.current)return a({element:n.current,id:e,priority:null!=t?t:0,groupId:r,pinned:o})},[e,t,a,r,o]),n}(r,n,o,a);return Qo(i,{ref:Fo(l,t,Wo(tn(i)))})}).isFluentTriggerComponent=!0;const _k=hc(void 0),Tk={size:"medium",handleToggleButton:()=>null,handleRadio:()=>null,vertical:!1,checkedValues:{}},qk=e=>gc(_k,(t=Tk)=>e(t)),Fk=e=>{const[t,r]=yo({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=e,n=So((e,{name:t,checkedItems:n})=>{o&&o(e,{name:t,checkedItems:n}),r(e=>e?{...e,[t]:n}:{[t]:n})});return[t,n]},Dk=vr({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fvz760z"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ms6bdn"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".f1yqiaad{padding:4px 8px;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}",[".fvz760z{padding:0px 4px;}",{p:-1}],[".f1yqiaad{padding:4px 8px;}",{p:-1}],[".f1ms6bdn{padding:4px 20px;}",{p:-1}]]}),Ek=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r="medium"}=e,o=((e,t)=>{const{vertical:r=!1}=e,o={vertical:r,components:{root:"div"},root:wr(Wr("div",{role:"toolbar",ref:t,...r&&{"aria-orientation":"vertical"},...e}),{elementType:"div"})},[n,a]=Fk({checkedValues:e.checkedValues,defaultCheckedValues:e.defaultCheckedValues,onCheckedValueChange:e.onCheckedValueChange});return{...o,handleToggleButton:So((e,t,r,o)=>{if(t&&r){const i=[...(null==n?void 0:n[t])||[]];o?i.splice(i.indexOf(r),1):i.push(r),null==a||a(e,{name:t,checkedItems:i})}}),handleRadio:So((e,t,r,o)=>{t&&r&&(null==a||a(e,{name:t,checkedItems:[r]}))}),checkedValues:null!=n?n:{}}})(e,t),n=xi({circular:!0,axis:"both"});return{size:r,...o,root:{...o.root,...n}}})(e,t),o=function(e){const{size:t,handleToggleButton:r,vertical:o,checkedValues:n,handleRadio:a}=e;return{toolbar:{size:t,vertical:o,handleToggleButton:r,handleRadio:a,checkedValues:n}}}(r);return(e=>{const t=Dk(),{vertical:r,size:o}=e;e.root.className=te("fui-Toolbar",t.root,r&&t.vertical,"small"===o&&!r&&t.small,"medium"===o&&!r&&t.medium,"large"===o&&!r&&t.large,e.root.className)})(r),co("useToolbarStyles_unstable")(r),((e,t)=>gn(_k.Provider,{value:t.toolbar,children:gn(e.root,{children:e.root.children})}))(r,o)});Ek.displayName="Toolbar";const Pk=vr({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),Ik=(e,t)=>{const{vertical:r=!1,...o}=e;return{vertical:r,...om({appearance:"subtle",...o,size:"medium"},t)}};u.forwardRef((e,t)=>{const r=((e,t)=>({appearance:"subtle",size:"medium",shape:"rounded",...Ik(e,t)}))(e,t);return(e=>{const t=Pk();e.root.className=te(e.vertical&&t.vertical,e.root.className),e.icon&&(e.icon.className=te(e.vertical&&t.verticalIcon,e.icon.className)),fm(e)})(r),co("useToolbarButtonStyles_unstable")(r),Qv(r)}).displayName="ToolbarButton";const Ok=vr({root:{mc9l5x:"ftuwxu6",B2u0y6b:"f1lwjmbk",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1oic3e7"},vertical:{B2u0y6b:"fe668z"}},{d:[".ftuwxu6{display:inline-flex;}",".f1lwjmbk{max-width:1px;}",[".f1oic3e7{padding:0 12px;}",{p:-1}],".fe668z{max-width:initial;}"]}),Ak=(e,t)=>{const r=qk(e=>e.vertical);return Zb({vertical:!r,...e},t)};u.forwardRef((e,t)=>{const r=((e,t)=>({...Ak(e,t),appearance:"default"}))(e,t);return(e=>{Kb(e);const{vertical:t}=e,r=Ok();e.root.className=te(r.root,!t&&r.vertical,e.root.className)})(r),co("useToolbarDividerStyles_unstable")(r),Wb(r)}).displayName="ToolbarDivider";const Rk=(e,t)=>{const r=qk(e=>e.handleToggleButton),o=qk(t=>{var r;return!!(null===(r=t.checkedValues[e.name])||void 0===r?void 0:r.includes(e.value))}),{onClick:n}=e,a={...Sm({checked:o,...e},t),name:e.name,value:e.value};return a.root.onClick=e=>{if(a.disabled||a.disabledFocusable)return e.preventDefault(),void e.stopPropagation();null==r||r(e,a.name,a.value,a.checked),null==n||n(e)},a},Mk=vr({selected:{De3pzq:"fq5gl1p",sj55zd:"f1eryozh"},iconSelected:{sj55zd:"f1qj7y59"}},{d:[".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"]});u.forwardRef((e,t)=>{const r=((e,t)=>{const{appearance:r="subtle",...o}=e;return{appearance:r,...Rk(o,t)}})(e,t);return(e=>{const t=Mk();e.root.className=te(e.checked&&t.selected,e.root.className),e.icon&&(e.icon.className=te(e.checked&&t.iconSelected,e.icon.className)),Dm(e)})(r),co("useToolbarToggleButtonStyles_unstable")(r),Qv(r)}).displayName="ToolbarToggleButton";const Hk=(e,t)=>{const r=qk(e=>e.handleRadio),o=qk(t=>{var r;return!!(null===(r=t.checkedValues[e.name])||void 0===r?void 0:r.includes(e.value))}),{onClick:n}=e,a={...Sm({checked:o,role:"radio","aria-checked":o,...e},t),name:e.name,value:e.value},i=So(e=>{null==r||r(e,a.name,a.value,a.checked),null==n||n(e)});return a.root["aria-pressed"]=void 0,a.root.onClick=i,a},Lk=vr({selected:{De3pzq:"fq5gl1p",sj55zd:"f1eryozh"},iconSelected:{sj55zd:"f1qj7y59"}},{d:[".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"]}),Vk=u.forwardRef((e,t)=>{const r=((e,t)=>{const{appearance:r="secondary"}=e,o=qk(e=>e.size);return{...Hk(e,t),appearance:r,size:e.size||o}})(e,t);return(e=>{const t=Lk();e.root.className=te(e.checked&&t.selected,e.root.className),e.icon&&(e.icon.className=te(e.checked&&t.iconSelected,e.icon.className)),Dm(e)})(r),co("useToolbarRadioButtonStyles_unstable")(r),Qv(r)});Vk.displayName="ToolbarRadioButton";const Wk=(e,t)=>Zk(e,t),Zk=(e,t)=>{const r=qk(e=>e.vertical);return{components:{root:"div"},root:wr(Wr("div",{ref:t,role:"presentation",...e}),{elementType:"div"}),vertical:r}},Uk=vr({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}"]}),Gk=e=>{const{vertical:t}=e,r=Uk();return e.root.className=te("fui-ToolbarGroup",r.root,t&&r.vertical,e.root.className),e},Xk=e=>gn(e.root,{children:e.root.children});u.forwardRef((e,t)=>{const r=Wk(e,t);return Gk(r),co("useToolbarGroupStyles_unstable")(r),Xk(r)}).displayName="ToolbarGroup",u.forwardRef((e,t)=>{const r=Wk({role:"radiogroup",...e},t);return Gk(r),co("useToolbarGroupStyles_unstable")(r),Xk(r)}).displayName="ToolbarRadioGroup";const $k=()=>{},Kk={allRowsSelected:!1,clearRows:$k,deselectRow:$k,isRowSelected:()=>!1,selectRow:$k,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:$k,toggleRow:$k,selectionMode:"multiselect"};function Yk(e){return t=>function(e,t){const{items:r,getRowId:o}=e,{selectionMode:n,defaultSelectedItems:a,selectedItems:i,onSelectionChange:l}=t,[s,c]=sn({selectionMode:n,defaultSelectedItems:a,selectedItems:i,onSelectionChange:l}),d=u.useMemo(()=>{const e=new Set;for(let n=0;n<r.length;n++){var t;e.add(null!==(t=null==o?void 0:o(r[n]))&&void 0!==t?t:n)}return e},[r,o]),f=u.useMemo(()=>{if("single"===n){const e=Array.from(s)[0];return d.has(e)}if(s.size<d.size)return!1;if(0===d.size)return!1;let e=!0;return d.forEach(t=>{s.has(t)||(e=!1)}),e},[d,s,n]),p=u.useMemo(()=>{if(s.size<=0)return!1;let e=!1;return d.forEach(t=>{s.has(t)&&(e=!0)}),e},[d,s]),h=So(e=>{c.toggleAllItems(e,r.map((e,t)=>{var r;return null!==(r=null==o?void 0:o(e))&&void 0!==r?r:t}))}),g=So((e,t)=>c.toggleItem(e,t)),v=So((e,t)=>c.deselectItem(e,t)),m=So((e,t)=>c.selectItem(e,t)),b=So(e=>c.clearItems(e));return{...e,selection:{selectionMode:n,someRowsSelected:p,allRowsSelected:f,selectedRows:s,toggleRow:g,toggleAllRows:h,clearRows:b,deselectRow:v,selectRow:m,isRowSelected:e=>c.isSelected(e)}}}(t,e)}const Jk=()=>{},Qk={getSortDirection:()=>"ascending",setColumnSort:Jk,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:Jk};const eB=vr({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;}"]}),tB=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=So(t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),t.stopPropagation()});return{components:{root:"div"},root:wr(Wr("div",{ref:t,...e,onClick:r}),{elementType:"div"})}})(e,t);return(e=>{const t=eB();e.root.className=te("fui-TableResizeHandle",t.root,e.root.className)})(r),co("useTableResizeHandleStyles_unstable")(r),(e=>gn(e.root,{}))(r)});tB.displayName="TableResizeHandle";const rB=150,oB=100;function nB(e,t=[],r={}){let o=!1;const n=new Map(t.map(e=>[e.columnId,e])),a=e.map(e=>{const t=n.get(e.columnId);if(t){var a;const{idealWidth:n=t.idealWidth,minWidth:i=t.minWidth,padding:l=t.padding}=null!==(a=r[e.columnId])&&void 0!==a?a:{};return n!==t.idealWidth||i!==t.minWidth||l!==t.padding?(o=!0,{...t,idealWidth:n,width:n,minWidth:i,padding:l}):t}var i;const{defaultWidth:l,idealWidth:s=rB,minWidth:c=oB,padding:d}=null!==(i=r[e.columnId])&&void 0!==i?i:{};return o=!0,{columnId:e.columnId,width:Math.max(null!=l?l:s,c),minWidth:c,idealWidth:Math.max(null!=l?l:s,c),padding:null!=d?d:16}});if(a.length!==t.length||o){const e=a.find(e=>e.width>e.idealWidth);e&&(e.width=e.idealWidth),o=!0}return o?a:t}function aB(e,t){return e.find(e=>e.columnId===t)}function iB(e,t){return e[t]}function lB(e,t,r,o){const n=aB(e,t);if(!n||(null==n?void 0:n[r])===o)return e;const a={...n,[r]:o};return e.reduce((e,t)=>t.columnId===a.columnId?[...e,a]:[...e,t],[])}function sB(e,t){let r=e;const o=function(e){return e.reduce((e,t)=>e+t.width+t.padding,0)}(r);if(o<t){let e=t-o,n=0;for(;n<r.length&&e>0;){const t=iB(r,n);if(!t)break;const o=Math.min(t.idealWidth-t.width,e);if(r=lB(r,t.columnId,"width",t.width+o),e-=o,n===r.length-1&&0!==e){const t=iB(r,n);t&&(r=lB(r,t.columnId,"width",t.width+e))}n++}}else if(o>=t){let e=o-t,n=r.length-1;for(;n>=0&&e>0;){const t=iB(r,n);if(t){if(t.width>t.minWidth){const o=Math.min(t.width-t.minWidth,e);e-=o,r=lB(r,t.columnId,"width",t.width-o)}n--}else n--}}return r}function cB(e,t,r={}){const{onColumnResize:o,columnSizingOptions:n,autoFitColumns:a=!0}=r,i=u.useMemo(()=>(e=>(t,r)=>{switch(r.type){case"CONTAINER_WIDTH_UPDATED":return{...t,containerWidth:r.containerWidth,columnWidthState:e?sB(t.columnWidthState,r.containerWidth):t.columnWidthState};case"COLUMNS_UPDATED":const o=nB(r.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:r.columns,columnWidthState:e?sB(o,t.containerWidth):o};case"COLUMN_SIZING_OPTIONS_UPDATED":const n=nB(t.columns,t.columnWidthState,r.columnSizingOptions);return{...t,columnSizingOptions:r.columnSizingOptions,columnWidthState:e?sB(n,t.containerWidth):n};case"SET_COLUMN_WIDTH":const{columnId:a,width:i}=r,{containerWidth:l}=t,s=aB(t.columnWidthState,a);let c=[...t.columnWidthState];return s?(c=lB(c,a,"width",i),c=lB(c,a,"idealWidth",i),e&&(c=sB(c,l)),{...t,columnWidthState:c}):t}})(a),[a]),[l,s]=u.useReducer(i,{columns:e,containerWidth:0,columnWidthState:nB(e,void 0,n),columnSizingOptions:n});jo(()=>{s({type:"CONTAINER_WIDTH_UPDATED",containerWidth:t})},[t]),jo(()=>{s({type:"COLUMNS_UPDATED",columns:e})},[e]),jo(()=>{s({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:n})},[n]);const c=So((e,t)=>{let{width:r}=t;const{columnId:n}=t,a=aB(l.columnWidthState,n);a&&(r=Math.max(a.minWidth||0,r),o&&o(e,{columnId:n,width:r}),s({type:"SET_COLUMN_WIDTH",columnId:n,width:r}))});return{getColumnById:u.useCallback(e=>aB(l.columnWidthState,e),[l.columnWidthState]),getColumns:u.useCallback(()=>l.columnWidthState,[l.columnWidthState]),getColumnWidth:u.useCallback(e=>function(e,t){const r=aB(e,t);var o;return null!==(o=null==r?void 0:r.width)&&void 0!==o?o:0}(l.columnWidthState,e),[l.columnWidthState]),setColumnWidth:c}}const dB={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function uB(e,t){const r=e.width;return{width:r,minWidth:r,maxWidth:r,...t?{pointerEvents:"none"}:{}}}const fB=e=>e,pB={selection:Kk,sort:Qk,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:dB,tableRef:u.createRef()},hB=u.createContext(void 0),gB={size:"medium",noNativeElements:!1,sortable:!1},vB=hB.Provider,mB=()=>{var e;return null!==(e=u.useContext(hB))&&void 0!==e?e:gB},bB=(e,t)=>{const{noNativeElements:r,size:o}=mB();var n;const a=(null!==(n=e.as)&&void 0!==n?n:r)?"div":"td";return{components:{root:a},root:wr(Wr(a,{ref:t,role:"div"===a?"cell":void 0,...e}),{elementType:a}),noNativeElements:r,size:o}},CB=e=>gn(e.root,{}),yB=vr({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;}"]}),xB=vr({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;}"]}),wB=vr({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}]]}),kB=e=>{const t=wB(),r={table:yB(),flex:xB()};return e.root.className=te("fui-TableCell",t.root,e.noNativeElements?r.flex.root:r.table.root,e.noNativeElements?r.flex[e.size]:r.table[e.size],e.root.className),e};u.forwardRef((e,t)=>{const r=bB(e,t);return kB(r),co("useTableCellStyles_unstable")(r),CB(r)}).displayName="TableCell";const BB=u.createContext(void 0),zB=BB.Provider,jB=()=>""===u.useContext(BB),SB=(e,t)=>{const{noNativeElements:r,size:o}=mB();var n;const a=(null!==(n=e.as)&&void 0!==n?n:r)?"div":"tr",i=Ti(),l=Di(),s=jB();var c;return{components:{root:a},root:wr(Wr(a,{ref:Fo(t,i,l),role:"div"===a?"row":void 0,...e}),{elementType:a}),size:o,noNativeElements:r,appearance:null!==(c=e.appearance)&&void 0!==c?c:"none",isHeaderRow:s}},NB=vr({root:{De3pzq:"f1u2r49w",qhf8xq:"f1euv43f",j35jbq:["f10k790i","f1xynx9j"],Bhzewxz:"f1i1t8d1",Bz10aip:"f188r07x",abs64n:"fk73vx1",Frg6f3:["fcgxt0o","f1ujusj6"]},visible:{abs64n:"f5p0z4x"}},{d:[".f1u2r49w{background-color:inherit;}",".f1euv43f{position:absolute;}",".f10k790i{right:0px;}",".f1xynx9j{left:0px;}",".f1i1t8d1{top:50%;}",".f188r07x{transform:translateY(-50%);}",".fk73vx1{opacity:0;}",".fcgxt0o{margin-left:auto;}",".f1ujusj6{margin-right:auto;}",".f5p0z4x{opacity:1;}"]}),_B=vr({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),TB=vr({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;}"]}),qB=vr({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;}"]}),FB=e=>{const t=qB(),r={table:_B(),flex:TB()};return e.root.className=te("fui-TableSelectionCell",t.root,e.noNativeElements?r.flex.root:r.table.root,e.subtle&&!1===e.checked&&t.subtle,e.hidden&&t.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=te("fui-TableSelectionCell__checkboxIndicator",e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=te("fui-TableSelectionCell__radioIndicator",t.radioIndicator,e.radioIndicator.className)),e},DB=vr({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),EB=vr({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),PB=vr({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",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;}"],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)"}]]}),IB=e=>{const t=PB(),r={table:DB(),flex:EB()};return e.root.className=te("fui-TableRow",t.root,!e.isHeaderRow&&t.rootInteractive,t[e.size],e.noNativeElements?r.flex.root:r.table.root,t[e.appearance],e.root.className),e};u.forwardRef((e,t)=>{const r=SB(e,t);return IB(r),co("useTableRowStyles_unstable")(r),(e=>gn(e.root,{}))(r)}).displayName="TableRow";const OB=(e,t)=>{const{noNativeElements:r}=mB();var o;const n=(null!==(o=e.as)&&void 0!==o?o:r)?"div":"tbody";return{components:{root:n},root:wr(Wr(n,{ref:t,role:"div"===n?"rowgroup":void 0,...e}),{elementType:n}),noNativeElements:r}},AB=vr({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),RB=vr({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),MB=e=>{const t={table:AB(),flex:RB()};return e.root.className=te("fui-TableBody",e.noNativeElements?t.flex.root:t.table.root,e.root.className),e};u.forwardRef((e,t)=>{const r=OB(e,t);return MB(r),co("useTableBodyStyles_unstable")(r),(e=>gn(e.root,{}))(r)}).displayName="TableBody";const HB=(e,t)=>{var r;const o=(null!==(r=e.as)&&void 0!==r?r:e.noNativeElements)?"div":"table";var n,a,i;return{components:{root:o},root:wr(Wr(o,{ref:t,role:"div"===o?"table":void 0,...e}),{elementType:o}),size:null!==(n=e.size)&&void 0!==n?n:"medium",noNativeElements:null!==(a=e.noNativeElements)&&void 0!==a&&a,sortable:null!==(i=e.sortable)&&void 0!==i&&i}},LB=(e,t)=>gn(vB,{value:t.table,children:gn(e.root,{})}),VB=vr({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),WB=vr({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),ZB=vr({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),UB=e=>{const t=ZB(),r={table:VB(),flex:WB()};return e.root.className=te("fui-Table",t.root,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e};function GB(e){const{size:t,noNativeElements:r,sortable:o}=e;return{table:u.useMemo(()=>({noNativeElements:r,size:t,sortable:o}),[r,t,o])}}u.forwardRef((e,t)=>{const r=HB(e,t);return UB(r),co("useTableStyles_unstable")(r),LB(r,GB(r))}).displayName="Table";const XB=(e,t)=>{const{noNativeElements:r}=mB();var o;const n=(null!==(o=e.as)&&void 0!==o?o:r)?"div":"thead";return{components:{root:n},root:wr(Wr(n,{ref:t,role:"div"===n?"rowgroup":void 0,...e}),{elementType:n}),noNativeElements:r}},$B=e=>gn(zB,{value:"",children:gn(e.root,{})}),KB=vr({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),YB=vr({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),JB=e=>{const t={table:YB(),flex:KB()};return e.root.className=te("fui-TableHeader",e.noNativeElements?t.flex.root:t.table.root,e.root.className),e};u.forwardRef((e,t)=>{const r=XB(e,t);return JB(r),co("useTableHeaderStyles_unstable")(r),$B(r)}).displayName="TableHeader";const QB={ascending:u.createElement(kd,{fontSize:12}),descending:u.createElement(wd,{fontSize:12})},ez=(e,t)=>{const{noNativeElements:r,sortable:o}=mB(),{sortable:n=o}=e;var a;const i=(null!==(a=e.as)&&void 0!==a?a:r)?"div":"th",l=wr(e.button,{elementType:"div",defaultProps:{as:"div"}}),s=Hc(l.as,l);var c;return{components:{root:i,button:"div",sortIcon:"span",aside:"span"},root:wr(Wr(i,{ref:Fo(t,Di()),role:"div"===i?"columnheader":void 0,"aria-sort":n?null!==(c=e.sortDirection)&&void 0!==c?c:"none":void 0,...e}),{elementType:i}),aside:kr(e.aside,{elementType:"span"}),sortIcon:kr(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?QB[e.sortDirection]:void 0},elementType:"span"}),button:n?s:l,sortable:n,noNativeElements:r}},tz=e=>vn(e.root,{children:[vn(e.button,{children:[e.root.children,e.sortIcon&&gn(e.sortIcon,{})]}),e.aside&&gn(e.aside,{})]}),rz=vr({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),oz=vr({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;}"]}),nz=vr({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);}"]}),az=e=>{const t=nz(),r={table:rz(),flex:oz()};return e.root.className=te("fui-TableHeaderCell",t.root,e.sortable&&t.rootInteractive,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e.button.className=te("fui-TableHeaderCell__button",t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=te("fui-TableHeaderCell__sortIcon",t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=te("fui-TableHeaderCell__aside",t.resizeHandle,e.aside.className)),e};u.forwardRef((e,t)=>{const r=ez(e,t);return az(r),co("useTableHeaderCellStyles_unstable")(r),tz(r)}).displayName="TableHeaderCell";const iz=u.createContext(void 0),lz=()=>{var e;return null!==(e=u.useContext(iz))&&void 0!==e?e:""},sz=iz.Provider,cz=u.createContext(void 0),dz=()=>{var e;return null!==(e=u.useContext(cz))&&void 0!==e?e:""},uz=cz.Provider,fz=(e,t)=>{const r=bB(e,Fo(t,Di())),{noNativeElements:o}=mB(),{type:n="checkbox",checked:a=!1,subtle:i=!1,hidden:l=!1,invisible:s=!1}=e;return{...r,components:{...r.components,checkboxIndicator:sb,radioIndicator:ex},checkboxIndicator:kr(e.checkboxIndicator,{renderByDefault:"checkbox"===n,defaultProps:{checked:e.checked},elementType:sb}),radioIndicator:kr(e.radioIndicator,{renderByDefault:"radio"===n&&!s,defaultProps:{checked:!!a,input:{name:qo("table-selection-radio")}},elementType:ex}),type:n,checked:a,noNativeElements:o,subtle:i,hidden:s||l}},pz=e=>vn(e.root,{children:["checkbox"===e.type&&e.checkboxIndicator&&gn(e.checkboxIndicator,{}),"radio"===e.type&&e.radioIndicator&&gn(e.radioIndicator,{})]});u.forwardRef((e,t)=>{const r=fz(e,t);return FB(r),co("useTableSelectionCellStyles_unstable")(r),pz(r)}).displayName="TableSelectionCell";const hz=u.forwardRef((e,t)=>{const r=((e,t)=>{var r;return{components:{root:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),visible:null!==(r=e.visible)&&void 0!==r&&r}})(e,t);return(e=>{const t=NB();e.root.className=te("fui-TableCellActions",t.root,e.visible&&t.visible,e.root.className)})(r),co("useTableCellActionsStyles_unstable")(r),(e=>gn(e.root,{}))(r)});hz.displayName="TableCellActions";const gz={medium:32,small:24,"extra-small":20},vz=vr({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"faqewft",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},rootTruncate:{B68tc82:"f1p9o1ba"},content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},contentTruncate:{B68tc82:"f1p9o1ba"},media:{mc9l5x:"f22iagw",Bt984gj:"f122n59"},mediaExtraSmall:{Be2twd7:"f4ybsrx"},mediaSmallAndMedium:{Be2twd7:"fe5j1ua"},mediaPrimary:{Be2twd7:"f1rt2boy"},mainPrimary:{Bhrd7zp:"fl43uef"},mainTruncate:{B68tc82:"f1p9o1ba",Huce71:"fz5stix",ygn44y:"f1cmbuwj"},description:{sj55zd:"fkfq4zb",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}],[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1p9o1ba{overflow-x:hidden;}",".f1vx9l62{flex-direction:column;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fz5stix{white-space:nowrap;}",".f1cmbuwj{text-overflow:ellipsis;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),mz=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r}=mB();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:wr(Wr("div",{ref:t,...e},["content"]),{elementType:"div"}),appearance:e.appearance,truncate:e.truncate,main:kr(e.main,{renderByDefault:!0,elementType:"span"}),media:kr(e.media,{elementType:"span"}),description:kr(e.description,{elementType:"span"}),content:kr(e.content,{renderByDefault:!!e.description||!!e.children,elementType:"div"}),avatarSize:gz[r],size:r}})(e,t);return(e=>{const t=vz(),{truncate:r}=e;e.root.className=te("fui-TableCellLayout",t.root,r&&t.rootTruncate,e.root.className);const o="primary"===e.appearance;if(e.media){const r={small:t.mediaSmallAndMedium,medium:t.mediaSmallAndMedium,"extra-small":t.mediaExtraSmall};e.media.className=te("fui-TableCellLayout__media",t.media,r[e.size],o&&t.mediaPrimary,e.media.className)}e.main&&(e.main.className=te("fui-TableCellLayout__main",r&&t.mainTruncate,o&&t.mainPrimary,e.main.className)),e.description&&(e.description.className=te("fui-TableCellLayout__description",t.description,e.description.className)),e.content&&(e.content.className=te("fui-TableCellLayout__content",t.content,r&&t.contentTruncate,e.content.className))})(r),co("useTableCellLayoutStyles_unstable")(r),((e,t)=>vn(e.root,{children:[e.media&&gn(Vp,{value:t.avatar,children:gn(e.media,{})}),e.content&&vn(e.content,{children:[e.main&&gn(e.main,{children:e.root.children}),e.description&&gn(e.description,{})]})]}))(r,function(e){const{avatarSize:t}=e;return{avatar:u.useMemo(()=>({size:t}),[t])}}(r))});mz.displayName="TableCellLayout";const bz=hc(void 0),Cz={...pB,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},yz=bz.Provider,xz=e=>gc(bz,(t=Cz)=>e(t));u.forwardRef((e,t)=>{const r=((e,t)=>{const{focusMode:r="cell"}=e,o=lz(),n=xz(e=>("cell"===e.focusMode||"composite"===e.focusMode)&&"none"!==r),a=xz(e=>e.resizableColumns),i=xz(e=>e.columnSizing_unstable.getTableCellProps),l=ki({tabBehavior:"limited-trap-focus"});return bB({as:"div",role:"gridcell",..."group"===r&&l,tabIndex:n?0:void 0,...a?i(o):{},...e},t)})(e,t);return(e=>{kB(e),e.root.className=te("fui-DataGridCell",e.root.className)})(r),co("useDataGridCellStyles_unstable")(r),(e=>CB(e))(r)}).displayName="DataGridCell";const wz=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=jB(),o=dz(),n=xz(e=>e.subtleSelection),a=xz(e=>r&&"multiselect"===e.selection.selectionMode?!!e.selection.allRowsSelected||!!e.selection.someRowsSelected&&"mixed":e.selection.isRowSelected(o)),i=xz(e=>e.selection.toggleAllRows),l=xz(e=>"multiselect"===e.selection.selectionMode?"checkbox":"radio"),s=So(t=>{var o;r&&i(t),null===(o=e.onClick)||void 0===o||o.call(e,t)});return fz({as:"div",role:"gridcell",checked:a,type:l,invisible:r&&"radio"===l,"aria-selected":"mixed"===a?void 0:a,subtle:n,radioIndicator:r?null:void 0,...e,onClick:s},t)})(e,t);return(e=>{FB(e),e.root.className=te("fui-DataGridSelectionCell",e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=te("fui-DataGridSelectionCell__checkboxIndicator",e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=te("fui-DataGridSelectionCell__radioIndicator",e.radioIndicator.className))})(r),co("useDataGridSelectionCellStyles_unstable")(r),(e=>pz(e))(r)});wz.displayName="DataGridSelectionCell";function kz(){const e=u.useRef(Cz);return xz(t=>(e.current=t,null)),e.current}const Bz=vr({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),zz=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=dz(),o=jB(),n=xz(e=>e.columns),a=xz(e=>e.selectableRows),i=xz(e=>e.selection.isRowSelected(r)),l=xz(e=>e.focusMode),s=xz(e=>e.compositeRowTabsterAttribute),c="row_unstable"===l||"composite"===l,d=xz(e=>!o&&a&&e.selection.isRowSelected(r)?e.selectionAppearance:"none"),u=xz(e=>e.selection.toggleRow),f=So(t=>{var n;a&&!o&&u(t,r),null===(n=e.onClick)||void 0===n||n.call(e,t)}),p=So(t=>{var n;!a||o||t.key!==Nc||function(e){if(!Go(e))return!1;const{tagName:t}=e;switch(t){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}(t.target)||(t.preventDefault(),u(t,r)),null===(n=e.onKeyDown)||void 0===n||n.call(e,t)}),h=SB({appearance:d,"aria-selected":a?i:void 0,tabIndex:c&&!o?0:void 0,..."composite"===l&&!o&&s,...e,onClick:f,onKeyDown:p,children:null,as:"div"},t);return{...h,components:{...h.components,selectionCell:wz},selectionCell:kr(e.selectionCell,{renderByDefault:a,elementType:wz}),renderCell:e.children,columnDefs:n,dataGridContextValue:kz()}})(e,t);return(e=>{const t=xz(e=>e.subtleSelection),r=Bz();IB(e),e.root.className=te("fui-DataGridRow",e.root.className,t&&r.subtleSelection),e.selectionCell&&(e.selectionCell.className=te("fui-DataGridRow__selectionCell",e.selectionCell.className))})(r),co("useDataGridRowStyles_unstable")(r),(e=>vn(e.root,{children:[e.selectionCell&&gn(e.selectionCell,{}),e.columnDefs.map(t=>gn(sz,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}))(r)});zz.displayName="DataGridRow";u.forwardRef((e,t)=>{const r=((e,t)=>{const{sortable:r}=mB(),o=xz(e=>e.getRows),n=xz(e=>e.sort.sort),a=r?n(o()):o();return{...OB({...e,children:null,as:"div"},t),rows:a,renderRow:e.children}})(e,t);return(e=>{MB(e),e.root.className=te("fui-DataGridBody",e.root.className)})(r),co("useDataGridBodyStyles_unstable")(r),(e=>gn(e.root,{children:e.rows.map(t=>gn(uz,{value:t.rowId,children:e.renderRow(t)},t.rowId))}))(r)}).displayName="DataGridBody";u.forwardRef((e,t)=>{const r=((e,t)=>{const{items:r,columns:o,focusMode:n="cell",selectionMode:a,onSortChange:i,onSelectionChange:l,defaultSortState:s,sortState:c,selectedItems:d,defaultSelectedItems:f,subtleSelection:p=!1,selectionAppearance:h="brand",getRowId:g,resizableColumns:v,columnSizingOptions:m,onColumnResize:b,containerWidthOffset:C,resizableColumnsOptions:y={}}=e,x=null!=C?C:a?-44:0,w=xi({axis:"grid"}),{onTableKeyDown:k,tableTabsterAttribute:B,tableRowTabsterAttribute:z}=function(){const e=xi({axis:"horizontal"}),t=xi({axis:"grid"}),r=ki({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:o}=zi(),{targetDocument:n}=ro(),a=Mi(e,r);return{onTableKeyDown:u.useCallback(e=>{if(!n)return;let t=n.activeElement;if(!t||!e.currentTarget.contains(t))return;const r=t.getAttribute("role");var a;if(e.key===Fc&&"row"===r&&Go(t)&&(null===(a=o(t))||void 0===a||a.focus()),"row"===r)return;const i=(()=>{let e=Go(t)?t:null;for(;e;){const t=e.getAttribute("role");if("cell"===t||"gridcell"===t)return!0;e=e.parentElement}return!1})();e.key===qc&&i?t.dispatchEvent(new Yn({action:2})):e.key!==Tc&&e.key!==Dc||!i||(t.dispatchEvent(new Yn({action:2})),t=n.activeElement,t&&t.dispatchEvent(new Kn({key:In[e.key]})))},[n,o]),tableTabsterAttribute:t,tableRowTabsterAttribute:a}}();var j;const S=function(e,t=[]){const{items:r,getRowId:o,columns:n}=e,a=u.useCallback((e=fB)=>r.map((t,r)=>{var n;return e({item:t,rowId:null!==(n=null==o?void 0:o(t))&&void 0!==n?n:r})}),[r,o]),i={getRowId:o,items:r,columns:n,getRows:a,selection:Kk,sort:Qk,columnSizing_unstable:dB,tableRef:u.createRef()};return t.reduce((e,t)=>t(e),i)}({items:r,columns:o,getRowId:g},[(D={defaultSortState:s,sortState:c,onSortChange:i},e=>function(e,t){const{columns:r}=e,{sortState:o,defaultSortState:n,onSortChange:a=Jk}=t,[i,l]=yo({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:n,state:o}),{sortColumn:s,sortDirection:c}=i,d=So(a),f=u.useCallback((e,t)=>{l(r=>{const o={...r,sortColumn:t};return r.sortColumn===t?o.sortDirection="ascending"===r.sortDirection?"descending":"ascending":o.sortDirection="ascending",null==d||d(e,o),o})},[d,l]),p=u.useCallback(e=>e.slice().sort((e,t)=>{const o=r.find(e=>e.columnId===s);if(!(null==o?void 0:o.compare))return 0;const n="ascending"===c?1:-1;return o.compare(e.item,t.item)*n}),[r,s,c]);return{...e,sort:{sort:p,sortColumn:s,sortDirection:c,setColumnSort:(e,t,r)=>{const o={sortColumn:t,sortDirection:r};null==d||d(e,o),l(o)},toggleColumnSort:f,getSortDirection:e=>s===e?c:void 0}}}(e,D)),Yk({defaultSelectedItems:f,selectedItems:d,onSelectionChange:l,selectionMode:null!=a?a:"multiselect"}),(F={onColumnResize:b,columnSizingOptions:m,containerWidthOffset:x,autoFitColumns:null===(j=y.autoFitColumns)||void 0===j||j},e=>function(e,t={}){const{columns:r}=e,{width:o,measureElementRef:n}=function(){const[e,t]=u.useState(0),r=u.useRef(void 0),o=u.useRef(null),{targetDocument:n}=ro(),a=u.useCallback(()=>{var e;const o=null===(e=r.current)||void 0===e?void 0:e.getBoundingClientRect().width;t(o||0)},[]),i=u.useCallback(e=>{var t;n&&(!e&&o.current&&r.current&&o.current.unobserve(r.current),r.current=void 0,(null==e?void 0:e.parentElement)&&(r.current=e.parentElement,a(),null===(t=o.current)||void 0===t||t.observe(r.current)))},[n,a]);return u.useEffect(()=>{if(o.current=function(e,t){var r;return(null==e||null===(r=e.defaultView)||void 0===r?void 0:r.ResizeObserver)?new e.defaultView.ResizeObserver(t):null}(n,a),r.current&&o.current)return o.current.observe(r.current),()=>{var e;null===(e=o.current)||void 0===e||e.disconnect()}},[a,n]),{width:e,measureElementRef:i}}(),a=cB(r,o+((null==t?void 0:t.containerWidthOffset)||0),t),i=function(e){const t=u.useRef(0),r=u.useRef(0),o=u.useRef(void 0),[n,a]=u.useState(!1),{targetDocument:i}=ro(),{getColumnWidth:l,setColumnWidth:s}=e,c=u.useCallback(e=>{const{clientX:n}=nn(e),a=n-t.current;r.current+=a,o.current&&s(e,{columnId:o.current,width:r.current}),t.current=n},[s]),[d]=Co(),f=u.useCallback(e=>{d(()=>c(e))},[d,c]),p=u.useCallback(e=>{on(e)&&(null==i||i.removeEventListener("mouseup",p),null==i||i.removeEventListener("mousemove",f)),rn(e)&&(null==i||i.removeEventListener("touchend",p),null==i||i.removeEventListener("touchmove",f)),a(!1)},[f,i]);return{getOnMouseDown:u.useCallback(e=>n=>{if(r.current=l(e),t.current=nn(n).clientX,o.current=e,on(n)){if(n.target!==n.currentTarget||0!==n.button)return;null==i||i.addEventListener("mouseup",p),null==i||i.addEventListener("mousemove",f),a(!0)}rn(n)&&(null==i||i.addEventListener("touchend",p),null==i||i.addEventListener("touchmove",f),a(!0))},[l,f,p,i]),dragging:n}}(a),{toggleInteractiveMode:l,getKeyboardResizingProps:s}=function(e){const[t,r]=u.useState(),o=u.useRef(void 0),{findPrevFocusable:n}=zi(),a=u.useRef(e);u.useEffect(()=>{a.current=e},[e]);const[i]=u.useState(()=>new Map),l=So(e=>{if(!t)return;const r=a.current.getColumnWidth(t),o=e.getModifierState("Shift"),n=()=>{e.preventDefault(),e.stopPropagation()};switch(e.key){case qc:return n(),void a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:r-(o?5:20)});case Fc:return n(),void a.current.setColumnWidth(e.nativeEvent,{columnId:t,width:r+(o?5:20)});case Nc:case Sc:case Mc:var l,s;n(),null===(s=i.get(t))||void 0===s||null===(l=s.current)||void 0===l||l.blur()}}),s=u.useCallback(e=>{var t,n;r(e),null===(t=o.current)||void 0===t||t.call(o,e,!0);const a=null===(n=i.get(e))||void 0===n?void 0:n.current;a&&(a.setAttribute("tabindex","-1"),a.tabIndex=-1,a.focus())},[i]),c=u.useCallback(()=>{var e,a;if(!t)return;null===(e=o.current)||void 0===e||e.call(o,t,!1);const l=null===(a=i.get(t))||void 0===a?void 0:a.current;var s;l&&(null===(s=n(l))||void 0===s||s.focus(),l.removeAttribute("tabindex")),r(void 0)},[t,n,i]),d=u.useCallback(e=>{const t=i.get(e)||u.createRef();return i.set(e,t),t},[i]),f=yi({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:(e,n)=>{o.current=n,t?e&&t!==e?(s(e),r(e)):c():s(e)},columnId:t,getKeyboardResizingProps:u.useCallback((e,r)=>({onKeyDown:l,onBlur:c,ref:d(e),role:"separator","aria-label":"Resize column","aria-valuetext":`${r} pixels`,"aria-hidden":e!==t,tabIndex:e===t?0:void 0,...f}),[t,c,d,l,f])}}(a),{autoFitColumns:c}=t,d=u.useCallback((e,t)=>r=>{r.preventDefault(),r.nativeEvent.stopPropagation(),l(e,t)},[l]),{getColumnById:f,setColumnWidth:p,getColumns:h}=a,{getOnMouseDown:g,dragging:v}=i;return{...e,tableRef:n,columnSizing_unstable:{getOnMouseDown:g,setColumnWidth:(e,t)=>p(void 0,{columnId:e,width:t}),getColumnWidths:h,getTableProps:(e={})=>({...e,style:{minWidth:"fit-content",...e.style||{}}}),getTableHeaderCellProps:u.useCallback(e=>{var t;const o=f(e),n=(null===(t=r[r.length-1])||void 0===t?void 0:t.columnId)===e&&c?null:u.createElement(tB,{onMouseDown:g(e),onTouchStart:g(e),...s(e,(null==o?void 0:o.width)||0)});return o?{style:uB(o,v),aside:n}:{}},[f,r,v,s,g,c]),getTableCellProps:u.useCallback(e=>{const t=f(e);return t?{style:uB(t)}:{}},[f]),enableKeyboardMode:d}}}(e,{autoFitColumns:!0,...F}))]),N=u.useRef(null),{findFirstFocusable:_,findLastFocusable:T}=zi(),q=So(t=>{var r;if(null===(r=e.onKeyDown)||void 0===r||r.call(e,t),"composite"===n&&k(t),N.current&&t.ctrlKey&&!t.defaultPrevented){if(t.key===Pc){const e=N.current.querySelector('[role="row"]');var o;e&&(null===(o=_(e))||void 0===o||o.focus())}if(t.key===Ec){const e=N.current.querySelectorAll('[role="row"]');if(e.length){var a;const t=e.item(e.length-1);null===(a=T(t))||void 0===a||a.focus()}}}});var F,D;return{...HB({role:"grid",as:"div",noNativeElements:!0,..."cell"===n&&w,..."composite"===n&&B,...e,onKeyDown:q,...v?S.columnSizing_unstable.getTableProps(e):{}},Fo(t,S.tableRef,N)),focusMode:n,tableState:S,selectableRows:!!a,subtleSelection:p,selectionAppearance:h,resizableColumns:v,compositeRowTabsterAttribute:z}})(e,t);return(e=>{UB(e),e.root.className=te("fui-DataGrid",e.root.className)})(r),co("useDataGridStyles_unstable")(r),((e,t)=>u.createElement(yz,{value:t.dataGrid},LB(e,t)))(r,function(e){const t=GB(e),{tableState:r,focusMode:o,selectableRows:n,subtleSelection:a,selectionAppearance:i,resizableColumns:l,compositeRowTabsterAttribute:s}=e;return{...t,dataGrid:{...r,focusMode:o,selectableRows:n,subtleSelection:a,selectionAppearance:i,resizableColumns:l,compositeRowTabsterAttribute:s}}}(r))}).displayName="DataGrid";u.forwardRef((e,t)=>{const r=((e,t)=>XB({...e,as:"div"},t))(e,t);return(e=>{JB(e),e.root.className=te("fui-DataGridHeader",e.root.className)})(r),co("useDataGridHeaderStyles_unstable")(r),(e=>$B(e))(r)}).displayName="DataGridHeader";const jz=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=lz(),{sortable:o}=mB(),n=xz(e=>e.sort.toggleColumnSort),a=xz(e=>{const t=!!e.columns.find(e=>e.columnId===r&&function(e){return e.compare.length>0}(e));return!!o&&t}),i=xz(e=>a?e.sort.getSortDirection(r):void 0),l=xz(e=>e.resizableColumns),s=xz(e=>e.columnSizing_unstable.getTableHeaderCellProps),{focusMode:c=(a?"none":"cell")}=e,d=ki({tabBehavior:"limited-trap-focus"}),u=So(t=>{var o;a&&n(t,r),null===(o=e.onClick)||void 0===o||o.call(e,t)});return ez({sortable:a,sortDirection:i,as:"div",tabIndex:"none"!==c?0:void 0,..."group"===c&&d,...l?s(r):{},...e,onClick:u},t)})(e,t);return(e=>{az(e),e.root.className=te("fui-DataGridHeaderCell",e.root.className),e.button&&(e.button.className=te("fui-DataGridHeaderCell__button",e.button.className)),e.sortIcon&&(e.sortIcon.className=te("fui-DataGridHeaderCell__sortIcon",e.sortIcon.className)),e.aside&&(e.aside.className=te("fui-DataGridHeaderCell__aside",e.aside.className))})(r),co("useDataGridHeaderCellStyles_unstable")(r),(e=>tz(e))(r)});jz.displayName="DataGridHeaderCell";const Sz=u.createContext(void 0),Nz={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},_z=Sz.Provider,Tz=()=>{var e;return null!==(e=u.useContext(Sz))&&void 0!==e?e:Nz},qz={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},Fz=(e,t)=>{const{disabled:r=!1,...o}=e,[n,a]=u.useState(Nz.selectableA11yProps.referenceId),[i,l]=u.useState(Nz.selectableA11yProps.referenceId),s=Di(),{selectable:c,selected:d,selectableCardProps:f,selectFocused:p,checkboxSlot:h,floatingActionSlot:g}=((e,{referenceLabel:t,referenceId:r},o)=>{const{checkbox:n={},onSelectionChange:a,floatingAction:i,onClick:l,onKeyDown:s,disabled:c}=e,{findAllFocusable:d}=zi(),f=u.useRef(null),[p,h]=yo({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),g=[e.selected,e.defaultSelected,a].some(e=>void 0!==e),[v,m]=u.useState(!1),b=u.useCallback(e=>{if(!o.current)return!1;const t=d(o.current),r=e.target,n=t.some(e=>e.contains(r)),a=(null==f?void 0:f.current)===r;return n&&!a},[o,d]),C=u.useCallback(e=>{if(c||b(e))return;const t=!p;h(t),a&&a(e,{selected:t})},[c,a,p,h,b]),y=u.useCallback(e=>{[Sc].includes(e.key)&&(e.preventDefault(),C(e))},[C]),x=u.useMemo(()=>{if(!g||i)return;const e={};return r?e["aria-labelledby"]=r:t&&(e["aria-label"]=t),kr(n,{defaultProps:{ref:f,type:"checkbox",checked:p,disabled:c,onChange:e=>C(e),onFocus:()=>m(!0),onBlur:()=>m(!1),...e},elementType:"input"})},[n,c,i,p,g,C,r,t]),w=u.useMemo(()=>{if(i)return kr(i,{defaultProps:{ref:f},elementType:"div"})},[i]),k=u.useMemo(()=>g?{onClick:Uo(l,C),onKeyDown:Uo(s,y)}:null,[g,C,l,s,y]);return{selected:p,selectable:g,selectFocused:v,selectableCardProps:k,checkboxSlot:x,floatingActionSlot:w}})(e,{referenceId:n,referenceLabel:i},s),v=Fo(s,t),{interactive:m,focusAttributes:b}=(({focusMode:e,disabled:t=!1,...r})=>{const o=["onClick","onDoubleClick","onMouseUp","onMouseDown","onPointerUp","onPointerDown","onTouchStart","onTouchEnd","onDragStart","onDragEnd"].some(e=>r[e]),n=null!=e?e:o?"no-tab":"off",a=ki({tabBehavior:qz[n]});return t?{interactive:!1,focusAttributes:null}:"off"===n?{interactive:o,focusAttributes:null}:{interactive:o,focusAttributes:{...a,tabIndex:0}}})(e);let C={...c?null:b,...o,...f};return r&&(C={...o,"aria-disabled":!0,onClick:void 0}),{interactive:m,selectable:c,selectFocused:p,selected:d,disabled:r,selectableA11yProps:{setReferenceId:a,referenceId:n,referenceLabel:i,setReferenceLabel:l},components:{root:"div",floatingAction:"div",checkbox:"input"},root:wr(Wr("div",{ref:v,role:"group",...C}),{elementType:"div"}),floatingAction:g,checkbox:h}},Dz="fui-CardPreview",Ez=vr({root:{qhf8xq:"f10pi13n",Byfpedg:"fgourly",Btj6oj6:"f1vui7lx",B1m4t4s:"fda5zwx"},logo:{qhf8xq:"f1euv43f",B5kzvoi:"f1gcvs1y",oyh7mz:["f1t6tvco","ffrfxm3"],a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f10pi13n{position:relative;}",".fgourly>:not(.fui-CardPreview__logo){display:block;}",".f1vui7lx>:not(.fui-CardPreview__logo){height:100%;}",".fda5zwx>:not(.fui-CardPreview__logo){width:100%;}",".f1euv43f{position:absolute;}",".f1gcvs1y{bottom:12px;}",".f1t6tvco{left:12px;}",".ffrfxm3{right:12px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]}),Pz={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},Iz=vr({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)"}]]}),Oz=vr({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;}"]}),Az=vr({root:{mc9l5x:"f22iagw"},header:{Bh6795r:"fqerorx"},image:{},description:{},action:{}},{d:[".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}"]}),Rz=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",i8kkvl:0,Belr9w4:0,rmohyg:"fsbu5mz"},action:{Frg6f3:["fcgxt0o","f1ujusj6"],rjrqlh:"fs9eatd",Boue1pl:["fxoo9ru","f1g0ekvh"],Bhz1vi0:"f1m6zfxz",etxrgc:["f1g0ekvh","fxoo9ru"],Bdua9ef:"f1sret3r",cbfxhg:"fs4gbcv"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",[".fsbu5mz{gap:12px;}",{p:-1}],".fcgxt0o{margin-left:auto;}",".f1ujusj6{margin-right:auto;}"],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)"}]]}),Mz=mr("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;}"]),Hz=vr({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);}"]}),Lz=u.forwardRef((e,t)=>{const r=((e,t)=>{const{appearance:r="filled",orientation:o="vertical",size:n="medium",...a}=e;return{...Fz(a,t),appearance:r,orientation:o,size:n}})(e,t),o=function({selectableA11yProps:e}){return{selectableA11yProps:e}}(r);return(e=>{const t=Mz(),r=Hz(),o={horizontal:r.orientationHorizontal,vertical:r.orientationVertical},n={small:r.sizeSmall,medium:r.sizeMedium,large:r.sizeLarge},a={filled:r.filled,"filled-alternative":r.filledAlternative,outline:r.outline,subtle:r.subtle},i={filled:r.filledInteractiveSelected,"filled-alternative":r.filledAlternativeInteractiveSelected,outline:r.outlineInteractiveSelected,subtle:r.subtleInteractiveSelected},l={filled:r.filledInteractive,"filled-alternative":r.filledAlternativeInteractive,outline:r.outlineInteractive,subtle:r.subtleInteractive},s=!e.disabled&&(e.interactive||e.selectable),c=u.useMemo(()=>e.disabled?"":e.selectable?e.selectFocused?r.selectableFocused:"":r.focused,[e.disabled,e.selectFocused,e.selectable,r.focused,r.selectableFocused]);e.root.className=te("fui-Card",t,o[e.orientation],n[e.size],a[e.appearance],s&&r.interactive,s&&l[e.appearance],e.selected&&i[e.appearance],c,s&&r.highContrastInteractive,e.selected&&r.highContrastSelected,e.disabled&&r.disabled,e.disabled&&"outline"===e.appearance&&r.outlineDisabled,e.root.className),e.floatingAction&&(e.floatingAction.className=te("fui-Card__floatingAction",r.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=te("fui-Card__checkbox",r.hiddenCheckbox,e.checkbox.className))})(r),co("useCardStyles_unstable")(r),((e,t)=>gn(e.root,{children:vn(_z,{value:t,children:[e.checkbox?gn(e.checkbox,{}):null,e.floatingAction?gn(e.floatingAction,{}):null,e.root.children]})}))(r,o)});Lz.displayName="Card";const Vz=u.forwardRef((e,t)=>{const r=((e,t)=>((e,t)=>{const{action:r}=e;return{components:{root:"div",action:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),action:kr(r,{elementType:"div"})}})(e,t))(e,t);return(e=>{const t=Rz();e.root.className=te("fui-CardFooter",t.root,e.root.className),e.action&&(e.action.className=te("fui-CardFooter__action",t.action,e.action.className))})(r),co("useCardFooterStyles_unstable")(r),(e=>vn(e.root,{children:[e.root.children,e.action&&gn(e.action,{})]}))(r)});Vz.displayName="CardFooter";const Wz=u.forwardRef((e,t)=>{const r=((e,t)=>((e,t)=>{const{image:r,header:o,description:n,action:a}=e,{selectableA11yProps:{referenceId:i,setReferenceId:l}}=Tz(),s=u.useRef(null),c=u.useRef(!1),d=qo(Pz.header,i),f=kr(o,{renderByDefault:!0,defaultProps:{ref:s,id:c.current?void 0:i},elementType:"div"});return u.useEffect(()=>{var e;const t=c.current||null===(e=s.current)||void 0===e?void 0:e.id,r=function(e){return u.Children.toArray(e).find(function(e){return u.isValidElement(e)&&Boolean(e.props.id)})}(null==f?void 0:f.children);c.current=Boolean(r),l(function(e,t,r){return e||((null==t?void 0:t.props.id)?t.props.id:r)}(t,r,d))},[d,o,f,l]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),image:kr(r,{elementType:"div"}),header:f,description:kr(n,{elementType:"div"}),action:kr(a,{elementType:"div"})}})(e,t))(e,t);return(e=>{const t=Iz(),r=Oz(),o=Az(),n=e.description?r:o,a=r=>{var o;return te(Pz[r],t[r],n[r],null===(o=e[r])||void 0===o?void 0:o.className)};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"))})(r),co("useCardHeaderStyles_unstable")(r),(e=>vn(e.root,{children:[e.image&&gn(e.image,{}),e.header&&gn(e.header,{}),e.description&&gn(e.description,{}),e.action&&gn(e.action,{})]}))(r)});Wz.displayName="CardHeader";const Zz=u.forwardRef((e,t)=>{const r=((e,t)=>((e,t)=>{const{logo:r}=e,{selectableA11yProps:{referenceLabel:o,referenceId:n,setReferenceLabel:a,setReferenceId:i}}=Tz(),l=Fo(t,u.useRef(null));return u.useEffect(()=>{if((!o||!n)&&l.current&&l.current.parentNode){const e=l.current.parentNode.querySelector(`.${Dz} > img`);if(e){const t=e.getAttribute("aria-label"),r=e.getAttribute("aria-describedby");r?i(r):e.alt?a(e.alt):t&&a(t)}}},[a,o,l,n,i]),{components:{root:"div",logo:"div"},root:wr(Wr("div",{ref:l,...e}),{elementType:"div"}),logo:kr(r,{elementType:"div"})}})(e,t))(e,t);return(e=>{const t=Ez();e.root.className=te(Dz,t.root,e.root.className),e.logo&&(e.logo.className=te("fui-CardPreview__logo",t.logo,e.logo.className))})(r),co("useCardPreviewStyles_unstable")(r),(e=>vn(e.root,{children:[e.root.children,e.logo&&gn(e.logo,{})]}))(r)});Zz.displayName="CardPreview";const Uz={close:()=>null,intent:void 0,bodyId:"",titleId:""},Gz=u.createContext(void 0),Xz=Gz.Provider,$z=()=>{var e;return null!==(e=u.useContext(Gz))&&void 0!==e?e:Uz},Kz=mr("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]),Yz=u.forwardRef((e,t)=>{const r=Kz(),{running:o,timeout:n,onTimeout:a}=e,i={animationDuration:`${n}ms`,animationPlayState:o?"running":"paused"};return n<0?null:u.createElement("span",{onAnimationEnd:a,"data-timer-status":i.animationPlayState,ref:t,style:i,className:r})});Yz.displayName="Timer";const Jz={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},Qz="fui-ToastContainer",ej=mr("r98b696",null,[".r98b696{box-sizing:border-box;margin-top:16px;pointer-events:all;border-radius:var(--borderRadiusMedium);}",".r98b696[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),tj=u.forwardRef((e,t)=>{const r=((e,t)=>{const{visible:r,children:o,close:n,remove:a,updateId:i,announce:l,data:s,timeout:c,politeness:d,intent:f="info",pauseOnHover:p,pauseOnWindowBlur:h,imperativeRef:g,tryRestoreFocus:v,content:m,...b}=e,C=qo("toast-title"),y=qo("toast-body"),x=u.useRef(null),{targetDocument:w}=ro(),[k,B]=u.useState(!1),z=u.useRef(!1),j=u.useRef(!1),S=ki({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),N=So(()=>{var e;const t=null==w?void 0:w.activeElement;t&&(null===(e=x.current)||void 0===e?void 0:e.contains(t))&&(j.current=!0),n()}),_=So(t=>{var r;return null===(r=e.onStatusChange)||void 0===r?void 0:r.call(e,null,{status:t,...e})}),T=So(()=>B(!1)),q=So(()=>{var e,t;if(z.current)return;const r=!!(null===(e=x.current)||void 0===e?void 0:e.contains(null!==(t=null==w?void 0:w.activeElement)&&void 0!==t?t:null));c<0?B(!0):r||B(!0)});u.useImperativeHandle(g,()=>({focus:()=>{x.current&&x.current.focus()},play:()=>{z.current=!1,q()},pause:()=>{z.current=!0,T()}})),u.useEffect(()=>()=>_("unmounted"),[_]),u.useEffect(()=>{var e,t;if(w&&h)return null===(e=w.defaultView)||void 0===e||e.addEventListener("focus",q),null===(t=w.defaultView)||void 0===t||t.addEventListener("blur",T),()=>{var e,t;null===(e=w.defaultView)||void 0===e||e.removeEventListener("focus",q),null===(t=w.defaultView)||void 0===t||t.removeEventListener("blur",T)}},[w,T,q,h]);const F=s.root,D=u.useCallback((e,{direction:t})=>{"exit"===t&&a(),"enter"===t&&(q(),_("visible"))},[_,q,a]),E=So(e=>{var t;T(),null==F||null===(t=F.onMouseEnter)||void 0===t||t.call(F,e)}),P=So(e=>{var t;q(),null==F||null===(t=F.onMouseEnter)||void 0===t||t.call(F,e)}),{findFirstFocusable:I,findLastFocusable:O}=zi(),A=So(e=>{var t,r,o;e.key===Rc&&(e.preventDefault(),N()),e.key===_c&&e.currentTarget===e.target&&(e.preventDefault(),e.shiftKey?null===(r=O(e.currentTarget))||void 0===r||r.focus():null===(o=I(e.currentTarget))||void 0===o||o.focus()),null==F||null===(t=F.onKeyDown)||void 0===t||t.call(F,e)});return u.useEffect(()=>{var e;if(!r)return;const t=null!=d?d:Jz[f];var o;l(null!==(o=null===(e=x.current)||void 0===e?void 0:e.textContent)&&void 0!==o?o:"",{politeness:t})},[l,d,x,r,i,f]),u.useEffect(()=>()=>{j.current&&(j.current=!1,v())},[v]),{components:{timer:Yz,root:"div"},timer:wr({onTimeout:N,running:k,timeout:null!=c?c:-1},{elementType:Yz}),root:wr(Wr("div",{ref:Fo(t,x),children:o,tabIndex:0,role:"listitem","aria-labelledby":C,"aria-describedby":y,...b,...F,...S,onMouseEnter:E,onMouseLeave:P,onKeyDown:A}),{elementType:"div"}),timerTimeout:c,transitionTimeout:0,running:k,visible:r,remove:a,close:N,onTransitionEntering:()=>{},updateId:i,nodeRef:x,intent:f,titleId:C,bodyId:y,onMotionFinish:D}})(e,t);return(e=>{const t=ej();e.root.className=te(Qz,t,e.root.className)})(r),co("useToastContainerStyles_unstable")(r),((e,t)=>{const{onMotionFinish:r,visible:o,updateId:n}=e;return gn(Xz,{value:t.toast,children:gn(Af,{appear:!0,onMotionFinish:r,visible:o,unmountOnExit:!0,children:vn(e.root,{children:[e.root.children,gn(e.timer,{},n)]})})})})(r,function(e){const{close:t,intent:r,titleId:o,bodyId:n}=e;return{toast:u.useMemo(()=>({close:t,intent:r,titleId:o,bodyId:n}),[t,r,o,n])}}(r))});tj.displayName="ToastContainer";const rj=mr("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),oj=e=>{const t=(e=>{const[t,r]=u.useState(void 0),o=u.useRef(0),[n]=u.useState(()=>Xo((e,t)=>e.politeness===t.politeness?e.createdAt-t.createdAt:"assertive"===e.politeness?-1:1)),a=So((e,a)=>{const{politeness:i}=a;if(e===(null==t?void 0:t.message))return;const l={message:e,politeness:i,createdAt:o.current++};t?n.enqueue(l):r(l)}),[i,l]=Ho();u.useEffect(()=>(i(()=>{n.peek()?r(n.dequeue()):r(void 0)},500),()=>l()),[t,n,i,l]),u.useImperativeHandle(e.announceRef,()=>a);const s="polite"===(null==t?void 0:t.politeness)?t.message:void 0,c="assertive"===(null==t?void 0:t.politeness)?t.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:wr(e.assertive,{defaultProps:{"aria-live":"assertive",children:c},elementType:"div"}),polite:wr(e.polite,{defaultProps:{"aria-live":"polite",children:s},elementType:"div"})}})(e);return(e=>{const t=rj();e.assertive.className=te(t,"fui-AriaLive__assertive",e.assertive.className),e.polite.className=te(t,"fui-AriaLive__polite",e.polite.className)})(t),(e=>vn(u.Fragment,{children:[gn(e.assertive,{}),gn(e.polite,{})]}))(t)};oj.displayName="AriaLive";const nj=mr("rhf7k35",null,[".rhf7k35{display:grid;grid-template-columns:auto 1fr auto;padding:12px;border-radius:var(--borderRadiusMedium);border:1px solid var(--colorTransparentStroke);box-shadow:var(--shadow8);font-size:var(--fontSizeBase300);line-height:20px;font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground1);background-color:var(--colorNeutralBackground1);}"]),aj=vr({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),ij=u.forwardRef((e,t)=>{const r=((e,t)=>{const{intent:r}=$z();return{components:{root:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),backgroundAppearance:e.appearance,intent:r}})(e,t);return(e=>{const t=nj(),r=aj();e.root.className=te("fui-Toast",t,"inverted"===e.backgroundAppearance&&r.inverted,e.root.className)})(r),co("useToastStyles_unstable")(r),((e,t)=>gn(fo,{value:t.backgroundAppearance,children:gn(e.root,{})}))(r,function(e){const{backgroundAppearance:t}=e;return{backgroundAppearance:t}}(r))});ij.displayName="Toast";const lj=mr("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),sj=mr("r8x5mrd","r1soj19y",[".r8x5mrd{display:flex;padding-top:2px;grid-column-end:2;padding-right:8px;font-size:16px;color:var(--colorNeutralForeground1);}",".r1soj19y{display:flex;padding-top:2px;grid-column-end:2;padding-left:8px;font-size:16px;color:var(--colorNeutralForeground1);}"]),cj=mr("r2j19ip","rjfozdo",[".r2j19ip{display:flex;align-items:start;padding-left:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}",".rjfozdo{display:flex;align-items:start;padding-right:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}"]),dj=vr({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),uj=vr({success:{sj55zd:"f36rra6"},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f13isgzr"},info:{sj55zd:"fkfq4zb"}},{d:[".f36rra6{color:var(--colorStatusSuccessForeground1);}",".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f13isgzr{color:var(--colorStatusWarningForeground1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}"]}),fj=vr({success:{sj55zd:"ff3wk4x"},error:{sj55zd:"fbq2gqr"},warning:{sj55zd:"fx6hq1t"},info:{sj55zd:"f1w7i9ko"}},{d:[".ff3wk4x{color:var(--colorStatusSuccessForegroundInverted);}",".fbq2gqr{color:var(--colorStatusDangerForegroundInverted);}",".fx6hq1t{color:var(--colorStatusWarningForegroundInverted);}",".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]});u.forwardRef((e,t)=>{const r=((e,t)=>{const{intent:r,titleId:o}=$z(),n=po();let a;switch(r){case"success":a=u.createElement(Sd,null);break;case"error":a=u.createElement(Ed,null);break;case"warning":a=u.createElement(cd,null);break;case"info":a=u.createElement(fd,null)}return{action:kr(e.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:kr(e.media,{renderByDefault:!!r,defaultProps:{children:a},elementType:"div"}),root:wr(Wr("div",{ref:t,children:e.children,id:o,...e}),{elementType:"div"}),intent:r,backgroundAppearance:n}})(e,t);return(e=>{const t=lj(),r=cj(),o=sj(),n=uj(),a=fj(),{intent:i}=e,l=dj();e.root.className=te("fui-ToastTitle",t,"inverted"===e.backgroundAppearance&&l.root,e.root.className),e.media&&(e.media.className=te("fui-ToastTitle__media",o,"inverted"===e.backgroundAppearance&&l.media,i&&n[i],i&&"inverted"===e.backgroundAppearance&&a[i],e.media.className)),e.action&&(e.action.className=te("fui-ToastTitle__action",r,"inverted"===e.backgroundAppearance&&l.action,e.action.className))})(r),co("useToastTitleStyles_unstable")(r),(e=>vn(u.Fragment,{children:[e.media?gn(e.media,{}):null,gn(e.root,{}),e.action?gn(e.action,{}):null]}))(r)}).displayName="ToastTitle";const pj=mr("r1u44l4o",null,[".r1u44l4o{grid-column-start:2;grid-column-end:3;padding-top:6px;font-size:var(--fontSizeBase300);line-height:var(--lineHeightBase300);font-weight:var(--fontWeightRegular);color:var(--colorNeutralForeground1);word-break:break-word;}"]),hj=mr("rzjw1xk",null,[".rzjw1xk{padding-top:4px;grid-column-start:2;grid-column-end:3;font-size:var(--fontSizeBase200);line-height:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);color:var(--colorNeutralForeground2);}"]),gj=vr({root:{sj55zd:"f1w7i9ko"},subtitle:{sj55zd:"f1w7i9ko"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]});u.forwardRef((e,t)=>{const r=((e,t)=>{const r=po(),{bodyId:o}=$z();return{components:{root:"div",subtitle:"div"},subtitle:kr(e.subtitle,{elementType:"div"}),root:wr(Wr("div",{ref:t,id:o,...e}),{elementType:"div"}),backgroundAppearance:r}})(e,t);return(e=>{const t=pj(),r=hj(),o=gj();e.root.className=te("fui-ToastBody",t,"inverted"===e.backgroundAppearance&&o.root,e.root.className),e.subtitle&&(e.subtitle.className=te("fui-ToastBody__subtitle",r,"inverted"===e.backgroundAppearance&&o.subtitle,e.subtitle.className))})(r),co("useToastBodyStyles_unstable")(r),(e=>vn(u.Fragment,{children:[gn(e.root,{}),e.subtitle?gn(e.subtitle,{}):null]}))(r)}).displayName="ToastBody";const vj=mr("r56x6h2",null,[".r56x6h2{padding-top:16px;grid-column-start:2;grid-column-end:3;display:flex;align-items:center;gap:14px;}"]);u.forwardRef((e,t)=>{const r=((e,t)=>({components:{root:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"})}))(e,t);return(e=>{const t=vj();e.root.className=te("fui-ToastFooter",t,e.root.className)})(r),co("useToastFooterStyles_unstable")(r),(e=>gn(e.root,{}))(r)}).displayName="ToastFooter";const mj=Symbol("#internalSet");let bj=mj;class Cj{static dangerouslyGetInternalSet(e){return e[mj]}static copy(e){return new Cj(new Set(e[mj]))}static from(e){return void 0===e?this.empty:e instanceof this?e:new this(new Set(e))}static[Symbol.hasInstance](e){return Boolean("object"==typeof e&&e&&mj in e)}add(e){if(this.has(e))return this;const t=Cj.copy(this);return t[mj].add(e),t}delete(e){if(!this.has(e))return this;const t=Cj.copy(this);return t[mj].delete(e),t}has(e){return this[mj].has(e)}[Symbol.iterator](){return this[mj].values()}constructor(e){Cf(this,"size",void 0),Cf(this,bj,void 0),this[mj]=e,this.size=this[mj].size}}function yj(e,t){return e.open?t.add(e.value):t.delete(e.value)}Cf(Cj,"empty",new Cj(new Set));const xj=Symbol("#internalMap");let wj=xj;class kj{static dangerouslyGetInternalMap(e){return e[xj]}static copy(e){return this.from(e[xj])}static from(e,t){if(void 0===e)return this.empty;if(!t)return e instanceof this?e:new this(new Map(e));const r=new Map;for(const o of e)r.set(...t(o));return new this(r)}static[Symbol.hasInstance](e){return Boolean("object"==typeof e&&e&&xj in e)}delete(e){if(!this.has(e))return this;const t=kj.copy(this);return t[xj].delete(e),t}get(e){return this[xj].get(e)}has(e){return this[xj].has(e)}set(e,t){if(this.get(e)===t)return this;const r=kj.copy(this);return r[xj].set(e,t),r}[Symbol.iterator](){return this[xj].entries()}constructor(e){Cf(this,"size",void 0),Cf(this,wj,void 0),this[xj]=e,this.size=this[xj].size}}Cf(kj,"empty",new kj(new Map));const Bj=e=>Array.isArray(e)?e:[e,!0],zj=e=>kj.from(e,Bj),jj={level:0,contextType:"subtree"},Sj=u.createContext(void 0),Nj=()=>{var e;return null!==(e=u.useContext(Sj))&&void 0!==e?e:jj},_j={medium:32,small:24},Tj=qc,qj=Fc,Fj=Sc,Dj="Click",Ej=Ec,Pj=Pc,Ij=Dc,Oj=Tc,Aj="TypeAhead";function Rj(e,t){const{appearance:r="subtle",size:o="medium",selectionMode:n="none"}=e,a=u.useMemo(()=>Cj.from(e.openItems),[e.openItems]),i=u.useMemo(()=>zj(e.checkedItems),[e.checkedItems]),l=So(t=>{switch(t.requestType){case"navigate":return(t=>{var r;let o=!1;switch(null===(r=e.onNavigation)||void 0===r||r.call(e,t.event,{...t,preventScroll:()=>{o=!0},isScrollPrevented:()=>o}),t.type){case Oj:case Ij:case Pj:case Ej:t.event.preventDefault()}})(t);case"open":return(t=>{var r;null===(r=e.onOpenChange)||void 0===r||r.call(e,t.event,{...t,openItems:Cj.dangerouslyGetInternalSet(yj(t,a))})})(t);case"selection":return(t=>{var r;"none"!==n&&(null===(r=e.onCheckedChange)||void 0===r||r.call(e,t.event,{...t,selectionMode:n,checkedItems:kj.dangerouslyGetInternalMap(i)}))})(t)}});var s;return{components:{root:"div",collapseMotion:Of},contextType:"root",selectionMode:n,navigationMode:null!==(s=e.navigationMode)&&void 0!==s?s:"tree",open:!0,appearance:r,size:o,level:1,openItems:a,checkedItems:i,requestTreeResponse:l,forceUpdateRovingTabIndex:()=>{},root:wr(Wr("div",{ref:t,role:"tree","aria-multiselectable":"multiselect"===n||void 0,...e}),{elementType:"div"}),collapseMotion:void 0}}const Mj={level:0,contextType:"root",treeType:"nested",selectionMode:"none",openItems:Cj.empty,checkedItems:kj.empty,requestTreeResponse:Hj,forceUpdateRovingTabIndex:Hj,appearance:"subtle",size:"medium",navigationMode:"tree"};function Hj(){}const Lj=hc(void 0),Vj=e=>gc(Lj,(t=Mj)=>e(t)),Wj={value:"__fuiHeadlessTreeRoot",selectionRef:u.createRef(),layoutRef:u.createRef(),treeItemRef:u.createRef(),subtreeRef:u.createRef(),actionsRef:u.createRef(),expandIconRef:u.createRef(),isActionsVisible:!1,isAsideVisible:!1,itemType:"leaf",open:!1,checked:!1},Zj=hc(void 0),{Provider:Uj}=Zj,Gj=e=>gc(Zj,(t=Wj)=>e(t));function Xj(e,t){const r=Gj(e=>e.subtreeRef),{level:o}=Nj(),n=Gj(e=>e.open);return{contextType:"subtree",open:n,components:{root:"div",collapseMotion:Of},level:o+1,root:wr(Wr("div",{ref:Fo(t,r),role:"group",...e}),{elementType:"div"}),collapseMotion:Nf(e.collapseMotion,{elementType:Of,defaultProps:{visible:n,unmountOnExit:!0}})}}function $j(e,t){const r=t.toLowerCase(),o=e=>{var t;return(null===(t=e.textContent)||void 0===t?void 0:t.trim().charAt(0).toLowerCase())===r?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};let n=e.nextElement(o);return n||(e.currentElement=e.root,n=e.nextElement(o)),n}function Kj(){const e=u.useRef(null),t=u.useRef(null),{targetDocument:r}=ro();!function(){const{targetDocument:e}=ro(),r=So(e=>{if("treeitem"===(null==e?void 0:e.getAttribute("role"))&&t.current&&t.current.root.contains(e)){const r=(e=>{let t=e.parentElement;for(;t&&"tree"!==t.getAttribute("role");)t=t.parentElement;return t})(e);if(t.current.root!==r)return;n(e)}});u.useEffect(()=>{const t=bi(e);if(t)return t.focusedElement.subscribe(r),()=>{t.focusedElement.unsubscribe(r),vi(t)}},[r,e])}();const o=u.useCallback(r=>{t.current=r,r.currentElement=r.root;let o=r.firstChild(e=>0===e.tabIndex?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP);if(r.currentElement=r.root,null!=o||(o=r.firstChild()),!o)return;o.tabIndex=0,e.current=o;let n=null;for(;(n=r.nextElement())&&n!==o;)n.tabIndex=-1},[]),n=u.useCallback((t,r)=>{e.current&&(e.current.tabIndex=-1,t.tabIndex=0,t.focus(r),e.current=t)},[]),a=u.useCallback(()=>{null!==e.current&&(null==r?void 0:r.body.contains(e.current))||!t.current||o(t.current)},[r,o]);return{rove:n,initialize:o,forceUpdate:a}}const Yj=e=>"treeitem"===e.getAttribute("role")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP;function Jj(){const{targetDocument:e}=ro(),t=u.useRef(void 0),r=u.useCallback(r=>{t.current=e&&r?function(e,t,r=()=>NodeFilter.FILTER_ACCEPT){let o;const n=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){if(!Go(e))return NodeFilter.FILTER_REJECT;const t=r(e);var n;return t===NodeFilter.FILTER_ACCEPT&&null!==(n=null==o?void 0:o(e))&&void 0!==n?n:t}});return{get root(){return n.root},get currentElement(){return n.currentNode},set currentElement(e){n.currentNode=e},firstChild:e=>{o=e;const t=n.firstChild();return o=void 0,t},lastChild:e=>{o=e;const t=n.lastChild();return o=void 0,t},nextElement:e=>{o=e;const t=n.nextNode();return o=void 0,t},nextSibling:e=>{o=e;const t=n.nextSibling();return o=void 0,t},parentElement:e=>{o=e;const t=n.parentNode();return o=void 0,t},previousElement:e=>{o=e;const t=n.previousNode();return o=void 0,t},previousSibling:e=>{o=e;const t=n.previousSibling();return o=void 0,t}}}(r,e,Yj):void 0},[e]);return{walkerRef:t,rootRef:r}}const Qj=u.memo(()=>{const e=Gj(e=>e.open),{dir:t}=ro(),r=e?90:"rtl"!==t?0:180;return u.createElement(Vu,{style:{...eS[r],transition:`transform ${Ju.durationNormal}ms ${Qu.curveEasyEaseMax}`}})});Qj.displayName="TreeItemChevron";const eS={90:{transform:"rotate(90deg)"},0:{transform:"rotate(0deg)"},180:{transform:"rotate(180deg)"}},tS=(e,t)=>{const{main:r,iconAfter:o,iconBefore:n}=e,a=Gj(e=>e.layoutRef),i=Vj(e=>e.selectionMode),l=Vj(e=>{var t;return null!==(t=e.navigationMode)&&void 0!==t?t:"tree"}),[s,c]=jr(e.actions)?[e.actions.visible,e.actions.onVisibilityChange]:[void 0,void 0],[d,f]=yo({state:s,initialState:!1}),p=Gj(e=>e.selectionRef),h=Gj(e=>e.expandIconRef),g=Gj(e=>e.actionsRef),v=u.useRef(null),m=Gj(e=>e.treeItemRef),b=Gj(e=>e.subtreeRef),C=Gj(e=>e.checked),y=Gj(e=>"branch"===e.itemType);rS(),rS();const x=u.useCallback(e=>{if(!Boolean(b.current&&dn(b.current,e.target))){if(null==c||c(e,{visible:!0,event:e,type:e.type}),e.defaultPrevented)return;f(!0)}},[b,f,c]),{targetDocument:w}=ro(),k=Vi(),B=u.useCallback(e=>{if(Boolean(v.current&&dn(v.current,e.relatedTarget))){if(null==c||c(e,{visible:!0,event:e,type:e.type}),e.defaultPrevented)return;f(!0)}else{var t;Boolean(null===(t=v.current)||void 0===t?void 0:t.contains(e.target))&&Boolean(m.current&&dn(m.current,e.relatedTarget))||"mouseout"===e.type&&k()&&((null==w?void 0:w.activeElement)===m.current||dn(v.current,null==w?void 0:w.activeElement))||(null==c||c(e,{visible:!1,event:e,type:e.type}),e.defaultPrevented||f(!1))}},[f,c,m,k,w]),z=kr(e.expandIcon,{renderByDefault:y,defaultProps:{children:u.createElement(Qj,null),"aria-hidden":!0},elementType:"div"}),j=Fo(null==z?void 0:z.ref,h);z&&(z.ref=j);const S=xi({circular:"tree"===l,axis:"horizontal"}),N=d?kr(e.actions,{defaultProps:{...S,role:"toolbar"},elementType:"div"}):void 0;null==N||delete N.visible,null==N||delete N.onVisibilityChange;const _=Fo(null==N?void 0:N.ref,g,v),T=So(t=>{var r,o;jr(e.actions)&&(null===(r=(o=e.actions).onBlur)||void 0===r||r.call(o,t));const n=Boolean(dn(t.currentTarget,t.relatedTarget));null==c||c(t,{visible:n,event:t,type:t.type}),f(n)});N&&(N.ref=_,N.onBlur=T);const q=Boolean(e.actions);return u.useEffect(()=>{if(m.current&&q){const e=m.current,t=x,r=B,o=x,n=B;return e.addEventListener("mouseover",t),e.addEventListener("mouseout",r),e.addEventListener("focus",o),e.addEventListener("blur",n),()=>{e.removeEventListener("mouseover",t),e.removeEventListener("mouseout",r),e.removeEventListener("focus",o),e.removeEventListener("blur",n)}}},[q,m,x,B]),{components:{root:"div",expandIcon:"div",iconBefore:"div",main:"div",iconAfter:"div",actions:"div",aside:"div",selector:"multiselect"===i?sb:ex},buttonContextValue:{size:"small"},root:wr(Wr("div",{...e,ref:Fo(t,a)}),{elementType:"div"}),iconBefore:kr(n,{elementType:"div"}),main:wr(r,{elementType:"div"}),iconAfter:kr(o,{elementType:"div"}),aside:d?void 0:kr(e.aside,{elementType:"div"}),actions:N,expandIcon:z,selector:kr(e.selector,{renderByDefault:"none"!==i,defaultProps:{checked:C,tabIndex:-1,"aria-hidden":!0,ref:p},elementType:"multiselect"===i?sb:ex})}};function rS(e){}const oS="fui-TreeItemLayout",nS="fui-TreeItemLayout__actions",aS=mr("ryb8khq",null,[".ryb8khq{display:flex;align-items:center;min-height:32px;box-sizing:border-box;grid-area:layout;}",".ryb8khq:hover{color:var(--colorNeutralForeground2Hover);background-color:var(--colorSubtleBackgroundHover);}",".ryb8khq:hover .fui-TreeItemLayout__expandIcon{color:var(--colorNeutralForeground3Hover);}",".ryb8khq:active{color:var(--colorNeutralForeground2Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".ryb8khq:active .fui-TreeItemLayout__expandIcon{color:var(--colorNeutralForeground3Pressed);}"]),iS=vr({leaf:{uwmqm3:["f1k1erfc","faevyjx"]},branch:{uwmqm3:["fo100m9","f6yw3pu"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},subtle:{},"subtle-alpha":{Jwef8y:"f146ro5n",ecr2s2:"fkam630"},transparent:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",ecr2s2:"fophhak"}},{d:[".f1k1erfc{padding-left:calc(var(--fluent-TreeItem--level, 1) * var(--spacingHorizontalXXL));}",".faevyjx{padding-right:calc(var(--fluent-TreeItem--level, 1) * var(--spacingHorizontalXXL));}",".fo100m9{padding-left:calc((var(--fluent-TreeItem--level, 1) - 1) * var(--spacingHorizontalXXL));}",".f6yw3pu{padding-right:calc((var(--fluent-TreeItem--level, 1) - 1) * var(--spacingHorizontalXXL));}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1pha7fy{min-height:24px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}"],h:[".f146ro5n:hover{background-color:var(--colorSubtleBackgroundLightAlphaHover);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}"],a:[".fkam630:active{background-color:var(--colorSubtleBackgroundLightAlphaPressed);}",".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}"]}),lS=mr("rzvs2in","r17h8a29",[".rzvs2in{display:flex;margin-left:auto;position:relative;z-index:1;grid-area:aside;padding:0 var(--spacingHorizontalS);}",".r17h8a29{display:flex;margin-right:auto;position:relative;z-index:1;grid-area:aside;padding:0 var(--spacingHorizontalS);}"]),sS=mr("r1825u21","rezy0yk",[".r1825u21{display:flex;margin-left:auto;align-items:center;z-index:0;grid-area:aside;padding:0 var(--spacingHorizontalM);gap:var(--spacingHorizontalXS);}",".rezy0yk{display:flex;margin-right:auto;align-items:center;z-index:0;grid-area:aside;padding:0 var(--spacingHorizontalM);gap:var(--spacingHorizontalXS);}"]),cS=mr("rh4pu5o",null,[".rh4pu5o{display:flex;align-items:center;justify-content:center;min-width:24px;box-sizing:border-box;color:var(--colorNeutralForeground3);flex:0 0 auto;padding:var(--spacingVerticalXS) 0;}"]),dS=mr("rklbe47",null,[".rklbe47{padding:0 var(--spacingHorizontalXXS);}"]),uS=mr("rphzgg1",null,[".rphzgg1{display:flex;align-items:center;color:var(--colorNeutralForeground2);line-height:var(--lineHeightBase500);font-size:var(--fontSizeBase500);}"]),fS=vr({medium:{z189sj:["f7x41pl","fruq291"]},small:{z189sj:["ffczdla","fgiv446"]}},{d:[".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}"]}),pS=vr({medium:{uwmqm3:["fruq291","f7x41pl"]},small:{uwmqm3:["fgiv446","ffczdla"]}},{d:[".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}"]}),hS=u.forwardRef((e,t)=>{const r=tS(e,t);return(e=>{const{main:t,iconAfter:r,iconBefore:o,expandIcon:n,root:a,aside:i,actions:l,selector:s}=e,c=iS(),d=aS(),u=lS(),f=sS(),p=dS(),h=cS(),g=uS(),v=fS(),m=pS(),b=Vj(e=>e.size),C=Vj(e=>e.appearance),y=Gj(e=>e.itemType);a.className=te(oS,d,c[C],c[b],c[y],a.className),t.className=te("fui-TreeItemLayout__main",p,t.className),n&&(n.className=te("fui-TreeItemLayout__expandIcon",h,n.className)),o&&(o.className=te("fui-TreeItemLayout__iconBefore",g,v[b],o.className)),r&&(r.className=te("fui-TreeItemLayout__iconAfter",g,m[b],r.className)),l&&(l.className=te(nS,u,l.className)),i&&(i.className=te("fui-TreeItemLayout__aside",f,i.className)),s&&(s.className=te("fui-TreeItemLayout__selector",s.className))})(r),co("useTreeItemLayoutStyles_unstable")(r),(e=>vn(e.root,{children:[e.expandIcon&&gn(e.expandIcon,{}),e.selector&&gn(e.selector,{}),e.iconBefore&&gn(e.iconBefore,{}),gn(e.main,{children:e.root.children}),e.iconAfter&&gn(e.iconAfter,{}),vn(rm,{value:e.buttonContextValue,children:[e.actions&&gn(e.actions,{}),e.aside&&gn(e.aside,{})]})]}))(r)});hS.displayName="TreeItemLayout";const gS=e=>e.querySelector(`:scope > .${oS} > .${nS}`),vS=(e,t)=>void 0===u.useContext(Sj)?function(e,t){const[r,o]=function(e){return yo({state:u.useMemo(()=>e.openItems&&Cj.from(e.openItems),[e.openItems]),defaultState:e.defaultOpenItems&&(()=>Cj.from(e.defaultOpenItems)),initialState:Cj.empty})}(e),n=function(e){return u.useMemo(()=>zj(e.checkedItems),[e.checkedItems])}(e),a=function(e="tree"){const{rove:t,initialize:r,forceUpdate:o}=Kj(),{findFirstFocusable:n}=zi(),{walkerRef:a,rootRef:i}=Jj();return{navigate:function(r,o){const i=(t=>{if(!a.current)return null;switch(t.type){case Dj:return t.target;case Aj:return a.current.currentElement=t.target,$j(a.current,t.event.key);case Tj:{const r=gS(t.target);return"treegrid"===e&&(null==r?void 0:r.contains(t.target.ownerDocument.activeElement))?t.target:(a.current.currentElement=t.target,a.current.parentElement())}case qj:if("treegrid"===e){const e=gS(t.target);var r;return e&&(null===(r=n(e))||void 0===r||r.focus()),null}return a.current.currentElement=t.target,a.current.firstChild();case Ej:return a.current.currentElement=a.current.root,function(e){let t=null,r=null;for(;r=e.lastChild();)t=r;return t}(a.current);case Pj:return a.current.currentElement=a.current.root,a.current.firstChild();case Oj:return a.current.currentElement=t.target,a.current.nextElement();case Ij:return a.current.currentElement=t.target,a.current.previousElement()}})(r);return i&&t(i,o),i},treeRef:Fo(i,u.useCallback(e=>{e&&a.current&&r(a.current)},[a,r])),forceUpdateRovingTabIndex:o}}(e.navigationMode);return Object.assign(Rj({...e,openItems:r,checkedItems:n,onOpenChange:So((t,n)=>{var a;const i=yj(n,r);null===(a=e.onOpenChange)||void 0===a||a.call(e,t,{...n,openItems:Cj.dangerouslyGetInternalSet(i)}),o(i)}),onNavigation:So((t,r)=>{var o;null===(o=e.onNavigation)||void 0===o||o.call(e,t,r),t.isDefaultPrevented()||a.navigate(r,{preventScroll:r.isScrollPrevented()})}),onCheckedChange:So((t,r)=>{var o;const a=function(e,t){return"single"===e.selectionMode?kj.from([[e.value,e.checked]]):"multiselect"===e.selectionMode?t.set(e.value,e.checked):t}(r,n);null===(o=e.onCheckedChange)||void 0===o||o.call(e,t,{...r,checkedItems:kj.dangerouslyGetInternalMap(a)})})},Fo(t,a.treeRef)),{treeType:"nested",forceUpdateRovingTabIndex:a.forceUpdateRovingTabIndex})}(e,t):function(e,t){return Xj(e,t)}(e,t),mS=mr("rnv2ez3",null,[".rnv2ez3{display:flex;flex-direction:column;row-gap:var(--spacingVerticalXXS);}"]),bS=vr({subtree:{z8tnut:"fclwglc"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}"]}),CS={level:1,contextType:"subtree"},yS=e=>"subtree"===e.value.contextType?u.createElement(Sj.Provider,{value:e.value},e.children):u.createElement(Lj.Provider,{value:e.value},u.createElement(Sj.Provider,{value:CS},e.children));yS.displayName="TreeProvider";const xS=(e,t)=>gn(yS,{value:t.tree,children:e.collapseMotion?gn(e.collapseMotion,{children:gn(e.root,{})}):gn(e.root,{})}),wS=u.forwardRef((e,t)=>{const r=vS(e,t),o=function(e){if("root"===e.contextType){const{openItems:t,level:r,contextType:o,treeType:n,checkedItems:a,selectionMode:i,navigationMode:l,appearance:s,size:c,requestTreeResponse:d,forceUpdateRovingTabIndex:u}=e;return{tree:{treeType:n,size:c,openItems:t,appearance:s,checkedItems:a,selectionMode:i,navigationMode:l,contextType:o,level:r,requestTreeResponse:d,forceUpdateRovingTabIndex:u}}}return{tree:u.useMemo(()=>({level:e.level,contextType:"subtree"}),[e.level])}}(r);return(e=>{const t=mS(),r=bS(),o=e.level>1;e.root.className=te("fui-Tree",t,o&&r.subtree,e.root.className)})(r),co("useTreeStyles_unstable")(r),xS(r,o)});wS.displayName="Tree";const kS="data-fui-tree-item-value";function BS(e="tree"){const{walkerRef:t,rootRef:r}=Jj(),{rove:o,forceUpdate:n,initialize:a}=Kj(),{findFirstFocusable:i}=zi(),l=u.useCallback(e=>{t.current&&e&&a(t.current)},[a,t]);return{navigate:So(r=>{const n=function(r){if(!t.current)return null;switch(r.type){case Dj:return r.target;case Aj:return t.current.currentElement=r.target,$j(t.current,r.event.key);case Tj:{const o=zS(r.target);return"treegrid"===e&&(null==o?void 0:o.contains(r.target.ownerDocument.activeElement))?r.target:(n=r.parentValue,a=t.current,void 0===n?null:a.root.querySelector(`[${kS}="${n}"]`))}case qj:{if("treegrid"===e){const e=zS(r.target);var o;return e&&(null===(o=i(e))||void 0===o||o.focus()),null}t.current.currentElement=r.target;const n=function(e,t){const r=t.nextElement();if(!r)return null;const o=r.getAttribute("aria-posinset"),n=r.getAttribute("aria-level"),a=e.getAttribute("aria-level");return"1"===o&&Number(n)===Number(a)+1?r:null}(r.target,t.current);return n}case Ej:return t.current.currentElement=t.current.root,t.current.lastChild();case Pj:return t.current.currentElement=t.current.root,t.current.firstChild();case Oj:return t.current.currentElement=r.target,t.current.nextElement();case Ij:return t.current.currentElement=r.target,t.current.previousElement()}var n,a}(r);n&&o(n)}),rootRef:Fo(r,l),forceUpdateRovingTabIndex:n}}const zS=e=>e.querySelector(`:scope > .${oS} > .${nS}`);function jS(){}const SS=mr("rnv2ez3",null,[".rnv2ez3{display:flex;flex-direction:column;row-gap:var(--spacingVerticalXXS);}"]),NS=xS,_S=u.forwardRef((e,t)=>{const r=((e,t)=>void 0===u.useContext(Sj)?function(e,t){const r=BS(e.navigationMode);return Object.assign(Rj({...e,onNavigation:So((t,o)=>{var n;null===(n=e.onNavigation)||void 0===n||n.call(e,t,o),t.isDefaultPrevented()||r.navigate(o)})},Fo(t,r.rootRef)),{treeType:"flat",forceUpdateRovingTabIndex:r.forceUpdateRovingTabIndex})}(e,t):function(e,t){return{...Xj(e,t),level:0,contextType:"root",treeType:"nested",selectionMode:"none",openItems:Cj.empty,checkedItems:kj.empty,requestTreeResponse:jS,forceUpdateRovingTabIndex:jS,appearance:"subtle",size:"medium",open:!1}}(e,t))(e,t),o=(e=>{const{openItems:t,level:r,contextType:o,treeType:n,checkedItems:a,selectionMode:i,navigationMode:l,appearance:s,size:c,requestTreeResponse:d,forceUpdateRovingTabIndex:u}=e;return{tree:{treeType:n,size:c,openItems:t,appearance:s,checkedItems:a,selectionMode:i,navigationMode:l,contextType:o,level:r,requestTreeResponse:d,forceUpdateRovingTabIndex:u}}})(r);return(e=>{const t=SS();e.root.className=te("fui-FlatTree",t,e.root.className)})(r),co("useFlatTreeStyles_unstable")(r),NS(r,o)});_S.displayName="FlatTree";const TS=mr("r1r98egg",null,['.r1r98egg{display:grid;grid-template-rows:1fr auto;grid-template-columns:auto auto 1fr auto;grid-template-areas:"expandIcon media main aside" "expandIcon media description aside";align-items:center;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}',".r1r98egg:active{color:var(--colorNeutralForeground2Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1r98egg:active .fui-TreeItemPersonaLayout__expandIcon{color:var(--colorNeutralForeground3Pressed);}",".r1r98egg:hover{color:var(--colorNeutralForeground2Hover);background-color:var(--colorSubtleBackgroundHover);}",".r1r98egg:hover .fui-TreeItemPersonaLayout__expandIcon{color:var(--colorNeutralForeground3Hover);}"]),qS=vr({leaf:{uwmqm3:["f1k1erfc","faevyjx"]},branch:{uwmqm3:["fo100m9","f6yw3pu"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},subtle:{},"subtle-alpha":{Jwef8y:"f146ro5n",ecr2s2:"fkam630"},transparent:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",ecr2s2:"fophhak"}},{d:[".f1k1erfc{padding-left:calc(var(--fluent-TreeItem--level, 1) * var(--spacingHorizontalXXL));}",".faevyjx{padding-right:calc(var(--fluent-TreeItem--level, 1) * var(--spacingHorizontalXXL));}",".fo100m9{padding-left:calc((var(--fluent-TreeItem--level, 1) - 1) * var(--spacingHorizontalXXL));}",".f6yw3pu{padding-right:calc((var(--fluent-TreeItem--level, 1) - 1) * var(--spacingHorizontalXXL));}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1pha7fy{min-height:24px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}"],h:[".f146ro5n:hover{background-color:var(--colorSubtleBackgroundLightAlphaHover);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}"],a:[".fkam630:active{background-color:var(--colorSubtleBackgroundLightAlphaPressed);}",".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}"]}),FS=mr("rkcde6g","r1e986zr",[".rkcde6g{display:flex;align-items:center;width:32px;height:32px;grid-area:media;padding:0 var(--spacingHorizontalXS) 0 var(--spacingHorizontalXXS);}",".r1e986zr{display:flex;align-items:center;width:32px;height:32px;grid-area:media;padding:0 var(--spacingHorizontalXXS) 0 var(--spacingHorizontalXS);}"]),DS=mr("r1qjtz99","rob5fcp",[".r1qjtz99{grid-area:main;padding:var(--spacingVerticalMNudge) var(--spacingHorizontalXS) var(--spacingVerticalMNudge) var(--spacingHorizontalS);}",".rob5fcp{grid-area:main;padding:var(--spacingVerticalMNudge) var(--spacingHorizontalS) var(--spacingVerticalMNudge) var(--spacingHorizontalXS);}"]),ES=vr({withDescription:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1625emv","f5y9hxg"]}},{d:[[".f1625emv{padding:var(--spacingVerticalMNudge) var(--spacingHorizontalXS) 0 var(--spacingHorizontalS);}",{p:-1}],[".f5y9hxg{padding:var(--spacingVerticalMNudge) var(--spacingHorizontalS) 0 var(--spacingHorizontalXS);}",{p:-1}]]}),PS=mr("r1bnsn1b","r13x7gq",[".r1bnsn1b{grid-area:description;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);padding:0 var(--spacingHorizontalXS) var(--spacingVerticalMNudge) var(--spacingHorizontalS);}",".r13x7gq{grid-area:description;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);padding:0 var(--spacingHorizontalS) var(--spacingVerticalMNudge) var(--spacingHorizontalXS);}"]),IS=mr("rzvs2in","r17h8a29",[".rzvs2in{display:flex;margin-left:auto;position:relative;z-index:1;grid-area:aside;padding:0 var(--spacingHorizontalS);}",".r17h8a29{display:flex;margin-right:auto;position:relative;z-index:1;grid-area:aside;padding:0 var(--spacingHorizontalS);}"]),OS=mr("r1825u21","rezy0yk",[".r1825u21{display:flex;margin-left:auto;align-items:center;z-index:0;grid-area:aside;padding:0 var(--spacingHorizontalM);gap:var(--spacingHorizontalXS);}",".rezy0yk{display:flex;margin-right:auto;align-items:center;z-index:0;grid-area:aside;padding:0 var(--spacingHorizontalM);gap:var(--spacingHorizontalXS);}"]),AS=mr("rn61xvs",null,[".rn61xvs{display:flex;align-items:center;justify-content:center;min-width:24px;box-sizing:border-box;color:var(--colorNeutralForeground3);grid-area:expandIcon;flex:0 0 auto;padding:var(--spacingVerticalXS) 0;}"]),RS=mr("r15xhw3a","r2f6k57",[".r15xhw3a{position:relative;cursor:pointer;display:flex;flex-direction:column;box-sizing:border-box;background-color:var(--colorSubtleBackground);color:var(--colorNeutralForeground2);padding-right:var(--spacingHorizontalNone);}",".r15xhw3a:focus{outline-style:none;}",".r15xhw3a:focus-visible{outline-style:none;}",".r15xhw3a[data-fui-focus-visible]>.fui-TreeItemLayout,.r15xhw3a[data-fui-focus-visible]>.fui-TreeItemPersonaLayout{border-radius:var(--borderRadiusMedium);outline-color:var(--colorStrokeFocus2);outline-radius:var(--borderRadiusMedium);outline-width:2px;outline-style:solid;}",".r2f6k57{position:relative;cursor:pointer;display:flex;flex-direction:column;box-sizing:border-box;background-color:var(--colorSubtleBackground);color:var(--colorNeutralForeground2);padding-left:var(--spacingHorizontalNone);}",".r2f6k57:focus{outline-style:none;}",".r2f6k57:focus-visible{outline-style:none;}",".r2f6k57[data-fui-focus-visible]>.fui-TreeItemLayout,.r2f6k57[data-fui-focus-visible]>.fui-TreeItemPersonaLayout{border-radius:var(--borderRadiusMedium);outline-color:var(--colorStrokeFocus2);outline-radius:var(--borderRadiusMedium);outline-width:2px;outline-style:solid;}"]),MS=vr({level1:{iytv0q:"f10bgyvd"},level2:{iytv0q:"f1h0rod3"},level3:{iytv0q:"fgoqafk"},level4:{iytv0q:"f75dvuh"},level5:{iytv0q:"fqk7yw6"},level6:{iytv0q:"f1r3z17b"},level7:{iytv0q:"f1hrpd1h"},level8:{iytv0q:"f1iy65d0"},level9:{iytv0q:"ftg42e5"},level10:{iytv0q:"fyat3t"}},{d:[".f10bgyvd{--fluent-TreeItem--level:1;}",".f1h0rod3{--fluent-TreeItem--level:2;}",".fgoqafk{--fluent-TreeItem--level:3;}",".f75dvuh{--fluent-TreeItem--level:4;}",".fqk7yw6{--fluent-TreeItem--level:5;}",".f1r3z17b{--fluent-TreeItem--level:6;}",".f1hrpd1h{--fluent-TreeItem--level:7;}",".f1iy65d0{--fluent-TreeItem--level:8;}",".ftg42e5{--fluent-TreeItem--level:9;}",".fyat3t{--fluent-TreeItem--level:10;}"]}),HS=u.forwardRef((e,t)=>{const r=function(e,t){Vj(e=>e.treeType);const r=Vj(e=>e.requestTreeResponse),o=Vj(e=>{var t;return null!==(t=e.navigationMode)&&void 0!==t?t:"tree"}),n=Vj(e=>e.forceUpdateRovingTabIndex),{level:a}=Nj(),i=Gj(t=>{var r;return null!==(r=e.parentValue)&&void 0!==r?r:t.value}),l=qo("fuiTreeItemValue-");var s;const c=null!==(s=e.value)&&void 0!==s?s:l,{onClick:d,onKeyDown:f,onChange:p,as:h="div",itemType:g="leaf","aria-level":v=a,"aria-selected":m,"aria-expanded":b,...C}=e,y=u.useRef(null),w=u.useRef(null),k=u.useRef(null),B=u.useRef(null),z=u.useRef(null),j=u.useRef(null);u.useEffect(()=>{null==n||n();const e=j.current;return()=>{e&&0===e.tabIndex&&(null==n||n())}},[n]);const S=Vj(t=>{var r;return null!==(r=e.open)&&void 0!==r?r:t.openItems.has(c)}),N=()=>"branch"===g?!S:S,_=Vj(e=>e.selectionMode),T=Vj(e=>{var t;return null!==(t=e.checkedItems.get(c))&&void 0!==t&&t}),q=So(t=>{var o;const n=null===(o=w.current)||void 0===o?void 0:o.contains(t.target);var a;y.current&&dn(y.current,t.target)||B.current&&dn(B.current,t.target)||(null===(a=z.current)||void 0===a?void 0:a.contains(t.target))||(n||null==d||d(t),t.isDefaultPrevented()||x.unstable_batchedUpdates(()=>{const o={event:t,value:c,open:N(),target:t.currentTarget,type:n?"ExpandIconClick":Dj};var a;"leaf"!==g&&(null===(a=e.onOpenChange)||void 0===a||a.call(e,t,o),r({...o,itemType:g,requestType:"open"})),r({...o,itemType:g,parentValue:i,requestType:"navigate",type:Dj})}))}),F=So(t=>{if(null==f||f(t),t.isDefaultPrevented()||!j.current)return;const n=t.currentTarget===t.target,a=y.current&&y.current.contains(t.target);switch(t.key){case Nc:if(!n)return;var l;return void("none"!==_&&(null===(l=z.current)||void 0===l||l.click(),t.preventDefault()));case Fj:if(!n)return;return t.currentTarget.click();case Ej:case Pj:case Ij:if(!n&&!a)return;return r({requestType:"navigate",event:t,value:c,itemType:g,parentValue:i,type:t.key,target:t.currentTarget});case Oj:if(!n&&!a)return;if(a&&(!Go(t.target)||t.target.hasAttribute("aria-haspopup")))return;return r({requestType:"navigate",event:t,value:c,itemType:g,parentValue:i,type:t.key,target:t.currentTarget});case Tj:{if(t.altKey)return;const l={value:c,event:t,open:N(),type:t.key,itemType:g,parentValue:i,target:t.currentTarget};if(a&&"treegrid"===o)return void r({...l,requestType:"navigate"});if(!n)return;if(1===v&&!S)return;var s;return S&&(null===(s=e.onOpenChange)||void 0===s||s.call(e,t,l)),void r({...l,requestType:S?"open":"navigate"})}case qj:{if(!n)return;if(t.altKey)return;const o={value:c,event:t,open:N(),type:t.key,target:t.currentTarget};var d;return void("branch"!==g||S?r({...o,itemType:g,parentValue:i,requestType:"navigate"}):(null===(d=e.onOpenChange)||void 0===d||d.call(e,t,o),r({...o,itemType:g,requestType:"open"})))}}n&&1===t.key.length&&t.key.match(/\w/)&&!t.altKey&&!t.ctrlKey&&!t.metaKey&&r({requestType:"navigate",event:t,target:t.currentTarget,value:c,itemType:g,type:Aj,parentValue:i})}),D=So(e=>{null==p||p(e),e.isDefaultPrevented()||B.current&&dn(B.current,e.target)||r({requestType:"selection",event:e,value:c,itemType:g,type:"Change",target:e.currentTarget,checked:"mixed"===T||!T})});return{value:c,open:S,checked:T,subtreeRef:B,layoutRef:k,selectionRef:z,expandIconRef:w,treeItemRef:j,actionsRef:y,itemType:g,level:v,components:{root:"div"},isAsideVisible:!1,isActionsVisible:!1,root:wr(Wr(h,{tabIndex:-1,[kS]:c,role:"treeitem",...C,ref:Fo(t,j),"aria-level":v,"aria-checked":"multiselect"===_?T:void 0,"aria-selected":void 0!==m?m:"single"===_?!!T:void 0,"aria-expanded":void 0!==b?b:"branch"===g?S:void 0,onClick:q,onKeyDown:F,onChange:D}),{elementType:"div"})}}(e,t);(e=>{const t=RS(),r=MS(),{level:o}=e;e.root.className=te("fui-TreeItem",t,function(e){return e>=1&&e<=10}(o)&&r[`level${o}`],e.root.className)})(r),co("useTreeItemStyles_unstable")(r);const o=function(e){const{value:t,itemType:r,layoutRef:o,subtreeRef:n,open:a,expandIconRef:i,actionsRef:l,treeItemRef:s,isActionsVisible:c,isAsideVisible:d,selectionRef:u,checked:f}=e;return{treeItem:{value:t,checked:f,itemType:r,layoutRef:o,subtreeRef:n,open:a,selectionRef:u,isActionsVisible:c,isAsideVisible:d,actionsRef:l,treeItemRef:s,expandIconRef:i}}}(r);return((e,t)=>gn(e.root,{children:gn(Uj,{value:t.treeItem,children:e.root.children})}))(r,o)});HS.displayName="TreeItem";const LS=u.forwardRef((e,t)=>{const r=((e,t)=>{const{media:r,children:o,main:n,description:a}=e,i=tS({...e,iconBefore:null,iconAfter:null},t),l=Vj(e=>e.size);return{...i,components:{expandIcon:"div",main:"div",description:"div",root:"div",media:"div",aside:"div",actions:"div",selector:"multiselect"===Vj(e=>e.selectionMode)?sb:ex},avatarSize:_j[l],main:wr(n,{defaultProps:{children:o},elementType:"div"}),media:wr(r,{elementType:"div"}),description:kr(a,{elementType:"div"})}})(e,t);(e=>{const t=TS(),r=qS(),o=FS(),n=PS(),a=IS(),i=OS(),l=AS(),s=DS(),c=ES(),d=Vj(e=>e.size),u=Vj(e=>e.appearance),f=Gj(e=>e.itemType);e.root.className=te("fui-TreeItemPersonaLayout",t,r[f],r[u],r[d],e.root.className),e.media.className=te("fui-TreeItemPersonaLayout__media",o,e.media.className),e.main&&(e.main.className=te("fui-TreeItemPersonaLayout__main",s,e.description&&c.withDescription,e.main.className)),e.description&&(e.description.className=te("fui-TreeItemPersonaLayout__description",n,e.description.className)),e.actions&&(e.actions.className=te("fui-TreeItemPersonaLayout__actions",a,e.actions.className)),e.aside&&(e.aside.className=te("fui-TreeItemPersonaLayout__aside",i,e.aside.className)),e.expandIcon&&(e.expandIcon.className=te("fui-TreeItemPersonaLayout__expandIcon",l,e.expandIcon.className)),e.selector&&(e.selector.className=te("fui-TreeItemPersonaLayout__selector",e.selector.className))})(r),co("useTreeItemPersonaLayoutStyles_unstable")(r);const o=function(e){const{avatarSize:t}=e;return{avatar:u.useMemo(()=>({size:t}),[t])}}(r);return((e,t)=>vn(e.root,{children:[e.expandIcon&&gn(e.expandIcon,{}),e.selector&&gn(e.selector,{}),gn(Vp,{value:t.avatar,children:gn(e.media,{})}),gn(e.main,{}),e.description&&gn(e.description,{}),vn(rm,{value:e.buttonContextValue,children:[e.actions&&gn(e.actions,{}),e.aside&&gn(e.aside,{})]})]}))(r,o)});LS.displayName="TreeItemPersonaLayout";const VS=u.createContext(void 0),WS={handleTagDismiss:()=>({}),size:"medium",role:"toolbar",handleTagSelect:void 0},ZS=VS.Provider,US=()=>{var e;return null!==(e=u.useContext(VS))&&void 0!==e?e:WS},GS={medium:28,small:20,"extra-small":16},XS={rounded:"square",circular:"circular"},$S=mr("r18f5o0q","r1u2q8zc",{r:['.r18f5o0q{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r18f5o0q[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r1u2q8zc{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r1u2q8zc[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.r18f5o0q{position:relative;}.r18f5o0q::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-left-radius:var(--borderRadiusMedium);border-top-right-radius:var(--borderRadiusMedium);}}','@media (forced-colors: active){.r1u2q8zc{position:relative;}.r1u2q8zc::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-right-radius:var(--borderRadiusMedium);border-top-left-radius:var(--borderRadiusMedium);}}']}),KS=mr("r1mko7zc","r1wx1e29",{r:['.r1mko7zc{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r1mko7zc[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r1wx1e29{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r1wx1e29[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.r1mko7zc{position:relative;}.r1mko7zc::before{content:"";border-top:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-radius:var(--borderRadiusCircular);}}','@media (forced-colors: active){.r1wx1e29{position:relative;}.r1wx1e29::before{content:"";border-top:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-radius:var(--borderRadiusCircular);}}']}),YS=vr({filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb"},outline:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"]},brand:{De3pzq:"f16xkysk",sj55zd:"faj9fo0"},selected:{De3pzq:"ffp7eso",sj55zd:"f1phragk",g2u3we:"fk9qgl1",h3c5rm:["f1vfbj5f","f1qpacp7"],B9xav0g:"fdf0ba2",zhjwy3:["f1qpacp7","f1vfbj5f"],B8gzw0y:"f1h3a8gf",By8wz76:"f1nz3ub2",B7iucu3:"fqc85l4"},medium:{Bqenvij:"f1d2rq10"},small:{Bqenvij:"frvgh55"},"extra-small":{qhf8xq:"f10pi13n",Bqenvij:"fjamq6b",Ie5t1m:"fru8nlv",G6hvz8:"f5nasji",wgw0td:"f45hpys",Bbwa3xj:["f1sbfcjn","f1le4i14"],m3mfg4:"fq6y7a1",B9s7hj8:"f1jr4pq3",B9e1dac:"f1tfer7m"}},{d:[".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fk9qgl1{border-top-color:var(--colorBrandStroke1);}",".f1vfbj5f{border-right-color:var(--colorBrandStroke1);}",".f1qpacp7{border-left-color:var(--colorBrandStroke1);}",".fdf0ba2{border-bottom-color:var(--colorBrandStroke1);}",".f1d2rq10{height:32px;}",".frvgh55{height:24px;}",".f10pi13n{position:relative;}",".fjamq6b{height:20px;}"],m:[["@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: none){.fru8nlv:before,.fru8nlv:after{content:"";}}',{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f5nasji:before,.f5nasji:after{position:absolute;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f45hpys:before,.f45hpys:after{height:2px;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1le4i14:before,.f1le4i14:after{right:0;}.f1sbfcjn:before,.f1sbfcjn:after{left:0;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.fq6y7a1:before,.fq6y7a1:after{width:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1jr4pq3:before{bottom:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1tfer7m:after{top:100%;}}",{m:"(forced-colors: none)"}]]}),JS=vr({filled:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]},outline:{Bceei9c:"fdrzuqr",De3pzq:"fhovq9v",sj55zd:"f1s2aq7o",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"]},brand:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]}},{d:[".fdrzuqr{cursor:not-allowed;}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".f250w3l{border-bottom-color:var(--colorTransparentStrokeDisabled);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"]}),QS=vr({medium:{uwmqm3:["f1rtp3s9","f18k1jr3"]},small:{uwmqm3:["f15vdbe4","fwiuce9"]},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"]}},{d:[".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}"]}),eN=vr({medium:{z189sj:["f18k1jr3","f1rtp3s9"]},small:{z189sj:["fwiuce9","f15vdbe4"]},"extra-small":{z189sj:["fwiuce9","f15vdbe4"]}},{d:[".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}"]}),tN=vr({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",B7ck84d:"f1e4lqlz"},medium:{uwmqm3:["f1rtp3s9","f18k1jr3"],z189sj:["f7x41pl","fruq291"],a9b677:"f64fuq3",Be2twd7:"fe5j1ua"},small:{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"fjw5fx7",Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"frx94fk",Be2twd7:"f1ugzwwg"}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f1e4lqlz{box-sizing:content-box;}",".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f64fuq3{width:20px;}",".fe5j1ua{font-size:20px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".fjw5fx7{width:16px;}",".f4ybsrx{font-size:16px;}",".frx94fk{width:12px;}",".f1ugzwwg{font-size:12px;}"]}),rN=vr({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",uwmqm3:["f10xn8zz","f136y8j8"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},small:{z189sj:["fdw0yi8","fk8j09s"]},"extra-small":{z189sj:["fdw0yi8","fk8j09s"]}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f10xn8zz{padding-left:1px;}",".f136y8j8{padding-right:1px;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}"]}),oN=vr({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1k1gsvr",mc9l5x:"f22iagw",Bahaeuw:"f1v3eptx",Boo3t63:"f1rfz71x"},medium:{uwmqm3:["fruq291","f7x41pl"],z189sj:["f18k1jr3","f1rtp3s9"],Be2twd7:"fe5j1ua"},small:{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f1ugzwwg"},filled:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},outline:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},brand:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},selected:{Bi91k9c:"f1rq72xc",lj723h:"f18otbis"}},{d:[[".f1k1gsvr{grid-area:dismissIcon;}",{p:-1}],".f22iagw{display:flex;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fe5j1ua{font-size:20px;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".f4ybsrx{font-size:16px;}",".f1ugzwwg{font-size:12px;}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rfz71x:active{color:Highlight;}}",{m:"(forced-colors: active)"}]],h:[".f8491dx:hover{cursor:pointer;}",".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}"],a:[".fryz5bw:active{color:var(--colorCompoundBrandForeground1Pressed);}",".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}"]}),nN=vr({base:{Huce71:"fz5stix",uwmqm3:["fgiv446","ffczdla"],z189sj:["ffczdla","fgiv446"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},withoutSecondaryText:{Br312pm:"faqcfhe",Ijaq50:"f1q3ipgb",nk6f5a:"fc0ab3q",Byoj8tv:"f1g03r3y"},withSecondaryText:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1ebragv",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",B6of3ja:"f1ryq6si"}},{d:[".fz5stix{white-space:nowrap;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".faqcfhe{grid-column-start:primary;}",".f1q3ipgb{grid-row-start:primary;}",".fc0ab3q{grid-row-end:secondary;}",".f1g03r3y{padding-bottom:var(--spacingHorizontalXXS);}",[".f1ebragv{grid-area:primary;}",{p:-1}],".f1ryq6si{margin-top:-2px;}"]}),aN=mr("r7hv1ps","rnrslm9",[".r7hv1ps{grid-area:secondary;padding-left:var(--spacingHorizontalXXS);padding-right:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}",".rnrslm9{grid-area:secondary;padding-right:var(--spacingHorizontalXXS);padding-left:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}"]);function iN(e){const{avatarSize:t,avatarShape:r}=e;return{avatar:u.useMemo(()=>({size:t,shape:r}),[r,t])}}const lN=u.forwardRef((e,t)=>{const r=((e,t)=>{const{handleTagDismiss:r,size:o,disabled:n,appearance:a,dismissible:i,role:l}=US(),s=qo("fui-Tag",e.id),{appearance:c=(null!=a?a:"filled"),disabled:d=!1,dismissible:f=null!=i&&i,selected:p,shape:h="rounded",size:g=o,value:v=s}=e,m=So(t=>{var o;null===(o=e.onClick)||void 0===o||o.call(e,t),t.defaultPrevented||null==r||r(t,{value:v})}),b=So(t=>{var o;null==e||null===(o=e.onKeyDown)||void 0===o||o.call(e,t),t.defaultPrevented||t.key!==Rc&&t.key!==Ac||null==r||r(t,{value:v})}),C=f?"button":"span",y="listbox"===l?"aria-selected":"aria-pressed",x="boolean"==typeof p||"listbox"===l;return{appearance:c,avatarShape:XS[h],avatarSize:GS[g],disabled:!!n||d,dismissible:f,selected:!!p,shape:h,size:g,components:{root:C,media:"span",icon:"span",primaryText:"span",secondaryText:"span",dismissIcon:"span"},root:wr(Wr(C,{ref:t,role:"listbox"===l?"option":void 0,[y]:x?p:void 0,...e,disabled:!!n||d,id:s,...f&&{onClick:m,onKeyDown:b}}),{defaultProps:{type:"button"===C?"button":void 0},elementType:C}),media:kr(e.media,{elementType:"span"}),icon:kr(e.icon,{elementType:"span"}),primaryText:kr(e.primaryText,{renderByDefault:!0,defaultProps:{children:e.children},elementType:"span"}),secondaryText:kr(e.secondaryText,{elementType:"span"}),dismissIcon:kr(e.dismissIcon,{renderByDefault:f,defaultProps:{children:u.createElement(Id,null)},elementType:"span"})}})(e,t);return(e=>{const t=$S(),r=KS(),o=YS(),n=JS(),a=QS(),i=eN(),l=tN(),s=rN(),c=oN(),d=nN(),u=aN(),{disabled:f,shape:p,size:h,appearance:g,selected:v}=e;e.root.className=te("fui-Tag","rounded"===p?t:r,f?n[g]:o[g],v&&!f&&o.selected,o[h],!e.media&&!e.icon&&a[h],!e.dismissIcon&&i[h],e.root.className),e.media&&(e.media.className=te("fui-Tag__media",s.base,s[h],e.media.className)),e.icon&&(e.icon.className=te("fui-Tag__icon",l.base,l[h],e.icon.className)),e.primaryText&&(e.primaryText.className=te("fui-Tag__primaryText",d.base,d[h],e.secondaryText?d.withSecondaryText:d.withoutSecondaryText,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=te("fui-Tag__secondaryText",u,e.secondaryText.className)),e.dismissIcon&&(e.dismissIcon.className=te("fui-Tag__dismissIcon",c.base,c[h],!f&&c[g],v&&!f&&c.selected,e.dismissIcon.className))})(r),co("useTagStyles_unstable")(r),((e,t)=>vn(e.root,{children:[e.media&&gn(Vp,{value:t.avatar,children:gn(e.media,{})}),e.icon&&gn(e.icon,{}),e.primaryText&&gn(e.primaryText,{}),e.secondaryText&&gn(e.secondaryText,{}),e.dismissIcon&&e.dismissible&&gn(e.dismissIcon,{})]}))(r,iN(r))});lN.displayName="Tag";const sN=u.createContext(void 0),cN={appearance:"filled",disabled:!1,handleTagDismiss:()=>({}),handleTagSelect:()=>({}),interactionTagPrimaryId:"",selected:!1,selectedValues:[],shape:"rounded",size:"medium",value:""},dN=sN.Provider,uN=()=>{var e;return null!==(e=u.useContext(sN))&&void 0!==e?e:cN},fN=mr("r1y684pp",null,[".r1y684pp{display:inline-flex;align-items:center;box-sizing:border-box;width:fit-content;}"]),pN=vr({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},medium:{Bqenvij:"f1d2rq10"},small:{Bqenvij:"frvgh55"},"extra-small":{Bqenvij:"fjamq6b"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],".f1d2rq10{height:32px;}",".frvgh55{height:24px;}",".fjamq6b{height:20px;}"]}),hN=u.forwardRef((e,t)=>{const r=((e,t)=>{const{handleTagDismiss:r,handleTagSelect:o,size:n,disabled:a,appearance:i,selectedValues:l=[]}=US(),s=qo("fui-InteractionTag-",e.id),c=qo("fui-InteractionTagPrimary-"),{appearance:d=(null!=i?i:"filled"),disabled:u=!1,selected:f=!1,shape:p="rounded",size:h=n,value:g=s}=e;return{appearance:d,disabled:!!a||u,handleTagDismiss:r,handleTagSelect:o,interactionTagPrimaryId:c,selected:l.includes(g)||f,selectedValues:l,shape:p,size:h,value:g,components:{root:"div"},root:wr(Wr("div",{ref:t,...e,disabled:!!a||u,id:s}),{elementType:"div"})}})(e,t);return(e=>{const t=fN(),r=pN(),{shape:o,size:n}=e;e.root.className=te("fui-InteractionTag",t,r[o],r[n],e.root.className)})(r),co("useInteractionTagStyles_unstable")(r),((e,t)=>gn(dN,{value:t.interactionTag,children:gn(e.root,{})}))(r,function(e){const{appearance:t,disabled:r,handleTagDismiss:o,handleTagSelect:n,interactionTagPrimaryId:a,selected:i,selectedValues:l,shape:s,size:c,value:d}=e;return{interactionTag:u.useMemo(()=>({appearance:t,disabled:r,handleTagDismiss:o,handleTagSelect:n,interactionTagPrimaryId:a,selected:i,selectedValues:l,shape:s,size:c,value:d}),[t,r,o,n,a,i,l,s,c,d])}}(r))});hN.displayName="InteractionTag";const gN={medium:28,small:20,"extra-small":16},vN={rounded:"square",circular:"circular"},mN=mr("r22quyo","r1yd8tpa",{r:['.r22quyo{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:inline-grid;height:100%;align-items:center;grid-template-areas:"media primary " "media secondary";border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r22quyo[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);z-index:1;}",'.r1yd8tpa{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:inline-grid;height:100%;align-items:center;grid-template-areas:"media primary " "media secondary";border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r1yd8tpa[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);z-index:1;}"],s:['@media (forced-colors: active){.r22quyo{position:relative;}.r22quyo::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-left-radius:var(--borderRadiusMedium);border-top-right-radius:var(--borderRadiusMedium);}}','@media (forced-colors: active){.r1yd8tpa{position:relative;}.r1yd8tpa::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-right-radius:var(--borderRadiusMedium);border-top-left-radius:var(--borderRadiusMedium);}}']}),bN=mr("r132q0f6","r15qe99u",{r:['.r132q0f6{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:inline-grid;height:100%;align-items:center;grid-template-areas:"media primary " "media secondary";border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r132q0f6[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);z-index:1;}",'.r15qe99u{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:inline-grid;height:100%;align-items:center;grid-template-areas:"media primary " "media secondary";border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r15qe99u[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);z-index:1;}"],s:['@media (forced-colors: active){.r132q0f6{position:relative;}.r132q0f6::before{content:"";border-top:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-left-radius:var(--borderRadiusCircular);border-bottom-left-radius:var(--borderRadiusCircular);}}','@media (forced-colors: active){.r15qe99u{position:relative;}.r15qe99u::before{content:"";border-top:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-right-radius:var(--borderRadiusCircular);border-bottom-right-radius:var(--borderRadiusCircular);}}']}),CN=vr({withoutSecondaryAction:{Bvgf1ty:"f135udas",Cqojjj:0,dd5wkx:0,Bdzpf8n:0,ibz501:["f1i3lrd2","fbpt94e"],Bs8828g:["f14bn3u","fdhx3t9"],Bn0yx1x:["fu87gj3","f631p13"]}},{m:[["@media (forced-colors: active){.f135udas{position:relative;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i3lrd2::before{border-right:var(--strokeWidthThin) solid transparent;}.fbpt94e::before{border-left:var(--strokeWidthThin) solid transparent;}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bn3u::before{border-top-right-radius:var(--borderRadiusCircular);}.fdhx3t9::before{border-top-left-radius:var(--borderRadiusCircular);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f631p13::before{border-bottom-left-radius:var(--borderRadiusCircular);}.fu87gj3::before{border-bottom-right-radius:var(--borderRadiusCircular);}}",{m:"(forced-colors: active)"}]]}),yN=vr({filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb",eoavqd:"f8491dx",Jwef8y:"f1h648pw",Bi91k9c:"fnwyq0v",ecr2s2:"fwdzr64",lj723h:"flvvhsy",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},outline:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],eoavqd:"f8491dx",Jwef8y:"f1t94bn6",Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",I6i3kg:"fqbfmpb",Bmfj8id:"fuxngvv",ecr2s2:"f1wfn5kd",lj723h:"flvvhsy",Bnrwwps:"fvpl5sy",weioyw:"f1xblose",Bpre390:"f8upcvr",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},brand:{De3pzq:"f16xkysk",sj55zd:"faj9fo0",eoavqd:"f8491dx",Jwef8y:"f1yj72w4",Bi91k9c:"f3ymbdj",ecr2s2:"fy3sl2y",lj723h:"fryz5bw",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},selected:{Bgh53k4:0,B2eet1l:0,De3pzq:0,Bcmaq0h:0,gk0gix:0,B20660r:0,B8a6bjv:0,Bpptf2m:0,e5kdtc:0,Bkjc3bi:0,ayd6f0:"f1tdnksq",sj55zd:"f1phragk",g2u3we:"fk9qgl1",h3c5rm:["f1vfbj5f","f1qpacp7"],B9xav0g:"fdf0ba2",zhjwy3:["f1qpacp7","f1vfbj5f"],B8gzw0y:"f1h3a8gf",By8wz76:"f1nz3ub2",B7iucu3:"fqc85l4",Jwef8y:"f15wkkf3",Bi91k9c:"f1rq72xc",I6i3kg:"f10jvnl4",Bbkh6qg:"f1tx4pjd",Bahaeuw:"fu37p9p",ecr2s2:"fsp1bjw",lj723h:"f18otbis",weioyw:"f3wpj5r",Cnge2b:"f16z8z4r",Boo3t63:"f7ydw7o"},medium:{z189sj:["f18k1jr3","f1rtp3s9"]},small:{z189sj:["fwiuce9","f15vdbe4"]},"extra-small":{z189sj:["fwiuce9","f15vdbe4"],qhf8xq:"f10pi13n",Ie5t1m:"fru8nlv",G6hvz8:"f5nasji",wgw0td:"f45hpys",Bbwa3xj:["f1sbfcjn","f1le4i14"],m3mfg4:"fq6y7a1",B9s7hj8:"f1jr4pq3",B9e1dac:"f1tfer7m"}},{d:[".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",[".f1tdnksq{background:var(--colorBrandBackground);}",{p:-2}],".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fk9qgl1{border-top-color:var(--colorBrandStroke1);}",".f1vfbj5f{border-right-color:var(--colorBrandStroke1);}",".f1qpacp7{border-left-color:var(--colorBrandStroke1);}",".fdf0ba2{border-bottom-color:var(--colorBrandStroke1);}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".f10pi13n{position:relative;}"],h:[".f8491dx:hover{cursor:pointer;}",".f1h648pw:hover{background-color:var(--colorNeutralBackground3Hover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fqbfmpb:hover .fui-Icon-filled{color:var(--colorNeutralForeground2BrandHover);}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".f1yj72w4:hover{background-color:var(--colorBrandBackground2Hover);}",".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f10jvnl4:hover .fui-Icon-filled{color:var(--colorNeutralForegroundOnBrand);}"],a:[".fwdzr64:active{background-color:var(--colorNeutralBackground3Pressed);}",".flvvhsy:active{color:var(--colorNeutralForeground2Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".fvpl5sy:active .fui-Icon-filled{display:inline;}",".f1xblose:active .fui-Icon-filled{color:var(--colorNeutralForeground2BrandPressed);}",".f8upcvr:active .fui-Icon-regular{display:none;}",".fy3sl2y:active{background-color:var(--colorBrandBackground2Pressed);}",".fryz5bw:active{color:var(--colorCompoundBrandForeground1Pressed);}",".fsp1bjw:active{background-color:var(--colorBrandBackgroundPressed);}",".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}",".f3wpj5r:active .fui-Icon-filled{color:var(--colorNeutralForegroundOnBrand);}"],m:[["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8zknr1:active{background-color:HighlightText;}}",{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){.f1tx4pjd:hover{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fu37p9p:hover{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16z8z4r:active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f7ydw7o:active{color:HighlightText;}}",{m:"(forced-colors: active)"}],['@media (forced-colors: none){.fru8nlv:before,.fru8nlv:after{content:"";}}',{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f5nasji:before,.f5nasji:after{position:absolute;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f45hpys:before,.f45hpys:after{height:2px;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1le4i14:before,.f1le4i14:after{right:0;}.f1sbfcjn:before,.f1sbfcjn:after{left:0;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.fq6y7a1:before,.fq6y7a1:after{width:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1jr4pq3:before{bottom:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1tfer7m:after{top:100%;}}",{m:"(forced-colors: none)"}]]}),xN=vr({filled:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]},outline:{Bceei9c:"fdrzuqr",De3pzq:"fhovq9v",sj55zd:"f1s2aq7o",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"]},brand:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]}},{d:[".fdrzuqr{cursor:not-allowed;}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".f250w3l{border-bottom-color:var(--colorTransparentStrokeDisabled);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"]}),wN=vr({medium:{uwmqm3:["f1rtp3s9","f18k1jr3"]},small:{uwmqm3:["f15vdbe4","fwiuce9"]},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"]}},{d:[".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}"]}),kN=vr({base:{B7oj6ja:["f3fg2lr","f13av6d4"],Bbmb7ep:["fzi6hpg","fyowgf4"],vrafjx:["f1n71otn","f1deefiw"],B6xbmo0:["f146y5a9","f1k2ftg"],kdpuga:["f1ndz5i7","f1co4qro"],Bs8828g:["fyvfifd","fbkbt8g"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},small:{z189sj:["fdw0yi8","fk8j09s"]},"extra-small":{z189sj:["fdw0yi8","fk8j09s"]}},{d:[".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f146y5a9[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusNone);}",".f1k2ftg[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusNone);}",".f1ndz5i7[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusNone);}",".f1co4qro[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusNone);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}"],m:[["@media (forced-colors: active){.fbkbt8g::before{border-top-left-radius:0;}.fyvfifd::before{border-top-right-radius:0;}}",{m:"(forced-colors: active)"}]]}),BN=u.forwardRef((e,t)=>{const r=((e,t)=>{const{appearance:r,disabled:o,handleTagSelect:n,interactionTagPrimaryId:a,selected:i,selectedValues:l,shape:s,size:c,value:d}=uN(),{hasSecondaryAction:u=!1}=e,f=So(Uo(null==e?void 0:e.onClick,e=>null==n?void 0:n(e,{type:"click",event:e,value:d,selectedValues:l})));return{appearance:r,avatarShape:vN[s],avatarSize:gN[c],disabled:o,hasSecondaryAction:u,selected:i,shape:s,size:c,components:{root:"button",media:"span",icon:"span",primaryText:"span",secondaryText:"span"},root:wr(Wr("button",{ref:t,disabled:o,id:a,...void 0!==n&&{"aria-pressed":i},onClick:f,...e}),{elementType:"button"}),media:kr(e.media,{elementType:"span"}),icon:kr(e.icon,{elementType:"span"}),primaryText:kr(e.primaryText,{renderByDefault:!0,defaultProps:{children:e.children},elementType:"span"}),secondaryText:kr(e.secondaryText,{elementType:"span"})}})(e,t);return(e=>{const t=mN(),r=bN(),o=yN(),n=xN(),a=wN(),i=kN(),l=tN(),s=rN(),c=nN(),d=aN(),u=CN(),{disabled:f,shape:p,size:h,appearance:g,selected:v}=e;e.root.className=te("fui-InteractionTagPrimary","rounded"===p?t:r,"circular"===p&&!e.hasSecondaryAction&&u.withoutSecondaryAction,f?n[g]:o[g],v&&!f&&o.selected,o[h],!e.media&&!e.icon&&a[h],e.hasSecondaryAction&&i.base,e.hasSecondaryAction&&i[h],e.root.className),e.media&&(e.media.className=te("fui-InteractionTagPrimary__media",s.base,s[h],e.media.className)),e.icon&&(e.icon.className=te("fui-InteractionTagPrimary__icon",l.base,l[h],e.icon.className)),e.primaryText&&(e.primaryText.className=te("fui-InteractionTagPrimary__primaryText",c.base,c[h],e.secondaryText?c.withSecondaryText:c.withoutSecondaryText,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=te("fui-InteractionTagPrimary__secondaryText",d,e.secondaryText.className))})(r),co("useInteractionTagPrimaryStyles_unstable")(r),((e,t)=>vn(e.root,{children:[e.media&&gn(Vp,{value:t.avatar,children:gn(e.media,{})}),e.icon&&gn(e.icon,{}),e.primaryText&&gn(e.primaryText,{}),e.secondaryText&&gn(e.secondaryText,{})]}))(r,iN(r))});BN.displayName="InteractionTagPrimary";const zN="fui-InteractionTagSecondary",jN=mr("rxqbxwz","rdjx360",[".rxqbxwz{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:flex;height:100%;align-items:center;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-left-color:var(--colorNeutralStroke1);border-top-left-radius:var(--borderRadiusNone);border-bottom-left-radius:var(--borderRadiusNone);}",".rxqbxwz[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",".rdjx360{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:flex;height:100%;align-items:center;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-right-color:var(--colorNeutralStroke1);border-top-right-radius:var(--borderRadiusNone);border-bottom-right-radius:var(--borderRadiusNone);}",".rdjx360[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),SN=vr({filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb",B4j52fo:"fre7gi1",Bn0qgzm:"fqdk4by",eoavqd:"f8491dx",Jwef8y:"f1h648pw",Bi91k9c:"f139oj5f",ecr2s2:"fwdzr64",lj723h:"f19au66r",kr9cjb:"fmvl6o9",u9orzk:"fb8cdra",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},outline:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],eoavqd:"f8491dx",Jwef8y:"f1t94bn6",Bi91k9c:"f139oj5f",ecr2s2:"f1wfn5kd",lj723h:"f19au66r",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},brand:{De3pzq:"f16xkysk",sj55zd:"faj9fo0",zhjwy3:["f1sl6hi9","f1c8dzaj"],B4j52fo:"fre7gi1",Bn0qgzm:"fqdk4by",eoavqd:"f8491dx",Jwef8y:"f1yj72w4",Bi91k9c:"f3ymbdj",ecr2s2:"fy3sl2y",lj723h:"fryz5bw",kr9cjb:"fmvl6o9",u9orzk:"fb8cdra",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},selected:{Bgh53k4:0,B2eet1l:0,De3pzq:0,Bcmaq0h:0,gk0gix:0,B20660r:0,B8a6bjv:0,Bpptf2m:0,e5kdtc:0,Bkjc3bi:0,ayd6f0:"f1tdnksq",sj55zd:"f1phragk",g2u3we:"fk9qgl1",h3c5rm:["f1vfbj5f","f1qpacp7"],B9xav0g:"fdf0ba2",zhjwy3:["f4j9k2g","f1mg2euo"],B8gzw0y:"f1h3a8gf",By8wz76:"f1nz3ub2",B7iucu3:"fqc85l4",Jwef8y:"f15wkkf3",Bi91k9c:"f1rq72xc",Bbkh6qg:"f1tx4pjd",Bahaeuw:"fu37p9p",ecr2s2:"fsp1bjw",lj723h:"f18otbis",Cnge2b:"f16z8z4r",Boo3t63:"f7ydw7o"},rounded:{B7oj6ja:["f1jar5jt","fyu767a"],Bbmb7ep:["f1aa9q02","f16jpd5f"]},circular:{B7oj6ja:["f1djnp8u","f1s8kh49"],Bbmb7ep:["f8fbkgy","f1nfllo7"]},medium:{Be2twd7:"fe5j1ua",uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["fwiuce9","f15vdbe4"]},small:{Be2twd7:"f4ybsrx",uwmqm3:["f2lugmd","f6zblan"],z189sj:["f6zblan","f2lugmd"]},"extra-small":{Be2twd7:"f1ugzwwg",uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["fwiuce9","f15vdbe4"],qhf8xq:"f10pi13n",Ie5t1m:"fru8nlv",G6hvz8:"f5nasji",wgw0td:"f45hpys",Bbwa3xj:["f1sbfcjn","f1le4i14"],m3mfg4:"fq6y7a1",B9s7hj8:"f1jr4pq3",B9e1dac:"f1tfer7m"}},{d:[".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fre7gi1{border-top-width:0;}",".fqdk4by{border-bottom-width:0;}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",[".f1tdnksq{background:var(--colorBrandBackground);}",{p:-2}],".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fk9qgl1{border-top-color:var(--colorBrandStroke1);}",".f1vfbj5f{border-right-color:var(--colorBrandStroke1);}",".f1qpacp7{border-left-color:var(--colorBrandStroke1);}",".fdf0ba2{border-bottom-color:var(--colorBrandStroke1);}",".f4j9k2g{border-left-color:var(--colorNeutralStrokeOnBrand2);}",".f1mg2euo{border-right-color:var(--colorNeutralStrokeOnBrand2);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1djnp8u{border-top-right-radius:var(--borderRadiusCircular);}",".f1s8kh49{border-top-left-radius:var(--borderRadiusCircular);}",".f8fbkgy{border-bottom-right-radius:var(--borderRadiusCircular);}",".f1nfllo7{border-bottom-left-radius:var(--borderRadiusCircular);}",".fe5j1ua{font-size:20px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}",".f4ybsrx{font-size:16px;}",".f2lugmd{padding-left:3px;}",".f6zblan{padding-right:3px;}",".f1ugzwwg{font-size:12px;}",".f10pi13n{position:relative;}"],h:[".f8491dx:hover{cursor:pointer;}",".f1h648pw:hover{background-color:var(--colorNeutralBackground3Hover);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".f1yj72w4:hover{background-color:var(--colorBrandBackground2Hover);}",".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}"],a:[".fwdzr64:active{background-color:var(--colorNeutralBackground3Pressed);}",".f19au66r:active{color:var(--colorNeutralForeground2BrandPressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".fy3sl2y:active{background-color:var(--colorBrandBackground2Pressed);}",".fryz5bw:active{color:var(--colorCompoundBrandForeground1Pressed);}",".fsp1bjw:active{background-color:var(--colorBrandBackgroundPressed);}",".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}"],m:[["@media (forced-colors: active){.fmvl6o9{border-top-width:var(--strokeWidthThin);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb8cdra{border-bottom-width:var(--strokeWidthThin);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8zknr1:active{background-color:HighlightText;}}",{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){.f1tx4pjd:hover{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fu37p9p:hover{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16z8z4r:active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f7ydw7o:active{color:HighlightText;}}",{m:"(forced-colors: active)"}],['@media (forced-colors: none){.fru8nlv:before,.fru8nlv:after{content:"";}}',{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f5nasji:before,.f5nasji:after{position:absolute;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f45hpys:before,.f45hpys:after{height:2px;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1le4i14:before,.f1le4i14:after{right:0;}.f1sbfcjn:before,.f1sbfcjn:after{left:0;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.fq6y7a1:before,.fq6y7a1:after{width:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1jr4pq3:before{bottom:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1tfer7m:after{top:100%;}}",{m:"(forced-colors: none)"}]]}),NN=vr({filled:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fy0fskl","f15xbau"]},outline:{Bceei9c:"fdrzuqr",De3pzq:"fhovq9v",sj55zd:"f1s2aq7o",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"]},brand:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fy0fskl","f15xbau"]}},{d:[".fdrzuqr{cursor:not-allowed;}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".f250w3l{border-bottom-color:var(--colorTransparentStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"]}),_N=u.forwardRef((e,t)=>{const r=((e,t)=>{const{appearance:r,disabled:o,handleTagDismiss:n,interactionTagPrimaryId:a,selected:i,shape:l,size:s,value:c}=uN(),d=qo("fui-InteractionTagSecondary-",e.id),f=So(t=>{var r;null==e||null===(r=e.onClick)||void 0===r||r.call(e,t),t.defaultPrevented||null==n||n(t,{value:c})}),p=So(t=>{var r;null==e||null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.defaultPrevented||t.key!==Rc&&t.key!==Ac||null==n||n(t,{value:c})});return{appearance:r,disabled:o,selected:i,shape:l,size:s,components:{root:"button"},root:wr(Wr("button",{children:u.createElement(Id,null),type:"button",disabled:o,ref:t,"aria-labelledby":`${a} ${d}`,...e,id:d,onClick:f,onKeyDown:p}),{elementType:"button"})}})(e,t);return(e=>{const t=jN(),r=SN(),o=NN(),{disabled:n,selected:a,shape:i,size:l,appearance:s}=e;e.root.className=te(zN,t,n?o[s]:r[s],r[i],r[l],a&&!n&&r.selected,e.root.className)})(r),co("useInteractionTagSecondaryStyles_unstable")(r),(e=>gn(e.root,{}))(r)});_N.displayName="InteractionTagSecondary";const TN=(e,t)=>{const{onDismiss:r,disabled:o=!1,defaultSelectedValues:n,size:a="medium",appearance:i="filled",dismissible:l=!1,role:s="toolbar",onTagSelect:c,selectedValues:d,...f}=e,p=u.useRef(void 0),{targetDocument:h}=ro(),{findNextFocusable:g,findPrevFocusable:v}=zi(),[m,b]=yo({defaultState:n,state:d,initialState:[]}),C=So((e,t)=>{var o;null==r||r(e,t);const n=null==h?void 0:h.activeElement;if(null===(o=p.current)||void 0===o?void 0:o.contains(n)){const e=g(n,{container:p.current});if(e)return void e.focus();if(null==n?void 0:n.className.includes(zN)){const e=v(n.parentElement,{container:p.current});null==e||e.focus()}else{const e=v(n,{container:p.current});null==e||e.focus()}}}),y=So(Uo(c,(e,t)=>{m.includes(t.value)?b(m.filter(e=>e!==t.value)):b([...m,t.value])})),x=xi({circular:!0,axis:"both",memorizeCurrent:!0});return{handleTagDismiss:C,handleTagSelect:c?y:void 0,selectedValues:m,role:s,size:a,disabled:o,appearance:i,dismissible:l,components:{root:"div"},root:wr(Wr("div",{ref:Fo(t,p),role:s,"aria-disabled":o,...x,...f}),{elementType:"div"})}},qN=(e,t)=>gn(ZS,{value:t.tagGroup,children:gn(e.root,{})}),FN=vr({base:{mc9l5x:"ftuwxu6"},medium:{i8kkvl:"fsnqrgy"},small:{i8kkvl:"f1rjii52"},"extra-small":{i8kkvl:"f1ufnopg"}},{d:[".ftuwxu6{display:inline-flex;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}"]}),DN=e=>{const t=FN(),{size:r}=e;return e.root.className=te("fui-TagGroup",t.base,t[r],e.root.className),e};function EN(e){const{handleTagDismiss:t,handleTagSelect:r,selectedValues:o,size:n,disabled:a,appearance:i,dismissible:l,role:s}=e;return{tagGroup:u.useMemo(()=>({handleTagDismiss:t,handleTagSelect:r,selectedValues:o,size:n,disabled:a,appearance:i,dismissible:l,role:s}),[t,r,o,n,a,i,l,s])}}function PN(e){switch(e){case"info":return u.createElement(fd,null);case"warning":return u.createElement(cd,null);case"error":return u.createElement(Ed,null);case"success":return u.createElement(Sd,null);default:return null}}u.forwardRef((e,t)=>{const r=TN(e,t);return DN(r),co("useTagGroupStyles_unstable")(r),qN(r,EN(r))}).displayName="TagGroup";const IN=u.createContext(void 0),ON={className:"",nodeRef:u.createRef()},AN=(IN.Provider,(e,t)=>{const{layout:r="auto",intent:o="info",politeness:n,shape:a="rounded"}=e,i=(null!=n?n:"info"===o)?"polite":"assertive",l="auto"===r,{ref:s,reflowing:c}=function(e=!1){const{targetDocument:t}=ro(),r=u.useReducer(()=>({}),{})[1],o=u.useRef(!1),n=u.useRef(null),a=u.useRef(-1),i=u.useCallback(e=>{var t,n;const i=e[0];var l;const s=null!==(l=null==i||null===(n=i.borderBoxSize)||void 0===n||null===(t=n[0])||void 0===t?void 0:t.inlineSize)&&void 0!==l?l:null==i?void 0:i.target.getBoundingClientRect().width;if(void 0===s||!i)return;const{target:c}=i;if(!Go(c))return;let d;o.current?a.current<s&&(d=!1):s<c.scrollWidth&&(d=!0),a.current=s,void 0!==d&&o.current!==d&&(o.current=d,r())},[r]),l=u.useCallback(r=>{var o;if(!e||!r||!(null==t?void 0:t.defaultView))return;null===(o=n.current)||void 0===o||o.disconnect();const a=new t.defaultView.ResizeObserver(i);n.current=a,a.observe(r,{box:"border-box"})},[t,i,e]);return u.useEffect(()=>()=>{var e;null===(e=n.current)||void 0===e||e.disconnect()},[]),{ref:l,reflowing:o.current}}(l),d=l?c?"multiline":"singleline":r,{className:f,nodeRef:p}=null!==(h=u.useContext(IN))&&void 0!==h?h:ON;var h;const g=zf(),v=u.useRef(null),m=u.useRef(null),{announce:b}=vo(),C=qo();return u.useEffect(()=>{var e,t;const r=[null===(e=m.current)||void 0===e?void 0:e.textContent,null===(t=v.current)||void 0===t?void 0:t.textContent].filter(Boolean).join(",");b(r,{polite:"polite"===i,alert:"assertive"===i})},[m,v,b,i]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:wr(Wr("div",{ref:Fo(t,s,p,g),role:"group","aria-labelledby":C,...e}),{elementType:"div"}),icon:kr(e.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:PN(o)}}),bottomReflowSpacer:kr(e.bottomReflowSpacer,{renderByDefault:"multiline"===d,elementType:"div"}),layout:d,intent:o,transitionClassName:f,actionsRef:v,bodyRef:m,titleId:C,shape:a}}),RN=u.createContext(void 0),MN={titleId:"",layout:"singleline",actionsRef:u.createRef(),bodyRef:u.createRef()},HN=RN.Provider,LN=()=>{var e;return null!==(e=u.useContext(RN))&&void 0!==e?e:MN},VN=mr("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),WN=mr("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),ZN=mr("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),UN=vr({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),GN=vr({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),XN=vr({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),$N=u.forwardRef((e,t)=>{const r=AN(e,t);return(e=>{const t=VN(),r=WN(),o=GN(),n=XN(),a=ZN(),i=UN();e.root.className=te("fui-MessageBar",t,"multiline"===e.layout&&i.rootMultiline,"square"===e.shape&&i.square,n[e.intent],e.root.className),e.icon&&(e.icon.className=te("fui-MessageBar__icon",r,o[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=te("fui-MessageBar__bottomReflowSpacer",a))})(r),co("useMessageBarStyles_unstable")(r),((e,t)=>gn(HN,{value:t.messageBar,children:vn(e.root,{children:[e.icon&&gn(e.icon,{}),e.root.children,e.bottomReflowSpacer&&gn(e.bottomReflowSpacer,{})]})}))(r,function(e){const{layout:t,actionsRef:r,bodyRef:o,titleId:n}=e;return{messageBar:u.useMemo(()=>({layout:t,actionsRef:r,bodyRef:o,titleId:n}),[t,r,o,n])}}(r))});$N.displayName="MessageBar";const KN=mr("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']);u.forwardRef((e,t)=>{const r=((e,t)=>{const{titleId:r}=LN();return{components:{root:"span"},root:wr(Wr("span",{ref:t,id:r,...e}),{elementType:"span"})}})(e,t);return(e=>{const t=KN();e.root.className=te("fui-MessageBarTitle",t,e.root.className)})(r),co("useMessageBarTitleStyles_unstable")(r),(e=>gn(e.root,{}))(r)}).displayName="MessageBarTitle";const YN=mr("r1t4x98y","r15utzv5",[".r1t4x98y{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-right:var(--spacingHorizontalM);}",".r15utzv5{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-left:var(--spacingHorizontalM);}"]),JN=mr("rgzw8nq","r13ur29z",[".rgzw8nq{grid-area:actions;padding-right:var(--spacingHorizontalM);}",".r13ur29z{grid-area:actions;padding-left:var(--spacingHorizontalM);}"]),QN=vr({root:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"],z189sj:["f1p3vkop","f8cewkv"]},noActions:{mc9l5x:"fjseox"}},{d:[".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",".f1p3vkop{padding-right:var(--spacingVerticalM);}",".f8cewkv{padding-left:var(--spacingVerticalM);}",".fjseox{display:none;}"]});u.forwardRef((e,t)=>{const r=((e,t)=>{const{layout:r="singleline",actionsRef:o}=LN();return{components:{root:"div",containerAction:"div"},containerAction:kr(e.containerAction,{renderByDefault:!1,elementType:"div"}),root:wr(Wr("div",{ref:Fo(t,o),...e}),{elementType:"div"}),layout:r,hasActions:!!e.children}})(e,t);return(e=>{const t=YN(),r=JN(),o=QN();e.root.className=te("fui-MessageBarActions",t,"multiline"===e.layout&&o.root,!e.hasActions&&o.noActions,e.root.className),e.containerAction&&(e.containerAction.className=te("fui-MessageBarActions__containerAction",r,e.containerAction.className))})(r),co("useMessageBarActionsStyles_unstable")(r),((e,t)=>vn(rm,{value:t.button,children:["multiline"===e.layout&&e.containerAction&&gn(e.containerAction,{},"containerAction"),gn(e.root,{}),"multiline"!==e.layout&&e.containerAction&&gn(e.containerAction,{},"containerAction")]}))(r,{button:u.useMemo(()=>({size:"small"}),[])})}).displayName="MessageBarActions";const e_=mr("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),t_=u.forwardRef((e,t)=>{const r=((e,t)=>{const{bodyRef:r}=LN();return{components:{root:"div"},root:wr(Wr("div",{ref:Fo(t,r),...e}),{elementType:"div"})}})(e,t),o={link:u.useMemo(()=>({inline:!0}),[])};return(e=>{const t=e_();e.root.className=te("fui-MessageBarBody",t,e.root.className)})(r),co("useMessageBarBodyStyles_unstable")(r),((e,t)=>gn(pC,{value:t.link,children:gn(e.root,{})}))(r,o)});t_.displayName="MessageBarBody";const r_=mf(({animate:e})=>{const t=ef.durationGentle;return{enter:"both"===e?[If({direction:"enter",duration:t}),Vf({direction:"enter",outY:"-100%",duration:t})]:[],exit:If({direction:"exit",duration:t})}});u.forwardRef((e,t)=>{const r=((e,t)=>{var r;const o=u.Children.map(null!==(r=e.children)&&void 0!==r?r:[],e=>u.isValidElement(e)&&e.type!==u.Fragment?e:null).filter(Boolean);var n;return{components:{root:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),children:o,animate:null!==(n=e.animate)&&void 0!==n?n:"exit-only",enterStyles:"",exitStyles:""}})(e,t);return(e=>{e.root.className=te("fui-MessageBarGroup",e.root.className)})(r),co("useMessageBarGroupStyles_unstable")(r),(e=>gn(e.root,{children:gn(kf,{children:e.children.map(t=>gn(r_,{animate:e.animate,unmountOnExit:!0,children:gn(jf,{children:t})},t.key))})}))(r)}).displayName="MessageBarGroup";const o_=Yu(Rd,Md),n_=Yu(Hd,Ld),a_=Yu(Vd,Wd),i_={small:u.createElement(o_,null),medium:u.createElement(n_,null),large:u.createElement(a_,null)},l_={small:"small",medium:"small",large:"medium"},s_=vr({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",w71qe1:"f1iuv45f",ha4doy:"fmrv4ls",qhf8xq:"f10pi13n",De3pzq:"f1c21dwh",sj55zd:"fkfq4zb",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f16d74zd",D0sxk3:"f16u1re",t6yez3:"f1rw4040",Jwef8y:"fjxutwb",Bi91k9c:"f139oj5f",eoavqd:"f8491dx",Bk3fhr4:"f1jpd6y0",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",B2d53fq:"f1fg1p5m"},selected:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59",D0sxk3:"fgzdkf0",t6yez3:"f15q0o9g",By8wz76:"f1nz3ub2",B7iucu3:"f1205bnn"},highContrast:{B7iucu3:"fslfhp6",Bfsdueo:"f11s1vgy",pb71ee:"f12b7wpn",ik86qs:"f1u668rv"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bqhya38:"f1j6vpng",Bwxa6fj:["f1pniga2","f1ffjurs"],Bdhvstf:"f987i1v",B7zbvrb:["f1ffjurs","f1pniga2"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1kx978o"}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",".f1iuv45f{text-decoration-line:none;}",".fmrv4ls{vertical-align:middle;}",".f10pi13n{position:relative;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".f16d74zd{padding:var(--spacingVerticalXS) var(--spacingHorizontalXS);}",{p:-1}],".f16u1re .fui-Icon-filled{display:none;}",".f1rw4040 .fui-Icon-regular{display:inline-flex;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}",".fgzdkf0 .fui-Icon-filled{display:inline-flex;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",[".f1kx978o{padding:var(--spacingVerticalXXS) var(--spacingVerticalXXS);}",{p:-1}]],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f8491dx:hover{cursor:pointer;}",".f1jpd6y0:hover .fui-Icon-filled{display:inline-flex;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1205bnn{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fslfhp6{color:CanvasText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11s1vgy:hover,.f11s1vgy:hover:active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12b7wpn:hover,.f12b7wpn:hover:active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1u668rv:hover,.f1u668rv:hover:active{color:Canvas;}}",{m:"(forced-colors: active)"}],["@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)"}]],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"]}),c_=vr({base:{B2u0y6b:"f1qmtlvf"},smallMedium:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f1qmtlvf{max-width:264px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),d_=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r="medium",inline:o=!0,popover:n,info:a,...i}=e,l=Fo(t),s={inline:o,size:r,components:{root:"button",popover:Zv,info:Av},root:wr(Wr("button",{children:i_[r],type:"button","aria-label":"information",...i,ref:l}),{elementType:"button"}),popover:wr(n,{defaultProps:{inline:o,positioning:"above-start",size:l_[r],withArrow:!0},elementType:Zv}),info:wr(a,{defaultProps:{role:"note",tabIndex:-1},elementType:Av})},[c,d]=yo({state:s.popover.open,defaultState:s.popover.defaultOpen,initialState:!1});s.popover.open=c,s.popover.onOpenChange=Uo(s.popover.onOpenChange,(e,t)=>d(t.open));const u=Fo(s.info.ref);s.info.ref=u;const f=e=>{const t=e.relatedTarget;t&&l.current!==t&&!dn(u.current,t)&&d(!1)};return s.root.onBlur=So(Uo(s.root.onBlur,f)),s.info.onBlurCapture=So(Uo(s.info.onBlurCapture,f)),s})(e,t);return(e=>{const{size:t}=e,{open:r}=e.popover,o=s_(),n=c_();e.info.className=te("fui-InfoButton__info",n.base,"large"===t?n.large:n.smallMedium,e.info.className),e.root.className=te("fui-InfoButton",o.base,o.highContrast,o.focusIndicator,r&&o.selected,"large"===t&&o.large,e.root.className)})(r),co("useInfoButtonStyles_unstable")(r),(e=>vn(e.popover,{children:[gn(Gv,{children:gn(e.root,{})}),gn(e.info,{})]}))(r)});d_.displayName="InfoButton";const u_=vr({base:{ha4doy:"f12kltsn",Bceei9c:"fpo1scq",sj55zd:"f1ym3bx4"}},{d:[".f12kltsn{vertical-align:top;}",".fpo1scq{cursor:inherit;}",".f1ym3bx4{color:inherit;}"]}),f_=vr({base:{ha4doy:"f12kltsn",B6of3ja:"f1bmzb36",jrapky:"f1nyzk09"},large:{B6of3ja:"fkrn0sh",jrapky:"fmxx68s"}},{d:[".f12kltsn{vertical-align:top;}",".f1bmzb36{margin-top:calc(0px - var(--spacingVerticalXXS));}",".f1nyzk09{margin-bottom:calc(0px - var(--spacingVerticalXXS));}",".fkrn0sh{margin-top:-1px;}",".fmxx68s{margin-bottom:-1px;}"]}),p_=u.forwardRef((e,t)=>{const r=((e,t)=>{const{root:r,label:o,infoButton:n,info:a,size:i,className:l,style:s,...c}=e,d=qo("infolabel-"),[f,p]=u.useState(!1),h=wr(r,{defaultProps:{className:l,style:s},elementType:"span"}),g=wr(o,{defaultProps:{id:d+"__label",ref:t,size:i,...c},elementType:Hm}),v=kr(n,{renderByDefault:!!a,defaultProps:{id:d+"__infoButton",size:i,info:a},elementType:d_}),m=wr(null==v?void 0:v.popover,{elementType:"div"});if(m.onOpenChange=So(Uo(m.onOpenChange,(e,t)=>{p(t.open)})),v){var b;v.popover=m;const e=d+"__info";var C,y,x,w;v.info=kr(null==v?void 0:v.info,{defaultProps:{id:e,"aria-labelledby":e},elementType:"div"}),null!==(C=(b=v)["aria-labelledby"])&&void 0!==C||(b["aria-labelledby"]=`${g.id} ${v.id}`),f&&(null!==(w=(x=h)["aria-owns"])&&void 0!==w||(x["aria-owns"]=null===(y=v.info)||void 0===y?void 0:y.id))}return{size:i,components:{root:"span",label:Hm,infoButton:d_},root:h,label:g,infoButton:v}})(e,t);return(e=>{e.root.className=te("fui-InfoLabel",e.root.className);const t=u_();e.label.className=te("fui-InfoLabel__label",t.base,e.label.className);const r=f_();e.infoButton&&(e.infoButton.className=te("fui-InfoLabel__infoButton",r.base,"large"===e.size&&r.large,e.infoButton.className))})(r),co("useInfoLabelStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.label,{}),e.infoButton&&gn(e.infoButton,{})]}))(r)});p_.displayName="InfoLabel";const h_={scrollState:"none",setScrollState:()=>({})},g_=u.createContext(void 0),v_=g_.Provider,m_=()=>{var e;return null!==(e=u.useContext(g_))&&void 0!==e?e:h_},b_=()=>{const[e,t]=u.useState("none");return{setScrollState:t,scrollState:e}},C_="--fui-Drawer--size",y_=vr({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),x_=vr({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),w_=({position:e,size:t})=>{const r=y_(),o=x_();return te(r[e],"bottom"===e&&o[t],"bottom"!==e&&r[t])},k_={small:ef.durationGentle,medium:ef.durationSlow,large:ef.durationSlower,full:ef.durationUltraSlow};function B_(e,t,r){const o=`translate3d(var(${t}), 0, 0)`,n=`translate3d(calc(var(${t}) * -1), 0, 0)`;return"start"===e?"ltr"===r?n:o:"end"===e?"ltr"===r?o:n:"bottom"===e?`translate3d(0, var(${t}), 0)`:"translate3d(0, 0, 0)"}const z_=mf(({position:e,size:t,dir:r})=>{const o=[{transform:B_(e,C_,r),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],n=k_[t];return{enter:{keyframes:o,duration:n,easing:ef.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:n,easing:ef.curveAccelerateMin}}}),j_=mf(({position:e,size:t,dir:r})=>{const o=[{transform:B_(e,C_,r),boxShadow:`0px ${vs}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:Os,opacity:1}],n=k_[t];return{enter:{keyframes:o,duration:n,easing:ef.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:n,easing:ef.curveAccelerateMin}}}),S_=mf(({size:e})=>{const t=k_[e],r=ef.curveLinear;return{enter:If({direction:"enter",duration:t,easing:r}),exit:If({direction:"exit",duration:t,easing:r})}});function N_(e){const{open:t=!1,size:r="small",position:o="start",unmountOnClose:n=!0}=e;return{size:r,position:o,open:t,unmountOnClose:n}}const __=mr("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),T_=vr({nested:{De3pzq:"f1c21dwh"},drawerHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),q_=u.forwardRef((e,t)=>{const r=vk({...e,as:e.as},t);return(e=>{const{treatBackdropAsNested:t,backdrop:r,open:o,unmountOnClose:n}=e,a=__(),i=T_(),l=!n&&!o;r&&(r.className=te(a,t&&i.nested,l&&i.drawerHidden,r.className))})(r),co("useOverlayDrawerSurfaceStyles_unstable")(r),mk(r,{dialogSurface:!0})});function F_(e,t,r){return null===e?null:{...e,children:(o,n)=>(null==e?void 0:e.children)?e.children(t,{...n,...r}):u.createElement(t,{...n,...r},n.children)}}q_.displayName="OverlayDrawerSurface";const D_={active:!0,canRender:!0,ref:u.createRef(),type:"idle"},E_=mr("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),P_=vr({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),I_=u.forwardRef((e,t)=>{const r=((e,t)=>{const{open:r,size:o,position:n,unmountOnClose:a}=N_(e),{modalType:i="modal",inertTrapFocus:l,onOpenChange:s,backdropMotion:c,surfaceMotion:d,mountNode:u}=e,{dir:f,targetDocument:p}=ro(),{element:h}=Nv(u),g=Boolean(h&&(null==p?void 0:p.body)!==h),v=Br(e.backdrop),m="non-modal"!==i&&null!==v,b=wr({...e,ref:t,unmountOnClose:a,backdrop:m?{...v}:null,backdropMotion:F_(c,S_,{size:o})},{elementType:q_}),C=wr({open:r,onOpenChange:s,inertTrapFocus:l,modalType:i,unmountOnClose:a,surfaceMotion:F_(d,j_,{position:n,size:o,dir:f}),children:null},{elementType:nk});return{components:{root:q_,dialog:nk},root:b,dialog:C,open:r,size:o,position:n,hasMountNodeElement:g,unmountOnClose:a,mountNode:u,motion:D_}})(e,t),o=b_();return(e=>{const t=w_(e),r=E_(),o=P_(),n=e.hasMountNodeElement&&o.absolute,a=e.root.backdrop;e.root.className=te("fui-OverlayDrawer",t,r,o[e.position],n,e.root.className),a&&(a.className=te("fui-OverlayDrawer__backdrop",n,a.className))})(r),co("useDrawerOverlayStyles_unstable")(r),co("useOverlayDrawerStyles_unstable")(r),((e,t)=>gn(v_,{value:t,children:gn(rk,{value:!1,children:gn(e.dialog,{children:gn(e.root,{})})})}))(r,o)});I_.displayName="OverlayDrawer";const O_={active:!0,canRender:!0,ref:u.createRef(),type:"idle"},A_=mr("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),R_=vr({separatorStart:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1cxmi7i","f1j970fk"]},separatorEnd:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["f1j970fk","f1cxmi7i"]},separatorBottom:{g2u3we:0,icvyot:0,B4j52fo:0,i8vvqc:"f1n3kblk"},start:{},end:{},bottom:{a9b677:"fly5x3f",Bqenvij:"fub80nq"},animationExitStart:{a9b677:"f3tsq5r",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"},animationExitEnd:{a9b677:"f3tsq5r",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"},animationExitBottom:{Bqenvij:"fniina8",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"}},{d:[[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1n3kblk{border-top:1px solid var(--colorNeutralBackground3);}",{p:-1}],".fly5x3f{width:100%;}",".fub80nq{height:var(--fui-Drawer--size);}",".f3tsq5r{width:0;}",[".f3bhgqh{border:none;}",{p:-2}],[".f3bhgqh{border:none;}",{p:-2}],".fniina8{height:0;}",[".f3bhgqh{border:none;}",{p:-2}]]}),M_=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r,position:o,open:n,unmountOnClose:a}=N_(e),{separator:i=!1,surfaceMotion:l}=e,{dir:s}=ro(),[c,d]=u.useState(n?"enter":"exit");return{components:{root:"div",surfaceMotion:z_},root:wr(Wr("div",{...e,ref:t,"aria-hidden":!a&&!n||void 0}),{elementType:"div"}),open:n,position:o,size:r,separator:i,unmountOnClose:a,animationDirection:c,surfaceMotion:Nf(l,{elementType:z_,defaultProps:{position:o,size:r,dir:s,visible:n,appear:a,unmountOnExit:a,onMotionFinish:(e,{direction:t})=>d(t),onMotionStart:(e,{direction:t})=>{"enter"===t&&d("enter")}}}),motion:O_}})(e,t),o=b_();return(e=>{const t=A_(),r=w_(e),o=R_();e.root.className=te("fui-InlineDrawer",t,r,function(e,t){if(e.separator)switch(e.position){case"start":return t.separatorStart;case"end":return t.separatorEnd;case"bottom":return t.separatorBottom;default:return}}(e,o),o[e.position],"exit"===e.animationDirection&&function(e,t){switch(e.position){case"start":return t.animationExitStart;case"end":return t.animationExitEnd;case"bottom":return t.animationExitBottom;default:return}}(e,o),e.root.className)})(r),co("useDrawerInlineStyles_unstable")(r),co("useInlineDrawerStyles_unstable")(r),((e,t)=>gn(v_,{value:t,children:gn(e.surfaceMotion,{children:gn(e.root,{})})}))(r,o)});M_.displayName="InlineDrawer";const H_=u.forwardRef((e,t)=>{const r=((e,t)=>{const r="inline"===e.type?M_:I_;return{components:{root:r},root:wr({ref:t,...e},{elementType:r})}})(e,t),o=b_();return(e=>{e.root.className=te("fui-Drawer",e.root.className)})(r),co("useDrawerStyles_unstable")(r),((e,t)=>gn(v_,{value:t,children:gn(e.root,{})}))(r,o)});H_.displayName="Drawer";const L_=(e,t)=>{const{targetDocument:r}=ro(),o=null==r?void 0:r.defaultView,{setScrollState:n}=m_(),a=u.useRef(null),i=Fo(t,a),[l,s]=Co(),[c,d]=Co(),f=u.useCallback(()=>{a.current&&n((({scrollTop:e,scrollHeight:t,clientHeight:r})=>t<=r?"none":0===e?"top":e+r===t?"bottom":"middle")(a.current))},[n]),p=u.useCallback(()=>{s(),l(f)},[s,l,f]);return jo(f,[e.children,f]),jo(()=>{if(!a.current||!(null==o?void 0:o.ResizeObserver))return;const e=new o.ResizeObserver(()=>c(f));return e.observe(a.current),()=>{e.disconnect(),d()}},[c,d,f,o]),{components:{root:"div"},root:wr(Wr("div",{ref:i,...e,onScroll:Uo(e.onScroll,p)}),{elementType:"div"})}},V_=e=>gn(e.root,{}),W_=mr("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),Z_=e=>{const t=W_();return e.root.className=te("fui-DrawerBody",t,e.root.className),e};u.forwardRef((e,t)=>{const r=L_(e,t);return Z_(r),co("useDrawerBodyStyles_unstable")(r),V_(r)}).displayName="DrawerBody";const U_=(e,t)=>{const{scrollState:r}=m_();return{components:{root:"header"},root:wr(Wr("header",{ref:t,role:"none",...e}),{elementType:"header"}),scrollState:r}},G_=e=>gn(e.root,{}),X_=mr("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),$_=vr({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),K_=e=>{const t=X_(),r=$_();return e.root.className=te("fui-DrawerHeader",t,"none"!==e.scrollState&&r.separator,["middle","bottom"].includes(e.scrollState)&&r.separatorVisible,e.root.className),e};u.forwardRef((e,t)=>{const r=U_(e,t);return K_(r),co("useDrawerHeaderStyles_unstable")(r),G_(r)}).displayName="DrawerHeader";const Y_=vr({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),J_=u.forwardRef((e,t)=>{const r=((e,t)=>{const{children:r,heading:o}=e,n=Jw(e=>e.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),heading:kr(o,{defaultProps:{id:n,children:r},renderByDefault:!0,elementType:"h2"}),action:kr(e.action,{elementType:"div"})}})(e,t);return(e=>{const t=Y_(),{heading:r={},action:o,components:n}=e;hk({components:{root:n.heading,action:n.action},root:r,action:o}),e.root.className=te("fui-DrawerHeaderTitle",t.root,e.root.className),e.heading&&(e.heading.className=te("fui-DrawerHeaderTitle__heading",e.heading.className)),e.action&&(e.action.className=te("fui-DrawerHeaderTitle__action",t.action,e.action.className))})(r),co("useDrawerHeaderTitleStyles_unstable")(r),(e=>vn(e.root,{children:[e.heading&&gn(e.heading,{}),e.action&&gn(e.action,{})]}))(r)});J_.displayName="DrawerHeaderTitle";const Q_=mr("r1ig4pwh",null,[".r1ig4pwh{margin:calc(var(--spacingVerticalS) * -1) calc(var(--spacingHorizontalL) * -1);}"]),eT=u.forwardRef((e,t)=>{const r=((e,t)=>({components:{root:"nav"},root:wr(Wr("nav",{ref:t,...e}),{elementType:"nav"})}))(e,t);return(e=>{const t=Q_();e.root.className=te("fui-DrawerHeaderNavigation",t,e.root.className)})(r),co("useDrawerHeaderNavigationStyles_unstable")(r),(e=>gn(e.root,{}))(r)});eT.displayName="DrawerHeaderNavigation";const tT=(e,t)=>{const{scrollState:r}=m_();return{components:{root:"footer"},root:wr(Wr("footer",{ref:t,role:"none",...e}),{elementType:"footer"}),scrollState:r}},rT=e=>gn(e.root,{}),oT=mr("r1snvl2j",null,[".r1snvl2j{width:100%;max-width:100%;padding:var(--spacingVerticalL) var(--spacingHorizontalXXL) var(--spacingVerticalXXL);display:flex;justify-content:flex-start;align-items:center;column-gap:var(--spacingHorizontalS);box-sizing:border-box;position:relative;z-index:2;}"]),nT=vr({separator:{Baz25je:"f16b62f1",Brfgrao:"f1j7ml58",mdwyqc:["f1f351id","f1fzr1x6"],Fbdkly:["f1fzr1x6","f1f351id"],vz82u:"f1dhznln",cmx5o7:"f1p5zmk",h7gv66:"f1ljjo4k",B8bqphf:"ffd2d9j",wjn42g:"ffdt3s5",Ftih45:"f1wl9k8s",Bciustq:"ffi060y"},separatorVisible:{vz82u:"f1b3qyzu"}},{d:[".f16b62f1::before{height:1px;}",".f1j7ml58::before{position:absolute;}",".f1f351id::before{right:0;}",".f1fzr1x6::before{left:0;}",".f1dhznln::before{opacity:0;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1ljjo4k::before{transition-duration:var(--durationNormal);}",".ffd2d9j::before{transition-property:opacity;}",".ffdt3s5::before{transition-timing-function:var(--curveEasyEase);}",'.f1wl9k8s::before{content:"";}',".ffi060y::before{top:0;}",".f1b3qyzu::before{opacity:1;}"]}),aT=e=>{const t=oT(),r=nT();return e.root.className=te("fui-DrawerFooter",t,"none"!==e.scrollState&&r.separator,["middle","top"].includes(e.scrollState)&&r.separatorVisible,e.root.className),e};u.forwardRef((e,t)=>{const r=tT(e,t);return aT(r),co("useDrawerFooterStyles_unstable")(r),rT(r)}).displayName="DrawerFooter";const iT=u.createContext(void 0),lT={size:"medium"},sT=iT.Provider,cT=()=>{var e;return null!==(e=u.useContext(iT))&&void 0!==e?e:lT},dT=mr("rc5rb6b",null,[".rc5rb6b{list-style-type:none;display:flex;align-items:center;margin:0;padding:0;}"]),uT=u.forwardRef((e,t)=>{const r=((e,t)=>{const{focusMode:r="tab",size:o="medium",...n}=e,a=((e,t)=>{const{focusMode:r="tab",list:o,...n}=e;var a;return{components:{root:"nav",list:"ol"},root:wr(Wr("nav",{ref:t,"aria-label":null!==(a=e["aria-label"])&&void 0!==a?a:"breadcrumb",...n}),{elementType:"nav"}),list:kr(o,{renderByDefault:!0,defaultProps:{role:"list"},elementType:"ol"})}})(n,t),i=(({focusMode:e})=>{const t=xi({circular:!0,axis:"horizontal",memorizeCurrent:!0});return"arrow"===e?t:{}})({focusMode:r});return{...a,root:{...i,...a.root},size:o}})(e,t),o=function(e){const{size:t}=e;return u.useMemo(()=>({size:t}),[t])}(r);return(e=>{const t=dT();e.root.className=te("fui-Breadcrumb",e.root.className),e.list&&(e.list.className=te(t,"fui-Breadcrumb__list",e.list.className))})(r),co("useBreadcrumbStyles_unstable")(r),((e,t)=>gn(e.root,{children:gn(sT,{value:t,children:e.list&&gn(e.list,{children:e.root.children})})}))(r,o)});uT.displayName="Breadcrumb";function fT(e){return"rtl"===e?u.createElement(Td,null):u.createElement(Fd,null)}const pT=mr("rk008qs",null,[".rk008qs{display:flex;}"]),hT=vr({small:{Be2twd7:"f1ugzwwg"},medium:{Be2twd7:"f4ybsrx"},large:{Be2twd7:"fe5j1ua"}},{d:[".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),gT=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r}=cT(),o=((e,t)=>({components:{root:"li"},root:wr(Wr("li",{ref:t,"aria-hidden":!0,...e}),{elementType:"li"})}))(e,t),{dir:n}=ro();return{...o,root:{...o.root,children:fT(n)},size:r}})(e,t);return(e=>{const t=pT(),r=hT(),{size:o="medium"}=e;e.root.className=te("fui-BreadcrumbDivider",t,r[o],e.root.className)})(r),co("useBreadcrumbDividerStyles_unstable")(r),(e=>gn(e.root,{}))(r)});gT.displayName="BreadcrumbDivider";const vT=(e,t)=>({components:{root:"li"},root:wr(Wr("li",{ref:t,...e}),{elementType:"li"})}),mT=mr("r1tl60rs",null,[".r1tl60rs{display:flex;align-items:center;color:var(--colorNeutralForeground2);box-sizing:border-box;text-wrap:nowrap;}"]),bT=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r}=cT();return{...vT(e,t),size:r}})(e,t);return(e=>{const t=mT();e.root.className=te("fui-BreadcrumbItem",t,e.root.className)})(r),co("useBreadcrumbItemStyles_unstable")(r),(e=>gn(e.root,{children:e.root.children}))(r)});bT.displayName="BreadcrumbItem";const CT=(e,t)=>{const{current:r=!1,as:o,...n}=e,a=(null!=o?o:e.href)?"a":"button";var i,l;const{size:s,...c}=om({role:void 0,type:void 0,as:a,iconPosition:"before","aria-current":r?null!==(i=e["aria-current"])&&void 0!==i?i:"page":void 0,"aria-disabled":r?null===(l=e["aria-disabled"])||void 0===l||l:void 0,...n},t);return{...c,current:r}},yT=vr({base:{Be2twd7:"fsj74e5",Bqenvij:"f1qfv4wv",Bg96gwp:"f15xapk4",a9b677:"f17j33op",t21cq0:["fm0x6gh","fbyavb5"]},small:{u3h8gg:"f1qfi7kw",Biu6dll:"f1876atl"},medium:{u3h8gg:"f1h9446d",Biu6dll:"f10xfswh"},large:{u3h8gg:"f5hcofs",Biu6dll:"f1a6v6zl"}},{d:[".fsj74e5{font-size:var(--fui-Breadcrumb--icon-size);}",".f1qfv4wv{height:var(--fui-Breadcrumb--icon-size);}",".f15xapk4{line-height:var(--fui-Breadcrumb--icon-line-height);}",".f17j33op{width:var(--fui-Breadcrumb--icon-size);}",".fm0x6gh{margin-right:var(--spacingHorizontalXS);}",".fbyavb5{margin-left:var(--spacingHorizontalXS);}",".f1qfi7kw{--fui-Breadcrumb--icon-size:12px;}",".f1876atl{--fui-Breadcrumb--icon-line-height:var(--lineHeightBase200);}",".f1h9446d{--fui-Breadcrumb--icon-size:16px;}",".f10xfswh{--fui-Breadcrumb--icon-line-height:var(--lineHeightBase400);}",".f5hcofs{--fui-Breadcrumb--icon-size:20px;}",".f1a6v6zl{--fui-Breadcrumb--icon-line-height:var(--lineHeightBase600);}"]}),xT=vr({root:{Bf4jedk:"f18p0k4z",j4b8c3:"fv6wr3j"},small:{Bqenvij:"frvgh55",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1r1wyb6"},medium:{Bqenvij:"f1d2rq10",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1r1wyb6"},large:{Bqenvij:"fbhnoac",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bnz8pu"},current:{Jwef8y:"f9ql6rf",Bi91k9c:"f3p8bqa",eoavqd:"f14w7a5u",Bbdnnc7:"f1irjp3o",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",iro3zm:"f3h1zc4",B2d53fq:"f1xkgyln",c3iz72:"f17wbbfx",x3br3k:"fofxw0a",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",Bszkowt:"ff24m",Dyrjrp:"ft5r8e9",ezr58z:"f1cbpfqp",nhk3du:"f1motppv",Bfrek18:"fi9vkhg",G209fr:"f1fg3nnv"},currentSmall:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"fl43uef",Bg96gwp:"fwrc4pm"},currentMedium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"},currentLarge:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".f18p0k4z{min-width:unset;}",".fv6wr3j{text-wrap:nowrap;}",".frvgh55{height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".f1r1wyb6{padding:var(--spacingHorizontalSNudge);}",{p:-1}],".f1d2rq10{height:32px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f1r1wyb6{padding:var(--spacingHorizontalSNudge);}",{p:-1}],".fbhnoac{height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1bnz8pu{padding:var(--spacingHorizontalS);}",{p:-1}],".ff24m:disabled{background-color:var(--colorTransparentBackground);}",".ft5r8e9:disabled{color:var(--colorNeutralForeground2);}",".f1cbpfqp:disabled{cursor:auto;}",".f1motppv:disabled .fui-Button__icon{color:unset;}",".fi9vkhg:disabled .fui-Icon-filled{display:none;}",".f1fg3nnv:disabled .fui-Icon-regular{display:inline;}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],h:[".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".f14w7a5u:hover{cursor:auto;}",".f1irjp3o:hover .fui-Button__icon{color:unset;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1xkgyln:hover:active{color:var(--colorNeutralForeground2);}",".f17wbbfx:hover:active{cursor:auto;}",".fofxw0a:hover:active .fui-Button__icon{color:unset;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}"]}),wT=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r}=cT();return{...CT(e,t),size:r}})(e,t);return(e=>{const t=xT(),r=yT(),o={small:t.currentSmall,medium:t.currentMedium,large:t.currentLarge};e.root.className=te("fui-BreadcrumbButton",t[e.size],t.root,e.current&&o[e.size],e.current&&t.current,e.root.className),e.icon&&(e.icon.className=te(r.base,r[e.size],e.icon.className)),fm(e)})(r),co("useBreadcrumbButtonStyles_unstable")(r),(e=>Qv(e))(r)});wT.displayName="BreadcrumbButton";const kT=u.createContext(void 0),BT={color:"neutral",iconFilled:dd,iconOutline:ud,step:1,size:"medium"},zT=kT.Provider,jT=()=>u.useContext(kT)||BT,ST=e=>e+"",NT=(e,t)=>{const r=jT(),{value:o=0}=e,{itemLabel:n=ST,iconFilled:a,iconOutline:i}=r,l=Math.round(2*(r.value||0))/2;var s;const c=null!==(s=r.hoveredValue)&&void 0!==s?s:l,d=r.interactive?"outline":"filled";let f;f=r.compact||c>=o?1:c>=o-.5?.5:0;const p=wr(Wr("span",{ref:Fo(Di(),t),...e}),{elementType:"span"});let h,g,v,m;return f<1&&(h=wr(e.unselectedIcon,{defaultProps:{children:"filled"===d?u.createElement(a,null):u.createElement(i,null),"aria-hidden":!0},elementType:"div"})),f>0&&(g=wr(e.selectedIcon,{defaultProps:{children:u.createElement(a,null),"aria-hidden":!0},elementType:"div"})),r.interactive&&.5===r.step&&(v=wr(e.halfValueInput,{defaultProps:{type:"radio",name:r.name,value:o-.5,checked:l===o-.5,"aria-label":n(o-.5),onChange:()=>{}},elementType:"input"})),r.interactive&&(m=wr(e.fullValueInput,{defaultProps:{type:"radio",name:r.name,value:o,checked:l===o,"aria-label":n(o),onChange:()=>{}},elementType:"input"})),{appearance:d,step:r.step,iconFillWidth:f,value:o,components:{root:"span",selectedIcon:"div",unselectedIcon:"div",halfValueInput:"input",fullValueInput:"input"},root:p,selectedIcon:g,unselectedIcon:h,halfValueInput:v,fullValueInput:m}},_T=vr({root:{qhf8xq:"f10pi13n",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:"fmj8fco",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1iwowo3",B2pnrqr:"f1spmvte",B29w5g4:["fgp7k2s","f13pb23"],Bhhzhcn:"f1ihbrwi",Bec0n69:["f13pb23","fgp7k2s"]},small:{Be2twd7:"f1ugzwwg",a9b677:"frx94fk",Bqenvij:"fvblgha"},medium:{Be2twd7:"f4ybsrx",a9b677:"fjw5fx7",Bqenvij:"fd461yt"},large:{Be2twd7:"fe5j1ua",a9b677:"f64fuq3",Bqenvij:"fjamq6b"},"extra-large":{Be2twd7:"f24l1pt",a9b677:"f1w9dchk",Bqenvij:"fxldao9"}},{d:[".f10pi13n{position:relative;}",".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;}",[".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1spmvte[data-fui-focus-within]:focus-within::after{top:calc(2px * -1);}",".fgp7k2s[data-fui-focus-within]:focus-within::after{right:calc(2px * -1);}",".f13pb23[data-fui-focus-within]:focus-within::after{left:calc(2px * -1);}",".f1ihbrwi[data-fui-focus-within]:focus-within::after{bottom:calc(2px * -1);}",".f1ugzwwg{font-size:12px;}",".frx94fk{width:12px;}",".fvblgha{height:12px;}",".f4ybsrx{font-size:16px;}",".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fe5j1ua{font-size:20px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".f24l1pt{font-size:28px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@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)"}]]}),TT=mr("r1qfsv1p","rh8pzaz",[".r1qfsv1p{position:absolute;left:0;top:0;right:0;bottom:0;box-sizing:border-box;margin:0;opacity:0;cursor:pointer;height:100%;}",".rh8pzaz{position:absolute;right:0;top:0;left:0;bottom:0;box-sizing:border-box;margin:0;opacity:0;cursor:pointer;height:100%;}"]),qT=vr({lowerHalf:{j35jbq:["ffenbu1","f1ktbn1t"]},upperHalf:{oyh7mz:["f1ktbn1t","ffenbu1"]}},{d:[".ffenbu1{right:50%;}",".f1ktbn1t{left:50%;}"]}),FT=mr("r1420l2m","r1yt29v5",[".r1420l2m{display:flex;overflow:hidden;color:var(--colorNeutralForeground1);fill:currentColor;pointer-events:none;position:absolute;left:0;right:0;top:0;bottom:0;}",".r1yt29v5{display:flex;overflow:hidden;color:var(--colorNeutralForeground1);fill:currentColor;pointer-events:none;position:absolute;right:0;left:0;top:0;bottom:0;}"]),DT=vr({lowerHalf:{j35jbq:["ffenbu1","f1ktbn1t"],l5kjut:0,uoufgc:0,v39lw8:0,Bbwb3tu:"f10jwh99"},upperHalf:{oyh7mz:["f1ktbn1t","ffenbu1"],Frg6f3:["fbm7ezh","f3ev47i"]},brand:{sj55zd:"f16muhyy"},marigold:{sj55zd:"f1whvut0"},filled:{sj55zd:"f1qaymga",ojy3ng:"f13qq9og",B7iucu3:"f1205bnn",Biw2w6l:"f1nocmko"},brandFilled:{sj55zd:"f1kdv6iu"},marigoldFilled:{sj55zd:"f1ymbmfq"}},{d:[".ffenbu1{right:50%;}",".f1ktbn1t{left:50%;}",[".f10jwh99>svg{flex:0 0 auto;}",{p:-1}],".fbm7ezh{margin-left:-50%;}",".f3ev47i{margin-right:-50%;}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whvut0{color:var(--colorPaletteMarigoldBorderActive);}",".f1qaymga{color:var(--colorNeutralBackground6);}",".f13qq9og{stroke:var(--colorTransparentStroke);}",".f1kdv6iu{color:var(--colorBrandBackground2);}",".f1ymbmfq{color:var(--colorPaletteMarigoldBackground2);}"],m:[["@media (forced-colors: active){.f1205bnn{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nocmko{stroke:CanvasText;}}",{m:"(forced-colors: active)"}]]}),ET=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=jT();return{...NT(e,t),color:r.color,size:r.size}})(e,t);return(e=>{const{color:t,size:r,iconFillWidth:o,appearance:n}=e,a=_T(),i=TT(),l=qT(),s=FT(),c=DT();e.root.className=te("fui-RatingItem",a.root,a[r],e.root.className),e.halfValueInput&&(e.halfValueInput.className=te("fui-RatingItem__halfValueInput",i,l.lowerHalf,e.halfValueInput.className)),e.fullValueInput&&(e.fullValueInput.className=te("fui-RatingItem__fullValueInput",i,e.halfValueInput&&l.upperHalf,e.fullValueInput.className)),e.unselectedIcon&&(e.unselectedIcon.className=te("fui-RatingItem__unselectedIcon",s,"filled"===n&&c.filled,"brand"===t&&("filled"===n?c.brandFilled:c.brand),"marigold"===t&&("filled"===n?c.marigoldFilled:c.marigold),.5===o&&c.upperHalf,e.unselectedIcon.className)),e.selectedIcon&&(e.selectedIcon.className=te("fui-RatingItem__selectedIcon",s,"brand"===t&&c.brand,"marigold"===t&&c.marigold,.5===o&&c.lowerHalf,e.selectedIcon.className))})(r),co("useRatingItemStyles_unstable")(r),(e=>vn(e.root,{children:[e.halfValueInput&&gn(e.halfValueInput,{}),e.fullValueInput&&gn(e.fullValueInput,{}),e.unselectedIcon&&gn(e.unselectedIcon,{}),e.selectedIcon&&gn(e.selectedIcon,{})]}))(r)});ET.displayName="RatingItem";const PT=(e,t)=>{const r=qo("rating-"),{iconFilled:o="span",iconOutline:n="span",max:a=5,name:i=r,onChange:l,step:s=1,itemLabel:c}=e,[d,f]=yo({state:e.value,defaultState:e.defaultValue,initialState:0}),p=e=>Go(e,{constructorName:"HTMLInputElement"})&&"radio"===e.type&&e.name===i,[h,g]=u.useState(void 0),v=u.useMemo(()=>Array.from(Array(a),(e,t)=>u.createElement(ET,{value:t+1,key:t+1})),[a]),m={iconFilled:o,iconOutline:n,name:i,step:s,itemLabel:c,value:d,hoveredValue:h,components:{root:"div"},root:wr(Wr("div",{ref:t,children:v,role:"radiogroup",...e},["onChange"]),{elementType:"div"})};return m.root.onChange=e=>{if(p(e.target)){const t=parseFloat(e.target.value);isNaN(t)||(f(t),null==l||l(e,{type:"change",event:e,value:t}))}},m.root.onMouseOver=Uo(e.onMouseOver,e=>{if(p(e.target)){const t=parseFloat(e.target.value);isNaN(t)||g(t)}}),m.root.onMouseLeave=Uo(e.onMouseLeave,e=>{g(void 0)}),m},IT=mr("r2imjyh",null,[".r2imjyh{display:flex;flex-wrap:wrap;}"]),OT=u.forwardRef((e,t)=>{const r=((e,t)=>{const{color:r="neutral",size:o="extra-large",iconFilled:n=dd,iconOutline:a=ud,...i}=e;return{...PT({iconFilled:n,iconOutline:a,...i},t),color:r,size:o}})(e,t),o=(e=>{const{color:t,hoveredValue:r,iconFilled:o,iconOutline:n,itemLabel:a,name:i,step:l,size:s,value:c}=e;return{ratingItem:u.useMemo(()=>({color:t,hoveredValue:r,iconFilled:o,iconOutline:n,interactive:!0,itemLabel:a,name:i,step:l,size:s,value:c}),[t,r,o,n,a,i,l,s,c])}})(r);return(e=>{const t=IT();e.root.className=te("fui-Rating",t,e.root.className)})(r),co("useRatingStyles_unstable")(r),((e,t)=>gn(zT,{value:t.ratingItem,children:gn(e.root,{})}))(r,o)});OT.displayName="Rating";const AT=(e,t)=>{const{count:r,compact:o=!1,icon:n,max:a=5,value:i}=e,l=qo("rating-value-"),s=qo("rating-count-"),c=u.useMemo(()=>o?u.createElement(ET,{value:1,key:1,"aria-hidden":!0}):Array.from(Array(a),(e,t)=>u.createElement(ET,{value:t+1,key:t+1,"aria-hidden":!0})),[o,a]),d={compact:o,icon:n,max:a,value:i,components:{root:"div",valueText:"span",countText:"span"},root:wr(Wr("div",{ref:t,children:c,role:"img",...e}),{elementType:"div"}),valueText:kr(e.valueText,{renderByDefault:void 0!==i,defaultProps:{children:i,id:l,"aria-hidden":!0},elementType:"span"}),countText:kr(e.countText,{renderByDefault:void 0!==r,defaultProps:{children:null==r?void 0:r.toLocaleString(),id:s,"aria-hidden":!0},elementType:"span"})};var f,p;return d.root["aria-label"]||d.root["aria-labelledby"]||(d.root["aria-labelledby"]=[null===(f=d.valueText)||void 0===f?void 0:f.id,null===(p=d.countText)||void 0===p?void 0:p.id].filter(Boolean).join(" ")),d},RT=mr("rxxdqwu",null,[".rxxdqwu{display:flex;flex-wrap:wrap;align-items:center;}"]),MT=mr("rkwnos5","rwei36a",[".rkwnos5{color:var(--colorNeutralForeground1);margin-left:var(--spacingHorizontalXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}",".rwei36a{color:var(--colorNeutralForeground1);margin-right:var(--spacingHorizontalXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),HT=vr({large:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Frg6f3:["f1t5qyk5","f1ikr372"]},extraLarge:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Frg6f3:["foyynoy","f1vcna3q"]},strong:{Bhrd7zp:"fl43uef"},divider:{Ftih45:"f169p45e"}},{d:[".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".foyynoy{margin-left:var(--spacingHorizontalS);}",".f1vcna3q{margin-right:var(--spacingHorizontalS);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",'.f169p45e::before{content:"· ";}']}),LT=u.forwardRef((e,t)=>{const r=((e,t)=>{const{color:r="neutral",size:o="medium",icon:n=dd,...a}=e;return{...AT({icon:n,...a},t),icon:n,color:r,size:o}})(e,t),o=(e=>{const{color:t,compact:r,icon:o,size:n,value:a}=e;return{ratingItem:u.useMemo(()=>({color:t,compact:r,iconFilled:o,iconOutline:o,interactive:!1,step:.5,size:n,value:a}),[t,r,o,n,a])}})(r);return(e=>{const{size:t}=e,r=RT();e.root.className=te("fui-RatingDisplay",r,e.root.className);const o=MT(),n=HT();e.valueText&&(e.valueText.className=te("fui-RatingDisplay__valueText",o,n.strong,"large"===t&&n.large,"extra-large"===t&&n.extraLarge,e.valueText.className)),e.countText&&(e.countText.className=te("fui-RatingDisplay__countText",o,"large"===t&&n.large,"extra-large"===t&&n.extraLarge,e.valueText&&n.divider,e.countText.className))})(r),co("useRatingDisplayStyles_unstable")(r),((e,t)=>gn(zT,{value:t.ratingItem,children:vn(e.root,{children:[e.root.children,e.valueText&&gn(e.valueText,{}),e.countText&&gn(e.countText,{})]})}))(r,o)});LT.displayName="RatingDisplay";const VT=vr({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;}"]}),WT=vr({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);}"]}),ZT=vr({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}]]}),UT=mr("r1pvzcuu",null,[".r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}",".r1pvzcuu>svg{font-size:20px;}"]),GT=vr({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;}"]}),XT=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r="medium",appearance:o="outline",...n}=e,a=((e,t)=>{const{disabled:r=!1,root:o,contentBefore:n,dismiss:a,contentAfter:i,value:l,defaultValue:s,...c}=e,d=u.useRef(null),f=u.useRef(null),[p,h]=yo({state:l,defaultState:s,initialState:""}),[g,v]=u.useState(!1),m=u.useCallback(()=>{v(!0)},[v]),b=u.useCallback(e=>{var t;v(!!(null===(t=d.current)||void 0===t?void 0:t.contains(e.relatedTarget)))},[v]),C=Br(o),y=So(t=>{var r,o,n;jr(a)&&(null===(n=a.onClick)||void 0===n||n.call(a,t)),h(""),null===(r=e.onChange)||void 0===r||r.call(e,t,{value:""}),null===(o=f.current)||void 0===o||o.focus()}),x=Jb({type:"search",disabled:r,value:p,root:wr({...C,ref:Fo(null==C?void 0:C.ref,d),onFocus:Uo(null==C?void 0:C.onFocus,m),onBlur:Uo(null==C?void 0:C.onBlur,b)},{elementType:"span"}),contentBefore:kr(n,{renderByDefault:!0,elementType:"span"}),contentAfter:kr(i,{renderByDefault:!0,elementType:"span"}),...c,onChange:So(t=>{var r;const o=t.target.value;null===(r=e.onChange)||void 0===r||r.call(e,t,{value:o}),h(o)})},Fo(f,t)),w={...x,components:{...x.components,dismiss:"span"},dismiss:kr(a,{defaultProps:{role:"button","aria-label":"clear",tabIndex:-1},renderByDefault:!0,elementType:"span"}),disabled:r,focused:g};return w.dismiss&&(w.dismiss.onClick=y),w})(n,t);var i,l,s,c;return a.contentBefore&&(null!==(l=(i=a.contentBefore).children)&&void 0!==l||(i.children=u.createElement(ad,null))),a.dismiss&&(null!==(c=(s=a.dismiss).children)&&void 0!==c||(s.children=u.createElement(Id,null))),{...a,size:r,appearance:o}})(e,t);return(e=>{const{disabled:t,focused:r,size:o}=e,n=VT(),a=WT(),i=ZT(),l=UT(),s=GT();e.root.className=te("fui-SearchBox",n[o],!r&&n.unfocusedNoContentAfter,e.root.className),e.input.className=te("fui-SearchBox__input",n.input,!r&&a[o],e.input.className),e.dismiss&&(e.dismiss.className=te("fui-SearchBox__dismiss",l,t&&s.disabled,s[o],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=te("fui-SearchBox__contentBefore",e.contentBefore.className)),e.contentAfter?e.contentAfter.className=te("fui-SearchBox__contentAfter",i.contentAfter,!r&&i.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=te(e.dismiss.className,i.contentAfter)),iC(e)})(r),co("useSearchBoxStyles_unstable")(r),(e=>vn(e.root,{children:[e.contentBefore&&gn(e.contentBefore,{}),gn(e.input,{}),e.contentAfter&&vn(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&gn(e.dismiss,{})]})]}))(r)});XT.displayName="SearchBox";const $T=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",sj55zd:"f11d4kpn",Bhrd7zp:"fl43uef",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Byoj8tv:"f14wxoun",Bt984gj:"f122n59",B6of3ja:"f1jkagg5",jrapky:"fi2ljxd"},rootBrand:{sj55zd:"f1phragk"},dismissButton:{sj55zd:"fkfq4zb",qhf8xq:"f10pi13n",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:["f1n71otn","f1deefiw"],Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bceei9c:"f1k6fduh",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",De3pzq:"f1c21dwh",B7ck84d:"f1ewtqcl",B7oj6ja:["f3fg2lr","f13av6d4"],Bbmb7ep:["fzi6hpg","fyowgf4"],Jyy4pa:"f1lfeew",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f16d74zd",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f89hs3r",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"]},dismissBrand:{sj55zd:"f1phragk"},icon:{Bqenvij:"fsv12xs",a9b677:"f19bqwv",Bg96gwp:"fwrc4pm",Be2twd7:"fy9rknc",Bt984gj:"f122n59",B7ck84d:"f1e4lqlz",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",w71qe1:"f1iuv45f",ha4doy:"fmrv4ls",qhf8xq:"f10pi13n",De3pzq:"f1c21dwh",sj55zd:"fkfq4zb",Bokbzmb:"fpvr8q1"},iconBrand:{sj55zd:"f1phragk"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f122n59{align-items:center;}",".f1jkagg5{margin-top:var(--spacingHorizontalNone);}",".fi2ljxd{margin-bottom:var(--spacingHorizontalNone);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f10pi13n{position:relative;}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1ewtqcl{box-sizing:border-box;}",".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1lfeew{-webkit-margin-start:auto;margin-inline-start:auto;}",[".f16d74zd{padding:var(--spacingVerticalXS) var(--spacingHorizontalXS);}",{p:-1}],[".f89hs3r[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".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;}",".fsv12xs{height:var(--fontSizeBase200);}",".f19bqwv{width:var(--fontSizeBase200);}",".f1e4lqlz{box-sizing:content-box;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",".f1iuv45f{text-decoration-line:none;}",".fmrv4ls{vertical-align:middle;}",".fpvr8q1{-webkit-margin-end:var(--spacingHorizontalXS);margin-inline-end:var(--spacingHorizontalXS);}"]}),KT=u.forwardRef((e,t)=>{const r=((e,t)=>{const{dismissButton:r,icon:o}=e,n=zv(e=>e.setOpen),a=zv(e=>e.triggerRef),i=zv(e=>e.appearance),l=So(e=>{e.defaultPrevented||n(e,!1),a.current&&a.current.focus()});return{appearance:i,components:{root:"div",dismissButton:"button",icon:"div"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),icon:kr(o,{renderByDefault:!0,defaultProps:{children:u.createElement(Ud,null),"aria-hidden":!0},elementType:"div"}),dismissButton:kr(r,{renderByDefault:!0,defaultProps:{children:u.createElement(Xu,null),role:"button","aria-label":"dismiss",onClick:l},elementType:"button"})}})(e,t);return(e=>{const t=$T(),{appearance:r}=e;e.root.className=te("fui-TeachingPopoverHeader",t.root,"brand"===r&&t.rootBrand,e.root.className),e.dismissButton&&(e.dismissButton.className=te("fui-TeachingPopoverHeader__dismissButton",t.dismissButton,"brand"===r?t.dismissBrand:void 0,e.dismissButton.className)),e.icon&&(e.icon.className=te("fui-TeachingPopoverHeader__icon",t.icon,"brand"===r?t.iconBrand:void 0,e.icon.className))})(r),co("useTeachingPopoverHeaderStyles_unstable")(r),(e=>vn(e.root,{children:[e.icon&&gn(e.icon,{}),e.root.children,e.dismissButton&&gn(e.dismissButton,{})]}))(r)});KT.displayName="TeachingPopoverHeader";const YT=vr({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",a9b677:"f14z66ap",jrapky:"f1jlhsmd",ha4doy:"fmrv4ls",Brf1p80:"f4d9j23",mc9l5x:"f22iagw"},short:{Bubjx69:"f1taewuw",Bfd67p1:"f2f587x"},medium:{Bubjx69:"f7da563",Bfd67p1:"fmwcswg"},tall:{Bubjx69:"f9ikmtg",Bfd67p1:"f1gv48o"}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f14z66ap{width:auto;}",".f1jlhsmd{margin-bottom:12px;}",".fmrv4ls{vertical-align:middle;}",".f4d9j23{justify-content:center;}",".f22iagw{display:flex;}",".f1taewuw{aspect-ratio:2.4615384615384617;}",".f7da563{aspect-ratio:1.6363636363636365;}",".f9ikmtg{aspect-ratio:1;}"],t:["@supports not (aspect-ratio){.f2f587x{height:117px;}}","@supports not (aspect-ratio){.fmwcswg{height:176px;}}","@supports not (aspect-ratio){.f1gv48o{height:288px;}}"]}),JT=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Byoj8tv:"fpe6lb7"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".fpe6lb7{padding-bottom:12px;}"]}),QT=u.forwardRef((e,t)=>{const r=((e,t)=>{const{mediaLength:r}=e;return{components:{root:"div",media:"span"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),media:kr(e.media,{elementType:"span"}),mediaLength:null!=r?r:"short"}})(e,t);return(e=>{const{mediaLength:t}=e,r=JT(),o=YT();e.root.className=te("fui-TeachingPopoverBody",r.root,e.root.className),e.media&&(e.media.className=te("fui-TeachingPopoverBody__media",o.base,o[t],e.media.className))})(r),co("useTeachingPopoverBodyStyles_unstable")(r),(e=>vn(e.root,{children:[e.media&&gn(e.media,{}),e.root.children]}))(r)});QT.displayName="TeachingPopoverBody";const eq=()=>{let e=[],t=[];const r={clear(){e=[],o()},addValue(t){e=[...e,t],o()},insertValue(t,r){if(r){const o=e.indexOf(r);e.splice(o+1,0,t),e=[...e]}else e=[t,...e];o()},removeValue(t){const r=e.indexOf(t);e.splice(r,1),e=[...e],o()},subscribe:e=>(t=[...t,e],()=>{t=t.filter(t=>t!==e)}),getSnapshot:()=>e};function o(){for(const e of t)e()}return r},tq={store:eq(),value:null,selectPageByDirection:()=>{},selectPageByValue:()=>{}},rq=hc(void 0),oq=rq.Provider,nq=e=>gc(rq,(t=tq)=>e(t)),aq="data-carousel-item",iq="data-carousel-active-item",lq=u.forwardRef((e,t)=>{const r=((e,t)=>{const{value:r}=e,o=nq(e=>e.value===r),n={value:r,visible:o,components:{root:"div"},root:wr(Wr("div",{ref:t,[aq]:r,[iq]:o,hidden:!o,...e}),{elementType:"div"})};return o||(n.root.children=null),n})(e,t);return(e=>gn(e.root,{}))(r)});lq.displayName="CarouselItem";const sq=vr({root:{}},{}),cq=u.forwardRef((e,t)=>{const r=((e,t)=>{const{value:r}=e;return{value:r,components:{root:lq},root:wr({...Wr("div",{ref:t,...e}),value:r},{elementType:lq})}})(e,t);return(e=>{const t=sq();e.root.className=te("fui-TeachingPopoverCarouselCard",t.root,e.root.className)})(r),co("useTeachingPopoverCarouselCardStyles_unstable")(r),(e=>gn(e.root,{}))(r)});cq.displayName="TeachingPopoverCarouselCard";const dq=()=>{const{targetDocument:e}=ro(),t=u.useRef(null==e?void 0:e.createTreeWalker(e.body)),r=u.useRef(null),o=u.useCallback(o=>{e&&o&&(r.current=o,t.current=e.createTreeWalker(o,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>Go(e)&&e.hasAttribute(aq)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}))},[e]);return{ref:o,walker:u.useMemo(()=>({active(){if(!r.current)return null;const e=r.current.querySelector(`[${iq}="true"]`);return Go(e)?{el:e,value:e.getAttribute(aq)}:null},find(e){var o;if(!(null===(o=t.current)||void 0===o?void 0:o.currentNode)||!r.current)return null;t.current.currentNode=r.current;let n=null;for(;n=t.current.nextNode();)if(Go(n)&&n.getAttribute(aq)===e)return{el:n,value:n.getAttribute(aq)};return null},nextPage(e){var r;const o=this.find(e);if(!o||!(null===(r=t.current)||void 0===r?void 0:r.currentNode))return null;t.current.currentNode=o.el;const n=t.current.nextNode();return Go(n)?{el:n,value:n.getAttribute(aq)}:null},prevPage(e){var r;const o=this.find(e);if(!o||!(null===(r=t.current)||void 0===r?void 0:r.currentNode))return null;t.current.currentNode=o.el;const n=t.current.previousNode();return Go(n)?{el:n,value:n.getAttribute(aq)}:null}}),[])}},uq=vr({root:{}},{}),fq=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=zv(e=>e.toggleOpen),o=So((t,o)=>{var n;null===(n=e.onFinish)||void 0===n||n.call(e,t,o),r(t)}),{carousel:n,carouselRef:a}=function(e){const{announcement:t,onValueChange:r,onFinish:o}=e,{targetDocument:n}=ro(),a=null==n?void 0:n.defaultView,{ref:i,walker:l}=dq(),[s]=u.useState(()=>eq()),[c,d]=yo({defaultState:e.defaultValue,state:e.value,initialState:null}),f=u.useRef(null),{announce:p}=vo();u.useEffect(()=>{var e;const t=null===(e=f.current)||void 0===e?void 0:e.querySelectorAll(`[${aq}]`);for(let e=0;e<t.length;e++)s.addValue(t.item(e).getAttribute(aq));return()=>{s.clear()}},[s]),u.useEffect(()=>{if(!a)return;const e={attributes:!0,attributeFilter:[aq],childList:!0,subtree:!0},t=new a.MutationObserver(e=>{for(const r of e){for(const e of Array.from(r.addedNodes))if(Go(e)&&e.hasAttribute(aq)){const r=e.getAttribute(aq),o=l.find(r);if(!(null==o?void 0:o.value))return;const n=l.prevPage(null==o?void 0:o.value);var t;s.insertValue(r,null!==(t=null==n?void 0:n.value)&&void 0!==t?t:null)}for(const e of Array.from(r.removedNodes))if(Go(e)&&(null==e?void 0:e.hasAttribute(aq))){const t=e.getAttribute(aq);s.removeValue(t)}}});return t.observe(f.current,e),()=>{t.disconnect()}},[l,s,a]);const h=So((e,o)=>{d(o),null==r||r(e,{event:e,type:"click",value:o});const n=null==t?void 0:t(o);n&&p(n,{polite:!0})}),g=So((e,t)=>{const r=l.active();if(!(null==r?void 0:r.value))return;const n="prev"===t?l.prevPage(r.value):l.nextPage(r.value);n?h(e,null==n?void 0:n.value):null==o||o(e,{event:e,type:"click",value:null==r?void 0:r.value})});return{carouselRef:Fo(f,i),carousel:{store:s,value:c,selectPageByDirection:g,selectPageByValue:h}}}({announcement:e.announcement,defaultValue:e.defaultValue,value:e.value,onValueChange:e.onValueChange,onFinish:o});return{appearance:zv(e=>e.appearance),components:{root:"div"},root:wr(Wr("div",{ref:Fo(t,a),...e}),{elementType:"div"}),...n}})(e,t);(e=>{const t=uq();e.root.className=te("fui-TeachingPopoverCarousel",t.root,e.root.className)})(r),co("useTeachingPopoverCarouselStyles_unstable")(r);const o=function(e){const{store:t,value:r,selectPageByValue:o,selectPageByDirection:n}=e;return{carousel:{store:t,value:r,selectPageByDirection:n,selectPageByValue:o}}}(r);return((e,t)=>gn(oq,{value:t.carousel,children:gn(e.root,{})}))(r,o)});function pq(e){const t=nq(e=>e.store);return hv.useSyncExternalStore(t.subscribe,()=>e(t.getSnapshot()))}fq.displayName="TeachingPopoverCarousel";const hq=vr({root:{Bf4jedk:"f14es27b"},brandNext:{sj55zd:"f16muhyy",De3pzq:"f10s6wn9",g2u3we:"f1iimpp0",h3c5rm:["f19uhqvu","f1nx14hx"],B9xav0g:"fnqa90p",zhjwy3:["f1nx14hx","f19uhqvu"],Bi91k9c:"f3ymbdj",Jwef8y:"f1rgtb95",B2d53fq:"f1pu27ff",iro3zm:"f1d5c7in"},brandPrevious:{sj55zd:"f1phragk",De3pzq:"ffp7eso",g2u3we:"fm1ebug",h3c5rm:["f28omuz","f1uhflii"],B9xav0g:"f1ixw5o4",zhjwy3:["f1uhflii","f28omuz"],Bi91k9c:"f1rq72xc",Bgoe8wy:"f1bg5g8r",Bwzppfd:["f1h9bnsk","f12x9t0k"],oetu4i:"f19ervry",gg5e9n:["f12x9t0k","f1h9bnsk"],Jwef8y:"f15wkkf3",B2d53fq:"f1d6v5y2",b661bw:"f1565b9n",Bk6r4ia:["fm07gvo","fwlsg72"],B9zn80p:"fzw6fmy",Bpld233:["fwlsg72","fm07gvo"],iro3zm:"fnp9lpt"}},{d:[".f14es27b{min-width:96px;}",".f16muhyy{color:var(--colorBrandForeground1);}",".f10s6wn9{background-color:var(--colorNeutralForegroundOnBrand);}",".f1iimpp0{border-top-color:var(--colorTransparentBackground);}",".f19uhqvu{border-right-color:var(--colorTransparentBackground);}",".f1nx14hx{border-left-color:var(--colorTransparentBackground);}",".fnqa90p{border-bottom-color:var(--colorTransparentBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".fm1ebug{border-top-color:var(--colorNeutralForegroundOnBrand);}",".f28omuz{border-right-color:var(--colorNeutralForegroundOnBrand);}",".f1uhflii{border-left-color:var(--colorNeutralForegroundOnBrand);}",".f1ixw5o4{border-bottom-color:var(--colorNeutralForegroundOnBrand);}"],h:[".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f1rgtb95:hover{background-color:var(--colorNeutralForegroundOnBrand);}",".f1pu27ff:hover:active{color:var(--colorCompoundBrandForeground1Pressed);}",".f1d5c7in:hover:active{background-color:var(--colorNeutralForegroundOnBrand);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1bg5g8r:hover{border-top-color:var(--colorNeutralForegroundOnBrand);}",".f1h9bnsk:hover{border-right-color:var(--colorNeutralForegroundOnBrand);}",".f12x9t0k:hover{border-left-color:var(--colorNeutralForegroundOnBrand);}",".f19ervry:hover{border-bottom-color:var(--colorNeutralForegroundOnBrand);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1565b9n:hover:active{border-top-color:var(--colorNeutralForegroundOnBrand);}",".fm07gvo:hover:active{border-right-color:var(--colorNeutralForegroundOnBrand);}",".fwlsg72:hover:active{border-left-color:var(--colorNeutralForegroundOnBrand);}",".fzw6fmy:hover:active{border-bottom-color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}"]}),gq=u.forwardRef((e,t)=>{const r=((e,t)=>{const{navType:r,altText:o}=e,n=zv(e=>e.appearance),a=nq(e=>e.selectPageByDirection),i=pq(e=>e),l=nq(e=>e.value),s=So(Uo(e=>{e.isDefaultPrevented()||a(e,r)},e.onClick)),c=u.useMemo(()=>!!l&&("prev"===r?0===i.indexOf(l):i.indexOf(l)===i.length-1),[r,l,i]);let d;d="next"===r?"brand"===n?void 0:"primary":"brand"===n?"outline":void 0;let f=e.children;return c&&(f=o),{...om({appearance:d,...e},t),navType:r,popoverAppearance:n,altText:o,root:wr(Wr("button",{ref:t,appearance:d,...e,onClick:s,children:f}),{elementType:"button"})}})(e,t);return(e=>{const t=hq(),{navType:r,popoverAppearance:o}=e;(e={...e,...fm(e)}).root.className=te("fui-TeachingPopoverCarouselFooterButton",t.root,"prev"===r&&"brand"===o&&t.brandPrevious,"next"===r&&"brand"===o&&t.brandNext,e.root.className)})(r),co("useTeachingPopoverCarouselFooterButtonStyles_unstable")(r),(e=>gn(e.root,{}))(r)});gq.displayName="TeachingPopoverCarouselFooterButton";const vq=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq"},rootCentered:{Brf1p80:"f1869bpl",i8kkvl:0,Belr9w4:0,rmohyg:"f19gb1f4"},rootRightAligned:{i8kkvl:0,Belr9w4:0,rmohyg:"f19gb1f4",Bp34fd5:"f1y65ohq"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f1869bpl{justify-content:space-between;}",[".f19gb1f4{gap:8px;}",{p:-1}],[".f19gb1f4{gap:8px;}",{p:-1}],".f1y65ohq :first-child{-webkit-margin-end:auto;margin-inline-end:auto;}"]}),mq=u.forwardRef((e,t)=>{const r=((e,t)=>{const{layout:r="centered",initialStepText:o,finalStepText:n}=e,a=kr(e.previous,{defaultProps:{navType:"prev",altText:o},renderByDefault:!0,elementType:gq}),i=wr(e.next,{defaultProps:{navType:"next",altText:n},elementType:gq});return{layout:r,components:{root:"div",next:gq,previous:gq},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),previous:a,next:i}})(e,t);return(e=>{const t=vq(),{layout:r}=e;e.root.className=te("fui-TeachingPopoverCarouselFooter",t.root,"centered"===r?t.rootCentered:t.rootRightAligned,e.root.className),e.previous&&(e.previous.className=te("fui-TeachingPopoverCarouselFooter__previous",e.previous.className)),e.next.className=te("fui-TeachingPopoverCarouselFooter__next",e.next.className)})(r),co("useTeachingPopoverCarouselFooterStyles_unstable")(r),(e=>{const{layout:t}=e;return vn(e.root,{children:["centered"===t&&e.previous&&gn(e.previous,{}),e.root.children,"offset"===t&&e.previous&&gn(e.previous,{}),gn(e.next,{})]})})(r)});mq.displayName="TeachingPopoverCarouselFooter";const bq=u.createContext(void 0),Cq=bq.Provider,yq=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",i8kkvl:"f1ufnopg",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f89hs3r",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"]}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",[".f89hs3r[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".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;}"]}),xq=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=xi({circular:!1,axis:"horizontal",memorizeCurrent:!1,unstable_hasDefault:!0});return{values:pq(e=>e),renderNavButton:e.children,components:{root:"div"},root:wr(Wr("div",{ref:t,role:"tablist",tabIndex:0,...e,...r,children:null}),{elementType:"div"})}})(e,t);return(e=>{const t=yq();e.root.className=te("fui-TeachingPopoverCarouselNav",t.root,e.root.className)})(r),co("useTeachingPopoverCarouselNavStyles_unstable")(r),(e=>{const{values:t,renderNavButton:r}=e;return gn(e.root,{children:t.map(e=>gn(Cq,{value:e,children:r(e)},e))})})(r)});xq.displayName="TeachingPopoverCarouselNav";const wq=vr({root:{mc9l5x:"f22iagw",Bceei9c:"f1k6fduh",B7ck84d:"f1ewtqcl",Bqenvij:"f1x82gua",a9b677:"f1o3cbw4",De3pzq:"ffp7eso"},rootUnselected:{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",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f5q2cvs",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f71xx7",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f89hs3r",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],De3pzq:"frgiif3",o2ey54:"fawpdd5",C3llkk:"feyhbel"},rootSelected:{Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f71xx7",a9b677:"fjw5fx7",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",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ff3glw6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f89hs3r",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],By8wz76:"f1wgxgin"},rootBrand:{De3pzq:"f10s6wn9"},rootBrandUnselected:{De3pzq:"frxe7el",o2ey54:"fawpdd5",C3llkk:"feyhbel"}},{d:[".f22iagw{display:flex;}",".f1k6fduh{cursor:pointer;}",".f1ewtqcl{box-sizing:border-box;}",".f1x82gua{height:8px;}",".f1o3cbw4{width:8px;}",".ffp7eso{background-color:var(--colorBrandBackground);}",[".f3bhgqh{border:none;}",{p:-2}],[".f5q2cvs{border-radius:50%;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],[".f71xx7{outline:var(--strokeWidthThin) solid transparent;}",{p:-1}],[".f89hs3r[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".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;}",".frgiif3{background-color:color-mix(in srgb, var(--colorBrandBackground) 30%, transparent);}",[".f71xx7{outline:var(--strokeWidthThin) solid transparent;}",{p:-1}],".fjw5fx7{width:16px;}",[".f3bhgqh{border:none;}",{p:-2}],[".ff3glw6{border-radius:4px;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],[".f89hs3r[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10s6wn9{background-color:var(--colorNeutralForegroundOnBrand);}",".frxe7el{background-color:color-mix(in srgb, var(--colorNeutralForegroundOnBrand) 30%, transparent);}"],t:["@supports not (color: color-mix(in lch, white, black)){.fawpdd5{opacity:0.3;}}","@supports not (color: color-mix(in lch, white, black)){.feyhbel{background-color:var(--colorBrandBackground);}}"],m:[["@media (forced-colors: active){.f1wgxgin{background-color:CanvasText;}}",{m:"(forced-colors: active)"}]]}),kq=u.forwardRef((e,t)=>{const r=((e,t)=>{const{onClick:r,as:o="a"}=e,n=null!==(a=u.useContext(bq))&&void 0!==a?a:"";var a;const i=zv(e=>e.appearance),l=nq(e=>e.selectPageByValue),s=nq(e=>e.value===n),c=So(e=>{null==r||r(e),!e.defaultPrevented&&Go(e.target)&&l(e,n)}),d=yi({focusable:{isDefault:s}}),f=wr(Wr(o,Hc(e.as,e)),{elementType:"button",defaultProps:{ref:t,role:"tab",type:"button","aria-selected":`${!!s}`,...d}});return f.onClick=c,{isSelected:s,appearance:i,components:{root:"button"},root:f}})(e,t);return(e=>{const t=wq(),{appearance:r,isSelected:o}=e,n=o?t.rootBrand:t.rootBrandUnselected;e.root.className=te("fui-TeachingPopoverCarouselNavButton",t.root,o?t.rootSelected:t.rootUnselected,"brand"===r&&n,e.root.className)})(r),co("useTeachingPopoverCarouselNavButtonStyles_unstable")(r),(e=>gn(e.root,{}))(r)});kq.displayName="TeachingPopoverCarouselNavButton";const Bq=vr({root:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f23zza1",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu",Bf4jedk:"f14hp5dx",B7ck84d:"f1ewtqcl"}},{d:[[".f23zza1{padding:var(--spacingVerticalL) var(--spacingVerticalL);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".f14hp5dx{min-width:320px;}",".f1ewtqcl{box-sizing:border-box;}"]}),zq=u.forwardRef((e,t)=>{const r=((e,t)=>jv(e,t))(e,t);return(e=>{const t=Bq();e.root.className=te("fui-TeachingPopoverSurface",t.root,e.root.className),Ov(e)})(r),co("useTeachingPopoverSurfaceStyles_unstable")(r),(e=>Ev(e))(r)});zq.displayName="TeachingPopoverSurface";const jq=Yu(Pd,Id),Sq=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Brf1p80:"f1869bpl",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",sj55zd:"f19n0e5",Bg96gwp:"faaz57k",Byoj8tv:"f5b47ha",B6of3ja:"f1jkagg5",jrapky:"fi2ljxd"},rootBrand:{sj55zd:"f1phragk"},dismissButton:{qhf8xq:"f10pi13n",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:["f1n71otn","f1deefiw"],Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bceei9c:"f1k6fduh",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",De3pzq:"f1c21dwh",B7ck84d:"f1ewtqcl",B7oj6ja:["f3fg2lr","f13av6d4"],Bbmb7ep:["fzi6hpg","fyowgf4"],Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f89hs3r",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Jyy4pa:"f1lfeew"},dismissBrand:{sj55zd:"f1phragk"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f1869bpl{justify-content:space-between;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f5b47ha{padding-bottom:var(--spacingVerticalS);}",".f1jkagg5{margin-top:var(--spacingHorizontalNone);}",".fi2ljxd{margin-bottom:var(--spacingHorizontalNone);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".f10pi13n{position:relative;}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f122n59{align-items:center;}",".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1ewtqcl{box-sizing:border-box;}",".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",[".f89hs3r[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".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;}",".f1lfeew{-webkit-margin-start:auto;margin-inline-start:auto;}"]}),Nq=u.forwardRef((e,t)=>{const r=((e,t)=>{const{dismissButton:r}=e,o=zv(e=>e.setOpen),n=zv(e=>e.triggerRef),a=zv(e=>e.appearance),i=So(e=>{e.defaultPrevented||o(e,!1),n.current&&n.current.focus()});return{appearance:a,components:{root:"h2",dismissButton:"button"},root:wr(Wr("h2",{ref:t,...e}),{elementType:"h2"}),dismissButton:kr(r,{renderByDefault:!1,defaultProps:{children:u.createElement(jq,null),onClick:i,"aria-label":"dismiss","aria-hidden":!0},elementType:"button"})}})(e,t);return(e=>{const t=Sq(),{appearance:r}=e;e.root.className=te("fui-TeachingPopoverTitle",t.root,"brand"===r&&t.rootBrand,e.root.className),e.dismissButton&&(e.dismissButton.className=te("fui-TeachingPopoverTitle__dismissButton",t.dismissButton,"brand"===r?t.dismissBrand:void 0,e.dismissButton.className))})(r),co("useTeachingPopoverTitleStyles_unstable")(r),(e=>vn(e.root,{children:[e.root.children,e.dismissButton&&gn(e.dismissButton,{})]}))(r)});Nq.displayName="TeachingPopoverTitle";const _q=e=>{const t=(e=>Uv(e))(e);return(e=>e.children)(t)};_q.displayName="TeachingPopoverTrigger",_q.isFluentTriggerComponent=!0;const Tq=vr({root:{mc9l5x:"f22iagw",i8kkvl:0,Belr9w4:0,rmohyg:"f19gb1f4",z8tnut:"f1kcqot9"},rootVertical:{Beiy3e4:"f1vx9l62"},rootHorizontal:{Beiy3e4:"f1063pyq",Brf1p80:"f9c4gz4"},buttonRootVertical:{a9b677:"f14z66ap",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ff3glw6"},buttonRootHorizontal:{Bf4jedk:"f14es27b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ff3glw6"},brandSecondary:{g2u3we:"fm1ebug",h3c5rm:["f28omuz","f1uhflii"],B9xav0g:"f1ixw5o4",zhjwy3:["f1uhflii","f28omuz"]},brandPrimary:{sj55zd:"f16muhyy",De3pzq:"f10s6wn9",Bi91k9c:"f3ymbdj",Jwef8y:"f1rgtb95",B2d53fq:"f1pu27ff",iro3zm:"f1d5c7in"}},{d:[".f22iagw{display:flex;}",[".f19gb1f4{gap:8px;}",{p:-1}],".f1kcqot9{padding-top:12px;}",".f1vx9l62{flex-direction:column;}",".f1063pyq{flex-direction:row;}",".f9c4gz4{justify-content:flex-end;}",".f14z66ap{width:auto;}",[".ff3glw6{border-radius:4px;}",{p:-1}],".f14es27b{min-width:96px;}",[".ff3glw6{border-radius:4px;}",{p:-1}],".fm1ebug{border-top-color:var(--colorNeutralForegroundOnBrand);}",".f28omuz{border-right-color:var(--colorNeutralForegroundOnBrand);}",".f1uhflii{border-left-color:var(--colorNeutralForegroundOnBrand);}",".f1ixw5o4{border-bottom-color:var(--colorNeutralForegroundOnBrand);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f10s6wn9{background-color:var(--colorNeutralForegroundOnBrand);}"],h:[".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f1rgtb95:hover{background-color:var(--colorNeutralForegroundOnBrand);}",".f1pu27ff:hover:active{color:var(--colorCompoundBrandForeground1Pressed);}",".f1d5c7in:hover:active{background-color:var(--colorNeutralForegroundOnBrand);}"]}),qq=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=zv(e=>e.appearance),o=zv(e=>e.toggleOpen),n=So(e=>{e.isDefaultPrevented()||o(e)}),a=kr(e.secondary,{defaultProps:{appearance:"brand"===r?"primary":void 0},renderByDefault:void 0!==e.secondary,elementType:pm});a&&(a.onClick=Uo(n,null==a?void 0:a.onClick));const i=wr(e.primary,{defaultProps:{appearance:"brand"===r?void 0:"primary"},elementType:pm});var l;return a||(i.onClick=Uo(n,null==i?void 0:i.onClick)),{footerLayout:null!==(l=e.footerLayout)&&void 0!==l?l:"horizontal",appearance:r,components:{root:"div",primary:pm,secondary:pm},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),secondary:a,primary:i}})(e,t);return(e=>{const t=Tq(),{appearance:r,footerLayout:o}=e;e.root.className=te("fui-TeachingPopoverFooter",t.root,"horizontal"===o?t.rootHorizontal:t.rootVertical,e.root.className),e.secondary&&(e.secondary.className=te("fui-TeachingPopoverFooter__secondary","horizontal"===o?t.buttonRootHorizontal:t.buttonRootVertical,"brand"===r?t.brandSecondary:void 0,e.secondary.className)),e.primary.className=te("fui-TeachingPopoverFooter__primary","horizontal"===o?t.buttonRootHorizontal:t.buttonRootVertical,"brand"===r?t.brandPrimary:void 0,e.primary.className)})(r),co("useTeachingPopoverFooterStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.primary,{}),e.secondary&&gn(e.secondary,{})]}))(r)});qq.displayName="TeachingPopoverFooter";const Fq=vr({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}"]}),Dq=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=pq(e=>e);var o;const n=null!==(o=nq(e=>e.value))&&void 0!==o?o:r[0],a=r.indexOf(n),i=r.length;return{currentIndex:a,totalPages:i,renderPageCount:e.children,components:{root:"div"},root:wr(Wr("div",{ref:t,...e,children:e.children(a+1,i)}),{elementType:"div"})}})(e,t);return(e=>{const t=Fq();e.root.className=te("fui-TeachingPopoverCarouselPageCount",t.root,e.root.className)})(r),co("useTeachingPopoverCarouselPageCountStyles_unstable")(r),(e=>gn(e.root,{}))(r)});Dq.displayName="TeachingPopoverCarouselPageCount";const Eq=["above","after","after-top","before","before-top"],Pq={triggerRef:u.createRef(),popoverRef:u.createRef(),targetRef:u.createRef(),tagPickerGroupRef:u.createRef(),secondaryActionRef:u.createRef(),open:!1,clearSelection:()=>null,getOptionById:()=>{},selectedOptions:[],selectOption:()=>null,setHasFocus:()=>null,setOpen:()=>null,setValue:()=>null,value:void 0,popoverId:"",size:"medium",appearance:"outline",disabled:!1},Iq=hc(void 0),Oq=Iq.Provider,Aq=e=>gc(Iq,(t=Pq)=>e(t)),Rq=()=>{},Mq=u.memo(e=>{const t=(e=>{const t=qo("picker-listbox"),r=u.useRef(null),o=u.useRef(null),n=u.useRef(null),{positioning:a,size:i="medium",inline:l=!1,noPopover:s=!1,disableAutoFocus:c}=e,{targetRef:d,containerRef:f}=sv({position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:Eq,matchTargetSize:"width",...Jg(a)}),{controller:p,activeParentRef:h,listboxRef:g}=ed({matchOption:e=>e.classList.contains(bb)}),v=jb({...e,onOptionSelect:So((t,r)=>{var o;return null===(o=e.onOptionSelect)||void 0===o?void 0:o.call(e,t,{selectedOptions:r.selectedOptions,value:r.optionValue,type:t.type,event:t})}),onOpenChange:So((t,r)=>{var o;return null===(o=e.onOpenChange)||void 0===o?void 0:o.call(e,t,{...r,type:t.type,event:t})}),activeDescendantController:p,disableAutoFocus:c,editable:!0,multiselect:!0,size:"medium"}),{trigger:m,popover:b}=((e,t)=>{const r=u.Children.toArray(e);if(t)return{trigger:r[0]};let o,n;return 2===r.length?(o=r[0],n=r[1]):1===r.length&&(n=r[0]),{trigger:o,popover:n}})(e.children,s);return{activeDescendantController:p,components:{},trigger:m,popover:v.open||v.hasFocus?b:void 0,popoverId:t,noPopover:s,disabled:v.disabled,triggerRef:Fo(r,h),popoverRef:Fo(g,f),secondaryActionRef:o,tagPickerGroupRef:n,targetRef:d,size:i,inline:l,open:v.open,mountNode:v.mountNode,onOptionClick:So(e=>{v.onOptionClick(e),v.setOpen(e,!1)}),appearance:v.appearance,clearSelection:v.clearSelection,getOptionById:v.getOptionById,getOptionsMatchingValue:v.getOptionsMatchingValue,registerOption:v.registerOption,selectedOptions:v.selectedOptions,selectOption:So((t,r)=>{var o;!v.selectedOptions.includes(r.value)||dn(n.current,t.target)?v.selectOption(t,r):null===(o=e.onOptionSelect)||void 0===o||o.call(e,t,{selectedOptions:v.selectedOptions,value:r.value,type:t.type,event:t})}),setHasFocus:v.setHasFocus,setOpen:v.setOpen,setValue:v.setValue,value:v.value}})(e),r=function(e){const{onOptionClick:t,registerOption:r,selectedOptions:o,selectOption:n,value:a,triggerRef:i,secondaryActionRef:l,tagPickerGroupRef:s,targetRef:c,size:d,setValue:f,setOpen:p,setHasFocus:h,popoverRef:g,appearance:v,clearSelection:m,getOptionById:b,getOptionsMatchingValue:C,open:y,popoverId:x,disabled:w,noPopover:k}=e;return{activeDescendant:u.useMemo(()=>({controller:e.activeDescendantController}),[e.activeDescendantController]),listbox:{onOptionClick:t,registerOption:r,getOptionById:b,getOptionsMatchingValue:C,selectedOptions:o,selectOption:n,focusVisible:!1,setActiveOption:Rq},picker:{value:a,triggerRef:i,targetRef:c,secondaryActionRef:l,tagPickerGroupRef:s,size:d,setValue:f,setOpen:p,setHasFocus:h,selectOption:n,popoverRef:g,selectedOptions:o,appearance:v,clearSelection:m,getOptionById:b,open:y,popoverId:x,disabled:w,noPopover:k}}}(t);return((e,t)=>u.createElement(Oq,{value:t.picker},u.createElement(Zc,{value:t.activeDescendant},u.createElement(pb,{value:t.listbox},e.trigger,e.popover&&(e.inline?e.popover:u.createElement(Dv,{mountNode:e.mountNode},e.popover))))))(t,r)});Mq.displayName="TagPicker";const Hq="--fluent-TagPickerInput__width",Lq=e=>{e.style.removeProperty(Hq),e.scrollWidth>e.offsetWidth+1?e.style.setProperty(Hq,"100%"):e.style.removeProperty(Hq)},Vq=mr("r1hdk6fw",null,[".r1hdk6fw{background-color:var(--colorTransparentBackground);color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);box-sizing:border-box;border:none;min-width:24px;max-width:100%;width:var(--fluent-TagPickerInput__width, 0);flex-grow:1;}",".r1hdk6fw:focus{outline-style:none;}",".r1hdk6fw::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1hdk6fw::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1hdk6fw::placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1hdk6fw::after{visibility:hidden;white-space:pre-wrap;}"]),Wq=vr({medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fa2pw7h"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"ft37c3"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3abo53"},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fa2pw7h{padding:var(--spacingVerticalSNudge) 0 var(--spacingVerticalSNudge) 0;}",{p:-1}],[".ft37c3{padding:var(--spacingVerticalMNudge) 0 var(--spacingVerticalMNudge) 0;}",{p:-1}],[".f3abo53{padding:var(--spacingVerticalM) 0 var(--spacingVerticalM) 0;}",{p:-1}],".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);}"]}),Zq=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=Am(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0}),{controller:o}=Uc(),n=Aq(e=>e.size),a=Aq(e=>e.disabled),i=Aq(e=>e.tagPickerGroupRef),l=Aq(e=>e.triggerRef),s=Aq(e=>e.selectedOptions),c=Aq(e=>e.setValue),d=Aq(e=>e.setOpen),f=Aq(e=>e.setHasFocus),p=Aq(e=>e.clearSelection),h=Aq(e=>e.open),g=Aq(e=>e.noPopover?void 0:e.popoverId),v=Aq(e=>e.selectOption),m=Aq(e=>e.getOptionById),b=Aq(e=>e.value);jo(()=>{l.current&&Lq(l.current)},[s,l]),jo(()=>{if(l.current){const e=l.current,t=()=>Lq(e);return e.addEventListener("input",t),()=>{e.removeEventListener("input",t)}}},[l]);const{value:C=b,disabled:y=a}=r,{findLastFocusable:w}=zi(),k=u.useRef(!1);return{components:{root:"input"},root:Tb({type:"text",value:null!=C?C:"","aria-controls":h?g:void 0,disabled:y,...Wr("input",r),onKeyDown:So(e=>{var t,o;null===(t=r.onKeyDown)||void 0===t||t.call(r,e),e.key!==qc&&e.key!==Ac||0!==e.currentTarget.selectionStart||0!==e.currentTarget.selectionEnd||!i.current?e.key===Nc?h&&!k.current&&d(e,!1):e.key===Sc&&(h?x.unstable_batchedUpdates(()=>{c(void 0),d(e,!1)}):d(e,!0)):null===(o=w(i.current))||void 0===o||o.focus(),k.current=1===e.key.length&&e.code!==Nc&&!e.altKey&&!e.ctrlKey&&!e.metaKey})},Fo(l,t),{activeDescendantController:o,freeform:!1,state:{clearSelection:p,getOptionById:m,open:h,selectedOptions:s,selectOption:v,setHasFocus:f,setOpen:d,setValue:c,multiselect:!0,value:r.value}}),disabled:y,size:n}})(e,t);return(e=>{const t=Vq(),r=Wq();e.root.className=te("fui-TagPickerInput",t,r[e.size],e.disabled&&r.disabled,e.root.className)})(r),co("useTagPickerInputStyles_unstable")(r),(e=>gn(e.root,{}))(r)});Zq.displayName="TagPickerInput";const Uq=vr({root:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},collapsed:{mc9l5x:"fjseox"}},{d:[".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".f1ewtqcl{box-sizing:border-box;}",".fjseox{display:none;}"]}),Gq=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=Aq(e=>e.triggerRef),o=Aq(e=>e.popoverRef),n=Aq(e=>e.popoverId);return{open:Aq(e=>e.open),components:{root:kb},root:wr({...Nb(e,Fo(o,t),{state:{multiselect:!0},triggerRef:r,defaultProps:{id:n}}),role:"listbox"},{elementType:kb})}})(e,t);return(e=>{const t=Uq();e.root.className=te("fui-TagPickerList",t.root,!e.open&&t.collapsed,e.root.className)})(r),co("useTagPickerListStyles_unstable")(r),(e=>gn(e.root,{}))(r)});Gq.displayName="TagPickerList";const Xq=vr({button:{Bt984gj:"f122n59",sshi5w:"f1nxs5xn",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",Bahqtrf:"fk6fouc",fsow6f:["f1o700av","fes3tcz"],Bh6795r:"fqerorx",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},"extra-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:"flmw63s",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"fqhmt4z",B50zh58:["f4ruux4","f1assf6x"]},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"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"}},{d:[".f122n59{align-items:center;}",".f1nxs5xn{min-height:32px;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fqerorx{flex-grow:1;}",".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);}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}"],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);}",".flmw63s:hover{border-bottom-color:var(--colorNeutralStrokeAccessible);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".fqhmt4z:active{border-bottom-color:var(--colorNeutralStrokeAccessible);}"],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)"}]]}),$q=u.forwardRef((e,t)=>{const r=((e,t)=>{const{controller:r}=Uc(),o=Aq(e=>e.triggerRef),n=Aq(e=>e.open),a=Aq(e=>e.value),i=Aq(e=>e.selectedOptions.length>0),l=Aq(e=>e.popoverId),s=Aq(e=>e.getOptionById),c=Aq(e=>e.selectOption),d=Aq(e=>e.setHasFocus),u=Aq(e=>e.setOpen);return{components:{root:"button"},root:Pb(e,o,{activeDescendantController:r,defaultProps:{type:"button",tabIndex:0,children:a||e.placeholder,"aria-controls":n?l:void 0,ref:t},state:{getOptionById:s,open:n,selectOption:c,setHasFocus:d,setOpen:u,multiselect:!0}}),size:Aq(e=>e.size),hasSelectedOption:i}})(e,t);return(e=>{const t=Xq();e.root.className=te("fui-TagPickerButton",t.button,t[e.size],e.hasSelectedOption&&t.visuallyHidden,e.root.className)})(r),co("useTagPickerButtonStyles_unstable")(r),(e=>gn(e.root,{}))(r)});$q.displayName="TagPickerButton";const Kq=vr({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",z189sj:["f1d8q41i","f8lqu5g"],uwmqm3:["f1uw59to","fw5db7e"],Bt984gj:"f122n59",i8kkvl:"f14mj54c",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",Eh141a:"fni485r",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",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"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},medium:{sshi5w:"f1nxs5xn"},large:{sshi5w:"f1w5jphr"},"extra-large":{sshi5w:"f5pgtk9"},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:"f88035w"},"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:"f88035w"},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"]}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1d8q41i{padding-right:calc(var(--spacingHorizontalM) + var(--fui-TagPickerControl-aside-width, 0px));}",".f8lqu5g{padding-left:calc(var(--spacingHorizontalM) + var(--fui-TagPickerControl-aside-width, 0px));}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f122n59{align-items:center;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fni485r{flex-wrap:wrap;}",".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;}",".f145g4dw::after{height:max(2px, 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;}",".f1nxs5xn{min-height:32px;}",".f1w5jphr{min-height:40px;}",".f5pgtk9{min-height:44px;}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{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);}"],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)"}]],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);}"]}),Yq=vr({root:{mc9l5x:"f22iagw",qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",j35jbq:["f8b87gs","fedtrts"],Bqenvij:"f1l02sjl",Bceei9c:"f113hnb5"},medium:{sshi5w:"f1nxs5xn"},large:{sshi5w:"f1w5jphr"},"extra-large":{sshi5w:"f5pgtk9"}},{d:[".f22iagw{display:flex;}",".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f8b87gs{right:var(--spacingHorizontalM);}",".fedtrts{left:var(--spacingHorizontalM);}",".f1l02sjl{height:100%;}",".f113hnb5{cursor:text;}",".f1nxs5xn{min-height:32px;}",".f1w5jphr{min-height:40px;}",".f5pgtk9{min-height:44px;}"]}),Jq=vr({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Brf1p80:"f4d9j23",Bt984gj:"f122n59",qb2dma:"fjgzulp",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},medium:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],sshi5w:"f1nxs5xn"},large:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],sshi5w:"f1w5jphr"},"extra-large":{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],sshi5w:"f5pgtk9"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".f4d9j23{justify-content:center;}",".f122n59{align-items:center;}",".fjgzulp{align-self:flex-start;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1nxs5xn{min-height:32px;}",".fe5j1ua{font-size:20px;}",".f1w5jphr{min-height:40px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f5pgtk9{min-height:44px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),Qq=vr({root:{mc9l5x:"f22iagw"}},{d:[".f22iagw{display:flex;}"]}),eF=u.forwardRef((e,t)=>{const r=((e,t)=>{var r;const o=Aq(e=>e.targetRef),n=Aq(e=>e.triggerRef),a=Aq(e=>e.tagPickerGroupRef),i=Aq(e=>e.open),l=Aq(e=>e.popoverId),s=Aq(e=>e.setOpen),c=Aq(e=>e.secondaryActionRef),d=Aq(e=>e.size),f=Aq(e=>e.appearance),p=Aq(e=>e.disabled),h="error"===(null===(r=Om())||void 0===r?void 0:r.validationState),g=Aq(e=>{var t;return null!==(t=e.noPopover)&&void 0!==t&&t}),{targetDocument:v}=ro(),m=qo("tagPicker-"),b=u.useRef(null),C=u.useRef(null),y=u.useRef(null),x=u.useRef(null),w=kr(e.secondaryAction,{elementType:"span"}),k=Fo(c,null==w?void 0:w.ref);w&&(w.ref=k);const B=kr(e.expandIcon,{renderByDefault:!g,defaultProps:{"aria-expanded":i,"aria-disabled":p?"true":void 0,children:u.createElement(Nd,null),role:"button"},elementType:"span"}),z=Fo(null==B?void 0:B.ref,y);B&&(B.ref=z);const j=(e=>{const{targetDocument:t}=ro(),[r]=u.useState(()=>{var r;const o=null==t||null===(r=t.defaultView)||void 0===r?void 0:r.ResizeObserver;if(o)return new o(e)});return u.useCallback(e=>{e?null==r||r.observe(e):null==r||r.disconnect()},[r])})(([e])=>{const t=null==v?void 0:v.defaultView;t&&(b.current=t.requestAnimationFrame(()=>{var t;null===(t=C.current)||void 0===t||t.style.setProperty("--fui-TagPickerControl-aside-width",`${e.contentRect.width}px`)}))}),S=kr(void 0,{elementType:"span",renderByDefault:Boolean(w||B),defaultProps:{ref:j}}),N=Fo(x,null==S?void 0:S.ref);S&&(S.ref=N);const _=So(e=>{var t;e.isDefaultPrevented()||(dn(y.current,e.target)||e.target===C.current||e.target===a.current||e.target===x.current)&&(e.preventDefault(),s(e,!i),null===(t=n.current)||void 0===t||t.focus())}),T={components:{root:"div",expandIcon:"span",secondaryAction:"span",aside:"span"},root:wr(Wr("div",{ref:Fo(t,o,C),"aria-owns":i&&!g?l:void 0,...e,onMouseDown:_}),{elementType:"div"}),aside:S,expandIcon:B,secondaryAction:w,size:d,appearance:f,disabled:p,invalid:h},q=function(e){const{tagPickerId:t,state:r}=e,{targetDocument:o}=ro(),n=Aq(e=>e.triggerRef),a=u.useRef(null),i=!!r.expandIcon,{"aria-label":l,"aria-labelledby":s,id:c}=r.expandIcon||{},d=u.useCallback((e,r)=>{let o,n,a;if(i){const i="Open";l||s||(r?(o=i,a=null!=c?c:`${t}-chevron`,n=`${a} ${r}`):o=e?`${i} ${e}`:i)}return{expandAriaLabel:o,expandAriaLabelledBy:n,expandId:a}},[l,s,c,i,t]),f=u.useCallback(()=>{var e,t;const r=null===(e=n.current)||void 0===e?void 0:e.getAttribute("aria-label"),o=null===(t=n.current)||void 0===t?void 0:t.getAttribute("aria-labelledby"),{expandAriaLabel:i,expandAriaLabelledBy:l,expandId:s}=d(r,o);var c,u,f;l&&(null===(c=a.current)||void 0===c||c.setAttribute("aria-labelledby",l)),i&&(null===(u=a.current)||void 0===u||u.setAttribute("aria-label",i)),s&&(null===(f=a.current)||void 0===f||f.setAttribute("id",s))},[d,n]);return u.useEffect(()=>{const e=l||s;if(!(null==o?void 0:o.defaultView)||!n.current||!i||e)return;const t=o.defaultView;f();const r=new t.MutationObserver(f);return r.observe(n.current,{attributes:!0,attributeFilter:["aria-label","aria-labelledby"]}),()=>r.disconnect()},[d,f,l,s,i,t,n,o]),a}({tagPickerId:m,state:T}),F=Fo(null==B?void 0:B.ref,q);return T.expandIcon&&(T.expandIcon.ref=F),u.useEffect(()=>{b.current&&(null==v?void 0:v.defaultView)&&v.defaultView.cancelAnimationFrame(b.current)},[v]),T})(e,t);return(e=>{const t=Kq(),r=Jq(),o=Yq(),n=Qq();e.root.className=te("fui-TagPickerControl",t.root,t[e.size],t[e.appearance],!e.disabled&&"outline"===e.appearance&&t.outlineInteractive,e.invalid&&"underline"!==e.appearance&&t.invalid,e.invalid&&"underline"===e.appearance&&t.invalidUnderline,e.disabled&&t.disabled,e.root.className),e.aside&&(e.aside.className=te("fui-TagPickerControl__aside",o.root,o[e.size],e.aside.className)),e.expandIcon&&(e.expandIcon.className=te("fui-TagPickerControl__expandIcon",r.icon,r[e.size],e.disabled&&r.disabled,e.expandIcon.className)),e.secondaryAction&&(e.secondaryAction.className=te("fui-TagPickerControl__secondaryAction",n.root,e.secondaryAction.className))})(r),co("useTagPickerControlStyles_unstable")(r),(e=>vn(e.root,{children:[e.root.children,e.aside&&vn(e.aside,{children:[e.secondaryAction&&gn(e.secondaryAction,{}),e.expandIcon&&gn(e.expandIcon,{})]})]}))(r)});eF.displayName="TagPickerControl";const tF=mr("r70qvj9",null,[".r70qvj9{display:flex;align-items:center;}"]),rF=vr({secondaryContent:{mc9l5x:"f13qh94s",Budl1dq:"fjxzuw"}},{d:[".f13qh94s{display:grid;}",".fjxzuw{grid-template-columns:auto 1fr;}"]}),oF=mr("r131qrbm",null,[".r131qrbm{grid-column-start:2;grid-row-start:2;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),nF=mr("rrip69g",null,[".rrip69g{grid-row-start:span 2;}"]);function aF(e){return"filled-darker"===e?"outline":"filled"}u.forwardRef((e,t)=>{const r=((e,t)=>{const r=Bb(e,t);return{components:{...r.components,media:"div",secondaryContent:"span"},media:kr(e.media,{elementType:"div"}),secondaryContent:kr(e.secondaryContent,{elementType:"span"}),root:wr({...r.root,role:"option","aria-checked":e["aria-checked"]},{elementType:"div"})}})(e,t);return(e=>{const t=tF(),r=rF(),o=oF(),n=nF();e.root.className=te("fui-TagPickerOption",t,e.secondaryContent&&r.secondaryContent,e.root.className),yb({...e,active:!1,disabled:!1,focusVisible:!1,checkIcon:void 0,selected:!1}),e.media&&(e.media.className=te("fui-TagPickerOption__media",n,e.media.className)),e.secondaryContent&&(e.secondaryContent.className=te("fui-TagPickerOption__secondaryContent",o,e.secondaryContent.className))})(r),co("useTagPickerOptionStyles_unstable")(r),(e=>vn(e.root,{children:[e.media&&gn(e.media,{}),e.root.children,e.secondaryContent&&gn(e.secondaryContent,{})]}))(r)}).displayName="TagPickerOption";const iF=vr({root:{Eh141a:"fni485r",B7ck84d:"f1ewtqcl",Bceei9c:"f113hnb5"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fa2pw7h",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fc0zr7g",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},"extra-large":{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fc0zr7g",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"}},{d:[".fni485r{flex-wrap:wrap;}",".f1ewtqcl{box-sizing:border-box;}",".f113hnb5{cursor:text;}",[".fa2pw7h{padding:var(--spacingVerticalSNudge) 0 var(--spacingVerticalSNudge) 0;}",{p:-1}],[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],[".fc0zr7g{padding:var(--spacingVerticalS) 0 var(--spacingVerticalS) 0;}",{p:-1}],[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],[".fc0zr7g{padding:var(--spacingVerticalS) 0 var(--spacingVerticalS) 0;}",{p:-1}],[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}]]}),lF=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=Aq(e=>e.selectedOptions.length>0),o=Aq(e=>1===e.selectedOptions.length),n=Aq(e=>e.triggerRef),a=Aq(e=>e.tagPickerGroupRef),i=Aq(e=>e.selectOption),l=Aq(e=>function(e){switch(e){case"medium":default:return"extra-small";case"large":return"small";case"extra-large":return"medium"}}(e.size)),s=Aq(e=>e.appearance),c=Aq(e=>e.disabled),d=xi({circular:!1,axis:"both",memorizeCurrent:!0});return{...TN({role:"listbox",disabled:c,...e,...d,size:l,appearance:aF(s),dismissible:!0,onKeyDown:So(t=>{var r,o;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),Go(t.target)&&t.key===Fc&&(null===(o=n.current)||void 0===o||o.focus())}),onDismiss:So((e,t)=>{var r;i(e,{value:t.value,id:"ERROR_DO_NOT_USE",text:"ERROR_DO_NOT_USE"}),o&&!e.isDefaultPrevented()&&(null===(r=n.current)||void 0===r||r.focus())})},Fo(t,a)),hasSelectedOptions:r}})(e,t);return(e=>{DN(e);const t=iF();e.root.className=te("fui-TagPickerGroup",t[function(e){switch(e){case"extra-small":default:return"medium";case"small":return"large";case"medium":return"extra-large"}}(e.size)],t.root,e.root.className)})(r),co("useTagPickerGroupStyles_unstable")(r),function(e,t){return e.hasSelectedOptions?qN(e,t):null}(r,EN(r))});lF.displayName="TagPickerGroup";const sF=Mb,cF=Hb;u.forwardRef((e,t)=>{const r=sF(e,t);return(e=>{Vb(e),e.root.className=te("fui-TagPickerOptionGroup",e.root.className),e.label&&(e.label.className=te("fui-TagPickerOptionGroup__label",e.label.className))})(r),co("useTagPickerOptionGroupStyles_unstable")(r),cF(r)}).displayName="TagPickerOptionGroup";const dF={requestSelectionChange:()=>{},isGrid:!1,size:"medium",shape:"square",spacing:"medium",selectedValue:void 0},uF=hc(void 0),fF=uF.Provider,pF=e=>gc(uF,(t=dF)=>e(t)),hF=vr({root:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f14ufcw5",mc9l5x:"f22iagw"},row:{Beiy3e4:"f1063pyq"},grid:{Beiy3e4:"f1vx9l62"},spacingSmall:{i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},spacingMedium:{i8kkvl:0,Belr9w4:0,rmohyg:"f4xv25i"}},{d:[[".f14ufcw5{padding:var(--spacingHorizontalNone) var(--spacingVerticalNone);}",{p:-1}],".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],[".f4xv25i{gap:4px;}",{p:-1}]]}),gF=u.forwardRef((e,t)=>{const r=((e,t)=>{e=Am(e);const{focusMode:r="arrow",layout:o,onSelectionChange:n,size:a="medium",shape:i,spacing:l="medium",style:s,...c}=e,d="grid"===o,u=xi({circular:!0,axis:d?"grid-linear":"both",memorizeCurrent:!0}),f=d?"grid":"radiogroup",[p,h]=yo({state:e.selectedValue,defaultState:e.defaultSelectedValue,initialState:""}),g=So((e,t)=>{null==n||n(e,{type:"click",event:e,selectedValue:t.selectedValue,selectedSwatch:t.selectedSwatch}),h(t.selectedValue)});return{components:{root:"div"},root:wr(Wr("div",{ref:t,role:f,..."arrow"===r?u:{},...c}),{elementType:"div"}),isGrid:d,requestSelectionChange:g,selectedValue:p,size:a,shape:i,spacing:l}})(e,t),o=(e=>{const{isGrid:t,size:r,shape:o,spacing:n,requestSelectionChange:a,selectedValue:i}=e;return{swatchPicker:{isGrid:t,size:r,shape:o,spacing:n,selectedValue:i,requestSelectionChange:a}}})(r);return(e=>{const t=hF(),r=e.isGrid?t.grid:t.row,o="small"===e.spacing?t.spacingSmall:t.spacingMedium;e.root.className=te("fui-SwatchPicker",t.root,r,o,e.root.className)})(r),co("useSwatchPickerStyles_unstable")(r),((e,t)=>gn(fF,{value:t.swatchPicker,children:gn(e.root,{children:e.root.children})}))(r,o)});gF.displayName="SwatchPicker";const vF={color:"--fui-SwatchPicker--color",borderColor:"--fui-SwatchPicker--borderColor"},{color:mF,borderColor:bF}=vF,CF=mr("ryw27oi",null,{r:[".ryw27oi{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;box-sizing:border-box;border:1px solid var(--fui-SwatchPicker--borderColor);background:var(--fui-SwatchPicker--color);overflow:hidden;padding:0;}",".ryw27oi:hover{cursor:pointer;border:none;box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke1),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}",".ryw27oi:hover:active{border:none;box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorCompoundBrandStrokePressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}",".ryw27oi:focus{outline:none;}",".ryw27oi:focus-visible{outline:none;}",".ryw27oi[data-fui-focus-visible]{border:none;outline:none;box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}"],s:["@media (forced-colors: active){.ryw27oi{forced-color-adjust:none;}.ryw27oi:hover{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke2Hover),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}.ryw27oi:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke2Pressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}}"]}),yF=vr({disabled:{eoavqd:"fphbwmw",Bvxd0ez:"f1q3txrk",Be968up:"f10pb1y8"},selected:{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",E5pizo:"f8ps3yo",Bvxd0ez:"f106r15f",vajtyg:"ft0nc49",j6ew2k:"f16jq8vy",Bv9i2bc:"f1wdoq7e"},selectedSmall:{E5pizo:"fxflcoq",Bvxd0ez:"fha7ylp",vajtyg:"fb3iqi"}},{h:[".fphbwmw:hover{cursor:not-allowed;}",".f1q3txrk:hover{box-shadow:none;}",".f106r15f:hover{box-shadow:inset 0 0 0 var(--strokeWidthThickest) var(--colorCompoundBrandStrokeHover),inset 0 0 0 6px var(--colorStrokeFocus1);}",".ft0nc49:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThickest) var(--colorCompoundBrandStrokePressed),inset 0 0 0 7px var(--colorStrokeFocus1);}",".fha7ylp:hover{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorCompoundBrandStrokeHover),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}",".fb3iqi:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorCompoundBrandStrokePressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}"],m:[["@media (forced-colors: active){.f10pb1y8:hover{box-shadow:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wdoq7e{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke2Pressed),inset 0 0 0 5px var(--colorStrokeFocus1);}}",{m:"(forced-colors: active)"}]],d:[[".f3bhgqh{border:none;}",{p:-2}],".f8ps3yo{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke1),inset 0 0 0 5px var(--colorStrokeFocus1);}",".f16jq8vy[data-fui-focus-visible]{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus2),inset 0 0 0 5px var(--colorStrokeFocus1);}",".fxflcoq{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke1),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}"]}),xF=vr({"extra-small":{a9b677:"f64fuq3",Bqenvij:"fjamq6b",Bvxd0ez:"fnzblak",Bfsrqk8:0,B9zn80p:0,libdba:0,qi15n7:0,G6mxvm:0,Bpld233:0,B2v0cj4:0,qv9p00:0,Bg6oviu:0,Bk6r4ia:0,Bckajt6:0,Bone85h:0,hkxzgu:0,b661bw:0,kpb45w:0,uiygdg:0,rljib7:"f18wa7jm",vajtyg:"faswyoo"},small:{a9b677:"fq4mcun",Bqenvij:"frvgh55",Bfsrqk8:0,B9zn80p:0,libdba:0,qi15n7:0,G6mxvm:0,Bpld233:0,B2v0cj4:0,qv9p00:0,Bg6oviu:0,Bk6r4ia:0,Bckajt6:0,Bone85h:0,hkxzgu:0,b661bw:0,kpb45w:0,uiygdg:0,rljib7:"f18wa7jm",vajtyg:"faswyoo"},medium:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},large:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"],h:[".fnzblak:hover{box-shadow:inset 0 0 0 var(--strokeWidthThin) var(--colorBrandStroke1),inset 0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus1);}",[".f18wa7jm:hover:active{border:none;}",{p:-2}],".faswyoo:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorCompoundBrandStrokePressed),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}",[".f18wa7jm:hover:active{border:none;}",{p:-2}]]}),wF=vr({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}]]}),kF=vr({disabledIcon:{sj55zd:"fqpbvvt",Bhu2qc9:"f14y0k3d"},icon:{qhf8xq:"f1euv43f",mc9l5x:"f22iagw",qb2dma:"f7nlbp4"},"extra-small":{Be2twd7:"f4ybsrx"},small:{Be2twd7:"f4ybsrx"},medium:{Be2twd7:"fe5j1ua"},large:{Be2twd7:"f1rt2boy"}},{d:[".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f14y0k3d{filter:drop-shadow(0 1px 1px rgb(0 0 0 / 1));}",".f1euv43f{position:absolute;}",".f22iagw{display:flex;}",".f7nlbp4{align-self:center;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}"]}),BF=u.forwardRef((e,t)=>{const r=((e,t)=>{const{borderColor:r,color:o,disabled:n,disabledIcon:a,icon:i,value:l,onClick:s,size:c,shape:d,style:f,...p}=e,h=pF(e=>e.size),g=pF(e=>e.shape),v=pF(e=>e.isGrid),m=pF(e=>e.requestSelectionChange),b=pF(e=>e.selectedValue===l),C=So(Uo(s,e=>m(e,{selectedValue:l,selectedSwatch:o}))),y={[vF.color]:o,[vF.borderColor]:null!=r?r:Cs},x=v?"gridcell":"radio",w=v?{"aria-selected":b}:{"aria-checked":b},k=kr(i,{elementType:"span"}),B=kr(a,{defaultProps:{children:u.createElement(nd,null)},renderByDefault:!0,elementType:"span"});return{components:{root:"button",icon:"span",disabledIcon:"span"},root:wr(Wr("button",{ref:t,role:x,...w,onClick:C,type:"button",disabled:n,...p,style:{...y,...f}}),{elementType:"button"}),icon:k,disabledIcon:B,disabled:n,size:null!=c?c:h,shape:null!=d?d:g,selected:b,color:o,value:l}})(e,t);return(e=>{const{size:t="medium",shape:r="square"}=e,o=CF(),n=yF(),a=xF(),i=wF(),l=kF(),s="small"===t||"extra-small"===t?n.selectedSmall:"";e.root.className=te("fui-ColorSwatch",o,a[t],i[r],e.selected&&n.selected,e.selected&&s,e.disabled&&n.disabled,e.root.className),e.disabled&&e.disabledIcon&&(e.disabledIcon.className=te(l.icon,l[t],l.disabledIcon,e.disabledIcon.className)),e.icon&&(e.icon.className=te(l.icon,l[t],e.icon.className))})(r),co("useColorSwatchStyles_unstable")(r),(e=>vn(e.root,{children:[e.root.children,e.icon&&gn(e.icon,{}),e.disabled&&e.disabledIcon&&gn(e.disabledIcon,{})]}))(r)});BF.displayName="ColorSwatch";const zF=mr("r18b5q7m",null,{r:[".r18b5q7m{display:inline-flex;box-sizing:border-box;border:1px solid var(--colorTransparentStroke);background-size:cover;background-repeat:no-repeat;padding:0;}",".r18b5q7m:hover{cursor:pointer;border:none;box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke1),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}",".r18b5q7m:hover:active{border:none;box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorCompoundBrandStrokePressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}",".r18b5q7m:focus{outline:none;}",".r18b5q7m:focus-visible{outline:none;}",".r18b5q7m[data-fui-focus-visible]{border:none;outline:none;box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}"],s:["@media (forced-colors: active){.r18b5q7m{forced-color-adjust:none;}.r18b5q7m:hover{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke2Hover),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}.r18b5q7m:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke2Pressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}}"]}),jF=vr({selected:{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",E5pizo:"f8ps3yo",Bvxd0ez:"f106r15f",vajtyg:"ft0nc49",j6ew2k:"f16jq8vy",Bv9i2bc:"f1wdoq7e"}},{d:[[".f3bhgqh{border:none;}",{p:-2}],".f8ps3yo{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke1),inset 0 0 0 5px var(--colorStrokeFocus1);}",".f16jq8vy[data-fui-focus-visible]{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus2),inset 0 0 0 5px var(--colorStrokeFocus1);}"],h:[".f106r15f:hover{box-shadow:inset 0 0 0 var(--strokeWidthThickest) var(--colorCompoundBrandStrokeHover),inset 0 0 0 6px var(--colorStrokeFocus1);}",".ft0nc49:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThickest) var(--colorCompoundBrandStrokePressed),inset 0 0 0 7px var(--colorStrokeFocus1);}"],m:[["@media (forced-colors: active){.f1wdoq7e{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke2Pressed),inset 0 0 0 5px var(--colorStrokeFocus1);}}",{m:"(forced-colors: active)"}]]}),SF=vr({"extra-small":{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},small:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},medium:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},large:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]}),NF=vr({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}]]}),_F=u.forwardRef((e,t)=>{const r=((e,t)=>{const{src:r,value:o,onClick:n,style:a,...i}=e,l=pF(e=>e.size),s=pF(e=>e.shape),c=pF(e=>e.isGrid),d=pF(e=>e.requestSelectionChange),u=pF(e=>e.selectedValue===o),f=c?"gridcell":"radio",p=c?{"aria-selected":u}:{"aria-checked":u},h=So(Uo(n,e=>d(e,{selectedValue:o,selectedSwatch:r})));return{components:{root:"button"},root:wr(Wr("button",{ref:t,role:f,...p,onClick:h,...i,style:{backgroundImage:`url(${r})`,...a}}),{elementType:"button"}),value:o,selected:u,size:l,shape:s}})(e,t);return(e=>{const t=zF(),r=jF(),o=SF(),n=NF(),{size:a="medium",shape:i="square"}=e;e.root.className=te("fui-ImageSwatch",t,o[a],n[i],e.selected&&r.selected,e.root.className)})(r),co("useImageSwatchStyles_unstable")(r),(e=>gn(e.root,{}))(r)});_F.displayName="ImageSwatch";const TF=mr("r1xhj18k",null,[".r1xhj18k{display:flex;flex-direction:row;}"]),qF=vr({spacingSmall:{i8kkvl:"f16mnhsx"},spacingMedium:{i8kkvl:"f1q8lukm"}},{d:[".f16mnhsx{column-gap:2px;}",".f1q8lukm{column-gap:4px;}"]}),FF=u.forwardRef((e,t)=>{const r=((e,t)=>{const{style:r,...o}=e,n=pF(e=>e.spacing);return{components:{root:"div"},root:wr(Wr("div",{ref:t,role:"row",...o}),{elementType:"div"}),spacing:n}})(e,t);return(e=>{const t=TF(),r=qF(),o="small"===e.spacing?r.spacingSmall:r.spacingMedium;e.root.className=te("fui-SwatchPickerRow",t,o,e.root.className)})(r),co("useSwatchPickerRowStyles_unstable")(r),(e=>gn(e.root,{}))(r)});FF.displayName="SwatchPickerRow";const DF=mr("r1top892",null,[".r1top892{background-color:var(--colorTransparentBackground);border:1px dashed var(--colorNeutralForeground4);}"]),EF=vr({"extra-small":{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},small:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},medium:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},large:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]}),PF=vr({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}]]}),IF=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r,shape:o,...n}=e,a=pF(e=>e.size),i=pF(e=>e.shape),l=pF(e=>e.isGrid);return{components:{root:"button"},root:wr(Wr("button",{ref:t,role:l?"gridcell":"radio",...l?{}:{"aria-checked":!1},...n}),{elementType:"button"}),size:null!=r?r:a,shape:null!=o?o:i}})(e,t);return(e=>{const t=DF(),r=EF(),o=PF();var n;const a=null!==(n=e.size)&&void 0!==n?n:"medium";var i;e.root.className=te("fui-EmptySwatch",t,r[a],o[null!==(i=e.shape)&&void 0!==i?i:"square"],e.root.className)})(r),co("useEmptySwatchStyles_unstable")(r),(e=>gn(e.root,{}))(r)});IF.displayName="EmptySwatch";const OF={activeIndex:0,appearance:"flat",selectPageByElement:()=>0,selectPageByDirection:()=>0,selectPageByIndex:()=>{},subscribeForValues:()=>()=>{},enableAutoplay:()=>{},resetAutoplay:()=>{},circular:!1,containerRef:void 0,viewportRef:void 0},AF=hc(void 0),RF=AF.Provider,MF=e=>gc(AF,(t=OF)=>e(t)),HF="fui-CarouselButton",LF=vr({root:{B6of3ja:"fgr6219",jrapky:"f10jk5vf",sj55zd:"fkfq4zb",De3pzq:"fkfdr9r",Bkecrkj:"fc5wo7j",eoavqd:"f8491dx"}},{d:[".fgr6219{margin-top:auto;}",".f10jk5vf{margin-bottom:auto;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fkfdr9r{background-color:var(--colorNeutralBackgroundAlpha);}",".fc5wo7j{pointer-events:all;}"],h:[".f8491dx:hover{cursor:pointer;}"]}),VF=u.forwardRef((e,t)=>{const r=((e,t)=>{const{navType:r="next",...o}=e,[n,a]=u.useState(0),{dir:i}=ro(),l=u.useRef(void 0),s=MF(e=>e.circular),[c,d]=u.useState(s),f=MF(e=>e.containerRef),p=MF(e=>e.selectPageByDirection),h=MF(e=>e.subscribeForValues),g=MF(e=>e.resetAutoplay),v=MF(e=>!(s&&c||("prev"===r?0!==e.activeIndex:e.activeIndex!==n-1)));jo(()=>h(e=>{void 0!==e.canLoop&&d(e.canLoop),a(e.navItemsCount)}),[h]);const m="ltr"===i?u.createElement(Fd,null):u.createElement(Td,null),b="ltr"===i?u.createElement(Td,null):u.createElement(Fd,null);return{navType:r,...om({icon:kr(e.icon,{defaultProps:{children:"next"===r?m:b},renderByDefault:!0,elementType:"span"}),disabled:v,tabIndex:v?-1:0,"aria-disabled":v,appearance:"subtle",...o,onClick:So(Uo(e=>{if(e.isDefaultPrevented())return;const t=p(e,r);let o=!1;o="prev"===r?0===t:t===n-1,!s&&o&&(null==f?void 0:f.current)&&f.current.querySelectorAll(`.${HF}`).forEach(e=>{e!==l.current&&e.focus()}),g()},e.onClick))},Fo(t,l))}})(e,t);return(e=>{const t=LF();(e={...e,...fm(e)}).root.className=te(HF,t.root,e.root.className),e.icon&&(e.icon.className=te("fui-CarouselButton__icon",e.icon.className))})(r),co("useCarouselButtonStyles_unstable")(r),(e=>Qv(e))(r)});VF.displayName="CarouselButton";const WF=u.createContext(void 0),ZF={appearance:void 0},UF=WF.Provider,GF=u.createContext(void 0),XF=()=>{var e;return null!==(e=u.useContext(GF))&&void 0!==e?e:0},$F=GF.Provider,KF=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkecrkj:"fc5wo7j",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f89hs3r",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fkb7v5e",De3pzq:"fkfdr9r"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fc5wo7j{pointer-events:all;}",[".f89hs3r[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".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;}",[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],[".fkb7v5e{margin:auto var(--spacingHorizontalS);}",{p:-1}],".fkfdr9r{background-color:var(--colorNeutralBackgroundAlpha);}"]}),YF=u.forwardRef((e,t)=>{const r=((e,t)=>{const{appearance:r}=e,o=xi({circular:!1,axis:"horizontal",memorizeCurrent:!1,unstable_hasDefault:!0}),[n,a]=yo({state:e.totalSlides,initialState:0}),i=MF(e=>e.subscribeForValues);return jo(()=>i(e=>{a(e.navItemsCount)}),[i,a]),{totalSlides:n,appearance:r,renderNavButton:e.children,components:{root:"div"},root:wr(Wr("div",{ref:t,role:"tablist",...e,...o,children:null}),{elementType:"div"})}})(e,t),o=function(e){const{appearance:t}=e;return{carouselNav:u.useMemo(()=>({appearance:t}),[t])}}(r);return(e=>{const t=KF();e.root.className=te("fui-CarouselNav",t.root,e.root.className)})(r),co("useCarouselNavStyles_unstable")(r),((e,t)=>{const{totalSlides:r,renderNavButton:o}=e;return gn(e.root,{children:gn(UF,{value:t.carouselNav,children:new Array(r).fill(null).map((e,t)=>gn($F,{value:t,children:o(t)},t))})})})(r,o)});YF.displayName="CarouselNav";const JF=vr({root:{Bceei9c:"f1k6fduh",Bkecrkj:"fc5wo7j",a9b677:"f1van5z7",Bqenvij:"f1fkmctz",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8",B7ck84d:"f1e4lqlz",De3pzq:"f1c21dwh",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],Bsft5z2:"f13zj6fq",ap17g6:"f2gz7yw",li1rpt:"f1gw3sf2",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f1x820d0",Bjuhk93:0,B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Du69r6:0,Gp14am:0,vfts7:0,Bhxzhr1:0,G63luc:0,s924m2:0,Barhvk9:0,Ihftqj:0,wywymt:0,B0n5ga8:0,Bm2nyyq:0,xrcqlc:0,e1d83w:"fnwf5yv",Dlnsje:"foue38v",a2br6o:"fi4ui2s",Bjyk6c5:"f1w4p7kh",go7t6h:"fo5b2b9",xdqbwx:"f16vizm6",Hwb57:"fqolsir",umgawz:"fim7wbh"},rootUnselected:{Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f71xx7",Byu6kyc:0,n8qw10:0,Bbjhlyh:0,i2cumq:0,Bunx835:0,Bdrgwmp:0,mqozju:0,lbo84a:0,Bksnhdo:0,Bci5o5g:0,u5e7qz:0,Bn40d3w:0,B7b6zxw:0,B8q5s1w:0,B5gfjzb:0,Bbcte9g:0,Bqz3imu:"f1j9b7x8",Bj9ihqo:0,Bl51kww:0,B3bvztg:0,Btyt4dx:0,Brhw1f9:"f1tdm9ui",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w",Bp15pi3:"f7x02et",Bay5ve9:"f1ry2q4s",Bni0232:"f1e9f9ku"},rootSelected:{a9b677:"f1eh74fx",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fwku66v",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f71xx7",Byu6kyc:0,n8qw10:0,Bbjhlyh:0,i2cumq:0,Bunx835:0,Bdrgwmp:0,mqozju:0,lbo84a:0,Bksnhdo:0,Bci5o5g:0,u5e7qz:0,Bn40d3w:0,B7b6zxw:0,B8q5s1w:0,B5gfjzb:0,Bbcte9g:0,Bqz3imu:"f1j9b7x8",Bj9ihqo:0,Bl51kww:0,B3bvztg:0,Btyt4dx:0,Brhw1f9:"f1tdm9ui",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w",a2br6o:"f1v6lwa2",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fgm6wgx",Bay5ve9:"f1ry2q4s",Bni0232:"f1gxfet"},brand:{Bjyk6c5:"fnrv5e1",Bp15pi3:"fjsqi2x",Glksuk:"frrwqtn",Bay5ve9:"f9atwx8",Blzl0y7:"fmmpig5",Bni0232:"f1e9f9ku"},unselectedBrand:{Bp15pi3:"f7x02et",Bjyk6c5:"f1w4p7kh",Bay5ve9:"f1ry2q4s",Bni0232:"f1e9f9ku"}},{d:[".f1k6fduh{cursor:pointer;}",".fc5wo7j{pointer-events:all;}",".f1van5z7{width:var(--spacingHorizontalS);}",".f1fkmctz{height:var(--spacingVerticalS);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f1e4lqlz{box-sizing:content-box;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fre7gi1{border-top-width:0;}",".f1358rze{border-right-width:0;}",".f1rvrf73{border-left-width:0;}",".fqdk4by{border-bottom-width:0;}",'.f13zj6fq::after{content:"";}',".f2gz7yw::after{display:block;}",".f1gw3sf2::after{box-sizing:border-box;}",[".f1x820d0::after{border-radius:50%;}",{p:-1}],[".fnwf5yv::after{border:none;}",{p:-2}],".foue38v::after{height:var(--spacingVerticalS);}",".fi4ui2s::after{width:var(--spacingHorizontalS);}",".f1w4p7kh::after{background-color:var(--colorNeutralForeground1);}",".fo5b2b9::after{color:var(--colorNeutralForeground1);}",[".f71xx7{outline:var(--strokeWidthThin) solid transparent;}",{p:-1}],[".f1j9b7x8[data-fui-focus-visible]{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".f1tdm9ui[data-fui-focus-visible]{margin:calc(-1 * var(--strokeWidthThick));}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f7x02et::after{opacity:0.6;}",".f1eh74fx{width:var(--spacingHorizontalL);}",[".fwku66v{padding:var(--spacingVerticalS) var(--spacingHorizontalXS);}",{p:-1}],[".f71xx7{outline:var(--strokeWidthThin) solid transparent;}",{p:-1}],[".f1j9b7x8[data-fui-focus-visible]{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".f1tdm9ui[data-fui-focus-visible]{margin:calc(-1 * var(--strokeWidthThick));}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1v6lwa2::after{width:var(--spacingHorizontalL);}",[".fgm6wgx::after{border-radius:4px;}",{p:-1}],".fnrv5e1::after{background-color:var(--colorCompoundBrandBackground);}",".fjsqi2x::after{opacity:1;}"],m:[["@media (forced-colors: active){.f16vizm6::after{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqolsir::after{background-color:white;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fim7wbh::after{mix-blend-mode:difference;}}",{m:"(forced-colors: active)"}]],h:[".f1ry2q4s:hover::after{opacity:0.75;}",".frrwqtn:hover::after{background-color:var(--colorCompoundBrandBackgroundHover);}",".f9atwx8:hover::after{opacity:1;}"],a:[".f1e9f9ku:active::after{opacity:1;}",".f1gxfet:active::after{opacity:0.65;}",".fmmpig5:active::after{background-color:var(--colorCompoundBrandBackgroundPressed);}"]}),QF=u.forwardRef((e,t)=>{const r=((e,t)=>{const{onClick:r,as:o="button"}=e,{appearance:n}=null!==(a=u.useContext(WF))&&void 0!==a?a:ZF;var a;const i=XF(),l=MF(e=>e.selectPageByIndex),s=MF(e=>e.activeIndex===i),c=MF(e=>e.subscribeForValues),d=MF(e=>e.resetAutoplay),f=So(e=>{null==r||r(e),!e.defaultPrevented&&Go(e.target)&&l(e,i),d()}),p=yi({focusable:{isDefault:s}}),h=u.useRef(void 0),g=wr(Wr(o,Hc(e.as,e)),{elementType:"button",defaultProps:{ref:Fo(t,h),role:"tab",type:"button","aria-selected":s,...p}});return jo(()=>c(e=>{var t,r;const o=(null!==(r=null===(t=e.groupIndexList)||void 0===t?void 0:t[i])&&void 0!==r?r:[]).map(t=>e.slideNodes[t].id).join(" ");h.current&&h.current.setAttribute("aria-controls",o)}),[i,c]),g.onClick=f,{selected:s,appearance:n,components:{root:"button"},root:g}})(e,t);return(e=>{const t=JF(),{selected:r,appearance:o}=e;e.root.className=te("fui-CarouselNavButton",t.root,r?t.rootSelected:t.rootUnselected,"brand"===o&&t.brand,!r&&"brand"===o&&t.unselectedBrand,e.root.className)})(r),co("useCarouselNavButtonStyles_unstable")(r),(e=>gn(e.root,{}))(r)});function eD(e){return"number"==typeof e}function tD(e){return"string"==typeof e}function rD(e){return"boolean"==typeof e}function oD(e){return"[object Object]"===Object.prototype.toString.call(e)}function nD(e){return Math.abs(e)}function aD(e){return Math.sign(e)}function iD(e,t){return nD(e-t)}function lD(e){return fD(e).map(Number)}function sD(e){return e[cD(e)]}function cD(e){return Math.max(0,e.length-1)}function dD(e,t){return t===cD(e)}function uD(e,t=0){return Array.from(Array(e),(e,r)=>t+r)}function fD(e){return Object.keys(e)}function pD(e,t){return[e,t].reduce((e,t)=>(fD(t).forEach(r=>{const o=e[r],n=t[r],a=oD(o)&&oD(n);e[r]=a?pD(o,n):n}),e),{})}function hD(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function gD(){let e=[];const t={add:function(r,o,n,a={passive:!0}){let i;if("addEventListener"in r)r.addEventListener(o,n,a),i=()=>r.removeEventListener(o,n,a);else{const e=r;e.addListener(n),i=()=>e.removeListener(n)}return e.push(i),t},clear:function(){e=e.filter(e=>e())}};return t}function vD(e=0,t=0){const r=nD(e-t);function o(t){return t<e}function n(e){return e>t}function a(e){return o(e)||n(e)}return{length:r,max:t,min:e,constrain:function(r){return a(r)?o(r)?e:t:r},reachedAny:a,reachedMax:n,reachedMin:o,removeOffset:function(e){return r?e-r*Math.ceil((e-t)/r):e}}}function mD(e,t,r){const{constrain:o}=vD(0,e),n=e+1;let a=i(t);function i(e){return r?nD((n+e)%n):o(e)}function l(){return a}function s(){return mD(e,l(),r)}const c={get:l,set:function(e){return a=i(e),c},add:function(e){return s().set(l()+e)},clone:s};return c}function bD(e,t,r,o,n,a,i,l,s,c,d,u,f,p,h,g,v,m,b){const{cross:C,direction:y}=e,x=["INPUT","SELECT","TEXTAREA"],w={passive:!1},k=gD(),B=gD(),z=vD(50,225).constrain(p.measure(20)),j={mouse:300,touch:400},S={mouse:500,touch:600},N=h?43:25;let _=!1,T=0,q=0,F=!1,D=!1,E=!1,P=!1;function I(e){if(!hD(e,o)&&e.touches.length>=2)return O(e);const t=a.readPoint(e),r=a.readPoint(e,C),i=iD(t,T),s=iD(r,q);if(!D&&!P){if(!e.cancelable)return O(e);if(D=i>s,!D)return O(e)}const d=a.pointerMove(e);i>g&&(E=!0),c.useFriction(.3).useDuration(.75),l.start(),n.add(y(d)),e.preventDefault()}function O(e){const t=d.byDistance(0,!1).index!==u.get(),r=a.pointerUp(e)*(h?S:j)[P?"mouse":"touch"],o=function(e,t){const r=u.add(-1*aD(e)),o=d.byDistance(e,!h).distance;return h||nD(e)<z?o:v&&t?.5*o:d.byIndex(r.get(),0).distance}(y(r),t),n=function(e,t){if(0===e||0===t)return 0;if(nD(e)<=nD(t))return 0;const r=iD(nD(e),nD(t));return nD(r/e)}(r,o),i=N-10*n,l=m+n/50;D=!1,F=!1,B.clear(),c.useDuration(i).useFriction(l),s.distance(o,!h),P=!1,f.emit("pointerUp")}function A(e){E&&(e.stopPropagation(),e.preventDefault(),E=!1)}const R={init:function(e){if(!b)return;function l(l){(rD(b)||b(e,l))&&function(e){const l=hD(e,o);P=l,E=h&&l&&!e.buttons&&_,_=iD(n.get(),i.get())>=2,l&&0!==e.button||function(e){const t=e.nodeName||"";return x.includes(t)}(e.target)||(F=!0,a.pointerDown(e),c.useFriction(0).useDuration(0),n.set(i),function(){const e=P?r:t;B.add(e,"touchmove",I,w).add(e,"touchend",O).add(e,"mousemove",I,w).add(e,"mouseup",O)}(),T=a.readPoint(e),q=a.readPoint(e,C),f.emit("pointerDown"))}(l)}const s=t;k.add(s,"dragstart",e=>e.preventDefault(),w).add(s,"touchmove",()=>{},w).add(s,"touchend",()=>{}).add(s,"touchstart",l).add(s,"mousedown",l).add(s,"touchcancel",O).add(s,"contextmenu",O).add(s,"click",A,!0)},destroy:function(){k.clear(),B.clear()},pointerDown:function(){return F}};return R}function CD(e,t){let r,o;function n(e){return e.timeStamp}function a(r,o){const n="client"+("x"===(o||e.scroll)?"X":"Y");return(hD(r,t)?r:r.touches[0])[n]}return{pointerDown:function(e){return r=e,o=e,a(e)},pointerMove:function(e){const t=a(e)-a(o),i=n(e)-n(r)>170;return o=e,i&&(r=e),t},pointerUp:function(e){if(!r||!o)return 0;const t=a(o)-a(r),i=n(e)-n(r),l=n(e)-n(o)>170,s=t/i;return i&&!l&&nD(s)>.1?s:0},readPoint:a}}function yD(e,t,r,o,n,a,i){const l=[e].concat(o);let s,c,d=[],u=!1;function f(e){return n.measureSize(i.measure(e))}const p={init:function(n){a&&(c=f(e),d=o.map(f),s=new ResizeObserver(r=>{(rD(a)||a(n,r))&&function(r){for(const a of r){if(u)return;const r=a.target===e,i=o.indexOf(a.target),l=r?c:d[i];if(nD(f(r?e:o[i])-l)>=.5){n.reInit(),t.emit("resize");break}}}(r)}),r.requestAnimationFrame(()=>{l.forEach(e=>s.observe(e))}))},destroy:function(){u=!0,s&&s.disconnect()}};return p}function xD(e,t,r,o,n){const a=n.measure(10),i=n.measure(50),l=vD(.1,.99);let s=!1;function c(){return!s&&!!e.reachedAny(r.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(n){if(!c())return;const s=e.reachedMin(t.get())?"min":"max",d=nD(e[s]-t.get()),u=r.get()-t.get(),f=l.constrain(d/i);r.subtract(u*f),!n&&nD(u)<a&&(r.set(e.constrain(r.get())),o.useDuration(25).useBaseFriction())},toggleActive:function(e){s=!e}}}function wD(e,t,r,o){const n=t.min+.1,a=t.max+.1,{reachedMin:i,reachedMax:l}=vD(n,a);return{loop:function(t){if(!function(e){return 1===e?l(r.get()):-1===e&&i(r.get())}(t))return;const n=e*(-1*t);o.forEach(e=>e.add(n))}}}function kD(e){let t=e;function r(e){return eD(e)?e:e.get()}return{get:function(){return t},set:function(e){t=r(e)},add:function(e){t+=r(e)},subtract:function(e){t-=r(e)}}}function BD(e,t){const r="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},o=t.style;let n=null,a=!1;return{clear:function(){a||(o.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(a)return;const i=(l=e.direction(t),Math.round(100*l)/100);var l;i!==n&&(o.transform=r(i),n=i)},toggleActive:function(e){a=!e}}}function zD(e,t,r,o,n,a,i,l,s){const c=lD(n),d=lD(n).reverse(),u=function(){const e=i[0];return h(p(d,e),r,!1)}().concat(function(){const e=t-i[0]-1;return h(p(c,e),-r,!0)}());function f(e,t){return e.reduce((e,t)=>e-n[t],t)}function p(e,t){return e.reduce((e,r)=>f(e,t)>0?e.concat([r]):e,[])}function h(n,i,c){const d=function(e){return a.map((r,n)=>({start:r-o[n]+.5+e,end:r+t-.5+e}))}(i);return n.map(t=>{const o=c?0:-r,n=c?r:0,a=c?"end":"start",i=d[t][a];return{index:t,loopPoint:i,slideLocation:kD(-1),translate:BD(e,s[t]),target:()=>l.get()>i?o:n}})}return{canLoop:function(){return u.every(({index:e})=>f(c.filter(t=>t!==e),t)<=.1)},clear:function(){u.forEach(e=>e.translate.clear())},loop:function(){u.forEach(e=>{const{target:t,translate:r,slideLocation:o}=e,n=t();n!==o.get()&&(r.to(n),o.set(n))})},loopPoints:u}}function jD(e,t,r){let o,n=!1;return{init:function(a){r&&(o=new MutationObserver(e=>{n||(rD(r)||r(a,e))&&function(e){for(const r of e)if("childList"===r.type){a.reInit(),t.emit("slidesChanged");break}}(e)}),o.observe(e,{childList:!0}))},destroy:function(){o&&o.disconnect(),n=!0}}}function SD(e,t,r,o,n,a,i){const{align:l,axis:s,direction:c,startIndex:d,loop:u,duration:f,dragFree:p,dragThreshold:h,inViewThreshold:g,slidesToScroll:v,skipSnaps:m,containScroll:b,watchResize:C,watchSlides:y,watchDrag:x,watchFocus:w}=a,k={measure:function(e){const{offsetTop:t,offsetLeft:r,offsetWidth:o,offsetHeight:n}=e;return{top:t,right:r+o,bottom:t+n,left:r,width:o,height:n}}},B=k.measure(t),z=r.map(k.measure),j=function(e,t){const r="rtl"===t,o="y"===e,n=!o&&r?-1:1;return{scroll:o?"y":"x",cross:o?"x":"y",startEdge:o?"top":r?"right":"left",endEdge:o?"bottom":r?"left":"right",measureSize:function(e){const{height:t,width:r}=e;return o?t:r},direction:function(e){return e*n}}}(s,c),S=j.measureSize(B),N=function(e){return{measure:function(t){return e*(t/100)}}}(S),_=function(e,t){const r={start:function(){return 0},center:function(e){return o(e)/2},end:o};function o(e){return t-e}const n={measure:function(o,n){return tD(e)?r[e](o):e(t,o,n)}};return n}(l,S),T=!u&&!!b,q=u||!!b,{slideSizes:F,slideSizesWithGaps:D,startGap:E,endGap:P}=function(e,t,r,o,n,a){const{measureSize:i,startEdge:l,endEdge:s}=e,c=r[0]&&n,d=function(){if(!c)return 0;const e=r[0];return nD(t[l]-e[l])}(),u=function(){if(!c)return 0;const e=a.getComputedStyle(sD(o));return parseFloat(e.getPropertyValue(`margin-${s}`))}(),f=r.map(i),p=r.map((e,t,r)=>{const o=!t,n=dD(r,t);return o?f[t]+d:n?f[t]+u:r[t+1][l]-e[l]}).map(nD);return{slideSizes:f,slideSizesWithGaps:p,startGap:d,endGap:u}}(j,B,z,r,q,n),I=function(e,t,r,o,n,a,i,l,s){const{startEdge:c,endEdge:d,direction:u}=e,f=eD(r);return{groupSlides:function(e){return f?function(e,t){return lD(e).filter(e=>e%t===0).map(r=>e.slice(r,r+t))}(e,r):function(e){return e.length?lD(e).reduce((r,f,p)=>{const h=sD(r)||0,g=0===h,v=f===cD(e),m=n[c]-a[h][c],b=n[c]-a[f][d],C=!o&&g?u(i):0,y=nD(b-(!o&&v?u(l):0)-(m+C));return p&&y>t+s&&r.push(f),v&&r.push(e.length),r},[]).map((t,r,o)=>{const n=Math.max(o[r-1]||0);return e.slice(n,t)}):[]}(e)}}}(j,S,v,u,B,z,E,P,2),{snaps:O,snapsAligned:A}=function(e,t,r,o,n){const{startEdge:a,endEdge:i}=e,{groupSlides:l}=n,s=l(o).map(e=>sD(e)[i]-e[0][a]).map(nD).map(t.measure),c=o.map(e=>r[a]-e[a]).map(e=>-nD(e)),d=l(c).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:c,snapsAligned:d}}(j,_,B,z,I),R=-sD(O)+sD(D),{snapsContained:M,scrollContainLimit:H}=function(e,t,r,o){const n=vD(-t+e,0),a=r.map((e,t)=>{const{min:o,max:a}=n,i=n.constrain(e),l=!t,c=dD(r,t);return l?a:c||s(o,i)?o:s(a,i)?a:i}).map(e=>parseFloat(e.toFixed(3))),i=function(){const e=a[0],t=sD(a);return vD(a.lastIndexOf(e),a.indexOf(t)+1)}(),l=function(){if(t<=e+2)return[n.max];if("keepSnaps"===o)return a;const{min:r,max:l}=i;return a.slice(r,l)}();function s(e,t){return iD(e,t)<=1}return{snapsContained:l,scrollContainLimit:i}}(S,R,A,b),L=T?M:A,{limit:V}=function(e,t,r){const o=t[0];return{limit:vD(r?o-e:sD(t),o)}}(R,L,u),W=mD(cD(L),d,u),Z=W.clone(),U=lD(r),G=function(e,t,r,o){const n=gD(),a=1e3/60;let i=null,l=0,s=0;function c(e){if(!s)return;i||(i=e,r(),r());const n=e-i;for(i=e,l+=n;l>=a;)r(),l-=a;o(l/a),s&&(s=t.requestAnimationFrame(c))}function d(){t.cancelAnimationFrame(s),i=null,l=0,s=0}return{init:function(){n.add(e,"visibilitychange",()=>{e.hidden&&(i=null,l=0)})},destroy:function(){d(),n.clear()},start:function(){s||(s=t.requestAnimationFrame(c))},stop:d,update:r,render:o}}(o,n,()=>(({dragHandler:e,scrollBody:t,scrollBounds:r,options:{loop:o}})=>{o||r.constrain(e.pointerDown()),t.seek()})(le),e=>(({scrollBody:e,translate:t,location:r,offsetLocation:o,previousLocation:n,scrollLooper:a,slideLooper:i,dragHandler:l,animation:s,eventHandler:c,scrollBounds:d,options:{loop:u}},f)=>{const p=e.settled(),h=!d.shouldConstrain(),g=u?p:p&&h,v=g&&!l.pointerDown();v&&s.stop();const m=r.get()*f+n.get()*(1-f);o.set(m),u&&(a.loop(e.direction()),i.loop()),t.to(o.get()),v&&c.emit("settle"),g||c.emit("scroll")})(le,e)),X=L[W.get()],$=kD(X),K=kD(X),Y=kD(X),J=kD(X),Q=function(e,t,r,o,n){let a=0,i=0,l=n,s=.68,c=e.get(),d=0;function u(e){return l=e,p}function f(e){return s=e,p}const p={direction:function(){return i},duration:function(){return l},velocity:function(){return a},seek:function(){const t=o.get()-e.get();let n=0;return l?(r.set(e),a+=t/l,a*=s,c+=a,e.add(a),n=c-d):(a=0,r.set(o),e.set(o),n=t),i=aD(n),d=c,p},settled:function(){return nD(o.get()-t.get())<.001},useBaseFriction:function(){return f(.68)},useBaseDuration:function(){return u(n)},useFriction:f,useDuration:u};return p}($,Y,K,J,f),ee=function(e,t,r,o,n){const{reachedAny:a,removeOffset:i,constrain:l}=o;function s(e){return e.concat().sort((e,t)=>nD(e)-nD(t))[0]}function c(t,o){const n=[t,t+r,t-r];if(!e)return t;if(!o)return s(n);const a=n.filter(e=>aD(e)===o);return a.length?s(a):sD(n)-r}return{byDistance:function(r,o){const s=n.get()+r,{index:d,distance:u}=function(r){const o=e?i(r):l(r),n=t.map((e,t)=>({diff:c(e-o,0),index:t})).sort((e,t)=>nD(e.diff)-nD(t.diff)),{index:a}=n[0];return{index:a,distance:o}}(s),f=!e&&a(s);return!o||f?{index:d,distance:r}:{index:d,distance:r+c(t[d]-u,0)}},byIndex:function(e,r){return{index:e,distance:c(t[e]-n.get(),r)}},shortcut:c}}(u,L,R,V,J),te=function(e,t,r,o,n,a,i){function l(n){const l=n.distance,s=n.index!==t.get();a.add(l),l&&(o.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(r.set(t.get()),t.set(n.index),i.emit("select"))}const s={distance:function(e,t){l(n.byDistance(e,t))},index:function(e,r){const o=t.clone().set(e);l(n.byIndex(o.get(),r))}};return s}(G,W,Z,Q,ee,J,i),re=function(e){const{max:t,length:r}=e;return{get:function(e){return r?(e-t)/-r:0}}}(V),oe=gD(),ne=function(e,t,r,o){const n={};let a,i=null,l=null,s=!1;return{init:function(){a=new IntersectionObserver(e=>{s||(e.forEach(e=>{const r=t.indexOf(e.target);n[r]=e}),i=null,l=null,r.emit("slidesInView"))},{root:e.parentElement,threshold:o}),t.forEach(e=>a.observe(e))},destroy:function(){a&&a.disconnect(),s=!0},get:function(e=!0){if(e&&i)return i;if(!e&&l)return l;const t=function(e){return fD(n).reduce((t,r)=>{const o=parseInt(r),{isIntersecting:a}=n[o];return(e&&a||!e&&!a)&&t.push(o),t},[])}(e);return e&&(i=t),e||(l=t),t}}}(t,r,i,g),{slideRegistry:ae}=function(e,t,r,o,n,a){const{groupSlides:i}=n,{min:l,max:s}=o,c=function(){const o=i(a),n=!e||"keepSnaps"===t;return 1===r.length?[a]:n?o:o.slice(l,s).map((e,t,r)=>{const o=!t,n=dD(r,t);return o?uD(sD(r[0])+1):n?uD(cD(a)-sD(r)[0]+1,sD(r)[0]):e})}();return{slideRegistry:c}}(T,b,L,H,I,U),ie=function(e,t,r,o,n,a,i,l){const s={passive:!0,capture:!0};let c=0;function d(e){"Tab"===e.code&&(c=(new Date).getTime())}return{init:function(u){l&&(a.add(document,"keydown",d,!1),t.forEach((t,d)=>{a.add(t,"focus",t=>{(rD(l)||l(u,t))&&function(t){if((new Date).getTime()-c>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;const a=r.findIndex(e=>e.includes(t));eD(a)&&(n.useDuration(0),o.index(a,0),i.emit("slideFocus"))}(d)},s)}))}}}(e,r,ae,te,Q,oe,i,w),le={ownerDocument:o,ownerWindow:n,eventHandler:i,containerRect:B,slideRects:z,animation:G,axis:j,dragHandler:bD(j,e,o,n,J,CD(j,n),$,G,te,Q,ee,W,i,N,p,h,m,.68,x),eventStore:oe,percentOfView:N,index:W,indexPrevious:Z,limit:V,location:$,offsetLocation:Y,previousLocation:K,options:a,resizeHandler:yD(t,i,n,r,j,C,k),scrollBody:Q,scrollBounds:xD(V,Y,J,Q,N),scrollLooper:wD(R,V,Y,[$,Y,K,J]),scrollProgress:re,scrollSnapList:L.map(re.get),scrollSnaps:L,scrollTarget:ee,scrollTo:te,slideLooper:zD(j,S,R,F,D,O,L,Y,r),slideFocus:ie,slidesHandler:jD(t,i,y),slidesInView:ne,slideIndexes:U,slideRegistry:ae,slidesToScroll:I,target:J,translate:BD(j,t)};return le}QF.displayName="CarouselNavButton";const ND={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function _D(e){function t(e,t){return pD(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(r){const o=r.breakpoints||{},n=fD(o).filter(t=>e.matchMedia(t).matches).map(e=>o[e]).reduce((e,r)=>t(e,r),{});return t(r,n)},optionsMediaQueries:function(t){return t.map(e=>fD(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}function TD(e,t,r){const o=e.ownerDocument,n=o.defaultView,a=_D(n),i=function(e){let t=[];const r={init:function(r,o){return t=o.filter(({options:t})=>!1!==e.optionsAtMedia(t).active),t.forEach(t=>t.init(r,e)),o.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){t=t.filter(e=>e.destroy())}};return r}(a),l=gD(),s=function(){let e,t={};function r(e){return t[e]||[]}const o={init:function(t){e=t},emit:function(t){return r(t).forEach(r=>r(e,t)),o},off:function(e,n){return t[e]=r(e).filter(e=>e!==n),o},on:function(e,n){return t[e]=r(e).concat([n]),o},clear:function(){t={}}};return o}(),{mergeOptions:c,optionsAtMedia:d,optionsMediaQueries:u}=a,{on:f,off:p,emit:h}=s,g=j;let v,m,b,C,y=!1,x=c(ND,TD.globalOptions),w=c(x),k=[];function B(t){const r=SD(e,b,C,o,n,t,s);return t.loop&&!r.slideLooper.canLoop()?B(Object.assign({},t,{loop:!1})):r}function z(t,r){y||(x=c(x,t),w=d(x),k=r||k,function(){const{container:t,slides:r}=w,o=tD(t)?e.querySelector(t):t;b=o||e.children[0];const n=tD(r)?b.querySelectorAll(r):r;C=[].slice.call(n||b.children)}(),v=B(w),u([x,...k.map(({options:e})=>e)]).forEach(e=>l.add(e,"change",j)),w.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(T),v.eventHandler.init(T),v.resizeHandler.init(T),v.slidesHandler.init(T),v.options.loop&&v.slideLooper.loop(),b.offsetParent&&C.length&&v.dragHandler.init(T),m=i.init(T,k)))}function j(e,t){const r=_();S(),z(c({startIndex:r},e),t),s.emit("reInit")}function S(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),i.destroy(),l.clear()}function N(e,t,r){w.active&&!y&&(v.scrollBody.useBaseFriction().useDuration(!0===t?0:w.duration),v.scrollTo.index(e,r||0))}function _(){return v.index.get()}const T={canScrollNext:function(){return v.index.add(1).get()!==_()},canScrollPrev:function(){return v.index.add(-1).get()!==_()},containerNode:function(){return b},internalEngine:function(){return v},destroy:function(){y||(y=!0,l.clear(),S(),s.emit("destroy"),s.clear())},off:p,on:f,emit:h,plugins:function(){return m},previousScrollSnap:function(){return v.indexPrevious.get()},reInit:g,rootNode:function(){return e},scrollNext:function(e){N(v.index.add(1).get(),e,-1)},scrollPrev:function(e){N(v.index.add(-1).get(),e,1)},scrollProgress:function(){return v.scrollProgress.get(v.offsetLocation.get())},scrollSnapList:function(){return v.scrollSnapList},scrollTo:N,selectedScrollSnap:_,slideNodes:function(){return C},slidesInView:function(){return v.slidesInView.get()},slidesNotInView:function(){return v.slidesInView.get(!1)}};return z(t,r),setTimeout(()=>s.emit("init"),0),T}TD.globalOptions=void 0;const qD="fui-CarouselCard",FD=vr({root:{xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"fg68ejw",B2u0y6b:"f6dzj5z"},autoSize:{xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"fd9q35j",Bf4jedk:"fy77jfu",a9b677:"f14z66ap",B2u0y6b:"f6dzj5z"},elevated:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu",E5pizo:"f1hg901r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"}},{d:[[".fg68ejw{flex:0 0 100%;}",{p:-1}],".f6dzj5z{max-width:100%;}",[".fd9q35j{flex:0 0 auto;}",{p:-1}],".fy77jfu{min-width:0;}",".f14z66ap{width:auto;}",[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".f1hg901r{box-shadow:var(--shadow16);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}]]}),DD="fui-CarouselSlider",ED=vr({root:{mc9l5x:"f22iagw",Eiaeu8:"f1115ve7"},elevated:{i8kkvl:0,Belr9w4:0,rmohyg:"f1vkj2z1"}},{d:[".f22iagw{display:flex;}",".f1115ve7{overflow-anchor:none;}",[".f1vkj2z1{gap:var(--spacingHorizontalXXL);}",{p:-1}]]}),PD={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function ID(e={}){let t,r,o,n,a=null,i=0,l=!1,s=!1,c=!1,d=!1;function u(){o||(h()?c=!0:(l||r.emit("autoplay:play"),function(){const{ownerWindow:e}=r.internalEngine();e.clearTimeout(i),i=e.setTimeout(C,n[r.selectedScrollSnap()]),a=(new Date).getTime(),r.emit("autoplay:timerset")}(),l=!0))}function f(){o||(l&&r.emit("autoplay:stop"),function(){const{ownerWindow:e}=r.internalEngine();e.clearTimeout(i),i=0,a=null,r.emit("autoplay:timerstopped")}(),l=!1)}function p(){if(h())return c=l,f();c&&u()}function h(){const{ownerDocument:e}=r.internalEngine();return"hidden"===e.visibilityState}function g(){s||f()}function v(){s||u()}function m(){s=!0,f()}function b(){s=!1,u()}function C(){const{index:e}=r.internalEngine(),o=e.clone().add(1).get(),n=r.scrollSnapList().length-1,a=t.stopOnLastSnap&&o===n;if(r.canScrollNext()?r.scrollNext(d):r.scrollTo(0,d),r.emit("autoplay:select"),a)return f();u()}return{name:"autoplay",options:e,init:function(a,i){r=a;const{mergeOptions:l,optionsAtMedia:s}=i,c=l(PD,ID.globalOptions),h=l(c,e);if(t=s(h),r.scrollSnapList().length<=1)return;d=t.jump,o=!1,n=function(e,t){const r=e.scrollSnapList();return"number"==typeof t?r.map(()=>t):t(r,e)}(r,t.delay);const{eventStore:C,ownerDocument:y}=r.internalEngine(),x=!!r.internalEngine().options.watchDrag,w=function(e,t){const r=e.rootNode();return t&&t(r)||r}(r,t.rootNode);C.add(y,"visibilitychange",p),x&&r.on("pointerDown",g),x&&!t.stopOnInteraction&&r.on("pointerUp",v),t.stopOnMouseEnter&&C.add(w,"mouseenter",m),t.stopOnMouseEnter&&!t.stopOnInteraction&&C.add(w,"mouseleave",b),t.stopOnFocusIn&&r.on("slideFocusStart",f),t.stopOnFocusIn&&!t.stopOnInteraction&&C.add(r.containerNode(),"focusout",u),t.playOnInit&&u()},destroy:function(){r.off("pointerDown",g).off("pointerUp",v).off("slideFocusStart",f),f(),o=!0,l=!1},play:function(e){void 0!==e&&(d=e),u()},stop:function(){l&&f()},reset:function(){l&&u()},isPlaying:function(){return l},timeUntilNext:function(){return a?n[r.selectedScrollSnap()]-((new Date).getTime()-a):null}}}function OD(e,t,r){return Math.min(Math.max(e,t),r)}function AD(e){return"number"==typeof e&&!isNaN(e)}function RD(e={}){let t,r,o,n,a=[],i=0,l=0,s=0,c=!1;function d(){g(t.selectedScrollSnap(),1)}function u(){c=!1}function f(){c=!1,i=0,l=0}function p(){const e=t.internalEngine().scrollBody.duration();l=e?0:1,c=!0,e||d()}function h(e){const{scrollSnaps:r,location:o,target:n}=t.internalEngine();!AD(e)||a[e]<.5||(o.set(r[e]),n.set(o))}function g(e,r){t.scrollSnapList().forEach((o,n)=>{const l=Math.abs(r),d=a[n],u=n===e,f=OD(u?d+l:d-l,0,1);a[n]=f;const p=u&&c,h=t.previousScrollSnap();p&&(a[h]=1-f),u&&function(e,r){const{index:o,dragHandler:n,scrollSnaps:a}=t.internalEngine(),l=n.pointerDown(),c=1/(a.length-1);let d=e,u=l?t.selectedScrollSnap():t.previousScrollSnap();if(l&&d===u){const e=-1*Math.sign(i);d=u,u=o.clone().set(u).add(e).get()}s=u*c+(d-u)*c*r}(e,f),function(e){const r=t.internalEngine().slideRegistry[e],{scrollSnaps:o,containerRect:n}=t.internalEngine(),i=a[e];r.forEach(r=>{const a=t.slideNodes()[r].style,l=parseFloat(i.toFixed(2)),s=l>0,c=function(e){const{axis:r}=t.internalEngine();return`translate${r.scroll.toUpperCase()}(${r.direction(e)}px)`}(s?o[e]:n.width+2);s&&(a.transform=c),a.opacity=l.toString(),a.pointerEvents=i>.5?"auto":"none",s||(a.transform=c)})}(n)})}function v(){const{dragHandler:e,index:r,scrollBody:o}=t.internalEngine(),n=t.selectedScrollSnap();if(!e.pointerDown())return n;const a=Math.sign(o.velocity()),l=Math.sign(i),s=r.clone().set(n).add(-1*a).get();return a&&l?l===a?s:n:null}function m(){const{target:e,location:o}=t.internalEngine(),n=e.get()-o.get(),s=Math.abs(n)>=1,c=v(),d=!AD(c);return function(e){const{dragHandler:t,scrollBody:o}=e.internalEngine(),n=t.pointerDown(),s=o.velocity(),c=o.duration(),d=v(),u=!AD(d);if(n){if(!s)return;i+=s,l=Math.abs(s/r),h(d)}if(!n){if(!c||u)return;l+=(1-a[d])/c,l*=.68}u||g(d,l)}(t),!d&&!s&&a[c]>.999}function b(){return s}return{name:"fade",options:e,init:function(e){t=e;const i=t.selectedScrollSnap(),{scrollBody:l,containerRect:s,axis:h}=t.internalEngine(),g=h.measureSize(s);r=OD(.75*g,200,500),c=!1,a=t.scrollSnapList().map((e,t)=>t===i?1:0),o=l.settled,n=t.scrollProgress,l.settled=m,t.scrollProgress=b,t.on("select",p).on("slideFocus",d).on("pointerDown",f).on("pointerUp",u),function(){const{translate:e,slideLooper:r}=t.internalEngine();e.clear(),e.toggleActive(!1),r.loopPoints.forEach(({translate:e})=>{e.clear(),e.toggleActive(!1)})}(),d()},destroy:function(){const{scrollBody:e}=t.internalEngine();e.settled=o,t.scrollProgress=n,t.off("select",p).off("slideFocus",d).off("pointerDown",f).off("pointerUp",u),t.slideNodes().forEach(e=>{const t=e.style;t.opacity="",t.transform="",t.pointerEvents="",e.getAttribute("style")||e.removeAttribute("style")})}}}ID.globalOptions=void 0,RD.globalOptions=void 0;const MD={containScroll:"trimSnaps",inViewThreshold:.99,watchDrag:!1,skipSnaps:!0,container:`.${DD}`,slides:`.${qD}`},HD="embla:visibilitychange";const LD={root:"fui-Carousel"},VD=vr({root:{B68tc82:"f1p9o1ba",Eiaeu8:"f1115ve7",qhf8xq:"f10pi13n"},elevated:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"flfurxc",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f16dxoy8"}},{d:[".f1p9o1ba{overflow-x:hidden;}",".f1115ve7{overflow-anchor:none;}",".f10pi13n{position:relative;}",[".flfurxc{margin:var(--spacingVerticalL);}",{p:-1}],[".f16dxoy8{padding:var(--spacingVerticalL);}",{p:-1}]]}),WD=u.forwardRef((e,t)=>{const r=function(e,t){const{align:r="center",circular:o=!1,onActiveIndexChange:n,groupSize:a="auto",draggable:i=!1,whitespace:l=!1,announcement:s,motion:c="slide",autoplayInterval:d=4e3,appearance:f="flat"}=e,{dir:p}=ro(),{activeIndex:h,carouselApi:g,containerRef:v,viewportRef:m,subscribeForValues:b,enableAutoplay:C,resetAutoplay:y}=function(e){const{align:t,autoplayInterval:r,direction:o,loop:n,slidesToScroll:a,watchDrag:i,containScroll:l,motion:s,onDragIndexChange:c,onAutoplayIndexChange:d}=e;var f;const p="string"==typeof s?s:null!==(f=null==s?void 0:s.kind)&&void 0!==f?f:"slide";var h;const g="string"==typeof s?25:null!==(h=null==s?void 0:s.duration)&&void 0!==h?h:25,[v,m]=yo({defaultState:e.defaultActiveIndex,state:e.activeIndex,initialState:0}),b=So((e,t)=>{null==c||c(e,{event:e,type:"drag",index:t})}),C=u.useRef({align:t,direction:o,loop:n,slidesToScroll:a,startIndex:v,watchDrag:i,containScroll:l,duration:g}),y=u.useRef(null),x=u.useRef(!1),w=u.useCallback(()=>{var e,t;null===(t=y.current)||void 0===t||null===(e=t.plugins().autoplay)||void 0===e||e.reset()},[]),k=u.useCallback(()=>{const e=[];return e.push(ID({playOnInit:x.current,delay:r,stopOnInteraction:!0,stopOnFocusIn:!1,stopOnMouseEnter:!1})),"fade"===p&&e.push(RD()),i&&e.push(function(e){let t,r,o;function n(e){if(e.target){const t=e.target;(t.classList.contains(LD.root)||(null==o?void 0:o.contains(t)))&&(r=e)}o&&(o.removeEventListener("mousedown",n),o.removeEventListener("pointerdown",n))}function a(){o&&(o.addEventListener("mousedown",n),o.addEventListener("pointerdown",n))}function i(){r=void 0,a()}function l(){if(r){var o;const n=null!==(o=t.selectedScrollSnap())&&void 0!==o?o:0;e.onSelectViaDrag(r,n)}}return{name:"pointerEvent",options:e,init:function(e,r){t=e,o=t.containerNode(),o.addEventListener("mousedown",n),o.addEventListener("pointerdown",n),t.on("pointerUp",a),t.on("select",l),t.on("settle",i)},destroy:function(){o&&(o.removeEventListener("mousedown",n),o.removeEventListener("pointerdown",n)),o=void 0,t.off("pointerUp",a),t.off("select",l),t.off("settle",i)}}}({onSelectViaDrag:b})),e},[p,b,i,r]),B=u.useCallback((e,t)=>{var r,o;if(t||(x.current=e),e&&x.current)null===(o=y.current)||void 0===o||null===(r=o.plugins().autoplay)||void 0===r||r.play(),w();else if(!e){var n,a;null===(a=y.current)||void 0===a||null===(n=a.plugins().autoplay)||void 0===n||n.stop()}},[w]),z=u.useRef(new Set),j=u.useCallback(e=>(z.current.add(e),()=>{z.current.delete(e)}),[]),S=()=>{var e,t,r,o,n;const a=null!==(n=null===(e=y.current)||void 0===e?void 0:e.selectedScrollSnap())&&void 0!==n?n:0,i=null===(t=y.current)||void 0===t?void 0:t.slideNodes(),l=null===(r=y.current)||void 0===r?void 0:r.internalEngine().slideRegistry;var s;const c=null!==(s=null==l||null===(o=l[a])||void 0===o?void 0:o[0])&&void 0!==s?s:0;null==i||i.forEach((e,t)=>{!function(e,t){const r=e.getAttribute("data-tabster");if(r){const o=JSON.parse(r);o.focusable&&(o.focusable.isDefault=t,e.setAttribute("data-tabster",JSON.stringify(o)))}}(e,t===c)}),m(a)},N=So(()=>{var e,t,r,o,n,a;const i=null!==(a=null===(e=y.current)||void 0===e?void 0:e.slideNodes())&&void 0!==a?a:[];var l;const s=null!==(l=null===(t=y.current)||void 0===t?void 0:t.internalEngine().slideRegistry)&&void 0!==l?l:[],c=s.length>0?s.length:i.length,d=null===(r=y.current)||void 0===r?void 0:r.internalEngine().slideLooper.canLoop();var u;const f={navItemsCount:c,activeIndex:null!==(u=null===(o=y.current)||void 0===o?void 0:o.selectedScrollSnap())&&void 0!==u?u:0,groupIndexList:s,slideNodes:i,canLoop:d};S(),null===(n=y.current)||void 0===n||n.scrollTo(v,!1);for(const e of z.current)e(f)}),_=So((e,t)=>{var r,o;const n=null!==(o=null===(r=y.current)||void 0===r?void 0:r.selectedScrollSnap())&&void 0!==o?o:0;if(S(),"autoplay:select"===t){const e=new Event("autoplay");null==d||d(e,{event:e,type:"autoplay",index:n})}}),T=u.useRef(null),q=u.useMemo(()=>{const e=()=>{var e,t;const r=null===(e=y.current)||void 0===e?void 0:e.slideNodes();var o;const n=null!==(o=null===(t=y.current)||void 0===t?void 0:t.slidesInView())&&void 0!==o?o:[];null==r||r.forEach((e,t)=>{e.dispatchEvent(new CustomEvent(HD,{bubbles:!1,detail:{isVisible:n.includes(t)}}))})},t=k();return{set current(r){var o,n,a;if(y.current&&(null===(n=(a=y.current).plugins)||void 0===n||null===(o=n.call(a).autoplay)||void 0===o||o.stop(),y.current.off("slidesInView",e),y.current.off("select",_),y.current.off("reInit",N),y.current.off("autoplay:select",_),y.current.destroy(),y.current=null),r){var i;const o=TD(null!==(i=T.current)&&void 0!==i?i:r,{...MD,...C.current},t);o.on("reInit",N),o.on("slidesInView",e),o.on("select",_),o.on("autoplay:select",_),y.current=o}}}},[k,_,N]),F=u.useMemo(()=>({scrollToElement:(e,t)=>{var r,o,n;const a=null===(r=y.current)||void 0===r?void 0:r.slideNodes();var i;const l=null!==(i=null===(o=y.current)||void 0===o?void 0:o.internalEngine().slideRegistry)&&void 0!==i?i:[];var s;const c=null!==(s=null==a?void 0:a.indexOf(e))&&void 0!==s?s:0,d=l.findIndex(e=>e.includes(c)),u=null!=d?d:c;return null===(n=y.current)||void 0===n||n.scrollTo(u,t),u},scrollToIndex:(e,t)=>{var r;null===(r=y.current)||void 0===r||r.scrollTo(e,t)},scrollInDirection:e=>{var t,r,o,n;return"prev"===e?null===(r=y.current)||void 0===r||r.scrollPrev():null===(o=y.current)||void 0===o||o.scrollNext(),null!==(n=null===(t=y.current)||void 0===t?void 0:t.selectedScrollSnap())&&void 0!==n?n:0}}),[]);return u.useEffect(()=>{var e,r,s,c;const d=k();C.current={startIndex:C.current.startIndex,align:t,direction:o,loop:n,slidesToScroll:a,watchDrag:i,containScroll:l,duration:g},null===(s=y.current)||void 0===s||null===(r=s.plugins)||void 0===r||null===(e=r.call(s).autoplay)||void 0===e||e.stop(),null===(c=y.current)||void 0===c||c.reInit({...MD,...C.current},d)},[t,l,o,k,n,a,i,g]),u.useEffect(()=>{var e,t,r,o;const n=null!==(o=null===(e=y.current)||void 0===e?void 0:e.selectedScrollSnap())&&void 0!==o?o:0;var a;const i=null!==(a=null===(r=y.current)||void 0===r||null===(t=r.slideNodes())||void 0===t?void 0:t.length)&&void 0!==a?a:0;var l;C.current.startIndex=v,v<i&&v!==n&&(null===(l=y.current)||void 0===l||l.scrollTo(v))},[v]),{activeIndex:v,carouselApi:F,viewportRef:T,containerRef:q,subscribeForValues:j,enableAutoplay:B,resetAutoplay:w}}({align:r,direction:p,loop:o,slidesToScroll:a,defaultActiveIndex:e.defaultActiveIndex,activeIndex:e.activeIndex,watchDrag:i,containScroll:!l&&"keepSnaps",motion:c,onDragIndexChange:n,onAutoplayIndexChange:n,autoplayInterval:d}),x=So((e,t,r)=>{const o=g.scrollToElement(t,r);return null==n||n(e,{event:e,type:"focus",index:o}),o}),w=So((e,t,r)=>{g.scrollToIndex(t,r),null==n||n(e,{event:e,type:"click",index:t})}),k=So((e,t)=>{const r=g.scrollInDirection(t);return null==n||n(e,{event:e,type:"click",index:r}),r}),B=Fo(t,v),z=u.useRef(""),j=u.useRef(0),S=u.useRef([]),{announce:N}=vo(),_=So(()=>{if(j.current<=0||!s)return;const e=s(h,j.current,S.current);e!==z.current&&(z.current=e,N(e,{polite:!0}))});return jo(()=>b(e=>{if(j.current<=0&&e.navItemsCount>0&&s){const t=s(e.activeIndex,e.navItemsCount,e.groupIndexList);z.current=t}j.current=e.navItemsCount,S.current=e.groupIndexList,_()}),[b,_,s]),jo(()=>{_()},[h,_]),{components:{root:"div"},root:wr(Wr("div",{ref:B,role:"region",...e}),{elementType:"div"}),activeIndex:h,appearance:f,circular:o,containerRef:B,viewportRef:m,selectPageByElement:x,selectPageByDirection:k,selectPageByIndex:w,subscribeForValues:b,enableAutoplay:C,resetAutoplay:y}}(e,t);(e=>{const t=VD(),{appearance:r}=e;e.root.className=te(LD.root,t.root,"elevated"===r&&t.elevated,e.root.className)})(r),co("useCarouselStyles_unstable")(r);const o=function(e){const{activeIndex:t,appearance:r,selectPageByElement:o,selectPageByDirection:n,selectPageByIndex:a,subscribeForValues:i,enableAutoplay:l,resetAutoplay:s,circular:c,containerRef:d,viewportRef:f}=e;return{carousel:u.useMemo(()=>({activeIndex:t,appearance:r,selectPageByElement:o,selectPageByDirection:n,selectPageByIndex:a,subscribeForValues:i,enableAutoplay:l,resetAutoplay:s,circular:c,containerRef:d,viewportRef:f}),[t,r,o,n,a,i,l,s,c,d,f])}}(r);return((e,t)=>gn(RF,{value:t.carousel,children:gn(e.root,{})}))(r,o)});WD.displayName="Carousel";const ZD=u.createContext(void 0),UD={cardFocus:!1},GD=ZD.Provider;function XD(e){const{cardFocus:t}=e;return{carouselSlider:u.useMemo(()=>({cardFocus:t}),[t])}}const $D=u.forwardRef((e,t)=>{const r=((e,t)=>{const{autoSize:r}=e,o=u.useRef(null),n=u.useRef(!1),a=MF(e=>e.selectPageByElement),i=MF(e=>e.containerRef),{cardFocus:l}=null!==(s=u.useContext(ZD))&&void 0!==s?s:UD;var s;const c=ki({tabBehavior:"limited"}),d=l?{...c,tabIndex:0}:{},f=qo(qD,e.id);u.useEffect(()=>{const e=o.current;if(e){const t=t=>{if(!l){const r=!t.detail.isVisible;e.ariaHidden=r.toString(),e.inert=r}};return e.addEventListener(HD,t),()=>{e.removeEventListener(HD,t)}}},[l]);const p=u.useCallback(e=>{var t;e.defaultPrevented||!Go(e.currentTarget)||n.current||(null==i||null===(t=i.current)||void 0===t||t.scrollTo(0,0),a(e,e.currentTarget,!1)),n.current=!1},[a,i]),h=Uo(e.onFocusCapture,p),g=Uo(e.onPointerUp,e=>{e.defaultPrevented||(n.current=!1)}),v=Uo(e.onPointerDown,e=>{e.defaultPrevented||(n.current=!0)});return{autoSize:r,components:{root:"div"},root:wr(Wr("div",{ref:Fo(o,t),role:"tabpanel",tabIndex:l?0:void 0,...e,id:f,onFocusCapture:h,onPointerUp:g,onPointerDown:v,...d}),{elementType:"div"})}})(e,t);return(e=>{const{autoSize:t}=e,r=MF(e=>e.appearance),o=FD();e.root.className=te(qD,o.root,"elevated"===r&&o.elevated,t&&o.autoSize,e.root.className)})(r),co("useCarouselCardStyles_unstable")(r),(e=>gn(e.root,{}))(r)});$D.displayName="CarouselCard";const KD=vr({root:{Bkecrkj:"fc5wo7j",B6of3ja:"fgr6219",jrapky:"f10jk5vf",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"],sj55zd:"fkfq4zb",De3pzq:"fkfdr9r",eoavqd:"f8491dx"}},{d:[".fc5wo7j{pointer-events:all;}",".fgr6219{margin-top:auto;}",".f10jk5vf{margin-bottom:auto;}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fkfdr9r{background-color:var(--colorNeutralBackgroundAlpha);}"],h:[".f8491dx:hover{cursor:pointer;}"]}),YD=u.forwardRef((e,t)=>{const r=((e,t)=>{const{onCheckedChange:r,checked:o,defaultChecked:n,...a}=e,[i,l]=yo({state:o,defaultState:n,initialState:!1}),s=MF(e=>e.enableAutoplay);return u.useEffect(()=>(s(i),()=>{s(!1)}),[i,s]),{...Sm({icon:kr(e.icon,{defaultProps:{children:i?u.createElement(zd,null):u.createElement(pd,null)},renderByDefault:!0,elementType:"span"}),...a,checked:i,onClick:So(Uo(e=>{if(e.isDefaultPrevented())return;const t=!i;l(t),null==r||r(e,{event:e,type:"click",checked:t})},e.onClick))},t)}})(e,t);return(e=>{const t=KD();Dm(e),e.root.className=te("fui-CarouselAutoplayButton",t.root,e.root.className),e.icon&&(e.icon.className=te("fui-CarouselAutoplayButton__icon",e.icon.className))})(r),co("useCarouselAutoplayButtonStyles_unstable")(r),(e=>Qv(e))(r)});YD.displayName="CarouselAutoplayButton";const JD=vr({root:{B7ck84d:"f1e4lqlz",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f186qr3g",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",a9b677:"feqmc2u",Bqenvij:"fbhnoac",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",eoavqd:"f8491dx"},image:{a9b677:"feqmc2u",Bqenvij:"fbhnoac",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},selected:{a9b677:"f124akge",Bqenvij:"ff2sm71"}},{d:[".f1e4lqlz{box-sizing:content-box;}",[".f1c5fvqg{padding:0px;}",{p:-1}],[".f186qr3g{margin:0 var(--spacingHorizontalXS);}",{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);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f124akge{width:48px;}",".ff2sm71{height:48px;}"],h:[".f8491dx:hover{cursor:pointer;}"]}),QD=u.forwardRef((e,t)=>{const r=((e,t)=>{const{onClick:r,as:o="button"}=e,n=XF(),a=MF(e=>e.selectPageByIndex),i=MF(e=>e.activeIndex===n),l=MF(e=>e.subscribeForValues),s=So(e=>{null==r||r(e),!e.defaultPrevented&&Go(e.target)&&a(e,n)}),c=yi({focusable:{isDefault:i}}),d=u.useRef(void 0),f=wr(Wr(o,Hc(e.as,e)),{elementType:"button",defaultProps:{ref:Fo(t,d),role:"tab",type:"button","aria-selected":i,...c}});return jo(()=>l(e=>{var t,r;const o=(null!==(r=null===(t=e.groupIndexList)||void 0===t?void 0:t[n])&&void 0!==r?r:[]).map(t=>e.slideNodes[t].id).join(" ");d.current&&d.current.setAttribute("aria-controls",o)}),[l,n]),f.onClick=s,{components:{root:"button",image:"img"},root:f,image:wr(Wr("img",{"aria-hidden":!0,alt:"",role:"presentation",...e.image}),{elementType:"img"}),selected:i}})(e,t);return(e=>{const{selected:t}=e,r=JD();var o;e.root.className=te("fui-CarouselNavImageButton",r.root,t&&r.selected,e.root.className),e.image&&(e.image.className=te("fui-CarouselNavImageButton__image",r.image,t&&r.selected,null===(o=e.image)||void 0===o?void 0:o.className))})(r),co("useCarouselNavImageButtonStyles_unstable")(r),(e=>gn(e.root,{children:gn(e.image,{})}))(r)});QD.displayName="CarouselNavImageButton";const eE=u.forwardRef((e,t)=>{const r=((e,t)=>{const{cardFocus:r=!1}=e,o=MF(e=>e.circular),n=xi({circular:o,axis:"horizontal",memorizeCurrent:!1,unstable_hasDefault:!0}),a=r?n:{};return{cardFocus:r,components:{root:"div"},root:wr(Wr("div",{ref:t,role:"group",...e,...a}),{elementType:"div"})}})(e,t);return(e=>{const t=MF(e=>e.appearance),r=ED();e.root.className=te(DD,r.root,"elevated"===t&&r.elevated,e.root.className)})(r),co("useCarouselSliderStyles_unstable")(r),((e,t)=>gn(GD,{value:t.carouselSlider,children:gn(e.root,{})}))(r,XD(r))});eE.displayName="CarouselSlider";const tE=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Brf1p80:"f4d9j23",a9b677:"fly5x3f",Bkecrkj:"f1aehjj5"},next:{},prev:{},autoplay:{},inline:{B6of3ja:"f1mevb6"},overlay:{qhf8xq:"f1euv43f",B5kzvoi:"f1bu4tuc",B7ck84d:"f1ewtqcl"},overlayWide:{B5kzvoi:"f1bu4tuc"},nextWide:{Frg6f3:["fcgxt0o","f1ujusj6"]},prevWide:{t21cq0:["f1ujusj6","fcgxt0o"]},nextOverlayWide:{t21cq0:["fkujibs","f199hnxi"]},prevOverlayWide:{Frg6f3:["f199hnxi","fkujibs"]},autoplayOverlayWide:{Frg6f3:["f199hnxi","fkujibs"]},expanded:{a9b677:"fly5x3f",Bqenvij:"f1l02sjl",Bt984gj:"fgs5rwf",Brf1p80:"f4d9j23",B5kzvoi:"f1yab3r1",c7y7m3:"f1ok8cdc",yx0ijg:"fcq6x80",v4amzz:"f1gy9d85"},nextOverlayExpanded:{qhf8xq:"f1euv43f",j35jbq:["f8b87gs","fedtrts"],Bhzewxz:"f1i1t8d1",Bz10aip:"f188r07x"},prevOverlayExpanded:{qhf8xq:"f1euv43f",oyh7mz:["fedtrts","f8b87gs"],Bhzewxz:"f1i1t8d1",Bz10aip:"f188r07x"},autoplayExpanded:{qhf8xq:"f1euv43f",B5kzvoi:"f49tsn4",oyh7mz:["fedtrts","f8b87gs"],jrapky:"f18zxyen"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f4d9j23{justify-content:center;}",".fly5x3f{width:100%;}",".f1aehjj5{pointer-events:none;}",".f1mevb6{margin-top:var(--spacingVerticalM);}",".f1euv43f{position:absolute;}",".f1bu4tuc{bottom:var(--spacingVerticalM);}",".f1ewtqcl{box-sizing:border-box;}",".fcgxt0o{margin-left:auto;}",".f1ujusj6{margin-right:auto;}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f1l02sjl{height:100%;}",".fgs5rwf{align-items:flex-end;}",".f1yab3r1{bottom:0;}",".f1ok8cdc>div{position:relative;}",".fcq6x80>div{bottom:var(--spacingVerticalL);}",".f1gy9d85>div{margin-bottom:0;}",".f8b87gs{right:var(--spacingHorizontalM);}",".fedtrts{left:var(--spacingHorizontalM);}",".f1i1t8d1{top:50%;}",".f188r07x{transform:translateY(-50%);}",".f49tsn4{bottom:-var(--spacingHorizontalXS);}",".f18zxyen{margin-bottom:var(--spacingVerticalM);}"]}),rE=u.forwardRef((e,t)=>{const r=((e,t)=>{const{layout:r}=e,o=kr(e.next,{defaultProps:{navType:"next"},elementType:VF,renderByDefault:!0}),n=kr(e.prev,{defaultProps:{navType:"prev"},elementType:VF,renderByDefault:!0}),a=kr(e.autoplay,{elementType:YD,renderByDefault:!!e.autoplay||!!e.autoplayTooltip}),i=kr(e.nextTooltip,{defaultProps:{},elementType:Jv,renderByDefault:!1}),l=kr(e.prevTooltip,{defaultProps:{},elementType:Jv,renderByDefault:!1}),s=kr(e.autoplayTooltip,{defaultProps:{},elementType:Jv,renderByDefault:!1});return{layout:r,components:{root:"div",next:VF,prev:VF,autoplay:YD,nextTooltip:Jv,prevTooltip:Jv,autoplayTooltip:Jv},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),next:o,prev:n,autoplay:a,nextTooltip:i,prevTooltip:l,autoplayTooltip:s}})(e,t);return(e=>{const{layout:t}=e,r="overlay"===t||"overlay-wide"===t||"overlay-expanded"===t,o="inline-wide"===t||"overlay-wide"===t,n=tE();e.root.className=te("fui-CarouselNavContainer",n.root,r?n.overlay:n.inline,r&&o&&n.overlayWide,"overlay-expanded"===t&&n.expanded,e.root.className),e.next&&(e.next.className=te("fui-CarouselNavContainer__next",n.next,o&&n.nextWide,o&&r&&n.nextOverlayWide,"overlay-expanded"===t&&n.nextOverlayExpanded,e.next.className)),e.prev&&(e.prev.className=te("fui-CarouselNavContainer__prev",n.prev,o&&n.prevWide,!e.autoplay&&o&&r&&n.prevOverlayWide,"overlay-expanded"===t&&n.prevOverlayExpanded,e.prev.className)),e.autoplay&&(e.autoplay.className=te("fui-CarouselNavContainer__autoplay",n.autoplay,"overlay-expanded"===t&&n.autoplayExpanded,o&&r&&n.autoplayOverlayWide,e.autoplay.className))})(r),co("useCarouselNavContainerStyles_unstable")(r),(e=>vn(e.root,{children:[!e.autoplayTooltip&&e.autoplay&&gn(e.autoplay,{}),e.autoplayTooltip&&e.autoplay&&gn(e.autoplayTooltip,{children:gn(e.autoplay,{})}),!e.prevTooltip&&e.prev&&gn(e.prev,{}),e.prevTooltip&&e.prev&&gn(e.prevTooltip,{children:gn(e.prev,{})}),e.root.children,!e.nextTooltip&&e.next&&gn(e.next,{}),e.nextTooltip&&e.next&&gn(e.nextTooltip,{children:gn(e.next,{})})]}))(r)});rE.displayName="CarouselNavContainer";const oE=vr({root:{B2u0y6b:"f6dzj5z",a9b677:"f14z66ap"}},{d:[".f6dzj5z{max-width:100%;}",".f14z66ap{width:auto;}"]}),nE=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=u.useRef(!1),o=u.useRef(!1),n=MF(e=>e.viewportRef),a=MF(e=>e.enableAutoplay),i=u.useCallback(()=>{r.current=!0,a(!1,!0)},[a]),l=u.useCallback(e=>{e.currentTarget.contains(e.relatedTarget)||(r.current=!1,o.current||a(!0,!0))},[a]),s=u.useCallback(()=>{o.current=!0,a(!1,!0)},[a]),c=u.useCallback(()=>{o.current=!1,r.current||a(!0,!0)},[a]),d=Uo(e.onFocusCapture,i),f=Uo(e.onBlurCapture,l),p=Uo(e.onMouseEnter,s),h=Uo(e.onMouseLeave,c);return{components:{root:"div"},root:wr(Wr("div",{ref:Fo(t,n),role:"presentation",draggable:!0,...e,onFocusCapture:d,onBlurCapture:f,onMouseEnter:p,onMouseLeave:h}),{elementType:"div"})}})(e,t);return(e=>{const t=oE();e.root.className=te("fui-CarouselViewport",t.root,e.root.className)})(r),co("useCarouselViewportStyles_unstable")(r),((e,t)=>gn(GD,{value:t.carouselSlider,children:gn(e.root,{})}))(r,XD(r))});nE.displayName="CarouselViewport";const aE={selection:void 0,validateListItem:()=>{}},iE=hc(void 0),lE=iE.Provider,sE=e=>gc(iE,(t=aE)=>e(t)),cE=u.createContext(void 0),dE=cE.Provider,uE=mr("r1m6yby2",null,[".r1m6yby2{padding:0;margin:0;text-indent:0;list-style-type:none;}"]);u.forwardRef((e,t)=>{const r=((e,t)=>{const{navigationMode:r,selectionMode:o,selectedItems:n,defaultSelectedItems:a,onSelectionChange:i}=e,l=e.as||"composite"===r?"div":"ul",s=xi({axis:"vertical",memorizeCurrent:!0}),[c,d]=yo({state:n,defaultState:a,initialState:[]}),f=function(e={selectionMode:"multiselect"}){const{selectionMode:t,defaultSelectedItems:r,onSelectionChange:o}=e,[n,a]=yo({state:e.selectedItems,defaultState:r,initialState:[]}),[i,l]=sn({selectionMode:t,defaultSelectedItems:r,selectedItems:n,onSelectionChange:(e,t)=>{a(t.selectedItems),null==o||o(e,t)}}),s=So((e,t)=>l.toggleItem(e,t)),c=So((e,t)=>{l.toggleAllItems(e,t)}),d=So((e,t)=>l.deselectItem(e,t)),f=So((e,t)=>l.selectItem(e,t)),p=So(e=>l.clearItems(e));return{selectedItems:u.useMemo(()=>Array.from(i),[i]),toggleItem:s,toggleAllItems:c,deselectItem:d,selectItem:f,setSelectedItems:a,isSelected:e=>l.isSelected(e),clearSelection:p}}({onSelectionChange:So((e,t)=>{const r=Array.from(t.selectedItems);d(r),null==i||i(e,{event:e,type:"change",selectedItems:r})}),selectionMode:o||"multiselect",selectedItems:c}),p=e.role||((e,t)=>"composite"===e?"grid":t?"listbox":"list")(r,!!o),h=(e=>{switch(e){case"list":default:return"listitem";case"listbox":return"option";case"grid":return"row"}})(p),{findAllFocusable:g}=zi(),v=So(e=>{});return{components:{root:l},root:wr(Wr(l,{ref:t,role:p,...o&&{"aria-multiselectable":"multiselect"===o||void 0},...s,...e}),{elementType:l}),listItemRole:h,validateListItem:v,navigationMode:r,selection:o?f:void 0}})(e,t),o=function(e){const{selection:t,navigationMode:r,listItemRole:o,validateListItem:n}=e;return{listContext:{selection:t,navigationMode:r,validateListItem:n},synchronousContext:u.useMemo(()=>({listItemRole:o,navigationMode:r}),[o,r])}}(r);return(e=>{const t=uE();e.root.className=te("fui-List",t,e.root.className)})(r),co("useListStyles_unstable")(r),((e,t)=>gn(lE,{value:t.listContext,children:gn(dE,{value:t.synchronousContext,children:gn(e.root,{})})}))(r,o)}).displayName="List";const fE="ListItemAction",pE=mr("rikgcmv",null,[".rikgcmv{padding:0;margin:0;text-indent:0;list-style-type:none;}",".rikgcmv[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);}"]),hE=vr({root:{qb2dma:"f7nlbp4",Bpb5tq4:0,Biccaaf:0,Gaeyjg:0,ldoezw:0,B6gmeee:"f1bgo3o3"}},{d:[".f7nlbp4{align-self:center;}",[".f1bgo3o3 .fui-Checkbox__indicator{margin:4px;}",{p:-1}]]}),gE=vr({rootClickableOrSelectable:{mc9l5x:"f22iagw",Bceei9c:"f1k6fduh"},disabled:{Bceei9c:"f158kwzp"}},{d:[".f22iagw{display:flex;}",".f1k6fduh{cursor:pointer;}",".f158kwzp{cursor:default;}"]}),vE=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=qo("listItem"),{value:o=r,onKeyDown:n,onClick:a,tabIndex:i,role:l,onAction:s,disabledSelection:c}=e,d=sE(e=>{var t;return null===(t=e.selection)||void 0===t?void 0:t.toggleItem}),{navigationMode:f,listItemRole:p}=u.useContext(cE)||{navigationMode:void 0,listItemRole:"listitem"},h=sE(e=>!!e.selection);var g;const v=null!==(g=sE(e=>{var t;return null===(t=e.selection)||void 0===t?void 0:t.isSelected(o)}))&&void 0!==g&&g,m=sE(e=>e.validateListItem),b=e.as||"composite"===f?"div":"li",C=l||p,y=Boolean(h||f||0===i),x=u.useRef(null),w=u.useRef(null),k=So(e=>{null==s||s(e,{event:e,value:o,type:fE}),e.defaultPrevented||h&&!c&&(null==d||d(e.detail.originalEvent,o))});u.useEffect(()=>{x.current&&m(x.current)},[m]);const B=e=>{const t=new CustomEvent(fE,{cancelable:!0,bubbles:!0,detail:{originalEvent:e}});k(t),e.target.dispatchEvent(t)},z=ki({ignoreDefaultKeydown:{Enter:!0},tabBehavior:"limited-trap-focus"}),j=So(e=>{null==a||a(e),e.defaultPrevented||dn(w.current,e.target)||B(e)}),S=So(e=>{if(null==n||n(e),!e.defaultPrevented)if(e.target===e.currentTarget)switch(e.key){case Nc:e.preventDefault(),h?c||null==d||d(e,o):B(e);break;case Sc:B(e);break;case Fc:"composite"===f&&e.target.dispatchEvent(new Yn({action:1}))}else if(y){switch(e.key){case qc:e.target.dispatchEvent(new Yn({action:2}));break;case Tc:case Dc:e.preventDefault(),e.target.dispatchEvent(new Yn({action:2})),e.currentTarget.dispatchEvent(new Kn({key:In[e.key]}))}return}}),N=So((e,t)=>{h&&!e.defaultPrevented&&(null==d||d(e,o))}),_=xi({axis:"horizontal"}),T=Mi(y?_:{},z,e),q=wr(Wr(b,{ref:Fo(x,t),tabIndex:y?0:void 0,role:C,id:String(o),...h&&{"aria-selected":v,"aria-disabled":c&&!s||void 0},...e,...T,onKeyDown:S,onClick:h||a||s?j:void 0}),{elementType:b}),F=kr(e.checkmark,{defaultProps:{checked:v,tabIndex:-1,disabled:c},renderByDefault:h,elementType:sb}),D=Fo(null==F?void 0:F.ref,w);return F&&(F.onChange=Uo(F.onChange,N),F.ref=D),{components:{root:b,checkmark:sb},root:q,checkmark:F,disabled:c&&!s,selectable:h,navigable:y}})(e,t);return(e=>{const t=pE(),r=hE(),o=gE();e.root.className=te("fui-ListItem",t,(e.selectable||e.navigable)&&o.rootClickableOrSelectable,e.disabled&&o.disabled,e.root.className),e.checkmark&&(e.checkmark.className=te("fui-ListItem__checkmark",r.root,e.checkmark.className))})(r),co("useListItemStyles_unstable")(r),(e=>vn(e.root,{children:[e.checkmark&&gn(e.checkmark,{}),e.root.children]}))(r)});function mE(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function bE(e){return Math.min(1,Math.max(0,e))}function CE(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function yE(e){return e<=1?"".concat(100*Number(e),"%"):e}function xE(e){return 1===e.length?"0"+e:String(e)}function wE(e,t,r){e=mE(e,255),t=mE(t,255),r=mE(r,255);var o=Math.max(e,t,r),n=Math.min(e,t,r),a=0,i=0,l=(o+n)/2;if(o===n)i=0,a=0;else{var s=o-n;switch(i=l>.5?s/(2-o-n):s/(o+n),o){case e:a=(t-r)/s+(t<r?6:0);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4}a/=6}return{h:a,s:i,l:l}}function kE(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function BE(e,t,r){e=mE(e,255),t=mE(t,255),r=mE(r,255);var o=Math.max(e,t,r),n=Math.min(e,t,r),a=0,i=o,l=o-n,s=0===o?0:l/o;if(o===n)a=0;else{switch(o){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4}a/=6}return{h:a,s:s,v:i}}function zE(e,t,r,o){var n=[xE(Math.round(e).toString(16)),xE(Math.round(t).toString(16)),xE(Math.round(r).toString(16))];return o&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function jE(e){return SE(e)/255}function SE(e){return parseInt(e,16)}vE.displayName="ListItem";var NE={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var _E="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),TE="[\\s|\\(]+(".concat(_E,")[,|\\s]+(").concat(_E,")[,|\\s]+(").concat(_E,")\\s*\\)?"),qE="[\\s|\\(]+(".concat(_E,")[,|\\s]+(").concat(_E,")[,|\\s]+(").concat(_E,")[,|\\s]+(").concat(_E,")\\s*\\)?"),FE={CSS_UNIT:new RegExp(_E),rgb:new RegExp("rgb"+TE),rgba:new RegExp("rgba"+qE),hsl:new RegExp("hsl"+TE),hsla:new RegExp("hsla"+qE),hsv:new RegExp("hsv"+TE),hsva:new RegExp("hsva"+qE),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function DE(e){return Boolean(FE.CSS_UNIT.exec(String(e)))}var EE=function(){function e(t,r){var o;if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var n=function(e){var t,r,o,n={r:0,g:0,b:0},a=1,i=null,l=null,s=null,c=!1,d=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(NE[e])e=NE[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=FE.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=FE.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=FE.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=FE.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=FE.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=FE.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=FE.hex8.exec(e))?{r:SE(r[1]),g:SE(r[2]),b:SE(r[3]),a:jE(r[4]),format:t?"name":"hex8"}:(r=FE.hex6.exec(e))?{r:SE(r[1]),g:SE(r[2]),b:SE(r[3]),format:t?"name":"hex"}:(r=FE.hex4.exec(e))?{r:SE(r[1]+r[1]),g:SE(r[2]+r[2]),b:SE(r[3]+r[3]),a:jE(r[4]+r[4]),format:t?"name":"hex8"}:!!(r=FE.hex3.exec(e))&&{r:SE(r[1]+r[1]),g:SE(r[2]+r[2]),b:SE(r[3]+r[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(DE(e.r)&&DE(e.g)&&DE(e.b)?(t=e.r,r=e.g,o=e.b,n={r:255*mE(t,255),g:255*mE(r,255),b:255*mE(o,255)},c=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):DE(e.h)&&DE(e.s)&&DE(e.v)?(i=yE(e.s),l=yE(e.v),n=function(e,t,r){e=6*mE(e,360),t=mE(t,100),r=mE(r,100);var o=Math.floor(e),n=e-o,a=r*(1-t),i=r*(1-n*t),l=r*(1-(1-n)*t),s=o%6;return{r:255*[r,i,a,a,l,r][s],g:255*[l,r,r,i,a,a][s],b:255*[a,a,l,r,r,i][s]}}(e.h,i,l),c=!0,d="hsv"):DE(e.h)&&DE(e.s)&&DE(e.l)&&(i=yE(e.s),s=yE(e.l),n=function(e,t,r){var o,n,a;if(e=mE(e,360),t=mE(t,100),r=mE(r,100),0===t)n=r,a=r,o=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;o=kE(l,i,e+1/3),n=kE(l,i,e),a=kE(l,i,e-1/3)}return{r:255*o,g:255*n,b:255*a}}(e.h,i,s),c=!0,d="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(a=e.a)),a=CE(a),{ok:c,format:e.format||d,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:a}}(t);this.originalInput=t,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=r.format)&&void 0!==o?o:n.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,o=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=CE(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=BE(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=BE(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=wE(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=wE(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),zE(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,r,o,n){var a,i=[xE(Math.round(e).toString(16)),xE(Math.round(t).toString(16)),xE(Math.round(r).toString(16)),xE((a=o,Math.round(255*parseFloat(a)).toString(16)))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*mE(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*mE(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+zE(this.r,this.g,this.b,!1),t=0,r=Object.entries(NE);t<r.length;t++){var o=r[t],n=o[0];if(e===o[1])return n}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var r=!1,o=this.a<1&&this.a>=0;return t||!o||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=bE(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=bE(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=bE(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=bE(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),o=(r.h+t)%360;return r.h=o<0?360+o:o,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var o=this.toRgb(),n=new e(t).toRgb(),a=r/100;return new e({r:(n.r-o.r)*a+o.r,g:(n.g-o.g)*a+o.g,b:(n.b-o.b)*a+o.b,a:(n.a-o.a)*a+o.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var o=this.toHsl(),n=360/r,a=[this];for(o.h=(o.h-(n*t>>1)+720)%360;--t;)o.h=(o.h+n)%360,a.push(new e(o));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),o=r.h,n=r.s,a=r.v,i=[],l=1/t;t--;)i.push(new e({h:o,s:n,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),o=new e(t).toRgb(),n=r.a+o.a*(1-r.a);return new e({r:(r.r*r.a+o.r*o.a*(1-r.a))/n,g:(r.g*r.a+o.g*o.a*(1-r.a))/n,b:(r.b*r.a+o.b*o.a*(1-r.a))/n,a:n})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),o=r.h,n=[this],a=360/t,i=1;i<t;i++)n.push(new e({h:(o+i*a)%360,s:r.s,l:r.l}));return n},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function PE(e,t){return void 0===e&&(e=""),void 0===t&&(t={}),new EE(e,t)}const IE="--fui-Slider--direction",OE="--fui-Slider--progress",AE="--fui-Slider__thumb--color",RE="--fui-Slider__rail--color",ME=mr("r1j9hj9j",null,[".r1j9hj9j{position:relative;display:inline-grid;touch-action:none;align-items:center;justify-items:center;--fui-Slider__thumb--size:20px;--fui-Slider__rail--size:20px;min-height:32px;}"]),HE=vr({horizontal:{Bf4jedk:"f93ek0f",wkccdc:"fgfd48t",Budl1dq:"f11e9psi"},vertical:{sshi5w:"fwwq4i4",wkccdc:"fqcvrs3",Budl1dq:"fiadc6h"}},{d:[".f93ek0f{min-width:200px;}",".fgfd48t{grid-template-rows:1fr var(--fui-Slider__thumb--size) 1fr;}",".f11e9psi{grid-template-columns:1fr 100% 1fr;}",".fwwq4i4{min-height:280px;}",".fqcvrs3{grid-template-rows:1fr 100% 1fr;}",".fiadc6h{grid-template-columns:1fr var(--fui-Slider__thumb--size) 1fr;}"]}),LE=vr({hue:{Bcmaq0h:"f1curpo1"},saturation:{Bcmaq0h:["fdhcg5e","f1onqon0"]},value:{Bcmaq0h:["f1r1ueul","fbtriqu"]}},{d:[".f1curpo1{background-image:linear-gradient(var(--fui-Slider--direction),red,fuchsia,blue,aqua,lime,yellow,red);}",".fdhcg5e{background-image:linear-gradient(to right, #808080, var(--fui-Slider__rail--color));}",".f1onqon0{background-image:linear-gradient(to left, #808080, var(--fui-Slider__rail--color));}",".f1r1ueul{background-image:linear-gradient(to right, #000, var(--fui-Slider__rail--color));}",".fbtriqu{background-image:linear-gradient(to left, #000, var(--fui-Slider__rail--color));}"]}),VE=vr({rail:{Bkecrkj:"f1aehjj5",Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f10pi13n",Bvjb7m6:"fdgv6k0",Bpd4iqm:"fpvhumw",oeaueh:"f1yog68k",Bw0xxkn:"f13sgyd8",Ftih45:"fzhtfnv",Brfgrao:"f1j7ml58"},horizontal:{a9b677:"fly5x3f",Bqenvij:"f1cy86ho",Fbdkly:["f1heqfse","fkh49vu"],mdwyqc:["fkh49vu","f1heqfse"],Baz25je:"f16tdq4e"},vertical:{a9b677:"fqxfnkd",Bqenvij:"f1l02sjl",Ccq8qp:"f1rik0od",Bciustq:"f14xwovp",lawp4y:"febq2dz"}},{d:[".f1aehjj5{pointer-events:none;}",".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f10pi13n{position:relative;}",".fdgv6k0{forced-color-adjust:none;}",".fpvhumw{outline-width:1px;}",".f1yog68k{outline-style:solid;}",".f13sgyd8{outline-color:var(--colorTransparentStroke);}",".fzhtfnv::before{content:'';}",".f1j7ml58::before{position:absolute;}",".fly5x3f{width:100%;}",".f1cy86ho{height:var(--fui-Slider__rail--size);}",".f1heqfse::before{left:-1px;}",".fkh49vu::before{right:-1px;}",".f16tdq4e::before{height:var(--fui-Slider__rail--size);}",".fqxfnkd{width:var(--fui-Slider__rail--size);}",".f1l02sjl{height:100%;}",".f1rik0od::before{width:var(--fui-Slider__rail--size);}",".f14xwovp::before{top:-1px;}",".febq2dz::before{bottom:1px;}"]}),WE=vr({thumb:{Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f1euv43f",a9b677:"f174ca62",Bqenvij:"f1yfdkfd",Bkecrkj:"f1aehjj5",oeaueh:"f1s6fcnf",Bvjb7m6:"fdgv6k0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",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:"f1lvq45z",E5pizo:"f1whvlc6",De3pzq:"foksa45",Brfgrao:"f1j7ml58",lawp4y:0,Fbdkly:0,mdwyqc:0,Bciustq:0,gc50h5:"f1abv9ik",r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"fielpny",Bcvre1j:"fyl8oag",Ftih45:"fzhtfnv",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f3i7wkk"},horizontal:{Bz10aip:["f13gfj74","f1nfknbn"],oyh7mz:["f1fj3zth","fcf9u6w"]},vertical:{Bz10aip:"f5cv5a3",B5kzvoi:"feeniun"}},{d:[".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f1euv43f{position:absolute;}",".f174ca62{width:var(--fui-Slider__thumb--size);}",".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".f1aehjj5{pointer-events:none;}",".f1s6fcnf{outline-style:none;}",".fdgv6k0{forced-color-adjust:none;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1lvq45z{border:var(--strokeWidthThin) solid var(--colorNeutralForeground4);}",{p:-2}],".f1whvlc6{box-shadow:var(--shadow4);}",".foksa45{background-color:var(--fui-Slider__thumb--color);}",".f1j7ml58::before{position:absolute;}",[".f1abv9ik::before{inset:0px;}",{p:-1}],[".fielpny::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],".fyl8oag::before{box-sizing:border-box;}",".fzhtfnv::before{content:'';}",[".f3i7wkk::before{border:var(--strokeWidthThick) solid var(--colorNeutralBackground1);}",{p:-2}],".f13gfj74{transform:translateX(-50%);}",".f1nfknbn{transform:translateX(50%);}",".f1fj3zth{left:var(--fui-Slider--progress);}",".fcf9u6w{right:var(--fui-Slider--progress);}",".f5cv5a3{transform:translateY(50%);}",".feeniun{bottom:var(--fui-Slider--progress);}"]}),ZE=vr({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}]]}),UE=vr({input:{Bceei9c:"f1k6fduh",abs64n:"fk73vx1",Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z",Br312pm:"fwpfdsa",Bw0ie65:"fuur7zz",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",jo39rj:0,C5zqim:0,Bdlbwnu:0,B8rk77i:0,Bbzx7hc:0,Hwkvcz:0,B0nnt1c:0,Brwsv5j:0,B2b7vog:0,B4hmq5e:0,B8jxwem:0,B18nadz:0,Ddg5ig:0,Byj09el:0,Dac2s3:0,Dd2y6r:0,Bk0t58e:"f1nq8t98",Ewenww:0,Brqi8qb:0,zz3kca:0,low6xx:"fjt56wq",d0s10n:0,wea7l5:0,olu5tv:0,g5nsvh:0,Bqvnfwh:"f1n9m442"},horizontal:{Bqenvij:"f1yfdkfd",a9b677:"fly5x3f"},vertical:{Bqenvij:"f1l02sjl",a9b677:"f174ca62",Biqzhck:"f1r7j8g6",kgocjf:["f1va4sj6","f1r2v9sp"]}},{d:[".f1k6fduh{cursor:pointer;}",".fk73vx1{opacity:0;}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".fwpfdsa{grid-column-start:1;}",".fuur7zz{grid-column-end:-1;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".fly5x3f{width:100%;}",".f1l02sjl{height:100%;}",".f174ca62{width:var(--fui-Slider__thumb--size);}",".f1r7j8g6{writing-mode:vertical-lr;}",".f1va4sj6{direction:rtl;}",".f1r2v9sp{direction:ltr;}"],i:[[".f1nq8t98:focus-visible~.fui-ColorSlider__thumb{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".fjt56wq:focus-visible~.fui-ColorSlider__thumb{outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);}",{p:-1}],[".f1n9m442:focus-visible~.fui-ColorSlider__thumb{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),GE=e=>{const t=ME(),r=HE(),o=VE(),n=WE(),a=UE(),i=ZE(),l=LE(),s=e.vertical;return e.root.className=te("fui-ColorSlider",t,s?r.vertical:r.horizontal,e.root.className),e.rail.className=te("fui-ColorSlider__rail",o.rail,l[e.channel||"hue"],i[e.shape||"rounded"],s?o.vertical:o.horizontal,e.rail.className),e.thumb.className=te("fui-ColorSlider__thumb",n.thumb,s?n.vertical:n.horizontal,e.thumb.className),e.input.className=te("fui-ColorSlider__input",a.input,s?a.vertical:a.horizontal,e.input.className),e},XE={requestChange:()=>{},color:void 0,shape:"rounded"},$E=hc(void 0),KE=$E.Provider,YE=e=>gc($E,(t=XE)=>e(t)),JE=100,QE=PE("#FFF").toHsv(),eP=(e,t,r)=>r===t?0:(e-t)/(r-t)*100;function tP({h:e=0,s:t=0,v:r=0,a:o=1}){return{h:e,s:t,v:r,a:o}}function rP(e,t="hue"){return Lo(e,0,"hue"===t?360:JE)}function oP(e,t){return t[e]||t.hue}const nP=u.forwardRef((e,t)=>{const r=((e,t)=>{const{dir:r}=ro(),o=YE(e=>e.requestChange),n=YE(e=>e.color),a=YE(e=>e.shape),i=Vr({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","color"]}),{color:l,channel:s="hue",onChange:c=o,shape:d=a,vertical:u,root:f,input:p,rail:h,thumb:g}=e,v=l||n,m=PE(v).toHsl(),[b,C]=yo({defaultState:e.defaultColor,state:v,initialState:QE}),y="hue"===s?360:JE,x={hue:rP(b.h),saturation:rP(100*b.s),value:rP(100*b.v)},w=oP(s,x),k=eP(w,0,y),B=null==p?void 0:p.onChange,z=So(e=>{const t=Number(e.target.value),r=oP(s,{hue:()=>tP({...v,h:t}),saturation:()=>tP({...v,s:t/100}),value:()=>tP({...v,v:t/100})})();C(r),null==B||B(e),null==c||c(e,{type:"change",event:e,color:r})}),j={[IE]:u?"180deg":"ltr"===r?"-90deg":"90deg",[OE]:`${k}%`,[AE]:"hue"===s?`hsl(${w}, 100%, 50%)`:PE(v).toRgbString(),[RE]:"hue"===s?`hsl(${m.h} ${100*m.s}%, ${100*m.l}%)`:`hsl(${m.h} 100%, 50%)`},S={shape:d,vertical:u,channel:s,components:{input:"input",rail:"div",root:"div",thumb:"div"},root:wr(f,{defaultProps:{role:"group",...i.root},elementType:"div"}),input:wr(p,{defaultProps:{id:qo("slider-",e.id),ref:t,min:0,max:y,tabIndex:0,"aria-orientation":u?"vertical":"horizontal",...i.primary,type:"range"},elementType:"input"}),rail:wr(h,{elementType:"div"}),thumb:wr(g,{elementType:"div"})};return S.root.style={...j,...S.root.style},S.input.value=w,S.input.onChange=z,S})(e,t);return GE(r),co("useColorSliderStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.input,{}),gn(e.rail,{}),gn(e.thumb,{})]}))(r)});nP.displayName="ColorSlider";const aP=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f7e3wsx"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f7e3wsx{gap:var(--spacingVerticalXS);}",{p:-1}]]}),iP=u.forwardRef((e,t)=>{const r=((e,t)=>{const{color:r,onColorChange:o,shape:n,...a}=e,i=So((e,t)=>{null==o||o(e,{type:"change",event:e,color:t.color})});return{components:{root:"div"},root:wr(Wr("div",{ref:t,...a}),{elementType:"div"}),color:r,requestChange:i,shape:n}})(e,t),o=(e=>{const{color:t,shape:r,requestChange:o}=e;return{colorPicker:{requestChange:o,color:t,shape:r}}})(r);return(e=>{const t=aP();e.root.className=te("fui-ColorPicker",t.root,e.root.className)})(r),co("useColorPickerStyles_unstable")(r),((e,t)=>gn(KE,{value:t.colorPicker,children:gn(e.root,{children:e.root.children})}))(r,o)});iP.displayName="ColorPicker";const lP="--fui-AreaX--progress",sP="--fui-AreaY--progress",cP="--fui-Area__thumb--color",dP="--fui-Area--main-color",uP=mr("r77w3t7","r9og4es",[".r77w3t7{position:relative;border:1px solid var(--colorNeutralStroke1);background:linear-gradient(to bottom, transparent, #000),linear-gradient(to right, #fff, transparent),var(--fui-Area--main-color);forced-color-adjust:none;display:inline-grid;touch-action:none;align-items:start;justify-items:start;--fui-Slider__thumb--size:20px;min-width:300px;min-height:300px;box-sizing:border-box;margin-bottom:var(--spacingVerticalSNudge);}",".r9og4es{position:relative;border:1px solid var(--colorNeutralStroke1);background:linear-gradient(to bottom, transparent, #000),linear-gradient(to left, #fff, transparent),var(--fui-Area--main-color);forced-color-adjust:none;display:inline-grid;touch-action:none;align-items:start;justify-items:start;--fui-Slider__thumb--size:20px;min-width:300px;min-height:300px;box-sizing:border-box;margin-bottom:var(--spacingVerticalSNudge);}"]),fP=vr({thumb:{qhf8xq:"f1euv43f",a9b677:"f174ca62",Bqenvij:"f1yfdkfd",Bkecrkj:"f1aehjj5",oeaueh:"f1s6fcnf",Bvjb7m6:"fdgv6k0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",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:"f1lvq45z",E5pizo:"f1whvlc6",De3pzq:"fqogvx2",Bz10aip:["f1g1iug4","f11okln6"],oyh7mz:["f1r4bsg1","fwsk87b"],B5kzvoi:"f1rtkqdg",Brfgrao:"f1j7ml58",lawp4y:0,Fbdkly:0,mdwyqc:0,Bciustq:0,gc50h5:"f1abv9ik",r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"fielpny",Bcvre1j:"fyl8oag",Ftih45:"fzhtfnv",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f3i7wkk"},focusIndicator:{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:"f16hcqkr",B2pnrqr:"f1tye2sp",B29w5g4:["flw7qy0","f1t01kh7"],Bhhzhcn:"frujvlw",Bec0n69:["f1t01kh7","flw7qy0"]}},{d:[".f1euv43f{position:absolute;}",".f174ca62{width:var(--fui-Slider__thumb--size);}",".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".f1aehjj5{pointer-events:none;}",".f1s6fcnf{outline-style:none;}",".fdgv6k0{forced-color-adjust:none;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1lvq45z{border:var(--strokeWidthThin) solid var(--colorNeutralForeground4);}",{p:-2}],".f1whvlc6{box-shadow:var(--shadow4);}",".fqogvx2{background-color:var(--fui-Area__thumb--color);}",".f1g1iug4{transform:translate(-50%, 50%);}",".f11okln6{transform:translate(50%, 50%);}",".f1r4bsg1{left:var(--fui-AreaX--progress);}",".fwsk87b{right:var(--fui-AreaX--progress);}",".f1rtkqdg{bottom:var(--fui-AreaY--progress);}",".f1j7ml58::before{position:absolute;}",[".f1abv9ik::before{inset:0px;}",{p:-1}],[".fielpny::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],".fyl8oag::before{box-sizing:border-box;}",".fzhtfnv::before{content:'';}",[".f3i7wkk::before{border:var(--strokeWidthThick) solid var(--colorNeutralBackground1);}",{p:-2}],".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}],[".f16hcqkr[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusCircular);}",{p:-1}],".f1tye2sp[data-fui-focus-within]:focus-within::after{top:calc(var(--strokeWidthThick) * -1);}",".flw7qy0[data-fui-focus-within]:focus-within::after{right:calc(var(--strokeWidthThick) * -1);}",".f1t01kh7[data-fui-focus-within]:focus-within::after{left:calc(var(--strokeWidthThick) * -1);}",".frujvlw[data-fui-focus-within]:focus-within::after{bottom:calc(var(--strokeWidthThick) * -1);}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@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)"}]]}),pP=vr({input:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",qhf8xq:"f1euv43f",Bkecrkj:"f1aehjj5",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],abs64n:"fk73vx1",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",a9b677:"fly5x3f",Bqenvij:"f1l02sjl"}},{d:[[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1euv43f{position:absolute;}",".f1aehjj5{pointer-events:none;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fk73vx1{opacity:0;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],".fly5x3f{width:100%;}",".f1l02sjl{height:100%;}"]}),hP=vr({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}]]});function gP(e){return Math.round(100*e)/100}const vP=u.forwardRef((e,t)=>{const r=((e,t)=>{const{targetDocument:r}=ro(),o=u.useRef(null),n=u.useRef(null),a=u.useRef(null),i=Di(),l=YE(e=>e.requestChange),s=YE(e=>e.color),c=YE(e=>e.shape),{onChange:d=l,shape:f=c,inputX:p,inputY:h,thumb:g,color:v,...m}=e,[b,C]=yo({defaultState:e.defaultColor,state:v||s,initialState:QE}),y=Math.round(100*b.s),x=Math.round(100*b.v),[w,k]=u.useState(null),B=So(e=>{if(!o.current)return;const t=function(e,t){const r=e.getBoundingClientRect(),o=gP((t.clientX-r.left)/r.width),n=gP(1-(t.clientY-r.top)/r.height);return{x:Lo(o,0,1),y:Lo(n,0,1)}}(o.current,e),r={...b,s:t.x,v:t.y};C(r),null==d||d(e,{type:"change",event:e,color:r})}),z=u.useCallback(e=>{B(e)},[B]),j=So(()=>{null==r||r.removeEventListener("pointermove",z)}),S=So(e=>{e.stopPropagation(),e.preventDefault(),B(e.nativeEvent),null==r||r.addEventListener("pointermove",z),null==r||r.addEventListener("pointerup",j,{once:!0})}),N=So(e=>{const t=Number(e.target.value)/100,r={...b,...e.target===n.current&&{s:t},...e.target===a.current&&{v:t}};C(r),null==d||d(e,{type:"change",event:e,color:r})}),_=So(e=>{let t=0,r=0,o="x";switch(e.key){case"ArrowUp":e.preventDefault(),o="y",r=1;break;case"ArrowDown":e.preventDefault(),o="y",r=-1;break;case"ArrowLeft":e.preventDefault(),o="x",t=-1;break;case"ArrowRight":e.preventDefault(),o="x",t=1}if(0===t&&0===r)return;const n={...b,s:Math.min(Math.max(b.s+t/100,0),1),v:Math.min(Math.max(b.v+r/100,0),1)};C(n),k(o),null==d||d(e,{type:"change",event:e,color:n})}),T={[lP]:`${y}%`,[sP]:`${x}%`,[cP]:PE(b).toRgbString(),[dP]:`hsl(${b.h}, 100%, 50%)`},q={shape:f,components:{inputX:"input",inputY:"input",root:"div",thumb:"div"},root:wr(Wr("div",{ref:t,...m}),{elementType:"div"}),inputX:wr(p,{defaultProps:{id:qo("sliderX-"),type:"range",...w&&{tabIndex:"x"===w?0:-1}},elementType:"input"}),inputY:wr(h,{defaultProps:{id:qo("sliderY-"),type:"range",tabIndex:w&&"y"===w?0:-1},elementType:"input"}),thumb:wr(g,{elementType:"div"})};return q.root.ref=Fo(q.root.ref,o),q.thumb.ref=Fo(q.thumb.ref,i),q.inputX.ref=Fo(q.inputX.ref,n),q.inputY.ref=Fo(q.inputY.ref,a),q.root.style={...q.root.style,...T},q.root.onPointerDown=So(Uo(q.root.onPointerDown,S)),q.root.onKeyDown=So(Uo(q.root.onKeyDown,_)),q.inputX.onChange=So(Uo(q.inputX.onChange,N)),q.inputY.onChange=So(Uo(q.inputY.onChange,N)),q.inputX.value=y,q.inputY.value=x,q})(e,t);return(e=>{const t=uP(),r=fP(),o=pP(),n=hP();e.root.className=te("fui-ColorArea",t,n[e.shape||"rounded"],e.root.className),e.thumb.className=te("fui-ColorArea__thumb",r.thumb,r.focusIndicator,e.thumb.className),e.inputX.className=te("fui-ColorArea__inputX",o.input,e.inputX.className),e.inputY.className=te("fui-ColorArea__inputY",o.input,e.inputY.className)})(r),co("useColorAreaStyles_unstable")(r),(e=>gn(e.root,{children:vn(e.thumb,{children:[gn(e.inputX,{}),gn(e.inputY,{})]})}))(r)});vP.displayName="ColorArea";const mP="fui-AlphaSlider__thumb",bP="--fui-AlphaSlider--direction",CP="--fui-AlphaSlider--progress",yP="--fui-AlphaSlider__thumb--color",xP="--fui-AlphaSlider__rail--color",wP=vr({rail:{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:"fm9niy",Bcmaq0h:"f183gti0"}},{d:[[".fm9niy{border:1px solid var(--colorNeutralStroke1);}",{p:-2}],".f183gti0{background-image:linear-gradient(var(--fui-AlphaSlider--direction), transparent, var(--fui-AlphaSlider__rail--color)),url(https://fabricweb.azureedge.net/fabric-website/assets/images/transparent-pattern.png);}"]}),kP=vr({thumb:{De3pzq:"fxugw4r",cmx5o7:"f5vbyc6"},horizontal:{Bz10aip:["f13gfj74","f1nfknbn"],oyh7mz:["fsmxtey","fh8h8tc"]},vertical:{Bz10aip:"f5cv5a3",B5kzvoi:"falo4kr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f5vbyc6::before{background-color:var(--fui-AlphaSlider__thumb--color);}",".f13gfj74{transform:translateX(-50%);}",".f1nfknbn{transform:translateX(50%);}",".fsmxtey{left:var(--fui-AlphaSlider--progress);}",".fh8h8tc{right:var(--fui-AlphaSlider--progress);}",".f5cv5a3{transform:translateY(50%);}",".falo4kr{bottom:var(--fui-AlphaSlider--progress);}"]});function BP(e,t){return t?100-e:e}function zP(e,t){return void 0!==t?BP(100*t,e):void 0}const jP=u.forwardRef((e,t)=>{const r=((e,t)=>{const r=YE(e=>e.shape),o=Vr({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","color"]}),{shape:n=r,vertical:a,root:i,input:l,rail:s,thumb:c}=e,d={shape:n,vertical:a,components:{input:"input",rail:"div",root:"div",thumb:"div"},root:wr(i,{defaultProps:o.root,elementType:"div"}),input:wr(l,{defaultProps:{id:qo("slider-",e.id),ref:t,...o.primary,type:"range"},elementType:"input"}),rail:wr(s,{elementType:"div"}),thumb:wr(c,{elementType:"div"})};return((e,t)=>{var r;const{dir:o}=ro(),n=YE(e=>e.requestChange),a=YE(e=>e.color),{color:i,onChange:l=n,transparency:s=!1,vertical:c=!1}=t,d=i||a,u=PE(d).toHsl(),[f,p]=yo({defaultState:zP(s,null===(r=t.defaultColor)||void 0===r?void 0:r.a),state:zP(s,null==d?void 0:d.a),initialState:BP(100,s)}),h=Lo(f,0,JE),g=eP(h,0,JE),v=e.input.onChange,m=So(e=>{const t=BP(Number(e.target.value),s),r=tP({...d,a:t/100});p(t),null==v||v(e),null==l||l(e,{type:"change",event:e,color:r})}),b=function(e,t,r){return t?r?"180deg":"0deg":"ltr"!==e||r?"-90deg":"90deg"}(o,c,s),C={[bP]:b,[CP]:`${g}%`,[yP]:`hsla(${u.h} ${100*u.s}%, ${100*u.l}%, ${u.a})`,[xP]:`hsl(${u.h} ${100*u.s}%, ${100*u.l}%)`};e.root.style={...C,...e.root.style},e.input.value=h,e.input.onChange=m})(d,e),d})(e,t);return(e=>{const t=wP(),r=kP();e.root.className=te("fui-AlphaSlider",e.root.className),e.input.className=te("fui-AlphaSlider__input",e.input.className),e.rail.className=te("fui-AlphaSlider__rail",t.rail,e.rail.className),e.thumb.className=te(mP,r.thumb,e.vertical?r.vertical:r.horizontal,e.thumb.className),e.thumb.className=te(mP,r.thumb,e.vertical?r.vertical:r.horizontal,e.thumb.className),GE(e)})(r),co("useAlphaSliderStyles_unstable")(r),(e=>vn(e.root,{children:[gn(e.input,{}),gn(e.rail,{}),gn(e.thumb,{})]}))(r)});function SP({defaultOpenCategories:e,multiple:t}){if(void 0!==e)return Array.isArray(e)?t?e:[e[0]]:[e]}jP.displayName="AlphaSlider";const NP=(e,t)=>{const{onNavItemSelect:r,onNavCategoryItemToggle:o,multiple:n=!0,density:a="medium",openCategories:i,selectedCategoryValue:l,selectedValue:s,defaultOpenCategories:c,defaultSelectedValue:d,defaultSelectedCategoryValue:f}=e,p=u.useRef(null),[h,g]=yo({state:i,defaultState:SP({defaultOpenCategories:c,multiple:n}),initialState:[]}),[v,m]=yo({state:l,defaultState:f,initialState:void 0}),[b,C]=yo({state:s,defaultState:d,initialState:void 0}),y=u.useRef(void 0),x=u.useRef(void 0),w=u.useRef(void 0),k=u.useRef(void 0);y.current!==b&&(x.current=y.current,y.current=b),w.current!==v&&(k.current=w.current,w.current=v);const B=So((e,t)=>{C(t.value),m(t.categoryValue?t.categoryValue:""),null==r||r(e,t)}),z=So((e,t)=>{if(void 0!==t.categoryValue){const r=((e,t,r)=>r?t.includes(e)?t.filter(t=>t!==e):[...t,e]:t[0]===e?[]:[e])(t.categoryValue,null!=h?h:[],n);null==o||o(e,t),g(r)}}),j=u.useRef({}),S=u.useCallback(e=>{j.current[JSON.stringify(e.value)]=e},[]),N=u.useCallback(e=>{delete j.current[JSON.stringify(e.value)]},[]),_=u.useCallback(()=>({selectedValue:y.current,previousSelectedValue:x.current,selectedCategoryValue:w.current,previousSelectedCategoryValue:k.current,registeredNavItems:j.current}),[]);return{components:{root:"div"},root:wr(Wr("div",{ref:Fo(t,p),...e}),{elementType:"div"}),openCategories:h,selectedValue:b,selectedCategoryValue:v,onRegister:S,onUnregister:N,onSelect:B,getRegisteredNavItems:_,onRequestNavCategoryItemToggle:z,multiple:n,density:a,tabbable:!1}},_P={selectedValue:void 0,selectedCategoryValue:void 0,onRegister:()=>{},onUnregister:()=>{},onSelect:()=>{},getRegisteredNavItems:()=>({registeredNavItems:{}}),onRequestNavCategoryItemToggle(){},openCategories:[],multiple:!0,density:"medium",tabbable:!1},TP=u.createContext(void 0),qP=TP.Provider,FP=()=>u.useContext(TP)||_P,DP=vr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}"]});function EP(e){const{selectedValue:t,selectedCategoryValue:r,onRegister:o,onUnregister:n,onSelect:a,getRegisteredNavItems:i,onRequestNavCategoryItemToggle:l,openCategories:s,multiple:c,density:d,onNavItemSelect:f,tabbable:p}=e;return{nav:u.useMemo(()=>({selectedValue:t,selectedCategoryValue:r,onSelect:a,onRegister:o,onUnregister:n,getRegisteredNavItems:i,onRequestNavCategoryItemToggle:l,openCategories:s,multiple:c,density:d,onNavItemSelect:f,tabbable:p}),[t,r,a,o,n,i,l,s,c,d,f,p])}}const PP=u.forwardRef((e,t)=>{const r=NP(e,t),o=EP(r);return(e=>{const t=DP();e.root.className=te("fui-Nav",t.root,e.root.className)})(r),co("useHamburgerStyles_unstable")(r),((e,t)=>gn(qP,{value:t.nav,children:gn(e.root,{})}))(r,o)});PP.displayName="Nav";const IP=u.createContext(void 0),OP={open:!1,value:""},{Provider:AP}=IP,RP=()=>{var e;return null!==(e=u.useContext(IP))&&void 0!==e?e:OP};u.forwardRef((e,t)=>{const r=(e=>{const{value:t,children:r}=e,{openCategories:o}=FP();return{open:null==o?void 0:o.includes(t),value:t,children:null!=r?r:null}})(e),o=function(e){const{open:t,value:r}=e;return{categoryValue:u.useMemo(()=>({open:t,value:r}),[t,r])}}(r);return((e,t)=>u.createElement(AP,{value:t.categoryValue},e.children))(r,o)}).displayName="NavCategory";const MP=bf(Xf,{duration:ef.durationFast,easing:ef.curveEasyEase,animateOpacity:!1,outAngle:0,inAngle:180}),HP=u.createContext(void 0),{Provider:LP}=HP,VP=e=>e.expandIcon?e.expandIconMotion?gn(e.expandIconMotion,{children:gn(e.expandIcon,{})}):gn(e.expandIcon,{}):null,WP=mr("rdi7s9k","r94071",[".rdi7s9k{display:flex;text-transform:none;position:relative;justify-content:start;align-items:flex-start;text-align:left;gap:var(--spacingVerticalL);padding:var(--spacingVerticalMNudge) var(--spacingHorizontalS) var(--spacingVerticalMNudge) var(--spacingHorizontalMNudge);background-color:var(--colorNeutralBackground4);border-radius:var(--borderRadiusMedium);color:var(--colorNeutralForeground2);text-decoration-line:none;border:none;box-sizing:border-box;cursor:pointer;transition-duration:var(--durationFaster);transition-timing-function:var(--curveLinear);transition-property:background;width:100%;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}",".rdi7s9k:hover{background-color:var(--colorNeutralBackground4Hover);}",".rdi7s9k:focus-visible{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);outline-offset:calc(var(--strokeWidthThick) * -1);}",".r94071{display:flex;text-transform:none;position:relative;justify-content:start;align-items:flex-start;text-align:right;gap:var(--spacingVerticalL);padding:var(--spacingVerticalMNudge) var(--spacingHorizontalMNudge) var(--spacingVerticalMNudge) var(--spacingHorizontalS);background-color:var(--colorNeutralBackground4);border-radius:var(--borderRadiusMedium);color:var(--colorNeutralForeground2);text-decoration-line:none;border:none;box-sizing:border-box;cursor:pointer;transition-duration:var(--durationFaster);transition-timing-function:var(--curveLinear);transition-property:background;width:100%;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}",".r94071:hover{background-color:var(--colorNeutralBackground4Hover);}",".r94071:focus-visible{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);outline-offset:calc(var(--strokeWidthThick) * -1);}"]),ZP=vr({root:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1434i56","f1jkyjtc"]}},{d:[[".f1434i56{padding:var(--spacingVerticalXS) var(--spacingHorizontalS) var(--spacingVerticalXS) var(--spacingHorizontalMNudge);}",{p:-1}],[".f1jkyjtc{padding:var(--spacingVerticalXS) var(--spacingHorizontalMNudge) var(--spacingVerticalXS) var(--spacingHorizontalS);}",{p:-1}]]}),UP=vr({selected:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),GP=vr({base:{E3zdtr:"f1mdlcz9",xr36ep:"fpil94b",B67388b:"f90z1up",Bitv4sc:"f2ic3ny",Br128sd:"f1xz7mvd",rjyhj6:"f3i5gj0",Bjyk6c5:"fi4v1pz",Dlnsje:"f1tvrmnx",a2br6o:"f1p1ggug",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f3b9emi",Bsft5z2:"f13zj6fq",vikyaa:0,Brlscjf:0,vvp1qr:0,t65l24:"f1ak99p5",rc3c53:"fmnu42u"}},{d:[".f1mdlcz9::after{position:absolute;}",".fpil94b::after{animation-duration:var(--durationFaster);}",".f90z1up::after{animation-fill-mode:both;}",".f2ic3ny::after{animation-timing-function:var(--curveLinear);}",".f1xz7mvd::after{animation-name:f1ayorr4;}",".f3i5gj0::after{-webkit-margin-start:-16px;margin-inline-start:-16px;}",".fi4v1pz::after{background-color:var(--colorCompoundBrandForeground1);}",".f1tvrmnx::after{height:20px;}",".f1p1ggug::after{width:4px;}",[".f3b9emi::after{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f13zj6fq::after{content:"";}'],k:["@keyframes f1ayorr4{0%{background:transparent;}100%{background:var(--colorCompoundBrandForeground1);}}"],m:[["@media (forced-colors: active){.f1ak99p5::after{outline:solid 2px var(--colorTransparentStroke);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fmnu42u::after{outline-offset:-2px;}}",{m:"(forced-colors: active)"}]]}),XP=vr({base:{mc9l5x:"f13qh94s",zoa1oz:"fngvled",sshi5w:"f16gbxbe",Bf4jedk:"f11u7vat",Bt984gj:"f1w4ww9t",Brf1p80:"f4d9j23",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",B9gejnh:0,yr4pdu:0,Bvkmzld:0,mqdk8l:0,Gbjhqp:"f1uiug86",obb2bi:"fwrh02z",D0sxk3:"f16u1re",Esdz9e:0,Bqil8sh:0,Bbom3er:0,djjtid:0,mz70lj:"f1jsjwoh",t6yez3:"f8bsbmo"},selected:{C9vb3z:"f5rs5gh",ux3ctl:"f1ioc1t6",Ba906uv:"fey0lwf",D0sxk3:"fxoiby5",hndn0g:"fnh0dvc",cw2nnk:"fp7jrvw",Bkztwl0:"fdt4y6x",H8nmoi:"fvl64og",ipgedg:"ffh1t26"}},{d:[".f13qh94s{display:grid;}",".fngvled{grid-template-areas:overlay-area;}",".f16gbxbe{min-height:20px;}",".f11u7vat{min-width:20px;}",".f1w4ww9t{align-items:top;}",".f4d9j23{justify-content:center;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1uiug86 .fui-Icon-filled{grid-area:overlay-area;}",{p:-1}],".fwrh02z .fui-Icon-filled{color:transparent;}",".f16u1re .fui-Icon-filled{display:none;}",[".f1jsjwoh .fui-Icon-regular{grid-area:overlay-area;}",{p:-1}],".f8bsbmo .fui-Icon-regular{display:inline;}",".f5rs5gh .fui-Icon-filled{animation-duration:var(--durationFaster);}",".f1ioc1t6 .fui-Icon-filled{animation-fill-mode:both;}",".fey0lwf .fui-Icon-filled{animation-timing-function:var(--curveLinear);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".fnh0dvc .fui-Icon-filled{animation-name:f9t3kp0;}",".fp7jrvw .fui-Icon-regular{animation-duration:var(--durationFaster);}",".fdt4y6x .fui-Icon-regular{animation-fill-mode:both;}",".fvl64og .fui-Icon-regular{animation-timing-function:var(--curveLinear);}",".ffh1t26 .fui-Icon-regular{animation-name:fvunsy5;}"],k:["@keyframes f9t3kp0{0%{opacity:0;color:transparent;}100%{opacity:1;color:var(--colorNeutralForeground2BrandSelected);}}","@keyframes fvunsy5{0%{opacity:1;color:var(--colorNeutralForeground2);}100%{opacity:0;color:transparent;}}"]}),$P=vr({base:{Jyy4pa:"f1lfeew",Bqenvij:"fjamq6b"},selected:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".f1lfeew{-webkit-margin-start:auto;margin-inline-start:auto;}",".fjamq6b{height:20px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),KP=vr({base:{a9b677:"fly5x3f"}},{d:[".fly5x3f{width:100%;}"]}),YP=u.forwardRef((e,t)=>{const r=((e,t)=>{const{onClick:r,expandIcon:o,icon:n}=e,{open:a,value:i}=RP(),{onRequestNavCategoryItemToggle:l,selectedCategoryValue:s,density:c="medium"}=FP(),d=So(Uo(r,e=>l(e,{type:"click",event:e,value:"",categoryValue:i}))),f=s===i&&!a;return{open:a,value:i,selected:f,components:{root:"button",icon:"span",expandIcon:"span",expandIconMotion:MP},root:wr(Wr("button",{ref:t,"aria-current":f&&!a?"page":"false","aria-expanded":a,...e,onClick:d}),{elementType:"button"}),expandIcon:wr(o,{defaultProps:{children:u.createElement(Lu,null),"aria-hidden":!0},elementType:"span"}),expandIconMotion:Nf(e.expandIconMotion,{elementType:MP,defaultProps:{visible:a}}),icon:kr(n,{elementType:"span"}),density:c}})(e,t),o=function(e){const{open:t,value:r}=e;return{navCategoryItem:u.useMemo(()=>({open:t,value:r}),[t,r])}}(r);return(e=>{const t=KP(),r=ZP(),o=WP(),n=UP(),a=GP(),i=XP(),l=$P(),{selected:s,open:c,density:d}=e;e.root.className=te("fui-NavCategoryItem",o,t.base,"small"===d&&r.root,s&&!1===c&&a.base,s&&!1===c&&n.selected,e.root.className),e.expandIcon.className=te("fui-NavCategoryItem__expandIcon",l.base,e.expandIcon.className),e.icon&&(e.icon.className=te("fui-NavCategoryItem__icon",i.base,s&&i.selected,e.icon.className))})(r),co("useNavCategoryItemStyles")(r),((e,t)=>gn(LP,{value:t.navCategoryItem,children:vn(e.root,{children:[e.icon&&gn(e.icon,{}),e.root.children,VP(e)]})}))(r,o)});YP.displayName="NavCategoryItem";const JP=u.forwardRef((e,t)=>{const r=((e,t)=>{const{onClick:r,value:o,icon:n,as:a,href:i}=e,{selectedValue:l,onRegister:s,onUnregister:c,onSelect:d,density:f="medium"}=FP(),p=a||(i?"a":"button"),h=l===o,g=u.useRef(null),v=So(e=>{null==r||r(e),!e.defaultPrevented&&Go(e.target)&&d(e,{type:"click",event:e,value:o})}),m=wr(Wr(p,Hc(p,{"aria-current":h?"page":"false",...e})),{elementType:p,defaultProps:{ref:t,type:p}});return m.onClick=v,u.useEffect(()=>(s({value:o,ref:g}),()=>{c({value:o,ref:g})}),[s,c,g,o]),{components:{root:p,icon:"span"},root:m,icon:kr(n,{elementType:"span"}),selected:h,value:o,density:f}})(e,t);return(e=>{const t=WP(),r=ZP(),o=UP(),n=GP(),a=XP(),{selected:i,density:l}=e;e.root.className=te("fui-NavItem",t,"small"===l&&r.root,i&&n.base,i&&o.selected,e.root.className),e.icon&&(e.icon.className=te("fui-NavItem__icon",a.base,i&&a.selected,e.icon.className))})(r),co("useNavItemStyles_unstable")(r),(e=>vn(e.root,{children:[e.icon&&gn(e.icon,{}),e.root.children]}))(r)});JP.displayName="NavItem";const QP=vr({base:{B1hrpyx:"fqo71ku"},smallBase:{B1hrpyx:"f17f9sv1"},selectedIndicator:{rjyhj6:"f1f74g36"}},{d:[".fqo71ku{-webkit-padding-start:46px;padding-inline-start:46px;}",".f17f9sv1{-webkit-padding-start:40px;padding-inline-start:40px;}",".f1f74g36::after{-webkit-margin-start:-52px;margin-inline-start:-52px;}"]}),eI=u.forwardRef((e,t)=>{const r=((e,t)=>{const{onClick:r,value:o,as:n,href:a}=e,{selectedValue:i,onRegister:l,onUnregister:s,onSelect:c,density:d="medium"}=FP(),{value:f}=RP(),p=n||(a?"a":"button"),h=i===o,g=u.useRef(null),v=So(e=>{null==r||r(e),!e.defaultPrevented&&Go(e.target)&&c(e,{type:"click",event:e,value:o,categoryValue:f})}),m=wr(Wr(p,Hc(p,{"aria-current":h?"page":"false",...e})),{elementType:p,defaultProps:{ref:t,type:p}});return m.onClick=v,u.useEffect(()=>(l({value:o,ref:g}),()=>{s({value:o,ref:g})}),[l,s,g,o]),{components:{root:p},root:m,selected:h,value:o,density:d}})(e,t);return(e=>{const t=WP(),r=ZP(),o=UP(),n=GP(),a=QP(),{selected:i,density:l}=e,s="small"===l;e.root.className=te("fui-NavSubItem",t,s&&r.root,s&&a.smallBase,a.base,i&&n.base,i&&o.selected,i&&a.selectedIndicator,e.root.className)})(r),co("useNavSubItemStyles_unstable")(r),(e=>gn(e.root,{}))(r)});eI.displayName="NavSubItem";const tI=vr({root:{Bnnss6s:"fi64zpg",Bz10aip:"f1yj8dow",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"}},{d:[".fi64zpg{flex-shrink:0;}",".f1yj8dow{transform:translateZ(0);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}]]}),rI=u.forwardRef((e,t)=>{const r=((e,t)=>{const{open:r}=RP();return{open:r,components:{root:"div",collapseMotion:Of},root:wr(Wr("div",{...e,ref:t}),{elementType:"div"}),collapseMotion:Nf(e.collapseMotion,{elementType:Of,defaultProps:{visible:r,unmountOnExit:!0}})}})(e,t);return(e=>{const t=tI();e.root.className=te("fui-NavSubItemGroup",t.root,e.root.className)})(r),co("useNavSubItemGroupStyles_unstable")(r),(e=>e.collapseMotion?gn(e.collapseMotion,{children:gn(e.root,{})}):gn(e.root,{}))(r)});rI.displayName="NavSubItemGroup";const oI=vr({root:{De3pzq:"f1ctqxl6",Bt984gj:"f3gca8"},defaultWidth:{a9b677:"f12j6lm0"}},{d:[".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f3gca8{align-items:unset;}",".f12j6lm0{width:260px;}"]}),nI=u.forwardRef((e,t)=>{const r=((e,t)=>{const{size:r,tabbable:o=!1}=e;return{...NP(e,t),size:r,tabbable:o,components:{root:H_},root:wr({ref:t,role:"navigation",...e},{elementType:H_})}})(e,t),o=EP(r);return(e=>{const{size:t}=e,r=oI();e.root.className=te("fui-NavDrawer",r.root,!t&&r.defaultWidth,e.root.className)})(r),co("useNavDrawerStyles_unstable")(r),((e,t)=>gn(qP,{value:t.nav,children:gn(e.root,{})}))(r,o)});nI.displayName="NavDrawer";const aI=vr({root:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1j1cbdv",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Belr9w4:"f1j0q4x9"}},{d:[[".f1j1cbdv{padding:var(--spacingVerticalXXS) var(--spacingHorizontalXS) var(--spacingVerticalXXS) var(--spacingVerticalXS) var(--spacingHorizontalMNudge);}",{p:-1}],".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f1j0q4x9{row-gap:var(--spacingVerticalXXS);}"]}),iI=u.forwardRef((e,t)=>{const r=((e,t)=>tT(e,t))(e,t);return(e=>{aT(e);const t=aI();e.root.className=te("fui-NavDrawerFooter",t.root,e.root.className)})(r),co("useNavDrawerFooterStyles_unstable")(r),rT(r)});iI.displayName="NavDrawerFooter";const lI=vr({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1r2n0t9",B1hrpyx:"f80d8h0",Dbcxam:0,rjzwhg:0,Bblux5w:"fesrmp8"}},{d:[[".f1r2n0t9{margin:unset;}",{p:-1}],".f80d8h0{-webkit-padding-start:14px;padding-inline-start:14px;}",[".fesrmp8{padding-block:5px;}",{p:-1}]]}),sI=u.forwardRef((e,t)=>{const r=((e,t)=>U_(e,t))(e,t);return(e=>{K_(e);const t=lI();e.root.className=te("fui-NavDrawerHeader",t.root,e.root.className)})(r),co("useNavDrawerHeaderStyles_unstable")(r),G_(r)});sI.displayName="NavDrawerHeader";const cI=vr({root:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fif7vu7","f1htewbf"],Bt984gj:"f3gca8",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Belr9w4:"f1j0q4x9"}},{d:[[".fif7vu7{padding:0 var(--spacingHorizontalXS) 0 var(--spacingHorizontalMNudge);}",{p:-1}],[".f1htewbf{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalXS);}",{p:-1}],".f3gca8{align-items:unset;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f1j0q4x9{row-gap:var(--spacingVerticalXXS);}"]}),dI=u.forwardRef((e,t)=>{const r=((e,t)=>{const{tabbable:r}=FP(),o=xi({axis:"vertical",circular:!0,tabbable:r});return L_({...o,...e},t)})(e,t);return(e=>{Z_(e);const t=cI();e.root.className=te("fui-NavDrawerBody",t.root,e.root.className)})(r),co("useNavDrawerBodyStyles_unstable")(r),V_(r)});dI.displayName="NavDrawerBody";const uI=vr({root:{w71qe1:"f1iuv45f",De3pzq:"f1ctqxl6",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",Jwef8y:"f11oyicx",ecr2s2:"f9fof1w"}},{d:[".f1iuv45f{text-decoration-line:none;}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",[".f3bhgqh{border:none;}",{p:-2}]],h:[".f11oyicx:hover{background-color:var(--colorNeutralBackground4Hover);}"],a:[".f9fof1w:active{background-color:var(--colorNeutralBackground4Pressed);}"]}),fI=u.forwardRef((e,t)=>{const r=((e,t)=>om({icon:u.createElement(Zd,null),appearance:"transparent",...e},t))(e,t);return(e=>{fm(e);const t=uI();e.root.className=te("fui-Hamburger",t.root,e.root.className),e.icon&&(e.icon.className=te("fui-Hamburger__icon",e.icon.className))})(r),co("useHamburgerStyles_unstable")(r),Qv(r)});fI.displayName="Hamburger";const pI=vr({root:{Jyy4pa:"f1gr6hdk",Bo78w4l:0,Cgygva:0,yil37a:"f1ulrxyd",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"fl43uef",Bg96gwp:"fwrc4pm"}},{d:[".f1gr6hdk{-webkit-margin-start:10px;margin-inline-start:10px;}",[".f1ulrxyd{margin-block:8px;}",{p:-1}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),hI=u.forwardRef((e,t)=>{const r=((e,t)=>({components:{root:"h3"},root:wr(Wr("h3",{ref:t,...e}),{elementType:"h3"})}))(e,t);return(e=>{const t=pI();e.root.className=te("fui-NavSectionHeader",t.root,e.root.className)})(r),co("useNavSectionHeaderStyles_unstable")(r),(e=>gn(e.root,{}))(r)});hI.displayName="NavSectionHeader";const gI=vr({root:{Bh6795r:"f1jhi6b8",B6of3ja:"fvjh0tl",jrapky:"fd1gkq"}},{d:[".f1jhi6b8{flex-grow:0;}",".fvjh0tl{margin-top:4px;}",".fd1gkq{margin-bottom:4px;}"]}),vI=u.forwardRef((e,t)=>{const r=((e,t)=>Zb({appearance:"strong",...e},t))(e,t);return(e=>{const t=gI();e.root.className=te("fui-NavDivider",t.root,e.root.className),e.wrapper.className=te("fui-NavDivider__wrapper",e.wrapper.className),Kb(e)})(r),co("useNavDividerStyles_unstable")(r),Wb(r)});vI.displayName="NavDivider";const mI=vr({root:{Bokbzmb:"f1x6gvzo",Jyy4pa:"f1djyvue",B1u1w3b:"feysv1g",a9b677:"f1jd6clc",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"f1ga9sj3",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1fdqhks","fnlwq4f"],Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1m1l4b8","f1yxbtnt"],i8kkvl:0,Belr9w4:0,rmohyg:"f1let0xu"},absentIconRootAdjustment:{B1hrpyx:"ft8721j"}},{d:[[".feysv1g{margin-inline:4px;}",{p:-1}],".f1jd6clc{width:revert;}",".f122n59{align-items:center;}",[".f1ga9sj3{gap:10px;}",{p:-1}],".f1djyvue{-webkit-margin-start:-6px;margin-inline-start:-6px;}",".f1x6gvzo{-webkit-margin-end:0px;margin-inline-end:0px;}",[".f1fdqhks{padding:var(--spacingVerticalS) var(--spacingHorizontalS) var(--spacingVerticalS) var(--spacingHorizontalMNudge);}",{p:-1}],[".fnlwq4f{padding:var(--spacingVerticalS) var(--spacingHorizontalMNudge) var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1m1l4b8{padding:var(--spacingVerticalS) var(--spacingHorizontalS) var(--spacingVerticalS) 14px;}",{p:-1}],[".f1yxbtnt{padding:var(--spacingVerticalS) 14px var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],[".f1let0xu{gap:14px;}",{p:-1}],".ft8721j{-webkit-padding-start:16px;padding-inline-start:16px;}"]}),bI=u.forwardRef((e,t)=>{const r=((e,t)=>{const{icon:r,as:o,href:n}=e,a=o||(n?"a":"button"),{density:i="medium"}=FP();return{components:{root:a,icon:"span"},root:wr(Wr(a,Hc(a,{...e})),{elementType:a,defaultProps:{ref:t,type:a}}),icon:kr(r,{elementType:"span"}),density:i}})(e,t);return(e=>{const t=WP(),r=XP(),o=mI(),{density:n,icon:a}=e;e.root.className=te(t,"fui-AppItem",o.root,"small"===n&&o.small,!a&&o.absentIconRootAdjustment,e.root.className),e.icon&&(e.icon.className=te("fui-AppItem__icon",r.base,e.icon.className))})(r),co("useAppItemStyles_unstable")(r),(e=>vn(e.root,{children:[e.icon&&gn(e.icon,{}),e.root.children]}))(r)});bI.displayName="AppItem";const CI=vr({root:{Bceei9c:"f158kwzp",Jwef8y:"fmaajru",ecr2s2:"f11z5bqc"}},{d:[".f158kwzp{cursor:default;}"],h:[".fmaajru:hover{background-color:unset;}"],a:[".f11z5bqc:active{background-color:unset;}"]}),yI=u.forwardRef((e,t)=>{const r=((e,t)=>{const{icon:r}=e,{density:o="medium"}=FP();return{components:{root:"div",icon:"span"},root:wr(Wr("div",{ref:t,...e}),{elementType:"div"}),icon:kr(r,{elementType:"span"}),density:o}})(e,t);return(e=>{const t=WP(),r=XP(),o=mI(),n=CI(),{density:a,icon:i}=e;e.root.className=te(t,"fui-AppItemStatic",o.root,n.root,"small"===a&&o.small,!i&&o.absentIconRootAdjustment,e.root.className),e.icon&&(e.icon.className=te("fui-AppItemStatic__icon",r.base,e.icon.className))})(r),co("useAppItemStaticStyles_unstable")(r),(e=>vn(e.root,{children:[e.icon&&gn(e.icon,{}),e.root.children]}))(r)});yI.displayName="AppItemStatic";const xI=(e,t)=>e?t?gn(t,{children:gn(e,{})}):gn(e,{}):null,wI={root:"fui-SplitNavItem",navItem:"fui-SplitNavItem__navItem",actionButton:"fui-SplitNavItem__actionButton",toggleButton:"fui-SplitNavItem__toggleButton",menuButton:"fui-SplitNavItem__menuButton",actionButtonTooltip:"fui-SplitNavItem__actionButtonTooltip",toggleButtonTooltip:"fui-SplitNavItem__toggleButtonTooltip",menuButtonTooltip:"fui-SplitNavItem__menuButtonTooltip"},{actionButton:kI,toggleButton:BI,menuButton:zI}=wI,jI=vr({baseRoot:{mc9l5x:"f22iagw",i8kkvl:0,Belr9w4:0,rmohyg:"fx80lhs",Bt984gj:"f1q9h2pe",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf",fsow6f:"fgusgyc",De3pzq:"f1ctqxl6",B3o57yi:"fnsygzv",Bkqvd7p:"f1e9ux7i",Bmy1vo4:"f1xfaukr",Jwef8y:"f11oyicx",xwko9w:"f8z0t4e",mcc9px:"f9ueil3",B02v5zz:"f1g2hb8n",i4x37a:"fpq6je",ecr2s2:"f9fof1w"},baseNavItem:{mc9l5x:"f22iagw",B9bfxx9:"f1cxpek8",qb2dma:"f1ub7u0d",fsow6f:["f1o700av","fes3tcz"],qhf8xq:"f10pi13n",Brf1p80:"f1s9ku6b",i8kkvl:0,Belr9w4:0,rmohyg:"f1u2hskj",De3pzq:"f3rmtva"},baseSecondary:{Bf4jedk:"f107v6xj",Bnt446c:"f1y335lp",B1hrpyx:"f12pses1",rjzwhg:"fibmr9j",Bt984gj:"f1s2louj"},baseMedium:{rjzwhg:"fjtod8q"},baseLarge:{rjzwhg:"f16gijt3"},hoverAction:{abs64n:"fk73vx1",Bkecrkj:"f1aehjj5",Bn62ygk:0,Cwk7ip:0,B3o57yi:0,Bmy1vo4:0,Bkqvd7p:0,Bi2q7bf:["fr12795","fcl876f"],Es3by:"f1gqqdtu"}},{d:[".f22iagw{display:flex;}",[".fx80lhs{gap:unset;}",{p:-1}],".f1q9h2pe{align-items:stretch;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fgusgyc{text-align:unset;}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".fnsygzv{transition-duration:var(--durationFaster);}",".f1e9ux7i{transition-timing-function:var(--curveLinear);}",".f1xfaukr{transition-property:background;}",".f1cxpek8{text-transform:none;}",".f1ub7u0d{align-self:stretch;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f10pi13n{position:relative;}",".f1s9ku6b{justify-content:start;}",[".f1u2hskj{gap:var(--spacingVerticalL);}",{p:-1}],".f3rmtva{background-color:transparent;}",".f107v6xj{min-width:28px;}",".f1y335lp{-webkit-padding-end:12px;padding-inline-end:12px;}",".f12pses1{-webkit-padding-start:5px;padding-inline-start:5px;}",".fibmr9j{padding-block-start:5px;}",".f1s2louj{align-items:start;}",".fjtod8q{padding-block-start:9px;}",".f16gijt3{padding-block-start:12px;}",".fk73vx1{opacity:0;}",".f1aehjj5{pointer-events:none;}",[".fr12795{transition:opacity 150ms cubic-bezier(0.33,0,0.67,1);}",{p:-1}],[".fcl876f{transition:opacity 150ms cubic-bezier(0.33, 0, 0.67, 1);}",{p:-1}],".f1gqqdtu{will-change:opacity;}"],h:[".f11oyicx:hover{background-color:var(--colorNeutralBackground4Hover);}",".f8z0t4e:hover .fui-SplitNavItem__actionButton,.f8z0t4e:hover .fui-SplitNavItem__toggleButton,.f8z0t4e:hover .fui-SplitNavItem__menuButton{opacity:1;}",".f9ueil3:hover .fui-SplitNavItem__actionButton,.f9ueil3:hover .fui-SplitNavItem__toggleButton,.f9ueil3:hover .fui-SplitNavItem__menuButton{pointer-events:auto;}"],w:[".f1g2hb8n:focus-within .fui-SplitNavItem__actionButton,.f1g2hb8n:focus-within .fui-SplitNavItem__toggleButton,.f1g2hb8n:focus-within .fui-SplitNavItem__menuButton{opacity:1;}",".fpq6je:focus-within .fui-SplitNavItem__actionButton,.fpq6je:focus-within .fui-SplitNavItem__toggleButton,.fpq6je:focus-within .fui-SplitNavItem__menuButton{pointer-events:auto;}"],a:[".f9fof1w:active{background-color:var(--colorNeutralBackground4Pressed);}"]}),SI=u.forwardRef((e,t)=>{const r=((e,t)=>{const{navItem:r,actionButton:o,toggleButton:n,menuButton:a,actionButtonTooltip:i,toggleButtonTooltip:l,menuButtonTooltip:s,children:c}=e,{density:d="medium"}=FP(),{value:f}=RP(),p=f.length>0,h=wr(r,{defaultProps:{children:c},elementType:p?eI:JP}),g=kr(o,{defaultProps:{icon:u.createElement(Gd,null),size:"small",appearance:"transparent"},elementType:pm}),v=kr(n,{defaultProps:{icon:u.createElement(Gd,null),size:"small",appearance:"transparent"},elementType:Em}),m=kr(a,{defaultProps:{icon:u.createElement(id,null),size:"small",appearance:"transparent"},elementType:km}),b=kr(i,{defaultProps:{relationship:"label"},elementType:Jv}),C=kr(l,{defaultProps:{relationship:"label"},elementType:Jv}),y=kr(s,{defaultProps:{relationship:"label"},elementType:Jv});return{components:{root:"div",navItem:p?eI:JP,actionButton:pm,toggleButton:Em,menuButton:km,actionButtonTooltip:Jv,toggleButtonTooltip:Jv,menuButtonTooltip:Jv},root:wr(Wr("div",{ref:t,...e,children:null}),{elementType:"div"}),navItem:h,actionButton:g,toggleButton:v,menuButton:m,actionButtonTooltip:b,toggleButtonTooltip:C,menuButtonTooltip:y,density:d,isSubNav:p}})(e,t);return(e=>{const t=jI(),r=WP();e.root.className=te(wI.root,r,t.baseRoot,e.root.className),e.navItem&&(e.navItem.className=te(wI.navItem,t.baseNavItem,e.navItem.className)),e.actionButton&&(e.actionButton.className=te(wI.actionButton,t.baseSecondary,t.hoverAction,"medium"===e.density&&t.baseMedium,e.actionButton.className)),e.toggleButton&&(e.toggleButton.className=te(wI.toggleButton,t.baseSecondary,t.hoverAction,"medium"===e.density&&t.baseMedium,e.toggleButton.className)),e.menuButton&&(e.menuButton.className=te(wI.menuButton,t.baseSecondary,t.hoverAction,"medium"===e.density&&t.baseMedium,e.menuButton.className))})(r),co("useSplitNavItemStyles_unstable")(r),(e=>vn(e.root,{children:[e.navItem&&gn(e.navItem,{}),xI(e.actionButton,e.actionButtonTooltip),xI(e.menuButton,e.menuButtonTooltip),xI(e.toggleButton,e.toggleButtonTooltip)]}))(r)});SI.displayName="SplitNavItem";const NI=u.createContext({useFluent:!1,disableCopy:!1,toolName:"",size:void 0}),_I=e=>{const t=new URL(window.location.href),r=t.searchParams.has("newUX")||t.hash.includes("newUX"),o=e.useFluent??r,n={useFluent:o,disableCopy:!!e.disableCopy,toolName:e.toolName,size:e.size};return o?E.jsx(fc,{theme:e.customTheme||nc,children:E.jsx(NI.Provider,{value:n,children:e.children})}):E.jsx(NI.Provider,{value:n,children:e.children})};function TI(e,t,r,o){const n=o?.current??!0,a=o?.primary??!0,{targetDocument:i}=ro(),l=n?"window"===e?i?.defaultView:i:null,s=a?"window"===e?window:document:null;for(const e of[l,s])u.useEffect(()=>{if(e&&r)return e.addEventListener(t,r),()=>{e.removeEventListener(t,r)}},[e,t,r])}function qI(e,t){const[r,o]=u.useState(!1);return function(e,t){const r=new Map([["keydown",e.onKeyDown],["keyup",e.onKeyUp]]);for(const e of["keydown","keyup"]){const o=r.get(e);if(o){TI("document",e,e=>{e.repeat||o(e)},t)}}}({onKeyDown:u.useCallback(r=>{r.key===e&&(t?.preventDefault&&r.preventDefault(),o(!0))},[e,t?.preventDefault]),onKeyUp:u.useCallback(r=>{r.key===e&&(t?.preventDefault&&r.preventDefault(),o(!1))},[e,t?.preventDefault])},t),TI("window","blur",u.useCallback(()=>o(!1),[]),t),r}const FI="Babylon/Accordion",DI=(e,r)=>{try{const o=t.DataStorage.ReadString(`${FI}/${e}`,"");return o?JSON.parse(o):r}catch{return r}},EI=(e,r)=>{t.DataStorage.WriteString(`${FI}/${e}`,JSON.stringify(r))},PI=(e,t)=>{switch(t.type){case"SET_SEARCH_TERM":return{...e,searchTerm:t.term};case"SET_EDIT_MODE":return{...e,editMode:t.enabled};case"TOGGLE_PINNED":{const r=e.pinnedIds.includes(t.itemId);return{...e,pinnedIds:r?e.pinnedIds.filter(e=>e!==t.itemId):[...e.pinnedIds,t.itemId]}}case"TOGGLE_HIDDEN":{const r=e.hiddenIds.includes(t.itemId);return{...e,hiddenIds:r?e.hiddenIds.filter(e=>e!==t.itemId):[...e.hiddenIds,t.itemId]}}case"MOVE_PINNED_UP":{const r=e.pinnedIds.indexOf(t.itemId);if(r<=0)return e;const o=[...e.pinnedIds];return[o[r-1],o[r]]=[o[r],o[r-1]],{...e,pinnedIds:o}}case"REMOVE_STALE_IDS":{const r=e.pinnedIds.filter(e=>t.activeIds.has(e)),o=e.hiddenIds.filter(e=>t.activeIds.has(e));return r.length===e.pinnedIds.length&&o.length===e.hiddenIds.length?e:{...e,pinnedIds:r,hiddenIds:o}}case"SHOW_ALL":return{...e,hiddenIds:[]};case"HIDE_ALL_VISIBLE":return{...e,hiddenIds:[...new Set([...e.hiddenIds,...t.visibleItemIds])]};default:return e}},II=u.createContext(void 0),OI=u.createContext(void 0);const AI=u.createContext(!1),RI={px2:ks,px4:Bs,px6:zs,px8:js,px10:Ss,px12:Ns,px14:_s,px16:Ts,px20:qs,px24:Fs,px28:Ds,px32:Es,px36:Ps,px40:Is},MI={valueWidth:"150px",lineHeight:RI.px36,lineHeightSmall:RI.px28,dividerGap:RI.px10,dividerGapSmall:RI.px4,labelMinWidth:"50px",sliderMinWidth:"30px",sliderMaxWidth:"80px",rightAlignOffset:`-${RI.px8}`},HI={width:MI.valueWidth,boxSizing:"border-box"},LI=gr({inputSlot:{textAlign:"right"},invalid:{backgroundColor:ws},container:{display:"flex",flexDirection:"column",justifyContent:"center",minWidth:0},inputFill:{width:"100%",minWidth:0}});function VI(e){e.stopPropagation(),e.preventDefault()}function WI(e){e.stopPropagation(),"Enter"===e.key&&e.preventDefault()}function ZI(e){const t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}const UI=RegExp(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}|[A-Fa-f0-9]{8})$/);function GI(e){return""!=e&&UI.test(e)}const XI=u.forwardRef((e,t)=>{const{content:r,children:o}=e;return r?E.jsx(Jv,{relationship:"description",content:r,children:o}):o});XI.displayName="Tooltip";const $I=gr({smallIcon:{fontSize:RI.px16},mediumIcon:{fontSize:RI.px20}}),KI=u.forwardRef((e,t)=>{const{size:r}=u.useContext(NI),o=$I(),{icon:n,label:a,onClick:i,disabled:l,className:s,title:c,...d}=e,[f,p]=u.useState(!1),h=u.useCallback(async e=>{const t=i?.(e);if(t instanceof Promise){p(!0);try{await t}finally{p(!1)}}},[i]),g="small"===r?o.smallIcon:o.mediumIcon;return E.jsx(XI,{content:c??"",children:E.jsx(pm,{ref:t,iconPosition:"after",...d,className:s,size:r,icon:f?E.jsx(nw,{size:"extra-tiny"}):n&&E.jsx(n,{className:g}),onClick:h,disabled:l||f,children:a&&e.label})})});KI.displayName="Button";const YI=gr({accordion:{display:"flex",flexDirection:"column",height:"100%"},accordionBody:{overflowX:"hidden",overflowY:"auto",paddingBottom:Ws},divider:{paddingTop:MI.dividerGap,paddingBottom:MI.dividerGap},dividerSmall:{paddingTop:MI.dividerGapSmall,paddingBottom:MI.dividerGapSmall},panelDiv:{display:"flex",flexDirection:"column",overflow:"hidden"},highlightDiv:{borderRadius:zs,animationDuration:"1s",animationTimingFunction:"ease-in-out",animationIterationCount:"5",animationFillMode:"forwards",animationName:{from:{boxShadow:`inset 0 0 4px ${vs}`},"50%":{boxShadow:`inset 0 0 12px ${ms}`},to:{boxShadow:`inset 0 0 4px ${vs}`}}},menuBar:{display:"flex",padding:`0 ${Rs}`},menuBarControls:{display:"flex",flexGrow:1,justifyContent:"end"},sectionItemContainer:{display:"flex",flexDirection:"row",alignItems:"center"},sectionItemContent:{flexGrow:1,minWidth:0,overflow:"hidden"},sectionItemButtons:{display:"flex",flexDirection:"row",alignItems:"center",marginRight:As},pinnedContainer:{display:"flex",flexDirection:"column"},pinnedContainerEmpty:{"&:not(:only-child)":{display:"none"}},searchBox:{width:"100%",maxWidth:"none"},sectionBlockEmpty:{display:"none"}}),JI=()=>{JI.displayName="AccordionMenuBar";const e=YI(),t=u.useContext(II);if(!t)return null;const{state:r,dispatch:o,features:n}=t,{editMode:a}=r;return E.jsxs("div",{className:e.menuBar,children:[E.jsx(rO,{}),E.jsxs("div",{className:e.menuBarControls,children:[n.hiding&&a&&E.jsxs(E.Fragment,{children:[E.jsx(KI,{title:"Show all",icon:hd,appearance:"transparent",onClick:()=>o({type:"SHOW_ALL"})}),E.jsx(KI,{title:"Hide all",icon:gd,appearance:"transparent",onClick:()=>{const{registeredItemIds:e,state:r}=t,n=Array.from(e.keys()).filter(e=>!r.hiddenIds.includes(e));o({type:"HIDE_ALL_VISIBLE",visibleItemIds:n})}})]}),(n.pinning||n.hiding)&&E.jsx(KI,{title:"Edit mode",icon:a?jd:md,appearance:a?"primary":"transparent",onClick:()=>o({type:"SET_EDIT_MODE",enabled:!a})})]})]})},QI=e=>{QI.displayName="AccordionSectionBlock";const{children:t,sectionId:r}=e,o=YI(),n=u.useContext(II),{context:a,isEmpty:i}=function(e){const{sectionId:t}=e,r=u.useMemo(()=>({sectionId:t}),[t]),o=function(e){const t=u.useContext(II);if(!t)return!1;const{state:r,features:o,accordionId:n,registeredItemIds:a}=t,{pinnedIds:i,hiddenIds:l,searchTerm:s,editMode:c}=r;if(c)return!1;const d=`${n}/${e}/`;let f=!1;for(const[e,t]of a){if(!e.startsWith(d))continue;f=!0;const r=o.pinning&&i.includes(e),n=o.hiding&&l.includes(e),a=(t||e).toLowerCase(),c=!o.search||!s||a.includes(s.toLowerCase());if(!r&&!n&&c)return!1}return f}(t);return{context:r,isEmpty:o}}(e);return n?E.jsx(OI.Provider,{value:a,children:E.jsx(jc,{value:r,className:i?o.sectionBlockEmpty:void 0,children:t})}):E.jsx(jc,{value:r,children:t})},eO=e=>{eO.displayName="AccordionSectionItem";const{children:r,staticItem:o}=e,n=YI(),a=u.useContext(II),i=function(e){const{uniqueId:r,label:o,staticItem:n}=e,a=u.useContext(II),i=u.useContext(OI),l=u.useContext(AI),s=u.useMemo(()=>a&&i?`${a.accordionId}/${i.sectionId}/${r}`:"",[a?.accordionId,i?.sectionId,r]),c=u.useRef(r);if(u.useEffect(()=>{a&&c.current!==r&&t.Logger.Warn(`Accordion: The uniqueId "${r}" in section "${i?.sectionId}" has changed from "${c.current}". Each item must have a unique, stable ID for pin/hide persistence to work correctly.`),c.current=r},[a,r,i?.sectionId]),u.useEffect(()=>{if(!a||!s||l)return;const{registeredItemIds:e}=a;return e.has(s)&&t.Logger.Warn(`Accordion: Duplicate uniqueId "${r}" detected in section "${i?.sectionId}". Each item must have a unique ID within its section for pin/hide persistence to work correctly.`),e.set(s,o??r),()=>{e.delete(s)}},[a,s,r,o,i?.sectionId,l]),!a||n)return;const{state:d,dispatch:f,features:p}=a,{pinnedIds:h,hiddenIds:g,searchTerm:v,editMode:m}=d,b=p.pinning&&h.includes(s),C=p.hiding&&g.includes(s),y=b?h.indexOf(s):-1,x=b&&y>0,w=(o??r).toLowerCase(),k=!p.search||!v||w.includes(v.toLowerCase());return{itemUniqueId:s,isNested:l,isPinned:b,isHidden:C,isMatch:k,pinnedIndex:y,canMoveUp:x,inEditMode:m,actions:{togglePinned:()=>f({type:"TOGGLE_PINNED",itemId:s}),toggleHidden:()=>f({type:"TOGGLE_HIDDEN",itemId:s}),movePinnedUp:()=>f({type:"MOVE_PINNED_UP",itemId:s})}}}(e),[l,s]=u.useState(!1),c=qI("Control"),[d,f]=u.useState(!1);u.useEffect(()=>{s(c&&d)},[c,d]);const p=u.useContext(NI),h=a?.state.editMode??!1,g=l||h,v=u.useMemo(()=>g?{...p,disableCopy:!1}:p,[p,g]);if(o||!a||!i)return E.jsx(E.Fragment,{children:r});const{pinnedContainerRef:m,features:b}=a,{isNested:C,isPinned:y,isHidden:x,isMatch:w,pinnedIndex:k,canMoveUp:B,inEditMode:z,actions:j}=i;if(C)return E.jsx(E.Fragment,{children:r});if(x&&!z||!w)return null;const S=y?m.current:null,N=z||l,_=E.jsx(NI.Provider,{value:v,children:E.jsxs("div",{className:n.sectionItemContainer,style:y?{order:k}:void 0,onMouseMove:()=>f(!0),onMouseLeave:()=>f(!1),children:[N&&E.jsxs("div",{className:n.sectionItemButtons,children:[b.hiding&&E.jsx(KI,{title:x?"Unhide":"Hide",icon:x?gd:hd,appearance:"transparent",onClick:j.toggleHidden}),b.pinning&&E.jsxs(E.Fragment,{children:[E.jsx(KI,{title:y?"Unpin":"Pin",icon:y?bd:Cd,appearance:"transparent",onClick:j.togglePinned}),y&&E.jsx(KI,{icon:xd,appearance:"transparent",disabled:!B,onClick:j.movePinnedUp})]})]}),E.jsx(AI.Provider,{value:!0,children:E.jsx("div",{className:n.sectionItemContent,children:r})})]})});return S?E.jsx(Dv,{mountNode:S,children:_}):_},tO=()=>{tO.displayName="AccordionPinnedContainer";const e=YI(),t=u.useContext(II);return E.jsx("div",{ref:t?.pinnedContainerRef,className:e.pinnedContainer,children:E.jsx($N,{className:e.pinnedContainerEmpty,children:E.jsx(t_,{children:"No pinned items"})})})},rO=()=>{rO.displayName="AccordionSearchBox";const e=YI(),t=u.useContext(II);if(!t?.features.search)return null;const{state:r,dispatch:o}=t;return E.jsx(XT,{className:e.searchBox,appearance:"underline",contentBefore:E.jsx(Dd,{}),placeholder:"Filter",value:r.searchTerm,onChange:(e,t)=>o({type:"SET_SEARCH_TERM",term:t.value})})},oO=e=>{oO.displayName="AccordionSection";const t=YI();return E.jsx("div",{className:t.panelDiv,children:e.children})},nO=xc,aO=u.forwardRef((e,t)=>{aO.displayName="Accordion";const{children:r,highlightSections:o,uniqueId:n,enablePinnedItems:a,enableHiddenItems:i,enableSearchItems:l,...s}=e,c=YI(),{size:d}=u.useContext(NI),f=function(e){const{uniqueId:t,enablePinnedItems:r,enableHiddenItems:o,enableSearchItems:n}=e,a=u.useMemo(()=>({pinning:r??!1,hiding:o??!1,search:n??!1}),[r,o,n]),i=a.pinning||a.hiding||a.search,l=u.useMemo(()=>t&&i?{pinnedIds:a.pinning?DI(`Pinned/${t}`,[]):[],hiddenIds:a.hiding?DI(`Hidden/${t}`,[]):[],searchTerm:"",editMode:!1}:{pinnedIds:[],hiddenIds:[],searchTerm:"",editMode:!1},[t,i,a.pinning,a.hiding]),[s,c]=u.useReducer(PI,l),d=u.useRef(null),f=u.useRef(new Map);if(u.useEffect(()=>{t&&a.pinning&&EI(`Pinned/${t}`,s.pinnedIds)},[t,a.pinning,s.pinnedIds]),u.useEffect(()=>{t&&a.hiding&&EI(`Hidden/${t}`,s.hiddenIds)},[t,a.hiding,s.hiddenIds]),u.useEffect(()=>{t&&i&&c({type:"REMOVE_STALE_IDS",activeIds:new Set(f.current.keys())})},[t,i]),t&&i)return{accordionId:t,state:s,dispatch:c,features:a,pinnedContainerRef:d,registeredItemIds:f.current}}(e),p=f?.features.pinning??!1,h=u.useMemo(()=>p&&E.jsx(oO,{title:"Pinned",collapseByDefault:!1,children:E.jsx(tO,{})}),[p]),g=u.useMemo(()=>p?{children:(e,t)=>E.jsx(e,{...t,unmountOnExit:!1})}:void 0,[p]),v=u.useMemo(()=>u.Children.map([h,r],e=>{if(u.isValidElement(e)){const t=e.props;if(t.title)return{title:t.title,collapseByDefault:t.collapseByDefault,content:e}}return null})?.filter(Boolean)??[],[r]),[m,b]=u.useState(v.filter(e=>!e.collapseByDefault).map(e=>e.title)),[C,y]=u.useState(v.filter(e=>e.collapseByDefault).map(e=>e.title)),x=u.useRef(m);u.useLayoutEffect(()=>{o?(x.current=[...m],b([...o])):(b([...x.current??[]]),x.current=void 0)},[o]),u.useEffect(()=>{for(const e of v.filter(e=>!e.collapseByDefault).map(e=>e.title))C.includes(e)||m.includes(e)||b(t=>[...t,e])},[v]);const w=u.useCallback((e,t)=>{t.openItems.includes(t.value)?(b(e=>[...e,t.value]),y(e=>e.filter(e=>e!==t.value))):(y(e=>[...e,t.value]),b(e=>e.filter(e=>e!==t.value)))},[]);return E.jsx(nO,{ref:t,className:c.accordion,collapsible:!0,multiple:!0,onToggle:w,openItems:m,...s,children:E.jsxs(II.Provider,{value:f,children:[E.jsx(JI,{}),E.jsx("div",{className:c.accordionBody,children:v.map((e,t)=>{const r=o?.includes(e.title);return E.jsxs(QI,{sectionId:e.title,children:[E.jsxs("div",{className:r?c.highlightDiv:void 0,children:[E.jsx(Ff,{size:d,children:E.jsx(Hw,{children:e.title})}),E.jsx(lp,{collapseMotion:g,children:E.jsx("div",{className:c.panelDiv,children:e.content})})]}),t<v.length-1&&E.jsx(Yb,{inset:!0,className:"small"===d?c.dividerSmall:c.divider})]},e.content.key??e.title)})})]})})}),iO=gr({collapseContent:{overflow:"hidden",display:"flex"},horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}}),lO=e=>{lO.displayName="Collapse";const t=iO();return E.jsx(Of,{visible:e.visible,orientation:e.orientation,unmountOnExit:!0,children:E.jsx("div",{className:`${t.collapseContent} ${"horizontal"===e.orientation?t.horizontal:t.vertical}`,children:e.children})})},sO=u.forwardRef((e,t)=>{const{target:r,url:o,onLink:n,size:a,...i}=e,l="small"===a?Mw:Aw;return E.jsxs(vC,{ref:t,inline:!0,target:"current"===r?"_self":"_blank",rel:"noopener noreferrer",href:o,onClick:n??void 0,...i,children:[e.children,E.jsx(l,{children:e.value})]})});sO.displayName="Link";const cO=gr({button:{display:"flex",alignItems:"center",justifyContent:"center"}}),dO=e=>{dO.displayName="ToggleButton";const{value:t,onChange:r,title:o,appearance:n="subtle"}=e,{size:a}=u.useContext(NI),i=cO(),[l,s]=u.useState(t),c=u.useCallback(()=>{s(e=>{const t=!e;return r(t),t})},[r]);return u.useEffect(()=>{s(e.value)},[e.value]),E.jsx(XI,{content:o??"",children:E.jsx(Em,{className:i.button,size:a,icon:l?E.jsx(e.checkedIcon,{}):e.uncheckedIcon?E.jsx(e.uncheckedIcon,{}):E.jsx(e.checkedIcon,{}),appearance:n,checked:l,onClick:c})})},uO=gr({infoPopup:{whiteSpace:"normal",wordBreak:"break-word"},labelSlot:{display:"flex",minWidth:0},labelText:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},copyable:{cursor:"pointer"}}),fO=e=>{fO.displayName="InfoLabel";const t=uO(),r=qI("Control"),o=e.info?E.jsx("div",{className:t.infoPopup,children:e.info}):void 0,n=r&&e.onContextMenu,a=u.useCallback(t=>{t.ctrlKey&&e.onContextMenu&&e.onContextMenu(t)},[e.onContextMenu]);return o?E.jsx(p_,{htmlFor:e.htmlFor,info:o,className:te(e.className,n?t.copyable:void 0),label:e.flexLabel?{className:t.labelSlot}:void 0,onContextMenu:e.onContextMenu,onClick:a,children:E.jsx(Rw,{className:t.labelText,children:e.label})}):E.jsx("div",{className:te(e.className,n?t.copyable:void 0),onContextMenu:e.onContextMenu,onClick:a,children:E.jsx(Rw,{className:t.labelText,children:e.label})})},pO=u.createContext({showToast:()=>{}}),hO=gr({baseLine:{display:"flex",alignItems:"center",justifyContent:"flex-start",width:"100%"},infoLabel:{display:"flex",flex:"1 1 0",minWidth:MI.labelMinWidth,overflow:"hidden",textAlign:"left"},rightContent:{flex:"0 1 auto",minWidth:0,overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"flex-end"},childWrapper:{minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},infoPopup:{whiteSpace:"normal",wordBreak:"break-word"},copy:{marginRight:MI.rightAlignOffset},expandedContentDiv:{overflow:"hidden",paddingLeft:Rs},checkbox:{display:"flex",alignItems:"center",marginRight:As},checkboxIndicator:{margin:RI.px2,width:RI.px12,height:RI.px12}}),gO=u.forwardRef((e,t)=>{gO.displayName="PropertyLine";const{size:r}=u.useContext(NI),o=hO(),{label:n,uniqueId:a,onCopy:i,expandedContent:l,children:s,nullable:c,ignoreNullable:d}=e,[f,p]=u.useState("expandByDefault"in e&&e.expandByDefault),h=u.useRef(c?e.value:null),{showToast:g}=u.useContext(pO),v=u.useCallback(()=>{i&&(M(i()),g("Copied property to clipboard"))},[i,g]),m=u.useCallback(e=>{e.preventDefault(),v()},[v]),b=e.docLink?E.jsx(sO,{url:e.docLink,value:e.description??"Docs"}):e.description?E.jsx(Aw,{children:e.description}):void 0,C=(c||d)&&u.isValidElement(s)?u.cloneElement(s,{...s.props,disabled:s.props.disabled||c&&null==e.value,value:e.value??e.defaultValue,defaultValue:void 0}):s;return E.jsxs(mO,{ref:t,uniqueId:a??n,label:n,children:[E.jsxs("div",{className:o.baseLine,children:[E.jsx(fO,{className:o.infoLabel,htmlFor:"property",info:b,label:n,flexLabel:!0,onContextMenu:i?m:void 0}),E.jsxs("div",{className:o.rightContent,id:"property",children:[l&&E.jsx(dO,{title:"Expand/Collapse property",appearance:"transparent",checkedIcon:"small"===r?Ou:Au,uncheckedIcon:"small"===r?Ru:Mu,value:!0===f,onChange:p}),c&&!d&&E.jsx(XI,{content:null==e.value?"Enable property":"Disable property (set to null)",children:E.jsx(sb,{className:o.checkbox,indicator:{className:o.checkboxIndicator},checked:!(null==e.value),onChange:(t,r)=>{r.checked?null!=h.current?e.onChange(h.current):e.onChange(e.defaultValue):(h.current=e.value,e.onChange(null))}})}),E.jsx("div",{className:o.childWrapper,children:C}),i&&E.jsx(bO,{onCopy:v})]})]}),l&&E.jsx(lO,{visible:!!f,children:E.jsx("div",{className:o.expandedContentDiv,children:l})})]})}),vO=gr({container:{width:"100%",display:"flex",flexDirection:"column",minHeight:MI.lineHeight,boxSizing:"border-box",justifyContent:"center",paddingTop:Ls,paddingBottom:Ls,borderTop:"1px solid transparent",borderBottom:"1px solid transparent",":hover":{borderTopColor:bs,borderBottomColor:bs}},containerSmall:{minHeight:MI.lineHeightSmall}}),mO=u.forwardRef((e,t)=>{const{size:r}=u.useContext(NI),{children:o,uniqueId:n,label:a,...i}=e,l=vO();return E.jsx(eO,{uniqueId:n,label:a,children:E.jsx("div",{ref:t,className:te(l.container,"small"==r?l.containerSmall:void 0),...i,children:o})})}),bO=({onCopy:e})=>{const{disableCopy:t,size:r}=u.useContext(NI),o=hO();return t?null:E.jsx(XI,{content:"Copy to Clipboard",children:E.jsx(KI,{className:o.copy,appearance:"transparent",icon:"small"===r?Od:sd,onClick:e})})},CO=e=>{CO.displayName="TextPropertyLine";const{value:t,title:r}=e;return E.jsx(gO,{...e,children:E.jsx(Aw,{title:r,children:t??""})})},yO=e=>(yO.displayName="LinkPropertyLine",E.jsx(gO,{...e,children:E.jsx(sO,{...e})})),xO=e=>(xO.displayName="BooleanBadgePropertyLine",E.jsx(gO,{...e,onCopy:void 0,children:E.jsx(Op,{status:e.value?"available":"do-not-disturb",outOfOffice:!0})}));class wO extends u.Component{constructor(e){super(e)}onLink(){this.props.url?window.open(this.props.url,"_blank"):this.props.onLink&&this.props.onLink()}copyFn(){const e=this.props.onCopy,t=this.props.value;return!0===e&&void 0!==t?()=>t:"function"==typeof e?e:void 0}renderContent(e,t){return this.props.ignoreValue?null:e?E.jsx("div",{className:"link-value",title:t,onClick:()=>this.onLink(),children:this.props.url?"doc":this.props.value||"no name"}):E.jsx("div",{className:"value",title:t,style:{color:this.props.color?this.props.color:""},children:this.props.value||"no name"})}renderOriginal(e,t){return E.jsxs("div",{className:(r=["textLine",["underline",this.props.underline],this.props.additionalClass,["icon",this.props.onCopy]],r.reduce((e,t)=>("string"==typeof t?e.push(t):t&&t[1]&&e.push(t[0]),e),[]).join(" ")),children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,className:"icon"}),E.jsx("div",{className:"label",title:this.props.tooltip??this.props.label??"",children:this.props.label??""}),this.renderContent(e,t),this.props.onCopy&&E.jsx("div",{className:"copy hoverIcon",onClick:()=>{const e=this.copyFn();e&&M(e())},title:"Copy to clipboard",children:E.jsx("img",{src:O,alt:"Copy"})})]});var r}renderFluent(e,t){const r={tooltip:t,label:this.props.label||"",onCopy:this.copyFn()};return e?E.jsx(yO,{...r,value:this.props.url?"doc":this.props.value||"no name",url:this.props.url,onLink:this.props.onLink}):"Yes"===this.props.value||"No"===this.props.value?E.jsx(xO,{label:this.props.label||"",value:"Yes"===this.props.value}):E.jsx(CO,{...r,value:this.props.value||""})}render(){const e=this.props.tooltip??this.props.value??this.props.label??"",t=void 0!==this.props.onLink||void 0!==this.props.url;return E.jsx(NI.Consumer,{children:({useFluent:r})=>r?this.renderFluent(t,e):this.renderOriginal(t,e)})}}const kO="—";function BO(e,t,r=(e,t)=>e[t]){return new Proxy({},{get(t,o){const n=o;if(0===e.length)return kO;const a=r(e[0],n);for(const t of e)if(r(t,n)!==a)return kO;return a},set(r,o,n){if("—"===n)return!0;const a=o;for(const r of e){const e=r[a];r[a]=n,t&&t.notifyObservers({object:r,property:o,value:r[a],initialValue:e})}return!0}})}class zO extends u.Component{constructor(){super(...arguments),this._arrowsRef=u.createRef(),this._drag=e=>{this.props.incrementValue(-e.movementY)},this._releaseListener=()=>{this.props.setDragging(!1),this._arrowsRef.current?.ownerDocument.exitPointerLock(),this._arrowsRef.current?.ownerDocument.defaultView.removeEventListener("pointerup",this._releaseListener),this._arrowsRef.current?.ownerDocument.removeEventListener("pointerlockchange",this._lockChangeListener),this._arrowsRef.current?.ownerDocument.defaultView.removeEventListener("mousemove",this._drag)},this._lockChangeListener=()=>{this._arrowsRef.current?.ownerDocument.pointerLockElement!==this._arrowsRef.current&&this._releaseListener()}}render(){return E.jsxs("div",{className:"arrows",ref:this._arrowsRef,onPointerDown:()=>{this._arrowsRef.current?.ownerDocument.addEventListener("pointerlockchange",this._lockChangeListener),this._arrowsRef.current?.ownerDocument.defaultView.addEventListener("pointerup",this._releaseListener),this._arrowsRef.current?.ownerDocument.defaultView.addEventListener("mousemove",this._drag),this.props.setDragging(!0),this._arrowsRef.current?.requestPointerLock()},onDragStart:e=>e.preventDefault(),children:[E.jsx("img",{className:"upArrowIcon",src:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015%2015%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M4.09%2C9.45a.6.6%2C0%2C0%2C1%2C0-.84l3-3a.6.6%2C0%2C0%2C1%2C.84%2C0l3%2C3a.6.6%2C0%2C0%2C1%2C0%2C.84.61.61%2C0%2C0%2C1-.85%2C0l-2-2v5.73a.6.6%2C0%2C0%2C1-1.2%2C0V7.48l-2%2C2A.61.61%2C0%2C0%2C1%2C4.09%2C9.45Z%22%2F%3E%3C%2Fsvg%3E",alt:"Increase Value"}),E.jsx("img",{className:"downArrowIcon",src:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015%2015%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M4.09%2C5.55a.61.61%2C0%2C0%2C1%2C.85%2C0l2%2C2V1.79a.6.6%2C0%2C1%2C1%2C1.2%2C0V7.52l2-2a.61.61%2C0%2C0%2C1%2C.85%2C0%2C.6.6%2C0%2C0%2C1%2C0%2C.84l-3%2C3a.6.6%2C0%2C0%2C1-.84%2C0l-3-3A.6.6%2C0%2C0%2C1%2C4.09%2C5.55Z%22%2F%3E%3C%2Fsvg%3E",alt:"Increase Value"})]})}}const jO=e=>{jO.displayName="TextInput";const t=LI(),[r,o]=u.useState(e.value),n=u.useRef(e.value),{size:a}=u.useContext(NI);u.useEffect(()=>{e.value!==n.current&&(o(e.value),n.current=e.value)},[e.value]);const i=t=>!e.validator||e.validator(t),l=t=>{i(t)&&t!==n.current&&(n.current=t,e.onChange(t))},s=te(t.inputFill,i(r)?"":t.invalid),c=qo("input-button");return E.jsxs("div",{className:te(t.container,e.className),children:[e.infoLabel&&E.jsx(fO,{...e.infoLabel,htmlFor:c}),E.jsx(lC,{...e,input:{className:t.inputSlot},id:c,size:a,value:r,onChange:(t,r)=>{t.stopPropagation(),o(r.value),e.validateOnlyOnBlur||l(r.value)},onKeyUp:t=>{t.stopPropagation(),e.validateOnlyOnBlur||l(t.currentTarget.value)},onKeyDown:t=>{WI(t),"Enter"===t.key&&e.validateOnlyOnBlur&&l(t.currentTarget.value)},onBlur:t=>{VI(t),e.validateOnlyOnBlur&&l(t.currentTarget.value)},className:s})]})};function SO(e){const t=e.trim();try{return Number(Function(`"use strict";return (${t})`)())}catch{return NaN}}const NO=gr({icon:{"&:hover":{color:gs}}}),_O=u.forwardRef((e,r)=>{_O.displayName="SpinButton2";const o=LI(),n=NO(),{size:a}=u.useContext(NI),{min:i,max:l}=e,s=e.step??1,c=u.useRef(null),d=Fo(r,c),f=function(e,t,r){return t?.1*e:r?10*e:e}(s,qI("Alt",{preventDefault:!0}),qI("Shift")),p=Math.max(0,ZI(f)),[h,g]=u.useState(e.value??0),v=u.useRef(e.value),[m,b]=u.useState(!1),C=u.useRef(0),y=u.useRef(0),x=u.useRef(0),[w,k]=u.useState(!1),[B,z]=u.useState(!1),[j,S]=u.useState(""),N=Math.max(0,ZI(h)),_=e.precision??Math.min(4,Math.max(p,N)),T=u.useCallback(t=>{const r=t.toFixed(_);return void 0!==e.precision?r:r.replace(/(\.\d*?)0+$/,"$1").replace(/\.$/,"")},[_,e.precision]);u.useEffect(()=>{m||e.value===v.current||(v.current=e.value,g(e.value??0))},[e.value,m]);const q=u.useCallback(t=>{const r=void 0!==i&&t<i||void 0!==l&&t>l,o=e.validator&&!e.validator(t),n=!!e.forceInt&&!Number.isInteger(t);return!(r||o||isNaN(t)||n)},[i,l,e.validator,e.forceInt]),F=u.useCallback(e=>t.Clamp(e,i??-1/0,l??1/0),[i,l]),D=u.useCallback(t=>{q(t)&&t!==v.current&&(v.current=t,e.onChange(t))},[q,e.onChange]),P=u.useCallback((e,t)=>{S(t.value)},[]),I=u.useCallback(e=>{const t=SO(e);if(!isNaN(t)&&q(t)){const e=F(t);return g(e),D(e),e}},[q,F,D]),O=u.useCallback(e=>{e.preventDefault(),e.stopPropagation();let t=h;if(B){const e=I(j);void 0!==e&&(t=e),z(!1)}c.current?.ownerDocument.activeElement?.blur?.(),b(!0),C.current=e.clientY,y.current=t,e.currentTarget.setPointerCapture(e.pointerId)},[h,B,j,I]);u.useEffect(()=>{m&&(y.current=h,C.current=x.current)},[f]);const A=u.useCallback(e=>{if(!m)return;x.current=e.clientY;const t=(C.current-e.clientY)*f/5,r=y.current+t,o=Math.pow(10,_),n=Math.round(r*o)/o,a=F(n);g(a),D(a)},[m,f,_,F,D]),R=u.useCallback(e=>{b(!1),e.currentTarget.releasePointerCapture(e.pointerId)},[]),M=u.useCallback(e=>{if("Enter"===e.key&&void 0!==I(e.currentTarget.value)&&c.current?.blur(),"ArrowUp"===e.key||"ArrowDown"===e.key){e.preventDefault();const t="ArrowUp"===e.key?1:-1,r=F(Math.round((h+t*f)/f)*f);g(r),D(r),S(T(r))}"Alt"!==e.key&&"Shift"!==e.key&&WI(e)},[h,f,F,D,I,T]),H=qo("spin-button2"),L=!q(B?SO(j):h),V=te(o.inputFill,L?o.invalid:""),W=te(o.inputSlot,e.inputClassName),Z=T(h),U=u.useCallback(()=>{z(!0),S(Z)},[Z]),G=u.useCallback(e=>{m||(I(e.target.value),z(!1),VI(e))},[I,m]),X=e.disableDragButton||e.disabled||!w&&!m||L?void 0:E.jsx(yd,{className:n.icon,style:{cursor:m?"ns-resize":"pointer"},onPointerDown:O,onPointerMove:A,onPointerUp:R}),$=E.jsx("div",{className:e.infoLabel?void 0:e.className,onPointerEnter:e=>"mouse"===e.pointerType&&k(!0),onPointerLeave:()=>{m||k(!1)},children:E.jsx(lC,{ref:d,id:H,appearance:"outline",size:a,className:V,input:{className:W},value:B?j:Z,disabled:e.disabled,onChange:P,onFocus:U,onKeyDown:M,onBlur:G,contentBefore:X,contentAfter:e.unit})});return e.infoLabel?E.jsxs("div",{className:te(o.container,e.className),children:[E.jsx(fO,{...e.infoLabel,htmlFor:H}),$]}):$}),TO=gr({uniformWidth:{...HI}}),qO=e=>{qO.displayName="TextInputPropertyLine";const t=TO();return E.jsx(gO,{...e,children:E.jsx(jO,{...e,className:te(t.uniformWidth,e.className)})})},FO=e=>{FO.displayName="NumberInputPropertyLine";const t=TO();return E.jsx(gO,{...e,children:E.jsx(_O,{...e,className:te(t.uniformWidth,e.className)})})},DO=gr({uniformWidth:{...HI}}),EO=e=>{EO.displayName="SpinButtonPropertyLine";const t=DO();return E.jsx(gO,{...e,children:E.jsx(_O,{...e,className:te(t.uniformWidth,e.className)})})};class PO extends u.Component{constructor(e){super(e),this._localChange=!1;const t=this.props.target[this.props.propertyName];this.state={value:this.getValueString(t,this.props),dragging:!1},this._store=t}componentWillUnmount(){this.unlock()}getValueString(e,t){return e?e===kO?kO:t.isInteger?e.toFixed(0):e.toFixed(t.digits||4):"0"}shouldComponentUpdate(e,t){if(this._localChange)return this._localChange=!1,!0;const r=e.target[e.propertyName],o=this.getValueString(r,e);return o!==t.value?(t.value=o,!0):t.dragging!=this.state.dragging||e.unit!==this.props.unit||e.isInteger!==this.props.isInteger}raiseOnPropertyChanged(e,t){this.props.onChange&&this.props.onChange(e),this.props.onPropertyChangedObservable&&this.props.onPropertyChangedObservable.notifyObservers({object:this.props.target,property:this.props.propertyName,value:e,initialValue:t})}updateValue(e){if(/[^0-9.-]/g.test(e))return;let t;t=this.props.isInteger?parseInt(e):parseFloat(e),isNaN(t)?null!=this.props.defaultValue&&(t=this.props.defaultValue):(void 0!==this.props.min&&t<this.props.min&&(t=this.props.min,e=t.toString()),void 0!==this.props.max&&t>this.props.max&&(t=this.props.max,e=t.toString())),this._localChange=!0,this.setState({value:e}),isNaN(t)||(this.props.target[this.props.propertyName]=t,this.raiseOnPropertyChanged(t,this._store),this._store=t)}lock(){this.props.lockObject&&(this.props.lockObject.lock=!0)}unlock(){this.props.lockObject&&(this.props.lockObject.lock=!1)}incrementValue(e,t=!0){t&&this.props.step&&(e*=parseFloat(this.props.step));let r=parseFloat(this.state.value);isNaN(r)&&(r=0),this.updateValue((r+e).toFixed(2))}onKeyDown(e){this.lock();const t=parseFloat(this.props.step||this.props.isInteger?"1":"0.01"),r=r=>{e.shiftKey&&(r*=10,(e.ctrlKey||e.metaKey)&&(r*=10)),this.incrementValue(r*t,!1),e.preventDefault()};"ArrowUp"===e.key?r(1):"ArrowDown"===e.key&&r(-1),"Enter"===e.key&&this.props.onEnter&&this.props.onEnter(this._store)}onCopyClick(){if(this.props&&this.props.target){const{className:e,babylonNamespace:t}=H(this.props.target);M("globalThis.debugNode."+this.props.propertyName+" = "+this.props.target[this.props.propertyName]+";// (debugNode as "+t+e+")")}else M("undefined")}renderFluent(){const e={label:this.props.label,value:Number(this.state.value),onChange:e=>this.updateValue(e.toString()),min:this.props.min,max:this.props.max,precision:this.props.digits??(this.props.isInteger?0:void 0),disabled:this.props.disabled,step:this.props.step?parseFloat(this.props.step):void 0};return this.props.arrows?E.jsx(EO,{...e}):E.jsx(FO,{...e})}renderOriginal(){let e;e=this.props.isInteger?parseInt(this.state.value):parseFloat(this.state.value);let r=this.props.smallUI?"short":"value";this.state.dragging&&(r+=" dragging"),this.props.arrows&&(r+=" hasArrows");const o=this.state.value===kO?"":this.state.value,n=this.state.value===kO?kO:"";return E.jsxs(E.Fragment,{children:[!this.props.useEuler&&E.jsxs("div",{className:this.props.additionalClass?this.props.additionalClass+" floatLine":"floatLine",children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,className:"icon"}),(!this.props.icon||""!=this.props.label)&&E.jsx("div",{className:"label",title:this.props.label,children:this.props.label}),E.jsxs("div",{className:r,children:[E.jsx("input",{type:"number",step:this.props.step||this.props.isInteger?"1":"0.01",className:"numeric-input",onKeyDown:e=>this.onKeyDown(e),value:o,onBlur:()=>{this.unlock(),this.props.onEnter&&this.props.onEnter(this._store)},placeholder:n,onFocus:()=>this.lock(),onChange:e=>this.updateValue(e.target.value),disabled:this.props.disabled}),this.props.arrows&&E.jsx(zO,{incrementValue:e=>this.incrementValue(e),setDragging:t=>{const r=this.state.dragging;!r&&t&&this.props.onDragStart?this.props.onDragStart(e):r&&!t&&this.props.onDragStop&&this.props.onDragStop(e),this.setState({dragging:t})}})]}),this.props.unit,E.jsx("div",{className:"copy hoverIcon",onClick:()=>this.onCopyClick(),title:"Copy to clipboard",children:E.jsx("img",{src:O,alt:"Copy"})})]}),this.props.useEuler&&E.jsx(HO,{lockObject:this.props.lockObject,label:this.props.label,minimum:0,maximum:360,step:.1,directValue:t.Tools.ToDegrees(e),onChange:e=>this.updateValue(t.Tools.ToRadians(e).toString())})]})}render(){return E.jsx(NI.Consumer,{children:({useFluent:e})=>e?this.renderFluent():this.renderOriginal()})}}const IO=e=>{IO.displayName="Slider";const{size:t}=u.useContext(NI),[r,o]=u.useState(e.value??0),n=u.useRef(void 0),a=u.useRef(!1),i=e.min??0,l=e.max??100,s=e.step??1;return u.useEffect(()=>{!a.current&&o(e.value??0)},[e.value]),E.jsx(Ix,{className:e.className,size:t,min:i/s,max:l/s,step:void 0,value:r/s,disabled:e.disabled,onChange:(t,r)=>{const a=r.value*s;o(a),e.notifyOnlyOnRelease?n.current=a:e.onChange(a)},onPointerDown:()=>{a.current=!0,e.onPointerDown?.()},onPointerUp:()=>{e.notifyOnlyOnRelease&&a.current&&void 0!==n.current&&(e.onChange(n.current),n.current=void 0),a.current=!1,e.onPointerUp?.()}})},OO=gr({container:{display:"flex",minWidth:0},syncedSlider:{flex:"1 1 0",flexDirection:"row",display:"flex",alignItems:"center",minWidth:0},slider:{flex:"1 1 0",minWidth:0},spinButton:{flex:"1 1 0",minWidth:0},spinButtonInput:{minWidth:"0"},compactSlider:{flex:"1 1 auto",minWidth:"50px",maxWidth:"75px"},growSlider:{flex:"1 1 auto",minWidth:"50px"},compactSpinButton:{width:"65px",minWidth:"65px",maxWidth:"65px"},compactSpinButtonInput:{minWidth:"0"}}),AO=e=>{AO.displayName="SyncedSliderInput";const{infoLabel:t,...r}=e,o=OO(),[n,a]=u.useState(e.value??0),i=u.useRef(void 0),l=u.useRef(!1);u.useEffect(()=>{!l.current&&a(e.value??0)},[e.value]);const s=void 0!==e.min&&void 0!==e.max,c=e.compact||e.growSlider;return E.jsxs("div",{className:te(o.container,e.className),children:[t&&E.jsx(fO,{...t,htmlFor:"syncedSlider"}),E.jsxs("div",{id:"syncedSlider",className:o.syncedSlider,children:[s&&E.jsx(IO,{className:e.growSlider?o.growSlider:e.compact?o.compactSlider:o.slider,value:n,onChange:t=>{a(t),e.notifyOnlyOnRelease?i.current=t:e.onChange(t)},min:e.min,max:e.max,step:e.step,disabled:e.disabled,onPointerDown:()=>{l.current=!0},onPointerUp:()=>{e.notifyOnlyOnRelease&&l.current&&void 0!==i.current&&(e.onChange(i.current),i.current=void 0),l.current=!1}}),E.jsx(_O,{...r,className:c?o.compactSpinButton:o.spinButton,inputClassName:c?o.compactSpinButtonInput:o.spinButtonInput,value:n,onChange:t=>{a(t),e.onChange(t)},step:e.step,disabled:e.disabled,disableDragButton:!0})]})]})},RO=gr({uniformWidth:{...HI}}),MO=u.forwardRef((e,t)=>{MO.displayName="SyncedSliderPropertyLine";const r=RO(),{label:o,description:n,...a}=e;return E.jsx(gO,{ref:t,...e,children:E.jsx(AO,{...a,className:te(r.uniformWidth,e.className)})})});class HO extends u.Component{constructor(e){if(super(e),this._localChange=!1,void 0!==this.props.directValue)this.state={value:this.props.directValue};else{let e=this.props.target[this.props.propertyName];void 0===e&&(e=this.props.maximum),this.state={value:e}}}shouldComponentUpdate(e,t){if(void 0!==e.directValue)return t.value=e.directValue,!0;if(e.label!==this.props.label)return!0;let r=e.target[e.propertyName];return void 0===r&&(r=e.maximum),r!==t.value||this._localChange||e.maximum!==this.props.maximum||e.minimum!==this.props.minimum?(t.value=r,this._localChange=!1,!0):e.unit!==this.props.unit}onChange(e){if("—"===e)return;this._localChange=!0;let r=parseFloat(e);this.props.useEuler&&(r=t.Tools.ToRadians(r)),this.props.target&&(this.props.onPropertyChangedObservable&&this.props.onPropertyChangedObservable.notifyObservers({object:this.props.target,property:this.props.propertyName,value:r,initialValue:this.state.value}),this.props.target[this.props.propertyName]=r),this.props.onChange&&this.props.onChange(r),this.setState({value:r})}onInput(e){const t=parseFloat(e);this.props.onInput&&this.props.onInput(t)}prepareDataToRead(e){return null===e&&(e=0),this.props.useEuler?t.Tools.ToDegrees(e):e}onCopyClick(){if(this.props&&this.props.target){const{className:e,babylonNamespace:t}=H(this.props.target);M("globalThis.debugNode."+this.props.propertyName+" = "+this.props.target[this.props.propertyName]+";// (debugNode as "+t+e+")")}else M("undefined")}renderFluent(){return E.jsx(MO,{label:this.props.label,value:this.state.value,onChange:e=>this.onChange(e),step:this.props.step,min:this.props.minimum,max:this.props.maximum})}renderOriginal(){return E.jsxs("div",{className:"sliderLine",children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,className:"icon"}),(!this.props.icon||""!=this.props.label)&&E.jsx("div",{className:this.props.margin?"label withMargins":"label",title:this.props.label,children:this.props.label}),E.jsx(PO,{lockObject:this.props.lockObject,isInteger:0===this.props.decimalCount,smallUI:!0,label:"",target:this.state,digits:void 0===this.props.decimalCount?4:this.props.decimalCount,propertyName:"value",min:this.props.allowOverflow?void 0:this.props.minimum,max:this.props.allowOverflow?void 0:this.props.maximum,onEnter:()=>{const e=this.prepareDataToRead(this.state.value);this.onChange(e)},onChange:()=>{const e=this.prepareDataToRead(this.state.value);this.onChange(e)},onPropertyChangedObservable:this.props.onPropertyChangedObservable,unit:this.props.unit}),E.jsx("div",{className:"slider",children:E.jsx("input",{className:"range"+(this.props.allowOverflow&&(this.state.value>this.props.maximum||this.state.value<this.props.minimum)?" overflow":""),type:"range",step:this.props.step,min:this.prepareDataToRead(this.props.minimum),max:this.prepareDataToRead(this.props.maximum),value:this.prepareDataToRead(this.state.value),onInput:e=>this.onInput(e.target.value),onChange:e=>this.onChange(e.target.value)})}),E.jsx("div",{className:"copy hoverIcon",onClick:()=>this.onCopyClick(),title:"Copy to clipboard",children:E.jsx("img",{src:O,alt:"Copy"})})]})}render(){return E.jsx(NI.Consumer,{children:({useFluent:e})=>e?this.renderFluent():this.renderOriginal()})}}const LO=gr({textarea:{minHeight:"100px",maxHeight:"500px"}}),VO=e=>{VO.displayName="Textarea";const t=LO();return E.jsx(Uw,{...e,textarea:{className:t.textarea},onChange:(t,r)=>{t.stopPropagation(),e.onChange&&e.onChange(t.target.value)},onKeyDown:e=>{e.stopPropagation()}})},WO=e=>(WO.displayName="TextAreaPropertyLine",E.jsx(gO,{...e,children:E.jsx(VO,{...e})}));let ZO=-1;class UO extends u.Component{constructor(e){super(e),this._localChange=!1;const t=this.props.numeric?"0":"";this.state={value:(void 0!==this.props.value?this.props.value:this.props.target[this.props.propertyName])||t,dragging:!1}}componentWillUnmount(){this.props.lockObject&&(this.props.lockObject.lock=!1)}shouldComponentUpdate(e,t){if(this._localChange)return this._localChange=!1,!0;const r=void 0!==e.value?e.value:e.target[e.propertyName];return r!==t.value?(t.value=r||"",!0):t.dragging!=this.state.dragging||e.unit!==this.props.unit}raiseOnPropertyChanged(e,t){this.props.onChange?this.props.onChange(e):this.props.onPropertyChangedObservable&&this.props.onPropertyChangedObservable.notifyObservers({object:this.props.target,property:this.props.propertyName,value:e,initialValue:t})}getCurrentNumericValue(e){const t=parseFloat(e);if(!isNaN(t))return t;if(void 0!==this.props.placeholder){const e=parseFloat(this.props.placeholder);if(!isNaN(e))return e}return 0}updateValue(e,t){if(this.props.disabled)return;if(this.props.numbersOnly){if(/[^0-9.px%-]/g.test(e))return;e||(e="0"),0===e.search(/0+[0-9-]/g)&&(e=e.substring(1))}if(this.props.numeric){let t=this.getCurrentNumericValue(e);this.props.roundValues&&(t=Math.round(t)),void 0!==this.props.min&&(t=Math.max(this.props.min,t)),void 0!==this.props.max&&(t=Math.min(this.props.max,t)),e=t.toString()}this._localChange=!0;const r=void 0!==this.props.value?this.props.value:this.props.target[this.props.propertyName];this.props.validator&&t&&0==this.props.validator(t)&&(e=r),this.setState({value:e}),this.props.propertyName&&!this.props.delayInput&&(this.props.target[this.props.propertyName]=e),this.props.throttlePropertyChangedNotification?(ZO>=0&&window.clearTimeout(ZO),ZO=window.setTimeout(()=>{this.raiseOnPropertyChanged(e,r)},this.props.throttlePropertyChangedNotificationDelay??200)):this.raiseOnPropertyChanged(e,r)}incrementValue(e){if(this.props.step&&(e*=this.props.step),this.props.arrowsIncrement)return void this.props.arrowsIncrement(e);const t=this.getCurrentNumericValue(this.state.value);this.updateValue((t+e).toFixed(2))}onKeyDown(e){!this.props.disabled&&this.props.arrows&&("ArrowUp"===e.key&&(this.incrementValue(1),e.preventDefault()),"ArrowDown"===e.key&&(this.incrementValue(-1),e.preventDefault()))}renderFluent(e,t,r){return this.props.multilines?E.jsx(WO,{label:this.props.label||"",value:this.state.value,onChange:e=>this.updateValue(e),disabled:this.props.disabled}):this.props.numeric?E.jsx(FO,{label:this.props.label||"",value:this.getCurrentNumericValue(e),onChange:e=>this.updateValue(e.toString()),step:r,disabled:this.props.disabled}):E.jsx(qO,{label:this.props.label||"",value:e,onChange:e=>this.updateValue(e.toString()),disabled:this.props.disabled})}renderOriginal(e,t,r){const o=this.props.multilines?"textInputArea":void 0!==this.props.unit?"textInputLine withUnits":"textInputLine";return E.jsxs("div",{className:o,children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,color:"black",className:"icon"}),void 0!==this.props.label&&E.jsx("div",{className:"label",title:this.props.label,children:this.props.label}),this.props.multilines&&E.jsx(E.Fragment,{children:E.jsx("textarea",{className:this.props.disabled?"disabled":"",value:this.state.value,onFocus:()=>{this.props.lockObject&&(this.props.lockObject.lock=!0)},onChange:e=>this.updateValue(e.target.value),onKeyDown:e=>{13===e.keyCode&&this.updateValue(this.state.value)},onBlur:e=>{this.updateValue(e.target.value,e.target.value),this.props.lockObject&&(this.props.lockObject.lock=!1)},disabled:this.props.disabled})}),!this.props.multilines&&E.jsxs("div",{className:`value${!0===this.props.noUnderline?" noUnderline":""}${this.props.arrows?" hasArrows":""}${this.state.dragging?" dragging":""}`,children:[E.jsx("input",{className:this.props.disabled?"disabled":"",value:e,onBlur:e=>{this.props.lockObject&&(this.props.lockObject.lock=!1),this.updateValue((void 0!==this.props.value?this.props.value:this.props.target[this.props.propertyName])||"",e.target.value)},onFocus:()=>{this.props.lockObject&&(this.props.lockObject.lock=!0)},onChange:e=>this.updateValue(e.target.value),onKeyDown:e=>this.onKeyDown(e),placeholder:t,type:this.props.numeric?"number":"text",step:r,disabled:this.props.disabled}),this.props.arrows&&E.jsx(zO,{incrementValue:e=>this.incrementValue(e),setDragging:e=>this.setState({dragging:e})})]}),this.props.unit]})}render(){const e=this.state.value===kO?"":this.state.value,t=this.state.value===kO?kO:this.props.placeholder||"",r=this.props.step||(this.props.roundValues?1:.01);return E.jsx(NI.Consumer,{children:({useFluent:o})=>o?this.renderFluent(e,t,r):this.renderOriginal(e,t,r)})}}class GO extends u.Component{constructor(e){super(e)}render(){let e=this.props.altStyle?`command-button-alt${this.props.disabled?"-disabled":""}${this.props.isActive?"-":""}`:"command-button",t="command-button-icon ";return this.props.isActive&&(e+=" active",t+=" active"),this.props.disabled?e+=" disabled":this.props.copyDeleteDisabled?e+=" copyAndDeleteDisabled":this.props.pasteDisabled&&(e+=" pasteDisabled"),E.jsxs("div",{className:e,onClick:this.props.onClick,title:`${this.props.tooltip} ${this.props.shortcut?" ("+this.props.shortcut+")":""}`,children:[E.jsx("div",{className:t,children:E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,className:this.props.isActive?"active":"",draggable:!1})}),E.jsx("div",{className:"command-label",children:this.props.tooltip})]})}}function XO(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function KO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$O(Object(r),!0).forEach(function(t){XO(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const YO=()=>{};let JO={},QO={},eA=null,tA={mark:YO,measure:YO};try{"undefined"!=typeof window&&(JO=window),"undefined"!=typeof document&&(QO=document),"undefined"!=typeof MutationObserver&&(eA=MutationObserver),"undefined"!=typeof performance&&(tA=performance)}catch(e){}const{userAgent:rA=""}=JO.navigator||{},oA=JO,nA=QO,aA=eA,iA=tA,lA=(oA.document,!!nA.documentElement&&!!nA.head&&"function"==typeof nA.addEventListener&&"function"==typeof nA.createElement),sA=~rA.indexOf("MSIE")||~rA.indexOf("Trident/");var cA={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},dA=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],uA="classic",fA="duotone",pA=[uA,fA,"sharp","sharp-duotone"],hA=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),gA=["fak","fa-kit","fakd","fa-kit-duotone"],vA=["fak","fakd"],mA={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},bA=["fak","fa-kit","fakd","fa-kit-duotone"],CA={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},yA=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],xA=[1,2,3,4,5,6,7,8,9,10],wA=xA.concat([11,12,13,14,15,16,17,18,19,20]),kA=[...Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",mA.GROUP,mA.SWAP_OPACITY,mA.PRIMARY,mA.SECONDARY].concat(xA.map(e=>"".concat(e,"x"))).concat(wA.map(e=>"w-".concat(e)));const BA="___FONT_AWESOME___",zA=16,jA="svg-inline--fa",SA="data-fa-i2svg",NA="data-fa-pseudo-element",_A="data-prefix",TA="data-icon",qA="fontawesome-i2svg",FA=["HTML","HEAD","STYLE","SCRIPT"],DA=(()=>{try{return!0}catch(e){return!1}})();function EA(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[uA]})}const PA=KO({},cA);PA[uA]=KO(KO(KO(KO({},{"fa-duotone":"duotone"}),cA[uA]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});const IA=EA(PA),OA=KO({},{classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}});OA[uA]=KO(KO(KO(KO({},{duotone:"fad"}),OA[uA]),{kit:"fak"}),{"kit-duotone":"fakd"});const AA=EA(OA),RA=KO({},CA);RA[uA]=KO(KO({},RA[uA]),{fak:"fa-kit"});const MA=EA(RA),HA=KO({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}});HA[uA]=KO(KO({},HA[uA]),{"fa-kit":"fak"}),EA(HA);const LA=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,VA="fa-layers-text",WA=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ZA=(EA(KO({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),UA="duotone-group",GA="primary",XA="secondary",$A=["kit",...kA],KA=oA.FontAwesomeConfig||{};nA&&"function"==typeof nA.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(e=>{let[t,r]=e;const o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=nA.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t));null!=o&&(KA[r]=o)});const YA={styleDefault:"solid",familyDefault:uA,cssPrefix:"fa",replacementClass:jA,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};KA.familyPrefix&&(KA.cssPrefix=KA.familyPrefix);const JA=KO(KO({},YA),KA);JA.autoReplaceSvg||(JA.observeMutations=!1);const QA={};Object.keys(YA).forEach(e=>{Object.defineProperty(QA,e,{enumerable:!0,set:function(t){JA[e]=t,eR.forEach(e=>e(QA))},get:function(){return JA[e]}})}),Object.defineProperty(QA,"familyPrefix",{enumerable:!0,set:function(e){JA.cssPrefix=e,eR.forEach(e=>e(QA))},get:function(){return JA.cssPrefix}}),oA.FontAwesomeConfig=QA;const eR=[],tR=zA,rR={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function oR(){let e=12,t="";for(;e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function nR(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function aR(e){return e.classList?nR(e.classList):(e.getAttribute("class")||"").split(" ").filter(e=>e)}function iR(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function lR(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function sR(e){return e.size!==rR.size||e.x!==rR.x||e.y!==rR.y||e.rotate!==rR.rotate||e.flipX||e.flipY}function cR(){const e="fa",t=jA,r=QA.cssPrefix,o=QA.replacementClass;let n=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}';if(r!==e||o!==t){const a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");n=n.replace(a,".".concat(r,"-")).replace(i,"--".concat(r,"-")).replace(l,".".concat(o))}return n}let dR=!1;function uR(){QA.autoAddCss&&!dR&&(function(e){if(!e||!lA)return;const t=nA.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=nA.head.childNodes;let o=null;for(let e=r.length-1;e>-1;e--){const t=r[e],n=(t.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(n)>-1&&(o=t)}nA.head.insertBefore(t,o)}(cR()),dR=!0)}var fR={mixout:()=>({dom:{css:cR,insertCss:uR}}),hooks:()=>({beforeDOMElementCreation(){uR()},beforeI2svg(){uR()}})};const pR=oA||{};pR[BA]||(pR[BA]={}),pR[BA].styles||(pR[BA].styles={}),pR[BA].hooks||(pR[BA].hooks={}),pR[BA].shims||(pR[BA].shims=[]);var hR=pR[BA];const gR=[],vR=function(){nA.removeEventListener("DOMContentLoaded",vR),mR=1,gR.map(e=>e())};let mR=!1;function bR(e){const{tag:t,attributes:r={},children:o=[]}=e;return"string"==typeof e?iR(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(iR(e[r]),'" '),"").trim()}(r),">").concat(o.map(bR).join(""),"</").concat(t,">")}function CR(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}lA&&(mR=(nA.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(nA.readyState),mR||nA.addEventListener("DOMContentLoaded",vR));var yR=function(e,t,r,o){var n,a,i,l=Object.keys(e),s=l.length,c=void 0!==o?function(e,t){return function(r,o,n,a){return e.call(t,r,o,n,a)}}(t,o):t;for(void 0===r?(n=1,i=e[l[0]]):(n=0,i=r);n<s;n++)i=c(i,e[a=l[n]],a,e);return i};function xR(e){const t=function(e){const t=[];let r=0;const o=e.length;for(;r<o;){const n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<o){const o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&n)<<10)+(1023&o)+65536):(t.push(n),r--)}else t.push(n)}return t}(e);return 1===t.length?t[0].toString(16):null}function wR(e){return Object.keys(e).reduce((t,r)=>{const o=e[r];return o.icon?t[o.iconName]=o.icon:t[r]=o,t},{})}function kR(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:o=!1}=r,n=wR(t);"function"!=typeof hR.hooks.addPack||o?hR.styles[e]=KO(KO({},hR.styles[e]||{}),n):hR.hooks.addPack(e,wR(t)),"fas"===e&&kR("fa",t)}const{styles:BR,shims:zR}=hR,jR=Object.keys(MA),SR=jR.reduce((e,t)=>(e[t]=Object.keys(MA[t]),e),{});let NR=null,_R={},TR={},qR={},FR={},DR={};const ER=()=>{const e=e=>yR(BR,(t,r,o)=>(t[o]=yR(r,e,{}),t),{});_R=e((e,t,r)=>(t[3]&&(e[t[3]]=r),t[2]&&t[2].filter(e=>"number"==typeof e).forEach(t=>{e[t.toString(16)]=r}),e)),TR=e((e,t,r)=>(e[r]=r,t[2]&&t[2].filter(e=>"string"==typeof e).forEach(t=>{e[t]=r}),e)),DR=e((e,t,r)=>{const o=t[2];return e[r]=r,o.forEach(t=>{e[t]=r}),e});const t="far"in BR||QA.autoFetchSvg,r=yR(zR,(e,r)=>{const o=r[0];let n=r[1];const a=r[2];return"far"!==n||t||(n="fas"),"string"==typeof o&&(e.names[o]={prefix:n,iconName:a}),"number"==typeof o&&(e.unicodes[o.toString(16)]={prefix:n,iconName:a}),e},{names:{},unicodes:{}});qR=r.names,FR=r.unicodes,NR=MR(QA.styleDefault,{family:QA.familyDefault})};var PR;function IR(e,t){return(_R[e]||{})[t]}function OR(e,t){return(DR[e]||{})[t]}function AR(e){return qR[e]||{prefix:null,iconName:null}}function RR(){return NR}function MR(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:r=uA}=t,o=IA[r][e];if(r===fA&&!e)return"fad";const n=AA[r][e]||AA[r][o],a=e in hR.styles?e:null;return n||a||null}function HR(e){return e.sort().filter((e,t,r)=>r.indexOf(e)===t)}function LR(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:r=!1}=t;let o=null;const n=yA.concat(bA),a=HR(e.filter(e=>n.includes(e))),i=HR(e.filter(e=>!yA.includes(e))),l=a.filter(e=>(o=e,!dA.includes(e))),[s=null]=l,c=function(e){let t=uA;const r=jR.reduce((e,t)=>(e[t]="".concat(QA.cssPrefix,"-").concat(t),e),{});return pA.forEach(o=>{(e.includes(r[o])||e.some(e=>SR[o].includes(e)))&&(t=o)}),t}(a),d=KO(KO({},function(e){let t=[],r=null;return e.forEach(e=>{const o=function(e,t){const r=t.split("-"),o=r[0],n=r.slice(1).join("-");return o!==e||""===n||(a=n,~$A.indexOf(a))?null:n;var a}(QA.cssPrefix,e);o?r=o:e&&t.push(e)}),{iconName:r,rest:t}}(i)),{},{prefix:MR(s,{family:c})});return KO(KO(KO({},d),function(e){const{values:t,family:r,canonical:o,givenPrefix:n="",styles:a={},config:i={}}=e,l=r===fA,s=t.includes("fa-duotone")||t.includes("fad"),c="duotone"===i.familyDefault,d="fad"===o.prefix||"fa-duotone"===o.prefix;if(!l&&(s||c||d)&&(o.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(o.prefix="fab"),!o.prefix&&VR.includes(r)&&(Object.keys(a).find(e=>WR.includes(e))||i.autoFetchSvg)){const e=hA.get(r).defaultShortPrefixId;o.prefix=e,o.iconName=OR(o.prefix,o.iconName)||o.iconName}return"fa"!==o.prefix&&"fa"!==n||(o.prefix=RR()||"fas"),o}({values:e,family:c,styles:BR,config:QA,canonical:d,givenPrefix:o})),function(e,t,r){let{prefix:o,iconName:n}=r;if(e||!o||!n)return{prefix:o,iconName:n};const a="fa"===t?AR(n):{},i=OR(o,n);return n=a.iconName||i||n,o=a.prefix||o,"far"!==o||BR.far||!BR.fas||QA.autoFetchSvg||(o="fas"),{prefix:o,iconName:n}}(r,o,d))}PR=e=>{NR=MR(e.styleDefault,{family:QA.familyDefault})},eR.push(PR),ER();const VR=pA.filter(e=>e!==uA||e!==fA),WR=Object.keys(CA).filter(e=>e!==uA).map(e=>Object.keys(CA[e])).flat();let ZR=[],UR={};const GR={},XR=Object.keys(GR);function $R(e,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n<r;n++)o[n-2]=arguments[n];return(UR[e]||[]).forEach(e=>{t=e.apply(null,[t,...o])}),t}function KR(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];(UR[e]||[]).forEach(e=>{e.apply(null,r)})}function YR(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return GR[e]?GR[e].apply(null,t):void 0}function JR(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||RR();if(t)return t=OR(r,t)||t,CR(QR.definitions,r,t)||CR(hR.styles,r,t)}const QR=new class{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const o=t.reduce(this._pullDefinitions,{});Object.keys(o).forEach(e=>{this.definitions[e]=KO(KO({},this.definitions[e]||{}),o[e]),kR(e,o[e]);const t=MA[uA][e];t&&kR(t,o[e]),ER()})}reset(){this.definitions={}}_pullDefinitions(e,t){const r=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(r).map(t=>{const{prefix:o,iconName:n,icon:a}=r[t],i=a[2];e[o]||(e[o]={}),i.length>0&&i.forEach(t=>{"string"==typeof t&&(e[o][t]=a)}),e[o][n]=a}),e}},eM={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return lA?(KR("beforeI2svg",e),YR("pseudoElements2svg",e),YR("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;var r;!1===QA.autoReplaceSvg&&(QA.autoReplaceSvg=!0),QA.observeMutations=!0,r=()=>{oM({autoReplaceSvgRoot:t}),KR("watch",e)},lA&&(mR?setTimeout(r,0):gR.push(r))}},tM={icon:e=>{if(null===e)return null;if("object"==typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:OR(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],r=MR(e[0]);return{prefix:r,iconName:OR(r,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(QA.cssPrefix,"-"))>-1||e.match(LA))){const t=LR(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||RR(),iconName:OR(t.prefix,t.iconName)||t.iconName}}if("string"==typeof e){const t=RR();return{prefix:t,iconName:OR(t,e)||e}}}},rM={noAuto:()=>{QA.autoReplaceSvg=!1,QA.observeMutations=!1,KR("noAuto")},config:QA,dom:eM,parse:tM,library:QR,findIconDefinition:JR,toHtml:bR},oM=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=nA}=e;(Object.keys(hR.styles).length>0||QA.autoFetchSvg)&&lA&&QA.autoReplaceSvg&&rM.dom.i2svg({node:t})};function nM(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(e=>bR(e))}}),Object.defineProperty(e,"node",{get:function(){if(!lA)return;const t=nA.createElement("div");return t.innerHTML=e.html,t.children}}),e}function aM(e){const{icons:{main:t,mask:r},prefix:o,iconName:n,transform:a,symbol:i,title:l,maskId:s,titleId:c,extra:d,watchable:u=!1}=e,{width:f,height:p}=r.found?r:t,h=vA.includes(o),g=[QA.replacementClass,n?"".concat(QA.cssPrefix,"-").concat(n):""].filter(e=>-1===d.classes.indexOf(e)).filter(e=>""!==e||!!e).concat(d.classes).join(" ");let v={children:[],attributes:KO(KO({},d.attributes),{},{"data-prefix":o,"data-icon":n,class:g,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f," ").concat(p)})};const m=h&&!~d.classes.indexOf("fa-fw")?{width:"".concat(f/p*16*.0625,"em")}:{};u&&(v.attributes[SA]=""),l&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(c||oR())},children:[l]}),delete v.attributes.title);const b=KO(KO({},v),{},{prefix:o,iconName:n,main:t,mask:r,maskId:s,transform:a,symbol:i,styles:KO(KO({},m),d.styles)}),{children:C,attributes:y}=r.found&&t.found?YR("generateAbstractMask",b)||{children:[],attributes:{}}:YR("generateAbstractIcon",b)||{children:[],attributes:{}};return b.children=C,b.attributes=y,i?function(e){let{prefix:t,iconName:r,children:o,attributes:n,symbol:a}=e;const i=!0===a?"".concat(t,"-").concat(QA.cssPrefix,"-").concat(r):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:KO(KO({},n),{},{id:i}),children:o}]}]}(b):function(e){let{children:t,main:r,mask:o,attributes:n,styles:a,transform:i}=e;if(sR(i)&&r.found&&!o.found){const{width:e,height:t}=r,o={x:e/t/2,y:.5};n.style=lR(KO(KO({},a),{},{"transform-origin":"".concat(o.x+i.x/16,"em ").concat(o.y+i.y/16,"em")}))}return[{tag:"svg",attributes:n,children:t}]}(b)}function iM(e){const{content:t,width:r,height:o,transform:n,title:a,extra:i,watchable:l=!1}=e,s=KO(KO(KO({},i.attributes),a?{title:a}:{}),{},{class:i.classes.join(" ")});l&&(s[SA]="");const c=KO({},i.styles);sR(n)&&(c.transform=function(e){let{transform:t,width:r=zA,height:o=zA,startCentered:n=!1}=e,a="";return a+=n&&sA?"translate(".concat(t.x/tR-r/2,"em, ").concat(t.y/tR-o/2,"em) "):n?"translate(calc(-50% + ".concat(t.x/tR,"em), calc(-50% + ").concat(t.y/tR,"em)) "):"translate(".concat(t.x/tR,"em, ").concat(t.y/tR,"em) "),a+="scale(".concat(t.size/tR*(t.flipX?-1:1),", ").concat(t.size/tR*(t.flipY?-1:1),") "),a+="rotate(".concat(t.rotate,"deg) "),a}({transform:n,startCentered:!0,width:r,height:o}),c["-webkit-transform"]=c.transform);const d=lR(c);d.length>0&&(s.style=d);const u=[];return u.push({tag:"span",attributes:s,children:[t]}),a&&u.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),u}const{styles:lM}=hR;function sM(e){const t=e[0],r=e[1],[o]=e.slice(4);let n=null;return n=Array.isArray(o)?{tag:"g",attributes:{class:"".concat(QA.cssPrefix,"-").concat(UA)},children:[{tag:"path",attributes:{class:"".concat(QA.cssPrefix,"-").concat(XA),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(QA.cssPrefix,"-").concat(GA),fill:"currentColor",d:o[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:r,icon:n}}const cM={found:!1,width:512,height:512};function dM(e,t){let r=t;return"fa"===t&&null!==QA.styleDefault&&(t=RR()),new Promise((o,n)=>{if("fa"===r){const r=AR(e)||{};e=r.iconName||e,t=r.prefix||t}if(e&&t&&lM[t]&&lM[t][e])return o(sM(lM[t][e]));!function(e,t){DA||QA.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),o(KO(KO({},cM),{},{icon:QA.showMissingIcons&&e&&YR("missingIconAbstract")||{}}))})}const uM=()=>{},fM=QA.measurePerformance&&iA&&iA.mark&&iA.measure?iA:{mark:uM,measure:uM},pM='FA "6.7.2"';var hM=e=>(fM.mark("".concat(pM," ").concat(e," begins")),()=>(e=>{fM.mark("".concat(pM," ").concat(e," ends")),fM.measure("".concat(pM," ").concat(e),"".concat(pM," ").concat(e," begins"),"".concat(pM," ").concat(e," ends"))})(e));const gM=()=>{};function vM(e){return"string"==typeof(e.getAttribute?e.getAttribute(SA):null)}function mM(e){return nA.createElementNS("http://www.w3.org/2000/svg",e)}function bM(e){return nA.createElement(e)}function CM(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:r=("svg"===e.tag?mM:bM)}=t;if("string"==typeof e)return nA.createTextNode(e);const o=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){o.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){o.appendChild(CM(e,{ceFn:r}))}),o}const yM={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(e=>{t.parentNode.insertBefore(CM(e),t)}),null===t.getAttribute(SA)&&QA.keepOriginalSource){let e=nA.createComment(function(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~aR(t).indexOf(QA.replacementClass))return yM.replace(e);const o=new RegExp("".concat(QA.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const e=r[0].attributes.class.split(" ").reduce((e,t)=>(t===QA.replacementClass||t.match(o)?e.toSvg.push(t):e.toNode.push(t),e),{toNode:[],toSvg:[]});r[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const n=r.map(e=>bR(e)).join("\n");t.setAttribute(SA,""),t.innerHTML=n}};function xM(e){e()}function wM(e,t){const r="function"==typeof t?t:gM;if(0===e.length)r();else{let t=xM;"async"===QA.mutateApproach&&(t=oA.requestAnimationFrame||xM),t(()=>{const t=!0===QA.autoReplaceSvg?yM.replace:yM[QA.autoReplaceSvg]||yM.replace,o=hM("mutate");e.map(t),o(),r()})}}let kM=!1;function BM(){kM=!0}function zM(){kM=!1}let jM=null;function SM(e){if(!aA)return;if(!QA.observeMutations)return;const{treeCallback:t=gM,nodeCallback:r=gM,pseudoElementsCallback:o=gM,observeMutationsRoot:n=nA}=e;jM=new aA(e=>{if(kM)return;const n=RR();nR(e).forEach(e=>{if("childList"===e.type&&e.addedNodes.length>0&&!vM(e.addedNodes[0])&&(QA.searchPseudoElements&&o(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&QA.searchPseudoElements&&o(e.target.parentNode),"attributes"===e.type&&vM(e.target)&&~ZA.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){const t=e.getAttribute?e.getAttribute(_A):null,r=e.getAttribute?e.getAttribute(TA):null;return t&&r}(e.target)){const{prefix:t,iconName:r}=LR(aR(e.target));e.target.setAttribute(_A,t||n),r&&e.target.setAttribute(TA,r)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(QA.replacementClass)})(e.target)&&r(e.target)})}),lA&&jM.observe(n,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function NM(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:r,prefix:o,rest:n}=function(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"";let n=LR(aR(e));return n.prefix||(n.prefix=RR()),t&&r&&(n.prefix=t,n.iconName=r),n.iconName&&n.prefix||(n.prefix&&o.length>0&&(n.iconName=(a=n.prefix,i=e.innerText,(TR[a]||{})[i]||IR(n.prefix,xR(e.innerText)))),!n.iconName&&QA.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(n.iconName=e.firstChild.data)),n;var a,i}(e),a=function(e){const t=nR(e.attributes).reduce((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e),{}),r=e.getAttribute("title"),o=e.getAttribute("data-fa-title-id");return QA.autoA11y&&(r?t["aria-labelledby"]="".concat(QA.replacementClass,"-title-").concat(o||oR()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),i=$R("parseNodeAttributes",{},e);let l=t.styleParser?function(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce((e,t)=>{const r=t.split(":"),o=r[0],n=r.slice(1);return o&&n.length>0&&(e[o]=n.join(":").trim()),e},{})),r}(e):[];return KO({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:rR,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:n,styles:l,attributes:a}},i)}const{styles:_M}=hR;function TM(e){const t="nest"===QA.autoReplaceSvg?NM(e,{styleParser:!1}):NM(e);return~t.extra.classes.indexOf(VA)?YR("generateLayersText",e,t):YR("generateSvgReplacementMutation",e,t)}function qM(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!lA)return Promise.resolve();const r=nA.documentElement.classList,o=e=>r.add("".concat(qA,"-").concat(e)),n=e=>r.remove("".concat(qA,"-").concat(e)),a=QA.autoFetchSvg?[...gA,...yA]:dA.concat(Object.keys(_M));a.includes("fa")||a.push("fa");const i=[".".concat(VA,":not([").concat(SA,"])")].concat(a.map(e=>".".concat(e,":not([").concat(SA,"])"))).join(", ");if(0===i.length)return Promise.resolve();let l=[];try{l=nR(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();o("pending"),n("complete");const s=hM("onTree"),c=l.reduce((e,t)=>{try{const r=TM(t);r&&e.push(r)}catch(e){DA||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise((e,r)=>{Promise.all(c).then(r=>{wM(r,()=>{o("active"),o("complete"),n("pending"),"function"==typeof t&&t(),s(),e()})}).catch(e=>{s(),r(e)})})}function FM(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;TM(e).then(e=>{e&&wM([e],t)})}function DM(e){return function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=(t||{}).icon?t:JR(t||{});let{mask:n}=r;return n&&(n=(n||{}).icon?n:JR(n||{})),e(o,KO(KO({},r),{},{mask:n}))}}const EM=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:r=rR,symbol:o=!1,mask:n=null,maskId:a=null,title:i=null,titleId:l=null,classes:s=[],attributes:c={},styles:d={}}=t;if(!e)return;const{prefix:u,iconName:f,icon:p}=e;return nM(KO({type:"icon"},e),()=>(KR("beforeDOMElementCreation",{iconDefinition:e,params:t}),QA.autoA11y&&(i?c["aria-labelledby"]="".concat(QA.replacementClass,"-title-").concat(l||oR()):(c["aria-hidden"]="true",c.focusable="false")),aM({icons:{main:sM(p),mask:n?sM(n.icon):{found:!1,width:null,height:null,icon:{}}},prefix:u,iconName:f,transform:KO(KO({},rR),r),symbol:o,title:i,maskId:a,titleId:l,extra:{attributes:c,styles:d,classes:s}})))};var PM={mixout:()=>({icon:DM(EM)}),hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=qM,e.nodeCallback=FM,e)}),provides(e){e.i2svg=function(e){const{node:t=nA,callback:r=()=>{}}=e;return qM(t,r)},e.generateSvgReplacementMutation=function(e,t){const{iconName:r,title:o,titleId:n,prefix:a,transform:i,symbol:l,mask:s,maskId:c,extra:d}=t;return new Promise((t,u)=>{Promise.all([dM(r,a),s.iconName?dM(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(s=>{let[u,f]=s;t([e,aM({icons:{main:u,mask:f},prefix:a,iconName:r,transform:i,symbol:l,maskId:c,title:o,titleId:n,extra:d,watchable:!0})])}).catch(u)})},e.generateAbstractIcon=function(e){let{children:t,attributes:r,main:o,transform:n,styles:a}=e;const i=lR(a);let l;return i.length>0&&(r.style=i),sR(n)&&(l=YR("generateAbstractTransformGrouping",{main:o,transform:n,containerWidth:o.width,iconWidth:o.width})),t.push(l||o.icon),{children:t,attributes:r}}}},IM={mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:r=[]}=t;return nM({type:"layer"},()=>{KR("beforeDOMElementCreation",{assembler:e,params:t});let o=[];return e(e=>{Array.isArray(e)?e.map(e=>{o=o.concat(e.abstract)}):o=o.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(QA.cssPrefix,"-layers"),...r].join(" ")},children:o}]})}})},OM={mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:r=null,classes:o=[],attributes:n={},styles:a={}}=t;return nM({type:"counter",content:e},()=>(KR("beforeDOMElementCreation",{content:e,params:t}),function(e){const{content:t,title:r,extra:o}=e,n=KO(KO(KO({},o.attributes),r?{title:r}:{}),{},{class:o.classes.join(" ")}),a=lR(o.styles);a.length>0&&(n.style=a);const i=[];return i.push({tag:"span",attributes:n,children:[t]}),r&&i.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),i}({content:e.toString(),title:r,extra:{attributes:n,styles:a,classes:["".concat(QA.cssPrefix,"-layers-counter"),...o]}})))}})},AM={mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:r=rR,title:o=null,classes:n=[],attributes:a={},styles:i={}}=t;return nM({type:"text",content:e},()=>(KR("beforeDOMElementCreation",{content:e,params:t}),iM({content:e,transform:KO(KO({},rR),r),title:o,extra:{attributes:a,styles:i,classes:["".concat(QA.cssPrefix,"-layers-text"),...n]}})))}}),provides(e){e.generateLayersText=function(e,t){const{title:r,transform:o,extra:n}=t;let a=null,i=null;if(sA){const t=parseInt(getComputedStyle(e).fontSize,10),r=e.getBoundingClientRect();a=r.width/t,i=r.height/t}return QA.autoA11y&&!r&&(n.attributes["aria-hidden"]="true"),Promise.resolve([e,iM({content:e.innerHTML,width:a,height:i,transform:o,title:r,extra:n,watchable:!0})])}}};const RM=new RegExp('"',"ug"),MM=[1105920,1112319],HM=KO(KO(KO(KO({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),LM=Object.keys(HM).reduce((e,t)=>(e[t.toLowerCase()]=HM[t],e),{}),VM=Object.keys(LM).reduce((e,t)=>{const r=LM[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function WM(e,t){const r="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((o,n)=>{if(null!==e.getAttribute(r))return o();const a=nR(e.children).filter(e=>e.getAttribute(NA)===t)[0],i=oA.getComputedStyle(e,t),l=i.getPropertyValue("font-family"),s=l.match(WA),c=i.getPropertyValue("font-weight"),d=i.getPropertyValue("content");if(a&&!s)return e.removeChild(a),o();if(s&&"none"!==d&&""!==d){const d=i.getPropertyValue("content");let u=function(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(t),n=isNaN(o)?"normal":o;return(LM[r]||{})[n]||VM[r]}(l,c);const{value:f,isSecondary:p}=function(e){const t=e.replace(RM,""),r=function(e){const t=e.length;let r,o=e.charCodeAt(0);return o>=55296&&o<=56319&&t>1&&(r=e.charCodeAt(1),r>=56320&&r<=57343)?1024*(o-55296)+r-56320+65536:o}(t),o=r>=MM[0]&&r<=MM[1],n=2===t.length&&t[0]===t[1];return{value:xR(n?t[0]:t),isSecondary:o||n}}(d),h=s[0].startsWith("FontAwesome");let g=IR(u,f),v=g;if(h){const e=function(e){const t=FR[e],r=IR("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}(f);e.iconName&&e.prefix&&(g=e.iconName,u=e.prefix)}if(!g||p||a&&a.getAttribute(_A)===u&&a.getAttribute(TA)===v)o();else{e.setAttribute(r,v),a&&e.removeChild(a);const i={iconName:null,title:null,titleId:null,prefix:null,transform:rR,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:l}=i;l.attributes[NA]=t,dM(g,u).then(n=>{const a=aM(KO(KO({},i),{},{icons:{main:n,mask:{prefix:null,iconName:null,rest:[]}},prefix:u,iconName:v,extra:l,watchable:!0})),s=nA.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=a.map(e=>bR(e)).join("\n"),e.removeAttribute(r),o()}).catch(n)}}else o()})}function ZM(e){return Promise.all([WM(e,"::before"),WM(e,"::after")])}function UM(e){return!(e.parentNode===document.head||~FA.indexOf(e.tagName.toUpperCase())||e.getAttribute(NA)||e.parentNode&&"svg"===e.parentNode.tagName)}function GM(e){if(lA)return new Promise((t,r)=>{const o=nR(e.querySelectorAll("*")).filter(UM).map(ZM),n=hM("searchPseudoElements");BM(),Promise.all(o).then(()=>{n(),zM(),t()}).catch(()=>{n(),zM(),r()})})}var XM={hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=GM,e)}),provides(e){e.pseudoElements2svg=function(e){const{node:t=nA}=e;QA.searchPseudoElements&&GM(t)}}};let $M=!1;var KM={mixout:()=>({dom:{unwatch(){BM(),$M=!0}}}),hooks:()=>({bootstrap(){SM($R("mutationObserverCallbacks",{}))},noAuto(){jM&&jM.disconnect()},watch(e){const{observeMutationsRoot:t}=e;$M?zM():SM($R("mutationObserverCallbacks",{observeMutationsRoot:t}))}})};const YM=e=>e.toLowerCase().split(" ").reduce((e,t)=>{const r=t.toLowerCase().split("-"),o=r[0];let n=r.slice(1).join("-");if(o&&"h"===n)return e.flipX=!0,e;if(o&&"v"===n)return e.flipY=!0,e;if(n=parseFloat(n),isNaN(n))return e;switch(o){case"grow":e.size=e.size+n;break;case"shrink":e.size=e.size-n;break;case"left":e.x=e.x-n;break;case"right":e.x=e.x+n;break;case"up":e.y=e.y-n;break;case"down":e.y=e.y+n;break;case"rotate":e.rotate=e.rotate+n}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0});var JM={mixout:()=>({parse:{transform:e=>YM(e)}}),hooks:()=>({parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=YM(r)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:r,containerWidth:o,iconWidth:n}=e;const a={transform:"translate(".concat(o/2," 256)")},i="translate(".concat(32*r.x,", ").concat(32*r.y,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),s="rotate(".concat(r.rotate," 0 0)"),c={outer:a,inner:{transform:"".concat(i," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(n/2*-1," -256)")}};return{tag:"g",attributes:KO({},c.outer),children:[{tag:"g",attributes:KO({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:KO(KO({},t.icon.attributes),c.path)}]}]}}}};const QM={x:0,y:0,width:"100%",height:"100%"};function eH(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var tH={hooks:()=>({parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),o=r?LR(r.split(" ").map(e=>e.trim())):{prefix:null,iconName:null,rest:[]};return o.prefix||(o.prefix=RR()),e.mask=o,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:r,main:o,mask:n,maskId:a,transform:i}=e;const{width:l,icon:s}=o,{width:c,icon:d}=n,u=function(e){let{transform:t,containerWidth:r,iconWidth:o}=e;const n={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:n,inner:{transform:"".concat(a," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(o/2*-1," -256)")}}}({transform:i,containerWidth:c,iconWidth:l}),f={tag:"rect",attributes:KO(KO({},QM),{},{fill:"white"})},p=s.children?{children:s.children.map(eH)}:{},h={tag:"g",attributes:KO({},u.inner),children:[eH(KO({tag:s.tag,attributes:KO(KO({},s.attributes),u.path)},p))]},g={tag:"g",attributes:KO({},u.outer),children:[h]},v="mask-".concat(a||oR()),m="clip-".concat(a||oR()),b={tag:"mask",attributes:KO(KO({},QM),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,g]},C={tag:"defs",children:[{tag:"clipPath",attributes:{id:m},children:(y=d,"g"===y.tag?y.children:[y])},b]};var y;return t.push(C,{tag:"rect",attributes:KO({fill:"currentColor","clip-path":"url(#".concat(m,")"),mask:"url(#".concat(v,")")},QM)}),{children:t,attributes:r}}}},rH={provides(e){let t=!1;oA.matchMedia&&(t=oA.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],r={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:KO(KO({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const n=KO(KO({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:KO(KO({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:KO(KO({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:KO(KO({},n),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:KO(KO({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:KO(KO({},n),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:KO(KO({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:KO(KO({},n),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){let{mixoutsTo:r}=t;ZR=e,UR={},Object.keys(GR).forEach(e=>{-1===XR.indexOf(e)&&delete GR[e]}),ZR.forEach(e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(e=>{"function"==typeof t[e]&&(r[e]=t[e]),"object"==typeof t[e]&&Object.keys(t[e]).forEach(o=>{r[e]||(r[e]={}),r[e][o]=t[e][o]})}),e.hooks){const t=e.hooks();Object.keys(t).forEach(e=>{UR[e]||(UR[e]=[]),UR[e].push(t[e])})}e.provides&&e.provides(GR)})}([fR,PM,IM,OM,AM,XM,KM,JM,tH,rH,{hooks:()=>({parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),o=null!==r&&(""===r||r);return e.symbol=o,e}})}],{mixoutsTo:rM});const oH=rM.parse,nH=rM.icon;var aH,iH,lH,sH,cH={exports:{}};cH.exports,cH.exports=function(){if(sH)return lH;sH=1;var e=iH?aH:(iH=1,aH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function r(){}return r.resetWarningCache=t,lH=function(){function o(t,r,o,n,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function n(){return o}o.isRequired=o;var a={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:n,element:o,elementType:o,instanceOf:n,node:o,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a}}()();var dH,uH=n(cH.exports);function fH(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function pH(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hH(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function gH(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hH(Object(r),!0).forEach(function(t){pH(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hH(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function vH(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(o=a.call(r)).done)&&(l.push(o.value),l.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw n}}return l}}(e,t)||CH(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mH(e){return function(e){if(Array.isArray(e))return fH(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||CH(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bH(e){return bH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bH(e)}function CH(e,t){if(e){if("string"==typeof e)return fH(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fH(e,t):void 0}}try{var yH=require("@fortawesome/fontawesome-svg-core/package.json");dH=yH.version}catch(e){dH="undefined"!=typeof process&&process.env.FA_VERSION||"7.0.0"}function xH(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1);var t}var wH=["style"],kH=!1;try{kH=!0}catch(e){}function BH(e){return e&&"object"===bH(e)&&e.prefix&&e.iconName&&e.icon?e:oH.icon?oH.icon(e):null===e?null:e&&"object"===bH(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function zH(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?pH({},e,t):{}}var jH={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,rotateBy:!1,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1,widthAuto:!1},SH=f.forwardRef(function(e,t){var r=gH(gH({},jH),e),o=r.icon,n=r.mask,a=r.symbol,i=r.className,l=r.title,s=r.titleId,c=r.maskId,d=BH(o),u=zH("classes",[].concat(mH(function(e){var t=e.beat,r=e.fade,o=e.beatFade,n=e.bounce,a=e.shake,i=e.flash,l=e.spin,s=e.spinPulse,c=e.spinReverse,d=e.pulse,u=e.fixedWidth,f=e.inverse,p=e.border,h=e.listItem,g=e.flip,v=e.size,m=e.rotation,b=e.pull,C=e.swapOpacity,y=e.rotateBy,x=e.widthAuto,w=function(e){for(var t=vH(e.split("-"),2),r=t[0],o=t[1],n=vH("7.0.0".split("-"),2),a=n[0],i=n[1],l=r.split("."),s=a.split("."),c=0;c<Math.max(l.length,s.length);c++){var d=l[c]||"0",u=s[c]||"0",f=parseInt(d,10),p=parseInt(u,10);if(f!==p)return f>p}for(var h=0;h<Math.max(l.length,s.length);h++){var g=l[h]||"0",v=s[h]||"0";if(g!==v&&g.length!==v.length)return g.length<v.length}return!(o&&!i)}(dH),k=pH(pH(pH(pH(pH(pH({"fa-beat":t,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":n,"fa-shake":a,"fa-flash":i,"fa-spin":l,"fa-spin-reverse":c,"fa-spin-pulse":s,"fa-pulse":d,"fa-fw":u,"fa-inverse":f,"fa-border":p,"fa-li":h,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(v),null!=v),"fa-rotate-".concat(m),null!=m&&0!==m),"fa-pull-".concat(b),null!=b),"fa-swap-opacity",C),"fa-rotate-by",w&&y),"fa-width-auto",w&&x);return Object.keys(k).map(function(e){return k[e]?e:null}).filter(function(e){return e})}(r)),mH((i||"").split(" ")))),f=zH("transform","string"==typeof r.transform?oH.transform(r.transform):r.transform),p=zH("mask",BH(n)),h=nH(d,gH(gH(gH(gH({},u),f),p),{},{symbol:a,title:l,titleId:s,maskId:c}));if(!h)return function(){var e;!kH&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",d),null;var g=h.abstract,v={ref:t};return Object.keys(r).forEach(function(e){jH.hasOwnProperty(e)||(v[e]=r[e])}),NH(g[0],v)});SH.displayName="FontAwesomeIcon",SH.propTypes={beat:uH.bool,border:uH.bool,beatFade:uH.bool,bounce:uH.bool,className:uH.string,fade:uH.bool,flash:uH.bool,mask:uH.oneOfType([uH.object,uH.array,uH.string]),maskId:uH.string,fixedWidth:uH.bool,inverse:uH.bool,flip:uH.oneOf([!0,!1,"horizontal","vertical","both"]),icon:uH.oneOfType([uH.object,uH.array,uH.string]),listItem:uH.bool,pull:uH.oneOf(["right","left"]),pulse:uH.bool,rotation:uH.oneOf([0,90,180,270]),rotateBy:uH.bool,shake:uH.bool,size:uH.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:uH.bool,spinPulse:uH.bool,spinReverse:uH.bool,symbol:uH.oneOfType([uH.bool,uH.string]),title:uH.string,titleId:uH.string,transform:uH.oneOfType([uH.string,uH.object]),swapOpacity:uH.bool,widthAuto:uH.bool};var NH=function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof r)return r;var n=(r.children||[]).map(function(r){return e(t,r)}),a=Object.keys(r.attributes||{}).reduce(function(e,t){var o=r.attributes[t];switch(t){case"class":e.attrs.className=o,delete r.attributes.class;break;case"style":e.attrs.style=o.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var r,o=t.indexOf(":"),n=xH(t.slice(0,o)),a=t.slice(o+1).trim();return n.startsWith("webkit")?e[r=n,r.charAt(0).toUpperCase()+r.slice(1)]=a:e[n]=a,e},{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=o:e.attrs[xH(t)]=o}return e},{attrs:{}}),i=o.style,l=void 0===i?{}:i,s=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;r[o]=e[o]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(o,wH);return a.attrs.style=gH(gH({},a.attrs.style),l),t.apply(void 0,[r.tag,gH(gH({},a.attrs),s)].concat(mH(n)))}.bind(null,f.createElement);const _H=gr({switch:{marginLeft:"auto"},switchSmall:{transform:"scale(.85)",transformOrigin:"right"},indicator:{margin:0}}),TH=e=>{TH.displayName="Switch";const{size:t}=u.useContext(NI),r=_H(),[o,n]=u.useState(()=>e.value??!1);return u.useEffect(()=>{null!=e.value&&n(e.value)},[e.value]),E.jsx(pw,{className:te(r.switch,"small"===t&&r.switchSmall),indicator:{className:r.indicator},checked:o,disabled:e.disabled,onChange:(t,r)=>{e.onChange&&e.onChange(t.target.checked),n(t.target.checked)}})},qH=e=>{qH.displayName="SwitchPropertyLine";const{label:t,...r}=e;return E.jsx(gO,{...e,children:E.jsx(TH,{...r})})},FH=gr({indicator:{margin:0}}),DH=e=>{DH.displayName="Checkbox";const[t,r]=u.useState(()=>e.value??!1),o=FH();return u.useEffect(()=>{null!=e.value&&r(e.value)},[e.value]),E.jsx(sb,{checked:t,onChange:(t,o)=>{e.onChange(t.target.checked),r(t.target.checked)},indicator:{className:o.indicator}})},EH={size30:{on:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M19.75%2C17.5a2.5%2C2.5%2C0%2C1%2C0-2.5-2.5A2.5%2C2.5%2C0%2C0%2C0%2C19.75%2C17.5Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M5%2C15a5%2C5%2C0%2C0%2C1%2C5-5H20a5%2C5%2C0%2C0%2C1%2C0%2C10H10A5%2C5%2C0%2C0%2C1%2C5%2C15Zm5-3.5a3.5%2C3.5%2C0%2C0%2C0%2C0%2C7H20a3.5%2C3.5%2C0%2C0%2C0%2C0-7Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",mixed:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M20%2C20H10c-2.76%2C0-5-2.24-5-5%2C0-2.76%2C2.24-5%2C5-5h10c2.76%2C0%2C5%2C2.24%2C5%2C5%2C0%2C2.76-2.24%2C5-5%2C5ZM10%2C11.5c-1.93%2C0-3.5%2C1.57-3.5%2C3.5s1.57%2C3.5%2C3.5%2C3.5h10c1.93%2C0%2C3.5-1.57%2C3.5-3.5s-1.57-3.5-3.5-3.5H10Z%22%2F%3E%3Crect%20class%3D%22b%22%20x%3D%2211.03%22%20y%3D%2214.25%22%20width%3D%227.94%22%20height%3D%221.5%22%20rx%3D%22.75%22%20ry%3D%22.75%22%2F%3E%3C%2Fsvg%3E",off:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M10.25%2C17.5a2.5%2C2.5%2C0%2C1%2C1%2C2.5-2.5A2.5%2C2.5%2C0%2C0%2C1%2C10.25%2C17.5Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M20%2C20H10a5%2C5%2C0%2C0%2C1%2C0-10H20a5%2C5%2C0%2C0%2C1%2C0%2C10ZM10%2C11.5a3.5%2C3.5%2C0%2C0%2C0%2C0%2C7H20a3.5%2C3.5%2C0%2C0%2C0%2C0-7Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E"},size40:{on:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M24.75%2C22.5c1.38%2C0%2C2.5-1.12%2C2.5-2.5s-1.12-2.5-2.5-2.5-2.5%2C1.12-2.5%2C2.5%2C1.12%2C2.5%2C2.5%2C2.5Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M10%2C20c0-2.76%2C2.24-5%2C5-5h10c2.76%2C0%2C5%2C2.24%2C5%2C5s-2.24%2C5-5%2C5H15c-2.76%2C0-5-2.24-5-5Zm5-3.5c-1.93%2C0-3.5%2C1.57-3.5%2C3.5s1.57%2C3.5%2C3.5%2C3.5h10c1.93%2C0%2C3.5-1.57%2C3.5-3.5s-1.57-3.5-3.5-3.5H15Z%22%2F%3E%3C%2Fsvg%3E",mixed:"",off:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M15.25%2C22.5c-1.38%2C0-2.5-1.12-2.5-2.5%2C0-1.38%2C1.12-2.5%2C2.5-2.5s2.5%2C1.12%2C2.5%2C2.5c0%2C1.38-1.12%2C2.5-2.5%2C2.5Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M25%2C25H15c-2.76%2C0-5-2.24-5-5%2C0-2.76%2C2.24-5%2C5-5h10c2.76%2C0%2C5%2C2.24%2C5%2C5%2C0%2C2.76-2.24%2C5-5%2C5Zm-10-8.5c-1.93%2C0-3.5%2C1.57-3.5%2C3.5s1.57%2C3.5%2C3.5%2C3.5h10c1.93%2C0%2C3.5-1.57%2C3.5-3.5s-1.57-3.5-3.5-3.5H15Z%22%2F%3E%3C%2Fsvg%3E"}};class PH extends u.Component{constructor(e){super(e),this._localChange=!1,void 0!==this.props.isSelected?this.state={isSelected:"boolean"==typeof this.props.isSelected?this.props.isSelected:this.props.isSelected(),isConflict:!1}:this.state={isSelected:!0===this.props.target[this.props.propertyName],isConflict:this.props.target[this.props.propertyName]===kO},this.props.disabled&&(this.state={...this.state,isDisabled:this.props.disabled})}shouldComponentUpdate(e,t){let r;return void 0!==e.isSelected?r="boolean"==typeof e.isSelected?e.isSelected:e.isSelected():(r=!0===e.target[e.propertyName],e.target[e.propertyName]===kO&&(t.isConflict=!0)),r!==t.isSelected||this._localChange?(t.isSelected=r,this._localChange=!1,!0):e.disabled!==t.isDisabled||e.label!==this.props.label||e.target!==this.props.target||t.isConflict!==this.state.isConflict}onChange(){this._localChange=!0,this.props.onSelect?this.props.onSelect(!this.state.isSelected):(this.props.onPropertyChangedObservable&&this.props.onPropertyChangedObservable.notifyObservers({object:this.props.target,property:this.props.propertyName,value:!this.state.isSelected,initialValue:this.state.isSelected}),this.props.target&&this.props.propertyName&&(this.props.target[this.props.propertyName]=!this.state.isSelected)),this.props.onValueChanged&&this.props.onValueChanged(),this.setState({isSelected:!this.state.isSelected,isConflict:!1})}onCopyClick(){if(this.props&&this.props.target){const{className:e,babylonNamespace:t}=H(this.props.target);M("globalThis.debugNode."+this.props.propertyName+" = "+this.props.target[this.props.propertyName]+";// (debugNode as "+t+e+")")}else M("undefined")}renderOriginal(){const e=this.props.large?EH.size40:EH.size30,t=this.state.isConflict?e.mixed:this.state.isSelected?e.on:e.off;return E.jsxs("div",{className:"checkBoxLine",children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,className:"icon"}),this.props.label&&E.jsx("div",{className:"label",title:this.props.iconLabel,children:this.props.label}),this.props.faIcons&&E.jsx(SH,{className:"cbx "+(this.props.disabled?"disabled":""),icon:this.state.isSelected?this.props.faIcons.enabled:this.props.faIcons.disabled,onClick:()=>!this.props.disabled&&this.onChange()}),!this.props.faIcons&&E.jsx("div",{className:"checkBox",children:E.jsxs("label",{className:`container lbl${this.props.disabled?" disabled":""} ${this.state.isSelected?"checked":""}`,children:[E.jsx("input",{type:"checkbox",className:"cbx hidden "+(this.state.isConflict?"conflict":""),checked:this.state.isSelected,onChange:()=>this.onChange(),disabled:!!this.props.disabled}),E.jsx("img",{className:"icon",src:t,alt:this.props.label})]})}),E.jsx("div",{className:"copy hoverIcon",onClick:()=>this.onCopyClick(),title:"Copy to clipboard",children:E.jsx("img",{src:O,alt:"Copy"})})]})}renderFluent(){return this.props.faIcons?E.jsx(DH,{disabled:this.props.disabled,value:this.state.isSelected,onChange:()=>!this.props.disabled&&this.onChange()}):E.jsx(qH,{label:this.props.label||"",value:this.state.isSelected,onChange:()=>this.onChange(),disabled:!!this.props.disabled})}render(){return E.jsx(NI.Consumer,{children:({useFluent:e})=>e?this.renderFluent():this.renderOriginal()})}}class IH extends u.Component{constructor(e){super(e),this._localChange=!1,this.state={value:this.props.value.toFixed(void 0!==this.props.precision?this.props.precision:3)}}componentWillUnmount(){this.props.lockObject&&(this.props.lockObject.lock=!1)}shouldComponentUpdate(e,t){return this._localChange?(this._localChange=!1,!0):e.value.toString()!==t.value&&(t.value=e.value.toFixed(void 0!==this.props.precision?this.props.precision:3),!0)}updateValue(e){if(/[^0-9.-]/g.test(e))return;const t=parseFloat(e);this._localChange=!0,this.setState({value:e}),isNaN(t)||this.props.onChange(t)}onBlur(){this._localChange=!1;const e=parseFloat(this.state.value);this.props.lockObject&&(this.props.lockObject.lock=!1),isNaN(e)?this.props.onChange(this.props.value):this.props.onChange(e)}incrementValue(e){let t=parseFloat(this.state.value);isNaN(t)&&(t=0),this.updateValue((t+e).toFixed(void 0!==this.props.precision?this.props.precision:3))}onKeyDown(e){const t=this.props.step||1,r=r=>{e.shiftKey&&(r*=10,(e.ctrlKey||e.metaKey)&&(r*=10)),this.incrementValue(r*t),e.preventDefault()};"ArrowUp"===e.key?r(1):"ArrowDown"===e.key&&r(-1)}render(){return E.jsxs("div",{className:"numeric",children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,className:"icon"}),this.props.label&&E.jsx("div",{className:"numeric-label",title:this.props.labelTooltip??this.props.label,children:`${this.props.label}: `}),E.jsx("input",{type:"number",step:this.props.step,className:"numeric-input",value:this.state.value,onChange:e=>this.updateValue(e.target.value),onKeyDown:e=>this.onKeyDown(e),onFocus:()=>{this.props.lockObject&&(this.props.lockObject.lock=!0)},onBlur:()=>this.onBlur()})]})}}IH.defaultProps={step:1};const OH={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},AH={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},RH={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},MH={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]};class HH extends u.Component{constructor(e){super(e)}updateValue(e){if(/[^0-9.-]/g.test(e))return;let t=parseInt(e);isNaN(t)||(null!=this.props.max&&t>this.props.max&&(t=this.props.max),null!=this.props.min&&t<this.props.min&&(t=this.props.min),this.props.onChange(t))}lock(){this.props.lockObject&&(this.props.lockObject.lock=!0)}unlock(){this.props.lockObject&&(this.props.lockObject.lock=!1)}render(){return E.jsxs("div",{className:"color-picker-component",children:[E.jsx("div",{className:"color-picker-component-value",children:E.jsx("input",{type:"number",step:1,className:"numeric-input",value:this.props.value,onBlur:()=>this.unlock(),onFocus:()=>this.lock(),onChange:e=>this.updateValue(e.target.value),disabled:this.props.disabled})}),E.jsx("div",{className:"color-picker-component-label",children:this.props.label})]})}}class LH extends u.Component{constructor(e){super(e),this.state={hex:this.props.value.replace("#","")}}shouldComponentUpdate(e,t){return e.value!==this.props.value&&(t.hex=e.value.replace("#","")),!0}lock(){this.props.lockObject&&(this.props.lockObject.lock=!0)}unlock(){this.props.lockObject&&(this.props.lockObject.lock=!1)}updateHexValue(e){if(""==e||0!=/^[0-9A-Fa-f]+$/g.test(e)){if(this.setState({hex:e}),e.length!==this.props.expectedLength)if(8===this.props.expectedLength&&6===e.length)e+="FF";else{if(6!==this.props.expectedLength||8!==e.length)return;e=e.substring(0,6)}this.props.onChange("#"+e)}}render(){return E.jsx("input",{type:"string",className:"hex-input",value:this.state.hex,onBlur:()=>this.unlock(),onFocus:()=>this.lock(),onChange:e=>this.updateHexValue(e.target.value)})}}function VH(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}VH(".color-picker-container{background-color:#fff;display:grid;font-family:acumin-pro-condensed;font-size:14px;font-weight:400;grid-template-columns:100%;grid-template-rows:50% 50px 60px 40px 1fr auto;height:300px;width:320px}.color-picker-container.with-hints{height:380px}.color-picker-container .color-picker-saturation{cursor:pointer;display:grid;grid-column:1;grid-row:1;grid-template-columns:100%;grid-template-rows:100%;position:relative}.color-picker-container .color-picker-saturation .color-picker-saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0));grid-column:1;grid-row:1}.color-picker-container .color-picker-saturation .color-picker-saturation-black{background:linear-gradient(0deg,#000,transparent);grid-column:1;grid-row:1}.color-picker-container .color-picker-saturation .color-picker-saturation-cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);height:4px;pointer-events:none;position:absolute;transform:translate(-2px,-2px);width:4px}.color-picker-container .color-picker-hue{display:grid;grid-column:1;grid-row:2;grid-template-columns:24% 76%;grid-template-rows:100%;margin:10px}.color-picker-container .color-picker-hue .color-picker-hue-color{align-self:center;border:1px solid #000;border-radius:15px;grid-column:1;grid-row:1;height:30px;justify-self:center;width:30px}.color-picker-container .color-picker-hue .color-picker-hue-slider{align-self:center;background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);cursor:pointer;grid-column:2;grid-row:1;height:16px;position:relative}.color-picker-container .color-picker-hue .color-picker-hue-slider .color-picker-hue-cursor{background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:18px;pointer-events:none;position:absolute;transform:translate(-4px,-2px);width:8px}.color-picker-container .color-picker-component{display:grid;grid-template-columns:100%;grid-template-rows:50% 50%;margin:5px}.color-picker-container .color-picker-component .color-picker-component-value{align-self:center;grid-column:1;grid-row:1;justify-self:center;margin-bottom:4px}.color-picker-container .color-picker-component .color-picker-component-value input{width:50px}.color-picker-container .color-picker-component .color-picker-component-label{align-self:center;color:#000;grid-column:1;grid-row:2;justify-self:center}.color-picker-container .color-picker-rgb{display:grid;grid-column:1;grid-row:3;grid-template-columns:20% 6.66% 20% 6.66% 20% 6.66% 20%;grid-template-rows:100%;margin:10px}.color-picker-container .red{grid-column:1;grid-row:1}.color-picker-container .green{grid-column:3;grid-row:1}.color-picker-container .blue{grid-column:5;grid-row:1}.color-picker-container .alpha{grid-column:7;grid-row:1}.color-picker-container .alpha.grayed{opacity:.5}.color-picker-container .color-picker-hex-row{align-items:center;display:flex;flex-direction:row;gap:16px}.color-picker-container .color-picker-hex{display:grid;grid-column:1;grid-row:4;grid-template-columns:30% 70%;grid-template-rows:100%}.color-picker-container .color-picker-hex .color-picker-hex-label{align-self:center;color:#000;grid-column:1;grid-row:1;justify-self:center;margin-left:10px}.color-picker-container .color-picker-hex .color-picker-hex-value{align-self:center;grid-column:2;grid-row:1;justify-self:left;margin-left:10px;margin-right:10px}.color-picker-container .color-picker-hex .color-picker-hex-value input{width:70px}.color-picker-container .color-picker-warning{align-self:center;color:#000;font-size:11px;grid-column:1;grid-row:6;justify-self:left;padding:4px}");class WH extends u.Component{constructor(e){super(e),this.props.color instanceof t.Color4?this.state={color:new t.Color3(this.props.color.r,this.props.color.g,this.props.color.b),alpha:this.props.color.a}:this.state={color:this.props.color.clone(),alpha:1},this._saturationRef=u.createRef(),this._hueRef=u.createRef()}shouldComponentUpdate(e,t){return e.color.toHexString()!==this.props.color.toHexString()||t.color.toHexString()!==this.props.color.toHexString()}onSaturationPointerDown(e){this._evaluateSaturation(e),this._isSaturationPointerDown=!0,e.currentTarget.setPointerCapture(e.pointerId)}onSaturationPointerUp(e){this._isSaturationPointerDown=!1,e.currentTarget.releasePointerCapture(e.pointerId)}onSaturationPointerMove(e){this._isSaturationPointerDown&&this._evaluateSaturation(e)}onHuePointerDown(e){this._evaluateHue(e),this._isHuePointerDown=!0,e.currentTarget.setPointerCapture(e.pointerId)}onHuePointerUp(e){this._isHuePointerDown=!1,e.currentTarget.releasePointerCapture(e.pointerId)}onHuePointerMove(e){this._isHuePointerDown&&this._evaluateHue(e)}_evaluateSaturation(e){const r=e.nativeEvent.offsetX,o=e.nativeEvent.offsetY,n=Math.min(1,Math.max(1e-4,r/this._saturationRef.current.clientWidth)),a=Math.min(1,Math.max(1e-4,1-o/this._saturationRef.current.clientHeight));this.props.debugMode&&(t.Logger.Log("Saturation: "+n),t.Logger.Log("Value: "+a));const i=this.state.color.toHSV();t.Color3.HSVtoRGBToRef(i.r,n,a,this.state.color),0===this.state.alpha&&this.setState({alpha:1}),this.setState({color:this.state.color})}_evaluateHue(e){const r=e.nativeEvent.offsetX,o=360*Math.min(.9999,Math.max(1e-4,r/this._hueRef.current.clientWidth));this.props.debugMode&&t.Logger.Log("Hue: "+o);const n=this.state.color.toHSV();t.Color3.HSVtoRGBToRef(o,Math.max(n.g,.01),Math.max(n.b,.01),this.state.color),this.setState({color:this.state.color})}componentDidUpdate(){this.raiseOnColorChanged()}raiseOnColorChanged(){if(this.props.onColorChanged){if(this.props.color instanceof t.Color4){const e=t.Color4.FromColor3(this.state.color,this.state.alpha);return void this.props.onColorChanged(e)}this.props.onColorChanged(this.state.color.clone())}}render(){const e=t.Color4.FromColor3(this.state.color);e.a=this.state.alpha;const r=e.toHexString(),o=this.state.color.toHSV(),n=new t.Color3;t.Color3.HSVtoRGBToRef(o.r,1,1,n);const a=n.toHexString(),i=this.props.color instanceof t.Color4;return E.jsxs("div",{className:"color-picker-container"+(this.props.linearhint?" with-hints":""),children:[E.jsxs("div",{className:"color-picker-saturation",onPointerMove:e=>this.onSaturationPointerMove(e),onPointerDown:e=>this.onSaturationPointerDown(e),onPointerUp:e=>this.onSaturationPointerUp(e),ref:this._saturationRef,style:{background:a},children:[E.jsx("div",{className:"color-picker-saturation-white"}),E.jsx("div",{className:"color-picker-saturation-black"}),E.jsx("div",{className:"color-picker-saturation-cursor",style:{top:-100*o.b+100+"%",left:100*o.g+"%"}})]}),E.jsxs("div",{className:"color-picker-hue",children:[E.jsx("div",{className:"color-picker-hue-color",style:{background:r}}),E.jsx("div",{className:"color-picker-hue-slider",ref:this._hueRef,onPointerMove:e=>this.onHuePointerMove(e),onPointerDown:e=>this.onHuePointerDown(e),onPointerUp:e=>this.onHuePointerUp(e),children:E.jsx("div",{className:"color-picker-hue-cursor",style:{left:o.r/360*100+"%",border:"1px solid "+a}})})]}),E.jsxs("div",{className:"color-picker-rgb",children:[E.jsx("div",{className:"red",children:E.jsx(HH,{lockObject:this.props.lockObject,label:"R",min:0,max:255,value:Math.round(255*this.state.color.r),onChange:e=>{this.state.color.r=e/255,this.forceUpdate()}})}),E.jsx("div",{className:"green",children:E.jsx(HH,{lockObject:this.props.lockObject,label:"G",min:0,max:255,value:Math.round(255*this.state.color.g),onChange:e=>{this.state.color.g=e/255,this.forceUpdate()}})}),E.jsx("div",{className:"blue",children:E.jsx(HH,{lockObject:this.props.lockObject,label:"B",min:0,max:255,value:Math.round(255*this.state.color.b),onChange:e=>{this.state.color.b=e/255,this.forceUpdate()}})}),E.jsx("div",{className:"alpha"+(i?"":" grayed"),children:E.jsx(HH,{lockObject:this.props.lockObject,label:"A",min:0,max:255,value:Math.round(255*this.state.alpha),onChange:e=>{this.setState({alpha:e/255}),this.forceUpdate()}})})]}),E.jsxs("div",{className:"color-picker-hex-row",children:[E.jsxs("div",{className:"color-picker-hex",children:[E.jsx("div",{className:"color-picker-hex-label",children:"Gamma Hex"}),E.jsx("div",{className:"color-picker-hex-value",children:E.jsx(LH,{lockObject:this.props.lockObject,expectedLength:i?8:6,value:r,onChange:e=>{if(i){const r=t.Color4.FromHexString(e);this.setState({color:new t.Color3(r.r,r.g,r.b),alpha:r.a})}else this.setState({color:t.Color3.FromHexString(e)})}})})]}),this.props.linearhint&&E.jsxs("div",{className:"color-picker-hex",children:[E.jsx("div",{className:"color-picker-hex-label",children:"Linear Hex"}),E.jsx("div",{className:"color-picker-hex-value",children:E.jsx(LH,{lockObject:this.props.lockObject,expectedLength:i?8:6,value:t.Color4.FromHexString(r).toLinearSpace().toHexString(),onChange:e=>{if(i){const r=t.Color4.FromHexString(e).toGammaSpace();this.setState({color:new t.Color3(r.r,r.g,r.b),alpha:r.a})}else this.setState({color:t.Color3.FromHexString(e).toGammaSpace()})}})})]})]}),this.props.linearhint&&E.jsx("div",{className:"color-picker-warning",children:"(Note: This color is stored in linear but converted to gamma to be displayed here. To set color in code, use the linear hex above or use gamma.toLinearSpace()"})]})}}class ZH extends u.Component{constructor(e){super(e),this.state={pickerEnabled:!1,color:this.props.value,hex:this.getHexString(e)},this._floatRef=u.createRef(),this._floatHostRef=u.createRef()}syncPositions(){const e=this._floatRef.current,t=this._floatHostRef.current;if(!e||!t)return;let r=t.getBoundingClientRect().top;const o=e.getBoundingClientRect().height;r+o+10>window.innerHeight&&(r=window.innerHeight-o-10),e.style.top=r+"px",this.props.shouldPopRight?e.style.left=t.getBoundingClientRect().left+"px":e.style.left=t.getBoundingClientRect().left-e.getBoundingClientRect().width+"px"}shouldComponentUpdate(e,t){const r=this.getHexString(e)!==this.getHexString();return r&&(t.color=e.value,t.hex=this.getHexString(e)),r||t.hex!==this.state.hex||t.pickerEnabled!==this.state.pickerEnabled}getHexString(e=this.props){return e.value.toHexString()}componentDidUpdate(){this.syncPositions()}componentDidMount(){this.syncPositions()}render(){return E.jsxs("div",{className:"color-picker",children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,className:"icon"}),E.jsx("div",{className:"color-rect-background",ref:this._floatHostRef,onClick:()=>this.setState({pickerEnabled:!0}),children:E.jsx("div",{className:"color-rect",style:{background:this.state.hex}})}),this.state.pickerEnabled&&E.jsx(E.Fragment,{children:E.jsx("div",{className:"color-picker-cover",onClick:e=>{e.target===this._floatRef.current?.ownerDocument?.querySelector(".color-picker-cover")&&this.setState({pickerEnabled:!1})},children:E.jsx("div",{className:"color-picker-float",ref:this._floatRef,children:E.jsx(WH,{lockObject:this.props.lockObject||{},color:this.state.color,linearhint:this.props.linearHint,onColorChanged:e=>{const t=e.toHexString();this.setState({hex:t,color:e}),this.props.onColorChanged(t)}})})})})]})}}const UH=gr({dropdown:{minWidth:0,width:"100%"},container:{display:"flex",flexDirection:"column",justifyContent:"center"},dropdownText:{textAlign:"end",textOverflow:"ellipsis",whiteSpace:"nowrap",overflowX:"hidden"}}),GH=e=>{GH.displayName="Dropdown";const t=UH(),{options:r,value:o}=e,[n,a]=u.useState(e.value),{size:i}=u.useContext(NI);u.useEffect(()=>{a(o)},[e.value]);const l=qo("dropdown"),s=te(t.container,e.className),c=r.find(e=>e.value===n)?.label;return E.jsxs("div",{className:s,children:[e.infoLabel&&E.jsx(fO,{...e.infoLabel,htmlFor:l}),E.jsx(Rb,{id:l,disabled:e.disabled,size:i,className:t.dropdown,button:E.jsx("span",{className:t.dropdownText,children:c}),onOptionSelect:(t,r)=>{const o="number"==typeof e.value?Number(r.optionValue):r.optionValue;void 0!==o&&(a(o),e.onChange(o))},selectedOptions:[n.toString()],value:c,children:r.map(e=>E.jsx(zb,{value:e.value.toString(),disabled:!1,children:e.label},e.label))})]})},XH=GH,$H=gr({surface:{maxWidth:"400px"},content:{display:"flex",flexDirection:"column",gap:Ws,padding:Ms,minWidth:"300px"}}),KH=u.forwardRef((e,t)=>{const{children:r,open:o,onOpenChange:n,positioning:a,surfaceClassName:i}=e,[l,s]=u.useState(!1),c=$H(),d=void 0!==o,f=d?o:l,p=(e,t)=>{d||s(t.open),n?.(t.open)};return E.jsxs(Zv,{open:f,onOpenChange:p,positioning:a??{align:"start",overflowBoundary:document.body,autoSize:!0},children:[E.jsx(Gv,{disableButtonEnhancement:!0,children:e.trigger??E.jsx(KI,{ref:t,icon:e.icon,onClick:()=>p(0,{open:!0})})}),E.jsx(Av,{className:i??c.surface,children:E.jsx("div",{className:c.content,children:r})})]})});KH.displayName="Popover";const YH=gr({container:{width:"350px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:Ws,overflow:"visible"},row:{flex:1,display:"flex",flexDirection:"row",gap:Hs,alignItems:"center",width:"100%"},colorPicker:{flex:1,width:"350px",height:"350px"},previewColor:{width:"60px",height:"60px",borderRadius:Bs,border:`${Ls} solid ${ys}`,"@media (forced-colors: active)":{forcedColorAdjust:"none"}},inputRow:{display:"flex",flexDirection:"row",flex:1,justifyContent:"center",gap:"10px",width:"100%"},inputField:{flex:1,width:"auto",minWidth:0,gap:Vs},trigger:{display:"flex",alignItems:"center"}}),JH=u.forwardRef((e,r)=>{JH.displayName="ColorPickerPopup";const{value:o,onChange:n,isLinearMode:a,...i}=e,l=YH(),[s,c]=u.useState(o),[d,f]=u.useState(a??!1),[p,h]=u.useState(!1),{size:g}=u.useContext(NI);u.useEffect(()=>{c(o)},[o]);const v=a??!1,m=u.useMemo(()=>v?s.toGammaSpace():s,[s,v]),b=u.useMemo(()=>d===v?s:d?s.toLinearSpace():s.toGammaSpace(),[s,d,v]),C=e=>{c(e),n(e)},y=e=>{const t=d===v?e:d?e.toGammaSpace():e.toLinearSpace();C(t)};return E.jsx(KH,{trigger:E.jsx(BF,{className:l.trigger,ref:r,...i,borderColor:xs,size:"small"===g?"extra-small":"small",shape:"rounded",color:m.toHexString(),value:m.toHexString().slice(1)}),children:E.jsxs("div",{className:l.container,children:[E.jsxs(iP,{className:l.colorPicker,color:tL(m),onColorChange:(e,r)=>{let n=t.Color3.FromHSV(r.color.h,r.color.s,r.color.v);o instanceof t.Color4&&(n=t.Color4.FromColor3(n,r.color.a??1)),C(v?n.toLinearSpace():n)},children:[E.jsx(vP,{inputX:{"aria-label":"Saturation"},inputY:{"aria-label":"Brightness"}}),E.jsx(nP,{"aria-label":"Hue"}),s instanceof t.Color4&&E.jsx(jP,{"aria-label":"Alpha"})]}),E.jsxs("div",{className:l.row,children:[E.jsx("div",{className:l.previewColor,style:{backgroundColor:m.toHexString()}}),E.jsx(XH,{className:l.inputField,infoLabel:{label:"Color Space",info:E.jsxs(Aw,{children:["Choose which color space to display numeric values in. This property stores its color in"," ",E.jsx(Rw,{children:v?"linear":"gamma"})," space. The visual picker always shows gamma (screen-accurate) colors."]})},options:[{label:"Gamma",value:0},{label:"Linear",value:1}],value:d?1:0,onChange:e=>f(1===e)}),E.jsx(XH,{className:l.inputField,infoLabel:{label:"Data Type",info:E.jsxs(Aw,{children:[E.jsx(Rw,{children:"Int"})," displays RGB channels as integers in the 0–255 range. ",E.jsx(Rw,{children:"Float"})," displays them as decimals in the 0–1 range. This is display-only and does not affect the stored color."]})},options:[{label:"Int",value:0},{label:"Float",value:1}],value:p?1:0,onChange:e=>h(1===e)})]}),E.jsxs("div",{className:l.inputRow,children:[E.jsx(eL,{title:"Red",value:b,rgbKey:"r",isFloat:p,onChange:y}),E.jsx(eL,{title:"Green",value:b,rgbKey:"g",isFloat:p,onChange:y}),E.jsx(eL,{title:"Blue",value:b,rgbKey:"b",isFloat:p,onChange:y}),E.jsx(oL,{color:s,onChange:C})]}),E.jsxs("div",{className:l.inputRow,children:[E.jsx(rL,{title:"Hue",value:b,hsvKey:"h",isFloat:p,onChange:y}),E.jsx(rL,{title:"Saturation",value:b,hsvKey:"s",isFloat:p,onChange:y}),E.jsx(rL,{title:"Value",value:b,hsvKey:"v",isFloat:p,onChange:y})]}),E.jsx("div",{className:l.inputRow,children:E.jsx(QH,{title:"Hexadecimal",value:b,isLinear:d,isPropertyLinear:v,onChange:y})})]})})}),QH=e=>{const r=YH(),{title:o,value:n,onChange:a,isLinear:i,isPropertyLinear:l}=e,s=(i??!1)!==(l??!1),c=i?"linear":"gamma",d=l?"linear":"gamma",u=n instanceof t.Color4?"Color4":"Color3";return E.jsx(jO,{className:r.inputField,value:n.toHexString(),validator:GI,validateOnlyOnBlur:!0,onChange:e=>a(function(e,r){const o=e.startsWith("#")?e.slice(1):e;return 3===o.length&&(e=`#${o[0]}${o[0]}${o[1]}${o[1]}${o[2]}${o[2]}`),8===o.length?r instanceof t.Color4?t.Color4.FromHexString(e):t.Color3.FromHexString(e.slice(0,7)):r instanceof t.Color4?t.Color4.FromColor3(t.Color3.FromHexString(e),r.a):t.Color3.FromHexString(e)}(e,n)),infoLabel:o?{label:o,info:E.jsxs(Aw,{children:["This hex value is in ",E.jsx(Rw,{children:c})," space",s?E.jsxs(Aw,{children:[", but the property stores its color in ",E.jsx(Rw,{children:d})," space.",E.jsx("br",{}),E.jsx("br",{}),"The color picker converts automatically, but if you copy this hex into code you will need to convert it:",E.jsx("br",{}),E.jsxs(Rw,{children:[u,'.FromHexString("',n.toHexString(),'").',i?"toGammaSpace()":"toLinearSpace()"]})]}):E.jsxs(Aw,{children:[", which matches the property's stored color space.",E.jsx("br",{}),E.jsx("br",{}),"To copy this hex into code, use",E.jsx("br",{}),E.jsxs(Rw,{children:[u,'.FromHexString("',n.toHexString(),'")']})]}),E.jsx("br",{}),E.jsx("br",{}),E.jsx(sO,{url:"https://doc.babylonjs.com/preparingArtForBabylon/controllingColorSpace/",value:"Read more in our docs!"})]})}:void 0})},eL=e=>{const{value:t,onChange:r,title:o,rgbKey:n,isFloat:a}=e,i=YH(),l=u.useCallback(e=>{const o=t.clone();o[n]=a?e:e/255,r(o)},[t,r,n,a]);return E.jsx(_O,{infoLabel:o?{label:o}:void 0,className:i.inputField,min:0,max:a?1:255,value:a?t[n]:Math.round(255*t[n]),step:a?.01:1,forceInt:!a,precision:a?4:void 0,onChange:l},`${n}-${a?"float":"int"}`)};function tL(e){const r=new t.Color3(e.r,e.g,e.b).toHSV();return{h:r.r,s:r.g,v:r.b,a:e.a}}const rL=e=>{const{value:r,title:o,hsvKey:n,isFloat:a,onChange:i}=e,l=YH(),{max:s,toDisplay:c,toInternal:d,step:f,forceInt:p,precision:h}=function(e,t){if(t){const t="h"===e?360:1;return{max:1,toDisplay:e=>e/t,toInternal:e=>e*t,step:.01,forceInt:!1,precision:4}}const r="h"===e?1:100;return{max:"h"===e?360:100,toDisplay:e=>Math.round(e*r),toInternal:e=>e/r,step:1,forceInt:!0,precision:void 0}}(n,a),g=u.useCallback(o=>{const a=tL(r);a[n]=d(o);let i=t.Color3.FromHSV(a.h,a.s,a.v);r instanceof t.Color4&&(i=t.Color4.FromColor3(i,r.a??1)),e.onChange(i)},[r,i,n,d]);return E.jsx(_O,{infoLabel:o?{label:o}:void 0,className:l.inputField,min:0,max:s,value:c(tL(r)[n]),step:f,forceInt:p,precision:h,onChange:g},`${n}-${a?"float":"int"}`)},oL=e=>{const r=YH(),{color:o,onChange:n}=e,a=u.useCallback(e=>{if(!(Number.isNaN(e)||e<0||e>1))if(o instanceof t.Color4){const t=o.clone();t.a=e,n(t)}else n(t.Color4.FromColor3(o,e))},[o,n]);return E.jsx(_O,{disabled:o instanceof t.Color3,min:0,max:1,className:r.inputField,value:o instanceof t.Color3?1:o.a,step:.01,onChange:a,infoLabel:{label:"Alpha",info:o instanceof t.Color3?E.jsx(Aw,{children:"Because this color picker is representing a Color3, we do not permit modifying alpha from the color picker. You can however modify the property's alpha property directly, either in code via property.alpha OR via inspector's transparency section."}):void 0}})},nL=u.forwardRef((e,r)=>{nL.displayName="ColorPropertyLine";const[o,n]=u.useState(e.value);return u.useEffect(()=>{n(e.value)},[e.value]),E.jsx(gO,{ref:r,...e,expandedContent:o?E.jsx(aL,{color:o,onSliderChange:(r,a)=>{let i;"a"===a?i=t.Color4.FromColor3(o,r):(i=o.clone(),i[a]=r/255),n(i),e.onChange(i)}}):void 0,children:E.jsx(JH,{...e,onChange:t=>{n(t),e.onChange(t)},value:o})})}),aL=({color:e,onSliderChange:r})=>E.jsxs(E.Fragment,{children:[E.jsx(MO,{label:"R",value:255*e.r,min:0,max:255,onChange:e=>r(e,"r")}),E.jsx(MO,{label:"G",value:255*e.g,min:0,max:255,onChange:e=>r(e,"g")}),E.jsx(MO,{label:"B",value:255*e.b,min:0,max:255,onChange:e=>r(e,"b")}),e instanceof t.Color4&&E.jsx(MO,{label:"A",value:e.a,min:0,max:1,step:.01,onChange:e=>r(e,"a")})]}),iL=nL,lL=nL,sL=new t.Color4(0,0,0,0);class cL extends u.Component{constructor(e){super(e),this.state={isExpanded:!1,color:this.getValue()},this.props.target._isLinearColor=e.isLinear}shouldComponentUpdate(e,t){const r=t.color,o=this.getValue(e);return r!==this.state.color?(t.color=r,!0):o!==this.state.color?(t.color=o,!0):t.isExpanded!==this.state.isExpanded}getValue(e=this.props){const t=e.target[e.propertyName];return t?"string"==typeof t?t===kO?sL:this._convertToColor(t):e.isLinear?t.toGammaSpace():t.clone():sL}setColorFromString(e){const t=this._convertToColor(e);this.setColor(t)}setColor(e){if(e.equals(this.state.color))return;this.setState({color:e.clone()}),this.props.isLinear&&e.toLinearSpaceToRef(e);const t=this.props.disableAlpha?this._toColor3(e):e,r=this.props.target,o=r[this.props.propertyName],n="string"==typeof r[this.props.propertyName]?t.toHexString():t;r[this.props.propertyName]=n,this.props.onPropertyChangedObservable&&this.props.onPropertyChangedObservable.notifyObservers({object:r,property:this.props.propertyName,value:n,initialValue:o}),this.props.onChange&&this.props.onChange()}switchExpandState(){this.setState({isExpanded:!this.state.isExpanded})}updateStateR(e){this.setColor(new t.Color4(e,this.state.color.g,this.state.color.b,this.state.color.a))}updateStateG(e){this.setColor(new t.Color4(this.state.color.r,e,this.state.color.b,this.state.color.a))}updateStateB(e){this.setColor(new t.Color4(this.state.color.r,this.state.color.g,e,this.state.color.a))}updateStateA(e){this.props.disableAlpha||this.setColor(new t.Color4(this.state.color.r,this.state.color.g,this.state.color.b,e))}_convertToColor(e){if(""===e||"transparent"===e)return sL;if("#"!==e.substring(0,1)||7!==e.length&&9!==e.length){const r=document.createElement("div");r.style.color=e,document.body.append(r);const o=window.getComputedStyle(r).color;document.body.removeChild(r);const n=o.substring(4,o.length-1).replace(/ /g,"").split(","),a=n.length>3?parseInt(n[3])/255:1;return new t.Color4(parseInt(n[0])/255,parseInt(n[1])/255,parseInt(n[2])/255,a)}if(this.props.disableAlpha){const r=t.Color3.FromHexString(e);return new t.Color4(r.r,r.g,r.b,1)}return t.Color4.FromHexString(e)}_toColor3(e){return new t.Color3(e.r,e.g,e.b)}onCopyClick(){if(this.props&&this.props.target){const{className:e,babylonNamespace:t}=H(this.props.target),r="globalThis.debugNode",o=this.props.propertyName,n=this.props.target[this.props.propertyName],a=this.state.color.toHexString();let i;i=n.a?"new "+t+"Color4("+n.r+", "+n.g+", "+n.b+", "+n.a+")":"new "+t+"Color3("+n.r+", "+n.g+", "+n.b+")",i+=";// (HEX : "+a,M(r+"."+o+" = "+i+" , debugNode as "+t+e+")")}else M("undefined")}renderFluent(){return this.props.disableAlpha?E.jsx(iL,{label:this.props.label,value:this._toColor3(this.state.color),isLinearMode:this.props.isLinear,onChange:e=>this.setColorFromString(e.toHexString())}):E.jsx(lL,{label:this.props.label,value:this.state.color,isLinearMode:this.props.isLinear,onChange:e=>this.setColorFromString(e.toHexString())})}renderOriginal(){const e=this.state.isExpanded?E.jsx(SH,{icon:AH}):E.jsx(SH,{icon:MH});return E.jsxs("div",{className:"color3Line",children:[E.jsxs("div",{className:"firstLine",children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,className:"icon"}),E.jsx("div",{className:"label",title:this.props.label,children:this.props.label}),E.jsx("div",{className:"color3",children:E.jsx(ZH,{lockObject:this.props.lockObject,linearHint:this.props.isLinear,value:this.props.disableAlpha?this._toColor3(this.state.color):this.state.color,onColorChanged:e=>{this.setColorFromString(e)}})}),E.jsx("div",{className:"expand hoverIcon",onClick:()=>this.switchExpandState(),title:"Expand",children:e}),E.jsx("div",{className:"copy hoverIcon",onClick:()=>this.onCopyClick(),title:"Copy to clipboard",children:E.jsx("img",{src:O,alt:"Copy"})})]}),this.state.isExpanded&&E.jsxs("div",{className:"secondLine",children:[E.jsx(IH,{lockObject:this.props.lockObject,label:"r",labelTooltip:"Red",value:this.state.color.r,step:.1,onChange:e=>this.updateStateR(e)}),E.jsx(IH,{lockObject:this.props.lockObject,label:"g",labelTooltip:"Green",value:this.state.color.g,step:.1,onChange:e=>this.updateStateG(e)}),E.jsx(IH,{lockObject:this.props.lockObject,label:"b",labelTooltip:"Blue",value:this.state.color.b,step:.1,onChange:e=>this.updateStateB(e)}),this.props.disableAlpha||E.jsx(IH,{lockObject:this.props.lockObject,label:"a",labelTooltip:"Alpha",value:this.state.color.a,step:.1,onChange:e=>this.updateStateA(e)})]})]})}render(){return E.jsx(NI.Consumer,{children:({useFluent:e})=>e?this.renderFluent():this.renderOriginal()})}}class dL extends u.Component{render(){return E.jsx("img",{src:this.props.icon,title:this.props.label,alt:this.props.label,color:"black",className:"icon",onDragStart:e=>e.preventDefault()})}}var uL={"light-background":"#E2E2E2","light-active-background":"#FFFFFF","light-disabled-background":"#C8C8C8","light-color":"#FFFFFF","dark-background":"#333333","dark-active-background":"#666666","dark-color":"#333333",button:"Button-module_button__TZMpy Fonts_fontRegular__HpbTH",wide:"Button-module_wide__XoYdL",small:"Button-module_small__fMmF4",smaller:"Button-module_smaller__oNZu1",light:"Button-module_light__ytaWV",active:"Button-module_active__mRmKd",dark:"Button-module_dark__xz8Jc"};function fL(e,t){let r="";for(const o in e)e[o]&&(r+=t[o]+" ");return r}VH(".Fonts_fontRegular__HpbTH{font-family:acumin-pro-condensed;font-size:14px}.Button-module_button__TZMpy{align-items:center;border:none;display:inline-flex;height:55px;justify-content:center;padding:0;width:55px}.Button-module_button__TZMpy.Button-module_wide__XoYdL{height:45px;justify-content:start;width:120px}.Button-module_button__TZMpy.Button-module_small__fMmF4{height:30px;width:30px}.Button-module_button__TZMpy.Button-module_smaller__oNZu1{height:25px;width:25px}.Button-module_button__TZMpy.Button-module_light__ytaWV{background-color:#e2e2e2;color:#333}.Button-module_button__TZMpy.Button-module_light__ytaWV.Button-module_active__mRmKd,.Button-module_button__TZMpy.Button-module_light__ytaWV:disabled,.Button-module_button__TZMpy.Button-module_light__ytaWV:hover{background-color:#fff}.Button-module_button__TZMpy.Button-module_dark__xz8Jc{background-color:#333;color:#fff}.Button-module_button__TZMpy.Button-module_dark__xz8Jc.Button-module_active__mRmKd,.Button-module_button__TZMpy.Button-module_dark__xz8Jc:hover{background-color:#666}");const pL=({disabled:e,active:t,onClick:r,children:o,color:n,size:a,title:i,backgroundColor:l})=>E.jsx("button",{className:fL({button:!0,active:t,wide:"wide"===a,small:"small"===a,smaller:"smaller"===a,light:"light"===n,dark:"dark"===n},uL),disabled:e,onClick:r,title:i,style:{backgroundColor:l},children:o});var hL={light:"Icon-module_light__w2-s2"};VH(".Icon-module_light__w2-s2{filter:brightness(10)}");const gL=({color:e="dark",icon:t})=>E.jsx("img",{src:t,style:{width:"100%",height:"100%"},className:fL({light:"light"===e},hL)});var vL={line:"TextInputWithSubmit-module_line__C20c5",input:"TextInputWithSubmit-module_input__9oGJH",valid:"TextInputWithSubmit-module_valid__2FXsf",invalid:"TextInputWithSubmit-module_invalid__Fk9z-"};VH(".TextInputWithSubmit-module_line__C20c5{align-items:center;display:flex;height:100%;justify-content:space-between;width:100%}.TextInputWithSubmit-module_input__9oGJH{background-color:inherit;border:unset;flex-grow:1;width:100px}.TextInputWithSubmit-module_valid__2FXsf{background-color:#fff}.TextInputWithSubmit-module_invalid__Fk9z-{background-color:hsla(0,100%,90%,.8)}");var mL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C6.89A8.11%2C8.11%2C0%2C1%2C1%2C6.89%2C15%2C8.11%2C8.11%2C0%2C0%2C1%2C15%2C6.89Zm0%2C1.22A6.89%2C6.89%2C0%2C1%2C0%2C21.89%2C15%2C6.88%2C6.88%2C0%2C0%2C0%2C15%2C8.11Zm-1%2C8.06%2C3.62-3.63a.61.61%2C0%2C0%2C1%2C.92.79l-.06.07-4%2C4.06a.64.64%2C0%2C0%2C1-.8.06l-.06-.06-2-2a.6.6%2C0%2C0%2C1%2C0-.86.6.6%2C0%2C0%2C1%2C.79-.06l.07.06%2C1.6%2C1.6%2C3.62-3.63Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",bL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C8.71a2%2C2%2C0%2C0%2C1%2C2%2C1.91v.11h3.26a.47.47%2C0%2C0%2C1%2C.06.93h-.56L19%2C19.75a1.7%2C1.7%2C0%2C0%2C1-1.59%2C1.53H12.71A1.71%2C1.71%2C0%2C0%2C1%2C11%2C19.85l0-.1-.79-8.09h-.5a.46.46%2C0%2C0%2C1-.46-.4V11.2a.46.46%2C0%2C0%2C1%2C.4-.46H13A2%2C2%2C0%2C0%2C1%2C15%2C8.71Zm3.85%2C2.95h-7.7l.79%2C8a.78.78%2C0%2C0%2C0%2C.69.7h4.66a.77.77%2C0%2C0%2C0%2C.76-.62v-.08Zm-2.76%2C1.71a.47.47%2C0%2C0%2C1%2C.46.4v4.41a.46.46%2C0%2C0%2C1-.92.06v-4.4A.47.47%2C0%2C0%2C1%2C16.09%2C13.37Zm-2.18%2C0a.46.46%2C0%2C0%2C1%2C.46.4v4.41a.47.47%2C0%2C0%2C1-.93.06v-4.4A.47.47%2C0%2C0%2C1%2C13.91%2C13.37ZM15%2C9.65a1.07%2C1.07%2C0%2C0%2C0-1.08%2C1v.09h2.18A1.08%2C1.08%2C0%2C0%2C0%2C15%2C9.65Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E";const CL=e=>{const[t,r]=u.useState(""),[o,n]=u.useState(!e.validateValue||e.validateValue(t));return u.useEffect(()=>{n(!e.validateValue||e.validateValue(t))},[t]),E.jsxs("div",{className:fL({line:!0,valid:o,invalid:!o},vL),children:[e.label&&E.jsx("label",{children:e.label}),E.jsx("input",{className:vL.input,type:"text",placeholder:e.placeholder,value:t,onChange:e=>{r(e.target.value)}}),E.jsxs("div",{children:[E.jsx(pL,{color:"light",size:"smaller",backgroundColor:"inherit",onClick:()=>{e.submitValue(t)},disabled:!o,children:E.jsx(gL,{icon:mL,color:"dark"})}),E.jsx(pL,{color:"light",size:"smaller",backgroundColor:"inherit",onClick:()=>{e.cancelSubmit?.(),r("")},children:E.jsx(gL,{icon:bL,color:"dark"})})]})]})};var yL;VH(".OptionsLineComponent-module_optionsLine__skE9n{font-family:acumin-pro-condensed,sans-serif;font-size:12px;height:25px;padding-left:15px}.OptionsLineComponent-module_optionsSelect__McGQI{border:unset;height:100%;width:100%}"),function(e){e[e.Default=0]="Default",e[e.Adding=1]="Adding"}(yL||(yL={}));const xL="addCustomOption",wL=e=>{const[t,r]=u.useState(yL.Default);return E.jsxs("div",{className:"OptionsLineComponent-module_optionsLine__skE9n",children:[t===yL.Adding&&E.jsx(CL,{submitValue:t=>{const o={label:t,value:t,id:Date.now().toString()};e.onOptionAdded?.(o),e.onOptionSelected(o.value),r(yL.Default)},placeholder:e.addOptionPlaceholder,validateValue:e.validateNewOptionValue,cancelSubmit:()=>{r(yL.Default)}}),t===yL.Default&&E.jsxs("select",{className:"OptionsLineComponent-module_optionsSelect__McGQI",onChange:t=>{t.target.value===xL?r(yL.Adding):e.onOptionSelected(t.target.value)},value:e.selectedOptionValue,children:[e.onOptionAdded&&E.jsx("option",{value:xL,children:e.addOptionText??"Custom"},xL),e.options.map(e=>E.jsx("option",{value:e.value,children:e.label},e.id))]})]})};var kL,BL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M10%2C7a3%2C3%2C0%2C0%2C0-3%2C3v3.5a.5.5%2C0%2C0%2C0%2C1%2C0V10a2%2C2%2C0%2C0%2C1%2C2-2h3.5a.5.5%2C0%2C0%2C0%2C0-1Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M16.5%2C7a.5.5%2C0%2C0%2C0%2C0%2C1H20a2%2C2%2C0%2C0%2C1%2C2%2C2v3.5a.5.5%2C0%2C0%2C0%2C1%2C0V10a3%2C3%2C0%2C0%2C0-3-3Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M7.5%2C16a.5.5%2C0%2C0%2C1%2C.5.5V20a2%2C2%2C0%2C0%2C0%2C2%2C2h3.5a.5.5%2C0%2C0%2C1%2C0%2C1H10a3%2C3%2C0%2C0%2C1-3-3V16.5A.5.5%2C0%2C0%2C1%2C7.5%2C16Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M23%2C16.5a.5.5%2C0%2C0%2C0-1%2C0V20a2%2C2%2C0%2C0%2C1-2%2C2H16.5a.5.5%2C0%2C0%2C0%2C0%2C1H20a3%2C3%2C0%2C0%2C0%2C3-3Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",zL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M10.92%2C6.83a.61.61%2C0%2C0%2C1%2C.57.4l2.41%2C6.52v0l.18.49L13.42%2C16l-.51-1.38h-4L8%2C17.05a.61.61%2C0%2C0%2C1-.79.36.62.62%2C0%2C0%2C1-.36-.79l1-2.84v0l2.41-6.52A.62.62%2C0%2C0%2C1%2C10.92%2C6.83ZM9.38%2C13.37h3.07L10.92%2C9.21Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M16.48%2C10.48a.6.6%2C0%2C0%2C1%2C.57-.38.59.59%2C0%2C0%2C1%2C.56.39l4.54%2C11.45h.4a.62.62%2C0%2C1%2C1%2C0%2C1.23h-2a.62.62%2C0%2C0%2C1%2C0-1.23h.32l-1-2.45H14.22l-1%2C2.45h.32a.62.62%2C0%2C0%2C1%2C0%2C1.23h-2a.62.62%2C0%2C0%2C1%2C0-1.23h.4Zm2.9%2C7.78L17%2C12.37l-2.33%2C5.89Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",jL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M7%2C14.4a8%2C8%2C0%2C0%2C1%2C16%2C0h0V15A8%2C8%2C0%2C0%2C1%2C7%2C15v-.6Zm8-6.21A6.8%2C6.8%2C0%2C0%2C0%2C8.22%2C14.4H21.78A6.8%2C6.8%2C0%2C0%2C0%2C15%2C8.19Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",SL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M10.16%2C10.76a.6.6%2C0%2C0%2C1%2C.6-.6h2a.61.61%2C0%2C1%2C1%2C0%2C1.21h-.56l1.39%2C1.39a.6.6%2C0%2C0%2C1-.85.85l-1.39-1.39v.56a.61.61%2C0%2C1%2C1-1.21%2C0Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M19.24%2C19.85a.64.64%2C0%2C0%2C0%2C.43-.18.63.63%2C0%2C0%2C0%2C.17-.43v-2a.61.61%2C0%2C1%2C0-1.21%2C0v.56l-1.39-1.39a.6.6%2C0%2C1%2C0-.85.85l1.39%2C1.39h-.56a.61.61%2C0%2C0%2C0%2C0%2C1.22Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M19.67%2C10.33a.63.63%2C0%2C0%2C1%2C.17.43v2a.61.61%2C0%2C1%2C1-1.21%2C0v-.56l-1.39%2C1.39a.6.6%2C0%2C1%2C1-.85-.85l1.39-1.39h-.56a.61.61%2C0%2C1%2C1%2C0-1.21h2A.63.63%2C0%2C0%2C1%2C19.67%2C10.33Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M10.16%2C19.24a.58.58%2C0%2C0%2C0%2C.6.6h2a.61.61%2C0%2C1%2C0%2C0-1.21h-.56l1.39-1.39a.6.6%2C0%2C1%2C0-.85-.85l-1.39%2C1.39v-.56a.61.61%2C0%2C0%2C0-1.21%2C0Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M7.73%2C9.55A1.83%2C1.83%2C0%2C0%2C1%2C9.55%2C7.73h10.9a1.83%2C1.83%2C0%2C0%2C1%2C1.82%2C1.82v10.9a1.83%2C1.83%2C0%2C0%2C1-1.82%2C1.82H9.55a1.83%2C1.83%2C0%2C0%2C1-1.82-1.82Zm1.82-.61a.62.62%2C0%2C0%2C0-.61.61v10.9a.62.62%2C0%2C0%2C0%2C.61.61h10.9a.62.62%2C0%2C0%2C0%2C.61-.61V9.55a.62.62%2C0%2C0%2C0-.61-.61Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",NL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M8.31%2C10.34a8.34%2C8.34%2C0%2C0%2C1%2C14.25%2C8.34c-1.35%2C3.7-4.91%2C5.16-7.47%2C3.3a3.82%2C3.82%2C0%2C0%2C1-1.52-3l-.08-.81%2C0-.32c-.1-.76-.26-1.1-.58-1.28a1.27%2C1.27%2C0%2C0%2C0-1.3%2C0l-.28.12-.15.06a3.12%2C3.12%2C0%2C0%2C1-2.07.34L8.9%2C17l-.13%2C0C6.49%2C16.29%2C6.15%2C13.2%2C8.31%2C10.34Zm.8%2C5.48.1%2C0%2C.11%2C0a1.81%2C1.81%2C0%2C0%2C0%2C1.17-.19l.49-.21a2.47%2C2.47%2C0%2C0%2C1%2C3.68%2C2.21l0%2C.37.05.44%2C0%2C.34a2.75%2C2.75%2C0%2C0%2C0%2C1%2C2.16c1.86%2C1.35%2C4.52.25%2C5.61-2.73A7.11%2C7.11%2C0%2C0%2C0%2C9.29%2C11.07C7.59%2C13.33%2C7.8%2C15.38%2C9.11%2C15.82Zm9.16-1.63a1%2C1%2C0%2C0%2C1%2C2-.53%2C1%2C1%2C0%2C1%2C1-2%2C.53ZM18.68%2C17a1%2C1%2C0%2C1%2C1%2C1.24.72A1%2C1%2C0%2C0%2C1%2C18.68%2C17Zm-2-5.3a1%2C1%2C0%2C0%2C1%2C.72-1.25%2C1%2C1%2C0%2C1%2C1%2C.53%2C2A1%2C1%2C0%2C0%2C1%2C16.66%2C11.74Zm0%2C7.35a1%2C1%2C0%2C0%2C1%2C.72-1.25%2C1%2C1%2C0%2C0%2C1%2C.53%2C2A1%2C1%2C0%2C0%2C1%2C16.63%2C19.09ZM13.78%2C11a1%2C1%2C0%2C1%2C1%2C1.25.72A1%2C1%2C0%2C0%2C1%2C13.78%2C11Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",_L="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M7.31%2C16.54v4.1a2%2C2%2C0%2C0%2C0%2C2%2C2H21.42a2%2C2%2C0%2C0%2C0%2C2-2V11.78a2%2C2%2C0%2C0%2C0-2-2H14.21L15.42%2C11h6a.8.8%2C0%2C0%2C1%2C.8.81v8.86a.8.8%2C0%2C0%2C1-.8.81H9.33a.81.81%2C0%2C0%2C1-.81-.81V17.75Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M10.54%2C8a.6.6%2C0%2C1%2C1%2C1.2%2C0V9a1.57%2C1.57%2C0%2C0%2C1%2C1%2C.46l2.85%2C2.85a1.61%2C1.61%2C0%2C0%2C1%2C0%2C2.28L12.17%2C18a1.61%2C1.61%2C0%2C0%2C1-2.28%2C0L7%2C15.13a1.61%2C1.61%2C0%2C0%2C1%2C0-2.28l3.42-3.42.08-.07Zm0%2C3.62v-.5L8.21%2C13.4h6.64a.34.34%2C0%2C0%2C0-.12-.26l-2.85-2.85a.34.34%2C0%2C0%2C0-.14-.09v1.37a.6.6%2C0%2C1%2C1-1.2%2C0Zm-2.32%2C3%2C2.52%2C2.52a.42.42%2C0%2C0%2C0%2C.57%2C0l2.53-2.52Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M14.57%2C17.32a2.76%2C2.76%2C0%2C0%2C1%2C.27-1.12%2C5.33%2C5.33%2C0%2C0%2C1%2C.54-.91c.2-.27.39-.49.53-.65l.24-.26h0a.6.6%2C0%2C0%2C1%2C.86%2C0l.24.27a6%2C6%2C0%2C0%2C1%2C.53.65%2C5.33%2C5.33%2C0%2C0%2C1%2C.54.91%2C2.76%2C2.76%2C0%2C0%2C1%2C.28%2C1.12%2C2%2C2%2C0%2C1%2C1-4%2C0ZM16.37%2C16a4.15%2C4.15%2C0%2C0%2C0-.43.72%2C1.57%2C1.57%2C0%2C0%2C0-.17.61.81.81%2C0%2C1%2C0%2C1.62%2C0%2C1.57%2C1.57%2C0%2C0%2C0-.17-.61%2C4.15%2C4.15%2C0%2C0%2C0-.43-.72l-.21-.28Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",TL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C13.19a3.23%2C3.23%2C0%2C1%2C1-3.22%2C3.22A3.22%2C3.22%2C0%2C0%2C1%2C15%2C13.19Zm0%2C1.21a2%2C2%2C0%2C1%2C0%2C2%2C2A2%2C2%2C0%2C0%2C0%2C15%2C14.4Zm0-4a8.06%2C8.06%2C0%2C0%2C1%2C7.82%2C6.1.61.61%2C0%2C0%2C1-1.18.29%2C6.84%2C6.84%2C0%2C0%2C0-13.28%2C0%2C.61.61%2C0%2C0%2C1-1.18-.3A8.07%2C8.07%2C0%2C0%2C1%2C15%2C10.36Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",qL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C6.91A8.09%2C8.09%2C0%2C1%2C1%2C6.91%2C15%2C8.09%2C8.09%2C0%2C0%2C1%2C15%2C6.91Zm0%2C1.22A6.87%2C6.87%2C0%2C1%2C0%2C21.87%2C15%2C6.86%2C6.86%2C0%2C0%2C0%2C15%2C8.13ZM15%2C11a.61.61%2C0%2C0%2C1%2C.61.6v2.83h2.83a.61.61%2C0%2C0%2C1%2C0%2C1.22H15.61v2.83a.61.61%2C0%2C0%2C1-1.22%2C0V15.61H11.56a.61.61%2C0%2C0%2C1%2C0-1.22h2.83V11.56A.61.61%2C0%2C0%2C1%2C15%2C11Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",FL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M25.29%2C26.51a.41.41%2C0%2C0%2C1-.41.41H15.12a.41.41%2C0%2C0%2C1-.41-.41v-13a.41.41%2C0%2C0%2C1%2C.41-.41H20v3.66a1.63%2C1.63%2C0%2C0%2C0%2C1.63%2C1.63h3.66ZM21.22%2C14l3.16%2C3.16H21.63a.41.41%2C0%2C0%2C1-.41-.41ZM26%2C17.08l-4.75-4.74-.07-.06L21%2C12.13l-.1-.05-.18-.1a1.72%2C1.72%2C0%2C0%2C0-.51-.11H15.12a1.63%2C1.63%2C0%2C0%2C0-1.63%2C1.63v13a1.63%2C1.63%2C0%2C0%2C0%2C1.63%2C1.63h9.76a1.63%2C1.63%2C0%2C0%2C0%2C1.63-1.63V18.23A1.65%2C1.65%2C0%2C0%2C0%2C26%2C17.08Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E";function DL(e){return E.jsx("button",{className:"unit",onClick:()=>{e.onClick&&!e.locked&&e.onClick(e.unit||"")},disabled:e.locked,children:e.unit})}class EL{static LookForItems(e,t,r=!0){if(0==t.length)return!1;if(!r&&t.includes(e))return!0;const o=e.getChildren?e.getChildren():e.children;if(o)for(const e of o)if(EL.LookForItems(e,t,!1))return!0;return!1}static _RecursiveRemoveHiddenMeshesAndHoistChildren(e){const t=[];for(const r of e)if(r.reservedDataStore&&r.reservedDataStore.hidden&&r.getChildMeshes){const e=EL._RecursiveRemoveHiddenMeshesAndHoistChildren(r.getChildMeshes());for(const r of e)t.push(r)}else r.reservedDataStore&&r.reservedDataStore.hidden||t.push(r);return t}static SortAndFilter(e,t){if(!t)return[];const r=EL._RecursiveRemoveHiddenMeshesAndHoistChildren(t);return e&&e.reservedDataStore&&e.reservedDataStore.detachedChildren&&r.push(...e.reservedDataStore.detachedChildren),r.reverse()}static GetCellInfo(e,r){const o=e.getChildCellInfo(r);let n=parseInt(o.substring(0,o.search(":")));isNaN(n)&&(n=0);let a=parseInt(o.substring(o.search(":")+1));return isNaN(a)&&(a=0),new t.Vector2(n,a)}static ReorderGrid(e,t,r,o){const n=[],a=[],i=e.children.length;for(let r=t;r<i;++r){const r=e.children[t];a.push(r),n.push(EL.GetCellInfo(e,r)),e.removeControl(r)}e.addControl(r,o.x,o.y);for(let t=0;t<a.length;++t)e.addControl(a[t],n[t].x,n[t].y)}}VH('#workbench-canvas{background-image:linear-gradient(90deg,#4f4e4f 1px,transparent 0),linear-gradient(180deg,#4f4e4f 1px,transparent 0);cursor:default;font:14px acumin-pro-condensed;grid-column:1;grid-row:1;height:100%;margin:0;overflow:hidden;padding:0;user-select:none;width:100%}#workbench-canvas #selection-container{pointer-events:none}#workbench-canvas #selection-container .selection-box{background:rgba(72,72,196,.5);border:2px solid blue;z-index:10}#workbench-canvas #workbench-container{display:grid;grid-template-columns:100%;grid-template-rows:100%;height:100%;left:0;top:0;transform-origin:left top;width:100%}#workbench-canvas #workbench-container #frame-container{grid-column:1;grid-row:1;height:100%;overflow:visible;position:relative;width:100%}#workbench-canvas #workbench-container .frame-box{background:rgba(72,72,72,.7);box-sizing:border-box;display:grid;grid-template-columns:100%;grid-template-rows:40px calc(100% - 40px);position:absolute}#workbench-canvas #workbench-container .frame-box.collapsed{height:auto!important;width:200px!important;z-index:3}#workbench-canvas #workbench-container .frame-box.collapsed .frame-box-header{font-size:16px;grid-template-columns:calc(100% - 37px) 30px 7px}#workbench-canvas #workbench-container .frame-box.collapsed .frame-box-header .frame-box-header-collapse{margin-top:-2px}#workbench-canvas #workbench-container .frame-box.collapsed .frame-box-header .frame-box-header-close{display:none}#workbench-canvas #workbench-container .frame-box.collapsed .frame-comments.has-comments .frame-comment-span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#workbench-canvas #workbench-container .frame-box .frame-box-border{border:4px solid transparent;box-sizing:border-box;grid-column:1;grid-row:1/span 2;height:100%;pointer-events:none;width:100%}#workbench-canvas #workbench-container .frame-box .frame-box-header{align-content:center;background:#484848;color:#fff;display:grid;font-size:24px;grid-column:1;grid-row:1;grid-template-columns:calc(100% - 74px) 30px 7px 30px 7px;grid-template-rows:100%;overflow:hidden;text-align:center}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-button{stroke:transparent;fill:#fff;align-self:center;cursor:pointer;display:grid;transform:scale(1);transform-origin:50% 50%}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-button.down{transform:scale(.9)}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-collapse{grid-column:2;grid-row:1}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-close{grid-column:4;grid-row:1}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-title{align-items:center;align-self:stretch;display:grid;grid-column:1;grid-row:1;height:100%;margin-top:-2px;width:100%}#workbench-canvas #workbench-container .frame-box .frame-comments.has-comments{word-wrap:break-word;display:grid;font-style:italic;grid-column:1;grid-row:2;padding:0 10px}#workbench-canvas #workbench-container .frame-box.selected .frame-box-border{border-color:#fff}#workbench-canvas #workbench-container .frame-box .right-handle{background-color:transparent;cursor:ew-resize;grid-area:1/2/3/2;width:4px}#workbench-canvas #workbench-container .frame-box .right-handle:after{bottom:0;content:"";cursor:ew-resize;margin-left:-4px;position:absolute;top:0;width:8px}#workbench-canvas #workbench-container .frame-box .right-handle.collapsed{cursor:pointer}#workbench-canvas #workbench-container .frame-box .top-right-corner-handle{background-color:transparent;cursor:ne-resize;height:4px;margin-left:-6px;width:4px;z-index:21}#workbench-canvas #workbench-container .frame-box .top-right-corner-handle:after{background-color:transparent;cursor:ne-resize;height:10px;margin-left:unset;top:-4px;width:10px}#workbench-canvas #workbench-container .frame-box .bottom-right-corner-handle{background-color:transparent;cursor:nw-resize;grid-area:4/2/4/2;height:0;margin-left:-2px;z-index:21}#workbench-canvas #workbench-container .frame-box .bottom-right-corner-handle:after{background-color:transparent;bottom:-4px;cursor:nw-resize;height:10px;top:unset;width:10px}#workbench-canvas #workbench-container .frame-box .left-handle{background-color:transparent;cursor:ew-resize;grid-area:1/1/3/1;width:4px}#workbench-canvas #workbench-container .frame-box .left-handle:before{bottom:0;content:"";margin-left:-4px;position:absolute;top:0;width:8px}#workbench-canvas #workbench-container .frame-box .top-left-corner-handle{background-color:transparent;cursor:nw-resize;height:4px;margin-left:-4px;width:4px;z-index:21}#workbench-canvas #workbench-container .frame-box .top-left-corner-handle:before{background-color:transparent;cursor:nw-resize;height:10px;margin-left:unset;top:-4px;width:10px}#workbench-canvas #workbench-container .frame-box .bottom-left-corner-handle{background-color:transparent;cursor:sw-resize;grid-area:4/1/4/1;height:0;z-index:21}#workbench-canvas #workbench-container .frame-box .bottom-left-corner-handle:before{background-color:transparent;bottom:-4px;cursor:sw-resize;height:10px;top:unset;width:10px}#workbench-canvas #workbench-container .frame-box .top-handle{background-color:transparent;cursor:ns-resize;grid-area:1/1/1/1;height:4px}#workbench-canvas #workbench-container .frame-box .top-handle:before{bottom:100%;content:"";cursor:ns-resize;height:8px;left:0;margin-bottom:-8px;position:absolute;right:0;top:-4px;width:100%}#workbench-canvas #workbench-container .frame-box .bottom-handle{background-color:transparent;cursor:ns-resize;grid-area:3/1/3/1;height:4px}#workbench-canvas #workbench-container .frame-box .bottom-handle:after{bottom:0;content:"";cursor:ns-resize;height:12px;left:0;margin-top:-8px;position:absolute;right:0;top:100%;width:100%}#workbench-canvas #workbench-container .frame-box.collapsed .bottom-handle,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-handle:after,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-left-corner-handle,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-left-corner-handle:before,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-right-corner-handle,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-right-corner-handle:after,#workbench-canvas #workbench-container .frame-box.collapsed .left-handle,#workbench-canvas #workbench-container .frame-box.collapsed .left-handle:before,#workbench-canvas #workbench-container .frame-box.collapsed .right-handle,#workbench-canvas #workbench-container .frame-box.collapsed .right-handle:after,#workbench-canvas #workbench-container .frame-box.collapsed .top-handle,#workbench-canvas #workbench-container .frame-box.collapsed .top-handle:before,#workbench-canvas #workbench-container .frame-box.collapsed .top-left-corner-handle,#workbench-canvas #workbench-container .frame-box.collapsed .top-left-corner-handle:before,#workbench-canvas #workbench-container .frame-box.collapsed .top-right-corner-handle,#workbench-canvas #workbench-container .frame-box.collapsed .top-right-corner-handle:after{cursor:default}#workbench-canvas #workbench-container #workbench-svg-container{grid-column:1;grid-row:1;height:100%;overflow:visible;pointer-events:none;position:relative;width:100%;z-index:2}#workbench-canvas #workbench-container #workbench-svg-container .link{stroke-width:4px}#workbench-canvas #workbench-container #workbench-svg-container .link.selected{stroke:#fff!important;stroke-dasharray:10,2}#workbench-canvas #workbench-container #workbench-svg-container .link.hidden{display:none}#workbench-canvas #workbench-container #workbench-svg-container .selection-link{stroke-width:16px;stroke:transparent;cursor:pointer;opacity:0;pointer-events:all;transition:opacity 75ms}#workbench-canvas #workbench-container #workbench-svg-container .selection-link.hidden{display:none}#workbench-canvas #workbench-container #workbench-svg-container .selection-link.selected,#workbench-canvas #workbench-container #workbench-svg-container .selection-link:hover{stroke:#fff!important;opacity:.4}#workbench-canvas #workbench-container #workbench-canvas-container{grid-column:1;grid-row:1;height:100%;position:relative;width:100%}#workbench-canvas #workbench-container #workbench-canvas-container .visual{background:gray;border:4px solid #000;border-radius:12px;color:#fff;display:grid;grid-template-columns:100%;grid-template-rows:30px auto;left:0;position:absolute;top:0;width:200px;z-index:4}#workbench-canvas #workbench-container #workbench-canvas-container .visual.hidden{display:none}#workbench-canvas #workbench-container #workbench-canvas-container .visual .comments{align-items:flex-end;display:grid;font-style:italic;height:45px;opacity:.8;overflow:hidden;pointer-events:none;position:absolute;top:-50px;width:200px}#workbench-canvas #workbench-container #workbench-canvas-container .visual .selection-border{border:4px solid #000;border-radius:12px;grid-column:1;grid-row:1/span 3;margin:-4px;transition:border-color .1s}#workbench-canvas #workbench-container #workbench-canvas-container .visual.selected .selection-border{border-color:#fff}#workbench-canvas #workbench-container #workbench-canvas-container .visual .header{background:#000;border:4px solid #000;border-top-left-radius:7px;border-top-right-radius:7px;color:#fff;font-size:16px;grid-column:1;grid-row:1;margin-left:-1px;margin-right:-1px;margin-top:-1px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}#workbench-canvas #workbench-container #workbench-canvas-container .visual .header.constant{background:#464348;border-color:#464348}#workbench-canvas #workbench-container #workbench-canvas-container .visual .header.inspector{background:#66491b;border-color:#66491b}'),function(e){e[e.NONE=0]="NONE",e[e.X=2]="X",e[e.Y=3]="Y"}(kL||(kL={}));class PL extends u.Component{static get addedFonts(){return this._addedFonts}get visibleRegionContainer(){return this._visibleRegionContainer}get panAndZoomContainer(){return this._panAndZoomContainer}set trueRootContainer(e){e!==this._trueRootContainer&&(this._visibleRegionContainer.children.forEach(e=>this._visibleRegionContainer.removeControl(e)),this._visibleRegionContainer.addControl(e),this._trueRootContainer=e,e._host=this.props.globalState.guiTexture)}get trueRootContainer(){return this._trueRootContainer}get guiSize(){return this._guiSize}get pasteDisabled(){return this._pasteDisabled}set guiSize(e){this._guiSize={...e},this._visibleRegionContainer.widthInPixels=this._guiSize.width,this._visibleRegionContainer.heightInPixels=this._guiSize.height,this.props.globalState.onResizeObservable.notifyObservers(this._guiSize),this.props.globalState.onReframeWindowObservable.notifyObservers(),this.props.globalState.onWindowResizeObservable.notifyObservers()}applyEditorTransformation(){const e=this.props.globalState.guiTexture;e._rootContainer!=this._panAndZoomContainer&&(e._rootContainer=this._panAndZoomContainer,this._visibleRegionContainer.addControl(this._trueRootContainer),this.props.globalState.guiTexture.markAsDirty()),e.getSize().width===this._engine.getRenderWidth()&&e.getSize().height===this._engine.getRenderHeight()||e.scaleTo(this._engine.getRenderWidth(),this._engine.getRenderHeight()),e.getSize().width===this._engine.getRenderWidth()&&e.getSize().height===this._engine.getRenderHeight()||e.scaleTo(this._engine.getRenderWidth(),this._engine.getRenderHeight()),this._trueRootContainer.clipContent=!1,this._trueRootContainer.clipChildren=!1}removeEditorTransformation(){const e=this.props.globalState.guiTexture;e._rootContainer!=this._trueRootContainer&&(this._visibleRegionContainer.removeControl(this._trueRootContainer),e._rootContainer=this._trueRootContainer),this._trueRootContainer.clipContent=!0,this._trueRootContainer.clipChildren=!0}_reframeWindow(){this._panningOffset=new t.Vector2(0,0);const e=this._engine.getRenderWidth()/this.guiSize.width,r=this._engine.getRenderHeight()/this.guiSize.height;this._zoomFactor=.9*Math.min(e,r)}constructor(e){super(e),this._setConstraintDirection=!1,this._mouseStartPoint=null,this._constraintDirection=kL.NONE,this._isOverGUINode=[],this._doubleClick=null,this._currLeft=0,this._currTop=0,this._controlsHit=[],this._pointerTravelDistance=0,this._processSelectionOnUp=!1,this._centerZoomMousePosition=new t.Vector2(0,0),this._hasPerformedDragZoom=!1,this._defaultGUISize={width:1024,height:1024},this._initialPanningOffset=new t.Vector2(0,0),this._panningOffset=new t.Vector2(0,0),this._zoomFactor=1,this._zoomModeIncrement=.2,this._guiSize=this._defaultGUISize,this._pasteDisabled=!0,this.keyEvent=e=>{"INPUT"!==e.target.nodeName&&(e.shiftKey?this._setConstraintDirection=this._constraintDirection===kL.NONE:(this._setConstraintDirection=!1,this._constraintDirection=kL.NONE),this.props.globalState.shiftKeyPressed=e.shiftKey&&"keydown"===e.type,"Delete"!==e.key&&"Backspace"!==e.key||this.props.globalState.lockObject.lock||this.props.globalState.deleteSelectedNodes(),this.props.globalState.keys.isKeyDown("control")&&!this.props.globalState.lockObject.lock&&"a"===e.key&&(e.preventDefault(),this.props.globalState.setSelection(this.trueRootContainer.children)))},this.blurEvent=()=>{this._constraintDirection=kL.NONE,this.props.globalState.onPointerUpObservable.notifyObservers(null)},this._controlToLinkedMeshMap=new Map,this._observersMap={onPointerDownObservable:new Map,onPointerUpObservable:new Map,onPointerMoveObservable:new Map,onPointerEnterObservable:new Map,onPointerOutObservable:new Map,onPointerClickObservable:new Map,onDisposeObservable:new Map,onIsVisibleChangedObservable:new Map,onBeforeDrawObservable:new Map,onAfterDrawObservable:new Map,onWheelObservable:new Map};const{globalState:r}=e;this._rootContainer=u.createRef(),r.onSelectionChangedObservable.add(()=>this.updateNodeOutlines()),r.onToolChangeObservable.add(()=>{this.forceUpdate()}),r.onFitControlsToWindowObservable.add(()=>{if(r.selectedControls.length){let e=Number.MAX_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER,n=-Number.MAX_SAFE_INTEGER,a=-Number.MAX_SAFE_INTEGER;for(const i of r.selectedControls){const r=-i.widthInPixels/2,l=-i.heightInPixels/2,s=r+i.widthInPixels,c=l+i.heightInPixels,d=j.NodeToRTTSpace(i,r,l,new t.Vector2,void 0,this.trueRootContainer),u=j.NodeToRTTSpace(i,s,c,new t.Vector2,void 0,this.trueRootContainer),f=j.NodeToRTTSpace(i,r,c,new t.Vector2,void 0,this.trueRootContainer),p=j.NodeToRTTSpace(i,s,l,new t.Vector2,void 0,this.trueRootContainer);e=Math.min(e,d.x,u.x,f.x,p.x),o=Math.min(o,d.y,u.y,f.y,p.y),n=Math.max(n,d.x,u.x,f.x,p.x),a=Math.max(a,d.y,u.y,f.y,p.y)}const i=n-e,l=a-o,s=(e+n)/2,c=(o+a)/2;this._panningOffset=new t.Vector2(-s,c);const d=this._engine.getRenderWidth()/i,u=this._engine.getRenderHeight()/l;this._zoomFactor=.9*Math.min(d,u)}else this._reframeWindow()}),r.onReframeWindowObservable.add(()=>{this._reframeWindow()}),r.onOutlineChangedObservable.add(()=>{this.updateNodeOutlines()}),r.onSelectionChangedObservable.add(()=>{this.updateNodeOutlines()}),r.onParentingChangeObservable.add(e=>{this.parent(e)}),r.hostDocument.addEventListener("keyup",this.keyEvent,!1),r.hostDocument.addEventListener("keydown",this.keyEvent,!1),r.hostDocument.defaultView.addEventListener("blur",this.blurEvent,!1);let o=1;r.onWindowResizeObservable.add(()=>{o+=5}),r.onNewSceneObservable.add(e=>{e&&e.onBeforeRenderObservable.add(()=>{o>0&&(o--,r.onGizmoUpdateRequireObservable.notifyObservers(),this._engine.resize(),r.onArtBoardUpdateRequiredObservable.notifyObservers())})}),r.onCopyObservable.add(e=>this.copyToClipboard(e)),r.onCutObservable.add(e=>this.cutToClipboard(e)),r.onPasteObservable.add(e=>this.pasteFromClipboard(e)),r.workbench=this,r.onResizeObservable.notifyObservers(this._guiSize),r.onPopupClosedObservable.add(()=>{this.dispose()})}copyToClipboard(e){this._pasteDisabled=!1;const t=[];for(const e of this.props.globalState.selectedControls){if("Grid"===e.parent?.getClassName()){const t=e.parent.getChildCellInfo(e),[r,o]=t.split(":");e.metadata={...e.metadata,_cellInfo:{row:r,column:o}}}const r={};e.serialize(r),t.push(r),this._currLeft=e.leftInPixels,this._currTop=e.topInPixels}e(JSON.stringify({GUIClipboard:!0,controls:t}))}cutToClipboard(e){this.copyToClipboard(e),this.props.globalState.deleteSelectedNodes()}pasteFromClipboard(e){try{const t=JSON.parse(e);if(t.GUIClipboard){const e=[];for(const o of t.controls)e.push(r.Control.Parse(o,this.props.globalState.guiTexture));"StackPanel"!=e[0].parent?.typeName&&(this._currLeft+=10,this._currTop+=10),e[0].leftInPixels=this._currLeft,e[0].topInPixels=this._currTop;const o=this.props.globalState.workbench.appendBlock(e[0]);if("Grid"===o.parent?.typeName&&o.metadata?._cellInfo){const{row:e,column:t}=o.metadata._cellInfo,r=o.parent;r.removeControl(o),r.addControl(o,parseInt(e),parseInt(t))}return this.props.globalState.setSelection([o]),!0}}catch{}return t.Logger.Warn("Paste attempted, but clipboard content was invalid."),!1}CopyGUIControl(e){const t={};e.serialize(t);const o=r.Control.Parse(t,this.props.globalState.guiTexture);if(o){if(this.props.globalState.workbench.appendBlock(o),this.props.globalState.guiTexture.removeControl(o),"Grid"===e.parent?.typeName){const t=EL.GetCellInfo(e.parent,e);e.parent.addControl(o,t.x,t.y)}else e.parent?.addControl(o);let t=1;for(;this.props.globalState.guiTexture.getDescendants(!1).filter(e=>e.name===`${o.name} Copy ${t}`).length;)t++;o.name=`${o.name} Copy ${t}`,this.props.globalState.select(o)}}addEditorBehavior(e){e.onPointerUpObservable.add(()=>{this.clicked=!1}),e.onPointerDownObservable.add(t=>{t.buttonIndex>0||this.props.globalState.tool!==_.SELECT||this._controlsHit.push(e)}),e.onPointerEnterObservable.add(()=>{-1===this._isOverGUINode.indexOf(e)&&this._isOverGUINode.push(e)}),e.onPointerOutObservable.add(()=>{const t=this._isOverGUINode.indexOf(e);-1!==t&&this._isOverGUINode.splice(t,1)}),e.onDisposeObservable.add(()=>{const t=this._isOverGUINode.indexOf(e);-1!==t&&this._isOverGUINode.splice(t,1)}),e.metadata={...e.metadata,guiEditor:!0}}removeEditorBehavior(e){e.metadata&&e.metadata.guiEditor&&(delete e.metadata.guiEditor,delete e.metadata.editorUniqueId)}dispose(){this.props.globalState.hostDocument.removeEventListener("keyup",this.keyEvent),this.props.globalState.hostDocument.removeEventListener("keydown",this.keyEvent),this.props.globalState.hostDocument.defaultView.removeEventListener("blur",this.blurEvent),this._guiRenderObserver&&this.props.globalState.guiTexture.onEndRenderObservable.remove(this._guiRenderObserver),this._engine.dispose()}loadFromJson(e){this.removeEditorTransformation(),this.props.globalState.setSelection([]),this.props.globalState.liveGuiTexture?(this.props.globalState.liveGuiTexture?.parseContent(e,!0),this.synchronizeLiveGUI()):this.props.globalState.guiTexture.parseContent(e,!0),this.trueRootContainer=this.props.globalState.guiTexture._rootContainer,this.guiSize=this.props.globalState.guiTexture.getSize(),this.loadToEditor()}loadControlFromJson(e){const t=[];for(const o of e.controls){const e=r.Control.Parse(o,this.props.globalState.guiTexture);t.push(e);const n=this.props.globalState.workbench.appendBlock(e);if("Grid"===n.parent?.typeName&&n.metadata?._cellInfo){const{row:e,column:t}=n.metadata._cellInfo,r=n.parent;r.removeControl(n),r.addControl(n,parseInt(e),parseInt(t))}}this.props.globalState.setSelection(t)}async loadFromSnippet(e){this.removeEditorTransformation(),this.props.globalState.setSelection([]),this.props.globalState.liveGuiTexture?(await(this.props.globalState.liveGuiTexture?.parseFromSnippetAsync(e,!0)),this.synchronizeLiveGUI()):await this.props.globalState.guiTexture.parseFromSnippetAsync(e,!0),this.trueRootContainer=this.props.globalState.guiTexture._rootContainer,this.guiSize=this.props.globalState.guiTexture.getSize(),this.loadToEditor(),this.props.globalState.customLoad&&this.props.globalState.customLoad.action(e).catch(()=>{alert("Unable to load your GUI")})}loadToEditor(){this.props.globalState.guiTexture.rootContainer.getDescendants().forEach(e=>{const t=e.fontFamily.trim().toLowerCase();-1===PL._addedFonts.indexOf(t)&&PL._addedFonts.push(e.fontFamily),this.addEditorBehavior(e)}),this._isOverGUINode=[],this.props.globalState.setSelection([]),this.props.globalState.onFitControlsToWindowObservable.notifyObservers(),this.props.globalState.onFontsParsedObservable.notifyObservers()}updateNodeOutlines(){for(const e of this._trueRootContainer.getDescendants())e.isHighlighted="Grid"===e.getClassName()&&(this.props.globalState.outlines||this.props.globalState.selectedControls.includes(e)),e.highlightLineWidth=5}appendBlock(e){return this.addEditorBehavior(e),e.getDescendants(!0).forEach(e=>this.addEditorBehavior(e)),0!=this.props.globalState.selectedControls.length?this.props.globalState.selectedControls[0].parent?.addControl(e):this.trueRootContainer.addControl(e),e}parent(e){const t=this.props.globalState.draggedControl,o=t?.parent;if(o&&t&&this._isNotChildInsert(e,t))if(null!=e)if(e instanceof r.Container&&this.props.globalState.draggedControlDirection===N.CENTER)o.removeControl(t),e.addControl(t);else if(e.parent)if("Grid"!==e.parent.typeName){o.removeControl(t);let r=e.parent.children.indexOf(e);const n="StackPanel"===e.parent.typeName||"VirtualKeyboard"===e.parent.typeName;r=this._adjustParentingIndex(r,n),e.parent.children.splice(r,0,t),t.parent=e.parent}else e.parent===o||(o.removeControl(t),e.parent.addControl(t)),this._reorderGrid(e.parent,t,e);else o.removeControl(t),this.trueRootContainer.addControl(t);else o.removeControl(t),this.trueRootContainer.addControl(t),this.trueRootContainer.children.pop(),this.trueRootContainer.children.splice(0,0,t);if(t){const e=t.parent;if(e){if("StackPanel"===e.typeName||"VirtualKeyboard"===e.typeName){const o=e.isVertical;t._width.unit!==r.ValueAndUnit.UNITMODE_PERCENTAGE||o||(j.ConvertToPixels(t,["width"]),this.props.globalState.hostWindow.alert("Warning: Parenting to horizontal stack panel converts width to pixel values")),t._height.unit===r.ValueAndUnit.UNITMODE_PERCENTAGE&&o&&(j.ConvertToPixels(t,["height"]),this.props.globalState.hostWindow.alert("Warning: Parenting to vertical stack panel converts height to pixel values"))}e.markAsDirty()}}this.props.globalState.draggedControl=null}_canClone(){return this.props.globalState.liveGuiTexture&&this.props.globalState.guiTexture&&this.trueRootContainer}_saveObservables(e){e.getDescendants().forEach(e=>{e.linkedMesh&&this._controlToLinkedMeshMap.set(e.metadata.editorUniqueId,e.linkedMesh),Object.keys(this._observersMap).forEach(t=>{const r=e[t];r.hasObservers()&&this._observersMap[t].set(e.metadata.editorUniqueId,r)})})}_restoreObservables(e){e.getDescendants().forEach(e=>{if(this._controlToLinkedMeshMap.has(e.metadata?.editorUniqueId)){const t=this._controlToLinkedMeshMap.get(e.metadata.editorUniqueId);t&&e.linkWithMesh(t)}Object.keys(this._observersMap).forEach(t=>{const r=this._observersMap[t].get(e.metadata?.editorUniqueId);r&&(e[t]=r)})}),this._controlToLinkedMeshMap.clear(),Object.keys(this._observersMap).forEach(e=>{this._observersMap[e].clear()})}_copyEditorGUIToLiveGUI(){if(this._canClone()){const e=this.props.globalState.liveGuiTexture.rootContainer;this._saveObservables(e),e.clearControls();const t=new Map,r=this.trueRootContainer.children.slice(0);for(const o of r){const r=o.clone(this.props.globalState.liveGuiTexture);t.set(o,r),e.addControl(r)}this._restoreObservables(e),this._syncConnectedLines(r,t)}}_reorderGrid(e,t,r){const o=EL.GetCellInfo(e,t);e.removeControl(t);let n=e.children.indexOf(r);n=this._adjustParentingIndex(n),EL.ReorderGrid(e,n,t,o)}_isNotChildInsert(e,t){for(;e?.parent;){if(e.parent==t)return!1;e=e.parent}return!0}_adjustParentingIndex(e,t=!1){switch(this.props.globalState.draggedControlDirection){case N.ABOVE:return t?e:e+1;case N.BELOW:case N.CENTER:return t?e+1:e}return e}isSelected(e,t){this.props.globalState.select(t)}_onMove(e,o,n){const a=[];e._top.unit===r.ValueAndUnit.UNITMODE_PERCENTAGE&&a.push("top"),e._left.unit===r.ValueAndUnit.UNITMODE_PERCENTAGE&&a.push("left");let i=o.x-n.x,l=o.y-n.y;this._setConstraintDirection&&(this._setConstraintDirection=!1,this._constraintDirection=Math.abs(i)>=Math.abs(l)?kL.X:kL.Y),this._constraintDirection===kL.X?l=0:this._constraintDirection===kL.Y&&(i=0);const s=new t.Vector2(i,l);if("Line"===e.typeName){const t=e,r=t.x1.substring(0,t.x1.length-2),o=t.x2.substring(0,t.x2.length-2),n=t.y1.substring(0,t.y1.length-2),a=t.y2.substring(0,t.y2.length-2);return t.x1=(Number(r)+i).toFixed(2),t.x2=(Number(o)+i).toFixed(2),t.y1=(Number(n)+l).toFixed(2),t.y2=(Number(a)+l).toFixed(2),void this.props.globalState.onPropertyGridUpdateRequiredObservable.notifyObservers()}let c=0,d=e.parent;for(;d;)c+=d.rotation,d=d.parent;const u=new t.Vector2(0,0),f=Math.sin(-c),p=Math.cos(-c);u.x=p*s.x-f*s.y,u.y=f*s.x+p*s.y,e.leftInPixels+=u.x,e.topInPixels+=u.y,j.ConvertToPercentage(e,a),this.props.globalState.onPropertyGridUpdateRequiredObservable.notifyObservers()}onMove(e){const t=this.getScaledPointerPosition();null==this._mouseStartPoint||this._panning||(this.props.globalState.selectedControls.forEach(e=>{t&&this._onMove(e,t,this._mouseStartPoint)}),this._mouseStartPoint=t||this._mouseStartPoint),this._pointerTravelDistance+=e.movementX*e.movementX+e.movementY*e.movementY,this._panning&&this.panning()}_screenToTexturePosition(e){const r=new t.Vector2(this._zoomFactor,this._zoomFactor);return e.divideInPlace(r).add(this._panningOffset)}getScaledPointerPosition(){return this._screenToTexturePosition(new t.Vector2(this._scene.pointerX,this._scene.pointerY))}startPanning(){this._panning=!0,this._initialPanningOffset=this.getScaledPointerPosition()}endPanning(){this._panning=!1}processSelection(){if(this.props.globalState.usePrevSelected)this.props.globalState.usePrevSelected=!1;else if(0!==this._controlsHit.length){for(const e of this._controlsHit)if(this.props.globalState.selectedControls.includes(e.parent)){if(this._doubleClick===e)return void this.props.globalState.select(e);this._doubleClick=e,window.setTimeout(()=>{this._doubleClick=null},300)}for(const e of this._controlsHit)for(const t of this.props.globalState.selectedControls){if(t.parent===e.parent)return void this.props.globalState.select(e);break}for(const e of this._controlsHit)e.parent===this._trueRootContainer&&this.props.globalState.select(e)}else this.props.globalState.setSelection([])}onDown(e){this._pointerTravelDistance=0,this._rootContainer.current?.setPointerCapture(e.pointerId),this.props.globalState.tool===_.SELECT&&(this._mouseStartPoint=this.getScaledPointerPosition()),this.props.globalState.tool===_.ZOOM&&this._centerZoomMousePosition.set(this._scene.pointerX,this._scene.pointerY),4&e.buttons||this.props.globalState.tool===_.PAN?this.startPanning():(this.endPanning(),0!==this.props.globalState.selectedControls.length&&(this._processSelectionOnUp=!0),this._scene.onAfterRenderObservable.addOnce(()=>{this._processSelectionOnUp&&0!==this._controlsHit.filter(e=>this.props.globalState.selectedControls.includes(e)).length||(this.processSelection(),this._controlsHit=[],this._processSelectionOnUp=!1)}))}onUp(e){this.props.globalState.tool!==_.ZOOM||this._hasPerformedDragZoom||(this._panZoomToCenter(1e3*this._zoomModeIncrement,new t.Vector2(this._scene.pointerX,this._scene.pointerY)),this.zooming(1+(this.props.globalState.keys.isKeyDown("alt")?-this._zoomModeIncrement:this._zoomModeIncrement))),this._hasPerformedDragZoom=!1,this._mouseStartPoint=null,this._centerZoomMousePosition.set(0,0),this._constraintDirection=kL.NONE,this._rootContainer.current?.releasePointerCapture(e.pointerId),this._panning=!1,this._processSelectionOnUp&&(Math.sqrt(this._pointerTravelDistance)<=5&&this.processSelection(),this._controlsHit=[],this._processSelectionOnUp=!1)}_syncConnectedLines(e,t){for(const r of e)if("Line"===r.getClassName()){const e=r;if(e.connectedControl){const r=e.connectedControl,o=t.get(e),n=t.get(r);o&&n&&(o.connectedControl=n)}}}_copyLiveGUIToEditorGUI(){if(this.props.globalState.liveGuiTexture&&this.trueRootContainer){this.props.globalState.liveGuiTexture.rootContainer.getDescendants().forEach(e=>{e.metadata={...e.metadata??{},editorUniqueId:t.RandomGUID()}}),this.trueRootContainer.clearControls();const e=new Map;for(const t of this.props.globalState.liveGuiTexture.rootContainer.children){const r=t.clone(this.props.globalState.guiTexture);e.set(t,r),this.appendBlock(r)}this._syncConnectedLines(this.props.globalState.liveGuiTexture.rootContainer.children,e)}}createGUICanvas(e){const o=this._rootContainer.current;this._engine=new t.Engine(o),this._scene=new t.Scene(this._engine),this._scene.clearColor=new t.Color4(0,0,0,0),new t.HemisphericLight("light1",t.Axis.Y,this._scene).intensity=.9,this.props.globalState.liveGuiTexture?(this._guiSize.width=this.props.globalState.liveGuiTexture.getSize().width,this._guiSize.height=this.props.globalState.liveGuiTexture.getSize().height,o.width=this._guiSize.width,o.height=this._guiSize.height):(this._guiSize.width=t.DataStorage.ReadNumber("GUIEditorWidth",1024),this._guiSize.height=t.DataStorage.ReadNumber("GUIEditorHeight",1024)),this._panAndZoomContainer=new r.Container("panAndZoom"),this._panAndZoomContainer.clipContent=!1,this._panAndZoomContainer.clipChildren=!1,this._visibleRegionContainer=new r.Container("visibleRegion"),this._visibleRegionContainer.clipChildren=!1,this._visibleRegionContainer.clipContent=!1,this._visibleRegionContainer.widthInPixels=this.guiSize.width,this._visibleRegionContainer.heightInPixels=this.guiSize.height,this._panAndZoomContainer.addControl(this._visibleRegionContainer);const n=this.props.globalState.guiTexture=this._visibleRegionContainer._host=this._panAndZoomContainer._host=r.AdvancedDynamicTexture.CreateFullscreenUI("guiTexture",!0,this._scene,t.Texture.NEAREST_NEAREST_MIPNEAREST,!1);n.useInvalidateRectOptimization=!1,this.trueRootContainer=n.rootContainer,n.onEndRenderObservable.add(()=>this.props.globalState.onGizmoUpdateRequireObservable.notifyObservers()),this._copyLiveGUIToEditorGUI(),new t.ArcRotateCamera("Camera",0,0,0,t.Vector3.Zero(),this._scene),this.addControls(this._scene),this._scene.getEngine().onCanvasPointerOutObservable.clear(),this._scene.doNotHandleCursors=!0,this.props.globalState.hostWindow.addEventListener("resize",()=>{this.props.globalState.onWindowResizeObservable.notifyObservers(),this._scene.onBeforeRenderObservable.addOnce(()=>{this.props.globalState.onWindowResizeObservable.notifyObservers()})}),this.props.globalState.onWindowResizeObservable.notifyObservers(),this.props.globalState.guiTexture.onBeginRenderObservable.add(()=>{this.applyEditorTransformation()}),this.props.globalState.onPropertyChangedObservable.add(e=>{e.object.markAsDirty(!1),this.props.globalState.onWindowResizeObservable.notifyObservers()});const a=function(e){let t=0;return function(...r){const o=Date.now();o-t<33||(t=o,e(...r))}}(()=>{this._copyEditorGUIToLiveGUI()});this.props.globalState.liveGuiTexture&&(this._guiRenderObserver=this.props.globalState.guiTexture.onEndRenderObservable.add(a)),this._engine.runRenderLoop(()=>{this._scene.render()}),this.props.globalState.onNewSceneObservable.notifyObservers(this.props.globalState.guiTexture.getScene()),this.props.globalState.onPropertyGridUpdateRequiredObservable.notifyObservers(),this.props.globalState.onFitControlsToWindowObservable.notifyObservers()}synchronizeLiveGUI(){this.props.globalState.liveGuiTexture&&(this._trueRootContainer.getDescendants().forEach(e=>e.dispose()),this.props.globalState.liveGuiTexture.rootContainer.getDescendants(!0).forEach(e=>{this.props.globalState.liveGuiTexture?.removeControl(e),this.appendBlock(e)}),this.props.globalState.guiTexture.snippetId=this.props.globalState.liveGuiTexture.snippetId)}addControls(e){e.onKeyboardObservable.add(e=>{switch(e.event.key){case"ArrowUp":this.moveControls(!1,e.event.shiftKey?-5:-1);break;case"ArrowDown":this.moveControls(!1,e.event.shiftKey?5:1);break;case"ArrowLeft":this.moveControls(!0,e.event.shiftKey?-5:-1);break;case"ArrowRight":this.moveControls(!0,e.event.shiftKey?5:1)}},t.KeyboardEventTypes.KEYDOWN),e.onBeforeRenderObservable.add(()=>{this._panAndZoomContainer.scaleX!==this._zoomFactor&&(this._panAndZoomContainer.scaleX=this._zoomFactor,this._panAndZoomContainer.scaleY=this._zoomFactor,this.props.globalState.onArtBoardUpdateRequiredObservable.notifyObservers(),this.props.globalState.onGizmoUpdateRequireObservable.notifyObservers());const e=this._zoomFactor*this._panningOffset.x,t=this._zoomFactor*-this._panningOffset.y;this._panAndZoomContainer.leftInPixels===e&&this._panAndZoomContainer.topInPixels===t||(this._panAndZoomContainer.leftInPixels=e,this._panAndZoomContainer.topInPixels=t,this.props.globalState.onArtBoardUpdateRequiredObservable.notifyObservers(),this.props.globalState.onGizmoUpdateRequireObservable.notifyObservers())})}panning(){const e=this.getScaledPointerPosition().subtract(this._initialPanningOffset).multiplyByFloats(1,-1);this._panningOffset=this._panningOffset.add(e),this._initialPanningOffset=this.getScaledPointerPosition(),this.props.globalState.onWindowResizeObservable.notifyObservers()}moveControls(e,t){for(const r of this.props.globalState.selectedControls)if(e){const e=r.leftInPixels;r.leftInPixels+=t,this.props.globalState.onPropertyChangedObservable.notifyObservers({object:r,property:"leftInPixels",value:r.leftInPixels,initialValue:e}),this.props.globalState.onPropertyGridUpdateRequiredObservable.notifyObservers()}else{const e=r.topInPixels;r.topInPixels+=t,this.props.globalState.onPropertyChangedObservable.notifyObservers({object:r,property:"topInPixels",value:r.topInPixels,initialValue:e}),this.props.globalState.onPropertyGridUpdateRequiredObservable.notifyObservers()}}zoomWheel(e){let r=0;e.deltaY?r=-e.deltaY:e.detail&&(r=-e.detail);const o=new t.Vector2(this._scene.pointerX,this._scene.pointerY);this._panZoomToCenter(r,o),this.zooming(1+r/1e3)}_panZoomToCenter(e,t){const r=j.MousePointerToRTTSpace(this.trueRootContainer,t.x,t.y),o=j.RttToLocalNodeSpace(this.trueRootContainer,r.x,r.y),n=j.MousePointerToRTTSpace(this.trueRootContainer,this._engine.getRenderWidth()/2,this._engine.getRenderHeight()/2),a=j.RttToLocalNodeSpace(this.trueRootContainer,n.x,n.y),i=-e/1e3,l=o.subtract(a).scale(i).multiplyByFloats(1,-1);this._panningOffset.addInPlace(l)}zoomDrag(e){let t=0;0!==e.movementY&&(t=-e.movementY),this._hasPerformedDragZoom=!0,this._panZoomToCenter(t,this._centerZoomMousePosition),this.zooming(1+t/1e3)}zooming(e){this._zoomFactor*=e}zeroIfClose(e){Math.abs(e.x)<t.Epsilon&&(e.x=0),Math.abs(e.y)<t.Epsilon&&(e.y=0),Math.abs(e.z)<t.Epsilon&&(e.z=0)}render(){let e="default";return this.props.globalState.tool===_.PAN?e="grab":this.props.globalState.tool===_.ZOOM&&(e=this.props.globalState.keys.isKeyDown("alt")?"zoom-out":"zoom-in"),E.jsx("canvas",{id:"workbench-canvas",onPointerMove:e=>{this._mouseDown&&this.props.globalState.tool===_.ZOOM&&this.zoomDrag(e),this.props.globalState.guiTexture&&this.onMove(e),this.props.globalState.onPointerMoveObservable.notifyObservers(e)},onPointerDown:e=>{this.onDown(e),0===this._controlsHit.length?this._mouseDown=!0:this._mouseDown=!1},onPointerUp:e=>{this.onUp(e),this.props.globalState.onPointerUpObservable.notifyObservers(e),this._mouseDown=!1},onWheel:e=>this.zoomWheel(e),onContextMenu:e=>e.preventDefault(),ref:this._rootContainer,style:{cursor:e}})}}PL._addedFonts=[];class IL extends u.Component{constructor(e){super(e),this._onControlVisibilityChangedObservers=[],this.state={fontFamilyOptions:JSON.parse(String(window.sessionStorage.getItem("fonts")))??[{label:"Arial",value:1},{label:"Verdana",value:2},{label:"Helvetica",value:3},{label:"Trebuchet MS",value:4},{label:"Times New Roman",value:5},{label:"Georgia",value:6},{label:"Garamond",value:7},{label:"Courier New",value:8},{label:"Brush Script MT",value:9}]};const t=this.props.controls;for(const e of t){const t=this._getTransformedReferenceCoordinate(e);e.metadata||(e.metadata={}),e.metadata._previousCenter=t;const r=e.onIsVisibleChangedObservable.add(()=>{this.forceUpdate()});this._onControlVisibilityChangedObservers.push(r)}this._onFontsParsedObserver=this.props.onFontsParsedObservable?.add(()=>{this._checkFontsInLayout()}),this._onPropertyChangedObserver=this.props.onPropertyChangedObservable?.add(e=>{const r="transformCenterX"===e.property||"transformCenterY"===e.property;for(const o of t){let t=this._getTransformedReferenceCoordinate(o);if(r&&o.metadata._previousCenter){const e=t.subtract(o.metadata._previousCenter);o.leftInPixels-=e.x,o.topInPixels-=e.y,t=this._getTransformedReferenceCoordinate(o)}o.metadata._previousCenter=t,"TextBlock"!==o.getClassName()||"width"!==e.property&&"height"!==e.property||(o.resizeToFit=!1)}})}componentDidMount(){this._checkFontsInLayout()}_checkFontsInLayout(){const e=[];for(const t of this.state.fontFamilyOptions.values())document.fonts.check(`12px "${t.label}"`)&&"Custom Font"!=t.label&&e.push(t);const t=PL.addedFonts;for(let r=0;r<t.length;r++){const o=t[r].trim();e.push({label:o,value:o})}this.setState({fontFamilyOptions:e}),window.sessionStorage.setItem("fonts",JSON.stringify(e))}_addFont(e){const t=e.trim();t.length>0&&(this.state.fontFamilyOptions.find(({value:t})=>t===e)||this.setState(e=>(e.fontFamilyOptions.push({label:t,value:t}),e),this._checkFontsInLayout))}_getTransformedReferenceCoordinate(e){const r=j.GetNodeMatrix(e),o=new t.Vector2(1,1);return r.transformCoordinates(1,1,o),o}_updateAlignment(e,t){for(const r of this.props.controls)"TextBlock"===r.typeName&&!1===r.resizeToFit?r["text"+e.charAt(0).toUpperCase()+e.slice(1)]=t:r[e]=t;this.forceUpdate()}_checkAndUpdateValues(e,t){for(const r of this.props.controls){let o=r["_"+e].isPercentage;const n="-"===t.charAt(0);"%"===t.charAt(t.length-1)?o=!0:"x"===t.charAt(t.length-1)&&"p"===t.charAt(t.length-2)&&(o=!1),"StackPanel"===r.parent?.typeName&&(o=!1);let a=t.match(/([\d.,]+)/g)?.[0];a||(a="0"),a=(n?"-":"")+a,a+=o?"%":"px";const i=r[e];r[e]=a,this.props.onPropertyChangedObservable?.notifyObservers({object:r,property:e,initialValue:i,value:r[e]})}}_addOrUpdateMetadata(e){for(const t of this.props.controls){const r=t.metadata;for(const t in e){const r=e[t];isNaN(r)||isNaN(parseFloat(r))?"true"===r.trim()?e[t]=!0:"false"===r.trim()&&(e[t]=!1):e[t]=parseFloat(r)}const o=Object.assign({},t.metadata,e);t.metadata=o,this.props.onPropertyChangedObservable?.notifyObservers({object:t,property:"metadata",initialValue:r,value:o})}}_removeFromMetadata(e){for(const t of this.props.controls){const r=Object.assign({},t.metadata);delete t.metadata[e],this.props.onPropertyChangedObservable?.notifyObservers({object:t,property:"metadata",initialValue:r,value:t.metadata})}}_getCommonPropertyKeys(e){if(0===(e=e.filter(e=>!!e)).length)return[];if(1===e.length)return Object.keys(e[0]);const[t,...r]=e;return Object.keys(t).filter(e=>r.every(t=>e in t))}_markChildrenAsDirty(){for(const e of this.props.controls)if(e instanceof r.Container)for(const t of e._children)t._markAsDirty()}componentWillUnmount(){this._onPropertyChangedObserver&&this.props.onPropertyChangedObservable?.remove(this._onPropertyChangedObserver),this._onFontsParsedObserver&&this.props.onFontsParsedObservable?.remove(this._onFontsParsedObserver);for(let e=0;e<this._onControlVisibilityChangedObservers.length;e++)this.props.controls[e].onIsVisibleChangedObservable.remove(this._onControlVisibilityChangedObservers[e])}_filterFontDuplicates(e){const t=new Set;return e.filter(e=>{const r=e.value,o=t.has(r);return t.add(r),!o})}render(){const e=this.props.controls,t=e[0];let o=t.horizontalAlignment,n=t.verticalAlignment;for(const t of e)t.horizontalAlignment!==o&&(o=r.Control.HORIZONTAL_ALIGNMENT_CENTER),t.verticalAlignment!==n&&(n=r.Control.VERTICAL_ALIGNMENT_CENTER);e.every(e=>"TextBlock"===e.typeName&&!1===e.resizeToFit)&&(o=t.textHorizontalAlignment,n=t.textVerticalAlignment);const a=t instanceof r.Container||"TextBlock"===t.typeName||"InputText"===t.typeName||"InputPassword"===t.typeName,i=BO(e,this.props.onPropertyChangedObservable),l=t=>{const r=e.map(e=>e[t]._value),o=r[0];if(r.every(e=>e===o)){const e=s(t);return"%"===e?(100*o).toFixed(2):"PX"===e?o.toFixed(2):kO}return kO},s=t=>{const o=e.map(e=>e[t]._unit),n=o[0];return o.every(e=>e===n)?n===r.ValueAndUnit.UNITMODE_PIXEL?"PX":"%":kO},c=(t,o,n,a)=>{for(const i of e){const e=i[t],l=i["_"+t]._unit;let s=i[`${t}InPixels`]+o;void 0!==n&&s<n&&(s=n),void 0!==a&&s>a&&(s=a),i[`${t}InPixels`]=s,l===r.ValueAndUnit.UNITMODE_PERCENTAGE&&j.ConvertToPercentage(i,[t]),this.props.onPropertyChangedObservable?.notifyObservers({object:i,property:t,initialValue:e,value:i[t]})}},d=(t,r)=>{for(const o of e)"PX"===t?j.ConvertToPercentage(o,[r],this.props.onPropertyChangedObservable):j.ConvertToPixels(o,[r],this.props.onPropertyChangedObservable)};let u=!1,f=!1,p=!1,h=!1;const g=e[0].parent,v=this._filterFontDuplicates(this.state.fontFamilyOptions.filter(({label:e})=>"Custom Font"!==e).map(({label:e,value:t})=>({label:e,value:e,id:t.toString()})));return"StackPanel"!==g?.getClassName()&&"VirtualKeyboard"!==g?.getClassName()||(g.isVertical?(f=!0,h=!0):(u=!0,p=!0)),E.jsxs("div",{children:[!this.props.hideDimensions&&E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"ge-divider alignment-bar",children:[E.jsx(GO,{tooltip:"Left",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M22.3%2C9.93A2.23%2C2.23%2C0%2C0%2C0%2C20.07%2C7.7H9.93A2.23%2C2.23%2C0%2C0%2C0%2C7.7%2C9.93V20.07A2.23%2C2.23%2C0%2C0%2C0%2C9.93%2C22.3H20.07a2.23%2C2.23%2C0%2C0%2C0%2C2.23-2.23Zm-12.37-1H20.07a1%2C1%2C0%2C0%2C1%2C1%2C1V20.07a1%2C1%2C0%2C0%2C1-1%2C1H9.93a1%2C1%2C0%2C0%2C1-1-1V9.93A1%2C1%2C0%2C0%2C1%2C9.93%2C8.91Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M10.76%2C13.39h8.46a.6.6%2C0%2C0%2C1%2C.08%2C1.2H10.76a.6.6%2C0%2C0%2C1-.08-1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M10.76%2C15.82h5.41a.6.6%2C0%2C0%2C1%2C.08%2C1.2H10.76a.6.6%2C0%2C0%2C1-.08-1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",shortcut:"",isActive:o===r.Control.HORIZONTAL_ALIGNMENT_LEFT,onClick:()=>{this._updateAlignment("horizontalAlignment",r.Control.HORIZONTAL_ALIGNMENT_LEFT)},disabled:u}),E.jsx(GO,{tooltip:"Center",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M22.3%2C9.93A2.23%2C2.23%2C0%2C0%2C0%2C20.07%2C7.7H9.93A2.23%2C2.23%2C0%2C0%2C0%2C7.7%2C9.93V20.07A2.23%2C2.23%2C0%2C0%2C0%2C9.93%2C22.3H20.07a2.23%2C2.23%2C0%2C0%2C0%2C2.23-2.23Zm-12.37-1H20.07a1%2C1%2C0%2C0%2C1%2C1%2C1V20.07a1%2C1%2C0%2C0%2C1-1%2C1H9.93a1%2C1%2C0%2C0%2C1-1-1V9.93A1%2C1%2C0%2C0%2C1%2C9.93%2C8.91Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M10.76%2C13.39h8.46a.6.6%2C0%2C0%2C1%2C.08%2C1.2H10.76a.6.6%2C0%2C0%2C1-.08-1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M12.3%2C15.82h5.4a.6.6%2C0%2C0%2C1%2C.09%2C1.2H12.3a.6.6%2C0%2C0%2C1-.09-1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",shortcut:"",isActive:o===r.Control.HORIZONTAL_ALIGNMENT_CENTER,onClick:()=>{this._updateAlignment("horizontalAlignment",r.Control.HORIZONTAL_ALIGNMENT_CENTER)},disabled:u}),E.jsx(GO,{tooltip:"Right",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M22.3%2C9.93A2.23%2C2.23%2C0%2C0%2C0%2C20.07%2C7.7H9.93A2.23%2C2.23%2C0%2C0%2C0%2C7.7%2C9.93V20.07A2.23%2C2.23%2C0%2C0%2C0%2C9.93%2C22.3H20.07a2.23%2C2.23%2C0%2C0%2C0%2C2.23-2.23Zm-12.37-1H20.07a1%2C1%2C0%2C0%2C1%2C1%2C1V20.07a1%2C1%2C0%2C0%2C1-1%2C1H9.93a1%2C1%2C0%2C0%2C1-1-1V9.93A1%2C1%2C0%2C0%2C1%2C9.93%2C8.91Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M10.76%2C13.39h8.46a.6.6%2C0%2C0%2C1%2C.08%2C1.2H10.76a.6.6%2C0%2C0%2C1-.08-1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M13.81%2C15.82h5.41A.6.6%2C0%2C0%2C1%2C19.3%2C17H13.81a.6.6%2C0%2C0%2C1-.08-1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",shortcut:"",isActive:o===r.Control.HORIZONTAL_ALIGNMENT_RIGHT,onClick:()=>{this._updateAlignment("horizontalAlignment",r.Control.HORIZONTAL_ALIGNMENT_RIGHT)},disabled:u}),E.jsx(GO,{tooltip:"Top",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M22.29%2C9.94a2.23%2C2.23%2C0%2C0%2C0-2.23-2.23H9.94A2.23%2C2.23%2C0%2C0%2C0%2C7.71%2C9.94V20.06a2.23%2C2.23%2C0%2C0%2C0%2C2.23%2C2.23H20.06a2.23%2C2.23%2C0%2C0%2C0%2C2.23-2.23Zm-12.35-1H20.06a1%2C1%2C0%2C0%2C1%2C1%2C1V20.06a1%2C1%2C0%2C0%2C1-1%2C1H9.94a1%2C1%2C0%2C0%2C1-1-1V9.94A1%2C1%2C0%2C0%2C1%2C9.94%2C8.92Zm.81%2C2.43h8.5a.61.61%2C0%2C0%2C1%2C.61.61.6.6%2C0%2C0%2C1-.52.6H10.75a.61.61%2C0%2C0%2C1-.09-1.21Zm8.5%2C2.43H10.66A.61.61%2C0%2C0%2C0%2C10.75%2C15h8.59a.6.6%2C0%2C0%2C0%2C.52-.6A.61.61%2C0%2C0%2C0%2C19.25%2C13.78Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",shortcut:"",isActive:n===r.Control.VERTICAL_ALIGNMENT_TOP,onClick:()=>{this._updateAlignment("verticalAlignment",r.Control.VERTICAL_ALIGNMENT_TOP)},disabled:f}),E.jsx(GO,{tooltip:"Center",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M11%2C13.39h8a.72.72%2C0%2C0%2C1%2C.8.61.69.69%2C0%2C0%2C1-.69.59H11c-.44%2C0-.8-.27-.8-.6a.69.69%2C0%2C0%2C1%2C.69-.6Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M19%2C15.8H10.87a.69.69%2C0%2C0%2C0-.69.6c0%2C.33.36.6.8.6h8.15a.69.69%2C0%2C0%2C0%2C.69-.59A.72.72%2C0%2C0%2C0%2C19%2C15.8Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M22.23%2C10A2.21%2C2.21%2C0%2C0%2C0%2C20%2C7.77H10A2.21%2C2.21%2C0%2C0%2C0%2C7.77%2C10V20A2.21%2C2.21%2C0%2C0%2C0%2C10%2C22.23H20A2.21%2C2.21%2C0%2C0%2C0%2C22.23%2C20ZM10%2C9H20a1%2C1%2C0%2C0%2C1%2C1%2C1V20a1%2C1%2C0%2C0%2C1-1%2C1H10a1%2C1%2C0%2C0%2C1-1-1V10A1%2C1%2C0%2C0%2C1%2C10%2C9Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",shortcut:"",isActive:n===r.Control.VERTICAL_ALIGNMENT_CENTER,onClick:()=>{this._updateAlignment("verticalAlignment",r.Control.VERTICAL_ALIGNMENT_CENTER)},disabled:f}),E.jsx(GO,{tooltip:"Bottom",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M10.77%2C16.21h8.46a.6.6%2C0%2C0%2C1%2C.08%2C1.2H10.77a.61.61%2C0%2C0%2C1-.08-1.21Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M19.23%2C18.63H10.69a.6.6%2C0%2C0%2C0%2C.08%2C1.2h8.54a.6.6%2C0%2C0%2C0-.08-1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M22.25%2C10A2.21%2C2.21%2C0%2C0%2C0%2C20%2C7.75H10A2.21%2C2.21%2C0%2C0%2C0%2C7.75%2C10V20A2.21%2C2.21%2C0%2C0%2C0%2C10%2C22.25H20A2.21%2C2.21%2C0%2C0%2C0%2C22.25%2C20ZM10%2C9H20a1%2C1%2C0%2C0%2C1%2C1%2C1V20a1%2C1%2C0%2C0%2C1-1%2C1H10a1%2C1%2C0%2C0%2C1-1-1V10A1%2C1%2C0%2C0%2C1%2C10%2C9Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",shortcut:"",isActive:n===r.Control.VERTICAL_ALIGNMENT_BOTTOM,onClick:()=>{this._updateAlignment("verticalAlignment",r.Control.VERTICAL_ALIGNMENT_BOTTOM)},disabled:f})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M16.51%2C15a.61.61%2C0%2C0%2C0%2C.61.6h4.59l-.58.58a.6.6%2C0%2C0%2C0%2C0%2C.86.59.59%2C0%2C0%2C0%2C.85%2C0l1.62-1.61a.62.62%2C0%2C0%2C0%2C0-.86L22%2C13a.6.6%2C0%2C1%2C0-.85.85l.58.58H17.12A.61.61%2C0%2C0%2C0%2C16.51%2C15Zm-3.63-.61H8.29l.58-.58A.6.6%2C0%2C1%2C0%2C8%2C13L6.4%2C14.58a.62.62%2C0%2C0%2C0%2C0%2C.86L8%2C17.05a.59.59%2C0%2C0%2C0%2C.85%2C0%2C.6.6%2C0%2C0%2C0%2C0-.86l-.58-.58h4.59a.61.61%2C0%2C1%2C0%2C0-1.21ZM15%2C13.49a.61.61%2C0%2C0%2C0%2C.6-.61V8.29l.58.58a.6.6%2C0%2C0%2C0%2C.86%2C0A.61.61%2C0%2C0%2C0%2C17%2C8L15.39%2C6.4a.61.61%2C0%2C0%2C0-.85%2C0L12.92%2C8a.61.61%2C0%2C0%2C0%2C0%2C.85.6.6%2C0%2C0%2C0%2C.86%2C0l.58-.58v4.59A.61.61%2C0%2C0%2C0%2C15%2C13.49Zm-.61%2C3.63v4.59l-.58-.58a.6.6%2C0%2C0%2C0-.86%2C0%2C.61.61%2C0%2C0%2C0%2C0%2C.85l1.62%2C1.62a.61.61%2C0%2C0%2C0%2C.85%2C0L17%2C22a.61.61%2C0%2C0%2C0%2C0-.85.6.6%2C0%2C0%2C0-.86%2C0l-.58.58V17.12a.61.61%2C0%2C1%2C0-1.21%2C0Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Position"}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"X",delayInput:!0,value:l("_left"),onChange:e=>this._checkAndUpdateValues("left",e),unit:E.jsx(DL,{unit:s("_left"),onClick:e=>d(e,"left")}),arrows:!0,arrowsIncrement:e=>c("left",e)}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"Y",delayInput:!0,value:l("_top"),onChange:e=>this._checkAndUpdateValues("top",e),unit:E.jsx(DL,{unit:s("_top"),onClick:e=>d(e,"top")}),arrows:!0,arrowsIncrement:e=>c("top",e)})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:BL,label:"Size"}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"W",delayInput:!0,value:l("_width"),onChange:t=>{for(const o of e)"Image"===o.typeName?o.autoScale=!1:o instanceof r.Container?o.adaptWidthToChildren=!1:"ColorPicker"===o.typeName&&("0"!==t&&"-"!==t||(t="1"));this._checkAndUpdateValues("width",t)},unit:E.jsx(DL,{unit:s("_width"),locked:p,onClick:e=>d(e,"width")}),arrows:!0,arrowsIncrement:e=>c("width",e)}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"H",delayInput:!0,value:l("_height"),onChange:t=>{for(const o of e)"Image"===o.typeName?o.autoScale=!1:o instanceof r.Container?o.adaptHeightToChildren=!1:"ColorPicker"===o.typeName&&("0"!==t&&"-"!==t||(t="1"));this._checkAndUpdateValues("height",t)},unit:E.jsx(DL,{unit:s("_height"),locked:h,onClick:e=>d(e,"height")}),arrows:!0,arrowsIncrement:e=>c("height",e)})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M21.63%2C9a.6.6%2C0%2C0%2C0%2C0-1.2H8.37a.6.6%2C0%2C0%2C0%2C0%2C1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M21.63%2C22.23a.6.6%2C0%2C0%2C0%2C0-1.2H8.37a.6.6%2C0%2C0%2C0%2C0%2C1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M10.78%2C11.79a1.41%2C1.41%2C0%2C0%2C0-1.41%2C1.4v3.62a1.41%2C1.41%2C0%2C0%2C0%2C1.41%2C1.4h8.44a1.41%2C1.41%2C0%2C0%2C0%2C1.41-1.4V13.19a1.41%2C1.41%2C0%2C0%2C0-1.41-1.4Zm-.2%2C1.4a.2.2%2C0%2C0%2C1%2C.2-.2h8.44a.2.2%2C0%2C0%2C1%2C.2.2v3.62a.2.2%2C0%2C0%2C1-.2.2H10.78a.2.2%2C0%2C0%2C1-.2-.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Vertical Padding"}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"T",delayInput:!0,value:l("_paddingTop"),onChange:e=>{this._checkAndUpdateValues("paddingTop",e),this._markChildrenAsDirty()},unit:E.jsx(DL,{unit:s("_paddingTop"),onClick:e=>d(e,"paddingTop")}),arrows:!0,arrowsIncrement:e=>c("paddingTop",e,0)}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"B",delayInput:!0,value:l("_paddingBottom"),onChange:e=>{this._checkAndUpdateValues("paddingBottom",e),this._markChildrenAsDirty()},unit:E.jsx(DL,{unit:s("_paddingBottom"),onClick:e=>d(e,"paddingBottom")}),arrows:!0,arrowsIncrement:e=>c("paddingBottom",e,0)})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M9%2C8.37a.6.6%2C0%2C1%2C0-1.2%2C0V21.63a.6.6%2C0%2C1%2C0%2C1.2%2C0Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M22.23%2C8.37a.6.6%2C0%2C1%2C0-1.2%2C0V21.63a.6.6%2C0%2C1%2C0%2C1.2%2C0Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M11.79%2C19.22a1.41%2C1.41%2C0%2C0%2C0%2C1.4%2C1.41h3.62a1.41%2C1.41%2C0%2C0%2C0%2C1.4-1.41V10.78a1.41%2C1.41%2C0%2C0%2C0-1.4-1.41H13.19a1.41%2C1.41%2C0%2C0%2C0-1.4%2C1.41Zm1.4.2a.2.2%2C0%2C0%2C1-.2-.2V10.78a.2.2%2C0%2C0%2C1%2C.2-.2h3.62a.2.2%2C0%2C0%2C1%2C.2.2v8.44a.2.2%2C0%2C0%2C1-.2.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Horizontal Padding"}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"L",delayInput:!0,value:l("_paddingLeft"),onChange:e=>{this._checkAndUpdateValues("paddingLeft",e),this._markChildrenAsDirty()},unit:E.jsx(DL,{unit:s("_paddingLeft"),onClick:e=>d(e,"paddingLeft")}),arrows:!0,arrowsIncrement:e=>c("paddingLeft",e)}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"R",delayInput:!0,value:l("_paddingRight"),onChange:e=>{this._checkAndUpdateValues("paddingRight",e),this._markChildrenAsDirty()},onPropertyChangedObservable:this.props.onPropertyChangedObservable,unit:E.jsx(DL,{unit:s("_paddingRight"),onClick:e=>d(e,"paddingRight")}),arrows:!0,arrowsIncrement:e=>c("paddingRight",e)})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M23.11%2C9.32a2.23%2C2.23%2C0%2C0%2C1-2.23%2C2.24H9.12a2.24%2C2.24%2C0%2C0%2C1%2C0-4.47H20.88A2.23%2C2.23%2C0%2C0%2C1%2C23.11%2C9.32ZM21.49%2C15a2.23%2C2.23%2C0%2C0%2C1-2.23%2C2.23H10.74a2.23%2C2.23%2C0%2C0%2C1%2C0-4.46h8.52A2.23%2C2.23%2C0%2C0%2C1%2C21.49%2C15Zm-2.44%2C5.68a2.23%2C2.23%2C0%2C0%2C1-2.23%2C2.23H13.18a2.24%2C2.24%2C0%2C0%2C1%2C0-4.47h3.64A2.23%2C2.23%2C0%2C0%2C1%2C19.05%2C20.68ZM21.89%2C9.32a1%2C1%2C0%2C0%2C0-1-1H9.12a1%2C1%2C0%2C0%2C0%2C0%2C2H20.88A1%2C1%2C0%2C0%2C0%2C21.89%2C9.32ZM20.27%2C15a1%2C1%2C0%2C0%2C0-1-1H10.74a1%2C1%2C0%2C0%2C0%2C0%2C2h8.52A1%2C1%2C0%2C0%2C0%2C20.27%2C15Zm-2.43%2C5.68a1%2C1%2C0%2C0%2C0-1-1H13.18a1%2C1%2C0%2C1%2C0%2C0%2C2h3.64A1%2C1%2C0%2C0%2C0%2C17.84%2C20.68Z%22%2F%3E%3C%2Fsvg%3E",label:"Makes padding affect only the descendants of this control"}),E.jsx(PH,{label:"ONLY PAD DESCENDANTS",target:i,propertyName:"descendentsOnlyPadding"})]}),E.jsx("hr",{className:"ge"})]}),"root"===g?.name&&E.jsxs(E.Fragment,{children:[E.jsx(wO,{label:"LINK OFFSET",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M18.17%2C18.51c-1.21%2C0-2.19%2C.98-2.19%2C2.19s.98%2C2.19%2C2.19%2C2.19h.44c.24%2C0%2C.44-.2%2C.44-.44s-.2-.44-.44-.44h-.44c-.73%2C0-1.32-.59-1.32-1.32s.59-1.32%2C1.32-1.32h.44c.24%2C0%2C.44-.2%2C.44-.44s-.2-.44-.44-.44h-.44Zm3.07%2C0c-.24%2C0-.44%2C.2-.44%2C.44s.2%2C.44%2C.44%2C.44h.44c.73%2C0%2C1.32%2C.59%2C1.32%2C1.32s-.59%2C1.32-1.32%2C1.32h-.44c-.24%2C0-.44%2C.2-.44%2C.44s.2%2C.44%2C.44%2C.44h.44c1.21%2C0%2C2.19-.98%2C2.19-2.19s-.98-2.19-2.19-2.19h-.44Zm-3.07%2C1.76c-.24%2C0-.44%2C.2-.44%2C.44s.2%2C.44%2C.44%2C.44h3.51c.24%2C0%2C.44-.2%2C.44-.44s-.2-.44-.44-.44h-3.51Z%22%2F%3E%3Cg%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M21.61%2C14.4h-4.59c-.33%2C0-.61%2C.27-.61%2C.61s.27%2C.61%2C.61%2C.61h4.59l-.58%2C.58c-.24%2C.24-.24%2C.62%2C0%2C.86%2C.24%2C.24%2C.62%2C.24%2C.86%2C0l1.61-1.61c.24-.24%2C.24-.62%2C0-.86l-1.61-1.61c-.24-.24-.62-.24-.86%2C0-.24%2C.24-.24%2C.62%2C0%2C.86l.58%2C.58Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M15.01%2C20.71c0-.57%2C.18-1.09%2C.47-1.54v-2.05c0-.33-.27-.61-.61-.61s-.6%2C.27-.6%2C.61v4.59l-.58-.58c-.24-.24-.62-.24-.86%2C0-.24%2C.24-.24%2C.62%2C0%2C.86l1.61%2C1.61c.24%2C.24%2C.62%2C.24%2C.86%2C0l.72-.72c-.62-.54-1.01-1.31-1.01-2.17Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M13.68%2C8.87l.58-.58v4.59c0%2C.33%2C.27%2C.61%2C.6%2C.61s.61-.27%2C.61-.61v-4.59l.58%2C.58c.24%2C.24%2C.62%2C.24%2C.86%2C0%2C.24-.24%2C.24-.62%2C0-.86l-1.61-1.61c-.24-.24-.62-.24-.86%2C0l-1.61%2C1.61c-.24%2C.24-.24%2C.62%2C0%2C.86%2C.24%2C.24%2C.62%2C.24%2C.86%2C0Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M8.19%2C15.61h4.59c.33%2C0%2C.61-.27%2C.61-.61s-.27-.61-.61-.61h-4.59l.58-.58c.24-.24%2C.24-.62%2C0-.86-.24-.24-.62-.24-.86%2C0l-1.61%2C1.61c-.24%2C.24-.24%2C.62%2C0%2C.86l1.61%2C1.61c.24%2C.24%2C.62%2C.24%2C.86%2C0%2C.24-.24%2C.24-.62%2C0-.86l-.58-.58Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",label:"Link offset"}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"X",delayInput:!0,value:l("_linkOffsetX"),onChange:e=>this._checkAndUpdateValues("linkOffsetX",e),unit:E.jsx(DL,{unit:s("_linkOffsetX"),onClick:e=>d(e,"linkOffsetX")}),arrows:!0,arrowsIncrement:e=>c("linkOffsetX",e)}),E.jsx(UO,{numbersOnly:!0,lockObject:this.props.lockObject,label:"Y",delayInput:!0,value:l("_linkOffsetY"),onChange:e=>this._checkAndUpdateValues("linkOffsetY",e),unit:E.jsx(DL,{unit:s("_linkOffsetY"),onClick:e=>d(e,"linkOffsetY")}),arrows:!0,arrowsIncrement:e=>c("linkOffsetY",e)})]}),E.jsx("hr",{className:"ge"})]}),E.jsx(wO,{tooltip:"",label:"SERIALIZATION",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:FL,label:"Serializable"}),E.jsx(PH,{label:"ISSERIALIZABLE",target:i,propertyName:"isSerializable"})]}),E.jsx(wO,{tooltip:"",label:"VISIBILITY",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:TL,label:"Visible"}),E.jsx(PH,{label:"ISVISIBLE",target:i,propertyName:"isVisible",onPropertyChangedObservable:this.props.onPropertyChangedObservable})]}),E.jsx(wO,{tooltip:"",label:"TRANSFORMATION",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:SL,label:"Scale"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"X",target:i,propertyName:"scaleX",arrows:!0,digits:2,step:"0.0005"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"Y",target:i,propertyName:"scaleY",arrows:!0,digits:2,step:"0.0005"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C6.9A8.1%2C8.1%2C0%2C1%2C0%2C23.1%2C15%2C8.1%2C8.1%2C0%2C0%2C0%2C15%2C6.9Zm6.86%2C7.49H15.63V8.14A6.89%2C6.89%2C0%2C0%2C1%2C21.86%2C14.39ZM14.41%2C8.14v6.25H8.14A6.89%2C6.89%2C0%2C0%2C1%2C14.41%2C8.14ZM8.14%2C15.61h6.27v6.25A6.89%2C6.89%2C0%2C0%2C1%2C8.14%2C15.61Zm7.49%2C6.25V15.61h6.23A6.89%2C6.89%2C0%2C0%2C1%2C15.63%2C21.86Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Transform Center"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"X",target:i,propertyName:"transformCenterX",arrows:!0,digits:2,step:"0.0005"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"Y",target:i,propertyName:"transformCenterY",arrows:!0,digits:2,step:"0.0005"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C7.73a7.27%2C7.27%2C0%2C0%2C1%2C4%2C13.33h1.43a.61.61%2C0%2C0%2C1%2C.61.61.61.61%2C0%2C0%2C1-.52.6H17.22a.61.61%2C0%2C0%2C1-.6-.52V18.43a.6.6%2C0%2C0%2C1%2C1.2-.08v2A6.06%2C6.06%2C0%2C1%2C0%2C8.94%2C15a.61.61%2C0%2C1%2C1-1.21%2C0A7.26%2C7.26%2C0%2C0%2C1%2C15%2C7.73Zm0%2C5A2.22%2C2.22%2C0%2C1%2C1%2C12.78%2C15%2C2.21%2C2.21%2C0%2C0%2C1%2C15%2C12.78ZM15%2C14a1%2C1%2C0%2C1%2C0%2C1%2C1A1%2C1%2C0%2C0%2C0%2C15%2C14Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Rotation"}),E.jsx(HO,{iconLabel:"Rotation",lockObject:this.props.lockObject,label:"",target:i,decimalCount:2,propertyName:"rotation",minimum:0,maximum:2*Math.PI,step:.01,unit:E.jsx(DL,{unit:"RAD",locked:!0})})]}),E.jsx("hr",{className:"ge"}),E.jsx(wO,{tooltip:"",label:"APPEARANCE",value:" ",color:"grey"}),e.every(e=>void 0!==e.color&&"Image"!==e.typeName&&"ImageBasedSlider"!==e.typeName&&"ColorPicker"!==e.typeName)&&E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:NL,label:"Outline Color"}),E.jsx(cL,{lockObject:this.props.lockObject,label:"Outline Color",target:i,propertyName:"color"})]}),e.every(e=>void 0!==e.background)&&E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:_L,label:"Background Color"}),E.jsx(cL,{lockObject:this.props.lockObject,label:"Background Color",target:i,propertyName:"background"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:jL,label:"Alpha"}),E.jsx(HO,{lockObject:this.props.lockObject,label:"",target:i,propertyName:"alpha",minimum:0,maximum:1,step:.01})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M7.73%2C10A2.23%2C2.23%2C0%2C0%2C1%2C10%2C7.73h10.1A2.23%2C2.23%2C0%2C0%2C1%2C22.27%2C10v10.1a2.23%2C2.23%2C0%2C0%2C1-2.22%2C2.22H10a2.23%2C2.23%2C0%2C0%2C1-2.22-2.22Zm2.22-1a1%2C1%2C0%2C0%2C0-1%2C1v10.1a1%2C1%2C0%2C0%2C0%2C1%2C1h10.1a1%2C1%2C0%2C0%2C0%2C1-1V10a1%2C1%2C0%2C0%2C0-1-1Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M19.93%2C20.05l.12-12.32A2.23%2C2.23%2C0%2C0%2C1%2C22.27%2C10v10.1a2.23%2C2.23%2C0%2C0%2C1-2.22%2C2.22H10a2.23%2C2.23%2C0%2C0%2C1-2.22-2.22Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Shadow Color"}),E.jsx(cL,{lockObject:this.props.lockObject,label:"",target:i,propertyName:"shadowColor"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M19.18%2C11.72a.77.77%2C0%2C0%2C0-.56-.25.78.78%2C0%2C0%2C0-.5.19.75.75%2C0%2C0%2C0-.06%2C1.06l.89%2C1H16.12a.75.75%2C0%2C1%2C0%2C0%2C1.5H19l-.89%2C1a.75.75%2C0%2C0%2C0%2C.06%2C1.06.75.75%2C0%2C0%2C0%2C1.06-.06l2-2.25a.76.76%2C0%2C0%2C0%2C0-1Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M21.35%2C8.48a2.2%2C2.2%2C0%2C0%2C0-2.06-1.41H9.2A2.21%2C2.21%2C0%2C0%2C0%2C7%2C9.29V19.38a2.21%2C2.21%2C0%2C0%2C0%2C1.67%2C2.14%2C2.2%2C2.2%2C0%2C0%2C0%2C2.06%2C1.41H20.8A2.21%2C2.21%2C0%2C0%2C0%2C23%2C20.71V10.62A2.21%2C2.21%2C0%2C0%2C0%2C21.35%2C8.48Zm.58%2C7.16L20.3%2C17.47v1.91a1%2C1%2C0%2C0%2C1-1%2C1H9.2a1%2C1%2C0%2C0%2C1-1-1V9.29a1%2C1%2C0%2C0%2C1%2C1-1H19.29a1%2C1%2C0%2C0%2C1%2C1%2C1v2.19l1.63%2C1.83A1.75%2C1.75%2C0%2C0%2C1%2C21.93%2C15.64Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Shadow Offset"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"X",target:i,propertyName:"shadowOffsetX",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,step:"0.1",digits:2}),E.jsx(PO,{lockObject:this.props.lockObject,label:"Y",target:i,propertyName:"shadowOffsetY",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,step:"0.1",digits:2})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M7.79%2C15A7.21%2C7.21%2C0%2C0%2C1%2C19%2C9H15a6%2C6%2C0%2C0%2C0%2C0%2C12V19.8h5.37A7.2%2C7.2%2C0%2C0%2C1%2C7.79%2C15Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M20%2C9.8H15V11h6A6.84%2C6.84%2C0%2C0%2C0%2C20%2C9.8Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M15%2C11.8h6.46a6.92%2C6.92%2C0%2C0%2C1%2C.46%2C1.2H15Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M22.11%2C13.8H15V15h7.21A7.88%2C7.88%2C0%2C0%2C0%2C22.11%2C13.8Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M15%2C15.8h7.16a6.08%2C6.08%2C0%2C0%2C1-.24%2C1.2H15Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M21.64%2C17.8H15V19h6A7.29%2C7.29%2C0%2C0%2C0%2C21.64%2C17.8Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Shadow Blur"}),E.jsx(PO,{lockObject:this.props.lockObject,label:" ",target:i,propertyName:"shadowBlur",arrows:!0,min:0,digits:2})]}),a&&E.jsxs(E.Fragment,{children:[E.jsx("hr",{className:"ge"}),E.jsx(wO,{tooltip:"",label:"FONT STYLE",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:zL,label:"Font Family"}),E.jsx(wL,{options:v,selectedOptionValue:i.fontFamily,onOptionSelected:e=>{i.fontFamily=e},onOptionAdded:({value:e})=>{this._addFont(e)},addOptionPlaceholder:"Add new font...",validateNewOptionValue:e=>e.length>0&&!v.find(t=>t.label===e)&&document.fonts.check(`12px ${e}`)})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M24.35%2C20.45%2C20.22%2C8.81l0-.12a1.07%2C1.07%2C0%2C0%2C0-1.94.15L14.77%2C18.6%2C11.2%2C8.54l0-.09a.61.61%2C0%2C0%2C0-1.1.09L5.62%2C21.05a.61.61%2C0%2C0%2C0%2C1.11.48l0-.07%2C1.29-3.63h5.16l1.29%2C3.63%2C0%2C.07a.61.61%2C0%2C0%2C0%2C.53.33h0a1.07%2C1.07%2C0%2C0%2C0%2C1-.6l1.12-3.14h4.09l1.08%2C3.07.05.1a1.07%2C1.07%2C0%2C0%2C0%2C.95.57%2C1.12%2C1.12%2C0%2C0%2C0%2C.35-.06A1.05%2C1.05%2C0%2C0%2C0%2C24.35%2C20.45ZM8.48%2C16.61l2.15-6.06%2C2.15%2C6.06ZM18%2C16l1.28-3.63L20.52%2C16Z%22%2F%3E%3C%2Fsvg%3E",label:"Font Weight"}),E.jsx(UO,{lockObject:this.props.lockObject,label:"",target:i,propertyName:"fontWeight"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M21.4%2C19.65l0%2C0a2.45%2C2.45%2C0%2C0%2C1%2C.11.71%2C2%2C2%2C0%2C0%2C1-2%2C2%2C2%2C2%2C0%2C0%2C1-1.12-.34l-.05%2C0-.05%2C0a2.33%2C2.33%2C0%2C0%2C1-.64-.84v0l-.79-1.88H13l-.75%2C1.83a2%2C2%2C0%2C0%2C1-.74%2C1A2%2C2%2C0%2C0%2C1%2C9%2C21.87a1.88%2C1.88%2C0%2C0%2C1-.55-1.38%2C3.37%2C3.37%2C0%2C0%2C1%2C0-.48l0-.13%2C4.55-11h0a2.27%2C2.27%2C0%2C0%2C1%2C.76-.94%2C1.94%2C1.94%2C0%2C0%2C1%2C1.26-.32%2C2%2C2%2C0%2C0%2C1%2C1.82%2C1.31ZM15.81%2C9.34a.79.79%2C0%2C0%2C0-.3-.41.83.83%2C0%2C0%2C0-.41-.13H15a1.11%2C1.11%2C0%2C0%2C0-.26%2C0%2C.64.64%2C0%2C0%2C0-.25.12.85.85%2C0%2C0%2C0-.34.42L9.71%2C20.21a1.48%2C1.48%2C0%2C0%2C0%2C0%2C.28.72.72%2C0%2C0%2C0%2C.19.53.77.77%2C0%2C0%2C0%2C.57.19.7.7%2C0%2C0%2C0%2C.44-.14.76.76%2C0%2C0%2C0%2C.3-.4l1.07-2.61h5.43l1.09%2C2.59a1.17%2C1.17%2C0%2C0%2C0%2C.32.42.76.76%2C0%2C0%2C0%2C.46.14.7.7%2C0%2C0%2C0%2C.54-.23.73.73%2C0%2C0%2C0%2C.25-.58%2C1.2%2C1.2%2C0%2C0%2C0%2C0-.33ZM17%2C16.46%2C15%2C11.54l-2%2C4.92Zm-2.31-1.2h.5l-.25-.6Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Font Style"}),E.jsx(wL,{options:[{label:"normal",value:"normal",id:"0"},{label:"italic",value:"italic",id:"1"},{label:"oblique",value:"oblique",id:"2"}],selectedOptionValue:i.fontStyle,onOptionSelected:e=>{i.fontStyle=e}})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M13.56%2C19.53l3.9-11a.61.61%2C0%2C0%2C1%2C1.1-.09l0%2C.09L23%2C21.05a.62.62%2C0%2C0%2C1-.37.78.6.6%2C0%2C0%2C1-.74-.3l0-.07-1.29-3.64H15.45l-1.28%2C3.6a.57.57%2C0%2C0%2C1-.29.36l-.07%2C0a.61.61%2C0%2C0%2C1-.75-.27l0-.07-.8-2H8.9l-.8%2C2a.61.61%2C0%2C0%2C1-.71.37l-.08%2C0a.59.59%2C0%2C0%2C1-.36-.7L7%2C21l3-7.67a.61.61%2C0%2C0%2C1%2C1.09-.08l0%2C.09%2C2.43%2C6.16%2C3.9-11Zm-3-4.29-1.18%2C3h2.36ZM18%2C10.55l-2.16%2C6.06h4.31Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Font Size"}),E.jsx(UO,{lockObject:this.props.lockObject,label:"",numbersOnly:!0,value:l("_fontSize"),onChange:e=>this._checkAndUpdateValues("fontSize",e),unit:E.jsx(DL,{unit:s("_fontSize"),onClick:e=>d(e,"fontSize")}),arrows:!0,arrowsIncrement:e=>c("fontSize",e,0)})]})]}),E.jsx("hr",{className:"ge"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(wO,{tooltip:"",label:"METADATA",value:" ",color:"grey"}),E.jsx(GO,{tooltip:"Add",icon:qL,isActive:!1,onClick:()=>{const t=(sW._PopupWindow??window).prompt("Enter new key name for metadata value","newKey");if(null===t||""===t.trim())return;let r=t,o=1;for(;e.some(e=>r in e.metadata);)o++,r=t+o;this._addOrUpdateMetadata({[r]:""})}})]}),this._getCommonPropertyKeys(e.map(e=>e.metadata)).map(t=>{if("guiEditor"===t||t.startsWith("_")||"editorUniqueId"===t)return;const r=e.find(e=>!!e.metadata);if(!r)return;let o=r.metadata[t];const n="object"==typeof o;return e.map(e=>e.metadata[t]).every(e=>e===o)||(o=kO),E.jsx("div",{children:E.jsxs("div",{className:"ge-divider double",children:[E.jsx(UO,{numbersOnly:!1,lockObject:this.props.lockObject,label:"",delayInput:!0,value:t,disabled:!0}),E.jsx(UO,{numbersOnly:!1,lockObject:this.props.lockObject,label:":",delayInput:!0,disabled:n,value:"string"==typeof o?o:JSON.stringify(o),onChange:e=>this._addOrUpdateMetadata({[t]:e})}),E.jsx(GO,{tooltip:"Remove",icon:bL,isActive:!1,onClick:()=>this._removeFromMetadata(t)})]})},t)})]})}}var OL="data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M21.56%2C10.49c0-1.02-.83-1.84-1.84-1.84H10.29c-1.02%2C0-1.84%2C.83-1.84%2C1.84v3.28c0%2C.34%2C.28%2C.61%2C.61%2C.61s.61-.28%2C.61-.61v-3.28c0-.34%2C.28-.61%2C.61-.61h9.43c.34%2C0%2C.61%2C.28%2C.61%2C.61v3.28c0%2C.34%2C.28%2C.61%2C.61%2C.61s.61-.28%2C.61-.61v-3.28Zm-2.28%2C5.72c.22-.22%2C.56-.24%2C.8-.06l.07%2C.06%2C1.94%2C1.94c.17%2C.1%2C.29%2C.31%2C.29%2C.54%2C0%2C.21-.09%2C.39-.23%2C.5l-.06%2C.04-1.94%2C1.94-.07%2C.06c-.21%2C.16-.51%2C.16-.72%2C0l-.08-.07-.06-.07c-.16-.21-.16-.51%2C0-.72l.07-.08%2C1-1h-3.18c-.26-.05-.46-.3-.46-.61s.2-.57%2C.47-.61h3.18l-1-1.01-.06-.07c-.18-.24-.16-.58%2C.06-.8Zm-8.56%2C0c.22%2C.22%2C.24%2C.56%2C.06%2C.8l-.06%2C.07-1%2C1h3.1c.3%2C0%2C.54%2C.28%2C.54%2C.61%2C0%2C.31-.2%2C.57-.46%2C.61h-3.18l1%2C1.01c.22%2C.22%2C.24%2C.56%2C.06%2C.8l-.06%2C.07c-.22%2C.22-.56%2C.24-.8%2C.06l-.07-.06-1.94-1.94c-.17-.1-.29-.31-.29-.54s.12-.44%2C.29-.54l1.94-1.94c.24-.24%2C.63-.24%2C.87%2C0Z%22%2F%3E%3C%2Fsvg%3E";class AL extends u.Component{constructor(e){super(e)}render(){const{sliders:e,onPropertyChangedObservable:t}=this.props,r=BO(e,t);return E.jsxs("div",{className:"pane",children:[E.jsx("hr",{}),E.jsx(wO,{label:"SLIDER",value:" ",color:"grey"}),e.every(e=>"Slider"===e.typeName)&&E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:NL,label:"Border Color"}),E.jsx(cL,{lockObject:this.props.lockObject,label:"",target:r,propertyName:"borderColor"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M18.08%2C6.79a1.85%2C1.85%2C0%2C0%2C1%2C1.85%2C1.85V21.36a1.85%2C1.85%2C0%2C0%2C1-1.85%2C1.85H11.92a1.85%2C1.85%2C0%2C0%2C1-1.85-1.85V8.64a1.85%2C1.85%2C0%2C0%2C1%2C1.85-1.85Zm0%2C1.23H11.92a.61.61%2C0%2C0%2C0-.61.62V21.36a.61.61%2C0%2C0%2C0%2C.61.62h6.16a.61.61%2C0%2C0%2C0%2C.61-.62V8.64A.61.61%2C0%2C0%2C0%2C18.08%2C8Zm-.8%2C8.18a.62.62%2C0%2C0%2C1%2C.07.8l-.06.07L15.44%2C19a.62.62%2C0%2C0%2C1-.81.06L14.56%2C19l-1.85-1.89a.61.61%2C0%2C0%2C1%2C.81-.92l.07.06L15%2C17.65l1.41-1.44A.62.62%2C0%2C0%2C1%2C17.28%2C16.2Zm-1.84-5.12L17.29%2C13a.64.64%2C0%2C0%2C1%2C0%2C.88.63.63%2C0%2C0%2C1-.87%2C0L15%2C12.39l-1.41%2C1.44a.62.62%2C0%2C1%2C1-.88-.87l1.85-1.88A.61.61%2C0%2C0%2C1%2C15.44%2C11.08Z%22%2F%3E%3C%2Fsvg%3E",label:"Vertical"}),E.jsx(PH,{label:"VERTICAL",target:r,propertyName:"isVertical"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M9.15%2C12.42a1.42%2C1.42%2C0%2C0%2C0-1.41%2C1.42v2.32a1.42%2C1.42%2C0%2C0%2C0%2C1.41%2C1.42h11.7a1.42%2C1.42%2C0%2C0%2C0%2C1.41-1.42V13.84a1.42%2C1.42%2C0%2C0%2C0-1.41-1.42ZM9%2C13.84a.21.21%2C0%2C0%2C1%2C.2-.21h11.7a.21.21%2C0%2C0%2C1%2C.2.21v2.32a.21.21%2C0%2C0%2C1-.2.21H9.15a.21.21%2C0%2C0%2C1-.2-.21Zm7.66-5.49A.6.6%2C0%2C0%2C1%2C16%2C9H14a.61.61%2C0%2C0%2C1%2C0-1.21h2A.6.6%2C0%2C0%2C1%2C16.61%2C8.35ZM16%2C22.26a.61.61%2C0%2C0%2C0%2C0-1.21H14a.61.61%2C0%2C0%2C0%2C0%2C1.21ZM11%2C8.35a.61.61%2C0%2C0%2C0-.61-.61H10A2.21%2C2.21%2C0%2C0%2C0%2C7.74%2C10v.4a.61.61%2C0%2C1%2C0%2C1.21%2C0V10a1%2C1%2C0%2C0%2C1%2C1-1h.4A.6.6%2C0%2C0%2C0%2C11%2C8.35Zm8.67-.61a.61.61%2C0%2C1%2C0%2C0%2C1.21H20a1%2C1%2C0%2C0%2C1%2C1%2C1v.4a.61.61%2C0%2C1%2C0%2C1.21%2C0V10A2.21%2C2.21%2C0%2C0%2C0%2C20%2C7.74ZM11%2C21.65a.61.61%2C0%2C0%2C1-.61.61H10A2.21%2C2.21%2C0%2C0%2C1%2C7.74%2C20v-.4a.61.61%2C0%2C1%2C1%2C1.21%2C0V20a1%2C1%2C0%2C0%2C0%2C1%2C1h.4A.6.6%2C0%2C0%2C1%2C11%2C21.65Zm8.67.61a.61.61%2C0%2C1%2C1%2C0-1.21H20a1%2C1%2C0%2C0%2C0%2C1-1v-.4a.61.61%2C0%2C1%2C1%2C1.21%2C0V20A2.21%2C2.21%2C0%2C0%2C1%2C20%2C22.26Z%22%2F%3E%3C%2Fsvg%3E",label:"Bar Offset"}),E.jsx(UO,{lockObject:this.props.lockObject,label:"",target:r,propertyName:"barOffset"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M13.78%2C7.24a.61.61%2C0%2C0%2C0-.49-.71.6.6%2C0%2C0%2C0-.7.48l-.83%2C4.35H7.93a.62.62%2C0%2C0%2C0-.6.61.6.6%2C0%2C0%2C0%2C.6.61h3.6l-.76%2C4H7.12a.61.61%2C0%2C0%2C0%2C0%2C1.21h3.42L9.76%2C22a.61.61%2C0%2C1%2C0%2C1.19.22l.82-4.35h2.16a5.18%2C5.18%2C0%2C0%2C1%2C.45-1.21H12l.77-4h4.42l-.32%2C1.69a4.86%2C4.86%2C0%2C0%2C1%2C1.31-.4l.24-1.29h3.65a.61.61%2C0%2C0%2C0%2C0-1.21H18.65l.78-4.12A.61.61%2C0%2C0%2C0%2C18.24%2C7l-.82%2C4.35H13ZM14.6%2C19A4.44%2C4.44%2C0%2C1%2C1%2C19%2C23.48%2C4.44%2C4.44%2C0%2C0%2C1%2C14.6%2C19Zm4.59%2C2.8.06%2C0%2C0%2C0%2C2.05-2.05.05-.06a.4.4%2C0%2C0%2C0-.56-.56l-.06.05-1.33%2C1.33V16.14a.4.4%2C0%2C0%2C0-.33-.33H19a.4.4%2C0%2C0%2C0-.33.33v4.35l-1.32-1.33-.06-.05a.43.43%2C0%2C0%2C0-.46%2C0l-.06.05%2C0%2C.05a.39.39%2C0%2C0%2C0%2C0%2C.46l0%2C.06%2C2%2C2%2C0%2C0%2C.06%2C0%2C.07%2C0h.13l.07%2C0Z%22%2F%3E%3C%2Fsvg%3E",label:"Minimum Value"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:r,propertyName:"minimum",arrows:!0})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M13.78%2C7.24a.61.61%2C0%2C0%2C0-.49-.71.6.6%2C0%2C0%2C0-.7.48l-.83%2C4.35H7.93a.62.62%2C0%2C0%2C0-.6.61.6.6%2C0%2C0%2C0%2C.6.61h3.6l-.76%2C4H7.12a.61.61%2C0%2C0%2C0%2C0%2C1.21h3.42L9.76%2C22a.61.61%2C0%2C1%2C0%2C1.19.22l.82-4.35h2.16a5.18%2C5.18%2C0%2C0%2C1%2C.45-1.21H12l.77-4h4.42l-.32%2C1.69a4.86%2C4.86%2C0%2C0%2C1%2C1.31-.4l.24-1.29h3.65a.61.61%2C0%2C0%2C0%2C0-1.21H18.65l.78-4.12A.61.61%2C0%2C0%2C0%2C18.24%2C7l-.82%2C4.35H13ZM19%2C14.6A4.44%2C4.44%2C0%2C1%2C1%2C14.6%2C19%2C4.44%2C4.44%2C0%2C0%2C1%2C19%2C14.6Zm.1%2C1.63-.07%2C0h-.13l-.07%2C0-.06%2C0%2C0%2C0-2%2C2%2C0%2C.06a.39.39%2C0%2C0%2C0%2C0%2C.46l0%2C.05.06%2C0a.43.43%2C0%2C0%2C0%2C.46%2C0l.06%2C0%2C1.32-1.33v4.35a.4.4%2C0%2C0%2C0%2C.33.32h.14a.4.4%2C0%2C0%2C0%2C.33-.32V17.59l1.33%2C1.33.06%2C0a.4.4%2C0%2C0%2C0%2C.56-.56l-.05-.06L19.29%2C16.3l0%2C0-.06%2C0Z%22%2F%3E%3C%2Fsvg%3E",label:"Maximum Value"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:r,propertyName:"maximum",arrows:!0})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M14.18%2C7.64A.61.61%2C0%2C0%2C0%2C13%2C7.41l-.82%2C4.36H8.33a.61.61%2C0%2C0%2C0%2C0%2C1.21h3.6l-.77%2C4H7.53a.61.61%2C0%2C1%2C0%2C0%2C1.21H11l-.79%2C4.13a.61.61%2C0%2C0%2C0%2C.49.71.6.6%2C0%2C0%2C0%2C.7-.48l.83-4.36H16.6l-.78%2C4.13a.61.61%2C0%2C1%2C0%2C1.19.23l.82-4.36h3.84a.61.61%2C0%2C0%2C0%2C0-1.21h-3.6l.77-4h3.64a.61.61%2C0%2C1%2C0%2C0-1.21H19.06l.78-4.12a.61.61%2C0%2C0%2C0-.49-.71.6.6%2C0%2C0%2C0-.7.48l-.83%2C4.35H13.4Zm-1%2C5.34h4.42l-.76%2C4H12.41Z%22%2F%3E%3C%2Fsvg%3E",label:"Initial Value"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:r,propertyName:"value",arrows:!0})]}),E.jsx("hr",{}),E.jsx(wO,{label:"THUMB",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M20.33%2C18.05v0a1.43%2C1.43%2C0%2C0%2C0%2C1.22.39v2.9a1.85%2C1.85%2C0%2C0%2C1-1.72%2C1.84H10.28a1.85%2C1.85%2C0%2C0%2C1-1.84-1.72v-3a1.42%2C1.42%2C0%2C0%2C0%2C1.12-.3l.11-.1v3.3a.62.62%2C0%2C0%2C0%2C.53.61h9.52a.62.62%2C0%2C0%2C0%2C.61-.53V18.05ZM9.08%2C12.51a.61.61%2C0%2C0%2C1%2C.06.8l-.06.07-1%2C1h3.1a.58.58%2C0%2C0%2C1%2C.54.62.59.59%2C0%2C0%2C1-.47.61H8.08l1%2C1a.61.61%2C0%2C0%2C1%2C.06.8l-.06.07a.62.62%2C0%2C0%2C1-.8.05l-.07-.05L6.27%2C15.54a.65.65%2C0%2C0%2C1%2C0-1.08l1.94-2A.62.62%2C0%2C0%2C1%2C9.08%2C12.51Zm11.84%2C0a.61.61%2C0%2C0%2C1%2C.8-.06l.07.06%2C1.94%2C1.94A.63.63%2C0%2C0%2C1%2C24%2C15a.67.67%2C0%2C0%2C1-.22.5l-.07%2C0-1.94%2C1.94-.07.06a.62.62%2C0%2C0%2C1-.72%2C0l-.08-.07-.06-.07a.6.6%2C0%2C0%2C1%2C0-.72l.06-.08%2C1-1H18.75a.59.59%2C0%2C0%2C1-.47-.61.58.58%2C0%2C0%2C1%2C.47-.61h3.17l-1-1-.06-.07A.61.61%2C0%2C0%2C1%2C20.92%2C12.51ZM19.72%2C6.8a1.85%2C1.85%2C0%2C0%2C1%2C1.84%2C1.72v3a1.44%2C1.44%2C0%2C0%2C0-1.12.31l-.11.1V8.64A.62.62%2C0%2C0%2C0%2C19.8%2C8H10.28a.62.62%2C0%2C0%2C0-.61.53v3.38h0a1.44%2C1.44%2C0%2C0%2C0-1.22-.4V8.64A1.85%2C1.85%2C0%2C0%2C1%2C10.16%2C6.8h9.56Z%22%2F%3E%3C%2Fsvg%3E",label:"Display Thumb"}),E.jsx(PH,{label:"DISPLAY THUMB",target:r,propertyName:"displayThumb",onValueChanged:()=>this.forceUpdate()})]}),r.displayThumb&&E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M15%2C8.13A6.87%2C6.87%2C0%2C1%2C0%2C21.87%2C15%2C6.86%2C6.86%2C0%2C0%2C0%2C15%2C8.13ZM6.91%2C15A8.09%2C8.09%2C0%2C1%2C1%2C15%2C23.09%2C8.09%2C8.09%2C0%2C0%2C1%2C6.91%2C15Z%22%2F%3E%3C%2Fsvg%3E",label:"Thumb Circular"}),E.jsx(PH,{label:"CIRCULAR",target:r,propertyName:"isThumbCircle"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23212121%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M19.47%2C20.3c.51%2C0%2C1.69-.21%2C1.69-2.12s-1.18-2.12-1.69-2.12h-.96v-.88h.09c.34%2C0%2C.62-.28%2C.62-.62s-.28-.62-.62-.62h-1.46c-.34%2C0-.62%2C.28-.62%2C.62s.28%2C.62%2C.62%2C.62h.12v.88h-4.17v-6.02h6.08c.51%2C0%2C1.68-.21%2C1.68-2.12s-1.18-2.12-1.68-2.12h-6.2c-2.27%2C0-4.12%2C1.85-4.12%2C4.12v6.27c0%2C2.27%2C1.85%2C4.12%2C4.12%2C4.12h4.3v2.67h-.78c-.34%2C0-.62%2C.28-.62%2C.62s.28%2C.62%2C.62%2C.62h2.81c.34%2C0%2C.62-.28%2C.62-.62s-.28-.62-.62-.62h-.78v-2.67h.96Zm-9.38-4.12v-6.27c0-1.59%2C1.29-2.88%2C2.88-2.88h6.2c.17%2C0%2C.43%2C0%2C.43%2C.88s-.26%2C.88-.43%2C.88h-6.2c-.62%2C0-1.12%2C.5-1.12%2C1.12v6.27c0%2C.62%2C.5%2C1.12%2C1.12%2C1.12h6.5c.17%2C0%2C.44%2C0%2C.44%2C.88s-.26%2C.88-.44%2C.88h-6.5c-1.58%2C0-2.88-1.29-2.88-2.88Z%22%2F%3E%3C%2Fsvg%3E",label:"Thumb Clamped to Edges"}),E.jsx(PH,{label:"CLAMPED",target:r,propertyName:"isThumbClamped"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:OL,label:"Width"}),E.jsx(UO,{lockObject:this.props.lockObject,label:"",target:r,propertyName:"thumbWidth"})]})]})]})}}class RL extends u.Component{constructor(e){super(e)}render(){const e=this.props.sliders;return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:this.props.lockObject,controls:e,onPropertyChangedObservable:this.props.onPropertyChangedObservable,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx(AL,{sliders:e,lockObject:this.props.lockObject,onPropertyChangedObservable:this.props.onPropertyChangedObservable})]})}}var ML="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M7.73%2C10A2.23%2C2.23%2C0%2C0%2C1%2C10%2C7.73h10.1A2.23%2C2.23%2C0%2C0%2C1%2C22.27%2C10v10.1a2.23%2C2.23%2C0%2C0%2C1-2.22%2C2.22H10a2.23%2C2.23%2C0%2C0%2C1-2.22-2.22Zm2.22-1a1%2C1%2C0%2C0%2C0-1%2C1v10.1a1%2C1%2C0%2C0%2C0%2C1%2C1h10.1a1%2C1%2C0%2C0%2C0%2C1-1V10a1%2C1%2C0%2C0%2C0-1-1Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E";class HL extends u.Component{constructor(e){super(e)}onDashChange(e){const t=e.split(",");for(const e of this.props.lines){e.dash=[];for(const r of t){const t=parseInt(r);isNaN(t)||e.dash.push(t)}}this.forceUpdate()}render(){const{lines:e,onPropertyChangedObservable:t,lockObject:r}=this.props,o=BO(e,t);let n=e[0].dash;for(const t of e){if(0===n.length)break;t.dash.length!==n.length&&(n=[]);for(let e=0;e<n.length;e++){const r=n[e];t.dash[e]!==r&&(n=[])}}const a=n.join(",");return E.jsxs("div",{className:"pane",children:[E.jsx(wO,{label:"LINE",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M21.23%2C4.79v5.88c0%2C.27-.21%2C.48-.48%2C.48s-.47-.21-.47-.48V5.39l-.96%2C.38c-.08%2C.03-.18%2C.06-.25%2C.06-.24%2C0-.43-.19-.43-.43%2C0-.14%2C.06-.32%2C.3-.42l1.47-.59c.08-.02%2C.2-.09%2C.34-.09%2C.28%2C0%2C.48%2C.21%2C.48%2C.49Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M16.51%2C15.01c0%2C.33%2C.27%2C.61%2C.61%2C.61h4.59l-.58%2C.58c-.24%2C.24-.24%2C.62%2C0%2C.86%2C.24%2C.24%2C.62%2C.24%2C.86%2C0l1.61-1.61c.24-.24%2C.24-.62%2C0-.86l-1.61-1.61c-.24-.24-.62-.24-.86%2C0-.24%2C.24-.24%2C.62%2C0%2C.86l.58%2C.58h-4.59c-.33%2C0-.61%2C.27-.61%2C.61Zm-3.63-.61h-4.59l.58-.58c.24-.24%2C.24-.62%2C0-.86-.24-.24-.62-.24-.86%2C0l-1.61%2C1.61c-.24%2C.24-.24%2C.62%2C0%2C.86l1.61%2C1.61c.24%2C.24%2C.62%2C.24%2C.86%2C0%2C.24-.24%2C.24-.62%2C0-.86l-.58-.58h4.59c.33%2C0%2C.61-.27%2C.61-.61%2C0-.33-.27-.61-.61-.61Zm2.09-.92c.33%2C0%2C.61-.27%2C.61-.61v-4.59l.58%2C.58c.24%2C.24%2C.62%2C.24%2C.86%2C0%2C.24-.24%2C.24-.62%2C0-.86l-1.61-1.61c-.24-.24-.62-.24-.86%2C0l-1.61%2C1.61c-.24%2C.24-.24%2C.62%2C0%2C.86%2C.24%2C.24%2C.62%2C.24%2C.86%2C0l.58-.58v4.59c0%2C.33%2C.27%2C.61%2C.61%2C.61Zm-.61%2C3.63v4.59l-.58-.58c-.24-.24-.62-.24-.86%2C0-.24%2C.24-.24%2C.62%2C0%2C.86l1.61%2C1.61c.24%2C.24%2C.62%2C.24%2C.86%2C0l1.61-1.61c.24-.24%2C.24-.62%2C0-.86-.24-.24-.62-.24-.86%2C0l-.58%2C.58v-4.59c0-.33-.27-.61-.61-.61s-.61%2C.27-.61%2C.61Z%22%2F%3E%3C%2Fsvg%3E",label:"Position 1"}),E.jsx(UO,{lockObject:r,label:"X",target:o,propertyName:"x1"}),E.jsx(UO,{lockObject:r,label:"Y",target:o,propertyName:"y1"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M23.65%2C10.8c0%2C.28-.21%2C.46-.46%2C.46h-3.53c-.29%2C0-.5-.19-.5-.5%2C0-.21%2C.08-.37%2C.28-.57l2.03-2.11c.52-.53%2C.84-1.08%2C.84-1.67%2C0-.63-.46-1.05-1.08-1.05-.56%2C0-.92%2C.31-1.16%2C.62-.09%2C.11-.2%2C.22-.41%2C.22-.25%2C0-.45-.16-.46-.41%2C0-.14%2C.05-.27%2C.12-.38%2C.3-.52%2C.97-1%2C1.94-1%2C1.29%2C0%2C2.05%2C.85%2C2.05%2C1.95%2C0%2C.77-.36%2C1.46-1.09%2C2.22l-1.69%2C1.76h2.65c.26%2C0%2C.46%2C.18%2C.46%2C.46Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M16.51%2C15.01c0%2C.33%2C.27%2C.61%2C.61%2C.61h4.59l-.58%2C.58c-.24%2C.24-.24%2C.62%2C0%2C.86%2C.24%2C.24%2C.62%2C.24%2C.86%2C0l1.61-1.61c.24-.24%2C.24-.62%2C0-.86l-1.61-1.61c-.24-.24-.62-.24-.86%2C0-.24%2C.24-.24%2C.62%2C0%2C.86l.58%2C.58h-4.59c-.33%2C0-.61%2C.27-.61%2C.61Zm-3.63-.61h-4.59l.58-.58c.24-.24%2C.24-.62%2C0-.86-.24-.24-.62-.24-.86%2C0l-1.61%2C1.61c-.24%2C.24-.24%2C.62%2C0%2C.86l1.61%2C1.61c.24%2C.24%2C.62%2C.24%2C.86%2C0%2C.24-.24%2C.24-.62%2C0-.86l-.58-.58h4.59c.33%2C0%2C.61-.27%2C.61-.61%2C0-.33-.27-.61-.61-.61Zm2.09-.92c.33%2C0%2C.61-.27%2C.61-.61v-4.59l.58%2C.58c.24%2C.24%2C.62%2C.24%2C.86%2C0%2C.24-.24%2C.24-.62%2C0-.86l-1.61-1.61c-.24-.24-.62-.24-.86%2C0l-1.61%2C1.61c-.24%2C.24-.24%2C.62%2C0%2C.86%2C.24%2C.24%2C.62%2C.24%2C.86%2C0l.58-.58v4.59c0%2C.33%2C.27%2C.61%2C.61%2C.61Zm-.61%2C3.63v4.59l-.58-.58c-.24-.24-.62-.24-.86%2C0-.24%2C.24-.24%2C.62%2C0%2C.86l1.61%2C1.61c.24%2C.24%2C.62%2C.24%2C.86%2C0l1.61-1.61c.24-.24%2C.24-.62%2C0-.86-.24-.24-.62-.24-.86%2C0l-.58%2C.58v-4.59c0-.33-.27-.61-.61-.61s-.61%2C.27-.61%2C.61Z%22%2F%3E%3C%2Fsvg%3E",label:"Position 2"}),E.jsx(UO,{lockObject:r,label:"X",target:o,propertyName:"x2"}),E.jsx(UO,{lockObject:r,label:"Y",target:o,propertyName:"y2"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Line Width"}),E.jsx(PO,{lockObject:r,label:"",target:o,propertyName:"lineWidth",unit:E.jsx(DL,{unit:"PX",locked:!0}),min:0,arrows:!0})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%3E%3Cpath%20class%3D%22b%22%20d%3D%22M16.47%2C8.95h-2.98c-.33%2C0-.6-.27-.6-.6s.27-.6%2C.6-.6h2.98c.33%2C0%2C.6%2C.27%2C.6%2C.6s-.27%2C.6-.6%2C.6Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M8.3%2C11.6c-.33%2C0-.6-.27-.6-.6v-1c0-1.24%2C1.01-2.25%2C2.25-2.25h1c.33%2C0%2C.6%2C.27%2C.6%2C.6s-.27%2C.6-.6%2C.6h-1c-.58%2C0-1.05%2C.47-1.05%2C1.05v1c0%2C.33-.27%2C.6-.6%2C.6Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M21.7%2C11.6c-.33%2C0-.6-.27-.6-.6v-1c0-.58-.47-1.05-1.05-1.05h-1c-.33%2C0-.6-.27-.6-.6s.27-.6%2C.6-.6h1c1.24%2C0%2C2.25%2C1.01%2C2.25%2C2.25v1c0%2C.33-.27%2C.6-.6%2C.6Z%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Cpath%20class%3D%22b%22%20d%3D%22M8.35%2C17.11c-.33%2C0-.6-.27-.6-.6v-2.98c0-.33%2C.27-.6%2C.6-.6s.6%2C.27%2C.6%2C.6v2.98c0%2C.33-.27%2C.6-.6%2C.6Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M11%2C22.3h-1c-1.24%2C0-2.25-1.01-2.25-2.25v-1c0-.33%2C.27-.6%2C.6-.6s.6%2C.27%2C.6%2C.6v1c0%2C.58%2C.47%2C1.05%2C1.05%2C1.05h1c.33%2C0%2C.6%2C.27%2C.6%2C.6s-.27%2C.6-.6%2C.6Z%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Cpath%20class%3D%22b%22%20d%3D%22M16.51%2C22.25h-2.98c-.33%2C0-.6-.27-.6-.6s.27-.6%2C.6-.6h2.98c.33%2C0%2C.6%2C.27%2C.6%2C.6s-.27%2C.6-.6%2C.6Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M20.05%2C22.25h-1c-.33%2C0-.6-.27-.6-.6s.27-.6%2C.6-.6h1c.58%2C0%2C1.05-.47%2C1.05-1.05v-1c0-.33%2C.27-.6%2C.6-.6s.6%2C.27%2C.6%2C.6v1c0%2C1.24-1.01%2C2.25-2.25%2C2.25Z%22%2F%3E%3C%2Fg%3E%3Cpath%20class%3D%22b%22%20d%3D%22M21.65%2C17.07c-.33%2C0-.6-.27-.6-.6v-2.98c0-.33%2C.27-.6%2C.6-.6s.6%2C.27%2C.6%2C.6v2.98c0%2C.33-.27%2C.6-.6%2C.6Z%22%2F%3E%3C%2Fsvg%3E",label:"Dash Pattern"}),E.jsx(UO,{lockObject:r,label:"",target:o,value:a,onChange:e=>this.onDashChange(e)})]}),E.jsx("hr",{}),E.jsx(IL,{hideDimensions:!0,lockObject:r,controls:e,onPropertyChangedObservable:t,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState})]})}}var LL="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M25%2C12.76A2.21%2C2.21%2C0%2C0%2C1%2C27.24%2C15V25A2.21%2C2.21%2C0%2C0%2C1%2C25%2C27.24H15A2.21%2C2.21%2C0%2C0%2C1%2C12.76%2C25V15A2.21%2C2.21%2C0%2C0%2C1%2C15%2C12.76ZM25%2C14H15a1%2C1%2C0%2C0%2C0-1%2C1V25a1%2C1%2C0%2C0%2C0%2C1%2C1H25a1%2C1%2C0%2C0%2C0%2C1-1V15A1%2C1%2C0%2C0%2C0%2C25%2C14Zm-6.64%2C8%2C5.21-5.2a.59.59%2C0%2C0%2C1%2C.85%2C0%2C.61.61%2C0%2C0%2C1%2C.06.78l-.06.07-5.63%2C5.63a.6.6%2C0%2C0%2C1-.79.06L18%2C23.24l-2.41-2.41a.61.61%2C0%2C0%2C1%2C0-.85.6.6%2C0%2C0%2C1%2C.79-.06l.06.06%2C2%2C2%2C5.21-5.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E";class VL extends u.Component{constructor(e){super(e)}render(){const e=this.props.radioButtons;return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:this.props.lockObject,controls:e,onPropertyChangedObservable:this.props.onPropertyChangedObservable,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"RADIO BUTTON",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Stroke Weight"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:BO(e,this.props.onPropertyChangedObservable),propertyName:"thickness",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:SL,label:"Check Size Ratio"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:BO(e,this.props.onPropertyChangedObservable),propertyName:"checkSizeRatio",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:ML,label:"Name of Group"}),E.jsx(UO,{lockObject:this.props.lockObject,label:"",target:BO(e,this.props.onPropertyChangedObservable),propertyName:"group"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:LL,label:"Is Checked"}),E.jsx(PH,{label:"CHECKED",target:BO(e,this.props.onPropertyChangedObservable),propertyName:"isChecked"})]})]})}}const WL=Number.MAX_SAFE_INTEGER;class ZL extends u.Component{_remapValueIn(e){return this.props.allowNullValue&&null===e?WL:e}_remapValueOut(e){return this.props.allowNullValue&&e===WL?null:e}_getValue(e){return e.extractValue?e.extractValue(e.target):e.target&&e.propertyName?e.target[e.propertyName]:e.options[e.defaultIfNull||0]}constructor(e){super(e),this._localChange=!1,this.state={value:this._remapValueIn(this._getValue(e))}}shouldComponentUpdate(e,t){if(this._localChange)return this._localChange=!1,!0;if(e.options!==this.props.options)return!0;const r=this._remapValueIn(e.extractValue?e.extractValue(this.props.target):e.target[e.propertyName]);return null!=r&&r!==t.value&&(t.value=r,!0)}raiseOnPropertyChanged(e,t){this.props.onPropertyChangedObservable&&this.props.onPropertyChangedObservable.notifyObservers({object:this.props.target,property:this.props.propertyName,value:e,initialValue:t,allowNullValue:this.props.allowNullValue})}setValue(e){this.setState({value:e})}updateValue(e){const t=this.props.valuesAreStrings?e:parseInt(e);this._localChange=!0;const r=this.props.extractValue?this.props.extractValue(this.props.target):this.props.target[this.props.propertyName];this.props.noDirectUpdate||(this.props.target[this.props.propertyName]=this._remapValueOut(t)),this.setState({value:t}),this.props.onSelect&&this.props.onSelect(t);const o=this.props.extractValue?this.props.extractValue(this.props.target):this.props.target[this.props.propertyName];this.raiseOnPropertyChanged(o,r)}onCopyClickStr(){if(this.props&&this.props.target){const{className:e,babylonNamespace:t}=H(this.props.target);return"globalThis.debugNode."+this.props.propertyName+" = "+(this.props.extractValue?this.props.extractValue(this.props.target):this.props.target[this.props.propertyName])+";// (debugNode as "+t+e+")"}return"undefined"}_renderFluent(){return E.jsx(gO,{label:this.props.label,onCopy:()=>this.onCopyClickStr(),children:E.jsx(GH,{options:this.props.options,onChange:e=>{null!=e&&this.updateValue(e.toString())},value:this.state.value})})}_renderOriginal(){return E.jsxs("div",{className:"listLine"+(this.props.className?" "+this.props.className:""),children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,color:"black",className:"icon"}),E.jsx("div",{className:"label",title:this.props.label,children:this.props.label}),E.jsx("div",{className:"options",children:E.jsx("select",{onChange:e=>this.updateValue(e.target.value),value:this.state.value??"",children:this.props.options.map((e,t)=>E.jsx("option",{selected:e.selected,value:e.value,title:e.label,children:e.label},e.label+t))})}),E.jsx("div",{className:"copy hoverIcon",onClick:()=>M(this.onCopyClickStr()),title:"Copy to clipboard",children:E.jsx("img",{src:O,alt:"Copy"})})]})}render(){return E.jsx(NI.Consumer,{children:({useFluent:e})=>e?this._renderFluent():this._renderOriginal()})}}class UL extends u.Component{constructor(e){super(e)}render(){const{onPropertyChangedObservable:e}=this.props,t=this.props.textBlocks,r=BO(t,e);return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:this.props.lockObject,controls:t,onPropertyChangedObservable:this.props.onPropertyChangedObservable,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"TEXTBLOCK",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:zL,label:"Text"}),E.jsx(UO,{lockObject:this.props.lockObject,label:" ",target:r,propertyName:"text"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M10.35%2C8.93a1.43%2C1.43%2C0%2C0%2C0-1.42%2C1.42v1.21a.61.61%2C0%2C1%2C1-1.21%2C0V10.35a2.63%2C2.63%2C0%2C0%2C1%2C2.63-2.63h1.21a.61.61%2C0%2C1%2C1%2C0%2C1.21Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M21.07%2C10.35a1.43%2C1.43%2C0%2C0%2C0-1.42-1.42H18.44a.61.61%2C0%2C1%2C1%2C0-1.21h1.21a2.63%2C2.63%2C0%2C0%2C1%2C2.63%2C2.63v1.21a.61.61%2C0%2C1%2C1-1.21%2C0Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M21.07%2C19.65a1.43%2C1.43%2C0%2C0%2C1-1.42%2C1.42H18.44a.61.61%2C0%2C1%2C0%2C0%2C1.21h1.21a2.63%2C2.63%2C0%2C0%2C0%2C2.63-2.63V18.44a.61.61%2C0%2C1%2C0-1.21%2C0Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M8.93%2C19.65a1.43%2C1.43%2C0%2C0%2C0%2C1.42%2C1.42h1.21a.61.61%2C0%2C1%2C1%2C0%2C1.21H10.35a2.63%2C2.63%2C0%2C0%2C1-2.63-2.63V18.44a.61.61%2C0%2C1%2C1%2C1.21%2C0Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M12%2C10.15A1.81%2C1.81%2C0%2C0%2C0%2C10.15%2C12V18A1.81%2C1.81%2C0%2C0%2C0%2C12%2C19.85H18A1.81%2C1.81%2C0%2C0%2C0%2C19.85%2C18V12A1.81%2C1.81%2C0%2C0%2C0%2C18%2C10.15ZM11.36%2C12a.61.61%2C0%2C0%2C1%2C.61-.61H18a.61.61%2C0%2C0%2C1%2C.61.61V18a.61.61%2C0%2C0%2C1-.61.61H12a.61.61%2C0%2C0%2C1-.61-.61Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Automatically resize the text block to fit the size of the text"}),E.jsx(PH,{label:"RESIZE TO FIT",target:r,propertyName:"resizeToFit"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M7.13%2C8.34a.61.61%2C0%2C1%2C0%2C0%2C1.21H22.06a.61.61%2C0%2C1%2C0%2C0-1.21Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M7.13%2C13.59a.61.61%2C0%2C1%2C0%2C0%2C1.21H20.25a2%2C2%2C0%2C0%2C1%2C0%2C4H16.66l.58-.59a.6.6%2C0%2C0%2C0-.85-.85L14.77%2C19a.62.62%2C0%2C0%2C0%2C0%2C.86l1.62%2C1.61a.6.6%2C0%2C0%2C0%2C.85-.85l-.58-.58h3.59a3.23%2C3.23%2C0%2C0%2C0%2C0-6.46Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M6.52%2C19.44a.6.6%2C0%2C0%2C1%2C.61-.6h5.25a.61.61%2C0%2C0%2C1%2C0%2C1.21H7.13A.61.61%2C0%2C0%2C1%2C6.52%2C19.44Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Text Wrapping"}),E.jsx(ZL,{label:" ",options:[{label:"Clip",value:0},{label:"Ellipsis",value:2},{label:"Word wrap",value:1}],target:r,propertyName:"textWrapping"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M21.21%2C7.88%2C22.83%2C9.5a.61.61%2C0%2C0%2C1-.86.86l-.58-.58v3.8a.61.61%2C0%2C0%2C1-.61.61.61.61%2C0%2C0%2C1-.61-.61V9.78l-.58.58a.61.61%2C0%2C0%2C1-.86-.86l1.62-1.62a.6.6%2C0%2C0%2C1%2C.43-.18h0a.59.59%2C0%2C0%2C1%2C.23%2C0A.63.63%2C0%2C0%2C1%2C21.21%2C7.88Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M7%2C9.93a.61.61%2C0%2C0%2C1%2C.61-.61h6.89a.61.61%2C0%2C0%2C1%2C.61.61.61.61%2C0%2C0%2C1-.61.61H7.6A.61.61%2C0%2C0%2C1%2C7%2C9.93Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M7%2C15.2a.61.61%2C0%2C0%2C1%2C.61-.61h9.33a.61.61%2C0%2C0%2C1%2C.6.61.6.6%2C0%2C0%2C1-.6.61H7.6A.61.61%2C0%2C0%2C1%2C7%2C15.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M7.6%2C19.87a.61.61%2C0%2C1%2C0%2C0%2C1.21h6.89a.61.61%2C0%2C1%2C0%2C0-1.21Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M20.17%2C20.22v-3.8a.61.61%2C0%2C0%2C1%2C.61-.61.61.61%2C0%2C0%2C1%2C.61.61v3.8l.58-.58a.61.61%2C0%2C0%2C1%2C.86.86l-1.62%2C1.62a.63.63%2C0%2C0%2C1-.2.13.65.65%2C0%2C0%2C1-.2.05h0a.59.59%2C0%2C0%2C1-.23-.05.53.53%2C0%2C0%2C1-.2-.13L18.73%2C20.5a.61.61%2C0%2C0%2C1%2C.86-.86Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Line Spacing"}),E.jsx(UO,{lockObject:this.props.lockObject,label:" ",target:r,propertyName:"lineSpacing"})]}),E.jsx("hr",{}),E.jsx(wO,{label:"OUTLINE",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Outline Width"}),E.jsx(PO,{lockObject:this.props.lockObject,label:" ",target:r,propertyName:"outlineWidth",arrows:!0,min:0,unit:E.jsx(DL,{unit:"PX",locked:!0}),step:"0.01"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:_L,label:"Outline Color"}),E.jsx(cL,{lockObject:this.props.lockObject,label:" ",target:r,propertyName:"outlineColor"})]})]})}}var GL="data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M17.87%2C12.15c.2-.2%2C.51-.2%2C.71%2C0l2.5%2C2.5c.2%2C.2%2C.2%2C.51%2C0%2C.71l-2.5%2C2.5c-.2%2C.2-.51%2C.2-.71%2C0-.2-.2-.2-.51%2C0-.71l1.65-1.65h-3.36c-.28%2C0-.5-.22-.5-.5s.22-.5%2C.5-.5h3.36l-1.65-1.65c-.2-.2-.2-.51%2C0-.71Zm-10.46-3.03c.26%2C0%2C.47%2C.19%2C.5%2C.44v10.81c0%2C.28-.22%2C.5-.5%2C.5-.26%2C0-.47-.19-.5-.44V9.63c0-.28%2C.22-.5%2C.5-.5Zm15.17%2C0c.26%2C0%2C.47%2C.19%2C.5%2C.44v10.81c0%2C.28-.22%2C.5-.5%2C.5-.26%2C0-.47-.19-.5-.44V9.63c0-.28%2C.22-.5%2C.5-.5Zm-10.56%2C3.73l-1.65%2C1.65h3.36c.28%2C0%2C.5%2C.22%2C.5%2C.5%2C0%2C.28-.22%2C.5-.5%2C.5h-3.36l1.65%2C1.65c.2%2C.2%2C.2%2C.51%2C0%2C.71-.2%2C.2-.51%2C.2-.71%2C0l-2.5-2.5c-.2-.2-.2-.51%2C0-.71l2.5-2.5c.2-.2%2C.51-.2%2C.71%2C0%2C.2%2C.2%2C.2%2C.51%2C0%2C.71Z%22%2F%3E%3C%2Fsvg%3E";class XL extends u.Component{constructor(e){super(e)}render(){const{inputTexts:e,onPropertyChangedObservable:t,lockObject:r}=this.props,o=BO(e,t);return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:r,controls:e,onPropertyChangedObservable:t,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"INPUT TEXT",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M16.55%2C11.96c-.2%2C0-.39%2C.08-.53%2C.22-.14%2C.14-.22%2C.33-.22%2C.53s.08%2C.39%2C.22%2C.53c.14%2C.14%2C.33%2C.22%2C.53%2C.22h1.55v4.99c0%2C1.68%2C1.37%2C3.04%2C3.04%2C3.04h1.15c.41%2C0%2C.75-.33%2C.75-.75s-.33-.75-.75-.75h-1.15c-.85%2C0-1.55-.7-1.55-1.55v-4.99h2.7c.2%2C0%2C.39-.08%2C.53-.22%2C.14-.14%2C.22-.33%2C.22-.53s-.08-.39-.22-.53c-.14-.14-.33-.22-.53-.22h-2.7v-2.7c0-.41-.33-.75-.75-.75s-.75%2C.33-.75%2C.75v2.7h-1.55Zm-8.83-3.44c-.41%2C0-.75%2C.33-.75%2C.75s.33%2C.75%2C.75%2C.75h2.7v10.73c0%2C.41%2C.33%2C.75%2C.75%2C.75s.75-.33%2C.75-.75V10.01h2.7c.41%2C0%2C.75-.33%2C.75-.75s-.33-.75-.75-.75H7.71Z%22%2F%3E%3C%2Fsvg%3E",label:"Text"}),E.jsx(UO,{lockObject:r,label:"",target:o,propertyName:"text"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M15.65%2C13.45c.2%2C0%2C.39-.08%2C.53-.22%2C.14-.14%2C.22-.33%2C.22-.53s-.08-.39-.22-.53c-.14-.14-.33-.22-.53-.22h-2.7v-2.7c0-.41-.33-.75-.75-.75s-.75%2C.33-.75%2C.75v2.7h-1.55c-.2%2C0-.39%2C.08-.53%2C.22-.14%2C.14-.22%2C.33-.22%2C.53s.08%2C.39%2C.22%2C.53c.14%2C.14%2C.33%2C.22%2C.53%2C.22h1.55v4.99c0%2C1.68%2C1.37%2C3.04%2C3.04%2C3.04h1.15c.41%2C0%2C.75-.33%2C.75-.75s-.33-.75-.75-.75h-1.15c-.85%2C0-1.55-.7-1.55-1.55v-4.99h2.7Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M20.21%2C4.82c-.34%2C0-.62%2C.28-.62%2C.62V24.55c0%2C.34%2C.28%2C.62%2C.62%2C.62s.62-.28%2C.62-.62V5.45c0-.34-.28-.62-.62-.62Z%22%2F%3E%3C%2Fsvg%3E",label:"Prompt Text"}),E.jsx(UO,{lockObject:r,label:"",target:o,propertyName:"promptMessage"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:OL,label:"Max Width"}),E.jsx(UO,{lockObject:r,label:"",target:o,propertyName:"maxWidth"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M20.38%2C8.62c.42%2C0%2C.81%2C.08%2C1.19%2C.25s.71%2C.39%2C1%2C.68%2C.52%2C.62%2C.68%2C1c.17%2C.38%2C.25%2C.78%2C.26%2C1.2v6.51c0%2C.42-.08%2C.81-.25%2C1.19s-.39%2C.71-.68%2C1-.62%2C.52-1%2C.68-.78%2C.25-1.2%2C.26H9.15c-.35%2C0-.69-.07-1.01-.2s-.6-.32-.85-.56-.44-.52-.58-.83c-.14-.32-.22-.65-.22-1.01v-7.56c0-.35%2C.07-.68%2C.21-1%2C.14-.32%2C.33-.59%2C.56-.82s.52-.42%2C.83-.56%2C.65-.22%2C1-.22h11.29Zm-.07%2C2.13v-1.06H9.68v1.06h10.63Zm-11.7-.97c-.23%2C.08-.42%2C.2-.59%2C.37s-.29%2C.37-.38%2C.6h.97v-.97Zm13.54%2C.97c-.19-.33-.45-.59-.78-.78v.78h.78Zm-13.54%2C1.06h-1.06v6.38h1.06v-6.38Zm11.7%2C0H9.68v6.38h10.63v-6.38Zm2.13%2C0h-1.06v6.38h1.06v-6.38Zm-14.8%2C7.44c.08%2C.23%2C.21%2C.43%2C.37%2C.6s.37%2C.3%2C.6%2C.37v-.97h-.97Zm2.04%2C0v1.06h10.63v-1.06H9.68Zm11.7%2C.78c.33-.19%2C.59-.45%2C.78-.78h-.78v.78Z%22%2F%3E%3C%2Fsvg%3E",label:"Margins"}),E.jsx(UO,{lockObject:r,label:"",target:o,propertyName:"margin"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Border Thickness"}),E.jsx(PO,{lockObject:r,label:"",target:o,propertyName:"thickness",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:GL,label:"Automatically Stretch Width"}),E.jsx(PH,{label:"AUTO STRETCH",target:o,propertyName:"autoStretchWidth"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M21.95%2C9.78c.72%2C.25%2C1.23%2C.93%2C1.23%2C1.74v8.18c0%2C1.92-1.56%2C3.48-3.48%2C3.48H11.52c-.8%2C0-1.49-.51-1.74-1.23h9.92c1.24%2C0%2C2.25-1%2C2.25-2.25V9.78Zm-2.66-2.97c1.02%2C0%2C1.84%2C.82%2C1.84%2C1.84v10.64c0%2C1.02-.82%2C1.84-1.84%2C1.84H8.66c-1.02%2C0-1.84-.82-1.84-1.84V8.66c0-1.02%2C.82-1.84%2C1.84-1.84h10.64Zm0%2C1.23H8.66c-.34%2C0-.61%2C.27-.61%2C.61v10.64c0%2C.34%2C.27%2C.61%2C.61%2C.61h10.64c.34%2C0%2C.61-.27%2C.61-.61V8.66c0-.34-.27-.61-.61-.61Zm-6.27%2C6.43l3.18-3.18c.24-.24%2C.63-.24%2C.87%2C0%2C.22%2C.22%2C.24%2C.56%2C.06%2C.8l-.06%2C.07-3.68%2C3.68c-.24%2C.24-.63%2C.24-.86%2C0l-.06-.07-1.23-1.64c-.2-.27-.15-.66%2C.12-.86%2C.25-.18%2C.59-.16%2C.8%2C.05l.06%2C.07%2C.8%2C1.07%2C3.18-3.18-3.18%2C3.18Z%22%2F%3E%3C%2Fsvg%3E",label:"When Input is Focus, Select All"}),E.jsx(PH,{label:"ON FOCUS, SELECT ALL",target:o,propertyName:"onFocusSelectAll"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M21.77%2C6.8c.31%2C0%2C.57%2C.23%2C.61%2C.53v3.77c0%2C.95-.72%2C1.73-1.64%2C1.83v1.85c0%2C.98-.76%2C1.78-1.72%2C1.84h-.33v2.29c0%2C.67-.36%2C1.28-.94%2C1.6l-.13%2C.07-5.44%2C2.55c-.38%2C.18-.82-.07-.87-.47v-6.03h-.21c-.98%2C0-1.77-.76-1.84-1.72v-1.98c-.88-.1-1.57-.81-1.64-1.7v-3.82c0-.34%2C.27-.61%2C.61-.61%2C.31%2C0%2C.57%2C.23%2C.61%2C.53v3.77c0%2C.31%2C.24%2C.57%2C.54%2C.61h11.15c.31%2C0%2C.57-.23%2C.61-.53v-3.77c0-.34%2C.28-.61%2C.62-.61Zm-4.31%2C9.83h-4.92v4.98l4.56-2.14c.19-.09%2C.32-.27%2C.35-.47v-2.38Zm2.06-3.68H10.49v1.84c0%2C.31%2C.23%2C.57%2C.53%2C.61h7.87c.31%2C0%2C.57-.23%2C.61-.53v-1.92Z%22%2F%3E%3C%2Fsvg%3E",label:"Highlight Color"}),E.jsx(cL,{lockObject:r,label:"",target:o,propertyName:"textHighlightColor"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:jL,label:"Highlight Opacity"}),E.jsx(HO,{lockObject:r,label:"",minimum:0,maximum:1,step:.01,target:o,propertyName:"highligherOpacity"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:_L,label:"Background Color when Focused"}),E.jsx(cL,{lockObject:r,label:"",target:o,propertyName:"focusedBackground"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M12.27%2C7.42H5.38c-.41%2C0-.75%2C.33-.75%2C.75s.33%2C.75%2C.75%2C.75h2.7v10.73c0%2C.41%2C.33%2C.75%2C.75%2C.75s.75-.33%2C.75-.75V8.91h2.7c.41%2C0%2C.75-.33%2C.75-.75s-.33-.75-.75-.75Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M17.25%2C12.35h2.7c.2%2C0%2C.39-.08%2C.53-.22%2C.14-.14%2C.22-.33%2C.22-.53s-.08-.39-.22-.53c-.14-.14-.33-.22-.53-.22h-2.7v-2.7c0-.41-.33-.75-.75-.75s-.75%2C.33-.75%2C.75v2.7h-1.55c-.2%2C0-.39%2C.08-.53%2C.22-.14%2C.14-.22%2C.33-.22%2C.53s.08%2C.39%2C.22%2C.53c.14%2C.14%2C.33%2C.22%2C.53%2C.22h1.55v4.99c0%2C.5%2C.14%2C.97%2C.35%2C1.39%2C.23-.75%2C.62-1.43%2C1.14-2v-4.39Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M22.21%2C20.13h-1.07v-1.49c0-.34-.28-.62-.62-.62s-.62%2C.28-.62%2C.62v2.12c0%2C.34%2C.28%2C.62%2C.62%2C.62h1.69c.34%2C0%2C.62-.28%2C.62-.62s-.28-.62-.62-.62Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M21.04%2C15.93c-2.39%2C0-4.33%2C1.94-4.33%2C4.33s1.94%2C4.33%2C4.33%2C4.33%2C4.33-1.94%2C4.33-4.33-1.94-4.33-4.33-4.33Zm0%2C7.4c-1.7%2C0-3.08-1.38-3.08-3.08s1.38-3.08%2C3.08-3.08%2C3.08%2C1.38%2C3.08%2C3.08-1.38%2C3.08-3.08%2C3.08Z%22%2F%3E%3C%2Fsvg%3E",label:"Placeholder Text"}),E.jsx(UO,{lockObject:r,label:"",target:o,propertyName:"placeholderText"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:NL,label:"Placeholder Color"}),E.jsx(cL,{lockObject:r,label:"",target:o,propertyName:"placeholderColor"})]})]})}}class $L extends u.Component{constructor(e){super(e)}render(){const e=this.props.colorPickers;return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:this.props.lockObject,controls:e,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"COLOR PICKER",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:_L,label:"Color Picker Value"}),E.jsx(cL,{label:"",target:BO(e,this.props.onPropertyChangedObservable),propertyName:"value",disableAlpha:!0,lockObject:this.props.lockObject})]})]})}}var KL="data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M22.43%2C19a.6.6%2C0%2C0%2C1%2C.09%2C1.2h-2.3v2.21a.6.6%2C0%2C0%2C1-.6.61.61.61%2C0%2C0%2C1-.6-.52v-2.3H12.39a2.61%2C2.61%2C0%2C0%2C1-2.61-2.46V11H7.56a.6.6%2C0%2C0%2C1-.08-1.2H9.77V7.57a.6.6%2C0%2C0%2C1%2C.6-.61.61.61%2C0%2C0%2C1%2C.6.52v2.3h0V11h0v6.63A1.4%2C1.4%2C0%2C0%2C0%2C12.27%2C19H22.43ZM11.78%2C9.78h5.83a2.62%2C2.62%2C0%2C0%2C1%2C2.61%2C2.46v6H19V12.39A1.4%2C1.4%2C0%2C0%2C0%2C17.73%2C11h-6Z%22%2F%3E%3C%2Fsvg%3E",YL="data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M21.72%2C7.67h-5.3a.62.62%2C0%2C0%2C0-.61.61.61.61%2C0%2C0%2C0%2C.61.61h3.82L16%2C13.14a.62.62%2C0%2C0%2C0%2C.87.87l4.25-4.25v3.82a.61.61%2C0%2C0%2C0%2C.61.61.62.62%2C0%2C0%2C0%2C.61-.61V8.28A.62.62%2C0%2C0%2C0%2C21.72%2C7.67Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M21.72%2C15.81a.61.61%2C0%2C0%2C0-.61.62v3.25a1.43%2C1.43%2C0%2C0%2C1-1.43%2C1.43H15V17.24A2.24%2C2.24%2C0%2C0%2C0%2C12.76%2C15H8.89V10.32a1.43%2C1.43%2C0%2C0%2C1%2C1.43-1.43h3.25a.61.61%2C0%2C0%2C0%2C.62-.61.62.62%2C0%2C0%2C0-.62-.61H10.32a2.65%2C2.65%2C0%2C0%2C0-2.65%2C2.65v9.36a2.65%2C2.65%2C0%2C0%2C0%2C2.65%2C2.65h9.36a2.65%2C2.65%2C0%2C0%2C0%2C2.65-2.65V16.43A.62.62%2C0%2C0%2C0%2C21.72%2C15.81Zm-7.94%2C5.3H10.32a1.43%2C1.43%2C0%2C0%2C1-1.43-1.43V16.22h3.87a1%2C1%2C0%2C0%2C1%2C1%2C1Z%22%2F%3E%3C%2Fsvg%3E";class JL extends u.Component{constructor(e){super(e),this._observers=new Map,this.updateObservers([],e.images)}shouldComponentUpdate(e){return this.updateObservers(this.props.images,e.images),!0}updateObservers(e,t){for(const r of t)e.includes(r)||this._observers.set(r,r.onImageLoadedObservable.add(()=>this.forceUpdate()));for(const r of e)t.includes(r)||(r.onImageLoadedObservable.remove(this._observers.get(r)),this._observers.delete(r))}componentWillUnmount(){this.updateObservers(this.props.images,[])}toggleAnimations(e){for(const t of this.props.images)e?(t.cellId=0,t.cellWidth=t.imageWidth,t.cellHeight=t.imageHeight):t.cellId=-1}getMaxCells(){let e=Number.MAX_SAFE_INTEGER;for(const t of this.props.images){if(0===t.cellWidth||0===t.cellHeight)continue;const r=Math.ceil(t.imageWidth/t.cellWidth)*Math.ceil(t.imageHeight/t.cellHeight)-1;r<e&&(e=r)}return e}updateCellSize(){const e=this.getMaxCells();for(const t of this.props.images)t.cellId>e&&(t.cellId=e);this.forceUpdate()}render(){const e=this.props.images,t=e[0],o=BO(e,this.props.onPropertyChangedObservable),n=[{label:"None",value:r.Image.STRETCH_NONE},{label:"Fill",value:r.Image.STRETCH_FILL},{label:"Uniform",value:r.Image.STRETCH_UNIFORM},{label:"Extend",value:r.Image.STRETCH_EXTEND},{label:"NinePatch",value:r.Image.STRETCH_NINE_PATCH}],a=e.every(e=>-1!==e.cellId),i=this.getMaxCells(),l=Math.max(...e.map(e=>e.imageWidth)),s=Math.max(...e.map(e=>e.imageHeight));return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:this.props.lockObject,controls:e,onPropertyChangedObservable:this.props.onPropertyChangedObservable,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"IMAGE",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M12.78%2C11a.6.6%2C0%2C0%2C1%2C.09%2C1.2H11a2.82%2C2.82%2C0%2C0%2C0-.17%2C5.64h2a.61.61%2C0%2C0%2C1%2C.61.61.62.62%2C0%2C0%2C1-.52.6H11a4%2C4%2C0%2C0%2C1-.2-8.06h2ZM19%2C11a4%2C4%2C0%2C0%2C1%2C.2%2C8.06h-2a.6.6%2C0%2C0%2C1-.09-1.2H19a2.82%2C2.82%2C0%2C0%2C0%2C.17-5.64h-2a.61.61%2C0%2C0%2C1-.61-.61.62.62%2C0%2C0%2C1%2C.52-.6H19ZM11%2C14.4H19a.6.6%2C0%2C0%2C1%2C.08%2C1.2H11a.6.6%2C0%2C0%2C1-.08-1.2Z%22%2F%3E%3C%2Fsvg%3E",label:"Source"}),E.jsx(UO,{lockObject:this.props.lockObject,label:" ",target:o,propertyName:"source"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:KL,label:"Crop"}),E.jsx(UO,{lockObject:this.props.lockObject,label:"L",target:o,propertyName:"sourceLeft",numeric:!0,arrows:!0,min:0,placeholder:"0",unit:E.jsx(DL,{unit:"PX",locked:!0})}),E.jsx(UO,{lockObject:this.props.lockObject,label:"T",target:o,propertyName:"sourceTop",numeric:!0,arrows:!0,min:0,placeholder:"0",unit:E.jsx(DL,{unit:"PX",locked:!0})})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:KL,label:"Crop"}),E.jsx(UO,{lockObject:this.props.lockObject,label:"W",target:o,propertyName:"sourceWidth",numeric:!0,arrows:!0,min:0,placeholder:Math.max(...e.map(e=>e.imageWidth)).toString(),unit:E.jsx(DL,{unit:"PX",locked:!0})}),E.jsx(UO,{lockObject:this.props.lockObject,label:"H",target:o,propertyName:"sourceHeight",numeric:!0,arrows:!0,min:0,placeholder:Math.max(...e.map(e=>e.imageHeight)).toString(),unit:E.jsx(DL,{unit:"PX",locked:!0})})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:YL,label:"Autoscale"}),E.jsx(PH,{label:"AUTOSCALE",target:o,propertyName:"autoScale",onPropertyChangedObservable:this.props.onPropertyChangedObservable})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M11.77%2C12.93a.61.61%2C0%2C0%2C1%2C.06.86l-.54.61H13.6a.6.6%2C0%2C0%2C1%2C0%2C1.2H11.29l.54.61a.61.61%2C0%2C0%2C1-.92.8L9.5%2C15.4a.61.61%2C0%2C0%2C1%2C0-.8L10.91%2C13A.61.61%2C0%2C0%2C1%2C11.77%2C12.93Zm6.42.86a.61.61%2C0%2C1%2C1%2C.91-.8l1.41%2C1.61a.61.61%2C0%2C0%2C1%2C0%2C.8L19.1%2C17a.61.61%2C0%2C1%2C1-.91-.8l.53-.61H16.41a.6.6%2C0%2C0%2C1%2C0-1.2h2.31ZM6.93%2C10.36A1.82%2C1.82%2C0%2C0%2C1%2C8.75%2C8.55h12.5a1.81%2C1.81%2C0%2C0%2C1%2C1.81%2C1.81v9.28a1.81%2C1.81%2C0%2C0%2C1-1.81%2C1.81H8.75a1.82%2C1.82%2C0%2C0%2C1-1.82-1.81Zm1.82-.6a.6.6%2C0%2C0%2C0-.61.6v9.28a.6.6%2C0%2C0%2C0%2C.61.6h12.5a.6.6%2C0%2C0%2C0%2C.6-.6V10.36a.6.6%2C0%2C0%2C0-.6-.6Z%22%2F%3E%3C%2Fsvg%3E",label:"Stretch"}),E.jsx(ZL,{label:" ",options:n,target:o,propertyName:"stretch",onSelect:e=>this.setState({mode:e})})]}),1===e.length&&t.stretch===r.Image.STRETCH_NINE_PATCH&&E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:KL,label:"Slice Horizontal"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"L",target:t,propertyName:"sliceLeft",onChange:()=>{t.populateNinePatchSlicesFromImage=!1,this.forceUpdate()}}),E.jsx(PO,{lockObject:this.props.lockObject,label:"R",target:t,propertyName:"sliceRight",onChange:()=>{t.populateNinePatchSlicesFromImage=!1,this.forceUpdate()}})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:KL,label:"Slice Vertical"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"T",target:t,propertyName:"sliceTop",onChange:()=>{t.populateNinePatchSlicesFromImage=!1,this.forceUpdate()}}),E.jsx(PO,{lockObject:this.props.lockObject,label:"B",target:t,propertyName:"sliceBottom",onChange:()=>{t.populateNinePatchSlicesFromImage=!1,this.forceUpdate()}})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:YL,label:"Populate Nine Patch Slices From Image"}),E.jsx(PH,{label:"SLICE FROM IMAGE",target:t,propertyName:"populateNinePatchSlicesFromImage",onValueChanged:()=>{this.forceUpdate(),t._markAsDirty()}})]})]}),E.jsx("hr",{}),E.jsx(PH,{iconLabel:"animationSheet",icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M8.56%2C8.56h8.85A1.61%2C1.61%2C0%2C0%2C1%2C19%2C10.17V15.8a1.61%2C1.61%2C0%2C0%2C1-1.61%2C1.61H8.56A1.61%2C1.61%2C0%2C0%2C1%2C7%2C15.8V10.17A1.61%2C1.61%2C0%2C0%2C1%2C8.56%2C8.56Zm8.85%2C1.21H8.56a.4.4%2C0%2C0%2C0-.4.4V15.8a.4.4%2C0%2C0%2C0%2C.4.41h8.85a.41.41%2C0%2C0%2C0%2C.41-.41V10.17A.4.4%2C0%2C0%2C0%2C17.41%2C9.77ZM9%2C18.22a1.62%2C1.62%2C0%2C0%2C0%2C1.56%2C1.21h7.25A3.22%2C3.22%2C0%2C0%2C0%2C21%2C16.21v-4a1.62%2C1.62%2C0%2C0%2C0-1.21-1.56v5.59a2%2C2%2C0%2C0%2C1-2%2C2Zm2%2C2a1.61%2C1.61%2C0%2C0%2C0%2C1.56%2C1.21h5.83a4.63%2C4.63%2C0%2C0%2C0%2C4.63-4.63V14.2a1.6%2C1.6%2C0%2C0%2C0-1.21-1.56v4.17a3.42%2C3.42%2C0%2C0%2C1-3.42%2C3.42Z%22%2F%3E%3C%2Fsvg%3E",label:"ANIMATION SHEET",target:BO(e,this.props.onPropertyChangedObservable,e=>-1!==e.cellId),onValueChanged:()=>{this.toggleAnimations(!a),this.forceUpdate()}}),a&&E.jsxs(E.Fragment,{children:[E.jsx("div",{className:"ge-divider double",children:E.jsx(PO,{iconLabel:"Cell Id",icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M14.11%2C11.39a.62.62%2C0%2C0%2C1%2C.48.71l-.18.89h2l.22-1.12a.61.61%2C0%2C0%2C1%2C.71-.48.6.6%2C0%2C0%2C1%2C.47.71l-.17.89h.79a.61.61%2C0%2C0%2C1%2C0%2C1.21h-1l-.33%2C1.6h1A.61.61%2C0%2C0%2C1%2C18%2C17h-1.2l-.22%2C1.13a.62.62%2C0%2C0%2C1-.71.47.61.61%2C0%2C0%2C1-.48-.71l.18-.89h-2l-.22%2C1.13a.61.61%2C0%2C0%2C1-.71.47.6.6%2C0%2C0%2C1-.47-.71l.17-.89h-.79a.61.61%2C0%2C0%2C1%2C0-1.21h1l.33-1.6H12A.61.61%2C0%2C0%2C1%2C12%2C13h1.2l.22-1.12A.62.62%2C0%2C0%2C1%2C14.11%2C11.39Zm-.26%2C4.41h2l.32-1.6h-2ZM7.76%2C10.37a2.61%2C2.61%2C0%2C0%2C1%2C2.61-2.61h9.26a2.61%2C2.61%2C0%2C0%2C1%2C2.61%2C2.61v9.26a2.61%2C2.61%2C0%2C0%2C1-2.61%2C2.61H10.37a2.61%2C2.61%2C0%2C0%2C1-2.61-2.61ZM10.37%2C9A1.4%2C1.4%2C0%2C0%2C0%2C9%2C10.37v9.26a1.4%2C1.4%2C0%2C0%2C0%2C1.4%2C1.4h9.26a1.4%2C1.4%2C0%2C0%2C0%2C1.4-1.4V10.37A1.4%2C1.4%2C0%2C0%2C0%2C19.63%2C9Z%22%2F%3E%3C%2Fsvg%3E",lockObject:this.props.lockObject,label:"",isInteger:!0,target:o,propertyName:"cellId",min:0,max:i})}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(PO,{icon:BL,lockObject:this.props.lockObject,label:"W",target:o,propertyName:"cellWidth",isInteger:!0,onChange:()=>this.updateCellSize(),min:1,max:l}),E.jsx(PO,{lockObject:this.props.lockObject,label:"H",target:o,propertyName:"cellHeight",isInteger:!0,onChange:()=>this.updateCellSize(),min:1,max:s})]})]})]})}}class QL extends u.Component{constructor(e){super(e)}render(){const e=this.props.imageBasedSliders;return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:this.props.lockObject,controls:e,onPropertyChangedObservable:this.props.onPropertyChangedObservable,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"IMAGE LINKS",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M15%2C6.91A8.09%2C8.09%2C0%2C1%2C0%2C23.09%2C15%2C8.09%2C8.09%2C0%2C0%2C0%2C15%2C6.91Zm0%2C1.22A6.87%2C6.87%2C0%2C0%2C1%2C20.59%2C19l-4.32-4.23-.11-.09a1.8%2C1.8%2C0%2C0%2C0-2.43.09L9.41%2C19A6.87%2C6.87%2C0%2C0%2C1%2C15%2C8.13ZM10.2%2C19.91l4.38-4.29.07%2C0a.58.58%2C0%2C0%2C1%2C.77%2C0l4.38%2C4.29a6.86%2C6.86%2C0%2C0%2C1-9.6%2C0Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M17.62%2C13.44a1.81%2C1.81%2C0%2C1%2C0-1.82-1.81A1.81%2C1.81%2C0%2C0%2C0%2C17.62%2C13.44Zm0-2.41a.61.61%2C0%2C1%2C1-.61.6A.6.6%2C0%2C0%2C1%2C17.62%2C11Z%22%2F%3E%3C%2Fsvg%3E",label:"Thumb Image Link"}),E.jsx(UO,{lockObject:this.props.lockObject,target:BO(e.map(e=>e.thumbImage),this.props.onPropertyChangedObservable),label:"",propertyName:"source"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M17.62%2C10.54A1.81%2C1.81%2C0%2C1%2C0%2C15.8%2C8.73%2C1.81%2C1.81%2C0%2C0%2C0%2C17.62%2C10.54Zm0-2.41a.6.6%2C0%2C0%2C1%2C.6.6.61.61%2C0%2C1%2C1-1.21%2C0A.6.6%2C0%2C0%2C1%2C17.62%2C8.13Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M21.75%2C18.58H8.25a2.25%2C2.25%2C0%2C0%2C0%2C0%2C4.5h13.5a2.25%2C2.25%2C0%2C0%2C0%2C0-4.5Zm0%2C3H8.25a.75.75%2C0%2C0%2C1%2C0-1.5h13.5a.75.75%2C0%2C0%2C1%2C0%2C1.5Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M7.22%2C17.38H22.55a.5.5%2C0%2C0%2C0%2C.44-.5.51.51%2C0%2C0%2C0-.51-.5H20.87l-4.6-4.51-.11-.09a1.8%2C1.8%2C0%2C0%2C0-2.43.09l-4.6%2C4.51h-2a.51.51%2C0%2C0%2C0-.43.5A.5.5%2C0%2C0%2C0%2C7.22%2C17.38Zm7.36-4.66.07-.06a.59.59%2C0%2C0%2C1%2C.77.06l3.73%2C3.65h-8.3Z%22%2F%3E%3C%2Fsvg%3E",label:"Value Bar Image Link"}),E.jsx(UO,{lockObject:this.props.lockObject,target:BO(e.map(e=>e.valueBarImage),this.props.onPropertyChangedObservable),label:"",propertyName:"source",onPropertyChangedObservable:this.props.onPropertyChangedObservable})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M15.81%2C11.77A1.82%2C1.82%2C0%2C1%2C0%2C17.63%2C10%2C1.81%2C1.81%2C0%2C0%2C0%2C15.81%2C11.77Zm1.82-.61a.61.61%2C0%2C1%2C1-.61.61A.61.61%2C0%2C0%2C1%2C17.63%2C11.16Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M21.06%2C9.34H18.43a2.55%2C2.55%2C0%2C0%2C1%2C1.45%2C1.21h1.18A2.43%2C2.43%2C0%2C0%2C1%2C23.49%2C13V17a2.43%2C2.43%2C0%2C0%2C1-2.43%2C2.42H20.9l-4.63-4.53-.1-.1a1.82%2C1.82%2C0%2C0%2C0-2.44.1L9.1%2C19.45H8.94A2.43%2C2.43%2C0%2C0%2C1%2C6.51%2C17V13a2.43%2C2.43%2C0%2C0%2C1%2C2.43-2.42h6.44a2.54%2C2.54%2C0%2C0%2C1%2C1.46-1.21H8.94A3.64%2C3.64%2C0%2C0%2C0%2C5.3%2C13V17a3.64%2C3.64%2C0%2C0%2C0%2C3.64%2C3.63H21.06A3.64%2C3.64%2C0%2C0%2C0%2C24.7%2C17V13A3.64%2C3.64%2C0%2C0%2C0%2C21.06%2C9.34Zm-6.48%2C6.45.06-.06a.61.61%2C0%2C0%2C1%2C.78.06l3.75%2C3.66H10.83Z%22%2F%3E%3C%2Fsvg%3E",label:"Background Image Link"}),E.jsx(UO,{lockObject:this.props.lockObject,target:BO(e.map(e=>e.backgroundImage),this.props.onPropertyChangedObservable),label:"",propertyName:"source",onPropertyChangedObservable:this.props.onPropertyChangedObservable})]}),E.jsx(AL,{sliders:e,lockObject:this.props.lockObject,onPropertyChangedObservable:this.props.onPropertyChangedObservable})]})}}class eV extends u.Component{render(){const{containers:e,onPropertyChangedObservable:t}=this.props,r=BO(e,t);return E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M20.48%2C11.35H18.65V9.52a1.93%2C1.93%2C0%2C0%2C0%2C0-.24%2C2.53%2C2.53%2C0%2C0%2C0-.38-1.15L18.2%2C8a2.62%2C2.62%2C0%2C0%2C0-1.94-1.15H9.52A2.64%2C2.64%2C0%2C0%2C0%2C6.88%2C9.52V16a2%2C2%2C0%2C0%2C0%2C0%2C.25%2C2.66%2C2.66%2C0%2C0%2C0%2C.38%2C1.14l.06.09a2.67%2C2.67%2C0%2C0%2C0%2C.8.77%2C2.53%2C2.53%2C0%2C0%2C0%2C1.15.38h2.07v1.83A2.64%2C2.64%2C0%2C0%2C0%2C14%2C23.12h6.5a2.64%2C2.64%2C0%2C0%2C0%2C2.64-2.64V14A2.64%2C2.64%2C0%2C0%2C0%2C20.48%2C11.35Zm-3-1.83v1l-.87.87H15.05L17.35%2C9A1.28%2C1.28%2C0%2C0%2C1%2C17.44%2C9.52Zm0%2C3V16A1.43%2C1.43%2C0%2C0%2C1%2C16%2C17.44H12.56V14A1.43%2C1.43%2C0%2C0%2C1%2C14%2C12.56Zm-9.34-3A1.41%2C1.41%2C0%2C0%2C1%2C9.52%2C8.1h.56l-2%2C2Zm0%2C2.28%2C3.7-3.7h1.53L8.1%2C13.33Zm3.25%2C4.77-.87.87h-1A1.28%2C1.28%2C0%2C0%2C1%2C9%2C17.35l2.31-2.3Zm.11-3.36L8.18%2C16.49A1.51%2C1.51%2C0%2C0%2C1%2C8.1%2C16v-1l7-7h1a1.5%2C1.5%2C0%2C0%2C1%2C.47.08l-3.28%2C3.28A2.68%2C2.68%2C0%2C0%2C0%2C11.46%2C13.21ZM21.9%2C20.48a1.41%2C1.41%2C0%2C0%2C1-1.42%2C1.42H14a1.42%2C1.42%2C0%2C0%2C1-1.42-1.42V18.65H16A2.64%2C2.64%2C0%2C0%2C0%2C18.65%2C16V12.56h1.83A1.42%2C1.42%2C0%2C0%2C1%2C21.9%2C14Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",label:"Clips content outside the bounding box of this control"}),E.jsx(PH,{label:"CLIP CONTENT",target:r,propertyName:"clipContent"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M22.18%2C12.83h-6.5c-1.45%2C0-2.62%2C1.18-2.62%2C2.62v6.35c0%2C1.45%2C1.18%2C2.62%2C2.62%2C2.62h6.5c1.45%2C0%2C2.62-1.18%2C2.62-2.62v-6.35c0-1.45-1.18-2.62-2.62-2.62Zm1.38%2C8.97c0%2C.76-.62%2C1.38-1.38%2C1.38h-6.5c-.76%2C0-1.38-.62-1.38-1.38v-6.35c0-.76%2C.62-1.38%2C1.38-1.38h6.5c.76%2C0%2C1.38%2C.62%2C1.38%2C1.38v6.35Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M13.77%2C8.26c0-1.45-1.18-2.62-2.62-2.62h-3.14c-1.45%2C0-2.62%2C1.18-2.62%2C2.62v3.03c0%2C1.45%2C1.18%2C2.62%2C2.62%2C2.62h3.14c1.45%2C0%2C2.62-1.18%2C2.62-2.62v-3.03Zm-2.27-1.32l-4.79%2C4.79c-.05-.14-.08-.28-.08-.44v-.85l3.55-3.55h.96c.12%2C0%2C.24%2C.02%2C.36%2C.05Zm-3.49-.05h.41l-1.79%2C1.79v-.41c0-.76%2C.62-1.38%2C1.38-1.38Zm-.4%2C5.72l4.82-4.82c.06%2C.15%2C.09%2C.31%2C.09%2C.48v.85l-3.55%2C3.55h-.96c-.14%2C0-.27-.03-.4-.07Zm3.54%2C.07h-.41l1.78-1.78v.41c0%2C.76-.62%2C1.38-1.38%2C1.38Z%22%2F%3E%3C%2Fsvg%3E",label:"Clips child controls to this control's shape"}),E.jsx(PH,{label:"CLIP CHILDREN",target:r,propertyName:"clipChildren"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:GL,label:"Makes the container's width automatically adapt to its children"}),E.jsx(PH,{label:"ADAPT WIDTH TO CHILDREN",target:r,propertyName:"adaptWidthToChildren"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M12.15%2C12.13c-.2-.2-.2-.51%2C0-.71l2.5-2.5c.2-.2%2C.51-.2%2C.71%2C0l2.5%2C2.5c.2%2C.2%2C.2%2C.51%2C0%2C.71-.2%2C.2-.51%2C.2-.71%2C0l-1.65-1.65v3.36c0%2C.28-.22%2C.5-.5%2C.5s-.5-.22-.5-.5v-3.36l-1.65%2C1.65c-.2%2C.2-.51%2C.2-.71%2C0Zm-3.03%2C10.46c0-.26%2C.19-.47%2C.44-.5h10.81c.28%2C0%2C.5%2C.22%2C.5%2C.5s-.19%2C.47-.44%2C.5H9.63c-.28%2C0-.5-.22-.5-.5Zm0-15.17c0-.26%2C.19-.47%2C.44-.5h10.81c.28%2C0%2C.5%2C.22%2C.5%2C.5%2C0%2C.26-.19%2C.47-.44%2C.5H9.63c-.28%2C0-.5-.22-.5-.5Zm3.73%2C10.56l1.65%2C1.65v-3.36c0-.28%2C.22-.5%2C.5-.5s.5%2C.22%2C.5%2C.5v3.36l1.65-1.65c.2-.2%2C.51-.2%2C.71%2C0%2C.2%2C.2%2C.2%2C.51%2C0%2C.71l-2.5%2C2.5c-.2%2C.2-.51%2C.2-.71%2C0l-2.5-2.5c-.2-.2-.2-.51%2C0-.71%2C.2-.2%2C.51-.2%2C.71%2C0Z%22%2F%3E%3C%2Fsvg%3E",label:"Makes the container's height automatically adapt to its children"}),E.jsx(PH,{label:"ADAPT HEIGHT TO CHILDREN",target:r,propertyName:"adaptHeightToChildren"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:FL,label:"Delegates picking to children controls"}),E.jsx(PH,{label:"DELEGATE PICKING TO CHILDREN",target:r,propertyName:"delegatePickingToChildren"})]})]})}}var tV="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M20.42%2C22.21H9.57a1.78%2C1.78%2C0%2C0%2C1-1.78-1.78V9.58a1.8%2C1.8%2C0%2C0%2C1%2C2-1.78A13.86%2C13.86%2C0%2C0%2C1%2C22.2%2C20.25h0a1.8%2C1.8%2C0%2C0%2C1-1.78%2C2ZM9.58%2C9a.52.52%2C0%2C0%2C0-.36.14.52.52%2C0%2C0%2C0-.18.4V20.43a.53.53%2C0%2C0%2C0%2C.53.53H20.42a.52.52%2C0%2C0%2C0%2C.4-.18.56.56%2C0%2C0%2C0%2C.14-.41A12.62%2C12.62%2C0%2C0%2C0%2C9.63%2C9Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E";class rV extends u.Component{constructor(e){super(e)}render(){const{rectangles:e,lockObject:t,onPropertyChangedObservable:r}=this.props,o=BO(e,r);return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:t,controls:e,onPropertyChangedObservable:r,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"RECTANGLE",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Stroke Weight"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:o,propertyName:"thickness",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:tV,label:"Corner Radius"}),E.jsx(PO,{lockObject:t,label:"",target:o,propertyName:"cornerRadius",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsxs("div",{className:"ge-divider quad",children:[E.jsx(PO,{lockObject:t,label:"X",target:o,propertyName:"cornerRadiusX",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2}),E.jsx(PO,{lockObject:t,label:"Y",target:o,propertyName:"cornerRadiusY",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2}),E.jsx(PO,{lockObject:t,label:"Z",target:o,propertyName:"cornerRadiusZ",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2}),E.jsx(PO,{lockObject:t,label:"W",target:o,propertyName:"cornerRadiusW",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsx(eV,{containers:e,onPropertyChangedObservable:r})]})}}class oV extends u.Component{constructor(e){super(e)}render(){const{stackPanels:e,lockObject:t,onPropertyChangedObservable:o}=this.props,n=BO(e,o);return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:t,controls:e,onPropertyChangedObservable:o,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"STACKPANEL",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M14.37%2C22.72v-1.04h-2.09c-1.04%2C0-1.88-.84-1.88-1.88v-2.09c0-1.04%2C.84-1.88%2C1.88-1.88h2.09v-1.67h-3.76c-1.04%2C0-1.88-.84-1.88-1.88v-2.09c0-1.04%2C.84-1.88%2C1.88-1.88h3.76v-1.04c0-.35%2C.28-.63%2C.63-.63s.63%2C.28%2C.63%2C.63v1.04h3.76c1.04%2C0%2C1.88%2C.84%2C1.88%2C1.88v2.09c0%2C1.04-.84%2C1.88-1.88%2C1.88h-3.76v1.67h2.09c1.04%2C0%2C1.88%2C.84%2C1.88%2C1.88v2.09c0%2C1.04-.84%2C1.88-1.88%2C1.88h-2.09v1.04c0%2C.35-.28%2C.63-.63%2C.63s-.63-.28-.63-.63Zm3.34-2.3c.35%2C0%2C.63-.28%2C.63-.63v-2.09c0-.35-.28-.63-.63-.63h-5.43c-.35%2C0-.63%2C.28-.63%2C.63v2.09c0%2C.35%2C.28%2C.63%2C.63%2C.63h5.43Zm1.67-7.52c.35%2C0%2C.63-.28%2C.63-.63v-2.09c0-.35-.28-.63-.63-.63H10.62c-.35%2C0-.63%2C.28-.63%2C.63v2.09c0%2C.35%2C.28%2C.63%2C.63%2C.63h8.77Z%22%2F%3E%3C%2Fsvg%3E",label:"Determines if children are stacked horizontally or vertically"}),E.jsx(PH,{label:n.isVertical?"ALIGNMENT: VERTICAL":"ALIGNMENT: HORIZONTAL",target:n,propertyName:"isVertical",onValueChanged:()=>{for(const t of e)for(const e of t.children)n.isVertical?(e.horizontalAlignment=r.StackPanel.HORIZONTAL_ALIGNMENT_CENTER,e._left.value=0,e._height.unit===r.ValueAndUnit.UNITMODE_PERCENTAGE&&j.ConvertToPixels(e,["height"])):(e.verticalAlignment=r.StackPanel.VERTICAL_ALIGNMENT_CENTER,e._top.value=0,e._width.unit===r.ValueAndUnit.UNITMODE_PERCENTAGE&&j.ConvertToPixels(e,["width"]));this.forceUpdate()}})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M21.05%2C11.45v2.32c0%2C.36-.29%2C.65-.65%2C.65s-.65-.29-.65-.65v-2.32l-.19%2C.19c-.25%2C.25-.66%2C.25-.92%2C0-.25-.25-.25-.66%2C0-.92l1.3-1.3c.06-.06%2C.13-.11%2C.21-.14%2C.08-.03%2C.16-.05%2C.25-.05s.17%2C.02%2C.25%2C.05c.08%2C.03%2C.15%2C.08%2C.21%2C.14l1.3%2C1.3c.25%2C.25%2C.25%2C.66%2C0%2C.92-.25%2C.25-.66%2C.25-.92%2C0l-.19-.19Zm0%2C4.92v2.32l.19-.19c.25-.25%2C.66-.25%2C.92%2C0%2C.25%2C.25%2C.25%2C.66%2C0%2C.92l-1.3%2C1.3c-.25%2C.25-.66%2C.25-.92%2C0l-1.3-1.3c-.25-.25-.25-.66%2C0-.92%2C.25-.25%2C.66-.25%2C.92%2C0l.19%2C.19v-2.32c0-.36%2C.29-.65%2C.65-.65s.65%2C.29%2C.65%2C.65Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M14.56%2C14.32h-4.28c-1.45%2C0-2.62-1.18-2.62-2.62v-3.55c0-1.45%2C1.18-2.62%2C2.62-2.62h4.28c1.45%2C0%2C2.62%2C1.18%2C2.62%2C2.62v3.55c0%2C1.45-1.18%2C2.62-2.62%2C2.62Zm-4.28-7.55c-.76%2C0-1.38%2C.62-1.38%2C1.38v3.55c0%2C.76%2C.62%2C1.38%2C1.38%2C1.38h4.28c.76%2C0%2C1.38-.62%2C1.38-1.38v-3.55c0-.76-.62-1.38-1.38-1.38h-4.28Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M14.56%2C24.48h-4.28c-1.45%2C0-2.62-1.18-2.62-2.62v-3.55c0-1.45%2C1.18-2.62%2C2.62-2.62h4.28c1.45%2C0%2C2.62%2C1.18%2C2.62%2C2.62v3.55c0%2C1.45-1.18%2C2.62-2.62%2C2.62Zm-4.28-7.55c-.76%2C0-1.38%2C.62-1.38%2C1.38v3.55c0%2C.76%2C.62%2C1.38%2C1.38%2C1.38h4.28c.76%2C0%2C1.38-.62%2C1.38-1.38v-3.55c0-.76-.62-1.38-1.38-1.38h-4.28Z%22%2F%3E%3C%2Fsvg%3E",label:"Spacing between children"}),E.jsx(PO,{lockObject:t,label:" ",target:n,propertyName:"spacing",onChange:()=>e.forEach(e=>e._markAsDirty()),unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0})]}),E.jsx(eV,{containers:e,onPropertyChangedObservable:o})]})}}var nV="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C6.94A8.06%2C8.06%2C0%2C1%2C1%2C6.94%2C15%2C8.06%2C8.06%2C0%2C0%2C1%2C15%2C6.94Zm0%2C1.21A6.85%2C6.85%2C0%2C1%2C0%2C21.85%2C15%2C6.84%2C6.84%2C0%2C0%2C0%2C15%2C8.15Zm3.43%2C6.25a.6.6%2C0%2C1%2C1%2C0%2C1.2H11.57a.6.6%2C0%2C0%2C1%2C0-1.2Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",aV="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C6.88A8.12%2C8.12%2C0%2C1%2C1%2C6.88%2C15%2C8.13%2C8.13%2C0%2C0%2C1%2C15%2C6.88ZM15%2C8.1A6.9%2C6.9%2C0%2C1%2C0%2C21.9%2C15%2C6.9%2C6.9%2C0%2C0%2C0%2C15%2C8.1Zm2.8%2C4%2C.07.05a.62.62%2C0%2C0%2C1%2C.05.8l-.05.07-2%2C2%2C2%2C2a.62.62%2C0%2C0%2C1%2C.05.8l-.05.07a.62.62%2C0%2C0%2C1-.8.05L17%2C17.87l-2-2-2%2C2a.62.62%2C0%2C0%2C1-.8.05l-.07-.05a.62.62%2C0%2C0%2C1-.05-.8l.05-.07%2C2-2-2-2a.62.62%2C0%2C0%2C1-.05-.8l.05-.07a.62.62%2C0%2C0%2C1%2C.8-.05l.07.05%2C2%2C2%2C2-2A.62.62%2C0%2C0%2C1%2C17.8%2C12.08Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",iV="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M14.21%2C6a.62.62%2C0%2C0%2C0-.86%2C0%2C.62.62%2C0%2C0%2C0%2C0%2C.87l1.4%2C1.4a7.91%2C7.91%2C0%2C1%2C0%2C8.17%2C7.91v0a.58.58%2C0%2C0%2C0-.59-.56h0a.59.59%2C0%2C0%2C0-.58.61%2C6.7%2C6.7%2C0%2C1%2C1-7-6.7l-1.39%2C1.4a.6.6%2C0%2C0%2C0%2C0%2C.86.62.62%2C0%2C0%2C0%2C.86%2C0l2.44-2.44a.6.6%2C0%2C0%2C0%2C0-.86Zm4.87%2C7.31a.6.6%2C0%2C0%2C1%2C0%2C.86l-3.65%2C3.66a.62.62%2C0%2C0%2C1-.86%2C0L12.74%2C16a.61.61%2C0%2C0%2C1%2C.86-.86L15%2C16.57l3.22-3.22A.6.6%2C0%2C0%2C1%2C19.08%2C13.35Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E";class lV extends u.Component{constructor(e){super(e),this._previousGrid=null,this._rowDefinitions=[],this._rowEditFlags=[],this._columnEditFlags=[],this._columnDefinitions=[],this._editedRow=!1,this._editedColumn=!1,this._rowChild=!1,this._columnChild=!1,this.state={removingColumn:!1,removingRow:!1}}renderRows(){return this._rowDefinitions.map((e,t)=>E.jsx("div",{className:this.state.removingRow&&t===this._rowEditFlags.length-1?"ge-grid-remove":this._rowEditFlags[t]?"ge-grid-edit":"ge-grid",children:E.jsxs("div",{className:"ge-grid-divider",children:[E.jsx(UO,{lockObject:this.props.lockObject,label:"",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22m7.74%2C13.18c0-1%2C.81-1.82%2C1.82-1.82h10.89c1%2C0%2C1.82.81%2C1.82%2C1.82v3.63c0%2C1-.81%2C1.82-1.82%2C1.82h-10.89c-1%2C0-1.82-.81-1.82-1.82v-3.63Zm1.82-.61c-.33%2C0-.61.27-.61.61v3.63c0%2C.33.27.61.61.61h2.62v-4.84h-2.62Zm7.06%2C4.84v-4.84h-3.23v4.84h3.23Zm1.21%2C0h2.62c.33%2C0%2C.61-.27.61-.61v-3.63c0-.33-.27-.61-.61-.61h-2.62v4.84Z%22%2F%3E%3C%2Fsvg%3E",iconLabel:`Row ${t}`,value:e,numbersOnly:!0,onChange:e=>{e!==this._rowDefinitions[t]&&(this._rowDefinitions[t]=e,this._rowEditFlags[t]=!0,this._editedRow=!0,this._rowChild=!1,this.setState({removingRow:!1}))},disabled:this.state.removingRow},`rText${t}-${this.state.removingRow}`),E.jsx(wO,{tooltip:"",label:`[${t}]`,value:"",color:"grey"}),this.state.removingRow&&t===this._rowEditFlags.length-1&&E.jsx(wO,{icon:bL,label:" ",value:" ",color:"grey"}),this._rowEditFlags[t]&&E.jsx(wO,{icon:iV,label:" ",value:" ",color:"grey"})]})},`r${t}`))}setRowValues(){const e=this.props.grids[0];this._rowDefinitions=[],this._rowEditFlags=[],this._editedRow=!1;for(let t=0;t<e.rowCount;t++){const r=e.getRowDefinition(t);r&&(this._rowDefinitions.push(r.toString(e._host,2)),this._rowEditFlags.push(!1))}}setColumnValues(){const e=this.props.grids[0];this._columnDefinitions=[],this._columnEditFlags=[],this._editedColumn=!1;for(let t=0;t<e.columnCount;t++){const r=e.getColumnDefinition(t);r&&(this._columnDefinitions.push(r.toString(e._host,2)),this._columnEditFlags.push(!1))}}renderColumns(){return this._columnDefinitions.map((e,t)=>E.jsx("div",{className:this.state.removingColumn&&t===this._columnEditFlags.length-1?"ge-grid-remove":this._columnEditFlags[t]?"ge-grid-edit":"ge-grid",children:E.jsxs("div",{className:"ge-grid-divider",children:[E.jsx(UO,{lockObject:this.props.lockObject,label:"",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22m12.57%2C17.83v2.63c0%2C.34.27.61.61.61h3.64c.34%2C0%2C.61-.27.61-.61v-2.63h-4.86Zm4.25-10.12c1.01%2C0%2C1.82.82%2C1.82%2C1.82v10.93c0%2C1.01-.82%2C1.82-1.82%2C1.82h-3.64c-1.01%2C0-1.82-.82-1.82-1.82v-10.93c0-1.01.82-1.82%2C1.82-1.82h3.64Zm.61%2C1.82c0-.34-.27-.61-.61-.61h-3.64c-.34%2C0-.61.27-.61.61v2.63h4.86v-2.63Zm-4.86%2C7.08h4.86v-3.24h-4.86v3.24Z%22%2F%3E%3C%2Fsvg%3E",iconLabel:`Column ${t}`,value:e,numbersOnly:!0,onChange:e=>{e!==this._columnDefinitions[t]&&(this._columnDefinitions[t]=e,this._columnEditFlags[t]=!0,this._editedColumn=!0,this._columnChild=!1,this.setState({removingColumn:!1}))},disabled:this.state.removingColumn},`ctext${t}-${this.state.removingColumn}`),E.jsx(wO,{tooltip:"",label:`[${t}]`,value:"",color:"grey"}),this.state.removingColumn&&t===this._columnEditFlags.length-1&&E.jsx(wO,{icon:bL,label:" ",value:" ",color:"grey"}),this._columnEditFlags[t]&&E.jsx(wO,{icon:iV,label:" ",value:" ",color:"grey"})]})},`c${t}`))}parsePercentage(e){let t;return t="%"===e.trim().at(-1)?parseFloat(e.replace("%",""))/100:parseFloat(e),r.MathTools.Round(t,1e4)}isCloseTo(e,t,r=.001){return Math.abs(e-t)<r}adjustPercentages(e,t){let r=0,o=0;const n=[];for(let a=0;a<e.length;++a){let i=e[a];const l=this.checkPercentage(i);t[a]&&(i=this.checkValue(i,l)),l&&(r+=this.parsePercentage(i),t[a]&&(o+=this.parsePercentage(i))),n.push(i)}let a=[];if(this.isCloseTo(r,1))a=n;else{const e=1-o,i=Math.abs(e),l=r-o,s=this.isCloseTo(l,0);for(let e=0;e<n.length;++e){const o=n[e];if(this.checkPercentage(o)&&!t[e]||t[e]&&s){const e=this.parsePercentage(o)/(s?r:l)*(s?1:i);a.push(100*e+"%")}else a.push(o)}}return a}resizeRow(){const e=this.props.grids[0],t=this.adjustPercentages(this._rowDefinitions,this._rowEditFlags);for(let r=0;r<t.length;++r)e.setRowDefinition(r,this.parsePercentage(t[r]),!this.checkPercentage(t[r]));this.setRowValues()}resizeColumn(){const e=this.props.grids[0],t=this.adjustPercentages(this._columnDefinitions,this._columnEditFlags);for(let r=0;r<t.length;++r)e.setColumnDefinition(r,this.parsePercentage(t[r]),!this.checkPercentage(this._columnDefinitions[r]));this.setColumnValues()}checkValue(e,t){let r=e.match(/([0-9.,]+)/g)?.[0];return r||(r="0"),r+=t?"%":"px",r}checkPercentage(e){return"px"!==e.substring(e.length-2,e.length)}resetValues(){const e=this.props.grids[0];this._columnChild=!1,this._rowChild=!1,this._previousGrid=e,this.setRowValues(),this.setColumnValues(),this.resizeColumn(),this.resizeRow(),this.setState({removingColumn:!1,removingRow:!1})}render(){const e=this.props.grids,t=this.props.grids[0];return t!==this._previousGrid&&this.resetValues(),E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:this.props.lockObject,controls:e,onPropertyChangedObservable:this.props.onPropertyChangedObservable,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{className:"ge"}),E.jsx(wO,{tooltip:"",label:"GRID",value:" ",color:"grey"}),this.renderRows(),1===this.props.grids.length&&E.jsxs(E.Fragment,{children:[E.jsx("div",{className:"ge-gridLine",children:E.jsxs("div",{className:"ge-grid-button-divider",children:[E.jsx(GO,{altStyle:!0,tooltip:"Add Row",icon:qL,shortcut:"",isActive:!1,disabled:this.state.removingRow||this._editedRow,onClick:()=>{let e=0,r=0;for(let o=0;o<t.rowCount;++o){const n=t.getRowDefinition(o);n?.isPercentage&&(e+=n?.getValue(t.host),r++)}t.addRowDefinition(e/r,!1),this.resetValues(),this.forceUpdate()}})," ",E.jsx(GO,{altStyle:!0,tooltip:"Remove Row",icon:nV,shortcut:"",isActive:!1,disabled:this.state.removingRow||t.rowCount<=1||this._editedRow,onClick:()=>{let e=!1;for(let r=0;r<t.columnCount;++r){const o=t.cells[t.rowCount-1+":"+r];if(o?.children.length){e=!0;break}}this.resetValues(),e&&(this._rowChild=!0),this.setState({removingRow:!0})}}),this._editedRow&&E.jsxs(E.Fragment,{children:[" ",E.jsx(GO,{altStyle:!0,tooltip:"Confirm",icon:mL,shortcut:"",isActive:!1,onClick:()=>{this.resizeRow(),this.forceUpdate()}}),E.jsx(GO,{altStyle:!0,tooltip:"Cancel",icon:aV,shortcut:"",isActive:!1,onClick:()=>{this.resetValues(),this.forceUpdate()}})]}),this.state.removingRow&&E.jsxs(E.Fragment,{children:[E.jsx(GO,{altStyle:!0,tooltip:"Confirm",icon:mL,shortcut:"",isActive:!1,onClick:()=>{t.removeRowDefinition(t.rowCount-1),this.setRowValues(),this.resizeRow(),this.setState({removingRow:!1}),this._rowChild=!1,this.props.onUpdateRequiredObservable?.notifyObservers()}}),E.jsx(GO,{altStyle:!0,tooltip:"Cancel",icon:aV,shortcut:"",isActive:!1,onClick:()=>{this.setState({removingRow:!1}),this._rowChild=!1,this.forceUpdate()}})]})]})}),this._rowChild&&E.jsx(E.Fragment,{children:E.jsx(wO,{tooltip:"",label:"This row is not empty. Removing it will delete all contained controls. Do you want to remove this row and delete all controls within?",value:" ",color:"grey"})}),E.jsx("hr",{className:"ge"}),this.renderColumns(),E.jsxs("div",{className:"ge-grid-button-divider",children:[E.jsx(GO,{altStyle:!0,tooltip:"Add Column",icon:qL,shortcut:"",isActive:!1,disabled:this.state.removingColumn||this._editedColumn,onClick:()=>{let e=0,r=0;for(let o=0;o<t.columnCount;++o){const n=t.getColumnDefinition(o);n?.isPercentage&&(e+=n?.getValue(t.host),r++)}t.addColumnDefinition(e/r,!1),this.resetValues(),this.forceUpdate()}}),E.jsx(GO,{altStyle:!0,tooltip:"Remove Column",icon:nV,shortcut:"",isActive:!1,disabled:this.state.removingColumn||this._editedColumn||t.columnCount<=1,onClick:()=>{let e=!1;for(let r=0;r<t.rowCount;++r){const o=t.cells[r+":"+(t.columnCount-1)];if(o?.children.length){e=!0;break}}this.resetValues(),e&&(this._columnChild=!0),this.setState({removingColumn:!0})}}),this._editedColumn&&E.jsxs(E.Fragment,{children:[E.jsx(GO,{altStyle:!0,tooltip:"Confirm",icon:mL,shortcut:"",isActive:!1,onClick:()=>{this.resizeColumn(),this.forceUpdate()}}),E.jsx(GO,{altStyle:!0,tooltip:"Cancel",icon:aV,shortcut:"",isActive:!1,onClick:()=>{this.resetValues(),this.forceUpdate()}})]}),this.state.removingColumn&&E.jsxs(E.Fragment,{children:[E.jsx(GO,{altStyle:!0,tooltip:"Confirm",icon:mL,shortcut:"",isActive:!1,onClick:()=>{t.removeColumnDefinition(t.columnCount-1),this.setColumnValues(),this.resizeColumn(),this.setState({removingColumn:!1}),this._columnChild=!1,this.props.onUpdateRequiredObservable?.notifyObservers()}}),E.jsx(GO,{altStyle:!0,tooltip:"Cancel",icon:aV,shortcut:"",isActive:!1,onClick:()=>{this.setState({removingColumn:!1}),this._columnChild=!1}})]})," "]}),this._columnChild&&E.jsx(E.Fragment,{children:E.jsx(wO,{tooltip:"",label:"This column is not empty. Removing it will delete all contained controls. Do you want to remove this column and delete all controls within?",value:" ",color:"grey"})})]})]})}}class sV extends u.Component{constructor(e){super(e)}render(){const{scrollViewers:e,onPropertyChangedObservable:t,lockObject:r}=this.props,o=BO(e,t);return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:r,controls:e,onPropertyChangedObservable:this.props.onPropertyChangedObservable,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"SCROLLVIEWER",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M14.22%2C9.56v1.13c0%2C.43%2C.35%2C.78%2C.78%2C.78s.78-.35%2C.78-.78v-1.13c3.05%2C.36%2C5.47%2C2.78%2C5.83%2C5.83h-1.13c-.43%2C0-.78%2C.35-.78%2C.78s.35%2C.78%2C.78%2C.78h1.13c-.17%2C1.42-.82%2C2.7-1.75%2C3.71-.22%2C.24-.21%2C.61%2C.03%2C.83%2C.24%2C.22%2C.61%2C.21%2C.83-.03%2C1.29-1.39%2C2.11-3.23%2C2.11-5.29%2C0-4.33-3.51-7.83-7.83-7.83s-7.83%2C3.51-7.83%2C7.83c0%2C2.06%2C.83%2C3.91%2C2.11%2C5.29%2C.22%2C.24%2C.59%2C.25%2C.83%2C.03%2C.24-.22%2C.25-.59%2C.03-.83-.94-1.01-1.58-2.29-1.75-3.71h1.13c.43%2C0%2C.78-.35%2C.78-.78s-.35-.78-.78-.78h-1.13c.15-1.25%2C.64-2.4%2C1.38-3.34l.76%2C.76c.31%2C.31%2C.8%2C.31%2C1.11%2C0%2C.31-.31%2C.31-.8%2C0-1.11l-.76-.76c.94-.74%2C2.09-1.24%2C3.34-1.38Zm4.51%2C2.41c-.19-.14-.45-.14-.63%2C.01l-.17%2C.14c-.11%2C.09-.26%2C.22-.45%2C.38-.37%2C.32-.88%2C.74-1.39%2C1.18-.51%2C.44-1.04%2C.89-1.46%2C1.26-.21%2C.19-.39%2C.35-.54%2C.49-.13%2C.13-.26%2C.25-.33%2C.33-.51%2C.63-.4%2C1.55%2C.24%2C2.05%2C.65%2C.5%2C1.59%2C.39%2C2.1-.24%2C.07-.08%2C.16-.23%2C.25-.39%2C.1-.17%2C.22-.38%2C.36-.63%2C.27-.48%2C.6-1.09%2C.92-1.68%2C.32-.59%2C.63-1.17%2C.85-1.6%2C.11-.21%2C.21-.39%2C.27-.52l.1-.19c.11-.21%2C.05-.46-.13-.6Z%22%2F%3E%3C%2Fsvg%3E",label:"Wheel Precision"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:o,propertyName:"wheelPrecision",arrows:!0,min:0,digits:2})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:OL,label:"Bar Size"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:o,propertyName:"barSize",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsxs("div",{className:"e-divider",children:[E.jsx(dL,{icon:NL,label:"Bar Color"}),E.jsx(cL,{lockObject:this.props.lockObject,label:"",target:o,propertyName:"barColor"})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:_L,label:"Bar Background Color"}),E.jsx(cL,{lockObject:this.props.lockObject,label:"",target:o,propertyName:"barBackground"})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Stroke Weight"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:o,propertyName:"thickness",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:tV,label:"Corner Radius"}),E.jsx(PO,{lockObject:r,label:"",target:BO(e,t),propertyName:"cornerRadius",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]})]})}}class cV extends u.Component{constructor(e){super(e)}render(){const{ellipses:e,onPropertyChangedObservable:t,lockObject:r}=this.props,o=BO(e,t);return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:r,controls:e,onPropertyChangedObservable:t,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"ELLIPSE",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Stroke Weight"}),E.jsx(PO,{lockObject:r,label:"",target:o,propertyName:"thickness",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsx(eV,{containers:e,onPropertyChangedObservable:t})]})}}class dV extends u.Component{constructor(e){super(e)}render(){const e=this.props.checkboxes;return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:this.props.lockObject,controls:e,onPropertyChangedObservable:this.props.onPropertyChangedObservable,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"CHECKBOX",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:BL,label:"Check Size Ratio"}),E.jsx(PO,{lockObject:this.props.lockObject,label:" ",target:BO(e,this.props.onPropertyChangedObservable),propertyName:"checkSizeRatio",min:0,max:1,arrows:!0,step:"0.01",digits:2})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:LL,label:"Is Checkbox Checked"}),E.jsx(PH,{label:"CHECKED",target:BO(e,this.props.onPropertyChangedObservable),propertyName:"isChecked",onPropertyChangedObservable:this.props.onPropertyChangedObservable})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Thickness"}),E.jsx(PO,{lockObject:this.props.lockObject,target:BO(e,this.props.onPropertyChangedObservable),propertyName:"thickness",label:"",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]})]})}}class uV extends u.Component{constructor(e){super(e)}render(){const e=this.props.controls;return E.jsx("div",{className:"pane",children:E.jsx(IL,{lockObject:this.props.lockObject,controls:e,onPropertyChangedObservable:this.props.onPropertyChangedObservable,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState})})}}class fV extends u.Component{constructor(e){super(e)}updateGridPosition(){const e=this.props.control.parent;e&&this._changeCell(e,this.props.control,new t.Vector2(this._rowNumber,this._columnNumber))}getCellInfo(){const e=EL.GetCellInfo(this.props.control.parent,this.props.control);this._rowNumber=e.x,this._columnNumber=e.y}_changeCell(e,t,r){const o=e.children.indexOf(t);e.removeControl(t),EL.ReorderGrid(e,o,t,r)}render(){return this.getCellInfo(),E.jsxs("div",{className:"pane",children:[E.jsx("hr",{className:"ge"}),E.jsx(wO,{tooltip:"",label:"GRID PARENTING",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(PO,{lockObject:this.props.lockObject,label:"Row #",target:this,propertyName:"_rowNumber",isInteger:!0,min:0,onChange:()=>{this.updateGridPosition()}}),E.jsx(PO,{lockObject:this.props.lockObject,label:"Column #",target:this,propertyName:"_columnNumber",isInteger:!0,min:0,onChange:()=>{this.updateGridPosition()}})]})]})}}class pV extends u.Component{constructor(e){super(e)}render(){const{displayGrids:e,lockObject:t,onPropertyChangedObservable:r}=this.props,o=BO(e,r);return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:t,controls:e,onPropertyChangedObservable:r,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"DISPLAY GRID",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:BL,label:"Cell Size"}),E.jsx(PO,{min:1,isInteger:!0,lockObject:t,label:"W",target:o,propertyName:"cellWidth",onPropertyChangedObservable:r,unit:E.jsx(DL,{locked:!0,unit:"PX"}),arrows:!0}),E.jsx(PO,{min:1,isInteger:!0,lockObject:t,label:"H",target:o,propertyName:"cellHeight",onPropertyChangedObservable:r,unit:E.jsx(DL,{locked:!0,unit:"PX"}),arrows:!0})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M7.73%2C9.95c0-1.23%2C.99-2.22%2C2.22-2.22h10.09c1.23%2C0%2C2.22%2C.99%2C2.22%2C2.22v10.09c0%2C1.23-.99%2C2.22-2.22%2C2.22H9.95c-1.23%2C0-2.22-.99-2.22-2.22V9.95Zm2.22-1.01c-.56%2C0-1.01%2C.45-1.01%2C1.01v10.09c0%2C.56%2C.45%2C1.01%2C1.01%2C1.01h10.09c.56%2C0%2C1.01-.45%2C1.01-1.01V9.95c0-.56-.45-1.01-1.01-1.01H9.95Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M15.84%2C11.92v6.54c0%2C.3-.23%2C.53-.53%2C.53s-.53-.23-.53-.53v-5.88l-1.07%2C.42c-.09%2C.03-.2%2C.07-.28%2C.07-.26%2C0-.47-.21-.47-.47%2C0-.15%2C.07-.35%2C.33-.46l1.64-.66c.09-.02%2C.22-.1%2C.37-.1%2C.31%2C0%2C.53%2C.23%2C.53%2C.55Z%22%2F%3E%3C%2Fsvg%3E",label:"Show Minor Lines"}),E.jsx(PH,{label:"SHOW MINOR LINES",onValueChanged:()=>this.forceUpdate(),target:o,propertyName:"_displayMinorLines"})]}),o._displayMinorLines&&E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Minor Line Tickness"}),E.jsx(PO,{min:1,isInteger:!0,lockObject:t,label:"",target:o,propertyName:"minorLineTickness",onPropertyChangedObservable:r,unit:E.jsx(DL,{locked:!0,unit:"PX"}),arrows:!0})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:NL,label:"Minor Line Color"}),E.jsx(cL,{lockObject:t,label:"",target:o,propertyName:"minorLineColor",onPropertyChangedObservable:r})]})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M7.73%2C9.95c0-1.23%2C.99-2.22%2C2.22-2.22h10.09c1.23%2C0%2C2.22%2C.99%2C2.22%2C2.22v10.09c0%2C1.23-.99%2C2.22-2.22%2C2.22H9.95c-1.23%2C0-2.22-.99-2.22-2.22V9.95Zm2.22-1.01c-.56%2C0-1.01%2C.45-1.01%2C1.01v10.09c0%2C.56%2C.45%2C1.01%2C1.01%2C1.01h10.09c.56%2C0%2C1.01-.45%2C1.01-1.01V9.95c0-.56-.45-1.01-1.01-1.01H9.95Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M17.63%2C18.44c0%2C.31-.23%2C.51-.52%2C.51h-3.93c-.32%2C0-.55-.21-.55-.55%2C0-.23%2C.09-.41%2C.31-.64l2.25-2.34c.58-.59%2C.94-1.2%2C.94-1.86%2C0-.7-.51-1.17-1.2-1.17-.63%2C0-1.02%2C.34-1.29%2C.69-.1%2C.12-.22%2C.24-.45%2C.24-.28%2C0-.5-.18-.51-.45%2C0-.15%2C.05-.3%2C.13-.42%2C.33-.57%2C1.08-1.11%2C2.16-1.11%2C1.43%2C0%2C2.28%2C.95%2C2.28%2C2.17%2C0%2C.86-.4%2C1.62-1.21%2C2.46l-1.88%2C1.96h2.95c.29%2C0%2C.52%2C.2%2C.52%2C.51Z%22%2F%3E%3C%2Fsvg%3E",label:"Show Major Lines"}),E.jsx(PH,{label:"SHOW MAJOR LINES",onValueChanged:()=>this.forceUpdate(),target:o,propertyName:"_displayMajorLines"})]}),o._displayMajorLines&&E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Major Line Tickness"}),E.jsx(PO,{min:1,isInteger:!0,lockObject:t,label:"",target:o,propertyName:"majorLineTickness",onPropertyChangedObservable:r,unit:E.jsx(DL,{locked:!0,unit:"PX"}),arrows:!0})]}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(dL,{icon:NL,label:"Major Line Color"}),E.jsx(cL,{lockObject:t,label:"",target:o,propertyName:"majorLineColor",onPropertyChangedObservable:r})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23333%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M9.56%2C20.41c0%2C.33%2C.27%2C.61%2C.61%2C.61s.61-.27%2C.61-.61V8.62c0-.33-.27-.61-.61-.61s-.61%2C.27-.61%2C.61v11.79Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M6.34%2C17.53c0%2C.33%2C.27%2C.61%2C.61%2C.61s.61-.27%2C.61-.61v-3.9c0-.33-.27-.61-.61-.61s-.61%2C.27-.61%2C.61v3.9Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M22.44%2C17.53c0%2C.33%2C.27%2C.61%2C.61%2C.61s.61-.27%2C.61-.61v-3.9c0-.33-.27-.61-.61-.61s-.61%2C.27-.61%2C.61v3.9Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M12.78%2C18.01c0%2C.33%2C.27%2C.61%2C.61%2C.61s.61-.27%2C.61-.61V6.22c0-.33-.27-.61-.61-.61s-.61%2C.27-.61%2C.61v11.79Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M16%2C23.78c0%2C.33%2C.27%2C.61%2C.61%2C.61s.61-.27%2C.61-.61V11.99c0-.33-.27-.61-.61-.61s-.61%2C.27-.61%2C.61v11.79Z%22%2F%3E%3Cpath%20class%3D%22b%22%20d%3D%22M19.22%2C21.38c0%2C.33%2C.27%2C.61%2C.61%2C.61s.61-.27%2C.61-.61V9.59c0-.33-.27-.61-.61-.61s-.61%2C.27-.61%2C.61v11.79Z%22%2F%3E%3C%2Fsvg%3E",label:"Major Line Frequency"}),E.jsx(PO,{min:1,isInteger:!0,lockObject:t,label:"",target:o,propertyName:"majorLineFrequency",onPropertyChangedObservable:r,arrows:!0})]})]})]})}}class hV extends u.Component{constructor(e){super(e)}render(){const{rectangles:e,lockObject:t,onPropertyChangedObservable:r,onAddComponent:o}=this.props,n=BO(e,r);return E.jsxs("div",{className:"pane",children:[E.jsx(IL,{lockObject:t,controls:e,onPropertyChangedObservable:r,onFontsParsedObservable:this.props.onFontsParsedObservable,globalState:this.props.globalState}),E.jsx("hr",{}),E.jsx(wO,{label:"BUTTON",value:" ",color:"grey"}),E.jsxs("div",{className:"ge-divider",children:[E.jsx(GO,{tooltip:"Add TextBlock",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M18.23%2C14.57a4.48%2C4.48%2C0%2C1%2C1-4.47%2C4.48A4.48%2C4.48%2C0%2C0%2C1%2C18.23%2C14.57Zm0%2C1.63h-.07a.4.4%2C0%2C0%2C0-.33.32v2.11H15.71a.41.41%2C0%2C0%2C0-.32.32v.15a.42.42%2C0%2C0%2C0%2C.32.33h2.11v2.11a.4.4%2C0%2C0%2C0%2C.33.33h.14a.4.4%2C0%2C0%2C0%2C.33-.33V19.45h2.11a.42.42%2C0%2C0%2C0%2C.32-.33V19a.41.41%2C0%2C0%2C0-.32-.32H18.64V16.53a.4.4%2C0%2C0%2C0-.33-.32Zm-5.47%2C2.85a5.44%2C5.44%2C0%2C0%2C1%2C.82-2.88V7.7h3.85v1a.61.61%2C0%2C0%2C0%2C1.22%2C0V7.09A.61.61%2C0%2C0%2C0%2C18%2C6.48H7.91a.61.61%2C0%2C0%2C0-.61.61V8.71a.61.61%2C0%2C1%2C0%2C1.21%2C0v-1h3.85V18.24H11.15a.61.61%2C0%2C1%2C0%2C0%2C1.21h1.63C12.77%2C19.32%2C12.76%2C19.18%2C12.76%2C19.05Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",shortcut:"",isActive:!1,onClick:()=>{o("Text")}}),E.jsx(GO,{tooltip:"Add Image",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M18.74%2C15.43a4.47%2C4.47%2C0%2C1%2C1-4.48%2C4.47A4.47%2C4.47%2C0%2C0%2C1%2C18.74%2C15.43Zm0%2C1.62h-.08a.41.41%2C0%2C0%2C0-.32.32v2.11H16.22a.41.41%2C0%2C0%2C0-.32.32V20a.4.4%2C0%2C0%2C0%2C.32.33h2.11v2.11a.4.4%2C0%2C0%2C0%2C.33.33h.14a.4.4%2C0%2C0%2C0%2C.33-.33V20.3h2.11a.4.4%2C0%2C0%2C0%2C.33-.33v-.15a.4.4%2C0%2C0%2C0-.33-.32H19.14V17.38a.4.4%2C0%2C0%2C0-.33-.32Zm-2-8.57a1.84%2C1.84%2C0%2C1%2C0%2C1.84%2C1.84A1.83%2C1.83%2C0%2C0%2C0%2C16.77%2C8.48Zm0%2C2.45a.61.61%2C0%2C0%2C1-.61-.61.62.62%2C0%2C1%2C1%2C1.23%2C0A.61.61%2C0%2C0%2C1%2C16.77%2C10.93Zm-3.51%2C9a5.44%2C5.44%2C0%2C0%2C1%2C.07-.82H9.44A1.28%2C1.28%2C0%2C0%2C1%2C9%2C19l4.8-4.69a.62.62%2C0%2C0%2C1%2C.79.06l1.07%2C1.05a5.36%2C5.36%2C0%2C0%2C1%2C1.13-.61l-1.34-1.31-.11-.1a1.83%2C1.83%2C0%2C0%2C0-2.46.1L8.1%2C18.13A1.28%2C1.28%2C0%2C0%2C1%2C8%2C17.65V8.28A1.43%2C1.43%2C0%2C0%2C1%2C9.44%2C6.85h9.37a1.43%2C1.43%2C0%2C0%2C1%2C1.43%2C1.43v6.36a5.27%2C5.27%2C0%2C0%2C1%2C1.22.52V8.28a2.65%2C2.65%2C0%2C0%2C0-2.65-2.65H9.44A2.65%2C2.65%2C0%2C0%2C0%2C6.79%2C8.28v9.37A2.65%2C2.65%2C0%2C0%2C0%2C9.44%2C20.3h3.85C13.28%2C20.17%2C13.26%2C20%2C13.26%2C19.9Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E",shortcut:"",isActive:!1,onClick:()=>{o("ButtonImage")}})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:ML,label:"Stroke Weight"}),E.jsx(PO,{lockObject:this.props.lockObject,label:"",target:n,propertyName:"thickness",unit:E.jsx(DL,{unit:"PX",locked:!0}),min:0,digits:2})]}),E.jsxs("div",{className:"ge-divider double",children:[E.jsx(dL,{icon:tV,label:"Corner Radius"}),E.jsx(PO,{lockObject:t,label:"",target:n,propertyName:"cornerRadius",unit:E.jsx(DL,{unit:"PX",locked:!0}),arrows:!0,min:0,digits:2})]}),E.jsx(eV,{containers:e,onPropertyChangedObservable:r})]})}}class gV{static CreateControlFromString(e){let t;switch(e){case"Slider":return t=new r.Slider("Slider"),t.isPointerBlocker=!0,t.width="120px",t.height="30px",t;case"Checkbox":return t=new r.Checkbox("Checkbox"),t.width="20px",t.height="20px",t.color="#cccccc",t;case"ColorPicker":return t=new r.ColorPicker("ColorPicker"),t.isPointerBlocker=!0,t.width="10%",t.height="10%",t;case"Ellipse":return t=new r.Ellipse("Ellipse"),t.color="#000000",t.background="#cccccc",t.isPointerBlocker=!0,t.thickness=1,t;case"Rectangle":return t=new r.Rectangle("Rectangle"),t.color="#000000",t.background="#cccccc",t.isPointerBlocker=!0,t.thickness=1,t;case"Line":return t=new r.Line("Line"),t.x1=0,t.y1=1024,t.y2=512,t.x2=512,t.lineWidth=2,t.isPointerBlocker=!0,t.isHitTestVisible=!0,t.color="#000000",t;case"TextBlock":return t=new r.TextBlock("Textblock"),t.text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sed.",t.color="#000000",t.fontSize=20,t.resizeToFit=!0,t.isPointerBlocker=!0,t;case"ImageButton":return t=r.Button.CreateImageButton("Button","Click Me",gV.ImageControlDefaultUrl),t.background="#333333",t.color="#ffffff",t.isPointerBlocker=!0,t.width="120px",t.height="40px",t;case"VirtualKeyboard":return t=r.VirtualKeyboard.CreateDefaultLayout("VirtualKeyboard"),t.addKeysRow(["1","2","3","←"]),t;case"Image":return t=new r.Image("Image",gV.ImageControlDefaultUrl),t.width="512px",t.height="512px",t.autoScale=!0,t.color="transparent",t.isPointerBlocker=!0,t;case"ButtonImage":return t=new r.Image("Image",gV.ImageControlDefaultUrl),t.width="100%",t.height="100%",t.color="transparent",t.isPointerBlocker=!0,t;case"InputText":return t=new r.InputText("InputText"),t.maxWidth=.6,t.text="Input Text",t.background="#333333",t.color="#ffffff",t.isPointerBlocker=!0,t.width="160px",t.height="40px",t;case"InputPassword":return t=new r.InputPassword("InputPassword"),t.maxWidth=.6,t.text="Password",t.background="#333333",t.color="#ffffff",t.isPointerBlocker=!0,t.width="160px",t.height="40px",t;case"Grid":return t=new r.Grid("Grid"),t.addColumnDefinition(1,!1),t.addRowDefinition(1,!1),t.isPointerBlocker=!0,t;case"DisplayGrid":return t=new r.DisplayGrid("DisplayGrid"),t;case"StackPanel":return t=new r.StackPanel("StackPanel"),t.width="100%",t.height="100%",t;case"ScrollViewer":return t=new r.ScrollViewer("ScrollViewer"),t.width=.4,t.height=.4,t.background="#CCCCCC",t;case"ImageBasedSlider":return t=new r.ImageBasedSlider("ImageBasedSlider"),t.isPointerBlocker=!0,t.width="120px",t.height="30px",t.isThumbClamped=!0,t.displayThumb=!0,t.backgroundImage=new r.Image("Image","https://playground.babylonjs.com/textures/gui/backgroundImage.png"),t.valueBarImage=new r.Image("Image","https://playground.babylonjs.com/textures/gui/valueImage.png"),t.thumbImage=new r.Image("Image","https://playground.babylonjs.com/textures/gui/thumb.png"),t;case"RadioButton":return t=new r.RadioButton("RadioButton"),t.isPointerBlocker=!0,t.width="20px",t.height="20px",t.color="#CCCCCC",t.background="#333333",t;case"Button":return t=r.Button.CreateSimpleButton("Button","Click Me"),t.background="#333333",t.color="#ffffff",t.isPointerBlocker=!0,t.width="120px",t.height="40px",t;default:throw"Error: control type not recognized"}}}gV.ImageControlDefaultUrl="https://assets.babylonjs.com/textures/Checker_albedo.png",VH(":root{--backgroundGrey:#aaa;--spacingHeight:30px;--button:#333;--buttonBackground:#fff;--buttonDisabledBackground:#c8c8c8;--disabledBackground:#c8c8c8;--buttonPressed:#fff;--buttonPressedBackground:#606060;--buttonHoverBackground:#afafaf}#ge-propertyTab{background:#e2e2e2;color:#000;user-select:none}#ge-propertyTab *{font-family:acumin-pro-condensed,sans-serif;font-size:12px}#ge-propertyTab #header{background:#fff;color:#fff;display:grid;font-size:16px;grid-row:1;grid-template-columns:30px 1fr;height:32px;text-align:center;user-select:none}#ge-propertyTab #header #logo{align-self:center;display:flex;filter:invert(1);grid-column:1;height:32px;justify-self:center;left:0;position:relative;width:32px}#ge-propertyTab #header #title{align-items:center;background:#fff;color:#000;display:grid;grid-column:2;text-align:center}#ge-propertyTab .copy{display:none}#ge-propertyTab .range{-webkit-appearance:none;background:#bcbcbc;border-radius:5px;height:2px;opacity:.7;outline:none;padding:0;transition:opacity .2s;width:100%}#ge-propertyTab .range:hover{opacity:1}#ge-propertyTab .range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#e2e2e2;border:solid;border-radius:50%;border-width:thin;cursor:pointer;height:14px;width:14px}#ge-propertyTab .range::-moz-range-thumb{background:#000;border-radius:50%;cursor:pointer;height:14px;width:14px}#ge-propertyTab input[type=color]{-webkit-appearance:none;border:1px solid hsla(0,0%,100%,.5);height:20px;padding:0;width:30px}#ge-propertyTab input[type=color]::-webkit-color-swatch-wrapper{padding:0}#ge-propertyTab input[type=color]::-webkit-color-swatch{border:none}#ge-propertyTab hr{border:1px solid #d0cece}#ge-propertyTab .icon{height:30px;width:30px}#ge-propertyTab .unit{align-items:center;background-color:var(--buttonBackground);border:none;color:var(--button);cursor:pointer;display:flex;font-family:atten-round-new,sans-serif;font-style:normal;font-weight:500;height:26px;justify-content:center;margin-left:2px;margin-top:2px;width:26px}#ge-propertyTab .unit:disabled{background-color:var(--buttonDisabledBackground);cursor:not-allowed}#ge-propertyTab .unit:not(:disabled):hover{background-color:var(--buttonHoverBackground)}#ge-propertyTab .unit:not(:disabled):active{background-color:var(--buttonPressedBackground);color:var(--buttonPressed)}#ge-propertyTab input,#ge-propertyTab select{border:transparent;outline-color:transparent;outline-offset:-1px;outline-style:solid;outline-width:0;outline-width:1px;padding-left:5px;transition:outline-color .2s}#ge-propertyTab input:focus,#ge-propertyTab select:focus{outline-color:#000;outline-width:1px}#ge-propertyTab .hasArrows input::-webkit-inner-spin-button,#ge-propertyTab .hasArrows input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#ge-propertyTab .sliderLine{display:grid;flex-grow:1;grid-template-columns:auto 1fr 20px 1fr;grid-template-rows:100%;height:var(--spacingHeight)}#ge-propertyTab .sliderLine .label{font-weight:600;min-width:15px}#ge-propertyTab .sliderLine .img,#ge-propertyTab .sliderLine .label{align-items:center;display:flex;grid-column:1}#ge-propertyTab .sliderLine .slider{align-items:center;display:flex;grid-column:4;grid-row:1;margin-right:5px;padding-left:5px}#ge-propertyTab .sliderLine .floatLine{grid-column:2;grid-template-columns:1fr auto;padding-left:0}#ge-propertyTab .sliderLine .floatLine .label{align-items:center;display:none;font-weight:600;grid-column:1}#ge-propertyTab .sliderLine .floatLine .short{align-items:center;display:flex;grid-column:1}#ge-propertyTab .sliderLine .floatLine .short input{background-color:#fff;height:24px;width:100%}#ge-propertyTab .sliderLine .floatLine .short input::-webkit-inner-spin-button,#ge-propertyTab .sliderLine .floatLine .short input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#ge-propertyTab .sliderLine .floatLine .short input[type=number]{-webkit-appearance:textfield;appearance:textfield}#ge-propertyTab .sliderLine .copy,#ge-propertyTab .sliderLine .floatLine .copy{display:none}#ge-propertyTab .ge-divider{display:grid;grid-template-columns:auto 1fr;padding:1px 18px 1px 5px}#ge-propertyTab .ge-divider>.textLine+.command-button{grid-column:5;margin-top:-3px}#ge-propertyTab .ge-divider.double{display:grid;grid-template-columns:auto 1fr 5px 1fr}#ge-propertyTab .ge-divider.double>.floatLine:first-of-type,#ge-propertyTab .ge-divider.double>.textInputLine:first-of-type{grid-column:2}#ge-propertyTab .ge-divider.double>.floatLine:nth-of-type(2),#ge-propertyTab .ge-divider.double>.textInputLine:nth-of-type(2){grid-column:4}#ge-propertyTab .ge-divider.double>.command-button{grid-column:5;margin-left:5px}#ge-propertyTab .ge-divider.quad{display:grid;grid-template-columns:1fr 5px 1fr 5px 1fr 5px 1fr}#ge-propertyTab .ge-divider.quad>.floatLine:first-of-type,#ge-propertyTab .ge-divider.quad>.textInputLine:first-of-type{grid-column:1}#ge-propertyTab .ge-divider.quad>.floatLine:nth-of-type(2),#ge-propertyTab .ge-divider.quad>.textInputLine:nth-of-type(2){grid-column:3}#ge-propertyTab .ge-divider.quad>.floatLine:nth-of-type(3),#ge-propertyTab .ge-divider.quad>.textInputLine:nth-of-type(3){grid-column:5}#ge-propertyTab .ge-divider.quad>.floatLine:nth-of-type(4),#ge-propertyTab .ge-divider.quad>.textInputLine:nth-of-type(4){grid-column:7}#ge-propertyTab .ge-grid-divider{display:grid;grid-template-columns:150px 1fr auto}#ge-propertyTab .ge-grid-divider .textLine{grid-column:auto}#ge-propertyTab .ge-grid-button-divider{display:grid;grid-template-columns:60px 60px 60px 60px}#ge-propertyTab .ge-grid-remove{background-color:#c2c2c2;display:grid;filter:invert(1);margin-bottom:5px}#ge-propertyTab .ge-grid-edit{background-color:#878787;filter:invert(1)}#ge-propertyTab .ge-grid,#ge-propertyTab .ge-grid-edit{display:grid;margin-bottom:5px}#ge-propertyTab .ge-divider.double .textInputLine{grid-template-columns:auto auto 1fr auto}#ge-propertyTab .floatLine,#ge-propertyTab .textInputLine{display:grid;flex-grow:1;grid-template-columns:auto auto 1fr;height:var(--spacingHeight);padding-bottom:0;padding-top:0;user-select:none}#ge-propertyTab .floatLine .label,#ge-propertyTab .textInputLine .label{align-items:center;display:flex;font-weight:600;grid-column:2;min-width:15px}#ge-propertyTab .floatLine .disabled,#ge-propertyTab .textInputLine .disabled{background-color:var(--disabledBackground);color:var(--backgroundGrey)}#ge-propertyTab .floatLine img,#ge-propertyTab .textInputLine img{width:30px}#ge-propertyTab .floatLine .img,#ge-propertyTab .textInputLine .img{align-items:center;display:flex;grid-column:1}#ge-propertyTab .floatLine .value,#ge-propertyTab .textInputLine .value{align-items:center;background:transparent;background-color:#fff;display:flex;grid-column:3;height:26px;margin-top:2px;overflow-y:hidden;position:relative}#ge-propertyTab .floatLine .value input,#ge-propertyTab .textInputLine .value input{color:#333;height:24px;width:100%}#ge-propertyTab .floatLine .value input.hasArrows,#ge-propertyTab .textInputLine .value input.hasArrows{padding-right:15px}#ge-propertyTab .floatLine .value .arrows,#ge-propertyTab .textInputLine .value .arrows{cursor:grab;display:none;flex-direction:column;position:absolute;right:0}#ge-propertyTab .floatLine .value .arrows .downArrowIcon,#ge-propertyTab .floatLine .value .arrows .upArrowIcon,#ge-propertyTab .textInputLine .value .arrows .downArrowIcon,#ge-propertyTab .textInputLine .value .arrows .upArrowIcon{height:13px;width:13px}#ge-propertyTab .floatLine .value.dragging .arrows,#ge-propertyTab .floatLine .value:focus .arrows,#ge-propertyTab .floatLine .value:hover .arrows,#ge-propertyTab .textInputLine .value.dragging .arrows,#ge-propertyTab .textInputLine .value:focus .arrows,#ge-propertyTab .textInputLine .value:hover .arrows{display:flex}#ge-propertyTab .floatLine .value .arrows:hover,#ge-propertyTab .textInputLine .value .arrows:hover{background-color:var(--buttonHoverBackground)}#ge-propertyTab .floatLine .value.dragging .arrows,#ge-propertyTab .textInputLine .value.dragging .arrows{background-color:var(--buttonPressedBackground)}#ge-propertyTab .floatLine .value.dragging .arrows .downArrowIcon,#ge-propertyTab .floatLine .value.dragging .arrows .upArrowIcon,#ge-propertyTab .textInputLine .value.dragging .arrows .downArrowIcon,#ge-propertyTab .textInputLine .value.dragging .arrows .upArrowIcon{filter:brightness(10)}#ge-propertyTab .floatLine .copy,#ge-propertyTab .textInputLine .copy{display:none}#ge-propertyTab .textInputLine.withUnits{grid-template-columns:auto auto 1fr auto}#ge-propertyTab .textInputArea{display:grid;grid-template-columns:1fr 120px;height:100%}#ge-propertyTab .textInputArea .disabled{background-color:var(--disabledBackground);color:var(--backgroundGrey)}#ge-propertyTab .textInputArea .label{align-items:center;display:flex;grid-column:1}#ge-propertyTab .textInputArea .value{align-items:center;display:flex;grid-column:2}#ge-propertyTab .textInputArea .value textarea{height:40px;margin-left:-50%;width:calc(150% - 5px)}#ge-propertyTab .paneContainer{display:grid;grid-template-columns:100%;grid-template-rows:100%;margin-top:3px}#ge-propertyTab .paneContainer .paneList{border-left:3px solid transparent}#ge-propertyTab .paneContainer:hover .paneList{border-left:3px solid rgba(51,122,183,.8)}#ge-propertyTab .paneContainer:hover .paneContainer-content .header .title{border-left:3px solid #337ab7}#ge-propertyTab .paneContainer .paneContainer-highlight-border{border:3px solid red;grid-column:1;grid-row:1;opacity:1;pointer-events:none;transition:opacity .25s}#ge-propertyTab .paneContainer .paneContainer-highlight-border.transparent{opacity:0}#ge-propertyTab .paneContainer .paneContainer-content{grid-column:1;grid-row:1}#ge-propertyTab .paneContainer .paneContainer-content .header{background:#ccc;cursor:pointer;display:grid;grid-template-columns:1fr auto;height:var(--spacingHeight);padding-bottom:0;padding-right:5px;padding-top:0}#ge-propertyTab .paneContainer .paneContainer-content .header .title{align-items:center;border-left:3px solid transparent;display:flex;grid-column:1;padding-left:5px}#ge-propertyTab .paneContainer .paneContainer-content .header .collapse{align-items:center;display:flex;grid-column:2;justify-items:center;transform-origin:center}#ge-propertyTab .paneContainer .paneContainer-content .header .collapse.closed{transform:rotate(180deg)}#ge-propertyTab .paneContainer .paneContainer-content .fragment>div:not(:last-child),#ge-propertyTab .paneContainer .paneContainer-content .paneList>div:not(:last-child){border-bottom:.5px solid hsla(0,0%,100%,.1)}#ge-propertyTab .color-picker{height:26px;width:26px}#ge-propertyTab .color-picker .color-rect-background{background:repeating-conic-gradient(#e2e2e2 0 25%,#fff 0 50%) 50%/100% 100%;border:1px solid #000;cursor:pointer;height:calc(100% - 2px);width:calc(100% - 2px)}#ge-propertyTab .color-picker .color-rect-background .color-rect{height:100%}#ge-propertyTab .color-picker .color-picker-cover{bottom:0;left:0;position:fixed;right:0;top:0;z-index:2}#ge-propertyTab .color-picker .color-picker-float{outline:1px solid #000;position:absolute}#ge-propertyTab .color-picker .color-picker-container{background-color:#e2e2e2}#ge-propertyTab .gradient-step{display:grid;grid-template-columns:20px 30px 40px auto 20px 30px;grid-template-rows:100%;padding-bottom:5px;padding-left:5px;padding-top:5px}#ge-propertyTab .gradient-step .step{grid-column:1;grid-row:1}#ge-propertyTab .gradient-step .color{cursor:pointer;grid-column:2;grid-row:1}#ge-propertyTab .gradient-step .step-value{grid-column:3;grid-row:1;margin-left:5px;margin-right:5px;text-align:right}#ge-propertyTab .gradient-step .step-slider{align-content:center;display:grid;grid-column:4;grid-row:1;justify-content:stretch;margin-right:-5px;padding-left:12px}#ge-propertyTab .gradient-step .step-slider input{width:90%}#ge-propertyTab .gradient-step .gradient-copy{align-content:center;display:grid;grid-column:5;grid-row:1;justify-content:center}#ge-propertyTab .gradient-step .gradient-copy .img{height:20px;width:20px}#ge-propertyTab .gradient-step .gradient-copy .img:hover{cursor:pointer}#ge-propertyTab .gradient-step .gradient-delete{align-content:center;display:grid;grid-column:6;grid-row:1;justify-content:center}#ge-propertyTab .gradient-step .gradient-delete .img{height:20px;width:20px}#ge-propertyTab .gradient-step .gradient-delete .img:hover{cursor:pointer}#ge-propertyTab .alignment-bar{display:flex;justify-content:center;padding-right:5px}#ge-propertyTab .command-button{cursor:pointer;width:30px}#ge-propertyTab .command-button .command-label{display:none}#ge-propertyTab .command-button .command-button-icon{align-content:center;color:#fff;display:grid;height:100%;justify-content:center;width:100%}#ge-propertyTab .command-button:hover{background-color:#fff}#ge-propertyTab .command-button .active{background-color:#fff;transform-origin:center}#ge-propertyTab .command-button img.active{background-color:#fff}#ge-propertyTab .command-button.disabled{background-color:var(--buttonDisabledBackground);pointer-events:none}#ge-propertyTab .command-button-alt{background-color:#fff;cursor:pointer;margin-left:5px;margin-right:5px;width:40px}#ge-propertyTab .command-button-alt .command-label{display:none}#ge-propertyTab .command-button-alt .command-button-icon{align-content:center;display:grid;height:100%;justify-content:center;width:100%}#ge-propertyTab .command-button-alt:hover{background-color:#c2c2c2;filter:invert(1)}#ge-propertyTab .command-button-alt-disabled{background-color:#fff;cursor:pointer;margin-left:5px;margin-right:5px;pointer-events:none;width:40px}#ge-propertyTab .command-button-alt-disabled .command-label{display:none}#ge-propertyTab .command-button-alt-disabled .command-button-icon{align-content:center;display:grid;height:100%;justify-content:center;width:100%}#ge-propertyTab .command-button-alt-disabled img{filter:invert(1)}#ge-propertyTab .command-button-alt-active{background-color:#c2c2c2;cursor:pointer;filter:invert(1);margin-left:5px;margin-right:5px;pointer-events:none;width:40px}#ge-propertyTab .command-button-alt-active .command-label{display:none}#ge-propertyTab .command-button-alt-active .command-button-icon{align-content:center;display:grid;height:100%;justify-content:center;width:100%}#ge-propertyTab .floatLine{display:grid;flex-grow:1;grid-template-columns:auto auto 2fr auto;height:var(--spacingHeight);padding-bottom:0;padding-top:0;user-select:none}#ge-propertyTab .floatLine .label{align-items:center;display:flex;font-weight:600;grid-column:2;min-width:15px}#ge-propertyTab .floatLine img{width:30px}#ge-propertyTab .floatLine .img{align-items:center;display:flex;grid-column:1}#ge-propertyTab .floatLine .value{align-items:center;background:transparent;display:flex;grid-column:3;height:26px}#ge-propertyTab .floatLine .value input{background-color:#fff;height:24px;width:100%}#ge-propertyTab .floatLine .short{align-items:center;display:flex;grid-column:2}#ge-propertyTab .floatLine .short input{width:100%}#ge-propertyTab .floatLine .short input::-webkit-inner-spin-button,#ge-propertyTab .floatLine .short input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#ge-propertyTab .floatLine .copy{display:none}#ge-propertyTab .vector3Line{display:grid;padding-bottom:0;padding-top:0}#ge-propertyTab .vector3Line .firstLine{display:grid;grid-template-columns:1fr auto 20px;height:var(--spacingHeight)}#ge-propertyTab .vector3Line .firstLine .label{align-items:center;display:flex;grid-column:1}#ge-propertyTab .vector3Line .firstLine .vector{align-items:center;display:flex;grid-column:2;opacity:.8;text-align:right}#ge-propertyTab .vector3Line .firstLine .expand{align-items:center;cursor:pointer;display:grid;grid-column:3;justify-items:center}#ge-propertyTab .vector3Line .firstLine .copy{display:none}#ge-propertyTab .vector3Line .secondLine{border-left:1px solid #337ab7;display:grid;padding-right:5px}#ge-propertyTab .vector3Line .secondLine .no-right-margin{margin-right:0}#ge-propertyTab .vector3Line .secondLine .numeric{display:grid;grid-template-columns:1fr auto}#ge-propertyTab .vector3Line .secondLine .numeric-label{align-items:center;display:flex;grid-column:1;justify-self:right;margin-right:10px;text-align:right}#ge-propertyTab .vector3Line .secondLine .numeric-value{align-items:center;border:1px solid #337ab7;display:flex;grid-column:2;width:120px}#ge-propertyTab .buttonLine{align-items:center;display:grid;height:var(--spacingHeight);justify-items:stretch;padding-bottom:5px;padding-top:0}#ge-propertyTab .buttonLine input[type=file]{display:none}#ge-propertyTab .buttonLine .file-upload{background:var(--backgroundGrey);border:1px solid #424242;border-radius:4px;color:#fff;cursor:pointer;margin:5px 10px;opacity:.9;padding:4px 5px;text-align:center}#ge-propertyTab .buttonLine .file-upload:hover{opacity:1}#ge-propertyTab .buttonLine .file-upload:active{transform:scale(.98);transform-origin:.5 .5}#ge-propertyTab .buttonLine button{background:var(--backgroundGrey);border:1px solid #424242;border-radius:4px;color:#fff;margin:5px 10px;opacity:.9;padding:4px 5px}#ge-propertyTab .buttonLine button:hover{opacity:1}#ge-propertyTab .buttonLine button:active{background:#282828}#ge-propertyTab .buttonLine button:focus{border:1px solid #424242;outline:0}#ge-propertyTab .numeric{display:grid;grid-template-columns:1fr 120px auto;height:var(--spacingHeight);padding-bottom:0;padding-top:0}#ge-propertyTab .numeric .numeric-label{align-items:center;display:flex;grid-column:1}#ge-propertyTab .numeric .number{align-items:center;display:flex;grid-column:2;height:10px}#ge-propertyTab .numeric .number .input{height:10px;width:calc(100% - 5px)}#ge-propertyTab .checkBoxLine{display:grid;flex-grow:1;grid-template-columns:auto 1fr auto;height:var(--spacingHeight);padding-bottom:0;padding-top:0}#ge-propertyTab .checkBoxLine .label{align-items:center;display:flex;font-weight:600;grid-column:2;height:var(--spacingHeight);margin-left:15px;min-width:100px}#ge-propertyTab .checkBoxLine img{width:30px}#ge-propertyTab .checkBoxLine .img{align-items:center;display:flex;grid-column:1}#ge-propertyTab .checkBoxLine .copy,#ge-propertyTab .checkBoxLine .hidden{display:none}#ge-propertyTab .listLine{display:grid;flex-grow:1;grid-template-columns:auto 1fr auto;height:var(--spacingHeight);padding-bottom:0;padding-top:0}#ge-propertyTab .listLine .label{align-items:center;display:none;grid-column:2}#ge-propertyTab .listLine img{width:30px}#ge-propertyTab .listLine .img{align-items:center;display:flex;grid-column:1}#ge-propertyTab .listLine .options{align-items:center;display:flex;grid-column:2;padding-left:15px}#ge-propertyTab .listLine .options select{border:transparent;height:25px;width:100%}#ge-propertyTab .listLine .options input{color:#333;height:24px;width:100%}#ge-propertyTab .listLine .copy{display:none}#ge-propertyTab .color3Line{display:grid;flex-grow:1;padding-bottom:0;padding-left:15px;padding-top:0}#ge-propertyTab .color3Line .firstLine{align-items:center;display:flex;height:var(--spacingHeight)}#ge-propertyTab .color3Line .firstLine .label{align-items:center;display:none;grid-column:2;min-width:15px;padding-left:5px}#ge-propertyTab .color3Line .firstLine .img{align-items:center;display:flex;grid-column:1}#ge-propertyTab .color3Line .firstLine img{height:30px;width:30px}#ge-propertyTab .color3Line .firstLine .textInputLine{flex-grow:1;grid-column:3;padding-left:2px}#ge-propertyTab .color3Line .firstLine .color3{align-items:center;display:flex}#ge-propertyTab .color3Line .firstLine .color3 input{margin-right:5px}#ge-propertyTab .color3Line .firstLine .expand{align-items:center;cursor:pointer;display:none;grid-column:3;justify-items:center}#ge-propertyTab .color3Line .firstLine .expand img{height:100%;width:20px}#ge-propertyTab .color3Line .firstLine .copy{align-items:center;color:#000;cursor:pointer;display:none;grid-column:4;justify-items:center}#ge-propertyTab .color3Line .firstLine .copy img{height:100%;width:20px}#ge-propertyTab .color3Line .secondLine{border-left:1px solid #337ab7;display:grid;padding-right:5px}#ge-propertyTab .color3Line .secondLine .numeric{display:grid;grid-template-columns:1fr auto}#ge-propertyTab .color3Line .secondLine .numeric-label{align-items:center;display:flex;grid-column:1;justify-self:right;margin-right:10px;text-align:right}#ge-propertyTab .color3Line .secondLine .numeric-value{align-items:center;border:1px solid #337ab7;display:flex;grid-column:2;width:120px}#ge-propertyTab .textLine{display:grid;grid-template-columns:auto auto 2fr 1fr;height:auto;padding:0 18px 0 5px}#ge-propertyTab .textLine .label{align-items:left;color:#a9a9a9;display:flex;font-family:acumin-pro-semi-condensed,sans-serif;font-size:10px;font-weight:600;grid-column:2;min-width:15px;padding-left:5px;padding-top:4px}#ge-propertyTab .textLine img{width:30px}#ge-propertyTab .textLine .img{align-items:center;display:flex;grid-column:1}#ge-propertyTab .textLine .link-value{cursor:pointer;grid-column:2;max-width:140px;text-decoration:underline}#ge-propertyTab .textLine .link-value,#ge-propertyTab .textLine .value{margin:6px 5px 5px;opacity:.8;overflow:hidden;text-align:end;text-overflow:ellipsis;white-space:nowrap}#ge-propertyTab .textLine .value{display:none;grid-column:3;max-width:200px;user-select:text}#ge-propertyTab .textLine .value.check{color:green}#ge-propertyTab .textLine .value.uncheck{color:red}");const vV=[{className:"Rectangle",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M10.3%2C16.36a3.64%2C3.64%2C0%2C0%2C1%2C3.64-3.64H26.06a3.64%2C3.64%2C0%2C0%2C1%2C3.64%2C3.64v7.28a3.64%2C3.64%2C0%2C0%2C1-3.64%2C3.64H13.94a3.64%2C3.64%2C0%2C0%2C1-3.64-3.64Zm3.64-2.42a2.42%2C2.42%2C0%2C0%2C0-2.43%2C2.42v7.28a2.42%2C2.42%2C0%2C0%2C0%2C2.43%2C2.42H26.06a2.42%2C2.42%2C0%2C0%2C0%2C2.43-2.42V16.36a2.42%2C2.42%2C0%2C0%2C0-2.43-2.42Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"Ellipse",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M20%2C13.17A6.83%2C6.83%2C0%2C1%2C0%2C26.83%2C20%2C6.83%2C6.83%2C0%2C0%2C0%2C20%2C13.17ZM12%2C20a8%2C8%2C0%2C1%2C1%2C8%2C8A8%2C8%2C0%2C0%2C1%2C12%2C20Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"StackPanel",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M12.74%2C15.35a2.62%2C2.62%2C0%2C0%2C1%2C2.62-2.63h9.28a2.62%2C2.62%2C0%2C0%2C1%2C2.62%2C2.63v9.28a2.62%2C2.62%2C0%2C0%2C1-2.62%2C2.62H15.36a2.62%2C2.62%2C0%2C0%2C1-2.62-2.62ZM26.05%2C21.6V18.37H14V21.6Zm0-4.44V15.35a1.41%2C1.41%2C0%2C0%2C0-1.41-1.41H15.36A1.41%2C1.41%2C0%2C0%2C0%2C14%2C15.35v1.81ZM24.64%2C26a1.41%2C1.41%2C0%2C0%2C0%2C1.41-1.41V22.81H14v1.82A1.41%2C1.41%2C0%2C0%2C0%2C15.36%2C26Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"Grid",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M12.74%2C15.36a2.62%2C2.62%2C0%2C0%2C1%2C2.62-2.62h9.28a2.62%2C2.62%2C0%2C0%2C1%2C2.62%2C2.62v9.28a2.62%2C2.62%2C0%2C0%2C1-2.62%2C2.62H15.36a2.62%2C2.62%2C0%2C0%2C1-2.62-2.62ZM15.36%2C14A1.41%2C1.41%2C0%2C0%2C0%2C14%2C15.36v1.82h3.23V14ZM14%2C18.39v3.22h3.23V18.39Zm4.44%2C0v3.22h3.22V18.39Zm4.43%2C0v3.22h3.23V18.39Zm-1.21%2C4.43H18.39v3.23h3.22Zm1.21%2C3.23h1.82a1.41%2C1.41%2C0%2C0%2C0%2C1.41-1.41V22.82H22.82Zm0-8.87h3.23V15.36A1.41%2C1.41%2C0%2C0%2C0%2C24.64%2C14H22.82ZM21.61%2C14H18.39v3.23h3.22ZM14%2C22.82v1.82a1.41%2C1.41%2C0%2C0%2C0%2C1.41%2C1.41h1.82V22.82Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"ScrollViewer",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M22.25%2C13.18V26.91H21V13.18Zm1.16%2C3.34v4.19h1.22V16.52Zm.61-.61a.61.61%2C0%2C1%2C0%2C.61.61A.61.61%2C0%2C0%2C0%2C24%2C15.91Zm0%2C4.19a.61.61%2C0%2C1%2C0%2C.61.61A.61.61%2C0%2C0%2C0%2C24%2C20.1ZM12.74%2C24.64a2.62%2C2.62%2C0%2C0%2C0%2C2.62%2C2.62h9.28a2.62%2C2.62%2C0%2C0%2C0%2C2.62-2.62V15.36a2.62%2C2.62%2C0%2C0%2C0-2.62-2.62H15.36a2.62%2C2.62%2C0%2C0%2C0-2.62%2C2.62ZM14%2C15.36A1.41%2C1.41%2C0%2C0%2C1%2C15.36%2C14h9.28a1.41%2C1.41%2C0%2C0%2C1%2C1.41%2C1.41v9.28a1.41%2C1.41%2C0%2C0%2C1-1.41%2C1.41H15.36A1.41%2C1.41%2C0%2C0%2C1%2C14%2C24.64Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"Line",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M10.3%2C20a.61.61%2C0%2C0%2C1%2C.61-.61H29.09a.61.61%2C0%2C1%2C1%2C0%2C1.22H10.91A.61.61%2C0%2C0%2C1%2C10.3%2C20Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"TextBlock",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M14.33%2C14.12a.61.61%2C0%2C0%2C1%2C.6-.61H25.07a.61.61%2C0%2C0%2C1%2C.6.61v1.62a.61.61%2C0%2C1%2C1-1.21%2C0v-1H20.61V25.27h1.21a.61.61%2C0%2C0%2C1%2C.61.61.61.61%2C0%2C0%2C1-.61.61H18.18a.61.61%2C0%2C0%2C1-.61-.61.61.61%2C0%2C0%2C1%2C.61-.61h1.21V14.73H15.54v1a.61.61%2C0%2C1%2C1-1.21%2C0Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"InputText",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M22.43%2C17.17H20.61v5.66H21a.61.61%2C0%2C0%2C1%2C.61.61.61.61%2C0%2C0%2C1-.61.61H19a.61.61%2C0%2C0%2C1-.61-.61.61.61%2C0%2C0%2C1%2C.61-.61h.4V17.17H17.57v.6a.61.61%2C0%2C1%2C1-1.21%2C0V16.56A.6.6%2C0%2C0%2C1%2C17%2C16H23a.6.6%2C0%2C0%2C1%2C.6.61v1.21a.61.61%2C0%2C1%2C1-1.21%2C0Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M14.94%2C13.52a3%2C3%2C0%2C0%2C0-3%2C3v6.88a3%2C3%2C0%2C0%2C0%2C3%2C3H25.06a3%2C3%2C0%2C0%2C0%2C3-3V16.56a3%2C3%2C0%2C0%2C0-3-3Zm-1.82%2C3a1.81%2C1.81%2C0%2C0%2C1%2C1.82-1.82H25.06a1.81%2C1.81%2C0%2C0%2C1%2C1.82%2C1.82v6.88a1.81%2C1.81%2C0%2C0%2C1-1.82%2C1.82H14.94a1.81%2C1.81%2C0%2C0%2C1-1.82-1.82Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"InputPassword",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M19.82%2C18.55a.62.62%2C0%2C0%2C0-.86%2C0%2C.62.62%2C0%2C0%2C0%2C0%2C.87l.58.58-.58.58a.62.62%2C0%2C0%2C0%2C0%2C.87.62.62%2C0%2C0%2C0%2C.86%2C0l.59-.59.58.59a.61.61%2C0%2C0%2C0%2C.86%2C0%2C.6.6%2C0%2C0%2C0%2C0-.86L21.27%2C20l.58-.58a.62.62%2C0%2C0%2C0%2C0-.87.62.62%2C0%2C0%2C0-.86%2C0l-.58.59Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M14.49%2C18.55a.62.62%2C0%2C0%2C1%2C.86%2C0l.59.59.58-.59a.62.62%2C0%2C0%2C1%2C.87.87L16.8%2C20l.59.58a.62.62%2C0%2C0%2C1-.87.87l-.58-.59-.59.59a.62.62%2C0%2C0%2C1-.86%2C0%2C.63.63%2C0%2C0%2C1%2C0-.87l.59-.58-.59-.58A.63.63%2C0%2C0%2C1%2C14.49%2C18.55Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M23.65%2C21.22a.6.6%2C0%2C0%2C0-.6.61.61.61%2C0%2C0%2C0%2C.6.61h1.43a.61.61%2C0%2C0%2C0%2C.6-.61.6.6%2C0%2C0%2C0-.6-.61Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M14.52%2C14.32A2.64%2C2.64%2C0%2C0%2C0%2C11.88%2C17v6.1a2.64%2C2.64%2C0%2C0%2C0%2C2.64%2C2.63h11a2.64%2C2.64%2C0%2C0%2C0%2C2.64-2.63V17a2.64%2C2.64%2C0%2C0%2C0-2.64-2.63ZM13.1%2C17a1.42%2C1.42%2C0%2C0%2C1%2C1.42-1.42h11A1.42%2C1.42%2C0%2C0%2C1%2C26.9%2C17v6.1a1.42%2C1.42%2C0%2C0%2C1-1.42%2C1.42h-11a1.42%2C1.42%2C0%2C0%2C1-1.42-1.42Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"Image",icon:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M23.86%2C11.86a2.65%2C2.65%2C0%2C0%2C1%2C2.65%2C2.65v9.36a2.65%2C2.65%2C0%2C0%2C1-2.65%2C2.65H14.5a2.65%2C2.65%2C0%2C0%2C1-2.65-2.65V14.51a2.65%2C2.65%2C0%2C0%2C1%2C2.65-2.65Zm.47%2C13.36-4.72-4.63a.62.62%2C0%2C0%2C0-.79-.06l-.07.06L14%2C25.22a1.4%2C1.4%2C0%2C0%2C0%2C.47.08h9.36a1.4%2C1.4%2C0%2C0%2C0%2C.47-.08l-4.72-4.63Zm-.47-12.13H14.5a1.42%2C1.42%2C0%2C0%2C0-1.43%2C1.42v9.36a1.33%2C1.33%2C0%2C0%2C0%2C.09.49l4.74-4.65a1.84%2C1.84%2C0%2C0%2C1%2C2.46-.09l.1.09%2C4.74%2C4.65a1.33%2C1.33%2C0%2C0%2C0%2C.09-.49V14.51A1.42%2C1.42%2C0%2C0%2C0%2C23.86%2C13.09Zm-2%2C1.62A1.84%2C1.84%2C0%2C1%2C1%2C20%2C16.55%2C1.83%2C1.83%2C0%2C0%2C1%2C21.83%2C14.71Zm0%2C1.22a.61.61%2C0%2C0%2C0-.61.62.61.61%2C0%2C0%2C0%2C1.22%2C0A.61.61%2C0%2C0%2C0%2C21.83%2C15.93Z%22%2F%3E%3C%2Fsvg%3E"},{className:"DisplayGrid",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M17.39%2C20.8a1.81%2C1.81%2C0%2C0%2C1%2C1.81%2C1.81v2.81a1.81%2C1.81%2C0%2C0%2C1-1.81%2C1.81H14.58a1.81%2C1.81%2C0%2C0%2C1-1.81-1.81V22.61a1.81%2C1.81%2C0%2C0%2C1%2C1.81-1.81Zm8%2C0a1.81%2C1.81%2C0%2C0%2C1%2C1.81%2C1.81v2.81a1.81%2C1.81%2C0%2C0%2C1-1.81%2C1.81H22.61a1.81%2C1.81%2C0%2C0%2C1-1.81-1.81V22.61a1.81%2C1.81%2C0%2C0%2C1%2C1.81-1.81Zm-8%2C1.21H14.58a.6.6%2C0%2C0%2C0-.6.6v2.81a.6.6%2C0%2C0%2C0%2C.6.6h2.81a.6.6%2C0%2C0%2C0%2C.6-.6V22.61A.6.6%2C0%2C0%2C0%2C17.39%2C22Zm8%2C0H22.61a.6.6%2C0%2C0%2C0-.6.6v2.81a.6.6%2C0%2C0%2C0%2C.6.6h2.81a.6.6%2C0%2C0%2C0%2C.6-.6V22.61A.6.6%2C0%2C0%2C0%2C25.42%2C22Zm-8-9.24a1.81%2C1.81%2C0%2C0%2C1%2C1.81%2C1.81v2.81a1.81%2C1.81%2C0%2C0%2C1-1.81%2C1.81H14.58a1.81%2C1.81%2C0%2C0%2C1-1.81-1.81V14.58a1.81%2C1.81%2C0%2C0%2C1%2C1.81-1.81Zm8%2C0a1.81%2C1.81%2C0%2C0%2C1%2C1.81%2C1.81v2.81a1.81%2C1.81%2C0%2C0%2C1-1.81%2C1.81H22.61a1.81%2C1.81%2C0%2C0%2C1-1.81-1.81V14.58a1.81%2C1.81%2C0%2C0%2C1%2C1.81-1.81Zm-8%2C1.21H14.58a.6.6%2C0%2C0%2C0-.6.6v2.81a.6.6%2C0%2C0%2C0%2C.6.6h2.81a.6.6%2C0%2C0%2C0%2C.6-.6V14.58A.6.6%2C0%2C0%2C0%2C17.39%2C14Zm8%2C0H22.61a.6.6%2C0%2C0%2C0-.6.6v2.81a.6.6%2C0%2C0%2C0%2C.6.6h2.81a.6.6%2C0%2C0%2C0%2C.6-.6V14.58A.6.6%2C0%2C0%2C0%2C25.42%2C14Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"Button",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M26.08%2C12.7H13.92a2%2C2%2C0%2C0%2C0-2%2C2V22a2%2C2%2C0%2C0%2C0%2C2%2C2h3.65V22.84H13.92a.81.81%2C0%2C0%2C1-.81-.81v-7.3a.81.81%2C0%2C0%2C1%2C.81-.81H26.08a.81.81%2C0%2C0%2C1%2C.81.81V22a.81.81%2C0%2C0%2C1-.81.81h-.45l.28.27a1.45%2C1.45%2C0%2C0%2C1%2C.56.91%2C2%2C2%2C0%2C0%2C0%2C1.64-2v-7.3A2%2C2%2C0%2C0%2C0%2C26.08%2C12.7Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M19.42%2C17.75a.62.62%2C0%2C0%2C0-.67-.14.63.63%2C0%2C0%2C0-.37.57v8.51a.6.6%2C0%2C0%2C0%2C.43.58.61.61%2C0%2C0%2C0%2C.68-.24l2-2.91%2C3.45.73a.61.61%2C0%2C0%2C0%2C.56-1Zm1.92%2C5.1a.6.6%2C0%2C0%2C0-.62.25l-1.13%2C1.63V19.64l3.6%2C3.6Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"Checkbox",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M25%2C12.76A2.21%2C2.21%2C0%2C0%2C1%2C27.24%2C15V25A2.21%2C2.21%2C0%2C0%2C1%2C25%2C27.24H15A2.21%2C2.21%2C0%2C0%2C1%2C12.76%2C25V15A2.21%2C2.21%2C0%2C0%2C1%2C15%2C12.76ZM25%2C14H15a1%2C1%2C0%2C0%2C0-1%2C1V25a1%2C1%2C0%2C0%2C0%2C1%2C1H25a1%2C1%2C0%2C0%2C0%2C1-1V15A1%2C1%2C0%2C0%2C0%2C25%2C14Zm-6.64%2C8%2C5.21-5.2a.59.59%2C0%2C0%2C1%2C.85%2C0%2C.61.61%2C0%2C0%2C1%2C.06.78l-.06.07-5.63%2C5.63a.6.6%2C0%2C0%2C1-.79.06L18%2C23.24l-2.41-2.41a.61.61%2C0%2C0%2C1%2C0-.85.6.6%2C0%2C0%2C1%2C.79-.06l.06.06%2C2%2C2%2C5.21-5.2Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"RadioButton",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M20%2C24.86A4.86%2C4.86%2C0%2C1%2C0%2C15.14%2C20%2C4.87%2C4.87%2C0%2C0%2C0%2C20%2C24.86Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M20%2C11.9A8.1%2C8.1%2C0%2C1%2C0%2C28.1%2C20%2C8.1%2C8.1%2C0%2C0%2C0%2C20%2C11.9ZM13.12%2C20A6.88%2C6.88%2C0%2C1%2C1%2C20%2C26.88%2C6.88%2C6.88%2C0%2C0%2C1%2C13.12%2C20Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"Slider",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M10.3%2C18a3.64%2C3.64%2C0%2C0%2C1%2C3.64-3.63H26.06A3.64%2C3.64%2C0%2C0%2C1%2C29.7%2C18V22a3.64%2C3.64%2C0%2C0%2C1-3.64%2C3.63H13.94A3.64%2C3.64%2C0%2C0%2C1%2C10.3%2C22Zm3.64-2.42A2.43%2C2.43%2C0%2C0%2C0%2C11.51%2C18V22a2.43%2C2.43%2C0%2C0%2C0%2C2.43%2C2.42H26.06A2.43%2C2.43%2C0%2C0%2C0%2C28.49%2C22V18a2.43%2C2.43%2C0%2C0%2C0-2.43-2.42Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Ccircle%20cx%3D%2215.99%22%20cy%3D%2220%22%20r%3D%222.64%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"ImageBasedSlider",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M26.06%2C14.34H13.94A3.64%2C3.64%2C0%2C0%2C0%2C10.3%2C18V22a3.64%2C3.64%2C0%2C0%2C0%2C3.64%2C3.63H26.06A3.64%2C3.64%2C0%2C0%2C0%2C29.7%2C22V18A3.64%2C3.64%2C0%2C0%2C0%2C26.06%2C14.34Zm0%2C10.11H13.94a2.42%2C2.42%2C0%2C0%2C1-.81-.15l1.41-1.39a3.24%2C3.24%2C0%2C0%2C0%2C1.45.36A3.28%2C3.28%2C0%2C0%2C0%2C19.26%2C20a3.18%2C3.18%2C0%2C0%2C0-.35-1.43l.64-.63a.54.54%2C0%2C0%2C1%2C.74%2C0L27%2C24.26A2.43%2C2.43%2C0%2C0%2C1%2C26.06%2C24.45ZM14%2C20a2%2C2%2C0%2C1%2C1%2C2%2C2A2%2C2%2C0%2C0%2C1%2C14%2C20Zm14.52%2C2a2.41%2C2.41%2C0%2C0%2C1-.41%2C1.34l-6.84-6.44a1.91%2C1.91%2C0%2C0%2C0-2.67%2C0l-.53.52a3.22%2C3.22%2C0%2C0%2C0-2-.75A3.28%2C3.28%2C0%2C0%2C0%2C12.72%2C20a3.23%2C3.23%2C0%2C0%2C0%2C.73%2C2L12%2C23.47A2.4%2C2.4%2C0%2C0%2C1%2C11.51%2C22V18a2.43%2C2.43%2C0%2C0%2C1%2C2.43-2.42H26.06A2.43%2C2.43%2C0%2C0%2C1%2C28.49%2C18Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"VirtualKeyboard",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M26.31%2C14.3a1.83%2C1.83%2C0%2C0%2C1%2C1.83%2C1.83v7.74a1.83%2C1.83%2C0%2C0%2C1-1.83%2C1.83H13.69a1.83%2C1.83%2C0%2C0%2C1-1.83-1.83V16.13a1.83%2C1.83%2C0%2C0%2C1%2C1.83-1.83Zm0%2C1.22H13.69a.61.61%2C0%2C0%2C0-.61.61v7.74a.61.61%2C0%2C0%2C0%2C.61.61H26.31a.61.61%2C0%2C0%2C0%2C.61-.61V16.13A.61.61%2C0%2C0%2C0%2C26.31%2C15.52ZM15.73%2C22h8.55a.61.61%2C0%2C0%2C1%2C.08%2C1.22H15.73A.61.61%2C0%2C0%2C1%2C15.65%2C22Zm7.93-2.85a.82.82%2C0%2C0%2C1%2C.82.82.82.82%2C0%2C1%2C1-.82-.82Zm-4.88%2C0a.82.82%2C0%2C0%2C1%2C.82.82.82.82%2C0%2C1%2C1-.82-.82Zm-2.44%2C0a.82.82%2C0%2C0%2C1%2C.82.82.82.82%2C0%2C0%2C1-.82.81.81.81%2C0%2C0%2C1-.81-.81A.82.82%2C0%2C0%2C1%2C16.34%2C19.18Zm4.89%2C0A.82.82%2C0%2C0%2C1%2C22%2C20a.81.81%2C0%2C0%2C1-.81.81.82.82%2C0%2C0%2C1-.82-.81A.82.82%2C0%2C0%2C1%2C21.23%2C19.18Zm-6.11-2.44a.82.82%2C0%2C0%2C1%2C.81.82.81.81%2C0%2C0%2C1-.81.81.82.82%2C0%2C0%2C1-.82-.81A.82.82%2C0%2C0%2C1%2C15.12%2C16.74Zm2.44%2C0a.82.82%2C0%2C0%2C1%2C.81.82.81.81%2C0%2C0%2C1-.81.81.82.82%2C0%2C0%2C1-.82-.81A.82.82%2C0%2C0%2C1%2C17.56%2C16.74Zm2.44%2C0a.82.82%2C0%2C0%2C1%2C.81.82.81.81%2C0%2C0%2C1-.81.81.82.82%2C0%2C0%2C1-.82-.81A.82.82%2C0%2C0%2C1%2C20%2C16.74Zm2.44%2C0a.82.82%2C0%2C0%2C1%2C.81.82.81.81%2C0%2C1%2C1-1.62%2C0A.82.82%2C0%2C0%2C1%2C22.44%2C16.74Zm2.44%2C0a.82.82%2C0%2C0%2C1%2C.82.82.82.82%2C0%2C0%2C1-.82.81.81.81%2C0%2C0%2C1-.81-.81A.82.82%2C0%2C0%2C1%2C24.88%2C16.74Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"},{className:"ColorPicker",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M13.31%2C15.34a8.34%2C8.34%2C0%2C0%2C1%2C14.25%2C8.34c-1.35%2C3.7-4.91%2C5.16-7.47%2C3.3a3.82%2C3.82%2C0%2C0%2C1-1.52-3l-.08-.81%2C0-.32c-.1-.76-.26-1.1-.58-1.28a1.27%2C1.27%2C0%2C0%2C0-1.3%2C0l-.28.12-.15.06a3.12%2C3.12%2C0%2C0%2C1-2.07.34l-.17%2C0-.13%2C0C11.49%2C21.29%2C11.15%2C18.2%2C13.31%2C15.34Zm.8%2C5.48.1%2C0%2C.11%2C0a1.81%2C1.81%2C0%2C0%2C0%2C1.17-.19l.49-.21a2.47%2C2.47%2C0%2C0%2C1%2C3.68%2C2.21l0%2C.37.05.44%2C0%2C.34a2.75%2C2.75%2C0%2C0%2C0%2C1%2C2.16c1.86%2C1.35%2C4.52.25%2C5.61-2.73a7.11%2C7.11%2C0%2C0%2C0-12.12-7.19C12.59%2C18.33%2C12.8%2C20.38%2C14.11%2C20.82Zm9.16-1.63a1%2C1%2C0%2C1%2C1%2C2-.53%2C1%2C1%2C0%2C0%2C1-2%2C.53ZM23.68%2C22a1%2C1%2C0%2C1%2C1%2C1.24.72A1%2C1%2C0%2C0%2C1%2C23.68%2C22Zm-2-5.3a1%2C1%2C0%2C0%2C1%2C.72-1.25%2C1%2C1%2C0%2C1%2C1%2C.53%2C2A1%2C1%2C0%2C0%2C1%2C21.66%2C16.74Zm0%2C7.35a1%2C1%2C0%2C0%2C1%2C.72-1.25%2C1%2C1%2C0%2C0%2C1%2C.53%2C2A1%2C1%2C0%2C0%2C1%2C21.63%2C24.09ZM18.78%2C16a1%2C1%2C0%2C1%2C1%2C1.25.72A1%2C1%2C0%2C0%2C1%2C18.78%2C16Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E"}];class mV extends u.Component{constructor(e){super(e),this.saveLocally=()=>{try{const e=JSON.stringify(this.props.globalState.guiTexture.serializeContent());I.DownloadAsFile(this.props.globalState.hostDocument,e,"guiTexture.json")}catch(e){this.props.globalState.hostWindow.alert("Unable to save your GUI"),t.Tools.Error("Unable to save your GUI")}},this.saveSelectedControlLocally=()=>{try{const e={controls:[]};for(const t of this.props.globalState.selectedControls){const r={};t.serialize(r),e.controls.push(r)}const t=JSON.stringify(e);I.DownloadAsFile(this.props.globalState.hostDocument,t,"guiControl.json")}catch(e){this.props.globalState.hostWindow.alert("Unable to save your selected Control"),t.Tools.Error("Unable to save your selected Control")}},this.saveToSnippetServerHelper=async(e,o)=>await new Promise((n,a)=>{const i=new XMLHttpRequest;i.onreadystatechange=()=>{if(4==i.readyState)if(200==i.status){const e=JSON.parse(i.responseText),t=o.snippetId;o.snippetId=e.id,e.version&&"0"!=e.version&&(o.snippetId+="#"+e.version);const r=window;r.Playground&&t&&r.Playground.onRequestCodeChangeObservable.notifyObservers({regex:new RegExp(t,"g"),replace:o.snippetId}),n(o.snippetId)}else a("Unable to save your GUI")};const l=(new TextEncoder).encode(e);let s="";for(let e=0;e<l.length;e++)s+=String.fromCharCode(l[e]);const c={gui:e,encodedGui:s!==e?t.EncodeArrayBufferToBase64(l):void 0};i.open("POST",r.AdvancedDynamicTexture.SnippetUrl+(o.snippetId?"/"+o.snippetId:""),!0),i.setRequestHeader("Content-Type","application/json");const d={payload:JSON.stringify(c),name:"",description:"",tags:""};i.send(JSON.stringify(d))}),this.saveToSnippetServer=async()=>{const e=this.props.globalState.guiTexture,t=JSON.stringify(e.serializeContent());(this.props.globalState.customSave?.action||this.saveToSnippetServerHelper)(t,e).then(t=>{e.snippetId=t;const r=`GUI saved with ID: ${e.snippetId}`;this.props.globalState.hostWindow.navigator.clipboard?this.props.globalState.hostWindow.navigator.clipboard.writeText(e.snippetId).then(()=>{this.props.globalState.hostWindow.alert(`${r}. The ID was copied to your clipboard.`)}).catch(()=>{this.props.globalState.hostWindow.alert(r)}):this.props.globalState.hostWindow.alert(r),this.props.globalState.onBuiltObservable.notifyObservers()}).catch(e=>{this.props.globalState.hostWindow.alert(e)}),this.forceUpdate()},this._lockObject=new k,this.props.globalState.lockObject=this._lockObject,this.props.globalState.onSaveObservable.add(()=>{this.save(this.saveLocally)}),this.props.globalState.onSaveSelectedControl.add(()=>{this.save(this.saveSelectedControlLocally)}),this.props.globalState.onSnippetSaveObservable.add(()=>{this.save(this.saveToSnippetServer)}),this.props.globalState.onSnippetLoadObservable.add(()=>{this.loadFromSnippet()}),this.props.globalState.onPropertyGridUpdateRequiredObservable.add(()=>{this.forceUpdate()}),this.props.globalState.onLoadObservable.add(e=>this.load(e)),this.props.globalState.onControlLoadObservable.add(e=>this.loadControl(e))}componentDidMount(){this.props.globalState.onSelectionChangedObservable.add(()=>{this.forceUpdate()}),this.props.globalState.onResizeObservable.add(()=>{this.forceUpdate()}),this._onBuiltObserver=this.props.globalState.onBuiltObservable.add(()=>{this.forceUpdate()}),this.props.globalState.onPropertyChangedObservable.add(()=>this.forceUpdate())}componentWillUnmount(){window.clearInterval(this._timerIntervalId),this.props.globalState.onBuiltObservable.remove(this._onBuiltObserver)}load(e){t.Tools.ReadFile(e,e=>{const t=new TextDecoder("utf-8");this.props.globalState.workbench.loadFromJson(JSON.parse(t.decode(e))),this.props.globalState.setSelection([])},void 0,!0)}loadControl(e){t.Tools.ReadFile(e,e=>{const t=new TextDecoder("utf-8");this.props.globalState.workbench.loadControlFromJson(JSON.parse(t.decode(e)))},void 0,!0)}save(e){this.props.globalState.workbench.removeEditorTransformation();const t=this.props.globalState.guiTexture.rootContainer.getDescendants();for(const e of t)this.props.globalState.workbench.removeEditorBehavior(e);const r=this.props.globalState.workbench.guiSize;this.props.globalState.guiTexture.scaleTo(r.width,r.height),e();for(const e of t)this.props.globalState.workbench.addEditorBehavior(e)}loadFromSnippet(){const e=this.props.globalState.hostWindow.prompt("Please enter the snippet ID to use");e&&this.props.globalState.workbench.loadFromSnippet(e)}renderNode(e){const t=e[0];return E.jsxs(E.Fragment,{children:[E.jsxs("div",{id:"header",children:[E.jsx("img",{id:"logo",src:this.renderControlIcon(e)}),E.jsx("div",{id:"title",children:E.jsx(UO,{noUnderline:!0,lockObject:this._lockObject,target:BO(e,this.props.globalState.onPropertyChangedObservable),propertyName:"name",onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable})})]}),this.renderProperties(e),"Grid"===t?.parent?.typeName&&E.jsx(fV,{control:t,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,lockObject:this._lockObject})]})}getControlsCommonClassName(e){if(0===e.length)return"";const t=e[0].getClassName();for(const r of e)if(r.getClassName()!==t)return"";return t}renderProperties(e){if(0===e.length)return;switch(this.getControlsCommonClassName(e)){case"TextBlock":{const t=e;return E.jsx(UL,{textBlocks:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"InputText":{const t=e;return E.jsx(XL,{inputTexts:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"ColorPicker":{const t=e;return E.jsx($L,{colorPickers:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"Image":{const t=e;return E.jsx(JL,{images:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"Slider":{const t=e;return E.jsx(RL,{sliders:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"ImageBasedSlider":{const t=e;return E.jsx(QL,{imageBasedSliders:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"Rectangle":return E.jsx(rV,{rectangles:e,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable});case"StackPanel":{const t=e;return E.jsx(oV,{stackPanels:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"Grid":{const t=e;return E.jsx(lV,{grids:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"ScrollViewer":{const t=e;return E.jsx(sV,{scrollViewers:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"Ellipse":{const t=e;return E.jsx(cV,{ellipses:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"Checkbox":{const t=e;return E.jsx(dV,{checkboxes:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"RadioButton":{const t=e;return E.jsx(VL,{radioButtons:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"Line":{const t=e;return E.jsx(HL,{lines:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"DisplayGrid":{const t=e;return E.jsx(pV,{displayGrids:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}case"Button":{const t=e;return E.jsx(hV,{rectangles:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onAddComponent:e=>{for(const r of t){const t=gV.CreateControlFromString(e);this.props.globalState.workbench.addEditorBehavior(t),r.addControl(t),this.props.globalState.select(t)}},onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState},"buttonMenu")}}const t=e;return E.jsx(uV,{controls:t,lockObject:this._lockObject,onPropertyChangedObservable:this.props.globalState.onPropertyChangedObservable,onFontsParsedObservable:this.props.globalState.onFontsParsedObservable,globalState:this.props.globalState})}renderControlIcon(e){const t=e[0].getClassName();for(const r of e)if(r.getClassName()!==t)return FL;const r=vV.find(e=>e.className===t);return r?r.icon:FL}render(){if(null==this.props.globalState.guiTexture)return null;const e=this.props.globalState.selectedControls.length>0?this.props.globalState.selectedControls:[this.props.globalState.workbench.trueRootContainer];return E.jsx("div",{id:"ge-propertyTab",children:this.renderNode(e)})}}class bV extends u.Component{render(){return x.createPortal(this.props.children,this.props.globalState.hostElement)}}VH("#log-console{background:#333;box-sizing:border-box;height:120px;margin:0;overflow:hidden;overflow-y:auto;padding:10px;width:100%}#log-console .log{color:#fff;font-family:Courier New,Courier,monospace;font-size:14px}#log-console .log.error{color:red}");class CV extends u.Component{constructor(e){super(e),this._consoleRef=u.createRef(),this.state={logs:[]}}componentDidMount(){this.props.globalState.onLogRequiredObservable.add(e=>{const t=this.state.logs.map(e=>e);t.push(e),this.setState({logs:t})})}componentDidUpdate(){const e=this._consoleRef.current;e&&(e.scrollTop=e.scrollHeight)}render(){const e=new Date,t=e.getHours(),r=e.getMinutes(),o=e.getSeconds();return E.jsx("div",{id:"log-console",ref:this._consoleRef,children:this.state.logs.map((e,n)=>E.jsx("div",{className:"log"+(e.isError?" error":""),children:t+":"+r+":"+o+": "+e.message},n))})}}var yV={"dialog-container":"MessageDialog-module_dialog-container__nL-5x",dialog:"MessageDialog-module_dialog__C5ZKg","dialog-message":"MessageDialog-module_dialog-message__7M79V","dialog-buttons":"MessageDialog-module_dialog-buttons__P88Rx","dialog-button-ok":"MessageDialog-module_dialog-button-ok__1P0ZX",error:"MessageDialog-module_error__8WSDG"};VH(".MessageDialog-module_dialog-container__nL-5x{background:rgba(0,0,0,.6);display:grid;font-family:acumin-pro;height:100%;position:absolute;top:0;width:100%}.MessageDialog-module_dialog-container__nL-5x .MessageDialog-module_dialog__C5ZKg{align-self:center;background:#fff;border-radius:10px;display:grid;grid-template-columns:100%;grid-template-rows:1fr 50px;justify-self:center;max-width:400px;min-height:140px;padding:10px}.MessageDialog-module_dialog-container__nL-5x .MessageDialog-module_dialog__C5ZKg .MessageDialog-module_dialog-message__7M79V{color:#000;font-size:18px;grid-column:1;grid-row:1;margin-top:20px;padding:10px}.MessageDialog-module_dialog-container__nL-5x .MessageDialog-module_dialog__C5ZKg .MessageDialog-module_dialog-buttons__P88Rx{color:#fff;display:grid;grid-column:1;grid-row:2;grid-template-columns:100%;grid-template-rows:100%}.MessageDialog-module_dialog-container__nL-5x .MessageDialog-module_dialog__C5ZKg .MessageDialog-module_dialog-buttons__P88Rx .MessageDialog-module_dialog-button-ok__1P0ZX{align-content:center;align-self:center;background:green;border-radius:10px;cursor:pointer;display:grid;height:35px;justify-content:center;justify-self:center;min-width:80px}.MessageDialog-module_dialog-container__nL-5x .MessageDialog-module_dialog__C5ZKg .MessageDialog-module_dialog-buttons__P88Rx .MessageDialog-module_dialog-button-ok__1P0ZX:hover{opacity:.8}.MessageDialog-module_dialog-container__nL-5x .MessageDialog-module_dialog__C5ZKg .MessageDialog-module_dialog-buttons__P88Rx .MessageDialog-module_dialog-button-ok__1P0ZX.MessageDialog-module_error__8WSDG{background:red}");const xV=e=>{const[t,r]=u.useState(e.message),[o,n]=u.useState(e.isError);return u.useEffect(()=>{r(e.message),n(e.isError)},[e]),t?E.jsx("div",{className:yV["dialog-container"],children:E.jsxs("div",{className:yV.dialog,children:[E.jsx("div",{className:yV["dialog-message"],children:t}),E.jsx("div",{className:yV["dialog-buttons"],children:E.jsx("div",{className:fL({"dialog-button-ok":!0,error:o},yV),onClick:()=>{r(""),e.onClose&&e.onClose()},children:"OK"})})]})}):null};class wV extends u.Component{constructor(e){super(e),this.state={value:""}}onClick(){this.props.onClick&&!this.props.renaming&&this.props.onClick()}onBlur(){this.props.setRenaming(!1)}render(){const e=this.props.renaming?this.state.value:this.props.label||"No Name";return E.jsx("div",{className:"title",onClick:()=>this.onClick(),children:this.props.renaming?E.jsx("input",{type:"text",onBlur:()=>this.onBlur(),autoFocus:!0,value:e,onChange:e=>{this.props.onChange(e.target.value),this.setState({value:e.target.value})},onKeyDown:e=>{"Enter"===e.key&&this.onBlur()},className:"titleText"}):E.jsx("div",{className:"titleText",onDoubleClick:()=>{this.props.setRenaming(!0),this.setState({value:e})},children:e})})}}class kV extends u.Component{constructor(e){super(e),this.state={popupVisible:!1},this._extensionRef=u.createRef()}showPopup(){this.setState({popupVisible:!0})}componentDidMount(){this._popup&&this._popup.focus()}componentDidUpdate(){this._popup&&this._popup.focus()}render(){if(!this.props.extensibilityGroups)return null;const e=[];for(const t of this.props.extensibilityGroups)t.predicate(this.props.target)&&e.push(...t.entries);return 0===e.length?null:E.jsxs("div",{ref:this._extensionRef,className:"extensions",onClick:()=>this.showPopup(),children:[E.jsx("div",{title:"Additional options",className:"icon",children:E.jsx(SH,{icon:RH})}),E.jsx("div",{ref:e=>{this._popup=e},tabIndex:-1,className:this.state.popupVisible?"popup show":"popup",onBlur:()=>this.setState({popupVisible:!1}),children:e.map(e=>E.jsx("div",{className:"popupMenu",onClick:()=>e.action(this.props.target),children:e.label},e.label))})]})}}class BV extends u.Component{constructor(e){super(e);const t=this.props.control;this.state={isActive:t.isHighlighted,isVisible:t.isVisible,isRenaming:!1},this._onIsVisibleChangedObserver=t.onIsVisibleChangedObservable.add(e=>{this.setState({isVisible:e})})}componentWillUnmount(){this._onIsVisibleChangedObserver&&this.props.control.onIsVisibleChangedObservable.remove(this._onIsVisibleChangedObserver)}highlight(){const e=this.props.control;e.isHighlighted=!e.isHighlighted,this.setState({isActive:e.isHighlighted})}switchVisibility(){const e=!this.state.isVisible;this.setState({isVisible:e}),this.props.control.isVisible=e}onRename(e){this.props.control.name=e,this.props.globalState.onPropertyGridUpdateRequiredObservable.notifyObservers()}render(){const e=this.props.control;let t="";"Grid"===e.parent?.typeName&&(t=e.parent.getChildCellInfo(this.props.control));const o=this.props.globalState.draggedControl===e,n=vV.find(t=>t.className===e.getClassName());return E.jsxs("div",{className:"controlTools",children:[n&&E.jsx("div",{className:"controlType icon",children:E.jsx("img",{src:n.icon,alt:n.className})}),E.jsx(wV,{label:e.name,bracket:t,onClick:()=>this.props.onClick(),onChange:e=>this.onRename(e),setRenaming:e=>{this.setState({isRenaming:e}),this.props.onRenamingStateChanged(e)},renaming:this.state.isRenaming}),!o&&this.props.isDragOver&&this.props.dragOverLocation==N.CENTER&&e instanceof r.Container&&E.jsx(E.Fragment,{children:E.jsx("div",{className:"makeChild icon",onClick:()=>this.highlight(),title:"Make Child",children:E.jsx("img",{src:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M18.67%2C14.77l-.07%2C0a.61.61%2C0%2C0%2C0-.79%2C0L15.61%2C17V11.48A.6.6%2C0%2C0%2C0%2C15%2C11h-.08a.6.6%2C0%2C0%2C0-.53.6V17l-2.2-2.21-.07-.06a.61.61%2C0%2C0%2C0-.79.92l3.24%2C3.24.07.06a.62.62%2C0%2C0%2C0%2C.79-.06l3.24-3.24%2C0-.07A.61.61%2C0%2C0%2C0%2C18.67%2C14.77Z%22%20style%3D%22fill%3A%23212121%22%2F%3E%3Cpath%20d%3D%22M10.35%2C7.72a2.62%2C2.62%2C0%2C0%2C0-2.63%2C2.63v9.3a2.62%2C2.62%2C0%2C0%2C0%2C2.63%2C2.63h9.3a2.62%2C2.62%2C0%2C0%2C0%2C2.63-2.63v-9.3a2.62%2C2.62%2C0%2C0%2C0-2.63-2.63ZM8.93%2C10.35a1.43%2C1.43%2C0%2C0%2C1%2C1.42-1.42h9.3a1.43%2C1.43%2C0%2C0%2C1%2C1.42%2C1.42v9.3a1.43%2C1.43%2C0%2C0%2C1-1.42%2C1.42h-9.3a1.43%2C1.43%2C0%2C0%2C1-1.42-1.42Z%22%20style%3D%22fill%3A%23212121%22%2F%3E%3C%2Fsvg%3E"})})}),!this.state.isRenaming&&this.props.isHovered&&null===this.props.globalState.draggedControl&&this.props.dragOverLocation==N.NONE&&E.jsxs(E.Fragment,{children:[E.jsx("div",{className:"addComponent icon",onClick:()=>this.highlight(),title:"Add component (Not Implemented)",children:E.jsx("img",{src:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C11a.61.61%2C0%2C0%2C1%2C.61.61v2.83h2.83a.61.61%2C0%2C0%2C1%2C0%2C1.22H15.61v2.83a.61.61%2C0%2C0%2C1-1.22%2C0V15.61H11.56a.61.61%2C0%2C1%2C1%2C0-1.22h2.83V11.56A.61.61%2C0%2C0%2C1%2C15%2C11Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3Cpath%20d%3D%22M7.71%2C10.34a2.63%2C2.63%2C0%2C0%2C1%2C2.63-2.63h9.32a2.63%2C2.63%2C0%2C0%2C1%2C2.63%2C2.63v9.32a2.63%2C2.63%2C0%2C0%2C1-2.63%2C2.63H10.34a2.63%2C2.63%2C0%2C0%2C1-2.63-2.63Zm2.63-1.41a1.41%2C1.41%2C0%2C0%2C0-1.41%2C1.41v9.32a1.41%2C1.41%2C0%2C0%2C0%2C1.41%2C1.41h9.32a1.41%2C1.41%2C0%2C0%2C0%2C1.41-1.41V10.34a1.41%2C1.41%2C0%2C0%2C0-1.41-1.41Z%22%20style%3D%22fill%3A%23333%22%2F%3E%3C%2Fsvg%3E"})}),E.jsx("div",{className:"visibility icon",onClick:()=>this.switchVisibility(),title:"Set isVisible",children:E.jsx("img",{src:this.state.isVisible?TL:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M15%2C13.19a3.23%2C3.23%2C0%2C1%2C1-3.22%2C3.22A3.22%2C3.22%2C0%2C0%2C1%2C15%2C13.19Zm0%2C1.21a2%2C2%2C0%2C1%2C0%2C2%2C2A2%2C2%2C0%2C0%2C0%2C15%2C14.4Zm0-4a8.06%2C8.06%2C0%2C0%2C1%2C7.82%2C6.1.61.61%2C0%2C0%2C1-1.18.29%2C6.84%2C6.84%2C0%2C0%2C0-13.28%2C0%2C.61.61%2C0%2C0%2C1-1.18-.3A8.07%2C8.07%2C0%2C0%2C1%2C15%2C10.36Z%22%20style%3D%22fill%3A%23888%22%2F%3E%3C%2Fsvg%3E"})})]}),E.jsx(kV,{target:e,extensibilityGroups:this.props.extensibilityGroups})]})}}var zV="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2215%22%20height%3D%2230%22%20viewBox%3D%220%200%2015%2030%22%3E%3Cpath%20d%3D%22M7.1%2C16.63%2C5.1%2C14a.5.5%2C0%2C0%2C1%2C.4-.8h4a.5.5%2C0%2C0%2C1%2C.4.8l-2%2C2.66A.5.5%2C0%2C0%2C1%2C7.1%2C16.63Z%22%20style%3D%22fill%3A%238e8e8e%22%2F%3E%3C%2Fsvg%3E",jV="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2215%22%20height%3D%2230%22%20viewBox%3D%220%200%2015%2030%22%3E%3Cpath%20d%3D%22M9.13%2C15.4l-2.66%2C2a.5.5%2C0%2C0%2C1-.8-.4V13a.5.5%2C0%2C0%2C1%2C.8-.4l2.66%2C2A.5.5%2C0%2C0%2C1%2C9.13%2C15.4Z%22%20style%3D%22fill%3A%238e8e8e%22%2F%3E%3C%2Fsvg%3E";class SV extends u.Component{constructor(e){super(e),this._thisRef=u.createRef(),this._secondDragEnter=!1,this.state={expand:!0,dragOver:!1,dragOverLocation:N.NONE,isHovered:!1,isSelected:this.props.selectedEntities.includes(this.props.entity),blockDrag:!1},this._onSelectionChangedObservable=e.globalState.onSelectionChangedObservable.add(()=>{this.setState({isSelected:this.props.globalState.selectedControls.includes(this.props.entity)})}),this._onDraggingEndObservable=e.globalState.onDraggingEndObservable.add(()=>{this.setState({dragOverLocation:N.NONE})}),this._onDraggingStartObservable=e.globalState.onDraggingStartObservable.add(()=>{this.forceUpdate()})}switchExpandedState(){this.props.entity.reservedDataStore.setExpandedState(!this.props.entity.reservedDataStore.isExpanded),this.setState({expand:!this.state.expand})}shouldComponentUpdate(e,t){return e.selectedEntities.includes(e.entity)?(t.isSelected=!0,!0):(t.isSelected=!1,EL.LookForItems(e.entity,e.selectedEntities),!0)}scrollIntoView(){const e=this._thisRef.current;e&&e.scrollIntoView(!1)}componentWillUnmount(){this.props.globalState.onSelectionChangedObservable.remove(this._onSelectionChangedObservable),this.props.globalState.onDraggingEndObservable.remove(this._onDraggingEndObservable),this.props.globalState.onDraggingStartObservable.remove(this._onDraggingStartObservable)}onSelect(){const e=this.props.entity;this.props.globalState.select(e),this.props.globalState.selectionLock=!0}renderChildren(e,t=!0){const r=this.props.entity;if(!r.getChildren&&!r.children||!e)return null;const o=EL.SortAndFilter(r,r.getChildren?r.getChildren():r.children);return"StackPanel"!==r.typeName&&"VirtualKeyboard"!==r.typeName||o.reverse(),o.map((e,r)=>"Art-Board-Background"==e.name?null:E.jsx(SV,{globalState:this.props.globalState,mustExpand:this.props.mustExpand,extensibilityGroups:this.props.extensibilityGroups,selectedEntities:this.props.selectedEntities,offset:this.props.offset+(t?2:0),entity:e,filter:this.props.filter},r))}render(){if(this.props.entity===this.props.globalState.workbench.trueRootContainer||this.props.entity===this.props.globalState.workbench.visibleRegionContainer||this.props.entity===this.props.globalState.workbench.panAndZoomContainer)return this.renderChildren(!0,!1);const e={paddingLeft:10*(this.props.offset+.5)-20+"px"},t={marginLeft:10*(this.props.offset+.5)-20+"px"};let o=this.props.entity;o.reservedDataStore||(o.reservedDataStore={isExpanded:!0,setExpandedState:e=>o.reservedDataStore.isExpanded=e});const n=o.reservedDataStore.isExpanded||EL.LookForItems(this.props.entity,this.props.selectedEntities);o.reservedDataStore.isExpanded=n;const a=n?E.jsx("img",{src:zV,className:"icon"}):E.jsx("img",{src:jV,className:"icon"});let i="MultiMaterial"===o.getClassName()?[]:EL.SortAndFilter(o,o.getChildren?o.getChildren():o.children),l=i.length>0;if(this.props.filter){const e=this.props.filter.toLowerCase();if(!o.name||-1===o.name.toLowerCase().indexOf(e)){if(!l)return null;if(o.getDescendants&&0===o.getDescendants(!1,t=>t.name&&-1!==t.name.toLowerCase().indexOf(e)).length)return null}}let s="itemContainer";s+=this.state.isSelected&&null===this.props.globalState.draggedControl?" selected":"",s+=this.state.isHovered&&null===this.props.globalState.draggedControl?" hover":"",s+=this.state.dragOver&&this.state.dragOverLocation==N.CENTER&&o instanceof r.Container?" parent":"",s+=this.props.globalState.draggedControl===this.props.entity?" dragged":"",s+=this.state.dragOver&&this.state.dragOverLocation==N.ABOVE&&o.parent?" seAbove":"",s+=this.state.dragOver&&this.state.dragOverLocation==N.BELOW&&o.parent?" seBelow":"";const c="itemContainer seAbove"===s||"itemContainer seBelow"===s?t:e;return E.jsxs("div",{ref:this._thisRef,children:[E.jsxs("div",{className:s,style:c,onPointerUp:()=>{this.onSelect()},onPointerEnter:()=>this.setState({isHovered:!0}),onPointerLeave:()=>this.setState({isHovered:!1}),onDragStart:()=>{this.props.globalState.draggedControl=this.props.entity,this.props.globalState.onDraggingStartObservable.notifyObservers()},onDragEnd:()=>{this.props.globalState.onDraggingEndObservable.notifyObservers()},draggable:o.parent&&!this.state.blockDrag,onDrop:e=>{this.drop(),e.preventDefault()},onDragEnter:e=>{e.preventDefault(),this.dragOver(e)},onDragOver:e=>this.updateDragOverLocation(e),onDragLeave:()=>{this._secondDragEnter?this._secondDragEnter=!1:this.setState({dragOver:!1})},children:[l&&E.jsx("div",{className:"arrow icon",onClick:e=>{if(this.switchExpandedState(),e.shiftKey)for(;l;)this.renderChildren(!0),o=o.children[0],i="MultiMaterial"===o.getClassName()?[]:EL.SortAndFilter(o,o.getChildren?o.getChildren():o.children),l=i.length>0,o.reservedDataStore.isExpanded=!0},children:a}),E.jsx(BV,{globalState:this.props.globalState,extensibilityGroups:this.props.extensibilityGroups,control:o,onClick:()=>{},isHovered:this.state.isHovered,isDragOver:this.state.dragOver,dragOverLocation:this.state.dragOverLocation,onRenamingStateChanged:e=>{this.setState({blockDrag:e})}})]}),this.renderChildren(n)]})}dragOver(e){this.updateDragOverLocation(e),this.state.dragOver?this._secondDragEnter=!0:this.setState({dragOver:!0})}updateDragOverLocation(e){const t=e.target.getBoundingClientRect(),o=e.clientY-t.top;this.props.entity instanceof r.Container?o<6.4?this.setState({dragOverLocation:N.ABOVE}):o>25.6?this.setState({dragOverLocation:N.BELOW}):this.setState({dragOverLocation:N.CENTER}):o<16?this.setState({dragOverLocation:N.ABOVE}):this.setState({dragOverLocation:N.BELOW})}drop(){this.props.globalState.onDropObservable.notifyObservers();const e=this.props.entity;this.props.globalState.draggedControl!=e&&(this.props.globalState.draggedControlDirection=this.state.dragOverLocation,this.props.globalState.onParentingChangeObservable.notifyObservers(this.props.entity)),this.props.globalState.draggedControl=null,this.setState({dragOverLocation:N.NONE,dragOver:!1}),this._secondDragEnter=!1}}const NV=gr({menuPopover:{minWidth:"160px"},menuItem:{cursor:"pointer"},menuItemIcon:{color:hs}}),_V=(e,t)=>e.map(e=>(e=>"type"in e&&"divider"===e.type)(e)?E.jsx(ty,{},e.key):(e=>"type"in e&&"group"===e.type)(e)?E.jsxs(ry,{children:[e.header&&E.jsx(ny,{children:e.header}),_V(e.items,t)]},e.key):((e,t)=>{const r=e.icon;return E.jsx(my,{className:t.menuItem,icon:r?E.jsx(r,{className:t.menuItemIcon}):void 0,onClick:e.onClick,disabled:e.disabled,secondaryContent:e.secondaryContent,children:e.label},e.key)})(e,t)),TV=u.forwardRef((e,t)=>{const{items:r,onOpenChange:o,disabled:n}=e,[a,i]=u.useState(!1),l=NV();return E.jsxs(QC,{openOnContext:!0,open:a,onOpenChange:(e,t)=>{i(t.open),o?.(t.open)},children:[E.jsx(Sy,{disableButtonEnhancement:!0,children:e.trigger??E.jsx(KI,{ref:t,icon:e.icon,onClick:e=>{e?.stopPropagation(),i(!0)},disabled:n})}),E.jsx(wy,{className:l.menuPopover,children:E.jsx(yy,{children:_V(r,l)})})]})});TV.displayName="ContextMenu";class qV extends u.Component{constructor(e){super(e)}expandAll(){this.props.onExpandAll(!this.props.isExpanded)}render(){const e=this.props.isExpanded?E.jsx("img",{src:zV,className:"icon"}):E.jsx("img",{src:jV,className:"icon"});return E.jsxs("div",{className:"expandableHeader",children:[E.jsxs("div",{className:"text",children:[E.jsx("div",{className:"arrow icon",onClick:()=>this.props.onClick(),children:e}),E.jsx("div",{className:"text-value",children:this.props.label})]}),E.jsx("div",{className:"expandAll icon",onClick:()=>this.expandAll(),title:this.props.isExpanded?"Collapse all":"Expand all",children:e})]})}}class FV extends u.Component{constructor(e){super(e)}render(){return E.jsx("div",{className:"expandableHeader",children:E.jsxs("div",{className:"text",children:[E.jsx("div",{className:"arrow icon",children:E.jsx(SH,{icon:OH})}),E.jsx("div",{className:"text-value",children:this.props.label})]})})}}const DV=e=>e?e.map(e=>({key:e.label,label:e.label,onClick:e.action})):[];class EV extends u.Component{constructor(e){super(e),this.state={isExpanded:!0,mustExpand:!0}}switchExpandedState(){this.setState({isExpanded:!this.state.isExpanded,mustExpand:!1})}shouldComponentUpdate(e,t){if(!t.isExpanded&&this.state.isExpanded)return!0;const r=e.items;if(r&&r.length)for(const o of r)if(EL.LookForItems(o,e.selectedEntities))return t.isExpanded=!0,!0;return!0}expandAll(e){this.setState({isExpanded:e,mustExpand:e})}render(){let e=this.props.items;const t={paddingLeft:10*(this.props.offset+.5)+"px"};if(!e){if(!this.props.forceSubitems)return E.jsx("div",{className:"groupContainer",style:t,children:E.jsx("div",{children:this.props.label})});e=[]}if(!e.length){const e=DV(this.props.contextMenuItems),r=E.jsx("div",{className:"context-menu",id:"tree-item-context-menu-"+EV._ContextMenuUniqueIdGenerator++,children:E.jsx(FV,{label:this.props.label})});return E.jsx("div",{className:"groupContainer",style:t,children:e.length>0?E.jsx(_I,{toolName:"GUI Editor",useFluent:!0,children:E.jsx(TV,{trigger:r,items:e})}):r})}if(!this.state.isExpanded){const e=DV(this.props.contextMenuItems),r=E.jsx("div",{className:"context-menu",id:"tree-item-context-menu-"+EV._ContextMenuUniqueIdGenerator++,children:E.jsx(qV,{isExpanded:!1,label:this.props.label,onClick:()=>this.switchExpandedState(),onExpandAll:e=>this.expandAll(e)})});return E.jsx("div",{className:"groupContainer",style:t,children:e.length>0?E.jsx(_I,{toolName:"GUI Editor",useFluent:!0,children:E.jsx(TV,{trigger:r,items:e})}):r})}const r=EL.SortAndFilter(null,e)[0].getChildren();return E.jsx("div",{children:r.map(e=>E.jsx(SV,{extensibilityGroups:this.props.extensibilityGroups,offset:this.props.offset+1,selectedEntities:this.props.selectedEntities,entity:e,globalState:this.props.globalState,filter:this.props.filter},void 0!==e.uniqueId&&null!==e.uniqueId?e.uniqueId:e.name))})}}EV._ContextMenuUniqueIdGenerator=0,VH("#ge-scene-explorer-host{bottom:0;left:0;position:absolute;top:0}#ge-scene-explorer-host *{font-family:acumin-pro-condensed}#ge-scene-explorer-host:focus{outline:none}#ge-__resizable_base__{display:none}.ge-context-menu{background:#e2e2e2}.ge-context-menu .react-contextmenu-item{cursor:pointer;padding:10px}.ge-context-menu .react-contextmenu-item:hover{background:#e2e2e2}.ge-eact-contextmenu.context-menu.react-contextmenu--visible{transform:scale(1);z-index:99}#ge-sceneExplorer{background:#e2e2e2;display:grid;font:16px acumin-pro-condensed;grid-template-rows:auto 1fr;height:100%;margin:0;padding:0}#ge-sceneExplorer:focus{outline:none}#ge-sceneExplorer #header{background:#e2e2e2;color:#000;display:grid;font-size:16px;grid-row:1;grid-template-columns:30px 1fr 50px;height:30px;text-align:center;user-select:none}#ge-sceneExplorer #header #logo{align-self:center;display:flex;grid-column:1;height:24px;justify-self:center;left:0;position:relative;width:24px}#ge-sceneExplorer #header #title{align-items:center;display:grid;grid-column:2;text-align:center}#ge-sceneExplorer #header #commands{align-items:center;display:grid;grid-column:3;grid-template-columns:1fr 1fr}#ge-sceneExplorer #header #commands .expand{align-items:center;cursor:pointer;display:grid;grid-column:1;justify-items:center}#ge-sceneExplorer #header #commands .close{align-items:center;cursor:pointer;display:grid;grid-column:2;justify-items:center}#ge-sceneExplorer #tree{grid-row:2;overflow-x:hidden;overflow-y:auto}#ge-sceneExplorer .filter{align-items:stretch;display:flex}#ge-sceneExplorer .filter input{background:linear-gradient(180deg,hsla(0,0%,100%,0) 96%,#337ab7 0);background-position:-1000px 0;background-repeat:no-repeat;background-size:1000px 100%;border:none;border-bottom:1px solid #337ab7;color:#000;display:block;margin:10px 40px 5px;padding:0;width:100%}#ge-sceneExplorer .filter input::placeholder{color:#d3d3d3}#ge-sceneExplorer .filter input:focus{background-position:0 0;box-shadow:none;outline:none}#ge-sceneExplorer .groupContainer{align-items:center;align-self:center;color:#000;display:grid;height:24px;margin-bottom:0;margin-left:0;margin-top:0;user-select:none}#ge-sceneExplorer .groupContainer:hover{background:#bbb}#ge-sceneExplorer .groupContainer .expandableHeader{display:grid;grid-template-columns:1fr 20px}#ge-sceneExplorer .groupContainer .expandableHeader .text{display:grid;grid-column:1;grid-template-columns:20px 1fr}#ge-sceneExplorer .groupContainer .expandableHeader .text .arrow{color:#000;cursor:pointer;display:inline-block;grid-column:1;margin-left:0;margin-right:6px;opacity:.5}#ge-sceneExplorer .groupContainer .expandableHeader .text .text-value{align-items:center;display:flex;grid-column:2}#ge-sceneExplorer .groupContainer .expandableHeader .expandAll{grid-column:2;margin-right:10px;opacity:.5}#ge-sceneExplorer .icon{align-items:center;cursor:pointer;display:grid;justify-items:center}#ge-sceneExplorer .addComponent{display:none}#ge-sceneExplorer .makeChild{grid-column:3}#ge-sceneExplorer .itemContainer{border:2px solid transparent;color:#000;display:grid;grid-template-columns:20px 1fr;height:32px;margin-bottom:0;margin-left:0;margin-top:0;-webkit-user-select:none;user-select:none}#ge-sceneExplorer .itemContainer.hover{border:2px solid #527089;cursor:pointer}#ge-sceneExplorer .itemContainer.seAbove{border-top:2px solid #527089;cursor:pointer}#ge-sceneExplorer .itemContainer.seBelow{border-bottom:2px solid #527089;cursor:pointer}#ge-sceneExplorer .itemContainer.selected{background:#bfbebe;color:#000}#ge-sceneExplorer .itemContainer.dragged{background:transparent;color:#000}#ge-sceneExplorer .itemContainer.parent{background:#fff;color:#000}#ge-sceneExplorer .itemContainer .isNotActive{opacity:.3}#ge-sceneExplorer .itemContainer .arrow{color:#000;grid-column:1;opacity:.6}#ge-sceneExplorer .itemContainer .popup{background-color:#bbb;border:1px solid hsla(0,0%,100%,.5);box-sizing:border-box;color:#fff;margin-left:-180px;position:absolute;visibility:hidden;width:200px;z-index:1}#ge-sceneExplorer .itemContainer .popup.show{visibility:visible}#ge-sceneExplorer .itemContainer .popup:focus{outline:none}#ge-sceneExplorer .itemContainer .popup .popupMenu{height:18px;overflow:hidden;padding:6px 5px 5px 10px;text-overflow:ellipsis;white-space:nowrap}#ge-sceneExplorer .itemContainer .popup .popupMenu:hover{background:#fff;color:#333}#ge-sceneExplorer .itemContainer .sceneNode{align-items:center;cursor:pointer;display:grid;grid-column:2;grid-template-columns:1fr 20px 20px 20px 20px 10px 20px 20px auto 5px;margin-left:-10px}#ge-sceneExplorer .itemContainer .sceneNode .sceneTitle{align-items:center;display:flex;grid-column:1;height:24px;margin-right:5px}#ge-sceneExplorer .itemContainer .sceneNode .translation{grid-column:2;opacity:.6}#ge-sceneExplorer .itemContainer .sceneNode .translation.selected{opacity:1}#ge-sceneExplorer .itemContainer .sceneNode .rotation{grid-column:3;opacity:.6}#ge-sceneExplorer .itemContainer .sceneNode .rotation.selected{opacity:1}#ge-sceneExplorer .itemContainer .sceneNode .scaling{grid-column:4;opacity:.6}#ge-sceneExplorer .itemContainer .sceneNode .scaling.selected{opacity:1}#ge-sceneExplorer .itemContainer .sceneNode .bounding{grid-column:5;opacity:.6}#ge-sceneExplorer .itemContainer .sceneNode .bounding.selected{opacity:1}#ge-sceneExplorer .itemContainer .sceneNode .separator{align-items:center;border-left:1px solid #337ab7;display:flex;grid-column:6;height:18px;margin-left:5px;width:5px}#ge-sceneExplorer .itemContainer .sceneNode .pickingMode{grid-column:7;opacity:.6}#ge-sceneExplorer .itemContainer .sceneNode .pickingMode.selected{opacity:1}#ge-sceneExplorer .itemContainer .sceneNode .refresh{grid-column:8}#ge-sceneExplorer .itemContainer .sceneNode .extensions{grid-column:9;width:20px}#ge-sceneExplorer .itemContainer .adtextureTools{align-items:center;display:grid;grid-column:2;grid-template-columns:1fr 20px auto 5px}#ge-sceneExplorer .itemContainer .adtextureTools .pickingMode{grid-column:2;opacity:.6}#ge-sceneExplorer .itemContainer .adtextureTools .pickingMode.selected{opacity:1}#ge-sceneExplorer .itemContainer .adtextureTools .extensions{grid-column:3;width:20px}#ge-sceneExplorer .itemContainer .controlTools{align-items:center;display:grid;grid-column:2;grid-template-columns:auto 1fr auto auto auto}#ge-sceneExplorer .itemContainer .controlTools .controlType{grid-column:1}#ge-sceneExplorer .itemContainer .controlTools .controlType img{filter:invert(100%);height:32px;width:32px}#ge-sceneExplorer .itemContainer .controlTools .highlight{grid-column:3}#ge-sceneExplorer .itemContainer .controlTools .visibility{grid-column:4}#ge-sceneExplorer .itemContainer .controlTools .extensions{grid-column:5;width:20px}#ge-sceneExplorer .itemContainer .title{align-items:center;background:transparent;cursor:pointer;height:24px;margin-right:5px;min-width:0;overflow:hidden;white-space:nowrap}#ge-sceneExplorer .itemContainer .title .titleText{border:unset;font-family:acumin-pro-condensed,sans-serif;font-size:16px;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"),u.Component;class PV extends u.Component{constructor(e){super(e),this.state={filter:null,selectedEntity:null,scene:this.props.scene?this.props.scene:null},this._onNewSceneObserver=this.props.globalState.onNewSceneObservable.add(e=>{this.setState({scene:e})}),this._onPropertyChangedObservable=this.props.globalState.onPropertyChangedObservable.add(e=>{"name"!==e.property&&"_columnNumber"!==e.property&&"_rowNumber"!==e.property||this.forceUpdate()}),this._onUpdateRequiredObserver=this.props.globalState.onUpdateRequiredObservable.add(()=>{this.forceUpdate()})}componentDidMount(){this._onSelectionChangeObserver=this.props.globalState.onSelectionChangedObservable.add(e=>{this.state.selectedEntity!==e&&this.setState({selectedEntity:e})}),this.props.globalState.onSelectionChangedObservable.add(()=>{this.forceUpdate()}),this._onParrentingChangeObserver=this.props.globalState.onParentingChangeObservable.add(()=>{this.forceUpdate()})}componentWillUnmount(){this._onSelectionChangeObserver&&this.props.globalState.onSelectionChangedObservable.remove(this._onSelectionChangeObserver),this._onNewSceneObserver&&this.props.globalState.onNewSceneObservable.remove(this._onNewSceneObserver),this._onParrentingChangeObserver&&this.props.globalState.onParentingChangeObservable.remove(this._onParrentingChangeObserver),this._onPropertyChangedObservable&&this.props.globalState.onPropertyChangedObservable.remove(this._onPropertyChangedObservable),this._onUpdateRequiredObserver&&this.props.globalState.onUpdateRequiredObservable.remove(this._onUpdateRequiredObserver)}filterContent(e){this.setState({filter:e})}findSiblings(e,t,r,o,n){if(!t)return!1;const a=EL.SortAndFilter(e,t);if(!t||0===a.length)return!1;for(const e of a){if(e===r){if(n.found=!0,!o)return n.previousOne&&this.props.globalState.select(n.previousOne),!0}else{if(n.found)return this.props.globalState.select(e),!0;n.previousOne=e}if(e.getChildren&&e.reservedDataStore&&e.reservedDataStore.isExpanded&&this.findSiblings(e,e.getChildren(),r,o,n))return!0}return!1}processKeys(e){if("input"===e.target.localName)return;const r=this.state.scene;let o=!1,n=!1;switch(e.key){case"ArrowUp":o=!0;break;case"ArrowDown":n=!0,o=!0;break;case"Enter":case"ArrowRight":return this.props.globalState.selectedControls.forEach(e=>{const t=e.reservedDataStore;t&&t.setExpandedState&&t.setExpandedState(!0)}),e.preventDefault(),void this.forceUpdate();case"ArrowLeft":return this.props.globalState.selectedControls.forEach(e=>{const r=e.reservedDataStore;t.Logger.Log(r),r&&r.setExpandedState&&r.setExpandedState(!1)}),e.preventDefault(),void this.forceUpdate();case"Delete":case"Backspace":this.props.globalState.deleteSelectedNodes(),this.forceUpdate()}if(o&&(e.preventDefault(),r)){const e=this.props.globalState.selectedControls[this.props.globalState.selectedControls.length-1],t={};this.findSiblings(null,r.rootNodes,e,n,t)||this.findSiblings(null,r.materials,e,n,t)||this.findSiblings(null,r.textures,e,n,t)}}renderContent(){if(!this.state.scene)return null;const e=[this.props.globalState.guiTexture];return E.jsx("div",{id:"tree",onDrop:()=>{this.props.globalState.onDropObservable.notifyObservers(),this.props.globalState.onParentingChangeObservable.notifyObservers(null)},onDragOver:e=>{e.preventDefault()},onClick:()=>{this.props.globalState.selectionLock?this.props.globalState.selectionLock=!1:this.props.globalState.setSelection([])},onContextMenu:e=>e.preventDefault(),children:e&&e.length>0&&E.jsx(EV,{globalState:this.props.globalState,extensibilityGroups:this.props.extensibilityGroups,selectedEntities:this.props.globalState.selectedControls,items:e,label:"GUI",offset:1,filter:this.state.filter})})}onClose(){this.props.onClose&&this.props.onClose()}onPopup(){this.props.onPopup&&this.props.onPopup()}render(){return E.jsxs("div",{id:"ge-sceneExplorer",tabIndex:0,onKeyDown:e=>this.processKeys(e),children:[this.props.children,this.renderContent()]})}}const IV=e=>{const{onUpload:t,accept:r,label:o,...n}=e;IV.displayName="UploadButton";const a=u.useRef(null);return E.jsxs(E.Fragment,{children:[E.jsx(KI,{icon:Bd,title:o??"Upload",label:o,onClick:()=>{a.current?.click()},...n}),E.jsx("input",{ref:a,type:"file",accept:r,style:{display:"none"},onChange:e=>{const r=e.target.files;r&&r.length&&t(r),e.target.value=""}})]})},OV=({onClick:e,label:t,accept:r,...o})=>(OV.displayName="FileUploadLine",E.jsx(mO,{uniqueId:`${t}_upload`,label:t,children:E.jsx(IV,{onUpload:e,accept:r,label:t,...o})}));class AV extends u.Component{constructor(e){super(e),this._id=AV._IdGenerator++,this._uploadInputRef=u.createRef()}onChange(e){const t=e.target.files;t&&t.length&&this.props.onClick(t[0]),e.target.value=""}renderFluent(){const{icon:e,...t}=this.props;return E.jsx(OV,{...t,onClick:e=>this.props.onClick(e[0])})}renderOriginal(){return E.jsxs("div",{className:"buttonLine",children:[this.props.icon&&E.jsx("img",{src:this.props.icon,title:this.props.iconLabel,alt:this.props.iconLabel,className:"icon"}),E.jsx("label",{htmlFor:"file-upload"+this._id,className:"file-upload",children:this.props.label}),E.jsx("input",{ref:this._uploadInputRef,id:"file-upload"+this._id,type:"file",accept:this.props.accept,onChange:e=>this.onChange(e)})]})}render(){return E.jsx(NI.Consumer,{children:({useFluent:e})=>e?this.renderFluent():this.renderOriginal()})}}AV._IdGenerator=0;class RV extends u.Component{constructor(e){super(e),this.state={isExpanded:!1,activeState:""}}render(){return E.jsxs(E.Fragment,{children:[this.state.isExpanded&&E.jsx("div",{className:"command-dropdown-blocker",onClick:()=>{this.setState({isExpanded:!1})}}),E.jsxs("div",{className:"command-dropdown-root",children:[E.jsxs("div",{className:"command-dropdown"+(this.state.isExpanded?" activated":""),title:this.props.tooltip,onClick:()=>{this.setState({isExpanded:!1});const e=!this.state.isExpanded,t=document.getElementById("embed-host");t&&(t.style.zIndex=e?"0":"10"),this.setState({isExpanded:e})},children:[this.props.icon&&E.jsx("div",{className:"command-dropdown-icon",children:E.jsx("img",{src:this.props.icon})}),!this.props.icon&&E.jsx("div",{className:"command-dropdown-active"})]}),this.state.isExpanded&&E.jsx("div",{className:"command-dropdown-content sub1"+(this.props.toRight?" toRight":""),children:this.props.items.map(e=>e.fileButton?E.jsx(AV,{label:e.loadControlButton?"Load control":"Load",onClick:t=>this.props.globalState[e.loadControlButton?"onControlLoadObservable":"onLoadObservable"].notifyObservers(t),accept:".json"},e.label):E.jsxs("div",{className:"command-dropdown-label"+(e.isActive?" active":""),onClick:()=>{e.onClick?e.subItems||(e.onClick(),this.setState({isExpanded:!1,activeState:e.label})):this.forceUpdate()},title:e.label,children:[!e.icon&&E.jsx("div",{className:"command-dropdown-label-text",children:(e.isActive?"> ":"")+e.label}),e.icon&&E.jsx("div",{className:"command-dropdown-icon",children:E.jsx("img",{src:e.icon})}),e.onCheck&&E.jsx("input",{type:"checkBox",className:"command-dropdown-label-check",onChange:t=>{this.forceUpdate(),e.onCheck(t.target.checked)},checked:!1}),e.subItems&&E.jsx("div",{className:"command-dropdown-arrow",children:">"}),e.subItems&&E.jsx("div",{className:"sub-items ",children:e.subItems.map(t=>E.jsx("div",{className:"sub-item",onClick:()=>{e.onClick(),this.setState({isExpanded:!1})},children:E.jsx("div",{className:"sub-item-label",children:t})},t))})]},e.label))})]})]})}}VH(":root{--selectionGrey:#666}.ge-commands{grid-column:1;grid-row:1;user-select:none}.ge-commands *{font-family:acumin-pro-condensed;font-size:12px;font-weight:600}.ge-commands .copy{display:none}.ge-commands .commands-left{display:flex;float:left}.ge-commands .commands-right{display:flex;float:right}.ge-commands .commands-right .beta-flag{height:30px;left:-15px;position:relative}.ge-commands.background-ts .command-button img,.ge-commands.background-ts .command-dropdown img{filter:invert(64%) sepia(78%) saturate(940%) hue-rotate(323deg) brightness(105%) contrast(103%)}.ge-commands.background-ts .command-button .command-dropdown-active,.ge-commands.background-ts .command-dropdown .command-dropdown-active{color:#333}.ge-commands.background-ts .command-button.activated img,.ge-commands.background-ts .command-button:hover img,.ge-commands.background-ts .command-dropdown.activated img,.ge-commands.background-ts .command-dropdown:hover img{filter:invert(34%) sepia(21%) saturate(3832%) hue-rotate(324deg) brightness(88%) contrast(82%)!important}.ge-commands.background-js .command-button img,.ge-commands.background-js .command-dropdown img{filter:invert(57%) sepia(80%) saturate(2031%) hue-rotate(215deg)}.ge-commands.background-js .command-button .command-dropdown-active,.ge-commands.background-js .command-dropdown .command-dropdown-active{color:#333}.ge-commands.background-js .command-button.activated img,.ge-commands.background-js .command-button:hover img,.ge-commands.background-js .command-dropdown.activated img,.ge-commands.background-js .command-dropdown:hover img{filter:invert(17%)!important}.ge-commands .command-button{cursor:pointer;height:55px;width:55px}.ge-commands .command-button .command-label{display:none}.ge-commands .command-button .command-button-icon{align-content:center;color:#fff;display:grid;height:100%;justify-content:center;width:100%}.ge-commands .command-button .active{transform-origin:center}.ge-commands .command-button .active,.ge-commands .command-button img.active,.ge-commands .command-button:hover{background-color:var(--selectionGrey)}.ge-commands .copyAndDeleteDisabled,.ge-commands .pasteDisabled{color:#000;pointer-events:none}.ge-commands .command-dropdown-root{position:relative;text-transform:uppercase;z-index:1}.ge-commands .command-dropdown{cursor:pointer;height:55px;width:55px}.ge-commands .command-dropdown .command-dropdown-active,.ge-commands .command-dropdown .command-dropdown-icon{align-content:center;display:grid;height:100%;justify-content:center;width:100%}.ge-commands .command-dropdown .command-dropdown-active{font-size:14px}.ge-commands .command-dropdown.activated,.ge-commands .command-dropdown:hover{background-color:#666;color:#000}.ge-commands .command-dropdown:active{transform:scale(.95);transform-origin:center}.ge-commands .command-dropdown-blocker{height:100%;left:0;position:absolute;top:0;transform:scale(1);width:100%;z-index:1}.ge-commands.background-js .command-dropdown-content,.ge-commands.background-js .command-dropdown-content .command-dropdown-label:hover,.ge-commands.background-ts .command-dropdown-content .command-dropdown-label:hover{background:#333}.ge-commands .command-dropdown-content{background:#333;position:absolute;top:55px;transform:scale(1);width:55px}.ge-commands .command-dropdown-content.toRight{width:120px}.ge-commands .command-dropdown-content .command-dropdown-label{align-items:center;color:#fff;cursor:pointer;display:grid;font-size:18px;grid-template-columns:1fr 20px;grid-template-rows:100%;height:35px;padding:5px 5px 5px 7px;position:relative;user-select:none}.ge-commands .command-dropdown-content .command-dropdown-label.active{font-size:20px;font-weight:700}.ge-commands .command-dropdown-content .command-dropdown-label:hover{background:var(--selectionGrey)}.ge-commands .command-dropdown-content .command-dropdown-label:hover .sub-items{display:block}.ge-commands .command-dropdown-content .command-dropdown-label .command-dropdown-label-text{font-size:12px;grid-column:1;grid-row:1}.ge-commands .command-dropdown-content .command-dropdown-label .command-dropdown-label-check{grid-column:2;grid-row:1}.ge-commands .command-dropdown-content .command-dropdown-label .command-dropdown-arrow{font-size:20px;font-weight:700;grid-column:2;grid-row:1;padding-bottom:10px;padding-left:4px}.ge-commands .command-dropdown-content .command-dropdown-label .sub-items{display:none;left:200px;position:absolute;top:0;width:150px}.ge-commands .command-dropdown-content .command-dropdown-label .sub-items.background-js{background:#bfabff}.ge-commands .command-dropdown-content .command-dropdown-label .sub-items.background-js .sub-item:hover{background-color:#333;color:#fff}.ge-commands .command-dropdown-content .command-dropdown-label .sub-items.background-ts{background:#333}.ge-commands .command-dropdown-content .command-dropdown-label .sub-items.background-ts .sub-item:hover{background-color:#333;color:#fff}.ge-commands .command-dropdown-content .command-dropdown-label .sub-items .sub-item{color:#fff;display:grid;height:35px;padding:5px 5px 5px 10px}.ge-commands .command-dropdown-content .command-dropdown-label .sub-items .sub-item.checked{background:#fff;color:#000}.ge-commands .command-dropdown-content .buttonLine{align-items:center;color:#fff;cursor:pointer;display:grid;font-size:18px;font-size:12px;grid-column:1;grid-row:1;grid-template-columns:1fr 20px;grid-template-rows:100%;height:35px;padding:5px 5px 5px 7px;position:relative;user-select:none}.ge-commands .command-dropdown-content .buttonLine input[type=file]{display:none}.ge-commands .command-dropdown-content .buttonLine.active{cursor:pointer;font-size:20px;font-weight:700}.ge-commands .command-dropdown-content .buttonLine:hover{background:var(--selectionGrey);cursor:pointer}.ge-commands .command-dropdown-content .buttonLine:hover .sub-items{display:block}.ge-commands .command-dropdown-content .buttonLine .file-upload{cursor:pointer}.ge-commands .divider{align-items:center;border-right:1px solid #000;color:#fff;display:flex}.ge-commands .divider:last-of-type{border-right:none}.ge-commands .divider.padded{padding-left:10px;padding-right:10px}.ge-commands .checkBoxLine,.ge-commands .floatLine{align-items:center;display:flex}.ge-commands .checkBoxLine .copy,.ge-commands .floatLine .copy{display:none}.ge-commands .checkBoxLine .icon{filter:brightness(10)}.ge-commands .checkBoxLine .hidden{display:none}.ge-commands .checkBoxLine .checkBox{height:40px}.ge-commands .checkBoxLine .copy{display:none}.ge-commands .color3Line{display:grid}.ge-commands .color3Line .firstLine{align-items:center;display:flex}.ge-commands .color3Line .firstLine .label{padding-right:5px}.ge-commands .color3Line .firstLine .floatLine .value{padding-left:2px}.ge-commands .color3Line .firstLine .copy,.ge-commands .color3Line .firstLine .expand{display:none}.ge-commands .color3Line .secondLine{border-left:1px solid #337ab7;display:grid;padding-right:5px}.ge-commands .color3Line .secondLine .numeric{display:grid;grid-template-columns:1fr auto}.ge-commands .color3Line .secondLine .numeric-label{align-items:center;display:flex;grid-column:1;justify-self:right;margin-right:10px;text-align:right}.ge-commands .color3Line .secondLine .numeric-value{align-items:center;border:1px solid #337ab7;display:flex;grid-column:2;width:120px}.ge-commands .color-picker{height:26px;width:26px}.ge-commands .color-picker .color-rect-background{background:repeating-conic-gradient(#e2e2e2 0 25%,#fff 0 50%) 50%/100% 100%;border:1px solid #fff;cursor:pointer;height:calc(100% - 2px);width:calc(100% - 2px)}.ge-commands .color-picker .color-rect-background .color-rect{height:100%}.ge-commands .color-picker .color-picker-cover{bottom:0;left:0;position:fixed;right:0;top:0;z-index:2}.ge-commands .color-picker .color-picker-float{outline:1px solid #000;position:absolute}.ge-commands .color-picker .color-picker-container{background-color:#e2e2e2}.ge-commands .color-picker input:focus{outline-color:#000}.ge-commands .floatLine input,.ge-commands .listLine select{background-color:#000;border:none;color:#fff;padding:5px}.ge-commands .listLine select,.ge-commands input{border:none;outline-color:transparent;outline-offset:-1px;outline-style:solid;outline-width:1px;transition:outline .2s}.ge-commands .floatLine .value{margin:5px;position:relative}.ge-commands .floatLine input:focus{outline-color:#fff}.ge-commands .listLine select{width:150px}.ge-commands .hasArrows .arrows{cursor:grab;display:none;filter:brightness(10);flex-direction:column;position:absolute;right:0;top:0}.ge-commands .hasArrows .arrows .downArrowIcon,.ge-commands .hasArrows .arrows .upArrowIcon{height:13px;width:13px}.ge-commands .hasArrows.dragging .arrows,.ge-commands .hasArrows:focus .arrows,.ge-commands .hasArrows:hover .arrows{display:flex}.ge-commands .hasArrows .arrows:hover{background-color:var(--buttonHoverBackground);filter:none}.ge-commands .hasArrows.dragging .arrows{background-color:var(--buttonPressedBackground)}.ge-commands .hasArrows.dragging .arrows .downArrowIcon,.ge-commands .hasArrows.dragging .arrows .upArrowIcon{filter:none}.ge-commands .hasArrows input::-webkit-inner-spin-button,.ge-commands .hasArrows input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ge-commands .hasArrows input[type=number]{-moz-appearance:textfield}");const MV=[{width:1920,height:1080},{width:1366,height:768},{width:1280,height:800},{width:3840,height:2160},{width:750,height:1334},{width:1125,height:2436},{width:1170,height:2532},{width:1284,height:2778},{width:1080,height:2220},{width:1080,height:2340},{width:1024,height:1024},{width:2048,height:2048}],HV=[{label:"Web (1920)",value:0},{label:"Web (1366)",value:1},{label:"Web (1280)",value:2},{label:"Web (3840)",value:3},{label:"iPhone 8 (750)",value:4},{label:"iPhone X, 11 (1125)",value:5},{label:"iPhone 12 (1170)",value:6},{label:"iPhone Pro Max (1284)",value:7},{label:"Google Pixel 4 (1080)",value:8},{label:"Google Pixel 5 (1080)",value:9},{label:"Square (1024)",value:10},{label:"Square (2048)",value:11}];class LV extends u.Component{constructor(e){super(e),this._sizeOption=0,this._stopUpdating=!1,this._lockObject=new k,e.globalState.onToolChangeObservable.add(()=>{this.forceUpdate()}),e.globalState.onOutlineChangedObservable.add(()=>{this.forceUpdate()}),e.globalState.onResizeObservable.add(()=>{this.forceUpdate()}),e.globalState.onSelectionChangedObservable.add(()=>{this.forceUpdate()}),e.globalState.onWindowResizeObservable.add(()=>{this.forceUpdate()})}render(){const e=!this.props.globalState.workbench||this.props.globalState.workbench.pasteDisabled,r=this.props.globalState.workbench?{...this.props.globalState.workbench.guiSize}:{width:0,height:0},o=0===this.props.globalState.selectedControls.length?"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23777777%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M14.76%2C14.06v10.27c0%2C1.46%2C1.18%2C2.64%2C2.64%2C2.64h7.01c-.25%2C.71-.93%2C1.22-1.73%2C1.22h-5.28c-2.13%2C0-3.86-1.73-3.86-3.86V15.78c0-.8%2C.51-1.48%2C1.22-1.73Zm9.96-2.14c1.01%2C0%2C1.83%2C.82%2C1.83%2C1.83v10.57c0%2C1.01-.82%2C1.83-1.83%2C1.83h-7.32c-1.01%2C0-1.83-.82-1.83-1.83V13.75c0-1.01%2C.82-1.83%2C1.83-1.83h7.32Zm0%2C1.22h-7.32c-.34%2C0-.61%2C.27-.61%2C.61v10.57c0%2C.34%2C.27%2C.61%2C.61%2C.61h7.32c.34%2C0%2C.61-.27%2C.61-.61V13.75c0-.34-.27-.61-.61-.61Z%22%2F%3E%3C%2Fsvg%3E":"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M14.76%2C14.06v10.27c0%2C1.46%2C1.18%2C2.64%2C2.64%2C2.64h7.01c-.25%2C.71-.93%2C1.22-1.73%2C1.22h-5.28c-2.13%2C0-3.86-1.73-3.86-3.86V15.78c0-.8%2C.51-1.48%2C1.22-1.73Zm9.96-2.14c1.01%2C0%2C1.83%2C.82%2C1.83%2C1.83v10.57c0%2C1.01-.82%2C1.83-1.83%2C1.83h-7.32c-1.01%2C0-1.83-.82-1.83-1.83V13.75c0-1.01%2C.82-1.83%2C1.83-1.83h7.32Zm0%2C1.22h-7.32c-.34%2C0-.61%2C.27-.61%2C.61v10.57c0%2C.34%2C.27%2C.61%2C.61%2C.61h7.32c.34%2C0%2C.61-.27%2C.61-.61V13.75c0-.34-.27-.61-.61-.61Z%22%2F%3E%3C%2Fsvg%3E",n=0===this.props.globalState.selectedControls.length?"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23777777%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M18.39%2C14.54h3.24c0-.89-.72-1.62-1.62-1.62s-1.62%2C.72-1.62%2C1.62Zm-1.21%2C0c0-1.56%2C1.27-2.83%2C2.83-2.83s2.83%2C1.27%2C2.83%2C2.83h4.65c.34%2C0%2C.61%2C.27%2C.61%2C.61s-.27%2C.61-.61%2C.61h-1.07l-.95%2C9.8c-.15%2C1.56-1.46%2C2.74-3.02%2C2.74h-4.9c-1.56%2C0-2.87-1.19-3.02-2.74l-.95-9.8h-1.07c-.34%2C0-.61-.27-.61-.61s.27-.61%2C.61-.61h4.65Zm1.62%2C3.84c0-.34-.27-.61-.61-.61s-.61%2C.27-.61%2C.61v6.07c0%2C.34%2C.27%2C.61%2C.61%2C.61s.61-.27%2C.61-.61v-6.07Zm3.04-.61c.34%2C0%2C.61%2C.27%2C.61%2C.61v6.07c0%2C.34-.27%2C.61-.61%2C.61s-.61-.27-.61-.61v-6.07c0-.34%2C.27-.61%2C.61-.61Zm-6.08%2C7.66c.09%2C.93%2C.87%2C1.65%2C1.81%2C1.65h4.9c.94%2C0%2C1.72-.71%2C1.81-1.65l.94-9.69H14.81l.94%2C9.69Z%22%2F%3E%3C%2Fsvg%3E":"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M18.39%2C14.54h3.24c0-.89-.72-1.62-1.62-1.62s-1.62%2C.72-1.62%2C1.62Zm-1.21%2C0c0-1.56%2C1.27-2.83%2C2.83-2.83s2.83%2C1.27%2C2.83%2C2.83h4.65c.34%2C0%2C.61%2C.27%2C.61%2C.61s-.27%2C.61-.61%2C.61h-1.07l-.95%2C9.8c-.15%2C1.56-1.46%2C2.74-3.02%2C2.74h-4.9c-1.56%2C0-2.87-1.19-3.02-2.74l-.95-9.8h-1.07c-.34%2C0-.61-.27-.61-.61s.27-.61%2C.61-.61h4.65Zm1.62%2C3.84c0-.34-.27-.61-.61-.61s-.61%2C.27-.61%2C.61v6.07c0%2C.34%2C.27%2C.61%2C.61%2C.61s.61-.27%2C.61-.61v-6.07Zm3.04-.61c.34%2C0%2C.61%2C.27%2C.61%2C.61v6.07c0%2C.34-.27%2C.61-.61%2C.61s-.61-.27-.61-.61v-6.07c0-.34%2C.27-.61%2C.61-.61Zm-6.08%2C7.66c.09%2C.93%2C.87%2C1.65%2C1.81%2C1.65h4.9c.94%2C0%2C1.72-.71%2C1.81-1.65l.94-9.69H14.81l.94%2C9.69Z%22%2F%3E%3C%2Fsvg%3E",a=e?"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23777777%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M20.61%2C12.07c.94%2C0%2C1.71%2C.71%2C1.81%2C1.62h1.43c.97%2C0%2C1.76%2C.75%2C1.82%2C1.7v.13c0%2C.31-.22%2C.56-.52%2C.6h-.08c-.31%2C0-.56-.22-.6-.52v-.08c0-.31-.23-.56-.53-.6h-1.81c-.33%2C.48-.88%2C.8-1.51%2C.8h-2.85c-.63%2C0-1.19-.32-1.51-.81h-1.73c-.31%2C0-.56%2C.23-.6%2C.53v11.05c0%2C.31%2C.22%2C.56%2C.52%2C.6h2.52c.31%2C0%2C.56%2C.23%2C.6%2C.53v.08c0%2C.34-.27%2C.61-.6%2C.61h-2.44c-.97%2C0-1.76-.75-1.82-1.7V15.53c0-.97%2C.75-1.76%2C1.7-1.82h1.56c.1-.92%2C.87-1.63%2C1.81-1.63h2.85Zm4.87%2C4.87c.97%2C0%2C1.76%2C.75%2C1.82%2C1.7v7.84c0%2C.97-.75%2C1.76-1.7%2C1.82h-5.4c-.97%2C0-1.76-.75-1.82-1.7v-7.84c0-.97%2C.75-1.76%2C1.7-1.82h5.4Zm0%2C1.21h-5.28c-.31%2C0-.56%2C.23-.6%2C.53v7.8c0%2C.31%2C.22%2C.56%2C.52%2C.6h5.36c.31%2C0%2C.56-.22%2C.6-.52v-7.8c0-.31-.22-.56-.52-.6h-.08Zm-4.87-4.88h-2.85c-.33%2C0-.61%2C.27-.61%2C.61s.27%2C.61%2C.61%2C.61h2.85c.33%2C0%2C.61-.27%2C.61-.61s-.27-.61-.61-.61Z%22%2F%3E%3C%2Fsvg%3E":"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M20.61%2C12.07c.94%2C0%2C1.71%2C.71%2C1.81%2C1.62h1.43c.97%2C0%2C1.76%2C.75%2C1.82%2C1.7v.13c0%2C.31-.22%2C.56-.52%2C.6h-.08c-.31%2C0-.56-.22-.6-.52v-.08c0-.31-.23-.56-.53-.6h-1.81c-.33%2C.48-.88%2C.8-1.51%2C.8h-2.85c-.63%2C0-1.19-.32-1.51-.81h-1.73c-.31%2C0-.56%2C.23-.6%2C.53v11.05c0%2C.31%2C.22%2C.56%2C.52%2C.6h2.52c.31%2C0%2C.56%2C.23%2C.6%2C.53v.08c0%2C.34-.27%2C.61-.6%2C.61h-2.44c-.97%2C0-1.76-.75-1.82-1.7V15.53c0-.97%2C.75-1.76%2C1.7-1.82h1.56c.1-.92%2C.87-1.63%2C1.81-1.63h2.85Zm4.87%2C4.87c.97%2C0%2C1.76%2C.75%2C1.82%2C1.7v7.84c0%2C.97-.75%2C1.76-1.7%2C1.82h-5.4c-.97%2C0-1.76-.75-1.82-1.7v-7.84c0-.97%2C.75-1.76%2C1.7-1.82h5.4Zm0%2C1.21h-5.28c-.31%2C0-.56%2C.23-.6%2C.53v7.8c0%2C.31%2C.22%2C.56%2C.52%2C.6h5.36c.31%2C0%2C.56-.22%2C.6-.52v-7.8c0-.31-.22-.56-.52-.6h-.08Zm-4.87-4.88h-2.85c-.33%2C0-.61%2C.27-.61%2C.61s.27%2C.61%2C.61%2C.61h2.85c.33%2C0%2C.61-.27%2C.61-.61s-.27-.61-.61-.61Z%22%2F%3E%3C%2Fsvg%3E",i=this.props.globalState.fromPG?t.DataStorage.ReadBoolean("responsiveUI",!0):t.DataStorage.ReadBoolean("Responsive",!0);return this._sizeOption=MV.findIndex(e=>e.width==r.width&&e.height==r.height),this._sizeOption<0&&(this.props.globalState.onResponsiveChangeObservable.notifyObservers(!1),t.DataStorage.WriteBoolean("Responsive",!1)),E.jsxs("div",{className:"ge-commands",children:[E.jsxs("div",{className:"commands-left",children:[E.jsxs("div",{className:"divider",children:[E.jsx("img",{src:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpolygon%20points%3D%2229.39%2014.58%2026.45%2012.88%2023.63%2014.51%2026.57%2016.21%2029.39%2014.58%22%20style%3D%22fill%3A%23e0684b%22%2F%3E%3Cpolygon%20points%3D%2213.43%2016.21%2022.83%2010.79%2020%209.15%2010.61%2014.58%2013.43%2016.21%22%20style%3D%22fill%3A%23e0684b%22%2F%3E%3Cpolygon%20points%3D%2217.06%2021.7%2020%2023.39%2022.94%2021.7%2020%2020%2017.06%2021.7%22%20style%3D%22fill%3A%23e0684b%22%2F%3E%3Cpolygon%20points%3D%2226.57%2016.21%2026.57%2023.79%2020%2027.58%2013.43%2023.79%2013.43%2016.21%2010.61%2014.58%2010.61%2025.42%2020%2030.85%2029.39%2025.42%2029.39%2014.58%2026.57%2016.21%22%20style%3D%22fill%3A%23bb464b%22%2F%3E%3Cpolygon%20points%3D%2220%2016.61%2017.06%2018.3%2017.06%2021.7%2020%2020%2022.94%2021.7%2022.94%2018.3%2020%2016.61%22%20style%3D%22fill%3A%23bb464b%22%2F%3E%3Cpolygon%20points%3D%2226.57%2016.21%2022.94%2018.3%2022.94%2021.7%2020%2023.39%2020%2027.58%2026.57%2023.79%2026.57%2016.21%22%20style%3D%22fill%3A%23e0ded8%22%2F%3E%3Cpolygon%20points%3D%2213.43%2016.21%2017.06%2018.3%2017.06%2021.7%2020%2023.39%2020%2027.58%2013.43%2023.79%2013.43%2016.21%22%20style%3D%22fill%3A%23d5d2ca%22%2F%3E%3Cpolygon%20points%3D%2222.83%2010.79%2026.45%2012.88%2023.63%2014.51%2026.57%2016.21%2022.94%2018.3%2020%2016.61%2017.06%2018.3%2013.43%2016.21%2022.83%2010.79%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E",color:"white",className:"active",draggable:!1}),E.jsx(RV,{globalState:this.props.globalState,toRight:!0,icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M12.46%2C15.31H27.62a.62.62%2C0%2C0%2C0%2C.53-.61.61.61%2C0%2C0%2C0-.61-.61H12.38a.61.61%2C0%2C0%2C0%2C.08%2C1.21Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M27.54%2C19.39H12.38a.61.61%2C0%2C0%2C0%2C.08%2C1.21H27.62a.62.62%2C0%2C0%2C0%2C.53-.61A.61.61%2C0%2C0%2C0%2C27.54%2C19.39Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M27.54%2C24.69H12.38a.62.62%2C0%2C0%2C0-.53.61.61.61%2C0%2C0%2C0%2C.61.61H27.62a.61.61%2C0%2C0%2C0-.08-1.21Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E",tooltip:"Options",items:[{label:"Save",onClick:()=>{this.props.globalState.onSaveObservable.notifyObservers()}},{label:"Load",fileButton:!0},{label:"Save to snippet",onClick:()=>{this.props.globalState.onSnippetSaveObservable.notifyObservers()}},{label:"Load from snippet",onClick:()=>{this.props.globalState.onSnippetLoadObservable.notifyObservers()}},{label:"Save selected control",onClick:()=>{this.props.globalState.onSaveSelectedControl.notifyObservers()}},{label:"Load control",fileButton:!0,loadControlButton:!0},{label:"Help",onClick:()=>{window.open("https://doc.babylonjs.com/toolsAndResources/guiEditor","_blank")}},{label:"Give feedback",onClick:()=>{window.open("https://forum.babylonjs.com/t/introducing-the-gui-editor-beta/28943","_blank")}}]}),E.jsx(GO,{tooltip:"Select",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M26.09%2C20.65%2C15.37%2C12.31a1.19%2C1.19%2C0%2C0%2C0-1.92.94v13.5a1.19%2C1.19%2C0%2C0%2C0%2C2.12.74l3.33-4.21a1.3%2C1.3%2C0%2C0%2C1%2C1-.5h5.44A1.19%2C1.19%2C0%2C0%2C0%2C26.09%2C20.65Zm-6.17.94a2.51%2C2.51%2C0%2C0%2C0-2%2C.95l-3.32%2C4.21V13.25l10.72%2C8.34Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E",shortcut:"S",isActive:this.props.globalState.tool===_.SELECT,onClick:()=>{this.props.globalState.tool=_.SELECT}}),E.jsx(GO,{tooltip:"Pan",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M19.39%2C13.51v5.07a.61.61%2C0%2C0%2C0%2C.61.61.61.61%2C0%2C0%2C0%2C.61-.61V14.51a.39.39%2C0%2C0%2C1%2C.4-.39.43.43%2C0%2C0%2C1%2C.41.41v6.08a.61.61%2C0%2C0%2C0%2C1%2C.42h0l0%2C0%2C.08-.07c.08-.07.19-.16.33-.26A2.66%2C2.66%2C0%2C0%2C1%2C24%2C20.2a1.86%2C1.86%2C0%2C0%2C1%2C1.13.11.68.68%2C0%2C0%2C1%2C.36.43l-1.35%2C1L24%2C21.8l-1.76%2C1.76a10%2C10%2C0%2C0%2C0-1.87%2C2.59%2C1.35%2C1.35%2C0%2C0%2C1-1.2.74H17a1.21%2C1.21%2C0%2C0%2C1-1.07-.58%2C9%2C9%2C0%2C0%2C1-1.39-4.08V16a.41.41%2C0%2C1%2C1%2C.81%2C0v2.83a.61.61%2C0%2C0%2C0%2C.61.61.61.61%2C0%2C0%2C0%2C.61-.61V14.53a.4.4%2C0%2C0%2C1%2C.4-.41.41.41%2C0%2C0%2C1%2C.41.41v4a.61.61%2C0%2C1%2C0%2C1.21%2C0V13.51a.41.41%2C0%2C0%2C1%2C.81%2C0ZM20.52%2C13A1.63%2C1.63%2C0%2C0%2C0%2C19%2C11.89%2C1.6%2C1.6%2C0%2C0%2C0%2C17.46%2C13a1.63%2C1.63%2C0%2C0%2C0-.5-.07%2C1.61%2C1.61%2C0%2C0%2C0-1.61%2C1.47%2C1.84%2C1.84%2C0%2C0%2C0-.41-.05A1.62%2C1.62%2C0%2C0%2C0%2C13.31%2C16v6.28a10.2%2C10.2%2C0%2C0%2C0%2C1.56%2C4.7A2.44%2C2.44%2C0%2C0%2C0%2C17%2C28.11H19.2a2.58%2C2.58%2C0%2C0%2C0%2C2.29-1.41%2C8.79%2C8.79%2C0%2C0%2C1%2C1.63-2.28l1.74-1.73%2C1.58-1.19a.61.61%2C0%2C0%2C0%2C.25-.49%2C1.9%2C1.9%2C0%2C0%2C0-1.06-1.78A3%2C3%2C0%2C0%2C0%2C23.74%2C19a3.64%2C3.64%2C0%2C0%2C0-1.11.4V14.53A1.63%2C1.63%2C0%2C0%2C0%2C21%2C12.91%2C1.51%2C1.51%2C0%2C0%2C0%2C20.52%2C13Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E",shortcut:"P",isActive:this.props.globalState.tool===_.PAN,onClick:()=>{this.props.globalState.tool=_.PAN}}),E.jsx(GO,{tooltip:"Zoom",shortcut:"Z",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M27.1%2C26.24l-4-4a5.86%2C5.86%2C0%2C1%2C0-.86.86l4%2C4%2C.07.06a.62.62%2C0%2C0%2C0%2C.79-.06A.6.6%2C0%2C0%2C0%2C27.1%2C26.24Zm-8.51-3a4.65%2C4.65%2C0%2C1%2C1%2C4.64-4.64A4.65%2C4.65%2C0%2C0%2C1%2C18.59%2C23.23Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E",isActive:this.props.globalState.tool===_.ZOOM,onClick:()=>{this.props.globalState.tool=_.ZOOM}})]}),E.jsxs("div",{className:"divider",children:[E.jsx(GO,{tooltip:"Copy Selected",shortcut:"Ctrl + C",icon:o,isActive:!1,copyDeleteDisabled:0===this.props.globalState.selectedControls.length,onClick:()=>{this.props.globalState.onCopyObservable.notifyObservers(async e=>await this.props.globalState.hostWindow.navigator.clipboard.writeText(e)),this.forceUpdate()}}),E.jsx(GO,{tooltip:"Paste",shortcut:"Ctrl + V",icon:a,isActive:!1,pasteDisabled:e,onClick:async()=>{this.props.globalState.onPasteObservable.notifyObservers(await this.props.globalState.hostWindow.navigator.clipboard.readText())}}),E.jsx(GO,{tooltip:"Delete",shortcut:"Delete",icon:n,isActive:!1,copyDeleteDisabled:0===this.props.globalState.selectedControls.length,onClick:()=>{for(const e of this.props.globalState.selectedControls)e!=this.props.globalState.guiTexture.getChildren()[0]&&(this.props.globalState.guiTexture.removeControl(e),this.props.globalState.liveGuiTexture?.removeControl(e),e.dispose());this.props.globalState.setSelection([])}})]}),E.jsxs("div",{className:"divider",children:[E.jsx(GO,{tooltip:"Fit to Window",shortcut:"F",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M25.05%2C13.54a3%2C3%2C0%2C0%2C1%2C3%2C3v6.86a3%2C3%2C0%2C0%2C1-3%2C3H15a3%2C3%2C0%2C0%2C1-3-3V16.57a3%2C3%2C0%2C0%2C1%2C3-3Zm0%2C1.21H15a1.82%2C1.82%2C0%2C0%2C0-1.82%2C1.82v6.86A1.82%2C1.82%2C0%2C0%2C0%2C15%2C25.25h10.1a1.82%2C1.82%2C0%2C0%2C0%2C1.82-1.82V16.57A1.82%2C1.82%2C0%2C0%2C0%2C25.05%2C14.75Zm0%2C6.06a.61.61%2C0%2C0%2C1%2C.61.6v1A1.62%2C1.62%2C0%2C0%2C1%2C24%2C24H23a.61.61%2C0%2C1%2C1%2C0-1.21h1a.4.4%2C0%2C0%2C0%2C.4-.41v-1A.6.6%2C0%2C0%2C1%2C25.05%2C20.81Zm-10.1%2C0a.6.6%2C0%2C0%2C1%2C.61.6v1a.4.4%2C0%2C0%2C0%2C.4.41h1A.61.61%2C0%2C1%2C1%2C17%2C24H16a1.62%2C1.62%2C0%2C0%2C1-1.62-1.62v-1A.61.61%2C0%2C0%2C1%2C15%2C20.81ZM16%2C16h1a.61.61%2C0%2C0%2C1%2C.61.61.61.61%2C0%2C0%2C1-.53.6H16a.42.42%2C0%2C0%2C0-.4.33v1.09a.61.61%2C0%2C0%2C1-1.21.08V17.58A1.63%2C1.63%2C0%2C0%2C1%2C15.84%2C16ZM24%2C16a1.62%2C1.62%2C0%2C0%2C1%2C1.62%2C1.62v1a.61.61%2C0%2C0%2C1-.61.6.6.6%2C0%2C0%2C1-.61-.6v-1a.4.4%2C0%2C0%2C0-.4-.41H23A.61.61%2C0%2C1%2C1%2C23%2C16Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E",isActive:!1,onClick:()=>{this.props.globalState.onFitControlsToWindowObservable.notifyObservers()}}),E.jsx(GO,{tooltip:"Toggle Guides",shortcut:"G",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M21.6%2C13.38a.6.6%2C0%2C0%2C1-.6.6H19a.6.6%2C0%2C1%2C1%2C0-1.2h2A.6.6%2C0%2C0%2C1%2C21.6%2C13.38Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M14%2C19a.6.6%2C0%2C0%2C0-1.2%2C0v2A.6.6%2C0%2C0%2C0%2C14%2C21Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M26%2C19a.6.6%2C0%2C0%2C1%2C1.2%2C0v2A.6.6%2C0%2C0%2C1%2C26%2C21Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M21%2C27.22A.6.6%2C0%2C0%2C0%2C21%2C26H19a.6.6%2C0%2C1%2C0%2C0%2C1.2Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M16%2C13.38a.6.6%2C0%2C0%2C0-.6-.6H15a2.21%2C2.21%2C0%2C0%2C0-2.2%2C2.2v.41a.6.6%2C0%2C0%2C0%2C1.2%2C0V15a1%2C1%2C0%2C0%2C1%2C1-1h.41A.6.6%2C0%2C0%2C0%2C16%2C13.38Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M24.61%2C12.78a.6.6%2C0%2C1%2C0%2C0%2C1.2H25a1%2C1%2C0%2C0%2C1%2C1%2C1v.41a.6.6%2C0%2C1%2C0%2C1.2%2C0V15a2.21%2C2.21%2C0%2C0%2C0-2.2-2.2Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M16%2C26.62a.6.6%2C0%2C0%2C1-.6.6H15a2.21%2C2.21%2C0%2C0%2C1-2.2-2.2v-.41a.6.6%2C0%2C0%2C1%2C1.2%2C0V25a1%2C1%2C0%2C0%2C0%2C1%2C1h.41A.6.6%2C0%2C0%2C1%2C16%2C26.62Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3Cpath%20d%3D%22M24.61%2C27.22a.6.6%2C0%2C0%2C1%2C0-1.2H25a1%2C1%2C0%2C0%2C0%2C1-1v-.41a.6.6%2C0%2C0%2C1%2C1.2%2C0V25a2.21%2C2.21%2C0%2C0%2C1-2.2%2C2.2Z%22%20style%3D%22fill%3A%23fff%22%2F%3E%3C%2Fsvg%3E",isActive:this.props.globalState.outlines,onClick:()=>this.props.globalState.outlines=!this.props.globalState.outlines})]}),E.jsx("div",{className:"divider padded",children:E.jsx(cL,{lockObject:this._lockObject,label:"Artboard:",target:this.props.globalState,propertyName:"backgroundColor",disableAlpha:!0})}),E.jsxs("div",{className:"divider padded",children:[E.jsx(PH,{label:"Responsive:",iconLabel:"Responsive GUIs will resize the UI layout and reflow controls to accommodate different device screen sizes",isSelected:()=>t.DataStorage.ReadBoolean("Responsive",!0),onSelect:e=>{this.props.globalState.onResponsiveChangeObservable.notifyObservers(e),t.DataStorage.WriteBoolean("Responsive",e),t.DataStorage.WriteBoolean("responsiveUI",e),this._sizeOption=HV.length,e&&(this._sizeOption=0,this.props.globalState.workbench.guiSize=MV[this._sizeOption],t.DataStorage.WriteNumber("width",this.props.globalState.workbench.guiSize.width),t.DataStorage.WriteNumber("height",this.props.globalState.workbench.guiSize.height)),this.forceUpdate()},large:!0}),i&&E.jsx(ZL,{label:"",iconLabel:"Size",options:HV,target:this,propertyName:"_sizeOption",noDirectUpdate:!0,onSelect:e=>{if(this._sizeOption=e,this._sizeOption!==HV.length){const e=MV[this._sizeOption];this.props.globalState.workbench.guiSize=e,t.DataStorage.WriteNumber("width",this.props.globalState.workbench.guiSize.width),t.DataStorage.WriteNumber("height",this.props.globalState.workbench.guiSize.height)}this.forceUpdate()}}),!i&&E.jsxs(E.Fragment,{children:[E.jsx(PO,{lockObject:this._lockObject,label:"W",target:r,propertyName:"width",min:1,max:16384,onChange:e=>{this._stopUpdating||(this.props.globalState.workbench.guiSize={width:e,height:r.height},t.DataStorage.WriteNumber("width",this.props.globalState.workbench.guiSize.width))},onDragStart:()=>{this._stopUpdating=!0},onDragStop:e=>{this._stopUpdating=!1,this.props.globalState.workbench.guiSize={width:e,height:r.height},t.DataStorage.WriteNumber("width",this.props.globalState.workbench.guiSize.width)},arrows:!0,isInteger:!0}),E.jsx(PO,{lockObject:this._lockObject,label:"H",target:r,propertyName:"height",min:1,max:16384,onChange:e=>{this._stopUpdating||(this.props.globalState.workbench.guiSize={width:r.width,height:e},t.DataStorage.WriteNumber("height",this.props.globalState.workbench.guiSize.width))},onDragStart:()=>{this._stopUpdating=!0},onDragStop:e=>{this._stopUpdating=!1,this.props.globalState.workbench.guiSize={width:r.width,height:e},t.DataStorage.WriteNumber("height",this.props.globalState.workbench.guiSize.width)},arrows:!0,isInteger:!0})]})]})]}),E.jsx("div",{className:"commands-right"})]})}}var VV;!function(e){e[e.Top=-1]="Top",e[e.Left=-1]="Left",e[e.Center=0]="Center",e[e.Right=1]="Right",e[e.Bottom=1]="Bottom"}(VV||(VV={}));const WV='url("data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpolygon%20points%3D%227.51%2011.04%206.22%206.22%2011.04%207.51%209.63%208.92%2016.08%2015.37%2017.48%2013.96%2018.77%2018.77%2013.96%2017.48%2015.37%2016.08%208.92%209.63%207.51%2011.04%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M6.22%2C6.22%2C11%2C7.51%2C9.63%2C8.92l6.45%2C6.45L17.49%2C14l1.29%2C4.82L14%2C17.49l1.41-1.41L8.92%2C9.63%2C7.51%2C11%2C6.22%2C6.22M4.81%2C4.81l.45%2C1.67L6.55%2C11.3%2C7%2C13l1.22-1.22.7-.7%2C5%2C5-.7.7L12%2C18l1.67.45%2C4.82%2C1.29%2C1.67.45-.45-1.67L18.45%2C13.7%2C18%2C12l-1.22%2C1.22-.7.7-5-5%2C.7-.7L13%2C7%2C11.3%2C6.55%2C6.48%2C5.26%2C4.81%2C4.81Z%22%2F%3E%3C%2Fsvg%3E") 12 12, nwse-resize',ZV='url("data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpolygon%20points%3D%2217.48%2011.04%2018.77%206.22%2013.96%207.51%2015.37%208.92%208.92%2015.37%207.51%2013.96%206.22%2018.77%2011.04%2017.48%209.63%2016.08%2016.08%209.63%2017.48%2011.04%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M18.78%2C6.22%2C17.49%2C11%2C16.08%2C9.63%2C9.63%2C16.08%2C11%2C17.49%2C6.22%2C18.78%2C7.51%2C14l1.41%2C1.41%2C6.45-6.45L14%2C7.51l4.82-1.29m1.41-1.41-1.67.45L13.7%2C6.55%2C12%2C7l1.22%2C1.22.7.7-5%2C5-.7-.7L7%2C12%2C6.55%2C13.7%2C5.26%2C18.52l-.45%2C1.67%2C1.67-.45%2C4.82-1.29L13%2C18l-1.22-1.22-.7-.7%2C5-5%2C.7.7L18%2C13l.45-1.67%2C1.29-4.82.45-1.67Z%22%2F%3E%3C%2Fsvg%3E") 12 12, nesw-resize',UV='url("data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpolygon%20points%3D%227.94%2010.01%203.63%2012.5%207.94%2014.99%207.94%2013%2017.06%2013%2017.06%2014.99%2021.38%2012.5%2017.06%2010.01%2017.06%2012%207.94%2012%207.94%2010.01%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M7.94%2C10v2h9.12V10l4.31%2C2.49L17.06%2C15V13H7.94v2L3.63%2C12.5%2C7.94%2C10m1-1.74-1.5.87L3.13%2C11.63l-1.5.87%2C1.5.87%2C4.31%2C2.49%2C1.5.87V14h7.12v2.73l1.5-.87%2C4.31-2.49%2C1.5-.87-1.5-.87L17.56%2C9.14l-1.5-.87V11H8.94V8.27Z%22%2F%3E%3C%2Fsvg%3E") 12 12, pointer',GV='url("data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpolygon%20points%3D%2214.99%207.94%2012.5%203.63%2010.01%207.94%2012%207.94%2012%2017.06%2010.01%2017.06%2012.5%2021.38%2014.99%2017.06%2013%2017.06%2013%207.94%2014.99%207.94%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M12.5%2C3.63%2C15%2C7.94H13v9.12h2L12.5%2C21.37%2C10%2C17.06h2V7.94H10L12.5%2C3.63m0-2-.87%2C1.5L9.14%2C7.44l-.87%2C1.5H11v7.12H8.27l.87%2C1.5%2C2.49%2C4.31.87%2C1.5.87-1.5%2C2.49-4.31.87-1.5H14V8.94h2.73l-.87-1.5L13.37%2C3.13l-.87-1.5Z%22%2F%3E%3C%2Fsvg%3E") 12 12, ns-resize',XV=[GV,ZV,UV,WV,GV,ZV,UV,WV],$V=["data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M18.91%2C12.11l-.66-.66a8.14%2C8.14%2C0%2C0%2C0-11.5%2C0l-.66.66L4.68%2C10.7%2C3.39%2C15.51l4.82-1.29L6.8%2C12.81l.65-.65a7.16%2C7.16%2C0%2C0%2C1%2C10.1%2C0l.65.65-1.41%2C1.41%2C4.82%2C1.29L20.32%2C10.7Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M12.5%2C9.07a8.13%2C8.13%2C0%2C0%2C1%2C5.75%2C2.38l.66.66%2C1.41-1.41%2C1.29%2C4.81-4.82-1.29%2C1.41-1.41-.65-.65a7.15%2C7.15%2C0%2C0%2C0-10.1%2C0l-.65.65%2C1.41%2C1.41L3.39%2C15.51%2C4.68%2C10.7l1.41%2C1.41.66-.66A8.13%2C8.13%2C0%2C0%2C1%2C12.5%2C9.07m0-1a9.08%2C9.08%2C0%2C0%2C0-6.41%2C2.62l-.7-.7L4.16%2C8.77l-.44%2C1.67L2.43%2C15.25%2C2%2C16.93l1.67-.45%2C4.82-1.29%2C1.67-.45L8.91%2C13.52l-.7-.71a6.16%2C6.16%2C0%2C0%2C1%2C8.58%2C0l-.71.71-1.22%2C1.22%2C1.67.45%2C4.82%2C1.29%2C1.67.45-.45-1.68-1.29-4.81-.44-1.67L19.61%2C10l-.7.7A9.08%2C9.08%2C0%2C0%2C0%2C12.5%2C8.07Z%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M18.33%2C15.74v-.93a8.15%2C8.15%2C0%2C0%2C0-8.14-8.14H9.26v-2L5%2C7.17l4.31%2C2.5v-2h.93a7.14%2C7.14%2C0%2C0%2C1%2C7.14%2C7.14v.93h-2l2.5%2C4.31%2C2.49-4.31Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M9.26%2C4.68v2h.93a8.15%2C8.15%2C0%2C0%2C1%2C8.14%2C8.14v.93h2l-2.49%2C4.31-2.5-4.31h2v-.93a7.14%2C7.14%2C0%2C0%2C0-7.14-7.14H9.26v2L5%2C7.17%2C9.26%2C4.68m1-1.73-1.5.86L4.45%2C6.31%2C3%2C7.17%2C4.45%2C8l4.31%2C2.49%2C1.5.87V8.67a6.15%2C6.15%2C0%2C0%2C1%2C6.07%2C6.07H13.6l.87%2C1.5L17%2C20.55l.87%2C1.5.86-1.5%2C2.5-4.31.86-1.5H19.33a9.16%2C9.16%2C0%2C0%2C0-9.07-9.07V3Z%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M12.89%2C18.91l.66-.66a8.14%2C8.14%2C0%2C0%2C0%2C0-11.5l-.66-.66L14.3%2C4.68%2C9.49%2C3.39l1.29%2C4.82L12.19%2C6.8l.65.65a7.16%2C7.16%2C0%2C0%2C1%2C0%2C10.1l-.65.65-1.41-1.41L9.49%2C21.61l4.81-1.29Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M9.49%2C3.39%2C14.3%2C4.68%2C12.89%2C6.09l.66.66a8.14%2C8.14%2C0%2C0%2C1%2C0%2C11.5l-.66.66%2C1.41%2C1.41L9.49%2C21.61l1.29-4.82%2C1.41%2C1.41.65-.65a7.16%2C7.16%2C0%2C0%2C0%2C0-10.1l-.65-.65L10.78%2C8.21%2C9.49%2C3.39M8.07%2C2l.45%2C1.67L9.81%2C8.47l.45%2C1.67%2C1.22-1.23.71-.7a6.16%2C6.16%2C0%2C0%2C1%2C0%2C8.58l-.71-.7-1.22-1.23-.45%2C1.67L8.52%2C21.35%2C8.07%2C23l1.68-.45%2C4.81-1.29%2C1.67-.44L15%2C19.61l-.7-.7a9.15%2C9.15%2C0%2C0%2C0%2C0-12.82l.7-.7%2C1.22-1.23-1.67-.44L9.75%2C2.43%2C8.07%2C2Z%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M9.26%2C18.33h.93a8.15%2C8.15%2C0%2C0%2C0%2C8.14-8.14V9.26h2L17.83%2C5l-2.5%2C4.31h2v.93a7.14%2C7.14%2C0%2C0%2C1-7.14%2C7.14H9.26v-2L5%2C17.83l4.31%2C2.49Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M17.83%2C5l2.49%2C4.31h-2v.93a8.15%2C8.15%2C0%2C0%2C1-8.14%2C8.14H9.26v2L5%2C17.83l4.31-2.5v2h.93a7.14%2C7.14%2C0%2C0%2C0%2C7.14-7.14V9.26h-2L17.83%2C5m0-2L17%2C4.45%2C14.47%2C8.76l-.87%2C1.5h2.73a6.15%2C6.15%2C0%2C0%2C1-6.07%2C6.07V13.6l-1.5.87L4.45%2C17%2C3%2C17.83l1.5.86%2C4.31%2C2.5%2C1.5.86V19.33a9.16%2C9.16%2C0%2C0%2C0%2C9.07-9.07h2.72l-.86-1.5-2.5-4.31L17.83%2C3Z%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6.09%2C12.89l.66.66a8.14%2C8.14%2C0%2C0%2C0%2C11.5%2C0l.66-.66%2C1.41%2C1.41%2C1.29-4.81-4.82%2C1.29%2C1.41%2C1.41-.65.65a7.16%2C7.16%2C0%2C0%2C1-10.1%2C0l-.65-.65%2C1.41-1.41L3.39%2C9.49%2C4.68%2C14.3Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M21.61%2C9.49%2C20.32%2C14.3l-1.41-1.41-.66.66a8.14%2C8.14%2C0%2C0%2C1-11.5%2C0l-.66-.66L4.68%2C14.3%2C3.39%2C9.49l4.82%2C1.29L6.8%2C12.19l.65.65a7.15%2C7.15%2C0%2C0%2C0%2C10.1%2C0l.65-.65-1.41-1.41%2C4.82-1.29M23%2C8.07l-1.67.45L16.53%2C9.81l-1.67.45%2C1.23%2C1.22.7.71a6.16%2C6.16%2C0%2C0%2C1-8.58%2C0l.7-.71%2C1.23-1.22L8.47%2C9.81%2C3.65%2C8.52%2C2%2C8.07l.45%2C1.68%2C1.29%2C4.81.44%2C1.67L5.39%2C15l.7-.7a9.15%2C9.15%2C0%2C0%2C0%2C12.82%2C0l.7.7%2C1.23%2C1.22.44-1.67%2C1.29-4.81L23%2C8.07Z%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6.67%2C9.26v.93a8.15%2C8.15%2C0%2C0%2C0%2C8.14%2C8.14h.93v2l4.31-2.49-4.31-2.5v2h-.93a7.14%2C7.14%2C0%2C0%2C1-7.14-7.14V9.26h2L7.17%2C5%2C4.68%2C9.26Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M7.17%2C5l2.5%2C4.31h-2v.93a7.14%2C7.14%2C0%2C0%2C0%2C7.14%2C7.14h.93v-2l4.31%2C2.5-4.31%2C2.49v-2h-.93a8.15%2C8.15%2C0%2C0%2C1-8.14-8.14V9.26h-2L7.17%2C5m0-2-.86%2C1.5L3.81%2C8.76%2C3%2C10.26H5.67a9.16%2C9.16%2C0%2C0%2C0%2C9.07%2C9.07v2.72l1.5-.86%2C4.31-2.5%2C1.5-.86L20.55%2C17l-4.31-2.49-1.5-.87v2.73a6.15%2C6.15%2C0%2C0%2C1-6.07-6.07H11.4l-.87-1.5L8%2C4.45%2C7.17%2C3Z%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M12.11%2C6.09l-.66.66a8.14%2C8.14%2C0%2C0%2C0%2C0%2C11.5l.66.66L10.7%2C20.32l4.81%2C1.29-1.29-4.82L12.81%2C18.2l-.65-.65a7.16%2C7.16%2C0%2C0%2C1%2C0-10.1l.65-.65%2C1.41%2C1.41%2C1.29-4.82L10.7%2C4.68Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M15.51%2C3.39%2C14.22%2C8.21%2C12.81%2C6.8l-.65.65a7.16%2C7.16%2C0%2C0%2C0%2C0%2C10.1l.65.65%2C1.41-1.41%2C1.29%2C4.82L10.7%2C20.32l1.41-1.41-.66-.66a8.14%2C8.14%2C0%2C0%2C1%2C0-11.5l.66-.66L10.7%2C4.68l4.81-1.29M16.93%2C2l-1.68.45L10.44%2C3.72l-1.67.44L10%2C5.39l.7.7a9.15%2C9.15%2C0%2C0%2C0%2C0%2C12.82l-.7.7L8.77%2C20.84l1.67.44%2C4.81%2C1.29%2C1.68.45-.45-1.67-1.29-4.82-.45-1.67-1.22%2C1.23-.71.7a6.16%2C6.16%2C0%2C0%2C1%2C0-8.58l.71.7%2C1.22%2C1.23.45-1.67%2C1.29-4.82L16.93%2C2Z%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2025%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M15.74%2C6.67h-.93a8.15%2C8.15%2C0%2C0%2C0-8.14%2C8.14v.93h-2l2.49%2C4.31%2C2.5-4.31h-2v-.93a7.14%2C7.14%2C0%2C0%2C1%2C7.14-7.14h.93v2l4.31-2.5L15.74%2C4.68Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M15.74%2C4.68l4.31%2C2.49-4.31%2C2.5v-2h-.93a7.14%2C7.14%2C0%2C0%2C0-7.14%2C7.14v.93h2l-2.5%2C4.31L4.68%2C15.74h2v-.93a8.15%2C8.15%2C0%2C0%2C1%2C8.14-8.14h.93v-2M14.74%2C3V5.67a9.16%2C9.16%2C0%2C0%2C0-9.07%2C9.07H3l.86%2C1.5%2C2.5%2C4.31.86%2C1.5L8%2C20.55l2.49-4.31.87-1.5H8.67a6.15%2C6.15%2C0%2C0%2C1%2C6.07-6.07V11.4l1.5-.87L20.55%2C8l1.5-.87-1.5-.86-4.31-2.5L14.74%2C3Z%22%2F%3E%3C%2Fsvg%3E"].map(e=>`url("${e}") 12 12, pointer`);function KV(e){const{scalePoint:t,clickable:r,onDrag:o,onRotate:n,onUp:a,overrideCursor:i,canRotate:l,allowClickOnPivot:s}=e,c={left:`${t.position.x}px`,top:`${t.position.y}px`,transform:"translate(-50%, -50%) rotate("+t.rotation+"deg)",pointerEvents:r?"auto":"none"};if(t.isPivot)return E.jsx("img",{className:"pivot-point",src:"data:image/svg+xml,%3Csvg%20id%3D%22icons%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ccircle%20class%3D%22cls-1%22%20cx%3D%2215%22%20cy%3D%2215%22%20r%3D%228.98%22%2F%3E%3Cpath%20d%3D%22M15%2C6.9A8.1%2C8.1%2C0%2C1%2C0%2C23.1%2C15%2C8.1%2C8.1%2C0%2C0%2C0%2C15%2C6.9Zm6.86%2C7.49H15.63V8.14A6.89%2C6.89%2C0%2C0%2C1%2C21.86%2C14.39ZM14.41%2C8.14v6.25H8.14A6.89%2C6.89%2C0%2C0%2C1%2C14.41%2C8.14ZM8.14%2C15.61h6.27v6.25A6.89%2C6.89%2C0%2C0%2C1%2C8.14%2C15.61Zm7.49%2C6.25V15.61h6.23A6.89%2C6.89%2C0%2C0%2C1%2C15.63%2C21.86Z%22%2F%3E%3C%2Fsvg%3E",style:c,onDragStart:e=>e.preventDefault(),onPointerDown:e=>{s&&o(e,t)},onPointerUp:()=>{s&&a()}});const d=((t.defaultRotation+t.rotation)%360+360)%360;const u=Math.round(d/45)%8,f=i||XV[u],p={top:5+7*t.verticalPosition,left:5+7*t.horizontalPosition,cursor:$V[u]},h={top:5-5*t.verticalPosition,left:5-5*t.horizontalPosition,cursor:f};return E.jsxs("div",{style:c,className:"scale-point-container",children:[l&&E.jsx("div",{className:"rotate-click-area",onPointerDown:e=>{n(e,t)},style:p}),E.jsx("div",{className:"scale-click-area",draggable:!0,onDragStart:e=>e.preventDefault(),onPointerDown:e=>{1&e.buttons&&o(e,t)},onPointerUp:a,style:h}),E.jsx("div",{className:"scale-point",draggable:!0,onDragStart:e=>e.preventDefault(),onPointerDown:e=>{1&e.buttons&&o(e,t)},onPointerUp:a,style:{cursor:f}})]})}const YV=e=>Math.round(100*e)/100,JV=(e,t)=>(e%t+t)%t,QV=[[0,2],[0,6],[2,8],[6,8]],eW=[315,0,45,270,0,90,225,180,135];class tW extends u.Component{constructor(e){super(e),this._onUp=e=>{e&&1&e.buttons||this.setState({scalePointDragging:-1,isRotating:!1})},this._onMove=()=>{const e=this.props.globalState.workbench._scene;if(-1!==this.state.scalePointDragging){const t=this.props.control,r=j.MousePointerToRTTSpace(t,e.pointerX,e.pointerY),o=j.RttToLocalNodeSpace(t,r.x,r.y,void 0,this._storedValues);this._dragLocalBounds(o,this.props.globalState.shiftKeyPressed),this._updateNodeFromLocalBounds(),this.props.globalState.onPropertyGridUpdateRequiredObservable.notifyObservers()}if(this.state.isRotating){const t=Math.atan2(e.pointerY-this._rotation.pivot.y,e.pointerX-this._rotation.pivot.x);for(const e of this.props.globalState.selectedControls)e.rotation+=t-this._rotation.initialAngleToPivot;this._rotation.initialAngleToPivot=t,this.props.globalState.onPropertyGridUpdateRequiredObservable.notifyObservers()}},this._beginDraggingScalePoint=e=>{this.setState({scalePointDragging:e});const t=this.props.control;this._localBounds=j.ComputeLocalBounds(t),this._storedValues=new B(t.leftInPixels,t.topInPixels,t.leftInPixels+t.widthInPixels,t.topInPixels+t.heightInPixels);for(const e of this.props.globalState.selectedControls)e.metadata.localBounds=j.ComputeLocalBounds(e),e.metadata.storedValues=new B(e.leftInPixels,e.topInPixels,e.leftInPixels+e.widthInPixels,e.topInPixels+e.heightInPixels)},this._beginRotate=()=>{const e=this.props.globalState.workbench._scene,r=this.props.control,o=new t.Vector2(r.transformCenterX,r.transformCenterY),n=j.NodeToRTTSpace(r,o.x,o.y,void 0),a=j.RttToCanvasSpace(n.x,n.y),i=new t.Vector2(a.x,a.y),l=Math.atan2(e.pointerY-i.y,e.pointerX-i.x);this._rotation={pivot:i,initialAngleToPivot:l},this.setState({isRotating:!0})};const r=[];for(let e=VV.Top;e<=VV.Bottom;e++)for(let o=VV.Left;o<=VV.Right;o++){const n=o===VV.Center&&e===VV.Center;r.push({position:new t.Vector2,horizontalPosition:o,verticalPosition:e,rotation:0,isPivot:n,defaultRotation:eW[r.length]})}this._localBounds=new B(0,0,0,0),this.state={canvasBounds:new B(0,0,0,0),scalePoints:r,scalePointDragging:-1,isRotating:!1},this._gizmoUpdateObserver=this.props.globalState.onGizmoUpdateRequireObservable.add(()=>{this.updateGizmo()}),this._pointerUpObserver=this.props.globalState.onPointerUpObservable.add(e=>this._onUp(e)),this._pointerMoveObserver=this.props.globalState.onPointerMoveObservable.add(()=>this._onMove())}componentDidMount(){this.updateGizmo()}componentWillUnmount(){this.props.globalState.onGizmoUpdateRequireObservable.remove(this._gizmoUpdateObserver),this.props.globalState.onPointerUpObservable.remove(this._pointerUpObserver),this.props.globalState.onPointerMoveObservable.remove(this._pointerMoveObserver)}updateGizmo(){const e=this.props.control,r=new B(Number.MAX_VALUE,Number.MAX_VALUE,0,0),o=j.ComputeLocalBounds(e),n={left:0,right:0,top:0,bottom:0};let a=e.parent;for(;null!=a;)n.left+=a.paddingLeftInPixels,n.right+=a.paddingRightInPixels,n.top+=a.paddingTopInPixels,n.bottom+=a.paddingBottomInPixels,a=a.parent;const i=.5*(n.left-n.right);o.left+=i,o.right+=i;const l=.5*(n.top-n.bottom);o.top+=l,o.bottom+=l;const s=this.state.scalePoints.map(n=>{const a=new t.Vector2;switch(n.horizontalPosition){case VV.Left:a.x=o.left;break;case VV.Center:a.x=o.center.x;break;case VV.Right:a.x=o.right}switch(n.verticalPosition){case VV.Top:a.y=o.top;break;case VV.Center:a.y=o.center.y;break;case VV.Bottom:a.y=o.bottom}if(n.isPivot){const t=e.transformCenterX-.5,r=e.transformCenterY-.5;a.x=e.widthInPixels*t,a.y=e.heightInPixels*r}const i=j.NodeToRTTSpace(e,a.x,a.y,void 0),l=j.RttToCanvasSpace(i.x,i.y);return l.x<r.left&&(r.left=l.x),l.x>r.right&&(r.right=l.x),l.y<r.top&&(r.top=l.y),l.y>r.bottom&&(r.bottom=l.y),n.position.x=l.x,n.position.y=l.y,n.rotation=j.GetRotation(e)*(180/Math.PI),n});this.setState({canvasBounds:r,scalePoints:[...s]})}_rotate(e,t,r,o,n){return{x:(e-r)*Math.cos(n)-(t-o)*Math.sin(n)+r,y:(e-r)*Math.sin(n)+(t-o)*Math.cos(n)+o}}_dragLocalBounds(e,t=!1){const o=this.state.scalePoints[this.state.scalePointDragging],n=this._localBounds.clone(),a=r.MathTools.Round(this._localBounds.width/this._localBounds.height);if(o.horizontalPosition===VV.Left&&(n.left=Math.min(this._localBounds.right-1,e.x)),o.verticalPosition===VV.Top&&(n.top=Math.min(this._localBounds.bottom-1,e.y)),o.horizontalPosition===VV.Right&&(n.right=Math.max(this._localBounds.left+1,e.x)),o.verticalPosition===VV.Bottom&&(n.bottom=Math.max(this._localBounds.top+1,e.y)),t){const e=n.width-this._localBounds.width,t=n.height-this._localBounds.height,r=o.horizontalPosition===VV.Center||o.verticalPosition===VV.Center,i=Math.abs(e)>Math.abs(t);if(r?i:!i){const t=e/a;o.verticalPosition===VV.Top?n.top=this._localBounds.top-t:o.verticalPosition===VV.Bottom?n.bottom=this._localBounds.bottom+t:(n.top=this._localBounds.top-t/2,n.bottom=this._localBounds.bottom+t/2)}else{const e=t*a;o.horizontalPosition===VV.Left?n.left=this._localBounds.left-e:o.horizontalPosition===VV.Right?n.right=this._localBounds.right+e:(n.left=this._localBounds.left-e/2,n.right=this._localBounds.right+e/2)}}const i=["left","top","right","bottom"];for(const e of this.props.globalState.selectedControls){const t=e.metadata.localBounds,r=t.clone(),o=JV(this.props.control.rotation-e.rotation,2*Math.PI)/Math.PI*2;i.forEach((e,t)=>{const a=Math.round(t+o)%4,l=t<2==a<2?1:-1;r[i[a]]+=(n[e]-this._localBounds[e])*l}),r.left=Math.min(t.right-1,r.left),r.top=Math.min(t.bottom-1,r.top),r.right=Math.max(t.left+1,r.right),r.bottom=Math.max(t.top+1,r.bottom),e.metadata.localBounds=r}this._localBounds=n}_updateNodeFromLocalBounds(){const e=this.state.scalePoints[this.state.scalePointDragging],t=e.horizontalPosition===VV.Left&&e.verticalPosition!==VV.Center,o=e.verticalPosition===VV.Top&&e.horizontalPosition!==VV.Center;for(const e of this.props.globalState.selectedControls){const n=e.metadata.localBounds.right-e.metadata.localBounds.left,a=e.metadata.localBounds.bottom-e.metadata.localBounds.top,i=j.GetRotation(e,!0),l=j.GetScale(e,!0),s=e.metadata.localBounds.center,c=s.clone();c.multiplyInPlace(l);const d=Math.cos(i),u=Math.sin(i),f=Math.cos(i+Math.PI),p=Math.sin(i+Math.PI),h=.5*(e.metadata.storedValues.width-n),g=.5*(e.metadata.storedValues.height-a);switch(e.horizontalAlignment){case r.Control.HORIZONTAL_ALIGNMENT_LEFT:c.x+=(t?h:-s.x)*d,c.y+=(t?-h:s.x)*u;break;case r.Control.HORIZONTAL_ALIGNMENT_RIGHT:c.x+=(t?-h:s.x)*d,c.y+=(t?h:-s.x)*u}switch(e.verticalAlignment){case r.Control.VERTICAL_ALIGNMENT_TOP:c.y+=(o?-g:s.y)*f,c.x+=(o?-g:s.y)*p;break;case r.Control.VERTICAL_ALIGNMENT_BOTTOM:c.y+=(o?g:-s.y)*f,c.x+=(o?g:-s.y)*p}const v=this._rotate(c.x,c.y,0,0,i),m=["left","top","width","height"];for(const t of m){let o=0;switch(t){case"left":o=YV(e.metadata.storedValues.left+v.x);break;case"top":o=YV(e.metadata.storedValues.top+v.y);break;case"width":o=YV(n);break;case"height":o=YV(a)}const i=e[`_${t}`].unit;e[`${t}InPixels`]=o,i===r.ValueAndUnit.UNITMODE_PERCENTAGE&&j.ConvertToPercentage(e,[t])}"Image"===e.typeName?e.autoScale=!1:"TextBlock"===e.typeName&&(e.resizeToFit=!1)}}render(){return E.jsxs("div",{className:"gizmo",children:[QV.map((e,t)=>{const r=this.state.scalePoints[e[0]],o=this.state.scalePoints[e[1]].position.subtract(r.position),n=Math.atan2(o.y,o.x),a=o.length();return E.jsx("div",{className:"bounding-box-line",style:{left:`${r.position.x+o.x/2}px`,top:`${r.position.y+o.y/2}px`,width:`${a}px`,transform:`translate(-50%, -50%) rotate(${n}rad)`}},t)}),this.state.scalePoints.map((e,t)=>E.jsx(KV,{clickable:-1===this.state.scalePointDragging&&!e.isPivot&&!this.state.isRotating,scalePoint:e,onDrag:()=>this._beginDraggingScalePoint(t),onRotate:()=>this._beginRotate(),onUp:()=>this._onUp(),canRotate:!0},t))]})}}function rW(e,t,r,o,n,a,i){const l=Math.min(e,r),s=Math.min(t,o),c=l+(Math.max(e,r)-l)*n,d=s+(Math.max(t,o)-s)*a;i.x=c,i.y=d}const oW=[new t.Vector2,new t.Vector2,new t.Vector2];function nW(e){const{control:o,globalState:n}=e,a=u.useRef(!1),i=u.useRef(!1),l=u.useRef(!1),s=u.useRef(),c=u.useRef(new t.Vector2),d=u.useRef(new t.Vector2),[f,p]=u.useState([{position:new t.Vector2,horizontalPosition:VV.Left,verticalPosition:VV.Top,rotation:0,isPivot:!1,defaultRotation:0,id:0},{position:new t.Vector2,horizontalPosition:VV.Center,verticalPosition:VV.Center,rotation:0,isPivot:!0,defaultRotation:0,id:1},{position:new t.Vector2,horizontalPosition:VV.Right,verticalPosition:VV.Bottom,rotation:0,isPivot:!1,defaultRotation:0,id:2}]);u.useEffect(()=>{const e=n.onGizmoUpdateRequireObservable.add(()=>{h()});return()=>{n.onGizmoUpdateRequireObservable.remove(e)}},[]);const h=()=>{const e=o,t=e._cachedParentMeasure.left+e._x1.getValue(e._host),r=e._cachedParentMeasure.top+e._y1.getValue(e._host),n=e._cachedParentMeasure.left+e._effectiveX2,a=e._cachedParentMeasure.top+e._effectiveY2,i=oW[0].set(t,r),l=oW[1].set(n,a),s=oW[2];rW(t,r,n,a,e.transformCenterX,e.transformCenterY,s);const c=e._transformMatrix;c.transformCoordinates(i.x,i.y,i),c.transformCoordinates(l.x,l.y,l),c.transformCoordinates(s.x,s.y,s),d.current=s;const u=[i,s,l];p(f.map((t,r)=>({...t,position:u[r],rotation:e.rotation})))},g=(e,t,o)=>r.MathTools.Round(e.getValue(t)+o),v=(e,t)=>{const r=j.MousePointerToRTTSpace(o,e.x,e.y),n=j.RttToLocalNodeSpace(o,r.x,r.y),a=j.MousePointerToRTTSpace(o,c.current.x,c.current.y),i=j.RttToLocalNodeSpace(o,a.x,a.y),l=oW[0];n.subtractToRef(i,l);const s=oW[1];l.rotateToRef(o.rotation,s),t.x=s.x,t.y=s.y},m=()=>{const e=n.workbench._scene,u=new t.Vector2(e.pointerX,e.pointerY);i.current&&a.current?(e=>{const t=oW[0];v(e,t),o.x1=g(o._x1,o._host,t.x),o.y1=g(o._y1,o._host,t.y),o.x2=g(o._x2,o._host,t.x),o.y2=g(o._y2,o._host,t.y),n.onPropertyGridUpdateRequiredObservable.notifyObservers()})(u):i.current?(e=>{const t=oW[0];v(e,t);const r=s.current;0===r?(o.x1=g(o._x1,o._host,t.x),o.y1=g(o._y1,o._host,t.y)):2===r&&(o.x2=g(o._x2,o._host,t.x),o.y2=g(o._y2,o._host,t.y)),n.onPropertyGridUpdateRequiredObservable.notifyObservers()})(u):l.current&&(e=>{const a=e.subtract(d.current);a.normalize();const i=c.current.subtract(d.current);i.normalize();const l=t.Vector2.Dot(a,i),s=Math.acos(l),u=-Math.sign(a.x*i.y-a.y*i.x);isNaN(s)||(o.rotation+=u*s,o.rotation=r.MathTools.Round(o.rotation),n.onPropertyGridUpdateRequiredObservable.notifyObservers())})(u),c.current=u},b=()=>{i.current=!1,l.current=!1};u.useEffect(()=>{const t=e.globalState.onPointerMoveObservable.add(m),r=e.globalState.onPointerUpObservable.add(b);return()=>{e.globalState.onPointerMoveObservable.remove(t),e.globalState.onPointerUpObservable.remove(r)}},[]);const C=(e,d)=>{if(e&&d){const e=n.workbench._scene;if(c.current=new t.Vector2(e.pointerX,e.pointerY),a.current=d.isPivot,!d.isPivot&&o.rotation){const e=o,t=e._x1.getValue(e._host),a=e._y1.getValue(e._host),i=e._x2.getValue(e._host),l=e._y2.getValue(e._host),s=oW[0].set(t,a),c=oW[1].set(i,l),d=oW[2];rW(t,a,i,l,e.transformCenterX,e.transformCenterY,d);const u=r.Matrix2D.Identity(),f=r.Matrix2D.Identity();r.Matrix2D.TranslationToRef(-d.x,-d.y,f),u.multiplyToRef(f,u),r.Matrix2D.RotationToRef(o.rotation,f),u.multiplyToRef(f,u),r.Matrix2D.TranslationToRef(d.x,d.y,f),u.multiplyToRef(f,u),u.transformCoordinates(s.x,s.y,s),u.transformCoordinates(c.x,c.y,c),o.rotation=0,o.x1=r.MathTools.Round(s.x),o.y1=r.MathTools.Round(s.y),o.x2=r.MathTools.Round(c.x),o.y2=r.MathTools.Round(c.y),n.onPropertyGridUpdateRequiredObservable.notifyObservers()}i.current=!0,l.current=!1,s.current=d.id}},y=e=>{if(e){l.current=!0,i.current=!1;const e=n.workbench._scene;c.current=new t.Vector2(e.pointerX,e.pointerY)}};return E.jsx("div",{className:"gizmo",children:f.map((e,t)=>E.jsx(KV,{scalePoint:e,allowClickOnPivot:!0,clickable:!0,onDrag:C,onRotate:y,onUp:b,canRotate:!0},t))})}class aW extends u.Component{componentDidMount(){this.observer=this.props.globalState.onSelectionChangedObservable.add(()=>this.forceUpdate())}componentWillUnmount(){this.props.globalState.onSelectionChangedObservable.remove(this.observer)}render(){const e=this.props.globalState.selectedControls;return E.jsx(E.Fragment,{children:e.map(e=>"Line"===e.getClassName()?E.jsx(nW,{globalState:this.props.globalState,control:e},e.uniqueId):E.jsx(tW,{globalState:this.props.globalState,control:e},e.uniqueId))})}}class iW extends u.Component{constructor(e){super(e),this.state={bounds:new B(0,0,0,0)},this.props.globalState.onArtBoardUpdateRequiredObservable.add(()=>this.update())}update(){const e=this.props.globalState.workbench.visibleRegionContainer;if(!e)return;const t=j.ComputeLocalBounds(e),r=j.NodeToRTTSpace(e,t.left,t.top,void 0),o=j.RttToCanvasSpace(r.x,r.y),n=j.NodeToRTTSpace(e,t.right,t.bottom,void 0),a=j.RttToCanvasSpace(n.x,n.y);this.setState({bounds:new B(o.x,o.y,a.x,a.y)})}render(){const e={top:`${this.state.bounds.top}px`,left:`${this.state.bounds.left}px`,width:`${this.state.bounds.width}px`,height:`${this.state.bounds.height}px`};return E.jsxs(E.Fragment,{children:[E.jsx("div",{className:"artboard-stroke",style:e}),E.jsx("div",{className:"artboard-background",style:e})]})}}VH(":root{--blackBarHeight:55px}#gui-editor-workbench-root{background:#e2e2e2;display:grid;font:14px acumin-pro-condensed;grid-template-rows:calc(100% - 55px);height:100%;width:100%}.wait-screen{align-content:center;background:#464646;color:#fff;display:grid;font:24px acumin-pro-condensed;height:100%;justify-content:center;left:0;opacity:.95;position:absolute;top:0;width:100%}.wait-screen.hidden{visibility:hidden}#leftGrab{height:100%;right:-1px}#leftGrab,#rightGrab{cursor:ew-resize;position:absolute;top:0;width:5px}#rightGrab{bottom:0;left:0}.toolbarGrab{background:#333;grid-column:2;grid-row:1/span 3;height:100%;overflow-y:auto}.toolbarGrab .blackLine{background:#000;height:16px;position:relative}.toolbarGrab .arrow{color:#fff;position:absolute}.toolbarGrab .toolbar-label{align-items:center;color:#fff;cursor:pointer;display:grid;font-size:18px;grid-template-columns:1fr 20px;grid-template-rows:100%;position:relative;user-select:none}.toolbarGrab .toolbar-label.active{font-size:20px;font-weight:700}.toolbarGrab .toolbar-label:hover{background:var(--selectionGrey)}.toolbarGrab .toolbar-label:hover .sub-items{display:block}.toolbarGrab .toolbar-icon{height:40px;width:40px}.toolbarGrab.expanded .toolbar-content-sub1{column-count:2}.diagram-container{background:#ccc;display:grid;grid-column:2;grid-row:1;height:100%;overflow:hidden;position:relative;width:100%}.diagram-container .diagram{display:none;height:100%;width:100%}.left-panel{display:grid;grid-column:1;grid-row:1/span 2;grid-template-columns:1fr 50px;grid-template-rows:100%;overflow:hidden;position:relative}.left-panel.expand{grid-template-columns:1fr 100px}.right-panel{display:grid;grid-column:3;grid-row:1/span 2;grid-template-columns:100%;grid-template-rows:1fr 40px auto 40px;overflow-y:auto;position:relative}.right-panel #propertyTab{grid-column:1;grid-row:1}.right-panel .button{align-content:center;cursor:pointer;display:grid;height:auto;justify-content:center;width:14.2857142857%}.right-panel .button:hover{opacity:.8}.right-panel .button.selected,.right-panel .button:hover{background:#337ab7;color:#fff}.right-panel .button.align{justify-content:stretch;text-align:center}.blocker{align-content:center;background:hsla(0,0%,8%,.95);color:#fff;display:grid;font-family:acumin-pro-condensed,sans-serif;font-size:24px;height:100%;justify-content:center;left:0;padding:20px;position:absolute;text-align:center;top:0;user-select:none;visibility:hidden;width:calc(100% - 40px)}#log-console{display:none;grid-column:4;grid-row:2}.gizmo *{user-select:none}.gizmo .bounding-box-line{background-color:#000;height:1px;line-height:1px;pointer-events:none;position:absolute}.gizmo .scale-point-container{height:30px;position:absolute;width:30px}.gizmo .scale-point-container .scale-point{background:transparent;height:10px;left:10px;outline:2px solid #7d7d7d;position:absolute;top:10px;width:10px}.gizmo .scale-point-container .rotate-click-area,.gizmo .scale-point-container .scale-click-area{height:20px;position:absolute;width:20px}.gizmo .pivot-point{background:transparent;height:30px;position:absolute;width:30px}#workbench-canvas{position:relative}.artboard-stroke{outline:1px solid #000;pointer-events:none;position:absolute;z-index:2}.artboard-background{background:repeating-conic-gradient(#e2e2e2 0 25%,#fff 0 50%) 50%/10px 10px;height:100%;position:absolute;width:100%}"),VH("#ge-header{background:#333;display:grid;grid-column:2/4;grid-row:1;grid-template-columns:auto 1fr;grid-template-rows:100%;margin:0;padding:0;width:100%}#ge-header .command-bar{grid-column:2;grid-row:1;padding-left:15px;width:100%}#ge-header .command-bar .language-button{align-content:center;border-top-left-radius:14px;color:#fff;display:grid;font-size:18px;grid-column:2;grid-row:1;text-align:center;transform:scale(1);user-select:none;width:144px}#ge-header .command-bar .language-button.active{cursor:pointer;grid-column:1;margin-right:-5px;transform:translateX(10px);width:74px}");class lW extends u.Component{componentDidMount(){-1!==navigator.userAgent.indexOf("Mobile")&&((this.props.globalState.hostDocument||document).querySelector(".blocker").style.visibility="visible"),document.addEventListener("keydown",this.addToolControls),document.addEventListener("keyup",this.removePressToolControls),this.props.onReady?.()}componentWillUnmount(){document.removeEventListener("keydown",this.addToolControls),document.removeEventListener("keyup",this.removePressToolControls),this._onErrorMessageObserver&&this.props.globalState.onErrorMessageDialogRequiredObservable.remove(this._onErrorMessageObserver)}constructor(e){super(e),this._leftWidth=t.DataStorage.ReadNumber("LeftWidth",200),this._rightWidth=t.DataStorage.ReadNumber("RightWidth",300),this._workbenchRef=u.createRef(),this.addToolControls=e=>{if(!(e.target&&e.target instanceof HTMLInputElement&&"text"===e.target.type))switch(e.key){case"s":case"S":this.props.globalState.tool=_.SELECT;break;case"p":case"P":case" ":this.props.globalState.tool=_.PAN;break;case"z":case"Z":this.props.globalState.tool=_.ZOOM;break;case"g":case"G":this.props.globalState.outlines=!this.props.globalState.outlines;break;case"f":case"F":this.props.globalState.onFitControlsToWindowObservable.notifyObservers()}},this.removePressToolControls=e=>{" "===e.key&&this.props.globalState.restorePreviousTool()},this.handlePopUp=()=>{this.setState({showPreviewPopUp:!0}),this.props.globalState.hostWindow.addEventListener("beforeunload",this.handleClosingPopUp)},this.handleClosingPopUp=()=>{this._popUpWindow.close()},this._rootRef=u.createRef(),this.state={showPreviewPopUp:!1,toolbarExpand:!0,message:""},this.props.globalState.onBackgroundColorChangeObservable.add(()=>this.forceUpdate()),this.props.globalState.onDropObservable.add(()=>{null!=this._draggedItem&&(this.props.globalState.draggedControl=this.onCreate(this._draggedItem)),this._draggedItem=null}),this._onErrorMessageObserver=this.props.globalState.onErrorMessageDialogRequiredObservable.add(e=>{this.setState({message:e})})}showWaitScreen(){this.props.globalState.hostDocument.querySelector(".wait-screen")?.classList.remove("hidden")}hideWaitScreen(){this.props.globalState.hostDocument.querySelector(".wait-screen")?.classList.add("hidden")}onPointerDown(e){0===e.button&&(this._moveInProgress=!0,e.currentTarget.setPointerCapture(e.pointerId))}onPointerUp(e){0===e.button&&(this._moveInProgress=!1,e.currentTarget.releasePointerCapture(e.pointerId))}resizeColumns(e,r=!0){if(!this._moveInProgress)return;const o=e.currentTarget.ownerDocument.getElementById("gui-editor-workbench-root"),n=this.props.globalState.hostWindow.innerWidth;r?(this._leftWidth=Math.max(150,Math.min(n-this._rightWidth,e.clientX-this._rootRef.current.clientLeft)),t.DataStorage.WriteNumber("LeftWidth",this._leftWidth)):(this._rightWidth=Math.max(250,Math.min(n-this._leftWidth,this._rootRef.current.clientLeft+this._rootRef.current.clientWidth-e.clientX)),t.DataStorage.WriteNumber("RightWidth",this._rightWidth)),o.style.gridTemplateColumns=this.buildColumnLayout(),this.props.globalState.onWindowResizeObservable.notifyObservers()}buildColumnLayout(){return`${this._leftWidth}px 1fr ${this._rightWidth}px`}switchExpandedState(){this.setState({toolbarExpand:!this.state.toolbarExpand}),this.state.toolbarExpand?this._leftWidth=this._leftWidth+50:this._leftWidth=this._leftWidth-50}render(){const e=this.state.toolbarExpand?"left-panel":"left-panel expand";return E.jsxs(bV,{globalState:this.props.globalState,children:[E.jsx("div",{id:"ge-header",children:E.jsx("div",{className:"command-bar",children:E.jsx(LV,{globalState:this.props.globalState})})}),E.jsxs("div",{id:"gui-editor-workbench-root",style:{gridTemplateColumns:this.buildColumnLayout()},onMouseDown:e=>{e.target.nodeName},ref:this._rootRef,onPointerUp:e=>this.onPointerUp(e),children:[E.jsxs("div",{className:e,children:[E.jsx(PV,{globalState:this.props.globalState,noExpand:!0}),this.createToolbar(),E.jsx("div",{id:"leftGrab",onPointerDown:e=>this.onPointerDown(e),onPointerMove:e=>this.resizeColumns(e)})]}),E.jsx(PV,{globalState:this.props.globalState,noExpand:!0}),this.createToolbar(),E.jsxs("div",{className:"diagram-container",onDrop:e=>{e.preventDefault(),this.props.globalState.onDropObservable.notifyObservers(),this.props.globalState.onParentingChangeObservable.notifyObservers(null)},onDragOver:e=>{e.preventDefault()},style:{backgroundColor:this.props.globalState.backgroundColor.toHexString()},children:[E.jsx(iW,{globalState:this.props.globalState}),E.jsx(PL,{ref:this._workbenchRef,globalState:this.props.globalState}),E.jsx(aW,{globalState:this.props.globalState})]}),E.jsxs("div",{className:"right-panel",children:[E.jsx("div",{id:"rightGrab",onPointerDown:e=>this.onPointerDown(e),onPointerMove:e=>this.resizeColumns(e,!1)}),E.jsx(mV,{globalState:this.props.globalState})]}),E.jsx(CV,{globalState:this.props.globalState})]}),E.jsx(xV,{message:this.state.message,isError:!0}),E.jsx("div",{className:"blocker",children:"GUI Editor runs only on desktop"}),E.jsx("div",{className:"wait-screen hidden",children:"Processing...please wait"})]})}onCreate(e){const t=gV.CreateControlFromString(e),r=this.props.globalState.workbench.appendBlock(t);return this.props.globalState.setSelection([r]),this.props.globalState.onPointerUpObservable.notifyObservers(null),this.forceUpdate(),r}createBlackLine(){const e=this.state.toolbarExpand?E.jsx("img",{src:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M7.66%2C11.39l3.4-3.39-3.4-3.39c-.13-.13-.13-.34%2C0-.47%2C.13-.13%2C.34-.13%2C.47%2C0l3.61%2C3.6c.14%2C.14%2C.14%2C.37%2C0%2C.51l-3.61%2C3.6c-.13%2C.13-.34%2C.13-.47%2C0-.13-.13-.13-.34%2C0-.47Zm-2.63%2C0l3.4-3.39-3.4-3.39c-.13-.13-.13-.34%2C0-.47%2C.13-.13%2C.34-.13%2C.47%2C0l3.61%2C3.6c.14%2C.14%2C.14%2C.37%2C0%2C.51l-3.61%2C3.6c-.13%2C.13-.34%2C.13-.47%2C0-.13-.13-.13-.34%2C0-.47Z%22%2F%3E%3C%2Fsvg%3E",className:"icon"}):E.jsx("img",{src:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3A%23fff%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22b%22%20d%3D%22M8.34%2C11.86c-.13%2C.13-.34%2C.13-.47%2C0l-3.61-3.6c-.14-.14-.14-.37%2C0-.51l3.61-3.6c.13-.13%2C.34-.13%2C.47%2C0%2C.13%2C.13%2C.13%2C.34%2C0%2C.47l-3.4%2C3.39%2C3.4%2C3.39c.13%2C.13%2C.13%2C.34%2C0%2C.47Zm2.63%2C0c-.13%2C.13-.34%2C.13-.47%2C0l-3.61-3.6c-.14-.14-.14-.37%2C0-.51l3.61-3.6c.13-.13%2C.34-.13%2C.47%2C0%2C.13%2C.13%2C.13%2C.34%2C0%2C.47l-3.4%2C3.39%2C3.4%2C3.39c.13%2C.13%2C.13%2C.34%2C0%2C.47Z%22%2F%3E%3C%2Fsvg%3E",className:"icon"});return E.jsx("div",{className:"blackLine",children:E.jsx("div",{className:"arrow",onClick:()=>this.switchExpandedState(),children:e})})}createToolbarHelper(e){return e.map(e=>E.jsx("div",{className:"toolbar-label",onDragStart:()=>{this._draggedItem=e.className},onClick:()=>{this.onCreate(e.className)},title:e.className,children:e.icon&&E.jsx("div",{className:"toolbar-icon",draggable:!0,children:E.jsx("img",{src:e.icon,alt:e.className,width:"40px",height:"40px"})})},e.className))}createToolbar(){return this.state.toolbarExpand?E.jsx(E.Fragment,{children:E.jsxs("div",{className:"toolbarGrab",children:[this.createBlackLine(),E.jsx("div",{className:"toolbar-content-sub1",children:this.createToolbarHelper(vV)})]})}):E.jsx(E.Fragment,{children:E.jsxs("div",{className:"toolbarGrab expanded",children:[this.createBlackLine(),E.jsxs("div",{className:"toolbar-content-sub1",children:[this.createToolbarHelper(vV.slice(0,Math.ceil(vV.length/2))),this.createToolbarHelper(vV.slice(Math.ceil(vV.length/2)))]})]})})}}class sW{static async Show(e,t){let r=e.hostElement;if(this._CurrentState&&r){if(e.currentSnippetToken)try{this._CurrentState.workbench.loadFromSnippet(e.currentSnippetToken)}catch(e){}return}r||(this._PopupWindow&&this._PopupWindow.close(),r=function(e,t){const r={width:300,height:800,...t},o={width:r.width,height:r.height,top:(window.innerHeight-r.width)/2+window.screenY,left:(window.innerWidth-r.height)/2+window.screenX},n=Object.keys(o).map(e=>e+"="+o[e]).join(","),a=window.open("",e,n);if(!a)return null;const i=a.document,l=i.createElement("link");l.rel="stylesheet",l.href="https://use.typekit.net/cta4xsb.css",i.head.appendChild(l),i.title=e,i.body.style.width="100%",i.body.style.height="100%",i.body.style.margin="0",i.body.style.padding="0";const s=i.createElement("div");return s.style.width="100%",s.style.height="100%",s.style.margin="0",s.style.padding="0",r.onParentControlCreateCallback&&r.onParentControlCreateCallback(s),a.document.body.appendChild(s),L(window.document,i),setTimeout(()=>{L(window.document,i)},0),r.onWindowCreateCallback&&r.onWindowCreateCallback(a),s}("BABYLON.JS GUI EDITOR",{onWindowCreateCallback:e=>this._PopupWindow=e,width:1200,height:800}));const o=new T;e.liveGuiTexture&&(o.liveGuiTexture=e.liveGuiTexture),o.hostElement=r,o.hostDocument=r.ownerDocument,o.customSave=e.customSave,o.customLoad=e.customLoad,o.hostWindow=r.ownerDocument.defaultView,o.registerEventListeners();const n=u.createElement(lW,{globalState:o,onReady:async()=>{if(!o.guiTexture&&(o.workbench.createGUICanvas(t),e.currentSnippetToken))try{await o.workbench.loadFromSnippet(e.currentSnippetToken)}catch(e){}}});y(r).render(n),e.customLoadObservable&&e.customLoadObservable.add(()=>{o.onResetRequiredObservable.notifyObservers(),o.onBuiltObservable.notifyObservers()}),this._CurrentState=o,this._PopupWindow&&(window.onbeforeunload=()=>{this._PopupWindow&&this._PopupWindow.close()}),o.hostWindow.addEventListener("beforeunload",()=>{o.onPopupClosedObservable.notifyObservers(),o.dispose()})}}sW._PopupWindow=null;const cW="undefined"!=typeof global?global:"undefined"!=typeof window?window:void 0;void 0!==cW&&(cW.BABYLON=cW.BABYLON||{},cW.BABYLON.GuiEditor=sW,cW.BABYLON.GUIEditor=sW,cW.GUIEDITOR={GUIEditor:sW});var dW={__proto__:null,GUIEditor:sW};e.default=dW,e.guiEditor=dW,Object.defineProperty(e,"__esModule",{value:!0})});
2
+ //# sourceMappingURL=babylon.guiEditor.js.map