mgwdev-m365-components 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(G,gt){typeof exports=="object"&&typeof module<"u"?gt(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],gt):(G=typeof globalThis<"u"?globalThis:G||self,gt(G["mwdev-m365-components"]={},G.React,G.ReactDOM))})(this,function(G,gt,lc){"use strict";function ri(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}function cc(e,r){for(var t=0;t<r.length;t++){const n=r[t];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const g=ri(gt),uc=ri(lc);function fc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Po={exports:{}},ur={};/**
1
+ (function(G,gt){typeof exports=="object"&&typeof module<"u"?gt(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],gt):(G=typeof globalThis<"u"?globalThis:G||self,gt(G["mwdev-m365-components"]={},G.React,G.ReactDOM))})(this,function(G,gt,hc){"use strict";function oi(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}function vc(e,r){for(var t=0;t<r.length;t++){const n=r[t];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const g=oi(gt),gc=oi(hc);function pc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Po={exports:{}},ur={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.development.js
4
4
  *
@@ -6,17 +6,17 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var oi;function dc(){return oi||(oi=1,process.env.NODE_ENV!=="production"&&function(){var e=gt,r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),h=Symbol.iterator,m="@@iterator";function w(p){if(p===null||typeof p!="object")return null;var z=h&&p[h]||p[m];return typeof z=="function"?z:null}var b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(p){{for(var z=arguments.length,R=new Array(z>1?z-1:0),W=1;W<z;W++)R[W-1]=arguments[W];P("error",p,R)}}function P(p,z,R){{var W=b.ReactDebugCurrentFrame,oe=W.getStackAddendum();oe!==""&&(z+="%s",R=R.concat([oe]));var ce=R.map(function(ee){return String(ee)});ce.unshift("Warning: "+z),Function.prototype.apply.call(console[p],console,ce)}}var x=!1,S=!1,k=!1,_=!1,q=!1,F;F=Symbol.for("react.module.reference");function V(p){return!!(typeof p=="string"||typeof p=="function"||p===n||p===o||q||p===i||p===a||p===l||_||p===d||x||S||k||typeof p=="object"&&p!==null&&(p.$$typeof===v||p.$$typeof===f||p.$$typeof===s||p.$$typeof===c||p.$$typeof===u||p.$$typeof===F||p.getModuleId!==void 0))}function X(p,z,R){var W=p.displayName;if(W)return W;var oe=z.displayName||z.name||"";return oe!==""?R+"("+oe+")":R}function I(p){return p.displayName||"Context"}function B(p){if(p==null)return null;if(typeof p.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case n:return"Fragment";case t:return"Portal";case o:return"Profiler";case i:return"StrictMode";case a:return"Suspense";case l:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case c:var z=p;return I(z)+".Consumer";case s:var R=p;return I(R._context)+".Provider";case u:return X(p,p.render,"ForwardRef");case f:var W=p.displayName||null;return W!==null?W:B(p.type)||"Memo";case v:{var oe=p,ce=oe._payload,ee=oe._init;try{return B(ee(ce))}catch{return null}}}return null}var H=Object.assign,Y=0,te,ne,ae,de,Le,N,M;function A(){}A.__reactDisabledLog=!0;function re(){{if(Y===0){te=console.log,ne=console.info,ae=console.warn,de=console.error,Le=console.group,N=console.groupCollapsed,M=console.groupEnd;var p={configurable:!0,enumerable:!0,value:A,writable:!0};Object.defineProperties(console,{info:p,log:p,warn:p,error:p,group:p,groupCollapsed:p,groupEnd:p})}Y++}}function he(){{if(Y--,Y===0){var p={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},p,{value:te}),info:H({},p,{value:ne}),warn:H({},p,{value:ae}),error:H({},p,{value:de}),group:H({},p,{value:Le}),groupCollapsed:H({},p,{value:N}),groupEnd:H({},p,{value:M})})}Y<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Se=b.ReactCurrentDispatcher,Ce;function ve(p,z,R){{if(Ce===void 0)try{throw Error()}catch(oe){var W=oe.stack.trim().match(/\n( *(at )?)/);Ce=W&&W[1]||""}return`
10
- `+Ce+p}}var ge=!1,Q;{var T=typeof WeakMap=="function"?WeakMap:Map;Q=new T}function ie(p,z){if(!p||ge)return"";{var R=Q.get(p);if(R!==void 0)return R}var W;ge=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ce;ce=Se.current,Se.current=null,re();try{if(z){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(vt){W=vt}Reflect.construct(p,[],ee)}else{try{ee.call()}catch(vt){W=vt}p.call(ee.prototype)}}else{try{throw Error()}catch(vt){W=vt}p()}}catch(vt){if(vt&&W&&typeof vt.stack=="string"){for(var Z=vt.stack.split(`
11
- `),De=W.stack.split(`
12
- `),be=Z.length-1,we=De.length-1;be>=1&&we>=0&&Z[be]!==De[we];)we--;for(;be>=1&&we>=0;be--,we--)if(Z[be]!==De[we]){if(be!==1||we!==1)do if(be--,we--,we<0||Z[be]!==De[we]){var Ke=`
13
- `+Z[be].replace(" at new "," at ");return p.displayName&&Ke.includes("<anonymous>")&&(Ke=Ke.replace("<anonymous>",p.displayName)),typeof p=="function"&&Q.set(p,Ke),Ke}while(be>=1&&we>=0);break}}}finally{ge=!1,Se.current=ce,he(),Error.prepareStackTrace=oe}var cr=p?p.displayName||p.name:"",sc=cr?ve(cr):"";return typeof p=="function"&&Q.set(p,sc),sc}function _e(p,z,R){return ie(p,!1)}function Ne(p){var z=p.prototype;return!!(z&&z.isReactComponent)}function He(p,z,R){if(p==null)return"";if(typeof p=="function")return ie(p,Ne(p));if(typeof p=="string")return ve(p);switch(p){case a:return ve("Suspense");case l:return ve("SuspenseList")}if(typeof p=="object")switch(p.$$typeof){case u:return _e(p.render);case f:return He(p.type,z,R);case v:{var W=p,oe=W._payload,ce=W._init;try{return He(ce(oe),z,R)}catch{}}}return""}var Xe=Object.prototype.hasOwnProperty,Bt={},ar=b.ReactDebugCurrentFrame;function sr(p){if(p){var z=p._owner,R=He(p.type,p._source,z?z.type:null);ar.setExtraStackFrame(R)}else ar.setExtraStackFrame(null)}function Kn(p,z,R,W,oe){{var ce=Function.call.bind(Xe);for(var ee in p)if(ce(p,ee)){var Z=void 0;try{if(typeof p[ee]!="function"){var De=Error((W||"React class")+": "+R+" type `"+ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[ee]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw De.name="Invariant Violation",De}Z=p[ee](z,ee,W,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(be){Z=be}Z&&!(Z instanceof Error)&&(sr(oe),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",W||"React class",R,ee,typeof Z),sr(null)),Z instanceof Error&&!(Z.message in Bt)&&(Bt[Z.message]=!0,sr(oe),y("Failed %s type: %s",R,Z.message),sr(null))}}}var Zn=Array.isArray;function Ar(p){return Zn(p)}function Yn(p){{var z=typeof Symbol=="function"&&Symbol.toStringTag,R=z&&p[Symbol.toStringTag]||p.constructor.name||"Object";return R}}function Qn(p){try{return ko(p),!1}catch{return!0}}function ko(p){return""+p}function xo(p){if(Qn(p))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Yn(p)),ko(p)}var Mt=b.ReactCurrentOwner,Jn={key:!0,ref:!0,__self:!0,__source:!0},Bo,_o,j;j={};function O(p){if(Xe.call(p,"ref")){var z=Object.getOwnPropertyDescriptor(p,"ref").get;if(z&&z.isReactWarning)return!1}return p.ref!==void 0}function K(p){if(Xe.call(p,"key")){var z=Object.getOwnPropertyDescriptor(p,"key").get;if(z&&z.isReactWarning)return!1}return p.key!==void 0}function fe(p,z){if(typeof p.ref=="string"&&Mt.current&&z&&Mt.current.stateNode!==z){var R=B(Mt.current.type);j[R]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',B(Mt.current.type),p.ref),j[R]=!0)}}function Pe(p,z){{var R=function(){Bo||(Bo=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};R.isReactWarning=!0,Object.defineProperty(p,"key",{get:R,configurable:!0})}}function ze(p,z){{var R=function(){_o||(_o=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};R.isReactWarning=!0,Object.defineProperty(p,"ref",{get:R,configurable:!0})}}var Ee=function(p,z,R,W,oe,ce,ee){var Z={$$typeof:r,type:p,key:z,ref:R,props:ee,_owner:ce};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:W}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function it(p,z,R,W,oe){{var ce,ee={},Z=null,De=null;R!==void 0&&(xo(R),Z=""+R),K(z)&&(xo(z.key),Z=""+z.key),O(z)&&(De=z.ref,fe(z,oe));for(ce in z)Xe.call(z,ce)&&!Jn.hasOwnProperty(ce)&&(ee[ce]=z[ce]);if(p&&p.defaultProps){var be=p.defaultProps;for(ce in be)ee[ce]===void 0&&(ee[ce]=be[ce])}if(Z||De){var we=typeof p=="function"?p.displayName||p.name||"Unknown":p;Z&&Pe(ee,we),De&&ze(ee,we)}return Ee(p,Z,De,oe,W,Mt.current,ee)}}var Te=b.ReactCurrentOwner,tc=b.ReactDebugCurrentFrame;function lr(p){if(p){var z=p._owner,R=He(p.type,p._source,z?z.type:null);tc.setExtraStackFrame(R)}else tc.setExtraStackFrame(null)}var ei;ei=!1;function ti(p){return typeof p=="object"&&p!==null&&p.$$typeof===r}function rc(){{if(Te.current){var p=B(Te.current.type);if(p)return`
9
+ */var ni;function mc(){return ni||(ni=1,process.env.NODE_ENV!=="production"&&function(){var e=gt,r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),h=Symbol.iterator,m="@@iterator";function w(p){if(p===null||typeof p!="object")return null;var z=h&&p[h]||p[m];return typeof z=="function"?z:null}var b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(p){{for(var z=arguments.length,R=new Array(z>1?z-1:0),W=1;W<z;W++)R[W-1]=arguments[W];S("error",p,R)}}function S(p,z,R){{var W=b.ReactDebugCurrentFrame,oe=W.getStackAddendum();oe!==""&&(z+="%s",R=R.concat([oe]));var ce=R.map(function(ee){return String(ee)});ce.unshift("Warning: "+z),Function.prototype.apply.call(console[p],console,ce)}}var x=!1,P=!1,k=!1,_=!1,q=!1,F;F=Symbol.for("react.module.reference");function V(p){return!!(typeof p=="string"||typeof p=="function"||p===n||p===o||q||p===i||p===a||p===l||_||p===d||x||P||k||typeof p=="object"&&p!==null&&(p.$$typeof===v||p.$$typeof===f||p.$$typeof===s||p.$$typeof===c||p.$$typeof===u||p.$$typeof===F||p.getModuleId!==void 0))}function X(p,z,R){var W=p.displayName;if(W)return W;var oe=z.displayName||z.name||"";return oe!==""?R+"("+oe+")":R}function I(p){return p.displayName||"Context"}function B(p){if(p==null)return null;if(typeof p.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case n:return"Fragment";case t:return"Portal";case o:return"Profiler";case i:return"StrictMode";case a:return"Suspense";case l:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case c:var z=p;return I(z)+".Consumer";case s:var R=p;return I(R._context)+".Provider";case u:return X(p,p.render,"ForwardRef");case f:var W=p.displayName||null;return W!==null?W:B(p.type)||"Memo";case v:{var oe=p,ce=oe._payload,ee=oe._init;try{return B(ee(ce))}catch{return null}}}return null}var H=Object.assign,Y=0,te,ne,ae,de,Le,N,M;function A(){}A.__reactDisabledLog=!0;function re(){{if(Y===0){te=console.log,ne=console.info,ae=console.warn,de=console.error,Le=console.group,N=console.groupCollapsed,M=console.groupEnd;var p={configurable:!0,enumerable:!0,value:A,writable:!0};Object.defineProperties(console,{info:p,log:p,warn:p,error:p,group:p,groupCollapsed:p,groupEnd:p})}Y++}}function he(){{if(Y--,Y===0){var p={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},p,{value:te}),info:H({},p,{value:ne}),warn:H({},p,{value:ae}),error:H({},p,{value:de}),group:H({},p,{value:Le}),groupCollapsed:H({},p,{value:N}),groupEnd:H({},p,{value:M})})}Y<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pe=b.ReactCurrentDispatcher,Ce;function ve(p,z,R){{if(Ce===void 0)try{throw Error()}catch(oe){var W=oe.stack.trim().match(/\n( *(at )?)/);Ce=W&&W[1]||""}return`
10
+ `+Ce+p}}var ge=!1,Q;{var T=typeof WeakMap=="function"?WeakMap:Map;Q=new T}function ie(p,z){if(!p||ge)return"";{var R=Q.get(p);if(R!==void 0)return R}var W;ge=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ce;ce=Pe.current,Pe.current=null,re();try{if(z){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(vt){W=vt}Reflect.construct(p,[],ee)}else{try{ee.call()}catch(vt){W=vt}p.call(ee.prototype)}}else{try{throw Error()}catch(vt){W=vt}p()}}catch(vt){if(vt&&W&&typeof vt.stack=="string"){for(var Z=vt.stack.split(`
11
+ `),Oe=W.stack.split(`
12
+ `),be=Z.length-1,we=Oe.length-1;be>=1&&we>=0&&Z[be]!==Oe[we];)we--;for(;be>=1&&we>=0;be--,we--)if(Z[be]!==Oe[we]){if(be!==1||we!==1)do if(be--,we--,we<0||Z[be]!==Oe[we]){var Ke=`
13
+ `+Z[be].replace(" at new "," at ");return p.displayName&&Ke.includes("<anonymous>")&&(Ke=Ke.replace("<anonymous>",p.displayName)),typeof p=="function"&&Q.set(p,Ke),Ke}while(be>=1&&we>=0);break}}}finally{ge=!1,Pe.current=ce,he(),Error.prepareStackTrace=oe}var cr=p?p.displayName||p.name:"",dc=cr?ve(cr):"";return typeof p=="function"&&Q.set(p,dc),dc}function _e(p,z,R){return ie(p,!1)}function Ne(p){var z=p.prototype;return!!(z&&z.isReactComponent)}function He(p,z,R){if(p==null)return"";if(typeof p=="function")return ie(p,Ne(p));if(typeof p=="string")return ve(p);switch(p){case a:return ve("Suspense");case l:return ve("SuspenseList")}if(typeof p=="object")switch(p.$$typeof){case u:return _e(p.render);case f:return He(p.type,z,R);case v:{var W=p,oe=W._payload,ce=W._init;try{return He(ce(oe),z,R)}catch{}}}return""}var Xe=Object.prototype.hasOwnProperty,Bt={},ar=b.ReactDebugCurrentFrame;function sr(p){if(p){var z=p._owner,R=He(p.type,p._source,z?z.type:null);ar.setExtraStackFrame(R)}else ar.setExtraStackFrame(null)}function Zn(p,z,R,W,oe){{var ce=Function.call.bind(Xe);for(var ee in p)if(ce(p,ee)){var Z=void 0;try{if(typeof p[ee]!="function"){var Oe=Error((W||"React class")+": "+R+" type `"+ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[ee]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Oe.name="Invariant Violation",Oe}Z=p[ee](z,ee,W,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(be){Z=be}Z&&!(Z instanceof Error)&&(sr(oe),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",W||"React class",R,ee,typeof Z),sr(null)),Z instanceof Error&&!(Z.message in Bt)&&(Bt[Z.message]=!0,sr(oe),y("Failed %s type: %s",R,Z.message),sr(null))}}}var Yn=Array.isArray;function Ar(p){return Yn(p)}function Qn(p){{var z=typeof Symbol=="function"&&Symbol.toStringTag,R=z&&p[Symbol.toStringTag]||p.constructor.name||"Object";return R}}function Jn(p){try{return xo(p),!1}catch{return!0}}function xo(p){return""+p}function Bo(p){if(Jn(p))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Qn(p)),xo(p)}var Mt=b.ReactCurrentOwner,ei={key:!0,ref:!0,__self:!0,__source:!0},_o,So,j;j={};function D(p){if(Xe.call(p,"ref")){var z=Object.getOwnPropertyDescriptor(p,"ref").get;if(z&&z.isReactWarning)return!1}return p.ref!==void 0}function K(p){if(Xe.call(p,"key")){var z=Object.getOwnPropertyDescriptor(p,"key").get;if(z&&z.isReactWarning)return!1}return p.key!==void 0}function fe(p,z){if(typeof p.ref=="string"&&Mt.current&&z&&Mt.current.stateNode!==z){var R=B(Mt.current.type);j[R]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',B(Mt.current.type),p.ref),j[R]=!0)}}function Se(p,z){{var R=function(){_o||(_o=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};R.isReactWarning=!0,Object.defineProperty(p,"key",{get:R,configurable:!0})}}function ze(p,z){{var R=function(){So||(So=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};R.isReactWarning=!0,Object.defineProperty(p,"ref",{get:R,configurable:!0})}}var Ee=function(p,z,R,W,oe,ce,ee){var Z={$$typeof:r,type:p,key:z,ref:R,props:ee,_owner:ce};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:W}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function it(p,z,R,W,oe){{var ce,ee={},Z=null,Oe=null;R!==void 0&&(Bo(R),Z=""+R),K(z)&&(Bo(z.key),Z=""+z.key),D(z)&&(Oe=z.ref,fe(z,oe));for(ce in z)Xe.call(z,ce)&&!ei.hasOwnProperty(ce)&&(ee[ce]=z[ce]);if(p&&p.defaultProps){var be=p.defaultProps;for(ce in be)ee[ce]===void 0&&(ee[ce]=be[ce])}if(Z||Oe){var we=typeof p=="function"?p.displayName||p.name||"Unknown":p;Z&&Se(ee,we),Oe&&ze(ee,we)}return Ee(p,Z,Oe,oe,W,Mt.current,ee)}}var Te=b.ReactCurrentOwner,ac=b.ReactDebugCurrentFrame;function lr(p){if(p){var z=p._owner,R=He(p.type,p._source,z?z.type:null);ac.setExtraStackFrame(R)}else ac.setExtraStackFrame(null)}var ti;ti=!1;function ri(p){return typeof p=="object"&&p!==null&&p.$$typeof===r}function sc(){{if(Te.current){var p=B(Te.current.type);if(p)return`
14
14
 
15
- Check the render method of \``+p+"`."}return""}}function Mb(p){{if(p!==void 0){var z=p.fileName.replace(/^.*[\\\/]/,""),R=p.lineNumber;return`
15
+ Check the render method of \``+p+"`."}return""}}function G1(p){{if(p!==void 0){var z=p.fileName.replace(/^.*[\\\/]/,""),R=p.lineNumber;return`
16
16
 
17
- Check your code at `+z+":"+R+"."}return""}}var oc={};function Lb(p){{var z=rc();if(!z){var R=typeof p=="string"?p:p.displayName||p.name;R&&(z=`
17
+ Check your code at `+z+":"+R+"."}return""}}var lc={};function X1(p){{var z=sc();if(!z){var R=typeof p=="string"?p:p.displayName||p.name;R&&(z=`
18
18
 
19
- Check the top-level render call using <`+R+">.")}return z}}function nc(p,z){{if(!p._store||p._store.validated||p.key!=null)return;p._store.validated=!0;var R=Lb(z);if(oc[R])return;oc[R]=!0;var W="";p&&p._owner&&p._owner!==Te.current&&(W=" It was passed a child from "+B(p._owner.type)+"."),lr(p),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,W),lr(null)}}function ic(p,z){{if(typeof p!="object")return;if(Ar(p))for(var R=0;R<p.length;R++){var W=p[R];ti(W)&&nc(W,z)}else if(ti(p))p._store&&(p._store.validated=!0);else if(p){var oe=w(p);if(typeof oe=="function"&&oe!==p.entries)for(var ce=oe.call(p),ee;!(ee=ce.next()).done;)ti(ee.value)&&nc(ee.value,z)}}}function Hb(p){{var z=p.type;if(z==null||typeof z=="string")return;var R;if(typeof z=="function")R=z.propTypes;else if(typeof z=="object"&&(z.$$typeof===u||z.$$typeof===f))R=z.propTypes;else return;if(R){var W=B(z);Kn(R,p.props,"prop",W,p)}else if(z.PropTypes!==void 0&&!ei){ei=!0;var oe=B(z);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof z.getDefaultProps=="function"&&!z.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Vb(p){{for(var z=Object.keys(p.props),R=0;R<z.length;R++){var W=z[R];if(W!=="children"&&W!=="key"){lr(p),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W),lr(null);break}}p.ref!==null&&(lr(p),y("Invalid attribute `ref` supplied to `React.Fragment`."),lr(null))}}function ac(p,z,R,W,oe,ce){{var ee=V(p);if(!ee){var Z="";(p===void 0||typeof p=="object"&&p!==null&&Object.keys(p).length===0)&&(Z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var De=Mb(oe);De?Z+=De:Z+=rc();var be;p===null?be="null":Ar(p)?be="array":p!==void 0&&p.$$typeof===r?(be="<"+(B(p.type)||"Unknown")+" />",Z=" Did you accidentally export a JSX literal instead of a component?"):be=typeof p,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",be,Z)}var we=it(p,z,R,oe,ce);if(we==null)return we;if(ee){var Ke=z.children;if(Ke!==void 0)if(W)if(Ar(Ke)){for(var cr=0;cr<Ke.length;cr++)ic(Ke[cr],p);Object.freeze&&Object.freeze(Ke)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ic(Ke,p)}return p===n?Vb(we):Hb(we),we}}function $b(p,z,R){return ac(p,z,R,!0)}function Wb(p,z,R){return ac(p,z,R,!1)}var Ub=Wb,Gb=$b;ur.Fragment=n,ur.jsx=Ub,ur.jsxs=Gb}()),ur}var fr={};/**
19
+ Check the top-level render call using <`+R+">.")}return z}}function cc(p,z){{if(!p._store||p._store.validated||p.key!=null)return;p._store.validated=!0;var R=X1(z);if(lc[R])return;lc[R]=!0;var W="";p&&p._owner&&p._owner!==Te.current&&(W=" It was passed a child from "+B(p._owner.type)+"."),lr(p),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,W),lr(null)}}function uc(p,z){{if(typeof p!="object")return;if(Ar(p))for(var R=0;R<p.length;R++){var W=p[R];ri(W)&&cc(W,z)}else if(ri(p))p._store&&(p._store.validated=!0);else if(p){var oe=w(p);if(typeof oe=="function"&&oe!==p.entries)for(var ce=oe.call(p),ee;!(ee=ce.next()).done;)ri(ee.value)&&cc(ee.value,z)}}}function K1(p){{var z=p.type;if(z==null||typeof z=="string")return;var R;if(typeof z=="function")R=z.propTypes;else if(typeof z=="object"&&(z.$$typeof===u||z.$$typeof===f))R=z.propTypes;else return;if(R){var W=B(z);Zn(R,p.props,"prop",W,p)}else if(z.PropTypes!==void 0&&!ti){ti=!0;var oe=B(z);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof z.getDefaultProps=="function"&&!z.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Z1(p){{for(var z=Object.keys(p.props),R=0;R<z.length;R++){var W=z[R];if(W!=="children"&&W!=="key"){lr(p),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W),lr(null);break}}p.ref!==null&&(lr(p),y("Invalid attribute `ref` supplied to `React.Fragment`."),lr(null))}}function fc(p,z,R,W,oe,ce){{var ee=V(p);if(!ee){var Z="";(p===void 0||typeof p=="object"&&p!==null&&Object.keys(p).length===0)&&(Z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Oe=G1(oe);Oe?Z+=Oe:Z+=sc();var be;p===null?be="null":Ar(p)?be="array":p!==void 0&&p.$$typeof===r?(be="<"+(B(p.type)||"Unknown")+" />",Z=" Did you accidentally export a JSX literal instead of a component?"):be=typeof p,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",be,Z)}var we=it(p,z,R,oe,ce);if(we==null)return we;if(ee){var Ke=z.children;if(Ke!==void 0)if(W)if(Ar(Ke)){for(var cr=0;cr<Ke.length;cr++)uc(Ke[cr],p);Object.freeze&&Object.freeze(Ke)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else uc(Ke,p)}return p===n?Z1(we):K1(we),we}}function Y1(p,z,R){return fc(p,z,R,!0)}function Q1(p,z,R){return fc(p,z,R,!1)}var J1=Q1,e0=Y1;ur.Fragment=n,ur.jsx=J1,ur.jsxs=e0}()),ur}var fr={};/**
20
20
  * @license React
21
21
  * react-jsx-runtime.production.min.js
22
22
  *
@@ -24,115 +24,126 @@ Check the top-level render call using <`+R+">.")}return z}}function nc(p,z){{if(
24
24
  *
25
25
  * This source code is licensed under the MIT license found in the
26
26
  * LICENSE file in the root directory of this source tree.
27
- */var ni;function hc(){if(ni)return fr;ni=1;var e=gt,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(c,u,a){var l,f={},v=null,d=null;a!==void 0&&(v=""+a),u.key!==void 0&&(v=""+u.key),u.ref!==void 0&&(d=u.ref);for(l in u)n.call(u,l)&&!o.hasOwnProperty(l)&&(f[l]=u[l]);if(c&&c.defaultProps)for(l in u=c.defaultProps,u)f[l]===void 0&&(f[l]=u[l]);return{$$typeof:r,type:c,key:v,ref:d,props:f,_owner:i.current}}return fr.Fragment=t,fr.jsx=s,fr.jsxs=s,fr}process.env.NODE_ENV==="production"?Po.exports=hc():Po.exports=dc();var E=Po.exports;const vc=cc({__proto__:null,default:fc(E)},[E]),So=g.createContext({authProvider:{getAccessToken:async()=>{throw new Error("No auth provider available")}}}),Dr=()=>g.useContext(So),gc=e=>E.jsx(So.Provider,{value:{authProvider:e.authProvider},children:e.children});var ii=function(){function e(){}return e.splitToMaxLength=function(r,t){for(var n=[],i=0;i<r.length;)n.push(r.slice(i,i+t)),i+=t;return n},e.getSubMap=function(r,t){var n=new Map;return t.forEach(function(i){return n.set(i,r.get(i))}),n},e}(),ai=function(){function e(){}return e.prototype.get=function(r){return JSON.parse(localStorage.getItem(r))},e.prototype.set=function(r,t){localStorage.setItem(r,JSON.stringify(t))},e.prototype.remove=function(r){localStorage.removeItem(r)},e}();function pc(e,r){for(var t=e,n=0;n<r.length;n++)t=t.replace("{".concat(n,"}"),r[n]);return t}function si(e){var r=[],t=new Map;return function(n,i,o){var s=o.value;o.value=function(){for(var c=this,u=[],a=0;a<arguments.length;a++)u[a-0]=arguments[a];var l=pc(e,u);return new Promise(function(f,v){var d=t.get(l);if(!d)d=s.apply(c,u).then(function(m){return f(m),r.length===0&&t.delete(l),m}).catch(function(m){v(m),r.length===0&&t.delete(l)}),t.set(l,d);else{var h=new Promise(function(m,w){d.then(function(b){f(b),m(b),r.splice(r.indexOf(h),1),r.length===0&&t.delete(l)}).catch(function(b){v(b),w(b)})});r.push(h)}})}}}var li=function(){function e(){}return e.getTokenInfo=function(r){var t=atob(r.split(".")[1]);return JSON.parse(t)},e.isTokenValid=function(r){var t=e.getTokenInfo(r);return!(t.exp<new Date().getTime()/1e3)},e}(),Co=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},zo=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ci=function(){function e(){}return e.debounce=function(r,t,n){return n===void 0&&(n=100),Co(this,void 0,void 0,function(){var i=this;return zo(this,function(o){return e.registeredTimeouts.has(r)&&window.clearTimeout(e.registeredTimeouts.get(r)),[2,new Promise(function(s,c){return Co(i,void 0,void 0,function(){var u,a=this;return zo(this,function(l){return u=setTimeout(function(){return Co(a,void 0,void 0,function(){var f,v;return zo(this,function(d){switch(d.label){case 0:return d.trys.push([0,2,,3]),[4,t()];case 1:return f=d.sent(),e.registeredTimeouts.delete(r),s(f),[3,3];case 2:return v=d.sent(),e.registeredTimeouts.delete(r),c(v),[3,3];case 3:return[2]}})})},n),e.registeredTimeouts.set(r,u),[2]})})})]})})},e.registeredTimeouts=new Map,e}(),Lt=function(){return Lt=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Lt.apply(this,arguments)},ui=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},fi=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},di=function(){function e(r,t,n,i){i===void 0&&(i=0);var o=this;this.baseClient=r,this.registeredPromises=t,this.batch=n,this.retries=i,this.requestBatch=function(s,c){return c===void 0&&(c="beta"),ui(o,void 0,void 0,function(){var u,a,l;return fi(this,function(f){switch(f.label){case 0:return u={headers:{Accept:"application/json",ConsistencyLevel:"eventual","Content-Type":"application/json"},body:s},[4,this.baseClient.post("https://graph.microsoft.com/".concat(c,"/$batch"),u)];case 1:return a=f.sent(),a.ok?[4,a.json()]:[3,3];case 2:return l=f.sent(),[2,l];case 3:return[2]}})})}}return e.prototype.executeBatch=function(){return ui(this,void 0,void 0,function(){var r,t,n,i,o,s,c;return fi(this,function(u){switch(u.label){case 0:return r=this.batch.filter(function(a){return a.url.indexOf("v1.0/")<0}),t=this.batch.filter(function(a){return a.url.indexOf("v1.0/")>=0}),n=JSON.stringify({requests:r.map(function(a){return Lt(Lt({},a),{url:a.url.replace("beta/","")})})}),i=JSON.stringify({requests:t.map(function(a){return Lt(Lt({},a),{url:a.url.replace("v1.0/","")})})}),o=[],r.length>0?[4,this.requestBatch(n)]:[3,2];case 1:s=u.sent(),o.push.apply(o,s.responses),u.label=2;case 2:return t.length>0?[4,this.requestBatch(i,"v1.0")]:[3,4];case 3:c=u.sent(),o.push.apply(o,c.responses),u.label=4;case 4:return this.processBatchResponse(o),this.batch.length>0&&this.retries>0&&(this.retries--,this.executeBatch()),[2]}})})},e.prototype.processBatchResponse=function(r){var t=this,n=[],i=new Map;this.registeredPromises.forEach(function(o,s){var c=r.filter(function(u){return u.id===s})[0];c&&c.status===429&&t.retries>0?(n.push({url:s,id:s,method:"GET"}),i.set(s,o)):t.handleSingleResponse(c,o)}),n.length>0?(this.registeredPromises=i,this.batch=n):(this.batch=[],this.registeredPromises.clear())},e.prototype.handleSingleResponse=function(r,t){r?t.forEach(function(n){n.resolve({json:function(){return Promise.resolve(r.body)},ok:r.status===200,status:r.status,text:function(){return Promise.resolve(JSON.stringify(r.body))},headers:r.headers})}):t.forEach(function(n){n.error({json:function(){return Promise.resolve(r)},ok:!1,text:function(){return Promise.resolve(JSON.stringify(r))}})})},e.maxRetries=5,e}(),To=function(){return To=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},To.apply(this,arguments)},mc=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},bc=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},yc=function(e,r,t){if(t||arguments.length===2)for(var n=0,i=r.length,o;n<i;n++)(o||!(n in r))&&(o||(o=Array.prototype.slice.call(r,0,n)),o[n]=r[n]);return e.concat(o||Array.prototype.slice.call(r))},wc=function(){function e(r,t,n){t===void 0&&(t=500),n===void 0&&(n=15);var i=this;this.baseClient=r,this.batchWaitTime=t,this.batchSplitThreshold=n,this.batch=[],this.getRequestId=function(o,s){return s==="GET"?encodeURIComponent(o):Math.random().toString(36).substring(7)},this.registeredPromises=new Map,this.generateBatch=function(){return mc(i,void 0,void 0,function(){var o,s,c,u,a,l,f,v;return bc(this,function(d){switch(d.label){case 0:o=yc([],this.batch,!0),this.batch=[],s=new Map(this.registeredPromises),this.registeredPromises.clear(),c=ii.splitToMaxLength(o,this.batchSplitThreshold),u=0,a=c,d.label=1;case 1:return u<a.length?(l=a[u],f=ii.getSubMap(s,l.map(function(h){return h.id})),v=new di(this.baseClient,f,l,di.maxRetries),[4,v.executeBatch()]):[3,4];case 2:d.sent(),d.label=3;case 3:return u++,[3,1];case 4:return[2]}})})},this.createGetBatchRequest=function(o,s,c,u){i.batch.length===0&&setTimeout(i.generateBatch,i.batchWaitTime);var a=i.getRequestId(o,s),l=new URL(o,"https://graph.microsoft.com"),f=l.pathname+l.search;i.batch.filter(function(v){return v.id===a})[0]?i.registeredPromises.get(a).push(u):(i.batch.push({url:f,id:a,method:s,body:c&&c.body?JSON.parse(c.body):null,headers:To({ConsistencyLevel:"eventual"},c?c.headers:{})}),i.registeredPromises.set(a,[u]))}}return e.prototype.get=function(r,t){var n=this;return new Promise(function(i,o){n.createGetBatchRequest(r,"GET",t,{resolve:i,error:o})})},e.prototype.post=function(r,t){var n=this;return new Promise(function(i,o){n.createGetBatchRequest(r,"POST",t,{resolve:i,error:o})})},e.prototype.patch=function(r,t){return this.baseClient.patch(r,t)},e.prototype.put=function(r,t){return this.baseClient.put(r,t)},e.prototype.delete=function(r,t){return this.baseClient.delete(r,t)},e}(),Ht=function(){return Ht=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Ht.apply(this,arguments)},_t=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},Pt=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},No=function(){function e(r,t){this.authService=r,this.baseClient=t,this.resourceUri="https://graph.microsoft.com"}return e.prototype.get=function(r,t){return _t(this,void 0,void 0,function(){var n;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return n=i.sent(),[2,this.baseClient.get(r,n)]}})})},e.prototype.post=function(r,t){return _t(this,void 0,void 0,function(){var n;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return n=i.sent(),[2,this.baseClient.post(r,n)]}})})},e.prototype.patch=function(r,t){return _t(this,void 0,void 0,function(){var n;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return n=i.sent(),[2,this.baseClient.patch(r,n)]}})})},e.prototype.put=function(r,t){return _t(this,void 0,void 0,function(){var n;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return n=i.sent(),[2,this.baseClient.put(r,n)]}})})},e.prototype.delete=function(r,t){return _t(this,void 0,void 0,function(){var n;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest({})];case 1:return n=i.sent(),[2,this.baseClient.delete(r,n)]}})})},e.prototype.prepareRequest=function(r){return _t(this,void 0,void 0,function(){var t,n,i,o;return Pt(this,function(s){switch(s.label){case 0:return t=[Ht({},r)],i={},n=[Ht({},r==null?void 0:r.headers)],o={},[4,this.getAuthHeader()];case 1:return[2,Ht.apply(void 0,t.concat([(i.headers=Ht.apply(void 0,n.concat([(o.Authorization=s.sent(),o)])),i)]))]}})})},e.prototype.getAuthHeader=function(){return _t(this,void 0,void 0,function(){var r;return Pt(this,function(t){switch(t.label){case 0:return[4,this.authService.getAccessToken(this.resourceUri)];case 1:return r=t.sent(),[2,"Bearer ".concat(r)]}})})},e}(),St=function(){return St=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},St.apply(this,arguments)},Vt=function(){function e(r){this.baseUrl=r}return e.prototype.buildUrl=function(r){return r.startsWith("http")||!this.baseUrl?r:this.baseUrl+r},e.prototype.get=function(r,t){return fetch(this.buildUrl(r),St({method:"GET"},t))},e.prototype.post=function(r,t){return fetch(this.buildUrl(r),St({method:"POST"},t))},e.prototype.patch=function(r,t){return fetch(this.buildUrl(r),St({method:"PATCH"},t))},e.prototype.put=function(r,t){return fetch(this.buildUrl(r),St({method:"PUT"},t))},e.prototype.delete=function(r,t){return fetch(this.buildUrl(r),St({method:"DELETE"},t))},e}(),kc=function(){var e=function(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)};return"".concat(e()).concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e()).concat(e()).concat(e())},hi=function(e){for(var r="",t=0;t<e;t++){var n=Math.floor(Math.random()*26)+(Math.random()<.5?65:97);r+=String.fromCharCode(n)}return r},vi=function(){return vi=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},vi.apply(this,arguments)},dr=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},hr=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},xc=function(){function e(r,t,n){n===void 0&&(n=!1),this.graphClient=r,this.resourceQuery=t,this.skipCountCheck=n,this.filterQuery="",this.orderQuery="",this.nextPageLink="",this.previousPages=[],this.previousPageIndex=-1,this.pageSize=25,this.allItemsCount=-1}return e.prototype.getAllItemsCount=function(){return dr(this,void 0,void 0,function(){var r,t,n,i;return hr(this,function(o){switch(o.label){case 0:return this.skipCountCheck?[2,-1]:(r=this.getQuery(),t="".concat(this.resourceQuery,"/$count"),this.getQuery()&&(t+="?$filter=".concat(r)),[4,this.graphClient.get(t)]);case 1:return n=o.sent(),n.ok?(i=parseInt,[4,n.text()]):[3,3];case 2:return[2,i.apply(void 0,[o.sent(),10])];case 3:return[2]}})})},e.prototype.getData=function(){return dr(this,void 0,void 0,function(){var r,t,n;return hr(this,function(i){switch(i.label){case 0:return[4,Promise.all([this.callGraphAPI(this.buildInitialQuery()),this.getAllItemsCount()])];case 1:return r=i.sent(),t=r[0],n=r[1],this.allItemsCount=n,[2,t]}})})},e.prototype.buildInitialQuery=function(){var r=this.getQuery(),t="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(t+="&$orderBy=".concat(this.orderQuery)),r&&(t+="&$filter=".concat(r)),t},e.prototype.callGraphAPI=function(r){return dr(this,void 0,void 0,function(){var t,n,i,o;return hr(this,function(s){switch(s.label){case 0:return[4,this.graphClient.get(r)];case 1:return t=s.sent(),t.ok?[4,t.json()]:[3,3];case 2:return n=s.sent(),i=n.value,this.nextPageLink=n["@odata.nextLink"],[2,i];case 3:return o=Error.bind,[4,t.text()];case 4:throw new(o.apply(Error,[void 0,s.sent()]))}})})},e.prototype.setQuery=function(r){this.filterQuery=r},e.prototype.getQuery=function(){return this.filterQuery},e.prototype.setOrder=function(r,t){this.orderQuery="".concat(r," ").concat(t.toLocaleLowerCase())},e.prototype.getNextPage=function(){return dr(this,void 0,void 0,function(){return hr(this,function(r){return this.isNextPageAvailable()?(this.previousPageIndex++,this.previousPages.push(this.nextPageLink),[2,this.callGraphAPI(this.nextPageLink)]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return!!this.nextPageLink},e.prototype.getPreviousPage=function(){return dr(this,void 0,void 0,function(){var r,t;return hr(this,function(n){switch(n.label){case 0:return this.isPreviousPageAvailable()?(r=this.previousPages[this.previousPageIndex],[4,this.callGraphAPI(r)]):[2,[]];case 1:return t=n.sent(),this.previousPageIndex--,[2,t]}})})},e.prototype.isPreviousPageAvailable=function(){return this.previousPageIndex>=0&&!!this.previousPages[this.previousPageIndex]},e.prototype.getCurrentPage=function(){return this.previousPageIndex+1},e}(),pt=function(){return pt=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},pt.apply(this,arguments)},Or=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},Ir=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},gi=function(){function e(r,t,n){t===void 0&&(t=["listItem"]),n===void 0&&(n=["id","title","url"]),this.graphClient=r,this.entityTypes=t,this.selectFields=n,this.currentPage=0,this.pageSize=25,this.allItemsCount=-1,this.graphSearchEndpoint="https://graph.microsoft.com/beta/search/query"}return e.prototype.setRefiners=function(r){this.requestedRefiners=r||[]},e.prototype.applyRefiners=function(r){this.filters=r||void 0},e.prototype.buildSearchRequest=function(){var r,t={requests:[{entityTypes:this.entityTypes,from:this.currentPage*this.pageSize,to:(this.currentPage+1)*this.pageSize,query:null,sortProperties:null,fields:null,aggregations:this.requestedRefiners,aggregationFilters:((r=this.filters)===null||r===void 0?void 0:r.map(function(n){return"".concat(n.field,":").concat(n.filterValue)}))||void 0,size:this.pageSize}]};return this.getQuery()?(t.requests[0].query={queryString:this.getQuery()},this.queryTemplate&&(t.requests[0].query.queryTemplate=this.queryTemplate)):(t.requests[0].query={queryString:"*"},this.queryTemplate&&(t.requests[0].query.queryTemplate=this.queryTemplate)),this.orderColumn&&(t.requests[0].sortProperties=[{name:this.orderColumn,isDescending:this.isDescending}]),this.selectFields&&this.selectFields.length>0&&(t.requests[0].fields=this.selectFields),t},e.prototype.callForData=function(){return Or(this,void 0,void 0,function(){var r,t,n,i;return Ir(this,function(o){switch(o.label){case 0:return[4,this.graphClient.post(this.graphSearchEndpoint,{body:JSON.stringify(this.buildSearchRequest()),headers:{accept:"application/json","content-type":"application/json"}})];case 1:return r=o.sent(),r.ok?[4,r.json()]:[3,3];case 2:return t=o.sent(),n=t.value[0].hitsContainers[0],this.allItemsCount=n.total,this.parseAggregations(n),this.allItemsCount>0?[2,n.hits.map(function(s){return pt(pt({},s.resource),{type:s.resource["@odata.type"],hitResourceIdId:s.resource.id,hitId:s.hitId,hitRank:s.rank,hitHighlights:s.highlights,hitSummary:s.summary})})]:[2,[]];case 3:return i=Error.bind,[4,r.text()];case 4:throw new(i.apply(Error,[void 0,o.sent()]))}})})},e.prototype.getData=function(){return Or(this,void 0,void 0,function(){return Ir(this,function(r){return this.currentPage=0,[2,this.callForData()]})})},e.prototype.parseAggregations=function(r){try{this.currentAggregations=r.aggregations.map(function(t){return pt(pt({},t),{buckets:t.buckets.map(function(n){return pt(pt({},n),{value:n.value,count:n.count})})})})}catch{this.currentAggregations=[]}},e.prototype.setQuery=function(r){this.query=r},e.prototype.getQuery=function(){return this.query},e.prototype.setOrder=function(r,t){this.orderColumn=r,this.isDescending=t==="DESC"},e.prototype.getNextPage=function(){return Or(this,void 0,void 0,function(){return Ir(this,function(r){return this.isNextPageAvailable()?(this.currentPage++,[2,this.callForData()]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return(this.currentPage+1)*this.pageSize<this.allItemsCount},e.prototype.getPreviousPage=function(){return Or(this,void 0,void 0,function(){return Ir(this,function(r){return this.isPreviousPageAvailable()?(this.currentPage--,[2,this.callForData()]):[2,[]]})})},e.prototype.isPreviousPageAvailable=function(){return this.currentPage>0},e.prototype.getCurrentPage=function(){return this.currentPage},e.prototype.jumpToAPage=function(r){return this.currentPage=r,this.callForData()},e}(),Bc=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Eo=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},jo=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},_c=function(e){Bc(r,e);function r(t,n,i){n===void 0&&(n=!0),i===void 0&&(i=!0);var o=e.call(this,t,"https://graph.microsoft.com/v1.0/me/people",!0)||this;return o.loadPresence=n,o.loadPhoto=i,o.personTypeClass="Person",o.pageSize=7,o}return r.prototype.callGraphAPI=function(t){return Eo(this,void 0,void 0,function(){var n,i;return jo(this,function(o){switch(o.label){case 0:return[4,e.prototype.callGraphAPI.call(this,t)];case 1:return n=o.sent(),i=[],this.loadPresence&&i.push.apply(i,n.map(this.appendPresence.bind(this))),this.loadPhoto&&i.push.apply(i,n.map(this.appendPhoto.bind(this))),i.length>0?[4,Promise.all(i)]:[3,3];case 2:o.sent(),o.label=3;case 3:return[2,n]}})})},r.prototype.appendPresence=function(t){return Eo(this,void 0,void 0,function(){var n,i;return jo(this,function(o){switch(o.label){case 0:return[4,this.graphClient.get("v1.0/users/".concat(t.id,"/presence"))];case 1:return n=o.sent(),n.ok?(i=t,[4,n.json()]):[3,3];case 2:i.presence=o.sent(),o.label=3;case 3:return[2]}})})},r.prototype.appendPhoto=function(t){return Eo(this,void 0,void 0,function(){var n,i;return jo(this,function(o){switch(o.label){case 0:return[4,this.graphClient.get("/v1.0/users/".concat(t.id,"/photo/$value"))];case 1:return n=o.sent(),n.ok?(i=t,[4,n.text()]):[3,3];case 2:i.photo=o.sent(),o.label=3;case 3:return[2]}})})},r.prototype.buildInitialQuery=function(){var t=this.getQuery(),n="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(n+="&$orderBy=".concat(this.orderQuery)),t&&(n+="&$search=".concat(t)),this.personTypeClass&&(n+="&$filter=personType/class eq '".concat(this.personTypeClass,"'")),n},r}(xc),Pc=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},Sc=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Cc=function(){function e(r,t,n,i,o){i===void 0&&(i=""),o===void 0&&(o=12),this.graphClient=r,this.dataSource=t,this.resourceMetadata=n,this.filterExpresssion=i,this.maximumNumberOfResults=o}return e.prototype.getData=function(r){return Pc(this,void 0,void 0,function(){var t,n;return Sc(this,function(i){switch(i.label){case 0:return[4,this.graphClient.post("https://graph.microsoft.com/beta/copilot/retrieval",{headers:{accept:"application/json","content-type":"application/json"},body:JSON.stringify({queryString:r,dataSource:this.dataSource,resourceMetadata:this.resourceMetadata,maximumNumberOfResults:this.maximumNumberOfResults,filterExpresssion:this.filterExpresssion})})];case 1:if(t=i.sent(),!t.ok)throw new Error(t.statusText);return[4,t.json()];case 2:return n=i.sent(),[2,n.retrievalHits]}})})},e}(),zc=function(e,r,t,n){var i=arguments.length,o=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,r,t,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(o=(i<3?s(o):i>3?s(r,t,o):s(r,t))||o);return i>3&&o&&Object.defineProperty(r,t,o),o},vr=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},gr=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};(function(){function e(r,t){t===void 0&&(t=!0);var n=this;this.config=r,this.usePopup=t,this.resourceTokenMap=new Map,this.resourceScopeMap=new Map,this.cacheService=new ai,this.getCodeFromLoginWindow=function(i,o){try{var s=new URLSearchParams(i==null?void 0:i.location.search),c=s.get("code");c?(o(c),i.close()):i&&setTimeout(function(){return n.getCodeFromLoginWindow(i,o)})}catch{i&&setTimeout(function(){return n.getCodeFromLoginWindow(i,o)},1e3)}},this.config.tenantId=r.tenantId||"common",this.config.redirectUri=r.redirectUri||window.location.origin,this.getCodeVerifier(),this.state=hi(108)}return e.prototype.getCodeVerifier=function(){this.cacheService.get("msal.codeVerifier")?this.codeVerifier=this.cacheService.get("msal.codeVerifier"):this.codeVerifier=hi(43)},e.prototype.buildLoginUrl=function(r){var t=new URL("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/authorize"));return t.searchParams.append("client_id",this.config.clientId),t.searchParams.append("scope","".concat(r,"/.default openid profile offline_access")),t.searchParams.append("redirect_uri",this.config.redirectUri),t.searchParams.append("client-request-id",kc()),t.searchParams.append("response_mode","query"),t.searchParams.append("response_type","code"),t.searchParams.append("code_challenge",this.codeVerifier),t.searchParams.append("code_challenge_method","plain"),t.searchParams.append("prompt","select_account"),t.searchParams.append("client_info","1"),t.searchParams.append("nonce","8a9afd0b-47f6-4678-9289-1b1bf5bfa20f"),t.searchParams.append("state",this.state),t.toString()},e.prototype.loginUser=function(r){return vr(this,void 0,void 0,function(){var t,n,i,o,s,c,u,a=this;return gr(this,function(l){switch(l.label){case 0:return t=this.buildLoginUrl(r),n="",this.usePopup?(i=window.open(t,"login","width=600,height=600"),i?[4,new Promise(function(f,v){return a.getCodeFromLoginWindow(i,function(d){n=d,f()})})]:[3,2]):[3,3];case 1:l.sent(),l.label=2;case 2:return[3,4];case 3:if(o=new URLSearchParams(window.location.search),s=o.get("code"),c=o.get("error"),s)return this.cacheService.remove("msal.codeVerifier"),n=s,u=new URL(window.location.href),u.searchParams.delete("code"),u.searchParams.delete("state"),u.searchParams.delete("error"),u.searchParams.delete("client_info"),u.searchParams.delete("expires_in"),u.searchParams.delete("ext_expires_in"),u.searchParams.delete("session_state"),window.history.replaceState({},"",u.toString()),[2,n];if(c)throw u.searchParams.delete("error"),new Error(c);this.cacheService.set("msal.codeVerifier",this.codeVerifier),window.location.href=t,l.label=4;case 4:return[2,n]}})})},e.prototype.getAccessTokenFromCode=function(r,t){return vr(this,void 0,void 0,function(){var n,i,o,s,c;return gr(this,function(u){switch(u.label){case 0:return[4,fetch("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",accept:"application/json"},body:new URLSearchParams({client_id:this.config.clientId,scope:"".concat(r,"/.default openid profile offline_access"),redirect_uri:this.config.redirectUri,grant_type:"authorization_code",code:t,code_verifier:this.codeVerifier})})];case 1:return n=u.sent(),n.ok?[4,n.json()]:[3,3];case 2:return i=u.sent(),[2,i];case 3:return s=(o=console).log,c=["Unable to get access token from code",n.status,n.statusText],[4,n.text()];case 4:throw s.apply(o,c.concat([u.sent()])),new Error("Unable to get access token from code")}})})},e.prototype.getAccessTokenFromRefreshToken=function(r,t){return vr(this,void 0,void 0,function(){var n,i,o,s;return gr(this,function(c){switch(c.label){case 0:return[4,fetch("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",accept:"application/json"},body:new URLSearchParams({client_id:this.config.clientId,scope:"".concat(r,"/.default openid profile offline_access"),grant_type:"refresh_token",refresh_token:t})})];case 1:return n=c.sent(),n.ok?[4,n.json()]:[3,3];case 2:return i=c.sent(),[2,i];case 3:return c.trys.push([3,5,,7]),[4,n.json()];case 4:return o=c.sent(),o.error_codes&&o.error_codes.length>0&&o.error_codes[0]===700084&&(this.cacheService.remove("msal.".concat(this.config.clientId,".").concat(r,".authResult")),this.resourceTokenMap.has(r)&&this.resourceTokenMap.delete(r)),[2,this.getAuthResult(r)];case 5:return c.sent(),[4,n.text()];case 6:throw s=c.sent(),new Error(s);case 7:return[2]}})})},e.prototype.getAuthResult=function(r){return vr(this,void 0,void 0,function(){var t,n;return gr(this,function(i){switch(i.label){case 0:if(t=this.cacheService.get("msal.".concat(this.config.clientId,".").concat(r,".authResult")),!t)return[3,2];try{if(li.isTokenValid(t.access_token))return[2,t]}catch{console.log("Unable to verify token validity")}return t.refresh_token?[4,this.getAccessTokenFromRefreshToken(r,t.refresh_token)]:[3,2];case 1:return t=i.sent(),this.resourceTokenMap.set(r,t.access_token),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(r,".authResult"),t),[2,t];case 2:return[4,this.loginUser(r)];case 3:return n=i.sent(),[4,this.getAccessTokenFromCode(r,n)];case 4:return t=i.sent(),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(r,".authResult"),t),this.resourceTokenMap.set(r,t.access_token),[2,t]}})})},e.prototype.getAccessToken=function(r){return vr(this,void 0,void 0,function(){var t,n;return gr(this,function(i){switch(i.label){case 0:return t=this.resourceTokenMap.get(r),t&&li.isTokenValid(t)?[2,t]:[4,this.getAuthResult(r)];case 1:return n=i.sent(),[2,n.access_token]}})})},zc([si("msal-access-token-{0}")],e.prototype,"getAccessToken",null),e})();var pi=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},mi=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},$t={emptyMask:0,viewListItems:1,addListItems:2,editListItems:3,deleteListItems:4,approveItems:5,openItems:6,viewVersions:7,deleteVersions:8,cancelCheckout:9,managePersonalViews:10,manageLists:12,viewFormPages:13,anonymousSearchAccessList:14,open:17,viewPages:18,addAndCustomizePages:19,applyThemeAndBorder:20,applyStyleSheets:21,viewUsageData:22,createSSCSite:23,manageSubwebs:24,createGroups:25,managePermissions:26,browseDirectories:27,browseUserInfo:28,addDelPrivateWebParts:29,updatePersonalWebParts:30,manageWeb:31,anonymousSearchAccessWebLists:32,useClientIntegration:37,useRemoteAPIs:38,manageAlerts:39,createAlerts:40,editMyUserInfo:41,enumeratePermissions:63,fullMask:65},Tc=function(){function e(r,t){this.spHttpClient=r,this.siteUrl=t}return e.hasPermission=function(r,t){if(t===65)return(r.High&32767)===32767&&r.Low===65535;var n=t-1,i=1;return n>0&&n<32?(i=i<<n,(r.Low&i)!==0):n>=32&&n<64?(i=i<<n-32,(r.High&i)!==0):!1},e.prototype.checkUserPermissions=function(r,t){return pi(this,void 0,void 0,function(){var n,i,o,s,c,u;return mi(this,function(a){switch(a.label){case 0:return n="".concat(this.siteUrl,"/_api/web").concat(t||"","/getUserEffectivePermissions('").concat(encodeURIComponent("i:0#.f|membership|"+r),"')"),[4,this.spHttpClient.get(n,{headers:{accept:"application/json"}})];case 1:return i=a.sent(),[4,i.json()];case 2:o=a.sent(),s=[];for(c in $t)u=e.hasPermission(o,$t[c]),u&&s.push(c);return[2,s]}})})},e.prototype.checkCurrentUserPermissions=function(r){return pi(this,void 0,void 0,function(){var t,n,i,o,s,c;return mi(this,function(u){switch(u.label){case 0:return t="".concat(this.siteUrl,"/_api/web/").concat(r,"/EffectiveBasePermission"),[4,this.spHttpClient.get(t,{headers:{accept:"application/json"}})];case 1:return n=u.sent(),[4,n.json()];case 2:i=u.sent(),o=[];for(s in $t)c=e.hasPermission(i,$t[s]),c&&o.push(s);return[2,o]}})})},e}();const Ro=g.createContext({graphClient:new Vt}),Ze=()=>g.useContext(Ro),Nc=e=>{const{authProvider:r}=Dr(),t=()=>{if(e.graphClient)return e.graphClient;if(r)return new wc(new No(r,new Vt))},[n,i]=g.useState(t());return g.useEffect(()=>{i(t())},[e.graphClient,r]),n&&E.jsx(Ro.Provider,{value:{graphClient:n},children:e.children})},Fo=g.createContext({spClient:new Vt,siteUrl:""}),bi=()=>g.useContext(Fo),Ec=e=>{const{authProvider:r}=Dr(),t=()=>{if(e.spClient)return e.spClient;if(r){let o=new No(r,new Vt);return o.resourceUri=new URL(e.siteUrl).origin,o}},[n,i]=g.useState(t());return g.useEffect(()=>{i(t())},[e.spClient,r]),n&&E.jsx(Fo.Provider,{value:{spClient:n,siteUrl:e.siteUrl},children:e.children})},qo=g.createContext({dataverseClient:new Vt}),jc=()=>g.useContext(qo),Rc=e=>{const{authProvider:r}=Dr(),t=()=>{if(e.dataverseClient)return e.dataverseClient;if(r){let o=new No(r,new Vt);return o.resourceUri=e.dataverseResource,o}},[n,i]=g.useState(t());return g.useEffect(()=>{i(t())},[e.dataverseClient,r]),n&&E.jsx(qo.Provider,{value:{dataverseClient:n,dataverseResource:e.dataverseResource},children:e.children})},Fc=["Top","Right","Bottom","Left"];function pr(e,r,...t){const[n,i=n,o=n,s=i]=t,c=[n,i,o,s],u={};for(let a=0;a<c.length;a+=1)if(c[a]||c[a]===0){const l=e+Fc[a]+r;u[l]=c[a]}return u}function Ao(...e){return pr("border","Width",...e)}function Do(...e){return pr("border","Style",...e)}function Oo(...e){return pr("border","Color",...e)}const qc=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function mr(e){return qc.includes(e)}function Ac(...e){return mr(e[0])?{...Do(e[0]),...e[1]&&Ao(e[1]),...e[2]&&Oo(e[2])}:{...Ao(e[0]),...e[1]&&Do(e[1]),...e[2]&&Oo(e[2])}}function Dc(...e){return mr(e[0])?{borderLeftStyle:e[0],...e[1]&&{borderLeftWidth:e[1]},...e[2]&&{borderLeftColor:e[2]}}:{borderLeftWidth:e[0],...e[1]&&{borderLeftStyle:e[1]},...e[2]&&{borderLeftColor:e[2]}}}function Oc(...e){return mr(e[0])?{borderBottomStyle:e[0],...e[1]&&{borderBottomWidth:e[1]},...e[2]&&{borderBottomColor:e[2]}}:{borderBottomWidth:e[0],...e[1]&&{borderBottomStyle:e[1]},...e[2]&&{borderBottomColor:e[2]}}}function Ic(...e){return mr(e[0])?{borderRightStyle:e[0],...e[1]&&{borderRightWidth:e[1]},...e[2]&&{borderRightColor:e[2]}}:{borderRightWidth:e[0],...e[1]&&{borderRightStyle:e[1]},...e[2]&&{borderRightColor:e[2]}}}function Mc(...e){return mr(e[0])?{borderTopStyle:e[0],...e[1]&&{borderTopWidth:e[1]},...e[2]&&{borderTopColor:e[2]}}:{borderTopWidth:e[0],...e[1]&&{borderTopStyle:e[1]},...e[2]&&{borderTopColor:e[2]}}}function Lc(e,r=e,t=e,n=r){return{borderBottomRightRadius:t,borderBottomLeftRadius:n,borderTopRightRadius:r,borderTopLeftRadius:e}}const Hc=e=>typeof e=="string"&&/(\d+(\w+|%))/.test(e),Mr=e=>typeof e=="number"&&!Number.isNaN(e),Vc=e=>e==="initial",yi=e=>e==="auto",$c=e=>e==="none",Wc=["content","fit-content","max-content","min-content"],Io=e=>Wc.some(r=>e===r)||Hc(e);function Uc(...e){const r=e.length===1,t=e.length===2,n=e.length===3;if(r){const[i]=e;if(Vc(i))return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(yi(i))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if($c(i))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(Mr(i))return{flexGrow:i,flexShrink:1,flexBasis:0};if(Io(i))return{flexGrow:1,flexShrink:1,flexBasis:i}}if(t){const[i,o]=e;if(Mr(o))return{flexGrow:i,flexShrink:o,flexBasis:0};if(Io(o))return{flexGrow:i,flexShrink:1,flexBasis:o}}if(n){const[i,o,s]=e;if(Mr(i)&&Mr(o)&&(yi(s)||Io(s)))return{flexGrow:i,flexShrink:o,flexBasis:s}}return process.env.NODE_ENV!=="production"&&console.error("The value passed to shorthands.flex did not match any flex property specs. The CSS styles were not generated. Please, check the flex documentation."),{}}function Gc(e,r=e){return{columnGap:e,rowGap:r}}const Xc=/var\(.*\)/gi;function Kc(e){return e===void 0||typeof e=="number"||typeof e=="string"&&!Xc.test(e)}const Zc=/^[a-zA-Z0-9\-_\\#;]+$/,Yc=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function Mo(e){return e!==void 0&&typeof e=="string"&&Zc.test(e)&&!Yc.test(e)}function Qc(...e){if(e.some(o=>!Kc(o)))return process.env.NODE_ENV!=="production"&&console.error("The value passed to shorthands.gridArea() did not match any gridArea property specs. The CSS styles were not generated. Please, check the gridArea documentation.",["The value passed to shorthands.gridArea() did not match any gridArea property specs. ",`The CSS styles were not generated.
28
- `,"Please, check the `grid-area` documentation:\n","- https://developer.mozilla.org/docs/Web/CSS/grid-area","- https://griffel.js.org/react/api/shorthands#shorthandsgridarea"].join("")),{};const r=e[0]!==void 0?e[0]:"auto",t=e[1]!==void 0?e[1]:Mo(r)?r:"auto",n=e[2]!==void 0?e[2]:Mo(r)?r:"auto",i=e[3]!==void 0?e[3]:Mo(t)?t:"auto";return{gridRowStart:r,gridColumnStart:t,gridRowEnd:n,gridColumnEnd:i}}function Jc(...e){return pr("margin","",...e)}function eu(e,r=e){return{marginBlockStart:e,marginBlockEnd:r}}function tu(e,r=e){return{marginInlineStart:e,marginInlineEnd:r}}function ru(...e){return pr("padding","",...e)}function ou(e,r=e){return{paddingBlockStart:e,paddingBlockEnd:r}}function nu(e,r=e){return{paddingInlineStart:e,paddingInlineEnd:r}}function iu(e,r=e){return{overflowX:e,overflowY:r}}function au(...e){const[r,t=r,n=r,i=t]=e;return{top:r,right:t,bottom:n,left:i}}function su(e,r,t){return{outlineWidth:e,...r&&{outlineStyle:r},...t&&{outlineColor:t}}}function lu(...e){return uu(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:fu(e).reduce((t,[n,i="0s",o="0s",s="ease"],c)=>(c===0?(t.transitionProperty=n,t.transitionDuration=i,t.transitionDelay=o,t.transitionTimingFunction=s):(t.transitionProperty+=`, ${n}`,t.transitionDuration+=`, ${i}`,t.transitionDelay+=`, ${o}`,t.transitionTimingFunction+=`, ${s}`),t),{})}const cu=["-moz-initial","inherit","initial","revert","unset"];function uu(e){return e.length===1&&cu.includes(e[0])}function fu(e){return e.length===1&&Array.isArray(e[0])?e[0]:[e]}function du(e,...r){if(r.length===0)return vu(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[t,n,i]=r;return{textDecorationLine:e,...t&&{textDecorationStyle:t},...n&&{textDecorationColor:n},...i&&{textDecorationThickness:i}}}const hu=["dashed","dotted","double","solid","wavy"];function vu(e){return hu.includes(e)}const Lo=typeof window>"u"?global:window,Ho="@griffel/";function wi(e,r){return Lo[Symbol.for(Ho+e)]||(Lo[Symbol.for(Ho+e)]=r),Lo[Symbol.for(Ho+e)]}const ki=wi("DEBUG_RESET_CLASSES",{}),br=wi("DEFINITION_LOOKUP_TABLE",{}),Lr="data-make-styles-bucket",Vo="f",gu="r",yr=7,et="___",xi="_",Bi=process.env.NODE_ENV==="production"?et.length+yr:et.length+yr+xi.length+yr,pu=0,_i=1,mu={all:1,animation:1,background:1,backgroundPosition:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderBottom:1,borderColor:1,borderImage:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1,borderLeft:1,borderRadius:1,borderRight:1,borderStyle:1,borderTop:1,borderWidth:1,caret:1,columns:1,columnRule:1,containIntrinsicSize:1,container:1,flex:1,flexFlow:1,font:1,gap:1,grid:1,gridArea:1,gridColumn:1,gridRow:1,gridTemplate:1,inset:1,insetBlock:1,insetInline:1,lineClamp:1,listStyle:1,margin:1,marginBlock:1,marginInline:1,mask:1,maskBorder:1,motion:1,offset:1,outline:1,overflow:1,overscrollBehavior:1,padding:1,paddingBlock:1,paddingInline:1,placeItems:1,placeContent:1,placeSelf:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginInline:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingInline:1,scrollSnapMargin:1,scrollTimeline:1,textDecoration:1,textEmphasis:1,transition:1};function Ct(e){for(var r=0,t,n=0,i=e.length;i>=4;++n,i-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function $o(e){const r=e.length;if(r===yr)return e;for(let t=r;t<yr;t++)e+="0";return e}function Pi(e,r,t=[]){return process.env.NODE_ENV==="production"?et+$o(Ct(e+r)):et+$o(Ct(e+r))+xi+$o(Ct(t.join("")))}function Si(e,r){let t="";for(const n in e){const i=e[n];if(i){const o=Array.isArray(i);r==="rtl"?t+=(o?i[1]:i)+" ":t+=(o?i[0]:i)+" "}}return t.slice(0,-1)}function Hr(e,r){const t={};for(const n in e){const i=Si(e[n],r);if(i===""){t[n]="";continue}const o=Pi(i,r),s=o+" "+i;br[o]=[e[n],r],t[n]=s}return t}const Vr={};function D(){let e=null,r="",t="";const n=new Array(arguments.length);let i="";for(let l=0;l<arguments.length;l++){const f=arguments[l];if(typeof f=="string"&&f!==""){const v=f.indexOf(et);if(v===-1)process.env.NODE_ENV!=="production"&&f.split(" ").forEach(d=>{d.startsWith(gu)&&ki[d]&&(i?console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${f} & ${r}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
29
- Source string: ${f}`):i=d)}),r+=f+" ";else{const d=f.substr(v,Bi);v>0&&(r+=f.slice(0,v)),t+=d,n[l]=d}process.env.NODE_ENV!=="production"&&f.indexOf(et,v+1)!==-1&&console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${et}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${f}`)}}if(t==="")return r.slice(0,-1);const o=Vr[t];if(o!==void 0)return r+o;const s=[];for(let l=0;l<arguments.length;l++){const f=n[l];if(f){const v=br[f];v?(s.push(v[pu]),process.env.NODE_ENV!=="production"&&e!==null&&e!==v[_i]&&console.error(`mergeClasses(): a passed string contains an identifier (${f}) that has different direction (dir="${v[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[l]}`),e=v[_i]):process.env.NODE_ENV!=="production"&&console.error(`mergeClasses(): a passed string contains an identifier (${f}) that does not match any entry in cache. Source string: ${arguments[l]}`)}}const c=Object.assign.apply(Object,[{}].concat(s));let u=Si(c,e);const a=Pi(u,e,n);return u=a+" "+u,Vr[t]=u,br[a]=[c,e],r+u}const Ci={},zi=new Set,Wt={getChildrenSequences:e=>{const r=Object.keys(Vr).find(t=>Vr[t].startsWith(e));return r?r.split(et).filter(t=>t.length).map(t=>et+t):[]},addCSSRule:e=>{zi.add(e)},addSequenceDetails:(e,r)=>{Object.entries(e).forEach(([t,n])=>{Ci[n.substring(0,Bi)]={slotName:t,sourceURL:r}})},getCSSRules:()=>Array.from(zi),getSequenceDetails:e=>Ci[e]};function Ti(e,r){return Array.isArray(e)?r==="rtl"?e[1]:e[0]:e}function bu(e,r,t,n){const i=e[0],o=e[1];return Object.entries(i).map(([s,c])=>{const u=Ti(c,o);let a;if(t&&r){const l=t.find(({className:f})=>f===u);!l&&r[0][s]?a=Ti(r[0][s],r[1]):l&&r[0][s]?a=(n?n.filter(({debugClassNames:v})=>v.filter(({className:d})=>d===u).length>0).length>0:!1)?l.className:l.overriddenBy:(!l&&!r[0][s]||l&&!r[0][s])&&(a=void 0)}return{className:u,overriddenBy:a}})}function Ni(e,r){const t=br[e];if(t===void 0)return;const n=r?br[r.sequenceHash]:void 0,i=bu(t,n,r==null?void 0:r.debugClassNames,r==null?void 0:r.children),o={sequenceHash:e,direction:t[1],children:[],debugClassNames:i};return Wt.getChildrenSequences(o.sequenceHash).reverse().forEach(c=>{const u=Ni(c,o);u&&o.children.push(u)}),o.children.length||(o.rules={},o.debugClassNames.forEach(({className:c})=>{const u=Wt.getSequenceDetails(e);u&&(o.slot=u.slotName,o.sourceURL=u.sourceURL);const a=Wt.getCSSRules().find(l=>l.includes(c));o.rules[c]=a})),o}function yu(e){const r=e.defaultView;if(!r||r.__GRIFFEL_DEVTOOLS__)return;const t={getInfo:n=>{const i=Array.from(n.classList).find(o=>o.startsWith(et));if(i!==void 0)return Ni(i)}};Object.defineProperty(r,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return t}})}const Ut=(()=>{var e;try{return!!(typeof window<"u"&&(!((e=window.sessionStorage)===null||e===void 0)&&e.getItem("__GRIFFEL_DEVTOOLS__")))}catch{return!1}})();function wu(e){if(!Array.isArray(e))return[e];if(process.env.NODE_ENV!=="production"&&e.length>2)throw new Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");return e}function ku(e,r,t){const n=[];if(t[Lr]=r,e)for(const o in t)e.setAttribute(o,t[o]);function i(o){return e!=null&&e.sheet?e.sheet.insertRule(o,e.sheet.cssRules.length):n.push(o)}return{elementAttributes:t,insertRule:i,element:e,bucketName:r,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(o=>o.cssText):n}}}const Ei=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,r,t)=>(e[r]=t,e),{});function xu(e,r,t,n,i={}){const o=e==="m",s=o?e+i.m:e;if(!n.stylesheets[s]){const c=r&&r.createElement("style"),u=ku(c,e,{...n.styleElementAttributes,...o&&{media:i.m}});n.stylesheets[s]=u,r&&c&&r.head.insertBefore(c,Bu(r,t,e,n,i))}return n.stylesheets[s]}function Bu(e,r,t,n,i){const o=Ei[t];let s=l=>o-Ei[l.getAttribute(Lr)],c=e.head.querySelectorAll(`[${Lr}]`);if(t==="m"&&i){const l=e.head.querySelectorAll(`[${Lr}="${t}"]`);l.length&&(c=l,s=f=>n.compareMediaQueries(i.m,f.media))}const u=c.length;let a=u-1;for(;a>=0;){const l=c.item(a);if(s(l)>0)return l.nextSibling;a--}return u>0?c.item(0):r?r.nextSibling:null}const _u=["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),Pu=new RegExp(`:(${_u})`);function ji(e,r){try{e.insertRule(r)}catch(t){process.env.NODE_ENV!=="production"&&!Pu.test(r)&&console.error(`There was a problem inserting the following rule: "${r}"`,t)}}let Su=0;const Cu=(e,r)=>e<r?-1:e>r?1:0;function zu(e=typeof document>"u"?void 0:document,r={}){const{unstable_filterCSSRule:t,insertionPoint:n,styleElementAttributes:i,compareMediaQueries:o=Cu}=r,s={insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(i),compareMediaQueries:o,id:`d${Su++}`,insertCSSRules(c){for(const u in c){const a=c[u];for(let l=0,f=a.length;l<f;l++){const[v,d]=wu(a[l]),h=xu(u,e,n||null,s,d);s.insertionCache[v]||(s.insertionCache[v]=u,process.env.NODE_ENV!=="production"&&Ut&&Wt.addCSSRule(v),t?t(v)&&ji(h,v):ji(h,v))}}}};return e&&process.env.NODE_ENV!=="production"&&Ut&&yu(e),s}const Wo="<unknown>";function Tu(e){return Ru(e)||Au(e)||Ou(e)}const Nu=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,Eu=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,ju=/\((\S*)\)/;function Ru(e){const r=Nu.exec(e)||Eu.exec(e);if(!r)return null;let t=r[2];const n=t&&t.indexOf("native")===0,i=t&&t.indexOf("eval")===0,o=ju.exec(t);return i&&o!=null&&(t=o[1]),{loc:n?null:r[2],name:r[1]||Wo}}const Fu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,qu=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Au(e){const r=Fu.exec(e);if(!r)return null;let t=r[3];const n=t&&t.indexOf(" > eval")>-1,i=qu.exec(t);return n&&i!=null&&(t=i[1]),{loc:r[3],name:r[1]||Wo}}const Du=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function Ou(e){const r=Du.exec(e);return r?{loc:r[3],name:r[1]||Wo}:null}function Ri(){const e=String(new Error().stack).split(`
30
- `),r=Iu(e);if(r===void 0)return;const t=Tu(r);return t==null?void 0:t.loc}function Iu(e){for(let r=e.length-1;r>=0;--r)if(e[r].includes("at getSourceURLfromError"))return e[r+3]}const Uo=()=>{const e={};return function(t,n){e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}};function Fi(e){return e.reduce(function(r,t){var n=t[0],i=t[1];return r[n]=i,r[i]=n,r},{})}function Mu(e){return typeof e=="boolean"}function Lu(e){return typeof e=="function"}function wr(e){return typeof e=="number"}function Hu(e){return e===null||typeof e>"u"}function Vu(e){return e&&typeof e=="object"}function $u(e){return typeof e=="string"}function $r(e,r){return e.indexOf(r)!==-1}function Wu(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function Wr(e,r,t,n){return r+Wu(t)+n}function Uu(e){var r=e.indexOf(".");if(r===-1)e=100-parseFloat(e)+"%";else{var t=e.length-r-2;e=100-parseFloat(e),e=e.toFixed(t)+"%"}return e}function qi(e){return e.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,t){var n=r.list,i=r.state,o=(t.match(/\(/g)||[]).length,s=(t.match(/\)/g)||[]).length;return i.parensDepth>0?n[n.length-1]=n[n.length-1]+" "+t:n.push(t),i.parensDepth+=o-s,{list:n,state:i}},{list:[],state:{parensDepth:0}}).list}function Ai(e){var r=qi(e);if(r.length<=3||r.length>4)return e;var t=r[0],n=r[1],i=r[2],o=r[3];return[t,o,i,n].join(" ")}function Gu(e){return!Mu(e)&&!Hu(e)}function Xu(e){for(var r=[],t=0,n=0,i=!1;n<e.length;)!i&&e[n]===","?(r.push(e.substring(t,n).trim()),n++,t=n):e[n]==="("?(i=!0,n++):(e[n]===")"&&(i=!1),n++);return t!=n&&r.push(e.substring(t,n+1)),r}var C={padding:function(r){var t=r.value;return wr(t)?t:Ai(t)},textShadow:function(r){var t=r.value,n=Xu(t).map(function(i){return i.replace(/(^|\s)(-*)([.|\d]+)/,function(o,s,c,u){if(u==="0")return o;var a=c===""?"-":"";return""+s+a+u})});return n.join(",")},borderColor:function(r){var t=r.value;return Ai(t)},borderRadius:function(r){var t=r.value;if(wr(t))return t;if($r(t,"/")){var n=t.split("/"),i=n[0],o=n[1],s=C.borderRadius({value:i.trim()}),c=C.borderRadius({value:o.trim()});return s+" / "+c}var u=qi(t);switch(u.length){case 2:return u.reverse().join(" ");case 4:{var a=u[0],l=u[1],f=u[2],v=u[3];return[l,a,v,f].join(" ")}default:return t}},background:function(r){var t=r.value,n=r.valuesToConvert,i=r.isRtl,o=r.bgImgDirectionRegex,s=r.bgPosDirectionRegex;if(wr(t))return t;var c=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(c,C.backgroundPosition({value:c,valuesToConvert:n,isRtl:i,bgPosDirectionRegex:s})),C.backgroundImage({value:t,valuesToConvert:n,bgImgDirectionRegex:o})},backgroundImage:function(r){var t=r.value,n=r.valuesToConvert,i=r.bgImgDirectionRegex;return!$r(t,"url(")&&!$r(t,"linear-gradient(")?t:t.replace(i,function(o,s,c){return o.replace(c,n[c])})},backgroundPosition:function(r){var t=r.value,n=r.valuesToConvert,i=r.isRtl,o=r.bgPosDirectionRegex;return t.replace(i?/^((-|\d|\.)+%)/:null,function(s,c){return Uu(c)}).replace(o,function(s){return n[s]})},backgroundPositionX:function(r){var t=r.value,n=r.valuesToConvert,i=r.isRtl,o=r.bgPosDirectionRegex;return wr(t)?t:C.backgroundPosition({value:t,valuesToConvert:n,isRtl:i,bgPosDirectionRegex:o})},transition:function(r){var t=r.value,n=r.propertiesToConvert;return t.split(/,\s*/g).map(function(i){var o=i.split(" ");return o[0]=n[o[0]]||o[0],o.join(" ")}).join(", ")},transitionProperty:function(r){var t=r.value,n=r.propertiesToConvert;return t.split(/,\s*/g).map(function(i){return n[i]||i}).join(", ")},transform:function(r){var t=r.value,n="[^\\u0020-\\u007e]",i="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",o="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+n+"|"+i+")")+("(?:[_a-z0-9-]|"+n+"|"+i+")")+"*")+")?")+")|(?:inherit|auto))",s=new RegExp("(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),c=new RegExp("(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,1}\\s*\\))","gi"),u=new RegExp("(translate3d\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,2}\\s*\\))","gi"),a=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+o+"(\\s*\\))","gi");return t.replace(s,Wr).replace(c,Wr).replace(u,Wr).replace(a,Wr)}};C.objectPosition=C.backgroundPosition,C.margin=C.padding,C.borderWidth=C.padding,C.boxShadow=C.textShadow,C.webkitBoxShadow=C.boxShadow,C.mozBoxShadow=C.boxShadow,C.WebkitBoxShadow=C.boxShadow,C.MozBoxShadow=C.boxShadow,C.borderStyle=C.borderColor,C.webkitTransform=C.transform,C.mozTransform=C.transform,C.WebkitTransform=C.transform,C.MozTransform=C.transform,C.transformOrigin=C.backgroundPosition,C.webkitTransformOrigin=C.transformOrigin,C.mozTransformOrigin=C.transformOrigin,C.WebkitTransformOrigin=C.transformOrigin,C.MozTransformOrigin=C.transformOrigin,C.webkitTransition=C.transition,C.mozTransition=C.transition,C.WebkitTransition=C.transition,C.MozTransition=C.transition,C.webkitTransitionProperty=C.transitionProperty,C.mozTransitionProperty=C.transitionProperty,C.WebkitTransitionProperty=C.transitionProperty,C.MozTransitionProperty=C.transitionProperty,C["text-shadow"]=C.textShadow,C["border-color"]=C.borderColor,C["border-radius"]=C.borderRadius,C["background-image"]=C.backgroundImage,C["background-position"]=C.backgroundPosition,C["background-position-x"]=C.backgroundPositionX,C["object-position"]=C.objectPosition,C["border-width"]=C.padding,C["box-shadow"]=C.textShadow,C["-webkit-box-shadow"]=C.textShadow,C["-moz-box-shadow"]=C.textShadow,C["border-style"]=C.borderColor,C["-webkit-transform"]=C.transform,C["-moz-transform"]=C.transform,C["transform-origin"]=C.transformOrigin,C["-webkit-transform-origin"]=C.transformOrigin,C["-moz-transform-origin"]=C.transformOrigin,C["-webkit-transition"]=C.transition,C["-moz-transition"]=C.transition,C["transition-property"]=C.transitionProperty,C["-webkit-transition-property"]=C.transitionProperty,C["-moz-transition-property"]=C.transitionProperty;var Di=Fi([["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"]]),Ku=["content"],Oi=Fi([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),Zu=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),Yu=new RegExp("(left)|(right)");function Ii(e){return Object.keys(e).reduce(function(r,t){var n=e[t];if($u(n)&&(n=n.trim()),$r(Ku,t))return r[t]=n,r;var i=Go(t,n),o=i.key,s=i.value;return r[o]=s,r},Array.isArray(e)?[]:{})}function Go(e,r){var t=/\/\*\s?@noflip\s?\*\//.test(r),n=t?e:Qu(e),i=t?r:Ju(n,r);return{key:n,value:i}}function Qu(e){return Di[e]||e}function Ju(e,r){if(!Gu(r))return r;if(Vu(r))return Ii(r);var t=wr(r),n=Lu(r),i=t||n?r:r.replace(/ !important.*?$/,""),o=!t&&i.length!==r.length,s=C[e],c;return s?c=s({value:i,valuesToConvert:Oi,propertiesToConvert:Di,isRtl:!0,bgImgDirectionRegex:Zu,bgPosDirectionRegex:Yu}):c=Oi[i]||i,o?c+" !important":c}const ef=/[A-Z]/g,tf=/^ms-/,Xo={};function rf(e){return"-"+e.toLowerCase()}function kr(e){if(Object.prototype.hasOwnProperty.call(Xo,e))return Xo[e];if(e.substr(0,2)==="--")return e;const r=e.replace(ef,rf);return Xo[e]=tf.test(r)?"-"+r:r}function Mi(e){return e.charAt(0)==="&"?e.slice(1):e}var xr="-moz-",Ye="-webkit-",Li="comm",Ur="rule",Ko="decl",of="@media",nf="@import",af="@supports",sf="@keyframes",Hi="@layer",lf=Math.abs,Gr=String.fromCharCode,cf=Object.assign;function uf(e,r){return je(e,0)^45?(((r<<2^je(e,0))<<2^je(e,1))<<2^je(e,2))<<2^je(e,3):0}function Vi(e){return e.trim()}function $i(e,r){return(e=r.exec(e))?e[0]:e}function Oe(e,r,t){return e.replace(r,t)}function Wi(e,r){return e.indexOf(r)}function je(e,r){return e.charCodeAt(r)|0}function Br(e,r,t){return e.slice(r,t)}function tt(e){return e.length}function Ui(e){return e.length}function zt(e,r){return r.push(e),e}function ff(e,r){return e.map(r).join("")}var Xr=1,Gt=1,Gi=0,Ve=0,pe=0,Xt="";function Kr(e,r,t,n,i,o,s,c){return{value:e,root:r,parent:t,type:n,props:i,children:o,line:Xr,column:Gt,length:s,return:"",siblings:c}}function Zo(e,r){return cf(Kr("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function df(){return pe}function hf(){return pe=Ve>0?je(Xt,--Ve):0,Gt--,pe===10&&(Gt=1,Xr--),pe}function We(){return pe=Ve<Gi?je(Xt,Ve++):0,Gt++,pe===10&&(Gt=1,Xr++),pe}function Tt(){return je(Xt,Ve)}function Zr(){return Ve}function Yr(e,r){return Br(Xt,e,r)}function Qr(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 Xi(e){return Xr=Gt=1,Gi=tt(Xt=e),Ve=0,[]}function Ki(e){return Xt="",e}function Jr(e){return Vi(Yr(Ve-1,Yo(e===91?e+2:e===40?e+1:e)))}function vf(e){return Ki(pf(Xi(e)))}function gf(e){for(;(pe=Tt())&&pe<33;)We();return Qr(e)>2||Qr(pe)>3?"":" "}function pf(e){for(;We();)switch(Qr(pe)){case 0:zt(Zi(Ve-1),e);break;case 2:zt(Jr(pe),e);break;default:zt(Gr(pe),e)}return e}function mf(e,r){for(;--r&&We()&&!(pe<48||pe>102||pe>57&&pe<65||pe>70&&pe<97););return Yr(e,Zr()+(r<6&&Tt()==32&&We()==32))}function Yo(e){for(;We();)switch(pe){case e:return Ve;case 34:case 39:e!==34&&e!==39&&Yo(pe);break;case 40:e===41&&Yo(e);break;case 92:We();break}return Ve}function bf(e,r){for(;We()&&e+pe!==57;)if(e+pe===84&&Tt()===47)break;return"/*"+Yr(r,Ve-1)+"*"+Gr(e===47?e:We())}function Zi(e){for(;!Qr(Tt());)We();return Yr(e,Ve)}function Yi(e){return Ki(eo("",null,null,null,[""],e=Xi(e),0,[0],e))}function eo(e,r,t,n,i,o,s,c,u){for(var a=0,l=0,f=s,v=0,d=0,h=0,m=1,w=1,b=1,y=0,P="",x=i,S=o,k=n,_=P;w;)switch(h=y,y=We()){case 40:if(h!=108&&je(_,f-1)==58){Wi(_+=Oe(Jr(y),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:_+=Jr(y);break;case 9:case 10:case 13:case 32:_+=gf(h);break;case 92:_+=mf(Zr()-1,7);continue;case 47:switch(Tt()){case 42:case 47:zt(yf(bf(We(),Zr()),r,t,u),u);break;default:_+="/"}break;case 123*m:c[a++]=tt(_)*b;case 125*m:case 59:case 0:switch(y){case 0:case 125:w=0;case 59+l:b==-1&&(_=Oe(_,/\f/g,"")),d>0&&tt(_)-f&&zt(d>32?Ji(_+";",n,t,f-1,u):Ji(Oe(_," ","")+";",n,t,f-2,u),u);break;case 59:_+=";";default:if(zt(k=Qi(_,r,t,a,l,i,c,P,x=[],S=[],f,o),o),y===123)if(l===0)eo(_,r,k,k,x,o,f,c,S);else switch(v===99&&je(_,3)===110?100:v){case 100:case 108:case 109:case 115:eo(e,k,k,n&&zt(Qi(e,k,k,0,0,i,c,P,i,x=[],f,S),S),i,S,f,c,n?x:S);break;default:eo(_,k,k,k,[""],S,0,c,S)}}a=l=d=0,m=b=1,P=_="",f=s;break;case 58:f=1+tt(_),d=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&hf()==125)continue}switch(_+=Gr(y),y*m){case 38:b=l>0?1:(_+="\f",-1);break;case 44:c[a++]=(tt(_)-1)*b,b=1;break;case 64:Tt()===45&&(_+=Jr(We())),v=Tt(),l=f=tt(P=_+=Zi(Zr())),y++;break;case 45:h===45&&tt(_)==2&&(m=0)}}return o}function Qi(e,r,t,n,i,o,s,c,u,a,l,f){for(var v=i-1,d=i===0?o:[""],h=Ui(d),m=0,w=0,b=0;m<n;++m)for(var y=0,P=Br(e,v+1,v=lf(w=s[m])),x=e;y<h;++y)(x=Vi(w>0?d[y]+" "+P:Oe(P,/&\f/g,d[y])))&&(u[b++]=x);return Kr(e,r,t,i===0?Ur:c,u,a,l,f)}function yf(e,r,t,n){return Kr(e,r,t,Li,Gr(df()),Br(e,2,-2),0,n)}function Ji(e,r,t,n,i){return Kr(e,r,t,Ko,Br(e,0,n),Br(e,n+1,-1),n,i)}function Kt(e,r){for(var t="",n=0;n<e.length;n++)t+=r(e[n],n,e,r)||"";return t}function ea(e,r,t,n){switch(e.type){case Hi:if(e.children.length)break;case nf:case Ko:return e.return=e.return||e.value;case Li:return"";case sf:return e.return=e.value+"{"+Kt(e.children,n)+"}";case Ur:if(!tt(e.value=e.props.join(",")))return""}return tt(t=Kt(e.children,n))?e.return=e.value+"{"+t+"}":""}function ta(e){var r=Ui(e);return function(t,n,i,o){for(var s="",c=0;c<r;c++)s+=e[c](t,n,i,o)||"";return s}}function ra(e){return function(r){r.root||(r=r.return)&&e(r)}}const wf=e=>{switch(e.type){case Ur:if(typeof e.props=="string"){if(process.env.NODE_ENV!=="production")throw new Error(`"element.props" has type "string" (${JSON.stringify(e.props,null,2)}), it's not expected. Please report a bug if it happens.`);return}e.props=e.props.map(r=>r.indexOf(":global(")===-1?r:vf(r).reduce((t,n,i,o)=>{if(n==="")return t;if(n===":"&&o[i+1]==="global"){const s=o[i+2].slice(1,-1)+" ";return t.unshift(s),o[i+1]="",o[i+2]="",t}return t.push(n),t},[]).join(""))}};function oa(e,r,t){switch(uf(e,r)){case 5103:return Ye+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return Ye+e+e;case 4215:if(je(e,9)===102||je(e,r+1)===116)return Ye+e+e;break;case 4789:return xr+e+e;case 5349:case 4246:case 6968:return Ye+e+xr+e+e;case 6187:if(!$i(e,/grab/))return Oe(Oe(Oe(e,/(zoom-|grab)/,Ye+"$1"),/(image-set)/,Ye+"$1"),e,"")+e;case 5495:case 3959:return Oe(e,/(image-set\([^]*)/,Ye+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return Oe(e,/(.+)-inline(.+)/,Ye+"$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(tt(e)-1-r>6)switch(je(e,r+1)){case 102:if(je(e,r+3)===108)return Oe(e,/(.+:)(.+)-([^]+)/,"$1"+Ye+"$2-$3$1"+xr+(je(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Wi(e,"stretch")?oa(Oe(e,"stretch","fill-available"),r)+e:e}break}return e}function na(e,r,t,n){if(e.length>-1&&!e.return)switch(e.type){case Ko:e.return=oa(e.value,e.length);return;case Ur:if(e.length)return ff(e.props,function(i){switch($i(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Kt([Zo(e,{props:[Oe(i,/:(read-\w+)/,":"+xr+"$1")]})],n);case"::placeholder":return Kt([Zo(e,{props:[Oe(i,/:(plac\w+)/,":"+Ye+"input-$1")]}),Zo(e,{props:[Oe(i,/:(plac\w+)/,":"+xr+"$1")]})],n)}return""})}}function kf(e){switch(e.type){case"@container":case of:case af:case Hi:return!0}return!1}const xf=e=>{kf(e)&&Array.isArray(e.children)&&e.children.sort((r,t)=>r.props[0]>t.props[0]?1:-1)};function Bf(){}function _f(e,r){const t=[];return Kt(Yi(e),ta([wf,r?xf:Bf,na,ea,ra(n=>t.push(n))])),t}const Pf=/,( *[^ &])/g;function Sf(e){return"&"+Mi(e.replace(Pf,",&$1"))}function ia(e,r,t){let n=r;return t.length>0&&(n=t.reduceRight((i,o)=>`${Sf(o)} { ${i} }`,r)),`${e}{${n}}`}function aa(e){const{className:r,media:t,layer:n,selectors:i,support:o,property:s,rtlClassName:c,rtlProperty:u,rtlValue:a,value:l,container:f}=e,v=`.${r}`,d=Array.isArray(l)?`${l.map(m=>`${kr(s)}: ${m}`).join(";")};`:`${kr(s)}: ${l};`;let h=ia(v,d,i);if(u&&c){const m=`.${c}`,w=Array.isArray(a)?`${a.map(b=>`${kr(u)}: ${b}`).join(";")};`:`${kr(u)}: ${a};`;h+=ia(m,w,i)}return t&&(h=`@media ${t} { ${h} }`),n&&(h=`@layer ${n} { ${h} }`),o&&(h=`@supports ${o} { ${h} }`),f&&(h=`@container ${f} { ${h} }`),_f(h,!0)}function Cf(e){let r="";for(const t in e){const n=e[t];typeof n!="string"&&typeof n!="number"||(r+=kr(t)+":"+n+";")}return r}function sa(e){let r="";for(const t in e)r+=`${t}{${Cf(e[t])}}`;return r}function la(e,r){const t=`@keyframes ${e} {${r}}`,n=[];return Kt(Yi(t),ta([ea,na,ra(i=>n.push(i))])),n}function ca(e,r){return e.length===0?r:`${e} and ${r}`}function zf(e){return e.substr(0,6)==="@media"}function Tf(e){return e.substr(0,6)==="@layer"}const Nf=/^(:|\[|>|&)/;function Ef(e){return Nf.test(e)}function jf(e){return e.substr(0,9)==="@supports"}function Rf(e){return e.substring(0,10)==="@container"}function Ff(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const ua={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function fa(e,r,t,n,i){if(t)return"m";if(r||n)return"t";if(i)return"c";if(e.length>0){const o=e[0].trim();if(o.charCodeAt(0)===58)return ua[o.slice(4,8)]||ua[o.slice(3,5)]||"d"}return"d"}function to({container:e,media:r,layer:t,property:n,selector:i,support:o,value:s}){const c=Ct(i+e+r+t+o+n+s.trim());return Vo+c}function da(e,r,t,n,i){const o=e+r+t+n+i,s=Ct(o),c=s.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+s.slice(1):s}function ha(e){return e.replace(/>\s+/g,">")}function va(...e){process.env.NODE_ENV!=="production"&&typeof document<"u"&&console.error(...e)}function qf(e,r){const t=JSON.stringify(r,null,2),n=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${e}": ${t.split(`
27
+ */var ii;function bc(){if(ii)return fr;ii=1;var e=gt,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(c,u,a){var l,f={},v=null,d=null;a!==void 0&&(v=""+a),u.key!==void 0&&(v=""+u.key),u.ref!==void 0&&(d=u.ref);for(l in u)n.call(u,l)&&!o.hasOwnProperty(l)&&(f[l]=u[l]);if(c&&c.defaultProps)for(l in u=c.defaultProps,u)f[l]===void 0&&(f[l]=u[l]);return{$$typeof:r,type:c,key:v,ref:d,props:f,_owner:i.current}}return fr.Fragment=t,fr.jsx=s,fr.jsxs=s,fr}process.env.NODE_ENV==="production"?Po.exports=bc():Po.exports=mc();var E=Po.exports;const yc=vc({__proto__:null,default:pc(E)},[E]),Co=g.createContext({authProvider:{getAccessToken:async()=>{throw new Error("No auth provider available")}}}),Or=()=>g.useContext(Co),wc=e=>E.jsx(Co.Provider,{value:{authProvider:e.authProvider},children:e.children});var Dr=function(){function e(){}return e.splitToMaxLength=function(r,t){for(var n=[],i=0;i<r.length;)n.push(r.slice(i,i+t)),i+=t;return n},e.getSubMap=function(r,t){var n=new Map;return t.forEach(function(i){return n.set(i,r.get(i))}),n},e}(),ai=function(){function e(){}return e.prototype.get=function(r){return JSON.parse(localStorage.getItem(r))},e.prototype.set=function(r,t){localStorage.setItem(r,JSON.stringify(t))},e.prototype.remove=function(r){localStorage.removeItem(r)},e}();function kc(e,r){for(var t=e,n=0;n<r.length;n++)t=t.replace("{".concat(n,"}"),r[n]);return t}function si(e){var r=[],t=new Map;return function(n,i,o){var s=o.value;o.value=function(){for(var c=this,u=[],a=0;a<arguments.length;a++)u[a-0]=arguments[a];var l=kc(e,u);return new Promise(function(f,v){var d=t.get(l);if(!d)d=s.apply(c,u).then(function(m){return f(m),r.length===0&&t.delete(l),m}).catch(function(m){v(m),r.length===0&&t.delete(l)}),t.set(l,d);else{var h=new Promise(function(m,w){d.then(function(b){f(b),m(b),r.splice(r.indexOf(h),1),r.length===0&&t.delete(l)}).catch(function(b){v(b),w(b)})});r.push(h)}})}}}var li=function(){function e(){}return e.getTokenInfo=function(r){var t=atob(r.split(".")[1]);return JSON.parse(t)},e.isTokenValid=function(r){var t=e.getTokenInfo(r);return!(t.exp<new Date().getTime()/1e3)},e}(),zo=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},To=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ci=function(){function e(){}return e.debounce=function(r,t,n){return n===void 0&&(n=100),zo(this,void 0,void 0,function(){var i=this;return To(this,function(o){return e.registeredTimeouts.has(r)&&window.clearTimeout(e.registeredTimeouts.get(r)),[2,new Promise(function(s,c){return zo(i,void 0,void 0,function(){var u,a=this;return To(this,function(l){return u=setTimeout(function(){return zo(a,void 0,void 0,function(){var f,v;return To(this,function(d){switch(d.label){case 0:return d.trys.push([0,2,,3]),[4,t()];case 1:return f=d.sent(),e.registeredTimeouts.delete(r),s(f),[3,3];case 2:return v=d.sent(),e.registeredTimeouts.delete(r),c(v),[3,3];case 3:return[2]}})})},n),e.registeredTimeouts.set(r,u),[2]})})})]})})},e.registeredTimeouts=new Map,e}(),Lt=function(){return Lt=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Lt.apply(this,arguments)},ui=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},fi=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},di=function(){function e(r,t,n,i){i===void 0&&(i=0);var o=this;this.baseClient=r,this.registeredPromises=t,this.batch=n,this.retries=i,this.requestBatch=function(s,c){return c===void 0&&(c="beta"),ui(o,void 0,void 0,function(){var u,a,l;return fi(this,function(f){switch(f.label){case 0:return u={headers:{Accept:"application/json",ConsistencyLevel:"eventual","Content-Type":"application/json"},body:s},[4,this.baseClient.post("https://graph.microsoft.com/".concat(c,"/$batch"),u)];case 1:return a=f.sent(),a.ok?[4,a.json()]:[3,3];case 2:return l=f.sent(),[2,l];case 3:return[2]}})})}}return e.prototype.executeBatch=function(){return ui(this,void 0,void 0,function(){var r,t,n,i,o,s,c;return fi(this,function(u){switch(u.label){case 0:return r=this.batch.filter(function(a){return a.url.indexOf("v1.0/")<0}),t=this.batch.filter(function(a){return a.url.indexOf("v1.0/")>=0}),n=JSON.stringify({requests:r.map(function(a){return Lt(Lt({},a),{url:a.url.replace("beta/","")})})}),i=JSON.stringify({requests:t.map(function(a){return Lt(Lt({},a),{url:a.url.replace("v1.0/","")})})}),o=[],r.length>0?[4,this.requestBatch(n)]:[3,2];case 1:s=u.sent(),o.push.apply(o,s.responses),u.label=2;case 2:return t.length>0?[4,this.requestBatch(i,"v1.0")]:[3,4];case 3:c=u.sent(),o.push.apply(o,c.responses),u.label=4;case 4:return this.processBatchResponse(o),this.batch.length>0&&this.retries>0&&(this.retries--,this.executeBatch()),[2]}})})},e.prototype.processBatchResponse=function(r){var t=this,n=[],i=new Map;this.registeredPromises.forEach(function(o,s){var c=r.filter(function(u){return u.id===s})[0];c&&c.status===429&&t.retries>0?(n.push({url:s,id:s,method:"GET"}),i.set(s,o)):t.handleSingleResponse(c,o)}),n.length>0?(this.registeredPromises=i,this.batch=n):(this.batch=[],this.registeredPromises.clear())},e.prototype.handleSingleResponse=function(r,t){r?t.forEach(function(n){n.resolve({json:function(){return Promise.resolve(r.body)},ok:r.status===200,status:r.status,text:function(){return Promise.resolve(JSON.stringify(r.body))},headers:r.headers})}):t.forEach(function(n){n.error({json:function(){return Promise.resolve(r)},ok:!1,text:function(){return Promise.resolve(JSON.stringify(r))}})})},e.maxRetries=5,e}(),No=function(){return No=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},No.apply(this,arguments)},xc=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},Bc=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},_c=function(e,r,t){if(t||arguments.length===2)for(var n=0,i=r.length,o;n<i;n++)(o||!(n in r))&&(o||(o=Array.prototype.slice.call(r,0,n)),o[n]=r[n]);return e.concat(o||Array.prototype.slice.call(r))},Sc=function(){function e(r,t,n){t===void 0&&(t=500),n===void 0&&(n=15);var i=this;this.baseClient=r,this.batchWaitTime=t,this.batchSplitThreshold=n,this.batch=[],this.getRequestId=function(o,s){return s==="GET"?encodeURIComponent(o):Math.random().toString(36).substring(7)},this.registeredPromises=new Map,this.generateBatch=function(){return xc(i,void 0,void 0,function(){var o,s,c,u,a,l,f,v;return Bc(this,function(d){switch(d.label){case 0:o=_c([],this.batch,!0),this.batch=[],s=new Map(this.registeredPromises),this.registeredPromises.clear(),c=Dr.splitToMaxLength(o,this.batchSplitThreshold),u=0,a=c,d.label=1;case 1:return u<a.length?(l=a[u],f=Dr.getSubMap(s,l.map(function(h){return h.id})),v=new di(this.baseClient,f,l,di.maxRetries),[4,v.executeBatch()]):[3,4];case 2:d.sent(),d.label=3;case 3:return u++,[3,1];case 4:return[2]}})})},this.createGetBatchRequest=function(o,s,c,u){i.batch.length===0&&setTimeout(i.generateBatch,i.batchWaitTime);var a=i.getRequestId(o,s),l=new URL(o,"https://graph.microsoft.com"),f=l.pathname+l.search;i.batch.filter(function(v){return v.id===a})[0]?i.registeredPromises.get(a).push(u):(i.batch.push({url:f,id:a,method:s,body:c&&c.body?JSON.parse(c.body):null,headers:No({ConsistencyLevel:"eventual"},c?c.headers:{})}),i.registeredPromises.set(a,[u]))}}return e.prototype.get=function(r,t){var n=this;return new Promise(function(i,o){n.createGetBatchRequest(r,"GET",t,{resolve:i,error:o})})},e.prototype.post=function(r,t){var n=this;return new Promise(function(i,o){n.createGetBatchRequest(r,"POST",t,{resolve:i,error:o})})},e.prototype.patch=function(r,t){return this.baseClient.patch(r,t)},e.prototype.put=function(r,t){return this.baseClient.put(r,t)},e.prototype.delete=function(r,t){return this.baseClient.delete(r,t)},e}(),Ht=function(){return Ht=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Ht.apply(this,arguments)},_t=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},St=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Eo=function(){function e(r,t){this.authService=r,this.baseClient=t,this.resourceUri="https://graph.microsoft.com"}return e.prototype.get=function(r,t){return _t(this,void 0,void 0,function(){var n;return St(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return n=i.sent(),[2,this.baseClient.get(r,n)]}})})},e.prototype.post=function(r,t){return _t(this,void 0,void 0,function(){var n;return St(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return n=i.sent(),[2,this.baseClient.post(r,n)]}})})},e.prototype.patch=function(r,t){return _t(this,void 0,void 0,function(){var n;return St(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return n=i.sent(),[2,this.baseClient.patch(r,n)]}})})},e.prototype.put=function(r,t){return _t(this,void 0,void 0,function(){var n;return St(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return n=i.sent(),[2,this.baseClient.put(r,n)]}})})},e.prototype.delete=function(r,t){return _t(this,void 0,void 0,function(){var n;return St(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest({})];case 1:return n=i.sent(),[2,this.baseClient.delete(r,n)]}})})},e.prototype.prepareRequest=function(r){return _t(this,void 0,void 0,function(){var t,n,i,o;return St(this,function(s){switch(s.label){case 0:return t=[Ht({},r)],i={},n=[Ht({},r==null?void 0:r.headers)],o={},[4,this.getAuthHeader()];case 1:return[2,Ht.apply(void 0,t.concat([(i.headers=Ht.apply(void 0,n.concat([(o.Authorization=s.sent(),o)])),i)]))]}})})},e.prototype.getAuthHeader=function(){return _t(this,void 0,void 0,function(){var r;return St(this,function(t){switch(t.label){case 0:return[4,this.authService.getAccessToken(this.resourceUri)];case 1:return r=t.sent(),[2,"Bearer ".concat(r)]}})})},e}(),Pt=function(){return Pt=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Pt.apply(this,arguments)},Vt=function(){function e(r){this.baseUrl=r}return e.prototype.buildUrl=function(r){return r.startsWith("http")||!this.baseUrl?r:this.baseUrl+r},e.prototype.get=function(r,t){return fetch(this.buildUrl(r),Pt({method:"GET"},t))},e.prototype.post=function(r,t){return fetch(this.buildUrl(r),Pt({method:"POST"},t))},e.prototype.patch=function(r,t){return fetch(this.buildUrl(r),Pt({method:"PATCH"},t))},e.prototype.put=function(r,t){return fetch(this.buildUrl(r),Pt({method:"PUT"},t))},e.prototype.delete=function(r,t){return fetch(this.buildUrl(r),Pt({method:"DELETE"},t))},e}(),Pc=function(){function e(){this.lastUsedId=0}return e.prototype.getNextId=function(){return this.lastUsedId++,this.lastUsedId.toString()},e.prototype.reset=function(){this.lastUsedId=0},e}(),Cc=function(){var e=function(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)};return"".concat(e()).concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e()).concat(e()).concat(e())},hi=function(e){for(var r="",t=0;t<e;t++){var n=Math.floor(Math.random()*26)+(Math.random()<.5?65:97);r+=String.fromCharCode(n)}return r},vi=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},gi=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},pi=function(){function e(r,t,n,i,o,s){s===void 0&&(s=0);var c=this;this.baseClient=r,this.dataverseEnvUri=t,this.apiPath=n,this.registeredPromises=i,this.batch=o,this.retries=s,this.batchSeparator="batch-mgwdev-m365-helpers",this.requestBatch=function(u){return vi(c,void 0,void 0,function(){var a,l,f,v;return gi(this,function(d){switch(d.label){case 0:return a={headers:{Accept:"application/json","OData-Version":"4.0","content-type":"multipart/mixed; boundary=".concat(this.batchSeparator)},body:u},[4,this.baseClient.post("".concat(this.dataverseEnvUri).concat(this.apiPath,"/$batch"),a)];case 1:return l=d.sent(),l.ok?[4,l.text()]:[3,3];case 2:return f=d.sent(),v=l.headers.get("content-type").split("boundary=")[1],[2,f.split(v)];case 3:return[2]}})})}}return e.prototype.executeBatch=function(){return vi(this,void 0,void 0,function(){var r,t,n;return gi(this,function(i){switch(i.label){case 0:return r=this.buildBatchBody(),t=[],this.batch.length>0?[4,this.requestBatch(r)]:[3,2];case 1:n=i.sent(),t.push.apply(t,n),i.label=2;case 2:return this.processBatchResponse(t),this.batch.length>0&&this.retries>0&&(this.retries--,this.executeBatch()),[2]}})})},e.prototype.buildBatchBody=function(){var r=this,t="";return this.batch.forEach(function(n){if(t+="--".concat(r.batchSeparator,`
28
+ Content-type: application/http
29
+ Content-Transfer-Encoding: binary
30
+
31
+ `),t+="".concat(n.method," ").concat(n.url,` HTTP/1.1
32
+ `),n.headers)for(var i in n.headers)t+="".concat(i,": ").concat(n.headers[i],`
33
+ `);if(n.body){var o=new TextEncoder,s=o.encode(n.body),c=s.length;t+="Content-Length: ".concat(c,`
34
+ `),t+=`
35
+ `,t+="".concat(n.body)}t+=`
36
+
37
+
38
+ `}),t+="--".concat(this.batchSeparator,"--"),t},e.prototype.extractJSONFromBody=function(r){var t=r.indexOf("{");if(t!==-1){var n=r.substring(t),i=n.lastIndexOf("}")+1;if(i!==-1){var o=n.substring(0,i);try{return JSON.parse(o),o}catch(s){return console.error("Error parsing JSON:",s),null}}else return console.error("End of JSON data not found in the input text."),null}else return console.error("JSON data not found in the input text."),null},e.prototype.processBatchResponse=function(r){var t=this,n=[],i=new Map;this.registeredPromises.forEach(function(o,s){var c=r[s],u=t.extractJSONFromBody(c);t.handleSingleResponse(u,o)}),n.length>0?(this.registeredPromises=i,this.batch=n):(this.batch=[],this.registeredPromises.clear())},e.prototype.handleSingleResponse=function(r,t){var n=r;r?t.resolve({json:function(){return Promise.resolve(JSON.parse(n))},ok:!0,text:function(){return Promise.resolve(n)}}):t.error({json:function(){return Promise.resolve(JSON.parse(n))},ok:!1,text:function(){return Promise.resolve(n)}})},e.maxRetries=5,e}(),mi=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},bi=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},zc=function(){function e(r,t,n,i,o){n===void 0&&(n="/api/data/v9.2"),i===void 0&&(i=500),o===void 0&&(o=15);var s=this;this.baseClient=r,this.dataverseEnvUri=t,this.apiPath=n,this.batchWaitTime=i,this.batchSplitThreshold=o,this.promiseIdGenerator=new Pc,this.registeredPromises=new Map,this.batch=[],this.generateBatch=function(){return mi(s,void 0,void 0,function(){var c,u,a,l,f,v;return bi(this,function(d){switch(d.label){case 0:c=Dr.splitToMaxLength(this.batch,this.batchSplitThreshold),u=0,a=c,d.label=1;case 1:return u<a.length?(l=a[u],f=Dr.getSubMap(this.registeredPromises,l.map(function(h){return h.id})),v=new pi(this.baseClient,this.dataverseEnvUri,this.apiPath,f,l,pi.maxRetries),this.batch=[],this.promiseIdGenerator.reset(),this.registeredPromises.clear(),[4,v.executeBatch()]):[3,4];case 2:d.sent(),d.label=3;case 3:return u++,[3,1];case 4:return[2]}})})}}return e.prototype.get=function(r,t){return mi(this,void 0,void 0,function(){var n,i,o=this;return bi(this,function(s){return n=this.promiseIdGenerator.getNextId(),i=new Promise(function(c,u){o.batch.length===0&&setTimeout(o.generateBatch,o.batchWaitTime),o.registeredPromises.set(n,{resolve:c,error:u}),o.batch.push({url:r,id:n,method:"GET",headers:t==null?void 0:t.headers})}),[2,i]})})},e.prototype.post=function(r,t){var n=this,i=this.promiseIdGenerator.getNextId(),o=new Promise(function(s,c){n.batch.length===0&&setTimeout(n.generateBatch,n.batchWaitTime),n.registeredPromises.set(i,{resolve:s,error:c}),n.batch.push({url:r,id:i,method:"POST",body:t==null?void 0:t.body,headers:t==null?void 0:t.headers})});return o},e.prototype.patch=function(r,t){return this.baseClient.patch(r,t)},e.prototype.put=function(r,t){return this.baseClient.put(r,t)},e.prototype.delete=function(r){return this.baseClient.delete(r)},e}(),yi=function(){return yi=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},yi.apply(this,arguments)},dr=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},hr=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Tc=function(){function e(r,t,n){n===void 0&&(n=!1),this.graphClient=r,this.resourceQuery=t,this.skipCountCheck=n,this.filterQuery="",this.orderQuery="",this.nextPageLink="",this.previousPages=[],this.previousPageIndex=-1,this.pageSize=25,this.allItemsCount=-1}return e.prototype.getAllItemsCount=function(){return dr(this,void 0,void 0,function(){var r,t,n,i;return hr(this,function(o){switch(o.label){case 0:return this.skipCountCheck?[2,-1]:(r=this.getQuery(),t="".concat(this.resourceQuery,"/$count"),this.getQuery()&&(t+="?$filter=".concat(r)),[4,this.graphClient.get(t)]);case 1:return n=o.sent(),n.ok?(i=parseInt,[4,n.text()]):[3,3];case 2:return[2,i.apply(void 0,[o.sent(),10])];case 3:return[2]}})})},e.prototype.getData=function(){return dr(this,void 0,void 0,function(){var r,t,n;return hr(this,function(i){switch(i.label){case 0:return[4,Promise.all([this.callGraphAPI(this.buildInitialQuery()),this.getAllItemsCount()])];case 1:return r=i.sent(),t=r[0],n=r[1],this.allItemsCount=n,[2,t]}})})},e.prototype.buildInitialQuery=function(){var r=this.getQuery(),t="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(t+="&$orderBy=".concat(this.orderQuery)),r&&(t+="&$filter=".concat(r)),t},e.prototype.callGraphAPI=function(r){return dr(this,void 0,void 0,function(){var t,n,i,o;return hr(this,function(s){switch(s.label){case 0:return[4,this.graphClient.get(r)];case 1:return t=s.sent(),t.ok?[4,t.json()]:[3,3];case 2:return n=s.sent(),i=n.value,this.nextPageLink=n["@odata.nextLink"],[2,i];case 3:return o=Error.bind,[4,t.text()];case 4:throw new(o.apply(Error,[void 0,s.sent()]))}})})},e.prototype.setQuery=function(r){this.filterQuery=r},e.prototype.getQuery=function(){return this.filterQuery},e.prototype.setOrder=function(r,t){this.orderQuery="".concat(r," ").concat(t.toLocaleLowerCase())},e.prototype.getNextPage=function(){return dr(this,void 0,void 0,function(){return hr(this,function(r){return this.isNextPageAvailable()?(this.previousPageIndex++,this.previousPages.push(this.nextPageLink),[2,this.callGraphAPI(this.nextPageLink)]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return!!this.nextPageLink},e.prototype.getPreviousPage=function(){return dr(this,void 0,void 0,function(){var r,t;return hr(this,function(n){switch(n.label){case 0:return this.isPreviousPageAvailable()?(r=this.previousPages[this.previousPageIndex],[4,this.callGraphAPI(r)]):[2,[]];case 1:return t=n.sent(),this.previousPageIndex--,[2,t]}})})},e.prototype.isPreviousPageAvailable=function(){return this.previousPageIndex>=0&&!!this.previousPages[this.previousPageIndex]},e.prototype.getCurrentPage=function(){return this.previousPageIndex+1},e}(),pt=function(){return pt=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},pt.apply(this,arguments)},Ir=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},Mr=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},wi=function(){function e(r,t,n){t===void 0&&(t=["listItem"]),n===void 0&&(n=["id","title","url"]),this.graphClient=r,this.entityTypes=t,this.selectFields=n,this.currentPage=0,this.pageSize=25,this.allItemsCount=-1,this.graphSearchEndpoint="https://graph.microsoft.com/beta/search/query"}return e.prototype.setRefiners=function(r){this.requestedRefiners=r||[]},e.prototype.applyRefiners=function(r){this.filters=r||void 0},e.prototype.buildSearchRequest=function(){var r,t={requests:[{entityTypes:this.entityTypes,from:this.currentPage*this.pageSize,to:(this.currentPage+1)*this.pageSize,query:null,sortProperties:null,fields:null,aggregations:this.requestedRefiners,aggregationFilters:((r=this.filters)===null||r===void 0?void 0:r.map(function(n){return"".concat(n.field,":").concat(n.filterValue)}))||void 0,size:this.pageSize}]};return this.getQuery()?(t.requests[0].query={queryString:this.getQuery()},this.queryTemplate&&(t.requests[0].query.queryTemplate=this.queryTemplate)):(t.requests[0].query={queryString:"*"},this.queryTemplate&&(t.requests[0].query.queryTemplate=this.queryTemplate)),this.orderColumn&&(t.requests[0].sortProperties=[{name:this.orderColumn,isDescending:this.isDescending}]),this.selectFields&&this.selectFields.length>0&&(t.requests[0].fields=this.selectFields),t},e.prototype.callForData=function(){return Ir(this,void 0,void 0,function(){var r,t,n,i;return Mr(this,function(o){switch(o.label){case 0:return[4,this.graphClient.post(this.graphSearchEndpoint,{body:JSON.stringify(this.buildSearchRequest()),headers:{accept:"application/json","content-type":"application/json"}})];case 1:return r=o.sent(),r.ok?[4,r.json()]:[3,3];case 2:return t=o.sent(),n=t.value[0].hitsContainers[0],this.allItemsCount=n.total,this.parseAggregations(n),this.allItemsCount>0?[2,n.hits.map(function(s){return pt(pt({},s.resource),{type:s.resource["@odata.type"],hitResourceIdId:s.resource.id,hitId:s.hitId,hitRank:s.rank,hitHighlights:s.highlights,hitSummary:s.summary})})]:[2,[]];case 3:return i=Error.bind,[4,r.text()];case 4:throw new(i.apply(Error,[void 0,o.sent()]))}})})},e.prototype.getData=function(){return Ir(this,void 0,void 0,function(){return Mr(this,function(r){return this.currentPage=0,[2,this.callForData()]})})},e.prototype.parseAggregations=function(r){try{this.currentAggregations=r.aggregations.map(function(t){return pt(pt({},t),{buckets:t.buckets.map(function(n){return pt(pt({},n),{value:n.value,count:n.count})})})})}catch{this.currentAggregations=[]}},e.prototype.setQuery=function(r){this.query=r},e.prototype.getQuery=function(){return this.query},e.prototype.setOrder=function(r,t){this.orderColumn=r,this.isDescending=t==="DESC"},e.prototype.getNextPage=function(){return Ir(this,void 0,void 0,function(){return Mr(this,function(r){return this.isNextPageAvailable()?(this.currentPage++,[2,this.callForData()]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return(this.currentPage+1)*this.pageSize<this.allItemsCount},e.prototype.getPreviousPage=function(){return Ir(this,void 0,void 0,function(){return Mr(this,function(r){return this.isPreviousPageAvailable()?(this.currentPage--,[2,this.callForData()]):[2,[]]})})},e.prototype.isPreviousPageAvailable=function(){return this.currentPage>0},e.prototype.getCurrentPage=function(){return this.currentPage},e.prototype.jumpToAPage=function(r){return this.currentPage=r,this.callForData()},e}(),Nc=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),jo=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},Ro=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Ec=function(e){Nc(r,e);function r(t,n,i){n===void 0&&(n=!0),i===void 0&&(i=!0);var o=e.call(this,t,"https://graph.microsoft.com/v1.0/me/people",!0)||this;return o.loadPresence=n,o.loadPhoto=i,o.personTypeClass="Person",o.pageSize=7,o}return r.prototype.callGraphAPI=function(t){return jo(this,void 0,void 0,function(){var n,i;return Ro(this,function(o){switch(o.label){case 0:return[4,e.prototype.callGraphAPI.call(this,t)];case 1:return n=o.sent(),i=[],this.loadPresence&&i.push.apply(i,n.map(this.appendPresence.bind(this))),this.loadPhoto&&i.push.apply(i,n.map(this.appendPhoto.bind(this))),i.length>0?[4,Promise.all(i)]:[3,3];case 2:o.sent(),o.label=3;case 3:return[2,n]}})})},r.prototype.appendPresence=function(t){return jo(this,void 0,void 0,function(){var n,i;return Ro(this,function(o){switch(o.label){case 0:return[4,this.graphClient.get("v1.0/users/".concat(t.id,"/presence"))];case 1:return n=o.sent(),n.ok?(i=t,[4,n.json()]):[3,3];case 2:i.presence=o.sent(),o.label=3;case 3:return[2]}})})},r.prototype.appendPhoto=function(t){return jo(this,void 0,void 0,function(){var n,i;return Ro(this,function(o){switch(o.label){case 0:return[4,this.graphClient.get("/v1.0/users/".concat(t.id,"/photo/$value"))];case 1:return n=o.sent(),n.ok?(i=t,[4,n.text()]):[3,3];case 2:i.photo=o.sent(),o.label=3;case 3:return[2]}})})},r.prototype.buildInitialQuery=function(){var t=this.getQuery(),n="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(n+="&$orderBy=".concat(this.orderQuery)),t&&(n+="&$search=".concat(t)),this.personTypeClass&&(n+="&$filter=personType/class eq '".concat(this.personTypeClass,"'")),n},r}(Tc),jc=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},Rc=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Fc=function(){function e(r,t,n,i,o){i===void 0&&(i=""),o===void 0&&(o=12),this.graphClient=r,this.dataSource=t,this.resourceMetadata=n,this.filterExpresssion=i,this.maximumNumberOfResults=o}return e.prototype.getData=function(r){return jc(this,void 0,void 0,function(){var t,n;return Rc(this,function(i){switch(i.label){case 0:return[4,this.graphClient.post("https://graph.microsoft.com/beta/copilot/retrieval",{headers:{accept:"application/json","content-type":"application/json"},body:JSON.stringify({queryString:r,dataSource:this.dataSource,resourceMetadata:this.resourceMetadata,maximumNumberOfResults:this.maximumNumberOfResults,filterExpresssion:this.filterExpresssion})})];case 1:if(t=i.sent(),!t.ok)throw new Error(t.statusText);return[4,t.json()];case 2:return n=i.sent(),[2,n.retrievalHits]}})})},e}(),qc=function(e,r,t,n){var i=arguments.length,o=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,r,t,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(o=(i<3?s(o):i>3?s(r,t,o):s(r,t))||o);return i>3&&o&&Object.defineProperty(r,t,o),o},vr=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},gr=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};(function(){function e(r,t){t===void 0&&(t=!0);var n=this;this.config=r,this.usePopup=t,this.resourceTokenMap=new Map,this.resourceScopeMap=new Map,this.cacheService=new ai,this.getCodeFromLoginWindow=function(i,o){try{var s=new URLSearchParams(i==null?void 0:i.location.search),c=s.get("code");c?(o(c),i.close()):i&&setTimeout(function(){return n.getCodeFromLoginWindow(i,o)})}catch{i&&setTimeout(function(){return n.getCodeFromLoginWindow(i,o)},1e3)}},this.config.tenantId=r.tenantId||"common",this.config.redirectUri=r.redirectUri||window.location.origin,this.getCodeVerifier(),this.state=hi(108)}return e.prototype.getCodeVerifier=function(){this.cacheService.get("msal.codeVerifier")?this.codeVerifier=this.cacheService.get("msal.codeVerifier"):this.codeVerifier=hi(43)},e.prototype.buildLoginUrl=function(r){var t=new URL("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/authorize"));return t.searchParams.append("client_id",this.config.clientId),t.searchParams.append("scope","".concat(r,"/.default openid profile offline_access")),t.searchParams.append("redirect_uri",this.config.redirectUri),t.searchParams.append("client-request-id",Cc()),t.searchParams.append("response_mode","query"),t.searchParams.append("response_type","code"),t.searchParams.append("code_challenge",this.codeVerifier),t.searchParams.append("code_challenge_method","plain"),t.searchParams.append("prompt","select_account"),t.searchParams.append("client_info","1"),t.searchParams.append("nonce","8a9afd0b-47f6-4678-9289-1b1bf5bfa20f"),t.searchParams.append("state",this.state),t.toString()},e.prototype.loginUser=function(r){return vr(this,void 0,void 0,function(){var t,n,i,o,s,c,u,a=this;return gr(this,function(l){switch(l.label){case 0:return t=this.buildLoginUrl(r),n="",this.usePopup?(i=window.open(t,"login","width=600,height=600"),i?[4,new Promise(function(f,v){return a.getCodeFromLoginWindow(i,function(d){n=d,f()})})]:[3,2]):[3,3];case 1:l.sent(),l.label=2;case 2:return[3,4];case 3:if(o=new URLSearchParams(window.location.search),s=o.get("code"),c=o.get("error"),s)return this.cacheService.remove("msal.codeVerifier"),n=s,u=new URL(window.location.href),u.searchParams.delete("code"),u.searchParams.delete("state"),u.searchParams.delete("error"),u.searchParams.delete("client_info"),u.searchParams.delete("expires_in"),u.searchParams.delete("ext_expires_in"),u.searchParams.delete("session_state"),window.history.replaceState({},"",u.toString()),[2,n];if(c)throw u.searchParams.delete("error"),new Error(c);this.cacheService.set("msal.codeVerifier",this.codeVerifier),window.location.href=t,l.label=4;case 4:return[2,n]}})})},e.prototype.getAccessTokenFromCode=function(r,t){return vr(this,void 0,void 0,function(){var n,i,o,s,c;return gr(this,function(u){switch(u.label){case 0:return[4,fetch("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",accept:"application/json"},body:new URLSearchParams({client_id:this.config.clientId,scope:"".concat(r,"/.default openid profile offline_access"),redirect_uri:this.config.redirectUri,grant_type:"authorization_code",code:t,code_verifier:this.codeVerifier})})];case 1:return n=u.sent(),n.ok?[4,n.json()]:[3,3];case 2:return i=u.sent(),[2,i];case 3:return s=(o=console).log,c=["Unable to get access token from code",n.status,n.statusText],[4,n.text()];case 4:throw s.apply(o,c.concat([u.sent()])),new Error("Unable to get access token from code")}})})},e.prototype.getAccessTokenFromRefreshToken=function(r,t){return vr(this,void 0,void 0,function(){var n,i,o,s;return gr(this,function(c){switch(c.label){case 0:return[4,fetch("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",accept:"application/json"},body:new URLSearchParams({client_id:this.config.clientId,scope:"".concat(r,"/.default openid profile offline_access"),grant_type:"refresh_token",refresh_token:t})})];case 1:return n=c.sent(),n.ok?[4,n.json()]:[3,3];case 2:return i=c.sent(),[2,i];case 3:return c.trys.push([3,5,,7]),[4,n.json()];case 4:return o=c.sent(),o.error_codes&&o.error_codes.length>0&&o.error_codes[0]===700084&&(this.cacheService.remove("msal.".concat(this.config.clientId,".").concat(r,".authResult")),this.resourceTokenMap.has(r)&&this.resourceTokenMap.delete(r)),[2,this.getAuthResult(r)];case 5:return c.sent(),[4,n.text()];case 6:throw s=c.sent(),new Error(s);case 7:return[2]}})})},e.prototype.getAuthResult=function(r){return vr(this,void 0,void 0,function(){var t,n;return gr(this,function(i){switch(i.label){case 0:if(t=this.cacheService.get("msal.".concat(this.config.clientId,".").concat(r,".authResult")),!t)return[3,2];try{if(li.isTokenValid(t.access_token))return[2,t]}catch{console.log("Unable to verify token validity")}return t.refresh_token?[4,this.getAccessTokenFromRefreshToken(r,t.refresh_token)]:[3,2];case 1:return t=i.sent(),this.resourceTokenMap.set(r,t.access_token),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(r,".authResult"),t),[2,t];case 2:return[4,this.loginUser(r)];case 3:return n=i.sent(),[4,this.getAccessTokenFromCode(r,n)];case 4:return t=i.sent(),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(r,".authResult"),t),this.resourceTokenMap.set(r,t.access_token),[2,t]}})})},e.prototype.getAccessToken=function(r){return vr(this,void 0,void 0,function(){var t,n;return gr(this,function(i){switch(i.label){case 0:return t=this.resourceTokenMap.get(r),t&&li.isTokenValid(t)?[2,t]:[4,this.getAuthResult(r)];case 1:return n=i.sent(),[2,n.access_token]}})})},qc([si("msal-access-token-{0}")],e.prototype,"getAccessToken",null),e})();var ki=function(e,r,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{a(n.next(l))}catch(f){s(f)}}function u(l){try{a(n.throw(l))}catch(f){s(f)}}function a(l){l.done?o(l.value):i(l.value).then(c,u)}a((n=n.apply(e,r||[])).next())})},xi=function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(a){return function(l){return u([a,l])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1],o=a;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(a);break}o[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},$t={emptyMask:0,viewListItems:1,addListItems:2,editListItems:3,deleteListItems:4,approveItems:5,openItems:6,viewVersions:7,deleteVersions:8,cancelCheckout:9,managePersonalViews:10,manageLists:12,viewFormPages:13,anonymousSearchAccessList:14,open:17,viewPages:18,addAndCustomizePages:19,applyThemeAndBorder:20,applyStyleSheets:21,viewUsageData:22,createSSCSite:23,manageSubwebs:24,createGroups:25,managePermissions:26,browseDirectories:27,browseUserInfo:28,addDelPrivateWebParts:29,updatePersonalWebParts:30,manageWeb:31,anonymousSearchAccessWebLists:32,useClientIntegration:37,useRemoteAPIs:38,manageAlerts:39,createAlerts:40,editMyUserInfo:41,enumeratePermissions:63,fullMask:65},Ac=function(){function e(r,t){this.spHttpClient=r,this.siteUrl=t}return e.hasPermission=function(r,t){if(t===65)return(r.High&32767)===32767&&r.Low===65535;var n=t-1,i=1;return n>0&&n<32?(i=i<<n,(r.Low&i)!==0):n>=32&&n<64?(i=i<<n-32,(r.High&i)!==0):!1},e.prototype.checkUserPermissions=function(r,t){return ki(this,void 0,void 0,function(){var n,i,o,s,c,u;return xi(this,function(a){switch(a.label){case 0:return n="".concat(this.siteUrl,"/_api/web").concat(t||"","/getUserEffectivePermissions('").concat(encodeURIComponent("i:0#.f|membership|"+r),"')"),[4,this.spHttpClient.get(n,{headers:{accept:"application/json"}})];case 1:return i=a.sent(),[4,i.json()];case 2:o=a.sent(),s=[];for(c in $t)u=e.hasPermission(o,$t[c]),u&&s.push(c);return[2,s]}})})},e.prototype.checkCurrentUserPermissions=function(r){return ki(this,void 0,void 0,function(){var t,n,i,o,s,c;return xi(this,function(u){switch(u.label){case 0:return t="".concat(this.siteUrl,"/_api/web/").concat(r,"/EffectiveBasePermission"),[4,this.spHttpClient.get(t,{headers:{accept:"application/json"}})];case 1:return n=u.sent(),[4,n.json()];case 2:i=u.sent(),o=[];for(s in $t)c=e.hasPermission(i,$t[s]),c&&o.push(s);return[2,o]}})})},e}();const Fo=g.createContext({graphClient:new Vt}),Ze=()=>g.useContext(Fo),Oc=e=>{const{authProvider:r}=Or(),t=()=>{if(e.graphClient)return e.graphClient;if(r)return new Sc(new Eo(r,new Vt))},[n,i]=g.useState(t());return g.useEffect(()=>{i(t())},[e.graphClient,r]),n&&E.jsx(Fo.Provider,{value:{graphClient:n},children:e.children})},qo=g.createContext({spClient:new Vt,siteUrl:""}),Bi=()=>g.useContext(qo),Dc=e=>{const{authProvider:r}=Or(),t=()=>{if(e.spClient)return e.spClient;if(r){let o=new Eo(r,new Vt);return o.resourceUri=new URL(e.siteUrl).origin,o}},[n,i]=g.useState(t());return g.useEffect(()=>{i(t())},[e.spClient,r]),n&&E.jsx(qo.Provider,{value:{spClient:n,siteUrl:e.siteUrl},children:e.children})},Ao=g.createContext({dataverseClient:new Vt}),Ic=()=>g.useContext(Ao),Mc=e=>{const{authProvider:r}=Or(),t=()=>{if(e.dataverseClient)return e.dataverseClient;if(r){let o=new Eo(r,new Vt);return o.resourceUri=e.dataverseResource,e.autoBatch&&(o=new zc(o,e.dataverseResource,e.apiPath,500)),o}},[n,i]=g.useState(t());return g.useEffect(()=>{i(t())},[e.dataverseClient,r]),n&&E.jsx(Ao.Provider,{value:{dataverseClient:n,dataverseResource:e.dataverseResource},children:e.children})},Lc=["Top","Right","Bottom","Left"];function pr(e,r,...t){const[n,i=n,o=n,s=i]=t,c=[n,i,o,s],u={};for(let a=0;a<c.length;a+=1)if(c[a]||c[a]===0){const l=e+Lc[a]+r;u[l]=c[a]}return u}function Oo(...e){return pr("border","Width",...e)}function Do(...e){return pr("border","Style",...e)}function Io(...e){return pr("border","Color",...e)}const Hc=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function mr(e){return Hc.includes(e)}function Vc(...e){return mr(e[0])?{...Do(e[0]),...e[1]&&Oo(e[1]),...e[2]&&Io(e[2])}:{...Oo(e[0]),...e[1]&&Do(e[1]),...e[2]&&Io(e[2])}}function $c(...e){return mr(e[0])?{borderLeftStyle:e[0],...e[1]&&{borderLeftWidth:e[1]},...e[2]&&{borderLeftColor:e[2]}}:{borderLeftWidth:e[0],...e[1]&&{borderLeftStyle:e[1]},...e[2]&&{borderLeftColor:e[2]}}}function Wc(...e){return mr(e[0])?{borderBottomStyle:e[0],...e[1]&&{borderBottomWidth:e[1]},...e[2]&&{borderBottomColor:e[2]}}:{borderBottomWidth:e[0],...e[1]&&{borderBottomStyle:e[1]},...e[2]&&{borderBottomColor:e[2]}}}function Uc(...e){return mr(e[0])?{borderRightStyle:e[0],...e[1]&&{borderRightWidth:e[1]},...e[2]&&{borderRightColor:e[2]}}:{borderRightWidth:e[0],...e[1]&&{borderRightStyle:e[1]},...e[2]&&{borderRightColor:e[2]}}}function Gc(...e){return mr(e[0])?{borderTopStyle:e[0],...e[1]&&{borderTopWidth:e[1]},...e[2]&&{borderTopColor:e[2]}}:{borderTopWidth:e[0],...e[1]&&{borderTopStyle:e[1]},...e[2]&&{borderTopColor:e[2]}}}function Xc(e,r=e,t=e,n=r){return{borderBottomRightRadius:t,borderBottomLeftRadius:n,borderTopRightRadius:r,borderTopLeftRadius:e}}const Kc=e=>typeof e=="string"&&/(\d+(\w+|%))/.test(e),Lr=e=>typeof e=="number"&&!Number.isNaN(e),Zc=e=>e==="initial",_i=e=>e==="auto",Yc=e=>e==="none",Qc=["content","fit-content","max-content","min-content"],Mo=e=>Qc.some(r=>e===r)||Kc(e);function Jc(...e){const r=e.length===1,t=e.length===2,n=e.length===3;if(r){const[i]=e;if(Zc(i))return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(_i(i))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if(Yc(i))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(Lr(i))return{flexGrow:i,flexShrink:1,flexBasis:0};if(Mo(i))return{flexGrow:1,flexShrink:1,flexBasis:i}}if(t){const[i,o]=e;if(Lr(o))return{flexGrow:i,flexShrink:o,flexBasis:0};if(Mo(o))return{flexGrow:i,flexShrink:1,flexBasis:o}}if(n){const[i,o,s]=e;if(Lr(i)&&Lr(o)&&(_i(s)||Mo(s)))return{flexGrow:i,flexShrink:o,flexBasis:s}}return process.env.NODE_ENV!=="production"&&console.error("The value passed to shorthands.flex did not match any flex property specs. The CSS styles were not generated. Please, check the flex documentation."),{}}function eu(e,r=e){return{columnGap:e,rowGap:r}}const tu=/var\(.*\)/gi;function ru(e){return e===void 0||typeof e=="number"||typeof e=="string"&&!tu.test(e)}const ou=/^[a-zA-Z0-9\-_\\#;]+$/,nu=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function Lo(e){return e!==void 0&&typeof e=="string"&&ou.test(e)&&!nu.test(e)}function iu(...e){if(e.some(o=>!ru(o)))return process.env.NODE_ENV!=="production"&&console.error("The value passed to shorthands.gridArea() did not match any gridArea property specs. The CSS styles were not generated. Please, check the gridArea documentation.",["The value passed to shorthands.gridArea() did not match any gridArea property specs. ",`The CSS styles were not generated.
39
+ `,"Please, check the `grid-area` documentation:\n","- https://developer.mozilla.org/docs/Web/CSS/grid-area","- https://griffel.js.org/react/api/shorthands#shorthandsgridarea"].join("")),{};const r=e[0]!==void 0?e[0]:"auto",t=e[1]!==void 0?e[1]:Lo(r)?r:"auto",n=e[2]!==void 0?e[2]:Lo(r)?r:"auto",i=e[3]!==void 0?e[3]:Lo(t)?t:"auto";return{gridRowStart:r,gridColumnStart:t,gridRowEnd:n,gridColumnEnd:i}}function au(...e){return pr("margin","",...e)}function su(e,r=e){return{marginBlockStart:e,marginBlockEnd:r}}function lu(e,r=e){return{marginInlineStart:e,marginInlineEnd:r}}function cu(...e){return pr("padding","",...e)}function uu(e,r=e){return{paddingBlockStart:e,paddingBlockEnd:r}}function fu(e,r=e){return{paddingInlineStart:e,paddingInlineEnd:r}}function du(e,r=e){return{overflowX:e,overflowY:r}}function hu(...e){const[r,t=r,n=r,i=t]=e;return{top:r,right:t,bottom:n,left:i}}function vu(e,r,t){return{outlineWidth:e,...r&&{outlineStyle:r},...t&&{outlineColor:t}}}function gu(...e){return mu(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:bu(e).reduce((t,[n,i="0s",o="0s",s="ease"],c)=>(c===0?(t.transitionProperty=n,t.transitionDuration=i,t.transitionDelay=o,t.transitionTimingFunction=s):(t.transitionProperty+=`, ${n}`,t.transitionDuration+=`, ${i}`,t.transitionDelay+=`, ${o}`,t.transitionTimingFunction+=`, ${s}`),t),{})}const pu=["-moz-initial","inherit","initial","revert","unset"];function mu(e){return e.length===1&&pu.includes(e[0])}function bu(e){return e.length===1&&Array.isArray(e[0])?e[0]:[e]}function yu(e,...r){if(r.length===0)return ku(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[t,n,i]=r;return{textDecorationLine:e,...t&&{textDecorationStyle:t},...n&&{textDecorationColor:n},...i&&{textDecorationThickness:i}}}const wu=["dashed","dotted","double","solid","wavy"];function ku(e){return wu.includes(e)}const Ho=typeof window>"u"?global:window,Vo="@griffel/";function Si(e,r){return Ho[Symbol.for(Vo+e)]||(Ho[Symbol.for(Vo+e)]=r),Ho[Symbol.for(Vo+e)]}const Pi=Si("DEBUG_RESET_CLASSES",{}),br=Si("DEFINITION_LOOKUP_TABLE",{}),Hr="data-make-styles-bucket",$o="f",xu="r",yr=7,et="___",Ci="_",zi=process.env.NODE_ENV==="production"?et.length+yr:et.length+yr+Ci.length+yr,Bu=0,Ti=1,_u={all:1,animation:1,background:1,backgroundPosition:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderBottom:1,borderColor:1,borderImage:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1,borderLeft:1,borderRadius:1,borderRight:1,borderStyle:1,borderTop:1,borderWidth:1,caret:1,columns:1,columnRule:1,containIntrinsicSize:1,container:1,flex:1,flexFlow:1,font:1,gap:1,grid:1,gridArea:1,gridColumn:1,gridRow:1,gridTemplate:1,inset:1,insetBlock:1,insetInline:1,lineClamp:1,listStyle:1,margin:1,marginBlock:1,marginInline:1,mask:1,maskBorder:1,motion:1,offset:1,outline:1,overflow:1,overscrollBehavior:1,padding:1,paddingBlock:1,paddingInline:1,placeItems:1,placeContent:1,placeSelf:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginInline:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingInline:1,scrollSnapMargin:1,scrollTimeline:1,textDecoration:1,textEmphasis:1,transition:1};function Ct(e){for(var r=0,t,n=0,i=e.length;i>=4;++n,i-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function Wo(e){const r=e.length;if(r===yr)return e;for(let t=r;t<yr;t++)e+="0";return e}function Ni(e,r,t=[]){return process.env.NODE_ENV==="production"?et+Wo(Ct(e+r)):et+Wo(Ct(e+r))+Ci+Wo(Ct(t.join("")))}function Ei(e,r){let t="";for(const n in e){const i=e[n];if(i){const o=Array.isArray(i);r==="rtl"?t+=(o?i[1]:i)+" ":t+=(o?i[0]:i)+" "}}return t.slice(0,-1)}function Vr(e,r){const t={};for(const n in e){const i=Ei(e[n],r);if(i===""){t[n]="";continue}const o=Ni(i,r),s=o+" "+i;br[o]=[e[n],r],t[n]=s}return t}const $r={};function O(){let e=null,r="",t="";const n=new Array(arguments.length);let i="";for(let l=0;l<arguments.length;l++){const f=arguments[l];if(typeof f=="string"&&f!==""){const v=f.indexOf(et);if(v===-1)process.env.NODE_ENV!=="production"&&f.split(" ").forEach(d=>{d.startsWith(xu)&&Pi[d]&&(i?console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${f} & ${r}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
40
+ Source string: ${f}`):i=d)}),r+=f+" ";else{const d=f.substr(v,zi);v>0&&(r+=f.slice(0,v)),t+=d,n[l]=d}process.env.NODE_ENV!=="production"&&f.indexOf(et,v+1)!==-1&&console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${et}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${f}`)}}if(t==="")return r.slice(0,-1);const o=$r[t];if(o!==void 0)return r+o;const s=[];for(let l=0;l<arguments.length;l++){const f=n[l];if(f){const v=br[f];v?(s.push(v[Bu]),process.env.NODE_ENV!=="production"&&e!==null&&e!==v[Ti]&&console.error(`mergeClasses(): a passed string contains an identifier (${f}) that has different direction (dir="${v[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[l]}`),e=v[Ti]):process.env.NODE_ENV!=="production"&&console.error(`mergeClasses(): a passed string contains an identifier (${f}) that does not match any entry in cache. Source string: ${arguments[l]}`)}}const c=Object.assign.apply(Object,[{}].concat(s));let u=Ei(c,e);const a=Ni(u,e,n);return u=a+" "+u,$r[t]=u,br[a]=[c,e],r+u}const ji={},Ri=new Set,Wt={getChildrenSequences:e=>{const r=Object.keys($r).find(t=>$r[t].startsWith(e));return r?r.split(et).filter(t=>t.length).map(t=>et+t):[]},addCSSRule:e=>{Ri.add(e)},addSequenceDetails:(e,r)=>{Object.entries(e).forEach(([t,n])=>{ji[n.substring(0,zi)]={slotName:t,sourceURL:r}})},getCSSRules:()=>Array.from(Ri),getSequenceDetails:e=>ji[e]};function Fi(e,r){return Array.isArray(e)?r==="rtl"?e[1]:e[0]:e}function Su(e,r,t,n){const i=e[0],o=e[1];return Object.entries(i).map(([s,c])=>{const u=Fi(c,o);let a;if(t&&r){const l=t.find(({className:f})=>f===u);!l&&r[0][s]?a=Fi(r[0][s],r[1]):l&&r[0][s]?a=(n?n.filter(({debugClassNames:v})=>v.filter(({className:d})=>d===u).length>0).length>0:!1)?l.className:l.overriddenBy:(!l&&!r[0][s]||l&&!r[0][s])&&(a=void 0)}return{className:u,overriddenBy:a}})}function qi(e,r){const t=br[e];if(t===void 0)return;const n=r?br[r.sequenceHash]:void 0,i=Su(t,n,r==null?void 0:r.debugClassNames,r==null?void 0:r.children),o={sequenceHash:e,direction:t[1],children:[],debugClassNames:i};return Wt.getChildrenSequences(o.sequenceHash).reverse().forEach(c=>{const u=qi(c,o);u&&o.children.push(u)}),o.children.length||(o.rules={},o.debugClassNames.forEach(({className:c})=>{const u=Wt.getSequenceDetails(e);u&&(o.slot=u.slotName,o.sourceURL=u.sourceURL);const a=Wt.getCSSRules().find(l=>l.includes(c));o.rules[c]=a})),o}function Pu(e){const r=e.defaultView;if(!r||r.__GRIFFEL_DEVTOOLS__)return;const t={getInfo:n=>{const i=Array.from(n.classList).find(o=>o.startsWith(et));if(i!==void 0)return qi(i)}};Object.defineProperty(r,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return t}})}const Ut=(()=>{var e;try{return!!(typeof window<"u"&&(!((e=window.sessionStorage)===null||e===void 0)&&e.getItem("__GRIFFEL_DEVTOOLS__")))}catch{return!1}})();function Cu(e){if(!Array.isArray(e))return[e];if(process.env.NODE_ENV!=="production"&&e.length>2)throw new Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");return e}function zu(e,r,t){const n=[];if(t[Hr]=r,e)for(const o in t)e.setAttribute(o,t[o]);function i(o){return e!=null&&e.sheet?e.sheet.insertRule(o,e.sheet.cssRules.length):n.push(o)}return{elementAttributes:t,insertRule:i,element:e,bucketName:r,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(o=>o.cssText):n}}}const Ai=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,r,t)=>(e[r]=t,e),{});function Tu(e,r,t,n,i={}){const o=e==="m",s=o?e+i.m:e;if(!n.stylesheets[s]){const c=r&&r.createElement("style"),u=zu(c,e,{...n.styleElementAttributes,...o&&{media:i.m}});n.stylesheets[s]=u,r&&c&&r.head.insertBefore(c,Nu(r,t,e,n,i))}return n.stylesheets[s]}function Nu(e,r,t,n,i){const o=Ai[t];let s=l=>o-Ai[l.getAttribute(Hr)],c=e.head.querySelectorAll(`[${Hr}]`);if(t==="m"&&i){const l=e.head.querySelectorAll(`[${Hr}="${t}"]`);l.length&&(c=l,s=f=>n.compareMediaQueries(i.m,f.media))}const u=c.length;let a=u-1;for(;a>=0;){const l=c.item(a);if(s(l)>0)return l.nextSibling;a--}return u>0?c.item(0):r?r.nextSibling:null}const Eu=["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),ju=new RegExp(`:(${Eu})`);function Oi(e,r){try{e.insertRule(r)}catch(t){process.env.NODE_ENV!=="production"&&!ju.test(r)&&console.error(`There was a problem inserting the following rule: "${r}"`,t)}}let Ru=0;const Fu=(e,r)=>e<r?-1:e>r?1:0;function qu(e=typeof document>"u"?void 0:document,r={}){const{unstable_filterCSSRule:t,insertionPoint:n,styleElementAttributes:i,compareMediaQueries:o=Fu}=r,s={insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(i),compareMediaQueries:o,id:`d${Ru++}`,insertCSSRules(c){for(const u in c){const a=c[u];for(let l=0,f=a.length;l<f;l++){const[v,d]=Cu(a[l]),h=Tu(u,e,n||null,s,d);s.insertionCache[v]||(s.insertionCache[v]=u,process.env.NODE_ENV!=="production"&&Ut&&Wt.addCSSRule(v),t?t(v)&&Oi(h,v):Oi(h,v))}}}};return e&&process.env.NODE_ENV!=="production"&&Ut&&Pu(e),s}const Uo="<unknown>";function Au(e){return Mu(e)||Vu(e)||Wu(e)}const Ou=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,Du=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,Iu=/\((\S*)\)/;function Mu(e){const r=Ou.exec(e)||Du.exec(e);if(!r)return null;let t=r[2];const n=t&&t.indexOf("native")===0,i=t&&t.indexOf("eval")===0,o=Iu.exec(t);return i&&o!=null&&(t=o[1]),{loc:n?null:r[2],name:r[1]||Uo}}const Lu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,Hu=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Vu(e){const r=Lu.exec(e);if(!r)return null;let t=r[3];const n=t&&t.indexOf(" > eval")>-1,i=Hu.exec(t);return n&&i!=null&&(t=i[1]),{loc:r[3],name:r[1]||Uo}}const $u=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function Wu(e){const r=$u.exec(e);return r?{loc:r[3],name:r[1]||Uo}:null}function Di(){const e=String(new Error().stack).split(`
41
+ `),r=Uu(e);if(r===void 0)return;const t=Au(r);return t==null?void 0:t.loc}function Uu(e){for(let r=e.length-1;r>=0;--r)if(e[r].includes("at getSourceURLfromError"))return e[r+3]}const Go=()=>{const e={};return function(t,n){e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}};function Ii(e){return e.reduce(function(r,t){var n=t[0],i=t[1];return r[n]=i,r[i]=n,r},{})}function Gu(e){return typeof e=="boolean"}function Xu(e){return typeof e=="function"}function wr(e){return typeof e=="number"}function Ku(e){return e===null||typeof e>"u"}function Zu(e){return e&&typeof e=="object"}function Yu(e){return typeof e=="string"}function Wr(e,r){return e.indexOf(r)!==-1}function Qu(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function Ur(e,r,t,n){return r+Qu(t)+n}function Ju(e){var r=e.indexOf(".");if(r===-1)e=100-parseFloat(e)+"%";else{var t=e.length-r-2;e=100-parseFloat(e),e=e.toFixed(t)+"%"}return e}function Mi(e){return e.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,t){var n=r.list,i=r.state,o=(t.match(/\(/g)||[]).length,s=(t.match(/\)/g)||[]).length;return i.parensDepth>0?n[n.length-1]=n[n.length-1]+" "+t:n.push(t),i.parensDepth+=o-s,{list:n,state:i}},{list:[],state:{parensDepth:0}}).list}function Li(e){var r=Mi(e);if(r.length<=3||r.length>4)return e;var t=r[0],n=r[1],i=r[2],o=r[3];return[t,o,i,n].join(" ")}function ef(e){return!Gu(e)&&!Ku(e)}function tf(e){for(var r=[],t=0,n=0,i=!1;n<e.length;)!i&&e[n]===","?(r.push(e.substring(t,n).trim()),n++,t=n):e[n]==="("?(i=!0,n++):(e[n]===")"&&(i=!1),n++);return t!=n&&r.push(e.substring(t,n+1)),r}var C={padding:function(r){var t=r.value;return wr(t)?t:Li(t)},textShadow:function(r){var t=r.value,n=tf(t).map(function(i){return i.replace(/(^|\s)(-*)([.|\d]+)/,function(o,s,c,u){if(u==="0")return o;var a=c===""?"-":"";return""+s+a+u})});return n.join(",")},borderColor:function(r){var t=r.value;return Li(t)},borderRadius:function(r){var t=r.value;if(wr(t))return t;if(Wr(t,"/")){var n=t.split("/"),i=n[0],o=n[1],s=C.borderRadius({value:i.trim()}),c=C.borderRadius({value:o.trim()});return s+" / "+c}var u=Mi(t);switch(u.length){case 2:return u.reverse().join(" ");case 4:{var a=u[0],l=u[1],f=u[2],v=u[3];return[l,a,v,f].join(" ")}default:return t}},background:function(r){var t=r.value,n=r.valuesToConvert,i=r.isRtl,o=r.bgImgDirectionRegex,s=r.bgPosDirectionRegex;if(wr(t))return t;var c=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(c,C.backgroundPosition({value:c,valuesToConvert:n,isRtl:i,bgPosDirectionRegex:s})),C.backgroundImage({value:t,valuesToConvert:n,bgImgDirectionRegex:o})},backgroundImage:function(r){var t=r.value,n=r.valuesToConvert,i=r.bgImgDirectionRegex;return!Wr(t,"url(")&&!Wr(t,"linear-gradient(")?t:t.replace(i,function(o,s,c){return o.replace(c,n[c])})},backgroundPosition:function(r){var t=r.value,n=r.valuesToConvert,i=r.isRtl,o=r.bgPosDirectionRegex;return t.replace(i?/^((-|\d|\.)+%)/:null,function(s,c){return Ju(c)}).replace(o,function(s){return n[s]})},backgroundPositionX:function(r){var t=r.value,n=r.valuesToConvert,i=r.isRtl,o=r.bgPosDirectionRegex;return wr(t)?t:C.backgroundPosition({value:t,valuesToConvert:n,isRtl:i,bgPosDirectionRegex:o})},transition:function(r){var t=r.value,n=r.propertiesToConvert;return t.split(/,\s*/g).map(function(i){var o=i.split(" ");return o[0]=n[o[0]]||o[0],o.join(" ")}).join(", ")},transitionProperty:function(r){var t=r.value,n=r.propertiesToConvert;return t.split(/,\s*/g).map(function(i){return n[i]||i}).join(", ")},transform:function(r){var t=r.value,n="[^\\u0020-\\u007e]",i="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",o="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+n+"|"+i+")")+("(?:[_a-z0-9-]|"+n+"|"+i+")")+"*")+")?")+")|(?:inherit|auto))",s=new RegExp("(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),c=new RegExp("(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,1}\\s*\\))","gi"),u=new RegExp("(translate3d\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,2}\\s*\\))","gi"),a=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+o+"(\\s*\\))","gi");return t.replace(s,Ur).replace(c,Ur).replace(u,Ur).replace(a,Ur)}};C.objectPosition=C.backgroundPosition,C.margin=C.padding,C.borderWidth=C.padding,C.boxShadow=C.textShadow,C.webkitBoxShadow=C.boxShadow,C.mozBoxShadow=C.boxShadow,C.WebkitBoxShadow=C.boxShadow,C.MozBoxShadow=C.boxShadow,C.borderStyle=C.borderColor,C.webkitTransform=C.transform,C.mozTransform=C.transform,C.WebkitTransform=C.transform,C.MozTransform=C.transform,C.transformOrigin=C.backgroundPosition,C.webkitTransformOrigin=C.transformOrigin,C.mozTransformOrigin=C.transformOrigin,C.WebkitTransformOrigin=C.transformOrigin,C.MozTransformOrigin=C.transformOrigin,C.webkitTransition=C.transition,C.mozTransition=C.transition,C.WebkitTransition=C.transition,C.MozTransition=C.transition,C.webkitTransitionProperty=C.transitionProperty,C.mozTransitionProperty=C.transitionProperty,C.WebkitTransitionProperty=C.transitionProperty,C.MozTransitionProperty=C.transitionProperty,C["text-shadow"]=C.textShadow,C["border-color"]=C.borderColor,C["border-radius"]=C.borderRadius,C["background-image"]=C.backgroundImage,C["background-position"]=C.backgroundPosition,C["background-position-x"]=C.backgroundPositionX,C["object-position"]=C.objectPosition,C["border-width"]=C.padding,C["box-shadow"]=C.textShadow,C["-webkit-box-shadow"]=C.textShadow,C["-moz-box-shadow"]=C.textShadow,C["border-style"]=C.borderColor,C["-webkit-transform"]=C.transform,C["-moz-transform"]=C.transform,C["transform-origin"]=C.transformOrigin,C["-webkit-transform-origin"]=C.transformOrigin,C["-moz-transform-origin"]=C.transformOrigin,C["-webkit-transition"]=C.transition,C["-moz-transition"]=C.transition,C["transition-property"]=C.transitionProperty,C["-webkit-transition-property"]=C.transitionProperty,C["-moz-transition-property"]=C.transitionProperty;var Hi=Ii([["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"]]),rf=["content"],Vi=Ii([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),of=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),nf=new RegExp("(left)|(right)");function $i(e){return Object.keys(e).reduce(function(r,t){var n=e[t];if(Yu(n)&&(n=n.trim()),Wr(rf,t))return r[t]=n,r;var i=Xo(t,n),o=i.key,s=i.value;return r[o]=s,r},Array.isArray(e)?[]:{})}function Xo(e,r){var t=/\/\*\s?@noflip\s?\*\//.test(r),n=t?e:af(e),i=t?r:sf(n,r);return{key:n,value:i}}function af(e){return Hi[e]||e}function sf(e,r){if(!ef(r))return r;if(Zu(r))return $i(r);var t=wr(r),n=Xu(r),i=t||n?r:r.replace(/ !important.*?$/,""),o=!t&&i.length!==r.length,s=C[e],c;return s?c=s({value:i,valuesToConvert:Vi,propertiesToConvert:Hi,isRtl:!0,bgImgDirectionRegex:of,bgPosDirectionRegex:nf}):c=Vi[i]||i,o?c+" !important":c}const lf=/[A-Z]/g,cf=/^ms-/,Ko={};function uf(e){return"-"+e.toLowerCase()}function kr(e){if(Object.prototype.hasOwnProperty.call(Ko,e))return Ko[e];if(e.substr(0,2)==="--")return e;const r=e.replace(lf,uf);return Ko[e]=cf.test(r)?"-"+r:r}function Wi(e){return e.charAt(0)==="&"?e.slice(1):e}var xr="-moz-",Ye="-webkit-",Ui="comm",Gr="rule",Zo="decl",ff="@media",df="@import",hf="@supports",vf="@keyframes",Gi="@layer",gf=Math.abs,Xr=String.fromCharCode,pf=Object.assign;function mf(e,r){return je(e,0)^45?(((r<<2^je(e,0))<<2^je(e,1))<<2^je(e,2))<<2^je(e,3):0}function Xi(e){return e.trim()}function Ki(e,r){return(e=r.exec(e))?e[0]:e}function De(e,r,t){return e.replace(r,t)}function Zi(e,r){return e.indexOf(r)}function je(e,r){return e.charCodeAt(r)|0}function Br(e,r,t){return e.slice(r,t)}function tt(e){return e.length}function Yi(e){return e.length}function zt(e,r){return r.push(e),e}function bf(e,r){return e.map(r).join("")}var Kr=1,Gt=1,Qi=0,Ve=0,pe=0,Xt="";function Zr(e,r,t,n,i,o,s,c){return{value:e,root:r,parent:t,type:n,props:i,children:o,line:Kr,column:Gt,length:s,return:"",siblings:c}}function Yo(e,r){return pf(Zr("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function yf(){return pe}function wf(){return pe=Ve>0?je(Xt,--Ve):0,Gt--,pe===10&&(Gt=1,Kr--),pe}function We(){return pe=Ve<Qi?je(Xt,Ve++):0,Gt++,pe===10&&(Gt=1,Kr++),pe}function Tt(){return je(Xt,Ve)}function Yr(){return Ve}function Qr(e,r){return Br(Xt,e,r)}function Jr(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 Ji(e){return Kr=Gt=1,Qi=tt(Xt=e),Ve=0,[]}function ea(e){return Xt="",e}function eo(e){return Xi(Qr(Ve-1,Qo(e===91?e+2:e===40?e+1:e)))}function kf(e){return ea(Bf(Ji(e)))}function xf(e){for(;(pe=Tt())&&pe<33;)We();return Jr(e)>2||Jr(pe)>3?"":" "}function Bf(e){for(;We();)switch(Jr(pe)){case 0:zt(ta(Ve-1),e);break;case 2:zt(eo(pe),e);break;default:zt(Xr(pe),e)}return e}function _f(e,r){for(;--r&&We()&&!(pe<48||pe>102||pe>57&&pe<65||pe>70&&pe<97););return Qr(e,Yr()+(r<6&&Tt()==32&&We()==32))}function Qo(e){for(;We();)switch(pe){case e:return Ve;case 34:case 39:e!==34&&e!==39&&Qo(pe);break;case 40:e===41&&Qo(e);break;case 92:We();break}return Ve}function Sf(e,r){for(;We()&&e+pe!==57;)if(e+pe===84&&Tt()===47)break;return"/*"+Qr(r,Ve-1)+"*"+Xr(e===47?e:We())}function ta(e){for(;!Jr(Tt());)We();return Qr(e,Ve)}function ra(e){return ea(to("",null,null,null,[""],e=Ji(e),0,[0],e))}function to(e,r,t,n,i,o,s,c,u){for(var a=0,l=0,f=s,v=0,d=0,h=0,m=1,w=1,b=1,y=0,S="",x=i,P=o,k=n,_=S;w;)switch(h=y,y=We()){case 40:if(h!=108&&je(_,f-1)==58){Zi(_+=De(eo(y),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:_+=eo(y);break;case 9:case 10:case 13:case 32:_+=xf(h);break;case 92:_+=_f(Yr()-1,7);continue;case 47:switch(Tt()){case 42:case 47:zt(Pf(Sf(We(),Yr()),r,t,u),u);break;default:_+="/"}break;case 123*m:c[a++]=tt(_)*b;case 125*m:case 59:case 0:switch(y){case 0:case 125:w=0;case 59+l:b==-1&&(_=De(_,/\f/g,"")),d>0&&tt(_)-f&&zt(d>32?na(_+";",n,t,f-1,u):na(De(_," ","")+";",n,t,f-2,u),u);break;case 59:_+=";";default:if(zt(k=oa(_,r,t,a,l,i,c,S,x=[],P=[],f,o),o),y===123)if(l===0)to(_,r,k,k,x,o,f,c,P);else switch(v===99&&je(_,3)===110?100:v){case 100:case 108:case 109:case 115:to(e,k,k,n&&zt(oa(e,k,k,0,0,i,c,S,i,x=[],f,P),P),i,P,f,c,n?x:P);break;default:to(_,k,k,k,[""],P,0,c,P)}}a=l=d=0,m=b=1,S=_="",f=s;break;case 58:f=1+tt(_),d=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&wf()==125)continue}switch(_+=Xr(y),y*m){case 38:b=l>0?1:(_+="\f",-1);break;case 44:c[a++]=(tt(_)-1)*b,b=1;break;case 64:Tt()===45&&(_+=eo(We())),v=Tt(),l=f=tt(S=_+=ta(Yr())),y++;break;case 45:h===45&&tt(_)==2&&(m=0)}}return o}function oa(e,r,t,n,i,o,s,c,u,a,l,f){for(var v=i-1,d=i===0?o:[""],h=Yi(d),m=0,w=0,b=0;m<n;++m)for(var y=0,S=Br(e,v+1,v=gf(w=s[m])),x=e;y<h;++y)(x=Xi(w>0?d[y]+" "+S:De(S,/&\f/g,d[y])))&&(u[b++]=x);return Zr(e,r,t,i===0?Gr:c,u,a,l,f)}function Pf(e,r,t,n){return Zr(e,r,t,Ui,Xr(yf()),Br(e,2,-2),0,n)}function na(e,r,t,n,i){return Zr(e,r,t,Zo,Br(e,0,n),Br(e,n+1,-1),n,i)}function Kt(e,r){for(var t="",n=0;n<e.length;n++)t+=r(e[n],n,e,r)||"";return t}function ia(e,r,t,n){switch(e.type){case Gi:if(e.children.length)break;case df:case Zo:return e.return=e.return||e.value;case Ui:return"";case vf:return e.return=e.value+"{"+Kt(e.children,n)+"}";case Gr:if(!tt(e.value=e.props.join(",")))return""}return tt(t=Kt(e.children,n))?e.return=e.value+"{"+t+"}":""}function aa(e){var r=Yi(e);return function(t,n,i,o){for(var s="",c=0;c<r;c++)s+=e[c](t,n,i,o)||"";return s}}function sa(e){return function(r){r.root||(r=r.return)&&e(r)}}const Cf=e=>{switch(e.type){case Gr:if(typeof e.props=="string"){if(process.env.NODE_ENV!=="production")throw new Error(`"element.props" has type "string" (${JSON.stringify(e.props,null,2)}), it's not expected. Please report a bug if it happens.`);return}e.props=e.props.map(r=>r.indexOf(":global(")===-1?r:kf(r).reduce((t,n,i,o)=>{if(n==="")return t;if(n===":"&&o[i+1]==="global"){const s=o[i+2].slice(1,-1)+" ";return t.unshift(s),o[i+1]="",o[i+2]="",t}return t.push(n),t},[]).join(""))}};function la(e,r,t){switch(mf(e,r)){case 5103:return Ye+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return Ye+e+e;case 4215:if(je(e,9)===102||je(e,r+1)===116)return Ye+e+e;break;case 4789:return xr+e+e;case 5349:case 4246:case 6968:return Ye+e+xr+e+e;case 6187:if(!Ki(e,/grab/))return De(De(De(e,/(zoom-|grab)/,Ye+"$1"),/(image-set)/,Ye+"$1"),e,"")+e;case 5495:case 3959:return De(e,/(image-set\([^]*)/,Ye+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return De(e,/(.+)-inline(.+)/,Ye+"$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(tt(e)-1-r>6)switch(je(e,r+1)){case 102:if(je(e,r+3)===108)return De(e,/(.+:)(.+)-([^]+)/,"$1"+Ye+"$2-$3$1"+xr+(je(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Zi(e,"stretch")?la(De(e,"stretch","fill-available"),r)+e:e}break}return e}function ca(e,r,t,n){if(e.length>-1&&!e.return)switch(e.type){case Zo:e.return=la(e.value,e.length);return;case Gr:if(e.length)return bf(e.props,function(i){switch(Ki(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Kt([Yo(e,{props:[De(i,/:(read-\w+)/,":"+xr+"$1")]})],n);case"::placeholder":return Kt([Yo(e,{props:[De(i,/:(plac\w+)/,":"+Ye+"input-$1")]}),Yo(e,{props:[De(i,/:(plac\w+)/,":"+xr+"$1")]})],n)}return""})}}function zf(e){switch(e.type){case"@container":case ff:case hf:case Gi:return!0}return!1}const Tf=e=>{zf(e)&&Array.isArray(e.children)&&e.children.sort((r,t)=>r.props[0]>t.props[0]?1:-1)};function Nf(){}function Ef(e,r){const t=[];return Kt(ra(e),aa([Cf,r?Tf:Nf,ca,ia,sa(n=>t.push(n))])),t}const jf=/,( *[^ &])/g;function Rf(e){return"&"+Wi(e.replace(jf,",&$1"))}function ua(e,r,t){let n=r;return t.length>0&&(n=t.reduceRight((i,o)=>`${Rf(o)} { ${i} }`,r)),`${e}{${n}}`}function fa(e){const{className:r,media:t,layer:n,selectors:i,support:o,property:s,rtlClassName:c,rtlProperty:u,rtlValue:a,value:l,container:f}=e,v=`.${r}`,d=Array.isArray(l)?`${l.map(m=>`${kr(s)}: ${m}`).join(";")};`:`${kr(s)}: ${l};`;let h=ua(v,d,i);if(u&&c){const m=`.${c}`,w=Array.isArray(a)?`${a.map(b=>`${kr(u)}: ${b}`).join(";")};`:`${kr(u)}: ${a};`;h+=ua(m,w,i)}return t&&(h=`@media ${t} { ${h} }`),n&&(h=`@layer ${n} { ${h} }`),o&&(h=`@supports ${o} { ${h} }`),f&&(h=`@container ${f} { ${h} }`),Ef(h,!0)}function Ff(e){let r="";for(const t in e){const n=e[t];typeof n!="string"&&typeof n!="number"||(r+=kr(t)+":"+n+";")}return r}function da(e){let r="";for(const t in e)r+=`${t}{${Ff(e[t])}}`;return r}function ha(e,r){const t=`@keyframes ${e} {${r}}`,n=[];return Kt(ra(t),aa([ia,ca,sa(i=>n.push(i))])),n}function va(e,r){return e.length===0?r:`${e} and ${r}`}function qf(e){return e.substr(0,6)==="@media"}function Af(e){return e.substr(0,6)==="@layer"}const Of=/^(:|\[|>|&)/;function Df(e){return Of.test(e)}function If(e){return e.substr(0,9)==="@supports"}function Mf(e){return e.substring(0,10)==="@container"}function Lf(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const ga={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function pa(e,r,t,n,i){if(t)return"m";if(r||n)return"t";if(i)return"c";if(e.length>0){const o=e[0].trim();if(o.charCodeAt(0)===58)return ga[o.slice(4,8)]||ga[o.slice(3,5)]||"d"}return"d"}function ro({container:e,media:r,layer:t,property:n,selector:i,support:o,value:s}){const c=Ct(i+e+r+t+o+n+s.trim());return $o+c}function ma(e,r,t,n,i){const o=e+r+t+n+i,s=Ct(o),c=s.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+s.slice(1):s}function ba(e){return e.replace(/>\s+/g,">")}function ya(...e){process.env.NODE_ENV!=="production"&&typeof document<"u"&&console.error(...e)}function Hf(e,r){const t=JSON.stringify(r,null,2),n=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${e}": ${t.split(`
31
42
  `).map((i,o)=>" ".repeat(o===0?0:6)+i).join(`
32
- `)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];e.indexOf("&")===-1?(n.push("It looks that you're are using a nested selector, but it is missing an ampersand placeholder where the generated class name should be injected."),n.push(`Try to update a property to include it i.e "${e}" => "&${e}".`)):(n.push(""),n.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues")),va(n.join(`
33
- `))}function Af(e,r){va([`@griffel/react: You are using unsupported shorthand CSS property "${e}". Please check your "makeStyles" calls, there *should not* be following:`," ".repeat(2)+"makeStyles({"," ".repeat(4)+`[slot]: { ${e}: "${r}" }`," ".repeat(2)+"})","","Learn why CSS shorthands are not supported: https://aka.ms/griffel-css-shorthands"].join(`
34
- `))}function ga(e,r,t,n){e[r]=n?[t,n]:t}function pa(e,r){return r?[e,r]:e}function Qo(e,r,t,n,i){var o;let s;r==="m"&&i&&(s={m:i}),(o=e[r])!==null&&o!==void 0||(e[r]=[]),t&&e[r].push(pa(t,s)),n&&e[r].push(pa(n,s))}function Nt(e,r=[],t="",n="",i="",o="",s={},c={},u){for(const a in e){if(mu.hasOwnProperty(a)){Af(a,e[a]);continue}const l=e[a];if(l!=null){if(typeof l=="string"||typeof l=="number"){const f=ha(r.join("")),v=da(f,o,t,i,a),d=to({container:o,media:t,layer:n,value:l.toString(),support:i,selector:f,property:a}),h=u&&{key:a,value:u}||Go(a,l),m=h.key!==a||h.value!==l,w=m?to({container:o,value:h.value.toString(),property:h.key,selector:f,media:t,layer:n,support:i}):void 0,b=m?{rtlClassName:w,rtlProperty:h.key,rtlValue:h.value}:void 0,y=fa(r,n,t,i,o),[P,x]=aa({className:d,media:t,layer:n,selectors:r,property:a,support:i,container:o,value:l,...b});ga(s,v,d,w),Qo(c,y,P,x,t)}else if(a==="animationName"){const f=Array.isArray(l)?l:[l],v=[],d=[];for(const h of f){const m=sa(h),w=sa(Ii(h)),b=Vo+Ct(m);let y;const P=la(b,m);let x=[];m===w?y=b:(y=Vo+Ct(w),x=la(y,w));for(let S=0;S<P.length;S++)Qo(c,"k",P[S],x[S],t);v.push(b),d.push(y)}Nt({animationName:v.join(", ")},r,t,n,i,o,s,c,d.join(", "))}else if(Array.isArray(l)){if(l.length===0){process.env.NODE_ENV!=="production"&&console.warn(`makeStyles(): An empty array was passed as input to "${a}", the property will be omitted in the styles.`);continue}const f=ha(r.join("")),v=da(f,o,t,i,a),d=to({container:o,media:t,layer:n,value:l.map(k=>(k??"").toString()).join(";"),support:i,selector:f,property:a}),h=l.map(k=>Go(a,k));if(!!h.some(k=>k.key!==h[0].key)){process.env.NODE_ENV!=="production"&&console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}const w=h[0].key!==a||h.some((k,_)=>k.value!==l[_]),b=w?to({container:o,value:h.map(k=>{var _;return((_=k==null?void 0:k.value)!==null&&_!==void 0?_:"").toString()}).join(";"),property:h[0].key,selector:f,layer:n,media:t,support:i}):void 0,y=w?{rtlClassName:b,rtlProperty:h[0].key,rtlValue:h.map(k=>k.value)}:void 0,P=fa(r,n,t,i,o),[x,S]=aa({className:d,media:t,layer:n,selectors:r,property:a,support:i,container:o,value:l,...y});ga(s,v,d,b),Qo(c,P,x,S,t)}else if(Ff(l))if(Ef(a))Nt(l,r.concat(Mi(a)),t,n,i,o,s,c);else if(zf(a)){const f=ca(t,a.slice(6).trim());Nt(l,r,f,n,i,o,s,c)}else if(Tf(a)){const f=(n?`${n}.`:"")+a.slice(6).trim();Nt(l,r,t,f,i,o,s,c)}else if(jf(a)){const f=ca(i,a.slice(9).trim());Nt(l,r,t,n,f,o,s,c)}else if(Rf(a)){const f=a.slice(10).trim();Nt(l,r,t,n,i,f,s,c)}else qf(a,l)}}return[s,c]}function Df(e){const r={},t={};for(const n in e){const i=e[n],[o,s]=Nt(i);r[n]=o,Object.keys(s).forEach(c=>{t[c]=(t[c]||[]).concat(s[c])})}return[r,t]}function Of(e,r=Uo){const t=r();let n=null,i=null,o=null,s=null,c;process.env.NODE_ENV!=="production"&&Ut&&(c=Ri());function u(a){const{dir:l,renderer:f}=a;n===null&&([n,i]=Df(e));const v=l==="ltr";v?o===null&&(o=Hr(n,l)):s===null&&(s=Hr(n,l)),t(f,i);const d=v?o:s;return process.env.NODE_ENV!=="production"&&Ut&&Wt.addSequenceDetails(d,c),d}return u}function If(e,r,t=Uo){const n=t();let i=null,o=null,s;process.env.NODE_ENV!=="production"&&Ut&&(s=Ri());function c(u){const{dir:a,renderer:l}=u,f=a==="ltr";f?i===null&&(i=Hr(e,a)):o===null&&(o=Hr(e,a)),n(l,r);const v=f?i:o;return process.env.NODE_ENV!=="production"&&Ut&&Wt.addSequenceDetails(v,s),v}return c}function Mf(e,r,t,n=Uo){const i=n();function o(s){const{dir:c,renderer:u}=s,a=c==="ltr"?e:r||e;return i(u,Array.isArray(t)?{r:t}:t),process.env.NODE_ENV!=="production"&&(ki[a]=1),a}return o}const _r={border:Ac,borderLeft:Dc,borderBottom:Oc,borderRight:Ic,borderTop:Mc,borderColor:Oo,borderStyle:Do,borderRadius:Lc,borderWidth:Ao,flex:Uc,gap:Gc,gridArea:Qc,margin:Jc,marginBlock:eu,marginInline:tu,padding:ru,paddingBlock:ou,paddingInline:nu,overflow:iu,inset:au,outline:su,transition:lu,textDecoration:du};function Lf(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const ma=g.useInsertionEffect?g.useInsertionEffect:void 0,Jo=()=>{const e={};return function(t,n){if(ma&&Lf()){ma(()=>{t.insertCSSRules(n)},[t,n]);return}e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}},Hf=g.createContext(zu());function en(){return g.useContext(Hf)}const Vf=g.createContext("ltr");function tn(){return g.useContext(Vf)}function $f(){try{const e=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher.current;return e==null?!1:(e.useContext({}),!0)}catch{return!1}}function rn(e){const r=Of(e,Jo);if(process.env.NODE_ENV!=="production"&&$f())throw new Error(["makeStyles(): this function cannot be called in component's scope.","All makeStyles() calls should be top level i.e. in a root scope of a file."].join(" "));return function(){const n=tn(),i=en();return r({dir:n,renderer:i})}}function U(e,r){const t=If(e,r,Jo);return function(){const i=tn(),o=en();return t({dir:i,renderer:o})}}function Re(e,r,t){const n=Mf(e,r,t,Jo);return function(){const o=tn(),s=en();return n({dir:o,renderer:s})}}const ba=Symbol("fui.slotRenderFunction"),Zt=Symbol("fui.slotElementType");function me(e,r){const{defaultProps:t,elementType:n}=r,i=ya(e),o={...t,...i,[Zt]:n};return i&&typeof i.children=="function"&&(o[ba]=i.children,o.children=t==null?void 0:t.children),o}function J(e,r){if(!(e===null||e===void 0&&!r.renderByDefault))return me(e,r)}function ya(e){return typeof e=="string"||typeof e=="number"||Array.isArray(e)||g.isValidElement(e)?{children:e}:(e&&typeof e!="object"&&process.env.NODE_ENV!=="production"&&console.error(`@fluentui/react-utilities [slot.${ya.name}]:
43
+ `)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];e.indexOf("&")===-1?(n.push("It looks that you're are using a nested selector, but it is missing an ampersand placeholder where the generated class name should be injected."),n.push(`Try to update a property to include it i.e "${e}" => "&${e}".`)):(n.push(""),n.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues")),ya(n.join(`
44
+ `))}function Vf(e,r){ya([`@griffel/react: You are using unsupported shorthand CSS property "${e}". Please check your "makeStyles" calls, there *should not* be following:`," ".repeat(2)+"makeStyles({"," ".repeat(4)+`[slot]: { ${e}: "${r}" }`," ".repeat(2)+"})","","Learn why CSS shorthands are not supported: https://aka.ms/griffel-css-shorthands"].join(`
45
+ `))}function wa(e,r,t,n){e[r]=n?[t,n]:t}function ka(e,r){return r?[e,r]:e}function Jo(e,r,t,n,i){var o;let s;r==="m"&&i&&(s={m:i}),(o=e[r])!==null&&o!==void 0||(e[r]=[]),t&&e[r].push(ka(t,s)),n&&e[r].push(ka(n,s))}function Nt(e,r=[],t="",n="",i="",o="",s={},c={},u){for(const a in e){if(_u.hasOwnProperty(a)){Vf(a,e[a]);continue}const l=e[a];if(l!=null){if(typeof l=="string"||typeof l=="number"){const f=ba(r.join("")),v=ma(f,o,t,i,a),d=ro({container:o,media:t,layer:n,value:l.toString(),support:i,selector:f,property:a}),h=u&&{key:a,value:u}||Xo(a,l),m=h.key!==a||h.value!==l,w=m?ro({container:o,value:h.value.toString(),property:h.key,selector:f,media:t,layer:n,support:i}):void 0,b=m?{rtlClassName:w,rtlProperty:h.key,rtlValue:h.value}:void 0,y=pa(r,n,t,i,o),[S,x]=fa({className:d,media:t,layer:n,selectors:r,property:a,support:i,container:o,value:l,...b});wa(s,v,d,w),Jo(c,y,S,x,t)}else if(a==="animationName"){const f=Array.isArray(l)?l:[l],v=[],d=[];for(const h of f){const m=da(h),w=da($i(h)),b=$o+Ct(m);let y;const S=ha(b,m);let x=[];m===w?y=b:(y=$o+Ct(w),x=ha(y,w));for(let P=0;P<S.length;P++)Jo(c,"k",S[P],x[P],t);v.push(b),d.push(y)}Nt({animationName:v.join(", ")},r,t,n,i,o,s,c,d.join(", "))}else if(Array.isArray(l)){if(l.length===0){process.env.NODE_ENV!=="production"&&console.warn(`makeStyles(): An empty array was passed as input to "${a}", the property will be omitted in the styles.`);continue}const f=ba(r.join("")),v=ma(f,o,t,i,a),d=ro({container:o,media:t,layer:n,value:l.map(k=>(k??"").toString()).join(";"),support:i,selector:f,property:a}),h=l.map(k=>Xo(a,k));if(!!h.some(k=>k.key!==h[0].key)){process.env.NODE_ENV!=="production"&&console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}const w=h[0].key!==a||h.some((k,_)=>k.value!==l[_]),b=w?ro({container:o,value:h.map(k=>{var _;return((_=k==null?void 0:k.value)!==null&&_!==void 0?_:"").toString()}).join(";"),property:h[0].key,selector:f,layer:n,media:t,support:i}):void 0,y=w?{rtlClassName:b,rtlProperty:h[0].key,rtlValue:h.map(k=>k.value)}:void 0,S=pa(r,n,t,i,o),[x,P]=fa({className:d,media:t,layer:n,selectors:r,property:a,support:i,container:o,value:l,...y});wa(s,v,d,b),Jo(c,S,x,P,t)}else if(Lf(l))if(Df(a))Nt(l,r.concat(Wi(a)),t,n,i,o,s,c);else if(qf(a)){const f=va(t,a.slice(6).trim());Nt(l,r,f,n,i,o,s,c)}else if(Af(a)){const f=(n?`${n}.`:"")+a.slice(6).trim();Nt(l,r,t,f,i,o,s,c)}else if(If(a)){const f=va(i,a.slice(9).trim());Nt(l,r,t,n,f,o,s,c)}else if(Mf(a)){const f=a.slice(10).trim();Nt(l,r,t,n,i,f,s,c)}else Hf(a,l)}}return[s,c]}function $f(e){const r={},t={};for(const n in e){const i=e[n],[o,s]=Nt(i);r[n]=o,Object.keys(s).forEach(c=>{t[c]=(t[c]||[]).concat(s[c])})}return[r,t]}function Wf(e,r=Go){const t=r();let n=null,i=null,o=null,s=null,c;process.env.NODE_ENV!=="production"&&Ut&&(c=Di());function u(a){const{dir:l,renderer:f}=a;n===null&&([n,i]=$f(e));const v=l==="ltr";v?o===null&&(o=Vr(n,l)):s===null&&(s=Vr(n,l)),t(f,i);const d=v?o:s;return process.env.NODE_ENV!=="production"&&Ut&&Wt.addSequenceDetails(d,c),d}return u}function Uf(e,r,t=Go){const n=t();let i=null,o=null,s;process.env.NODE_ENV!=="production"&&Ut&&(s=Di());function c(u){const{dir:a,renderer:l}=u,f=a==="ltr";f?i===null&&(i=Vr(e,a)):o===null&&(o=Vr(e,a)),n(l,r);const v=f?i:o;return process.env.NODE_ENV!=="production"&&Ut&&Wt.addSequenceDetails(v,s),v}return c}function Gf(e,r,t,n=Go){const i=n();function o(s){const{dir:c,renderer:u}=s,a=c==="ltr"?e:r||e;return i(u,Array.isArray(t)?{r:t}:t),process.env.NODE_ENV!=="production"&&(Pi[a]=1),a}return o}const _r={border:Vc,borderLeft:$c,borderBottom:Wc,borderRight:Uc,borderTop:Gc,borderColor:Io,borderStyle:Do,borderRadius:Xc,borderWidth:Oo,flex:Jc,gap:eu,gridArea:iu,margin:au,marginBlock:su,marginInline:lu,padding:cu,paddingBlock:uu,paddingInline:fu,overflow:du,inset:hu,outline:vu,transition:gu,textDecoration:yu};function Xf(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const xa=g.useInsertionEffect?g.useInsertionEffect:void 0,en=()=>{const e={};return function(t,n){if(xa&&Xf()){xa(()=>{t.insertCSSRules(n)},[t,n]);return}e[t.id]===void 0&&(t.insertCSSRules(n),e[t.id]=!0)}},Kf=g.createContext(qu());function tn(){return g.useContext(Kf)}const Zf=g.createContext("ltr");function rn(){return g.useContext(Zf)}function Yf(){try{const e=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher.current;return e==null?!1:(e.useContext({}),!0)}catch{return!1}}function on(e){const r=Wf(e,en);if(process.env.NODE_ENV!=="production"&&Yf())throw new Error(["makeStyles(): this function cannot be called in component's scope.","All makeStyles() calls should be top level i.e. in a root scope of a file."].join(" "));return function(){const n=rn(),i=tn();return r({dir:n,renderer:i})}}function U(e,r){const t=Uf(e,r,en);return function(){const i=rn(),o=tn();return t({dir:i,renderer:o})}}function Re(e,r,t){const n=Gf(e,r,t,en);return function(){const o=rn(),s=tn();return n({dir:o,renderer:s})}}const Ba=Symbol("fui.slotRenderFunction"),Zt=Symbol("fui.slotElementType");function me(e,r){const{defaultProps:t,elementType:n}=r,i=_a(e),o={...t,...i,[Zt]:n};return i&&typeof i.children=="function"&&(o[Ba]=i.children,o.children=t==null?void 0:t.children),o}function J(e,r){if(!(e===null||e===void 0&&!r.renderByDefault))return me(e,r)}function _a(e){return typeof e=="string"||typeof e=="number"||Array.isArray(e)||g.isValidElement(e)?{children:e}:(e&&typeof e!="object"&&process.env.NODE_ENV!=="production"&&console.error(`@fluentui/react-utilities [slot.${_a.name}]:
35
46
  A slot got an invalid value "${e}" (${typeof e}).
36
47
  A valid value for a slot is a slot shorthand or slot properties object.
37
- Slot shorthands can be strings, numbers, arrays or JSX elements`),e)}function on(e){return!!(e!=null&&e.hasOwnProperty(Zt))}const Wf=(e,r)=>J(e,{...r,renderByDefault:r==null?void 0:r.required,elementType:void 0});function ke(e){if(process.env.NODE_ENV!=="production"){const r=e;for(const t of Object.keys(r.components)){const n=r[t];if(n!==void 0)if(!on(n))r[t]=me(n,{elementType:r.components[t]}),console.warn(`@fluentui/react-utilities [${ke.name}]:
48
+ Slot shorthands can be strings, numbers, arrays or JSX elements`),e)}function nn(e){return!!(e!=null&&e.hasOwnProperty(Zt))}const Qf=(e,r)=>J(e,{...r,renderByDefault:r==null?void 0:r.required,elementType:void 0});function ke(e){if(process.env.NODE_ENV!=="production"){const r=e;for(const t of Object.keys(r.components)){const n=r[t];if(n!==void 0)if(!nn(n))r[t]=me(n,{elementType:r.components[t]}),console.warn(`@fluentui/react-utilities [${ke.name}]:
38
49
  "state.${t}" is not a slot!
39
50
  Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{const{[Zt]:i}=n;i!==r.components[t]&&(n[Zt]=r.components[t],console.warn(`@fluentui/react-utilities [${ke.name}]:
40
51
  "state.${t}" element type differs from "state.components.${t}",
41
52
  ${i} !== ${r.components[t]}.
42
- Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`))}}}}const ue=(...e)=>{const r={};for(const t of e){const n=Array.isArray(t)?t:Object.keys(t);for(const i of n)r[i]=1}return r},Uf=ue(["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"]),Gf=ue(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Xf=ue(["itemID","itemProp","itemRef","itemScope","itemType"]),ye=ue(Gf,Uf,Xf),Kf=ue(ye,["form"]),wa=ue(ye,["height","loop","muted","preload","src","width"]),Zf=ue(wa,["poster"]),Yf=ue(ye,["start"]),Qf=ue(ye,["value"]),Jf=ue(ye,["download","href","hrefLang","media","rel","target","type"]),ed=ue(ye,["dateTime"]),ro=ue(ye,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),td=ue(ro,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),rd=ue(ro,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),od=ue(ro,["form","multiple","required"]),nd=ue(ye,["selected","value"]),id=ue(ye,["cellPadding","cellSpacing"]),ad=ye,sd=ue(ye,["colSpan","rowSpan","scope"]),ld=ue(ye,["colSpan","headers","rowSpan","scope"]),cd=ue(ye,["span"]),ud=ue(ye,["span"]),fd=ue(ye,["disabled","form"]),dd=ue(ye,["acceptCharset","action","encType","encType","method","noValidate","target"]),hd=ue(ye,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),vd=ue(ye,["alt","crossOrigin","height","src","srcSet","useMap","width"]),gd=ue(ye,["open","onCancel","onClose"]);function pd(e,r,t){const n=Array.isArray(r),i={},o=Object.keys(e);for(const s of o)(!n&&r[s]||n&&r.indexOf(s)>=0||s.indexOf("data-")===0||s.indexOf("aria-")===0)&&(!t||(t==null?void 0:t.indexOf(s))===-1)&&(i[s]=e[s]);return i}const md={label:Kf,audio:wa,video:Zf,ol:Yf,li:Qf,a:Jf,button:ro,input:td,textarea:rd,select:od,option:nd,table:id,tr:ad,th:sd,td:ld,colGroup:cd,col:ud,fieldset:fd,form:dd,iframe:hd,img:vd,time:ed,dialog:gd};function ka(e,r,t){const n=e&&md[e]||ye;return n.as=1,pd(r,n,t)}const xa=({primarySlotTagName:e,props:r,excludedPropNames:t})=>({root:{style:r.style,className:r.className},primary:ka(e,r,[...t||[],"style","className"])}),Fe=(e,r,t)=>{var n;return ka((n=r.as)!==null&&n!==void 0?n:e,r,t)};function nn(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}function bd(e,r){const t=g.useRef(void 0),n=g.useCallback((o,s)=>(t.current!==void 0&&r(t.current),t.current=e(o,s),t.current),[r,e]),i=g.useCallback(()=>{t.current!==void 0&&(r(t.current),t.current=void 0)},[r]);return g.useEffect(()=>i,[i]),[n,i]}function yd(e){return typeof e=="function"}const Yt=e=>{const[r,t]=g.useState(()=>e.defaultState===void 0?e.initialState:wd(e.defaultState)?e.defaultState():e.defaultState),n=g.useRef(e.state);g.useEffect(()=>{n.current=e.state},[e.state]);const i=g.useCallback(o=>{yd(o)&&o(n.current)},[]);return kd(e.state)?[e.state,i]:[r,t]};function wd(e){return typeof e=="function"}const kd=e=>{const[r]=g.useState(()=>e!==void 0);return process.env.NODE_ENV!=="production"&&g.useEffect(()=>{if(r!==(e!==void 0)){const t=new Error,n=r?"a controlled value to be uncontrolled":"an uncontrolled value to be controlled",i=r?"defined to an undefined":"undefined to a defined";console.error(`@fluentui/react-utilities [${Yt.name}]:
53
+ Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`))}}}}const ue=(...e)=>{const r={};for(const t of e){const n=Array.isArray(t)?t:Object.keys(t);for(const i of n)r[i]=1}return r},Jf=ue(["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"]),ed=ue(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),td=ue(["itemID","itemProp","itemRef","itemScope","itemType"]),ye=ue(ed,Jf,td),rd=ue(ye,["form"]),Sa=ue(ye,["height","loop","muted","preload","src","width"]),od=ue(Sa,["poster"]),nd=ue(ye,["start"]),id=ue(ye,["value"]),ad=ue(ye,["download","href","hrefLang","media","rel","target","type"]),sd=ue(ye,["dateTime"]),oo=ue(ye,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),ld=ue(oo,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),cd=ue(oo,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),ud=ue(oo,["form","multiple","required"]),fd=ue(ye,["selected","value"]),dd=ue(ye,["cellPadding","cellSpacing"]),hd=ye,vd=ue(ye,["colSpan","rowSpan","scope"]),gd=ue(ye,["colSpan","headers","rowSpan","scope"]),pd=ue(ye,["span"]),md=ue(ye,["span"]),bd=ue(ye,["disabled","form"]),yd=ue(ye,["acceptCharset","action","encType","encType","method","noValidate","target"]),wd=ue(ye,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),kd=ue(ye,["alt","crossOrigin","height","src","srcSet","useMap","width"]),xd=ue(ye,["open","onCancel","onClose"]);function Bd(e,r,t){const n=Array.isArray(r),i={},o=Object.keys(e);for(const s of o)(!n&&r[s]||n&&r.indexOf(s)>=0||s.indexOf("data-")===0||s.indexOf("aria-")===0)&&(!t||(t==null?void 0:t.indexOf(s))===-1)&&(i[s]=e[s]);return i}const _d={label:rd,audio:Sa,video:od,ol:nd,li:id,a:ad,button:oo,input:ld,textarea:cd,select:ud,option:fd,table:dd,tr:hd,th:vd,td:gd,colGroup:pd,col:md,fieldset:bd,form:yd,iframe:wd,img:kd,time:sd,dialog:xd};function Pa(e,r,t){const n=e&&_d[e]||ye;return n.as=1,Bd(r,n,t)}const Ca=({primarySlotTagName:e,props:r,excludedPropNames:t})=>({root:{style:r.style,className:r.className},primary:Pa(e,r,[...t||[],"style","className"])}),Fe=(e,r,t)=>{var n;return Pa((n=r.as)!==null&&n!==void 0?n:e,r,t)};function an(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}function Sd(e,r){const t=g.useRef(void 0),n=g.useCallback((o,s)=>(t.current!==void 0&&r(t.current),t.current=e(o,s),t.current),[r,e]),i=g.useCallback(()=>{t.current!==void 0&&(r(t.current),t.current=void 0)},[r]);return g.useEffect(()=>i,[i]),[n,i]}function Pd(e){return typeof e=="function"}const Yt=e=>{const[r,t]=g.useState(()=>e.defaultState===void 0?e.initialState:Cd(e.defaultState)?e.defaultState():e.defaultState),n=g.useRef(e.state);g.useEffect(()=>{n.current=e.state},[e.state]);const i=g.useCallback(o=>{Pd(o)&&o(n.current)},[]);return zd(e.state)?[e.state,i]:[r,t]};function Cd(e){return typeof e=="function"}const zd=e=>{const[r]=g.useState(()=>e!==void 0);return process.env.NODE_ENV!=="production"&&g.useEffect(()=>{if(r!==(e!==void 0)){const t=new Error,n=r?"a controlled value to be uncontrolled":"an uncontrolled value to be controlled",i=r?"defined to an undefined":"undefined to a defined";console.error(`@fluentui/react-utilities [${Yt.name}]:
43
54
  A component is changing ${n}. This is likely caused by the value changing from ${i} value, which should not happen.
44
55
  Decide between using a controlled or uncontrolled input element for the lifetime of the component.
45
56
  More info: https://reactjs.org/link/controlled-components
46
- ${t.stack}`)}},[r,e]),r},xd={current:0},Bd=g.createContext(void 0);function _d(){var e;return(e=g.useContext(Bd))!==null&&e!==void 0?e:xd}const Et=nn()?g.useLayoutEffect:g.useEffect,qe=e=>{const r=g.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Et(()=>{r.current=e},[e]),g.useCallback((...t)=>{const n=r.current;return n(...t)},[r])};function Pd(){const e=g.useRef(!0);return e.current?(e.current=!1,!0):e.current}const Ba=g.createContext(void 0);Ba.Provider;function Sd(){return g.useContext(Ba)||""}function jt(e="fui-",r){const t=_d(),n=Sd(),i=g.useId;if(i){const o=i(),s=g.useMemo(()=>o.replace(/:/g,""),[o]);return r||`${n}${e}${s}`}return g.useMemo(()=>r||`${n}${e}${++t.current}`,[n,e,r,t])}function rt(...e){const r=g.useCallback(t=>{r.current=t;for(const n of e)typeof n=="function"?n(t):n&&(n.current=t)},[...e]);return r}function Cd(){return bd(setTimeout,clearTimeout)}function xe(e,r){return(...t)=>{e==null||e(...t),r==null||r(...t)}}function Rt(e,r){var t;const n=e;var i;return!!(!(n==null||(t=n.ownerDocument)===null||t===void 0)&&t.defaultView&&n instanceof n.ownerDocument.defaultView[(i=r==null?void 0:r.constructorName)!==null&&i!==void 0?i:"HTMLElement"])}function zd(e){return e&&!!e._virtual}function Td(e){return zd(e)&&e._virtual.parent||null}function Nd(e,r={}){if(!e)return null;if(!r.skipVirtual){const t=Td(e);if(t)return t}return(e==null?void 0:e.parentNode)||null}function _a(e,r){if(!e)return;const t=e;t._virtual||(t._virtual={}),t._virtual.parent=r}function Ed(e,r){return{...r,[Zt]:e}}var an={exports:{}},se={};/** @license React v17.0.2
57
+ ${t.stack}`)}},[r,e]),r},Td={current:0},Nd=g.createContext(void 0);function Ed(){var e;return(e=g.useContext(Nd))!==null&&e!==void 0?e:Td}const Et=an()?g.useLayoutEffect:g.useEffect,qe=e=>{const r=g.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Et(()=>{r.current=e},[e]),g.useCallback((...t)=>{const n=r.current;return n(...t)},[r])};function jd(){const e=g.useRef(!0);return e.current?(e.current=!1,!0):e.current}const za=g.createContext(void 0);za.Provider;function Rd(){return g.useContext(za)||""}function jt(e="fui-",r){const t=Ed(),n=Rd(),i=g.useId;if(i){const o=i(),s=g.useMemo(()=>o.replace(/:/g,""),[o]);return r||`${n}${e}${s}`}return g.useMemo(()=>r||`${n}${e}${++t.current}`,[n,e,r,t])}function rt(...e){const r=g.useCallback(t=>{r.current=t;for(const n of e)typeof n=="function"?n(t):n&&(n.current=t)},[...e]);return r}function Fd(){return Sd(setTimeout,clearTimeout)}function xe(e,r){return(...t)=>{e==null||e(...t),r==null||r(...t)}}function Rt(e,r){var t;const n=e;var i;return!!(!(n==null||(t=n.ownerDocument)===null||t===void 0)&&t.defaultView&&n instanceof n.ownerDocument.defaultView[(i=r==null?void 0:r.constructorName)!==null&&i!==void 0?i:"HTMLElement"])}function qd(e){return e&&!!e._virtual}function Ad(e){return qd(e)&&e._virtual.parent||null}function Od(e,r={}){if(!e)return null;if(!r.skipVirtual){const t=Ad(e);if(t)return t}return(e==null?void 0:e.parentNode)||null}function Ta(e,r){if(!e)return;const t=e;t._virtual||(t._virtual={}),t._virtual.parent=r}function Dd(e,r){return{...r,[Zt]:e}}var sn={exports:{}},se={};/** @license React v17.0.2
47
58
  * react-is.development.js
48
59
  *
49
60
  * Copyright (c) Facebook, Inc. and its affiliates.
50
61
  *
51
62
  * This source code is licensed under the MIT license found in the
52
63
  * LICENSE file in the root directory of this source tree.
53
- */var Pa;function jd(){return Pa||(Pa=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,r=60106,t=60107,n=60108,i=60114,o=60109,s=60110,c=60112,u=60113,a=60120,l=60115,f=60116,v=60121,d=60122,h=60117,m=60129,w=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),r=b("react.portal"),t=b("react.fragment"),n=b("react.strict_mode"),i=b("react.profiler"),o=b("react.provider"),s=b("react.context"),c=b("react.forward_ref"),u=b("react.suspense"),a=b("react.suspense_list"),l=b("react.memo"),f=b("react.lazy"),v=b("react.block"),d=b("react.server.block"),h=b("react.fundamental"),b("react.scope"),b("react.opaque.id"),m=b("react.debug_trace_mode"),b("react.offscreen"),w=b("react.legacy_hidden")}var y=!1;function P(T){return!!(typeof T=="string"||typeof T=="function"||T===t||T===i||T===m||T===n||T===u||T===a||T===w||y||typeof T=="object"&&T!==null&&(T.$$typeof===f||T.$$typeof===l||T.$$typeof===o||T.$$typeof===s||T.$$typeof===c||T.$$typeof===h||T.$$typeof===v||T[0]===d))}function x(T){if(typeof T=="object"&&T!==null){var ie=T.$$typeof;switch(ie){case e:var _e=T.type;switch(_e){case t:case i:case n:case u:case a:return _e;default:var Ne=_e&&_e.$$typeof;switch(Ne){case s:case c:case f:case l:case o:return Ne;default:return ie}}case r:return ie}}}var S=s,k=o,_=e,q=c,F=t,V=f,X=l,I=r,B=i,H=n,Y=u,te=!1,ne=!1;function ae(T){return te||(te=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(T){return ne||(ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(T){return x(T)===s}function N(T){return x(T)===o}function M(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function A(T){return x(T)===c}function re(T){return x(T)===t}function he(T){return x(T)===f}function Se(T){return x(T)===l}function Ce(T){return x(T)===r}function ve(T){return x(T)===i}function ge(T){return x(T)===n}function Q(T){return x(T)===u}se.ContextConsumer=S,se.ContextProvider=k,se.Element=_,se.ForwardRef=q,se.Fragment=F,se.Lazy=V,se.Memo=X,se.Portal=I,se.Profiler=B,se.StrictMode=H,se.Suspense=Y,se.isAsyncMode=ae,se.isConcurrentMode=de,se.isContextConsumer=Le,se.isContextProvider=N,se.isElement=M,se.isForwardRef=A,se.isFragment=re,se.isLazy=he,se.isMemo=Se,se.isPortal=Ce,se.isProfiler=ve,se.isStrictMode=ge,se.isSuspense=Q,se.isValidElementType=P,se.typeOf=x}()),se}var le={};/** @license React v17.0.2
64
+ */var Na;function Id(){return Na||(Na=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,r=60106,t=60107,n=60108,i=60114,o=60109,s=60110,c=60112,u=60113,a=60120,l=60115,f=60116,v=60121,d=60122,h=60117,m=60129,w=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),r=b("react.portal"),t=b("react.fragment"),n=b("react.strict_mode"),i=b("react.profiler"),o=b("react.provider"),s=b("react.context"),c=b("react.forward_ref"),u=b("react.suspense"),a=b("react.suspense_list"),l=b("react.memo"),f=b("react.lazy"),v=b("react.block"),d=b("react.server.block"),h=b("react.fundamental"),b("react.scope"),b("react.opaque.id"),m=b("react.debug_trace_mode"),b("react.offscreen"),w=b("react.legacy_hidden")}var y=!1;function S(T){return!!(typeof T=="string"||typeof T=="function"||T===t||T===i||T===m||T===n||T===u||T===a||T===w||y||typeof T=="object"&&T!==null&&(T.$$typeof===f||T.$$typeof===l||T.$$typeof===o||T.$$typeof===s||T.$$typeof===c||T.$$typeof===h||T.$$typeof===v||T[0]===d))}function x(T){if(typeof T=="object"&&T!==null){var ie=T.$$typeof;switch(ie){case e:var _e=T.type;switch(_e){case t:case i:case n:case u:case a:return _e;default:var Ne=_e&&_e.$$typeof;switch(Ne){case s:case c:case f:case l:case o:return Ne;default:return ie}}case r:return ie}}}var P=s,k=o,_=e,q=c,F=t,V=f,X=l,I=r,B=i,H=n,Y=u,te=!1,ne=!1;function ae(T){return te||(te=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(T){return ne||(ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(T){return x(T)===s}function N(T){return x(T)===o}function M(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function A(T){return x(T)===c}function re(T){return x(T)===t}function he(T){return x(T)===f}function Pe(T){return x(T)===l}function Ce(T){return x(T)===r}function ve(T){return x(T)===i}function ge(T){return x(T)===n}function Q(T){return x(T)===u}se.ContextConsumer=P,se.ContextProvider=k,se.Element=_,se.ForwardRef=q,se.Fragment=F,se.Lazy=V,se.Memo=X,se.Portal=I,se.Profiler=B,se.StrictMode=H,se.Suspense=Y,se.isAsyncMode=ae,se.isConcurrentMode=de,se.isContextConsumer=Le,se.isContextProvider=N,se.isElement=M,se.isForwardRef=A,se.isFragment=re,se.isLazy=he,se.isMemo=Pe,se.isPortal=Ce,se.isProfiler=ve,se.isStrictMode=ge,se.isSuspense=Q,se.isValidElementType=S,se.typeOf=x}()),se}var le={};/** @license React v17.0.2
54
65
  * react-is.production.min.js
55
66
  *
56
67
  * Copyright (c) Facebook, Inc. and its affiliates.
57
68
  *
58
69
  * This source code is licensed under the MIT license found in the
59
70
  * LICENSE file in the root directory of this source tree.
60
- */var Sa;function Rd(){if(Sa)return le;Sa=1;var e=60103,r=60106,t=60107,n=60108,i=60114,o=60109,s=60110,c=60112,u=60113,a=60120,l=60115,f=60116,v=60121,d=60122,h=60117,m=60129,w=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),r=b("react.portal"),t=b("react.fragment"),n=b("react.strict_mode"),i=b("react.profiler"),o=b("react.provider"),s=b("react.context"),c=b("react.forward_ref"),u=b("react.suspense"),a=b("react.suspense_list"),l=b("react.memo"),f=b("react.lazy"),v=b("react.block"),d=b("react.server.block"),h=b("react.fundamental"),m=b("react.debug_trace_mode"),w=b("react.legacy_hidden")}function y(B){if(typeof B=="object"&&B!==null){var H=B.$$typeof;switch(H){case e:switch(B=B.type,B){case t:case i:case n:case u:case a:return B;default:switch(B=B&&B.$$typeof,B){case s:case c:case f:case l:case o:return B;default:return H}}case r:return H}}}var P=o,x=e,S=c,k=t,_=f,q=l,F=r,V=i,X=n,I=u;return le.ContextConsumer=s,le.ContextProvider=P,le.Element=x,le.ForwardRef=S,le.Fragment=k,le.Lazy=_,le.Memo=q,le.Portal=F,le.Profiler=V,le.StrictMode=X,le.Suspense=I,le.isAsyncMode=function(){return!1},le.isConcurrentMode=function(){return!1},le.isContextConsumer=function(B){return y(B)===s},le.isContextProvider=function(B){return y(B)===o},le.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===e},le.isForwardRef=function(B){return y(B)===c},le.isFragment=function(B){return y(B)===t},le.isLazy=function(B){return y(B)===f},le.isMemo=function(B){return y(B)===l},le.isPortal=function(B){return y(B)===r},le.isProfiler=function(B){return y(B)===i},le.isStrictMode=function(B){return y(B)===n},le.isSuspense=function(B){return y(B)===u},le.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===t||B===i||B===m||B===n||B===u||B===a||B===w||typeof B=="object"&&B!==null&&(B.$$typeof===f||B.$$typeof===l||B.$$typeof===o||B.$$typeof===s||B.$$typeof===c||B.$$typeof===h||B.$$typeof===v||B[0]===d)},le.typeOf=y,le}process.env.NODE_ENV==="production"?an.exports=Rd():an.exports=jd();var Fd=an.exports;function qd(e){process.env.NODE_ENV==="development"&&typeof e=="object"&&!Fd.isValidElementType(e)&&console.error(`@fluentui/react-jsx-runtime:
71
+ */var Ea;function Md(){if(Ea)return le;Ea=1;var e=60103,r=60106,t=60107,n=60108,i=60114,o=60109,s=60110,c=60112,u=60113,a=60120,l=60115,f=60116,v=60121,d=60122,h=60117,m=60129,w=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),r=b("react.portal"),t=b("react.fragment"),n=b("react.strict_mode"),i=b("react.profiler"),o=b("react.provider"),s=b("react.context"),c=b("react.forward_ref"),u=b("react.suspense"),a=b("react.suspense_list"),l=b("react.memo"),f=b("react.lazy"),v=b("react.block"),d=b("react.server.block"),h=b("react.fundamental"),m=b("react.debug_trace_mode"),w=b("react.legacy_hidden")}function y(B){if(typeof B=="object"&&B!==null){var H=B.$$typeof;switch(H){case e:switch(B=B.type,B){case t:case i:case n:case u:case a:return B;default:switch(B=B&&B.$$typeof,B){case s:case c:case f:case l:case o:return B;default:return H}}case r:return H}}}var S=o,x=e,P=c,k=t,_=f,q=l,F=r,V=i,X=n,I=u;return le.ContextConsumer=s,le.ContextProvider=S,le.Element=x,le.ForwardRef=P,le.Fragment=k,le.Lazy=_,le.Memo=q,le.Portal=F,le.Profiler=V,le.StrictMode=X,le.Suspense=I,le.isAsyncMode=function(){return!1},le.isConcurrentMode=function(){return!1},le.isContextConsumer=function(B){return y(B)===s},le.isContextProvider=function(B){return y(B)===o},le.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===e},le.isForwardRef=function(B){return y(B)===c},le.isFragment=function(B){return y(B)===t},le.isLazy=function(B){return y(B)===f},le.isMemo=function(B){return y(B)===l},le.isPortal=function(B){return y(B)===r},le.isProfiler=function(B){return y(B)===i},le.isStrictMode=function(B){return y(B)===n},le.isSuspense=function(B){return y(B)===u},le.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===t||B===i||B===m||B===n||B===u||B===a||B===w||typeof B=="object"&&B!==null&&(B.$$typeof===f||B.$$typeof===l||B.$$typeof===o||B.$$typeof===s||B.$$typeof===c||B.$$typeof===h||B.$$typeof===v||B[0]===d)},le.typeOf=y,le}process.env.NODE_ENV==="production"?sn.exports=Md():sn.exports=Id();var Ld=sn.exports;function Hd(e){process.env.NODE_ENV==="development"&&typeof e=="object"&&!Ld.isValidElementType(e)&&console.error(`@fluentui/react-jsx-runtime:
61
72
  Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${e}.
62
73
 
63
74
  If this happened in a slot of Fluent UI component, you might be facing package resolution issues.
64
75
  Please make sure you don't have multiple versions of "@fluentui/react-utilities" installed in your dependencies or sub-dependencies.
65
- You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function Ca(e,r){return function(n,i,o,s,c){return on(i)?r(Ed(n,i),null,o,s,c):on(n)?r(n,i,o,s,c):(qd(n),e(n,i,o,s,c))}}function za(e){const{as:r,[Zt]:t,[ba]:n,...i}=e,o=i,s=typeof t=="string"?r??t:t;return typeof s!="string"&&r&&(o.as=r),{elementType:s,props:o,renderFunction:n}}const Ft=vc,Ad=(e,r,t)=>{const{elementType:n,renderFunction:i,props:o}=za(e),s={...o,...r};return i?Ft.jsx(g.Fragment,{children:i(n,s)},t):Ft.jsx(n,s,t)},Dd=(e,r,t)=>{const{elementType:n,renderFunction:i,props:o}=za(e),s={...o,...r};return i?Ft.jsx(g.Fragment,{children:i(n,{...s,children:Ft.jsxs(g.Fragment,{children:s.children},void 0)})},t):Ft.jsxs(n,s,t)},$=Ca(Ft.jsx,Ad),Ae=Ca(Ft.jsxs,Dd),Ta=g.createContext(void 0),Od="";Ta.Provider;function Id(){var e;return(e=g.useContext(Ta))!==null&&e!==void 0?e:Od}const Na=g.createContext(void 0),Md={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"};Na.Provider;function mt(){var e;return(e=g.useContext(Na))!==null&&e!==void 0?e:Md}const Ea=g.createContext(void 0);Ea.Provider;function Ld(){var e;return(e=g.useContext(Ea))!==null&&e!==void 0?e:{}}const ja=g.createContext(void 0),Hd=()=>{};ja.Provider;const Qe=e=>{var r,t;return(t=(r=g.useContext(ja))===null||r===void 0?void 0:r[e])!==null&&t!==void 0?t:Hd},Ra=g.createContext(void 0);Ra.Provider;function Vd(){return g.useContext(Ra)}const sn=g.createContext(void 0),$d={};sn.Provider;const Wd=()=>g.useContext(sn)?g.useContext(sn):$d,Ud=U({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),Gd=(e,r)=>{const{title:t,primaryFill:n="currentColor",...i}=e,o={...i,title:void 0,fill:n},s=Ud(),c=Wd();return o.className=D(s.root,(r==null?void 0:r.flipInRtl)&&(c==null?void 0:c.textDirection)==="rtl"&&s.rtl,o.className),t&&(o["aria-label"]=t),!o["aria-label"]&&!o["aria-labelledby"]?o["aria-hidden"]=!0:o.role="img",o},L=(e,r,t,n)=>{const i=r==="1em"?"20":r,o=g.forwardRef((s,c)=>{const u={...Gd(s,{flipInRtl:n==null?void 0:n.flipInRtl}),ref:c,width:r,height:r,viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg"};return g.createElement("svg",u,...t.map(a=>g.createElement("path",{d:a,fill:u.fill})))});return o.displayName=e,o},Xd=L("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"]),Kd=L("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"]),Zd=L("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"]),Yd=L("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"]),Qd=L("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"]),Jd=L("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]),eh=L("Open16Regular","16",["M4.5 3C3.67 3 3 3.67 3 4.5v7c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5V9.27a.5.5 0 0 1 1 0v2.23a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7A2.5 2.5 0 0 1 4.5 2h2.23a.5.5 0 0 1 0 1H4.5Zm4.27-.5c0-.28.22-.5.5-.5h4.23c.28 0 .5.22.5.5v4.23a.5.5 0 0 1-1 0V3.71L9.62 7.08a.5.5 0 1 1-.7-.7L12.29 3H9.27a.5.5 0 0 1-.5-.5Z"]),Fa=L("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"]),qa=L("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"]),th=L("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"]),rh=L("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"]),oh=L("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"]),nh=L("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"]),Aa=L("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"]),Da=L("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"]),Oa=L("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"]),ih=L("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"]),ah=L("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"]),Ia=L("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"]),Ma=L("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"]),sh=L("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"]),lh=L("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"]),La=L("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"]),Ha=L("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),ch=L("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),uh=L("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Va=L("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),$a=L("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"]),Wa=L("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"]),fh=L("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"]),dh=L("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"]),hh=L("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"]),vh=L("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"]),Ua=L("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"]),Ga=L("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"]),Xa=L("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"]),gh=L("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"]),ph=L("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"]),Ka=L("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"]),Za=L("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"]),mh=L("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"]),bh=L("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"]),Ya=L("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"]),Qa=L("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"]),yh=L("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"]),wh=L("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"]),Ja=L("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"]),es=L("Search20Regular","20",["M8.5 3a5.5 5.5 0 0 1 4.23 9.02l4.12 4.13a.5.5 0 0 1-.63.76l-.07-.06-4.13-4.12A5.5 5.5 0 1 1 8.5 3Zm0 1a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),kh=L("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"]);/*!
76
+ You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function ja(e,r){return function(n,i,o,s,c){return nn(i)?r(Dd(n,i),null,o,s,c):nn(n)?r(n,i,o,s,c):(Hd(n),e(n,i,o,s,c))}}function Ra(e){const{as:r,[Zt]:t,[Ba]:n,...i}=e,o=i,s=typeof t=="string"?r??t:t;return typeof s!="string"&&r&&(o.as=r),{elementType:s,props:o,renderFunction:n}}const Ft=yc,Vd=(e,r,t)=>{const{elementType:n,renderFunction:i,props:o}=Ra(e),s={...o,...r};return i?Ft.jsx(g.Fragment,{children:i(n,s)},t):Ft.jsx(n,s,t)},$d=(e,r,t)=>{const{elementType:n,renderFunction:i,props:o}=Ra(e),s={...o,...r};return i?Ft.jsx(g.Fragment,{children:i(n,{...s,children:Ft.jsxs(g.Fragment,{children:s.children},void 0)})},t):Ft.jsxs(n,s,t)},$=ja(Ft.jsx,Vd),Ae=ja(Ft.jsxs,$d),Fa=g.createContext(void 0),Wd="";Fa.Provider;function Ud(){var e;return(e=g.useContext(Fa))!==null&&e!==void 0?e:Wd}const qa=g.createContext(void 0),Gd={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"};qa.Provider;function mt(){var e;return(e=g.useContext(qa))!==null&&e!==void 0?e:Gd}const Aa=g.createContext(void 0);Aa.Provider;function Xd(){var e;return(e=g.useContext(Aa))!==null&&e!==void 0?e:{}}const Oa=g.createContext(void 0),Kd=()=>{};Oa.Provider;const Qe=e=>{var r,t;return(t=(r=g.useContext(Oa))===null||r===void 0?void 0:r[e])!==null&&t!==void 0?t:Kd},Da=g.createContext(void 0);Da.Provider;function Zd(){return g.useContext(Da)}const ln=g.createContext(void 0),Yd={};ln.Provider;const Qd=()=>g.useContext(ln)?g.useContext(ln):Yd,Jd=U({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),eh=(e,r)=>{const{title:t,primaryFill:n="currentColor",...i}=e,o={...i,title:void 0,fill:n},s=Jd(),c=Qd();return o.className=O(s.root,(r==null?void 0:r.flipInRtl)&&(c==null?void 0:c.textDirection)==="rtl"&&s.rtl,o.className),t&&(o["aria-label"]=t),!o["aria-label"]&&!o["aria-labelledby"]?o["aria-hidden"]=!0:o.role="img",o},L=(e,r,t,n)=>{const i=r==="1em"?"20":r,o=g.forwardRef((s,c)=>{const u={...eh(s,{flipInRtl:n==null?void 0:n.flipInRtl}),ref:c,width:r,height:r,viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg"};return g.createElement("svg",u,...t.map(a=>g.createElement("path",{d:a,fill:u.fill})))});return o.displayName=e,o},th=L("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"]),rh=L("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"]),oh=L("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"]),nh=L("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"]),ih=L("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"]),ah=L("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]),sh=L("Open16Regular","16",["M4.5 3C3.67 3 3 3.67 3 4.5v7c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5V9.27a.5.5 0 0 1 1 0v2.23a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7A2.5 2.5 0 0 1 4.5 2h2.23a.5.5 0 0 1 0 1H4.5Zm4.27-.5c0-.28.22-.5.5-.5h4.23c.28 0 .5.22.5.5v4.23a.5.5 0 0 1-1 0V3.71L9.62 7.08a.5.5 0 1 1-.7-.7L12.29 3H9.27a.5.5 0 0 1-.5-.5Z"]),Ia=L("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"]),Ma=L("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"]),lh=L("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"]),ch=L("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"]),uh=L("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"]),fh=L("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"]),La=L("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"]),Ha=L("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"]),Va=L("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"]),dh=L("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"]),hh=L("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"]),$a=L("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"]),Wa=L("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"]),vh=L("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"]),gh=L("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"]),Ua=L("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"]),Ga=L("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),ph=L("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),mh=L("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Xa=L("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),Ka=L("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"]),Za=L("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"]),bh=L("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"]),yh=L("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"]),wh=L("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"]),kh=L("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"]),Ya=L("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"]),Qa=L("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"]),Ja=L("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"]),xh=L("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"]),Bh=L("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"]),es=L("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"]),ts=L("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"]),_h=L("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"]),Sh=L("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"]),rs=L("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"]),os=L("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"]),Ph=L("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"]),Ch=L("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"]),ns=L("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"]),is=L("Search20Regular","20",["M8.5 3a5.5 5.5 0 0 1 4.23 9.02l4.12 4.13a.5.5 0 0 1-.63.76l-.07-.06-4.13-4.12A5.5 5.5 0 1 1 8.5 3Zm0 1a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),zh=L("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"]);/*!
66
77
  * Copyright (c) Microsoft Corporation. All rights reserved.
67
78
  * Licensed under the MIT License.
68
- */const xh=typeof WeakRef<"u";class ts{constructor(r){xh&&typeof r=="object"?this._weakRef=new WeakRef(r):this._instance=r}deref(){var r,t,n;let i;return this._weakRef?(i=(r=this._weakRef)===null||r===void 0?void 0:r.deref(),i||delete this._weakRef):(i=this._instance,!((n=(t=i)===null||t===void 0?void 0:t.isDisposed)===null||n===void 0)&&n.call(t)&&delete this._instance),i}}/*!
79
+ */const Th=typeof WeakRef<"u";class as{constructor(r){Th&&typeof r=="object"?this._weakRef=new WeakRef(r):this._instance=r}deref(){var r,t,n;let i;return this._weakRef?(i=(r=this._weakRef)===null||r===void 0?void 0:r.deref(),i||delete this._weakRef):(i=this._instance,!((n=(t=i)===null||t===void 0?void 0:t.isDisposed)===null||n===void 0)&&n.call(t)&&delete this._instance),i}}/*!
69
80
  * Copyright (c) Microsoft Corporation. All rights reserved.
70
81
  * Licensed under the MIT License.
71
- */const at="keyborg:focusin";function Bh(e){const r=e.HTMLElement,t=r.prototype.focus;let n=!1;return r.prototype.focus=function(){n=!0},e.document.createElement("button").focus(),r.prototype.focus=t,n}let ln=!1;function qt(e){const r=e.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(e):e.focus()}function _h(e){const r=e;ln||(ln=Bh(r));const t=r.HTMLElement.prototype.focus;if(t.__keyborgNativeFocus)return;r.HTMLElement.prototype.focus=i;const n=r.__keyborgData={focusInHandler:o=>{var s;const c=o.target;if(!c)return;const u=document.createEvent("HTMLEvents");u.initEvent(at,!0,!0);const a={relatedTarget:o.relatedTarget||void 0};(ln||n.lastFocusedProgrammatically)&&(a.isFocusedProgrammatically=c===((s=n.lastFocusedProgrammatically)===null||s===void 0?void 0:s.deref()),n.lastFocusedProgrammatically=void 0),u.details=a,c.dispatchEvent(u)}};r.document.addEventListener("focusin",r.__keyborgData.focusInHandler,!0);function i(){const o=r.__keyborgData;return o&&(o.lastFocusedProgrammatically=new ts(this)),t.apply(this,arguments)}i.__keyborgNativeFocus=t}function Ph(e){const r=e,t=r.HTMLElement.prototype,n=t.focus.__keyborgNativeFocus,i=r.__keyborgData;i&&(r.document.removeEventListener("focusin",i.focusInHandler,!0),delete r.__keyborgData),n&&(t.focus=n)}/*!
82
+ */const at="keyborg:focusin";function Nh(e){const r=e.HTMLElement,t=r.prototype.focus;let n=!1;return r.prototype.focus=function(){n=!0},e.document.createElement("button").focus(),r.prototype.focus=t,n}let cn=!1;function qt(e){const r=e.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(e):e.focus()}function Eh(e){const r=e;cn||(cn=Nh(r));const t=r.HTMLElement.prototype.focus;if(t.__keyborgNativeFocus)return;r.HTMLElement.prototype.focus=i;const n=r.__keyborgData={focusInHandler:o=>{var s;const c=o.target;if(!c)return;const u=document.createEvent("HTMLEvents");u.initEvent(at,!0,!0);const a={relatedTarget:o.relatedTarget||void 0};(cn||n.lastFocusedProgrammatically)&&(a.isFocusedProgrammatically=c===((s=n.lastFocusedProgrammatically)===null||s===void 0?void 0:s.deref()),n.lastFocusedProgrammatically=void 0),u.details=a,c.dispatchEvent(u)}};r.document.addEventListener("focusin",r.__keyborgData.focusInHandler,!0);function i(){const o=r.__keyborgData;return o&&(o.lastFocusedProgrammatically=new as(this)),t.apply(this,arguments)}i.__keyborgNativeFocus=t}function jh(e){const r=e,t=r.HTMLElement.prototype,n=t.focus.__keyborgNativeFocus,i=r.__keyborgData;i&&(r.document.removeEventListener("focusin",i.focusInHandler,!0),delete r.__keyborgData),n&&(t.focus=n)}/*!
72
83
  * Copyright (c) Microsoft Corporation. All rights reserved.
73
84
  * Licensed under the MIT License.
74
- */const Sh=500;let rs=0;class Ch{constructor(){this.__keyborgCoreRefs={},this._isNavigatingWithKeyboard=!1}add(r){const t=r.id;t in this.__keyborgCoreRefs||(this.__keyborgCoreRefs[t]=new ts(r))}remove(r){delete this.__keyborgCoreRefs[r],Object.keys(this.__keyborgCoreRefs).length===0&&(this._isNavigatingWithKeyboard=!1)}setVal(r){if(this._isNavigatingWithKeyboard!==r){this._isNavigatingWithKeyboard=r;for(const t of Object.keys(this.__keyborgCoreRefs)){const i=this.__keyborgCoreRefs[t].deref();i?i.update(r):this.remove(t)}}}getVal(){return this._isNavigatingWithKeyboard}}const ot=new Ch;class zh{constructor(r,t){this._onFocusIn=i=>{if(this._isMouseUsedTimer||ot.getVal())return;const o=i.details;o.relatedTarget&&(o.isFocusedProgrammatically||o.isFocusedProgrammatically===void 0||ot.setVal(!0))},this._onMouseDown=i=>{if(i.buttons===0||i.clientX===0&&i.clientY===0&&i.screenX===0&&i.screenY===0)return;const o=this._win;o&&(this._isMouseUsedTimer&&o.clearTimeout(this._isMouseUsedTimer),this._isMouseUsedTimer=o.setTimeout(()=>{delete this._isMouseUsedTimer},1e3)),ot.setVal(!1)},this._onKeyDown=i=>{var o,s;const c=ot.getVal(),u=i.keyCode,a=this._triggerKeys;if(!c&&(!a||a.has(u))){const l=(o=this._win)===null||o===void 0?void 0:o.document.activeElement;if(l&&(l.tagName==="INPUT"||l.tagName==="TEXTAREA"||l.contentEditable==="true"))return;ot.setVal(!0)}else c&&(!((s=this._dismissKeys)===null||s===void 0)&&s.has(u))&&this._scheduleDismiss()},this.id="c"+ ++rs,this._win=r;const n=r.document;if(t){const i=t.triggerKeys,o=t.dismissKeys;i!=null&&i.length&&(this._triggerKeys=new Set(i)),o!=null&&o.length&&(this._dismissKeys=new Set(o))}n.addEventListener(at,this._onFocusIn,!0),n.addEventListener("mousedown",this._onMouseDown,!0),r.addEventListener("keydown",this._onKeyDown,!0),_h(r),ot.add(this)}dispose(){const r=this._win;if(r){this._isMouseUsedTimer&&(r.clearTimeout(this._isMouseUsedTimer),this._isMouseUsedTimer=void 0),this._dismissTimer&&(r.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),Ph(r);const t=r.document;t.removeEventListener(at,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),r.removeEventListener("keydown",this._onKeyDown,!0),delete this._win,ot.remove(this.id)}}isDisposed(){return!!this._win}update(r){var t,n;const i=(n=(t=this._win)===null||t===void 0?void 0:t.__keyborg)===null||n===void 0?void 0:n.refs;if(i)for(const o of Object.keys(i))Pr.update(i[o],r)}_scheduleDismiss(){const r=this._win;if(r){this._dismissTimer&&(r.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=r.document.activeElement;this._dismissTimer=r.setTimeout(()=>{this._dismissTimer=void 0;const n=r.document.activeElement;t&&n&&t===n&&ot.setVal(!1)},Sh)}}}class Pr{constructor(r,t){this._cb=[],this._id="k"+ ++rs,this._win=r;const n=r.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new zh(r,t),r.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(r,t){return new Pr(r,t)}static dispose(r){r.dispose()}static update(r,t){r._cb.forEach(n=>n(t))}dispose(){var r;const t=(r=this._win)===null||r===void 0?void 0:r.__keyborg;t!=null&&t.refs[this._id]?(delete t.refs[this._id],Object.keys(t.refs).length===0&&(t.core.dispose(),delete this._win.__keyborg)):process.env.NODE_ENV==="development"&&console.error("Keyborg instance "+this._id+" is being disposed incorrectly."),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){return ot.getVal()}subscribe(r){this._cb.push(r)}unsubscribe(r){const t=this._cb.indexOf(r);t>=0&&this._cb.splice(t,1)}setVal(r){ot.setVal(r)}}function cn(e,r){return Pr.create(e,r)}function un(e){Pr.dispose(e)}/*!
85
+ */const Rh=500;let ss=0;class Fh{constructor(){this.__keyborgCoreRefs={},this._isNavigatingWithKeyboard=!1}add(r){const t=r.id;t in this.__keyborgCoreRefs||(this.__keyborgCoreRefs[t]=new as(r))}remove(r){delete this.__keyborgCoreRefs[r],Object.keys(this.__keyborgCoreRefs).length===0&&(this._isNavigatingWithKeyboard=!1)}setVal(r){if(this._isNavigatingWithKeyboard!==r){this._isNavigatingWithKeyboard=r;for(const t of Object.keys(this.__keyborgCoreRefs)){const i=this.__keyborgCoreRefs[t].deref();i?i.update(r):this.remove(t)}}}getVal(){return this._isNavigatingWithKeyboard}}const ot=new Fh;class qh{constructor(r,t){this._onFocusIn=i=>{if(this._isMouseUsedTimer||ot.getVal())return;const o=i.details;o.relatedTarget&&(o.isFocusedProgrammatically||o.isFocusedProgrammatically===void 0||ot.setVal(!0))},this._onMouseDown=i=>{if(i.buttons===0||i.clientX===0&&i.clientY===0&&i.screenX===0&&i.screenY===0)return;const o=this._win;o&&(this._isMouseUsedTimer&&o.clearTimeout(this._isMouseUsedTimer),this._isMouseUsedTimer=o.setTimeout(()=>{delete this._isMouseUsedTimer},1e3)),ot.setVal(!1)},this._onKeyDown=i=>{var o,s;const c=ot.getVal(),u=i.keyCode,a=this._triggerKeys;if(!c&&(!a||a.has(u))){const l=(o=this._win)===null||o===void 0?void 0:o.document.activeElement;if(l&&(l.tagName==="INPUT"||l.tagName==="TEXTAREA"||l.contentEditable==="true"))return;ot.setVal(!0)}else c&&(!((s=this._dismissKeys)===null||s===void 0)&&s.has(u))&&this._scheduleDismiss()},this.id="c"+ ++ss,this._win=r;const n=r.document;if(t){const i=t.triggerKeys,o=t.dismissKeys;i!=null&&i.length&&(this._triggerKeys=new Set(i)),o!=null&&o.length&&(this._dismissKeys=new Set(o))}n.addEventListener(at,this._onFocusIn,!0),n.addEventListener("mousedown",this._onMouseDown,!0),r.addEventListener("keydown",this._onKeyDown,!0),Eh(r),ot.add(this)}dispose(){const r=this._win;if(r){this._isMouseUsedTimer&&(r.clearTimeout(this._isMouseUsedTimer),this._isMouseUsedTimer=void 0),this._dismissTimer&&(r.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),jh(r);const t=r.document;t.removeEventListener(at,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),r.removeEventListener("keydown",this._onKeyDown,!0),delete this._win,ot.remove(this.id)}}isDisposed(){return!!this._win}update(r){var t,n;const i=(n=(t=this._win)===null||t===void 0?void 0:t.__keyborg)===null||n===void 0?void 0:n.refs;if(i)for(const o of Object.keys(i))Sr.update(i[o],r)}_scheduleDismiss(){const r=this._win;if(r){this._dismissTimer&&(r.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=r.document.activeElement;this._dismissTimer=r.setTimeout(()=>{this._dismissTimer=void 0;const n=r.document.activeElement;t&&n&&t===n&&ot.setVal(!1)},Rh)}}}class Sr{constructor(r,t){this._cb=[],this._id="k"+ ++ss,this._win=r;const n=r.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new qh(r,t),r.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(r,t){return new Sr(r,t)}static dispose(r){r.dispose()}static update(r,t){r._cb.forEach(n=>n(t))}dispose(){var r;const t=(r=this._win)===null||r===void 0?void 0:r.__keyborg;t!=null&&t.refs[this._id]?(delete t.refs[this._id],Object.keys(t.refs).length===0&&(t.core.dispose(),delete this._win.__keyborg)):process.env.NODE_ENV==="development"&&console.error("Keyborg instance "+this._id+" is being disposed incorrectly."),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){return ot.getVal()}subscribe(r){this._cb.push(r)}unsubscribe(r){const t=this._cb.indexOf(r);t>=0&&this._cb.splice(t,1)}setVal(r){ot.setVal(r)}}function un(e,r){return Sr.create(e,r)}function fn(e){Sr.dispose(e)}/*!
75
86
  * Copyright (c) Microsoft Corporation. All rights reserved.
76
87
  * Licensed under the MIT License.
77
- */const st="data-tabster",fn="data-tabster-dummy",Th="tabster:deloser",Nh="tabster:modalizer:active",Eh="tabster:modalizer:inactive",jh="tabster:modalizer:focusin",Rh="tabster:modalizer:focusout",Fh="tabster:modalizer:beforefocusout",qh="tabster:mover",os="tabster:focusin",ns="tabster:focusout",dn=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]"].join(", "),Ah={Any:0,Accessible:1,Focusable:2},Dh={History:0,DeloserDefault:1,RootDefault:2,DeloserFirst:3,RootFirst:4},Oh={Invisible:0,PartiallyVisible:1,Visible:2},Ih={Source:0,Target:1},Mh={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},is={Unlimited:0,Limited:1,LimitedTrapFocus:2},as={Auto:0,Inside:1,Outside:2};var hn=Object.freeze({__proto__:null,TabsterAttributeName:st,TabsterDummyInputAttributeName:fn,DeloserEventName:Th,ModalizerActiveEventName:Nh,ModalizerInactiveEventName:Eh,ModalizerFocusInEventName:jh,ModalizerFocusOutEventName:Rh,ModalizerBeforeFocusOutEventName:Fh,MoverEventName:qh,FocusInEventName:os,FocusOutEventName:ns,FocusableSelector:dn,ObservedElementAccesibilities:Ah,RestoreFocusOrders:Dh,Visibilities:Oh,RestorerTypes:Ih,MoverDirections:Mh,GroupperTabbabilities:is,SysDummyInputsPositions:as});/*!
88
+ */const st="data-tabster",dn="data-tabster-dummy",Ah="tabster:deloser",Oh="tabster:modalizer:active",Dh="tabster:modalizer:inactive",Ih="tabster:modalizer:focusin",Mh="tabster:modalizer:focusout",Lh="tabster:modalizer:beforefocusout",Hh="tabster:mover",ls="tabster:focusin",cs="tabster:focusout",hn=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]"].join(", "),Vh={Any:0,Accessible:1,Focusable:2},$h={History:0,DeloserDefault:1,RootDefault:2,DeloserFirst:3,RootFirst:4},Wh={Invisible:0,PartiallyVisible:1,Visible:2},Uh={Source:0,Target:1},Gh={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},us={Unlimited:0,Limited:1,LimitedTrapFocus:2},fs={Auto:0,Inside:1,Outside:2};var vn=Object.freeze({__proto__:null,TabsterAttributeName:st,TabsterDummyInputAttributeName:dn,DeloserEventName:Ah,ModalizerActiveEventName:Oh,ModalizerInactiveEventName:Dh,ModalizerFocusInEventName:Ih,ModalizerFocusOutEventName:Mh,ModalizerBeforeFocusOutEventName:Lh,MoverEventName:Hh,FocusInEventName:ls,FocusOutEventName:cs,FocusableSelector:hn,ObservedElementAccesibilities:Vh,RestoreFocusOrders:$h,Visibilities:Wh,RestorerTypes:Uh,MoverDirections:Gh,GroupperTabbabilities:us,SysDummyInputsPositions:fs});/*!
78
89
  * Copyright (c) Microsoft Corporation. All rights reserved.
79
90
  * Licensed under the MIT License.
80
- */function lt(e,r){var t;return(t=e.storageEntry(r))===null||t===void 0?void 0:t.tabster}function ss(e,r,t){var n,i;const o=t||e._noop?void 0:r.getAttribute(st);let s=e.storageEntry(r),c;if(o)if(o!==((n=s==null?void 0:s.attr)===null||n===void 0?void 0:n.string))try{const f=JSON.parse(o);if(typeof f!="object")throw new Error(`Value is not a JSON object, got '${o}'.`);c={string:o,object:f}}catch(f){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${f}`,r)}else return;else if(!s)return;s||(s=e.storageEntry(r,!0)),s.tabster||(s.tabster={});const u=s.tabster||{},a=((i=s.attr)===null||i===void 0?void 0:i.object)||{},l=(c==null?void 0:c.object)||{};for(const f of Object.keys(a))if(!l[f]){if(f==="root"){const v=u[f];v&&e.root.onRoot(v,!0)}switch(f){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const v=u[f];v&&(v.dispose(),delete u[f]);break;case"observed":delete u[f],e.observedElement&&e.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[f];break}}for(const f of Object.keys(l)){const v=l.sys;switch(f){case"deloser":u.deloser?u.deloser.setProps(l.deloser):e.deloser?u.deloser=e.deloser.createDeloser(r,l.deloser):process.env.NODE_ENV==="development"&&console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":u.root?u.root.setProps(l.root):u.root=e.root.createRoot(r,l.root,v),e.root.onRoot(u.root);break;case"modalizer":u.modalizer?u.modalizer.setProps(l.modalizer):e.modalizer?u.modalizer=e.modalizer.createModalizer(r,l.modalizer,v):process.env.NODE_ENV==="development"&&console.error("Modalizer API used before initialization, please call `getModalizer()`");break;case"restorer":u.restorer?u.restorer.setProps(l.restorer):e.restorer?l.restorer&&(u.restorer=e.restorer.createRestorer(r,l.restorer)):process.env.NODE_ENV==="development"&&console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":u.focusable=l.focusable;break;case"groupper":u.groupper?u.groupper.setProps(l.groupper):e.groupper?u.groupper=e.groupper.createGroupper(r,l.groupper,v):process.env.NODE_ENV==="development"&&console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":u.mover?u.mover.setProps(l.mover):e.mover?u.mover=e.mover.createMover(r,l.mover,v):process.env.NODE_ENV==="development"&&console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":e.observedElement?(u.observed=l.observed,e.observedElement.onObservedElementUpdate(r)):process.env.NODE_ENV==="development"&&console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":u.uncontrolled=l.uncontrolled;break;case"outline":e.outline?u.outline=l.outline:process.env.NODE_ENV==="development"&&console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":u.sys=l.sys;break;default:console.error(`Unknown key '${f}' in data-tabster attribute value.`)}}c?s.attr=c:(Object.keys(u).length===0&&(delete s.tabster,delete s.attr),e.storageEntry(r,!1))}/*!
91
+ */function lt(e,r){var t;return(t=e.storageEntry(r))===null||t===void 0?void 0:t.tabster}function ds(e,r,t){var n,i;const o=t||e._noop?void 0:r.getAttribute(st);let s=e.storageEntry(r),c;if(o)if(o!==((n=s==null?void 0:s.attr)===null||n===void 0?void 0:n.string))try{const f=JSON.parse(o);if(typeof f!="object")throw new Error(`Value is not a JSON object, got '${o}'.`);c={string:o,object:f}}catch(f){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${f}`,r)}else return;else if(!s)return;s||(s=e.storageEntry(r,!0)),s.tabster||(s.tabster={});const u=s.tabster||{},a=((i=s.attr)===null||i===void 0?void 0:i.object)||{},l=(c==null?void 0:c.object)||{};for(const f of Object.keys(a))if(!l[f]){if(f==="root"){const v=u[f];v&&e.root.onRoot(v,!0)}switch(f){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const v=u[f];v&&(v.dispose(),delete u[f]);break;case"observed":delete u[f],e.observedElement&&e.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[f];break}}for(const f of Object.keys(l)){const v=l.sys;switch(f){case"deloser":u.deloser?u.deloser.setProps(l.deloser):e.deloser?u.deloser=e.deloser.createDeloser(r,l.deloser):process.env.NODE_ENV==="development"&&console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":u.root?u.root.setProps(l.root):u.root=e.root.createRoot(r,l.root,v),e.root.onRoot(u.root);break;case"modalizer":u.modalizer?u.modalizer.setProps(l.modalizer):e.modalizer?u.modalizer=e.modalizer.createModalizer(r,l.modalizer,v):process.env.NODE_ENV==="development"&&console.error("Modalizer API used before initialization, please call `getModalizer()`");break;case"restorer":u.restorer?u.restorer.setProps(l.restorer):e.restorer?l.restorer&&(u.restorer=e.restorer.createRestorer(r,l.restorer)):process.env.NODE_ENV==="development"&&console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":u.focusable=l.focusable;break;case"groupper":u.groupper?u.groupper.setProps(l.groupper):e.groupper?u.groupper=e.groupper.createGroupper(r,l.groupper,v):process.env.NODE_ENV==="development"&&console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":u.mover?u.mover.setProps(l.mover):e.mover?u.mover=e.mover.createMover(r,l.mover,v):process.env.NODE_ENV==="development"&&console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":e.observedElement?(u.observed=l.observed,e.observedElement.onObservedElementUpdate(r)):process.env.NODE_ENV==="development"&&console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":u.uncontrolled=l.uncontrolled;break;case"outline":e.outline?u.outline=l.outline:process.env.NODE_ENV==="development"&&console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":u.sys=l.sys;break;default:console.error(`Unknown key '${f}' in data-tabster attribute value.`)}}c?s.attr=c:(Object.keys(u).length===0&&(delete s.tabster,delete s.attr),e.storageEntry(r,!1))}/*!
81
92
  * Copyright (c) Microsoft Corporation. All rights reserved.
82
93
  * Licensed under the MIT License.
83
- */function Lh(e){const r=e();try{if(r.EventTarget)return new r.EventTarget}catch(t){if(!(t instanceof TypeError))throw t}return r.document.createElement("div")}/*!
94
+ */function Xh(e){const r=e();try{if(r.EventTarget)return new r.EventTarget}catch(t){if(!(t instanceof TypeError))throw t}return r.document.createElement("div")}/*!
84
95
  * Copyright (c) Microsoft Corporation. All rights reserved.
85
96
  * Licensed under the MIT License.
86
- */let vn,Hh=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),vn=!1}catch{vn=!0}const gn=100;function At(e){const r=e();let t=r.__tabsterInstanceContext;return t||(t={elementByUId:{},basics:{Promise:r.Promise||void 0,WeakRef:r.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},r.__tabsterInstanceContext=t),t}function Vh(e){const r=e.__tabsterInstanceContext;r&&(r.elementByUId={},delete r.WeakRef,r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&e.clearTimeout(r.containerBoundingRectCacheTimer),r.fakeWeakRefsTimer&&e.clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function $h(e){const r=e.__tabsterInstanceContext;return new((r==null?void 0:r.basics.WeakMap)||WeakMap)}function Wh(e){return!!e.querySelector(dn)}class ls{constructor(r){this._target=r}deref(){return this._target}static cleanup(r,t){return r._target?t||!pn(r._target.ownerDocument,r._target)?(delete r._target,!0):!1:!0}}class ct{constructor(r,t,n){const i=At(r);let o;i.WeakRef?o=new i.WeakRef(t):(o=new ls(t),i.fakeWeakRefs.push(o)),this._ref=o,this._data=n}get(){const r=this._ref;let t;return r&&(t=r.deref(),t||delete this._ref),t}getData(){return this._data}}function cs(e,r){const t=At(e);t.fakeWeakRefs=t.fakeWeakRefs.filter(n=>!ls.cleanup(n,r))}function us(e){const r=At(e);r.fakeWeakRefsStarted||(r.fakeWeakRefsStarted=!0,r.WeakRef=Yh(r)),r.fakeWeakRefsTimer||(r.fakeWeakRefsTimer=e().setTimeout(()=>{r.fakeWeakRefsTimer=void 0,cs(e),us(e)},2*60*1e3))}function Uh(e){const r=At(e);r.fakeWeakRefsStarted=!1,r.fakeWeakRefsTimer&&(e().clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefsTimer=void 0,r.fakeWeakRefs=[])}function fs(e,r,t){if(r.nodeType!==Node.ELEMENT_NODE)return;const n=vn?t:{acceptNode:t};return e.createTreeWalker(r,NodeFilter.SHOW_ELEMENT,n,!1)}function Gh(e){e.__shouldIgnoreFocus=!0}function ds(e){return!!e.__shouldIgnoreFocus}function Xh(e){const r=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(r);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(r);else for(let n=0;n<r.length;n++)r[n]=4294967295*Math.random();const t=[];for(let n=0;n<r.length;n++)t.push(r[n].toString(36));return t.push("|"),t.push((++Hh).toString(36)),t.push("|"),t.push(Date.now().toString(36)),t.join("")}function Kh(e,r){const t=At(e);let n=r.__tabsterElementUID;return n||(n=r.__tabsterElementUID=Xh(e())),!t.elementByUId[n]&&pn(r.ownerDocument,r)&&(t.elementByUId[n]=new ct(e,r)),n}function hs(e,r){const t=At(e);for(const n of Object.keys(t.elementByUId)){const i=t.elementByUId[n],o=i&&i.get();o&&r&&!r.contains(o)||delete t.elementByUId[n]}}function pn(e,r){var t;return!!(!((t=e==null?void 0:e.body)===null||t===void 0)&&t.contains(r))}function Zh(e,r){const t=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return t&&t.call(e,r)}function Yh(e){return e.basics.WeakRef}let Qh=0;class vs{constructor(r,t,n){const i=r.getWindow;this._tabster=r,this._element=new ct(i,t),this._props={...n},this.id="i"+ ++Qh}getElement(){return this._element.get()}getProps(){return this._props}setProps(r){this._props={...r}}}class oo{constructor(r,t,n,i,o){var s;this._focusIn=l=>{if(this._fixedTarget){const v=this._fixedTarget.get();v&&qt(v);return}const f=this.input;if(this.onFocusIn&&f){const v=l.relatedTarget;this.onFocusIn(this,this._isBackward(!0,f,v),v)}},this._focusOut=l=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const f=this.input;if(this.onFocusOut&&f){const v=l.relatedTarget;this.onFocusOut(this,this._isBackward(!1,f,v),v)}};const c=r(),u=c.document.createElement("i");u.tabIndex=0,u.setAttribute("role","none"),u.setAttribute(fn,""),u.setAttribute("aria-hidden","true");const a=u.style;a.position="fixed",a.width=a.height="1px",a.opacity="0.001",a.zIndex="-1",a.setProperty("content-visibility","hidden"),Gh(u),this.input=u,this.isFirst=n.isFirst,this.isOutside=t,this._isPhantom=(s=n.isPhantom)!==null&&s!==void 0?s:!1,this._fixedTarget=o,u.addEventListener("focusin",this._focusIn),u.addEventListener("focusout",this._focusOut),u.__tabsterDummyContainer=i,this._isPhantom&&(this._disposeTimer=c.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(c.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var r;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,(r=t.parentElement)===null||r===void 0||r.removeChild(t))}setTopLeft(r,t){var n;const i=(n=this.input)===null||n===void 0?void 0:n.style;i&&(i.top=`${r}px`,i.left=`${t}px`)}_isBackward(r,t,n){return r&&!n?!this.isFirst:!!(n&&t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)}}const gs={Root:1,Modalizer:2,Mover:3,Groupper:4};class no{constructor(r,t,n,i,o,s){this._element=t,this._instance=new ev(r,t,this,n,i,o,s)}_setHandlers(r,t){this._onFocusIn=r,this._onFocusOut=t}moveOut(r){var t;(t=this._instance)===null||t===void 0||t.moveOut(r)}moveOutWithDefaultAction(r){var t;(t=this._instance)===null||t===void 0||t.moveOutWithDefaultAction(r)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var t;(t=this._instance)===null||t===void 0||t.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,t,n,i){var o;const c=new oo(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(c){let u,a;if(t.tagName==="BODY")u=t,a=n&&i||!n&&!i?t.firstElementChild:null;else{n&&(!i||i&&!r.focusable.isFocusable(t,!1,!0,!0))?(u=t,a=i?t.firstElementChild:null):(u=t.parentElement,a=n&&i||!n&&!i?t:t.nextElementSibling);let l,f;do l=n&&i||!n&&!i?a==null?void 0:a.previousElementSibling:a,f=(o=l==null?void 0:l.__tabsterDummyContainer)===null||o===void 0?void 0:o.get(),f===t?a=n&&i||!n&&!i?l:l==null?void 0:l.nextElementSibling:f=void 0;while(f)}u&&(u.insertBefore(c,a),qt(c))}}static addPhantomDummyWithTarget(r,t,n,i){const s=new oo(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new ct(r.getWindow,i)).input;if(s){let c,u;Wh(t)&&!n?(c=t,u=t.firstElementChild):(c=t.parentElement,u=n?t:t.nextElementSibling),c==null||c.insertBefore(s,u)}}}function bt(e,r){var t;const n={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(t=e.input)===null||t===void 0||t.setAttribute(fn,[`isFirst=${e.isFirst}`,`isOutside=${e.isOutside}`,...r.map(i=>`(${n[i.priority]}, tabbable=${i.tabbable})`)].join(", "))}class Jh{constructor(r){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=t=>{var n;this._changedParents.has(t)||(this._changedParents.add(t),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(n=this._win)===null||n===void 0?void 0:n.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const i of this._dummyElements){const o=i.get();if(o){const s=this._dummyCallbacks.get(o);if(s){const c=o.parentElement;(!c||this._changedParents.has(c))&&s()}}}this._changedParents=new WeakSet},gn)))},this._win=r}add(r,t){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new ct(this._win,r)),this._dummyCallbacks.set(r,t),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(t=>{const n=t.get();return n&&n!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var r;const t=(r=this._win)===null||r===void 0?void 0:r.call(this);this._updateTimer&&(t==null||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(t==null||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(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)===null||r===void 0?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+gn<=Date.now()){const t=new Map,n=[];for(const i of this._updateQueue)n.push(i(t));this._updateQueue.clear();for(const i of n)i();t.clear()}else this._scheduledUpdatePositions()},gn))}}class ev{constructor(r,t,n,i,o,s,c){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(d,h,m)=>{this._onFocus(!0,d,h,m)},this._onFocusOut=(d,h,m)=>{this._onFocus(!1,d,h,m)},this.moveOut=d=>{var h;const m=this._firstDummy,w=this._lastDummy;if(m&&w){this._ensurePosition();const b=m.input,y=w.input,P=(h=this._element)===null||h===void 0?void 0:h.get();if(b&&y&&P){let x;d?(b.tabIndex=0,x=b):(y.tabIndex=0,x=y),x&&qt(x)}}},this.moveOutWithDefaultAction=d=>{var h;const m=this._firstDummy,w=this._lastDummy;if(m&&w){this._ensurePosition();const b=m.input,y=w.input,P=(h=this._element)===null||h===void 0?void 0:h.get();if(b&&y&&P){let x;d?!m.isOutside&&this._tabster.focusable.isFocusable(P,!0,!0,!0)?x=P:(m.useDefaultAction=!0,b.tabIndex=0,x=b):(w.useDefaultAction=!0,y.tabIndex=0,x=y),x&&qt(x)}}},this.setTabbable=(d,h)=>{var m,w;for(const y of this._wrappers)if(y.manager===d){y.tabbable=h;break}const b=this._getCurrent();if(b){const y=b.tabbable?0:-1;let P=(m=this._firstDummy)===null||m===void 0?void 0:m.input;P&&(P.tabIndex=y),P=(w=this._lastDummy)===null||w===void 0?void 0:w.input,P&&(P.tabIndex=y)}process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,this._wrappers),this._lastDummy&&bt(this._lastDummy,this._wrappers))},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,this._wrappers),this._lastDummy&&bt(this._lastDummy,this._wrappers)),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=d=>{var h,m;const w=((h=this._firstDummy)===null||h===void 0?void 0:h.input)||((m=this._lastDummy)===null||m===void 0?void 0:m.input),b=this._transformElements,y=new Set;let P=0,x=0;const S=this._getWindow();for(let k=w;k&&k.nodeType===Node.ELEMENT_NODE;k=k.parentElement){let _=d.get(k);if(_===void 0){const q=S.getComputedStyle(k).transform;q&&q!=="none"&&(_={scrollTop:k.scrollTop,scrollLeft:k.scrollLeft}),d.set(k,_||null)}_&&(y.add(k),b.has(k)||k.addEventListener("scroll",this._addTransformOffsets),P+=_.scrollTop,x+=_.scrollLeft)}for(const k of b)y.has(k)||k.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=y,()=>{var k,_;(k=this._firstDummy)===null||k===void 0||k.setTopLeft(P,x),(_=this._lastDummy)===null||_===void 0||_.setTopLeft(P,x)}};const u=t.get();if(!u)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=c;const a=u.__tabsterDummy;if((a||this)._wrappers.push({manager:n,priority:i,tabbable:!0}),a)return process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,a._wrappers),this._lastDummy&&bt(this._lastDummy,a._wrappers)),a;u.__tabsterDummy=this;const l=o==null?void 0:o.dummyInputsPosition,f=u.tagName;this._isOutside=l?l===as.Outside:(s||f==="UL"||f==="OL"||f==="TABLE")&&!(f==="LI"||f==="TD"||f==="TH"),this._firstDummy=new oo(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new oo(this._getWindow,this._isOutside,{isFirst:!1},t);const v=this._firstDummy.input;v&&r._dummyObserver.add(v,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(r,t){var n,i,o,s;const c=this._wrappers=this._wrappers.filter(u=>u.manager!==r&&!t);if(process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,c),this._lastDummy&&bt(this._lastDummy,c)),c.length===0){delete((n=this._element)===null||n===void 0?void 0:n.get()).__tabsterDummy;for(const l of this._transformElements)l.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const u=this._getWindow();this._addTimer&&(u.clearTimeout(this._addTimer),delete this._addTimer);const a=(i=this._firstDummy)===null||i===void 0?void 0:i.input;a&&this._tabster._dummyObserver.remove(a),(o=this._firstDummy)===null||o===void 0||o.dispose(),(s=this._lastDummy)===null||s===void 0||s.dispose()}}_onFocus(r,t,n,i){var o;const s=this._getCurrent();s&&(!t.useDefaultAction||this._callForDefaultAction)&&((o=s.manager.getHandler(r))===null||o===void 0||o(t,n,i))}_getCurrent(){return this._wrappers.sort((r,t)=>r.tabbable!==t.tabbable?r.tabbable?-1:1:r.priority-t.priority),this._wrappers[0]}_ensurePosition(){var r,t,n;const i=(r=this._element)===null||r===void 0?void 0:r.get(),o=(t=this._firstDummy)===null||t===void 0?void 0:t.input,s=(n=this._lastDummy)===null||n===void 0?void 0:n.input;if(!(!i||!o||!s))if(this._isOutside){const c=i.parentElement;if(c){const u=i.nextElementSibling;u!==s&&c.insertBefore(s,u),i.previousElementSibling!==o&&c.insertBefore(o,i)}}else{i.lastElementChild!==s&&i.appendChild(s);const c=i.firstElementChild;c&&c!==o&&i.insertBefore(o,c)}}}function ps(e){let r=null;for(let t=e.lastElementChild;t;t=t.lastElementChild)r=t;return r||void 0}function tv(e,r){let t=e,n=null;for(;t&&!n;)n=r?t.previousElementSibling:t.nextElementSibling,t=t.parentElement;return n||void 0}function io(e,r,t){const n=document.createEvent("HTMLEvents");return n.initEvent(r,!0,!0),n.details=t,e.dispatchEvent(n),!n.defaultPrevented}/*!
97
+ */let gn,Kh=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),gn=!1}catch{gn=!0}const pn=100;function At(e){const r=e();let t=r.__tabsterInstanceContext;return t||(t={elementByUId:{},basics:{Promise:r.Promise||void 0,WeakRef:r.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},r.__tabsterInstanceContext=t),t}function Zh(e){const r=e.__tabsterInstanceContext;r&&(r.elementByUId={},delete r.WeakRef,r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&e.clearTimeout(r.containerBoundingRectCacheTimer),r.fakeWeakRefsTimer&&e.clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function Yh(e){const r=e.__tabsterInstanceContext;return new((r==null?void 0:r.basics.WeakMap)||WeakMap)}function Qh(e){return!!e.querySelector(hn)}class hs{constructor(r){this._target=r}deref(){return this._target}static cleanup(r,t){return r._target?t||!mn(r._target.ownerDocument,r._target)?(delete r._target,!0):!1:!0}}class ct{constructor(r,t,n){const i=At(r);let o;i.WeakRef?o=new i.WeakRef(t):(o=new hs(t),i.fakeWeakRefs.push(o)),this._ref=o,this._data=n}get(){const r=this._ref;let t;return r&&(t=r.deref(),t||delete this._ref),t}getData(){return this._data}}function vs(e,r){const t=At(e);t.fakeWeakRefs=t.fakeWeakRefs.filter(n=>!hs.cleanup(n,r))}function gs(e){const r=At(e);r.fakeWeakRefsStarted||(r.fakeWeakRefsStarted=!0,r.WeakRef=nv(r)),r.fakeWeakRefsTimer||(r.fakeWeakRefsTimer=e().setTimeout(()=>{r.fakeWeakRefsTimer=void 0,vs(e),gs(e)},2*60*1e3))}function Jh(e){const r=At(e);r.fakeWeakRefsStarted=!1,r.fakeWeakRefsTimer&&(e().clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefsTimer=void 0,r.fakeWeakRefs=[])}function ps(e,r,t){if(r.nodeType!==Node.ELEMENT_NODE)return;const n=gn?t:{acceptNode:t};return e.createTreeWalker(r,NodeFilter.SHOW_ELEMENT,n,!1)}function ev(e){e.__shouldIgnoreFocus=!0}function ms(e){return!!e.__shouldIgnoreFocus}function tv(e){const r=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(r);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(r);else for(let n=0;n<r.length;n++)r[n]=4294967295*Math.random();const t=[];for(let n=0;n<r.length;n++)t.push(r[n].toString(36));return t.push("|"),t.push((++Kh).toString(36)),t.push("|"),t.push(Date.now().toString(36)),t.join("")}function rv(e,r){const t=At(e);let n=r.__tabsterElementUID;return n||(n=r.__tabsterElementUID=tv(e())),!t.elementByUId[n]&&mn(r.ownerDocument,r)&&(t.elementByUId[n]=new ct(e,r)),n}function bs(e,r){const t=At(e);for(const n of Object.keys(t.elementByUId)){const i=t.elementByUId[n],o=i&&i.get();o&&r&&!r.contains(o)||delete t.elementByUId[n]}}function mn(e,r){var t;return!!(!((t=e==null?void 0:e.body)===null||t===void 0)&&t.contains(r))}function ov(e,r){const t=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return t&&t.call(e,r)}function nv(e){return e.basics.WeakRef}let iv=0;class ys{constructor(r,t,n){const i=r.getWindow;this._tabster=r,this._element=new ct(i,t),this._props={...n},this.id="i"+ ++iv}getElement(){return this._element.get()}getProps(){return this._props}setProps(r){this._props={...r}}}class no{constructor(r,t,n,i,o){var s;this._focusIn=l=>{if(this._fixedTarget){const v=this._fixedTarget.get();v&&qt(v);return}const f=this.input;if(this.onFocusIn&&f){const v=l.relatedTarget;this.onFocusIn(this,this._isBackward(!0,f,v),v)}},this._focusOut=l=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const f=this.input;if(this.onFocusOut&&f){const v=l.relatedTarget;this.onFocusOut(this,this._isBackward(!1,f,v),v)}};const c=r(),u=c.document.createElement("i");u.tabIndex=0,u.setAttribute("role","none"),u.setAttribute(dn,""),u.setAttribute("aria-hidden","true");const a=u.style;a.position="fixed",a.width=a.height="1px",a.opacity="0.001",a.zIndex="-1",a.setProperty("content-visibility","hidden"),ev(u),this.input=u,this.isFirst=n.isFirst,this.isOutside=t,this._isPhantom=(s=n.isPhantom)!==null&&s!==void 0?s:!1,this._fixedTarget=o,u.addEventListener("focusin",this._focusIn),u.addEventListener("focusout",this._focusOut),u.__tabsterDummyContainer=i,this._isPhantom&&(this._disposeTimer=c.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(c.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var r;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,(r=t.parentElement)===null||r===void 0||r.removeChild(t))}setTopLeft(r,t){var n;const i=(n=this.input)===null||n===void 0?void 0:n.style;i&&(i.top=`${r}px`,i.left=`${t}px`)}_isBackward(r,t,n){return r&&!n?!this.isFirst:!!(n&&t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)}}const ws={Root:1,Modalizer:2,Mover:3,Groupper:4};class io{constructor(r,t,n,i,o,s){this._element=t,this._instance=new sv(r,t,this,n,i,o,s)}_setHandlers(r,t){this._onFocusIn=r,this._onFocusOut=t}moveOut(r){var t;(t=this._instance)===null||t===void 0||t.moveOut(r)}moveOutWithDefaultAction(r){var t;(t=this._instance)===null||t===void 0||t.moveOutWithDefaultAction(r)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var t;(t=this._instance)===null||t===void 0||t.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,t,n,i){var o;const c=new no(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(c){let u,a;if(t.tagName==="BODY")u=t,a=n&&i||!n&&!i?t.firstElementChild:null;else{n&&(!i||i&&!r.focusable.isFocusable(t,!1,!0,!0))?(u=t,a=i?t.firstElementChild:null):(u=t.parentElement,a=n&&i||!n&&!i?t:t.nextElementSibling);let l,f;do l=n&&i||!n&&!i?a==null?void 0:a.previousElementSibling:a,f=(o=l==null?void 0:l.__tabsterDummyContainer)===null||o===void 0?void 0:o.get(),f===t?a=n&&i||!n&&!i?l:l==null?void 0:l.nextElementSibling:f=void 0;while(f)}u&&(u.insertBefore(c,a),qt(c))}}static addPhantomDummyWithTarget(r,t,n,i){const s=new no(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new ct(r.getWindow,i)).input;if(s){let c,u;Qh(t)&&!n?(c=t,u=t.firstElementChild):(c=t.parentElement,u=n?t:t.nextElementSibling),c==null||c.insertBefore(s,u)}}}function bt(e,r){var t;const n={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(t=e.input)===null||t===void 0||t.setAttribute(dn,[`isFirst=${e.isFirst}`,`isOutside=${e.isOutside}`,...r.map(i=>`(${n[i.priority]}, tabbable=${i.tabbable})`)].join(", "))}class av{constructor(r){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=t=>{var n;this._changedParents.has(t)||(this._changedParents.add(t),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(n=this._win)===null||n===void 0?void 0:n.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const i of this._dummyElements){const o=i.get();if(o){const s=this._dummyCallbacks.get(o);if(s){const c=o.parentElement;(!c||this._changedParents.has(c))&&s()}}}this._changedParents=new WeakSet},pn)))},this._win=r}add(r,t){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new ct(this._win,r)),this._dummyCallbacks.set(r,t),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(t=>{const n=t.get();return n&&n!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var r;const t=(r=this._win)===null||r===void 0?void 0:r.call(this);this._updateTimer&&(t==null||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(t==null||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(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)===null||r===void 0?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+pn<=Date.now()){const t=new Map,n=[];for(const i of this._updateQueue)n.push(i(t));this._updateQueue.clear();for(const i of n)i();t.clear()}else this._scheduledUpdatePositions()},pn))}}class sv{constructor(r,t,n,i,o,s,c){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(d,h,m)=>{this._onFocus(!0,d,h,m)},this._onFocusOut=(d,h,m)=>{this._onFocus(!1,d,h,m)},this.moveOut=d=>{var h;const m=this._firstDummy,w=this._lastDummy;if(m&&w){this._ensurePosition();const b=m.input,y=w.input,S=(h=this._element)===null||h===void 0?void 0:h.get();if(b&&y&&S){let x;d?(b.tabIndex=0,x=b):(y.tabIndex=0,x=y),x&&qt(x)}}},this.moveOutWithDefaultAction=d=>{var h;const m=this._firstDummy,w=this._lastDummy;if(m&&w){this._ensurePosition();const b=m.input,y=w.input,S=(h=this._element)===null||h===void 0?void 0:h.get();if(b&&y&&S){let x;d?!m.isOutside&&this._tabster.focusable.isFocusable(S,!0,!0,!0)?x=S:(m.useDefaultAction=!0,b.tabIndex=0,x=b):(w.useDefaultAction=!0,y.tabIndex=0,x=y),x&&qt(x)}}},this.setTabbable=(d,h)=>{var m,w;for(const y of this._wrappers)if(y.manager===d){y.tabbable=h;break}const b=this._getCurrent();if(b){const y=b.tabbable?0:-1;let S=(m=this._firstDummy)===null||m===void 0?void 0:m.input;S&&(S.tabIndex=y),S=(w=this._lastDummy)===null||w===void 0?void 0:w.input,S&&(S.tabIndex=y)}process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,this._wrappers),this._lastDummy&&bt(this._lastDummy,this._wrappers))},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,this._wrappers),this._lastDummy&&bt(this._lastDummy,this._wrappers)),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=d=>{var h,m;const w=((h=this._firstDummy)===null||h===void 0?void 0:h.input)||((m=this._lastDummy)===null||m===void 0?void 0:m.input),b=this._transformElements,y=new Set;let S=0,x=0;const P=this._getWindow();for(let k=w;k&&k.nodeType===Node.ELEMENT_NODE;k=k.parentElement){let _=d.get(k);if(_===void 0){const q=P.getComputedStyle(k).transform;q&&q!=="none"&&(_={scrollTop:k.scrollTop,scrollLeft:k.scrollLeft}),d.set(k,_||null)}_&&(y.add(k),b.has(k)||k.addEventListener("scroll",this._addTransformOffsets),S+=_.scrollTop,x+=_.scrollLeft)}for(const k of b)y.has(k)||k.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=y,()=>{var k,_;(k=this._firstDummy)===null||k===void 0||k.setTopLeft(S,x),(_=this._lastDummy)===null||_===void 0||_.setTopLeft(S,x)}};const u=t.get();if(!u)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=c;const a=u.__tabsterDummy;if((a||this)._wrappers.push({manager:n,priority:i,tabbable:!0}),a)return process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,a._wrappers),this._lastDummy&&bt(this._lastDummy,a._wrappers)),a;u.__tabsterDummy=this;const l=o==null?void 0:o.dummyInputsPosition,f=u.tagName;this._isOutside=l?l===fs.Outside:(s||f==="UL"||f==="OL"||f==="TABLE")&&!(f==="LI"||f==="TD"||f==="TH"),this._firstDummy=new no(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new no(this._getWindow,this._isOutside,{isFirst:!1},t);const v=this._firstDummy.input;v&&r._dummyObserver.add(v,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(r,t){var n,i,o,s;const c=this._wrappers=this._wrappers.filter(u=>u.manager!==r&&!t);if(process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,c),this._lastDummy&&bt(this._lastDummy,c)),c.length===0){delete((n=this._element)===null||n===void 0?void 0:n.get()).__tabsterDummy;for(const l of this._transformElements)l.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const u=this._getWindow();this._addTimer&&(u.clearTimeout(this._addTimer),delete this._addTimer);const a=(i=this._firstDummy)===null||i===void 0?void 0:i.input;a&&this._tabster._dummyObserver.remove(a),(o=this._firstDummy)===null||o===void 0||o.dispose(),(s=this._lastDummy)===null||s===void 0||s.dispose()}}_onFocus(r,t,n,i){var o;const s=this._getCurrent();s&&(!t.useDefaultAction||this._callForDefaultAction)&&((o=s.manager.getHandler(r))===null||o===void 0||o(t,n,i))}_getCurrent(){return this._wrappers.sort((r,t)=>r.tabbable!==t.tabbable?r.tabbable?-1:1:r.priority-t.priority),this._wrappers[0]}_ensurePosition(){var r,t,n;const i=(r=this._element)===null||r===void 0?void 0:r.get(),o=(t=this._firstDummy)===null||t===void 0?void 0:t.input,s=(n=this._lastDummy)===null||n===void 0?void 0:n.input;if(!(!i||!o||!s))if(this._isOutside){const c=i.parentElement;if(c){const u=i.nextElementSibling;u!==s&&c.insertBefore(s,u),i.previousElementSibling!==o&&c.insertBefore(o,i)}}else{i.lastElementChild!==s&&i.appendChild(s);const c=i.firstElementChild;c&&c!==o&&i.insertBefore(o,c)}}}function ks(e){let r=null;for(let t=e.lastElementChild;t;t=t.lastElementChild)r=t;return r||void 0}function lv(e,r){let t=e,n=null;for(;t&&!n;)n=r?t.previousElementSibling:t.nextElementSibling,t=t.parentElement;return n||void 0}function ao(e,r,t){const n=document.createEvent("HTMLEvents");return n.initEvent(r,!0,!0),n.details=t,e.dispatchEvent(n),!n.defaultPrevented}/*!
87
98
  * Copyright (c) Microsoft Corporation. All rights reserved.
88
99
  * Licensed under the MIT License.
89
- */function ms(e,r){const t=JSON.stringify(e);return r===!0?t:{[st]:t}}function rv(e,r){for(const t of Object.keys(r)){const n=r[t];n?e[t]=n:delete e[t]}}function ov(e,r,t){let n;if(t){const i=e.getAttribute(st);if(i)try{n=JSON.parse(i)}catch(o){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${o}`,e)}}n||(n={}),rv(n,r),Object.keys(n).length>0?e.setAttribute(st,ms(n,!0)):e.removeAttribute(st)}/*!
100
+ */function xs(e,r){const t=JSON.stringify(e);return r===!0?t:{[st]:t}}function cv(e,r){for(const t of Object.keys(r)){const n=r[t];n?e[t]=n:delete e[t]}}function uv(e,r,t){let n;if(t){const i=e.getAttribute(st);if(i)try{n=JSON.parse(i)}catch(o){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${o}`,e)}}n||(n={}),cv(n,r),Object.keys(n).length>0?e.setAttribute(st,xs(n,!0)):e.removeAttribute(st)}/*!
90
101
  * Copyright (c) Microsoft Corporation. All rights reserved.
91
102
  * Licensed under the MIT License.
92
- */function bs(e,r,t){if(process.env.NODE_ENV==="development"){const n=e.get();n&&(r?n.style.removeProperty("--tabster-root"):n.style.setProperty("--tabster-root",t+","))}}class ys extends no{constructor(r,t,n,i){super(r,t,gs.Root,i,void 0,!0),this._onDummyInputFocus=o=>{var s;if(o.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const c=this._element.get();if(c){this._setFocused(!0);const u=this._tabster.focusedElement.getFirstOrLastTabbable(o.isFirst,{container:c,ignoreAccessibility:!0});if(u){qt(u);return}}(s=o.input)===null||s===void 0||s.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=r,this._setFocused=n}}class nv extends vs{constructor(r,t,n,i,o){super(r,t,i),this._isFocused=!1,this._setFocused=u=>{var a;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===u)return;const l=this._element.get();l&&(u?(this._isFocused=!0,(a=this._dummyManager)===null||a===void 0||a.setTabbable(!1),io(this._tabster.root.eventTarget,"focus",{element:l})):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var f;delete this._setFocusedTimer,this._isFocused=!1,(f=this._dummyManager)===null||f===void 0||f.setTabbable(!0),io(this._tabster.root.eventTarget,"blur",{element:l})},0))},this._onFocusIn=u=>{const a=this._tabster.getParent,l=this._element.get();let f=u.target;do{if(f===l){this._setFocused(!0);return}f=f&&a(f)}while(f)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=n;const s=r.getWindow;this.uid=Kh(s,t),this._sys=o,(r.controlTab||r.rootDummyInputs)&&this.addDummyInputs();const c=s();c.document.addEventListener("focusin",this._onFocusIn),c.document.addEventListener("focusout",this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new ys(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var r;this._onDispose(this);const t=this._tabster.getWindow();t.document.removeEventListener("focusin",this._onFocusIn),t.document.removeEventListener("focusout",this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(r=this._dummyManager)===null||r===void 0||r.dispose(),this._remove()}moveOutWithDefaultAction(r){const t=this._dummyManager;if(t)t.moveOutWithDefaultAction(r);else{const n=this.getElement();n&&ys.moveWithPhantomDummy(this._tabster,n,!0,r)}}_add(){process.env.NODE_ENV==="development"&&bs(this._element,!1,this.uid)}_remove(){process.env.NODE_ENV==="development"&&bs(this._element,!0)}}class Ie{constructor(r,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var n;const i=this._win().document,o=i.body;if(o){this._autoRootUnwait(i);const s=this._autoRoot;if(s)return ov(o,{root:s},!0),ss(this._tabster,o),(n=lt(this._tabster,o))===null||n===void 0?void 0:n.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,i.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=n=>{delete this._roots[n.id]},this._tabster=r,this._win=r.getWindow,this._autoRoot=t,this.eventTarget=Lh(this._win),r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(t=>{this._roots[t]&&(this._roots[t].dispose(),delete this._roots[t])}),this.rootById={}}createRoot(r,t,n){process.env.NODE_ENV;const i=new nv(this._tabster,r,this._onRootDispose,t,n);return this._roots[i.id]=i,this._forceDummy&&i.addDummyInputs(),i}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const t of Object.keys(r))r[t].addDummyInputs()}static getRootByUId(r,t){const n=r().__tabsterInstance;return n&&n.root.rootById[t]}static getTabsterContext(r,t,n){n===void 0&&(n={});var i,o,s,c;if(!t.ownerDocument)return;const{checkRtl:u,referenceElement:a}=n,l=r.getParent;r.drainInitQueue();let f,v,d,h,m=!1,w,b,y,P,x=a||t;const S={};for(;x&&(!f||u);){const _=lt(r,x);if(u&&y===void 0){const I=x.dir;I&&(y=I.toLowerCase()==="rtl")}if(!_){x=l(x);continue}const q=x.tagName;(_.uncontrolled||q==="IFRAME"||q==="WEBVIEW")&&(P=x),!h&&(!((i=_.focusable)===null||i===void 0)&&i.excludeFromMover)&&!d&&(m=!0);const F=_.modalizer,V=_.groupper,X=_.mover;!v&&F&&(v=F),!d&&V&&(!v||F)&&(v?(!V.isActive()&&V.getProps().tabbability&&v.userId!==((o=r.modalizer)===null||o===void 0?void 0:o.activeId)&&(v=void 0,d=V),b=V):d=V),!h&&X&&(!v||F)&&(!V||x!==t)&&(h=X,w=!!d&&d!==V),_.root&&(f=_.root),!((s=_.focusable)===null||s===void 0)&&s.ignoreKeydown&&Object.assign(S,_.focusable.ignoreKeydown),x=l(x)}if(!f){const _=r.root;_._autoRoot&&!((c=t.ownerDocument)===null||c===void 0)&&c.body&&(f=_._autoRootCreate())}return d&&!h&&(w=!0),process.env.NODE_ENV==="development"&&!f&&(v||d||h)&&console.error("Tabster Root is required for Mover, Groupper and Modalizer to work."),f?{root:f,modalizer:v,groupper:d,mover:h,groupperBeforeMover:w,modalizerInGroupper:b,rtl:u?!!y:void 0,uncontrolled:P,excludedFromMover:m,ignoreKeydown:_=>!!S[_.key]}:void 0}static getRoot(r,t){var n;const i=r.getParent;for(let o=t;o;o=i(o)){const s=(n=lt(r,o))===null||n===void 0?void 0:n.root;if(s)return s}}onRoot(r,t){t?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*!
103
+ */function Bs(e,r,t){if(process.env.NODE_ENV==="development"){const n=e.get();n&&(r?n.style.removeProperty("--tabster-root"):n.style.setProperty("--tabster-root",t+","))}}class _s extends io{constructor(r,t,n,i){super(r,t,ws.Root,i,void 0,!0),this._onDummyInputFocus=o=>{var s;if(o.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const c=this._element.get();if(c){this._setFocused(!0);const u=this._tabster.focusedElement.getFirstOrLastTabbable(o.isFirst,{container:c,ignoreAccessibility:!0});if(u){qt(u);return}}(s=o.input)===null||s===void 0||s.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=r,this._setFocused=n}}class fv extends ys{constructor(r,t,n,i,o){super(r,t,i),this._isFocused=!1,this._setFocused=u=>{var a;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===u)return;const l=this._element.get();l&&(u?(this._isFocused=!0,(a=this._dummyManager)===null||a===void 0||a.setTabbable(!1),ao(this._tabster.root.eventTarget,"focus",{element:l})):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var f;delete this._setFocusedTimer,this._isFocused=!1,(f=this._dummyManager)===null||f===void 0||f.setTabbable(!0),ao(this._tabster.root.eventTarget,"blur",{element:l})},0))},this._onFocusIn=u=>{const a=this._tabster.getParent,l=this._element.get();let f=u.target;do{if(f===l){this._setFocused(!0);return}f=f&&a(f)}while(f)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=n;const s=r.getWindow;this.uid=rv(s,t),this._sys=o,(r.controlTab||r.rootDummyInputs)&&this.addDummyInputs();const c=s();c.document.addEventListener("focusin",this._onFocusIn),c.document.addEventListener("focusout",this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new _s(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var r;this._onDispose(this);const t=this._tabster.getWindow();t.document.removeEventListener("focusin",this._onFocusIn),t.document.removeEventListener("focusout",this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(r=this._dummyManager)===null||r===void 0||r.dispose(),this._remove()}moveOutWithDefaultAction(r){const t=this._dummyManager;if(t)t.moveOutWithDefaultAction(r);else{const n=this.getElement();n&&_s.moveWithPhantomDummy(this._tabster,n,!0,r)}}_add(){process.env.NODE_ENV==="development"&&Bs(this._element,!1,this.uid)}_remove(){process.env.NODE_ENV==="development"&&Bs(this._element,!0)}}class Ie{constructor(r,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var n;const i=this._win().document,o=i.body;if(o){this._autoRootUnwait(i);const s=this._autoRoot;if(s)return uv(o,{root:s},!0),ds(this._tabster,o),(n=lt(this._tabster,o))===null||n===void 0?void 0:n.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,i.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=n=>{delete this._roots[n.id]},this._tabster=r,this._win=r.getWindow,this._autoRoot=t,this.eventTarget=Xh(this._win),r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(t=>{this._roots[t]&&(this._roots[t].dispose(),delete this._roots[t])}),this.rootById={}}createRoot(r,t,n){process.env.NODE_ENV;const i=new fv(this._tabster,r,this._onRootDispose,t,n);return this._roots[i.id]=i,this._forceDummy&&i.addDummyInputs(),i}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const t of Object.keys(r))r[t].addDummyInputs()}static getRootByUId(r,t){const n=r().__tabsterInstance;return n&&n.root.rootById[t]}static getTabsterContext(r,t,n){n===void 0&&(n={});var i,o,s,c;if(!t.ownerDocument)return;const{checkRtl:u,referenceElement:a}=n,l=r.getParent;r.drainInitQueue();let f,v,d,h,m=!1,w,b,y,S,x=a||t;const P={};for(;x&&(!f||u);){const _=lt(r,x);if(u&&y===void 0){const I=x.dir;I&&(y=I.toLowerCase()==="rtl")}if(!_){x=l(x);continue}const q=x.tagName;(_.uncontrolled||q==="IFRAME"||q==="WEBVIEW")&&(S=x),!h&&(!((i=_.focusable)===null||i===void 0)&&i.excludeFromMover)&&!d&&(m=!0);const F=_.modalizer,V=_.groupper,X=_.mover;!v&&F&&(v=F),!d&&V&&(!v||F)&&(v?(!V.isActive()&&V.getProps().tabbability&&v.userId!==((o=r.modalizer)===null||o===void 0?void 0:o.activeId)&&(v=void 0,d=V),b=V):d=V),!h&&X&&(!v||F)&&(!V||x!==t)&&(h=X,w=!!d&&d!==V),_.root&&(f=_.root),!((s=_.focusable)===null||s===void 0)&&s.ignoreKeydown&&Object.assign(P,_.focusable.ignoreKeydown),x=l(x)}if(!f){const _=r.root;_._autoRoot&&!((c=t.ownerDocument)===null||c===void 0)&&c.body&&(f=_._autoRootCreate())}return d&&!h&&(w=!0),process.env.NODE_ENV==="development"&&!f&&(v||d||h)&&console.error("Tabster Root is required for Mover, Groupper and Modalizer to work."),f?{root:f,modalizer:v,groupper:d,mover:h,groupperBeforeMover:w,modalizerInGroupper:b,rtl:u?!!y:void 0,uncontrolled:S,excludedFromMover:m,ignoreKeydown:_=>!!P[_.key]}:void 0}static getRoot(r,t){var n;const i=r.getParent;for(let o=t;o;o=i(o)){const s=(n=lt(r,o))===null||n===void 0?void 0:n.root;if(s)return s}}onRoot(r,t){t?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*!
93
104
  * Copyright (c) Microsoft Corporation. All rights reserved.
94
105
  * Licensed under the MIT License.
95
- */class ws{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(r){const t=this._callbacks;t.indexOf(r)<0&&t.push(r)}subscribeFirst(r){const t=this._callbacks,n=t.indexOf(r);n>=0&&t.splice(n,1),t.unshift(r)}unsubscribe(r){const t=this._callbacks.indexOf(r);t>=0&&this._callbacks.splice(t,1)}setVal(r,t){this._val!==r&&(this._val=r,this._callCallbacks(r,t))}getVal(){return this._val}trigger(r,t){this._callCallbacks(r,t)}_callCallbacks(r,t){this._callbacks.forEach(n=>n(r,t))}}/*!
106
+ */class Ss{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(r){const t=this._callbacks;t.indexOf(r)<0&&t.push(r)}subscribeFirst(r){const t=this._callbacks,n=t.indexOf(r);n>=0&&t.splice(n,1),t.unshift(r)}unsubscribe(r){const t=this._callbacks.indexOf(r);t>=0&&this._callbacks.splice(t,1)}setVal(r,t){this._val!==r&&(this._val=r,this._callCallbacks(r,t))}getVal(){return this._val}trigger(r,t){this._callCallbacks(r,t)}_callCallbacks(r,t){this._callbacks.forEach(n=>n(r,t))}}/*!
96
107
  * Copyright (c) Microsoft Corporation. All rights reserved.
97
108
  * Licensed under the MIT License.
98
- */class iv{constructor(r){this._tabster=r}dispose(){}getProps(r){const t=lt(this._tabster,r);return t&&t.focusable||{}}isFocusable(r,t,n,i){return Zh(r,dn)&&(t||r.tabIndex!==-1)?(n||this.isVisible(r))&&(i||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||r.offsetParent===null&&r.ownerDocument.body!==r)return!1;const t=r.ownerDocument.defaultView;if(!t)return!1;const n=r.ownerDocument.body.getBoundingClientRect();return!(n.width===0&&n.height===0||t.getComputedStyle(r).visibility==="hidden")}isAccessible(r){var t;for(let n=r;n;n=n.parentElement){const i=lt(this._tabster,n);if(this._isHidden(n)||!((t=i==null?void 0:i.focusable)===null||t===void 0?void 0:t.ignoreAriaDisabled)&&this._isDisabled(n))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var t;const n=r.getAttribute("aria-hidden");return!!(n&&n.toLowerCase()==="true"&&!(!((t=this._tabster.modalizer)===null||t===void 0)&&t.isAugmented(r)))}findFirst(r,t){return this.findElement({...r},t)}findLast(r,t){return this.findElement({isBackward:!0,...r},t)}findNext(r,t){return this.findElement({...r},t)}findPrev(r,t){return this.findElement({...r,isBackward:!0},t)}findDefault(r,t){return this.findElement({...r,acceptCondition:n=>this.isFocusable(n,r.includeProgrammaticallyFocusable)&&!!this.getProps(n).isDefault},t)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,t){const n=this._findElements(!1,r,t);return n&&n[0]}_findElements(r,t,n){var i,o,s;const{container:c,currentElement:u=null,includeProgrammaticallyFocusable:a,useActiveModalizer:l,ignoreAccessibility:f,modalizerId:v,isBackward:d,onElement:h}=t;n||(n={});const m=[];let{acceptCondition:w}=t;const b=!!w;if(!c)return null;w||(w=S=>this.isFocusable(S,a,!1,f));const y={container:c,modalizerUserId:v===void 0&&l?(i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId:v||((s=(o=Ie.getTabsterContext(this._tabster,c))===null||o===void 0?void 0:o.modalizer)===null||s===void 0?void 0:s.userId),from:u||c,isBackward:d,acceptCondition:w,hasCustomCondition:b,includeProgrammaticallyFocusable:a,ignoreAccessibility:f,cachedGrouppers:{}},P=fs(c.ownerDocument,c,S=>this._acceptElement(S,y));if(!P)return null;const x=S=>{var k,_;const q=(k=y.foundElement)!==null&&k!==void 0?k:y.foundBackward;return q&&m.push(q),r?q&&(y.found=!1,delete y.foundElement,delete y.foundBackward,delete y.fromCtx,y.from=q,h&&!h(q))?!1:!!(q||S):(q&&n&&(n.uncontrolled=(_=Ie.getTabsterContext(this._tabster,q))===null||_===void 0?void 0:_.uncontrolled),!!(S&&!q))};if(u||(n.outOfDOMOrder=!0),u)P.currentNode=u;else if(d){const S=ps(c);if(!S)return null;if(this._acceptElement(S,y)===NodeFilter.FILTER_ACCEPT&&!x(!0))return y.skippedFocusable&&(n.outOfDOMOrder=!0),m;P.currentNode=S}do d?P.previousNode():P.nextNode();while(x());return y.skippedFocusable&&(n.outOfDOMOrder=!0),m.length?m:null}_acceptElement(r,t){var n,i,o,s;if(t.found)return NodeFilter.FILTER_ACCEPT;const c=t.foundBackward;if(c&&(r===c||!c.contains(r)))return t.found=!0,t.foundElement=c,NodeFilter.FILTER_ACCEPT;const u=t.container;if(r===u)return NodeFilter.FILTER_SKIP;if(!u.contains(r)||r.__tabsterDummyContainer||!((n=t.rejectElementsFrom)===null||n===void 0)&&n.contains(r))return NodeFilter.FILTER_REJECT;const a=t.currentCtx=Ie.getTabsterContext(this._tabster,r);if(!a)return NodeFilter.FILTER_SKIP;if(ds(r))return this.isFocusable(r,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return((i=a.modalizer)===null||i===void 0?void 0:i.userId)===((o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let l,f=t.fromCtx;f||(f=t.fromCtx=Ie.getTabsterContext(this._tabster,t.from));const v=f==null?void 0:f.mover;let d=a.groupper,h=a.mover;if(l=(s=this._tabster.modalizer)===null||s===void 0?void 0:s.acceptElement(r,t),l!==void 0&&(t.skippedFocusable=!0),l===void 0&&(d||h||v)){const m=d==null?void 0:d.getElement(),w=v==null?void 0:v.getElement();let b=h==null?void 0:h.getElement();b&&(w!=null&&w.contains(b))&&u.contains(w)&&(!m||!h||w.contains(m))&&(h=v,b=w),m&&(m===u||!u.contains(m))&&(d=void 0),b&&!u.contains(b)&&(h=void 0),d&&h&&(b&&m&&!m.contains(b)?h=void 0:d=void 0),d&&(l=d.acceptElement(r,t)),h&&(l=h.acceptElement(r,t))}return l===void 0&&(l=t.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,l===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(t.skippedFocusable=!0)),l===NodeFilter.FILTER_ACCEPT&&!t.found&&(t.isBackward?(t.foundBackward=r,l=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=r)),l}}/*!
109
+ */class dv{constructor(r){this._tabster=r}dispose(){}getProps(r){const t=lt(this._tabster,r);return t&&t.focusable||{}}isFocusable(r,t,n,i){return ov(r,hn)&&(t||r.tabIndex!==-1)?(n||this.isVisible(r))&&(i||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||r.offsetParent===null&&r.ownerDocument.body!==r)return!1;const t=r.ownerDocument.defaultView;if(!t)return!1;const n=r.ownerDocument.body.getBoundingClientRect();return!(n.width===0&&n.height===0||t.getComputedStyle(r).visibility==="hidden")}isAccessible(r){var t;for(let n=r;n;n=n.parentElement){const i=lt(this._tabster,n);if(this._isHidden(n)||!((t=i==null?void 0:i.focusable)===null||t===void 0?void 0:t.ignoreAriaDisabled)&&this._isDisabled(n))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var t;const n=r.getAttribute("aria-hidden");return!!(n&&n.toLowerCase()==="true"&&!(!((t=this._tabster.modalizer)===null||t===void 0)&&t.isAugmented(r)))}findFirst(r,t){return this.findElement({...r},t)}findLast(r,t){return this.findElement({isBackward:!0,...r},t)}findNext(r,t){return this.findElement({...r},t)}findPrev(r,t){return this.findElement({...r,isBackward:!0},t)}findDefault(r,t){return this.findElement({...r,acceptCondition:n=>this.isFocusable(n,r.includeProgrammaticallyFocusable)&&!!this.getProps(n).isDefault},t)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,t){const n=this._findElements(!1,r,t);return n&&n[0]}_findElements(r,t,n){var i,o,s;const{container:c,currentElement:u=null,includeProgrammaticallyFocusable:a,useActiveModalizer:l,ignoreAccessibility:f,modalizerId:v,isBackward:d,onElement:h}=t;n||(n={});const m=[];let{acceptCondition:w}=t;const b=!!w;if(!c)return null;w||(w=P=>this.isFocusable(P,a,!1,f));const y={container:c,modalizerUserId:v===void 0&&l?(i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId:v||((s=(o=Ie.getTabsterContext(this._tabster,c))===null||o===void 0?void 0:o.modalizer)===null||s===void 0?void 0:s.userId),from:u||c,isBackward:d,acceptCondition:w,hasCustomCondition:b,includeProgrammaticallyFocusable:a,ignoreAccessibility:f,cachedGrouppers:{}},S=ps(c.ownerDocument,c,P=>this._acceptElement(P,y));if(!S)return null;const x=P=>{var k,_;const q=(k=y.foundElement)!==null&&k!==void 0?k:y.foundBackward;return q&&m.push(q),r?q&&(y.found=!1,delete y.foundElement,delete y.foundBackward,delete y.fromCtx,y.from=q,h&&!h(q))?!1:!!(q||P):(q&&n&&(n.uncontrolled=(_=Ie.getTabsterContext(this._tabster,q))===null||_===void 0?void 0:_.uncontrolled),!!(P&&!q))};if(u||(n.outOfDOMOrder=!0),u)S.currentNode=u;else if(d){const P=ks(c);if(!P)return null;if(this._acceptElement(P,y)===NodeFilter.FILTER_ACCEPT&&!x(!0))return y.skippedFocusable&&(n.outOfDOMOrder=!0),m;S.currentNode=P}do d?S.previousNode():S.nextNode();while(x());return y.skippedFocusable&&(n.outOfDOMOrder=!0),m.length?m:null}_acceptElement(r,t){var n,i,o,s;if(t.found)return NodeFilter.FILTER_ACCEPT;const c=t.foundBackward;if(c&&(r===c||!c.contains(r)))return t.found=!0,t.foundElement=c,NodeFilter.FILTER_ACCEPT;const u=t.container;if(r===u)return NodeFilter.FILTER_SKIP;if(!u.contains(r)||r.__tabsterDummyContainer||!((n=t.rejectElementsFrom)===null||n===void 0)&&n.contains(r))return NodeFilter.FILTER_REJECT;const a=t.currentCtx=Ie.getTabsterContext(this._tabster,r);if(!a)return NodeFilter.FILTER_SKIP;if(ms(r))return this.isFocusable(r,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return((i=a.modalizer)===null||i===void 0?void 0:i.userId)===((o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let l,f=t.fromCtx;f||(f=t.fromCtx=Ie.getTabsterContext(this._tabster,t.from));const v=f==null?void 0:f.mover;let d=a.groupper,h=a.mover;if(l=(s=this._tabster.modalizer)===null||s===void 0?void 0:s.acceptElement(r,t),l!==void 0&&(t.skippedFocusable=!0),l===void 0&&(d||h||v)){const m=d==null?void 0:d.getElement(),w=v==null?void 0:v.getElement();let b=h==null?void 0:h.getElement();b&&(w!=null&&w.contains(b))&&u.contains(w)&&(!m||!h||w.contains(m))&&(h=v,b=w),m&&(m===u||!u.contains(m))&&(d=void 0),b&&!u.contains(b)&&(h=void 0),d&&h&&(b&&m&&!m.contains(b)?h=void 0:d=void 0),d&&(l=d.acceptElement(r,t)),h&&(l=h.acceptElement(r,t))}return l===void 0&&(l=t.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,l===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(t.skippedFocusable=!0)),l===NodeFilter.FILTER_ACCEPT&&!t.found&&(t.isBackward?(t.foundBackward=r,l=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=r)),l}}/*!
99
110
  * Copyright (c) Microsoft Corporation. All rights reserved.
100
111
  * Licensed under the MIT License.
101
- */const Sr={Tab:9,Enter:13,Esc:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,Left:37,Up:38,Right:39,Down:40};/*!
112
+ */const Pr={Tab:9,Enter:13,Esc:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,Left:37,Up:38,Right:39,Down:40};/*!
102
113
  * Copyright (c) Microsoft Corporation. All rights reserved.
103
114
  * Licensed under the MIT License.
104
- */function av(e,r){var t;const n=e.getParent;let i=r;do{const o=(t=lt(e,i))===null||t===void 0?void 0:t.uncontrolled;if(o&&e.uncontrolled.isUncontrolledCompletely(i,!!o.completely))return i;i=n(i)}while(i)}class Be extends ws{constructor(r,t){super(),this._init=()=>{const n=this._win(),i=n.document;i.addEventListener(at,this._onFocusIn,!0),i.addEventListener("focusout",this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const o=i.activeElement;o&&o!==i.body&&this._setFocusedElement(o),this.subscribe(this._onChanged)},this._onFocusIn=n=>{this._setFocusedElement(n.target,n.details.relatedTarget,n.details.isFocusedProgrammatically)},this._onFocusOut=n=>{this._setFocusedElement(void 0,n.relatedTarget)},this._validateFocusedElement=n=>{},this._onKeyDown=n=>{if(n.keyCode!==Sr.Tab||n.ctrlKey)return;const i=this.getVal();if(!i||!i.ownerDocument||i.contentEditable==="true")return;const o=this._tabster,s=o.controlTab,c=Ie.getTabsterContext(o,i);if(!c||c.ignoreKeydown(n))return;const u=n.shiftKey,a=Be.findNextTabbable(o,c,void 0,i,void 0,u,!0),l=a==null?void 0:a.element,f=av(o,i);if(l){const v=a.uncontrolled;if(c.uncontrolled||v!=null&&v.contains(i)){if(!a.outOfDOMOrder&&v===c.uncontrolled||f&&!f.contains(l))return;no.addPhantomDummyWithTarget(o,i,u,l);return}if(v||l.tagName==="IFRAME"){no.moveWithPhantomDummy(this._tabster,v??l,!1,u);return}(s||a!=null&&a.outOfDOMOrder)&&(n.preventDefault(),n.stopImmediatePropagation(),qt(l))}else f||c.root.moveOutWithDefaultAction(u)},this._onChanged=(n,i)=>{var o,s;if(n)io(n,os,i);else{const c=(o=this._lastVal)===null||o===void 0?void 0:o.get();if(c){const u={...i},a=Ie.getTabsterContext(this._tabster,c),l=(s=a==null?void 0:a.modalizer)===null||s===void 0?void 0:s.userId;l&&(u.modalizerId=l),io(c,ns,u)}}},this._tabster=r,this._win=t,r.queueInit(this._init)}dispose(){super.dispose();const r=this._win();r.document.removeEventListener(at,this._onFocusIn,!0),r.document.removeEventListener("focusout",this._onFocusOut,!0),r.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged),delete Be._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(r,t){var n,i;let o=Be._lastResetElement,s=o&&o.get();s&&t.contains(s)&&delete Be._lastResetElement,s=(i=(n=r._nextVal)===null||n===void 0?void 0:n.element)===null||i===void 0?void 0:i.get(),s&&t.contains(s)&&delete r._nextVal,o=r._lastVal,s=o&&o.get(),s&&t.contains(s)&&delete r._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var r;let t=(r=this._lastVal)===null||r===void 0?void 0:r.get();return(!t||t&&!pn(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(r,t,n){return this._tabster.focusable.isFocusable(r,t,!1,n)?(r.focus(),!0):!1}focusDefault(r){const t=this._tabster.focusable.findDefault({container:r});return t?(this._tabster.focusedElement.focus(t),!0):!1}getFirstOrLastTabbable(r,t){var n;const{container:i,ignoreAccessibility:o}=t;let s;if(i){const c=Ie.getTabsterContext(this._tabster,i);c&&(s=(n=Be.findNextTabbable(this._tabster,c,i,void 0,void 0,!r,o))===null||n===void 0?void 0:n.element)}return s&&!(i!=null&&i.contains(s))&&(s=void 0),s||void 0}_focusFirstOrLast(r,t){const n=this.getFirstOrLastTabbable(r,t);return n?(this.focus(n,!1,!0),!0):!1}focusFirst(r){return this._focusFirstOrLast(!0,r)}focusLast(r){return this._focusFirstOrLast(!1,r)}resetFocus(r){if(!this._tabster.focusable.isVisible(r))return!1;if(this._tabster.focusable.isFocusable(r,!0,!0,!0))this.focus(r);else{const t=r.getAttribute("tabindex"),n=r.getAttribute("aria-hidden");r.tabIndex=-1,r.setAttribute("aria-hidden","true"),Be._lastResetElement=new ct(this._win,r),this.focus(r,!0,!0),this._setOrRemoveAttribute(r,"tabindex",t),this._setOrRemoveAttribute(r,"aria-hidden",n)}return!0}_setOrRemoveAttribute(r,t,n){n===null?r.removeAttribute(t):r.setAttribute(t,n)}_setFocusedElement(r,t,n){var i,o;if(this._tabster._noop)return;const s={relatedTarget:t};if(r){const u=(i=Be._lastResetElement)===null||i===void 0?void 0:i.get();if(Be._lastResetElement=void 0,u===r||ds(r))return;s.isFocusedProgrammatically=n;const a=Ie.getTabsterContext(this._tabster,r),l=(o=a==null?void 0:a.modalizer)===null||o===void 0?void 0:o.userId;l&&(s.modalizerId=l)}const c=this._nextVal={element:r?new ct(this._win,r):void 0,details:s};r&&r!==this._val&&this._validateFocusedElement(r),this._nextVal===c&&this.setVal(r,s),this._nextVal=void 0}setVal(r,t){super.setVal(r,t),r&&(this._lastVal=new ct(this._win,r))}static findNextTabbable(r,t,n,i,o,s,c){const u=n||t.root.getElement();if(!u)return null;let a=null;const l=Be._isTabbingTimer,f=r.getWindow();l&&f.clearTimeout(l),Be.isTabbing=!0,Be._isTabbingTimer=f.setTimeout(()=>{delete Be._isTabbingTimer,Be.isTabbing=!1},0);const v=t.modalizer,d=t.groupper,h=t.mover,m=w=>{var b;if(a=w.findNextTabbable(i,o,s,c),i&&!(a!=null&&a.element)){const y=w!==v&&((b=w.getElement())===null||b===void 0?void 0:b.parentElement);if(y){const P=Ie.getTabsterContext(r,i,{referenceElement:y});if(P){const x=w.getElement(),S=s?x:x&&ps(x)||x;S&&(a=Be.findNextTabbable(r,P,n,S,y,s,c),a&&(a.outOfDOMOrder=!0))}}}};if(d&&h)m(t.groupperBeforeMover?d:h);else if(d)m(d);else if(h)m(h);else if(v)m(v);else{const w={container:u,currentElement:i,referenceElement:o,ignoreAccessibility:c,useActiveModalizer:!0},b={};a={element:r.focusable[s?"findPrev":"findNext"](w,b),outOfDOMOrder:b.outOfDOMOrder,uncontrolled:b.uncontrolled}}return a}}Be.isTabbing=!1;/*!
115
+ */function hv(e,r){var t;const n=e.getParent;let i=r;do{const o=(t=lt(e,i))===null||t===void 0?void 0:t.uncontrolled;if(o&&e.uncontrolled.isUncontrolledCompletely(i,!!o.completely))return i;i=n(i)}while(i)}class Be extends Ss{constructor(r,t){super(),this._init=()=>{const n=this._win(),i=n.document;i.addEventListener(at,this._onFocusIn,!0),i.addEventListener("focusout",this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const o=i.activeElement;o&&o!==i.body&&this._setFocusedElement(o),this.subscribe(this._onChanged)},this._onFocusIn=n=>{this._setFocusedElement(n.target,n.details.relatedTarget,n.details.isFocusedProgrammatically)},this._onFocusOut=n=>{this._setFocusedElement(void 0,n.relatedTarget)},this._validateFocusedElement=n=>{},this._onKeyDown=n=>{if(n.keyCode!==Pr.Tab||n.ctrlKey)return;const i=this.getVal();if(!i||!i.ownerDocument||i.contentEditable==="true")return;const o=this._tabster,s=o.controlTab,c=Ie.getTabsterContext(o,i);if(!c||c.ignoreKeydown(n))return;const u=n.shiftKey,a=Be.findNextTabbable(o,c,void 0,i,void 0,u,!0),l=a==null?void 0:a.element,f=hv(o,i);if(l){const v=a.uncontrolled;if(c.uncontrolled||v!=null&&v.contains(i)){if(!a.outOfDOMOrder&&v===c.uncontrolled||f&&!f.contains(l))return;io.addPhantomDummyWithTarget(o,i,u,l);return}if(v||l.tagName==="IFRAME"){io.moveWithPhantomDummy(this._tabster,v??l,!1,u);return}(s||a!=null&&a.outOfDOMOrder)&&(n.preventDefault(),n.stopImmediatePropagation(),qt(l))}else f||c.root.moveOutWithDefaultAction(u)},this._onChanged=(n,i)=>{var o,s;if(n)ao(n,ls,i);else{const c=(o=this._lastVal)===null||o===void 0?void 0:o.get();if(c){const u={...i},a=Ie.getTabsterContext(this._tabster,c),l=(s=a==null?void 0:a.modalizer)===null||s===void 0?void 0:s.userId;l&&(u.modalizerId=l),ao(c,cs,u)}}},this._tabster=r,this._win=t,r.queueInit(this._init)}dispose(){super.dispose();const r=this._win();r.document.removeEventListener(at,this._onFocusIn,!0),r.document.removeEventListener("focusout",this._onFocusOut,!0),r.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged),delete Be._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(r,t){var n,i;let o=Be._lastResetElement,s=o&&o.get();s&&t.contains(s)&&delete Be._lastResetElement,s=(i=(n=r._nextVal)===null||n===void 0?void 0:n.element)===null||i===void 0?void 0:i.get(),s&&t.contains(s)&&delete r._nextVal,o=r._lastVal,s=o&&o.get(),s&&t.contains(s)&&delete r._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var r;let t=(r=this._lastVal)===null||r===void 0?void 0:r.get();return(!t||t&&!mn(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(r,t,n){return this._tabster.focusable.isFocusable(r,t,!1,n)?(r.focus(),!0):!1}focusDefault(r){const t=this._tabster.focusable.findDefault({container:r});return t?(this._tabster.focusedElement.focus(t),!0):!1}getFirstOrLastTabbable(r,t){var n;const{container:i,ignoreAccessibility:o}=t;let s;if(i){const c=Ie.getTabsterContext(this._tabster,i);c&&(s=(n=Be.findNextTabbable(this._tabster,c,i,void 0,void 0,!r,o))===null||n===void 0?void 0:n.element)}return s&&!(i!=null&&i.contains(s))&&(s=void 0),s||void 0}_focusFirstOrLast(r,t){const n=this.getFirstOrLastTabbable(r,t);return n?(this.focus(n,!1,!0),!0):!1}focusFirst(r){return this._focusFirstOrLast(!0,r)}focusLast(r){return this._focusFirstOrLast(!1,r)}resetFocus(r){if(!this._tabster.focusable.isVisible(r))return!1;if(this._tabster.focusable.isFocusable(r,!0,!0,!0))this.focus(r);else{const t=r.getAttribute("tabindex"),n=r.getAttribute("aria-hidden");r.tabIndex=-1,r.setAttribute("aria-hidden","true"),Be._lastResetElement=new ct(this._win,r),this.focus(r,!0,!0),this._setOrRemoveAttribute(r,"tabindex",t),this._setOrRemoveAttribute(r,"aria-hidden",n)}return!0}_setOrRemoveAttribute(r,t,n){n===null?r.removeAttribute(t):r.setAttribute(t,n)}_setFocusedElement(r,t,n){var i,o;if(this._tabster._noop)return;const s={relatedTarget:t};if(r){const u=(i=Be._lastResetElement)===null||i===void 0?void 0:i.get();if(Be._lastResetElement=void 0,u===r||ms(r))return;s.isFocusedProgrammatically=n;const a=Ie.getTabsterContext(this._tabster,r),l=(o=a==null?void 0:a.modalizer)===null||o===void 0?void 0:o.userId;l&&(s.modalizerId=l)}const c=this._nextVal={element:r?new ct(this._win,r):void 0,details:s};r&&r!==this._val&&this._validateFocusedElement(r),this._nextVal===c&&this.setVal(r,s),this._nextVal=void 0}setVal(r,t){super.setVal(r,t),r&&(this._lastVal=new ct(this._win,r))}static findNextTabbable(r,t,n,i,o,s,c){const u=n||t.root.getElement();if(!u)return null;let a=null;const l=Be._isTabbingTimer,f=r.getWindow();l&&f.clearTimeout(l),Be.isTabbing=!0,Be._isTabbingTimer=f.setTimeout(()=>{delete Be._isTabbingTimer,Be.isTabbing=!1},0);const v=t.modalizer,d=t.groupper,h=t.mover,m=w=>{var b;if(a=w.findNextTabbable(i,o,s,c),i&&!(a!=null&&a.element)){const y=w!==v&&((b=w.getElement())===null||b===void 0?void 0:b.parentElement);if(y){const S=Ie.getTabsterContext(r,i,{referenceElement:y});if(S){const x=w.getElement(),P=s?x:x&&ks(x)||x;P&&(a=Be.findNextTabbable(r,S,n,P,y,s,c),a&&(a.outOfDOMOrder=!0))}}}};if(d&&h)m(t.groupperBeforeMover?d:h);else if(d)m(d);else if(h)m(h);else if(v)m(v);else{const w={container:u,currentElement:i,referenceElement:o,ignoreAccessibility:c,useActiveModalizer:!0},b={};a={element:r.focusable[s?"findPrev":"findNext"](w,b),outOfDOMOrder:b.outOfDOMOrder,uncontrolled:b.uncontrolled}}return a}}Be.isTabbing=!1;/*!
105
116
  * Copyright (c) Microsoft Corporation. All rights reserved.
106
117
  * Licensed under the MIT License.
107
- */class sv extends no{constructor(r,t,n,i){super(n,r,gs.Groupper,i,!0),this._setHandlers((o,s,c)=>{var u,a;const l=r.get(),f=o.input;if(l&&f){const v=Ie.getTabsterContext(n,f);if(v){let d;d=(u=t.findNextTabbable(c||void 0,void 0,s,!0))===null||u===void 0?void 0:u.element,d||(d=(a=Be.findNextTabbable(n,v,void 0,o.isOutside?f:tv(l,!s),void 0,s,!0))===null||a===void 0?void 0:a.element),d&&qt(d)}}})}}class lv extends vs{constructor(r,t,n,i,o){super(r,t,i),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=n,r.controlTab||(this.dummyManager=new sv(this._element,this,r,o))}dispose(){var r;this._onDispose(this);const t=this._element.get();(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,t&&process.env.NODE_ENV==="development"&&ks(this._element,!0),delete this._first}findNextTabbable(r,t,n,i){var o;const s=this.getElement();if(!s)return null;const c=((o=r==null?void 0:r.__tabsterDummyContainer)===null||o===void 0?void 0:o.get())===s;if(!this._shouldTabInside&&r&&s.contains(r)&&!c)return{element:void 0,outOfDOMOrder:!0};const u=this.getFirst(!0);if(!r||!s.contains(r)||c)return{element:u,outOfDOMOrder:!0};const a=this._tabster;let l=null,f=!1,v;if(this._shouldTabInside&&u){const d={container:s,currentElement:r,referenceElement:t,ignoreAccessibility:i,useActiveModalizer:!0},h={};l=a.focusable[n?"findPrev":"findNext"](d,h),f=!!h.outOfDOMOrder,!l&&this._props.tabbability===is.LimitedTrapFocus&&(l=a.focusable[n?"findLast":"findFirst"]({container:s,ignoreAccessibility:i,useActiveModalizer:!0},h),f=!0),v=h.uncontrolled}return{element:l,uncontrolled:v,outOfDOMOrder:f}}makeTabbable(r){this._shouldTabInside=r||!this._props.tabbability,process.env.NODE_ENV==="development"&&ks(this._element,!this._shouldTabInside)}isActive(r){var t;const n=this.getElement()||null;let i=!0;for(let s=n==null?void 0:n.parentElement;s;s=s.parentElement){const c=(t=lt(this._tabster,s))===null||t===void 0?void 0:t.groupper;c&&(c._shouldTabInside||(i=!1))}let o=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(o&&r){const s=this._tabster.focusedElement.getFocusedElement();s&&(o=s!==this.getFirst(!0))}return o}getFirst(r){var t;const n=this.getElement();let i;if(n){if(r&&this._tabster.focusable.isFocusable(n))return n;i=(t=this._first)===null||t===void 0?void 0:t.get(),i||(i=this._tabster.focusable.findFirst({container:n,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(r){r?this._first=new ct(this._tabster.getWindow,r):delete this._first}acceptElement(r,t){var n;const i=t.cachedGrouppers,o=(n=this.getElement())===null||n===void 0?void 0:n.parentElement,s=o&&Ie.getTabsterContext(this._tabster,o),c=s==null?void 0:s.groupper,u=s!=null&&s.groupperBeforeMover?c:void 0;let a;const l=d=>{let h=i[d.id],m;return h?m=h.isActive:(m=this.isActive(!0),h=i[d.id]={isActive:m}),m};if(u&&(a=u.getElement(),!l(u)&&a&&t.container!==a&&t.container.contains(a)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const f=l(this),v=this.getElement();if(v&&f!==!0){if(v===r&&c&&(a||(a=c.getElement()),a&&!l(c)&&t.container.contains(a)&&a!==t.container)||v!==r&&v.contains(r))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const d=i[this.id];let h;if("first"in d?h=d.first:h=d.first=this.getFirst(!0),h&&t.acceptCondition(h))return t.rejectElementsFrom=v,t.skippedFocusable=!0,h!==t.from?(t.found=!0,t.foundElement=h,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class cv{constructor(r,t){this._current={},this._grouppers={},this._init=()=>{const n=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus),n.document.addEventListener("mousedown",this._onMouseDown,!0),n.addEventListener("keydown",this._onKeyDown,!0)},this._onGroupperDispose=n=>{delete this._grouppers[n.id]},this._onFocus=n=>{n&&this._updateCurrent(n,!0,!0)},this._onMouseDown=n=>{n.target&&this._updateCurrent(n.target,!0)},this._onKeyDown=n=>{if(n.keyCode!==Sr.Enter&&n.keyCode!==Sr.Esc||n.ctrlKey||n.altKey||n.shiftKey||n.metaKey)return;const i=this._tabster.focusedElement.getFocusedElement();i&&this.handleKeyPress(i,n)},this._tabster=r,this._win=t,r.queueInit(this._init)}dispose(){const r=this._win();this._current={},this._updateTimer&&(r.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),r.document.removeEventListener("mousedown",this._onMouseDown,!0),r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._grouppers).forEach(t=>{this._grouppers[t]&&(this._grouppers[t].dispose(),delete this._grouppers[t])})}createGroupper(r,t,n){process.env.NODE_ENV;const i=new lv(this._tabster,r,this._onGroupperDispose,t,n);this._grouppers[i.id]=i;const o=this._tabster.focusedElement.getFocusedElement();return o&&r.contains(o)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,o===this._tabster.focusedElement.getFocusedElement()&&this._updateCurrent(o,!0,!0)},0)),i}forgetCurrentGrouppers(){this._current={}}_updateCurrent(r,t,n){var i;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const o={};let s=!0;for(let c=r;c;c=c.parentElement){const u=(i=lt(this._tabster,c))===null||i===void 0?void 0:i.groupper;if(u){if(o[u.id]=!0,s&&n&&c!==r&&(s=!1),t||!s){this._current[u.id]=u;const a=u.isActive()||r!==c&&(!u.getProps().delegated||u.getFirst(!1)!==r);u.makeTabbable(a)}s=!1}}for(const c of Object.keys(this._current)){const u=this._current[c];u.id in o||(u.makeTabbable(!1),u.setFirst(void 0),delete this._current[c])}}handleKeyPress(r,t,n){var i;const o=this._tabster,s=Ie.getTabsterContext(o,r),c=s==null?void 0:s.modalizerInGroupper;let u=(s==null?void 0:s.groupper)||c;if(s&&u){if(s.ignoreKeydown(t))return;let a;const l=u.getElement();if(t.keyCode===Sr.Enter)l&&(r===l||u.getProps().delegated&&r===u.getFirst(!1))&&(a=o.focusable.findNext({container:l,currentElement:r,useActiveModalizer:!0}));else if(t.keyCode===Sr.Esc){if(l&&l.contains(r))if(r!==l||n)a=u.getFirst(!0);else{const f=l.parentElement,v=f?Ie.getTabsterContext(o,f):void 0;u=v==null?void 0:v.groupper,a=u==null?void 0:u.getFirst(!0)}u&&(u.makeTabbable(!1),c&&((i=o.modalizer)===null||i===void 0||i.setActive(void 0)))}a&&(t.preventDefault(),t.stopImmediatePropagation(),a.focus())}}}function ks(e,r){if(process.env.NODE_ENV==="development"){const t=e.get();t&&(r?t.style.removeProperty("--tabster-groupper"):t.style.setProperty("--tabster-groupper","unlimited"))}}/*!
118
+ */class vv extends io{constructor(r,t,n,i){super(n,r,ws.Groupper,i,!0),this._setHandlers((o,s,c)=>{var u,a;const l=r.get(),f=o.input;if(l&&f){const v=Ie.getTabsterContext(n,f);if(v){let d;d=(u=t.findNextTabbable(c||void 0,void 0,s,!0))===null||u===void 0?void 0:u.element,d||(d=(a=Be.findNextTabbable(n,v,void 0,o.isOutside?f:lv(l,!s),void 0,s,!0))===null||a===void 0?void 0:a.element),d&&qt(d)}}})}}class gv extends ys{constructor(r,t,n,i,o){super(r,t,i),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=n,r.controlTab||(this.dummyManager=new vv(this._element,this,r,o))}dispose(){var r;this._onDispose(this);const t=this._element.get();(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,t&&process.env.NODE_ENV==="development"&&Ps(this._element,!0),delete this._first}findNextTabbable(r,t,n,i){var o;const s=this.getElement();if(!s)return null;const c=((o=r==null?void 0:r.__tabsterDummyContainer)===null||o===void 0?void 0:o.get())===s;if(!this._shouldTabInside&&r&&s.contains(r)&&!c)return{element:void 0,outOfDOMOrder:!0};const u=this.getFirst(!0);if(!r||!s.contains(r)||c)return{element:u,outOfDOMOrder:!0};const a=this._tabster;let l=null,f=!1,v;if(this._shouldTabInside&&u){const d={container:s,currentElement:r,referenceElement:t,ignoreAccessibility:i,useActiveModalizer:!0},h={};l=a.focusable[n?"findPrev":"findNext"](d,h),f=!!h.outOfDOMOrder,!l&&this._props.tabbability===us.LimitedTrapFocus&&(l=a.focusable[n?"findLast":"findFirst"]({container:s,ignoreAccessibility:i,useActiveModalizer:!0},h),f=!0),v=h.uncontrolled}return{element:l,uncontrolled:v,outOfDOMOrder:f}}makeTabbable(r){this._shouldTabInside=r||!this._props.tabbability,process.env.NODE_ENV==="development"&&Ps(this._element,!this._shouldTabInside)}isActive(r){var t;const n=this.getElement()||null;let i=!0;for(let s=n==null?void 0:n.parentElement;s;s=s.parentElement){const c=(t=lt(this._tabster,s))===null||t===void 0?void 0:t.groupper;c&&(c._shouldTabInside||(i=!1))}let o=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(o&&r){const s=this._tabster.focusedElement.getFocusedElement();s&&(o=s!==this.getFirst(!0))}return o}getFirst(r){var t;const n=this.getElement();let i;if(n){if(r&&this._tabster.focusable.isFocusable(n))return n;i=(t=this._first)===null||t===void 0?void 0:t.get(),i||(i=this._tabster.focusable.findFirst({container:n,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(r){r?this._first=new ct(this._tabster.getWindow,r):delete this._first}acceptElement(r,t){var n;const i=t.cachedGrouppers,o=(n=this.getElement())===null||n===void 0?void 0:n.parentElement,s=o&&Ie.getTabsterContext(this._tabster,o),c=s==null?void 0:s.groupper,u=s!=null&&s.groupperBeforeMover?c:void 0;let a;const l=d=>{let h=i[d.id],m;return h?m=h.isActive:(m=this.isActive(!0),h=i[d.id]={isActive:m}),m};if(u&&(a=u.getElement(),!l(u)&&a&&t.container!==a&&t.container.contains(a)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const f=l(this),v=this.getElement();if(v&&f!==!0){if(v===r&&c&&(a||(a=c.getElement()),a&&!l(c)&&t.container.contains(a)&&a!==t.container)||v!==r&&v.contains(r))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const d=i[this.id];let h;if("first"in d?h=d.first:h=d.first=this.getFirst(!0),h&&t.acceptCondition(h))return t.rejectElementsFrom=v,t.skippedFocusable=!0,h!==t.from?(t.found=!0,t.foundElement=h,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class pv{constructor(r,t){this._current={},this._grouppers={},this._init=()=>{const n=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus),n.document.addEventListener("mousedown",this._onMouseDown,!0),n.addEventListener("keydown",this._onKeyDown,!0)},this._onGroupperDispose=n=>{delete this._grouppers[n.id]},this._onFocus=n=>{n&&this._updateCurrent(n,!0,!0)},this._onMouseDown=n=>{n.target&&this._updateCurrent(n.target,!0)},this._onKeyDown=n=>{if(n.keyCode!==Pr.Enter&&n.keyCode!==Pr.Esc||n.ctrlKey||n.altKey||n.shiftKey||n.metaKey)return;const i=this._tabster.focusedElement.getFocusedElement();i&&this.handleKeyPress(i,n)},this._tabster=r,this._win=t,r.queueInit(this._init)}dispose(){const r=this._win();this._current={},this._updateTimer&&(r.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),r.document.removeEventListener("mousedown",this._onMouseDown,!0),r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._grouppers).forEach(t=>{this._grouppers[t]&&(this._grouppers[t].dispose(),delete this._grouppers[t])})}createGroupper(r,t,n){process.env.NODE_ENV;const i=new gv(this._tabster,r,this._onGroupperDispose,t,n);this._grouppers[i.id]=i;const o=this._tabster.focusedElement.getFocusedElement();return o&&r.contains(o)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,o===this._tabster.focusedElement.getFocusedElement()&&this._updateCurrent(o,!0,!0)},0)),i}forgetCurrentGrouppers(){this._current={}}_updateCurrent(r,t,n){var i;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const o={};let s=!0;for(let c=r;c;c=c.parentElement){const u=(i=lt(this._tabster,c))===null||i===void 0?void 0:i.groupper;if(u){if(o[u.id]=!0,s&&n&&c!==r&&(s=!1),t||!s){this._current[u.id]=u;const a=u.isActive()||r!==c&&(!u.getProps().delegated||u.getFirst(!1)!==r);u.makeTabbable(a)}s=!1}}for(const c of Object.keys(this._current)){const u=this._current[c];u.id in o||(u.makeTabbable(!1),u.setFirst(void 0),delete this._current[c])}}handleKeyPress(r,t,n){var i;const o=this._tabster,s=Ie.getTabsterContext(o,r),c=s==null?void 0:s.modalizerInGroupper;let u=(s==null?void 0:s.groupper)||c;if(s&&u){if(s.ignoreKeydown(t))return;let a;const l=u.getElement();if(t.keyCode===Pr.Enter)l&&(r===l||u.getProps().delegated&&r===u.getFirst(!1))&&(a=o.focusable.findNext({container:l,currentElement:r,useActiveModalizer:!0}));else if(t.keyCode===Pr.Esc){if(l&&l.contains(r))if(r!==l||n)a=u.getFirst(!0);else{const f=l.parentElement,v=f?Ie.getTabsterContext(o,f):void 0;u=v==null?void 0:v.groupper,a=u==null?void 0:u.getFirst(!0)}u&&(u.makeTabbable(!1),c&&((i=o.modalizer)===null||i===void 0||i.setActive(void 0)))}a&&(t.preventDefault(),t.stopImmediatePropagation(),a.focus())}}}function Ps(e,r){if(process.env.NODE_ENV==="development"){const t=e.get();t&&(r?t.style.removeProperty("--tabster-groupper"):t.style.setProperty("--tabster-groupper","unlimited"))}}/*!
108
119
  * Copyright (c) Microsoft Corporation. All rights reserved.
109
120
  * Licensed under the MIT License.
110
- */class uv extends ws{constructor(r){super(),this._onChange=t=>{this.setVal(t,void 0)},this._keyborg=cn(r()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),un(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(r){var t;(t=this._keyborg)===null||t===void 0||t.setVal(r)}isNavigatingWithKeyboard(){var r;return!!(!((r=this._keyborg)===null||r===void 0)&&r.isNavigatingWithKeyboard())}}/*!
121
+ */class mv extends Ss{constructor(r){super(),this._onChange=t=>{this.setVal(t,void 0)},this._keyborg=un(r()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),fn(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(r){var t;(t=this._keyborg)===null||t===void 0||t.setVal(r)}isNavigatingWithKeyboard(){var r;return!!(!((r=this._keyborg)===null||r===void 0)&&r.isNavigatingWithKeyboard())}}/*!
111
122
  * Copyright (c) Microsoft Corporation. All rights reserved.
112
123
  * Licensed under the MIT License.
113
- */function fv(e,r,t,n){if(typeof MutationObserver>"u")return()=>{};const i=r.getWindow;let o;const s=l=>{var f,v,d,h,m;for(const w of l){const b=w.target,y=w.removedNodes,P=w.addedNodes;if(w.type==="attributes")w.attributeName===st&&t(r,b);else{for(let x=0;x<y.length;x++)c(y[x],!0),(v=(f=r._dummyObserver).domChanged)===null||v===void 0||v.call(f,b);for(let x=0;x<P.length;x++)c(P[x]),(h=(d=r._dummyObserver).domChanged)===null||h===void 0||h.call(d,b)}}(m=r.modalizer)===null||m===void 0||m.hiddenUpdate()};function c(l,f){o||(o=At(i).elementByUId),u(l,f);const v=fs(e,l,d=>u(d,f));if(v)for(;v.nextNode(););}function u(l,f){var v;if(!l.getAttribute)return NodeFilter.FILTER_SKIP;const d=l.__tabsterElementUID;return d&&o&&(f?delete o[d]:(v=o[d])!==null&&v!==void 0||(o[d]=new ct(i,l))),(lt(r,l)||l.hasAttribute(st))&&t(r,l,f),NodeFilter.FILTER_SKIP}const a=new MutationObserver(s);return n&&c(i().document.body),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[st]}),()=>{a.disconnect()}}/*!
124
+ */function bv(e,r,t,n){if(typeof MutationObserver>"u")return()=>{};const i=r.getWindow;let o;const s=l=>{var f,v,d,h,m;for(const w of l){const b=w.target,y=w.removedNodes,S=w.addedNodes;if(w.type==="attributes")w.attributeName===st&&t(r,b);else{for(let x=0;x<y.length;x++)c(y[x],!0),(v=(f=r._dummyObserver).domChanged)===null||v===void 0||v.call(f,b);for(let x=0;x<S.length;x++)c(S[x]),(h=(d=r._dummyObserver).domChanged)===null||h===void 0||h.call(d,b)}}(m=r.modalizer)===null||m===void 0||m.hiddenUpdate()};function c(l,f){o||(o=At(i).elementByUId),u(l,f);const v=ps(e,l,d=>u(d,f));if(v)for(;v.nextNode(););}function u(l,f){var v;if(!l.getAttribute)return NodeFilter.FILTER_SKIP;const d=l.__tabsterElementUID;return d&&o&&(f?delete o[d]:(v=o[d])!==null&&v!==void 0||(o[d]=new ct(i,l))),(lt(r,l)||l.hasAttribute(st))&&t(r,l,f),NodeFilter.FILTER_SKIP}const a=new MutationObserver(s);return n&&c(i().document.body),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[st]}),()=>{a.disconnect()}}/*!
114
125
  * Copyright (c) Microsoft Corporation. All rights reserved.
115
126
  * Licensed under the MIT License.
116
- */class dv{constructor(r){this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,t){var n;const i=(n=this._isUncontrolledCompletely)===null||n===void 0?void 0:n.call(this,r,t);return i===void 0?t:i}}/*!
127
+ */class yv{constructor(r){this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,t){var n;const i=(n=this._isUncontrolledCompletely)===null||n===void 0?void 0:n.call(this,r,t);return i===void 0?t:i}}/*!
117
128
  * Copyright (c) Microsoft Corporation. All rights reserved.
118
129
  * Licensed under the MIT License.
119
- */class hv{constructor(r){this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class vv{constructor(r,t){var n,i;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="5.1.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=$h(r),this._win=r;const o=this.getWindow;this.keyboardNavigation=new uv(o),this.focusedElement=new Be(this,o),this.focusable=new iv(this),this.root=new Ie(this,t==null?void 0:t.autoRoot),this.uncontrolled=new dv((t==null?void 0:t.checkUncontrolledCompletely)||(t==null?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=(n=t==null?void 0:t.controlTab)!==null&&n!==void 0?n:!0,this.rootDummyInputs=!!(t!=null&&t.rootDummyInputs),this._dummyObserver=new Jh(o),this.getParent=(i=t==null?void 0:t.getParent)!==null&&i!==void 0?i:s=>s.parentElement,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:s=>{if(!this._unobserve){const c=o().document;this._unobserve=fv(c,this,ss,s)}}},us(o),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){var t;r&&(this.getParent=(t=r.getParent)!==null&&t!==void 0?t:this.getParent)}createTabster(r,t){const n=new hv(this);return r||this._wrappers.add(n),this._mergeProps(t),n}disposeTabster(r,t){t?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var r,t,n,i,o,s,c,u;this.internal.stopObserver();const a=this._win;a==null||a.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],a&&this._forgetMemorizedTimer&&(a.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(r=this.outline)===null||r===void 0||r.dispose(),(t=this.crossOrigin)===null||t===void 0||t.dispose(),(n=this.deloser)===null||n===void 0||n.dispose(),(i=this.groupper)===null||i===void 0||i.dispose(),(o=this.mover)===null||o===void 0||o.dispose(),(s=this.modalizer)===null||s===void 0||s.dispose(),(c=this.observedElement)===null||c===void 0||c.dispose(),(u=this.restorer)===null||u===void 0||u.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Uh(this.getWindow),hs(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),a&&(Vh(a),delete a.__tabsterInstance,delete this._win)}storageEntry(r,t){const n=this._storage;let i=n.get(r);return i?t===!1&&Object.keys(i).length===0&&n.delete(r):t===!0&&(i={},n.set(r,i)),i}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())hs(this.getWindow,r),Be.forgetMemorized(this.focusedElement,r)},0),cs(this.getWindow,!0)))}queueInit(r){var t;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(t=this._win)===null||t===void 0?void 0:t.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(t=>t())}}function gv(e,r){let t=bv(e);return t?t.createTabster(!1,r):(t=new vv(e,r),e.__tabsterInstance=t,t.createTabster())}function pv(e){const r=e.core;return r.groupper||(r.groupper=new cv(r,r.getWindow)),r.groupper}function mv(e,r){e.core.disposeTabster(e,r)}function bv(e){return e.__tabsterInstance}const mn=()=>{const{targetDocument:e}=mt(),r=(e==null?void 0:e.defaultView)||void 0,t=g.useMemo(()=>r?gv(r,{autoRoot:{},controlTab:!1,getParent:Nd,checkUncontrolledTrappingFocus:n=>{var i;return!!(!((i=n.firstElementChild)===null||i===void 0)&&i.hasAttribute("data-is-focus-trap-zone-bumper"))}}):null,[r]);return Et(()=>()=>{t&&mv(t)},[t]),t},yv=e=>(mn(),ms(e)),wv=e=>{const r=mn();return r&&pv(r),yv({groupper:{tabbability:kv(e==null?void 0:e.tabBehavior)},focusable:{ignoreKeydown:e==null?void 0:e.ignoreDefaultKeydown}})},kv=e=>{switch(e){case"unlimited":return hn.GroupperTabbabilities.Unlimited;case"limited":return hn.GroupperTabbabilities.Limited;case"limited-trap-focus":return hn.GroupperTabbabilities.LimitedTrapFocus;default:return}},xv=()=>{const e=mn(),{targetDocument:r}=mt(),t=g.useCallback((c,u)=>(e==null?void 0:e.focusable.findAll({container:c,acceptCondition:u}))||[],[e]),n=g.useCallback(c=>e==null?void 0:e.focusable.findFirst({container:c}),[e]),i=g.useCallback(c=>e==null?void 0:e.focusable.findLast({container:c}),[e]),o=g.useCallback((c,u={})=>{if(!e||!r)return null;const{container:a=r.body}=u;return e.focusable.findNext({currentElement:c,container:a})},[e,r]),s=g.useCallback((c,u={})=>{if(!e||!r)return null;const{container:a=r.body}=u;return e.focusable.findPrev({currentElement:c,container:a})},[e,r]);return{findAllFocusable:t,findFirstFocusable:n,findLastFocusable:i,findNextFocusable:o,findPrevFocusable:s}},xs="data-fui-focus-visible",Bs="data-fui-focus-within";function Bv(e,r){if(_s(e))return()=>{};const t={current:void 0},n=cn(r);function i(u){n.isNavigatingWithKeyboard()&&Rt(u)&&(t.current=u,u.setAttribute(xs,""))}function o(){t.current&&(t.current.removeAttribute(xs),t.current=void 0)}n.subscribe(u=>{u||o()});const s=u=>{o(),i(u.target)},c=u=>{(!u.relatedTarget||Rt(u.relatedTarget)&&!e.contains(u.relatedTarget))&&o()};return e.addEventListener(at,s),e.addEventListener("focusout",c),e.focusVisible=!0,i(r.document.activeElement),()=>{o(),e.removeEventListener(at,s),e.removeEventListener("focusout",c),delete e.focusVisible,un(n)}}function _s(e){return e?e.focusVisible?!0:_s(e==null?void 0:e.parentElement):!1}function _v(e={}){const r=mt(),t=g.useRef(null);var n;const i=(n=e.targetDocument)!==null&&n!==void 0?n:r.targetDocument;return g.useEffect(()=>{if(i!=null&&i.defaultView&&t.current)return Bv(t.current,i.defaultView)},[t,i]),t}function Pv(e,r){const t=cn(r);t.subscribe(o=>{o||Ps(e)});const n=o=>{t.isNavigatingWithKeyboard()&&Ss(o.target)&&Sv(e)},i=o=>{(!o.relatedTarget||Ss(o.relatedTarget)&&!e.contains(o.relatedTarget))&&Ps(e)};return e.addEventListener(at,n),e.addEventListener("focusout",i),()=>{e.removeEventListener(at,n),e.removeEventListener("focusout",i),un(t)}}function Sv(e){e.setAttribute(Bs,"")}function Ps(e){e.removeAttribute(Bs)}function Ss(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Cv(){const{targetDocument:e}=mt(),r=g.useRef(null);return g.useEffect(()=>{if(e!=null&&e.defaultView&&r.current)return Pv(r.current,e.defaultView)},[r,e]),r}const Cr={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)"};var bn={exports:{}},yn={};/** @license React v0.20.2
130
+ */class wv{constructor(r){this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class kv{constructor(r,t){var n,i;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="5.1.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=Yh(r),this._win=r;const o=this.getWindow;this.keyboardNavigation=new mv(o),this.focusedElement=new Be(this,o),this.focusable=new dv(this),this.root=new Ie(this,t==null?void 0:t.autoRoot),this.uncontrolled=new yv((t==null?void 0:t.checkUncontrolledCompletely)||(t==null?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=(n=t==null?void 0:t.controlTab)!==null&&n!==void 0?n:!0,this.rootDummyInputs=!!(t!=null&&t.rootDummyInputs),this._dummyObserver=new av(o),this.getParent=(i=t==null?void 0:t.getParent)!==null&&i!==void 0?i:s=>s.parentElement,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:s=>{if(!this._unobserve){const c=o().document;this._unobserve=bv(c,this,ds,s)}}},gs(o),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){var t;r&&(this.getParent=(t=r.getParent)!==null&&t!==void 0?t:this.getParent)}createTabster(r,t){const n=new wv(this);return r||this._wrappers.add(n),this._mergeProps(t),n}disposeTabster(r,t){t?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var r,t,n,i,o,s,c,u;this.internal.stopObserver();const a=this._win;a==null||a.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],a&&this._forgetMemorizedTimer&&(a.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(r=this.outline)===null||r===void 0||r.dispose(),(t=this.crossOrigin)===null||t===void 0||t.dispose(),(n=this.deloser)===null||n===void 0||n.dispose(),(i=this.groupper)===null||i===void 0||i.dispose(),(o=this.mover)===null||o===void 0||o.dispose(),(s=this.modalizer)===null||s===void 0||s.dispose(),(c=this.observedElement)===null||c===void 0||c.dispose(),(u=this.restorer)===null||u===void 0||u.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Jh(this.getWindow),bs(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),a&&(Zh(a),delete a.__tabsterInstance,delete this._win)}storageEntry(r,t){const n=this._storage;let i=n.get(r);return i?t===!1&&Object.keys(i).length===0&&n.delete(r):t===!0&&(i={},n.set(r,i)),i}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())bs(this.getWindow,r),Be.forgetMemorized(this.focusedElement,r)},0),vs(this.getWindow,!0)))}queueInit(r){var t;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(t=this._win)===null||t===void 0?void 0:t.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(t=>t())}}function xv(e,r){let t=Sv(e);return t?t.createTabster(!1,r):(t=new kv(e,r),e.__tabsterInstance=t,t.createTabster())}function Bv(e){const r=e.core;return r.groupper||(r.groupper=new pv(r,r.getWindow)),r.groupper}function _v(e,r){e.core.disposeTabster(e,r)}function Sv(e){return e.__tabsterInstance}const bn=()=>{const{targetDocument:e}=mt(),r=(e==null?void 0:e.defaultView)||void 0,t=g.useMemo(()=>r?xv(r,{autoRoot:{},controlTab:!1,getParent:Od,checkUncontrolledTrappingFocus:n=>{var i;return!!(!((i=n.firstElementChild)===null||i===void 0)&&i.hasAttribute("data-is-focus-trap-zone-bumper"))}}):null,[r]);return Et(()=>()=>{t&&_v(t)},[t]),t},Pv=e=>(bn(),xs(e)),Cv=e=>{const r=bn();return r&&Bv(r),Pv({groupper:{tabbability:zv(e==null?void 0:e.tabBehavior)},focusable:{ignoreKeydown:e==null?void 0:e.ignoreDefaultKeydown}})},zv=e=>{switch(e){case"unlimited":return vn.GroupperTabbabilities.Unlimited;case"limited":return vn.GroupperTabbabilities.Limited;case"limited-trap-focus":return vn.GroupperTabbabilities.LimitedTrapFocus;default:return}},Tv=()=>{const e=bn(),{targetDocument:r}=mt(),t=g.useCallback((c,u)=>(e==null?void 0:e.focusable.findAll({container:c,acceptCondition:u}))||[],[e]),n=g.useCallback(c=>e==null?void 0:e.focusable.findFirst({container:c}),[e]),i=g.useCallback(c=>e==null?void 0:e.focusable.findLast({container:c}),[e]),o=g.useCallback((c,u={})=>{if(!e||!r)return null;const{container:a=r.body}=u;return e.focusable.findNext({currentElement:c,container:a})},[e,r]),s=g.useCallback((c,u={})=>{if(!e||!r)return null;const{container:a=r.body}=u;return e.focusable.findPrev({currentElement:c,container:a})},[e,r]);return{findAllFocusable:t,findFirstFocusable:n,findLastFocusable:i,findNextFocusable:o,findPrevFocusable:s}},Cs="data-fui-focus-visible",zs="data-fui-focus-within";function Nv(e,r){if(Ts(e))return()=>{};const t={current:void 0},n=un(r);function i(u){n.isNavigatingWithKeyboard()&&Rt(u)&&(t.current=u,u.setAttribute(Cs,""))}function o(){t.current&&(t.current.removeAttribute(Cs),t.current=void 0)}n.subscribe(u=>{u||o()});const s=u=>{o(),i(u.target)},c=u=>{(!u.relatedTarget||Rt(u.relatedTarget)&&!e.contains(u.relatedTarget))&&o()};return e.addEventListener(at,s),e.addEventListener("focusout",c),e.focusVisible=!0,i(r.document.activeElement),()=>{o(),e.removeEventListener(at,s),e.removeEventListener("focusout",c),delete e.focusVisible,fn(n)}}function Ts(e){return e?e.focusVisible?!0:Ts(e==null?void 0:e.parentElement):!1}function Ev(e={}){const r=mt(),t=g.useRef(null);var n;const i=(n=e.targetDocument)!==null&&n!==void 0?n:r.targetDocument;return g.useEffect(()=>{if(i!=null&&i.defaultView&&t.current)return Nv(t.current,i.defaultView)},[t,i]),t}function jv(e,r){const t=un(r);t.subscribe(o=>{o||Ns(e)});const n=o=>{t.isNavigatingWithKeyboard()&&Es(o.target)&&Rv(e)},i=o=>{(!o.relatedTarget||Es(o.relatedTarget)&&!e.contains(o.relatedTarget))&&Ns(e)};return e.addEventListener(at,n),e.addEventListener("focusout",i),()=>{e.removeEventListener(at,n),e.removeEventListener("focusout",i),fn(t)}}function Rv(e){e.setAttribute(zs,"")}function Ns(e){e.removeAttribute(zs)}function Es(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Fv(){const{targetDocument:e}=mt(),r=g.useRef(null);return g.useEffect(()=>{if(e!=null&&e.defaultView&&r.current)return jv(r.current,e.defaultView)},[r,e]),r}const Cr={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)"};var yn={exports:{}},wn={};/** @license React v0.20.2
120
131
  * scheduler.development.js
121
132
  *
122
133
  * Copyright (c) Facebook, Inc. and its affiliates.
123
134
  *
124
135
  * This source code is licensed under the MIT license found in the
125
136
  * LICENSE file in the root directory of this source tree.
126
- */var Cs;function zv(){return Cs||(Cs=1,function(e){process.env.NODE_ENV!=="production"&&function(){var r=!1,t=!1,n,i,o,s,c=typeof performance=="object"&&typeof performance.now=="function";if(c){var u=performance;e.unstable_now=function(){return u.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if(typeof window>"u"||typeof MessageChannel!="function"){var f=null,v=null,d=function(){if(f!==null)try{var j=e.unstable_now(),O=!0;f(O,j),f=null}catch(K){throw setTimeout(d,0),K}};n=function(j){f!==null?setTimeout(n,0,j):(f=j,setTimeout(d,0))},i=function(j,O){v=setTimeout(j,O)},o=function(){clearTimeout(v)},e.unstable_shouldYield=function(){return!1},s=e.unstable_forceFrameRate=function(){}}else{var h=window.setTimeout,m=window.clearTimeout;if(typeof console<"u"){var w=window.requestAnimationFrame,b=window.cancelAnimationFrame;typeof w!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof b!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,P=null,x=-1,S=5,k=0;e.unstable_shouldYield=function(){return e.unstable_now()>=k},s=function(){},e.unstable_forceFrameRate=function(j){if(j<0||j>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}j>0?S=Math.floor(1e3/j):S=5};var _=function(){if(P!==null){var j=e.unstable_now();k=j+S;var O=!0;try{var K=P(O,j);K?F.postMessage(null):(y=!1,P=null)}catch(fe){throw F.postMessage(null),fe}}else y=!1},q=new MessageChannel,F=q.port2;q.port1.onmessage=_,n=function(j){P=j,y||(y=!0,F.postMessage(null))},i=function(j,O){x=h(function(){j(e.unstable_now())},O)},o=function(){m(x),x=-1}}function V(j,O){var K=j.length;j.push(O),B(j,O,K)}function X(j){var O=j[0];return O===void 0?null:O}function I(j){var O=j[0];if(O!==void 0){var K=j.pop();return K!==O&&(j[0]=K,H(j,K,0)),O}else return null}function B(j,O,K){for(var fe=K;;){var Pe=fe-1>>>1,ze=j[Pe];if(ze!==void 0&&Y(ze,O)>0)j[Pe]=O,j[fe]=ze,fe=Pe;else return}}function H(j,O,K){for(var fe=K,Pe=j.length;fe<Pe;){var ze=(fe+1)*2-1,Ee=j[ze],it=ze+1,Te=j[it];if(Ee!==void 0&&Y(Ee,O)<0)Te!==void 0&&Y(Te,Ee)<0?(j[fe]=Te,j[it]=O,fe=it):(j[fe]=Ee,j[ze]=O,fe=ze);else if(Te!==void 0&&Y(Te,O)<0)j[fe]=Te,j[it]=O,fe=it;else return}}function Y(j,O){var K=j.sortIndex-O.sortIndex;return K!==0?K:j.id-O.id}var te=1,ne=2,ae=3,de=4,Le=5;function N(j,O){}var M=1073741823,A=-1,re=250,he=5e3,Se=1e4,Ce=M,ve=[],ge=[],Q=1,T=null,ie=ae,_e=!1,Ne=!1,He=!1;function Xe(j){for(var O=X(ge);O!==null;){if(O.callback===null)I(ge);else if(O.startTime<=j)I(ge),O.sortIndex=O.expirationTime,V(ve,O);else return;O=X(ge)}}function Bt(j){if(He=!1,Xe(j),!Ne)if(X(ve)!==null)Ne=!0,n(ar);else{var O=X(ge);O!==null&&i(Bt,O.startTime-j)}}function ar(j,O){Ne=!1,He&&(He=!1,o()),_e=!0;var K=ie;try{var fe;if(!t)return sr(j,O)}finally{T=null,ie=K,_e=!1}}function sr(j,O){var K=O;for(Xe(K),T=X(ve);T!==null&&!r&&!(T.expirationTime>K&&(!j||e.unstable_shouldYield()));){var fe=T.callback;if(typeof fe=="function"){T.callback=null,ie=T.priorityLevel;var Pe=T.expirationTime<=K,ze=fe(Pe);K=e.unstable_now(),typeof ze=="function"?T.callback=ze:T===X(ve)&&I(ve),Xe(K)}else I(ve);T=X(ve)}if(T!==null)return!0;var Ee=X(ge);return Ee!==null&&i(Bt,Ee.startTime-K),!1}function Kn(j,O){switch(j){case te:case ne:case ae:case de:case Le:break;default:j=ae}var K=ie;ie=j;try{return O()}finally{ie=K}}function Zn(j){var O;switch(ie){case te:case ne:case ae:O=ae;break;default:O=ie;break}var K=ie;ie=O;try{return j()}finally{ie=K}}function Ar(j){var O=ie;return function(){var K=ie;ie=O;try{return j.apply(this,arguments)}finally{ie=K}}}function Yn(j,O,K){var fe=e.unstable_now(),Pe;if(typeof K=="object"&&K!==null){var ze=K.delay;typeof ze=="number"&&ze>0?Pe=fe+ze:Pe=fe}else Pe=fe;var Ee;switch(j){case te:Ee=A;break;case ne:Ee=re;break;case Le:Ee=Ce;break;case de:Ee=Se;break;case ae:default:Ee=he;break}var it=Pe+Ee,Te={id:Q++,callback:O,priorityLevel:j,startTime:Pe,expirationTime:it,sortIndex:-1};return Pe>fe?(Te.sortIndex=Pe,V(ge,Te),X(ve)===null&&Te===X(ge)&&(He?o():He=!0,i(Bt,Pe-fe))):(Te.sortIndex=it,V(ve,Te),!Ne&&!_e&&(Ne=!0,n(ar))),Te}function Qn(){}function ko(){!Ne&&!_e&&(Ne=!0,n(ar))}function xo(){return X(ve)}function Mt(j){j.callback=null}function Jn(){return ie}var Bo=s,_o=null;e.unstable_IdlePriority=Le,e.unstable_ImmediatePriority=te,e.unstable_LowPriority=de,e.unstable_NormalPriority=ae,e.unstable_Profiling=_o,e.unstable_UserBlockingPriority=ne,e.unstable_cancelCallback=Mt,e.unstable_continueExecution=ko,e.unstable_getCurrentPriorityLevel=Jn,e.unstable_getFirstCallbackNode=xo,e.unstable_next=Zn,e.unstable_pauseExecution=Qn,e.unstable_requestPaint=Bo,e.unstable_runWithPriority=Kn,e.unstable_scheduleCallback=Yn,e.unstable_wrapCallback=Ar}()}(yn)),yn}var wn={};/** @license React v0.20.2
137
+ */var js;function qv(){return js||(js=1,function(e){process.env.NODE_ENV!=="production"&&function(){var r=!1,t=!1,n,i,o,s,c=typeof performance=="object"&&typeof performance.now=="function";if(c){var u=performance;e.unstable_now=function(){return u.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if(typeof window>"u"||typeof MessageChannel!="function"){var f=null,v=null,d=function(){if(f!==null)try{var j=e.unstable_now(),D=!0;f(D,j),f=null}catch(K){throw setTimeout(d,0),K}};n=function(j){f!==null?setTimeout(n,0,j):(f=j,setTimeout(d,0))},i=function(j,D){v=setTimeout(j,D)},o=function(){clearTimeout(v)},e.unstable_shouldYield=function(){return!1},s=e.unstable_forceFrameRate=function(){}}else{var h=window.setTimeout,m=window.clearTimeout;if(typeof console<"u"){var w=window.requestAnimationFrame,b=window.cancelAnimationFrame;typeof w!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof b!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,S=null,x=-1,P=5,k=0;e.unstable_shouldYield=function(){return e.unstable_now()>=k},s=function(){},e.unstable_forceFrameRate=function(j){if(j<0||j>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}j>0?P=Math.floor(1e3/j):P=5};var _=function(){if(S!==null){var j=e.unstable_now();k=j+P;var D=!0;try{var K=S(D,j);K?F.postMessage(null):(y=!1,S=null)}catch(fe){throw F.postMessage(null),fe}}else y=!1},q=new MessageChannel,F=q.port2;q.port1.onmessage=_,n=function(j){S=j,y||(y=!0,F.postMessage(null))},i=function(j,D){x=h(function(){j(e.unstable_now())},D)},o=function(){m(x),x=-1}}function V(j,D){var K=j.length;j.push(D),B(j,D,K)}function X(j){var D=j[0];return D===void 0?null:D}function I(j){var D=j[0];if(D!==void 0){var K=j.pop();return K!==D&&(j[0]=K,H(j,K,0)),D}else return null}function B(j,D,K){for(var fe=K;;){var Se=fe-1>>>1,ze=j[Se];if(ze!==void 0&&Y(ze,D)>0)j[Se]=D,j[fe]=ze,fe=Se;else return}}function H(j,D,K){for(var fe=K,Se=j.length;fe<Se;){var ze=(fe+1)*2-1,Ee=j[ze],it=ze+1,Te=j[it];if(Ee!==void 0&&Y(Ee,D)<0)Te!==void 0&&Y(Te,Ee)<0?(j[fe]=Te,j[it]=D,fe=it):(j[fe]=Ee,j[ze]=D,fe=ze);else if(Te!==void 0&&Y(Te,D)<0)j[fe]=Te,j[it]=D,fe=it;else return}}function Y(j,D){var K=j.sortIndex-D.sortIndex;return K!==0?K:j.id-D.id}var te=1,ne=2,ae=3,de=4,Le=5;function N(j,D){}var M=1073741823,A=-1,re=250,he=5e3,Pe=1e4,Ce=M,ve=[],ge=[],Q=1,T=null,ie=ae,_e=!1,Ne=!1,He=!1;function Xe(j){for(var D=X(ge);D!==null;){if(D.callback===null)I(ge);else if(D.startTime<=j)I(ge),D.sortIndex=D.expirationTime,V(ve,D);else return;D=X(ge)}}function Bt(j){if(He=!1,Xe(j),!Ne)if(X(ve)!==null)Ne=!0,n(ar);else{var D=X(ge);D!==null&&i(Bt,D.startTime-j)}}function ar(j,D){Ne=!1,He&&(He=!1,o()),_e=!0;var K=ie;try{var fe;if(!t)return sr(j,D)}finally{T=null,ie=K,_e=!1}}function sr(j,D){var K=D;for(Xe(K),T=X(ve);T!==null&&!r&&!(T.expirationTime>K&&(!j||e.unstable_shouldYield()));){var fe=T.callback;if(typeof fe=="function"){T.callback=null,ie=T.priorityLevel;var Se=T.expirationTime<=K,ze=fe(Se);K=e.unstable_now(),typeof ze=="function"?T.callback=ze:T===X(ve)&&I(ve),Xe(K)}else I(ve);T=X(ve)}if(T!==null)return!0;var Ee=X(ge);return Ee!==null&&i(Bt,Ee.startTime-K),!1}function Zn(j,D){switch(j){case te:case ne:case ae:case de:case Le:break;default:j=ae}var K=ie;ie=j;try{return D()}finally{ie=K}}function Yn(j){var D;switch(ie){case te:case ne:case ae:D=ae;break;default:D=ie;break}var K=ie;ie=D;try{return j()}finally{ie=K}}function Ar(j){var D=ie;return function(){var K=ie;ie=D;try{return j.apply(this,arguments)}finally{ie=K}}}function Qn(j,D,K){var fe=e.unstable_now(),Se;if(typeof K=="object"&&K!==null){var ze=K.delay;typeof ze=="number"&&ze>0?Se=fe+ze:Se=fe}else Se=fe;var Ee;switch(j){case te:Ee=A;break;case ne:Ee=re;break;case Le:Ee=Ce;break;case de:Ee=Pe;break;case ae:default:Ee=he;break}var it=Se+Ee,Te={id:Q++,callback:D,priorityLevel:j,startTime:Se,expirationTime:it,sortIndex:-1};return Se>fe?(Te.sortIndex=Se,V(ge,Te),X(ve)===null&&Te===X(ge)&&(He?o():He=!0,i(Bt,Se-fe))):(Te.sortIndex=it,V(ve,Te),!Ne&&!_e&&(Ne=!0,n(ar))),Te}function Jn(){}function xo(){!Ne&&!_e&&(Ne=!0,n(ar))}function Bo(){return X(ve)}function Mt(j){j.callback=null}function ei(){return ie}var _o=s,So=null;e.unstable_IdlePriority=Le,e.unstable_ImmediatePriority=te,e.unstable_LowPriority=de,e.unstable_NormalPriority=ae,e.unstable_Profiling=So,e.unstable_UserBlockingPriority=ne,e.unstable_cancelCallback=Mt,e.unstable_continueExecution=xo,e.unstable_getCurrentPriorityLevel=ei,e.unstable_getFirstCallbackNode=Bo,e.unstable_next=Yn,e.unstable_pauseExecution=Jn,e.unstable_requestPaint=_o,e.unstable_runWithPriority=Zn,e.unstable_scheduleCallback=Qn,e.unstable_wrapCallback=Ar}()}(wn)),wn}var kn={};/** @license React v0.20.2
127
138
  * scheduler.production.min.js
128
139
  *
129
140
  * Copyright (c) Facebook, Inc. and its affiliates.
130
141
  *
131
142
  * This source code is licensed under the MIT license found in the
132
143
  * LICENSE file in the root directory of this source tree.
133
- */var zs;function Tv(){return zs||(zs=1,function(e){var r,t,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,c=s.now();e.unstable_now=function(){return s.now()-c}}if(typeof window>"u"||typeof MessageChannel!="function"){var u=null,a=null,l=function(){if(u!==null)try{var N=e.unstable_now();u(!0,N),u=null}catch(M){throw setTimeout(l,0),M}};r=function(N){u!==null?setTimeout(r,0,N):(u=N,setTimeout(l,0))},t=function(N,M){a=setTimeout(N,M)},n=function(){clearTimeout(a)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,v=window.clearTimeout;if(typeof console<"u"){var d=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof d!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,m=null,w=-1,b=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},i=function(){},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<N?Math.floor(1e3/N):5};var P=new MessageChannel,x=P.port2;P.port1.onmessage=function(){if(m!==null){var N=e.unstable_now();y=N+b;try{m(!0,N)?x.postMessage(null):(h=!1,m=null)}catch(M){throw x.postMessage(null),M}}else h=!1},r=function(N){m=N,h||(h=!0,x.postMessage(null))},t=function(N,M){w=f(function(){N(e.unstable_now())},M)},n=function(){v(w),w=-1}}function S(N,M){var A=N.length;N.push(M);e:for(;;){var re=A-1>>>1,he=N[re];if(he!==void 0&&0<q(he,M))N[re]=M,N[A]=he,A=re;else break e}}function k(N){return N=N[0],N===void 0?null:N}function _(N){var M=N[0];if(M!==void 0){var A=N.pop();if(A!==M){N[0]=A;e:for(var re=0,he=N.length;re<he;){var Se=2*(re+1)-1,Ce=N[Se],ve=Se+1,ge=N[ve];if(Ce!==void 0&&0>q(Ce,A))ge!==void 0&&0>q(ge,Ce)?(N[re]=ge,N[ve]=A,re=ve):(N[re]=Ce,N[Se]=A,re=Se);else if(ge!==void 0&&0>q(ge,A))N[re]=ge,N[ve]=A,re=ve;else break e}}return M}return null}function q(N,M){var A=N.sortIndex-M.sortIndex;return A!==0?A:N.id-M.id}var F=[],V=[],X=1,I=null,B=3,H=!1,Y=!1,te=!1;function ne(N){for(var M=k(V);M!==null;){if(M.callback===null)_(V);else if(M.startTime<=N)_(V),M.sortIndex=M.expirationTime,S(F,M);else break;M=k(V)}}function ae(N){if(te=!1,ne(N),!Y)if(k(F)!==null)Y=!0,r(de);else{var M=k(V);M!==null&&t(ae,M.startTime-N)}}function de(N,M){Y=!1,te&&(te=!1,n()),H=!0;var A=B;try{for(ne(M),I=k(F);I!==null&&(!(I.expirationTime>M)||N&&!e.unstable_shouldYield());){var re=I.callback;if(typeof re=="function"){I.callback=null,B=I.priorityLevel;var he=re(I.expirationTime<=M);M=e.unstable_now(),typeof he=="function"?I.callback=he:I===k(F)&&_(F),ne(M)}else _(F);I=k(F)}if(I!==null)var Se=!0;else{var Ce=k(V);Ce!==null&&t(ae,Ce.startTime-M),Se=!1}return Se}finally{I=null,B=A,H=!1}}var Le=i;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(N){N.callback=null},e.unstable_continueExecution=function(){Y||H||(Y=!0,r(de))},e.unstable_getCurrentPriorityLevel=function(){return B},e.unstable_getFirstCallbackNode=function(){return k(F)},e.unstable_next=function(N){switch(B){case 1:case 2:case 3:var M=3;break;default:M=B}var A=B;B=M;try{return N()}finally{B=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=Le,e.unstable_runWithPriority=function(N,M){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var A=B;B=N;try{return M()}finally{B=A}},e.unstable_scheduleCallback=function(N,M,A){var re=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?re+A:re):A=re,N){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=A+he,N={id:X++,callback:M,priorityLevel:N,startTime:A,expirationTime:he,sortIndex:-1},A>re?(N.sortIndex=A,S(V,N),k(F)===null&&N===k(V)&&(te?n():te=!0,t(ae,A-re))):(N.sortIndex=he,S(F,N),Y||H||(Y=!0,r(de))),N},e.unstable_wrapCallback=function(N){var M=B;return function(){var A=B;B=M;try{return N.apply(this,arguments)}finally{B=A}}}}(wn)),wn}process.env.NODE_ENV==="production"?bn.exports=Tv():bn.exports=zv();var Ts=bn.exports;const Nv=e=>{const r=t=>{const n=g.useRef(t.value),i=g.useRef(0),o=g.useRef();return o.current||(o.current={value:n,version:i,listeners:[]}),Et(()=>{n.current=t.value,i.current+=1,Ts.unstable_runWithPriority(Ts.unstable_NormalPriority,()=>{o.current.listeners.forEach(s=>{s([i.current,t.value])})})},[t.value]),g.createElement(e,{value:o.current},t.children)};return process.env.NODE_ENV!=="production"&&(r.displayName="ContextSelector.Provider"),r},Ns=e=>{const r=g.createContext({value:{current:e},version:{current:-1},listeners:[]});return r.Provider=Nv(r.Provider),delete r.Consumer,r},Me=(e,r)=>{const t=g.useContext(e),{value:{current:n},version:{current:i},listeners:o}=t,s=r(n),[c,u]=g.useReducer((a,l)=>{if(!l)return[n,s];if(l[0]<=i)return ao(a[1],s)?a:[n,s];try{if(ao(a[0],l[1]))return a;const f=r(l[1]);return ao(a[1],f)?a:[l[1],f]}catch{}return[a[0],a[1]]},[n,s]);return ao(c[1],s)||u(void 0),Et(()=>(o.push(u),()=>{const a=o.indexOf(u);o.splice(a,1)}),[o]),c[1]};function Ev(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}const ao=typeof Object.is=="function"?Object.is:Ev;function Es(e){const r=g.useContext(e);return r.version?r.version.current!==-1:!1}const Qt="Enter",yt=" ",jv="Tab",js="ArrowDown",Rv="ArrowLeft",Fv="ArrowRight",kn="ArrowUp",qv="End",Av="Home",Dv="PageDown",Ov="PageUp",Iv="Escape";function Mv(e,r){const{disabled:t,disabledFocusable:n=!1,["aria-disabled"]:i,onClick:o,onKeyDown:s,onKeyUp:c,...u}=r??{},a=typeof i=="string"?i==="true":i,l=t||n||a,f=qe(h=>{l?(h.preventDefault(),h.stopPropagation()):o==null||o(h)}),v=qe(h=>{if(s==null||s(h),h.isDefaultPrevented())return;const m=h.key;if(l&&(m===Qt||m===yt)){h.preventDefault(),h.stopPropagation();return}if(m===yt){h.preventDefault();return}else m===Qt&&(h.preventDefault(),h.currentTarget.click())}),d=qe(h=>{if(c==null||c(h),h.isDefaultPrevented())return;const m=h.key;if(l&&(m===Qt||m===yt)){h.preventDefault(),h.stopPropagation();return}m===yt&&(h.preventDefault(),h.currentTarget.click())});if(e==="button"||e===void 0)return{...u,disabled:t&&!n,"aria-disabled":n?!0:a,onClick:n?void 0:f,onKeyUp:n?void 0:c,onKeyDown:n?void 0:s};{const h={role:"button",tabIndex:t&&!n?void 0:0,...u,onClick:f,onKeyUp:d,onKeyDown:v,"aria-disabled":t||n||a};return e==="a"&&l&&(h.href=void 0),h}}const Lv=(e,r)=>{const t=Wf(e,r);var n;const i=Mv((n=t==null?void 0:t.as)!==null&&n!==void 0?n:"button",t);return t&&i},Hv=e=>(ke(e),Ae(e.root,{children:[e.initials&&$(e.initials,{}),e.icon&&$(e.icon,{}),e.image&&$(e.image,{}),e.badge&&$(e.badge,{}),e.activeAriaLabelElement]})),Vv=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,$v=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Wv=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Uv=/\s+/g,Gv=/[\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 Xv(e,r,t){let n="";const i=e.split(" ");return i.length!==0&&(n+=i[0].charAt(0).toUpperCase()),t||(i.length===2?n+=i[1].charAt(0).toUpperCase():i.length===3&&(n+=i[2].charAt(0).toUpperCase())),r&&n.length>1?n.charAt(1)+n.charAt(0):n}function Kv(e){return e=e.replace(Vv,""),e=e.replace($v,""),e=e.replace(Uv," "),e=e.trim(),e}function Zv(e,r,t){return!e||(e=Kv(e),Gv.test(e)||!(t!=null&&t.allowPhoneInitials)&&Wv.test(e))?"":Xv(e,r,t==null?void 0:t.firstInitialOnly)}const Yv=(e,r)=>{const{shape:t="circular",size:n="medium",iconPosition:i="before",appearance:o="filled",color:s="brand"}=e;return{shape:t,size:n,iconPosition:i,appearance:o,color:s,components:{root:"div",icon:"span"},root:me(Fe("div",{ref:r,...e}),{elementType:"div"}),icon:J(e.icon,{elementType:"span"})}},Qv=e=>(ke(e),Ae(e.root,{children:[e.iconPosition==="before"&&e.icon&&$(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&$(e.icon,{})]})),Jv={tiny:Oa,"extra-small":Oa,small:ih,medium:ah,large:Ia,"extra-large":Ia},eg={tiny:qa,"extra-small":qa,small:rh,medium:nh,large:Da,"extra-large":Da},tg={tiny:Fa,"extra-small":Fa,small:th,medium:oh,large:Aa,"extra-large":Aa},rg={tiny:Ma,"extra-small":Ma,small:sh,medium:lh,large:La,"extra-large":La},og={tiny:Ha,"extra-small":Ha,small:ch,medium:uh,large:Va,"extra-large":Va},ng={tiny:$a,"extra-small":$a,small:fh,medium:hh,large:Ua,"extra-large":Ua},ig={tiny:Wa,"extra-small":Wa,small:dh,medium:vh,large:Ga,"extra-large":Ga},xn={tiny:Za,"extra-small":Za,small:mh,medium:bh,large:Ya,"extra-large":Ya},ag={tiny:Xa,"extra-small":Xa,small:gh,medium:ph,large:Ka,"extra-large":Ka},Rs={tiny:Qa,"extra-small":Qa,small:yh,medium:wh,large:Ja,"extra-large":Ja},sg=(e,r,t)=>{switch(e){case"available":return r?eg[t]:tg[t];case"away":return r?xn[t]:Jv[t];case"blocked":return rg[t];case"busy":return r?Rs[t]:og[t];case"do-not-disturb":return r?ig[t]:ng[t];case"offline":return r?xn[t]:ag[t];case"out-of-office":return xn[t];case"unknown":return Rs[t]}},Fs={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},lg=(e,r)=>{const{size:t="medium",status:n="available",outOfOffice:i=!1}=e,o=Fs[n],s=e.outOfOffice&&e.status!=="out-of-office"?` ${Fs["out-of-office"]}`:"",c=sg(n,i,t);return{...Yv({"aria-label":o+s,role:"img",...e,size:t,icon:J(e.icon,{defaultProps:{children:c?g.createElement(c,null):null},renderByDefault:!0,elementType:"span"})},r),status:n,outOfOffice:i}},qs={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},cg=e=>e==="busy"||e==="do-not-disturb"||e==="blocked",ug=Re("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;}"]),fg=Re("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),dg=U({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;}"]}),hg=e=>{const r=ug(),t=fg(),n=dg(),i=cg(e.status);return e.root.className=D(qs.root,r,i&&n.statusBusy,e.status==="away"&&n.statusAway,e.status==="available"&&n.statusAvailable,e.status==="offline"&&n.statusOffline,e.status==="out-of-office"&&n.statusOutOfOffice,e.status==="unknown"&&n.statusUnknown,e.outOfOffice&&n.outOfOffice,e.outOfOffice&&e.status==="available"&&n.outOfOfficeAvailable,e.outOfOffice&&i&&n.outOfOfficeBusy,e.outOfOffice&&(e.status==="out-of-office"||e.status==="away"||e.status==="offline")&&n.statusOutOfOffice,e.outOfOffice&&e.status==="unknown"&&n.outOfOfficeUnknown,e.size==="tiny"&&n.tiny,e.size==="large"&&n.large,e.size==="extra-large"&&n.extraLarge,e.root.className),e.icon&&(e.icon.className=D(qs.icon,t,e.icon.className)),e},zr=g.forwardRef((e,r)=>{const t=lg(e,r);return hg(t),Qe("usePresenceBadgeStyles_unstable")(t),Qv(t)});zr.displayName="PresenceBadge";const As=g.createContext(void 0),vg={};As.Provider;const gg=()=>{var e;return(e=g.useContext(As))!==null&&e!==void 0?e:vg},pg={active:"active",inactive:"inactive"},mg=(e,r)=>{const{dir:t}=mt(),{shape:n,size:i}=gg(),{name:o,size:s=i??32,shape:c=n??"circular",active:u="unset",activeAppearance:a="ring",idForColor:l}=e;let{color:f="neutral"}=e;if(f==="colorful"){var v;f=Ds[yg((v=l??o)!==null&&v!==void 0?v:"")%Ds.length]}const d=jt("avatar-"),h=me(Fe("span",{role:"img",id:d,...e,ref:r},["name"]),{elementType:"span"}),[m,w]=g.useState(void 0);let b=J(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:m},elementType:"img"});b!=null&&b.src||(b=void 0),b&&(b.onError=xe(b.onError,()=>w(!0)),b.onLoad=xe(b.onLoad,()=>w(void 0)));let y=J(e.initials,{renderByDefault:!0,defaultProps:{children:Zv(o,t==="rtl",{firstInitialOnly:s<=16}),id:d+"__initials"},elementType:"span"});y!=null&&y.children||(y=void 0);let P;!y&&(!b||m)&&(P=J(e.icon,{renderByDefault:!0,defaultProps:{children:g.createElement(Zd,null),"aria-hidden":!0},elementType:"span"}));const x=J(e.badge,{defaultProps:{size:bg(s),id:d+"__badge"},elementType:zr});let S;if(!h["aria-label"]&&!h["aria-labelledby"]&&(o?(h["aria-label"]=o,x&&(h["aria-labelledby"]=h.id+" "+x.id)):y&&(h["aria-labelledby"]=y.id+(x?" "+x.id:"")),u==="active"||u==="inactive")){const k=pg[u];if(h["aria-labelledby"]){const _=d+"__active";h["aria-labelledby"]+=" "+_,S=g.createElement("span",{hidden:!0,id:_},k)}else h["aria-label"]&&(h["aria-label"]+=" "+k)}return{size:s,shape:c,active:u,activeAppearance:a,activeAriaLabelElement:S,color:f,components:{root:"span",initials:"span",icon:"span",image:"img",badge:zr},root:h,initials:y,icon:P,image:b,badge:x}},bg=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",Ds=["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"],yg=e=>{let r=0;for(let t=e.length-1;t>=0;t--){const n=e.charCodeAt(t),i=t%8;r^=(n<<i)+(n>>8-i)}return r},Tr={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},wg=Re("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;}}"]}),kg=Re("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;}"]),xg=Re("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;-ms-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;-ms-user-select:none;user-select:none;border-radius:inherit;}"]),Bg=U({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Bbmb7ep:["f1g3puop","fi2rrw2"],Beyfa6y:["fi2rrw2","f1g3puop"],B7oj6ja:["f1rstyi9","f1s4nn1u"],Btl43ni:["f1s4nn1u","f1rstyi9"]},squareMedium:{Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"]},squareLarge:{Bbmb7ep:["f1ldthgs","frrelxk"],Beyfa6y:["frrelxk","f1ldthgs"],B7oj6ja:["fobrfso","ffisxpw"],Btl43ni:["ffisxpw","fobrfso"]},squareXLarge:{Bbmb7ep:["fnivh3a","fc7yr5o"],Beyfa6y:["fc7yr5o","fnivh3a"],B7oj6ja:["f1el4m67","f8yange"],Btl43ni:["f8yange","f1el4m67"]},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Hwfdqs:"f1onx1g3"},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",Bucmhp4:"f1f5ar78",b2tv09:["fqxtap0","fhjukvy"],Bfgortx:"f1qj1nzo",Bnvr3x9:["fhjukvy","fqxtap0"],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);}",".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}",".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}",".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}",".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f1ldthgs{border-bottom-right-radius:var(--borderRadiusLarge);}",".frrelxk{border-bottom-left-radius:var(--borderRadiusLarge);}",".fobrfso{border-top-right-radius:var(--borderRadiusLarge);}",".ffisxpw{border-top-left-radius:var(--borderRadiusLarge);}",".fnivh3a{border-bottom-right-radius:var(--borderRadiusXLarge);}",".fc7yr5o{border-bottom-left-radius:var(--borderRadiusXLarge);}",".f1el4m67{border-top-right-radius:var(--borderRadiusXLarge);}",".f8yange{border-top-left-radius:var(--borderRadiusXLarge);}",".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);}",".f1f5ar78::before,.f1f5ar78::after{margin-top:0;}",".fqxtap0::before,.fqxtap0::after{margin-right:0;}",".fhjukvy::before,.fhjukvy::after{margin-left:0;}",".f1qj1nzo::before,.f1qj1nzo::after{margin-bottom:0;}",".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){.f1onx1g3{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),_g=U({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;}"]}),Pg=U({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);}"]}),Sg=U({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);}"]}),Cg=e=>{const{size:r,shape:t,active:n,activeAppearance:i,color:o}=e,s=wg(),c=kg(),u=xg(),a=Bg(),l=_g(),f=Pg(),v=Sg(),d=[s,r!==32&&l[r]];if(e.badge&&d.push(a.badgeAlign,a[e.badge.size||"medium"]),r<=24?d.push(a.textCaption2Strong):r<=28?d.push(a.textCaption1Strong):r<=40||(r<=56?d.push(a.textSubtitle2):r<=96?d.push(a.textSubtitle1):d.push(a.textTitle3)),t==="square"&&(r<=24?d.push(a.squareSmall):r<=48?d.push(a.squareMedium):r<=72?d.push(a.squareLarge):d.push(a.squareXLarge)),(n==="active"||n==="inactive")&&(d.push(a.activeOrInactive),(i==="ring"||i==="ring-shadow")&&(d.push(a.ring,v[o]),e.badge&&d.push(a.ringBadgeCutout),r<=48?d.push(a.ringThick):r<=64?d.push(a.ringThicker):d.push(a.ringThickest)),(i==="shadow"||i==="ring-shadow")&&(d.push(a.shadow),r<=28?d.push(a.shadow4):r<=48?d.push(a.shadow8):r<=64?d.push(a.shadow16):d.push(a.shadow28)),n==="inactive"&&d.push(a.inactive)),e.root.className=D(Tr.root,...d,e.root.className),e.badge&&(e.badge.className=D(Tr.badge,a.badge,e.badge.className)),e.image&&(e.image.className=D(Tr.image,c,f[o],e.badge&&a.badgeCutout,e.image.className)),e.initials&&(e.initials.className=D(Tr.initials,u,f[o],e.badge&&a.badgeCutout,e.initials.className)),e.icon){let h;r<=16?h=a.icon12:r<=24?h=a.icon16:r<=40?h=a.icon20:r<=48?h=a.icon24:r<=56?h=a.icon28:r<=72?h=a.icon32:h=a.icon48,e.icon.className=D(Tr.icon,u,h,f[o],e.badge&&a.badgeCutout,e.icon.className)}return e},Bn=g.forwardRef((e,r)=>{const t=mg(e,r);return Cg(t),Qe("useAvatarStyles_unstable")(t),Hv(t)});Bn.displayName="Avatar";const Os="data-popper-is-intersecting",Is="data-popper-escaped",Ms="data-popper-reference-hidden",zg="data-popper-placement",Tg=["top","right","bottom","left"],Dt=Math.min,Ue=Math.max,so=Math.round,wt=e=>({x:e,y:e}),Ng={left:"right",right:"left",bottom:"top",top:"bottom"},Eg={start:"end",end:"start"};function _n(e,r,t){return Ue(e,Dt(r,t))}function ut(e,r){return typeof e=="function"?e(r):e}function ft(e){return e.split("-")[0]}function Jt(e){return e.split("-")[1]}function Pn(e){return e==="x"?"y":"x"}function Sn(e){return e==="y"?"height":"width"}function er(e){return["top","bottom"].includes(ft(e))?"y":"x"}function Cn(e){return Pn(er(e))}function jg(e,r,t){t===void 0&&(t=!1);const n=Jt(e),i=Cn(e),o=Sn(i);let s=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[o]>r.floating[o]&&(s=lo(s)),[s,lo(s)]}function Rg(e){const r=lo(e);return[zn(e),r,zn(r)]}function zn(e){return e.replace(/start|end/g,r=>Eg[r])}function Fg(e,r,t){const n=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return t?r?i:n:r?n:i;case"left":case"right":return r?o:s;default:return[]}}function qg(e,r,t,n){const i=Jt(e);let o=Fg(ft(e),t==="start",n);return i&&(o=o.map(s=>s+"-"+i),r&&(o=o.concat(o.map(zn)))),o}function lo(e){return e.replace(/left|right|bottom|top/g,r=>Ng[r])}function Ag(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ls(e){return typeof e!="number"?Ag(e):{top:e,right:e,bottom:e,left:e}}function co(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Hs(e,r,t){let{reference:n,floating:i}=e;const o=er(r),s=Cn(r),c=Sn(s),u=ft(r),a=o==="y",l=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,v=n[c]/2-i[c]/2;let d;switch(u){case"top":d={x:l,y:n.y-i.height};break;case"bottom":d={x:l,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:f};break;case"left":d={x:n.x-i.width,y:f};break;default:d={x:n.x,y:n.y}}switch(Jt(r)){case"start":d[s]-=v*(t&&a?-1:1);break;case"end":d[s]+=v*(t&&a?-1:1);break}return d}const Dg=async(e,r,t)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=t,c=o.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(r));let a=await s.getElementRects({reference:e,floating:r,strategy:i}),{x:l,y:f}=Hs(a,n,u),v=n,d={},h=0;for(let m=0;m<c.length;m++){const{name:w,fn:b}=c[m],{x:y,y:P,data:x,reset:S}=await b({x:l,y:f,initialPlacement:n,placement:v,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:e,floating:r}});if(l=y??l,f=P??f,d={...d,[w]:{...d[w],...x}},S&&h<=50){h++,typeof S=="object"&&(S.placement&&(v=S.placement),S.rects&&(a=S.rects===!0?await s.getElementRects({reference:e,floating:r,strategy:i}):S.rects),{x:l,y:f}=Hs(a,v,u)),m=-1;continue}}return{x:l,y:f,placement:v,strategy:i,middlewareData:d}};async function tr(e,r){var t;r===void 0&&(r={});const{x:n,y:i,platform:o,rects:s,elements:c,strategy:u}=e,{boundary:a="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:v=!1,padding:d=0}=ut(r,e),h=Ls(d),w=c[v?f==="floating"?"reference":"floating":f],b=co(await o.getClippingRect({element:(t=await(o.isElement==null?void 0:o.isElement(w)))==null||t?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:a,rootBoundary:l,strategy:u})),y=f==="floating"?{...s.floating,x:n,y:i}:s.reference,P=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),x=await(o.isElement==null?void 0:o.isElement(P))?await(o.getScale==null?void 0:o.getScale(P))||{x:1,y:1}:{x:1,y:1},S=co(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:P,strategy:u}):y);return{top:(b.top-S.top+h.top)/x.y,bottom:(S.bottom-b.bottom+h.bottom)/x.y,left:(b.left-S.left+h.left)/x.x,right:(S.right-b.right+h.right)/x.x}}const Og=e=>({name:"arrow",options:e,async fn(r){const{x:t,y:n,placement:i,rects:o,platform:s,elements:c,middlewareData:u}=r,{element:a,padding:l=0}=ut(e,r)||{};if(a==null)return{};const f=Ls(l),v={x:t,y:n},d=Cn(i),h=Sn(d),m=await s.getDimensions(a),w=d==="y",b=w?"top":"left",y=w?"bottom":"right",P=w?"clientHeight":"clientWidth",x=o.reference[h]+o.reference[d]-v[d]-o.floating[h],S=v[d]-o.reference[d],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let _=k?k[P]:0;(!_||!await(s.isElement==null?void 0:s.isElement(k)))&&(_=c.floating[P]||o.floating[h]);const q=x/2-S/2,F=_/2-m[h]/2-1,V=Dt(f[b],F),X=Dt(f[y],F),I=V,B=_-m[h]-X,H=_/2-m[h]/2+q,Y=_n(I,H,B),te=!u.arrow&&Jt(i)!=null&&H!=Y&&o.reference[h]/2-(H<I?V:X)-m[h]/2<0,ne=te?H<I?H-I:H-B:0;return{[d]:v[d]+ne,data:{[d]:Y,centerOffset:H-Y-ne,...te&&{alignmentOffset:ne}},reset:te}}}),Ig=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(r){var t,n;const{placement:i,middlewareData:o,rects:s,initialPlacement:c,platform:u,elements:a}=r,{mainAxis:l=!0,crossAxis:f=!0,fallbackPlacements:v,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...w}=ut(e,r);if((t=o.arrow)!=null&&t.alignmentOffset)return{};const b=ft(i),y=ft(c)===c,P=await(u.isRTL==null?void 0:u.isRTL(a.floating)),x=v||(y||!m?[lo(c)]:Rg(c));!v&&h!=="none"&&x.push(...qg(c,m,h,P));const S=[c,...x],k=await tr(r,w),_=[];let q=((n=o.flip)==null?void 0:n.overflows)||[];if(l&&_.push(k[b]),f){const I=jg(i,s,P);_.push(k[I[0]],k[I[1]])}if(q=[...q,{placement:i,overflows:_}],!_.every(I=>I<=0)){var F,V;const I=(((F=o.flip)==null?void 0:F.index)||0)+1,B=S[I];if(B)return{data:{index:I,overflows:q},reset:{placement:B}};let H=(V=q.filter(Y=>Y.overflows[0]<=0).sort((Y,te)=>Y.overflows[1]-te.overflows[1])[0])==null?void 0:V.placement;if(!H)switch(d){case"bestFit":{var X;const Y=(X=q.map(te=>[te.placement,te.overflows.filter(ne=>ne>0).reduce((ne,ae)=>ne+ae,0)]).sort((te,ne)=>te[1]-ne[1])[0])==null?void 0:X[0];Y&&(H=Y);break}case"initialPlacement":H=c;break}if(i!==H)return{reset:{placement:H}}}return{}}}};function Vs(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function $s(e){return Tg.some(r=>e[r]>=0)}const Ws=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(r){const{rects:t}=r,{strategy:n="referenceHidden",...i}=ut(e,r);switch(n){case"referenceHidden":{const o=await tr(r,{...i,elementContext:"reference"}),s=Vs(o,t.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:$s(s)}}}case"escaped":{const o=await tr(r,{...i,altBoundary:!0}),s=Vs(o,t.floating);return{data:{escapedOffsets:s,escaped:$s(s)}}}default:return{}}}}};async function Mg(e,r){const{placement:t,platform:n,elements:i}=e,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=ft(t),c=Jt(t),u=er(t)==="y",a=["left","top"].includes(s)?-1:1,l=o&&u?-1:1,f=ut(r,e);let{mainAxis:v,crossAxis:d,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof h=="number"&&(d=c==="end"?h*-1:h),u?{x:d*l,y:v*a}:{x:v*a,y:d*l}}const Lg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(r){var t,n;const{x:i,y:o,placement:s,middlewareData:c}=r,u=await Mg(r,e);return s===((t=c.offset)==null?void 0:t.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:s}}}}},Hg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){const{x:t,y:n,placement:i}=r,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:b,y}=w;return{x:b,y}}},...u}=ut(e,r),a={x:t,y:n},l=await tr(r,u),f=er(ft(i)),v=Pn(f);let d=a[v],h=a[f];if(o){const w=v==="y"?"top":"left",b=v==="y"?"bottom":"right",y=d+l[w],P=d-l[b];d=_n(y,d,P)}if(s){const w=f==="y"?"top":"left",b=f==="y"?"bottom":"right",y=h+l[w],P=h-l[b];h=_n(y,h,P)}const m=c.fn({...r,[v]:d,[f]:h});return{...m,data:{x:m.x-t,y:m.y-n}}}}},Vg=function(e){return e===void 0&&(e={}),{options:e,fn(r){const{x:t,y:n,placement:i,rects:o,middlewareData:s}=r,{offset:c=0,mainAxis:u=!0,crossAxis:a=!0}=ut(e,r),l={x:t,y:n},f=er(i),v=Pn(f);let d=l[v],h=l[f];const m=ut(c,r),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const P=v==="y"?"height":"width",x=o.reference[v]-o.floating[P]+w.mainAxis,S=o.reference[v]+o.reference[P]-w.mainAxis;d<x?d=x:d>S&&(d=S)}if(a){var b,y;const P=v==="y"?"width":"height",x=["top","left"].includes(ft(i)),S=o.reference[f]-o.floating[P]+(x&&((b=s.offset)==null?void 0:b[f])||0)+(x?0:w.crossAxis),k=o.reference[f]+o.reference[P]+(x?0:((y=s.offset)==null?void 0:y[f])||0)-(x?w.crossAxis:0);h<S?h=S:h>k&&(h=k)}return{[v]:d,[f]:h}}}},$g=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(r){const{placement:t,rects:n,platform:i,elements:o}=r,{apply:s=()=>{},...c}=ut(e,r),u=await tr(r,c),a=ft(t),l=Jt(t),f=er(t)==="y",{width:v,height:d}=n.floating;let h,m;a==="top"||a==="bottom"?(h=a,m=l===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(m=a,h=l==="end"?"top":"bottom");const w=d-u[h],b=v-u[m],y=!r.middlewareData.shift;let P=w,x=b;if(f){const k=v-u.left-u.right;x=l||y?Dt(b,k):k}else{const k=d-u.top-u.bottom;P=l||y?Dt(w,k):k}if(y&&!l){const k=Ue(u.left,0),_=Ue(u.right,0),q=Ue(u.top,0),F=Ue(u.bottom,0);f?x=v-2*(k!==0||_!==0?k+_:Ue(u.left,u.right)):P=d-2*(q!==0||F!==0?q+F:Ue(u.top,u.bottom))}await s({...r,availableWidth:x,availableHeight:P});const S=await i.getDimensions(o.floating);return v!==S.width||d!==S.height?{reset:{rects:!0}}:{}}}};function kt(e){return Us(e)?(e.nodeName||"").toLowerCase():"#document"}function $e(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function xt(e){var r;return(r=(Us(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Us(e){return e instanceof Node||e instanceof $e(e).Node}function dt(e){return e instanceof Element||e instanceof $e(e).Element}function nt(e){return e instanceof HTMLElement||e instanceof $e(e).HTMLElement}function Gs(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof $e(e).ShadowRoot}function Nr(e){const{overflow:r,overflowX:t,overflowY:n,display:i}=Ge(e);return/auto|scroll|overlay|hidden|clip/.test(r+n+t)&&!["inline","contents"].includes(i)}function Wg(e){return["table","td","th"].includes(kt(e))}function Tn(e){const r=Nn(),t=Ge(e);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!r&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!r&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function Ug(e){let r=rr(e);for(;nt(r)&&!uo(r);){if(Tn(r))return r;r=rr(r)}return null}function Nn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function uo(e){return["html","body","#document"].includes(kt(e))}function Ge(e){return $e(e).getComputedStyle(e)}function fo(e){return dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function rr(e){if(kt(e)==="html")return e;const r=e.assignedSlot||e.parentNode||Gs(e)&&e.host||xt(e);return Gs(r)?r.host:r}function Xs(e){const r=rr(e);return uo(r)?e.ownerDocument?e.ownerDocument.body:e.body:nt(r)&&Nr(r)?r:Xs(r)}function En(e,r,t){var n;r===void 0&&(r=[]),t===void 0&&(t=!0);const i=Xs(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),s=$e(i);return o?r.concat(s,s.visualViewport||[],Nr(i)?i:[],s.frameElement&&t?En(s.frameElement):[]):r.concat(i,En(i,[],t))}function Ks(e){const r=Ge(e);let t=parseFloat(r.width)||0,n=parseFloat(r.height)||0;const i=nt(e),o=i?e.offsetWidth:t,s=i?e.offsetHeight:n,c=so(t)!==o||so(n)!==s;return c&&(t=o,n=s),{width:t,height:n,$:c}}function Zs(e){return dt(e)?e:e.contextElement}function or(e){const r=Zs(e);if(!nt(r))return wt(1);const t=r.getBoundingClientRect(),{width:n,height:i,$:o}=Ks(r);let s=(o?so(t.width):t.width)/n,c=(o?so(t.height):t.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Gg=wt(0);function Ys(e){const r=$e(e);return!Nn()||!r.visualViewport?Gg:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Xg(e,r,t){return r===void 0&&(r=!1),!t||r&&t!==$e(e)?!1:r}function Er(e,r,t,n){r===void 0&&(r=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),o=Zs(e);let s=wt(1);r&&(n?dt(n)&&(s=or(n)):s=or(e));const c=Xg(o,t,n)?Ys(o):wt(0);let u=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,l=i.width/s.x,f=i.height/s.y;if(o){const v=$e(o),d=n&&dt(n)?$e(n):n;let h=v.frameElement;for(;h&&n&&d!==v;){const m=or(h),w=h.getBoundingClientRect(),b=Ge(h),y=w.left+(h.clientLeft+parseFloat(b.paddingLeft))*m.x,P=w.top+(h.clientTop+parseFloat(b.paddingTop))*m.y;u*=m.x,a*=m.y,l*=m.x,f*=m.y,u+=y,a+=P,h=$e(h).frameElement}}return co({width:l,height:f,x:u,y:a})}function Kg(e){let{rect:r,offsetParent:t,strategy:n}=e;const i=nt(t),o=xt(t);if(t===o)return r;let s={scrollLeft:0,scrollTop:0},c=wt(1);const u=wt(0);if((i||!i&&n!=="fixed")&&((kt(t)!=="body"||Nr(o))&&(s=fo(t)),nt(t))){const a=Er(t);c=or(t),u.x=a.x+t.clientLeft,u.y=a.y+t.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+u.x,y:r.y*c.y-s.scrollTop*c.y+u.y}}function Zg(e){return Array.from(e.getClientRects())}function Qs(e){return Er(xt(e)).left+fo(e).scrollLeft}function Yg(e){const r=xt(e),t=fo(e),n=e.ownerDocument.body,i=Ue(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),o=Ue(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight);let s=-t.scrollLeft+Qs(e);const c=-t.scrollTop;return Ge(n).direction==="rtl"&&(s+=Ue(r.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:c}}function Qg(e,r){const t=$e(e),n=xt(e),i=t.visualViewport;let o=n.clientWidth,s=n.clientHeight,c=0,u=0;if(i){o=i.width,s=i.height;const a=Nn();(!a||a&&r==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}return{width:o,height:s,x:c,y:u}}function Jg(e,r){const t=Er(e,!0,r==="fixed"),n=t.top+e.clientTop,i=t.left+e.clientLeft,o=nt(e)?or(e):wt(1),s=e.clientWidth*o.x,c=e.clientHeight*o.y,u=i*o.x,a=n*o.y;return{width:s,height:c,x:u,y:a}}function Js(e,r,t){let n;if(r==="viewport")n=Qg(e,t);else if(r==="document")n=Yg(xt(e));else if(dt(r))n=Jg(r,t);else{const i=Ys(e);n={...r,x:r.x-i.x,y:r.y-i.y}}return co(n)}function el(e,r){const t=rr(e);return t===r||!dt(t)||uo(t)?!1:Ge(t).position==="fixed"||el(t,r)}function ep(e,r){const t=r.get(e);if(t)return t;let n=En(e,[],!1).filter(c=>dt(c)&&kt(c)!=="body"),i=null;const o=Ge(e).position==="fixed";let s=o?rr(e):e;for(;dt(s)&&!uo(s);){const c=Ge(s),u=Tn(s);!u&&c.position==="fixed"&&(i=null),(o?!u&&!i:!u&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Nr(s)&&!u&&el(e,s))?n=n.filter(l=>l!==s):i=c,s=rr(s)}return r.set(e,n),n}function tp(e){let{element:r,boundary:t,rootBoundary:n,strategy:i}=e;const s=[...t==="clippingAncestors"?ep(r,this._c):[].concat(t),n],c=s[0],u=s.reduce((a,l)=>{const f=Js(r,l,i);return a.top=Ue(f.top,a.top),a.right=Dt(f.right,a.right),a.bottom=Dt(f.bottom,a.bottom),a.left=Ue(f.left,a.left),a},Js(r,c,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function rp(e){return Ks(e)}function op(e,r,t){const n=nt(r),i=xt(r),o=t==="fixed",s=Er(e,!0,o,r);let c={scrollLeft:0,scrollTop:0};const u=wt(0);if(n||!n&&!o)if((kt(r)!=="body"||Nr(i))&&(c=fo(r)),n){const a=Er(r,!0,o,r);u.x=a.x+r.clientLeft,u.y=a.y+r.clientTop}else i&&(u.x=Qs(i));return{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function tl(e,r){return!nt(e)||Ge(e).position==="fixed"?null:r?r(e):e.offsetParent}function rl(e,r){const t=$e(e);if(!nt(e))return t;let n=tl(e,r);for(;n&&Wg(n)&&Ge(n).position==="static";)n=tl(n,r);return n&&(kt(n)==="html"||kt(n)==="body"&&Ge(n).position==="static"&&!Tn(n))?t:n||Ug(e)||t}const np=async function(e){let{reference:r,floating:t,strategy:n}=e;const i=this.getOffsetParent||rl,o=this.getDimensions;return{reference:op(r,await i(t),n),floating:{x:0,y:0,...await o(t)}}};function ip(e){return Ge(e).direction==="rtl"}const ap={convertOffsetParentRelativeRectToViewportRelativeRect:Kg,getDocumentElement:xt,getClippingRect:tp,getOffsetParent:rl,getElementRects:np,getClientRects:Zg,getDimensions:rp,getScale:or,isElement:dt,isRTL:ip},sp=(e,r,t)=>{const n=new Map,i={platform:ap,...t},o={...i.platform,_c:n};return Dg(e,r,{...i,platform:o})};function ol(e){const r=e.split("-");return{side:r[0],alignment:r[1]}}const lp=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,cp=e=>{var r;return e.nodeType!==1?{}:((r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView).getComputedStyle(e,null)},ho=e=>{const r=e&&lp(e);if(!r)return document.body;switch(r.nodeName){case"HTML":case"BODY":return r.ownerDocument.body;case"#document":return r.body}const{overflow:t,overflowX:n,overflowY:i}=cp(r);return/(auto|scroll|overlay)/.test(t+i+n)?r:ho(r)},up=e=>{var r;const t=ho(e);return t?t!==((r=t.ownerDocument)===null||r===void 0?void 0:r.body):!1};function jn(e,r){if(r==="window")return e==null?void 0:e.ownerDocument.documentElement;if(r==="clippingParents")return"clippingAncestors";if(r==="scrollParent"){let t=ho(e);return t.nodeName==="BODY"&&(t=e==null?void 0:e.ownerDocument.documentElement),t}return r}var nl;(function(e){e[e.FunctionComponent=0]="FunctionComponent",e[e.ClassComponent=1]="ClassComponent",e[e.IndeterminateComponent=2]="IndeterminateComponent",e[e.HostRoot=3]="HostRoot",e[e.HostPortal=4]="HostPortal",e[e.HostComponent=5]="HostComponent",e[e.HostText=6]="HostText",e[e.Fragment=7]="Fragment",e[e.Mode=8]="Mode",e[e.ContextConsumer=9]="ContextConsumer",e[e.ContextProvider=10]="ContextProvider",e[e.ForwardRef=11]="ForwardRef",e[e.Profiler=12]="Profiler",e[e.SuspenseComponent=13]="SuspenseComponent",e[e.MemoComponent=14]="MemoComponent",e[e.SimpleMemoComponent=15]="SimpleMemoComponent",e[e.LazyComponent=16]="LazyComponent",e[e.IncompleteClassComponent=17]="IncompleteClassComponent",e[e.DehydratedFragment=18]="DehydratedFragment",e[e.SuspenseListComponent=19]="SuspenseListComponent",e[e.FundamentalComponent=20]="FundamentalComponent",e[e.ScopeComponent=21]="ScopeComponent"})(nl||(nl={}));function fp(e){if(!e)return null;for(const r in e)if(r.indexOf("__reactInternalInstance$")===0||r.indexOf("__reactFiber$")===0)return e[r];throw new Error("getReactFiber(): Failed to find a React Fiber on a node")}function dp(e,r){if(typeof e=="number")return e;const{start:t,end:n,...i}=e,o=i,s=r?"end":"start",c=r?"start":"end";return e[s]&&(o.left=e[s]),e[c]&&(o.right=e[c]),o}const hp=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),vp=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),gp=(e,r)=>{const t=e==="above"||e==="below",n=r==="top"||r==="bottom";return t&&n||!t&&!n},il=(e,r,t)=>{const n=gp(r,e)?"center":e,i=r&&hp(t)[r],o=n&&vp()[n];return i&&o?`${i}-${o}`:i},pp=()=>({top:"above",bottom:"below",right:"after",left:"before"}),mp=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},Rn=e=>{const{side:r,alignment:t}=ol(e),n=pp()[r],i=t&&mp(n)[t];return{position:n,alignment:i}},bp={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 al(e){return e==null?{}:typeof e=="string"?bp[e]:e}function Fn(e,r,t){const n=g.useRef(!0),[i]=g.useState(()=>({value:e,callback:r,facade:{get current(){return i.value},set current(o){const s=i.value;if(s!==o){if(i.value=o,t&&n.current)return;i.callback(o,s)}}}}));return Et(()=>{n.current=!1},[]),i.callback=r,i.facade}function yp(e){let r;return()=>(r||(r=new Promise(t=>{Promise.resolve().then(()=>{r=void 0,t(e())})})),r)}function wp(e){if(e.nodeName==="BUTTON"||e.nodeName==="INPUT"||e.nodeName==="SELECT"||e.nodeName==="TEXTAREA"){var t;return!!(!((t=fp(e))===null||t===void 0)&&t.pendingProps.autoFocus)}return!1}function kp(e){return wp(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function xp(e){const{arrow:r,middlewareData:t}=e;if(!t.arrow||!r)return;const{x:n,y:i}=t.arrow;Object.assign(r.style,{left:`${n}px`,top:`${i}px`})}function Bp(e){var r,t,n;const{container:i,placement:o,middlewareData:s,strategy:c,lowPPI:u,coordinates:a,useTransform:l=!0}=e;if(!i)return;i.setAttribute(zg,o),i.removeAttribute(Os),s.intersectionObserver.intersecting&&i.setAttribute(Os,""),i.removeAttribute(Is),!((r=s.hide)===null||r===void 0)&&r.escaped&&i.setAttribute(Is,""),i.removeAttribute(Ms),!((t=s.hide)===null||t===void 0)&&t.referenceHidden&&i.setAttribute(Ms,"");const f=((n=i.ownerDocument.defaultView)===null||n===void 0?void 0:n.devicePixelRatio)||1,v=Math.round(a.x*f)/f,d=Math.round(a.y*f)/f;if(Object.assign(i.style,{position:c}),l){Object.assign(i.style,{transform:u?`translate(${v}px, ${d}px)`:`translate3d(${v}px, ${d}px, 0)`});return}Object.assign(i.style,{left:`${v}px`,top:`${d}px`})}const _p=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function Pp(){return{name:"coverTarget",fn:e=>{const{placement:r,rects:t,x:n,y:i}=e,o=ol(r).side,s={x:n,y:i};switch(o){case"bottom":s.y-=t.reference.height;break;case"top":s.y+=t.reference.height;break;case"left":s.x+=t.reference.width;break;case"right":s.x-=t.reference.width;break}return s}}}function Sp(e){const{hasScrollableElement:r,flipBoundary:t,container:n,fallbackPositions:i=[],isRtl:o}=e,s=i.reduce((c,u)=>{const{position:a,align:l}=al(u),f=il(l,a,o);return f&&c.push(f),c},[]);return Ig({...r&&{boundary:"clippingAncestors"},...t&&{altBoundary:!0,boundary:jn(n,t)},fallbackStrategy:"bestFit",...s.length&&{fallbackPlacements:s}})}function Cp(){return{name:"intersectionObserver",fn:async e=>{const r=e.rects.floating,t=await tr(e,{altBoundary:!0}),n=t.top<r.height&&t.top>0,i=t.bottom<r.height&&t.bottom>0;return{data:{intersecting:n||i}}}}}const zp=e=>({name:"resetMaxSize",fn({middlewareData:r,elements:t}){var n;if(!((n=r.resetMaxSize)===null||n===void 0)&&n.maxSizeAlreadyReset)return{};const{applyMaxWidth:i,applyMaxHeight:o}=e;return i&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-width"),t.floating.style.removeProperty("width")),o&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-height"),t.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Tp(e,r){const{container:t,overflowBoundary:n}=r;return $g({...n&&{altBoundary:!0,boundary:jn(t,n)},apply({availableHeight:i,availableWidth:o,elements:s,rects:c}){const u=(f,v,d)=>{if(f&&(s.floating.style.setProperty("box-sizing","border-box"),s.floating.style.setProperty(`max-${v}`,`${d}px`),c.floating[v]>d)){s.floating.style.setProperty(v,`${d}px`);const h=v==="width"?"x":"y";s.floating.style.getPropertyValue(`overflow-${h}`)||s.floating.style.setProperty(`overflow-${h}`,"auto")}},{applyMaxWidth:a,applyMaxHeight:l}=e;u(a,"width",o),u(l,"height",i)}})}function Np(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:r,reference:t},placement:n})=>{const{position:i,alignment:o}=Rn(n);return e({positionedRect:r,targetRect:t,position:i,alignment:o})}}function Ep(e){const r=Np(e);return Lg(r)}function jp(e){const{hasScrollableElement:r,disableTether:t,overflowBoundary:n,container:i,overflowBoundaryPadding:o,isRtl:s}=e;return Hg({...r&&{boundary:"clippingAncestors"},...t&&{crossAxis:t==="all",limiter:Vg({crossAxis:t!=="all",mainAxis:!1})},...o&&{padding:dp(o,s)},...n&&{altBoundary:!0,boundary:jn(i,n)}})}function Rp(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:r,floating:t},elements:{floating:n},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(r.width===t.width||i)return{};const{width:o}=r;return n.style.width=`${o}px`,n.style.boxSizing="border-box",{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function vo(e){const r=[];let t=e;for(;t;){const n=ho(t);if(e.ownerDocument.body===n){r.push(n);break}r.push(n),t=n}return r}function Fp(e){const{container:r,target:t,arrow:n,strategy:i,middleware:o,placement:s,useTransform:c=!0}=e;let u=!1;if(!t||!r)return{updatePosition:()=>{},dispose:()=>{}};let a=!0;const l=new Set,f=r.ownerDocument.defaultView;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const v=()=>{u||(a&&(vo(r).forEach(m=>l.add(m)),Rt(t)&&vo(t).forEach(m=>l.add(m)),l.forEach(m=>{m.addEventListener("scroll",d,{passive:!0})}),a=!1),Object.assign(r.style,{position:i}),sp(t,r,{placement:s,middleware:o,strategy:i}).then(({x:m,y:w,middlewareData:b,placement:y})=>{u||(xp({arrow:n,middlewareData:b}),Bp({container:r,middlewareData:b,placement:y,coordinates:{x:m,y:w},lowPPI:((f==null?void 0:f.devicePixelRatio)||1)<=1,strategy:i,useTransform:c}))}).catch(m=>{process.env.NODE_ENV==="development"&&console.error("[usePositioning]: Failed to calculate position",m)}))},d=yp(()=>v()),h=()=>{u=!0,f&&(f.removeEventListener("scroll",d),f.removeEventListener("resize",d)),l.forEach(m=>{m.removeEventListener("scroll",d)}),l.clear()};return f&&(f.addEventListener("scroll",d,{passive:!0}),f.addEventListener("resize",d)),d(),{updatePosition:d,dispose:h}}const sl="__FUIDT_CONTROLLER__",qn="__FUIDT_ELEMENT_METADATA__",qp="__FUIDT_HTML_ELEMENT_REFERENCE__",Ap=e=>!!(e&&qn in e&&e.parentElement!==null),Dp=()=>{let e=null;const r=new MutationObserver(n=>{if(e)for(const i of n)i.type==="childList"&&Array.from(i.removedNodes).includes(e)&&t.withdraw()}),t={get selectedElement(){return e},select:n=>(Ap(n)&&(e=n,r.observe(n.parentElement,{childList:!0,subtree:!1})),e&&n&&Ip(e,n)||t.withdraw(),e),withdraw:()=>{e=null,r.disconnect()}};return t},Op=e=>{e.defaultView&&(e.defaultView[sl]||(e.defaultView[sl]=Dp()))};function Ip(e,r){const t=e[qn];switch(t.type){case"middleware":return t.references.has(r);default:return!1}}function Mp(e,r){var t;const n=e;var i;return!!(!(n==null||(t=n.ownerDocument)===null||t===void 0)&&t.defaultView&&n instanceof n.ownerDocument.defaultView[(i=r==null?void 0:r.constructorName)!==null&&i!==void 0?i:"HTMLElement"])}function Lp(){return`${qp}:${crypto.randomUUID()}`}function Hp(){const e=new WeakSet,r=new Map;return{add(t){const n=Lp();return r.set(n,t),e.add(t),n},get(t){const n=r.get(t);if(n&&e.has(n))return n},has(t){return e.has(t)}}}const Vp=e=>{const r=Hp();return[JSON.parse(JSON.stringify(e,(t,n)=>Mp(n)?r.add(n):typeof n=="object"&&n&&Object.getPrototypeOf(n)!==Object.prototype&&Object.getPrototypeOf(n)!==Array.prototype?"toString"in n?n.toString():void 0:n)),r]},$p=(e,r=Wp)=>({name:"floating-ui-devtools",fn:t=>{Op(e);const[n,i]=Vp(r(t));return Object.assign(t.elements.floating,{[qn]:{references:i,serializedData:n,type:"middleware"}}),{}}}),Wp=e=>({...e,type:"FloatingUIMiddleware"}),Up=e=>r=>{const{elements:{floating:t,reference:n}}=r,i=new Set;Rt(n)&&vo(n).forEach(c=>i.add(c)),vo(t).forEach(c=>i.add(c));const o=Array.isArray(e.flipBoundary)?e.flipBoundary:Rt(e.flipBoundary)?[e.flipBoundary]:[],s=Array.isArray(e.overflowBoundary)?e.overflowBoundary:Rt(e.overflowBoundary)?[e.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:r,options:e,initialPlacement:Rn(r.initialPlacement),placement:Rn(r.placement),flipBoundaries:o,overflowBoundaries:s,scrollParents:Array.from(i)}};function Gp(e){const r=g.useRef(null),t=g.useRef(null),n=g.useRef(null),i=g.useRef(null),o=g.useRef(null),{enabled:s=!0}=e,c=Xp(e),u=g.useCallback(()=>{r.current&&r.current.dispose(),r.current=null;var d;const h=(d=n.current)!==null&&d!==void 0?d:t.current;s&&nn()&&h&&i.current&&(r.current=Fp({container:i.current,target:h,arrow:o.current,...c(i.current,o.current)}))},[s,c]),a=qe(d=>{n.current=d,u()});g.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var d;return(d=r.current)===null||d===void 0?void 0:d.updatePosition()},setTarget:d=>{if(e.target&&process.env.NODE_ENV!=="production"){const h=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(h.stack)}a(d)}}),[e.target,a]),Et(()=>{var d;a((d=e.target)!==null&&d!==void 0?d:null)},[e.target,a]),Et(()=>{u()},[u]),process.env.NODE_ENV!=="production"&&g.useEffect(()=>{if(i.current){var d;const h=i.current,m=(d=h.ownerDocument)===null||d===void 0?void 0:d.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode:kp});for(;m.nextNode();){const w=m.currentNode;console.warn("<Popper>:",w),console.warn(['<Popper>: ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
144
+ */var Rs;function Av(){return Rs||(Rs=1,function(e){var r,t,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,c=s.now();e.unstable_now=function(){return s.now()-c}}if(typeof window>"u"||typeof MessageChannel!="function"){var u=null,a=null,l=function(){if(u!==null)try{var N=e.unstable_now();u(!0,N),u=null}catch(M){throw setTimeout(l,0),M}};r=function(N){u!==null?setTimeout(r,0,N):(u=N,setTimeout(l,0))},t=function(N,M){a=setTimeout(N,M)},n=function(){clearTimeout(a)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,v=window.clearTimeout;if(typeof console<"u"){var d=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof d!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,m=null,w=-1,b=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},i=function(){},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<N?Math.floor(1e3/N):5};var S=new MessageChannel,x=S.port2;S.port1.onmessage=function(){if(m!==null){var N=e.unstable_now();y=N+b;try{m(!0,N)?x.postMessage(null):(h=!1,m=null)}catch(M){throw x.postMessage(null),M}}else h=!1},r=function(N){m=N,h||(h=!0,x.postMessage(null))},t=function(N,M){w=f(function(){N(e.unstable_now())},M)},n=function(){v(w),w=-1}}function P(N,M){var A=N.length;N.push(M);e:for(;;){var re=A-1>>>1,he=N[re];if(he!==void 0&&0<q(he,M))N[re]=M,N[A]=he,A=re;else break e}}function k(N){return N=N[0],N===void 0?null:N}function _(N){var M=N[0];if(M!==void 0){var A=N.pop();if(A!==M){N[0]=A;e:for(var re=0,he=N.length;re<he;){var Pe=2*(re+1)-1,Ce=N[Pe],ve=Pe+1,ge=N[ve];if(Ce!==void 0&&0>q(Ce,A))ge!==void 0&&0>q(ge,Ce)?(N[re]=ge,N[ve]=A,re=ve):(N[re]=Ce,N[Pe]=A,re=Pe);else if(ge!==void 0&&0>q(ge,A))N[re]=ge,N[ve]=A,re=ve;else break e}}return M}return null}function q(N,M){var A=N.sortIndex-M.sortIndex;return A!==0?A:N.id-M.id}var F=[],V=[],X=1,I=null,B=3,H=!1,Y=!1,te=!1;function ne(N){for(var M=k(V);M!==null;){if(M.callback===null)_(V);else if(M.startTime<=N)_(V),M.sortIndex=M.expirationTime,P(F,M);else break;M=k(V)}}function ae(N){if(te=!1,ne(N),!Y)if(k(F)!==null)Y=!0,r(de);else{var M=k(V);M!==null&&t(ae,M.startTime-N)}}function de(N,M){Y=!1,te&&(te=!1,n()),H=!0;var A=B;try{for(ne(M),I=k(F);I!==null&&(!(I.expirationTime>M)||N&&!e.unstable_shouldYield());){var re=I.callback;if(typeof re=="function"){I.callback=null,B=I.priorityLevel;var he=re(I.expirationTime<=M);M=e.unstable_now(),typeof he=="function"?I.callback=he:I===k(F)&&_(F),ne(M)}else _(F);I=k(F)}if(I!==null)var Pe=!0;else{var Ce=k(V);Ce!==null&&t(ae,Ce.startTime-M),Pe=!1}return Pe}finally{I=null,B=A,H=!1}}var Le=i;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(N){N.callback=null},e.unstable_continueExecution=function(){Y||H||(Y=!0,r(de))},e.unstable_getCurrentPriorityLevel=function(){return B},e.unstable_getFirstCallbackNode=function(){return k(F)},e.unstable_next=function(N){switch(B){case 1:case 2:case 3:var M=3;break;default:M=B}var A=B;B=M;try{return N()}finally{B=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=Le,e.unstable_runWithPriority=function(N,M){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var A=B;B=N;try{return M()}finally{B=A}},e.unstable_scheduleCallback=function(N,M,A){var re=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?re+A:re):A=re,N){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=A+he,N={id:X++,callback:M,priorityLevel:N,startTime:A,expirationTime:he,sortIndex:-1},A>re?(N.sortIndex=A,P(V,N),k(F)===null&&N===k(V)&&(te?n():te=!0,t(ae,A-re))):(N.sortIndex=he,P(F,N),Y||H||(Y=!0,r(de))),N},e.unstable_wrapCallback=function(N){var M=B;return function(){var A=B;B=M;try{return N.apply(this,arguments)}finally{B=A}}}}(kn)),kn}process.env.NODE_ENV==="production"?yn.exports=Av():yn.exports=qv();var Fs=yn.exports;const Ov=e=>{const r=t=>{const n=g.useRef(t.value),i=g.useRef(0),o=g.useRef();return o.current||(o.current={value:n,version:i,listeners:[]}),Et(()=>{n.current=t.value,i.current+=1,Fs.unstable_runWithPriority(Fs.unstable_NormalPriority,()=>{o.current.listeners.forEach(s=>{s([i.current,t.value])})})},[t.value]),g.createElement(e,{value:o.current},t.children)};return process.env.NODE_ENV!=="production"&&(r.displayName="ContextSelector.Provider"),r},qs=e=>{const r=g.createContext({value:{current:e},version:{current:-1},listeners:[]});return r.Provider=Ov(r.Provider),delete r.Consumer,r},Me=(e,r)=>{const t=g.useContext(e),{value:{current:n},version:{current:i},listeners:o}=t,s=r(n),[c,u]=g.useReducer((a,l)=>{if(!l)return[n,s];if(l[0]<=i)return so(a[1],s)?a:[n,s];try{if(so(a[0],l[1]))return a;const f=r(l[1]);return so(a[1],f)?a:[l[1],f]}catch{}return[a[0],a[1]]},[n,s]);return so(c[1],s)||u(void 0),Et(()=>(o.push(u),()=>{const a=o.indexOf(u);o.splice(a,1)}),[o]),c[1]};function Dv(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}const so=typeof Object.is=="function"?Object.is:Dv;function As(e){const r=g.useContext(e);return r.version?r.version.current!==-1:!1}const Qt="Enter",yt=" ",Iv="Tab",Os="ArrowDown",Mv="ArrowLeft",Lv="ArrowRight",xn="ArrowUp",Hv="End",Vv="Home",$v="PageDown",Wv="PageUp",Uv="Escape";function Gv(e,r){const{disabled:t,disabledFocusable:n=!1,["aria-disabled"]:i,onClick:o,onKeyDown:s,onKeyUp:c,...u}=r??{},a=typeof i=="string"?i==="true":i,l=t||n||a,f=qe(h=>{l?(h.preventDefault(),h.stopPropagation()):o==null||o(h)}),v=qe(h=>{if(s==null||s(h),h.isDefaultPrevented())return;const m=h.key;if(l&&(m===Qt||m===yt)){h.preventDefault(),h.stopPropagation();return}if(m===yt){h.preventDefault();return}else m===Qt&&(h.preventDefault(),h.currentTarget.click())}),d=qe(h=>{if(c==null||c(h),h.isDefaultPrevented())return;const m=h.key;if(l&&(m===Qt||m===yt)){h.preventDefault(),h.stopPropagation();return}m===yt&&(h.preventDefault(),h.currentTarget.click())});if(e==="button"||e===void 0)return{...u,disabled:t&&!n,"aria-disabled":n?!0:a,onClick:n?void 0:f,onKeyUp:n?void 0:c,onKeyDown:n?void 0:s};{const h={role:"button",tabIndex:t&&!n?void 0:0,...u,onClick:f,onKeyUp:d,onKeyDown:v,"aria-disabled":t||n||a};return e==="a"&&l&&(h.href=void 0),h}}const Xv=(e,r)=>{const t=Qf(e,r);var n;const i=Gv((n=t==null?void 0:t.as)!==null&&n!==void 0?n:"button",t);return t&&i},Kv=e=>(ke(e),Ae(e.root,{children:[e.initials&&$(e.initials,{}),e.icon&&$(e.icon,{}),e.image&&$(e.image,{}),e.badge&&$(e.badge,{}),e.activeAriaLabelElement]})),Zv=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Yv=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Qv=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Jv=/\s+/g,eg=/[\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 tg(e,r,t){let n="";const i=e.split(" ");return i.length!==0&&(n+=i[0].charAt(0).toUpperCase()),t||(i.length===2?n+=i[1].charAt(0).toUpperCase():i.length===3&&(n+=i[2].charAt(0).toUpperCase())),r&&n.length>1?n.charAt(1)+n.charAt(0):n}function rg(e){return e=e.replace(Zv,""),e=e.replace(Yv,""),e=e.replace(Jv," "),e=e.trim(),e}function og(e,r,t){return!e||(e=rg(e),eg.test(e)||!(t!=null&&t.allowPhoneInitials)&&Qv.test(e))?"":tg(e,r,t==null?void 0:t.firstInitialOnly)}const ng=(e,r)=>{const{shape:t="circular",size:n="medium",iconPosition:i="before",appearance:o="filled",color:s="brand"}=e;return{shape:t,size:n,iconPosition:i,appearance:o,color:s,components:{root:"div",icon:"span"},root:me(Fe("div",{ref:r,...e}),{elementType:"div"}),icon:J(e.icon,{elementType:"span"})}},ig=e=>(ke(e),Ae(e.root,{children:[e.iconPosition==="before"&&e.icon&&$(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&$(e.icon,{})]})),ag={tiny:Va,"extra-small":Va,small:dh,medium:hh,large:$a,"extra-large":$a},sg={tiny:Ma,"extra-small":Ma,small:ch,medium:fh,large:Ha,"extra-large":Ha},lg={tiny:Ia,"extra-small":Ia,small:lh,medium:uh,large:La,"extra-large":La},cg={tiny:Wa,"extra-small":Wa,small:vh,medium:gh,large:Ua,"extra-large":Ua},ug={tiny:Ga,"extra-small":Ga,small:ph,medium:mh,large:Xa,"extra-large":Xa},fg={tiny:Ka,"extra-small":Ka,small:bh,medium:wh,large:Ya,"extra-large":Ya},dg={tiny:Za,"extra-small":Za,small:yh,medium:kh,large:Qa,"extra-large":Qa},Bn={tiny:ts,"extra-small":ts,small:_h,medium:Sh,large:rs,"extra-large":rs},hg={tiny:Ja,"extra-small":Ja,small:xh,medium:Bh,large:es,"extra-large":es},Ds={tiny:os,"extra-small":os,small:Ph,medium:Ch,large:ns,"extra-large":ns},vg=(e,r,t)=>{switch(e){case"available":return r?sg[t]:lg[t];case"away":return r?Bn[t]:ag[t];case"blocked":return cg[t];case"busy":return r?Ds[t]:ug[t];case"do-not-disturb":return r?dg[t]:fg[t];case"offline":return r?Bn[t]:hg[t];case"out-of-office":return Bn[t];case"unknown":return Ds[t]}},Is={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},gg=(e,r)=>{const{size:t="medium",status:n="available",outOfOffice:i=!1}=e,o=Is[n],s=e.outOfOffice&&e.status!=="out-of-office"?` ${Is["out-of-office"]}`:"",c=vg(n,i,t);return{...ng({"aria-label":o+s,role:"img",...e,size:t,icon:J(e.icon,{defaultProps:{children:c?g.createElement(c,null):null},renderByDefault:!0,elementType:"span"})},r),status:n,outOfOffice:i}},Ms={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},pg=e=>e==="busy"||e==="do-not-disturb"||e==="blocked",mg=Re("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;}"]),bg=Re("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),yg=U({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;}"]}),wg=e=>{const r=mg(),t=bg(),n=yg(),i=pg(e.status);return e.root.className=O(Ms.root,r,i&&n.statusBusy,e.status==="away"&&n.statusAway,e.status==="available"&&n.statusAvailable,e.status==="offline"&&n.statusOffline,e.status==="out-of-office"&&n.statusOutOfOffice,e.status==="unknown"&&n.statusUnknown,e.outOfOffice&&n.outOfOffice,e.outOfOffice&&e.status==="available"&&n.outOfOfficeAvailable,e.outOfOffice&&i&&n.outOfOfficeBusy,e.outOfOffice&&(e.status==="out-of-office"||e.status==="away"||e.status==="offline")&&n.statusOutOfOffice,e.outOfOffice&&e.status==="unknown"&&n.outOfOfficeUnknown,e.size==="tiny"&&n.tiny,e.size==="large"&&n.large,e.size==="extra-large"&&n.extraLarge,e.root.className),e.icon&&(e.icon.className=O(Ms.icon,t,e.icon.className)),e},zr=g.forwardRef((e,r)=>{const t=gg(e,r);return wg(t),Qe("usePresenceBadgeStyles_unstable")(t),ig(t)});zr.displayName="PresenceBadge";const Ls=g.createContext(void 0),kg={};Ls.Provider;const xg=()=>{var e;return(e=g.useContext(Ls))!==null&&e!==void 0?e:kg},Bg={active:"active",inactive:"inactive"},_g=(e,r)=>{const{dir:t}=mt(),{shape:n,size:i}=xg(),{name:o,size:s=i??32,shape:c=n??"circular",active:u="unset",activeAppearance:a="ring",idForColor:l}=e;let{color:f="neutral"}=e;if(f==="colorful"){var v;f=Hs[Pg((v=l??o)!==null&&v!==void 0?v:"")%Hs.length]}const d=jt("avatar-"),h=me(Fe("span",{role:"img",id:d,...e,ref:r},["name"]),{elementType:"span"}),[m,w]=g.useState(void 0);let b=J(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:m},elementType:"img"});b!=null&&b.src||(b=void 0),b&&(b.onError=xe(b.onError,()=>w(!0)),b.onLoad=xe(b.onLoad,()=>w(void 0)));let y=J(e.initials,{renderByDefault:!0,defaultProps:{children:og(o,t==="rtl",{firstInitialOnly:s<=16}),id:d+"__initials"},elementType:"span"});y!=null&&y.children||(y=void 0);let S;!y&&(!b||m)&&(S=J(e.icon,{renderByDefault:!0,defaultProps:{children:g.createElement(oh,null),"aria-hidden":!0},elementType:"span"}));const x=J(e.badge,{defaultProps:{size:Sg(s),id:d+"__badge"},elementType:zr});let P;if(!h["aria-label"]&&!h["aria-labelledby"]&&(o?(h["aria-label"]=o,x&&(h["aria-labelledby"]=h.id+" "+x.id)):y&&(h["aria-labelledby"]=y.id+(x?" "+x.id:"")),u==="active"||u==="inactive")){const k=Bg[u];if(h["aria-labelledby"]){const _=d+"__active";h["aria-labelledby"]+=" "+_,P=g.createElement("span",{hidden:!0,id:_},k)}else h["aria-label"]&&(h["aria-label"]+=" "+k)}return{size:s,shape:c,active:u,activeAppearance:a,activeAriaLabelElement:P,color:f,components:{root:"span",initials:"span",icon:"span",image:"img",badge:zr},root:h,initials:y,icon:S,image:b,badge:x}},Sg=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",Hs=["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"],Pg=e=>{let r=0;for(let t=e.length-1;t>=0;t--){const n=e.charCodeAt(t),i=t%8;r^=(n<<i)+(n>>8-i)}return r},Tr={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},Cg=Re("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;}}"]}),zg=Re("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;}"]),Tg=Re("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;-ms-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;-ms-user-select:none;user-select:none;border-radius:inherit;}"]),Ng=U({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Bbmb7ep:["f1g3puop","fi2rrw2"],Beyfa6y:["fi2rrw2","f1g3puop"],B7oj6ja:["f1rstyi9","f1s4nn1u"],Btl43ni:["f1s4nn1u","f1rstyi9"]},squareMedium:{Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"]},squareLarge:{Bbmb7ep:["f1ldthgs","frrelxk"],Beyfa6y:["frrelxk","f1ldthgs"],B7oj6ja:["fobrfso","ffisxpw"],Btl43ni:["ffisxpw","fobrfso"]},squareXLarge:{Bbmb7ep:["fnivh3a","fc7yr5o"],Beyfa6y:["fc7yr5o","fnivh3a"],B7oj6ja:["f1el4m67","f8yange"],Btl43ni:["f8yange","f1el4m67"]},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Hwfdqs:"f1onx1g3"},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",Bucmhp4:"f1f5ar78",b2tv09:["fqxtap0","fhjukvy"],Bfgortx:"f1qj1nzo",Bnvr3x9:["fhjukvy","fqxtap0"],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);}",".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}",".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}",".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}",".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f1ldthgs{border-bottom-right-radius:var(--borderRadiusLarge);}",".frrelxk{border-bottom-left-radius:var(--borderRadiusLarge);}",".fobrfso{border-top-right-radius:var(--borderRadiusLarge);}",".ffisxpw{border-top-left-radius:var(--borderRadiusLarge);}",".fnivh3a{border-bottom-right-radius:var(--borderRadiusXLarge);}",".fc7yr5o{border-bottom-left-radius:var(--borderRadiusXLarge);}",".f1el4m67{border-top-right-radius:var(--borderRadiusXLarge);}",".f8yange{border-top-left-radius:var(--borderRadiusXLarge);}",".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);}",".f1f5ar78::before,.f1f5ar78::after{margin-top:0;}",".fqxtap0::before,.fqxtap0::after{margin-right:0;}",".fhjukvy::before,.fhjukvy::after{margin-left:0;}",".f1qj1nzo::before,.f1qj1nzo::after{margin-bottom:0;}",".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){.f1onx1g3{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Eg=U({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;}"]}),jg=U({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);}"]}),Rg=U({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);}"]}),Fg=e=>{const{size:r,shape:t,active:n,activeAppearance:i,color:o}=e,s=Cg(),c=zg(),u=Tg(),a=Ng(),l=Eg(),f=jg(),v=Rg(),d=[s,r!==32&&l[r]];if(e.badge&&d.push(a.badgeAlign,a[e.badge.size||"medium"]),r<=24?d.push(a.textCaption2Strong):r<=28?d.push(a.textCaption1Strong):r<=40||(r<=56?d.push(a.textSubtitle2):r<=96?d.push(a.textSubtitle1):d.push(a.textTitle3)),t==="square"&&(r<=24?d.push(a.squareSmall):r<=48?d.push(a.squareMedium):r<=72?d.push(a.squareLarge):d.push(a.squareXLarge)),(n==="active"||n==="inactive")&&(d.push(a.activeOrInactive),(i==="ring"||i==="ring-shadow")&&(d.push(a.ring,v[o]),e.badge&&d.push(a.ringBadgeCutout),r<=48?d.push(a.ringThick):r<=64?d.push(a.ringThicker):d.push(a.ringThickest)),(i==="shadow"||i==="ring-shadow")&&(d.push(a.shadow),r<=28?d.push(a.shadow4):r<=48?d.push(a.shadow8):r<=64?d.push(a.shadow16):d.push(a.shadow28)),n==="inactive"&&d.push(a.inactive)),e.root.className=O(Tr.root,...d,e.root.className),e.badge&&(e.badge.className=O(Tr.badge,a.badge,e.badge.className)),e.image&&(e.image.className=O(Tr.image,c,f[o],e.badge&&a.badgeCutout,e.image.className)),e.initials&&(e.initials.className=O(Tr.initials,u,f[o],e.badge&&a.badgeCutout,e.initials.className)),e.icon){let h;r<=16?h=a.icon12:r<=24?h=a.icon16:r<=40?h=a.icon20:r<=48?h=a.icon24:r<=56?h=a.icon28:r<=72?h=a.icon32:h=a.icon48,e.icon.className=O(Tr.icon,u,h,f[o],e.badge&&a.badgeCutout,e.icon.className)}return e},_n=g.forwardRef((e,r)=>{const t=_g(e,r);return Fg(t),Qe("useAvatarStyles_unstable")(t),Kv(t)});_n.displayName="Avatar";const Vs="data-popper-is-intersecting",$s="data-popper-escaped",Ws="data-popper-reference-hidden",qg="data-popper-placement",Ag=["top","right","bottom","left"],Ot=Math.min,Ue=Math.max,lo=Math.round,wt=e=>({x:e,y:e}),Og={left:"right",right:"left",bottom:"top",top:"bottom"},Dg={start:"end",end:"start"};function Sn(e,r,t){return Ue(e,Ot(r,t))}function ut(e,r){return typeof e=="function"?e(r):e}function ft(e){return e.split("-")[0]}function Jt(e){return e.split("-")[1]}function Pn(e){return e==="x"?"y":"x"}function Cn(e){return e==="y"?"height":"width"}function er(e){return["top","bottom"].includes(ft(e))?"y":"x"}function zn(e){return Pn(er(e))}function Ig(e,r,t){t===void 0&&(t=!1);const n=Jt(e),i=zn(e),o=Cn(i);let s=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[o]>r.floating[o]&&(s=co(s)),[s,co(s)]}function Mg(e){const r=co(e);return[Tn(e),r,Tn(r)]}function Tn(e){return e.replace(/start|end/g,r=>Dg[r])}function Lg(e,r,t){const n=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return t?r?i:n:r?n:i;case"left":case"right":return r?o:s;default:return[]}}function Hg(e,r,t,n){const i=Jt(e);let o=Lg(ft(e),t==="start",n);return i&&(o=o.map(s=>s+"-"+i),r&&(o=o.concat(o.map(Tn)))),o}function co(e){return e.replace(/left|right|bottom|top/g,r=>Og[r])}function Vg(e){return{top:0,right:0,bottom:0,left:0,...e}}function Us(e){return typeof e!="number"?Vg(e):{top:e,right:e,bottom:e,left:e}}function uo(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Gs(e,r,t){let{reference:n,floating:i}=e;const o=er(r),s=zn(r),c=Cn(s),u=ft(r),a=o==="y",l=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,v=n[c]/2-i[c]/2;let d;switch(u){case"top":d={x:l,y:n.y-i.height};break;case"bottom":d={x:l,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:f};break;case"left":d={x:n.x-i.width,y:f};break;default:d={x:n.x,y:n.y}}switch(Jt(r)){case"start":d[s]-=v*(t&&a?-1:1);break;case"end":d[s]+=v*(t&&a?-1:1);break}return d}const $g=async(e,r,t)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=t,c=o.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(r));let a=await s.getElementRects({reference:e,floating:r,strategy:i}),{x:l,y:f}=Gs(a,n,u),v=n,d={},h=0;for(let m=0;m<c.length;m++){const{name:w,fn:b}=c[m],{x:y,y:S,data:x,reset:P}=await b({x:l,y:f,initialPlacement:n,placement:v,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:e,floating:r}});if(l=y??l,f=S??f,d={...d,[w]:{...d[w],...x}},P&&h<=50){h++,typeof P=="object"&&(P.placement&&(v=P.placement),P.rects&&(a=P.rects===!0?await s.getElementRects({reference:e,floating:r,strategy:i}):P.rects),{x:l,y:f}=Gs(a,v,u)),m=-1;continue}}return{x:l,y:f,placement:v,strategy:i,middlewareData:d}};async function tr(e,r){var t;r===void 0&&(r={});const{x:n,y:i,platform:o,rects:s,elements:c,strategy:u}=e,{boundary:a="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:v=!1,padding:d=0}=ut(r,e),h=Us(d),w=c[v?f==="floating"?"reference":"floating":f],b=uo(await o.getClippingRect({element:(t=await(o.isElement==null?void 0:o.isElement(w)))==null||t?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:a,rootBoundary:l,strategy:u})),y=f==="floating"?{...s.floating,x:n,y:i}:s.reference,S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),x=await(o.isElement==null?void 0:o.isElement(S))?await(o.getScale==null?void 0:o.getScale(S))||{x:1,y:1}:{x:1,y:1},P=uo(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:S,strategy:u}):y);return{top:(b.top-P.top+h.top)/x.y,bottom:(P.bottom-b.bottom+h.bottom)/x.y,left:(b.left-P.left+h.left)/x.x,right:(P.right-b.right+h.right)/x.x}}const Wg=e=>({name:"arrow",options:e,async fn(r){const{x:t,y:n,placement:i,rects:o,platform:s,elements:c,middlewareData:u}=r,{element:a,padding:l=0}=ut(e,r)||{};if(a==null)return{};const f=Us(l),v={x:t,y:n},d=zn(i),h=Cn(d),m=await s.getDimensions(a),w=d==="y",b=w?"top":"left",y=w?"bottom":"right",S=w?"clientHeight":"clientWidth",x=o.reference[h]+o.reference[d]-v[d]-o.floating[h],P=v[d]-o.reference[d],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let _=k?k[S]:0;(!_||!await(s.isElement==null?void 0:s.isElement(k)))&&(_=c.floating[S]||o.floating[h]);const q=x/2-P/2,F=_/2-m[h]/2-1,V=Ot(f[b],F),X=Ot(f[y],F),I=V,B=_-m[h]-X,H=_/2-m[h]/2+q,Y=Sn(I,H,B),te=!u.arrow&&Jt(i)!=null&&H!=Y&&o.reference[h]/2-(H<I?V:X)-m[h]/2<0,ne=te?H<I?H-I:H-B:0;return{[d]:v[d]+ne,data:{[d]:Y,centerOffset:H-Y-ne,...te&&{alignmentOffset:ne}},reset:te}}}),Ug=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(r){var t,n;const{placement:i,middlewareData:o,rects:s,initialPlacement:c,platform:u,elements:a}=r,{mainAxis:l=!0,crossAxis:f=!0,fallbackPlacements:v,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...w}=ut(e,r);if((t=o.arrow)!=null&&t.alignmentOffset)return{};const b=ft(i),y=ft(c)===c,S=await(u.isRTL==null?void 0:u.isRTL(a.floating)),x=v||(y||!m?[co(c)]:Mg(c));!v&&h!=="none"&&x.push(...Hg(c,m,h,S));const P=[c,...x],k=await tr(r,w),_=[];let q=((n=o.flip)==null?void 0:n.overflows)||[];if(l&&_.push(k[b]),f){const I=Ig(i,s,S);_.push(k[I[0]],k[I[1]])}if(q=[...q,{placement:i,overflows:_}],!_.every(I=>I<=0)){var F,V;const I=(((F=o.flip)==null?void 0:F.index)||0)+1,B=P[I];if(B)return{data:{index:I,overflows:q},reset:{placement:B}};let H=(V=q.filter(Y=>Y.overflows[0]<=0).sort((Y,te)=>Y.overflows[1]-te.overflows[1])[0])==null?void 0:V.placement;if(!H)switch(d){case"bestFit":{var X;const Y=(X=q.map(te=>[te.placement,te.overflows.filter(ne=>ne>0).reduce((ne,ae)=>ne+ae,0)]).sort((te,ne)=>te[1]-ne[1])[0])==null?void 0:X[0];Y&&(H=Y);break}case"initialPlacement":H=c;break}if(i!==H)return{reset:{placement:H}}}return{}}}};function Xs(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function Ks(e){return Ag.some(r=>e[r]>=0)}const Zs=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(r){const{rects:t}=r,{strategy:n="referenceHidden",...i}=ut(e,r);switch(n){case"referenceHidden":{const o=await tr(r,{...i,elementContext:"reference"}),s=Xs(o,t.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ks(s)}}}case"escaped":{const o=await tr(r,{...i,altBoundary:!0}),s=Xs(o,t.floating);return{data:{escapedOffsets:s,escaped:Ks(s)}}}default:return{}}}}};async function Gg(e,r){const{placement:t,platform:n,elements:i}=e,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=ft(t),c=Jt(t),u=er(t)==="y",a=["left","top"].includes(s)?-1:1,l=o&&u?-1:1,f=ut(r,e);let{mainAxis:v,crossAxis:d,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof h=="number"&&(d=c==="end"?h*-1:h),u?{x:d*l,y:v*a}:{x:v*a,y:d*l}}const Xg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(r){var t,n;const{x:i,y:o,placement:s,middlewareData:c}=r,u=await Gg(r,e);return s===((t=c.offset)==null?void 0:t.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:s}}}}},Kg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){const{x:t,y:n,placement:i}=r,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:b,y}=w;return{x:b,y}}},...u}=ut(e,r),a={x:t,y:n},l=await tr(r,u),f=er(ft(i)),v=Pn(f);let d=a[v],h=a[f];if(o){const w=v==="y"?"top":"left",b=v==="y"?"bottom":"right",y=d+l[w],S=d-l[b];d=Sn(y,d,S)}if(s){const w=f==="y"?"top":"left",b=f==="y"?"bottom":"right",y=h+l[w],S=h-l[b];h=Sn(y,h,S)}const m=c.fn({...r,[v]:d,[f]:h});return{...m,data:{x:m.x-t,y:m.y-n}}}}},Zg=function(e){return e===void 0&&(e={}),{options:e,fn(r){const{x:t,y:n,placement:i,rects:o,middlewareData:s}=r,{offset:c=0,mainAxis:u=!0,crossAxis:a=!0}=ut(e,r),l={x:t,y:n},f=er(i),v=Pn(f);let d=l[v],h=l[f];const m=ut(c,r),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const S=v==="y"?"height":"width",x=o.reference[v]-o.floating[S]+w.mainAxis,P=o.reference[v]+o.reference[S]-w.mainAxis;d<x?d=x:d>P&&(d=P)}if(a){var b,y;const S=v==="y"?"width":"height",x=["top","left"].includes(ft(i)),P=o.reference[f]-o.floating[S]+(x&&((b=s.offset)==null?void 0:b[f])||0)+(x?0:w.crossAxis),k=o.reference[f]+o.reference[S]+(x?0:((y=s.offset)==null?void 0:y[f])||0)-(x?w.crossAxis:0);h<P?h=P:h>k&&(h=k)}return{[v]:d,[f]:h}}}},Yg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(r){const{placement:t,rects:n,platform:i,elements:o}=r,{apply:s=()=>{},...c}=ut(e,r),u=await tr(r,c),a=ft(t),l=Jt(t),f=er(t)==="y",{width:v,height:d}=n.floating;let h,m;a==="top"||a==="bottom"?(h=a,m=l===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(m=a,h=l==="end"?"top":"bottom");const w=d-u[h],b=v-u[m],y=!r.middlewareData.shift;let S=w,x=b;if(f){const k=v-u.left-u.right;x=l||y?Ot(b,k):k}else{const k=d-u.top-u.bottom;S=l||y?Ot(w,k):k}if(y&&!l){const k=Ue(u.left,0),_=Ue(u.right,0),q=Ue(u.top,0),F=Ue(u.bottom,0);f?x=v-2*(k!==0||_!==0?k+_:Ue(u.left,u.right)):S=d-2*(q!==0||F!==0?q+F:Ue(u.top,u.bottom))}await s({...r,availableWidth:x,availableHeight:S});const P=await i.getDimensions(o.floating);return v!==P.width||d!==P.height?{reset:{rects:!0}}:{}}}};function kt(e){return Ys(e)?(e.nodeName||"").toLowerCase():"#document"}function $e(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function xt(e){var r;return(r=(Ys(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Ys(e){return e instanceof Node||e instanceof $e(e).Node}function dt(e){return e instanceof Element||e instanceof $e(e).Element}function nt(e){return e instanceof HTMLElement||e instanceof $e(e).HTMLElement}function Qs(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof $e(e).ShadowRoot}function Nr(e){const{overflow:r,overflowX:t,overflowY:n,display:i}=Ge(e);return/auto|scroll|overlay|hidden|clip/.test(r+n+t)&&!["inline","contents"].includes(i)}function Qg(e){return["table","td","th"].includes(kt(e))}function Nn(e){const r=En(),t=Ge(e);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!r&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!r&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function Jg(e){let r=rr(e);for(;nt(r)&&!fo(r);){if(Nn(r))return r;r=rr(r)}return null}function En(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fo(e){return["html","body","#document"].includes(kt(e))}function Ge(e){return $e(e).getComputedStyle(e)}function ho(e){return dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function rr(e){if(kt(e)==="html")return e;const r=e.assignedSlot||e.parentNode||Qs(e)&&e.host||xt(e);return Qs(r)?r.host:r}function Js(e){const r=rr(e);return fo(r)?e.ownerDocument?e.ownerDocument.body:e.body:nt(r)&&Nr(r)?r:Js(r)}function jn(e,r,t){var n;r===void 0&&(r=[]),t===void 0&&(t=!0);const i=Js(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),s=$e(i);return o?r.concat(s,s.visualViewport||[],Nr(i)?i:[],s.frameElement&&t?jn(s.frameElement):[]):r.concat(i,jn(i,[],t))}function el(e){const r=Ge(e);let t=parseFloat(r.width)||0,n=parseFloat(r.height)||0;const i=nt(e),o=i?e.offsetWidth:t,s=i?e.offsetHeight:n,c=lo(t)!==o||lo(n)!==s;return c&&(t=o,n=s),{width:t,height:n,$:c}}function tl(e){return dt(e)?e:e.contextElement}function or(e){const r=tl(e);if(!nt(r))return wt(1);const t=r.getBoundingClientRect(),{width:n,height:i,$:o}=el(r);let s=(o?lo(t.width):t.width)/n,c=(o?lo(t.height):t.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const ep=wt(0);function rl(e){const r=$e(e);return!En()||!r.visualViewport?ep:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function tp(e,r,t){return r===void 0&&(r=!1),!t||r&&t!==$e(e)?!1:r}function Er(e,r,t,n){r===void 0&&(r=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),o=tl(e);let s=wt(1);r&&(n?dt(n)&&(s=or(n)):s=or(e));const c=tp(o,t,n)?rl(o):wt(0);let u=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,l=i.width/s.x,f=i.height/s.y;if(o){const v=$e(o),d=n&&dt(n)?$e(n):n;let h=v.frameElement;for(;h&&n&&d!==v;){const m=or(h),w=h.getBoundingClientRect(),b=Ge(h),y=w.left+(h.clientLeft+parseFloat(b.paddingLeft))*m.x,S=w.top+(h.clientTop+parseFloat(b.paddingTop))*m.y;u*=m.x,a*=m.y,l*=m.x,f*=m.y,u+=y,a+=S,h=$e(h).frameElement}}return uo({width:l,height:f,x:u,y:a})}function rp(e){let{rect:r,offsetParent:t,strategy:n}=e;const i=nt(t),o=xt(t);if(t===o)return r;let s={scrollLeft:0,scrollTop:0},c=wt(1);const u=wt(0);if((i||!i&&n!=="fixed")&&((kt(t)!=="body"||Nr(o))&&(s=ho(t)),nt(t))){const a=Er(t);c=or(t),u.x=a.x+t.clientLeft,u.y=a.y+t.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+u.x,y:r.y*c.y-s.scrollTop*c.y+u.y}}function op(e){return Array.from(e.getClientRects())}function ol(e){return Er(xt(e)).left+ho(e).scrollLeft}function np(e){const r=xt(e),t=ho(e),n=e.ownerDocument.body,i=Ue(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),o=Ue(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight);let s=-t.scrollLeft+ol(e);const c=-t.scrollTop;return Ge(n).direction==="rtl"&&(s+=Ue(r.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:c}}function ip(e,r){const t=$e(e),n=xt(e),i=t.visualViewport;let o=n.clientWidth,s=n.clientHeight,c=0,u=0;if(i){o=i.width,s=i.height;const a=En();(!a||a&&r==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}return{width:o,height:s,x:c,y:u}}function ap(e,r){const t=Er(e,!0,r==="fixed"),n=t.top+e.clientTop,i=t.left+e.clientLeft,o=nt(e)?or(e):wt(1),s=e.clientWidth*o.x,c=e.clientHeight*o.y,u=i*o.x,a=n*o.y;return{width:s,height:c,x:u,y:a}}function nl(e,r,t){let n;if(r==="viewport")n=ip(e,t);else if(r==="document")n=np(xt(e));else if(dt(r))n=ap(r,t);else{const i=rl(e);n={...r,x:r.x-i.x,y:r.y-i.y}}return uo(n)}function il(e,r){const t=rr(e);return t===r||!dt(t)||fo(t)?!1:Ge(t).position==="fixed"||il(t,r)}function sp(e,r){const t=r.get(e);if(t)return t;let n=jn(e,[],!1).filter(c=>dt(c)&&kt(c)!=="body"),i=null;const o=Ge(e).position==="fixed";let s=o?rr(e):e;for(;dt(s)&&!fo(s);){const c=Ge(s),u=Nn(s);!u&&c.position==="fixed"&&(i=null),(o?!u&&!i:!u&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Nr(s)&&!u&&il(e,s))?n=n.filter(l=>l!==s):i=c,s=rr(s)}return r.set(e,n),n}function lp(e){let{element:r,boundary:t,rootBoundary:n,strategy:i}=e;const s=[...t==="clippingAncestors"?sp(r,this._c):[].concat(t),n],c=s[0],u=s.reduce((a,l)=>{const f=nl(r,l,i);return a.top=Ue(f.top,a.top),a.right=Ot(f.right,a.right),a.bottom=Ot(f.bottom,a.bottom),a.left=Ue(f.left,a.left),a},nl(r,c,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function cp(e){return el(e)}function up(e,r,t){const n=nt(r),i=xt(r),o=t==="fixed",s=Er(e,!0,o,r);let c={scrollLeft:0,scrollTop:0};const u=wt(0);if(n||!n&&!o)if((kt(r)!=="body"||Nr(i))&&(c=ho(r)),n){const a=Er(r,!0,o,r);u.x=a.x+r.clientLeft,u.y=a.y+r.clientTop}else i&&(u.x=ol(i));return{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function al(e,r){return!nt(e)||Ge(e).position==="fixed"?null:r?r(e):e.offsetParent}function sl(e,r){const t=$e(e);if(!nt(e))return t;let n=al(e,r);for(;n&&Qg(n)&&Ge(n).position==="static";)n=al(n,r);return n&&(kt(n)==="html"||kt(n)==="body"&&Ge(n).position==="static"&&!Nn(n))?t:n||Jg(e)||t}const fp=async function(e){let{reference:r,floating:t,strategy:n}=e;const i=this.getOffsetParent||sl,o=this.getDimensions;return{reference:up(r,await i(t),n),floating:{x:0,y:0,...await o(t)}}};function dp(e){return Ge(e).direction==="rtl"}const hp={convertOffsetParentRelativeRectToViewportRelativeRect:rp,getDocumentElement:xt,getClippingRect:lp,getOffsetParent:sl,getElementRects:fp,getClientRects:op,getDimensions:cp,getScale:or,isElement:dt,isRTL:dp},vp=(e,r,t)=>{const n=new Map,i={platform:hp,...t},o={...i.platform,_c:n};return $g(e,r,{...i,platform:o})};function ll(e){const r=e.split("-");return{side:r[0],alignment:r[1]}}const gp=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,pp=e=>{var r;return e.nodeType!==1?{}:((r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView).getComputedStyle(e,null)},vo=e=>{const r=e&&gp(e);if(!r)return document.body;switch(r.nodeName){case"HTML":case"BODY":return r.ownerDocument.body;case"#document":return r.body}const{overflow:t,overflowX:n,overflowY:i}=pp(r);return/(auto|scroll|overlay)/.test(t+i+n)?r:vo(r)},mp=e=>{var r;const t=vo(e);return t?t!==((r=t.ownerDocument)===null||r===void 0?void 0:r.body):!1};function Rn(e,r){if(r==="window")return e==null?void 0:e.ownerDocument.documentElement;if(r==="clippingParents")return"clippingAncestors";if(r==="scrollParent"){let t=vo(e);return t.nodeName==="BODY"&&(t=e==null?void 0:e.ownerDocument.documentElement),t}return r}var cl;(function(e){e[e.FunctionComponent=0]="FunctionComponent",e[e.ClassComponent=1]="ClassComponent",e[e.IndeterminateComponent=2]="IndeterminateComponent",e[e.HostRoot=3]="HostRoot",e[e.HostPortal=4]="HostPortal",e[e.HostComponent=5]="HostComponent",e[e.HostText=6]="HostText",e[e.Fragment=7]="Fragment",e[e.Mode=8]="Mode",e[e.ContextConsumer=9]="ContextConsumer",e[e.ContextProvider=10]="ContextProvider",e[e.ForwardRef=11]="ForwardRef",e[e.Profiler=12]="Profiler",e[e.SuspenseComponent=13]="SuspenseComponent",e[e.MemoComponent=14]="MemoComponent",e[e.SimpleMemoComponent=15]="SimpleMemoComponent",e[e.LazyComponent=16]="LazyComponent",e[e.IncompleteClassComponent=17]="IncompleteClassComponent",e[e.DehydratedFragment=18]="DehydratedFragment",e[e.SuspenseListComponent=19]="SuspenseListComponent",e[e.FundamentalComponent=20]="FundamentalComponent",e[e.ScopeComponent=21]="ScopeComponent"})(cl||(cl={}));function bp(e){if(!e)return null;for(const r in e)if(r.indexOf("__reactInternalInstance$")===0||r.indexOf("__reactFiber$")===0)return e[r];throw new Error("getReactFiber(): Failed to find a React Fiber on a node")}function yp(e,r){if(typeof e=="number")return e;const{start:t,end:n,...i}=e,o=i,s=r?"end":"start",c=r?"start":"end";return e[s]&&(o.left=e[s]),e[c]&&(o.right=e[c]),o}const wp=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),kp=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),xp=(e,r)=>{const t=e==="above"||e==="below",n=r==="top"||r==="bottom";return t&&n||!t&&!n},ul=(e,r,t)=>{const n=xp(r,e)?"center":e,i=r&&wp(t)[r],o=n&&kp()[n];return i&&o?`${i}-${o}`:i},Bp=()=>({top:"above",bottom:"below",right:"after",left:"before"}),_p=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},Fn=e=>{const{side:r,alignment:t}=ll(e),n=Bp()[r],i=t&&_p(n)[t];return{position:n,alignment:i}},Sp={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 fl(e){return e==null?{}:typeof e=="string"?Sp[e]:e}function qn(e,r,t){const n=g.useRef(!0),[i]=g.useState(()=>({value:e,callback:r,facade:{get current(){return i.value},set current(o){const s=i.value;if(s!==o){if(i.value=o,t&&n.current)return;i.callback(o,s)}}}}));return Et(()=>{n.current=!1},[]),i.callback=r,i.facade}function Pp(e){let r;return()=>(r||(r=new Promise(t=>{Promise.resolve().then(()=>{r=void 0,t(e())})})),r)}function Cp(e){if(e.nodeName==="BUTTON"||e.nodeName==="INPUT"||e.nodeName==="SELECT"||e.nodeName==="TEXTAREA"){var t;return!!(!((t=bp(e))===null||t===void 0)&&t.pendingProps.autoFocus)}return!1}function zp(e){return Cp(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function Tp(e){const{arrow:r,middlewareData:t}=e;if(!t.arrow||!r)return;const{x:n,y:i}=t.arrow;Object.assign(r.style,{left:`${n}px`,top:`${i}px`})}function Np(e){var r,t,n;const{container:i,placement:o,middlewareData:s,strategy:c,lowPPI:u,coordinates:a,useTransform:l=!0}=e;if(!i)return;i.setAttribute(qg,o),i.removeAttribute(Vs),s.intersectionObserver.intersecting&&i.setAttribute(Vs,""),i.removeAttribute($s),!((r=s.hide)===null||r===void 0)&&r.escaped&&i.setAttribute($s,""),i.removeAttribute(Ws),!((t=s.hide)===null||t===void 0)&&t.referenceHidden&&i.setAttribute(Ws,"");const f=((n=i.ownerDocument.defaultView)===null||n===void 0?void 0:n.devicePixelRatio)||1,v=Math.round(a.x*f)/f,d=Math.round(a.y*f)/f;if(Object.assign(i.style,{position:c}),l){Object.assign(i.style,{transform:u?`translate(${v}px, ${d}px)`:`translate3d(${v}px, ${d}px, 0)`});return}Object.assign(i.style,{left:`${v}px`,top:`${d}px`})}const Ep=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function jp(){return{name:"coverTarget",fn:e=>{const{placement:r,rects:t,x:n,y:i}=e,o=ll(r).side,s={x:n,y:i};switch(o){case"bottom":s.y-=t.reference.height;break;case"top":s.y+=t.reference.height;break;case"left":s.x+=t.reference.width;break;case"right":s.x-=t.reference.width;break}return s}}}function Rp(e){const{hasScrollableElement:r,flipBoundary:t,container:n,fallbackPositions:i=[],isRtl:o}=e,s=i.reduce((c,u)=>{const{position:a,align:l}=fl(u),f=ul(l,a,o);return f&&c.push(f),c},[]);return Ug({...r&&{boundary:"clippingAncestors"},...t&&{altBoundary:!0,boundary:Rn(n,t)},fallbackStrategy:"bestFit",...s.length&&{fallbackPlacements:s}})}function Fp(){return{name:"intersectionObserver",fn:async e=>{const r=e.rects.floating,t=await tr(e,{altBoundary:!0}),n=t.top<r.height&&t.top>0,i=t.bottom<r.height&&t.bottom>0;return{data:{intersecting:n||i}}}}}const qp=e=>({name:"resetMaxSize",fn({middlewareData:r,elements:t}){var n;if(!((n=r.resetMaxSize)===null||n===void 0)&&n.maxSizeAlreadyReset)return{};const{applyMaxWidth:i,applyMaxHeight:o}=e;return i&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-width"),t.floating.style.removeProperty("width")),o&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-height"),t.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Ap(e,r){const{container:t,overflowBoundary:n}=r;return Yg({...n&&{altBoundary:!0,boundary:Rn(t,n)},apply({availableHeight:i,availableWidth:o,elements:s,rects:c}){const u=(f,v,d)=>{if(f&&(s.floating.style.setProperty("box-sizing","border-box"),s.floating.style.setProperty(`max-${v}`,`${d}px`),c.floating[v]>d)){s.floating.style.setProperty(v,`${d}px`);const h=v==="width"?"x":"y";s.floating.style.getPropertyValue(`overflow-${h}`)||s.floating.style.setProperty(`overflow-${h}`,"auto")}},{applyMaxWidth:a,applyMaxHeight:l}=e;u(a,"width",o),u(l,"height",i)}})}function Op(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:r,reference:t},placement:n})=>{const{position:i,alignment:o}=Fn(n);return e({positionedRect:r,targetRect:t,position:i,alignment:o})}}function Dp(e){const r=Op(e);return Xg(r)}function Ip(e){const{hasScrollableElement:r,disableTether:t,overflowBoundary:n,container:i,overflowBoundaryPadding:o,isRtl:s}=e;return Kg({...r&&{boundary:"clippingAncestors"},...t&&{crossAxis:t==="all",limiter:Zg({crossAxis:t!=="all",mainAxis:!1})},...o&&{padding:yp(o,s)},...n&&{altBoundary:!0,boundary:Rn(i,n)}})}function Mp(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:r,floating:t},elements:{floating:n},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(r.width===t.width||i)return{};const{width:o}=r;return n.style.width=`${o}px`,n.style.boxSizing="border-box",{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function go(e){const r=[];let t=e;for(;t;){const n=vo(t);if(e.ownerDocument.body===n){r.push(n);break}r.push(n),t=n}return r}function Lp(e){const{container:r,target:t,arrow:n,strategy:i,middleware:o,placement:s,useTransform:c=!0}=e;let u=!1;if(!t||!r)return{updatePosition:()=>{},dispose:()=>{}};let a=!0;const l=new Set,f=r.ownerDocument.defaultView;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const v=()=>{u||(a&&(go(r).forEach(m=>l.add(m)),Rt(t)&&go(t).forEach(m=>l.add(m)),l.forEach(m=>{m.addEventListener("scroll",d,{passive:!0})}),a=!1),Object.assign(r.style,{position:i}),vp(t,r,{placement:s,middleware:o,strategy:i}).then(({x:m,y:w,middlewareData:b,placement:y})=>{u||(Tp({arrow:n,middlewareData:b}),Np({container:r,middlewareData:b,placement:y,coordinates:{x:m,y:w},lowPPI:((f==null?void 0:f.devicePixelRatio)||1)<=1,strategy:i,useTransform:c}))}).catch(m=>{process.env.NODE_ENV==="development"&&console.error("[usePositioning]: Failed to calculate position",m)}))},d=Pp(()=>v()),h=()=>{u=!0,f&&(f.removeEventListener("scroll",d),f.removeEventListener("resize",d)),l.forEach(m=>{m.removeEventListener("scroll",d)}),l.clear()};return f&&(f.addEventListener("scroll",d,{passive:!0}),f.addEventListener("resize",d)),d(),{updatePosition:d,dispose:h}}const dl="__FUIDT_CONTROLLER__",An="__FUIDT_ELEMENT_METADATA__",Hp="__FUIDT_HTML_ELEMENT_REFERENCE__",Vp=e=>!!(e&&An in e&&e.parentElement!==null),$p=()=>{let e=null;const r=new MutationObserver(n=>{if(e)for(const i of n)i.type==="childList"&&Array.from(i.removedNodes).includes(e)&&t.withdraw()}),t={get selectedElement(){return e},select:n=>(Vp(n)&&(e=n,r.observe(n.parentElement,{childList:!0,subtree:!1})),e&&n&&Up(e,n)||t.withdraw(),e),withdraw:()=>{e=null,r.disconnect()}};return t},Wp=e=>{e.defaultView&&(e.defaultView[dl]||(e.defaultView[dl]=$p()))};function Up(e,r){const t=e[An];switch(t.type){case"middleware":return t.references.has(r);default:return!1}}function Gp(e,r){var t;const n=e;var i;return!!(!(n==null||(t=n.ownerDocument)===null||t===void 0)&&t.defaultView&&n instanceof n.ownerDocument.defaultView[(i=r==null?void 0:r.constructorName)!==null&&i!==void 0?i:"HTMLElement"])}function Xp(){return`${Hp}:${crypto.randomUUID()}`}function Kp(){const e=new WeakSet,r=new Map;return{add(t){const n=Xp();return r.set(n,t),e.add(t),n},get(t){const n=r.get(t);if(n&&e.has(n))return n},has(t){return e.has(t)}}}const Zp=e=>{const r=Kp();return[JSON.parse(JSON.stringify(e,(t,n)=>Gp(n)?r.add(n):typeof n=="object"&&n&&Object.getPrototypeOf(n)!==Object.prototype&&Object.getPrototypeOf(n)!==Array.prototype?"toString"in n?n.toString():void 0:n)),r]},Yp=(e,r=Qp)=>({name:"floating-ui-devtools",fn:t=>{Wp(e);const[n,i]=Zp(r(t));return Object.assign(t.elements.floating,{[An]:{references:i,serializedData:n,type:"middleware"}}),{}}}),Qp=e=>({...e,type:"FloatingUIMiddleware"}),Jp=e=>r=>{const{elements:{floating:t,reference:n}}=r,i=new Set;Rt(n)&&go(n).forEach(c=>i.add(c)),go(t).forEach(c=>i.add(c));const o=Array.isArray(e.flipBoundary)?e.flipBoundary:Rt(e.flipBoundary)?[e.flipBoundary]:[],s=Array.isArray(e.overflowBoundary)?e.overflowBoundary:Rt(e.overflowBoundary)?[e.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:r,options:e,initialPlacement:Fn(r.initialPlacement),placement:Fn(r.placement),flipBoundaries:o,overflowBoundaries:s,scrollParents:Array.from(i)}};function em(e){const r=g.useRef(null),t=g.useRef(null),n=g.useRef(null),i=g.useRef(null),o=g.useRef(null),{enabled:s=!0}=e,c=tm(e),u=g.useCallback(()=>{r.current&&r.current.dispose(),r.current=null;var d;const h=(d=n.current)!==null&&d!==void 0?d:t.current;s&&an()&&h&&i.current&&(r.current=Lp({container:i.current,target:h,arrow:o.current,...c(i.current,o.current)}))},[s,c]),a=qe(d=>{n.current=d,u()});g.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var d;return(d=r.current)===null||d===void 0?void 0:d.updatePosition()},setTarget:d=>{if(e.target&&process.env.NODE_ENV!=="production"){const h=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(h.stack)}a(d)}}),[e.target,a]),Et(()=>{var d;a((d=e.target)!==null&&d!==void 0?d:null)},[e.target,a]),Et(()=>{u()},[u]),process.env.NODE_ENV!=="production"&&g.useEffect(()=>{if(i.current){var d;const h=i.current,m=(d=h.ownerDocument)===null||d===void 0?void 0:d.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode:zp});for(;m.nextNode();){const w=m.currentNode;console.warn("<Popper>:",w),console.warn(['<Popper>: ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
134
145
  `,'However, ".focus()" in this case occurs before any other React effects will be executed',"(React.useEffect(), componentDidMount(), etc.) and we can not prevent this behavior. If you really",'want to use "autoFocus" please add "position: fixed" to styles of the element that is wrapped by','"Popper".',`In general, it's not recommended to use "autoFocus" as it may break accessibility aspects:`,"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md",`
135
- `,'We suggest to use the "trapFocus" prop on Fluent components or a catch "ref" and then use','"ref.current.focus" in React.useEffect():',"https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element"].join(" "))}}},[]);const l=Fn(null,d=>{t.current!==d&&(t.current=d,u())}),f=Fn(null,d=>{i.current!==d&&(i.current=d,u())}),v=Fn(null,d=>{o.current!==d&&(o.current=d,u())});return{targetRef:l,containerRef:f,arrowRef:v}}function Xp(e){const{align:r,arrowPadding:t,autoSize:n,coverTarget:i,flipBoundary:o,offset:s,overflowBoundary:c,pinned:u,position:a,unstable_disableTether:l,positionFixed:f,strategy:v,overflowBoundaryPadding:d,fallbackPositions:h,useTransform:m,matchTargetSize:w}=e,{dir:b,targetDocument:y}=mt(),P=b==="rtl",x=v??f?"fixed":"absolute",S=_p(n);return g.useCallback((k,_)=>{const q=up(k),F=[S&&zp(S),w&&Rp(),s&&Ep(s),i&&Pp(),!u&&Sp({container:k,flipBoundary:o,hasScrollableElement:q,isRtl:P,fallbackPositions:h}),jp({container:k,hasScrollableElement:q,overflowBoundary:c,disableTether:l,overflowBoundaryPadding:d,isRtl:P}),S&&Tp(S,{container:k,overflowBoundary:c}),Cp(),_&&Og({element:_,padding:t}),Ws({strategy:"referenceHidden"}),Ws({strategy:"escaped"}),process.env.NODE_ENV!=="production"&&y&&$p(y,Up(e))].filter(Boolean);return{placement:il(r,a,P),middleware:F,strategy:x,useTransform:m}},[r,t,S,i,l,o,P,s,c,u,a,x,d,h,m,w,y])}function Kp(e){return Rt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}var An=()=>g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current,ll=Symbol.for("react.strict_mode"),Zp=()=>{if(process.env.NODE_ENV==="production")return!1;const e=g.useRef(void 0),r=g.useMemo(()=>Number(g.version.split(".")[0]),[g.version]);if(isNaN(r)||r<18)return!1;if(e.current===void 0){let t=An();for(;t&&t.return;)t=t.return,(t.type===ll||t.elementType===ll)&&(e.current=!0)}return!!e.current},cl=new WeakSet;function Yp(e,r){const t=An();g.useEffect(()=>{if(!cl.has(t)){cl.add(t),e();return}return e()},r)}var ul=new WeakSet;function Qp(e,r){return g.useMemo(()=>{const t=An();return ul.has(t)?e():(ul.add(t),null)},r)}function Jp(e,r){var t;const n=Zp()&&process.env.NODE_ENV!=="production",i=n?Qp:g.useMemo,o=n?Yp:g.useEffect,[s,c]=(t=i(()=>e(),r))!=null?t:[null,()=>null];return o(()=>c,r),s}const em=U({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;}"]}),fl=g.useInsertionEffect,tm=e=>{const{targetDocument:r,dir:t}=mt(),n=Vd(),i=_v(),o=em(),s=Id(),c=D(s,o.root,e.className),u=n??(r==null?void 0:r.body),a=Jp(()=>{if(u===void 0||e.disabled)return[null,()=>null];const l=u.ownerDocument.createElement("div");return u.appendChild(l),[l,()=>l.remove()]},[u]);return fl?fl(()=>{if(!a)return;const l=c.split(" ").filter(Boolean);return a.classList.add(...l),a.setAttribute("dir",t),i.current=a,()=>{a.classList.remove(...l),a.removeAttribute("dir")}},[c,t,a,i]):g.useMemo(()=>{a&&(a.className=c,a.setAttribute("dir",t),i.current=a)},[c,t,a,i]),a},rm=e=>{const{element:r,className:t}=Kp(e.mountNode),n=g.useRef(null),i=tm({disabled:!!r,className:t}),o={children:e.children,mountNode:r??i,virtualParentRootRef:n};return g.useEffect(()=>(o.virtualParentRootRef.current&&o.mountNode&&_a(o.mountNode,o.virtualParentRootRef.current),()=>{o.mountNode&&_a(o.mountNode,void 0)}),[o.virtualParentRootRef,o.mountNode]),o},om=e=>g.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&uc.createPortal(e.children,e.mountNode)),dl=e=>{const r=rm(e);return om(r)};dl.displayName="Portal";const nm=e=>{ke(e);const{iconOnly:r,iconPosition:t}=e;return Ae(e.root,{children:[t!=="after"&&e.icon&&$(e.icon,{}),!r&&e.root.children,t==="after"&&e.icon&&$(e.icon,{})]})},hl=g.createContext(void 0),im={};hl.Provider;const am=()=>{var e;return(e=g.useContext(hl))!==null&&e!==void 0?e:im},sm=(e,r)=>{const{size:t}=am(),{appearance:n="secondary",as:i="button",disabled:o=!1,disabledFocusable:s=!1,icon:c,iconPosition:u="before",shape:a="rounded",size:l=t??"medium"}=e,f=J(c,{elementType:"span"});return{appearance:n,disabled:o,disabledFocusable:s,iconPosition:u,shape:a,size:l,iconOnly:!!(f!=null&&f.children&&!e.children),components:{root:"button",icon:"span"},root:me(Fe(i,Lv(e,{required:!0,defaultProps:{ref:r,type:"button"}})),{elementType:"button"}),icon:f}},vl={root:"fui-Button",icon:"fui-Button__icon"},lm=Re("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),cm=Re("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);}"]),um=U({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Bbmb7ep:["f8fbkgy","f1nfllo7"],Beyfa6y:["f1nfllo7","f8fbkgy"],B7oj6ja:["f1djnp8u","f1s8kh49"],Btl43ni:["f1s8kh49","f1djnp8u"]},rounded:{},square:{Bbmb7ep:["fzi6hpg","fyowgf4"],Beyfa6y:["fyowgf4","fzi6hpg"],B7oj6ja:["f3fg2lr","f13av6d4"],Btl43ni:["f13av6d4","f3fg2lr"]},small:{Bf4jedk:"fh7ncta",z8tnut:"f1khb0e9",z189sj:["f1vdfbxk","f1f5gg8d"],Byoj8tv:"f1jnq6q7",uwmqm3:["f1f5gg8d","f1vdfbxk"],Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",z8tnut:"fp9bwmr",z189sj:["fjodcmx","fhx4nu"],Byoj8tv:"f150uoa4",uwmqm3:["fhx4nu","fjodcmx"],Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],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);}",".f8fbkgy{border-bottom-right-radius:var(--borderRadiusCircular);}",".f1nfllo7{border-bottom-left-radius:var(--borderRadiusCircular);}",".f1djnp8u{border-top-right-radius:var(--borderRadiusCircular);}",".f1s8kh49{border-top-left-radius:var(--borderRadiusCircular);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".fh7ncta{min-width:64px;}",".f1khb0e9{padding-top:3px;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1jnq6q7{padding-bottom:3px;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".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;}",".fp9bwmr{padding-top:8px;}",".fjodcmx{padding-right:var(--spacingHorizontalL);}",".fhx4nu{padding-left:var(--spacingHorizontalL);}",".f150uoa4{padding-bottom:8px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),fm=U({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),dm=U({circular:{kdpuga:["fanj13w","f1gou5sz"],Bw81rd7:["f1gou5sz","fanj13w"],B6xbmo0:["fulf6x3","foeb2x"],dm238s:["foeb2x","fulf6x3"]},rounded:{},square:{kdpuga:["f1ndz5i7","f1co4qro"],Bw81rd7:["f1co4qro","f1ndz5i7"],B6xbmo0:["f146y5a9","f1k2ftg"],dm238s:["f1k2ftg","f146y5a9"]},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"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{kdpuga:["fg3gtdo","fwii5mg"],Bw81rd7:["fwii5mg","fg3gtdo"],B6xbmo0:["f1palphq","f12nxie7"],dm238s:["f12nxie7","f1palphq"]},medium:{},large:{kdpuga:["ft3lys4","f1la4x2g"],Bw81rd7:["f1la4x2g","ft3lys4"],B6xbmo0:["f156y0zm","fakimq4"],dm238s:["fakimq4","f156y0zm"]}},{d:[".fanj13w[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusCircular);}",".f1gou5sz[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusCircular);}",".fulf6x3[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusCircular);}",".foeb2x[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusCircular);}",".f1ndz5i7[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusNone);}",".f1co4qro[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusNone);}",".f146y5a9[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusNone);}",".f1k2ftg[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusNone);}",".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);}",".fg3gtdo[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusSmall);}",".fwii5mg[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusSmall);}",".f1palphq[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusSmall);}",".f12nxie7[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusSmall);}",".ft3lys4[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusLarge);}",".f1la4x2g[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusLarge);}",".f156y0zm[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusLarge);}",".fakimq4[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusLarge);}"],t:["@supports (-moz-appearance:button){.f12k37oa[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;}.fdnykm2[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){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),hm=U({small:{z8tnut:"f1sl3k7w",z189sj:["f136y8j8","f10xn8zz"],Byoj8tv:"f1brlhvm",uwmqm3:["f10xn8zz","f136y8j8"],Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{z8tnut:"f1sbtcvk",z189sj:["fwiuce9","f15vdbe4"],Byoj8tv:"fdghr9",uwmqm3:["f15vdbe4","fwiuce9"],Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{z8tnut:"f1a1bwwz",z189sj:["f18k1jr3","f1rtp3s9"],Byoj8tv:"fy7v416",uwmqm3:["f1rtp3s9","f18k1jr3"],Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[".f1sl3k7w{padding-top:1px;}",".f136y8j8{padding-right:1px;}",".f10xn8zz{padding-left:1px;}",".f1brlhvm{padding-bottom:1px;}",".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",".f1sbtcvk{padding-top:5px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".fdghr9{padding-bottom:5px;}",".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",".f1a1bwwz{padding-top:7px;}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fy7v416{padding-bottom:7px;}",".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),vm=U({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);}"]}),gm=e=>{const r=lm(),t=cm(),n=um(),i=fm(),o=dm(),s=hm(),c=vm(),{appearance:u,disabled:a,disabledFocusable:l,icon:f,iconOnly:v,iconPosition:d,shape:h,size:m}=e;return e.root.className=D(vl.root,r,u&&n[u],n[m],f&&m==="small"&&n.smallWithIcon,f&&m==="large"&&n.largeWithIcon,n[h],(a||l)&&i.base,(a||l)&&i.highContrast,u&&(a||l)&&i[u],u==="primary"&&o.primary,o[m],o[h],v&&s[m],e.root.className),e.icon&&(e.icon.className=D(vl.icon,t,!!e.root.children&&c[d],c[m],e.icon.className)),e},Dn=g.forwardRef((e,r)=>{const t=sm(e,r);return gm(t),Qe("useButtonStyles_unstable")(t),nm(t)});Dn.displayName="Button";const gl=g.createContext(void 0),pm=gl.Provider,pl=()=>g.useContext(gl),mm=e=>{var r,t,n,i;const{generatedControlId:o,orientation:s,required:c,size:u,validationState:a}=e,l=(r=e.label)===null||r===void 0?void 0:r.htmlFor,f=(t=e.label)===null||t===void 0?void 0:t.id,v=(n=e.validationMessage)===null||n===void 0?void 0:n.id,d=(i=e.hint)===null||i===void 0?void 0:i.id;return{field:g.useMemo(()=>({generatedControlId:o,hintId:d,labelFor:l,labelId:f,orientation:s,required:c,size:u,validationMessageId:v,validationState:a}),[o,d,l,f,s,c,u,v,a])}};function ml(e,r){return bl(pl(),e,r)}function bl(e,r,t){if(!e)return r;r={...r};const{generatedControlId:n,hintId:i,labelFor:o,labelId:s,required:c,validationMessageId:u,validationState:a}=e;if(n){var l,f;(f=(l=r).id)!==null&&f!==void 0||(l.id=n)}if(s&&(!(t!=null&&t.supportsLabelFor)||o!==r.id)){var v,d,h;(h=(v=r)[d="aria-labelledby"])!==null&&h!==void 0||(v[d]=s)}if((u||i)&&(r["aria-describedby"]=[u,i,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),a==="error"){var m,w,b;(b=(m=r)[w="aria-invalid"])!==null&&b!==void 0||(m[w]=!0)}if(c)if(t!=null&&t.supportsRequired){var y,P;(P=(y=r).required)!==null&&P!==void 0||(y.required=!0)}else{var x,S,k;(k=(x=r)[S="aria-required"])!==null&&k!==void 0||(x[S]=!0)}if(t!=null&&t.supportsSize){var _,q;(q=(_=r).size)!==null&&q!==void 0||(_.size=e.size)}return r}const bm=(e,r)=>{ke(e);let{children:t}=e;return typeof t=="function"&&(t=t(bl(r.field)||{})),$(pm,{value:r==null?void 0:r.field,children:Ae(e.root,{children:[e.label&&$(e.label,{}),t,e.validationMessage&&Ae(e.validationMessage,{children:[e.validationMessageIcon&&$(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&$(e.hint,{})]})})},ym=(e,r)=>{const{disabled:t=!1,required:n=!1,weight:i="regular",size:o="medium"}=e;return{disabled:t,required:J(n===!0?"*":n||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:i,size:o,components:{root:"label",required:"span"},root:me(Fe("label",{ref:r,...e}),{elementType:"label"})}},wm=e=>(ke(e),Ae(e.root,{children:[e.root.children,e.required&&$(e.required,{})]})),yl={root:"fui-Label",required:"fui-Label__required"},km=U({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o"},required:{sj55zd:"f1whyuy6",uwmqm3:["fycuoez","f8wuabp"]},requiredDisabled:{sj55zd:"f1s2aq7o"},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);}",".fycuoez{padding-left:4px;}",".f8wuabp{padding-right:4px;}",".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);}"]}),xm=e=>{const r=km();return e.root.className=D(yl.root,r.root,e.disabled&&r.disabled,r[e.size],e.weight==="semibold"&&r.semibold,e.root.className),e.required&&(e.required.className=D(yl.required,r.required,e.disabled&&r.requiredDisabled,e.required.className)),e},jr=g.forwardRef((e,r)=>{const t=ym(e,r);return xm(t),Qe("useLabelStyles_unstable")(t),wm(t)});jr.displayName="Label";const Bm={error:g.createElement(Jd,null),warning:g.createElement(kh,null),success:g.createElement(Qd,null),none:void 0},_m=(e,r)=>{const{children:t,orientation:n="vertical",required:i=!1,validationState:o=e.validationMessage?"error":"none",size:s="medium"}=e,c=jt("field-"),u=c+"__control",a=me(Fe("div",{...e,ref:r},["children"]),{elementType:"div"}),l=J(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:i,size:s},elementType:jr}),f=J(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:o==="error"?"alert":void 0},elementType:"div"}),v=J(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),d=Bm[o],h=J(e.validationMessageIcon,{renderByDefault:!!d,defaultProps:{children:d},elementType:"span"});return{children:t,generatedControlId:u,orientation:n,required:i,size:s,validationState:o,components:{root:"div",label:jr,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:a,label:l,validationMessageIcon:h,validationMessage:f,hint:v}},Rr={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},Pm=U({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;}"]}),Sm=U({base:{z8tnut:"fclwglc",Byoj8tv:"fywfov9"},large:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm"},vertical:{jrapky:"fyacil5"},verticalLarge:{jrapky:"f8l5zjj"},horizontal:{t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}"]}),Cm=Re("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);}"]),zm=U({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));}"]}),Tm=Re("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;}"]),Nm=U({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Em=e=>{const{validationState:r}=e,t=e.orientation==="horizontal",n=Pm();e.root.className=D(Rr.root,n.base,t&&n.horizontal,t&&!e.label&&n.horizontalNoLabel,e.root.className);const i=Sm();e.label&&(e.label.className=D(Rr.label,i.base,t&&i.horizontal,!t&&i.vertical,e.label.size==="large"&&i.large,!t&&e.label.size==="large"&&i.verticalLarge,e.label.className));const o=Tm(),s=Nm();e.validationMessageIcon&&(e.validationMessageIcon.className=D(Rr.validationMessageIcon,o,r!=="none"&&s[r],e.validationMessageIcon.className));const c=Cm(),u=zm();e.validationMessage&&(e.validationMessage.className=D(Rr.validationMessage,c,r==="error"&&u.error,!!e.validationMessageIcon&&u.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=D(Rr.hint,c,e.hint.className))},wl=g.forwardRef((e,r)=>{const t=_m(e,r);Em(t);const n=mm(t);return bm(t,n)});wl.displayName="Field";const Je=Ns({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});Je.Provider;const ht=Ns({activeOption:void 0,focusVisible:!1,multiselect:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){}});ht.Provider;function jm(e){const{activeOption:r,appearance:t,focusVisible:n,open:i,registerOption:o,selectedOptions:s,selectOption:c,setActiveOption:u,setOpen:a,size:l}=e;return{combobox:{activeOption:r,appearance:t,focusVisible:n,open:i,registerOption:o,selectedOptions:s,selectOption:c,setActiveOption:u,setOpen:a,size:l}}}function Rm(e){const r=Es(Je),{activeOption:t,focusVisible:n,multiselect:i,registerOption:o,selectedOptions:s,selectOption:c,setActiveOption:u}=e,a=Me(Je,v=>v.registerOption);return{listbox:{activeOption:t,focusVisible:n,multiselect:i,registerOption:r?a:o,selectedOptions:s,selectOption:c,setActiveOption:u}}}function go(e,r={}){const{open:t=!0,multiselect:n=!1}=r,i=e.key,{altKey:o,ctrlKey:s,key:c,metaKey:u}=e;return c.length===1&&i!==yt&&!o&&!s&&!u?"Type":t?i===kn&&o||i===Qt||!n&&i===yt?"CloseSelect":n&&i===yt?"Select":i===Iv?"Close":i===js?"Next":i===kn?"Previous":i===Av?"First":i===qv?"Last":i===Ov?"PageUp":i===Dv?"PageDown":i===jv?"Tab":"None":i===js||i===kn||i===Qt||i===yt?"Open":"None"}function kl(e,r,t){switch(e){case"Next":return Math.min(t,r+1);case"Previous":return Math.max(0,r-1);case"First":return 0;case"Last":return t;case"PageDown":return Math.min(t,r+10);case"PageUp":return Math.max(0,r-10);default:return r}}const xl=()=>{const e=g.useRef([]),r=g.useMemo(()=>({getCount:()=>e.current.length,getOptionAtIndex:a=>{var l;return(l=e.current[a])===null||l===void 0?void 0:l.option},getIndexOfId:a=>e.current.findIndex(l=>l.option.id===a),getOptionById:a=>{const l=e.current.find(f=>f.option.id===a);return l==null?void 0:l.option},getOptionsMatchingText:a=>e.current.filter(l=>a(l.option.text)).map(l=>l.option),getOptionsMatchingValue:a=>e.current.filter(l=>a(l.option.value)).map(l=>l.option)}),[]),t=g.useCallback((n,i)=>{var o;const s=e.current.findIndex(c=>!c.element||!i?!1:c.option.id===n.id?!0:c.element.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_PRECEDING);if(((o=e.current[s])===null||o===void 0?void 0:o.option.id)!==n.id){const c={element:i,option:n};s===-1?e.current=[...e.current,c]:e.current.splice(s,0,c)}return()=>{e.current=e.current.filter(c=>c.option.id!==n.id)}},[]);return{...r,options:e.current.map(n=>n.option),registerOption:t}};function Fm(e){const{activeOption:r}=e,t=g.useRef(null);return g.useEffect(()=>{if(t.current&&r&&nn()){const n=t.current.querySelector(`#${r.id}`);if(!n)return;const{offsetHeight:i,offsetTop:o}=n,{offsetHeight:s,scrollTop:c}=t.current,u=o<c,a=o+i>c+s,l=2;u?t.current.scrollTo(0,o-l):a&&t.current.scrollTo(0,o-s+i+l)}},[r]),t}const Bl=e=>{const{defaultSelectedOptions:r,multiselect:t,onOptionSelect:n}=e,[i,o]=Yt({state:e.selectedOptions,defaultState:r,initialState:[]}),s=gt.useCallback((u,a)=>{if(a.disabled)return;let l=[a.value];if(t){const f=i.findIndex(v=>v===a.value);f>-1?l=[...i.slice(0,f),...i.slice(f+1)]:l=[...i,a.value]}o(l),n==null||n(u,{optionValue:a.value,optionText:a.text,selectedOptions:l})},[n,t,i,o]);return{clearSelection:u=>{o([]),n==null||n(u,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:s,selectedOptions:i}},qm=(e,r)=>{const{multiselect:t}=e,n=xl(),{getCount:i,getOptionAtIndex:o,getIndexOfId:s}=n,{clearSelection:c,selectedOptions:u,selectOption:a}=Bl(e),[l,f]=g.useState(),[v,d]=g.useState(!1),h=F=>{const V=go(F,{open:!0}),X=i()-1,I=l?s(l.id):-1;let B=I;switch(V){case"Select":case"CloseSelect":l&&a(F,l);break;default:B=kl(V,I,X)}B!==I&&(F.preventDefault(),f(o(B)),d(!0))},m=F=>{d(!1)},w=Es(Je),b=Me(Je,F=>F.activeOption),y=Me(Je,F=>F.focusVisible),P=Me(Je,F=>F.selectedOptions),x=Me(Je,F=>F.selectOption),S=Me(Je,F=>F.setActiveOption),k=w?{activeOption:b,focusVisible:y,selectedOptions:P,selectOption:x,setActiveOption:S}:{activeOption:l,focusVisible:v,selectedOptions:u,selectOption:a,setActiveOption:f},_={components:{root:"div"},root:me(Fe("div",{ref:r,role:t?"menu":"listbox","aria-activedescendant":w||l==null?void 0:l.id,"aria-multiselectable":t,tabIndex:0,...e}),{elementType:"div"}),multiselect:t,clearSelection:c,...n,...k},q=Fm(_);return _.root.ref=rt(_.root.ref,q),_.root.onKeyDown=qe(xe(_.root.onKeyDown,h)),_.root.onMouseOver=qe(xe(_.root.onMouseOver,m)),_},Am=(e,r)=>(ke(e),$(ht.Provider,{value:r.listbox,children:$(e.root,{})})),Dm={root:"fui-Listbox"},Om=U({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bpd4iqm:"fpvhumw",oeaueh:"f1yog68k",Bw0xxkn:"f13sgyd8",z8tnut:"f1x4af0m",z189sj:["f7x41pl","fruq291"],Byoj8tv:"fd55psn",uwmqm3:["fruq291","f7x41pl"],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;}",".fpvhumw{outline-width:1px;}",".f1yog68k{outline-style:solid;}",".f13sgyd8{outline-color:var(--colorTransparentStroke);}",".f1x4af0m{padding-top:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fd55psn{padding-bottom:var(--spacingHorizontalXS);}",".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),Im=e=>{const r=Om();return e.root.className=D(Dm.root,r.root,e.root.className),e},On=g.forwardRef((e,r)=>{const t=qm(e,r),n=Rm(t);return Im(t),Qe("useListboxStyles_unstable")(t),Am(t,n)});On.displayName="Listbox";function Mm(e,r){if(e!==void 0)return e;let t="",n=!1;return g.Children.forEach(r,i=>{typeof i=="string"?t+=i:n=!0}),n&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),t}const Lm=(e,r)=>{const{children:t,disabled:n,text:i,value:o}=e,s=g.useRef(null),c=Mm(i,t),u=o??c,a=jt("fluent-option",e.id),l=g.useMemo(()=>({id:a,disabled:n,text:c,value:u}),[a,n,c,u]),f=Me(ht,k=>k.focusVisible),v=Me(ht,k=>k.multiselect),d=Me(ht,k=>k.registerOption),h=Me(ht,k=>{const _=k.selectedOptions;return!!u&&!!_.find(q=>q===u)}),m=Me(ht,k=>k.selectOption),w=Me(ht,k=>k.setActiveOption),b=Me(Je,k=>k.setOpen),y=Me(ht,k=>{var _,q;return((_=k.activeOption)===null||_===void 0?void 0:_.id)!==void 0&&((q=k.activeOption)===null||q===void 0?void 0:q.id)===a});let P=g.createElement(Xd,null);v&&(P=h?g.createElement(Yd,null):"");const x=k=>{var _;if(n){k.preventDefault();return}w(l),v||b==null||b(k,!1),m(k,l),(_=e.onClick)===null||_===void 0||_.call(e,k)};g.useEffect(()=>{if(a&&s.current)return d(l,s.current)},[a,l,d]);const S=v?{role:"menuitemcheckbox","aria-checked":h}:{role:"option","aria-selected":h};return{components:{root:"div",checkIcon:"span"},root:me(Fe("div",{ref:rt(r,s),"aria-disabled":n?"true":void 0,id:a,...S,...e,onClick:x}),{elementType:"div"}),checkIcon:J(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:P},elementType:"span"}),active:y,disabled:n,focusVisible:f,multiselect:v,selected:h}},Hm=e=>(ke(e),Ae(e.root,{children:[e.checkIcon&&$(e.checkIcon,{}),e.root.children]})),_l={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},Vm=U({root:{Bt984gj:"f122n59",Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",z8tnut:"fp2oml8",z189sj:["f1vdfbxk","f1f5gg8d"],Byoj8tv:"f1tdddsa",uwmqm3:["f1f5gg8d","f1vdfbxk"],qhf8xq:"f10pi13n",Jwef8y:"f1knas48",ecr2s2:"fb40n2d"},active:{Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",B80jsxd:"f1nwj1ja",t2ki1e:"ffmd2fr",Bm2nyyq:"f8rth92",Barhvk9:["flthirb","ftkbnf5"],Bw17bha:"f1lh990p",vfts7:["ftkbnf5","flthirb"],xrcqlc:"fc9v8v1",Ihftqj:["f1mwfetb","f18mat8f"],Bcgy8vk:"f1cb6c3",Bhxzhr1:["f18mat8f","f1mwfetb"],B3778ie:["f1ibwz09","f1kp91vd"],d9w3h3:["f1kp91vd","f1ibwz09"],Bl18szs:["f1pix4dl","f13nd1z4"],B4j8arr:["f13nd1z4","f1pix4dl"],B0n5ga8:"f1qw5sz7",s924m2:["f19va7ni","f1a9v3mw"],B1q35kw:"fkkziue",Gp14am:["f1a9v3mw","f19va7ni"],bn5sak:"f1a97anr",By385i5:"f5226zp",Eqx8gd:["fa2bdqt","fei6g0k"],B1piin3:["fei6g0k","fa2bdqt"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",ecr2s2:"fgj9um3",Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"],Bbmb7ep:["f1g3puop","fi2rrw2"],Beyfa6y:["fi2rrw2","f1g3puop"],B7oj6ja:["f1rstyi9","f1s4nn1u"],Btl43ni:["f1s4nn1u","f1rstyi9"],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",Bbusuzp:"f1dcs8yz"}},{d:[".f122n59{align-items:center;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".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);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".f10pi13n{position:relative;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1nwj1ja::after{pointer-events:none;}",".ffmd2fr::after{z-index:1;}",".f8rth92::after{border-top-style:solid;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f1lh990p::after{border-bottom-style:solid;}",".fc9v8v1::after{border-top-width:2px;}",".f1mwfetb::after{border-right-width:2px;}",".f18mat8f::after{border-left-width:2px;}",".f1cb6c3::after{border-bottom-width:2px;}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1pix4dl::after{border-top-right-radius:var(--borderRadiusMedium);}",".f13nd1z4::after{border-top-left-radius:var(--borderRadiusMedium);}",".f1qw5sz7::after{border-top-color:var(--colorStrokeFocus2);}",".f19va7ni::after{border-right-color:var(--colorStrokeFocus2);}",".f1a9v3mw::after{border-left-color:var(--colorStrokeFocus2);}",".fkkziue::after{border-bottom-color:var(--colorStrokeFocus2);}",".f1a97anr::after{top:-2px;}",".f5226zp::after{bottom:-2px;}",".fa2bdqt::after{left:-2px;}",".fei6g0k::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".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;}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}",".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}",".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}",".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}",".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);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),$m=e=>{const{active:r,disabled:t,focusVisible:n,multiselect:i,selected:o}=e,s=Vm();return e.root.className=D(_l.root,s.root,r&&n&&s.active,t&&s.disabled,o&&s.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=D(_l.checkIcon,s.checkIcon,i&&s.multiselectCheck,o&&s.selectedCheck,o&&i&&s.selectedMultiselectCheck,t&&s.checkDisabled,e.checkIcon.className)),e},Pl=g.forwardRef((e,r)=>{const t=Lm(e,r);return $m(t),Qe("useOptionStyles_unstable")(t),Hm(t)});Pl.displayName="Option";const Wm=e=>{const{appearance:r="outline",children:t,editable:n=!1,inlinePopup:i=!1,mountNode:o=void 0,multiselect:s,onOpenChange:c,size:u="medium"}=e,a=xl(),{getOptionAtIndex:l,getOptionsMatchingValue:f}=a,[v,d]=g.useState(),[h,m]=g.useState(!1),[w,b]=g.useState(!1),y=g.useRef(!1),P=Bl(e),{selectedOptions:x}=P,S=Pd(),[k,_]=Yt({state:e.value,initialState:void 0}),q=g.useMemo(()=>{if(k!==void 0)return k;if(S&&e.defaultValue!==void 0)return e.defaultValue;const I=f(B=>x.includes(B)).map(B=>B.text);return s?n?"":I.join(", "):I[0]},[k,n,f,s,e.defaultValue,x]),[F,V]=Yt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),X=g.useCallback((I,B)=>{c==null||c(I,{open:B}),V(B)},[c,V]);return g.useEffect(()=>{if(F&&!v)if(!s&&x.length>0){const I=f(B=>B===x[0]).pop();I&&d(I)}else d(l(0));else F||d(void 0)},[F,t]),{...a,...P,activeOption:v,appearance:r,focusVisible:h,hasFocus:w,ignoreNextBlur:y,inlinePopup:i,mountNode:o,open:F,setActiveOption:d,setFocusVisible:m,setHasFocus:b,setOpen:X,setValue:_,size:u,value:q}};function Um(e){const{positioning:r}=e,n={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",...al(r)},{targetRef:i,containerRef:o}=Gp(n);return[o,i]}function Gm(e,r,t,n,i){const{multiselect:o}=e,{activeOption:s,getCount:c,getIndexOfId:u,getOptionAtIndex:a,ignoreNextBlur:l,open:f,selectOption:v,setActiveOption:d,setFocusVisible:h,setHasFocus:m,setOpen:w}=r,b=g.useRef(null),y=g.useRef(null),P=jt("fluent-listbox",i==null?void 0:i.id),x=rt(i==null?void 0:i.ref,y),S=i&&{id:P,multiselect:o,tabIndex:void 0,...i,ref:x},k={"aria-expanded":f,"aria-activedescendant":f?s==null?void 0:s.id:void 0,role:"combobox",...n,ref:rt(t,n==null?void 0:n.ref,b)},_=qe(xe(B=>{var H;(H=b.current)===null||H===void 0||H.focus()},S==null?void 0:S.onClick)),q=qe(xe(B=>{h(!1)},S==null?void 0:S.onMouseOver)),{targetDocument:F}=mt(),V=qe(B=>{var H;!((H=y.current)===null||H===void 0)&&H.contains(B.target)||w(B,!1),F==null||F.removeEventListener("mouseup",V)}),X=qe(xe(B=>{l.current=!0,F==null||F.addEventListener("mouseup",V)},S==null?void 0:S.onMouseDown)),I=qe(xe(B=>{l.current=!1},S==null?void 0:S.onMouseUp));return S&&(S.onClick=_,S.onMouseOver=q,S.onMouseDown=X,S.onMouseUp=I),k.onBlur=xe(B=>{l.current||w(B,!1),l.current=!1,m(!1)},k.onBlur),k.onClick=xe(B=>{w(B,!f)},k.onClick),k.onFocus=xe(B=>{m(!0)},k.onFocus),k.onKeyDown=xe(B=>{const H=go(B,{open:f,multiselect:o}),Y=c()-1,te=s?u(s.id):-1;let ne=te;switch(H){case"Open":B.preventDefault(),h(!0),w(B,!0);break;case"Close":B.stopPropagation(),B.preventDefault(),w(B,!1);break;case"CloseSelect":!o&&!(s!=null&&s.disabled)&&w(B,!1);case"Select":s&&v(B,s),B.preventDefault();break;case"Tab":!o&&s&&v(B,s);break;default:ne=kl(H,te,Y)}ne!==te&&(B.preventDefault(),d(a(ne)),h(!0))},k.onKeyDown),k.onMouseOver=xe(B=>{h(!1)},k.onMouseOver),[k,S]}const Xm=(e,r)=>{var t;e=ml(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Wm({...e,editable:!0}),{activeOption:i,clearSelection:o,getIndexOfId:s,getOptionsMatchingText:c,hasFocus:u,open:a,selectOption:l,selectedOptions:f,setActiveOption:v,setFocusVisible:d,setOpen:h,setValue:m,value:w}=n,[b,y]=Um(e),{disabled:P,freeform:x,inlinePopup:S,multiselect:k}=e,_=jt("combobox-"),{primary:q,root:F}=xa({props:e,primarySlotTagName:"input",excludedPropNames:["children","size"]}),V=g.useRef(null),X=g.useRef(null),[I,B]=g.useState(!1),H=g.useRef(!1),Y=Q=>{const T=Q==null?void 0:Q.trim().toLowerCase();if(!T||T.length===0)return;const _e=c(He=>He.toLowerCase().indexOf(T)===0);if(_e.length>1&&i){const He=s(i.id),Xe=_e.find(Bt=>s(Bt.id)>=He);return Xe??_e[0]}var Ne;return(Ne=_e[0])!==null&&Ne!==void 0?Ne:void 0};n.selectOption=(Q,T)=>{m(void 0),l(Q,T)};const te=Q=>{!n.open&&!x&&(w&&i&&w.trim().toLowerCase()===(i==null?void 0:i.text.toLowerCase())&&n.selectOption(Q,i),m(void 0))};n.setOpen=(Q,T)=>{P||(!T&&!x&&m(void 0),h(Q,T))};const ne=Q=>{const T=Q.target.value;n.setValue(T);const ie=Y(T);v(ie),d(!0),!k&&f.length===1&&(T.length<1||!ie)&&o(Q)};let ae,de;ae=me(e.input,{defaultProps:{ref:rt((t=e.input)===null||t===void 0?void 0:t.ref,X),type:"text",value:w??"",...q},elementType:"input"});const Le=ae.onKeyDown;ae.onChange=xe(ae.onChange,ne),ae.onBlur=xe(ae.onBlur,te),de=a||u?J(e.listbox,{renderByDefault:!0,defaultProps:{children:e.children},elementType:On}):void 0,[ae,de]=Gm(e,n,r,ae,de);const N=rt(de==null?void 0:de.ref,b);I&&(ae["aria-activedescendant"]=void 0),de&&(de.ref=N);const M=me(e.root,{defaultProps:{"aria-owns":S||de==null?void 0:de.id,...F},elementType:"div"});M.ref=rt(M.ref,y);const A={components:{root:"div",input:"input",expandIcon:"span",listbox:On},root:M,input:ae,listbox:de,expandIcon:J(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-expanded":a,children:g.createElement(Kd,null),role:"button"},elementType:"span"}),...n};A.root.ref=rt(A.root.ref,V);const re=A.input.onKeyDown;A.input.onKeyDown=qe(Q=>{!a&&go(Q)==="Type"&&n.setOpen(Q,!0),Q.key===Rv||Q.key===Fv?B(!0):B(!1);const T=go(Q,{open:a,multiselect:k});if(T==="Type"?H.current=!0:(T==="Open"&&Q.key!==" "||T==="Next"||T==="Previous"||T==="First"||T==="Last"||T==="PageUp"||T==="PageDown")&&(H.current=!1),x&&(H.current||!a)&&Q.key===" "){Le==null||Le(Q);return}re==null||re(Q)});const{onMouseDown:he,onClick:Se}=A.expandIcon||{},Ce=qe(xe(he,()=>{a&&(n.ignoreNextBlur.current=!0)})),ve=qe(xe(Se,Q=>{var T;A.setOpen(Q,!A.open),(T=X.current)===null||T===void 0||T.focus(),d(!1)}));if(A.expandIcon){A.expandIcon.onMouseDown=Ce,A.expandIcon.onClick=ve;const Q=A.expandIcon["aria-label"]||A.expandIcon["aria-labelledby"],T="Open";if(!Q)if(e["aria-labelledby"]){var ge;const ie=(ge=A.expandIcon.id)!==null&&ge!==void 0?ge:`${_}-chevron`,_e=`${ie} ${A.input["aria-labelledby"]}`;A.expandIcon["aria-label"]=T,A.expandIcon.id=ie,A.expandIcon["aria-labelledby"]=_e}else e["aria-label"]?A.expandIcon["aria-label"]=`${T} ${e["aria-label"]}`:A.expandIcon["aria-label"]=T}return A},Km=(e,r)=>(ke(e),$(e.root,{children:Ae(Je.Provider,{value:r.combobox,children:[$(e.input,{}),e.expandIcon&&$(e.expandIcon,{}),e.listbox&&(e.inlinePopup?$(e.listbox,{}):$(dl,{mountNode:e.mountNode,children:$(e.listbox,{})}))]})})),po={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",listbox:"fui-Combobox__listbox"},Zm=U({root:{Bt984gj:"f122n59",Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",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"],Bcgy8vk:"f14pi962",Bw17bha:"f1lh990p",B1q35kw:"f1jc6hxc",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},small:{z189sj:["fdw0yi8","fk8j09s"]},medium:{z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1c1zstj",zhjwy3:["f1lxtadh","f1akhkt"]},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"flmw63s",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"fqhmt4z",B50zh58:["f4ruux4","f1assf6x"]},underline:{De3pzq:"f1c21dwh",Bn0qgzm:"f1vxd6vx",oivjwe:"fg706s2",B9xav0g:"f1c1zstj",Bbmb7ep:["f1krrbdw","f1deotkl"],Beyfa6y:["f1deotkl","f1krrbdw"],B7oj6ja:["f10ostut","f1ozlkrg"],Btl43ni:["f1ozlkrg","f10ostut"]},"filled-lighter":{De3pzq:"fxugw4r",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"filled-darker":{De3pzq:"f16xq7d1",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},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"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]}},{d:[".f122n59{align-items:center;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".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;}",".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);}",".f14pi962::after{border-bottom-width:var(--strokeWidthThick);}",".f1lh990p::after{border-bottom-style:solid;}",".f1jc6hxc::after{border-bottom-color:var(--colorCompoundBrandStroke);}",".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);}",".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1krrbdw{border-bottom-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1ozlkrg{border-top-left-radius:0;}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".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);}",".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);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{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);}"]}),Ym=U({input:{De3pzq:"f1c21dwh",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bqenvij:"f50nw0v",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",z8tnut:"f1g0x7ka",z189sj:["fhxju0i","f1cnd47f"],Byoj8tv:"f1qch9an",uwmqm3:["f1xile11","fqznh8f"]},medium:{Bqenvij:"f1tvdnth",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",z8tnut:"f1g0x7ka",z189sj:["fhxju0i","f1cnd47f"],Byoj8tv:"f1qch9an",uwmqm3:["f1e60jzv","f135dnwl"]},large:{Bqenvij:"f1ihhdec",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",z8tnut:"f1g0x7ka",z189sj:["fhxju0i","f1cnd47f"],Byoj8tv:"f1qch9an",uwmqm3:["fnphzt9","flt1dlf"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".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;}",".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;}",".f50nw0v{height:22px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1g0x7ka{padding-top:0;}",".fhxju0i{padding-right:0;}",".f1cnd47f{padding-left:0;}",".f1qch9an{padding-bottom:0;}",".f1xile11{padding-left:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".fqznh8f{padding-right:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".f1tvdnth{height:30px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1e60jzv{padding-left:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f135dnwl{padding-right:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f1ihhdec{height:38px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".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;}"]}),Qm=U({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},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;}",".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;}"]}),Jm=e=>{const{appearance:r,open:t,size:n}=e,i=`${e.input["aria-invalid"]}`=="true",o=e.input.disabled,s=Zm(),c=Qm(),u=Ym();return e.root.className=D(po.root,s.root,s[r],s[n],!o&&r==="outline"&&s.outlineInteractive,i&&r!=="underline"&&s.invalid,i&&r==="underline"&&s.invalidUnderline,o&&s.disabled,e.root.className),e.input.className=D(po.input,u.input,u[n],o&&u.disabled,e.input.className),e.listbox&&(e.listbox.className=D(po.listbox,s.listbox,!t&&s.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=D(po.expandIcon,c.icon,c[n],o&&c.disabled,e.expandIcon.className)),e},Sl=g.forwardRef((e,r)=>{const t=Xm(e,r),n=jm(t);return Jm(t),Qe("useComboboxStyles_unstable")(t),Km(t,n)});Sl.displayName="Combobox";const e1=(e,r)=>{e=ml(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const t=Ld();var n;const{size:i="medium",appearance:o=(n=t.inputDefaultAppearance)!==null&&n!==void 0?n:"outline",onChange:s}=e;process.env.NODE_ENV!=="production"&&(o==="filled-darker-shadow"||o==="filled-lighter-shadow")&&console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");const[c,u]=Yt({state:e.value,defaultState:e.defaultValue,initialState:""}),a=xa({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),l={size:i,appearance:o,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:me(e.input,{defaultProps:{type:"text",ref:r,...a.primary},elementType:"input"}),contentAfter:J(e.contentAfter,{elementType:"span"}),contentBefore:J(e.contentBefore,{elementType:"span"}),root:me(e.root,{defaultProps:a.root,elementType:"span"})};return l.input.value=c,l.input.onChange=qe(f=>{const v=f.target.value;s==null||s(f,{value:v}),u(v)}),l},t1=e=>(ke(e),Ae(e.root,{children:[e.contentBefore&&$(e.contentBefore,{}),$(e.input,{}),e.contentAfter&&$(e.contentAfter,{})]})),mo={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},r1=Re("r1jtohuq","rl1z2p5",{r:[".r1jtohuq{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;min-height:32px;padding:0 var(--spacingHorizontalMNudge);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);}",'.r1jtohuq::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);}',".r1jtohuq:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1jtohuq:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1jtohuq:focus-within{outline:2px solid transparent;}",".rl1z2p5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;min-height:32px;padding:0 var(--spacingHorizontalMNudge);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);}",'.rl1z2p5::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);}',".rl1z2p5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".rl1z2p5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".rl1z2p5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1jtohuq::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1jtohuq:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.rl1z2p5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.rl1z2p5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),o1=U({small:{sshi5w:"f1pha7fy",uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"],Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",uwmqm3:["f1uw59to","fw5db7e"],z189sj:["fw5db7e","f1uw59to"],Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:"f1rjii52",Belr9w4:"f1r7g2jn"},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",Bbmb7ep:["f1krrbdw","f1deotkl"],Beyfa6y:["f1deotkl","f1krrbdw"],B7oj6ja:["f10ostut","f1ozlkrg"],Btl43ni:["f1ozlkrg","f10ostut"],icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",B3778ie:["f1nf3wye","feulmo5"],d9w3h3:["feulmo5","f1nf3wye"],Bl18szs:["f18vqdqu","f53nyzz"],B4j8arr:["f53nyzz","f18vqdqu"]},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"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"}},{d:[".f1pha7fy{min-height:24px;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".f1r7g2jn{row-gap:var(--spacingHorizontalSNudge);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1krrbdw{border-bottom-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1ozlkrg{border-top-left-radius:0;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".f1nf3wye::after{border-bottom-right-radius:0;}",".feulmo5::after{border-bottom-left-radius:0;}",".f18vqdqu::after{border-top-right-radius:0;}",".f53nyzz::after{border-top-left-radius:0;}",".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;}"],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){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),n1=Re("rvp2gzh",null,[".rvp2gzh{box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalXXS);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".rvp2gzh::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".rvp2gzh::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".rvp2gzh:-ms-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".rvp2gzh::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),i1=U({large:{uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".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);}"]}),a1=Re("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),s1=U({disabled:{sj55zd:"f1s2aq7o"},small:{kwki1k:"f3u2cy0"},medium:{},large:{kwki1k:"fa420co"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3u2cy0>svg{font-size:16px;}",".fa420co>svg{font-size:24px;}"]}),l1=e=>{const{size:r,appearance:t}=e,n=e.input.disabled,i=`${e.input["aria-invalid"]}`=="true",o=t.startsWith("filled"),s=o1(),c=i1(),u=s1();e.root.className=D(mo.root,r1(),s[r],s[t],!n&&t==="outline"&&s.outlineInteractive,!n&&t==="underline"&&s.underlineInteractive,!n&&o&&s.filledInteractive,o&&s.filled,!n&&i&&s.invalid,n&&s.disabled,e.root.className),e.input.className=D(mo.input,n1(),r==="large"&&c.large,n&&c.disabled,e.input.className);const a=[a1(),n&&u.disabled,u[r]];return e.contentBefore&&(e.contentBefore.className=D(mo.contentBefore,...a,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=D(mo.contentAfter,...a,e.contentAfter.className)),e},In=g.forwardRef((e,r)=>{const t=e1(e,r);return l1(t),Qe("useInputStyles_unstable")(t),t1(t)});In.displayName="Input";const c1=e=>{const{presenceOnly:r,textPosition:t}=e;ke(e);const n=r?e.presence&&$(e.presence,{}):e.avatar&&$(e.avatar,{});return Ae(e.root,{children:[(t==="after"||t==="below")&&n,e.primaryText&&$(e.primaryText,{}),e.secondaryText&&$(e.secondaryText,{}),e.tertiaryText&&$(e.tertiaryText,{}),e.quaternaryText&&$(e.quaternaryText,{}),t==="before"&&n]})},u1=(e,r)=>{const{name:t,presenceOnly:n=!1,size:i="medium",textAlignment:o="start",textPosition:s="after"}=e,c=J(e.primaryText,{renderByDefault:!0,defaultProps:{children:t},elementType:"span"}),u=J(e.secondaryText,{elementType:"span"}),a=J(e.tertiaryText,{elementType:"span"}),l=J(e.quaternaryText,{elementType:"span"});return{numTextLines:[c,u,a,l].filter(Boolean).length,presenceOnly:n,size:i,textAlignment:o,textPosition:s,components:{root:"div",avatar:Bn,presence:zr,primaryText:"span",secondaryText:"span",tertiaryText:"span",quaternaryText:"span"},root:me(Fe("div",{...e,ref:r},["name"]),{elementType:"div"}),avatar:n?void 0:J(e.avatar,{renderByDefault:!0,defaultProps:{name:t,badge:e.presence,size:d1[i]},elementType:Bn}),presence:n?J(e.presence,{defaultProps:{size:f1[i]},elementType:zr}):void 0,primaryText:c,secondaryText:u,tertiaryText:a,quaternaryText:l}},f1={"extra-small":"tiny",small:"extra-small",medium:"small",large:"medium","extra-large":"large",huge:"large"},d1={"extra-small":20,small:28,medium:32,large:36,"extra-large":40,huge:56},Ot={root:"fui-Persona",avatar:"fui-Persona__avatar",presence:"fui-Persona__presence",primaryText:"fui-Persona__primaryText",secondaryText:"fui-Persona__secondaryText",tertiaryText:"fui-Persona__tertiaryText",quaternaryText:"fui-Persona__quaternaryText"},h1=Re("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;}"]),v1=U({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;}"]}),g1=U({"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);}"]}),p1=U({small:{Bs1gm4r:"f1e48tse"}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]}),m1=e=>{const{presenceOnly:r,size:t,textAlignment:n,textPosition:i}=e,o=r&&n==="start"&&t!=="extra-large"&&t!=="huge",s=i!=="below"&&n==="center",{primaryTextClassName:c,optionalTextClassName:u}=k1(e,o),a=h1(),l=v1(),f=g1(),v={...f,...p1()};return e.root.className=D(Ot.root,a,s&&l.beforeAfterCenter,l[i],e.root.className),e.avatar&&(e.avatar.className=D(Ot.avatar,i!=="below"&&l.media,s&&l.mediaBeforeAfterCenter,l[n],f[t],f[i],e.avatar.className)),e.presence&&(e.presence.className=D(Ot.presence,i!=="below"&&l.media,s&&l.mediaBeforeAfterCenter,l[n],v[t],v[i],i==="after"&&o&&l.afterAlignToPrimary,i==="before"&&o&&l.beforeAlignToPrimary,e.presence.className)),e.primaryText&&(e.primaryText.className=D(Ot.primaryText,s&&l.primary,c,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=D(Ot.secondaryText,s&&l.secondary,u,l.secondLineSpacing,e.secondaryText.className)),e.tertiaryText&&(e.tertiaryText.className=D(Ot.tertiaryText,s&&l.tertiary,u,e.tertiaryText.className)),e.quaternaryText&&(e.quaternaryText.className=D(Ot.quaternaryText,s&&l.quaternary,u,e.quaternaryText.className)),e},b1=Re("rvj41k9",null,[".rvj41k9{display:block;color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}"]),y1=Re("rp1pf9e",null,[".rp1pf9e{display:block;color:var(--colorNeutralForeground2);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),w1=U({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);}"]}),k1=(e,r)=>{const{presenceOnly:t,size:n,textPosition:i}=e,o=b1(),s=y1(),c=w1();let u,a;return t?(n==="extra-small"?u=e.numTextLines<=1&&c.caption1:(n==="extra-large"||n==="huge")&&(u=c.subtitle2),r&&(i==="before"?a=c.beforeAlignToPrimary:i==="after"&&(a=c.afterAlignToPrimary))):(n==="huge"||n==="extra-large")&&(u=c.subtitle2),{primaryTextClassName:D(o,u,a),optionalTextClassName:D(s,!t&&n==="huge"&&c.body1,a)}},Cl=g.forwardRef((e,r)=>{const t=u1(e,r);return m1(t),Qe("usePersonaStyles_unstable")(t),c1(t)});Cl.displayName="Persona";const x1=()=>g.createElement("svg",{className:"fui-Spinner__Progressbar"},g.createElement("circle",{className:"fui-Spinner__Track"}),g.createElement("circle",{className:"fui-Spinner__Tail"})),zl=g.createContext(void 0),B1={};zl.Provider;const _1=()=>{var e;return(e=g.useContext(zl))!==null&&e!==void 0?e:B1},P1=(e,r)=>{const{size:t}=_1(),{appearance:n="primary",labelPosition:i="after",size:o=t??"medium",delay:s=0}=e,c=jt("spinner"),{role:u="progressbar",tabIndex:a,...l}=e,f=me(Fe("div",{ref:r,role:u,...l},["size"]),{elementType:"div"}),[v,d]=g.useState(!0),[h,m]=Cd();g.useEffect(()=>{if(!(s<=0))return d(!1),h(()=>{d(!0)},s),()=>{m()}},[h,m,s]);const w=J(e.label,{defaultProps:{id:c},renderByDefault:!1,elementType:jr}),b=J(e.spinner,{renderByDefault:!0,defaultProps:{children:g.createElement(x1,null),tabIndex:a},elementType:"span"});return w&&f&&!f["aria-labelledby"]&&(f["aria-labelledby"]=w.id),{appearance:n,delay:s,labelPosition:i,size:o,shouldRenderSpinner:v,components:{root:"div",spinner:"span",label:jr},root:f,spinner:b,label:w}},S1=e=>{ke(e);const{labelPosition:r,shouldRenderSpinner:t}=e;return Ae(e.root,{children:[e.label&&t&&(r==="above"||r==="before")&&$(e.label,{}),e.spinner&&t&&$(e.spinner,{}),e.label&&t&&(r==="below"||r==="after")&&$(e.label,{})]})},Mn={root:"fui-Spinner",spinner:"fui-Spinner__spinner",label:"fui-Spinner__label"},C1=U({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bg96gwp:"fez10in",i8kkvl:"f4px1ci",Belr9w4:"fn67r4l"},horizontal:{Beiy3e4:"f1063pyq"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fez10in{line-height:0;}",".f4px1ci{column-gap:8px;}",".fn67r4l{row-gap:8px;}",".f1063pyq{flex-direction:row;}",".f1vx9l62{flex-direction:column;}"]}),z1=U({spinnerSVG:{B3aqqti:"f1or16p5",Brovlpu:"f1grzc83",Bxa1mx5:"f19shzzi",Bwaue66:["f5tbecn","f15qb8s7"],fyp1ls:"fn4mtlg",ag6ruv:"f1y80fxs",osj692:"f1r2crtq",aq5vjd:"f1wsi8sr",tlu9e1:"f1bkm2qd",J3u96z:"f1urqz7h",d32isg:"f1da2vov",Bsvqbuc:"f11rfva0",b3s3i5:"f1exc66"},"extra-tiny":{Bah9ito:"f1x2gjcb",ut6tcf:"f1vjiaua",B7p06xz:"fv1u54w",B807ibg:"f1oebb0s"},tiny:{Bah9ito:"f1j4wmu2",ut6tcf:"f1vppzuq",B7p06xz:"fv1u54w",B807ibg:"fngtx1d"},"extra-small":{Bah9ito:"fmpqlna",ut6tcf:"f15z5jzu",B7p06xz:"fv1u54w",B807ibg:"fadawes"},small:{Bah9ito:"fo52gbo",ut6tcf:"f1b41i3v",B7p06xz:"fv1u54w",B807ibg:"f1xqyyrl"},medium:{Bah9ito:"f1aiqagr",ut6tcf:"f1wtx80b",B7p06xz:"f1flujpd",B807ibg:"f1u06hy7"},large:{Bah9ito:"f1trdq7b",ut6tcf:"f9e0mc5",B7p06xz:"f1flujpd",B807ibg:"f13pmvhl"},"extra-large":{Bah9ito:"f89rf2a",ut6tcf:"f1w2xg3q",B7p06xz:"f1flujpd",B807ibg:"fmn74v6"},huge:{Bah9ito:"f1rx7k5y",ut6tcf:"f1vtyt49",B7p06xz:"f1owbg48",B807ibg:"f1fr1izd"}},{f:[".f1or16p5:focus{outline-width:3px;}",".f1grzc83:focus{outline-style:solid;}",".f19shzzi:focus{outline-color:transparent;}"],k:["@keyframes fb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}","@keyframes f1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],d:[".f5tbecn>svg{animation-name:fb7n1on;}",".f15qb8s7>svg{animation-name:f1gx3jof;}",".fn4mtlg>svg{animation-duration:3s;}",".f1y80fxs>svg{animation-iteration-count:infinite;}",".f1r2crtq>svg{animation-timing-function:linear;}",".f1wsi8sr>svg{background-color:transparent;}",".f1da2vov>svg>circle{cx:50%;}",".f11rfva0>svg>circle{cy:50%;}",".f1exc66>svg>circle{fill:none;}",".f1x2gjcb>svg{height:16px;}",".f1vjiaua>svg{width:16px;}",".fv1u54w>svg>circle{stroke-width:var(--strokeWidthThick);}",".f1oebb0s>svg>circle{r:7px;}",".f1j4wmu2>svg{height:20px;}",".f1vppzuq>svg{width:20px;}",".fngtx1d>svg>circle{r:9px;}",".fmpqlna>svg{height:24px;}",".f15z5jzu>svg{width:24px;}",".fadawes>svg>circle{r:11px;}",".fo52gbo>svg{height:28px;}",".f1b41i3v>svg{width:28px;}",".f1xqyyrl>svg>circle{r:13px;}",".f1aiqagr>svg{height:32px;}",".f1wtx80b>svg{width:32px;}",".f1flujpd>svg>circle{stroke-width:var(--strokeWidthThicker);}",".f1u06hy7>svg>circle{r:14.5px;}",".f1trdq7b>svg{height:36px;}",".f9e0mc5>svg{width:36px;}",".f13pmvhl>svg>circle{r:16.5px;}",".f89rf2a>svg{height:40px;}",".f1w2xg3q>svg{width:40px;}",".fmn74v6>svg>circle{r:18.5px;}",".f1rx7k5y>svg{height:44px;}",".f1vtyt49>svg{width:44px;}",".f1owbg48>svg>circle{stroke-width:var(--strokeWidthThickest);}",".f1fr1izd>svg>circle{r:20px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1bkm2qd>svg{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1urqz7h>svg{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),T1=U({inverted:{gwg7kz:"f1jvpmnu",Bvrehnu:"fq8a5sv",Bidp6o:"f1b4lwqj",cq3kgi:"f1najlst",Btwiser:"fjxod4",B8001xd:"fu3xdw0",Bdordwa:["f1ttdh6v","fmyjox0"],Bo2mdfu:"f1eseayc",E10nrc:"folzdkc",Bwl7w15:"fhlfkde",Bksq7rz:"f1esql28"},primary:{gwg7kz:"f11ditju",B8k2rxp:"f1m9nikz",Bvrehnu:"fq8a5sv",Bidp6o:"f1b4lwqj",cq3kgi:"f1najlst",Btwiser:"fjxod4",B8001xd:"fu3xdw0",Bdordwa:["f1ttdh6v","fmyjox0"],Bo2mdfu:"f1eseayc",E10nrc:"folzdkc",Bwl7w15:"fhlfkde",Bksq7rz:"f13qeqtg",y14cdu:"flglbw1"}},{d:[".f1jvpmnu>svg>circle.fui-Spinner__Tail{stroke:var(--colorNeutralStrokeOnBrand2);}",".fq8a5sv>svg>circle.fui-Spinner__Tail{animation-name:f1v1ql0f;}",".f1b4lwqj>svg>circle.fui-Spinner__Tail{animation-duration:1.5s;}",".f1najlst>svg>circle.fui-Spinner__Tail{animation-iteration-count:infinite;}",".fjxod4>svg>circle.fui-Spinner__Tail{animation-timing-function:var(--curveEasyEase);}",".fu3xdw0>svg>circle.fui-Spinner__Tail{stroke-linecap:round;}",".f1ttdh6v>svg>circle.fui-Spinner__Tail{transform:rotate(-90deg);}",".fmyjox0>svg>circle.fui-Spinner__Tail{transform:rotate(90deg);}",".f1eseayc>svg>circle.fui-Spinner__Tail{transform-origin:50% 50%;}",".f1esql28>svg>circle.fui-Spinner__Track{stroke:rgba(255, 255, 255, 0.2);}",".f11ditju>svg>circle.fui-Spinner__Tail{stroke:var(--colorBrandStroke1);}",".f13qeqtg>svg>circle.fui-Spinner__Track{stroke:var(--colorBrandStroke2Contrast);}"],k:["@keyframes f1v1ql0f{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"],m:[["@media screen and (prefers-reduced-motion: reduce){.folzdkc>svg>circle.fui-Spinner__Tail{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fhlfkde>svg>circle.fui-Spinner__Tail{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (forced-colors: active){.f1m9nikz>svg>circle.fui-Spinner__Tail{stroke:var(--colorNeutralStrokeOnBrand2);}}",{m:"screen and (forced-colors: active)"}],["@media screen and (forced-colors: active){.flglbw1>svg>circle.fui-Spinner__Track{stroke:var(--colorNeutralBackgroundInverted);}}",{m:"screen and (forced-colors: active)"}]]}),N1=U({inverted:{sj55zd:"f15aqcq"},primary:{},"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:[".f15aqcq{color:rgba(255, 255, 255, 1);}",".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);}"]}),E1=e=>{const{labelPosition:r,size:t,appearance:n="primary"}=e,i=C1(),o=z1(),s=N1(),c=T1();return e.root.className=D(Mn.root,i.root,(r==="above"||r==="below")&&i.vertical,(r==="before"||r==="after")&&i.horizontal,e.root.className),e.spinner&&(e.spinner.className=D(Mn.spinner,o.spinnerSVG,o[t],c[n],e.spinner.className)),e.label&&(e.label.className=D(Mn.label,s[t],s[n],e.label.className)),e},bo=g.forwardRef((e,r)=>{const t=P1(e,r);return E1(t),Qe("useSpinnerStyles_unstable")(t),S1(t)});bo.displayName="Spinner";const j1=(e,r)=>{const{wrap:t,truncate:n,block:i,italic:o,underline:s,strikethrough:c,size:u,font:a,weight:l,align:f}=e;return{align:f??"start",block:i??!1,font:a??"base",italic:o??!1,size:u??300,strikethrough:c??!1,truncate:n??!1,underline:s??!1,weight:l??"regular",wrap:t??!0,components:{root:"span"},root:me(Fe("span",{ref:r,...e}),{elementType:"span"})}},R1=e=>(ke(e),$(e.root,{})),F1={root:"fui-Text"},q1=U({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:"f1mtd64y",Bmxbyg5:"f1y7q3j9",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw"},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;}",".f1mtd64y{overflow-x:visible;}",".f1y7q3j9{overflow-y:visible;}",".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",".f1p9o1ba{overflow-x:hidden;}",".f1sil6mw{overflow-y:hidden;}",".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;}"]}),A1=e=>{const r=q1();return e.root.className=D(F1.root,r.root,e.wrap===!1&&r.nowrap,e.truncate&&r.truncate,e.block&&r.block,e.italic&&r.italic,e.underline&&r.underline,e.strikethrough&&r.strikethrough,e.underline&&e.strikethrough&&r.strikethroughUnderline,e.size===100&&r.base100,e.size===200&&r.base200,e.size===400&&r.base400,e.size===500&&r.base500,e.size===600&&r.base600,e.size===700&&r.hero700,e.size===800&&r.hero800,e.size===900&&r.hero900,e.size===1e3&&r.hero1000,e.font==="monospace"&&r.monospace,e.font==="numeric"&&r.numeric,e.weight==="medium"&&r.weightMedium,e.weight==="semibold"&&r.weightSemibold,e.weight==="bold"&&r.weightBold,e.align==="center"&&r.alignCenter,e.align==="end"&&r.alignEnd,e.align==="justify"&&r.alignJustify,e.root.className),e};function Tl(e){const{useStyles:r,className:t,displayName:n}=e,i=g.forwardRef((o,s)=>{const c=r(),u=j1(o,s);return A1(u),u.root.className=D(t,u.root.className,c.root,o.className),R1(u)});return i.displayName=n,i}const D1=Tl({useStyles:U({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),className:{root:"fui-Body1"}.root,displayName:"Body1"}),O1=Tl({useStyles:U({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),className:{root:"fui-Caption1"}.root,displayName:"Caption1"}),I1=e=>{const r=e<=0?1:e;return process.env.NODE_ENV!=="production"&&e<=0&&console.error(`The prop 'max' must be greater than 0. Received max: ${e}`),r},M1=(e,r)=>{if(e===void 0)return e;const t=e<0?0:e>r?r:e;return process.env.NODE_ENV!=="production"&&(e<0&&console.error(`The prop 'value' must be greater than or equal to zero. Received value: ${e}`),e>r&&console.error(`The prop 'value' must be less than or equal to 'max'. Received value: ${e}, max: ${r}`)),t},L1=(e,r)=>{const t=pl(),n=t==null?void 0:t.validationState,{color:i=n==="error"||n==="warning"||n==="success"?n:"brand",shape:o="rounded",thickness:s="medium"}=e;var c;const u=I1((c=e.max)!==null&&c!==void 0?c:1),a=M1(e.value,u),l=me(Fe("div",{ref:r,role:"progressbar","aria-valuemin":a!==void 0?0:void 0,"aria-valuemax":a!==void 0?u:void 0,"aria-valuenow":a,"aria-labelledby":t==null?void 0:t.labelId,...e}),{elementType:"div"});t&&(t.validationMessageId||t.hintId)&&(l["aria-describedby"]=[t==null?void 0:t.validationMessageId,t==null?void 0:t.hintId,l["aria-describedby"]].filter(Boolean).join(" "));const f=me(e.bar,{elementType:"div"});return{color:i,max:u,shape:o,thickness:s,value:a,components:{root:"div",bar:"div"},root:l,bar:f}},H1=e=>(ke(e),$(e.root,{children:e.bar&&$(e.bar,{})})),Nl={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},V1=.01,$1=U({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw",Bpep1pd:"fu42dvn"},rounded:{Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"]},square:{Bbmb7ep:["fzi6hpg","fyowgf4"],Beyfa6y:["fyowgf4","fzi6hpg"],B7oj6ja:["f3fg2lr","f13av6d4"],Btl43ni:["f13av6d4","f3fg2lr"]},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",".f1p9o1ba{overflow-x:hidden;}",".f1sil6mw{overflow-y:hidden;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),W1=U({base:{Bpep1pd:"f1neahkh",Bbmb7ep:["f1d9uwra","fzibvwi"],Beyfa6y:["fzibvwi","f1d9uwra"],B7oj6ja:["fuoumxm","f1vtqnvc"],Btl43ni:["f1vtqnvc","fuoumxm"],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",Gqtpxc:"f4akx1t",B3vm3ge:"f18p5put"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1neahkh{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f4akx1t{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f18p5put{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[".f1d9uwra{border-bottom-right-radius:inherit;}",".fzibvwi{border-bottom-left-radius:inherit;}",".fuoumxm{border-top-right-radius:inherit;}",".f1vtqnvc{border-top-left-radius:inherit;}",".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(
146
+ `,'We suggest to use the "trapFocus" prop on Fluent components or a catch "ref" and then use','"ref.current.focus" in React.useEffect():',"https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element"].join(" "))}}},[]);const l=qn(null,d=>{t.current!==d&&(t.current=d,u())}),f=qn(null,d=>{i.current!==d&&(i.current=d,u())}),v=qn(null,d=>{o.current!==d&&(o.current=d,u())});return{targetRef:l,containerRef:f,arrowRef:v}}function tm(e){const{align:r,arrowPadding:t,autoSize:n,coverTarget:i,flipBoundary:o,offset:s,overflowBoundary:c,pinned:u,position:a,unstable_disableTether:l,positionFixed:f,strategy:v,overflowBoundaryPadding:d,fallbackPositions:h,useTransform:m,matchTargetSize:w}=e,{dir:b,targetDocument:y}=mt(),S=b==="rtl",x=v??f?"fixed":"absolute",P=Ep(n);return g.useCallback((k,_)=>{const q=mp(k),F=[P&&qp(P),w&&Mp(),s&&Dp(s),i&&jp(),!u&&Rp({container:k,flipBoundary:o,hasScrollableElement:q,isRtl:S,fallbackPositions:h}),Ip({container:k,hasScrollableElement:q,overflowBoundary:c,disableTether:l,overflowBoundaryPadding:d,isRtl:S}),P&&Ap(P,{container:k,overflowBoundary:c}),Fp(),_&&Wg({element:_,padding:t}),Zs({strategy:"referenceHidden"}),Zs({strategy:"escaped"}),process.env.NODE_ENV!=="production"&&y&&Yp(y,Jp(e))].filter(Boolean);return{placement:ul(r,a,S),middleware:F,strategy:x,useTransform:m}},[r,t,P,i,l,o,S,s,c,u,a,x,d,h,m,w,y])}function rm(e){return Rt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}var On=()=>g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current,hl=Symbol.for("react.strict_mode"),om=()=>{if(process.env.NODE_ENV==="production")return!1;const e=g.useRef(void 0),r=g.useMemo(()=>Number(g.version.split(".")[0]),[g.version]);if(isNaN(r)||r<18)return!1;if(e.current===void 0){let t=On();for(;t&&t.return;)t=t.return,(t.type===hl||t.elementType===hl)&&(e.current=!0)}return!!e.current},vl=new WeakSet;function nm(e,r){const t=On();g.useEffect(()=>{if(!vl.has(t)){vl.add(t),e();return}return e()},r)}var gl=new WeakSet;function im(e,r){return g.useMemo(()=>{const t=On();return gl.has(t)?e():(gl.add(t),null)},r)}function am(e,r){var t;const n=om()&&process.env.NODE_ENV!=="production",i=n?im:g.useMemo,o=n?nm:g.useEffect,[s,c]=(t=i(()=>e(),r))!=null?t:[null,()=>null];return o(()=>c,r),s}const sm=U({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;}"]}),pl=g.useInsertionEffect,lm=e=>{const{targetDocument:r,dir:t}=mt(),n=Zd(),i=Ev(),o=sm(),s=Ud(),c=O(s,o.root,e.className),u=n??(r==null?void 0:r.body),a=am(()=>{if(u===void 0||e.disabled)return[null,()=>null];const l=u.ownerDocument.createElement("div");return u.appendChild(l),[l,()=>l.remove()]},[u]);return pl?pl(()=>{if(!a)return;const l=c.split(" ").filter(Boolean);return a.classList.add(...l),a.setAttribute("dir",t),i.current=a,()=>{a.classList.remove(...l),a.removeAttribute("dir")}},[c,t,a,i]):g.useMemo(()=>{a&&(a.className=c,a.setAttribute("dir",t),i.current=a)},[c,t,a,i]),a},cm=e=>{const{element:r,className:t}=rm(e.mountNode),n=g.useRef(null),i=lm({disabled:!!r,className:t}),o={children:e.children,mountNode:r??i,virtualParentRootRef:n};return g.useEffect(()=>(o.virtualParentRootRef.current&&o.mountNode&&Ta(o.mountNode,o.virtualParentRootRef.current),()=>{o.mountNode&&Ta(o.mountNode,void 0)}),[o.virtualParentRootRef,o.mountNode]),o},um=e=>g.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&gc.createPortal(e.children,e.mountNode)),ml=e=>{const r=cm(e);return um(r)};ml.displayName="Portal";const fm=e=>{ke(e);const{iconOnly:r,iconPosition:t}=e;return Ae(e.root,{children:[t!=="after"&&e.icon&&$(e.icon,{}),!r&&e.root.children,t==="after"&&e.icon&&$(e.icon,{})]})},bl=g.createContext(void 0),dm={};bl.Provider;const hm=()=>{var e;return(e=g.useContext(bl))!==null&&e!==void 0?e:dm},vm=(e,r)=>{const{size:t}=hm(),{appearance:n="secondary",as:i="button",disabled:o=!1,disabledFocusable:s=!1,icon:c,iconPosition:u="before",shape:a="rounded",size:l=t??"medium"}=e,f=J(c,{elementType:"span"});return{appearance:n,disabled:o,disabledFocusable:s,iconPosition:u,shape:a,size:l,iconOnly:!!(f!=null&&f.children&&!e.children),components:{root:"button",icon:"span"},root:me(Fe(i,Xv(e,{required:!0,defaultProps:{ref:r,type:"button"}})),{elementType:"button"}),icon:f}},yl={root:"fui-Button",icon:"fui-Button__icon"},gm=Re("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),pm=Re("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);}"]),mm=U({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Bbmb7ep:["f8fbkgy","f1nfllo7"],Beyfa6y:["f1nfllo7","f8fbkgy"],B7oj6ja:["f1djnp8u","f1s8kh49"],Btl43ni:["f1s8kh49","f1djnp8u"]},rounded:{},square:{Bbmb7ep:["fzi6hpg","fyowgf4"],Beyfa6y:["fyowgf4","fzi6hpg"],B7oj6ja:["f3fg2lr","f13av6d4"],Btl43ni:["f13av6d4","f3fg2lr"]},small:{Bf4jedk:"fh7ncta",z8tnut:"f1khb0e9",z189sj:["f1vdfbxk","f1f5gg8d"],Byoj8tv:"f1jnq6q7",uwmqm3:["f1f5gg8d","f1vdfbxk"],Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",z8tnut:"fp9bwmr",z189sj:["fjodcmx","fhx4nu"],Byoj8tv:"f150uoa4",uwmqm3:["fhx4nu","fjodcmx"],Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],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);}",".f8fbkgy{border-bottom-right-radius:var(--borderRadiusCircular);}",".f1nfllo7{border-bottom-left-radius:var(--borderRadiusCircular);}",".f1djnp8u{border-top-right-radius:var(--borderRadiusCircular);}",".f1s8kh49{border-top-left-radius:var(--borderRadiusCircular);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".fh7ncta{min-width:64px;}",".f1khb0e9{padding-top:3px;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1jnq6q7{padding-bottom:3px;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".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;}",".fp9bwmr{padding-top:8px;}",".fjodcmx{padding-right:var(--spacingHorizontalL);}",".fhx4nu{padding-left:var(--spacingHorizontalL);}",".f150uoa4{padding-bottom:8px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),bm=U({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),ym=U({circular:{kdpuga:["fanj13w","f1gou5sz"],Bw81rd7:["f1gou5sz","fanj13w"],B6xbmo0:["fulf6x3","foeb2x"],dm238s:["foeb2x","fulf6x3"]},rounded:{},square:{kdpuga:["f1ndz5i7","f1co4qro"],Bw81rd7:["f1co4qro","f1ndz5i7"],B6xbmo0:["f146y5a9","f1k2ftg"],dm238s:["f1k2ftg","f146y5a9"]},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"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{kdpuga:["fg3gtdo","fwii5mg"],Bw81rd7:["fwii5mg","fg3gtdo"],B6xbmo0:["f1palphq","f12nxie7"],dm238s:["f12nxie7","f1palphq"]},medium:{},large:{kdpuga:["ft3lys4","f1la4x2g"],Bw81rd7:["f1la4x2g","ft3lys4"],B6xbmo0:["f156y0zm","fakimq4"],dm238s:["fakimq4","f156y0zm"]}},{d:[".fanj13w[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusCircular);}",".f1gou5sz[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusCircular);}",".fulf6x3[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusCircular);}",".foeb2x[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusCircular);}",".f1ndz5i7[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusNone);}",".f1co4qro[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusNone);}",".f146y5a9[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusNone);}",".f1k2ftg[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusNone);}",".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);}",".fg3gtdo[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusSmall);}",".fwii5mg[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusSmall);}",".f1palphq[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusSmall);}",".f12nxie7[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusSmall);}",".ft3lys4[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusLarge);}",".f1la4x2g[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusLarge);}",".f156y0zm[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusLarge);}",".fakimq4[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusLarge);}"],t:["@supports (-moz-appearance:button){.f12k37oa[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;}.fdnykm2[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){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),wm=U({small:{z8tnut:"f1sl3k7w",z189sj:["f136y8j8","f10xn8zz"],Byoj8tv:"f1brlhvm",uwmqm3:["f10xn8zz","f136y8j8"],Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{z8tnut:"f1sbtcvk",z189sj:["fwiuce9","f15vdbe4"],Byoj8tv:"fdghr9",uwmqm3:["f15vdbe4","fwiuce9"],Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{z8tnut:"f1a1bwwz",z189sj:["f18k1jr3","f1rtp3s9"],Byoj8tv:"fy7v416",uwmqm3:["f1rtp3s9","f18k1jr3"],Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[".f1sl3k7w{padding-top:1px;}",".f136y8j8{padding-right:1px;}",".f10xn8zz{padding-left:1px;}",".f1brlhvm{padding-bottom:1px;}",".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",".f1sbtcvk{padding-top:5px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".fdghr9{padding-bottom:5px;}",".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",".f1a1bwwz{padding-top:7px;}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fy7v416{padding-bottom:7px;}",".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),km=U({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);}"]}),xm=e=>{const r=gm(),t=pm(),n=mm(),i=bm(),o=ym(),s=wm(),c=km(),{appearance:u,disabled:a,disabledFocusable:l,icon:f,iconOnly:v,iconPosition:d,shape:h,size:m}=e;return e.root.className=O(yl.root,r,u&&n[u],n[m],f&&m==="small"&&n.smallWithIcon,f&&m==="large"&&n.largeWithIcon,n[h],(a||l)&&i.base,(a||l)&&i.highContrast,u&&(a||l)&&i[u],u==="primary"&&o.primary,o[m],o[h],v&&s[m],e.root.className),e.icon&&(e.icon.className=O(yl.icon,t,!!e.root.children&&c[d],c[m],e.icon.className)),e},Dn=g.forwardRef((e,r)=>{const t=vm(e,r);return xm(t),Qe("useButtonStyles_unstable")(t),fm(t)});Dn.displayName="Button";const wl=g.createContext(void 0),Bm=wl.Provider,kl=()=>g.useContext(wl),_m=e=>{var r,t,n,i;const{generatedControlId:o,orientation:s,required:c,size:u,validationState:a}=e,l=(r=e.label)===null||r===void 0?void 0:r.htmlFor,f=(t=e.label)===null||t===void 0?void 0:t.id,v=(n=e.validationMessage)===null||n===void 0?void 0:n.id,d=(i=e.hint)===null||i===void 0?void 0:i.id;return{field:g.useMemo(()=>({generatedControlId:o,hintId:d,labelFor:l,labelId:f,orientation:s,required:c,size:u,validationMessageId:v,validationState:a}),[o,d,l,f,s,c,u,v,a])}};function xl(e,r){return Bl(kl(),e,r)}function Bl(e,r,t){if(!e)return r;r={...r};const{generatedControlId:n,hintId:i,labelFor:o,labelId:s,required:c,validationMessageId:u,validationState:a}=e;if(n){var l,f;(f=(l=r).id)!==null&&f!==void 0||(l.id=n)}if(s&&(!(t!=null&&t.supportsLabelFor)||o!==r.id)){var v,d,h;(h=(v=r)[d="aria-labelledby"])!==null&&h!==void 0||(v[d]=s)}if((u||i)&&(r["aria-describedby"]=[u,i,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),a==="error"){var m,w,b;(b=(m=r)[w="aria-invalid"])!==null&&b!==void 0||(m[w]=!0)}if(c)if(t!=null&&t.supportsRequired){var y,S;(S=(y=r).required)!==null&&S!==void 0||(y.required=!0)}else{var x,P,k;(k=(x=r)[P="aria-required"])!==null&&k!==void 0||(x[P]=!0)}if(t!=null&&t.supportsSize){var _,q;(q=(_=r).size)!==null&&q!==void 0||(_.size=e.size)}return r}const Sm=(e,r)=>{ke(e);let{children:t}=e;return typeof t=="function"&&(t=t(Bl(r.field)||{})),$(Bm,{value:r==null?void 0:r.field,children:Ae(e.root,{children:[e.label&&$(e.label,{}),t,e.validationMessage&&Ae(e.validationMessage,{children:[e.validationMessageIcon&&$(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&$(e.hint,{})]})})},Pm=(e,r)=>{const{disabled:t=!1,required:n=!1,weight:i="regular",size:o="medium"}=e;return{disabled:t,required:J(n===!0?"*":n||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:i,size:o,components:{root:"label",required:"span"},root:me(Fe("label",{ref:r,...e}),{elementType:"label"})}},Cm=e=>(ke(e),Ae(e.root,{children:[e.root.children,e.required&&$(e.required,{})]})),_l={root:"fui-Label",required:"fui-Label__required"},zm=U({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o"},required:{sj55zd:"f1whyuy6",uwmqm3:["fycuoez","f8wuabp"]},requiredDisabled:{sj55zd:"f1s2aq7o"},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);}",".fycuoez{padding-left:4px;}",".f8wuabp{padding-right:4px;}",".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);}"]}),Tm=e=>{const r=zm();return e.root.className=O(_l.root,r.root,e.disabled&&r.disabled,r[e.size],e.weight==="semibold"&&r.semibold,e.root.className),e.required&&(e.required.className=O(_l.required,r.required,e.disabled&&r.requiredDisabled,e.required.className)),e},jr=g.forwardRef((e,r)=>{const t=Pm(e,r);return Tm(t),Qe("useLabelStyles_unstable")(t),Cm(t)});jr.displayName="Label";const Nm={error:g.createElement(ah,null),warning:g.createElement(zh,null),success:g.createElement(ih,null),none:void 0},Em=(e,r)=>{const{children:t,orientation:n="vertical",required:i=!1,validationState:o=e.validationMessage?"error":"none",size:s="medium"}=e,c=jt("field-"),u=c+"__control",a=me(Fe("div",{...e,ref:r},["children"]),{elementType:"div"}),l=J(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:i,size:s},elementType:jr}),f=J(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:o==="error"?"alert":void 0},elementType:"div"}),v=J(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),d=Nm[o],h=J(e.validationMessageIcon,{renderByDefault:!!d,defaultProps:{children:d},elementType:"span"});return{children:t,generatedControlId:u,orientation:n,required:i,size:s,validationState:o,components:{root:"div",label:jr,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:a,label:l,validationMessageIcon:h,validationMessage:f,hint:v}},Rr={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},jm=U({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;}"]}),Rm=U({base:{z8tnut:"fclwglc",Byoj8tv:"fywfov9"},large:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm"},vertical:{jrapky:"fyacil5"},verticalLarge:{jrapky:"f8l5zjj"},horizontal:{t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}"]}),Fm=Re("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);}"]),qm=U({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));}"]}),Am=Re("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;}"]),Om=U({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Dm=e=>{const{validationState:r}=e,t=e.orientation==="horizontal",n=jm();e.root.className=O(Rr.root,n.base,t&&n.horizontal,t&&!e.label&&n.horizontalNoLabel,e.root.className);const i=Rm();e.label&&(e.label.className=O(Rr.label,i.base,t&&i.horizontal,!t&&i.vertical,e.label.size==="large"&&i.large,!t&&e.label.size==="large"&&i.verticalLarge,e.label.className));const o=Am(),s=Om();e.validationMessageIcon&&(e.validationMessageIcon.className=O(Rr.validationMessageIcon,o,r!=="none"&&s[r],e.validationMessageIcon.className));const c=Fm(),u=qm();e.validationMessage&&(e.validationMessage.className=O(Rr.validationMessage,c,r==="error"&&u.error,!!e.validationMessageIcon&&u.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=O(Rr.hint,c,e.hint.className))},Sl=g.forwardRef((e,r)=>{const t=Em(e,r);Dm(t);const n=_m(t);return Sm(t,n)});Sl.displayName="Field";const Je=qs({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});Je.Provider;const ht=qs({activeOption:void 0,focusVisible:!1,multiselect:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){}});ht.Provider;function Im(e){const{activeOption:r,appearance:t,focusVisible:n,open:i,registerOption:o,selectedOptions:s,selectOption:c,setActiveOption:u,setOpen:a,size:l}=e;return{combobox:{activeOption:r,appearance:t,focusVisible:n,open:i,registerOption:o,selectedOptions:s,selectOption:c,setActiveOption:u,setOpen:a,size:l}}}function Mm(e){const r=As(Je),{activeOption:t,focusVisible:n,multiselect:i,registerOption:o,selectedOptions:s,selectOption:c,setActiveOption:u}=e,a=Me(Je,v=>v.registerOption);return{listbox:{activeOption:t,focusVisible:n,multiselect:i,registerOption:r?a:o,selectedOptions:s,selectOption:c,setActiveOption:u}}}function po(e,r={}){const{open:t=!0,multiselect:n=!1}=r,i=e.key,{altKey:o,ctrlKey:s,key:c,metaKey:u}=e;return c.length===1&&i!==yt&&!o&&!s&&!u?"Type":t?i===xn&&o||i===Qt||!n&&i===yt?"CloseSelect":n&&i===yt?"Select":i===Uv?"Close":i===Os?"Next":i===xn?"Previous":i===Vv?"First":i===Hv?"Last":i===Wv?"PageUp":i===$v?"PageDown":i===Iv?"Tab":"None":i===Os||i===xn||i===Qt||i===yt?"Open":"None"}function Pl(e,r,t){switch(e){case"Next":return Math.min(t,r+1);case"Previous":return Math.max(0,r-1);case"First":return 0;case"Last":return t;case"PageDown":return Math.min(t,r+10);case"PageUp":return Math.max(0,r-10);default:return r}}const Cl=()=>{const e=g.useRef([]),r=g.useMemo(()=>({getCount:()=>e.current.length,getOptionAtIndex:a=>{var l;return(l=e.current[a])===null||l===void 0?void 0:l.option},getIndexOfId:a=>e.current.findIndex(l=>l.option.id===a),getOptionById:a=>{const l=e.current.find(f=>f.option.id===a);return l==null?void 0:l.option},getOptionsMatchingText:a=>e.current.filter(l=>a(l.option.text)).map(l=>l.option),getOptionsMatchingValue:a=>e.current.filter(l=>a(l.option.value)).map(l=>l.option)}),[]),t=g.useCallback((n,i)=>{var o;const s=e.current.findIndex(c=>!c.element||!i?!1:c.option.id===n.id?!0:c.element.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_PRECEDING);if(((o=e.current[s])===null||o===void 0?void 0:o.option.id)!==n.id){const c={element:i,option:n};s===-1?e.current=[...e.current,c]:e.current.splice(s,0,c)}return()=>{e.current=e.current.filter(c=>c.option.id!==n.id)}},[]);return{...r,options:e.current.map(n=>n.option),registerOption:t}};function Lm(e){const{activeOption:r}=e,t=g.useRef(null);return g.useEffect(()=>{if(t.current&&r&&an()){const n=t.current.querySelector(`#${r.id}`);if(!n)return;const{offsetHeight:i,offsetTop:o}=n,{offsetHeight:s,scrollTop:c}=t.current,u=o<c,a=o+i>c+s,l=2;u?t.current.scrollTo(0,o-l):a&&t.current.scrollTo(0,o-s+i+l)}},[r]),t}const zl=e=>{const{defaultSelectedOptions:r,multiselect:t,onOptionSelect:n}=e,[i,o]=Yt({state:e.selectedOptions,defaultState:r,initialState:[]}),s=gt.useCallback((u,a)=>{if(a.disabled)return;let l=[a.value];if(t){const f=i.findIndex(v=>v===a.value);f>-1?l=[...i.slice(0,f),...i.slice(f+1)]:l=[...i,a.value]}o(l),n==null||n(u,{optionValue:a.value,optionText:a.text,selectedOptions:l})},[n,t,i,o]);return{clearSelection:u=>{o([]),n==null||n(u,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:s,selectedOptions:i}},Hm=(e,r)=>{const{multiselect:t}=e,n=Cl(),{getCount:i,getOptionAtIndex:o,getIndexOfId:s}=n,{clearSelection:c,selectedOptions:u,selectOption:a}=zl(e),[l,f]=g.useState(),[v,d]=g.useState(!1),h=F=>{const V=po(F,{open:!0}),X=i()-1,I=l?s(l.id):-1;let B=I;switch(V){case"Select":case"CloseSelect":l&&a(F,l);break;default:B=Pl(V,I,X)}B!==I&&(F.preventDefault(),f(o(B)),d(!0))},m=F=>{d(!1)},w=As(Je),b=Me(Je,F=>F.activeOption),y=Me(Je,F=>F.focusVisible),S=Me(Je,F=>F.selectedOptions),x=Me(Je,F=>F.selectOption),P=Me(Je,F=>F.setActiveOption),k=w?{activeOption:b,focusVisible:y,selectedOptions:S,selectOption:x,setActiveOption:P}:{activeOption:l,focusVisible:v,selectedOptions:u,selectOption:a,setActiveOption:f},_={components:{root:"div"},root:me(Fe("div",{ref:r,role:t?"menu":"listbox","aria-activedescendant":w||l==null?void 0:l.id,"aria-multiselectable":t,tabIndex:0,...e}),{elementType:"div"}),multiselect:t,clearSelection:c,...n,...k},q=Lm(_);return _.root.ref=rt(_.root.ref,q),_.root.onKeyDown=qe(xe(_.root.onKeyDown,h)),_.root.onMouseOver=qe(xe(_.root.onMouseOver,m)),_},Vm=(e,r)=>(ke(e),$(ht.Provider,{value:r.listbox,children:$(e.root,{})})),$m={root:"fui-Listbox"},Wm=U({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bpd4iqm:"fpvhumw",oeaueh:"f1yog68k",Bw0xxkn:"f13sgyd8",z8tnut:"f1x4af0m",z189sj:["f7x41pl","fruq291"],Byoj8tv:"fd55psn",uwmqm3:["fruq291","f7x41pl"],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;}",".fpvhumw{outline-width:1px;}",".f1yog68k{outline-style:solid;}",".f13sgyd8{outline-color:var(--colorTransparentStroke);}",".f1x4af0m{padding-top:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fd55psn{padding-bottom:var(--spacingHorizontalXS);}",".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),Um=e=>{const r=Wm();return e.root.className=O($m.root,r.root,e.root.className),e},In=g.forwardRef((e,r)=>{const t=Hm(e,r),n=Mm(t);return Um(t),Qe("useListboxStyles_unstable")(t),Vm(t,n)});In.displayName="Listbox";function Gm(e,r){if(e!==void 0)return e;let t="",n=!1;return g.Children.forEach(r,i=>{typeof i=="string"?t+=i:n=!0}),n&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),t}const Xm=(e,r)=>{const{children:t,disabled:n,text:i,value:o}=e,s=g.useRef(null),c=Gm(i,t),u=o??c,a=jt("fluent-option",e.id),l=g.useMemo(()=>({id:a,disabled:n,text:c,value:u}),[a,n,c,u]),f=Me(ht,k=>k.focusVisible),v=Me(ht,k=>k.multiselect),d=Me(ht,k=>k.registerOption),h=Me(ht,k=>{const _=k.selectedOptions;return!!u&&!!_.find(q=>q===u)}),m=Me(ht,k=>k.selectOption),w=Me(ht,k=>k.setActiveOption),b=Me(Je,k=>k.setOpen),y=Me(ht,k=>{var _,q;return((_=k.activeOption)===null||_===void 0?void 0:_.id)!==void 0&&((q=k.activeOption)===null||q===void 0?void 0:q.id)===a});let S=g.createElement(th,null);v&&(S=h?g.createElement(nh,null):"");const x=k=>{var _;if(n){k.preventDefault();return}w(l),v||b==null||b(k,!1),m(k,l),(_=e.onClick)===null||_===void 0||_.call(e,k)};g.useEffect(()=>{if(a&&s.current)return d(l,s.current)},[a,l,d]);const P=v?{role:"menuitemcheckbox","aria-checked":h}:{role:"option","aria-selected":h};return{components:{root:"div",checkIcon:"span"},root:me(Fe("div",{ref:rt(r,s),"aria-disabled":n?"true":void 0,id:a,...P,...e,onClick:x}),{elementType:"div"}),checkIcon:J(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:S},elementType:"span"}),active:y,disabled:n,focusVisible:f,multiselect:v,selected:h}},Km=e=>(ke(e),Ae(e.root,{children:[e.checkIcon&&$(e.checkIcon,{}),e.root.children]})),Tl={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},Zm=U({root:{Bt984gj:"f122n59",Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",z8tnut:"fp2oml8",z189sj:["f1vdfbxk","f1f5gg8d"],Byoj8tv:"f1tdddsa",uwmqm3:["f1f5gg8d","f1vdfbxk"],qhf8xq:"f10pi13n",Jwef8y:"f1knas48",ecr2s2:"fb40n2d"},active:{Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",B80jsxd:"f1nwj1ja",t2ki1e:"ffmd2fr",Bm2nyyq:"f8rth92",Barhvk9:["flthirb","ftkbnf5"],Bw17bha:"f1lh990p",vfts7:["ftkbnf5","flthirb"],xrcqlc:"fc9v8v1",Ihftqj:["f1mwfetb","f18mat8f"],Bcgy8vk:"f1cb6c3",Bhxzhr1:["f18mat8f","f1mwfetb"],B3778ie:["f1ibwz09","f1kp91vd"],d9w3h3:["f1kp91vd","f1ibwz09"],Bl18szs:["f1pix4dl","f13nd1z4"],B4j8arr:["f13nd1z4","f1pix4dl"],B0n5ga8:"f1qw5sz7",s924m2:["f19va7ni","f1a9v3mw"],B1q35kw:"fkkziue",Gp14am:["f1a9v3mw","f19va7ni"],bn5sak:"f1a97anr",By385i5:"f5226zp",Eqx8gd:["fa2bdqt","fei6g0k"],B1piin3:["fei6g0k","fa2bdqt"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",ecr2s2:"fgj9um3",Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"],Bbmb7ep:["f1g3puop","fi2rrw2"],Beyfa6y:["fi2rrw2","f1g3puop"],B7oj6ja:["f1rstyi9","f1s4nn1u"],Btl43ni:["f1s4nn1u","f1rstyi9"],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",Bbusuzp:"f1dcs8yz"}},{d:[".f122n59{align-items:center;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".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);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".f10pi13n{position:relative;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1nwj1ja::after{pointer-events:none;}",".ffmd2fr::after{z-index:1;}",".f8rth92::after{border-top-style:solid;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f1lh990p::after{border-bottom-style:solid;}",".fc9v8v1::after{border-top-width:2px;}",".f1mwfetb::after{border-right-width:2px;}",".f18mat8f::after{border-left-width:2px;}",".f1cb6c3::after{border-bottom-width:2px;}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1pix4dl::after{border-top-right-radius:var(--borderRadiusMedium);}",".f13nd1z4::after{border-top-left-radius:var(--borderRadiusMedium);}",".f1qw5sz7::after{border-top-color:var(--colorStrokeFocus2);}",".f19va7ni::after{border-right-color:var(--colorStrokeFocus2);}",".f1a9v3mw::after{border-left-color:var(--colorStrokeFocus2);}",".fkkziue::after{border-bottom-color:var(--colorStrokeFocus2);}",".f1a97anr::after{top:-2px;}",".f5226zp::after{bottom:-2px;}",".fa2bdqt::after{left:-2px;}",".fei6g0k::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".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;}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}",".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}",".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}",".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}",".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);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Ym=e=>{const{active:r,disabled:t,focusVisible:n,multiselect:i,selected:o}=e,s=Zm();return e.root.className=O(Tl.root,s.root,r&&n&&s.active,t&&s.disabled,o&&s.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=O(Tl.checkIcon,s.checkIcon,i&&s.multiselectCheck,o&&s.selectedCheck,o&&i&&s.selectedMultiselectCheck,t&&s.checkDisabled,e.checkIcon.className)),e},Nl=g.forwardRef((e,r)=>{const t=Xm(e,r);return Ym(t),Qe("useOptionStyles_unstable")(t),Km(t)});Nl.displayName="Option";const Qm=e=>{const{appearance:r="outline",children:t,editable:n=!1,inlinePopup:i=!1,mountNode:o=void 0,multiselect:s,onOpenChange:c,size:u="medium"}=e,a=Cl(),{getOptionAtIndex:l,getOptionsMatchingValue:f}=a,[v,d]=g.useState(),[h,m]=g.useState(!1),[w,b]=g.useState(!1),y=g.useRef(!1),S=zl(e),{selectedOptions:x}=S,P=jd(),[k,_]=Yt({state:e.value,initialState:void 0}),q=g.useMemo(()=>{if(k!==void 0)return k;if(P&&e.defaultValue!==void 0)return e.defaultValue;const I=f(B=>x.includes(B)).map(B=>B.text);return s?n?"":I.join(", "):I[0]},[k,n,f,s,e.defaultValue,x]),[F,V]=Yt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),X=g.useCallback((I,B)=>{c==null||c(I,{open:B}),V(B)},[c,V]);return g.useEffect(()=>{if(F&&!v)if(!s&&x.length>0){const I=f(B=>B===x[0]).pop();I&&d(I)}else d(l(0));else F||d(void 0)},[F,t]),{...a,...S,activeOption:v,appearance:r,focusVisible:h,hasFocus:w,ignoreNextBlur:y,inlinePopup:i,mountNode:o,open:F,setActiveOption:d,setFocusVisible:m,setHasFocus:b,setOpen:X,setValue:_,size:u,value:q}};function Jm(e){const{positioning:r}=e,n={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",...fl(r)},{targetRef:i,containerRef:o}=em(n);return[o,i]}function eb(e,r,t,n,i){const{multiselect:o}=e,{activeOption:s,getCount:c,getIndexOfId:u,getOptionAtIndex:a,ignoreNextBlur:l,open:f,selectOption:v,setActiveOption:d,setFocusVisible:h,setHasFocus:m,setOpen:w}=r,b=g.useRef(null),y=g.useRef(null),S=jt("fluent-listbox",i==null?void 0:i.id),x=rt(i==null?void 0:i.ref,y),P=i&&{id:S,multiselect:o,tabIndex:void 0,...i,ref:x},k={"aria-expanded":f,"aria-activedescendant":f?s==null?void 0:s.id:void 0,role:"combobox",...n,ref:rt(t,n==null?void 0:n.ref,b)},_=qe(xe(B=>{var H;(H=b.current)===null||H===void 0||H.focus()},P==null?void 0:P.onClick)),q=qe(xe(B=>{h(!1)},P==null?void 0:P.onMouseOver)),{targetDocument:F}=mt(),V=qe(B=>{var H;!((H=y.current)===null||H===void 0)&&H.contains(B.target)||w(B,!1),F==null||F.removeEventListener("mouseup",V)}),X=qe(xe(B=>{l.current=!0,F==null||F.addEventListener("mouseup",V)},P==null?void 0:P.onMouseDown)),I=qe(xe(B=>{l.current=!1},P==null?void 0:P.onMouseUp));return P&&(P.onClick=_,P.onMouseOver=q,P.onMouseDown=X,P.onMouseUp=I),k.onBlur=xe(B=>{l.current||w(B,!1),l.current=!1,m(!1)},k.onBlur),k.onClick=xe(B=>{w(B,!f)},k.onClick),k.onFocus=xe(B=>{m(!0)},k.onFocus),k.onKeyDown=xe(B=>{const H=po(B,{open:f,multiselect:o}),Y=c()-1,te=s?u(s.id):-1;let ne=te;switch(H){case"Open":B.preventDefault(),h(!0),w(B,!0);break;case"Close":B.stopPropagation(),B.preventDefault(),w(B,!1);break;case"CloseSelect":!o&&!(s!=null&&s.disabled)&&w(B,!1);case"Select":s&&v(B,s),B.preventDefault();break;case"Tab":!o&&s&&v(B,s);break;default:ne=Pl(H,te,Y)}ne!==te&&(B.preventDefault(),d(a(ne)),h(!0))},k.onKeyDown),k.onMouseOver=xe(B=>{h(!1)},k.onMouseOver),[k,P]}const tb=(e,r)=>{var t;e=xl(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Qm({...e,editable:!0}),{activeOption:i,clearSelection:o,getIndexOfId:s,getOptionsMatchingText:c,hasFocus:u,open:a,selectOption:l,selectedOptions:f,setActiveOption:v,setFocusVisible:d,setOpen:h,setValue:m,value:w}=n,[b,y]=Jm(e),{disabled:S,freeform:x,inlinePopup:P,multiselect:k}=e,_=jt("combobox-"),{primary:q,root:F}=Ca({props:e,primarySlotTagName:"input",excludedPropNames:["children","size"]}),V=g.useRef(null),X=g.useRef(null),[I,B]=g.useState(!1),H=g.useRef(!1),Y=Q=>{const T=Q==null?void 0:Q.trim().toLowerCase();if(!T||T.length===0)return;const _e=c(He=>He.toLowerCase().indexOf(T)===0);if(_e.length>1&&i){const He=s(i.id),Xe=_e.find(Bt=>s(Bt.id)>=He);return Xe??_e[0]}var Ne;return(Ne=_e[0])!==null&&Ne!==void 0?Ne:void 0};n.selectOption=(Q,T)=>{m(void 0),l(Q,T)};const te=Q=>{!n.open&&!x&&(w&&i&&w.trim().toLowerCase()===(i==null?void 0:i.text.toLowerCase())&&n.selectOption(Q,i),m(void 0))};n.setOpen=(Q,T)=>{S||(!T&&!x&&m(void 0),h(Q,T))};const ne=Q=>{const T=Q.target.value;n.setValue(T);const ie=Y(T);v(ie),d(!0),!k&&f.length===1&&(T.length<1||!ie)&&o(Q)};let ae,de;ae=me(e.input,{defaultProps:{ref:rt((t=e.input)===null||t===void 0?void 0:t.ref,X),type:"text",value:w??"",...q},elementType:"input"});const Le=ae.onKeyDown;ae.onChange=xe(ae.onChange,ne),ae.onBlur=xe(ae.onBlur,te),de=a||u?J(e.listbox,{renderByDefault:!0,defaultProps:{children:e.children},elementType:In}):void 0,[ae,de]=eb(e,n,r,ae,de);const N=rt(de==null?void 0:de.ref,b);I&&(ae["aria-activedescendant"]=void 0),de&&(de.ref=N);const M=me(e.root,{defaultProps:{"aria-owns":P||de==null?void 0:de.id,...F},elementType:"div"});M.ref=rt(M.ref,y);const A={components:{root:"div",input:"input",expandIcon:"span",listbox:In},root:M,input:ae,listbox:de,expandIcon:J(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-expanded":a,children:g.createElement(rh,null),role:"button"},elementType:"span"}),...n};A.root.ref=rt(A.root.ref,V);const re=A.input.onKeyDown;A.input.onKeyDown=qe(Q=>{!a&&po(Q)==="Type"&&n.setOpen(Q,!0),Q.key===Mv||Q.key===Lv?B(!0):B(!1);const T=po(Q,{open:a,multiselect:k});if(T==="Type"?H.current=!0:(T==="Open"&&Q.key!==" "||T==="Next"||T==="Previous"||T==="First"||T==="Last"||T==="PageUp"||T==="PageDown")&&(H.current=!1),x&&(H.current||!a)&&Q.key===" "){Le==null||Le(Q);return}re==null||re(Q)});const{onMouseDown:he,onClick:Pe}=A.expandIcon||{},Ce=qe(xe(he,()=>{a&&(n.ignoreNextBlur.current=!0)})),ve=qe(xe(Pe,Q=>{var T;A.setOpen(Q,!A.open),(T=X.current)===null||T===void 0||T.focus(),d(!1)}));if(A.expandIcon){A.expandIcon.onMouseDown=Ce,A.expandIcon.onClick=ve;const Q=A.expandIcon["aria-label"]||A.expandIcon["aria-labelledby"],T="Open";if(!Q)if(e["aria-labelledby"]){var ge;const ie=(ge=A.expandIcon.id)!==null&&ge!==void 0?ge:`${_}-chevron`,_e=`${ie} ${A.input["aria-labelledby"]}`;A.expandIcon["aria-label"]=T,A.expandIcon.id=ie,A.expandIcon["aria-labelledby"]=_e}else e["aria-label"]?A.expandIcon["aria-label"]=`${T} ${e["aria-label"]}`:A.expandIcon["aria-label"]=T}return A},rb=(e,r)=>(ke(e),$(e.root,{children:Ae(Je.Provider,{value:r.combobox,children:[$(e.input,{}),e.expandIcon&&$(e.expandIcon,{}),e.listbox&&(e.inlinePopup?$(e.listbox,{}):$(ml,{mountNode:e.mountNode,children:$(e.listbox,{})}))]})})),mo={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",listbox:"fui-Combobox__listbox"},ob=U({root:{Bt984gj:"f122n59",Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",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"],Bcgy8vk:"f14pi962",Bw17bha:"f1lh990p",B1q35kw:"f1jc6hxc",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},small:{z189sj:["fdw0yi8","fk8j09s"]},medium:{z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1c1zstj",zhjwy3:["f1lxtadh","f1akhkt"]},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"flmw63s",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"fqhmt4z",B50zh58:["f4ruux4","f1assf6x"]},underline:{De3pzq:"f1c21dwh",Bn0qgzm:"f1vxd6vx",oivjwe:"fg706s2",B9xav0g:"f1c1zstj",Bbmb7ep:["f1krrbdw","f1deotkl"],Beyfa6y:["f1deotkl","f1krrbdw"],B7oj6ja:["f10ostut","f1ozlkrg"],Btl43ni:["f1ozlkrg","f10ostut"]},"filled-lighter":{De3pzq:"fxugw4r",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"filled-darker":{De3pzq:"f16xq7d1",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},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"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]}},{d:[".f122n59{align-items:center;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".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;}",".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);}",".f14pi962::after{border-bottom-width:var(--strokeWidthThick);}",".f1lh990p::after{border-bottom-style:solid;}",".f1jc6hxc::after{border-bottom-color:var(--colorCompoundBrandStroke);}",".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);}",".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1krrbdw{border-bottom-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1ozlkrg{border-top-left-radius:0;}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".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);}",".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);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{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);}"]}),nb=U({input:{De3pzq:"f1c21dwh",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bqenvij:"f50nw0v",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",z8tnut:"f1g0x7ka",z189sj:["fhxju0i","f1cnd47f"],Byoj8tv:"f1qch9an",uwmqm3:["f1xile11","fqznh8f"]},medium:{Bqenvij:"f1tvdnth",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",z8tnut:"f1g0x7ka",z189sj:["fhxju0i","f1cnd47f"],Byoj8tv:"f1qch9an",uwmqm3:["f1e60jzv","f135dnwl"]},large:{Bqenvij:"f1ihhdec",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",z8tnut:"f1g0x7ka",z189sj:["fhxju0i","f1cnd47f"],Byoj8tv:"f1qch9an",uwmqm3:["fnphzt9","flt1dlf"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".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;}",".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;}",".f50nw0v{height:22px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1g0x7ka{padding-top:0;}",".fhxju0i{padding-right:0;}",".f1cnd47f{padding-left:0;}",".f1qch9an{padding-bottom:0;}",".f1xile11{padding-left:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".fqznh8f{padding-right:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".f1tvdnth{height:30px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1e60jzv{padding-left:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f135dnwl{padding-right:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f1ihhdec{height:38px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".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;}"]}),ib=U({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},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;}",".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;}"]}),ab=e=>{const{appearance:r,open:t,size:n}=e,i=`${e.input["aria-invalid"]}`=="true",o=e.input.disabled,s=ob(),c=ib(),u=nb();return e.root.className=O(mo.root,s.root,s[r],s[n],!o&&r==="outline"&&s.outlineInteractive,i&&r!=="underline"&&s.invalid,i&&r==="underline"&&s.invalidUnderline,o&&s.disabled,e.root.className),e.input.className=O(mo.input,u.input,u[n],o&&u.disabled,e.input.className),e.listbox&&(e.listbox.className=O(mo.listbox,s.listbox,!t&&s.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=O(mo.expandIcon,c.icon,c[n],o&&c.disabled,e.expandIcon.className)),e},El=g.forwardRef((e,r)=>{const t=tb(e,r),n=Im(t);return ab(t),Qe("useComboboxStyles_unstable")(t),rb(t,n)});El.displayName="Combobox";const sb=(e,r)=>{e=xl(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const t=Xd();var n;const{size:i="medium",appearance:o=(n=t.inputDefaultAppearance)!==null&&n!==void 0?n:"outline",onChange:s}=e;process.env.NODE_ENV!=="production"&&(o==="filled-darker-shadow"||o==="filled-lighter-shadow")&&console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");const[c,u]=Yt({state:e.value,defaultState:e.defaultValue,initialState:""}),a=Ca({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),l={size:i,appearance:o,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:me(e.input,{defaultProps:{type:"text",ref:r,...a.primary},elementType:"input"}),contentAfter:J(e.contentAfter,{elementType:"span"}),contentBefore:J(e.contentBefore,{elementType:"span"}),root:me(e.root,{defaultProps:a.root,elementType:"span"})};return l.input.value=c,l.input.onChange=qe(f=>{const v=f.target.value;s==null||s(f,{value:v}),u(v)}),l},lb=e=>(ke(e),Ae(e.root,{children:[e.contentBefore&&$(e.contentBefore,{}),$(e.input,{}),e.contentAfter&&$(e.contentAfter,{})]})),bo={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},cb=Re("r1jtohuq","rl1z2p5",{r:[".r1jtohuq{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;min-height:32px;padding:0 var(--spacingHorizontalMNudge);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);}",'.r1jtohuq::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);}',".r1jtohuq:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1jtohuq:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1jtohuq:focus-within{outline:2px solid transparent;}",".rl1z2p5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;min-height:32px;padding:0 var(--spacingHorizontalMNudge);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);}",'.rl1z2p5::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);}',".rl1z2p5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".rl1z2p5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".rl1z2p5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1jtohuq::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1jtohuq:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.rl1z2p5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.rl1z2p5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),ub=U({small:{sshi5w:"f1pha7fy",uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"],Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",uwmqm3:["f1uw59to","fw5db7e"],z189sj:["fw5db7e","f1uw59to"],Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:"f1rjii52",Belr9w4:"f1r7g2jn"},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",Bbmb7ep:["f1krrbdw","f1deotkl"],Beyfa6y:["f1deotkl","f1krrbdw"],B7oj6ja:["f10ostut","f1ozlkrg"],Btl43ni:["f1ozlkrg","f10ostut"],icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",B3778ie:["f1nf3wye","feulmo5"],d9w3h3:["feulmo5","f1nf3wye"],Bl18szs:["f18vqdqu","f53nyzz"],B4j8arr:["f53nyzz","f18vqdqu"]},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"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"}},{d:[".f1pha7fy{min-height:24px;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".f1r7g2jn{row-gap:var(--spacingHorizontalSNudge);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1krrbdw{border-bottom-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1ozlkrg{border-top-left-radius:0;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".f1nf3wye::after{border-bottom-right-radius:0;}",".feulmo5::after{border-bottom-left-radius:0;}",".f18vqdqu::after{border-top-right-radius:0;}",".f53nyzz::after{border-top-left-radius:0;}",".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;}"],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){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),fb=Re("rvp2gzh",null,[".rvp2gzh{box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalXXS);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".rvp2gzh::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".rvp2gzh::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".rvp2gzh:-ms-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".rvp2gzh::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),db=U({large:{uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".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);}"]}),hb=Re("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),vb=U({disabled:{sj55zd:"f1s2aq7o"},small:{kwki1k:"f3u2cy0"},medium:{},large:{kwki1k:"fa420co"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3u2cy0>svg{font-size:16px;}",".fa420co>svg{font-size:24px;}"]}),gb=e=>{const{size:r,appearance:t}=e,n=e.input.disabled,i=`${e.input["aria-invalid"]}`=="true",o=t.startsWith("filled"),s=ub(),c=db(),u=vb();e.root.className=O(bo.root,cb(),s[r],s[t],!n&&t==="outline"&&s.outlineInteractive,!n&&t==="underline"&&s.underlineInteractive,!n&&o&&s.filledInteractive,o&&s.filled,!n&&i&&s.invalid,n&&s.disabled,e.root.className),e.input.className=O(bo.input,fb(),r==="large"&&c.large,n&&c.disabled,e.input.className);const a=[hb(),n&&u.disabled,u[r]];return e.contentBefore&&(e.contentBefore.className=O(bo.contentBefore,...a,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=O(bo.contentAfter,...a,e.contentAfter.className)),e},Mn=g.forwardRef((e,r)=>{const t=sb(e,r);return gb(t),Qe("useInputStyles_unstable")(t),lb(t)});Mn.displayName="Input";const pb=e=>{const{presenceOnly:r,textPosition:t}=e;ke(e);const n=r?e.presence&&$(e.presence,{}):e.avatar&&$(e.avatar,{});return Ae(e.root,{children:[(t==="after"||t==="below")&&n,e.primaryText&&$(e.primaryText,{}),e.secondaryText&&$(e.secondaryText,{}),e.tertiaryText&&$(e.tertiaryText,{}),e.quaternaryText&&$(e.quaternaryText,{}),t==="before"&&n]})},mb=(e,r)=>{const{name:t,presenceOnly:n=!1,size:i="medium",textAlignment:o="start",textPosition:s="after"}=e,c=J(e.primaryText,{renderByDefault:!0,defaultProps:{children:t},elementType:"span"}),u=J(e.secondaryText,{elementType:"span"}),a=J(e.tertiaryText,{elementType:"span"}),l=J(e.quaternaryText,{elementType:"span"});return{numTextLines:[c,u,a,l].filter(Boolean).length,presenceOnly:n,size:i,textAlignment:o,textPosition:s,components:{root:"div",avatar:_n,presence:zr,primaryText:"span",secondaryText:"span",tertiaryText:"span",quaternaryText:"span"},root:me(Fe("div",{...e,ref:r},["name"]),{elementType:"div"}),avatar:n?void 0:J(e.avatar,{renderByDefault:!0,defaultProps:{name:t,badge:e.presence,size:yb[i]},elementType:_n}),presence:n?J(e.presence,{defaultProps:{size:bb[i]},elementType:zr}):void 0,primaryText:c,secondaryText:u,tertiaryText:a,quaternaryText:l}},bb={"extra-small":"tiny",small:"extra-small",medium:"small",large:"medium","extra-large":"large",huge:"large"},yb={"extra-small":20,small:28,medium:32,large:36,"extra-large":40,huge:56},Dt={root:"fui-Persona",avatar:"fui-Persona__avatar",presence:"fui-Persona__presence",primaryText:"fui-Persona__primaryText",secondaryText:"fui-Persona__secondaryText",tertiaryText:"fui-Persona__tertiaryText",quaternaryText:"fui-Persona__quaternaryText"},wb=Re("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;}"]),kb=U({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;}"]}),xb=U({"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);}"]}),Bb=U({small:{Bs1gm4r:"f1e48tse"}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]}),_b=e=>{const{presenceOnly:r,size:t,textAlignment:n,textPosition:i}=e,o=r&&n==="start"&&t!=="extra-large"&&t!=="huge",s=i!=="below"&&n==="center",{primaryTextClassName:c,optionalTextClassName:u}=zb(e,o),a=wb(),l=kb(),f=xb(),v={...f,...Bb()};return e.root.className=O(Dt.root,a,s&&l.beforeAfterCenter,l[i],e.root.className),e.avatar&&(e.avatar.className=O(Dt.avatar,i!=="below"&&l.media,s&&l.mediaBeforeAfterCenter,l[n],f[t],f[i],e.avatar.className)),e.presence&&(e.presence.className=O(Dt.presence,i!=="below"&&l.media,s&&l.mediaBeforeAfterCenter,l[n],v[t],v[i],i==="after"&&o&&l.afterAlignToPrimary,i==="before"&&o&&l.beforeAlignToPrimary,e.presence.className)),e.primaryText&&(e.primaryText.className=O(Dt.primaryText,s&&l.primary,c,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=O(Dt.secondaryText,s&&l.secondary,u,l.secondLineSpacing,e.secondaryText.className)),e.tertiaryText&&(e.tertiaryText.className=O(Dt.tertiaryText,s&&l.tertiary,u,e.tertiaryText.className)),e.quaternaryText&&(e.quaternaryText.className=O(Dt.quaternaryText,s&&l.quaternary,u,e.quaternaryText.className)),e},Sb=Re("rvj41k9",null,[".rvj41k9{display:block;color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}"]),Pb=Re("rp1pf9e",null,[".rp1pf9e{display:block;color:var(--colorNeutralForeground2);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),Cb=U({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);}"]}),zb=(e,r)=>{const{presenceOnly:t,size:n,textPosition:i}=e,o=Sb(),s=Pb(),c=Cb();let u,a;return t?(n==="extra-small"?u=e.numTextLines<=1&&c.caption1:(n==="extra-large"||n==="huge")&&(u=c.subtitle2),r&&(i==="before"?a=c.beforeAlignToPrimary:i==="after"&&(a=c.afterAlignToPrimary))):(n==="huge"||n==="extra-large")&&(u=c.subtitle2),{primaryTextClassName:O(o,u,a),optionalTextClassName:O(s,!t&&n==="huge"&&c.body1,a)}},jl=g.forwardRef((e,r)=>{const t=mb(e,r);return _b(t),Qe("usePersonaStyles_unstable")(t),pb(t)});jl.displayName="Persona";const Tb=()=>g.createElement("svg",{className:"fui-Spinner__Progressbar"},g.createElement("circle",{className:"fui-Spinner__Track"}),g.createElement("circle",{className:"fui-Spinner__Tail"})),Rl=g.createContext(void 0),Nb={};Rl.Provider;const Eb=()=>{var e;return(e=g.useContext(Rl))!==null&&e!==void 0?e:Nb},jb=(e,r)=>{const{size:t}=Eb(),{appearance:n="primary",labelPosition:i="after",size:o=t??"medium",delay:s=0}=e,c=jt("spinner"),{role:u="progressbar",tabIndex:a,...l}=e,f=me(Fe("div",{ref:r,role:u,...l},["size"]),{elementType:"div"}),[v,d]=g.useState(!0),[h,m]=Fd();g.useEffect(()=>{if(!(s<=0))return d(!1),h(()=>{d(!0)},s),()=>{m()}},[h,m,s]);const w=J(e.label,{defaultProps:{id:c},renderByDefault:!1,elementType:jr}),b=J(e.spinner,{renderByDefault:!0,defaultProps:{children:g.createElement(Tb,null),tabIndex:a},elementType:"span"});return w&&f&&!f["aria-labelledby"]&&(f["aria-labelledby"]=w.id),{appearance:n,delay:s,labelPosition:i,size:o,shouldRenderSpinner:v,components:{root:"div",spinner:"span",label:jr},root:f,spinner:b,label:w}},Rb=e=>{ke(e);const{labelPosition:r,shouldRenderSpinner:t}=e;return Ae(e.root,{children:[e.label&&t&&(r==="above"||r==="before")&&$(e.label,{}),e.spinner&&t&&$(e.spinner,{}),e.label&&t&&(r==="below"||r==="after")&&$(e.label,{})]})},Ln={root:"fui-Spinner",spinner:"fui-Spinner__spinner",label:"fui-Spinner__label"},Fb=U({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bg96gwp:"fez10in",i8kkvl:"f4px1ci",Belr9w4:"fn67r4l"},horizontal:{Beiy3e4:"f1063pyq"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fez10in{line-height:0;}",".f4px1ci{column-gap:8px;}",".fn67r4l{row-gap:8px;}",".f1063pyq{flex-direction:row;}",".f1vx9l62{flex-direction:column;}"]}),qb=U({spinnerSVG:{B3aqqti:"f1or16p5",Brovlpu:"f1grzc83",Bxa1mx5:"f19shzzi",Bwaue66:["f5tbecn","f15qb8s7"],fyp1ls:"fn4mtlg",ag6ruv:"f1y80fxs",osj692:"f1r2crtq",aq5vjd:"f1wsi8sr",tlu9e1:"f1bkm2qd",J3u96z:"f1urqz7h",d32isg:"f1da2vov",Bsvqbuc:"f11rfva0",b3s3i5:"f1exc66"},"extra-tiny":{Bah9ito:"f1x2gjcb",ut6tcf:"f1vjiaua",B7p06xz:"fv1u54w",B807ibg:"f1oebb0s"},tiny:{Bah9ito:"f1j4wmu2",ut6tcf:"f1vppzuq",B7p06xz:"fv1u54w",B807ibg:"fngtx1d"},"extra-small":{Bah9ito:"fmpqlna",ut6tcf:"f15z5jzu",B7p06xz:"fv1u54w",B807ibg:"fadawes"},small:{Bah9ito:"fo52gbo",ut6tcf:"f1b41i3v",B7p06xz:"fv1u54w",B807ibg:"f1xqyyrl"},medium:{Bah9ito:"f1aiqagr",ut6tcf:"f1wtx80b",B7p06xz:"f1flujpd",B807ibg:"f1u06hy7"},large:{Bah9ito:"f1trdq7b",ut6tcf:"f9e0mc5",B7p06xz:"f1flujpd",B807ibg:"f13pmvhl"},"extra-large":{Bah9ito:"f89rf2a",ut6tcf:"f1w2xg3q",B7p06xz:"f1flujpd",B807ibg:"fmn74v6"},huge:{Bah9ito:"f1rx7k5y",ut6tcf:"f1vtyt49",B7p06xz:"f1owbg48",B807ibg:"f1fr1izd"}},{f:[".f1or16p5:focus{outline-width:3px;}",".f1grzc83:focus{outline-style:solid;}",".f19shzzi:focus{outline-color:transparent;}"],k:["@keyframes fb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}","@keyframes f1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],d:[".f5tbecn>svg{animation-name:fb7n1on;}",".f15qb8s7>svg{animation-name:f1gx3jof;}",".fn4mtlg>svg{animation-duration:3s;}",".f1y80fxs>svg{animation-iteration-count:infinite;}",".f1r2crtq>svg{animation-timing-function:linear;}",".f1wsi8sr>svg{background-color:transparent;}",".f1da2vov>svg>circle{cx:50%;}",".f11rfva0>svg>circle{cy:50%;}",".f1exc66>svg>circle{fill:none;}",".f1x2gjcb>svg{height:16px;}",".f1vjiaua>svg{width:16px;}",".fv1u54w>svg>circle{stroke-width:var(--strokeWidthThick);}",".f1oebb0s>svg>circle{r:7px;}",".f1j4wmu2>svg{height:20px;}",".f1vppzuq>svg{width:20px;}",".fngtx1d>svg>circle{r:9px;}",".fmpqlna>svg{height:24px;}",".f15z5jzu>svg{width:24px;}",".fadawes>svg>circle{r:11px;}",".fo52gbo>svg{height:28px;}",".f1b41i3v>svg{width:28px;}",".f1xqyyrl>svg>circle{r:13px;}",".f1aiqagr>svg{height:32px;}",".f1wtx80b>svg{width:32px;}",".f1flujpd>svg>circle{stroke-width:var(--strokeWidthThicker);}",".f1u06hy7>svg>circle{r:14.5px;}",".f1trdq7b>svg{height:36px;}",".f9e0mc5>svg{width:36px;}",".f13pmvhl>svg>circle{r:16.5px;}",".f89rf2a>svg{height:40px;}",".f1w2xg3q>svg{width:40px;}",".fmn74v6>svg>circle{r:18.5px;}",".f1rx7k5y>svg{height:44px;}",".f1vtyt49>svg{width:44px;}",".f1owbg48>svg>circle{stroke-width:var(--strokeWidthThickest);}",".f1fr1izd>svg>circle{r:20px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1bkm2qd>svg{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1urqz7h>svg{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Ab=U({inverted:{gwg7kz:"f1jvpmnu",Bvrehnu:"fq8a5sv",Bidp6o:"f1b4lwqj",cq3kgi:"f1najlst",Btwiser:"fjxod4",B8001xd:"fu3xdw0",Bdordwa:["f1ttdh6v","fmyjox0"],Bo2mdfu:"f1eseayc",E10nrc:"folzdkc",Bwl7w15:"fhlfkde",Bksq7rz:"f1esql28"},primary:{gwg7kz:"f11ditju",B8k2rxp:"f1m9nikz",Bvrehnu:"fq8a5sv",Bidp6o:"f1b4lwqj",cq3kgi:"f1najlst",Btwiser:"fjxod4",B8001xd:"fu3xdw0",Bdordwa:["f1ttdh6v","fmyjox0"],Bo2mdfu:"f1eseayc",E10nrc:"folzdkc",Bwl7w15:"fhlfkde",Bksq7rz:"f13qeqtg",y14cdu:"flglbw1"}},{d:[".f1jvpmnu>svg>circle.fui-Spinner__Tail{stroke:var(--colorNeutralStrokeOnBrand2);}",".fq8a5sv>svg>circle.fui-Spinner__Tail{animation-name:f1v1ql0f;}",".f1b4lwqj>svg>circle.fui-Spinner__Tail{animation-duration:1.5s;}",".f1najlst>svg>circle.fui-Spinner__Tail{animation-iteration-count:infinite;}",".fjxod4>svg>circle.fui-Spinner__Tail{animation-timing-function:var(--curveEasyEase);}",".fu3xdw0>svg>circle.fui-Spinner__Tail{stroke-linecap:round;}",".f1ttdh6v>svg>circle.fui-Spinner__Tail{transform:rotate(-90deg);}",".fmyjox0>svg>circle.fui-Spinner__Tail{transform:rotate(90deg);}",".f1eseayc>svg>circle.fui-Spinner__Tail{transform-origin:50% 50%;}",".f1esql28>svg>circle.fui-Spinner__Track{stroke:rgba(255, 255, 255, 0.2);}",".f11ditju>svg>circle.fui-Spinner__Tail{stroke:var(--colorBrandStroke1);}",".f13qeqtg>svg>circle.fui-Spinner__Track{stroke:var(--colorBrandStroke2Contrast);}"],k:["@keyframes f1v1ql0f{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"],m:[["@media screen and (prefers-reduced-motion: reduce){.folzdkc>svg>circle.fui-Spinner__Tail{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fhlfkde>svg>circle.fui-Spinner__Tail{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (forced-colors: active){.f1m9nikz>svg>circle.fui-Spinner__Tail{stroke:var(--colorNeutralStrokeOnBrand2);}}",{m:"screen and (forced-colors: active)"}],["@media screen and (forced-colors: active){.flglbw1>svg>circle.fui-Spinner__Track{stroke:var(--colorNeutralBackgroundInverted);}}",{m:"screen and (forced-colors: active)"}]]}),Ob=U({inverted:{sj55zd:"f15aqcq"},primary:{},"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:[".f15aqcq{color:rgba(255, 255, 255, 1);}",".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);}"]}),Db=e=>{const{labelPosition:r,size:t,appearance:n="primary"}=e,i=Fb(),o=qb(),s=Ob(),c=Ab();return e.root.className=O(Ln.root,i.root,(r==="above"||r==="below")&&i.vertical,(r==="before"||r==="after")&&i.horizontal,e.root.className),e.spinner&&(e.spinner.className=O(Ln.spinner,o.spinnerSVG,o[t],c[n],e.spinner.className)),e.label&&(e.label.className=O(Ln.label,s[t],s[n],e.label.className)),e},yo=g.forwardRef((e,r)=>{const t=jb(e,r);return Db(t),Qe("useSpinnerStyles_unstable")(t),Rb(t)});yo.displayName="Spinner";const Ib=(e,r)=>{const{wrap:t,truncate:n,block:i,italic:o,underline:s,strikethrough:c,size:u,font:a,weight:l,align:f}=e;return{align:f??"start",block:i??!1,font:a??"base",italic:o??!1,size:u??300,strikethrough:c??!1,truncate:n??!1,underline:s??!1,weight:l??"regular",wrap:t??!0,components:{root:"span"},root:me(Fe("span",{ref:r,...e}),{elementType:"span"})}},Mb=e=>(ke(e),$(e.root,{})),Lb={root:"fui-Text"},Hb=U({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:"f1mtd64y",Bmxbyg5:"f1y7q3j9",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw"},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;}",".f1mtd64y{overflow-x:visible;}",".f1y7q3j9{overflow-y:visible;}",".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",".f1p9o1ba{overflow-x:hidden;}",".f1sil6mw{overflow-y:hidden;}",".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;}"]}),Vb=e=>{const r=Hb();return e.root.className=O(Lb.root,r.root,e.wrap===!1&&r.nowrap,e.truncate&&r.truncate,e.block&&r.block,e.italic&&r.italic,e.underline&&r.underline,e.strikethrough&&r.strikethrough,e.underline&&e.strikethrough&&r.strikethroughUnderline,e.size===100&&r.base100,e.size===200&&r.base200,e.size===400&&r.base400,e.size===500&&r.base500,e.size===600&&r.base600,e.size===700&&r.hero700,e.size===800&&r.hero800,e.size===900&&r.hero900,e.size===1e3&&r.hero1000,e.font==="monospace"&&r.monospace,e.font==="numeric"&&r.numeric,e.weight==="medium"&&r.weightMedium,e.weight==="semibold"&&r.weightSemibold,e.weight==="bold"&&r.weightBold,e.align==="center"&&r.alignCenter,e.align==="end"&&r.alignEnd,e.align==="justify"&&r.alignJustify,e.root.className),e};function Fl(e){const{useStyles:r,className:t,displayName:n}=e,i=g.forwardRef((o,s)=>{const c=r(),u=Ib(o,s);return Vb(u),u.root.className=O(t,u.root.className,c.root,o.className),Mb(u)});return i.displayName=n,i}const $b=Fl({useStyles:U({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),className:{root:"fui-Body1"}.root,displayName:"Body1"}),Wb=Fl({useStyles:U({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),className:{root:"fui-Caption1"}.root,displayName:"Caption1"}),Ub=e=>{const r=e<=0?1:e;return process.env.NODE_ENV!=="production"&&e<=0&&console.error(`The prop 'max' must be greater than 0. Received max: ${e}`),r},Gb=(e,r)=>{if(e===void 0)return e;const t=e<0?0:e>r?r:e;return process.env.NODE_ENV!=="production"&&(e<0&&console.error(`The prop 'value' must be greater than or equal to zero. Received value: ${e}`),e>r&&console.error(`The prop 'value' must be less than or equal to 'max'. Received value: ${e}, max: ${r}`)),t},Xb=(e,r)=>{const t=kl(),n=t==null?void 0:t.validationState,{color:i=n==="error"||n==="warning"||n==="success"?n:"brand",shape:o="rounded",thickness:s="medium"}=e;var c;const u=Ub((c=e.max)!==null&&c!==void 0?c:1),a=Gb(e.value,u),l=me(Fe("div",{ref:r,role:"progressbar","aria-valuemin":a!==void 0?0:void 0,"aria-valuemax":a!==void 0?u:void 0,"aria-valuenow":a,"aria-labelledby":t==null?void 0:t.labelId,...e}),{elementType:"div"});t&&(t.validationMessageId||t.hintId)&&(l["aria-describedby"]=[t==null?void 0:t.validationMessageId,t==null?void 0:t.hintId,l["aria-describedby"]].filter(Boolean).join(" "));const f=me(e.bar,{elementType:"div"});return{color:i,max:u,shape:o,thickness:s,value:a,components:{root:"div",bar:"div"},root:l,bar:f}},Kb=e=>(ke(e),$(e.root,{children:e.bar&&$(e.bar,{})})),ql={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},Zb=.01,Yb=U({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw",Bpep1pd:"fu42dvn"},rounded:{Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"]},square:{Bbmb7ep:["fzi6hpg","fyowgf4"],Beyfa6y:["fyowgf4","fzi6hpg"],B7oj6ja:["f3fg2lr","f13av6d4"],Btl43ni:["f13av6d4","f3fg2lr"]},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",".f1p9o1ba{overflow-x:hidden;}",".f1sil6mw{overflow-y:hidden;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),Qb=U({base:{Bpep1pd:"f1neahkh",Bbmb7ep:["f1d9uwra","fzibvwi"],Beyfa6y:["fzibvwi","f1d9uwra"],B7oj6ja:["fuoumxm","f1vtqnvc"],Btl43ni:["f1vtqnvc","fuoumxm"],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",Gqtpxc:"f4akx1t",B3vm3ge:"f18p5put"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1neahkh{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f4akx1t{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f18p5put{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[".f1d9uwra{border-bottom-right-radius:inherit;}",".fzibvwi{border-bottom-left-radius:inherit;}",".fuoumxm{border-top-right-radius:inherit;}",".f1vtqnvc{border-top-left-radius:inherit;}",".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(
136
147
  to right,
137
148
  var(--colorNeutralBackground6) 0%,
138
149
  var(--colorTransparentBackground) 50%,
@@ -142,4 +153,4 @@ You can check this by searching up for matching entries in a lockfile produced b
142
153
  var(--colorNeutralBackground6) 0%,
143
154
  var(--colorTransparentBackground) 50%,
144
155
  var(--colorNeutralBackground6) 100%
145
- );}`,".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%;}}"]}),U1=e=>{const{color:r,max:t,shape:n,thickness:i,value:o}=e,s=$1(),c=W1();return e.root.className=D(Nl.root,s.root,s[n],s[i],e.root.className),e.bar&&(e.bar.className=D(Nl.bar,c.base,c.brand,o===void 0&&c.indeterminate,o!==void 0&&o>V1&&c.nonZeroDeterminate,r&&o!==void 0&&c[r],e.bar.className)),e.bar&&o!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,o/t*100))+"%",...e.bar.style}),e},El=g.forwardRef((e,r)=>{const t=L1(e,r);return U1(t),Qe("useProgressBarStyles_unstable")(t),H1(t)});El.displayName="ProgressBar";const G1=(e,{referenceLabel:r,referenceId:t},n)=>{const{checkbox:i={},onSelectionChange:o,floatingAction:s,onClick:c,onKeyDown:u}=e,{findAllFocusable:a}=xv(),l=g.useRef(null),[f,v]=Yt({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),d=[e.selected,e.defaultSelected,o].some(k=>typeof k<"u"),[h,m]=g.useState(!1),w=g.useCallback(k=>{if(!n.current)return!1;const _=a(n.current),q=k.target,F=_.some(X=>X.contains(q)),V=(l==null?void 0:l.current)===q;return F&&!V},[n,a]),b=g.useCallback(k=>{if(w(k))return;const _=!f;v(_),o&&o(k,{selected:_})},[o,f,v,w]),y=g.useCallback(k=>{[Qt].includes(k.key)&&(k.preventDefault(),b(k))},[b]),P=g.useMemo(()=>{if(!d||s)return;const k={};return t?k["aria-labelledby"]=t:r&&(k["aria-label"]=r),J(i,{defaultProps:{ref:l,type:"checkbox",checked:f,onChange:_=>b(_),onFocus:()=>m(!0),onBlur:()=>m(!1),...k},elementType:"input"})},[i,s,f,d,b,t,r]),x=g.useMemo(()=>{if(s)return J(s,{defaultProps:{ref:l},elementType:"div"})},[s]),S=g.useMemo(()=>d?{onClick:xe(c,b),onKeyDown:xe(u,y)}:null,[d,b,c,u,y]);return{selected:f,selectable:d,selectFocused:h,selectableCardProps:S,checkboxSlot:P,floatingActionSlot:x}},jl=g.createContext(void 0),Ln={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},X1=jl.Provider,Rl=()=>{var e;return(e=g.useContext(jl))!==null&&e!==void 0?e:Ln},K1={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},Z1=({focusMode:e="off",...r})=>{const t=["onClick","onDoubleClick","onMouseUp","onMouseDown","onPointerUp","onPointerDown","onTouchStart","onTouchEnd","onDragStart","onDragEnd"].some(o=>r[o]),i={...wv({tabBehavior:K1[t?"no-tab":e]}),tabIndex:0};return{interactive:t,focusAttributes:e==="off"?null:i}},Y1=(e,r)=>{const{appearance:t="filled",orientation:n="vertical",size:i="medium"}=e,[o,s]=g.useState(Ln.selectableA11yProps.referenceId),[c,u]=g.useState(Ln.selectableA11yProps.referenceId),a=Cv(),{selectable:l,selected:f,selectableCardProps:v,selectFocused:d,checkboxSlot:h,floatingActionSlot:m}=G1(e,{referenceId:o,referenceLabel:c},a),w=rt(a,r),{interactive:b,focusAttributes:y}=Z1(e);return{appearance:t,orientation:n,size:i,interactive:b,selectable:l,selectFocused:d,selected:f,selectableA11yProps:{setReferenceId:s,referenceId:o,referenceLabel:c,setReferenceLabel:u},components:{root:"div",floatingAction:"div",checkbox:"input"},root:me(Fe("div",{ref:w,role:"group",...y,...e,...v}),{elementType:"div"}),floatingAction:m,checkbox:h}},Q1=(e,r)=>(ke(e),$(e.root,{children:Ae(X1,{value:r,children:[e.checkbox?$(e.checkbox,{}):null,e.floatingAction?$(e.floatingAction,{}):null,e.root.children]})})),Hn={root:"fui-CardPreview",logo:"fui-CardPreview__logo"},J1=U({root:{qhf8xq:"f10pi13n",pnb5jt:"f1rzl30s",Elg2ur:"f1chxnfo",B184ckt:"f17xb19f"},logo:{qhf8xq:"f1euv43f",B5kzvoi:"f1gcvs1y",oyh7mz:["f1t6tvco","ffrfxm3"],a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f10pi13n{position:relative;}",".f1rzl30s>:not(.fui-CardPreview__logo){display:block;}",".f1chxnfo>:not(.fui-CardPreview__logo){height:100%;}",".f17xb19f>:not(.fui-CardPreview__logo){width:100%;}",".f1euv43f{position:absolute;}",".f1gcvs1y{bottom:12px;}",".f1t6tvco{left:12px;}",".ffrfxm3{right:12px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]}),eb=e=>{const r=J1();return e.root.className=D(Hn.root,r.root,e.root.className),e.logo&&(e.logo.className=D(Hn.logo,r.logo,e.logo.className)),e},nr={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},tb=U({root:{Bkc6ea2:"fkufhic",mc9l5x:"f13qh94s",t4k1zu:"f8a668j",Bt984gj:"f122n59"},image:{mc9l5x:"ftuwxu6",t21cq0:["fql5097","f6yss9k"],Br312pm:"fwpfdsa",Ijaq50:"fldnz9j"},header:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94",mc9l5x:"f22iagw"},description:{Br312pm:"fd46tj4",Ijaq50:"faunodf",mc9l5x:"f22iagw"},action:{Frg6f3:["f6yss9k","fql5097"],Br312pm:"fis13di",Ijaq50:"fldnz9j"}},{d:[".fkufhic{--fui-CardHeader--gap:12px;}",".f13qh94s{display:grid;}",".f8a668j{grid-auto-columns:min-content 1fr min-content;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".fql5097{margin-right:var(--fui-CardHeader--gap);}",".f6yss9k{margin-left:var(--fui-CardHeader--gap);}",".fwpfdsa{grid-column-start:1;}",".fldnz9j{grid-row-start:span 2;}",".fd46tj4{grid-column-start:2;}",".f16hsg94{grid-row-start:1;}",".f22iagw{display:flex;}",".faunodf{grid-row-start:2;}",".fis13di{grid-column-start:3;}"]}),rb=e=>{const r=tb();return e.root.className=D(nr.root,r.root,e.root.className),e.image&&(e.image.className=D(nr.image,r.image,e.image.className)),e.header&&(e.header.className=D(nr.header,r.header,e.header.className)),e.description&&(e.description.className=D(nr.description,r.description,e.description.className)),e.action&&(e.action.className=D(nr.action,r.action,e.action.className)),e},Fl={root:"fui-CardFooter",action:"fui-CardFooter__action"},ob=U({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",i8kkvl:"f4akndk",Belr9w4:"fe5j3v"},action:{Frg6f3:["fcgxt0o","f1ujusj6"]}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f4akndk{column-gap:12px;}",".fe5j3v{row-gap:12px;}",".fcgxt0o{margin-left:auto;}",".f1ujusj6{margin-right:auto;}"]}),nb=e=>{const r=ob();return e.root.className=D(Fl.root,r.root,e.root.className),e.action&&(e.action.className=D(Fl.action,r.action,e.action.className)),e},Vn={root:"fui-Card",floatingAction:"fui-Card__floatingAction",checkbox:"fui-Card__checkbox"},ib=U({root:{B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw",Bbmb7ep:["fifeqxg","f899z7z"],Beyfa6y:["f899z7z","fifeqxg"],B7oj6ja:["f4h3tyx","f18ur2pz"],Btl43ni:["f18ur2pz","f4h3tyx"],z8tnut:"f1lplnzb",z189sj:["f10m5gbb","f1k04kkk"],Byoj8tv:"fhftqfp",uwmqm3:["f1k04kkk","f10m5gbb"],i8kkvl:"fxsr4vj",Belr9w4:"fcvsdzp",mc9l5x:"f22iagw",qhf8xq:"f10pi13n",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"],By385i5:"fo72kxq",Bsft5z2:"f13zj6fq",B80jsxd:"f1nwj1ja",Bm2nyyq:"f8rth92",Barhvk9:["flthirb","ftkbnf5"],Bw17bha:"f1lh990p",vfts7:["ftkbnf5","flthirb"],xrcqlc:"f6czdpx",Ihftqj:["f13hvwk3","f1en4csx"],Bcgy8vk:"f1i1u9k0",Bhxzhr1:["f1en4csx","f13hvwk3"],B3778ie:["f1qnomq5","f2fl922"],d9w3h3:["f2fl922","f1qnomq5"],Bl18szs:["f1anhtl","f1n2zcl3"],B4j8arr:["f1n2zcl3","f1anhtl"],B2jhnfs:"f16v3d5c",wiictr:"f1su8t2g"},focused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",Bf4ptjt:"fh1cnn4",kclons:["fy7oxxb","f184ne2d"],Bhdgwq3:"fpukqih",Blkhhs4:["f184ne2d","fy7oxxb"],Bqtpl0w:"f99gebs",clg4pj:["f13b0oaq","f8t2bz6"],hgwjuy:"f1jvq617",Bonggc9:["f8t2bz6","f13b0oaq"],B1tsrr9:["f11unbnk","fbd201q"],Dah5zi:["fbd201q","f11unbnk"],Bkh64rk:["f12nqxso","f1uguk4w"],qqdqy8:["f1uguk4w","f12nqxso"],B6dhp37:"f1dvezut",i03rao:["fd0oaoj","f1cwg4i8"],Boxcth7:"fjvm52t",Bsom6fd:["f1cwg4i8","fd0oaoj"],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"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",ghq09:"f78i1la",B24cy0v:["f1kvsw7t","f1bw8brt"],Bwckmig:"f8k7e5g",Bvwlmkc:["f1bw8brt","f1kvsw7t"],Bbgo44z:"f125hn41",Bil7v7r:["fgxkx34","f1v56tyl"],skfxo0:"fdxas6f",jo1ztg:["f1v56tyl","fgxkx34"],Ba3ybja:["fxwickw","f1ia5cve"],az1dzo:["f1ia5cve","fxwickw"],vppk2z:["f194aguw","fqicc6c"],B6352mv:["fqicc6c","f194aguw"],nr063g:"fq4eyks",Blmvk6g:["f1ya6x16","ftuszwa"],Bsiemmq:"f1e2iu44",B98u21t:["ftuszwa","f1ya6x16"],B2pnrqr:"f1amxum7",B29w5g4:["f1cec8w7","f554mv0"],Bhhzhcn:"f1sj6kbr",Bec0n69:["f554mv0","f1cec8w7"]},orientationHorizontal:{Beiy3e4:"f1063pyq",Bt984gj:"f122n59",Bnoktp0:"fpfyeui",Idhjb2:"fwi74qw",ihgzqh:["ffcmwrh","f6ppoih"],Bgp6ld0:["f1dc9p14","fd933vt"],Bbucpmy:"f18esqgw"},orientationVertical:{Beiy3e4:"f1vx9l62",Bt4kzjz:["fobhde4","fx5r7kn"],B1ou843:["fx5r7kn","fobhde4"],y1433z:"f19chtn8",B7egwnw:"fuvs6re",B49b4xf:"fy4glsf"},sizeSmall:{B7balbw:"f1pi9uxy",B1h88n7:"f1h1zgly"},sizeMedium:{B7balbw:"frsmuga",B1h88n7:"fuldkky"},sizeLarge:{B7balbw:"f1qua4xo",B1h88n7:"fimkt6v"},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"],Jwef8y:"f1knas48",Bvxd0ez:"f1m145df",ecr2s2:"fb40n2d"},filledInteractiveSelected:{De3pzq:"f1nfm20t",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],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"],Jwef8y:"f1uvynv3",Bvxd0ez:"f1m145df",ecr2s2:"f1yhgkbh"},filledAlternativeInteractiveSelected:{De3pzq:"fjxa0vh",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],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"],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"],Jwef8y:"fg59vm4"},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"],Jwef8y:"f1t94bn6",ecr2s2:"f1wfn5kd"},subtleInteractiveSelected:{De3pzq:"fq5gl1p",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Jwef8y:"f1uqaxdt"},highContrastSelected:{ycbfsm:"fkc42ay",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1lkg8j3",xgfqdd:"f1nkj0oa",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},highContrastInteractive:{h1vhog:"fpfvv3l",kslmdy:"f1oamsm6",Baaf6ca:"f1il21bs",x9zz3d:"fnn5dk0",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},select:{qhf8xq:"f1euv43f",Bhzewxz:"fqclxi7",j35jbq:["fiv86kb","f36uhnt"],Bj3rh1h:"f19g0ac"},hiddenCheckbox:{B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw",a9b677:"frkrog8",Bqenvij:"f1mpe4l3",qhf8xq:"f1euv43f",Bh84pgu:"fmf1zke",Bgl5zvf:"f1wch0ki",Huce71:"fz5stix"}},{d:[".f1p9o1ba{overflow-x:hidden;}",".f1sil6mw{overflow-y:hidden;}",".fifeqxg{border-bottom-right-radius:var(--fui-Card--border-radius);}",".f899z7z{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f4h3tyx{border-top-right-radius:var(--fui-Card--border-radius);}",".f18ur2pz{border-top-left-radius:var(--fui-Card--border-radius);}",".f1lplnzb{padding-top:var(--fui-Card--size);}",".f10m5gbb{padding-right:var(--fui-Card--size);}",".f1k04kkk{padding-left:var(--fui-Card--size);}",".fhftqfp{padding-bottom:var(--fui-Card--size);}",".fxsr4vj{column-gap:var(--fui-Card--size);}",".fcvsdzp{row-gap:var(--fui-Card--size);}",".f22iagw{display:flex;}",".f10pi13n{position:relative;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fo72kxq::after{bottom:0;}",'.f13zj6fq::after{content:"";}',".f1nwj1ja::after{pointer-events:none;}",".f8rth92::after{border-top-style:solid;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f1lh990p::after{border-bottom-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f1i1u9k0::after{border-bottom-width:var(--strokeWidthThin);}",".f1qnomq5::after{border-bottom-right-radius:var(--fui-Card--border-radius);}",".f2fl922::after{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f1anhtl::after{border-top-right-radius:var(--fui-Card--border-radius);}",".f1n2zcl3::after{border-top-left-radius:var(--fui-Card--border-radius);}",".f16v3d5c>.fui-CardHeader,.f16v3d5c>.fui-CardFooter{flex-shrink:0;}",".f1su8t2g>:not(.fui-CardPreview):not(.fui-CardHeader):not(.fui-CardFooter){flex-grow: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;}",'.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;}",".fh1cnn4[data-fui-focus-visible]::after{border-top-style:solid;}",".fy7oxxb[data-fui-focus-visible]::after{border-right-style:solid;}",".f184ne2d[data-fui-focus-visible]::after{border-left-style:solid;}",".fpukqih[data-fui-focus-visible]::after{border-bottom-style:solid;}",".f99gebs[data-fui-focus-visible]::after{border-top-width:var(--strokeWidthThick);}",".f13b0oaq[data-fui-focus-visible]::after{border-right-width:var(--strokeWidthThick);}",".f8t2bz6[data-fui-focus-visible]::after{border-left-width:var(--strokeWidthThick);}",".f1jvq617[data-fui-focus-visible]::after{border-bottom-width:var(--strokeWidthThick);}",".f11unbnk[data-fui-focus-visible]::after{border-bottom-right-radius:var(--fui-Card--border-radius);}",".fbd201q[data-fui-focus-visible]::after{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f12nqxso[data-fui-focus-visible]::after{border-top-right-radius:var(--fui-Card--border-radius);}",".f1uguk4w[data-fui-focus-visible]::after{border-top-left-radius:var(--fui-Card--border-radius);}",".f1dvezut[data-fui-focus-visible]::after{border-top-color:var(--colorStrokeFocus2);}",".fd0oaoj[data-fui-focus-visible]::after{border-right-color:var(--colorStrokeFocus2);}",".f1cwg4i8[data-fui-focus-visible]::after{border-left-color:var(--colorStrokeFocus2);}",".fjvm52t[data-fui-focus-visible]::after{border-bottom-color:var(--colorStrokeFocus2);}",".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;}",".f78i1la[data-fui-focus-within]:focus-within::after{border-top-style:solid;}",".f1kvsw7t[data-fui-focus-within]:focus-within::after{border-right-style:solid;}",".f1bw8brt[data-fui-focus-within]:focus-within::after{border-left-style:solid;}",".f8k7e5g[data-fui-focus-within]:focus-within::after{border-bottom-style:solid;}",".f125hn41[data-fui-focus-within]:focus-within::after{border-top-width:var(--strokeWidthThick);}",".fgxkx34[data-fui-focus-within]:focus-within::after{border-right-width:var(--strokeWidthThick);}",".f1v56tyl[data-fui-focus-within]:focus-within::after{border-left-width:var(--strokeWidthThick);}",".fdxas6f[data-fui-focus-within]:focus-within::after{border-bottom-width:var(--strokeWidthThick);}",".fxwickw[data-fui-focus-within]:focus-within::after{border-bottom-right-radius:var(--fui-Card--border-radius);}",".f1ia5cve[data-fui-focus-within]:focus-within::after{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f194aguw[data-fui-focus-within]:focus-within::after{border-top-right-radius:var(--fui-Card--border-radius);}",".fqicc6c[data-fui-focus-within]:focus-within::after{border-top-left-radius:var(--fui-Card--border-radius);}",".fq4eyks[data-fui-focus-within]:focus-within::after{border-top-color:var(--colorStrokeFocus2);}",".f1ya6x16[data-fui-focus-within]:focus-within::after{border-right-color:var(--colorStrokeFocus2);}",".ftuszwa[data-fui-focus-within]:focus-within::after{border-left-color:var(--colorStrokeFocus2);}",".f1e2iu44[data-fui-focus-within]:focus-within::after{border-bottom-color:var(--colorStrokeFocus2);}",".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;}",".fpfyeui>.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",".fwi74qw>.fui-CardPreview{margin-bottom:calc(var(--fui-Card--size) * -1);}",'.ffcmwrh>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-left:calc(var(--fui-Card--size) * -1);}','.f6ppoih>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f1dc9p14>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.fd933vt>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-left:calc(var(--fui-Card--size) * -1);}',".f18esqgw>.fui-CardHeader:last-of-type,.f18esqgw>.fui-CardFooter:last-of-type{flex-grow:1;}",".f1vx9l62{flex-direction:column;}",".fobhde4>.fui-CardPreview{margin-left:calc(var(--fui-Card--size) * -1);}",".fx5r7kn>.fui-CardPreview{margin-right:calc(var(--fui-Card--size) * -1);}",'.f19chtn8>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-top:calc(var(--fui-Card--size) * -1);}',".fuvs6re>.fui-Card__floatingAction+.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",'.fy4glsf>: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);}",".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);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1euv43f{position:absolute;}",".fqclxi7{top:4px;}",".fiv86kb{right:4px;}",".f36uhnt{left:4px;}",".f19g0ac{z-index:1;}",".frkrog8{width:1px;}",".f1mpe4l3{height:1px;}",".fmf1zke{clip:rect(0 0 0 0);}",".f1wch0ki{clip-path:inset(50%);}",".fz5stix{white-space:nowrap;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f1m145df:hover{box-shadow:var(--shadow8);}",".f1kz6goq:hover{background-color:var(--colorNeutralBackground1Selected);}",".f1uvynv3:hover{background-color:var(--colorNeutralBackground2Hover);}",".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);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],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);}"],m:[["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nkj0oa .fui-CardPreview,.f1nkj0oa .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fey3rwa::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f5jhx11::after{border-right-color:Highlight;}.fff9uym::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fm7n0jy::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpfvv3l:hover,.fpfvv3l :active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1oamsm6:hover,.f1oamsm6 :active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1il21bs:hover,.f1il21bs :active{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnn5dk0:hover .fui-CardPreview,.fnn5dk0 :active .fui-CardPreview,.fnn5dk0:hover .fui-CardFooter,.fnn5dk0 :active .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),ab=e=>{const r=ib(),t={horizontal:r.orientationHorizontal,vertical:r.orientationVertical},n={small:r.sizeSmall,medium:r.sizeMedium,large:r.sizeLarge},i={filled:r.filled,"filled-alternative":r.filledAlternative,outline:r.outline,subtle:r.subtle},o={filled:r.filledInteractiveSelected,"filled-alternative":r.filledAlternativeInteractiveSelected,outline:r.outlineInteractiveSelected,subtle:r.subtleInteractiveSelected},s={filled:r.filledInteractive,"filled-alternative":r.filledAlternativeInteractive,outline:r.outlineInteractive,subtle:r.subtleInteractive},c=e.interactive||e.selectable,u=g.useMemo(()=>e.selectable?e.selectFocused?r.selectableFocused:"":r.focused,[e.selectFocused,e.selectable,r.focused,r.selectableFocused]);return e.root.className=D(Vn.root,r.root,t[e.orientation],n[e.size],i[e.appearance],c&&s[e.appearance],e.selected&&o[e.appearance],u,c&&r.highContrastInteractive,e.selected&&r.highContrastSelected,e.root.className),e.floatingAction&&(e.floatingAction.className=D(Vn.floatingAction,r.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=D(Vn.checkbox,r.hiddenCheckbox,e.checkbox.className)),e};function sb({selectableA11yProps:e}){return{selectableA11yProps:e}}const ql=g.forwardRef((e,r)=>{const t=Y1(e,r),n=sb(t);return ab(t),Q1(t,n)});ql.displayName="Card";const lb=(e,r)=>{const{action:t}=e;return{components:{root:"div",action:"div"},root:me(Fe("div",{ref:r,...e}),{elementType:"div"}),action:J(t,{elementType:"div"})}},cb=e=>(ke(e),Ae(e.root,{children:[e.root.children,e.action&&$(e.action,{})]})),Al=g.forwardRef((e,r)=>{const t=lb(e,r);return nb(t),cb(t)});Al.displayName="CardFooter";function ub(e){function r(t){return g.isValidElement(t)&&!!t.props.id}return g.Children.toArray(e).find(r)}function fb(e,r,t){return e||(r!=null&&r.props.id?r.props.id:t)}const db=(e,r)=>{const{image:t,header:n,description:i,action:o}=e,{selectableA11yProps:{referenceId:s,setReferenceId:c}}=Rl(),u=g.useRef(null),a=g.useRef(!1),l=jt(nr.header,s),f=J(n,{renderByDefault:!0,defaultProps:{ref:u,id:a.current?void 0:s},elementType:"div"});return g.useEffect(()=>{var v;const d=a.current||(v=u.current)===null||v===void 0?void 0:v.id,h=ub(f==null?void 0:f.children);a.current=!!h,c(fb(d,h,l))},[l,n,f,c]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:me(Fe("div",{ref:r,...e}),{elementType:"div"}),image:J(t,{elementType:"div"}),header:f,description:J(i,{elementType:"div"}),action:J(o,{elementType:"div"})}},hb=e=>(ke(e),Ae(e.root,{children:[e.image&&$(e.image,{}),$(e.header,{}),e.description&&$(e.description,{}),e.action&&$(e.action,{})]})),Dl=g.forwardRef((e,r)=>{const t=db(e,r);return rb(t),hb(t)});Dl.displayName="CardHeader";const vb=(e,r)=>{const{logo:t}=e,{selectableA11yProps:{referenceLabel:n,referenceId:i,setReferenceLabel:o,setReferenceId:s}}=Rl(),c=rt(r,g.useRef(null));return g.useEffect(()=>{if(!(n&&i)&&c.current&&c.current.parentNode){const u=c.current.parentNode.querySelector(`.${Hn.root} > img`);if(u){const a=u.getAttribute("aria-label"),l=u.getAttribute("aria-describedby");l?s(l):u.alt?o(u.alt):a&&o(a)}}},[o,n,c,i,s]),{components:{root:"div",logo:"div"},root:me(Fe("div",{ref:c,...e}),{elementType:"div"}),logo:J(t,{elementType:"div"})}},gb=e=>(ke(e),Ae(e.root,{children:[e.root.children,e.logo&&$(e.logo,{})]})),Ol=g.forwardRef((e,r)=>{const t=vb(e,r);return eb(t),gb(t)});Ol.displayName="CardPreview";const $n=["title","path","description","listItemId","identityListItemId","identityListId","identitySiteCollectionId","identityWebId","lastModifiedTime","viewsLifeTime","viewsRecent","owstaxidmetadataalltagsinfo","driveId","author","authorOwsUser"],Il="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xlsx.png",Ml="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/docx.png",Ll="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pptx.png",Hl="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/mpp.png",Fr="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/photo.png",pb="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pdf.png",mb="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/txt.png",Vl="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/email.png",bb="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/csv.png",yb="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pub.png",wb="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/accdb.png",Wn="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/zip.png",Un="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/genericfile.png",$l="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/code.png",kb="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/html.png",xb="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xml.png",Bb="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/spo.png",qr="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/video.png",wo=class wo{static getFileImageUrl(r){if(!r)return Un;let t=Un;const n=r.split("."),i=n[n.length-1];if(!i)return t;switch(i.toLowerCase()){case"xlsx":t=Il;break;case"xls":t=Il;break;case"docx":t=Ml;break;case"doc":t=Ml;break;case"pptx":t=Ll;break;case"ppt":t=Ll;break;case"mppx":t=Hl;break;case"mpp":t=Hl;break;case"csv":t=bb;break;case"pdf":t=pb;break;case"txt":t=mb;break;case"jpg":t=Fr;break;case"msg":t=Vl;break;case"jpeg":t=Fr;break;case"png":t=Fr;break;case"ico":t=Fr;break;case"tiff":t=Fr;break;case"eml":t=Vl;break;case"pub":t=yb;break;case"accdb":t=wb;break;case"zip":t=Wn;break;case"7z":t=Wn;break;case"tar":t=Wn;break;case"js":t=$l;break;case"json":t=$l;break;case"html":t=kb;break;case"xml":t=xb;break;case"aspx":t=Bb;break;case"mp4":t=qr;break;case"mov":t=qr;break;case"wmv":t=qr;break;case"ogg":t=qr;break;case"webm":t=qr;break;default:t=Un;break}return t}};wo.getShortName=r=>{if(!r)return"";const t=r.split("."),n=t[0].substring(0,25),i=t[t.length-1];return`${n}...${i}`},wo.isOndrive=async r=>r?r.indexOf("my.sharepoint.com")>-1:!1;let yo=wo;const It=class It{};It.getThumbnailUrl=(r,t="medium")=>`https://graph.microsoft.com/v1.0/sites/${r.identitySiteCollectionId}/sites/${r.identityWebId}/lists/${r.identityListId}/items/${r.listItemId}/microsoft.graph.listitem/driveItem/thumbnails/0/${t}/content`,It.getThumbnailImageFromGraphApiCall=async(r,t)=>{const n=await r.get(t);if(n.headers["content-type"]==="application/json")return"data:image/png;base64,"+(await n.text()).replace('"',"").replace('"',"");if(n.status===302)return n.headers.Location;if(n.status===404)return"";const i=await n.arrayBuffer();return`data:image/jpeg;base64,${Buffer.from(new Uint8Array(i).reduce((s,c)=>s+String.fromCharCode(c),"")).toString("base64")}`},It.getThumbnailImageFromGraph=async(r,t,n="medium")=>{const i=It.getThumbnailUrl(r,n);return await It.getThumbnailImageFromGraphApiCall(t,i)};let Gn=It;const _b=rn({title:{..._r.margin(0,0,"12px")},description:{..._r.margin(0,0,"12px")},card:{width:"20rem",maxWidth:"100%",height:"fit-content"},image:{width:"20rem",height:"7rem"},text:{..._r.margin(0)},imageIconWrapper:{width:"20rem!important",height:"7rem!important",display:"flex!important",justifyContent:"center",alignItems:"center",backgroundColor:Cr.colorNeutralBackground3}}),Wl=e=>{const{graphClient:r}=Ze(),t=_b(),[n,i]=g.useState(void 0);return g.useEffect(()=>{Gn.getThumbnailImageFromGraph(e.document.fields,r).then(o=>{i(o)}).catch(o=>{console.error(o)})},[]),E.jsxs(ql,{className:t.card,children:[E.jsx(Ol,{children:n?E.jsx("img",{src:n,alt:e.document.fields.title,className:t.image}):E.jsx("div",{className:t.imageIconWrapper,children:E.jsx("div",{children:E.jsx("img",{src:yo.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title})})})}),E.jsx(Dl,{image:E.jsx("img",{src:yo.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title}),header:E.jsx(D1,{children:E.jsx("b",{children:e.document.fields.title})}),description:E.jsx(O1,{children:e.document.fields.author}),action:E.jsx(Dn,{appearance:"transparent","aria-label":"More options"})}),E.jsx("p",{className:t.text,children:e.document.fields.description}),E.jsx(Al,{children:E.jsx(Dn,{as:"a",href:e.document.fields.path,appearance:"primary",icon:E.jsx(eh,{}),children:"Open"})})]})},Pb=rn({wrapper:{},searchInput:{},searchResults:{display:"flex",flexWrap:"wrap",flexDirection:"row",..._r.gap(Cr.spacingHorizontalL,Cr.spacingVerticalL)}}),Sb=e=>{var d;const{graphClient:r}=Ze(),t=Pb(),n=g.useMemo(()=>{var m,w,b,y,P,x,S;var h=new gi(r,[((m=e.dataProviderProps)==null?void 0:m.entityType)??"listItem"],((w=e.dataProviderProps)==null?void 0:w.selectFields)||$n);return h.queryTemplate=(b=e.dataProviderProps)==null?void 0:b.queryTemplate,h.pageSize=(y=e.dataProviderProps)==null?void 0:y.pageSize,(P=e.dataProviderProps)!=null&&P.aggregations&&h.setRefiners((x=e.dataProviderProps)==null?void 0:x.aggregations),h.setQuery(((S=e.dataProviderProps)==null?void 0:S.initialQuery)??""),h},[r,e.dataProviderProps]),[i,o]=g.useState(!0),[s,c]=g.useState(((d=e.dataProviderProps)==null?void 0:d.initialQuery)??""),[u,a]=g.useState([]),[l,f]=g.useState(void 0);g.useEffect(()=>{n.setQuery(s),o(!0),n.getData().then(h=>{a(h),f(void 0)}).catch(h=>{f(h.message)}).finally(()=>{o(!1)})},[s]);const v=()=>e!=null&&e.searchInputComponent?E.jsx(e.searchInputComponent,{onSearch:h=>{c(h)}}):E.jsx(In,{contentBefore:E.jsx(es,{}),placeholder:"Search",value:s,onChange:h=>{c(h.target.value)}});return E.jsxs("div",{children:[E.jsx("div",{children:v()}),E.jsxs("div",{children:[i&&E.jsx(bo,{label:"Loading..."}),!i&&l&&E.jsxs("div",{children:["Error: ",l]})]}),E.jsx("div",{className:t.searchResults,children:u.map((h,m)=>E.jsx("div",{children:e!=null&&e.onResultRendering?e.onResultRendering(h):E.jsx(Wl,{document:h})},m))})]})},Cb=rn({wrapper:{},searchInput:{},searchResults:{display:"flex",flexWrap:"wrap",flexDirection:"row",..._r.gap(Cr.spacingHorizontalL,Cr.spacingVerticalL)}}),zb=e=>{var d;const{graphClient:r}=Ze(),t=Cb(),n=g.useMemo(()=>{var m,w;var h=new Cc(r,"sharePoint",((m=e.dataProviderProps)==null?void 0:m.selectFields)||$n,(w=e.dataProviderProps)==null?void 0:w.queryTemplate);return h},[r,e.dataProviderProps]),[i,o]=g.useState(!0),[s,c]=g.useState(((d=e.dataProviderProps)==null?void 0:d.initialQuery)??""),[u,a]=g.useState([]),[l,f]=g.useState(void 0);g.useEffect(()=>{ci.debounce("copilot-search",async()=>{o(!0),n.getData(s).then(h=>{a(h),f(void 0)}).catch(h=>{f(h.message)}).finally(()=>{o(!1)})},1e3)},[s]);const v=()=>e!=null&&e.searchInputComponent?E.jsx(e.searchInputComponent,{onSearch:h=>{c(h)}}):E.jsx(In,{style:{width:"500px"},contentBefore:E.jsx(es,{}),placeholder:"Search",value:s,onChange:h=>{c(h.target.value)}});return E.jsxs("div",{children:[E.jsx("div",{children:v()}),E.jsxs("div",{children:[i&&E.jsx(bo,{label:"Loading..."}),!i&&l&&E.jsxs("div",{children:["Error: ",l]})]}),E.jsx("div",{className:t.searchResults,children:u.map((h,m)=>E.jsx("div",{children:e!=null&&e.onResultRendering?e.onResultRendering(h):E.jsx(Wl,{document:{fields:h.resourceMetadata,...h}})},m))})]})};var Tb=Object.defineProperty,Nb=Object.getOwnPropertyDescriptor,Eb=(e,r,t,n)=>{for(var i=n>1?void 0:n?Nb(r,t):r,o=e.length-1,s;o>=0;o--)(s=e[o])&&(i=(n?s(r,t,i):s(i))||i);return n&&i&&Tb(r,t,i),i};class Ul{constructor(r,t){this.graphClient=r,this.updatePresence=t,this.key="persona-cache-",this.cacheExpiration=1e3*60*60*4,this.storageService=new ai}async getUser(r,t="48x48"){let n=r;if(r&&r.indexOf("@")>-1){const c=`/users/${r}?$select=id`,u=await this.graphClient.get(c);if(u.status===404)return null;n=(await u.json()).id}let i=this.storageService.get(this.key+r),o=i==null?void 0:i.data;const s=n?`/users/${n}`:"/me";if(!o||i.expiration<new Date().getTime()){const[c,u,a]=await Promise.all([this.graphClient.get(s+"?$select=id,displayName,mail,jobTitle,department,officeLocation,mobilePhone,businessPhones,userPrincipalName,usageLocation"),this.graphClient.get(s+`/photos/${t}/$value`),this.graphClient.get(s+"/presence")]),[l,f,v]=await Promise.all([c.json(),u.text(),a.json()]);o={...l,photo:`data:image/png;base64,${f.replace('"',"").replace('"',"")}`,presence:v},this.storageService.set(this.key+r,{data:o,expiration:new Date().getTime()+this.cacheExpiration})}else if(this.updatePresence){const u=await(await this.graphClient.get(s+"/presence")).json();o={...o,presence:u},this.storageService.set(this.key+r,{data:o,expiration:new Date().getTime()+this.cacheExpiration})}return o}}Eb([si("getUser-{0}")],Ul.prototype,"getUser",1);function Xn(e){var f,v,d,h,m;const{id:r}=e;let t=e.graphClient;const n=w=>{switch(w){case"":return"offline";case"Available":return"available";case"Busy":return"busy";case"Away":return"away";case"DoNotDisturb":return"do-not-disturb";case"Offline":return"offline";case"PresenceUnknown":return"unknown";case"OutOfOffice":return"out-of-office";case"Blocked":return"blocked";case"BeRightBack":return"away";case"BusyIdle":return"busy";case"AvailableIdle":return"available";default:return w==null?void 0:w.toLowerCase()}},i=g.useRef(new Ul(t,e.showPresence)),[o,s]=g.useState(!e.user),[c,u]=g.useState(e.user),a=async()=>{const w=await i.current.getUser(r);u({...e.user,...w}),s(!1)};if(g.useEffect(()=>{e.user||a()},[r]),o)return E.jsx(bo,{});const l=(c==null?void 0:c.displayName)||e.name||e.title||e.id;return E.jsx(Cl,{primaryText:l,secondaryText:c==null?void 0:c.jobTitle,avatar:{image:{src:c==null?void 0:c.photo},initials:((f=c==null?void 0:c.displayName)==null?void 0:f.split(" ").map(w=>w[0]).join(""))||((v=e.name)==null?void 0:v.split(" ").map(w=>w[0]).join(""))},presence:e.showPresence?{status:n((d=c==null?void 0:c.presence)==null?void 0:d.availability),outOfOffice:(m=(h=c==null?void 0:c.presence)==null?void 0:h.outOfOfficeSettings)==null?void 0:m.isOutOfOffice}:void 0,...e})}function jb(e){const{graphClient:r}=Ze();return E.jsx(Xn,{...e,graphClient:r})}function ir(e){const[r,t]=g.useState(e.value||[]),[n,i]=g.useState(!1),[o,s]=g.useState(""),[c,u]=g.useState(e.value||[]),a=l=>ci.debounce(`entityPicker-${e.additionalKey}`,async()=>{i(!0);try{const f=await e.onDataRequested(l);t([...f,...c].reduce((v,d)=>v.find(m=>m.id===d.id)?v:v.concat([d]),[])),i(!1)}catch(f){console.error(f),i(!1)}},500);return g.useEffect(()=>{a(o)},[o]),e.renderOverride?E.jsx(E.Fragment,{children:e.renderOverride(r,n,a)}):E.jsxs(wl,{label:e.label,hint:e.description,children:[E.jsx(Sl,{value:o,multiselect:e.multiSelect,freeform:!0,onChange:l=>{s(l.target.value)},size:e.size,disabled:e.disabled,onOptionSelect:(l,f)=>{let v=[];const d=r.find(h=>h.id===f.optionValue);c.some(h=>h.id===f.optionValue)?v=c.filter(h=>h.id!==f.optionValue):e.multiSelect?v=[...c,d]:v=[d],v=v.filter(h=>!!h),e.onEntitySelected&&e.onEntitySelected(v),u(v),s(v.map(h=>h.displayName).join(", "))},defaultSelectedOptions:c.map(l=>l.id),children:r.map(l=>E.jsx(Pl,{text:l.displayName,value:l.id,children:e.onSuggestionRendering?e.onSuggestionRendering(l):l.displayName},encodeURIComponent(l.id)))}),n&&E.jsx(El,{})]})}function Rb(e){const{graphClient:r}=Ze();return E.jsx(Gl,{...e,graphClient:r})}function Gl(e){const r=async()=>(await(await e.graphClient.get(`/teams/${e.teamId}/channels?$select=id,displayName`)).json()).value;g.useEffect(()=>{r()},[e.teamId]);const t=async n=>await r();return E.jsx(ir,{additionalKey:`team-${e.teamId}-channels`,...e,onDataRequested:t})}function Fb(e){const{graphClient:r}=Ze();return E.jsx(Xl,{...e,graphClient:r,siteId:e.siteId})}function Xl(e){const r=async t=>{let n=e.siteId?`/sites/${e.siteId}/drives?$select=id,name`:"/me/drives?$select=id,name";return t&&(n+=`&$filter=startswith(name, '${t}')`),(await(await e.graphClient.get(n)).json()).value.map(s=>({id:s.id,displayName:s.name}))};return E.jsx(ir,{additionalKey:`drive-picker-${e.siteId}`,...e,onDataRequested:r})}function qb(e){const{graphClient:r}=Ze();return E.jsx(Kl,{...e,graphClient:r})}function Kl(e){const r=async t=>{let n="/teams?$select=id,displayName&$top=8";return t&&(n+=`&$filter=startswith(displayName, '${t}')`),(await(await e.graphClient.get(n)).json()).value};return E.jsx(ir,{additionalKey:"team-site-picker",...e,onDataRequested:r})}function Ab(e){const{graphClient:r}=Ze();return E.jsx(Zl,{...e,graphClient:r})}function Zl(e){const r=new _c(e.graphClient,!0,!0),t=async n=>(r.setQuery(n),await r.getData());return E.jsx(ir,{...e,additionalKey:"people-picker",onDataRequested:t,onSuggestionRendering:n=>(n.photo&&(n.photo=`data:image/png;base64,${n.photo.replace('"',"").replace('"',"")}`),E.jsx(Xn,{showPresence:!0,user:n,graphClient:e.graphClient}))})}function Db(e){const{graphClient:r}=Ze();return E.jsx(Yl,{...e,graphClient:r})}function Yl(e){const r=g.useRef(new gi(e.graphClient,["site"],["id","displayName"])),t=async n=>(r.current.setQuery(n||"*"),await r.current.getData());return E.jsx(ir,{...e,onDataRequested:t})}function Ql(e){const[r,t]=g.useState(e.initialRender),[n,i]=g.useState(!0);return g.useEffect(()=>{e.permissionCheck().then(o=>{t(o)}).finally(()=>i(!1))},[]),n&&e.placeholder?E.jsx(E.Fragment,{children:e.placeholder}):r?E.jsx(E.Fragment,{children:e.children}):E.jsx(E.Fragment,{})}function Ob(e){const{spClient:r,siteUrl:t}=bi();return E.jsx(Jl,{...e,siteUrl:t,spClient:r})}function Jl(e){return E.jsx(Ql,{placeholder:e.placeholder,permissionCheck:async()=>{var r=`${e.siteUrl}/_api/web/EffectiveBasePermissions`,t=await e.spClient.get(r,{headers:{accept:"application/json"}}),n=await t.json(),i=[];for(var o in $t){var s=Tc.hasPermission(n,$t[o]);s&&i.push(o)}return i.indexOf(e.role)>=0},children:e.children},`${e.role}-${e.siteUrl}`)}function ec(e){return E.jsx(Ql,{placeholder:e.placeholder,permissionCheck:async()=>{const r=`/me/transitiveMemberOf/${e.groupId}?$select=id`;return(await e.graphClient.get(r)).ok},children:e.children},e.groupId)}function Ib(e){const{graphClient:r}=Ze();return E.jsx(ec,{...e,graphClient:r})}G.AbstractGraphEntityPicker=ir,G.AuthenticationContext=So,G.AuthenticationContextProvider=gc,G.ChannelPicker=Rb,G.ChannelPickerStandalone=Gl,G.DataverseContext=qo,G.DataverseContextProvider=Rc,G.DrivePicker=Fb,G.DrivePickerStandalone=Xl,G.GraphContext=Ro,G.GraphContextProvider=Nc,G.GraphGroupMembershipTrimmedComponent=Ib,G.GraphGroupMembershipTrimmedComponentStandalone=ec,G.GraphPersona=jb,G.GraphPersonaStandalone=Xn,G.M365CopilotSearch=zb,G.M365Search=Sb,G.PeoplePicker=Ab,G.PeoplePickerStandalone=Zl,G.SPContext=Fo,G.SPContextProvider=Ec,G.SPPermissionTrimmedComponent=Ob,G.SPPermissionTrimmedComponentStandalone=Jl,G.SitePicker=Db,G.SitePickerStandalone=Yl,G.TeamPicker=qb,G.TeamPickerStandalone=Kl,G.defaultSelectFields=$n,G.useAuthentication=Dr,G.useDataverse=jc,G.useGraph=Ze,G.useSP=bi,Object.defineProperty(G,Symbol.toStringTag,{value:"Module"})});
156
+ );}`,".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%;}}"]}),Jb=e=>{const{color:r,max:t,shape:n,thickness:i,value:o}=e,s=Yb(),c=Qb();return e.root.className=O(ql.root,s.root,s[n],s[i],e.root.className),e.bar&&(e.bar.className=O(ql.bar,c.base,c.brand,o===void 0&&c.indeterminate,o!==void 0&&o>Zb&&c.nonZeroDeterminate,r&&o!==void 0&&c[r],e.bar.className)),e.bar&&o!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,o/t*100))+"%",...e.bar.style}),e},Al=g.forwardRef((e,r)=>{const t=Xb(e,r);return Jb(t),Qe("useProgressBarStyles_unstable")(t),Kb(t)});Al.displayName="ProgressBar";const e1=(e,{referenceLabel:r,referenceId:t},n)=>{const{checkbox:i={},onSelectionChange:o,floatingAction:s,onClick:c,onKeyDown:u}=e,{findAllFocusable:a}=Tv(),l=g.useRef(null),[f,v]=Yt({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),d=[e.selected,e.defaultSelected,o].some(k=>typeof k<"u"),[h,m]=g.useState(!1),w=g.useCallback(k=>{if(!n.current)return!1;const _=a(n.current),q=k.target,F=_.some(X=>X.contains(q)),V=(l==null?void 0:l.current)===q;return F&&!V},[n,a]),b=g.useCallback(k=>{if(w(k))return;const _=!f;v(_),o&&o(k,{selected:_})},[o,f,v,w]),y=g.useCallback(k=>{[Qt].includes(k.key)&&(k.preventDefault(),b(k))},[b]),S=g.useMemo(()=>{if(!d||s)return;const k={};return t?k["aria-labelledby"]=t:r&&(k["aria-label"]=r),J(i,{defaultProps:{ref:l,type:"checkbox",checked:f,onChange:_=>b(_),onFocus:()=>m(!0),onBlur:()=>m(!1),...k},elementType:"input"})},[i,s,f,d,b,t,r]),x=g.useMemo(()=>{if(s)return J(s,{defaultProps:{ref:l},elementType:"div"})},[s]),P=g.useMemo(()=>d?{onClick:xe(c,b),onKeyDown:xe(u,y)}:null,[d,b,c,u,y]);return{selected:f,selectable:d,selectFocused:h,selectableCardProps:P,checkboxSlot:S,floatingActionSlot:x}},Ol=g.createContext(void 0),Hn={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},t1=Ol.Provider,Dl=()=>{var e;return(e=g.useContext(Ol))!==null&&e!==void 0?e:Hn},r1={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},o1=({focusMode:e="off",...r})=>{const t=["onClick","onDoubleClick","onMouseUp","onMouseDown","onPointerUp","onPointerDown","onTouchStart","onTouchEnd","onDragStart","onDragEnd"].some(o=>r[o]),i={...Cv({tabBehavior:r1[t?"no-tab":e]}),tabIndex:0};return{interactive:t,focusAttributes:e==="off"?null:i}},n1=(e,r)=>{const{appearance:t="filled",orientation:n="vertical",size:i="medium"}=e,[o,s]=g.useState(Hn.selectableA11yProps.referenceId),[c,u]=g.useState(Hn.selectableA11yProps.referenceId),a=Fv(),{selectable:l,selected:f,selectableCardProps:v,selectFocused:d,checkboxSlot:h,floatingActionSlot:m}=e1(e,{referenceId:o,referenceLabel:c},a),w=rt(a,r),{interactive:b,focusAttributes:y}=o1(e);return{appearance:t,orientation:n,size:i,interactive:b,selectable:l,selectFocused:d,selected:f,selectableA11yProps:{setReferenceId:s,referenceId:o,referenceLabel:c,setReferenceLabel:u},components:{root:"div",floatingAction:"div",checkbox:"input"},root:me(Fe("div",{ref:w,role:"group",...y,...e,...v}),{elementType:"div"}),floatingAction:m,checkbox:h}},i1=(e,r)=>(ke(e),$(e.root,{children:Ae(t1,{value:r,children:[e.checkbox?$(e.checkbox,{}):null,e.floatingAction?$(e.floatingAction,{}):null,e.root.children]})})),Vn={root:"fui-CardPreview",logo:"fui-CardPreview__logo"},a1=U({root:{qhf8xq:"f10pi13n",pnb5jt:"f1rzl30s",Elg2ur:"f1chxnfo",B184ckt:"f17xb19f"},logo:{qhf8xq:"f1euv43f",B5kzvoi:"f1gcvs1y",oyh7mz:["f1t6tvco","ffrfxm3"],a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f10pi13n{position:relative;}",".f1rzl30s>:not(.fui-CardPreview__logo){display:block;}",".f1chxnfo>:not(.fui-CardPreview__logo){height:100%;}",".f17xb19f>:not(.fui-CardPreview__logo){width:100%;}",".f1euv43f{position:absolute;}",".f1gcvs1y{bottom:12px;}",".f1t6tvco{left:12px;}",".ffrfxm3{right:12px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]}),s1=e=>{const r=a1();return e.root.className=O(Vn.root,r.root,e.root.className),e.logo&&(e.logo.className=O(Vn.logo,r.logo,e.logo.className)),e},nr={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},l1=U({root:{Bkc6ea2:"fkufhic",mc9l5x:"f13qh94s",t4k1zu:"f8a668j",Bt984gj:"f122n59"},image:{mc9l5x:"ftuwxu6",t21cq0:["fql5097","f6yss9k"],Br312pm:"fwpfdsa",Ijaq50:"fldnz9j"},header:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94",mc9l5x:"f22iagw"},description:{Br312pm:"fd46tj4",Ijaq50:"faunodf",mc9l5x:"f22iagw"},action:{Frg6f3:["f6yss9k","fql5097"],Br312pm:"fis13di",Ijaq50:"fldnz9j"}},{d:[".fkufhic{--fui-CardHeader--gap:12px;}",".f13qh94s{display:grid;}",".f8a668j{grid-auto-columns:min-content 1fr min-content;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".fql5097{margin-right:var(--fui-CardHeader--gap);}",".f6yss9k{margin-left:var(--fui-CardHeader--gap);}",".fwpfdsa{grid-column-start:1;}",".fldnz9j{grid-row-start:span 2;}",".fd46tj4{grid-column-start:2;}",".f16hsg94{grid-row-start:1;}",".f22iagw{display:flex;}",".faunodf{grid-row-start:2;}",".fis13di{grid-column-start:3;}"]}),c1=e=>{const r=l1();return e.root.className=O(nr.root,r.root,e.root.className),e.image&&(e.image.className=O(nr.image,r.image,e.image.className)),e.header&&(e.header.className=O(nr.header,r.header,e.header.className)),e.description&&(e.description.className=O(nr.description,r.description,e.description.className)),e.action&&(e.action.className=O(nr.action,r.action,e.action.className)),e},Il={root:"fui-CardFooter",action:"fui-CardFooter__action"},u1=U({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",i8kkvl:"f4akndk",Belr9w4:"fe5j3v"},action:{Frg6f3:["fcgxt0o","f1ujusj6"]}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f4akndk{column-gap:12px;}",".fe5j3v{row-gap:12px;}",".fcgxt0o{margin-left:auto;}",".f1ujusj6{margin-right:auto;}"]}),f1=e=>{const r=u1();return e.root.className=O(Il.root,r.root,e.root.className),e.action&&(e.action.className=O(Il.action,r.action,e.action.className)),e},$n={root:"fui-Card",floatingAction:"fui-Card__floatingAction",checkbox:"fui-Card__checkbox"},d1=U({root:{B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw",Bbmb7ep:["fifeqxg","f899z7z"],Beyfa6y:["f899z7z","fifeqxg"],B7oj6ja:["f4h3tyx","f18ur2pz"],Btl43ni:["f18ur2pz","f4h3tyx"],z8tnut:"f1lplnzb",z189sj:["f10m5gbb","f1k04kkk"],Byoj8tv:"fhftqfp",uwmqm3:["f1k04kkk","f10m5gbb"],i8kkvl:"fxsr4vj",Belr9w4:"fcvsdzp",mc9l5x:"f22iagw",qhf8xq:"f10pi13n",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"],By385i5:"fo72kxq",Bsft5z2:"f13zj6fq",B80jsxd:"f1nwj1ja",Bm2nyyq:"f8rth92",Barhvk9:["flthirb","ftkbnf5"],Bw17bha:"f1lh990p",vfts7:["ftkbnf5","flthirb"],xrcqlc:"f6czdpx",Ihftqj:["f13hvwk3","f1en4csx"],Bcgy8vk:"f1i1u9k0",Bhxzhr1:["f1en4csx","f13hvwk3"],B3778ie:["f1qnomq5","f2fl922"],d9w3h3:["f2fl922","f1qnomq5"],Bl18szs:["f1anhtl","f1n2zcl3"],B4j8arr:["f1n2zcl3","f1anhtl"],B2jhnfs:"f16v3d5c",wiictr:"f1su8t2g"},focused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",Bf4ptjt:"fh1cnn4",kclons:["fy7oxxb","f184ne2d"],Bhdgwq3:"fpukqih",Blkhhs4:["f184ne2d","fy7oxxb"],Bqtpl0w:"f99gebs",clg4pj:["f13b0oaq","f8t2bz6"],hgwjuy:"f1jvq617",Bonggc9:["f8t2bz6","f13b0oaq"],B1tsrr9:["f11unbnk","fbd201q"],Dah5zi:["fbd201q","f11unbnk"],Bkh64rk:["f12nqxso","f1uguk4w"],qqdqy8:["f1uguk4w","f12nqxso"],B6dhp37:"f1dvezut",i03rao:["fd0oaoj","f1cwg4i8"],Boxcth7:"fjvm52t",Bsom6fd:["f1cwg4i8","fd0oaoj"],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"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",ghq09:"f78i1la",B24cy0v:["f1kvsw7t","f1bw8brt"],Bwckmig:"f8k7e5g",Bvwlmkc:["f1bw8brt","f1kvsw7t"],Bbgo44z:"f125hn41",Bil7v7r:["fgxkx34","f1v56tyl"],skfxo0:"fdxas6f",jo1ztg:["f1v56tyl","fgxkx34"],Ba3ybja:["fxwickw","f1ia5cve"],az1dzo:["f1ia5cve","fxwickw"],vppk2z:["f194aguw","fqicc6c"],B6352mv:["fqicc6c","f194aguw"],nr063g:"fq4eyks",Blmvk6g:["f1ya6x16","ftuszwa"],Bsiemmq:"f1e2iu44",B98u21t:["ftuszwa","f1ya6x16"],B2pnrqr:"f1amxum7",B29w5g4:["f1cec8w7","f554mv0"],Bhhzhcn:"f1sj6kbr",Bec0n69:["f554mv0","f1cec8w7"]},orientationHorizontal:{Beiy3e4:"f1063pyq",Bt984gj:"f122n59",Bnoktp0:"fpfyeui",Idhjb2:"fwi74qw",ihgzqh:["ffcmwrh","f6ppoih"],Bgp6ld0:["f1dc9p14","fd933vt"],Bbucpmy:"f18esqgw"},orientationVertical:{Beiy3e4:"f1vx9l62",Bt4kzjz:["fobhde4","fx5r7kn"],B1ou843:["fx5r7kn","fobhde4"],y1433z:"f19chtn8",B7egwnw:"fuvs6re",B49b4xf:"fy4glsf"},sizeSmall:{B7balbw:"f1pi9uxy",B1h88n7:"f1h1zgly"},sizeMedium:{B7balbw:"frsmuga",B1h88n7:"fuldkky"},sizeLarge:{B7balbw:"f1qua4xo",B1h88n7:"fimkt6v"},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"],Jwef8y:"f1knas48",Bvxd0ez:"f1m145df",ecr2s2:"fb40n2d"},filledInteractiveSelected:{De3pzq:"f1nfm20t",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],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"],Jwef8y:"f1uvynv3",Bvxd0ez:"f1m145df",ecr2s2:"f1yhgkbh"},filledAlternativeInteractiveSelected:{De3pzq:"fjxa0vh",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],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"],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"],Jwef8y:"fg59vm4"},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"],Jwef8y:"f1t94bn6",ecr2s2:"f1wfn5kd"},subtleInteractiveSelected:{De3pzq:"fq5gl1p",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Jwef8y:"f1uqaxdt"},highContrastSelected:{ycbfsm:"fkc42ay",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1lkg8j3",xgfqdd:"f1nkj0oa",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},highContrastInteractive:{h1vhog:"fpfvv3l",kslmdy:"f1oamsm6",Baaf6ca:"f1il21bs",x9zz3d:"fnn5dk0",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},select:{qhf8xq:"f1euv43f",Bhzewxz:"fqclxi7",j35jbq:["fiv86kb","f36uhnt"],Bj3rh1h:"f19g0ac"},hiddenCheckbox:{B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw",a9b677:"frkrog8",Bqenvij:"f1mpe4l3",qhf8xq:"f1euv43f",Bh84pgu:"fmf1zke",Bgl5zvf:"f1wch0ki",Huce71:"fz5stix"}},{d:[".f1p9o1ba{overflow-x:hidden;}",".f1sil6mw{overflow-y:hidden;}",".fifeqxg{border-bottom-right-radius:var(--fui-Card--border-radius);}",".f899z7z{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f4h3tyx{border-top-right-radius:var(--fui-Card--border-radius);}",".f18ur2pz{border-top-left-radius:var(--fui-Card--border-radius);}",".f1lplnzb{padding-top:var(--fui-Card--size);}",".f10m5gbb{padding-right:var(--fui-Card--size);}",".f1k04kkk{padding-left:var(--fui-Card--size);}",".fhftqfp{padding-bottom:var(--fui-Card--size);}",".fxsr4vj{column-gap:var(--fui-Card--size);}",".fcvsdzp{row-gap:var(--fui-Card--size);}",".f22iagw{display:flex;}",".f10pi13n{position:relative;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fo72kxq::after{bottom:0;}",'.f13zj6fq::after{content:"";}',".f1nwj1ja::after{pointer-events:none;}",".f8rth92::after{border-top-style:solid;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f1lh990p::after{border-bottom-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f1i1u9k0::after{border-bottom-width:var(--strokeWidthThin);}",".f1qnomq5::after{border-bottom-right-radius:var(--fui-Card--border-radius);}",".f2fl922::after{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f1anhtl::after{border-top-right-radius:var(--fui-Card--border-radius);}",".f1n2zcl3::after{border-top-left-radius:var(--fui-Card--border-radius);}",".f16v3d5c>.fui-CardHeader,.f16v3d5c>.fui-CardFooter{flex-shrink:0;}",".f1su8t2g>:not(.fui-CardPreview):not(.fui-CardHeader):not(.fui-CardFooter){flex-grow: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;}",'.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;}",".fh1cnn4[data-fui-focus-visible]::after{border-top-style:solid;}",".fy7oxxb[data-fui-focus-visible]::after{border-right-style:solid;}",".f184ne2d[data-fui-focus-visible]::after{border-left-style:solid;}",".fpukqih[data-fui-focus-visible]::after{border-bottom-style:solid;}",".f99gebs[data-fui-focus-visible]::after{border-top-width:var(--strokeWidthThick);}",".f13b0oaq[data-fui-focus-visible]::after{border-right-width:var(--strokeWidthThick);}",".f8t2bz6[data-fui-focus-visible]::after{border-left-width:var(--strokeWidthThick);}",".f1jvq617[data-fui-focus-visible]::after{border-bottom-width:var(--strokeWidthThick);}",".f11unbnk[data-fui-focus-visible]::after{border-bottom-right-radius:var(--fui-Card--border-radius);}",".fbd201q[data-fui-focus-visible]::after{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f12nqxso[data-fui-focus-visible]::after{border-top-right-radius:var(--fui-Card--border-radius);}",".f1uguk4w[data-fui-focus-visible]::after{border-top-left-radius:var(--fui-Card--border-radius);}",".f1dvezut[data-fui-focus-visible]::after{border-top-color:var(--colorStrokeFocus2);}",".fd0oaoj[data-fui-focus-visible]::after{border-right-color:var(--colorStrokeFocus2);}",".f1cwg4i8[data-fui-focus-visible]::after{border-left-color:var(--colorStrokeFocus2);}",".fjvm52t[data-fui-focus-visible]::after{border-bottom-color:var(--colorStrokeFocus2);}",".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;}",".f78i1la[data-fui-focus-within]:focus-within::after{border-top-style:solid;}",".f1kvsw7t[data-fui-focus-within]:focus-within::after{border-right-style:solid;}",".f1bw8brt[data-fui-focus-within]:focus-within::after{border-left-style:solid;}",".f8k7e5g[data-fui-focus-within]:focus-within::after{border-bottom-style:solid;}",".f125hn41[data-fui-focus-within]:focus-within::after{border-top-width:var(--strokeWidthThick);}",".fgxkx34[data-fui-focus-within]:focus-within::after{border-right-width:var(--strokeWidthThick);}",".f1v56tyl[data-fui-focus-within]:focus-within::after{border-left-width:var(--strokeWidthThick);}",".fdxas6f[data-fui-focus-within]:focus-within::after{border-bottom-width:var(--strokeWidthThick);}",".fxwickw[data-fui-focus-within]:focus-within::after{border-bottom-right-radius:var(--fui-Card--border-radius);}",".f1ia5cve[data-fui-focus-within]:focus-within::after{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f194aguw[data-fui-focus-within]:focus-within::after{border-top-right-radius:var(--fui-Card--border-radius);}",".fqicc6c[data-fui-focus-within]:focus-within::after{border-top-left-radius:var(--fui-Card--border-radius);}",".fq4eyks[data-fui-focus-within]:focus-within::after{border-top-color:var(--colorStrokeFocus2);}",".f1ya6x16[data-fui-focus-within]:focus-within::after{border-right-color:var(--colorStrokeFocus2);}",".ftuszwa[data-fui-focus-within]:focus-within::after{border-left-color:var(--colorStrokeFocus2);}",".f1e2iu44[data-fui-focus-within]:focus-within::after{border-bottom-color:var(--colorStrokeFocus2);}",".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;}",".fpfyeui>.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",".fwi74qw>.fui-CardPreview{margin-bottom:calc(var(--fui-Card--size) * -1);}",'.ffcmwrh>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-left:calc(var(--fui-Card--size) * -1);}','.f6ppoih>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f1dc9p14>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.fd933vt>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-left:calc(var(--fui-Card--size) * -1);}',".f18esqgw>.fui-CardHeader:last-of-type,.f18esqgw>.fui-CardFooter:last-of-type{flex-grow:1;}",".f1vx9l62{flex-direction:column;}",".fobhde4>.fui-CardPreview{margin-left:calc(var(--fui-Card--size) * -1);}",".fx5r7kn>.fui-CardPreview{margin-right:calc(var(--fui-Card--size) * -1);}",'.f19chtn8>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-top:calc(var(--fui-Card--size) * -1);}',".fuvs6re>.fui-Card__floatingAction+.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",'.fy4glsf>: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);}",".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);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1euv43f{position:absolute;}",".fqclxi7{top:4px;}",".fiv86kb{right:4px;}",".f36uhnt{left:4px;}",".f19g0ac{z-index:1;}",".frkrog8{width:1px;}",".f1mpe4l3{height:1px;}",".fmf1zke{clip:rect(0 0 0 0);}",".f1wch0ki{clip-path:inset(50%);}",".fz5stix{white-space:nowrap;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f1m145df:hover{box-shadow:var(--shadow8);}",".f1kz6goq:hover{background-color:var(--colorNeutralBackground1Selected);}",".f1uvynv3:hover{background-color:var(--colorNeutralBackground2Hover);}",".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);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],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);}"],m:[["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nkj0oa .fui-CardPreview,.f1nkj0oa .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fey3rwa::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f5jhx11::after{border-right-color:Highlight;}.fff9uym::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fm7n0jy::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpfvv3l:hover,.fpfvv3l :active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1oamsm6:hover,.f1oamsm6 :active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1il21bs:hover,.f1il21bs :active{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnn5dk0:hover .fui-CardPreview,.fnn5dk0 :active .fui-CardPreview,.fnn5dk0:hover .fui-CardFooter,.fnn5dk0 :active .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),h1=e=>{const r=d1(),t={horizontal:r.orientationHorizontal,vertical:r.orientationVertical},n={small:r.sizeSmall,medium:r.sizeMedium,large:r.sizeLarge},i={filled:r.filled,"filled-alternative":r.filledAlternative,outline:r.outline,subtle:r.subtle},o={filled:r.filledInteractiveSelected,"filled-alternative":r.filledAlternativeInteractiveSelected,outline:r.outlineInteractiveSelected,subtle:r.subtleInteractiveSelected},s={filled:r.filledInteractive,"filled-alternative":r.filledAlternativeInteractive,outline:r.outlineInteractive,subtle:r.subtleInteractive},c=e.interactive||e.selectable,u=g.useMemo(()=>e.selectable?e.selectFocused?r.selectableFocused:"":r.focused,[e.selectFocused,e.selectable,r.focused,r.selectableFocused]);return e.root.className=O($n.root,r.root,t[e.orientation],n[e.size],i[e.appearance],c&&s[e.appearance],e.selected&&o[e.appearance],u,c&&r.highContrastInteractive,e.selected&&r.highContrastSelected,e.root.className),e.floatingAction&&(e.floatingAction.className=O($n.floatingAction,r.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=O($n.checkbox,r.hiddenCheckbox,e.checkbox.className)),e};function v1({selectableA11yProps:e}){return{selectableA11yProps:e}}const Ml=g.forwardRef((e,r)=>{const t=n1(e,r),n=v1(t);return h1(t),i1(t,n)});Ml.displayName="Card";const g1=(e,r)=>{const{action:t}=e;return{components:{root:"div",action:"div"},root:me(Fe("div",{ref:r,...e}),{elementType:"div"}),action:J(t,{elementType:"div"})}},p1=e=>(ke(e),Ae(e.root,{children:[e.root.children,e.action&&$(e.action,{})]})),Ll=g.forwardRef((e,r)=>{const t=g1(e,r);return f1(t),p1(t)});Ll.displayName="CardFooter";function m1(e){function r(t){return g.isValidElement(t)&&!!t.props.id}return g.Children.toArray(e).find(r)}function b1(e,r,t){return e||(r!=null&&r.props.id?r.props.id:t)}const y1=(e,r)=>{const{image:t,header:n,description:i,action:o}=e,{selectableA11yProps:{referenceId:s,setReferenceId:c}}=Dl(),u=g.useRef(null),a=g.useRef(!1),l=jt(nr.header,s),f=J(n,{renderByDefault:!0,defaultProps:{ref:u,id:a.current?void 0:s},elementType:"div"});return g.useEffect(()=>{var v;const d=a.current||(v=u.current)===null||v===void 0?void 0:v.id,h=m1(f==null?void 0:f.children);a.current=!!h,c(b1(d,h,l))},[l,n,f,c]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:me(Fe("div",{ref:r,...e}),{elementType:"div"}),image:J(t,{elementType:"div"}),header:f,description:J(i,{elementType:"div"}),action:J(o,{elementType:"div"})}},w1=e=>(ke(e),Ae(e.root,{children:[e.image&&$(e.image,{}),$(e.header,{}),e.description&&$(e.description,{}),e.action&&$(e.action,{})]})),Hl=g.forwardRef((e,r)=>{const t=y1(e,r);return c1(t),w1(t)});Hl.displayName="CardHeader";const k1=(e,r)=>{const{logo:t}=e,{selectableA11yProps:{referenceLabel:n,referenceId:i,setReferenceLabel:o,setReferenceId:s}}=Dl(),c=rt(r,g.useRef(null));return g.useEffect(()=>{if(!(n&&i)&&c.current&&c.current.parentNode){const u=c.current.parentNode.querySelector(`.${Vn.root} > img`);if(u){const a=u.getAttribute("aria-label"),l=u.getAttribute("aria-describedby");l?s(l):u.alt?o(u.alt):a&&o(a)}}},[o,n,c,i,s]),{components:{root:"div",logo:"div"},root:me(Fe("div",{ref:c,...e}),{elementType:"div"}),logo:J(t,{elementType:"div"})}},x1=e=>(ke(e),Ae(e.root,{children:[e.root.children,e.logo&&$(e.logo,{})]})),Vl=g.forwardRef((e,r)=>{const t=k1(e,r);return s1(t),x1(t)});Vl.displayName="CardPreview";const Wn=["title","path","description","listItemId","identityListItemId","identityListId","identitySiteCollectionId","identityWebId","lastModifiedTime","viewsLifeTime","viewsRecent","owstaxidmetadataalltagsinfo","driveId","author","authorOwsUser"],$l="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xlsx.png",Wl="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/docx.png",Ul="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pptx.png",Gl="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/mpp.png",Fr="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/photo.png",B1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pdf.png",_1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/txt.png",Xl="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/email.png",S1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/csv.png",P1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pub.png",C1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/accdb.png",Un="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/zip.png",Gn="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/genericfile.png",Kl="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/code.png",z1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/html.png",T1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xml.png",N1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/spo.png",qr="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/video.png",ko=class ko{static getFileImageUrl(r){if(!r)return Gn;let t=Gn;const n=r.split("."),i=n[n.length-1];if(!i)return t;switch(i.toLowerCase()){case"xlsx":t=$l;break;case"xls":t=$l;break;case"docx":t=Wl;break;case"doc":t=Wl;break;case"pptx":t=Ul;break;case"ppt":t=Ul;break;case"mppx":t=Gl;break;case"mpp":t=Gl;break;case"csv":t=S1;break;case"pdf":t=B1;break;case"txt":t=_1;break;case"jpg":t=Fr;break;case"msg":t=Xl;break;case"jpeg":t=Fr;break;case"png":t=Fr;break;case"ico":t=Fr;break;case"tiff":t=Fr;break;case"eml":t=Xl;break;case"pub":t=P1;break;case"accdb":t=C1;break;case"zip":t=Un;break;case"7z":t=Un;break;case"tar":t=Un;break;case"js":t=Kl;break;case"json":t=Kl;break;case"html":t=z1;break;case"xml":t=T1;break;case"aspx":t=N1;break;case"mp4":t=qr;break;case"mov":t=qr;break;case"wmv":t=qr;break;case"ogg":t=qr;break;case"webm":t=qr;break;default:t=Gn;break}return t}};ko.getShortName=r=>{if(!r)return"";const t=r.split("."),n=t[0].substring(0,25),i=t[t.length-1];return`${n}...${i}`},ko.isOndrive=async r=>r?r.indexOf("my.sharepoint.com")>-1:!1;let wo=ko;const It=class It{};It.getThumbnailUrl=(r,t="medium")=>`https://graph.microsoft.com/v1.0/sites/${r.identitySiteCollectionId}/sites/${r.identityWebId}/lists/${r.identityListId}/items/${r.listItemId}/microsoft.graph.listitem/driveItem/thumbnails/0/${t}/content`,It.getThumbnailImageFromGraphApiCall=async(r,t)=>{const n=await r.get(t);if(n.headers["content-type"]==="application/json")return"data:image/png;base64,"+(await n.text()).replace('"',"").replace('"',"");if(n.status===302)return n.headers.Location;if(n.status===404)return"";const i=await n.arrayBuffer();return`data:image/jpeg;base64,${Buffer.from(new Uint8Array(i).reduce((s,c)=>s+String.fromCharCode(c),"")).toString("base64")}`},It.getThumbnailImageFromGraph=async(r,t,n="medium")=>{const i=It.getThumbnailUrl(r,n);return await It.getThumbnailImageFromGraphApiCall(t,i)};let Xn=It;const E1=on({title:{..._r.margin(0,0,"12px")},description:{..._r.margin(0,0,"12px")},card:{width:"20rem",maxWidth:"100%",height:"fit-content"},image:{width:"20rem",height:"7rem"},text:{..._r.margin(0)},imageIconWrapper:{width:"20rem!important",height:"7rem!important",display:"flex!important",justifyContent:"center",alignItems:"center",backgroundColor:Cr.colorNeutralBackground3}}),Zl=e=>{const{graphClient:r}=Ze(),t=E1(),[n,i]=g.useState(void 0);return g.useEffect(()=>{Xn.getThumbnailImageFromGraph(e.document.fields,r).then(o=>{i(o)}).catch(o=>{console.error(o)})},[]),E.jsxs(Ml,{className:t.card,children:[E.jsx(Vl,{children:n?E.jsx("img",{src:n,alt:e.document.fields.title,className:t.image}):E.jsx("div",{className:t.imageIconWrapper,children:E.jsx("div",{children:E.jsx("img",{src:wo.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title})})})}),E.jsx(Hl,{image:E.jsx("img",{src:wo.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title}),header:E.jsx($b,{children:E.jsx("b",{children:e.document.fields.title})}),description:E.jsx(Wb,{children:e.document.fields.author}),action:E.jsx(Dn,{appearance:"transparent","aria-label":"More options"})}),E.jsx("p",{className:t.text,children:e.document.fields.description}),E.jsx(Ll,{children:E.jsx(Dn,{as:"a",href:e.document.fields.path,appearance:"primary",icon:E.jsx(sh,{}),children:"Open"})})]})},j1=on({wrapper:{},searchInput:{},searchResults:{display:"flex",flexWrap:"wrap",flexDirection:"row",..._r.gap(Cr.spacingHorizontalL,Cr.spacingVerticalL)}}),R1=e=>{var d;const{graphClient:r}=Ze(),t=j1(),n=g.useMemo(()=>{var m,w,b,y,S,x,P;var h=new wi(r,[((m=e.dataProviderProps)==null?void 0:m.entityType)??"listItem"],((w=e.dataProviderProps)==null?void 0:w.selectFields)||Wn);return h.queryTemplate=(b=e.dataProviderProps)==null?void 0:b.queryTemplate,h.pageSize=(y=e.dataProviderProps)==null?void 0:y.pageSize,(S=e.dataProviderProps)!=null&&S.aggregations&&h.setRefiners((x=e.dataProviderProps)==null?void 0:x.aggregations),h.setQuery(((P=e.dataProviderProps)==null?void 0:P.initialQuery)??""),h},[r,e.dataProviderProps]),[i,o]=g.useState(!0),[s,c]=g.useState(((d=e.dataProviderProps)==null?void 0:d.initialQuery)??""),[u,a]=g.useState([]),[l,f]=g.useState(void 0);g.useEffect(()=>{n.setQuery(s),o(!0),n.getData().then(h=>{a(h),f(void 0)}).catch(h=>{f(h.message)}).finally(()=>{o(!1)})},[s]);const v=()=>e!=null&&e.searchInputComponent?E.jsx(e.searchInputComponent,{onSearch:h=>{c(h)}}):E.jsx(Mn,{contentBefore:E.jsx(is,{}),placeholder:"Search",value:s,onChange:h=>{c(h.target.value)}});return E.jsxs("div",{children:[E.jsx("div",{children:v()}),E.jsxs("div",{children:[i&&E.jsx(yo,{label:"Loading..."}),!i&&l&&E.jsxs("div",{children:["Error: ",l]})]}),E.jsx("div",{className:t.searchResults,children:u.map((h,m)=>E.jsx("div",{children:e!=null&&e.onResultRendering?e.onResultRendering(h):E.jsx(Zl,{document:h})},m))})]})},F1=on({wrapper:{},searchInput:{},searchResults:{display:"flex",flexWrap:"wrap",flexDirection:"row",..._r.gap(Cr.spacingHorizontalL,Cr.spacingVerticalL)}}),q1=e=>{var d;const{graphClient:r}=Ze(),t=F1(),n=g.useMemo(()=>{var m,w;var h=new Fc(r,"sharePoint",((m=e.dataProviderProps)==null?void 0:m.selectFields)||Wn,(w=e.dataProviderProps)==null?void 0:w.queryTemplate);return h},[r,e.dataProviderProps]),[i,o]=g.useState(!0),[s,c]=g.useState(((d=e.dataProviderProps)==null?void 0:d.initialQuery)??""),[u,a]=g.useState([]),[l,f]=g.useState(void 0);g.useEffect(()=>{ci.debounce("copilot-search",async()=>{o(!0),n.getData(s).then(h=>{a(h),f(void 0)}).catch(h=>{f(h.message)}).finally(()=>{o(!1)})},1e3)},[s]);const v=()=>e!=null&&e.searchInputComponent?E.jsx(e.searchInputComponent,{onSearch:h=>{c(h)}}):E.jsx(Mn,{style:{width:"500px"},contentBefore:E.jsx(is,{}),placeholder:"Search",value:s,onChange:h=>{c(h.target.value)}});return E.jsxs("div",{children:[E.jsx("div",{children:v()}),E.jsxs("div",{children:[i&&E.jsx(yo,{label:"Loading..."}),!i&&l&&E.jsxs("div",{children:["Error: ",l]})]}),E.jsx("div",{className:t.searchResults,children:u.map((h,m)=>E.jsx("div",{children:e!=null&&e.onResultRendering?e.onResultRendering(h):E.jsx(Zl,{document:{fields:h.resourceMetadata,...h}})},m))})]})};var A1=Object.defineProperty,O1=Object.getOwnPropertyDescriptor,D1=(e,r,t,n)=>{for(var i=n>1?void 0:n?O1(r,t):r,o=e.length-1,s;o>=0;o--)(s=e[o])&&(i=(n?s(r,t,i):s(i))||i);return n&&i&&A1(r,t,i),i};class Yl{constructor(r,t){this.graphClient=r,this.updatePresence=t,this.key="persona-cache-",this.cacheExpiration=1e3*60*60*4,this.storageService=new ai}async getUser(r,t="48x48"){let n=r;if(r&&r.indexOf("@")>-1){const c=`/users/${r}?$select=id`,u=await this.graphClient.get(c);if(u.status===404)return null;n=(await u.json()).id}let i=this.storageService.get(this.key+r),o=i==null?void 0:i.data;const s=n?`/users/${n}`:"/me";if(!o||i.expiration<new Date().getTime()){const[c,u,a]=await Promise.all([this.graphClient.get(s+"?$select=id,displayName,mail,jobTitle,department,officeLocation,mobilePhone,businessPhones,userPrincipalName,usageLocation"),this.graphClient.get(s+`/photos/${t}/$value`),this.graphClient.get(s+"/presence")]),[l,f,v]=await Promise.all([c.json(),u.text(),a.json()]);o={...l,photo:`data:image/png;base64,${f.replace('"',"").replace('"',"")}`,presence:v},this.storageService.set(this.key+r,{data:o,expiration:new Date().getTime()+this.cacheExpiration})}else if(this.updatePresence){const u=await(await this.graphClient.get(s+"/presence")).json();o={...o,presence:u},this.storageService.set(this.key+r,{data:o,expiration:new Date().getTime()+this.cacheExpiration})}return o}}D1([si("getUser-{0}")],Yl.prototype,"getUser",1);function Kn(e){var f,v,d,h,m;const{id:r}=e;let t=e.graphClient;const n=w=>{switch(w){case"":return"offline";case"Available":return"available";case"Busy":return"busy";case"Away":return"away";case"DoNotDisturb":return"do-not-disturb";case"Offline":return"offline";case"PresenceUnknown":return"unknown";case"OutOfOffice":return"out-of-office";case"Blocked":return"blocked";case"BeRightBack":return"away";case"BusyIdle":return"busy";case"AvailableIdle":return"available";default:return w==null?void 0:w.toLowerCase()}},i=g.useRef(new Yl(t,e.showPresence)),[o,s]=g.useState(!e.user),[c,u]=g.useState(e.user),a=async()=>{const w=await i.current.getUser(r);u({...e.user,...w}),s(!1)};if(g.useEffect(()=>{e.user||a()},[r]),o)return E.jsx(yo,{});const l=(c==null?void 0:c.displayName)||e.name||e.title||e.id;return E.jsx(jl,{primaryText:l,secondaryText:c==null?void 0:c.jobTitle,avatar:{image:{src:c==null?void 0:c.photo},initials:((f=c==null?void 0:c.displayName)==null?void 0:f.split(" ").map(w=>w[0]).join(""))||((v=e.name)==null?void 0:v.split(" ").map(w=>w[0]).join(""))},presence:e.showPresence?{status:n((d=c==null?void 0:c.presence)==null?void 0:d.availability),outOfOffice:(m=(h=c==null?void 0:c.presence)==null?void 0:h.outOfOfficeSettings)==null?void 0:m.isOutOfOffice}:void 0,...e})}function I1(e){const{graphClient:r}=Ze();return E.jsx(Kn,{...e,graphClient:r})}function ir(e){const[r,t]=g.useState(e.value||[]),[n,i]=g.useState(!1),[o,s]=g.useState(""),[c,u]=g.useState(e.value||[]),a=l=>ci.debounce(`entityPicker-${e.additionalKey}`,async()=>{i(!0);try{const f=await e.onDataRequested(l);t([...f,...c].reduce((v,d)=>v.find(m=>m.id===d.id)?v:v.concat([d]),[])),i(!1)}catch(f){console.error(f),i(!1)}},500);return g.useEffect(()=>{a(o)},[o]),e.renderOverride?E.jsx(E.Fragment,{children:e.renderOverride(r,n,a)}):E.jsxs(Sl,{label:e.label,hint:e.description,children:[E.jsx(El,{value:o,multiselect:e.multiSelect,freeform:!0,onChange:l=>{s(l.target.value)},size:e.size,disabled:e.disabled,onOptionSelect:(l,f)=>{let v=[];const d=r.find(h=>h.id===f.optionValue);c.some(h=>h.id===f.optionValue)?v=c.filter(h=>h.id!==f.optionValue):e.multiSelect?v=[...c,d]:v=[d],v=v.filter(h=>!!h),e.onEntitySelected&&e.onEntitySelected(v),u(v),s(v.map(h=>h.displayName).join(", "))},defaultSelectedOptions:c.map(l=>l.id),children:r.map(l=>E.jsx(Nl,{text:l.displayName,value:l.id,children:e.onSuggestionRendering?e.onSuggestionRendering(l):l.displayName},encodeURIComponent(l.id)))}),n&&E.jsx(Al,{})]})}function M1(e){const{graphClient:r}=Ze();return E.jsx(Ql,{...e,graphClient:r})}function Ql(e){const r=async()=>(await(await e.graphClient.get(`/teams/${e.teamId}/channels?$select=id,displayName`)).json()).value;g.useEffect(()=>{r()},[e.teamId]);const t=async n=>await r();return E.jsx(ir,{additionalKey:`team-${e.teamId}-channels`,...e,onDataRequested:t})}function L1(e){const{graphClient:r}=Ze();return E.jsx(Jl,{...e,graphClient:r,siteId:e.siteId})}function Jl(e){const r=async t=>{let n=e.siteId?`/sites/${e.siteId}/drives?$select=id,name`:"/me/drives?$select=id,name";return t&&(n+=`&$filter=startswith(name, '${t}')`),(await(await e.graphClient.get(n)).json()).value.map(s=>({id:s.id,displayName:s.name}))};return E.jsx(ir,{additionalKey:`drive-picker-${e.siteId}`,...e,onDataRequested:r})}function H1(e){const{graphClient:r}=Ze();return E.jsx(ec,{...e,graphClient:r})}function ec(e){const r=async t=>{let n="/teams?$select=id,displayName&$top=8";return t&&(n+=`&$filter=startswith(displayName, '${t}')`),(await(await e.graphClient.get(n)).json()).value};return E.jsx(ir,{additionalKey:"team-site-picker",...e,onDataRequested:r})}function V1(e){const{graphClient:r}=Ze();return E.jsx(tc,{...e,graphClient:r})}function tc(e){const r=new Ec(e.graphClient,!0,!0),t=async n=>(r.setQuery(n),await r.getData());return E.jsx(ir,{...e,additionalKey:"people-picker",onDataRequested:t,onSuggestionRendering:n=>(n.photo&&(n.photo=`data:image/png;base64,${n.photo.replace('"',"").replace('"',"")}`),E.jsx(Kn,{showPresence:!0,user:n,graphClient:e.graphClient}))})}function $1(e){const{graphClient:r}=Ze();return E.jsx(rc,{...e,graphClient:r})}function rc(e){const r=g.useRef(new wi(e.graphClient,["site"],["id","displayName"])),t=async n=>(r.current.setQuery(n||"*"),await r.current.getData());return E.jsx(ir,{...e,onDataRequested:t})}function oc(e){const[r,t]=g.useState(e.initialRender),[n,i]=g.useState(!0);return g.useEffect(()=>{e.permissionCheck().then(o=>{t(o)}).finally(()=>i(!1))},[]),n&&e.placeholder?E.jsx(E.Fragment,{children:e.placeholder}):r?E.jsx(E.Fragment,{children:e.children}):E.jsx(E.Fragment,{})}function W1(e){const{spClient:r,siteUrl:t}=Bi();return E.jsx(nc,{...e,siteUrl:t,spClient:r})}function nc(e){return E.jsx(oc,{placeholder:e.placeholder,permissionCheck:async()=>{var r=`${e.siteUrl}/_api/web/EffectiveBasePermissions`,t=await e.spClient.get(r,{headers:{accept:"application/json"}}),n=await t.json(),i=[];for(var o in $t){var s=Ac.hasPermission(n,$t[o]);s&&i.push(o)}return i.indexOf(e.role)>=0},children:e.children},`${e.role}-${e.siteUrl}`)}function ic(e){return E.jsx(oc,{placeholder:e.placeholder,permissionCheck:async()=>{const r=`/me/transitiveMemberOf/${e.groupId}?$select=id`;return(await e.graphClient.get(r)).ok},children:e.children},e.groupId)}function U1(e){const{graphClient:r}=Ze();return E.jsx(ic,{...e,graphClient:r})}G.AbstractGraphEntityPicker=ir,G.AuthenticationContext=Co,G.AuthenticationContextProvider=wc,G.ChannelPicker=M1,G.ChannelPickerStandalone=Ql,G.DataverseContext=Ao,G.DataverseContextProvider=Mc,G.DrivePicker=L1,G.DrivePickerStandalone=Jl,G.GraphContext=Fo,G.GraphContextProvider=Oc,G.GraphGroupMembershipTrimmedComponent=U1,G.GraphGroupMembershipTrimmedComponentStandalone=ic,G.GraphPersona=I1,G.GraphPersonaStandalone=Kn,G.M365CopilotSearch=q1,G.M365Search=R1,G.PeoplePicker=V1,G.PeoplePickerStandalone=tc,G.SPContext=qo,G.SPContextProvider=Dc,G.SPPermissionTrimmedComponent=W1,G.SPPermissionTrimmedComponentStandalone=nc,G.SitePicker=$1,G.SitePickerStandalone=rc,G.TeamPicker=H1,G.TeamPickerStandalone=ec,G.defaultSelectFields=Wn,G.useAuthentication=Or,G.useDataverse=Ic,G.useGraph=Ze,G.useSP=Bi,Object.defineProperty(G,Symbol.toStringTag,{value:"Module"})});