@mohsinonxrm/pptb-commandbar-studio 0.5.2 → 0.6.1

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.
Files changed (84) hide show
  1. package/CHANGELOG.md +375 -99
  2. package/LICENSE +661 -661
  3. package/README.md +343 -316
  4. package/SECURITY.md +62 -0
  5. package/dist/assets/BulkPublishModal-DqX2QmUD.js +29 -0
  6. package/dist/assets/CommandEditorPanel-DidGBtFC.js +1 -0
  7. package/dist/assets/CommandPalette-AuDfsF8l.js +1 -0
  8. package/dist/assets/ConflictDrawer-DxQ_jd-x.js +1 -0
  9. package/dist/assets/CrmParameterEditor-BdmP65mF.js +1 -0
  10. package/dist/assets/DiffViewer-BZuqvP4f.js +7 -0
  11. package/dist/assets/HideInsteadOfDeleteModal-BYHCTZrG.js +1 -0
  12. package/dist/assets/IconPickerModal-Bw0C7KwV.js +1 -0
  13. package/dist/assets/ImportXmlModal-B8NgiUDZ.js +1 -0
  14. package/dist/assets/LocalizationEditor-tmniX5PC.js +1 -0
  15. package/dist/assets/MonacoEditor-Bbg9u2FW.js +2 -0
  16. package/dist/assets/NewButtonModal-BVvlbCv4.js +1 -0
  17. package/dist/assets/NewGroupModal-CgQy-uo4.js +1 -0
  18. package/dist/assets/NewTabModal-B_2-kwAx.js +1 -0
  19. package/dist/assets/RuleEditorPanel-BkNwBgaP.js +1 -0
  20. package/dist/assets/ScalingEditorPanel-ezMkzvG1.js +1 -0
  21. package/dist/assets/TabDisplayRulesPanel-trzExQ1T.js +1 -0
  22. package/dist/assets/UrlComposerModal-BlVXHKRM.js +1 -0
  23. package/dist/assets/WebResourceBrowser-DaPOZQ5X.js +1 -0
  24. package/dist/assets/XmlDrawer-BI6Wy6kL.js +2 -0
  25. package/dist/assets/crmParameters-rgfZhhzN.js +1 -0
  26. package/dist/assets/cssMode-DdC7kBk-.js +1 -0
  27. package/dist/assets/{dnd-DHB99ZH7.js → dnd-fsSwRnQv.js} +2 -2
  28. package/dist/assets/{editor.worker-CdQrwHl8.js → editor.worker-1APKdqmi.js} +2 -2
  29. package/dist/assets/fluent-icons-DxKNRZ1A.js +1 -0
  30. package/dist/assets/fluent-ui-D7EtYwEg.js +43 -0
  31. package/dist/assets/{freemarker2-B8bME0pA.js → freemarker2-DDn-Wpd6.js} +1 -1
  32. package/dist/assets/{handlebars-zIyCxTW6.js → handlebars-Ck_SjSJx.js} +1 -1
  33. package/dist/assets/{html-B5hFqu3X.js → html-BaJUqhKx.js} +1 -1
  34. package/dist/assets/htmlMode-CnYhJfhG.js +1 -0
  35. package/dist/assets/index-Bu7BlRFk.js +139 -0
  36. package/dist/assets/{javascript-BQGsYMat.js → javascript-2UlV1Qbm.js} +1 -1
  37. package/dist/assets/{jsonMode-CR0b-9Un.js → jsonMode-BmSpB9yr.js} +1 -1
  38. package/dist/assets/{liquid-DLq8jbP8.js → liquid-CE2reFvH.js} +1 -1
  39. package/dist/assets/{lspLanguageFeatures-C3buAG32.js → lspLanguageFeatures-BvbzEddk.js} +2 -2
  40. package/dist/assets/{mdx-5ni22WXY.js → mdx-BvcZv3tC.js} +1 -1
  41. package/dist/assets/{monaco-BLZnQb2P.js → monaco-Bx8A1Vm1.js} +4 -4
  42. package/dist/assets/monaco-Dprb6f6S.css +1 -0
  43. package/dist/assets/{python-F20Pd69B.js → python-MTPSN2vk.js} +1 -1
  44. package/dist/assets/{razor-3xmsG6cc.js → razor-Ccq_CgR8.js} +1 -1
  45. package/dist/assets/ruleKinds-B9hACGaq.js +1 -0
  46. package/dist/assets/{server.browser-DfdiBs1P.js → server.browser-C3R9jebn.js} +1 -1
  47. package/dist/assets/{tsMode-Cyusk9p4.js → tsMode-2cv3qhqp.js} +1 -1
  48. package/dist/assets/{typescript-BXT-ECX3.js → typescript-BD6t7JEG.js} +1 -1
  49. package/dist/assets/webResourceService-CvyHBu7T.js +1 -0
  50. package/dist/assets/{xml-Cwzeco8o.js → xml-DJGPA7j9.js} +1 -1
  51. package/dist/assets/xmlValidator-D7JG-eNC.js +3 -0
  52. package/dist/assets/{yaml-BHUePD-R.js → yaml-Cpl0dvFM.js} +1 -1
  53. package/dist/icons/icon.svg +16 -0
  54. package/dist/index.html +24 -18
  55. package/index.html +18 -12
  56. package/package.json +23 -32
  57. package/dist/assets/BulkPublishModal-DlglMah4.js +0 -29
  58. package/dist/assets/CommandEditorPanel-4pYnil3i.js +0 -1
  59. package/dist/assets/CommandPalette-iYxzI2G_.js +0 -1
  60. package/dist/assets/ConflictDrawer-DBPRRkoa.js +0 -1
  61. package/dist/assets/DiffViewer-DFBJPZKA.js +0 -7
  62. package/dist/assets/IconPickerModal-Bg0Zc8UZ.js +0 -1
  63. package/dist/assets/ImportXmlModal-BccMoaDv.js +0 -3
  64. package/dist/assets/LocalizationEditor-DVZy2uLy.js +0 -1
  65. package/dist/assets/MonacoEditor-DFYisBG6.js +0 -2
  66. package/dist/assets/NewButtonModal-D5Hz1yx4.js +0 -1
  67. package/dist/assets/NewGroupModal-BgTVG-VJ.js +0 -1
  68. package/dist/assets/NewTabModal-7-ZPcPi-.js +0 -1
  69. package/dist/assets/RuleEditorPanel-BwQzOQBe.js +0 -1
  70. package/dist/assets/ScalingEditorPanel-B221zNLL.js +0 -1
  71. package/dist/assets/TabDisplayRulesPanel-drKzEO_E.js +0 -1
  72. package/dist/assets/UrlComposerModal-Bnifp4oB.js +0 -1
  73. package/dist/assets/WebResourceBrowser-qtcNTNge.js +0 -1
  74. package/dist/assets/XmlDrawer-CN941TbU.js +0 -2
  75. package/dist/assets/cssMode-DFSY9yCW.js +0 -1
  76. package/dist/assets/fluent-icons-DiKr_qRE.js +0 -1
  77. package/dist/assets/fluent-ui-kUA2U4Gr.js +0 -43
  78. package/dist/assets/htmlMode-BmPxEBms.js +0 -1
  79. package/dist/assets/index-DjHxPFpB.js +0 -6
  80. package/dist/assets/monaco-Dvl_Svmm.css +0 -1
  81. package/dist/assets/webResourceService-Ck07E3GN.js +0 -1
  82. package/dist/assets/xmlGenerator-DEaVrfZJ.js +0 -130
  83. package/dist/stats.html +0 -4949
  84. package/npm-shrinkwrap.json +0 -13253
@@ -0,0 +1,43 @@
1
+ import{r as Kv,a as b,b as Rn}from"./monaco-Bx8A1Vm1.js";import{R as gy,T as vy,I as my,u as Qv,m as A,_ as hy,a as be,b as U,C as by,W as yy,D as wy,c as Yv,S as ky,d as xy,e as By,f as Jv,g as Sy,h as Au,i as Lu,j as Zv,k as zy,l as _y,n as Ny,o as Cy,p as jy,q as Ty,r as qy,A as Ey,s as Py,t as Ry,v as Fy,w as Dy,x as Iy}from"./fluent-icons-DxKNRZ1A.js";var $c={exports:{}},Rt={},Uc={exports:{}},Xc={};var bg;function My(){return bg||(bg=1,(function(e){function t(R,J){var X=R.length;R.push(J);e:for(;0<X;){var Be=X-1>>>1,Q=R[Be];if(0<a(Q,J))R[Be]=J,R[X]=Q,X=Be;else break e}}function o(R){return R.length===0?null:R[0]}function i(R){if(R.length===0)return null;var J=R[0],X=R.pop();if(X!==J){R[0]=X;e:for(var Be=0,Q=R.length,fe=Q>>>1;Be<fe;){var qe=2*(Be+1)-1,ce=R[qe],pe=qe+1,Ne=R[pe];if(0>a(ce,X))pe<Q&&0>a(Ne,ce)?(R[Be]=Ne,R[pe]=X,Be=pe):(R[Be]=ce,R[qe]=X,Be=qe);else if(pe<Q&&0>a(Ne,X))R[Be]=Ne,R[pe]=X,Be=pe;else break e}}return J}function a(R,J){var X=R.sortIndex-J.sortIndex;return X!==0?X:R.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],p=[],v=1,h=null,x=3,y=!1,k=!1,w=!1,B=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(R){for(var J=o(p);J!==null;){if(J.callback===null)i(p);else if(J.startTime<=R)i(p),J.sortIndex=J.expirationTime,t(f,J);else break;J=o(p)}}function N(R){if(w=!1,_(R),!k)if(o(f)!==null)k=!0,W(E);else{var J=o(p);J!==null&&ie(N,J.startTime-R)}}function E(R,J){k=!1,w&&(w=!1,z(I),I=-1),y=!0;var X=x;try{for(_(J),h=o(f);h!==null&&(!(h.expirationTime>J)||R&&!oe());){var Be=h.callback;if(typeof Be=="function"){h.callback=null,x=h.priorityLevel;var Q=Be(h.expirationTime<=J);J=e.unstable_now(),typeof Q=="function"?h.callback=Q:h===o(f)&&i(f),_(J)}else i(f);h=o(f)}if(h!==null)var fe=!0;else{var qe=o(p);qe!==null&&ie(N,qe.startTime-J),fe=!1}return fe}finally{h=null,x=X,y=!1}}var T=!1,D=null,I=-1,$=5,ae=-1;function oe(){return!(e.unstable_now()-ae<$)}function ee(){if(D!==null){var R=e.unstable_now();ae=R;var J=!0;try{J=D(!0,R)}finally{J?V():(T=!1,D=null)}}else T=!1}var V;if(typeof C=="function")V=function(){C(ee)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,me=re.port2;re.port1.onmessage=ee,V=function(){me.postMessage(null)}}else V=function(){B(ee,0)};function W(R){D=R,T||(T=!0,V())}function ie(R,J){I=B(function(){R(e.unstable_now())},J)}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(R){R.callback=null},e.unstable_continueExecution=function(){k||y||(k=!0,W(E))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return o(f)},e.unstable_next=function(R){switch(x){case 1:case 2:case 3:var J=3;break;default:J=x}var X=x;x=J;try{return R()}finally{x=X}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,J){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var X=x;x=R;try{return J()}finally{x=X}},e.unstable_scheduleCallback=function(R,J,X){var Be=e.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?Be+X:Be):X=Be,R){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=X+Q,R={id:v++,callback:J,priorityLevel:R,startTime:X,expirationTime:Q,sortIndex:-1},X>Be?(R.sortIndex=X,t(p,R),o(f)===null&&R===o(p)&&(w?(z(I),I=-1):w=!0,ie(N,X-Be))):(R.sortIndex=Q,t(f,R),k||y||(k=!0,W(E))),R},e.unstable_shouldYield=oe,e.unstable_wrapCallback=function(R){var J=x;return function(){var X=x;x=J;try{return R.apply(this,arguments)}finally{x=X}}}})(Xc)),Xc}var yg;function Oy(){return yg||(yg=1,Uc.exports=My()),Uc.exports}var wg;function Hy(){if(wg)return Rt;wg=1;var e=Kv(),t=Oy();function o(r){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+r,l=1;l<arguments.length;l++)n+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+r+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,a={};function s(r,n){c(r,n),c(r+"Capture",n)}function c(r,n){for(a[r]=n,r=0;r<n.length;r++)i.add(n[r])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},h={};function x(r){return f.call(h,r)?!0:f.call(v,r)?!1:p.test(r)?h[r]=!0:(v[r]=!0,!1)}function y(r,n,l,u){if(l!==null&&l.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return u?!1:l!==null?!l.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function k(r,n,l,u){if(n===null||typeof n>"u"||y(r,n,l,u))return!0;if(u)return!1;if(l!==null)switch(l.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function w(r,n,l,u,g,m,S){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=u,this.attributeNamespace=g,this.mustUseProperty=l,this.propertyName=r,this.type=n,this.sanitizeURL=m,this.removeEmptyString=S}var B={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){B[r]=new w(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var n=r[0];B[n]=new w(n,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){B[r]=new w(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){B[r]=new w(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){B[r]=new w(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){B[r]=new w(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){B[r]=new w(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){B[r]=new w(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){B[r]=new w(r,5,!1,r.toLowerCase(),null,!1,!1)});var z=/[\-:]([a-z])/g;function C(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var n=r.replace(z,C);B[n]=new w(n,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var n=r.replace(z,C);B[n]=new w(n,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var n=r.replace(z,C);B[n]=new w(n,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){B[r]=new w(r,1,!1,r.toLowerCase(),null,!1,!1)}),B.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){B[r]=new w(r,1,!1,r.toLowerCase(),null,!0,!0)});function _(r,n,l,u){var g=B.hasOwnProperty(n)?B[n]:null;(g!==null?g.type!==0:u||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(k(n,l,g,u)&&(l=null),u||g===null?x(n)&&(l===null?r.removeAttribute(n):r.setAttribute(n,""+l)):g.mustUseProperty?r[g.propertyName]=l===null?g.type===3?!1:"":l:(n=g.attributeName,u=g.attributeNamespace,l===null?r.removeAttribute(n):(g=g.type,l=g===3||g===4&&l===!0?"":""+l,u?r.setAttributeNS(u,n,l):r.setAttribute(n,l))))}var N=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),T=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),ae=Symbol.for("react.provider"),oe=Symbol.for("react.context"),ee=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),me=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),R=Symbol.iterator;function J(r){return r===null||typeof r!="object"?null:(r=R&&r[R]||r["@@iterator"],typeof r=="function"?r:null)}var X=Object.assign,Be;function Q(r){if(Be===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);Be=n&&n[1]||""}return`
2
+ `+Be+r}var fe=!1;function qe(r,n){if(!r||fe)return"";fe=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(O){var u=O}Reflect.construct(r,[],n)}else{try{n.call()}catch(O){u=O}r.call(n.prototype)}else{try{throw Error()}catch(O){u=O}r()}}catch(O){if(O&&u&&typeof O.stack=="string"){for(var g=O.stack.split(`
3
+ `),m=u.stack.split(`
4
+ `),S=g.length-1,j=m.length-1;1<=S&&0<=j&&g[S]!==m[j];)j--;for(;1<=S&&0<=j;S--,j--)if(g[S]!==m[j]){if(S!==1||j!==1)do if(S--,j--,0>j||g[S]!==m[j]){var q=`
5
+ `+g[S].replace(" at new "," at ");return r.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",r.displayName)),q}while(1<=S&&0<=j);break}}}finally{fe=!1,Error.prepareStackTrace=l}return(r=r?r.displayName||r.name:"")?Q(r):""}function ce(r){switch(r.tag){case 5:return Q(r.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return r=qe(r.type,!1),r;case 11:return r=qe(r.type.render,!1),r;case 1:return r=qe(r.type,!0),r;default:return""}}function pe(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case D:return"Fragment";case T:return"Portal";case $:return"Profiler";case I:return"StrictMode";case V:return"Suspense";case re:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case oe:return(r.displayName||"Context")+".Consumer";case ae:return(r._context.displayName||"Context")+".Provider";case ee:var n=r.render;return r=r.displayName,r||(r=n.displayName||n.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case me:return n=r.displayName||null,n!==null?n:pe(r.type)||"Memo";case W:n=r._payload,r=r._init;try{return pe(r(n))}catch{}}return null}function Ne(r){var n=r.type;switch(r.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=n.render,r=r.displayName||r.name||"",n.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pe(n);case 8:return n===I?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function He(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function _t(r){var n=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function yt(r){var n=_t(r)?"checked":"value",l=Object.getOwnPropertyDescriptor(r.constructor.prototype,n),u=""+r[n];if(!r.hasOwnProperty(n)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var g=l.get,m=l.set;return Object.defineProperty(r,n,{configurable:!0,get:function(){return g.call(this)},set:function(S){u=""+S,m.call(this,S)}}),Object.defineProperty(r,n,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(S){u=""+S},stopTracking:function(){r._valueTracker=null,delete r[n]}}}}function tr(r){r._valueTracker||(r._valueTracker=yt(r))}function jo(r){if(!r)return!1;var n=r._valueTracker;if(!n)return!0;var l=n.getValue(),u="";return r&&(u=_t(r)?r.checked?"true":"false":r.value),r=u,r!==l?(n.setValue(r),!0):!1}function Lr(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Ln(r,n){var l=n.checked;return X({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??r._wrapperState.initialChecked})}function Sd(r,n){var l=n.defaultValue==null?"":n.defaultValue,u=n.checked!=null?n.checked:n.defaultChecked;l=He(n.value!=null?n.value:l),r._wrapperState={initialChecked:u,initialValue:l,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function zd(r,n){n=n.checked,n!=null&&_(r,"checked",n,!1)}function Zl(r,n){zd(r,n);var l=He(n.value),u=n.type;if(l!=null)u==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+l):r.value!==""+l&&(r.value=""+l);else if(u==="submit"||u==="reset"){r.removeAttribute("value");return}n.hasOwnProperty("value")?es(r,n.type,l):n.hasOwnProperty("defaultValue")&&es(r,n.type,He(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(r.defaultChecked=!!n.defaultChecked)}function _d(r,n,l){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var u=n.type;if(!(u!=="submit"&&u!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+r._wrapperState.initialValue,l||n===r.value||(r.value=n),r.defaultValue=n}l=r.name,l!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,l!==""&&(r.name=l)}function es(r,n,l){(n!=="number"||Lr(r.ownerDocument)!==r)&&(l==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+l&&(r.defaultValue=""+l))}var Vn=Array.isArray;function rn(r,n,l,u){if(r=r.options,n){n={};for(var g=0;g<l.length;g++)n["$"+l[g]]=!0;for(l=0;l<r.length;l++)g=n.hasOwnProperty("$"+r[l].value),r[l].selected!==g&&(r[l].selected=g),g&&u&&(r[l].defaultSelected=!0)}else{for(l=""+He(l),n=null,g=0;g<r.length;g++){if(r[g].value===l){r[g].selected=!0,u&&(r[g].defaultSelected=!0);return}n!==null||r[g].disabled||(n=r[g])}n!==null&&(n.selected=!0)}}function ts(r,n){if(n.dangerouslySetInnerHTML!=null)throw Error(o(91));return X({},n,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Nd(r,n){var l=n.value;if(l==null){if(l=n.children,n=n.defaultValue,l!=null){if(n!=null)throw Error(o(92));if(Vn(l)){if(1<l.length)throw Error(o(93));l=l[0]}n=l}n==null&&(n=""),l=n}r._wrapperState={initialValue:He(l)}}function Cd(r,n){var l=He(n.value),u=He(n.defaultValue);l!=null&&(l=""+l,l!==r.value&&(r.value=l),n.defaultValue==null&&r.defaultValue!==l&&(r.defaultValue=l)),u!=null&&(r.defaultValue=""+u)}function jd(r){var n=r.textContent;n===r._wrapperState.initialValue&&n!==""&&n!==null&&(r.value=n)}function Td(r){switch(r){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function rs(r,n){return r==null||r==="http://www.w3.org/1999/xhtml"?Td(n):r==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var ta,qd=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,l,u,g){MSApp.execUnsafeLocalFunction(function(){return r(n,l,u,g)})}:r})(function(r,n){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=n;else{for(ta=ta||document.createElement("div"),ta.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ta.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;n.firstChild;)r.appendChild(n.firstChild)}});function Wn(r,n){if(n){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.nodeValue=n;return}}r.textContent=n}var $n={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bb=["Webkit","ms","Moz","O"];Object.keys($n).forEach(function(r){bb.forEach(function(n){n=n+r.charAt(0).toUpperCase()+r.substring(1),$n[n]=$n[r]})});function Ed(r,n,l){return n==null||typeof n=="boolean"||n===""?"":l||typeof n!="number"||n===0||$n.hasOwnProperty(r)&&$n[r]?(""+n).trim():n+"px"}function Pd(r,n){r=r.style;for(var l in n)if(n.hasOwnProperty(l)){var u=l.indexOf("--")===0,g=Ed(l,n[l],u);l==="float"&&(l="cssFloat"),u?r.setProperty(l,g):r[l]=g}}var yb=X({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function os(r,n){if(n){if(yb[r]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(o(137,r));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(o(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(o(61))}if(n.style!=null&&typeof n.style!="object")throw Error(o(62))}}function ns(r,n){if(r.indexOf("-")===-1)return typeof n.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var is=null;function as(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var ls=null,on=null,nn=null;function Rd(r){if(r=pi(r)){if(typeof ls!="function")throw Error(o(280));var n=r.stateNode;n&&(n=Sa(n),ls(r.stateNode,r.type,n))}}function Fd(r){on?nn?nn.push(r):nn=[r]:on=r}function Dd(){if(on){var r=on,n=nn;if(nn=on=null,Rd(r),n)for(r=0;r<n.length;r++)Rd(n[r])}}function Id(r,n){return r(n)}function Md(){}var ss=!1;function Od(r,n,l){if(ss)return r(n,l);ss=!0;try{return Id(r,n,l)}finally{ss=!1,(on!==null||nn!==null)&&(Md(),Dd())}}function Un(r,n){var l=r.stateNode;if(l===null)return null;var u=Sa(l);if(u===null)return null;l=u[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(r=r.type,u=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!u;break e;default:r=!1}if(r)return null;if(l&&typeof l!="function")throw Error(o(231,n,typeof l));return l}var cs=!1;if(d)try{var Xn={};Object.defineProperty(Xn,"passive",{get:function(){cs=!0}}),window.addEventListener("test",Xn,Xn),window.removeEventListener("test",Xn,Xn)}catch{cs=!1}function wb(r,n,l,u,g,m,S,j,q){var O=Array.prototype.slice.call(arguments,3);try{n.apply(l,O)}catch(Y){this.onError(Y)}}var Gn=!1,ra=null,oa=!1,us=null,kb={onError:function(r){Gn=!0,ra=r}};function xb(r,n,l,u,g,m,S,j,q){Gn=!1,ra=null,wb.apply(kb,arguments)}function Bb(r,n,l,u,g,m,S,j,q){if(xb.apply(this,arguments),Gn){if(Gn){var O=ra;Gn=!1,ra=null}else throw Error(o(198));oa||(oa=!0,us=O)}}function To(r){var n=r,l=r;if(r.alternate)for(;n.return;)n=n.return;else{r=n;do n=r,(n.flags&4098)!==0&&(l=n.return),r=n.return;while(r)}return n.tag===3?l:null}function Hd(r){if(r.tag===13){var n=r.memoizedState;if(n===null&&(r=r.alternate,r!==null&&(n=r.memoizedState)),n!==null)return n.dehydrated}return null}function Ad(r){if(To(r)!==r)throw Error(o(188))}function Sb(r){var n=r.alternate;if(!n){if(n=To(r),n===null)throw Error(o(188));return n!==r?null:r}for(var l=r,u=n;;){var g=l.return;if(g===null)break;var m=g.alternate;if(m===null){if(u=g.return,u!==null){l=u;continue}break}if(g.child===m.child){for(m=g.child;m;){if(m===l)return Ad(g),r;if(m===u)return Ad(g),n;m=m.sibling}throw Error(o(188))}if(l.return!==u.return)l=g,u=m;else{for(var S=!1,j=g.child;j;){if(j===l){S=!0,l=g,u=m;break}if(j===u){S=!0,u=g,l=m;break}j=j.sibling}if(!S){for(j=m.child;j;){if(j===l){S=!0,l=m,u=g;break}if(j===u){S=!0,u=m,l=g;break}j=j.sibling}if(!S)throw Error(o(189))}}if(l.alternate!==u)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?r:n}function Ld(r){return r=Sb(r),r!==null?Vd(r):null}function Vd(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var n=Vd(r);if(n!==null)return n;r=r.sibling}return null}var Wd=t.unstable_scheduleCallback,$d=t.unstable_cancelCallback,zb=t.unstable_shouldYield,_b=t.unstable_requestPaint,et=t.unstable_now,Nb=t.unstable_getCurrentPriorityLevel,ds=t.unstable_ImmediatePriority,Ud=t.unstable_UserBlockingPriority,na=t.unstable_NormalPriority,Cb=t.unstable_LowPriority,Xd=t.unstable_IdlePriority,ia=null,gr=null;function jb(r){if(gr&&typeof gr.onCommitFiberRoot=="function")try{gr.onCommitFiberRoot(ia,r,void 0,(r.current.flags&128)===128)}catch{}}var rr=Math.clz32?Math.clz32:Eb,Tb=Math.log,qb=Math.LN2;function Eb(r){return r>>>=0,r===0?32:31-(Tb(r)/qb|0)|0}var aa=64,la=4194304;function Kn(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function sa(r,n){var l=r.pendingLanes;if(l===0)return 0;var u=0,g=r.suspendedLanes,m=r.pingedLanes,S=l&268435455;if(S!==0){var j=S&~g;j!==0?u=Kn(j):(m&=S,m!==0&&(u=Kn(m)))}else S=l&~g,S!==0?u=Kn(S):m!==0&&(u=Kn(m));if(u===0)return 0;if(n!==0&&n!==u&&(n&g)===0&&(g=u&-u,m=n&-n,g>=m||g===16&&(m&4194240)!==0))return n;if((u&4)!==0&&(u|=l&16),n=r.entangledLanes,n!==0)for(r=r.entanglements,n&=u;0<n;)l=31-rr(n),g=1<<l,u|=r[l],n&=~g;return u}function Pb(r,n){switch(r){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Rb(r,n){for(var l=r.suspendedLanes,u=r.pingedLanes,g=r.expirationTimes,m=r.pendingLanes;0<m;){var S=31-rr(m),j=1<<S,q=g[S];q===-1?((j&l)===0||(j&u)!==0)&&(g[S]=Pb(j,n)):q<=n&&(r.expiredLanes|=j),m&=~j}}function fs(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Gd(){var r=aa;return aa<<=1,(aa&4194240)===0&&(aa=64),r}function ps(r){for(var n=[],l=0;31>l;l++)n.push(r);return n}function Qn(r,n,l){r.pendingLanes|=n,n!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,n=31-rr(n),r[n]=l}function Fb(r,n){var l=r.pendingLanes&~n;r.pendingLanes=n,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=n,r.mutableReadLanes&=n,r.entangledLanes&=n,n=r.entanglements;var u=r.eventTimes;for(r=r.expirationTimes;0<l;){var g=31-rr(l),m=1<<g;n[g]=0,u[g]=-1,r[g]=-1,l&=~m}}function gs(r,n){var l=r.entangledLanes|=n;for(r=r.entanglements;l;){var u=31-rr(l),g=1<<u;g&n|r[u]&n&&(r[u]|=n),l&=~g}}var Me=0;function Kd(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Qd,vs,Yd,Jd,Zd,ms=!1,ca=[],Vr=null,Wr=null,$r=null,Yn=new Map,Jn=new Map,Ur=[],Db="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ef(r,n){switch(r){case"focusin":case"focusout":Vr=null;break;case"dragenter":case"dragleave":Wr=null;break;case"mouseover":case"mouseout":$r=null;break;case"pointerover":case"pointerout":Yn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jn.delete(n.pointerId)}}function Zn(r,n,l,u,g,m){return r===null||r.nativeEvent!==m?(r={blockedOn:n,domEventName:l,eventSystemFlags:u,nativeEvent:m,targetContainers:[g]},n!==null&&(n=pi(n),n!==null&&vs(n)),r):(r.eventSystemFlags|=u,n=r.targetContainers,g!==null&&n.indexOf(g)===-1&&n.push(g),r)}function Ib(r,n,l,u,g){switch(n){case"focusin":return Vr=Zn(Vr,r,n,l,u,g),!0;case"dragenter":return Wr=Zn(Wr,r,n,l,u,g),!0;case"mouseover":return $r=Zn($r,r,n,l,u,g),!0;case"pointerover":var m=g.pointerId;return Yn.set(m,Zn(Yn.get(m)||null,r,n,l,u,g)),!0;case"gotpointercapture":return m=g.pointerId,Jn.set(m,Zn(Jn.get(m)||null,r,n,l,u,g)),!0}return!1}function tf(r){var n=qo(r.target);if(n!==null){var l=To(n);if(l!==null){if(n=l.tag,n===13){if(n=Hd(l),n!==null){r.blockedOn=n,Zd(r.priority,function(){Yd(l)});return}}else if(n===3&&l.stateNode.current.memoizedState.isDehydrated){r.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}r.blockedOn=null}function ua(r){if(r.blockedOn!==null)return!1;for(var n=r.targetContainers;0<n.length;){var l=bs(r.domEventName,r.eventSystemFlags,n[0],r.nativeEvent);if(l===null){l=r.nativeEvent;var u=new l.constructor(l.type,l);is=u,l.target.dispatchEvent(u),is=null}else return n=pi(l),n!==null&&vs(n),r.blockedOn=l,!1;n.shift()}return!0}function rf(r,n,l){ua(r)&&l.delete(n)}function Mb(){ms=!1,Vr!==null&&ua(Vr)&&(Vr=null),Wr!==null&&ua(Wr)&&(Wr=null),$r!==null&&ua($r)&&($r=null),Yn.forEach(rf),Jn.forEach(rf)}function ei(r,n){r.blockedOn===n&&(r.blockedOn=null,ms||(ms=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Mb)))}function ti(r){function n(g){return ei(g,r)}if(0<ca.length){ei(ca[0],r);for(var l=1;l<ca.length;l++){var u=ca[l];u.blockedOn===r&&(u.blockedOn=null)}}for(Vr!==null&&ei(Vr,r),Wr!==null&&ei(Wr,r),$r!==null&&ei($r,r),Yn.forEach(n),Jn.forEach(n),l=0;l<Ur.length;l++)u=Ur[l],u.blockedOn===r&&(u.blockedOn=null);for(;0<Ur.length&&(l=Ur[0],l.blockedOn===null);)tf(l),l.blockedOn===null&&Ur.shift()}var an=N.ReactCurrentBatchConfig,da=!0;function Ob(r,n,l,u){var g=Me,m=an.transition;an.transition=null;try{Me=1,hs(r,n,l,u)}finally{Me=g,an.transition=m}}function Hb(r,n,l,u){var g=Me,m=an.transition;an.transition=null;try{Me=4,hs(r,n,l,u)}finally{Me=g,an.transition=m}}function hs(r,n,l,u){if(da){var g=bs(r,n,l,u);if(g===null)Fs(r,n,u,fa,l),ef(r,u);else if(Ib(g,r,n,l,u))u.stopPropagation();else if(ef(r,u),n&4&&-1<Db.indexOf(r)){for(;g!==null;){var m=pi(g);if(m!==null&&Qd(m),m=bs(r,n,l,u),m===null&&Fs(r,n,u,fa,l),m===g)break;g=m}g!==null&&u.stopPropagation()}else Fs(r,n,u,null,l)}}var fa=null;function bs(r,n,l,u){if(fa=null,r=as(u),r=qo(r),r!==null)if(n=To(r),n===null)r=null;else if(l=n.tag,l===13){if(r=Hd(n),r!==null)return r;r=null}else if(l===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;r=null}else n!==r&&(r=null);return fa=r,null}function of(r){switch(r){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Nb()){case ds:return 1;case Ud:return 4;case na:case Cb:return 16;case Xd:return 536870912;default:return 16}default:return 16}}var Xr=null,ys=null,pa=null;function nf(){if(pa)return pa;var r,n=ys,l=n.length,u,g="value"in Xr?Xr.value:Xr.textContent,m=g.length;for(r=0;r<l&&n[r]===g[r];r++);var S=l-r;for(u=1;u<=S&&n[l-u]===g[m-u];u++);return pa=g.slice(r,1<u?1-u:void 0)}function ga(r){var n=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&n===13&&(r=13)):r=n,r===10&&(r=13),32<=r||r===13?r:0}function va(){return!0}function af(){return!1}function It(r){function n(l,u,g,m,S){this._reactName=l,this._targetInst=g,this.type=u,this.nativeEvent=m,this.target=S,this.currentTarget=null;for(var j in r)r.hasOwnProperty(j)&&(l=r[j],this[j]=l?l(m):m[j]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?va:af,this.isPropagationStopped=af,this}return X(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=va)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=va)},persist:function(){},isPersistent:va}),n}var ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ws=It(ln),ri=X({},ln,{view:0,detail:0}),Ab=It(ri),ks,xs,oi,ma=X({},ri,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ss,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==oi&&(oi&&r.type==="mousemove"?(ks=r.screenX-oi.screenX,xs=r.screenY-oi.screenY):xs=ks=0,oi=r),ks)},movementY:function(r){return"movementY"in r?r.movementY:xs}}),lf=It(ma),Lb=X({},ma,{dataTransfer:0}),Vb=It(Lb),Wb=X({},ri,{relatedTarget:0}),Bs=It(Wb),$b=X({},ln,{animationName:0,elapsedTime:0,pseudoElement:0}),Ub=It($b),Xb=X({},ln,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Gb=It(Xb),Kb=X({},ln,{data:0}),sf=It(Kb),Qb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Yb={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Jb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zb(r){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(r):(r=Jb[r])?!!n[r]:!1}function Ss(){return Zb}var e1=X({},ri,{key:function(r){if(r.key){var n=Qb[r.key]||r.key;if(n!=="Unidentified")return n}return r.type==="keypress"?(r=ga(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Yb[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ss,charCode:function(r){return r.type==="keypress"?ga(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?ga(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),t1=It(e1),r1=X({},ma,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),cf=It(r1),o1=X({},ri,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ss}),n1=It(o1),i1=X({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0}),a1=It(i1),l1=X({},ma,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),s1=It(l1),c1=[9,13,27,32],zs=d&&"CompositionEvent"in window,ni=null;d&&"documentMode"in document&&(ni=document.documentMode);var u1=d&&"TextEvent"in window&&!ni,uf=d&&(!zs||ni&&8<ni&&11>=ni),df=" ",ff=!1;function pf(r,n){switch(r){case"keyup":return c1.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gf(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var sn=!1;function d1(r,n){switch(r){case"compositionend":return gf(n);case"keypress":return n.which!==32?null:(ff=!0,df);case"textInput":return r=n.data,r===df&&ff?null:r;default:return null}}function f1(r,n){if(sn)return r==="compositionend"||!zs&&pf(r,n)?(r=nf(),pa=ys=Xr=null,sn=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return uf&&n.locale!=="ko"?null:n.data;default:return null}}var p1={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function vf(r){var n=r&&r.nodeName&&r.nodeName.toLowerCase();return n==="input"?!!p1[r.type]:n==="textarea"}function mf(r,n,l,u){Fd(u),n=ka(n,"onChange"),0<n.length&&(l=new ws("onChange","change",null,l,u),r.push({event:l,listeners:n}))}var ii=null,ai=null;function g1(r){Rf(r,0)}function ha(r){var n=pn(r);if(jo(n))return r}function v1(r,n){if(r==="change")return n}var hf=!1;if(d){var _s;if(d){var Ns="oninput"in document;if(!Ns){var bf=document.createElement("div");bf.setAttribute("oninput","return;"),Ns=typeof bf.oninput=="function"}_s=Ns}else _s=!1;hf=_s&&(!document.documentMode||9<document.documentMode)}function yf(){ii&&(ii.detachEvent("onpropertychange",wf),ai=ii=null)}function wf(r){if(r.propertyName==="value"&&ha(ai)){var n=[];mf(n,ai,r,as(r)),Od(g1,n)}}function m1(r,n,l){r==="focusin"?(yf(),ii=n,ai=l,ii.attachEvent("onpropertychange",wf)):r==="focusout"&&yf()}function h1(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return ha(ai)}function b1(r,n){if(r==="click")return ha(n)}function y1(r,n){if(r==="input"||r==="change")return ha(n)}function w1(r,n){return r===n&&(r!==0||1/r===1/n)||r!==r&&n!==n}var or=typeof Object.is=="function"?Object.is:w1;function li(r,n){if(or(r,n))return!0;if(typeof r!="object"||r===null||typeof n!="object"||n===null)return!1;var l=Object.keys(r),u=Object.keys(n);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var g=l[u];if(!f.call(n,g)||!or(r[g],n[g]))return!1}return!0}function kf(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function xf(r,n){var l=kf(r);r=0;for(var u;l;){if(l.nodeType===3){if(u=r+l.textContent.length,r<=n&&u>=n)return{node:l,offset:n-r};r=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=kf(l)}}function Bf(r,n){return r&&n?r===n?!0:r&&r.nodeType===3?!1:n&&n.nodeType===3?Bf(r,n.parentNode):"contains"in r?r.contains(n):r.compareDocumentPosition?!!(r.compareDocumentPosition(n)&16):!1:!1}function Sf(){for(var r=window,n=Lr();n instanceof r.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)r=n.contentWindow;else break;n=Lr(r.document)}return n}function Cs(r){var n=r&&r.nodeName&&r.nodeName.toLowerCase();return n&&(n==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||n==="textarea"||r.contentEditable==="true")}function k1(r){var n=Sf(),l=r.focusedElem,u=r.selectionRange;if(n!==l&&l&&l.ownerDocument&&Bf(l.ownerDocument.documentElement,l)){if(u!==null&&Cs(l)){if(n=u.start,r=u.end,r===void 0&&(r=n),"selectionStart"in l)l.selectionStart=n,l.selectionEnd=Math.min(r,l.value.length);else if(r=(n=l.ownerDocument||document)&&n.defaultView||window,r.getSelection){r=r.getSelection();var g=l.textContent.length,m=Math.min(u.start,g);u=u.end===void 0?m:Math.min(u.end,g),!r.extend&&m>u&&(g=u,u=m,m=g),g=xf(l,m);var S=xf(l,u);g&&S&&(r.rangeCount!==1||r.anchorNode!==g.node||r.anchorOffset!==g.offset||r.focusNode!==S.node||r.focusOffset!==S.offset)&&(n=n.createRange(),n.setStart(g.node,g.offset),r.removeAllRanges(),m>u?(r.addRange(n),r.extend(S.node,S.offset)):(n.setEnd(S.node,S.offset),r.addRange(n)))}}for(n=[],r=l;r=r.parentNode;)r.nodeType===1&&n.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<n.length;l++)r=n[l],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var x1=d&&"documentMode"in document&&11>=document.documentMode,cn=null,js=null,si=null,Ts=!1;function zf(r,n,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ts||cn==null||cn!==Lr(u)||(u=cn,"selectionStart"in u&&Cs(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),si&&li(si,u)||(si=u,u=ka(js,"onSelect"),0<u.length&&(n=new ws("onSelect","select",null,n,l),r.push({event:n,listeners:u}),n.target=cn)))}function ba(r,n){var l={};return l[r.toLowerCase()]=n.toLowerCase(),l["Webkit"+r]="webkit"+n,l["Moz"+r]="moz"+n,l}var un={animationend:ba("Animation","AnimationEnd"),animationiteration:ba("Animation","AnimationIteration"),animationstart:ba("Animation","AnimationStart"),transitionend:ba("Transition","TransitionEnd")},qs={},_f={};d&&(_f=document.createElement("div").style,"AnimationEvent"in window||(delete un.animationend.animation,delete un.animationiteration.animation,delete un.animationstart.animation),"TransitionEvent"in window||delete un.transitionend.transition);function ya(r){if(qs[r])return qs[r];if(!un[r])return r;var n=un[r],l;for(l in n)if(n.hasOwnProperty(l)&&l in _f)return qs[r]=n[l];return r}var Nf=ya("animationend"),Cf=ya("animationiteration"),jf=ya("animationstart"),Tf=ya("transitionend"),qf=new Map,Ef="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Gr(r,n){qf.set(r,n),s(n,[r])}for(var Es=0;Es<Ef.length;Es++){var Ps=Ef[Es],B1=Ps.toLowerCase(),S1=Ps[0].toUpperCase()+Ps.slice(1);Gr(B1,"on"+S1)}Gr(Nf,"onAnimationEnd"),Gr(Cf,"onAnimationIteration"),Gr(jf,"onAnimationStart"),Gr("dblclick","onDoubleClick"),Gr("focusin","onFocus"),Gr("focusout","onBlur"),Gr(Tf,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ci="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),z1=new Set("cancel close invalid load scroll toggle".split(" ").concat(ci));function Pf(r,n,l){var u=r.type||"unknown-event";r.currentTarget=l,Bb(u,n,void 0,r),r.currentTarget=null}function Rf(r,n){n=(n&4)!==0;for(var l=0;l<r.length;l++){var u=r[l],g=u.event;u=u.listeners;e:{var m=void 0;if(n)for(var S=u.length-1;0<=S;S--){var j=u[S],q=j.instance,O=j.currentTarget;if(j=j.listener,q!==m&&g.isPropagationStopped())break e;Pf(g,j,O),m=q}else for(S=0;S<u.length;S++){if(j=u[S],q=j.instance,O=j.currentTarget,j=j.listener,q!==m&&g.isPropagationStopped())break e;Pf(g,j,O),m=q}}}if(oa)throw r=us,oa=!1,us=null,r}function Ve(r,n){var l=n[As];l===void 0&&(l=n[As]=new Set);var u=r+"__bubble";l.has(u)||(Ff(n,r,2,!1),l.add(u))}function Rs(r,n,l){var u=0;n&&(u|=4),Ff(l,r,u,n)}var wa="_reactListening"+Math.random().toString(36).slice(2);function ui(r){if(!r[wa]){r[wa]=!0,i.forEach(function(l){l!=="selectionchange"&&(z1.has(l)||Rs(l,!1,r),Rs(l,!0,r))});var n=r.nodeType===9?r:r.ownerDocument;n===null||n[wa]||(n[wa]=!0,Rs("selectionchange",!1,n))}}function Ff(r,n,l,u){switch(of(n)){case 1:var g=Ob;break;case 4:g=Hb;break;default:g=hs}l=g.bind(null,n,l,r),g=void 0,!cs||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(g=!0),u?g!==void 0?r.addEventListener(n,l,{capture:!0,passive:g}):r.addEventListener(n,l,!0):g!==void 0?r.addEventListener(n,l,{passive:g}):r.addEventListener(n,l,!1)}function Fs(r,n,l,u,g){var m=u;if((n&1)===0&&(n&2)===0&&u!==null)e:for(;;){if(u===null)return;var S=u.tag;if(S===3||S===4){var j=u.stateNode.containerInfo;if(j===g||j.nodeType===8&&j.parentNode===g)break;if(S===4)for(S=u.return;S!==null;){var q=S.tag;if((q===3||q===4)&&(q=S.stateNode.containerInfo,q===g||q.nodeType===8&&q.parentNode===g))return;S=S.return}for(;j!==null;){if(S=qo(j),S===null)return;if(q=S.tag,q===5||q===6){u=m=S;continue e}j=j.parentNode}}u=u.return}Od(function(){var O=m,Y=as(l),Z=[];e:{var K=qf.get(r);if(K!==void 0){var le=ws,de=r;switch(r){case"keypress":if(ga(l)===0)break e;case"keydown":case"keyup":le=t1;break;case"focusin":de="focus",le=Bs;break;case"focusout":de="blur",le=Bs;break;case"beforeblur":case"afterblur":le=Bs;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":le=lf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":le=Vb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":le=n1;break;case Nf:case Cf:case jf:le=Ub;break;case Tf:le=a1;break;case"scroll":le=Ab;break;case"wheel":le=s1;break;case"copy":case"cut":case"paste":le=Gb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":le=cf}var ge=(n&4)!==0,tt=!ge&&r==="scroll",F=ge?K!==null?K+"Capture":null:K;ge=[];for(var P=O,M;P!==null;){M=P;var ne=M.stateNode;if(M.tag===5&&ne!==null&&(M=ne,F!==null&&(ne=Un(P,F),ne!=null&&ge.push(di(P,ne,M)))),tt)break;P=P.return}0<ge.length&&(K=new le(K,de,null,l,Y),Z.push({event:K,listeners:ge}))}}if((n&7)===0){e:{if(K=r==="mouseover"||r==="pointerover",le=r==="mouseout"||r==="pointerout",K&&l!==is&&(de=l.relatedTarget||l.fromElement)&&(qo(de)||de[Nr]))break e;if((le||K)&&(K=Y.window===Y?Y:(K=Y.ownerDocument)?K.defaultView||K.parentWindow:window,le?(de=l.relatedTarget||l.toElement,le=O,de=de?qo(de):null,de!==null&&(tt=To(de),de!==tt||de.tag!==5&&de.tag!==6)&&(de=null)):(le=null,de=O),le!==de)){if(ge=lf,ne="onMouseLeave",F="onMouseEnter",P="mouse",(r==="pointerout"||r==="pointerover")&&(ge=cf,ne="onPointerLeave",F="onPointerEnter",P="pointer"),tt=le==null?K:pn(le),M=de==null?K:pn(de),K=new ge(ne,P+"leave",le,l,Y),K.target=tt,K.relatedTarget=M,ne=null,qo(Y)===O&&(ge=new ge(F,P+"enter",de,l,Y),ge.target=M,ge.relatedTarget=tt,ne=ge),tt=ne,le&&de)t:{for(ge=le,F=de,P=0,M=ge;M;M=dn(M))P++;for(M=0,ne=F;ne;ne=dn(ne))M++;for(;0<P-M;)ge=dn(ge),P--;for(;0<M-P;)F=dn(F),M--;for(;P--;){if(ge===F||F!==null&&ge===F.alternate)break t;ge=dn(ge),F=dn(F)}ge=null}else ge=null;le!==null&&Df(Z,K,le,ge,!1),de!==null&&tt!==null&&Df(Z,tt,de,ge,!0)}}e:{if(K=O?pn(O):window,le=K.nodeName&&K.nodeName.toLowerCase(),le==="select"||le==="input"&&K.type==="file")var ve=v1;else if(vf(K))if(hf)ve=y1;else{ve=h1;var ke=m1}else(le=K.nodeName)&&le.toLowerCase()==="input"&&(K.type==="checkbox"||K.type==="radio")&&(ve=b1);if(ve&&(ve=ve(r,O))){mf(Z,ve,l,Y);break e}ke&&ke(r,K,O),r==="focusout"&&(ke=K._wrapperState)&&ke.controlled&&K.type==="number"&&es(K,"number",K.value)}switch(ke=O?pn(O):window,r){case"focusin":(vf(ke)||ke.contentEditable==="true")&&(cn=ke,js=O,si=null);break;case"focusout":si=js=cn=null;break;case"mousedown":Ts=!0;break;case"contextmenu":case"mouseup":case"dragend":Ts=!1,zf(Z,l,Y);break;case"selectionchange":if(x1)break;case"keydown":case"keyup":zf(Z,l,Y)}var xe;if(zs)e:{switch(r){case"compositionstart":var ze="onCompositionStart";break e;case"compositionend":ze="onCompositionEnd";break e;case"compositionupdate":ze="onCompositionUpdate";break e}ze=void 0}else sn?pf(r,l)&&(ze="onCompositionEnd"):r==="keydown"&&l.keyCode===229&&(ze="onCompositionStart");ze&&(uf&&l.locale!=="ko"&&(sn||ze!=="onCompositionStart"?ze==="onCompositionEnd"&&sn&&(xe=nf()):(Xr=Y,ys="value"in Xr?Xr.value:Xr.textContent,sn=!0)),ke=ka(O,ze),0<ke.length&&(ze=new sf(ze,r,null,l,Y),Z.push({event:ze,listeners:ke}),xe?ze.data=xe:(xe=gf(l),xe!==null&&(ze.data=xe)))),(xe=u1?d1(r,l):f1(r,l))&&(O=ka(O,"onBeforeInput"),0<O.length&&(Y=new sf("onBeforeInput","beforeinput",null,l,Y),Z.push({event:Y,listeners:O}),Y.data=xe))}Rf(Z,n)})}function di(r,n,l){return{instance:r,listener:n,currentTarget:l}}function ka(r,n){for(var l=n+"Capture",u=[];r!==null;){var g=r,m=g.stateNode;g.tag===5&&m!==null&&(g=m,m=Un(r,l),m!=null&&u.unshift(di(r,m,g)),m=Un(r,n),m!=null&&u.push(di(r,m,g))),r=r.return}return u}function dn(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function Df(r,n,l,u,g){for(var m=n._reactName,S=[];l!==null&&l!==u;){var j=l,q=j.alternate,O=j.stateNode;if(q!==null&&q===u)break;j.tag===5&&O!==null&&(j=O,g?(q=Un(l,m),q!=null&&S.unshift(di(l,q,j))):g||(q=Un(l,m),q!=null&&S.push(di(l,q,j)))),l=l.return}S.length!==0&&r.push({event:n,listeners:S})}var _1=/\r\n?/g,N1=/\u0000|\uFFFD/g;function If(r){return(typeof r=="string"?r:""+r).replace(_1,`
6
+ `).replace(N1,"")}function xa(r,n,l){if(n=If(n),If(r)!==n&&l)throw Error(o(425))}function Ba(){}var Ds=null,Is=null;function Ms(r,n){return r==="textarea"||r==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Os=typeof setTimeout=="function"?setTimeout:void 0,C1=typeof clearTimeout=="function"?clearTimeout:void 0,Mf=typeof Promise=="function"?Promise:void 0,j1=typeof queueMicrotask=="function"?queueMicrotask:typeof Mf<"u"?function(r){return Mf.resolve(null).then(r).catch(T1)}:Os;function T1(r){setTimeout(function(){throw r})}function Hs(r,n){var l=n,u=0;do{var g=l.nextSibling;if(r.removeChild(l),g&&g.nodeType===8)if(l=g.data,l==="/$"){if(u===0){r.removeChild(g),ti(n);return}u--}else l!=="$"&&l!=="$?"&&l!=="$!"||u++;l=g}while(l);ti(n)}function Kr(r){for(;r!=null;r=r.nextSibling){var n=r.nodeType;if(n===1||n===3)break;if(n===8){if(n=r.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return r}function Of(r){r=r.previousSibling;for(var n=0;r;){if(r.nodeType===8){var l=r.data;if(l==="$"||l==="$!"||l==="$?"){if(n===0)return r;n--}else l==="/$"&&n++}r=r.previousSibling}return null}var fn=Math.random().toString(36).slice(2),vr="__reactFiber$"+fn,fi="__reactProps$"+fn,Nr="__reactContainer$"+fn,As="__reactEvents$"+fn,q1="__reactListeners$"+fn,E1="__reactHandles$"+fn;function qo(r){var n=r[vr];if(n)return n;for(var l=r.parentNode;l;){if(n=l[Nr]||l[vr]){if(l=n.alternate,n.child!==null||l!==null&&l.child!==null)for(r=Of(r);r!==null;){if(l=r[vr])return l;r=Of(r)}return n}r=l,l=r.parentNode}return null}function pi(r){return r=r[vr]||r[Nr],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function pn(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(o(33))}function Sa(r){return r[fi]||null}var Ls=[],gn=-1;function Qr(r){return{current:r}}function We(r){0>gn||(r.current=Ls[gn],Ls[gn]=null,gn--)}function Ae(r,n){gn++,Ls[gn]=r.current,r.current=n}var Yr={},wt=Qr(Yr),jt=Qr(!1),Eo=Yr;function vn(r,n){var l=r.type.contextTypes;if(!l)return Yr;var u=r.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===n)return u.__reactInternalMemoizedMaskedChildContext;var g={},m;for(m in l)g[m]=n[m];return u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=n,r.__reactInternalMemoizedMaskedChildContext=g),g}function Tt(r){return r=r.childContextTypes,r!=null}function za(){We(jt),We(wt)}function Hf(r,n,l){if(wt.current!==Yr)throw Error(o(168));Ae(wt,n),Ae(jt,l)}function Af(r,n,l){var u=r.stateNode;if(n=n.childContextTypes,typeof u.getChildContext!="function")return l;u=u.getChildContext();for(var g in u)if(!(g in n))throw Error(o(108,Ne(r)||"Unknown",g));return X({},l,u)}function _a(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Yr,Eo=wt.current,Ae(wt,r),Ae(jt,jt.current),!0}function Lf(r,n,l){var u=r.stateNode;if(!u)throw Error(o(169));l?(r=Af(r,n,Eo),u.__reactInternalMemoizedMergedChildContext=r,We(jt),We(wt),Ae(wt,r)):We(jt),Ae(jt,l)}var Cr=null,Na=!1,Vs=!1;function Vf(r){Cr===null?Cr=[r]:Cr.push(r)}function P1(r){Na=!0,Vf(r)}function Jr(){if(!Vs&&Cr!==null){Vs=!0;var r=0,n=Me;try{var l=Cr;for(Me=1;r<l.length;r++){var u=l[r];do u=u(!0);while(u!==null)}Cr=null,Na=!1}catch(g){throw Cr!==null&&(Cr=Cr.slice(r+1)),Wd(ds,Jr),g}finally{Me=n,Vs=!1}}return null}var mn=[],hn=0,Ca=null,ja=0,Wt=[],$t=0,Po=null,jr=1,Tr="";function Ro(r,n){mn[hn++]=ja,mn[hn++]=Ca,Ca=r,ja=n}function Wf(r,n,l){Wt[$t++]=jr,Wt[$t++]=Tr,Wt[$t++]=Po,Po=r;var u=jr;r=Tr;var g=32-rr(u)-1;u&=~(1<<g),l+=1;var m=32-rr(n)+g;if(30<m){var S=g-g%5;m=(u&(1<<S)-1).toString(32),u>>=S,g-=S,jr=1<<32-rr(n)+g|l<<g|u,Tr=m+r}else jr=1<<m|l<<g|u,Tr=r}function Ws(r){r.return!==null&&(Ro(r,1),Wf(r,1,0))}function $s(r){for(;r===Ca;)Ca=mn[--hn],mn[hn]=null,ja=mn[--hn],mn[hn]=null;for(;r===Po;)Po=Wt[--$t],Wt[$t]=null,Tr=Wt[--$t],Wt[$t]=null,jr=Wt[--$t],Wt[$t]=null}var Mt=null,Ot=null,Ue=!1,nr=null;function $f(r,n){var l=Kt(5,null,null,0);l.elementType="DELETED",l.stateNode=n,l.return=r,n=r.deletions,n===null?(r.deletions=[l],r.flags|=16):n.push(l)}function Uf(r,n){switch(r.tag){case 5:var l=r.type;return n=n.nodeType!==1||l.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(r.stateNode=n,Mt=r,Ot=Kr(n.firstChild),!0):!1;case 6:return n=r.pendingProps===""||n.nodeType!==3?null:n,n!==null?(r.stateNode=n,Mt=r,Ot=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(l=Po!==null?{id:jr,overflow:Tr}:null,r.memoizedState={dehydrated:n,treeContext:l,retryLane:1073741824},l=Kt(18,null,null,0),l.stateNode=n,l.return=r,r.child=l,Mt=r,Ot=null,!0):!1;default:return!1}}function Us(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Xs(r){if(Ue){var n=Ot;if(n){var l=n;if(!Uf(r,n)){if(Us(r))throw Error(o(418));n=Kr(l.nextSibling);var u=Mt;n&&Uf(r,n)?$f(u,l):(r.flags=r.flags&-4097|2,Ue=!1,Mt=r)}}else{if(Us(r))throw Error(o(418));r.flags=r.flags&-4097|2,Ue=!1,Mt=r}}}function Xf(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;Mt=r}function Ta(r){if(r!==Mt)return!1;if(!Ue)return Xf(r),Ue=!0,!1;var n;if((n=r.tag!==3)&&!(n=r.tag!==5)&&(n=r.type,n=n!=="head"&&n!=="body"&&!Ms(r.type,r.memoizedProps)),n&&(n=Ot)){if(Us(r))throw Gf(),Error(o(418));for(;n;)$f(r,n),n=Kr(n.nextSibling)}if(Xf(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));e:{for(r=r.nextSibling,n=0;r;){if(r.nodeType===8){var l=r.data;if(l==="/$"){if(n===0){Ot=Kr(r.nextSibling);break e}n--}else l!=="$"&&l!=="$!"&&l!=="$?"||n++}r=r.nextSibling}Ot=null}}else Ot=Mt?Kr(r.stateNode.nextSibling):null;return!0}function Gf(){for(var r=Ot;r;)r=Kr(r.nextSibling)}function bn(){Ot=Mt=null,Ue=!1}function Gs(r){nr===null?nr=[r]:nr.push(r)}var R1=N.ReactCurrentBatchConfig;function gi(r,n,l){if(r=l.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(o(309));var u=l.stateNode}if(!u)throw Error(o(147,r));var g=u,m=""+r;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===m?n.ref:(n=function(S){var j=g.refs;S===null?delete j[m]:j[m]=S},n._stringRef=m,n)}if(typeof r!="string")throw Error(o(284));if(!l._owner)throw Error(o(290,r))}return r}function qa(r,n){throw r=Object.prototype.toString.call(n),Error(o(31,r==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":r))}function Kf(r){var n=r._init;return n(r._payload)}function Qf(r){function n(F,P){if(r){var M=F.deletions;M===null?(F.deletions=[P],F.flags|=16):M.push(P)}}function l(F,P){if(!r)return null;for(;P!==null;)n(F,P),P=P.sibling;return null}function u(F,P){for(F=new Map;P!==null;)P.key!==null?F.set(P.key,P):F.set(P.index,P),P=P.sibling;return F}function g(F,P){return F=ao(F,P),F.index=0,F.sibling=null,F}function m(F,P,M){return F.index=M,r?(M=F.alternate,M!==null?(M=M.index,M<P?(F.flags|=2,P):M):(F.flags|=2,P)):(F.flags|=1048576,P)}function S(F){return r&&F.alternate===null&&(F.flags|=2),F}function j(F,P,M,ne){return P===null||P.tag!==6?(P=Oc(M,F.mode,ne),P.return=F,P):(P=g(P,M),P.return=F,P)}function q(F,P,M,ne){var ve=M.type;return ve===D?Y(F,P,M.props.children,ne,M.key):P!==null&&(P.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===W&&Kf(ve)===P.type)?(ne=g(P,M.props),ne.ref=gi(F,P,M),ne.return=F,ne):(ne=tl(M.type,M.key,M.props,null,F.mode,ne),ne.ref=gi(F,P,M),ne.return=F,ne)}function O(F,P,M,ne){return P===null||P.tag!==4||P.stateNode.containerInfo!==M.containerInfo||P.stateNode.implementation!==M.implementation?(P=Hc(M,F.mode,ne),P.return=F,P):(P=g(P,M.children||[]),P.return=F,P)}function Y(F,P,M,ne,ve){return P===null||P.tag!==7?(P=Lo(M,F.mode,ne,ve),P.return=F,P):(P=g(P,M),P.return=F,P)}function Z(F,P,M){if(typeof P=="string"&&P!==""||typeof P=="number")return P=Oc(""+P,F.mode,M),P.return=F,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case E:return M=tl(P.type,P.key,P.props,null,F.mode,M),M.ref=gi(F,null,P),M.return=F,M;case T:return P=Hc(P,F.mode,M),P.return=F,P;case W:var ne=P._init;return Z(F,ne(P._payload),M)}if(Vn(P)||J(P))return P=Lo(P,F.mode,M,null),P.return=F,P;qa(F,P)}return null}function K(F,P,M,ne){var ve=P!==null?P.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return ve!==null?null:j(F,P,""+M,ne);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case E:return M.key===ve?q(F,P,M,ne):null;case T:return M.key===ve?O(F,P,M,ne):null;case W:return ve=M._init,K(F,P,ve(M._payload),ne)}if(Vn(M)||J(M))return ve!==null?null:Y(F,P,M,ne,null);qa(F,M)}return null}function le(F,P,M,ne,ve){if(typeof ne=="string"&&ne!==""||typeof ne=="number")return F=F.get(M)||null,j(P,F,""+ne,ve);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case E:return F=F.get(ne.key===null?M:ne.key)||null,q(P,F,ne,ve);case T:return F=F.get(ne.key===null?M:ne.key)||null,O(P,F,ne,ve);case W:var ke=ne._init;return le(F,P,M,ke(ne._payload),ve)}if(Vn(ne)||J(ne))return F=F.get(M)||null,Y(P,F,ne,ve,null);qa(P,ne)}return null}function de(F,P,M,ne){for(var ve=null,ke=null,xe=P,ze=P=0,ut=null;xe!==null&&ze<M.length;ze++){xe.index>ze?(ut=xe,xe=null):ut=xe.sibling;var Re=K(F,xe,M[ze],ne);if(Re===null){xe===null&&(xe=ut);break}r&&xe&&Re.alternate===null&&n(F,xe),P=m(Re,P,ze),ke===null?ve=Re:ke.sibling=Re,ke=Re,xe=ut}if(ze===M.length)return l(F,xe),Ue&&Ro(F,ze),ve;if(xe===null){for(;ze<M.length;ze++)xe=Z(F,M[ze],ne),xe!==null&&(P=m(xe,P,ze),ke===null?ve=xe:ke.sibling=xe,ke=xe);return Ue&&Ro(F,ze),ve}for(xe=u(F,xe);ze<M.length;ze++)ut=le(xe,F,ze,M[ze],ne),ut!==null&&(r&&ut.alternate!==null&&xe.delete(ut.key===null?ze:ut.key),P=m(ut,P,ze),ke===null?ve=ut:ke.sibling=ut,ke=ut);return r&&xe.forEach(function(lo){return n(F,lo)}),Ue&&Ro(F,ze),ve}function ge(F,P,M,ne){var ve=J(M);if(typeof ve!="function")throw Error(o(150));if(M=ve.call(M),M==null)throw Error(o(151));for(var ke=ve=null,xe=P,ze=P=0,ut=null,Re=M.next();xe!==null&&!Re.done;ze++,Re=M.next()){xe.index>ze?(ut=xe,xe=null):ut=xe.sibling;var lo=K(F,xe,Re.value,ne);if(lo===null){xe===null&&(xe=ut);break}r&&xe&&lo.alternate===null&&n(F,xe),P=m(lo,P,ze),ke===null?ve=lo:ke.sibling=lo,ke=lo,xe=ut}if(Re.done)return l(F,xe),Ue&&Ro(F,ze),ve;if(xe===null){for(;!Re.done;ze++,Re=M.next())Re=Z(F,Re.value,ne),Re!==null&&(P=m(Re,P,ze),ke===null?ve=Re:ke.sibling=Re,ke=Re);return Ue&&Ro(F,ze),ve}for(xe=u(F,xe);!Re.done;ze++,Re=M.next())Re=le(xe,F,ze,Re.value,ne),Re!==null&&(r&&Re.alternate!==null&&xe.delete(Re.key===null?ze:Re.key),P=m(Re,P,ze),ke===null?ve=Re:ke.sibling=Re,ke=Re);return r&&xe.forEach(function(py){return n(F,py)}),Ue&&Ro(F,ze),ve}function tt(F,P,M,ne){if(typeof M=="object"&&M!==null&&M.type===D&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case E:e:{for(var ve=M.key,ke=P;ke!==null;){if(ke.key===ve){if(ve=M.type,ve===D){if(ke.tag===7){l(F,ke.sibling),P=g(ke,M.props.children),P.return=F,F=P;break e}}else if(ke.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===W&&Kf(ve)===ke.type){l(F,ke.sibling),P=g(ke,M.props),P.ref=gi(F,ke,M),P.return=F,F=P;break e}l(F,ke);break}else n(F,ke);ke=ke.sibling}M.type===D?(P=Lo(M.props.children,F.mode,ne,M.key),P.return=F,F=P):(ne=tl(M.type,M.key,M.props,null,F.mode,ne),ne.ref=gi(F,P,M),ne.return=F,F=ne)}return S(F);case T:e:{for(ke=M.key;P!==null;){if(P.key===ke)if(P.tag===4&&P.stateNode.containerInfo===M.containerInfo&&P.stateNode.implementation===M.implementation){l(F,P.sibling),P=g(P,M.children||[]),P.return=F,F=P;break e}else{l(F,P);break}else n(F,P);P=P.sibling}P=Hc(M,F.mode,ne),P.return=F,F=P}return S(F);case W:return ke=M._init,tt(F,P,ke(M._payload),ne)}if(Vn(M))return de(F,P,M,ne);if(J(M))return ge(F,P,M,ne);qa(F,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,P!==null&&P.tag===6?(l(F,P.sibling),P=g(P,M),P.return=F,F=P):(l(F,P),P=Oc(M,F.mode,ne),P.return=F,F=P),S(F)):l(F,P)}return tt}var yn=Qf(!0),Yf=Qf(!1),Ea=Qr(null),Pa=null,wn=null,Ks=null;function Qs(){Ks=wn=Pa=null}function Ys(r){var n=Ea.current;We(Ea),r._currentValue=n}function Js(r,n,l){for(;r!==null;){var u=r.alternate;if((r.childLanes&n)!==n?(r.childLanes|=n,u!==null&&(u.childLanes|=n)):u!==null&&(u.childLanes&n)!==n&&(u.childLanes|=n),r===l)break;r=r.return}}function kn(r,n){Pa=r,Ks=wn=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&n)!==0&&(qt=!0),r.firstContext=null)}function Ut(r){var n=r._currentValue;if(Ks!==r)if(r={context:r,memoizedValue:n,next:null},wn===null){if(Pa===null)throw Error(o(308));wn=r,Pa.dependencies={lanes:0,firstContext:r}}else wn=wn.next=r;return n}var Fo=null;function Zs(r){Fo===null?Fo=[r]:Fo.push(r)}function Jf(r,n,l,u){var g=n.interleaved;return g===null?(l.next=l,Zs(n)):(l.next=g.next,g.next=l),n.interleaved=l,qr(r,u)}function qr(r,n){r.lanes|=n;var l=r.alternate;for(l!==null&&(l.lanes|=n),l=r,r=r.return;r!==null;)r.childLanes|=n,l=r.alternate,l!==null&&(l.childLanes|=n),l=r,r=r.return;return l.tag===3?l.stateNode:null}var Zr=!1;function ec(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Zf(r,n){r=r.updateQueue,n.updateQueue===r&&(n.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Er(r,n){return{eventTime:r,lane:n,tag:0,payload:null,callback:null,next:null}}function eo(r,n,l){var u=r.updateQueue;if(u===null)return null;if(u=u.shared,(Ee&2)!==0){var g=u.pending;return g===null?n.next=n:(n.next=g.next,g.next=n),u.pending=n,qr(r,l)}return g=u.interleaved,g===null?(n.next=n,Zs(u)):(n.next=g.next,g.next=n),u.interleaved=n,qr(r,l)}function Ra(r,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194240)!==0)){var u=n.lanes;u&=r.pendingLanes,l|=u,n.lanes=l,gs(r,l)}}function ep(r,n){var l=r.updateQueue,u=r.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var g=null,m=null;if(l=l.firstBaseUpdate,l!==null){do{var S={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};m===null?g=m=S:m=m.next=S,l=l.next}while(l!==null);m===null?g=m=n:m=m.next=n}else g=m=n;l={baseState:u.baseState,firstBaseUpdate:g,lastBaseUpdate:m,shared:u.shared,effects:u.effects},r.updateQueue=l;return}r=l.lastBaseUpdate,r===null?l.firstBaseUpdate=n:r.next=n,l.lastBaseUpdate=n}function Fa(r,n,l,u){var g=r.updateQueue;Zr=!1;var m=g.firstBaseUpdate,S=g.lastBaseUpdate,j=g.shared.pending;if(j!==null){g.shared.pending=null;var q=j,O=q.next;q.next=null,S===null?m=O:S.next=O,S=q;var Y=r.alternate;Y!==null&&(Y=Y.updateQueue,j=Y.lastBaseUpdate,j!==S&&(j===null?Y.firstBaseUpdate=O:j.next=O,Y.lastBaseUpdate=q))}if(m!==null){var Z=g.baseState;S=0,Y=O=q=null,j=m;do{var K=j.lane,le=j.eventTime;if((u&K)===K){Y!==null&&(Y=Y.next={eventTime:le,lane:0,tag:j.tag,payload:j.payload,callback:j.callback,next:null});e:{var de=r,ge=j;switch(K=n,le=l,ge.tag){case 1:if(de=ge.payload,typeof de=="function"){Z=de.call(le,Z,K);break e}Z=de;break e;case 3:de.flags=de.flags&-65537|128;case 0:if(de=ge.payload,K=typeof de=="function"?de.call(le,Z,K):de,K==null)break e;Z=X({},Z,K);break e;case 2:Zr=!0}}j.callback!==null&&j.lane!==0&&(r.flags|=64,K=g.effects,K===null?g.effects=[j]:K.push(j))}else le={eventTime:le,lane:K,tag:j.tag,payload:j.payload,callback:j.callback,next:null},Y===null?(O=Y=le,q=Z):Y=Y.next=le,S|=K;if(j=j.next,j===null){if(j=g.shared.pending,j===null)break;K=j,j=K.next,K.next=null,g.lastBaseUpdate=K,g.shared.pending=null}}while(!0);if(Y===null&&(q=Z),g.baseState=q,g.firstBaseUpdate=O,g.lastBaseUpdate=Y,n=g.shared.interleaved,n!==null){g=n;do S|=g.lane,g=g.next;while(g!==n)}else m===null&&(g.shared.lanes=0);Mo|=S,r.lanes=S,r.memoizedState=Z}}function tp(r,n,l){if(r=n.effects,n.effects=null,r!==null)for(n=0;n<r.length;n++){var u=r[n],g=u.callback;if(g!==null){if(u.callback=null,u=l,typeof g!="function")throw Error(o(191,g));g.call(u)}}}var vi={},mr=Qr(vi),mi=Qr(vi),hi=Qr(vi);function Do(r){if(r===vi)throw Error(o(174));return r}function tc(r,n){switch(Ae(hi,n),Ae(mi,r),Ae(mr,vi),r=n.nodeType,r){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:rs(null,"");break;default:r=r===8?n.parentNode:n,n=r.namespaceURI||null,r=r.tagName,n=rs(n,r)}We(mr),Ae(mr,n)}function xn(){We(mr),We(mi),We(hi)}function rp(r){Do(hi.current);var n=Do(mr.current),l=rs(n,r.type);n!==l&&(Ae(mi,r),Ae(mr,l))}function rc(r){mi.current===r&&(We(mr),We(mi))}var Xe=Qr(0);function Da(r){for(var n=r;n!==null;){if(n.tag===13){var l=n.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break;for(;n.sibling===null;){if(n.return===null||n.return===r)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var oc=[];function nc(){for(var r=0;r<oc.length;r++)oc[r]._workInProgressVersionPrimary=null;oc.length=0}var Ia=N.ReactCurrentDispatcher,ic=N.ReactCurrentBatchConfig,Io=0,Ge=null,it=null,st=null,Ma=!1,bi=!1,yi=0,F1=0;function kt(){throw Error(o(321))}function ac(r,n){if(n===null)return!1;for(var l=0;l<n.length&&l<r.length;l++)if(!or(r[l],n[l]))return!1;return!0}function lc(r,n,l,u,g,m){if(Io=m,Ge=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Ia.current=r===null||r.memoizedState===null?O1:H1,r=l(u,g),bi){m=0;do{if(bi=!1,yi=0,25<=m)throw Error(o(301));m+=1,st=it=null,n.updateQueue=null,Ia.current=A1,r=l(u,g)}while(bi)}if(Ia.current=Aa,n=it!==null&&it.next!==null,Io=0,st=it=Ge=null,Ma=!1,n)throw Error(o(300));return r}function sc(){var r=yi!==0;return yi=0,r}function hr(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return st===null?Ge.memoizedState=st=r:st=st.next=r,st}function Xt(){if(it===null){var r=Ge.alternate;r=r!==null?r.memoizedState:null}else r=it.next;var n=st===null?Ge.memoizedState:st.next;if(n!==null)st=n,it=r;else{if(r===null)throw Error(o(310));it=r,r={memoizedState:it.memoizedState,baseState:it.baseState,baseQueue:it.baseQueue,queue:it.queue,next:null},st===null?Ge.memoizedState=st=r:st=st.next=r}return st}function wi(r,n){return typeof n=="function"?n(r):n}function cc(r){var n=Xt(),l=n.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=r;var u=it,g=u.baseQueue,m=l.pending;if(m!==null){if(g!==null){var S=g.next;g.next=m.next,m.next=S}u.baseQueue=g=m,l.pending=null}if(g!==null){m=g.next,u=u.baseState;var j=S=null,q=null,O=m;do{var Y=O.lane;if((Io&Y)===Y)q!==null&&(q=q.next={lane:0,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),u=O.hasEagerState?O.eagerState:r(u,O.action);else{var Z={lane:Y,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null};q===null?(j=q=Z,S=u):q=q.next=Z,Ge.lanes|=Y,Mo|=Y}O=O.next}while(O!==null&&O!==m);q===null?S=u:q.next=j,or(u,n.memoizedState)||(qt=!0),n.memoizedState=u,n.baseState=S,n.baseQueue=q,l.lastRenderedState=u}if(r=l.interleaved,r!==null){g=r;do m=g.lane,Ge.lanes|=m,Mo|=m,g=g.next;while(g!==r)}else g===null&&(l.lanes=0);return[n.memoizedState,l.dispatch]}function uc(r){var n=Xt(),l=n.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=r;var u=l.dispatch,g=l.pending,m=n.memoizedState;if(g!==null){l.pending=null;var S=g=g.next;do m=r(m,S.action),S=S.next;while(S!==g);or(m,n.memoizedState)||(qt=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),l.lastRenderedState=m}return[m,u]}function op(){}function np(r,n){var l=Ge,u=Xt(),g=n(),m=!or(u.memoizedState,g);if(m&&(u.memoizedState=g,qt=!0),u=u.queue,dc(lp.bind(null,l,u,r),[r]),u.getSnapshot!==n||m||st!==null&&st.memoizedState.tag&1){if(l.flags|=2048,ki(9,ap.bind(null,l,u,g,n),void 0,null),ct===null)throw Error(o(349));(Io&30)!==0||ip(l,n,g)}return g}function ip(r,n,l){r.flags|=16384,r={getSnapshot:n,value:l},n=Ge.updateQueue,n===null?(n={lastEffect:null,stores:null},Ge.updateQueue=n,n.stores=[r]):(l=n.stores,l===null?n.stores=[r]:l.push(r))}function ap(r,n,l,u){n.value=l,n.getSnapshot=u,sp(n)&&cp(r)}function lp(r,n,l){return l(function(){sp(n)&&cp(r)})}function sp(r){var n=r.getSnapshot;r=r.value;try{var l=n();return!or(r,l)}catch{return!0}}function cp(r){var n=qr(r,1);n!==null&&sr(n,r,1,-1)}function up(r){var n=hr();return typeof r=="function"&&(r=r()),n.memoizedState=n.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wi,lastRenderedState:r},n.queue=r,r=r.dispatch=M1.bind(null,Ge,r),[n.memoizedState,r]}function ki(r,n,l,u){return r={tag:r,create:n,destroy:l,deps:u,next:null},n=Ge.updateQueue,n===null?(n={lastEffect:null,stores:null},Ge.updateQueue=n,n.lastEffect=r.next=r):(l=n.lastEffect,l===null?n.lastEffect=r.next=r:(u=l.next,l.next=r,r.next=u,n.lastEffect=r)),r}function dp(){return Xt().memoizedState}function Oa(r,n,l,u){var g=hr();Ge.flags|=r,g.memoizedState=ki(1|n,l,void 0,u===void 0?null:u)}function Ha(r,n,l,u){var g=Xt();u=u===void 0?null:u;var m=void 0;if(it!==null){var S=it.memoizedState;if(m=S.destroy,u!==null&&ac(u,S.deps)){g.memoizedState=ki(n,l,m,u);return}}Ge.flags|=r,g.memoizedState=ki(1|n,l,m,u)}function fp(r,n){return Oa(8390656,8,r,n)}function dc(r,n){return Ha(2048,8,r,n)}function pp(r,n){return Ha(4,2,r,n)}function gp(r,n){return Ha(4,4,r,n)}function vp(r,n){if(typeof n=="function")return r=r(),n(r),function(){n(null)};if(n!=null)return r=r(),n.current=r,function(){n.current=null}}function mp(r,n,l){return l=l!=null?l.concat([r]):null,Ha(4,4,vp.bind(null,n,r),l)}function fc(){}function hp(r,n){var l=Xt();n=n===void 0?null:n;var u=l.memoizedState;return u!==null&&n!==null&&ac(n,u[1])?u[0]:(l.memoizedState=[r,n],r)}function bp(r,n){var l=Xt();n=n===void 0?null:n;var u=l.memoizedState;return u!==null&&n!==null&&ac(n,u[1])?u[0]:(r=r(),l.memoizedState=[r,n],r)}function yp(r,n,l){return(Io&21)===0?(r.baseState&&(r.baseState=!1,qt=!0),r.memoizedState=l):(or(l,n)||(l=Gd(),Ge.lanes|=l,Mo|=l,r.baseState=!0),n)}function D1(r,n){var l=Me;Me=l!==0&&4>l?l:4,r(!0);var u=ic.transition;ic.transition={};try{r(!1),n()}finally{Me=l,ic.transition=u}}function wp(){return Xt().memoizedState}function I1(r,n,l){var u=no(r);if(l={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null},kp(r))xp(n,l);else if(l=Jf(r,n,l,u),l!==null){var g=Ct();sr(l,r,u,g),Bp(l,n,u)}}function M1(r,n,l){var u=no(r),g={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(kp(r))xp(n,g);else{var m=r.alternate;if(r.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var S=n.lastRenderedState,j=m(S,l);if(g.hasEagerState=!0,g.eagerState=j,or(j,S)){var q=n.interleaved;q===null?(g.next=g,Zs(n)):(g.next=q.next,q.next=g),n.interleaved=g;return}}catch{}l=Jf(r,n,g,u),l!==null&&(g=Ct(),sr(l,r,u,g),Bp(l,n,u))}}function kp(r){var n=r.alternate;return r===Ge||n!==null&&n===Ge}function xp(r,n){bi=Ma=!0;var l=r.pending;l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n}function Bp(r,n,l){if((l&4194240)!==0){var u=n.lanes;u&=r.pendingLanes,l|=u,n.lanes=l,gs(r,l)}}var Aa={readContext:Ut,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useInsertionEffect:kt,useLayoutEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useMutableSource:kt,useSyncExternalStore:kt,useId:kt,unstable_isNewReconciler:!1},O1={readContext:Ut,useCallback:function(r,n){return hr().memoizedState=[r,n===void 0?null:n],r},useContext:Ut,useEffect:fp,useImperativeHandle:function(r,n,l){return l=l!=null?l.concat([r]):null,Oa(4194308,4,vp.bind(null,n,r),l)},useLayoutEffect:function(r,n){return Oa(4194308,4,r,n)},useInsertionEffect:function(r,n){return Oa(4,2,r,n)},useMemo:function(r,n){var l=hr();return n=n===void 0?null:n,r=r(),l.memoizedState=[r,n],r},useReducer:function(r,n,l){var u=hr();return n=l!==void 0?l(n):n,u.memoizedState=u.baseState=n,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:n},u.queue=r,r=r.dispatch=I1.bind(null,Ge,r),[u.memoizedState,r]},useRef:function(r){var n=hr();return r={current:r},n.memoizedState=r},useState:up,useDebugValue:fc,useDeferredValue:function(r){return hr().memoizedState=r},useTransition:function(){var r=up(!1),n=r[0];return r=D1.bind(null,r[1]),hr().memoizedState=r,[n,r]},useMutableSource:function(){},useSyncExternalStore:function(r,n,l){var u=Ge,g=hr();if(Ue){if(l===void 0)throw Error(o(407));l=l()}else{if(l=n(),ct===null)throw Error(o(349));(Io&30)!==0||ip(u,n,l)}g.memoizedState=l;var m={value:l,getSnapshot:n};return g.queue=m,fp(lp.bind(null,u,m,r),[r]),u.flags|=2048,ki(9,ap.bind(null,u,m,l,n),void 0,null),l},useId:function(){var r=hr(),n=ct.identifierPrefix;if(Ue){var l=Tr,u=jr;l=(u&~(1<<32-rr(u)-1)).toString(32)+l,n=":"+n+"R"+l,l=yi++,0<l&&(n+="H"+l.toString(32)),n+=":"}else l=F1++,n=":"+n+"r"+l.toString(32)+":";return r.memoizedState=n},unstable_isNewReconciler:!1},H1={readContext:Ut,useCallback:hp,useContext:Ut,useEffect:dc,useImperativeHandle:mp,useInsertionEffect:pp,useLayoutEffect:gp,useMemo:bp,useReducer:cc,useRef:dp,useState:function(){return cc(wi)},useDebugValue:fc,useDeferredValue:function(r){var n=Xt();return yp(n,it.memoizedState,r)},useTransition:function(){var r=cc(wi)[0],n=Xt().memoizedState;return[r,n]},useMutableSource:op,useSyncExternalStore:np,useId:wp,unstable_isNewReconciler:!1},A1={readContext:Ut,useCallback:hp,useContext:Ut,useEffect:dc,useImperativeHandle:mp,useInsertionEffect:pp,useLayoutEffect:gp,useMemo:bp,useReducer:uc,useRef:dp,useState:function(){return uc(wi)},useDebugValue:fc,useDeferredValue:function(r){var n=Xt();return it===null?n.memoizedState=r:yp(n,it.memoizedState,r)},useTransition:function(){var r=uc(wi)[0],n=Xt().memoizedState;return[r,n]},useMutableSource:op,useSyncExternalStore:np,useId:wp,unstable_isNewReconciler:!1};function ir(r,n){if(r&&r.defaultProps){n=X({},n),r=r.defaultProps;for(var l in r)n[l]===void 0&&(n[l]=r[l]);return n}return n}function pc(r,n,l,u){n=r.memoizedState,l=l(u,n),l=l==null?n:X({},n,l),r.memoizedState=l,r.lanes===0&&(r.updateQueue.baseState=l)}var La={isMounted:function(r){return(r=r._reactInternals)?To(r)===r:!1},enqueueSetState:function(r,n,l){r=r._reactInternals;var u=Ct(),g=no(r),m=Er(u,g);m.payload=n,l!=null&&(m.callback=l),n=eo(r,m,g),n!==null&&(sr(n,r,g,u),Ra(n,r,g))},enqueueReplaceState:function(r,n,l){r=r._reactInternals;var u=Ct(),g=no(r),m=Er(u,g);m.tag=1,m.payload=n,l!=null&&(m.callback=l),n=eo(r,m,g),n!==null&&(sr(n,r,g,u),Ra(n,r,g))},enqueueForceUpdate:function(r,n){r=r._reactInternals;var l=Ct(),u=no(r),g=Er(l,u);g.tag=2,n!=null&&(g.callback=n),n=eo(r,g,u),n!==null&&(sr(n,r,u,l),Ra(n,r,u))}};function Sp(r,n,l,u,g,m,S){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(u,m,S):n.prototype&&n.prototype.isPureReactComponent?!li(l,u)||!li(g,m):!0}function zp(r,n,l){var u=!1,g=Yr,m=n.contextType;return typeof m=="object"&&m!==null?m=Ut(m):(g=Tt(n)?Eo:wt.current,u=n.contextTypes,m=(u=u!=null)?vn(r,g):Yr),n=new n(l,m),r.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=La,r.stateNode=n,n._reactInternals=r,u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=g,r.__reactInternalMemoizedMaskedChildContext=m),n}function _p(r,n,l,u){r=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,u),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,u),n.state!==r&&La.enqueueReplaceState(n,n.state,null)}function gc(r,n,l,u){var g=r.stateNode;g.props=l,g.state=r.memoizedState,g.refs={},ec(r);var m=n.contextType;typeof m=="object"&&m!==null?g.context=Ut(m):(m=Tt(n)?Eo:wt.current,g.context=vn(r,m)),g.state=r.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(pc(r,n,m,l),g.state=r.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(n=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),n!==g.state&&La.enqueueReplaceState(g,g.state,null),Fa(r,l,g,u),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308)}function Bn(r,n){try{var l="",u=n;do l+=ce(u),u=u.return;while(u);var g=l}catch(m){g=`
7
+ Error generating stack: `+m.message+`
8
+ `+m.stack}return{value:r,source:n,stack:g,digest:null}}function vc(r,n,l){return{value:r,source:null,stack:l??null,digest:n??null}}function mc(r,n){try{console.error(n.value)}catch(l){setTimeout(function(){throw l})}}var L1=typeof WeakMap=="function"?WeakMap:Map;function Np(r,n,l){l=Er(-1,l),l.tag=3,l.payload={element:null};var u=n.value;return l.callback=function(){Ka||(Ka=!0,qc=u),mc(r,n)},l}function Cp(r,n,l){l=Er(-1,l),l.tag=3;var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var g=n.value;l.payload=function(){return u(g)},l.callback=function(){mc(r,n)}}var m=r.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(l.callback=function(){mc(r,n),typeof u!="function"&&(ro===null?ro=new Set([this]):ro.add(this));var S=n.stack;this.componentDidCatch(n.value,{componentStack:S!==null?S:""})}),l}function jp(r,n,l){var u=r.pingCache;if(u===null){u=r.pingCache=new L1;var g=new Set;u.set(n,g)}else g=u.get(n),g===void 0&&(g=new Set,u.set(n,g));g.has(l)||(g.add(l),r=ry.bind(null,r,n,l),n.then(r,r))}function Tp(r){do{var n;if((n=r.tag===13)&&(n=r.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return r;r=r.return}while(r!==null);return null}function qp(r,n,l,u,g){return(r.mode&1)===0?(r===n?r.flags|=65536:(r.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(n=Er(-1,1),n.tag=2,eo(l,n,1))),l.lanes|=1),r):(r.flags|=65536,r.lanes=g,r)}var V1=N.ReactCurrentOwner,qt=!1;function Nt(r,n,l,u){n.child=r===null?Yf(n,null,l,u):yn(n,r.child,l,u)}function Ep(r,n,l,u,g){l=l.render;var m=n.ref;return kn(n,g),u=lc(r,n,l,u,m,g),l=sc(),r!==null&&!qt?(n.updateQueue=r.updateQueue,n.flags&=-2053,r.lanes&=~g,Pr(r,n,g)):(Ue&&l&&Ws(n),n.flags|=1,Nt(r,n,u,g),n.child)}function Pp(r,n,l,u,g){if(r===null){var m=l.type;return typeof m=="function"&&!Mc(m)&&m.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(n.tag=15,n.type=m,Rp(r,n,m,u,g)):(r=tl(l.type,null,u,n,n.mode,g),r.ref=n.ref,r.return=n,n.child=r)}if(m=r.child,(r.lanes&g)===0){var S=m.memoizedProps;if(l=l.compare,l=l!==null?l:li,l(S,u)&&r.ref===n.ref)return Pr(r,n,g)}return n.flags|=1,r=ao(m,u),r.ref=n.ref,r.return=n,n.child=r}function Rp(r,n,l,u,g){if(r!==null){var m=r.memoizedProps;if(li(m,u)&&r.ref===n.ref)if(qt=!1,n.pendingProps=u=m,(r.lanes&g)!==0)(r.flags&131072)!==0&&(qt=!0);else return n.lanes=r.lanes,Pr(r,n,g)}return hc(r,n,l,u,g)}function Fp(r,n,l){var u=n.pendingProps,g=u.children,m=r!==null?r.memoizedState:null;if(u.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ae(zn,Ht),Ht|=l;else{if((l&1073741824)===0)return r=m!==null?m.baseLanes|l:l,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:r,cachePool:null,transitions:null},n.updateQueue=null,Ae(zn,Ht),Ht|=r,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=m!==null?m.baseLanes:l,Ae(zn,Ht),Ht|=u}else m!==null?(u=m.baseLanes|l,n.memoizedState=null):u=l,Ae(zn,Ht),Ht|=u;return Nt(r,n,g,l),n.child}function Dp(r,n){var l=n.ref;(r===null&&l!==null||r!==null&&r.ref!==l)&&(n.flags|=512,n.flags|=2097152)}function hc(r,n,l,u,g){var m=Tt(l)?Eo:wt.current;return m=vn(n,m),kn(n,g),l=lc(r,n,l,u,m,g),u=sc(),r!==null&&!qt?(n.updateQueue=r.updateQueue,n.flags&=-2053,r.lanes&=~g,Pr(r,n,g)):(Ue&&u&&Ws(n),n.flags|=1,Nt(r,n,l,g),n.child)}function Ip(r,n,l,u,g){if(Tt(l)){var m=!0;_a(n)}else m=!1;if(kn(n,g),n.stateNode===null)Wa(r,n),zp(n,l,u),gc(n,l,u,g),u=!0;else if(r===null){var S=n.stateNode,j=n.memoizedProps;S.props=j;var q=S.context,O=l.contextType;typeof O=="object"&&O!==null?O=Ut(O):(O=Tt(l)?Eo:wt.current,O=vn(n,O));var Y=l.getDerivedStateFromProps,Z=typeof Y=="function"||typeof S.getSnapshotBeforeUpdate=="function";Z||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(j!==u||q!==O)&&_p(n,S,u,O),Zr=!1;var K=n.memoizedState;S.state=K,Fa(n,u,S,g),q=n.memoizedState,j!==u||K!==q||jt.current||Zr?(typeof Y=="function"&&(pc(n,l,Y,u),q=n.memoizedState),(j=Zr||Sp(n,l,j,u,K,q,O))?(Z||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(n.flags|=4194308)):(typeof S.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=u,n.memoizedState=q),S.props=u,S.state=q,S.context=O,u=j):(typeof S.componentDidMount=="function"&&(n.flags|=4194308),u=!1)}else{S=n.stateNode,Zf(r,n),j=n.memoizedProps,O=n.type===n.elementType?j:ir(n.type,j),S.props=O,Z=n.pendingProps,K=S.context,q=l.contextType,typeof q=="object"&&q!==null?q=Ut(q):(q=Tt(l)?Eo:wt.current,q=vn(n,q));var le=l.getDerivedStateFromProps;(Y=typeof le=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(j!==Z||K!==q)&&_p(n,S,u,q),Zr=!1,K=n.memoizedState,S.state=K,Fa(n,u,S,g);var de=n.memoizedState;j!==Z||K!==de||jt.current||Zr?(typeof le=="function"&&(pc(n,l,le,u),de=n.memoizedState),(O=Zr||Sp(n,l,O,u,K,de,q)||!1)?(Y||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(u,de,q),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(u,de,q)),typeof S.componentDidUpdate=="function"&&(n.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof S.componentDidUpdate!="function"||j===r.memoizedProps&&K===r.memoizedState||(n.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||j===r.memoizedProps&&K===r.memoizedState||(n.flags|=1024),n.memoizedProps=u,n.memoizedState=de),S.props=u,S.state=de,S.context=q,u=O):(typeof S.componentDidUpdate!="function"||j===r.memoizedProps&&K===r.memoizedState||(n.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||j===r.memoizedProps&&K===r.memoizedState||(n.flags|=1024),u=!1)}return bc(r,n,l,u,m,g)}function bc(r,n,l,u,g,m){Dp(r,n);var S=(n.flags&128)!==0;if(!u&&!S)return g&&Lf(n,l,!1),Pr(r,n,m);u=n.stateNode,V1.current=n;var j=S&&typeof l.getDerivedStateFromError!="function"?null:u.render();return n.flags|=1,r!==null&&S?(n.child=yn(n,r.child,null,m),n.child=yn(n,null,j,m)):Nt(r,n,j,m),n.memoizedState=u.state,g&&Lf(n,l,!0),n.child}function Mp(r){var n=r.stateNode;n.pendingContext?Hf(r,n.pendingContext,n.pendingContext!==n.context):n.context&&Hf(r,n.context,!1),tc(r,n.containerInfo)}function Op(r,n,l,u,g){return bn(),Gs(g),n.flags|=256,Nt(r,n,l,u),n.child}var yc={dehydrated:null,treeContext:null,retryLane:0};function wc(r){return{baseLanes:r,cachePool:null,transitions:null}}function Hp(r,n,l){var u=n.pendingProps,g=Xe.current,m=!1,S=(n.flags&128)!==0,j;if((j=S)||(j=r!==null&&r.memoizedState===null?!1:(g&2)!==0),j?(m=!0,n.flags&=-129):(r===null||r.memoizedState!==null)&&(g|=1),Ae(Xe,g&1),r===null)return Xs(n),r=n.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((n.mode&1)===0?n.lanes=1:r.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(S=u.children,r=u.fallback,m?(u=n.mode,m=n.child,S={mode:"hidden",children:S},(u&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=S):m=rl(S,u,0,null),r=Lo(r,u,l,null),m.return=n,r.return=n,m.sibling=r,n.child=m,n.child.memoizedState=wc(l),n.memoizedState=yc,r):kc(n,S));if(g=r.memoizedState,g!==null&&(j=g.dehydrated,j!==null))return W1(r,n,S,u,j,g,l);if(m){m=u.fallback,S=n.mode,g=r.child,j=g.sibling;var q={mode:"hidden",children:u.children};return(S&1)===0&&n.child!==g?(u=n.child,u.childLanes=0,u.pendingProps=q,n.deletions=null):(u=ao(g,q),u.subtreeFlags=g.subtreeFlags&14680064),j!==null?m=ao(j,m):(m=Lo(m,S,l,null),m.flags|=2),m.return=n,u.return=n,u.sibling=m,n.child=u,u=m,m=n.child,S=r.child.memoizedState,S=S===null?wc(l):{baseLanes:S.baseLanes|l,cachePool:null,transitions:S.transitions},m.memoizedState=S,m.childLanes=r.childLanes&~l,n.memoizedState=yc,u}return m=r.child,r=m.sibling,u=ao(m,{mode:"visible",children:u.children}),(n.mode&1)===0&&(u.lanes=l),u.return=n,u.sibling=null,r!==null&&(l=n.deletions,l===null?(n.deletions=[r],n.flags|=16):l.push(r)),n.child=u,n.memoizedState=null,u}function kc(r,n){return n=rl({mode:"visible",children:n},r.mode,0,null),n.return=r,r.child=n}function Va(r,n,l,u){return u!==null&&Gs(u),yn(n,r.child,null,l),r=kc(n,n.pendingProps.children),r.flags|=2,n.memoizedState=null,r}function W1(r,n,l,u,g,m,S){if(l)return n.flags&256?(n.flags&=-257,u=vc(Error(o(422))),Va(r,n,S,u)):n.memoizedState!==null?(n.child=r.child,n.flags|=128,null):(m=u.fallback,g=n.mode,u=rl({mode:"visible",children:u.children},g,0,null),m=Lo(m,g,S,null),m.flags|=2,u.return=n,m.return=n,u.sibling=m,n.child=u,(n.mode&1)!==0&&yn(n,r.child,null,S),n.child.memoizedState=wc(S),n.memoizedState=yc,m);if((n.mode&1)===0)return Va(r,n,S,null);if(g.data==="$!"){if(u=g.nextSibling&&g.nextSibling.dataset,u)var j=u.dgst;return u=j,m=Error(o(419)),u=vc(m,u,void 0),Va(r,n,S,u)}if(j=(S&r.childLanes)!==0,qt||j){if(u=ct,u!==null){switch(S&-S){case 4:g=2;break;case 16:g=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:g=32;break;case 536870912:g=268435456;break;default:g=0}g=(g&(u.suspendedLanes|S))!==0?0:g,g!==0&&g!==m.retryLane&&(m.retryLane=g,qr(r,g),sr(u,r,g,-1))}return Ic(),u=vc(Error(o(421))),Va(r,n,S,u)}return g.data==="$?"?(n.flags|=128,n.child=r.child,n=oy.bind(null,r),g._reactRetry=n,null):(r=m.treeContext,Ot=Kr(g.nextSibling),Mt=n,Ue=!0,nr=null,r!==null&&(Wt[$t++]=jr,Wt[$t++]=Tr,Wt[$t++]=Po,jr=r.id,Tr=r.overflow,Po=n),n=kc(n,u.children),n.flags|=4096,n)}function Ap(r,n,l){r.lanes|=n;var u=r.alternate;u!==null&&(u.lanes|=n),Js(r.return,n,l)}function xc(r,n,l,u,g){var m=r.memoizedState;m===null?r.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:g}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=u,m.tail=l,m.tailMode=g)}function Lp(r,n,l){var u=n.pendingProps,g=u.revealOrder,m=u.tail;if(Nt(r,n,u.children,l),u=Xe.current,(u&2)!==0)u=u&1|2,n.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=n.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Ap(r,l,n);else if(r.tag===19)Ap(r,l,n);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}u&=1}if(Ae(Xe,u),(n.mode&1)===0)n.memoizedState=null;else switch(g){case"forwards":for(l=n.child,g=null;l!==null;)r=l.alternate,r!==null&&Da(r)===null&&(g=l),l=l.sibling;l=g,l===null?(g=n.child,n.child=null):(g=l.sibling,l.sibling=null),xc(n,!1,g,l,m);break;case"backwards":for(l=null,g=n.child,n.child=null;g!==null;){if(r=g.alternate,r!==null&&Da(r)===null){n.child=g;break}r=g.sibling,g.sibling=l,l=g,g=r}xc(n,!0,l,null,m);break;case"together":xc(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Wa(r,n){(n.mode&1)===0&&r!==null&&(r.alternate=null,n.alternate=null,n.flags|=2)}function Pr(r,n,l){if(r!==null&&(n.dependencies=r.dependencies),Mo|=n.lanes,(l&n.childLanes)===0)return null;if(r!==null&&n.child!==r.child)throw Error(o(153));if(n.child!==null){for(r=n.child,l=ao(r,r.pendingProps),n.child=l,l.return=n;r.sibling!==null;)r=r.sibling,l=l.sibling=ao(r,r.pendingProps),l.return=n;l.sibling=null}return n.child}function $1(r,n,l){switch(n.tag){case 3:Mp(n),bn();break;case 5:rp(n);break;case 1:Tt(n.type)&&_a(n);break;case 4:tc(n,n.stateNode.containerInfo);break;case 10:var u=n.type._context,g=n.memoizedProps.value;Ae(Ea,u._currentValue),u._currentValue=g;break;case 13:if(u=n.memoizedState,u!==null)return u.dehydrated!==null?(Ae(Xe,Xe.current&1),n.flags|=128,null):(l&n.child.childLanes)!==0?Hp(r,n,l):(Ae(Xe,Xe.current&1),r=Pr(r,n,l),r!==null?r.sibling:null);Ae(Xe,Xe.current&1);break;case 19:if(u=(l&n.childLanes)!==0,(r.flags&128)!==0){if(u)return Lp(r,n,l);n.flags|=128}if(g=n.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),Ae(Xe,Xe.current),u)break;return null;case 22:case 23:return n.lanes=0,Fp(r,n,l)}return Pr(r,n,l)}var Vp,Bc,Wp,$p;Vp=function(r,n){for(var l=n.child;l!==null;){if(l.tag===5||l.tag===6)r.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Bc=function(){},Wp=function(r,n,l,u){var g=r.memoizedProps;if(g!==u){r=n.stateNode,Do(mr.current);var m=null;switch(l){case"input":g=Ln(r,g),u=Ln(r,u),m=[];break;case"select":g=X({},g,{value:void 0}),u=X({},u,{value:void 0}),m=[];break;case"textarea":g=ts(r,g),u=ts(r,u),m=[];break;default:typeof g.onClick!="function"&&typeof u.onClick=="function"&&(r.onclick=Ba)}os(l,u);var S;l=null;for(O in g)if(!u.hasOwnProperty(O)&&g.hasOwnProperty(O)&&g[O]!=null)if(O==="style"){var j=g[O];for(S in j)j.hasOwnProperty(S)&&(l||(l={}),l[S]="")}else O!=="dangerouslySetInnerHTML"&&O!=="children"&&O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&O!=="autoFocus"&&(a.hasOwnProperty(O)?m||(m=[]):(m=m||[]).push(O,null));for(O in u){var q=u[O];if(j=g?.[O],u.hasOwnProperty(O)&&q!==j&&(q!=null||j!=null))if(O==="style")if(j){for(S in j)!j.hasOwnProperty(S)||q&&q.hasOwnProperty(S)||(l||(l={}),l[S]="");for(S in q)q.hasOwnProperty(S)&&j[S]!==q[S]&&(l||(l={}),l[S]=q[S])}else l||(m||(m=[]),m.push(O,l)),l=q;else O==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,j=j?j.__html:void 0,q!=null&&j!==q&&(m=m||[]).push(O,q)):O==="children"?typeof q!="string"&&typeof q!="number"||(m=m||[]).push(O,""+q):O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&(a.hasOwnProperty(O)?(q!=null&&O==="onScroll"&&Ve("scroll",r),m||j===q||(m=[])):(m=m||[]).push(O,q))}l&&(m=m||[]).push("style",l);var O=m;(n.updateQueue=O)&&(n.flags|=4)}},$p=function(r,n,l,u){l!==u&&(n.flags|=4)};function xi(r,n){if(!Ue)switch(r.tailMode){case"hidden":n=r.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?r.tail=null:l.sibling=null;break;case"collapsed":l=r.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?n||r.tail===null?r.tail=null:r.tail.sibling=null:u.sibling=null}}function xt(r){var n=r.alternate!==null&&r.alternate.child===r.child,l=0,u=0;if(n)for(var g=r.child;g!==null;)l|=g.lanes|g.childLanes,u|=g.subtreeFlags&14680064,u|=g.flags&14680064,g.return=r,g=g.sibling;else for(g=r.child;g!==null;)l|=g.lanes|g.childLanes,u|=g.subtreeFlags,u|=g.flags,g.return=r,g=g.sibling;return r.subtreeFlags|=u,r.childLanes=l,n}function U1(r,n,l){var u=n.pendingProps;switch($s(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xt(n),null;case 1:return Tt(n.type)&&za(),xt(n),null;case 3:return u=n.stateNode,xn(),We(jt),We(wt),nc(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(Ta(n)?n.flags|=4:r===null||r.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,nr!==null&&(Rc(nr),nr=null))),Bc(r,n),xt(n),null;case 5:rc(n);var g=Do(hi.current);if(l=n.type,r!==null&&n.stateNode!=null)Wp(r,n,l,u,g),r.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!u){if(n.stateNode===null)throw Error(o(166));return xt(n),null}if(r=Do(mr.current),Ta(n)){u=n.stateNode,l=n.type;var m=n.memoizedProps;switch(u[vr]=n,u[fi]=m,r=(n.mode&1)!==0,l){case"dialog":Ve("cancel",u),Ve("close",u);break;case"iframe":case"object":case"embed":Ve("load",u);break;case"video":case"audio":for(g=0;g<ci.length;g++)Ve(ci[g],u);break;case"source":Ve("error",u);break;case"img":case"image":case"link":Ve("error",u),Ve("load",u);break;case"details":Ve("toggle",u);break;case"input":Sd(u,m),Ve("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!m.multiple},Ve("invalid",u);break;case"textarea":Nd(u,m),Ve("invalid",u)}os(l,m),g=null;for(var S in m)if(m.hasOwnProperty(S)){var j=m[S];S==="children"?typeof j=="string"?u.textContent!==j&&(m.suppressHydrationWarning!==!0&&xa(u.textContent,j,r),g=["children",j]):typeof j=="number"&&u.textContent!==""+j&&(m.suppressHydrationWarning!==!0&&xa(u.textContent,j,r),g=["children",""+j]):a.hasOwnProperty(S)&&j!=null&&S==="onScroll"&&Ve("scroll",u)}switch(l){case"input":tr(u),_d(u,m,!0);break;case"textarea":tr(u),jd(u);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(u.onclick=Ba)}u=g,n.updateQueue=u,u!==null&&(n.flags|=4)}else{S=g.nodeType===9?g:g.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=Td(l)),r==="http://www.w3.org/1999/xhtml"?l==="script"?(r=S.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof u.is=="string"?r=S.createElement(l,{is:u.is}):(r=S.createElement(l),l==="select"&&(S=r,u.multiple?S.multiple=!0:u.size&&(S.size=u.size))):r=S.createElementNS(r,l),r[vr]=n,r[fi]=u,Vp(r,n,!1,!1),n.stateNode=r;e:{switch(S=ns(l,u),l){case"dialog":Ve("cancel",r),Ve("close",r),g=u;break;case"iframe":case"object":case"embed":Ve("load",r),g=u;break;case"video":case"audio":for(g=0;g<ci.length;g++)Ve(ci[g],r);g=u;break;case"source":Ve("error",r),g=u;break;case"img":case"image":case"link":Ve("error",r),Ve("load",r),g=u;break;case"details":Ve("toggle",r),g=u;break;case"input":Sd(r,u),g=Ln(r,u),Ve("invalid",r);break;case"option":g=u;break;case"select":r._wrapperState={wasMultiple:!!u.multiple},g=X({},u,{value:void 0}),Ve("invalid",r);break;case"textarea":Nd(r,u),g=ts(r,u),Ve("invalid",r);break;default:g=u}os(l,g),j=g;for(m in j)if(j.hasOwnProperty(m)){var q=j[m];m==="style"?Pd(r,q):m==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,q!=null&&qd(r,q)):m==="children"?typeof q=="string"?(l!=="textarea"||q!=="")&&Wn(r,q):typeof q=="number"&&Wn(r,""+q):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(a.hasOwnProperty(m)?q!=null&&m==="onScroll"&&Ve("scroll",r):q!=null&&_(r,m,q,S))}switch(l){case"input":tr(r),_d(r,u,!1);break;case"textarea":tr(r),jd(r);break;case"option":u.value!=null&&r.setAttribute("value",""+He(u.value));break;case"select":r.multiple=!!u.multiple,m=u.value,m!=null?rn(r,!!u.multiple,m,!1):u.defaultValue!=null&&rn(r,!!u.multiple,u.defaultValue,!0);break;default:typeof g.onClick=="function"&&(r.onclick=Ba)}switch(l){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return xt(n),null;case 6:if(r&&n.stateNode!=null)$p(r,n,r.memoizedProps,u);else{if(typeof u!="string"&&n.stateNode===null)throw Error(o(166));if(l=Do(hi.current),Do(mr.current),Ta(n)){if(u=n.stateNode,l=n.memoizedProps,u[vr]=n,(m=u.nodeValue!==l)&&(r=Mt,r!==null))switch(r.tag){case 3:xa(u.nodeValue,l,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&xa(u.nodeValue,l,(r.mode&1)!==0)}m&&(n.flags|=4)}else u=(l.nodeType===9?l:l.ownerDocument).createTextNode(u),u[vr]=n,n.stateNode=u}return xt(n),null;case 13:if(We(Xe),u=n.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(Ue&&Ot!==null&&(n.mode&1)!==0&&(n.flags&128)===0)Gf(),bn(),n.flags|=98560,m=!1;else if(m=Ta(n),u!==null&&u.dehydrated!==null){if(r===null){if(!m)throw Error(o(318));if(m=n.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(o(317));m[vr]=n}else bn(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;xt(n),m=!1}else nr!==null&&(Rc(nr),nr=null),m=!0;if(!m)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=l,n):(u=u!==null,u!==(r!==null&&r.memoizedState!==null)&&u&&(n.child.flags|=8192,(n.mode&1)!==0&&(r===null||(Xe.current&1)!==0?at===0&&(at=3):Ic())),n.updateQueue!==null&&(n.flags|=4),xt(n),null);case 4:return xn(),Bc(r,n),r===null&&ui(n.stateNode.containerInfo),xt(n),null;case 10:return Ys(n.type._context),xt(n),null;case 17:return Tt(n.type)&&za(),xt(n),null;case 19:if(We(Xe),m=n.memoizedState,m===null)return xt(n),null;if(u=(n.flags&128)!==0,S=m.rendering,S===null)if(u)xi(m,!1);else{if(at!==0||r!==null&&(r.flags&128)!==0)for(r=n.child;r!==null;){if(S=Da(r),S!==null){for(n.flags|=128,xi(m,!1),u=S.updateQueue,u!==null&&(n.updateQueue=u,n.flags|=4),n.subtreeFlags=0,u=l,l=n.child;l!==null;)m=l,r=u,m.flags&=14680066,S=m.alternate,S===null?(m.childLanes=0,m.lanes=r,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=S.childLanes,m.lanes=S.lanes,m.child=S.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=S.memoizedProps,m.memoizedState=S.memoizedState,m.updateQueue=S.updateQueue,m.type=S.type,r=S.dependencies,m.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),l=l.sibling;return Ae(Xe,Xe.current&1|2),n.child}r=r.sibling}m.tail!==null&&et()>_n&&(n.flags|=128,u=!0,xi(m,!1),n.lanes=4194304)}else{if(!u)if(r=Da(S),r!==null){if(n.flags|=128,u=!0,l=r.updateQueue,l!==null&&(n.updateQueue=l,n.flags|=4),xi(m,!0),m.tail===null&&m.tailMode==="hidden"&&!S.alternate&&!Ue)return xt(n),null}else 2*et()-m.renderingStartTime>_n&&l!==1073741824&&(n.flags|=128,u=!0,xi(m,!1),n.lanes=4194304);m.isBackwards?(S.sibling=n.child,n.child=S):(l=m.last,l!==null?l.sibling=S:n.child=S,m.last=S)}return m.tail!==null?(n=m.tail,m.rendering=n,m.tail=n.sibling,m.renderingStartTime=et(),n.sibling=null,l=Xe.current,Ae(Xe,u?l&1|2:l&1),n):(xt(n),null);case 22:case 23:return Dc(),u=n.memoizedState!==null,r!==null&&r.memoizedState!==null!==u&&(n.flags|=8192),u&&(n.mode&1)!==0?(Ht&1073741824)!==0&&(xt(n),n.subtreeFlags&6&&(n.flags|=8192)):xt(n),null;case 24:return null;case 25:return null}throw Error(o(156,n.tag))}function X1(r,n){switch($s(n),n.tag){case 1:return Tt(n.type)&&za(),r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 3:return xn(),We(jt),We(wt),nc(),r=n.flags,(r&65536)!==0&&(r&128)===0?(n.flags=r&-65537|128,n):null;case 5:return rc(n),null;case 13:if(We(Xe),r=n.memoizedState,r!==null&&r.dehydrated!==null){if(n.alternate===null)throw Error(o(340));bn()}return r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 19:return We(Xe),null;case 4:return xn(),null;case 10:return Ys(n.type._context),null;case 22:case 23:return Dc(),null;case 24:return null;default:return null}}var $a=!1,Bt=!1,G1=typeof WeakSet=="function"?WeakSet:Set,ue=null;function Sn(r,n){var l=r.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(u){Qe(r,n,u)}else l.current=null}function Sc(r,n,l){try{l()}catch(u){Qe(r,n,u)}}var Up=!1;function K1(r,n){if(Ds=da,r=Sf(),Cs(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var g=u.anchorOffset,m=u.focusNode;u=u.focusOffset;try{l.nodeType,m.nodeType}catch{l=null;break e}var S=0,j=-1,q=-1,O=0,Y=0,Z=r,K=null;t:for(;;){for(var le;Z!==l||g!==0&&Z.nodeType!==3||(j=S+g),Z!==m||u!==0&&Z.nodeType!==3||(q=S+u),Z.nodeType===3&&(S+=Z.nodeValue.length),(le=Z.firstChild)!==null;)K=Z,Z=le;for(;;){if(Z===r)break t;if(K===l&&++O===g&&(j=S),K===m&&++Y===u&&(q=S),(le=Z.nextSibling)!==null)break;Z=K,K=Z.parentNode}Z=le}l=j===-1||q===-1?null:{start:j,end:q}}else l=null}l=l||{start:0,end:0}}else l=null;for(Is={focusedElem:r,selectionRange:l},da=!1,ue=n;ue!==null;)if(n=ue,r=n.child,(n.subtreeFlags&1028)!==0&&r!==null)r.return=n,ue=r;else for(;ue!==null;){n=ue;try{var de=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(de!==null){var ge=de.memoizedProps,tt=de.memoizedState,F=n.stateNode,P=F.getSnapshotBeforeUpdate(n.elementType===n.type?ge:ir(n.type,ge),tt);F.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var M=n.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(ne){Qe(n,n.return,ne)}if(r=n.sibling,r!==null){r.return=n.return,ue=r;break}ue=n.return}return de=Up,Up=!1,de}function Bi(r,n,l){var u=n.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var g=u=u.next;do{if((g.tag&r)===r){var m=g.destroy;g.destroy=void 0,m!==void 0&&Sc(n,l,m)}g=g.next}while(g!==u)}}function Ua(r,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var l=n=n.next;do{if((l.tag&r)===r){var u=l.create;l.destroy=u()}l=l.next}while(l!==n)}}function zc(r){var n=r.ref;if(n!==null){var l=r.stateNode;r.tag,r=l,typeof n=="function"?n(r):n.current=r}}function Xp(r){var n=r.alternate;n!==null&&(r.alternate=null,Xp(n)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(n=r.stateNode,n!==null&&(delete n[vr],delete n[fi],delete n[As],delete n[q1],delete n[E1])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Gp(r){return r.tag===5||r.tag===3||r.tag===4}function Kp(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Gp(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function _c(r,n,l){var u=r.tag;if(u===5||u===6)r=r.stateNode,n?l.nodeType===8?l.parentNode.insertBefore(r,n):l.insertBefore(r,n):(l.nodeType===8?(n=l.parentNode,n.insertBefore(r,l)):(n=l,n.appendChild(r)),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=Ba));else if(u!==4&&(r=r.child,r!==null))for(_c(r,n,l),r=r.sibling;r!==null;)_c(r,n,l),r=r.sibling}function Nc(r,n,l){var u=r.tag;if(u===5||u===6)r=r.stateNode,n?l.insertBefore(r,n):l.appendChild(r);else if(u!==4&&(r=r.child,r!==null))for(Nc(r,n,l),r=r.sibling;r!==null;)Nc(r,n,l),r=r.sibling}var pt=null,ar=!1;function to(r,n,l){for(l=l.child;l!==null;)Qp(r,n,l),l=l.sibling}function Qp(r,n,l){if(gr&&typeof gr.onCommitFiberUnmount=="function")try{gr.onCommitFiberUnmount(ia,l)}catch{}switch(l.tag){case 5:Bt||Sn(l,n);case 6:var u=pt,g=ar;pt=null,to(r,n,l),pt=u,ar=g,pt!==null&&(ar?(r=pt,l=l.stateNode,r.nodeType===8?r.parentNode.removeChild(l):r.removeChild(l)):pt.removeChild(l.stateNode));break;case 18:pt!==null&&(ar?(r=pt,l=l.stateNode,r.nodeType===8?Hs(r.parentNode,l):r.nodeType===1&&Hs(r,l),ti(r)):Hs(pt,l.stateNode));break;case 4:u=pt,g=ar,pt=l.stateNode.containerInfo,ar=!0,to(r,n,l),pt=u,ar=g;break;case 0:case 11:case 14:case 15:if(!Bt&&(u=l.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){g=u=u.next;do{var m=g,S=m.destroy;m=m.tag,S!==void 0&&((m&2)!==0||(m&4)!==0)&&Sc(l,n,S),g=g.next}while(g!==u)}to(r,n,l);break;case 1:if(!Bt&&(Sn(l,n),u=l.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=l.memoizedProps,u.state=l.memoizedState,u.componentWillUnmount()}catch(j){Qe(l,n,j)}to(r,n,l);break;case 21:to(r,n,l);break;case 22:l.mode&1?(Bt=(u=Bt)||l.memoizedState!==null,to(r,n,l),Bt=u):to(r,n,l);break;default:to(r,n,l)}}function Yp(r){var n=r.updateQueue;if(n!==null){r.updateQueue=null;var l=r.stateNode;l===null&&(l=r.stateNode=new G1),n.forEach(function(u){var g=ny.bind(null,r,u);l.has(u)||(l.add(u),u.then(g,g))})}}function lr(r,n){var l=n.deletions;if(l!==null)for(var u=0;u<l.length;u++){var g=l[u];try{var m=r,S=n,j=S;e:for(;j!==null;){switch(j.tag){case 5:pt=j.stateNode,ar=!1;break e;case 3:pt=j.stateNode.containerInfo,ar=!0;break e;case 4:pt=j.stateNode.containerInfo,ar=!0;break e}j=j.return}if(pt===null)throw Error(o(160));Qp(m,S,g),pt=null,ar=!1;var q=g.alternate;q!==null&&(q.return=null),g.return=null}catch(O){Qe(g,n,O)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Jp(n,r),n=n.sibling}function Jp(r,n){var l=r.alternate,u=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(lr(n,r),br(r),u&4){try{Bi(3,r,r.return),Ua(3,r)}catch(ge){Qe(r,r.return,ge)}try{Bi(5,r,r.return)}catch(ge){Qe(r,r.return,ge)}}break;case 1:lr(n,r),br(r),u&512&&l!==null&&Sn(l,l.return);break;case 5:if(lr(n,r),br(r),u&512&&l!==null&&Sn(l,l.return),r.flags&32){var g=r.stateNode;try{Wn(g,"")}catch(ge){Qe(r,r.return,ge)}}if(u&4&&(g=r.stateNode,g!=null)){var m=r.memoizedProps,S=l!==null?l.memoizedProps:m,j=r.type,q=r.updateQueue;if(r.updateQueue=null,q!==null)try{j==="input"&&m.type==="radio"&&m.name!=null&&zd(g,m),ns(j,S);var O=ns(j,m);for(S=0;S<q.length;S+=2){var Y=q[S],Z=q[S+1];Y==="style"?Pd(g,Z):Y==="dangerouslySetInnerHTML"?qd(g,Z):Y==="children"?Wn(g,Z):_(g,Y,Z,O)}switch(j){case"input":Zl(g,m);break;case"textarea":Cd(g,m);break;case"select":var K=g._wrapperState.wasMultiple;g._wrapperState.wasMultiple=!!m.multiple;var le=m.value;le!=null?rn(g,!!m.multiple,le,!1):K!==!!m.multiple&&(m.defaultValue!=null?rn(g,!!m.multiple,m.defaultValue,!0):rn(g,!!m.multiple,m.multiple?[]:"",!1))}g[fi]=m}catch(ge){Qe(r,r.return,ge)}}break;case 6:if(lr(n,r),br(r),u&4){if(r.stateNode===null)throw Error(o(162));g=r.stateNode,m=r.memoizedProps;try{g.nodeValue=m}catch(ge){Qe(r,r.return,ge)}}break;case 3:if(lr(n,r),br(r),u&4&&l!==null&&l.memoizedState.isDehydrated)try{ti(n.containerInfo)}catch(ge){Qe(r,r.return,ge)}break;case 4:lr(n,r),br(r);break;case 13:lr(n,r),br(r),g=r.child,g.flags&8192&&(m=g.memoizedState!==null,g.stateNode.isHidden=m,!m||g.alternate!==null&&g.alternate.memoizedState!==null||(Tc=et())),u&4&&Yp(r);break;case 22:if(Y=l!==null&&l.memoizedState!==null,r.mode&1?(Bt=(O=Bt)||Y,lr(n,r),Bt=O):lr(n,r),br(r),u&8192){if(O=r.memoizedState!==null,(r.stateNode.isHidden=O)&&!Y&&(r.mode&1)!==0)for(ue=r,Y=r.child;Y!==null;){for(Z=ue=Y;ue!==null;){switch(K=ue,le=K.child,K.tag){case 0:case 11:case 14:case 15:Bi(4,K,K.return);break;case 1:Sn(K,K.return);var de=K.stateNode;if(typeof de.componentWillUnmount=="function"){u=K,l=K.return;try{n=u,de.props=n.memoizedProps,de.state=n.memoizedState,de.componentWillUnmount()}catch(ge){Qe(u,l,ge)}}break;case 5:Sn(K,K.return);break;case 22:if(K.memoizedState!==null){tg(Z);continue}}le!==null?(le.return=K,ue=le):tg(Z)}Y=Y.sibling}e:for(Y=null,Z=r;;){if(Z.tag===5){if(Y===null){Y=Z;try{g=Z.stateNode,O?(m=g.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(j=Z.stateNode,q=Z.memoizedProps.style,S=q!=null&&q.hasOwnProperty("display")?q.display:null,j.style.display=Ed("display",S))}catch(ge){Qe(r,r.return,ge)}}}else if(Z.tag===6){if(Y===null)try{Z.stateNode.nodeValue=O?"":Z.memoizedProps}catch(ge){Qe(r,r.return,ge)}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===r)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===r)break e;for(;Z.sibling===null;){if(Z.return===null||Z.return===r)break e;Y===Z&&(Y=null),Z=Z.return}Y===Z&&(Y=null),Z.sibling.return=Z.return,Z=Z.sibling}}break;case 19:lr(n,r),br(r),u&4&&Yp(r);break;case 21:break;default:lr(n,r),br(r)}}function br(r){var n=r.flags;if(n&2){try{e:{for(var l=r.return;l!==null;){if(Gp(l)){var u=l;break e}l=l.return}throw Error(o(160))}switch(u.tag){case 5:var g=u.stateNode;u.flags&32&&(Wn(g,""),u.flags&=-33);var m=Kp(r);Nc(r,m,g);break;case 3:case 4:var S=u.stateNode.containerInfo,j=Kp(r);_c(r,j,S);break;default:throw Error(o(161))}}catch(q){Qe(r,r.return,q)}r.flags&=-3}n&4096&&(r.flags&=-4097)}function Q1(r,n,l){ue=r,Zp(r)}function Zp(r,n,l){for(var u=(r.mode&1)!==0;ue!==null;){var g=ue,m=g.child;if(g.tag===22&&u){var S=g.memoizedState!==null||$a;if(!S){var j=g.alternate,q=j!==null&&j.memoizedState!==null||Bt;j=$a;var O=Bt;if($a=S,(Bt=q)&&!O)for(ue=g;ue!==null;)S=ue,q=S.child,S.tag===22&&S.memoizedState!==null?rg(g):q!==null?(q.return=S,ue=q):rg(g);for(;m!==null;)ue=m,Zp(m),m=m.sibling;ue=g,$a=j,Bt=O}eg(r)}else(g.subtreeFlags&8772)!==0&&m!==null?(m.return=g,ue=m):eg(r)}}function eg(r){for(;ue!==null;){var n=ue;if((n.flags&8772)!==0){var l=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:Bt||Ua(5,n);break;case 1:var u=n.stateNode;if(n.flags&4&&!Bt)if(l===null)u.componentDidMount();else{var g=n.elementType===n.type?l.memoizedProps:ir(n.type,l.memoizedProps);u.componentDidUpdate(g,l.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;m!==null&&tp(n,m,u);break;case 3:var S=n.updateQueue;if(S!==null){if(l=null,n.child!==null)switch(n.child.tag){case 5:l=n.child.stateNode;break;case 1:l=n.child.stateNode}tp(n,S,l)}break;case 5:var j=n.stateNode;if(l===null&&n.flags&4){l=j;var q=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":q.autoFocus&&l.focus();break;case"img":q.src&&(l.src=q.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var O=n.alternate;if(O!==null){var Y=O.memoizedState;if(Y!==null){var Z=Y.dehydrated;Z!==null&&ti(Z)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}Bt||n.flags&512&&zc(n)}catch(K){Qe(n,n.return,K)}}if(n===r){ue=null;break}if(l=n.sibling,l!==null){l.return=n.return,ue=l;break}ue=n.return}}function tg(r){for(;ue!==null;){var n=ue;if(n===r){ue=null;break}var l=n.sibling;if(l!==null){l.return=n.return,ue=l;break}ue=n.return}}function rg(r){for(;ue!==null;){var n=ue;try{switch(n.tag){case 0:case 11:case 15:var l=n.return;try{Ua(4,n)}catch(q){Qe(n,l,q)}break;case 1:var u=n.stateNode;if(typeof u.componentDidMount=="function"){var g=n.return;try{u.componentDidMount()}catch(q){Qe(n,g,q)}}var m=n.return;try{zc(n)}catch(q){Qe(n,m,q)}break;case 5:var S=n.return;try{zc(n)}catch(q){Qe(n,S,q)}}}catch(q){Qe(n,n.return,q)}if(n===r){ue=null;break}var j=n.sibling;if(j!==null){j.return=n.return,ue=j;break}ue=n.return}}var Y1=Math.ceil,Xa=N.ReactCurrentDispatcher,Cc=N.ReactCurrentOwner,Gt=N.ReactCurrentBatchConfig,Ee=0,ct=null,rt=null,gt=0,Ht=0,zn=Qr(0),at=0,Si=null,Mo=0,Ga=0,jc=0,zi=null,Et=null,Tc=0,_n=1/0,Rr=null,Ka=!1,qc=null,ro=null,Qa=!1,oo=null,Ya=0,_i=0,Ec=null,Ja=-1,Za=0;function Ct(){return(Ee&6)!==0?et():Ja!==-1?Ja:Ja=et()}function no(r){return(r.mode&1)===0?1:(Ee&2)!==0&&gt!==0?gt&-gt:R1.transition!==null?(Za===0&&(Za=Gd()),Za):(r=Me,r!==0||(r=window.event,r=r===void 0?16:of(r.type)),r)}function sr(r,n,l,u){if(50<_i)throw _i=0,Ec=null,Error(o(185));Qn(r,l,u),((Ee&2)===0||r!==ct)&&(r===ct&&((Ee&2)===0&&(Ga|=l),at===4&&io(r,gt)),Pt(r,u),l===1&&Ee===0&&(n.mode&1)===0&&(_n=et()+500,Na&&Jr()))}function Pt(r,n){var l=r.callbackNode;Rb(r,n);var u=sa(r,r===ct?gt:0);if(u===0)l!==null&&$d(l),r.callbackNode=null,r.callbackPriority=0;else if(n=u&-u,r.callbackPriority!==n){if(l!=null&&$d(l),n===1)r.tag===0?P1(ng.bind(null,r)):Vf(ng.bind(null,r)),j1(function(){(Ee&6)===0&&Jr()}),l=null;else{switch(Kd(u)){case 1:l=ds;break;case 4:l=Ud;break;case 16:l=na;break;case 536870912:l=Xd;break;default:l=na}l=fg(l,og.bind(null,r))}r.callbackPriority=n,r.callbackNode=l}}function og(r,n){if(Ja=-1,Za=0,(Ee&6)!==0)throw Error(o(327));var l=r.callbackNode;if(Nn()&&r.callbackNode!==l)return null;var u=sa(r,r===ct?gt:0);if(u===0)return null;if((u&30)!==0||(u&r.expiredLanes)!==0||n)n=el(r,u);else{n=u;var g=Ee;Ee|=2;var m=ag();(ct!==r||gt!==n)&&(Rr=null,_n=et()+500,Ho(r,n));do try{ey();break}catch(j){ig(r,j)}while(!0);Qs(),Xa.current=m,Ee=g,rt!==null?n=0:(ct=null,gt=0,n=at)}if(n!==0){if(n===2&&(g=fs(r),g!==0&&(u=g,n=Pc(r,g))),n===1)throw l=Si,Ho(r,0),io(r,u),Pt(r,et()),l;if(n===6)io(r,u);else{if(g=r.current.alternate,(u&30)===0&&!J1(g)&&(n=el(r,u),n===2&&(m=fs(r),m!==0&&(u=m,n=Pc(r,m))),n===1))throw l=Si,Ho(r,0),io(r,u),Pt(r,et()),l;switch(r.finishedWork=g,r.finishedLanes=u,n){case 0:case 1:throw Error(o(345));case 2:Ao(r,Et,Rr);break;case 3:if(io(r,u),(u&130023424)===u&&(n=Tc+500-et(),10<n)){if(sa(r,0)!==0)break;if(g=r.suspendedLanes,(g&u)!==u){Ct(),r.pingedLanes|=r.suspendedLanes&g;break}r.timeoutHandle=Os(Ao.bind(null,r,Et,Rr),n);break}Ao(r,Et,Rr);break;case 4:if(io(r,u),(u&4194240)===u)break;for(n=r.eventTimes,g=-1;0<u;){var S=31-rr(u);m=1<<S,S=n[S],S>g&&(g=S),u&=~m}if(u=g,u=et()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*Y1(u/1960))-u,10<u){r.timeoutHandle=Os(Ao.bind(null,r,Et,Rr),u);break}Ao(r,Et,Rr);break;case 5:Ao(r,Et,Rr);break;default:throw Error(o(329))}}}return Pt(r,et()),r.callbackNode===l?og.bind(null,r):null}function Pc(r,n){var l=zi;return r.current.memoizedState.isDehydrated&&(Ho(r,n).flags|=256),r=el(r,n),r!==2&&(n=Et,Et=l,n!==null&&Rc(n)),r}function Rc(r){Et===null?Et=r:Et.push.apply(Et,r)}function J1(r){for(var n=r;;){if(n.flags&16384){var l=n.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var u=0;u<l.length;u++){var g=l[u],m=g.getSnapshot;g=g.value;try{if(!or(m(),g))return!1}catch{return!1}}}if(l=n.child,n.subtreeFlags&16384&&l!==null)l.return=n,n=l;else{if(n===r)break;for(;n.sibling===null;){if(n.return===null||n.return===r)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function io(r,n){for(n&=~jc,n&=~Ga,r.suspendedLanes|=n,r.pingedLanes&=~n,r=r.expirationTimes;0<n;){var l=31-rr(n),u=1<<l;r[l]=-1,n&=~u}}function ng(r){if((Ee&6)!==0)throw Error(o(327));Nn();var n=sa(r,0);if((n&1)===0)return Pt(r,et()),null;var l=el(r,n);if(r.tag!==0&&l===2){var u=fs(r);u!==0&&(n=u,l=Pc(r,u))}if(l===1)throw l=Si,Ho(r,0),io(r,n),Pt(r,et()),l;if(l===6)throw Error(o(345));return r.finishedWork=r.current.alternate,r.finishedLanes=n,Ao(r,Et,Rr),Pt(r,et()),null}function Fc(r,n){var l=Ee;Ee|=1;try{return r(n)}finally{Ee=l,Ee===0&&(_n=et()+500,Na&&Jr())}}function Oo(r){oo!==null&&oo.tag===0&&(Ee&6)===0&&Nn();var n=Ee;Ee|=1;var l=Gt.transition,u=Me;try{if(Gt.transition=null,Me=1,r)return r()}finally{Me=u,Gt.transition=l,Ee=n,(Ee&6)===0&&Jr()}}function Dc(){Ht=zn.current,We(zn)}function Ho(r,n){r.finishedWork=null,r.finishedLanes=0;var l=r.timeoutHandle;if(l!==-1&&(r.timeoutHandle=-1,C1(l)),rt!==null)for(l=rt.return;l!==null;){var u=l;switch($s(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&za();break;case 3:xn(),We(jt),We(wt),nc();break;case 5:rc(u);break;case 4:xn();break;case 13:We(Xe);break;case 19:We(Xe);break;case 10:Ys(u.type._context);break;case 22:case 23:Dc()}l=l.return}if(ct=r,rt=r=ao(r.current,null),gt=Ht=n,at=0,Si=null,jc=Ga=Mo=0,Et=zi=null,Fo!==null){for(n=0;n<Fo.length;n++)if(l=Fo[n],u=l.interleaved,u!==null){l.interleaved=null;var g=u.next,m=l.pending;if(m!==null){var S=m.next;m.next=g,u.next=S}l.pending=u}Fo=null}return r}function ig(r,n){do{var l=rt;try{if(Qs(),Ia.current=Aa,Ma){for(var u=Ge.memoizedState;u!==null;){var g=u.queue;g!==null&&(g.pending=null),u=u.next}Ma=!1}if(Io=0,st=it=Ge=null,bi=!1,yi=0,Cc.current=null,l===null||l.return===null){at=1,Si=n,rt=null;break}e:{var m=r,S=l.return,j=l,q=n;if(n=gt,j.flags|=32768,q!==null&&typeof q=="object"&&typeof q.then=="function"){var O=q,Y=j,Z=Y.tag;if((Y.mode&1)===0&&(Z===0||Z===11||Z===15)){var K=Y.alternate;K?(Y.updateQueue=K.updateQueue,Y.memoizedState=K.memoizedState,Y.lanes=K.lanes):(Y.updateQueue=null,Y.memoizedState=null)}var le=Tp(S);if(le!==null){le.flags&=-257,qp(le,S,j,m,n),le.mode&1&&jp(m,O,n),n=le,q=O;var de=n.updateQueue;if(de===null){var ge=new Set;ge.add(q),n.updateQueue=ge}else de.add(q);break e}else{if((n&1)===0){jp(m,O,n),Ic();break e}q=Error(o(426))}}else if(Ue&&j.mode&1){var tt=Tp(S);if(tt!==null){(tt.flags&65536)===0&&(tt.flags|=256),qp(tt,S,j,m,n),Gs(Bn(q,j));break e}}m=q=Bn(q,j),at!==4&&(at=2),zi===null?zi=[m]:zi.push(m),m=S;do{switch(m.tag){case 3:m.flags|=65536,n&=-n,m.lanes|=n;var F=Np(m,q,n);ep(m,F);break e;case 1:j=q;var P=m.type,M=m.stateNode;if((m.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(ro===null||!ro.has(M)))){m.flags|=65536,n&=-n,m.lanes|=n;var ne=Cp(m,j,n);ep(m,ne);break e}}m=m.return}while(m!==null)}sg(l)}catch(ve){n=ve,rt===l&&l!==null&&(rt=l=l.return);continue}break}while(!0)}function ag(){var r=Xa.current;return Xa.current=Aa,r===null?Aa:r}function Ic(){(at===0||at===3||at===2)&&(at=4),ct===null||(Mo&268435455)===0&&(Ga&268435455)===0||io(ct,gt)}function el(r,n){var l=Ee;Ee|=2;var u=ag();(ct!==r||gt!==n)&&(Rr=null,Ho(r,n));do try{Z1();break}catch(g){ig(r,g)}while(!0);if(Qs(),Ee=l,Xa.current=u,rt!==null)throw Error(o(261));return ct=null,gt=0,at}function Z1(){for(;rt!==null;)lg(rt)}function ey(){for(;rt!==null&&!zb();)lg(rt)}function lg(r){var n=dg(r.alternate,r,Ht);r.memoizedProps=r.pendingProps,n===null?sg(r):rt=n,Cc.current=null}function sg(r){var n=r;do{var l=n.alternate;if(r=n.return,(n.flags&32768)===0){if(l=U1(l,n,Ht),l!==null){rt=l;return}}else{if(l=X1(l,n),l!==null){l.flags&=32767,rt=l;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{at=6,rt=null;return}}if(n=n.sibling,n!==null){rt=n;return}rt=n=r}while(n!==null);at===0&&(at=5)}function Ao(r,n,l){var u=Me,g=Gt.transition;try{Gt.transition=null,Me=1,ty(r,n,l,u)}finally{Gt.transition=g,Me=u}return null}function ty(r,n,l,u){do Nn();while(oo!==null);if((Ee&6)!==0)throw Error(o(327));l=r.finishedWork;var g=r.finishedLanes;if(l===null)return null;if(r.finishedWork=null,r.finishedLanes=0,l===r.current)throw Error(o(177));r.callbackNode=null,r.callbackPriority=0;var m=l.lanes|l.childLanes;if(Fb(r,m),r===ct&&(rt=ct=null,gt=0),(l.subtreeFlags&2064)===0&&(l.flags&2064)===0||Qa||(Qa=!0,fg(na,function(){return Nn(),null})),m=(l.flags&15990)!==0,(l.subtreeFlags&15990)!==0||m){m=Gt.transition,Gt.transition=null;var S=Me;Me=1;var j=Ee;Ee|=4,Cc.current=null,K1(r,l),Jp(l,r),k1(Is),da=!!Ds,Is=Ds=null,r.current=l,Q1(l),_b(),Ee=j,Me=S,Gt.transition=m}else r.current=l;if(Qa&&(Qa=!1,oo=r,Ya=g),m=r.pendingLanes,m===0&&(ro=null),jb(l.stateNode),Pt(r,et()),n!==null)for(u=r.onRecoverableError,l=0;l<n.length;l++)g=n[l],u(g.value,{componentStack:g.stack,digest:g.digest});if(Ka)throw Ka=!1,r=qc,qc=null,r;return(Ya&1)!==0&&r.tag!==0&&Nn(),m=r.pendingLanes,(m&1)!==0?r===Ec?_i++:(_i=0,Ec=r):_i=0,Jr(),null}function Nn(){if(oo!==null){var r=Kd(Ya),n=Gt.transition,l=Me;try{if(Gt.transition=null,Me=16>r?16:r,oo===null)var u=!1;else{if(r=oo,oo=null,Ya=0,(Ee&6)!==0)throw Error(o(331));var g=Ee;for(Ee|=4,ue=r.current;ue!==null;){var m=ue,S=m.child;if((ue.flags&16)!==0){var j=m.deletions;if(j!==null){for(var q=0;q<j.length;q++){var O=j[q];for(ue=O;ue!==null;){var Y=ue;switch(Y.tag){case 0:case 11:case 15:Bi(8,Y,m)}var Z=Y.child;if(Z!==null)Z.return=Y,ue=Z;else for(;ue!==null;){Y=ue;var K=Y.sibling,le=Y.return;if(Xp(Y),Y===O){ue=null;break}if(K!==null){K.return=le,ue=K;break}ue=le}}}var de=m.alternate;if(de!==null){var ge=de.child;if(ge!==null){de.child=null;do{var tt=ge.sibling;ge.sibling=null,ge=tt}while(ge!==null)}}ue=m}}if((m.subtreeFlags&2064)!==0&&S!==null)S.return=m,ue=S;else e:for(;ue!==null;){if(m=ue,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:Bi(9,m,m.return)}var F=m.sibling;if(F!==null){F.return=m.return,ue=F;break e}ue=m.return}}var P=r.current;for(ue=P;ue!==null;){S=ue;var M=S.child;if((S.subtreeFlags&2064)!==0&&M!==null)M.return=S,ue=M;else e:for(S=P;ue!==null;){if(j=ue,(j.flags&2048)!==0)try{switch(j.tag){case 0:case 11:case 15:Ua(9,j)}}catch(ve){Qe(j,j.return,ve)}if(j===S){ue=null;break e}var ne=j.sibling;if(ne!==null){ne.return=j.return,ue=ne;break e}ue=j.return}}if(Ee=g,Jr(),gr&&typeof gr.onPostCommitFiberRoot=="function")try{gr.onPostCommitFiberRoot(ia,r)}catch{}u=!0}return u}finally{Me=l,Gt.transition=n}}return!1}function cg(r,n,l){n=Bn(l,n),n=Np(r,n,1),r=eo(r,n,1),n=Ct(),r!==null&&(Qn(r,1,n),Pt(r,n))}function Qe(r,n,l){if(r.tag===3)cg(r,r,l);else for(;n!==null;){if(n.tag===3){cg(n,r,l);break}else if(n.tag===1){var u=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ro===null||!ro.has(u))){r=Bn(l,r),r=Cp(n,r,1),n=eo(n,r,1),r=Ct(),n!==null&&(Qn(n,1,r),Pt(n,r));break}}n=n.return}}function ry(r,n,l){var u=r.pingCache;u!==null&&u.delete(n),n=Ct(),r.pingedLanes|=r.suspendedLanes&l,ct===r&&(gt&l)===l&&(at===4||at===3&&(gt&130023424)===gt&&500>et()-Tc?Ho(r,0):jc|=l),Pt(r,n)}function ug(r,n){n===0&&((r.mode&1)===0?n=1:(n=la,la<<=1,(la&130023424)===0&&(la=4194304)));var l=Ct();r=qr(r,n),r!==null&&(Qn(r,n,l),Pt(r,l))}function oy(r){var n=r.memoizedState,l=0;n!==null&&(l=n.retryLane),ug(r,l)}function ny(r,n){var l=0;switch(r.tag){case 13:var u=r.stateNode,g=r.memoizedState;g!==null&&(l=g.retryLane);break;case 19:u=r.stateNode;break;default:throw Error(o(314))}u!==null&&u.delete(n),ug(r,l)}var dg;dg=function(r,n,l){if(r!==null)if(r.memoizedProps!==n.pendingProps||jt.current)qt=!0;else{if((r.lanes&l)===0&&(n.flags&128)===0)return qt=!1,$1(r,n,l);qt=(r.flags&131072)!==0}else qt=!1,Ue&&(n.flags&1048576)!==0&&Wf(n,ja,n.index);switch(n.lanes=0,n.tag){case 2:var u=n.type;Wa(r,n),r=n.pendingProps;var g=vn(n,wt.current);kn(n,l),g=lc(null,n,u,r,g,l);var m=sc();return n.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Tt(u)?(m=!0,_a(n)):m=!1,n.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,ec(n),g.updater=La,n.stateNode=g,g._reactInternals=n,gc(n,u,r,l),n=bc(null,n,u,!0,m,l)):(n.tag=0,Ue&&m&&Ws(n),Nt(null,n,g,l),n=n.child),n;case 16:u=n.elementType;e:{switch(Wa(r,n),r=n.pendingProps,g=u._init,u=g(u._payload),n.type=u,g=n.tag=ay(u),r=ir(u,r),g){case 0:n=hc(null,n,u,r,l);break e;case 1:n=Ip(null,n,u,r,l);break e;case 11:n=Ep(null,n,u,r,l);break e;case 14:n=Pp(null,n,u,ir(u.type,r),l);break e}throw Error(o(306,u,""))}return n;case 0:return u=n.type,g=n.pendingProps,g=n.elementType===u?g:ir(u,g),hc(r,n,u,g,l);case 1:return u=n.type,g=n.pendingProps,g=n.elementType===u?g:ir(u,g),Ip(r,n,u,g,l);case 3:e:{if(Mp(n),r===null)throw Error(o(387));u=n.pendingProps,m=n.memoizedState,g=m.element,Zf(r,n),Fa(n,u,null,l);var S=n.memoizedState;if(u=S.element,m.isDehydrated)if(m={element:u,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){g=Bn(Error(o(423)),n),n=Op(r,n,u,l,g);break e}else if(u!==g){g=Bn(Error(o(424)),n),n=Op(r,n,u,l,g);break e}else for(Ot=Kr(n.stateNode.containerInfo.firstChild),Mt=n,Ue=!0,nr=null,l=Yf(n,null,u,l),n.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(bn(),u===g){n=Pr(r,n,l);break e}Nt(r,n,u,l)}n=n.child}return n;case 5:return rp(n),r===null&&Xs(n),u=n.type,g=n.pendingProps,m=r!==null?r.memoizedProps:null,S=g.children,Ms(u,g)?S=null:m!==null&&Ms(u,m)&&(n.flags|=32),Dp(r,n),Nt(r,n,S,l),n.child;case 6:return r===null&&Xs(n),null;case 13:return Hp(r,n,l);case 4:return tc(n,n.stateNode.containerInfo),u=n.pendingProps,r===null?n.child=yn(n,null,u,l):Nt(r,n,u,l),n.child;case 11:return u=n.type,g=n.pendingProps,g=n.elementType===u?g:ir(u,g),Ep(r,n,u,g,l);case 7:return Nt(r,n,n.pendingProps,l),n.child;case 8:return Nt(r,n,n.pendingProps.children,l),n.child;case 12:return Nt(r,n,n.pendingProps.children,l),n.child;case 10:e:{if(u=n.type._context,g=n.pendingProps,m=n.memoizedProps,S=g.value,Ae(Ea,u._currentValue),u._currentValue=S,m!==null)if(or(m.value,S)){if(m.children===g.children&&!jt.current){n=Pr(r,n,l);break e}}else for(m=n.child,m!==null&&(m.return=n);m!==null;){var j=m.dependencies;if(j!==null){S=m.child;for(var q=j.firstContext;q!==null;){if(q.context===u){if(m.tag===1){q=Er(-1,l&-l),q.tag=2;var O=m.updateQueue;if(O!==null){O=O.shared;var Y=O.pending;Y===null?q.next=q:(q.next=Y.next,Y.next=q),O.pending=q}}m.lanes|=l,q=m.alternate,q!==null&&(q.lanes|=l),Js(m.return,l,n),j.lanes|=l;break}q=q.next}}else if(m.tag===10)S=m.type===n.type?null:m.child;else if(m.tag===18){if(S=m.return,S===null)throw Error(o(341));S.lanes|=l,j=S.alternate,j!==null&&(j.lanes|=l),Js(S,l,n),S=m.sibling}else S=m.child;if(S!==null)S.return=m;else for(S=m;S!==null;){if(S===n){S=null;break}if(m=S.sibling,m!==null){m.return=S.return,S=m;break}S=S.return}m=S}Nt(r,n,g.children,l),n=n.child}return n;case 9:return g=n.type,u=n.pendingProps.children,kn(n,l),g=Ut(g),u=u(g),n.flags|=1,Nt(r,n,u,l),n.child;case 14:return u=n.type,g=ir(u,n.pendingProps),g=ir(u.type,g),Pp(r,n,u,g,l);case 15:return Rp(r,n,n.type,n.pendingProps,l);case 17:return u=n.type,g=n.pendingProps,g=n.elementType===u?g:ir(u,g),Wa(r,n),n.tag=1,Tt(u)?(r=!0,_a(n)):r=!1,kn(n,l),zp(n,u,g),gc(n,u,g,l),bc(null,n,u,!0,r,l);case 19:return Lp(r,n,l);case 22:return Fp(r,n,l)}throw Error(o(156,n.tag))};function fg(r,n){return Wd(r,n)}function iy(r,n,l,u){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Kt(r,n,l,u){return new iy(r,n,l,u)}function Mc(r){return r=r.prototype,!(!r||!r.isReactComponent)}function ay(r){if(typeof r=="function")return Mc(r)?1:0;if(r!=null){if(r=r.$$typeof,r===ee)return 11;if(r===me)return 14}return 2}function ao(r,n){var l=r.alternate;return l===null?(l=Kt(r.tag,n,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=n,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&14680064,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,n=r.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l}function tl(r,n,l,u,g,m){var S=2;if(u=r,typeof r=="function")Mc(r)&&(S=1);else if(typeof r=="string")S=5;else e:switch(r){case D:return Lo(l.children,g,m,n);case I:S=8,g|=8;break;case $:return r=Kt(12,l,n,g|2),r.elementType=$,r.lanes=m,r;case V:return r=Kt(13,l,n,g),r.elementType=V,r.lanes=m,r;case re:return r=Kt(19,l,n,g),r.elementType=re,r.lanes=m,r;case ie:return rl(l,g,m,n);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case ae:S=10;break e;case oe:S=9;break e;case ee:S=11;break e;case me:S=14;break e;case W:S=16,u=null;break e}throw Error(o(130,r==null?r:typeof r,""))}return n=Kt(S,l,n,g),n.elementType=r,n.type=u,n.lanes=m,n}function Lo(r,n,l,u){return r=Kt(7,r,u,n),r.lanes=l,r}function rl(r,n,l,u){return r=Kt(22,r,u,n),r.elementType=ie,r.lanes=l,r.stateNode={isHidden:!1},r}function Oc(r,n,l){return r=Kt(6,r,null,n),r.lanes=l,r}function Hc(r,n,l){return n=Kt(4,r.children!==null?r.children:[],r.key,n),n.lanes=l,n.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},n}function ly(r,n,l,u,g){this.tag=n,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ps(0),this.expirationTimes=ps(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ps(0),this.identifierPrefix=u,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function Ac(r,n,l,u,g,m,S,j,q){return r=new ly(r,n,l,j,q),n===1?(n=1,m===!0&&(n|=8)):n=0,m=Kt(3,null,null,n),r.current=m,m.stateNode=r,m.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},ec(m),r}function sy(r,n,l){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:u==null?null:""+u,children:r,containerInfo:n,implementation:l}}function pg(r){if(!r)return Yr;r=r._reactInternals;e:{if(To(r)!==r||r.tag!==1)throw Error(o(170));var n=r;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Tt(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(o(171))}if(r.tag===1){var l=r.type;if(Tt(l))return Af(r,l,n)}return n}function gg(r,n,l,u,g,m,S,j,q){return r=Ac(l,u,!0,r,g,m,S,j,q),r.context=pg(null),l=r.current,u=Ct(),g=no(l),m=Er(u,g),m.callback=n??null,eo(l,m,g),r.current.lanes=g,Qn(r,g,u),Pt(r,u),r}function ol(r,n,l,u){var g=n.current,m=Ct(),S=no(g);return l=pg(l),n.context===null?n.context=l:n.pendingContext=l,n=Er(m,S),n.payload={element:r},u=u===void 0?null:u,u!==null&&(n.callback=u),r=eo(g,n,S),r!==null&&(sr(r,g,S,m),Ra(r,g,S)),S}function nl(r){return r=r.current,r.child?(r.child.tag===5,r.child.stateNode):null}function vg(r,n){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var l=r.retryLane;r.retryLane=l!==0&&l<n?l:n}}function Lc(r,n){vg(r,n),(r=r.alternate)&&vg(r,n)}function cy(){return null}var mg=typeof reportError=="function"?reportError:function(r){console.error(r)};function Vc(r){this._internalRoot=r}il.prototype.render=Vc.prototype.render=function(r){var n=this._internalRoot;if(n===null)throw Error(o(409));ol(r,n,null,null)},il.prototype.unmount=Vc.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var n=r.containerInfo;Oo(function(){ol(null,r,null,null)}),n[Nr]=null}};function il(r){this._internalRoot=r}il.prototype.unstable_scheduleHydration=function(r){if(r){var n=Jd();r={blockedOn:null,target:r,priority:n};for(var l=0;l<Ur.length&&n!==0&&n<Ur[l].priority;l++);Ur.splice(l,0,r),l===0&&tf(r)}};function Wc(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function al(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function hg(){}function uy(r,n,l,u,g){if(g){if(typeof u=="function"){var m=u;u=function(){var O=nl(S);m.call(O)}}var S=gg(n,u,r,0,null,!1,!1,"",hg);return r._reactRootContainer=S,r[Nr]=S.current,ui(r.nodeType===8?r.parentNode:r),Oo(),S}for(;g=r.lastChild;)r.removeChild(g);if(typeof u=="function"){var j=u;u=function(){var O=nl(q);j.call(O)}}var q=Ac(r,0,!1,null,null,!1,!1,"",hg);return r._reactRootContainer=q,r[Nr]=q.current,ui(r.nodeType===8?r.parentNode:r),Oo(function(){ol(n,q,l,u)}),q}function ll(r,n,l,u,g){var m=l._reactRootContainer;if(m){var S=m;if(typeof g=="function"){var j=g;g=function(){var q=nl(S);j.call(q)}}ol(n,S,r,g)}else S=uy(l,n,r,g,u);return nl(S)}Qd=function(r){switch(r.tag){case 3:var n=r.stateNode;if(n.current.memoizedState.isDehydrated){var l=Kn(n.pendingLanes);l!==0&&(gs(n,l|1),Pt(n,et()),(Ee&6)===0&&(_n=et()+500,Jr()))}break;case 13:Oo(function(){var u=qr(r,1);if(u!==null){var g=Ct();sr(u,r,1,g)}}),Lc(r,1)}},vs=function(r){if(r.tag===13){var n=qr(r,134217728);if(n!==null){var l=Ct();sr(n,r,134217728,l)}Lc(r,134217728)}},Yd=function(r){if(r.tag===13){var n=no(r),l=qr(r,n);if(l!==null){var u=Ct();sr(l,r,n,u)}Lc(r,n)}},Jd=function(){return Me},Zd=function(r,n){var l=Me;try{return Me=r,n()}finally{Me=l}},ls=function(r,n,l){switch(n){case"input":if(Zl(r,l),n=l.name,l.type==="radio"&&n!=null){for(l=r;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<l.length;n++){var u=l[n];if(u!==r&&u.form===r.form){var g=Sa(u);if(!g)throw Error(o(90));jo(u),Zl(u,g)}}}break;case"textarea":Cd(r,l);break;case"select":n=l.value,n!=null&&rn(r,!!l.multiple,n,!1)}},Id=Fc,Md=Oo;var dy={usingClientEntryPoint:!1,Events:[pi,pn,Sa,Fd,Dd,Fc]},Ni={findFiberByHostInstance:qo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},fy={bundleType:Ni.bundleType,version:Ni.version,rendererPackageName:Ni.rendererPackageName,rendererConfig:Ni.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Ld(r),r===null?null:r.stateNode},findFiberByHostInstance:Ni.findFiberByHostInstance||cy,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var sl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sl.isDisabled&&sl.supportsFiber)try{ia=sl.inject(fy),gr=sl}catch{}}return Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dy,Rt.createPortal=function(r,n){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wc(n))throw Error(o(200));return sy(r,n,null,l)},Rt.createRoot=function(r,n){if(!Wc(r))throw Error(o(299));var l=!1,u="",g=mg;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onRecoverableError!==void 0&&(g=n.onRecoverableError)),n=Ac(r,1,!1,null,null,l,!1,u,g),r[Nr]=n.current,ui(r.nodeType===8?r.parentNode:r),new Vc(n)},Rt.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var n=r._reactInternals;if(n===void 0)throw typeof r.render=="function"?Error(o(188)):(r=Object.keys(r).join(","),Error(o(268,r)));return r=Ld(n),r=r===null?null:r.stateNode,r},Rt.flushSync=function(r){return Oo(r)},Rt.hydrate=function(r,n,l){if(!al(n))throw Error(o(200));return ll(null,r,n,!0,l)},Rt.hydrateRoot=function(r,n,l){if(!Wc(r))throw Error(o(405));var u=l!=null&&l.hydratedSources||null,g=!1,m="",S=mg;if(l!=null&&(l.unstable_strictMode===!0&&(g=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),n=gg(n,null,r,1,l??null,g,!1,m,S),r[Nr]=n.current,ui(r),u)for(r=0;r<u.length;r++)l=u[r],g=l._getVersion,g=g(l._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[l,g]:n.mutableSourceEagerHydrationData.push(l,g);return new il(n)},Rt.render=function(r,n,l){if(!al(n))throw Error(o(200));return ll(null,r,n,!1,l)},Rt.unmountComponentAtNode=function(r){if(!al(r))throw Error(o(40));return r._reactRootContainer?(Oo(function(){ll(null,null,r,!1,function(){r._reactRootContainer=null,r[Nr]=null})}),!0):!1},Rt.unstable_batchedUpdates=Fc,Rt.unstable_renderSubtreeIntoContainer=function(r,n,l,u){if(!al(l))throw Error(o(200));if(r==null||r._reactInternals===void 0)throw Error(o(38));return ll(r,n,l,!1,u)},Rt.version="18.3.1-next-f1338f8080-20240426",Rt}var kg;function Ay(){if(kg)return $c.exports;kg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),$c.exports=Hy(),$c.exports}const Ly={"<":"\\3C ",">":"\\3E "};function xg(e){return e.replace(/[<>]/g,t=>Ly[t])}function Vy(e,t){const o=xg(e);if(t){const i=Object.keys(t).reduce((a,s)=>`${a}--${s}: ${t[s]}; `,"");return`${o} { ${xg(i)} }`}return`${o} {}`}const Uo=Symbol.for("fui.slotRenderFunction"),go=Symbol.for("fui.slotElementType"),em=Symbol.for("fui.slotClassNameProp");function se(e,t){const{defaultProps:o,elementType:i}=t,a=tm(e),s={...o,...a,[go]:i,[em]:a?.className||o?.className};return a&&typeof a.children=="function"&&(s[Uo]=a.children,s.children=o?.children),s}function we(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return se(e,t)}function tm(e){return typeof e=="string"||typeof e=="number"||Wy(e)||b.isValidElement(e)?{children:e}:e}const Wy=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function rm(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!b.isValidElement(e)}function bu(e){return!!e?.hasOwnProperty(go)}const Le=(...e)=>{const t={};for(const o of e){const i=Array.isArray(o)?o:Object.keys(o);for(const a of i)t[a]=1}return t},$y=Le(["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"]),Uy=Le(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Xy=Le(["itemID","itemProp","itemRef","itemScope","itemType"]),nt=Le(Uy,$y,Xy),Gy=Le(nt,["form"]),om=Le(nt,["height","loop","muted","preload","src","width"]),Ky=Le(om,["poster"]),Qy=Le(nt,["start"]),Yy=Le(nt,["value"]),Jy=Le(nt,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),Zy=Le(nt,["dateTime"]),Rl=Le(nt,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),ew=Le(Rl,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),tw=Le(Rl,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),rw=Le(Rl,["form","multiple","required"]),ow=Le(nt,["selected","value"]),nw=Le(nt,["cellPadding","cellSpacing"]),iw=nt,aw=Le(nt,["colSpan","rowSpan","scope"]),lw=Le(nt,["colSpan","headers","rowSpan","scope"]),sw=Le(nt,["span"]),cw=Le(nt,["span"]),uw=Le(nt,["disabled","form"]),dw=Le(nt,["acceptCharset","action","encType","encType","method","noValidate","target"]),fw=Le(nt,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),pw=Le(nt,["alt","crossOrigin","height","loading","src","srcSet","useMap","width"]),gw=Le(nt,["open","onCancel","onClose"]);function vw(e,t,o){const i=Array.isArray(t),a={},s=Object.keys(e);for(const c of s)(!i&&t[c]||i&&t.indexOf(c)>=0||c.indexOf("data-")===0||c.indexOf("aria-")===0)&&(!o||o?.indexOf(c)===-1)&&(a[c]=e[c]);return a}const mw={label:Gy,audio:om,video:Ky,ol:Qy,li:Yy,a:Jy,button:Rl,input:ew,textarea:tw,select:rw,option:ow,table:nw,tr:iw,th:aw,td:lw,colGroup:sw,col:cw,fieldset:uw,form:dw,iframe:fw,img:pw,time:Zy,dialog:gw};function nm(e,t,o){const i=e&&mw[e]||nt;return i.as=1,vw(t,i,o)}const Hr=({primarySlotTagName:e,props:t,excludedPropNames:o})=>({root:{style:t.style,className:t.className},primary:nm(e,t,[...o||[],"style","className"])}),Te=(e,t,o)=>{var i;return nm((i=t.as)!==null&&i!==void 0?i:e,t,o)};function im(e,t){const o={};for(const i in e)t.indexOf(i)===-1&&e.hasOwnProperty(i)&&(o[i]=e[i]);return o}function H8(e){const t=e,o={},i={},a=Object.keys(t.components);for(const s of a){const[c,d]=hw(t,s);o[s]=c,i[s]=d}return{slots:o,slotProps:i}}function hw(e,t){var o,i;const a=e[t];if(a===void 0)return[null,void 0];const{as:s,children:c,...d}=a,f=bu(a)?a[Uo]:void 0,p=((o=e.components)===null||o===void 0?void 0:o[t])===void 0||typeof e.components[t]=="string"?s||((i=e.components)===null||i===void 0?void 0:i[t])||"div":e.components[t],v=p;if(f||typeof c=="function"){const y=f||c;return[b.Fragment,{children:y(v,d)}]}const x=typeof p=="string"&&s?im(a,["as"]):a;return[v,x]}function am(e,t){const o=b.useRef(void 0),i=b.useCallback((s,c)=>(o.current!==void 0&&t(o.current),o.current=e(s,c),o.current),[t,e]),a=b.useCallback(()=>{o.current!==void 0&&(t(o.current),o.current=void 0)},[t]);return b.useEffect(()=>a,[a]),[i,a]}const lm=b.createContext(void 0),bw=lm.Provider,sm=b.createContext(void 0),yw="",ww=sm.Provider;function $i(){var e;return(e=b.useContext(sm))!==null&&e!==void 0?e:yw}const cm=b.createContext(void 0),kw={},xw=cm.Provider;function Bw(){var e;return(e=b.useContext(cm))!==null&&e!==void 0?e:kw}const um=b.createContext(void 0),Sw={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},zw=um.Provider;function je(){var e;return(e=b.useContext(um))!==null&&e!==void 0?e:Sw}const dm=b.createContext(void 0),_w=dm.Provider;function Ui(){var e;return(e=b.useContext(dm))!==null&&e!==void 0?e:{}}const Vu=b.createContext(void 0),Nw=()=>{},Cw=Vu.Provider,he=e=>{var t,o;return(o=(t=b.useContext(Vu))===null||t===void 0?void 0:t[e])!==null&&o!==void 0?o:Nw},fm=b.createContext(void 0);fm.Provider;function jw(){return b.useContext(fm)}const pm=b.createContext(void 0);pm.Provider;function Xi(){return b.useContext(pm)}const gm=b.createContext(void 0);gm.Provider;function Tw(){var e;return(e=b.useContext(gm))!==null&&e!==void 0?e:{announce:()=>{}}}const qw=e=>(e(0),0),Ew=e=>e;function Fi(){const{targetDocument:e}=je(),t=e?.defaultView,o=t?t.requestAnimationFrame:qw,i=t?t.cancelAnimationFrame:Ew;return am(o,i)}function Pw(e){const t=e.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll";const o=e.createElement("div");t.appendChild(o),e.body.appendChild(t);const i=t.offsetWidth-o.offsetWidth;return t.remove(),i}function Rw(e){return typeof e=="function"}const zt=e=>{"use no memo";const[t,o]=b.useState(()=>e.defaultState===void 0?e.initialState:Fw(e.defaultState)?e.defaultState():e.defaultState),i=b.useRef(e.state);b.useEffect(()=>{i.current=e.state},[e.state]);const a=b.useCallback(s=>{Rw(s)&&s(i.current)},[]);return Dw(e.state)?[e.state,a]:[t,o]};function Fw(e){return typeof e=="function"}const Dw=e=>{const[t]=b.useState(()=>e!==void 0);return t};function Fl(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const vm={current:0},Iw=b.createContext(void 0);function mm(){var e;return(e=b.useContext(Iw))!==null&&e!==void 0?e:vm}function Mw(){const e=mm()!==vm,[t,o]=b.useState(e);return Fl()&&e&&b.useLayoutEffect(()=>{o(!1)},[]),t}const $e=Fl()?b.useLayoutEffect:b.useEffect,te=e=>{const t=b.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return $e(()=>{t.current=e},[e]),b.useCallback((...o)=>{const i=t.current;return i(...o)},[t])};function Wu(){const e=b.useRef(!0);return b.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function Ow(){return b.useReducer(e=>e+1,0)[1]}const hm=b.createContext(void 0);hm.Provider;function Hw(){return b.useContext(hm)||""}function ft(e="fui-",t){const o=mm(),i=Hw(),a=Rn.useId;if(a){const s=a(),c=b.useMemo(()=>s.replace(/:/g,""),[s]);return t||`${i}${e}${c}`}return b.useMemo(()=>t||`${i}${e}${++o.current}`,[i,e,t,o])}function _e(...e){const t=b.useCallback(o=>{t.current=o;for(const i of e)typeof i=="function"?i(o):i&&(i.current=o)},[...e]);return t}const bm=(e,t)=>!!e?.contains(t),Dl=e=>{const{targetDocument:t}=je(),o=t?.defaultView,{refs:i,callback:a,element:s,disabled:c,disabledFocusOnIframe:d,contains:f=bm}=e,p=b.useRef(void 0);Lw({element:s,disabled:d||c,callback:a,refs:i,contains:f});const v=b.useRef(!1),h=te(y=>{if(v.current){v.current=!1;return}const k=y.composedPath()[0];i.every(B=>!f(B.current||null,k))&&!c&&a(y)}),x=te(y=>{v.current=i.some(k=>f(k.current||null,y.target))});b.useEffect(()=>{if(c)return;let y=Aw(o);const k=w=>{if(w===y){y=void 0;return}h(w)};return s?.addEventListener("click",k,!0),s?.addEventListener("touchstart",k,!0),s?.addEventListener("contextmenu",k,!0),s?.addEventListener("mousedown",x,!0),p.current=o?.setTimeout(()=>{y=void 0},1),()=>{s?.removeEventListener("click",k,!0),s?.removeEventListener("touchstart",k,!0),s?.removeEventListener("contextmenu",k,!0),s?.removeEventListener("mousedown",x,!0),o?.clearTimeout(p.current),y=void 0}},[h,s,c,x,o])},Aw=e=>{if(e){var t,o;if(typeof e.window=="object"&&e.window===e)return e.event;var i;return(i=(o=e.ownerDocument)===null||o===void 0||(t=o.defaultView)===null||t===void 0?void 0:t.event)!==null&&i!==void 0?i:void 0}},Gc="fuiframefocus",Lw=e=>{const{disabled:t,element:o,callback:i,contains:a=bm,pollDuration:s=100,refs:c}=e,d=b.useRef(void 0),f=te(p=>{c.every(h=>!a(h.current||null,p.target))&&!t&&i(p)});b.useEffect(()=>{if(!t)return o?.addEventListener(Gc,f,!0),()=>{o?.removeEventListener(Gc,f,!0)}},[o,t,f]),b.useEffect(()=>{var p;if(!t)return d.current=o==null||(p=o.defaultView)===null||p===void 0?void 0:p.setInterval(()=>{const v=o?.activeElement;if(v?.tagName==="IFRAME"||v?.tagName==="WEBVIEW"){const h=new CustomEvent(Gc,{bubbles:!0});v.dispatchEvent(h)}},s),()=>{var v;o==null||(v=o.defaultView)===null||v===void 0||v.clearInterval(d.current)}},[o,t,s])},ym=e=>{const{refs:t,callback:o,element:i,disabled:a,contains:s}=e,c=te(d=>{const f=s||((h,x)=>!!h?.contains(x)),p=d.composedPath()[0];t.every(h=>!f(h.current||null,p))&&!a&&o(d)});b.useEffect(()=>{if(!a)return i?.addEventListener("wheel",c),i?.addEventListener("touchmove",c),()=>{i?.removeEventListener("wheel",c),i?.removeEventListener("touchmove",c)}},[c,i,a])},Kc=new WeakMap;function A8(e){const{targetDocument:t,force:o}=e;return b.useMemo(()=>{if(!t)return 0;if(!o&&Kc.has(t))return Kc.get(t);const i=Pw(t);return Kc.set(t,i),i},[t,o])}const Vw=e=>-1,Ww=e=>{};function yo(){const{targetDocument:e}=je(),t=e?.defaultView,o=t?t.setTimeout:Vw,i=t?t.clearTimeout:Ww;return am(o,i)}const $w=parseInt(b.version,10)>=19;function Gi(e){if(e)return $w?e.props.ref:e.ref}function ye(e,t){return(...o)=>{e?.(...o),t?.(...o)}}function dt(e,t){var o;const i=e;var a;return!!(!(i==null||(o=i.ownerDocument)===null||o===void 0)&&o.defaultView&&i instanceof i.ownerDocument.defaultView[(a=void 0)!==null&&a!==void 0?a:"HTMLElement"])}function Uw(e){if(!dt(e))return!1;const{tagName:t}=e;switch(t){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}function wm(e){return!!e.type.isFluentTriggerComponent}function Il(e,t){return typeof e=="function"?e(t):e?km(e,t):e||null}function km(e,t){if(!b.isValidElement(e)||e.type===b.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(wm(e)){const o=km(e.props.children,t);return b.cloneElement(e,void 0,o)}else return b.cloneElement(e,t)}function Ki(e){return b.isValidElement(e)?wm(e)?Ki(e.props.children):e:null}function yu(e){return e.type.startsWith("touch")}function wu(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function Bg(e){return wu(e)?{clientX:e.clientX,clientY:e.clientY}:yu(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function Sg(e){return e instanceof Set?e:new Set(e)}function xm(e){const[t,o]=zt({initialState:new Set,defaultState:b.useMemo(()=>e.defaultSelectedItems&&Sg(e.defaultSelectedItems),[e.defaultSelectedItems]),state:b.useMemo(()=>e.selectedItems&&Sg(e.selectedItems),[e.selectedItems])});return[t,(a,s)=>{var c;(c=e.onSelectionChange)===null||c===void 0||c.call(e,a,{selectedItems:s}),o(s)}]}function Xw(e){const[t,o]=xm(e);return[t,{deselectItem:a=>o(a,new Set),selectItem:(a,s)=>o(a,new Set([s])),toggleAllItems:()=>{},toggleItem:(a,s)=>o(a,new Set([s])),clearItems:a=>o(a,new Set),isSelected:a=>{var s;return(s=t.has(a))!==null&&s!==void 0?s:!1}}]}function Gw(e){const[t,o]=xm(e);return[t,{toggleItem:(a,s)=>{const c=new Set(t);t.has(s)?c.delete(s):c.add(s),o(a,c)},selectItem:(a,s)=>{const c=new Set(t);c.add(s),o(a,c)},deselectItem:(a,s)=>{const c=new Set(t);c.delete(s),o(a,c)},clearItems:a=>{o(a,new Set)},isSelected:a=>t.has(a),toggleAllItems:(a,s)=>{const c=s.every(f=>t.has(f)),d=new Set(t);c?d.clear():s.forEach(f=>d.add(f)),o(a,d)}}]}function Kw(e){return e.selectionMode==="multiselect"?Gw(e):Xw(e)}function Qw(e){return e&&!!e._virtual}function Yw(e){return Qw(e)&&e._virtual.parent||null}function Bm(e,t={}){if(!e)return null;if(!t.skipVirtual){const i=Yw(e);if(i)return i}const o=e.parentNode;return o&&o.nodeType===11?o.host:o}function Wo(e,t){if(!e||!t)return!1;if(e===t)return!0;{const o=new WeakSet;for(;t;){const i=Bm(t,{skipVirtual:o.has(t)});if(o.add(t),i===e)return!0;t=i}}return!1}function xr(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function Jw(e,t){return{...t,[go]:e}}function Sm(e,t){return function(i,a,s,c,d){return bu(a)?t(Jw(i,a),null,s,c,d):bu(i)?t(i,a,s,c,d):e(i,a,s,c,d)}}function zm(e){const{as:t,[em]:o,[go]:i,[Uo]:a,...s}=e,c=s,d=typeof i=="string"?t??i:i;return typeof d!="string"&&t&&(c.as=t),{elementType:d,props:c,renderFunction:a}}const $o=gy,Zw=(e,t,o)=>{const{elementType:i,renderFunction:a,props:s}=zm(e),c={...s,...t};return a?$o.jsx(b.Fragment,{children:a(i,c)},o):$o.jsx(i,c,o)},ek=(e,t,o)=>{const{elementType:i,renderFunction:a,props:s}=zm(e),c={...s,...t};return a?$o.jsx(b.Fragment,{children:a(i,{...c,children:$o.jsxs(b.Fragment,{children:c.children},void 0)})},o):$o.jsxs(i,c,o)},L=Sm($o.jsx,Zw),Ce=Sm($o.jsxs,ek),tk=(e,t)=>L(zw,{value:t.provider,children:L(bw,{value:t.theme,children:L(ww,{value:t.themeClassName,children:L(Cw,{value:t.customStyleHooks_unstable,children:L(xw,{value:t.tooltip,children:L(vy,{dir:t.textDirection,children:L(my,{value:t.iconDirection,children:L(_w,{value:t.overrides_unstable,children:Ce(e.root,{children:[Fl()?null:L("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});const dr="data-tabster",rk="data-tabster-dummy",_m=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Fr={EscapeGroupper:1,Restorer:2,Deloser:3},so={Invisible:0,PartiallyVisible:1,Visible:2},Xo={Source:0,Target:1},ur={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},Ye={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},kl={Unlimited:0,Limited:1,LimitedTrapFocus:2},zl={Enter:1,Escape:2},ok={Outside:2};function bt(e,t){return e.storageEntry(t)?.tabster}function Nm(e,t,o){const i=o||e._noop?void 0:t.getAttribute(dr);let a=e.storageEntry(t),s;if(i)if(i!==a?.attr?.string)try{const p=JSON.parse(i);if(typeof p!="object")throw new Error(`Value is not a JSON object, got '${i}'.`);s={string:i,object:p}}catch{}else return;else if(!a)return;a||(a=e.storageEntry(t,!0)),a.tabster||(a.tabster={});const c=a.tabster||{},d=a.attr?.object||{},f=s?.object||{};for(const p of Object.keys(d))if(!f[p]){if(p==="root"){const v=c[p];v&&e.root.onRoot(v,!0)}switch(p){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const v=c[p];v&&(v.dispose(),delete c[p]);break;case"observed":delete c[p],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete c[p];break}}for(const p of Object.keys(f)){const v=f.sys;switch(p){case"root":c.root?c.root.setProps(f.root):c.root=e.root.createRoot(t,f.root,v),e.root.onRoot(c.root);break;case"focusable":c.focusable=f.focusable;break;case"observed":e.observedElement&&(c.observed=f.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":c.uncontrolled=f.uncontrolled;break;case"outline":e.outline&&(c.outline=f.outline);break;case"sys":c.sys=f.sys;break;default:{const h=e.attrHandlers.get(p);h&&(c[p]=h(t,c[p],f[p],d?.[p],v))}}}s?a.attr=s:(Object.keys(c).length===0&&(delete a.tabster,delete a.attr),e.storageEntry(t,!1))}const yr=(e,t,o)=>{e.addEventListener(t,o,!0)},Jt=(e,t,o)=>{e.removeEventListener(t,o,!0)};const Go="keyborg:focusin",Di="keyborg:focusout",zg=0,_g=1,Ng=2,Qc=3;function Br(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function nk(e){const t=e,o=t.document,i=t.HTMLElement.prototype,a=Object.getOwnPropertyDescriptor(i,"focus");if(a?.value?.__keyborgNativeFocus)return;v.__keyborgNativeFocus=h,v.__keyborgFocusDescriptor=a,Object.defineProperty(i,"focus",{configurable:a?.configurable??!0,enumerable:a?.enumerable??!1,writable:!0,value:v});const s=new Set,c=y=>{const k=y.target;if(!k)return;const w=new CustomEvent(Di,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:y}});k.dispatchEvent(w)},d=y=>{const k=y.target;if(!k)return;let w=y.composedPath()[0];const B=new Set;for(;w;)w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(B.add(w),w=w.host):w=w.parentNode;for(const z of s){const C=z.deref();(!C||!B.has(C))&&(s.delete(z),C&&(Jt(C,"focusin",d),Jt(C,"focusout",c)))}f(k,y.relatedTarget||void 0)},f=(y,k,w)=>{const B=y.shadowRoot;if(B){for(const _ of s)if(_.deref()===B)return;yr(B,"focusin",d),yr(B,"focusout",c),s.add(new WeakRef(B));return}const z={relatedTarget:k,originalEvent:w},C=new CustomEvent(Go,{cancelable:!0,bubbles:!0,composed:!0,detail:z});z.isFocusedProgrammatically=y===p[Qc]?.deref(),p[Qc]=void 0,y.dispatchEvent(C)},p=[d,c,s];t.__keyborgData=p,yr(o,"focusin",d),yr(o,"focusout",c);function v(){const y=t.__keyborgData;return y&&(y[Qc]=new WeakRef(this)),h.apply(this,arguments)}function h(){const y=a?.get?a.get.call(this):a?.value;if(typeof y!="function")throw new TypeError("HTMLElement.prototype.focus is not callable");return y.apply(this,arguments)}let x=o.activeElement;for(;x&&x.shadowRoot;)f(x),x=x.shadowRoot.activeElement}function ik(e){const t=e,o=t.HTMLElement.prototype,i=Object.getOwnPropertyDescriptor(o,"focus")?.value,a=i?.__keyborgFocusDescriptor,s=t.__keyborgData;if(s){const c=t.document;Jt(c,"focusin",s[zg]),Jt(c,"focusout",s[_g]);for(const d of s[Ng]){const f=d.deref();f&&(Jt(f,"focusin",s[zg]),Jt(f,"focusout",s[_g]))}s[Ng].clear(),delete t.__keyborgData}i?.__keyborgNativeFocus&&(a?Object.defineProperty(o,"focus",a):delete o.focus)}let ak=0;function lk(e){let t=e,o=!1,i;const a=()=>{const y=t?.__keyborg?.refs;if(y)for(const k of Object.keys(y))y[k]._cb.forEach(w=>w(o))},s=y=>{o!==y&&(o=y,a())},c=y=>{if(y.key==="Tab")return!0;const k=t?.document.activeElement;return!(k&&(k.tagName==="INPUT"||k.tagName==="TEXTAREA"||k.isContentEditable))},d=y=>{if(i||o)return;const k=y.detail;k.relatedTarget&&(k.isFocusedProgrammatically||k.isFocusedProgrammatically===void 0||s(!0))},f=()=>{t&&(i&&t.clearTimeout(i),i=t.setTimeout(()=>{i=void 0},1e3)),s(!1)},p=y=>{y.buttons===0||y.clientX===0&&y.clientY===0&&y.screenX===0&&y.screenY===0||f()},v=y=>{!o&&c(y)&&s(!0)},h=e.document;return yr(h,Go,d),yr(h,"mousedown",p),yr(e,"keydown",v),yr(h,"touchstart",f),yr(h,"touchend",f),yr(h,"touchcancel",f),nk(e),{dispose:()=>{if(!t)return;i&&(t.clearTimeout(i),i=void 0),ik(t);const y=t.document;Jt(y,Go,d),Jt(y,"mousedown",p),Jt(t,"keydown",v),Jt(y,"touchstart",f),Jt(y,"touchend",f),Jt(y,"touchcancel",f),t=void 0},get isNavigatingWithKeyboard(){return o},set isNavigatingWithKeyboard(y){s(y)}}}function sk(e){const t=e,o="k"+ ++ak;let i=t,a;const s=[],c=t.__keyborg;c?a=c.core:a=lk(t);const d={isNavigatingWithKeyboard(){return!!a?.isNavigatingWithKeyboard},subscribe(f){s.push(f)},unsubscribe(f){const p=s.indexOf(f);p>=0&&s.splice(p,1)},setVal(f){a&&(a.isNavigatingWithKeyboard=f)},_cb:s,dispose(){const f=i?.__keyborg;f?.refs[o]&&(delete f.refs[o],Object.keys(f.refs).length===0&&(f.core.dispose(),delete i.__keyborg)),s.length=0,a=void 0,i=void 0}};return c?c.refs[o]=d:t.__keyborg={core:a,refs:{[o]:d}},d}function ck(e){e.dispose()}const uk="tabster:focusin",dk="tabster:focusout",ku="tabster:movefocus",fk="tabster:modalizer:active",pk="tabster:modalizer:inactive",gk="tabster:mover:state",xu="tabster:mover:movefocus",Cg="tabster:mover:memorized-element",Bu="tabster:groupper:movefocus",Su="tabster:restorer:restore-focus",vk="tabster:root:focus",mk="tabster:root:blur",hk=typeof CustomEvent<"u"?CustomEvent:function(){};class pr extends hk{constructor(t,o){super(t,{bubbles:!0,cancelable:!0,composed:!0,detail:o}),this.details=o}}class bk extends pr{constructor(t){super(uk,t)}}class yk extends pr{constructor(t){super(dk,t)}}class uo extends pr{constructor(t){super(ku,t)}}class jg extends pr{constructor(t){super(gk,t)}}class wk extends pr{constructor(t){super(xu,t)}}class Tg extends pr{constructor(t){super(Bu,t)}}class kk extends pr{constructor(t){super(fk,t)}}class xk extends pr{constructor(t){super(pk,t)}}class qg extends pr{constructor(){super(Su)}}class Bk extends pr{constructor(t){super(vk,t)}}class Sk extends pr{constructor(t){super(mk,t)}}const zk=e=>new MutationObserver(e),_k=(e,t,o,i)=>e.createTreeWalker(t,o,i),Nk=e=>e?e.parentNode:null,Ck=e=>e?e.parentElement:null,jk=(e,t)=>!!(t&&e?.contains(t)),Tk=e=>e.activeElement,qk=(e,t)=>e.querySelector(t),Ek=(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),Pk=(e,t)=>e.getElementById(t),Rk=e=>e?.firstChild||null,Fk=e=>e?.lastChild||null,Dk=e=>e?.nextSibling||null,Ik=e=>e?.previousSibling||null,Mk=e=>e?.firstElementChild||null,Ok=e=>e?.lastElementChild||null,Hk=e=>e?.nextElementSibling||null,Ak=e=>e?.previousElementSibling||null,Lk=(e,t)=>e.appendChild(t),Vk=(e,t,o)=>e.insertBefore(t,o),Wk=e=>e.ownerDocument?.getSelection()||null,$k=(e,t)=>e.ownerDocument.getElementsByName(t),G={createMutationObserver:zk,createTreeWalker:_k,getParentNode:Nk,getParentElement:Ck,nodeContains:jk,getActiveElement:Tk,querySelector:qk,querySelectorAll:Ek,getElementById:Pk,getFirstChild:Rk,getLastChild:Fk,getNextSibling:Dk,getPreviousSibling:Ik,getFirstElementChild:Mk,getLastElementChild:Ok,getNextElementSibling:Hk,getPreviousElementSibling:Ak,appendChild:Lk,insertBefore:Vk,getSelection:Wk,getElementsByName:$k};function Uk(e){for(const t of Object.keys(e))G[t]=e[t]}let Xk=0;function Ml(e){const t=e();return t.__tabsterInstanceContext??={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0}}function Gk(e){const t=e,o=t.__tabsterInstanceContext;o&&(o.elementByUId={},o.containerBoundingRectCache={},o.containerBoundingRectCacheTimer&&e.clearTimeout(o.containerBoundingRectCacheTimer),delete t.__tabsterInstanceContext)}function Kk(e){return!!e.querySelector(_m)}class Lt{constructor(t,o){this._ref=new WeakRef(t),this._data=o}get(){const t=this._ref;let o;return t&&(o=t.deref(),o||delete this._ref),o}getData(){return this._data}}function $u(e,t,o){if(t.nodeType===Node.ELEMENT_NODE)return G.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,{acceptNode:o})}function Cm(e,t){let o=t.__tabsterCacheId;const i=Ml(e),a=o?i.containerBoundingRectCache[o]:void 0;if(a)return a.rect;const s=t.ownerDocument&&t.ownerDocument.documentElement;if(!s)return new DOMRect;let c=0,d=0,f=s.clientWidth,p=s.clientHeight;if(t!==s){const h=t.getBoundingClientRect();c=Math.max(c,h.left),d=Math.max(d,h.top),f=Math.min(f,h.right),p=Math.min(p,h.bottom)}const v=new DOMRect(c<f?c:-1,d<p?d:-1,c<f?f-c:0,d<p?p-d:0);return o||(o="r-"+ ++i.lastContainerBoundingRectCacheId,t.__tabsterCacheId=o),i.containerBoundingRectCache[o]={rect:v,element:t},i.containerBoundingRectCacheTimer||(i.containerBoundingRectCacheTimer=window.setTimeout(()=>{i.containerBoundingRectCacheTimer=void 0;for(const h of Object.keys(i.containerBoundingRectCache))delete i.containerBoundingRectCache[h].element.__tabsterCacheId;i.containerBoundingRectCache={}},50)),v}function Eg(e,t,o){const i=jm(t);if(!i)return!1;const a=Cm(e,i),s=t.getBoundingClientRect(),c=s.height*(1-o),d=Math.max(0,a.top-s.top),f=Math.max(0,s.bottom-a.bottom),p=d+f;return p===0||p<=c}function Qk(e,t,o){const i=jm(t);if(i){const a=Cm(e,i),s=t.getBoundingClientRect();o?i.scrollTop+=s.top-a.top:i.scrollTop+=s.bottom-a.bottom}}function jm(e){const t=e.ownerDocument;if(t){for(let o=G.getParentElement(e);o;o=G.getParentElement(o))if(o.scrollWidth>o.clientWidth||o.scrollHeight>o.clientHeight)return o;return t.documentElement}return null}function Yk(e){e.__shouldIgnoreFocus=!0}function Tm(e){return!!e.__shouldIgnoreFocus}function Jk(e){const t=new Uint32Array(4);return e.crypto.getRandomValues(t),Array.from(t,o=>o.toString(36)).join("")+"|"+(++Xk).toString(36)+"|"+Date.now().toString(36)}function xl(e,t){const o=Ml(e),i=t.__tabsterElementUID??=Jk(e());return!o.elementByUId[i]&&qm(t.ownerDocument,t)&&(o.elementByUId[i]=new Lt(t)),i}function Pg(e,t){const o=Ml(e).elementByUId;for(const i of Object.keys(o)){const a=o[i]?.get();t&&a&&!G.nodeContains(t,a)||delete o[i]}}function qm(e,t){return G.nodeContains(e?.body,t)}function Em(e,t){return typeof e.matches=="function"&&e.matches(t)}let Zk=0;class Qi{constructor(t,o,i){this._tabster=t,this._element=new Lt(o),this._props={...i},this.id="i"+ ++Zk}getElement(){return this._element.get()}getProps(){return this._props}setProps(t){this._props={...t}}}function Pm(e){let t=null;for(let o=G.getLastElementChild(e);o;o=G.getLastElementChild(o))t=o;return t||void 0}function ex(e,t){let o=e,i=null;for(;o&&!i;)i=t?G.getPreviousElementSibling(o):G.getNextElementSibling(o),o=G.getParentElement(o);return i||void 0}function Yc(e,t,o,i){const a=e.storageEntry(t,!0);let s=!1;if(!a.aug){if(i===void 0)return s;a.aug={}}if(i===void 0){if(o in a.aug){const c=a.aug[o];delete a.aug[o],c===null?t.removeAttribute(o):t.setAttribute(o,c),s=!0}}else{let c;o in a.aug||(c=t.getAttribute(o)),c!==void 0&&c!==i&&(a.aug[o]=c,i===null?t.removeAttribute(o):t.setAttribute(o,i),s=!0)}return i===void 0&&Object.keys(a.aug).length===0&&(delete a.aug,e.storageEntry(t,!1)),s}function tx(e){const t=e.ownerDocument,o=t.defaultView?.getComputedStyle(e);return e.offsetParent===null&&t.body!==e&&o?.position!=="fixed"||o?.visibility==="hidden"||o?.position==="fixed"&&(o.display==="none"||e.parentElement?.offsetParent===null&&t.body!==e.parentElement)}function zu(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function rx(e){if(!zu(e))return;const t=e.name,o=[];let i;for(const a of G.getElementsByName(e,t))if(zu(a)){const s=a;o.push(s),s.checked&&(i=s)}return{name:t,buttons:new Set(o),checked:i}}function lt(e,t,o,i){e?.addEventListener(t,o,i)}function ot(e,t,o,i){e?.removeEventListener(t,o,i)}function ht(e,t){return!!e&&e.dispatchEvent(t)}const Jc=100;class _l{constructor(t,o,i,a,s){this._focusIn=p=>{if(this._fixedTarget){const h=this._fixedTarget.get();h&&Br(h);return}const v=this.input;if(this.onFocusIn&&v){const h=p.relatedTarget;this.onFocusIn(this,this._isBackward(!0,v,h),h)}},this._focusOut=p=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const v=this.input;if(this.onFocusOut&&v){const h=p.relatedTarget;this.onFocusOut(this,this._isBackward(!1,v,h),h)}};const c=t(),d=c.document.createElement("i");d.tabIndex=0,d.setAttribute("role","none"),d.setAttribute(rk,""),d.setAttribute("aria-hidden","true");const f=d.style;f.position="fixed",f.width=f.height="1px",f.opacity="0.001",f.zIndex="-1",f.setProperty("content-visibility","hidden"),Yk(d),this.input=d,this.isFirst=i.isFirst,this.isOutside=o,this._isPhantom=i.isPhantom??!1,this._fixedTarget=s,lt(d,"focusin",this._focusIn),lt(d,"focusout",this._focusOut),d.__tabsterDummyContainer=a,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(){this._clearDisposeTimeout&&this._clearDisposeTimeout();const t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,ot(t,"focusin",this._focusIn),ot(t,"focusout",this._focusOut),delete t.__tabsterDummyContainer,G.getParentNode(t)?.removeChild(t))}setTopLeft(t,o){const i=this.input?.style;i&&(i.top=`${t}px`,i.left=`${o}px`)}_isBackward(t,o,i){return t&&!i?!this.isFirst:!!(i&&o.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING)}}const Ol={Root:1,Modalizer:2,Mover:3,Groupper:4};class En{constructor(t,o,i,a,s,c){this._element=o,this._instance=new nx(t,o,this,i,a,s,c)}_setHandlers(t,o){this._onFocusIn=t,this._onFocusOut=o}moveOut(t){this._instance?.moveOut(t)}moveOutWithDefaultAction(t,o){this._instance?.moveOutWithDefaultAction(t,o)}getHandler(t){return t?this._onFocusIn:this._onFocusOut}setTabbable(t){this._instance?.setTabbable(this,t)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(t,o,i,a,s){const d=new _l(t.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let f,p;if(o.tagName==="BODY")f=o,p=i&&a||!i&&!a?G.getFirstElementChild(o):null;else{i&&(!a||a&&!t.focusable.isFocusable(o,!1,!0,!0))?(f=o,p=a?o.firstElementChild:null):(f=G.getParentElement(o),p=i&&a||!i&&!a?o:G.getNextElementSibling(o));let v,h;do v=i&&a||!i&&!a?G.getPreviousElementSibling(p):p,h=Pn(v),h===o?p=i&&a||!i&&!a?v:G.getNextElementSibling(v):h=null;while(h)}f&&ht(f,new uo({by:"root",owner:f,next:null,relatedEvent:s}))&&(G.insertBefore(f,d,p),Br(d))}}static addPhantomDummyWithTarget(t,o,i,a){const c=new _l(t.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Lt(a)).input;if(c){let d,f;Kk(o)&&!i?(d=o,f=G.getFirstElementChild(o)):(d=G.getParentElement(o),f=i?o:G.getNextElementSibling(o)),d&&G.insertBefore(d,c,f)}}}class ox{constructor(t){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=o=>{this._changedParents.has(o)||(this._changedParents.add(o),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=this._win?.().setTimeout(()=>{delete this._updateDummyInputsTimer;for(const i of this._dummyElements){const a=i.get();if(a){const s=this._dummyCallbacks.get(a);if(s){const c=G.getParentNode(a);(!c||this._changedParents.has(c))&&s()}}}this._changedParents=new WeakSet},Jc)))},this._win=t}add(t,o){!this._dummyCallbacks.has(t)&&this._win&&(this._dummyElements.push(new Lt(t)),this._dummyCallbacks.set(t,o),this.domChanged=this._domChanged)}remove(t){this._dummyElements=this._dummyElements.filter(o=>{const i=o.get();return i&&i!==t}),this._dummyCallbacks.delete(t),this._dummyElements.length===0&&delete this.domChanged}dispose(){const t=this._win?.();this._updateTimer&&(t?.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(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(t){this._win&&(this._updateQueue.add(t),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){this._updateTimer||(this._updateTimer=this._win?.().setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+Jc<=Date.now()){const t=new Map,o=[];for(const i of this._updateQueue)o.push(i(t));this._updateQueue.clear();for(const i of o)i();t.clear()}else this._scheduledUpdatePositions()},Jc))}}class nx{constructor(t,o,i,a,s,c,d){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(y,k,w)=>{this._onFocus(!0,y,k,w)},this._onFocusOut=(y,k,w)=>{this._onFocus(!1,y,k,w)},this.moveOut=y=>{const k=this._firstDummy,w=this._lastDummy;if(k&&w){this._ensurePosition();const B=k.input,z=w.input,C=this._element?.get();if(B&&z&&C){let _;y?(B.tabIndex=0,_=B):(z.tabIndex=0,_=z),_&&Br(_)}}},this.moveOutWithDefaultAction=(y,k)=>{const w=this._firstDummy,B=this._lastDummy;if(w&&B){this._ensurePosition();const z=w.input,C=B.input,_=this._element?.get();if(z&&C&&_){let N;y?!w.isOutside&&this._tabster.focusable.isFocusable(_,!0,!0,!0)?N=_:(w.useDefaultAction=!0,z.tabIndex=0,N=z):(B.useDefaultAction=!0,C.tabIndex=0,N=C),N&&ht(_,new uo({by:"root",owner:_,next:null,relatedEvent:k}))&&Br(N)}}},this.setTabbable=(y,k)=>{for(const B of this._wrappers)if(B.manager===y){B.tabbable=k;break}const w=this._getCurrent();if(w){const B=w.tabbable?0:-1;let z=this._firstDummy?.input;z&&(z.tabIndex=B),z=this._lastDummy?.input,z&&(z.tabIndex=B)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=y=>{const k=this._firstDummy?.input||this._lastDummy?.input,w=this._transformElements,B=new Set;let z=0,C=0;const _=this._getWindow();for(let N=k;N&&N.nodeType===Node.ELEMENT_NODE;N=G.getParentElement(N)){let E=y.get(N);if(E===void 0){const T=_.getComputedStyle(N).transform;T&&T!=="none"&&(E={scrollTop:N.scrollTop,scrollLeft:N.scrollLeft}),y.set(N,E||null)}E&&(B.add(N),w.has(N)||lt(N,"scroll",this._addTransformOffsets),z+=E.scrollTop,C+=E.scrollLeft)}for(const N of w)B.has(N)||ot(N,"scroll",this._addTransformOffsets);return this._transformElements=B,()=>{this._firstDummy?.setTopLeft(z,C),this._lastDummy?.setTopLeft(z,C)}};const f=o.get();if(!f)throw new Error("No element");this._tabster=t,this._getWindow=t.getWindow,this._callForDefaultAction=d;const p=f.__tabsterDummy;if((p||this)._wrappers.push({manager:i,priority:a,tabbable:!0}),p)return p;f.__tabsterDummy=this;const v=s?.dummyInputsPosition,h=f.tagName;this._isOutside=v?v===ok.Outside:(c||h==="UL"||h==="OL"||h==="TABLE")&&!(h==="LI"||h==="TD"||h==="TH"),this._firstDummy=new _l(this._getWindow,this._isOutside,{isFirst:!0},o),this._lastDummy=new _l(this._getWindow,this._isOutside,{isFirst:!1},o);const x=this._firstDummy.input;x&&t._dummyObserver.add(x,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=o,this._addDummyInputs()}dispose(t,o){if((this._wrappers=this._wrappers.filter(a=>a.manager!==t&&!o)).length===0){delete(this._element?.get()).__tabsterDummy;for(const c of this._transformElements)ot(c,"scroll",this._addTransformOffsets);this._transformElements.clear();const a=this._getWindow();this._addTimer&&(a.clearTimeout(this._addTimer),delete this._addTimer);const s=this._firstDummy?.input;s&&this._tabster._dummyObserver.remove(s),this._firstDummy?.dispose(),this._lastDummy?.dispose()}}_onFocus(t,o,i,a){const s=this._getCurrent();s&&(!o.useDefaultAction||this._callForDefaultAction)&&s.manager.getHandler(t)?.(o,i,a)}_getCurrent(){return this._wrappers.sort((t,o)=>t.tabbable!==o.tabbable?t.tabbable?-1:1:t.priority-o.priority),this._wrappers[0]}_ensurePosition(){const t=this._element?.get(),o=this._firstDummy?.input,i=this._lastDummy?.input;if(!(!t||!o||!i))if(this._isOutside){const a=G.getParentNode(t);if(a){const s=G.getNextSibling(t);s!==i&&G.insertBefore(a,i,s),G.getPreviousElementSibling(t)!==o&&G.insertBefore(a,o,t)}}else{G.getLastElementChild(t)!==i&&G.appendChild(t,i);const a=G.getFirstElementChild(t);a&&a!==o&&a.parentNode&&G.insertBefore(a.parentNode,o,a)}}}function Pn(e){return e?.__tabsterDummyContainer?.get()||null}function Uu(e,t){const o=JSON.stringify(e);return t===!0?o:{[dr]:o}}function ix(e,t){for(const o of Object.keys(t)){const i=t[o];i?e[o]=i:delete e[o]}}function ax(e,t,o){let i;{const a=e.getAttribute(dr);if(a)try{i=JSON.parse(a)}catch{}}i||(i={}),ix(i,t),Object.keys(i).length>0?e.setAttribute(dr,Uu(i,!0)):e.removeAttribute(dr)}class Rg extends En{constructor(t,o,i,a){super(t,o,Ol.Root,a,void 0,!0),this._onDummyInputFocus=s=>{if(s.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const c=this._element.get();if(c){this._setFocused(!0);const d=this._tabster.focusedElement.getFirstOrLastTabbable(s.isFirst,{container:c,ignoreAccessibility:!0});if(d){Br(d);return}}s.input?.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=t,this._setFocused=i}}class lx extends Qi{constructor(t,o,i,a,s){super(t,o,a),this._isFocused=!1,this._setFocused=p=>{if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===p)return;const v=this._element.get();v&&(p?(this._isFocused=!0,this._dummyManager?.setTabbable(!1),ht(v,new Bk({element:v}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{delete this._setFocusedTimer,this._isFocused=!1,this._dummyManager?.setTabbable(!0),ht(v,new Sk({element:v}))},0))},this._onFocusIn=p=>{const v=this._tabster.getParent,h=this._element.get();let x=p.composedPath()[0];do{if(x===h){this._setFocused(!0);return}x=x&&v(x)}while(x)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=i;const c=t.getWindow;this.uid=xl(c,o),this._sys=s,(t.controlTab||t.rootDummyInputs)&&this.addDummyInputs();const f=c().document;lt(f,Go,this._onFocusIn),lt(f,Di,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Rg(this._tabster,this._element,this._setFocused,this._sys))}dispose(){this._onDispose(this);const t=this._tabster.getWindow(),o=t.document;ot(o,Go,this._onFocusIn),ot(o,Di,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._dummyManager?.dispose(),this._remove()}moveOutWithDefaultAction(t,o){const i=this._dummyManager;if(i)i.moveOutWithDefaultAction(t,o);else{const a=this.getElement();a&&Rg.moveWithPhantomDummy(this._tabster,a,!0,t,o)}}_add(){}_remove(){}}class Oe{constructor(t,o){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{const i=this._win().document,a=i.body;if(a){this._autoRootUnwait(i);const s=this._autoRoot;if(s)return ax(a,{root:s}),Nm(this._tabster,a),bt(this._tabster,a)?.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,lt(i,"readystatechange",this._autoRootCreate))},this._onRootDispose=i=>{delete this._roots[i.id]},this._tabster=t,this._win=t.getWindow,this._autoRoot=o,t.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(t){ot(t,"readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const t=this._win();this._autoRootUnwait(t.document),delete this._autoRoot,Object.keys(this._roots).forEach(o=>{this._roots[o]&&(this._roots[o].dispose(),delete this._roots[o])}),this.rootById={}}createRoot(t,o,i){const a=new lx(this._tabster,t,this._onRootDispose,o,i);return this._roots[a.id]=a,this._forceDummy&&a.addDummyInputs(),a}addDummyInputs(){this._forceDummy=!0;const t=this._roots;for(const o of Object.keys(t))t[o].addDummyInputs()}static getRootByUId(t,o){const i=t().__tabsterInstance;return i&&i.root.rootById[o]}static getTabsterContext(t,o,i={}){if(!o.ownerDocument)return;const{checkRtl:a,referenceElement:s}=i,c=t.getParent;t.drainInitQueue();let d,f,p,v,h=!1,x,y,k,w,B=s||o;const z={};for(;B&&(!d||a);){const _=bt(t,B);if(a&&k===void 0){const I=B.dir;I&&(k=I.toLowerCase()==="rtl")}if(!_){B=c(B);continue}const N=B.tagName;(_.uncontrolled||N==="IFRAME"||N==="WEBVIEW")&&t.focusable.isVisible(B)&&(w=B),!v&&_.focusable?.excludeFromMover&&!p&&(h=!0);const E=_.modalizer,T=_.groupper,D=_.mover;!f&&E&&(f=E),!p&&T&&(!f||E)&&(f?(!T.isActive()&&T.getProps().tabbability&&f.userId!==t.modalizer?.activeId&&(f=void 0,p=T),y=T):p=T),!v&&D&&(!f||E)&&(!T||B!==o)&&B.contains(o)&&(v=D,x=!!p&&p!==T),_.root&&(d=_.root),_.focusable?.ignoreKeydown&&Object.assign(z,_.focusable.ignoreKeydown),B=c(B)}if(!d){const _=t.root;_._autoRoot&&o.ownerDocument?.body&&(d=_._autoRootCreate())}return p&&!v&&(x=!0),d?{root:d,modalizer:f,groupper:p,mover:v,groupperBeforeMover:x,modalizerInGroupper:y,rtl:a?!!k:void 0,uncontrolled:w,excludedFromMover:h,ignoreKeydown:_=>!!z[_.key]}:void 0}static getRoot(t,o){const i=t.getParent;for(let a=o;a;a=i(a)){const s=bt(t,a)?.root;if(s)return s}}onRoot(t,o){o?delete this.rootById[t.uid]:this.rootById[t.uid]=t}}class sx{constructor(t){this._tabster=t}dispose(){}getProps(t){const o=bt(this._tabster,t);return o&&o.focusable||{}}isFocusable(t,o,i,a){return Em(t,_m)&&(o||t.tabIndex!==-1)?(i||this.isVisible(t))&&(a||this.isAccessible(t)):!1}isVisible(t){if(!t.ownerDocument||t.nodeType!==Node.ELEMENT_NODE||tx(t))return!1;const o=t.ownerDocument.body.getBoundingClientRect();return!(o.width===0&&o.height===0)}isAccessible(t){for(let o=t;o;o=G.getParentElement(o)){const i=bt(this._tabster,o);if(this._isHidden(o)||!i?.focusable?.ignoreAriaDisabled&&this._isDisabled(o))return!1}return!0}_isDisabled(t){return t.hasAttribute("disabled")}_isHidden(t){const o=t.getAttribute("aria-hidden");return!!(o&&o.toLowerCase()==="true"&&!this._tabster.modalizer?.isAugmented(t))}findFirst(t,o){return this.findElement({...t},o)}findLast(t,o){return this.findElement({isBackward:!0,...t},o)}findNext(t,o){return this.findElement({...t},o)}findPrev(t,o){return this.findElement({...t,isBackward:!0},o)}findDefault(t,o){return this.findElement({...t,acceptCondition:i=>this.isFocusable(i,t.includeProgrammaticallyFocusable)&&!!this.getProps(i).isDefault},o)||null}findAll(t){return this._findElements(!0,t)||[]}findElement(t,o){const i=this._findElements(!1,t,o);return i&&i[0]}_findElements(t,o,i){const{container:a,currentElement:s=null,includeProgrammaticallyFocusable:c,useActiveModalizer:d,ignoreAccessibility:f,modalizerId:p,isBackward:v,onElement:h}=o;i||(i={});const x=[];let{acceptCondition:y}=o;const k=!!y;if(!a)return null;y||(y=C=>this.isFocusable(C,c,!1,f));const w={container:a,modalizerUserId:p===void 0&&d?this._tabster.modalizer?.activeId:p||Oe.getTabsterContext(this._tabster,a)?.modalizer?.userId,from:s||a,isBackward:v,isFindAll:t,acceptCondition:y,hasCustomCondition:k,includeProgrammaticallyFocusable:c,ignoreAccessibility:f,cachedGrouppers:{},cachedRadioGroups:{}},B=$u(a.ownerDocument,a,C=>this._acceptElement(C,w));if(!B)return null;const z=C=>{const _=w.foundElement??w.foundBackward;return _&&x.push(_),t?_&&(w.found=!1,delete w.foundElement,delete w.foundBackward,delete w.fromCtx,w.from=_,h&&!h(_))?!1:!!(_||C):(_&&i&&(i.uncontrolled=Oe.getTabsterContext(this._tabster,_)?.uncontrolled),!!(C&&!_))};if(s||(i.outOfDOMOrder=!0),s&&G.nodeContains(a,s))B.currentNode=s;else if(v){const C=Pm(a);if(!C)return null;if(this._acceptElement(C,w)===NodeFilter.FILTER_ACCEPT&&!z(!0))return w.skippedFocusable&&(i.outOfDOMOrder=!0),x;B.currentNode=C}do v?B.previousNode():B.nextNode();while(z());return w.skippedFocusable&&(i.outOfDOMOrder=!0),x.length?x:null}_acceptElement(t,o){if(o.found)return NodeFilter.FILTER_ACCEPT;const i=o.foundBackward;if(i&&(t===i||!G.nodeContains(i,t)))return o.found=!0,o.foundElement=i,NodeFilter.FILTER_ACCEPT;const a=o.container;if(t===a)return NodeFilter.FILTER_SKIP;if(!G.nodeContains(a,t)||Pn(t)||G.nodeContains(o.rejectElementsFrom,t))return NodeFilter.FILTER_REJECT;const s=o.currentCtx=Oe.getTabsterContext(this._tabster,t);if(!s)return NodeFilter.FILTER_SKIP;if(Tm(t))return this.isFocusable(t,void 0,!0,!0)&&(o.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!o.hasCustomCondition&&(t.tagName==="IFRAME"||t.tagName==="WEBVIEW"))return this.isVisible(t)&&s.modalizer?.userId===this._tabster.modalizer?.activeId?(o.found=!0,o.rejectElementsFrom=o.foundElement=t,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!o.ignoreAccessibility&&!this.isAccessible(t))return this.isFocusable(t,!1,!0,!0)&&(o.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let c,d=o.fromCtx;d||(d=o.fromCtx=Oe.getTabsterContext(this._tabster,o.from));const f=d?.mover;let p=s.groupper,v=s.mover;if(c=this._tabster.modalizer?.acceptElement(t,o),c!==void 0&&(o.skippedFocusable=!0),c===void 0&&(p||v||f)){const h=p?.getElement(),x=f?.getElement();let y=v?.getElement();if(y&&G.nodeContains(x,y)&&G.nodeContains(a,x)&&(!h||!v||G.nodeContains(x,h))&&(v=f,y=x),h){if(h===a||!G.nodeContains(a,h))p=void 0;else if(!G.nodeContains(h,t))return NodeFilter.FILTER_REJECT}if(y){if(!G.nodeContains(a,y))v=void 0;else if(!G.nodeContains(y,t))return NodeFilter.FILTER_REJECT}p&&v&&(y&&h&&!G.nodeContains(h,y)?v=void 0:p=void 0),p&&(c=p.acceptElement(t,o)),v&&(c=v.acceptElement(t,o))}if(c===void 0&&(c=o.acceptCondition(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,c===NodeFilter.FILTER_SKIP&&this.isFocusable(t,!1,!0,!0)&&(o.skippedFocusable=!0)),c===NodeFilter.FILTER_ACCEPT&&!o.found){if(!o.isFindAll&&zu(t)&&!t.checked){const h=t.name;let x=o.cachedRadioGroups[h];if(x||(x=rx(t),x&&(o.cachedRadioGroups[h]=x)),x?.checked&&x.checked!==t)return NodeFilter.FILTER_SKIP}o.isBackward?(o.foundBackward=t,c=NodeFilter.FILTER_SKIP):(o.found=!0,o.foundElement=t)}return c}}const Je={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};class Rm{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(t){const o=this._callbacks;o.indexOf(t)<0&&o.push(t)}subscribeFirst(t){const o=this._callbacks,i=o.indexOf(t);i>=0&&o.splice(i,1),o.unshift(t)}unsubscribe(t){const o=this._callbacks.indexOf(t);o>=0&&this._callbacks.splice(o,1)}setVal(t,o){this._val!==t&&(this._val=t,this._callCallbacks(t,o))}getVal(){return this._val}trigger(t,o){this._callCallbacks(t,o)}_callCallbacks(t,o){this._callbacks.forEach(i=>i(t,o))}}function cx(e,t){const o=e.getParent;let i=t;do{const a=bt(e,i)?.uncontrolled;if(a&&e.uncontrolled.isUncontrolledCompletely(i,!!a.completely))return i;i=o(i)}while(i)}const Fg={[Fr.Restorer]:0,[Fr.Deloser]:1,[Fr.EscapeGroupper]:2},vt=class vt extends Rm{constructor(t,o){super(),this._init=()=>{const i=this._win(),a=i.document;lt(a,Go,this._onFocusIn,!0),lt(a,Di,this._onFocusOut,!0),lt(i,"keydown",this._onKeyDown,!0);const s=G.getActiveElement(a);s&&s!==a.body&&this._setFocusedElement(s),this.subscribe(this._onChanged)},this._onFocusIn=i=>{const a=i.composedPath()[0];a&&this._setFocusedElement(a,i.detail.relatedTarget,i.detail.isFocusedProgrammatically)},this._onFocusOut=i=>{this._setFocusedElement(void 0,i.detail?.originalEvent.relatedTarget)},this._validateFocusedElement=i=>{},this._onKeyDown=i=>{if(i.key!==Je.Tab||i.ctrlKey)return;const a=this.getVal();if(!a||!a.ownerDocument||a.contentEditable==="true")return;const s=this._tabster,c=s.controlTab,d=Oe.getTabsterContext(s,a);if(!d||d.ignoreKeydown(i))return;const f=i.shiftKey,p=vt.findNextTabbable(s,d,void 0,a,void 0,f,!0),v=d.root.getElement();if(!v)return;const h=p?.element,x=cx(s,a);if(h){const y=p.uncontrolled;if(d.uncontrolled||G.nodeContains(y,a)){if(!p.outOfDOMOrder&&y===d.uncontrolled||x&&!G.nodeContains(x,h))return;En.addPhantomDummyWithTarget(s,a,f,h);return}if(y&&s.focusable.isVisible(y)||h.tagName==="IFRAME"&&s.focusable.isVisible(h)){ht(v,new uo({by:"root",owner:v,next:h,relatedEvent:i}))&&En.moveWithPhantomDummy(s,y??h,!1,f,i);return}(c||p?.outOfDOMOrder)&&ht(v,new uo({by:"root",owner:v,next:h,relatedEvent:i}))&&(i.preventDefault(),i.stopImmediatePropagation(),Br(h))}else!x&&ht(v,new uo({by:"root",owner:v,next:null,relatedEvent:i}))&&d.root.moveOutWithDefaultAction(f,i)},this._onChanged=(i,a)=>{if(i)ht(i,new bk(a));else{const s=this._lastVal?.get();if(s){const c={...a},f=Oe.getTabsterContext(this._tabster,s)?.modalizer?.userId;f&&(c.modalizerId=f),ht(s,new yk(c))}}},this._tabster=t,this._win=o,t.queueInit(this._init)}dispose(){super.dispose();const t=this._win(),o=t.document;ot(o,Go,this._onFocusIn,!0),ot(o,Di,this._onFocusOut,!0),ot(t,"keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const i=this._asyncFocus;i&&(t.clearTimeout(i.timeout),delete this._asyncFocus),delete vt._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,o){let i=vt._lastResetElement,a=i&&i.get();a&&G.nodeContains(o,a)&&delete vt._lastResetElement,a=t._nextVal?.element?.get(),a&&G.nodeContains(o,a)&&delete t._nextVal,i=t._lastVal,a=i&&i.get(),a&&G.nodeContains(o,a)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){let t=this._lastVal?.get();return(!t||t&&!qm(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(t,o,i,a){if(!this._tabster.focusable.isFocusable(t,o,!1,i))return!1;const s=typeof a=="boolean"?{preventScroll:a}:a;return t.focus(s),!0}focusDefault(t){const o=this._tabster.focusable.findDefault({container:t});return o?(this._tabster.focusedElement.focus(o),!0):!1}getFirstOrLastTabbable(t,o){const{container:i,ignoreAccessibility:a}=o;let s;if(i){const c=Oe.getTabsterContext(this._tabster,i);c&&(s=vt.findNextTabbable(this._tabster,c,i,void 0,void 0,!t,a)?.element)}return s&&!G.nodeContains(i,s)&&(s=void 0),s||void 0}_focusFirstOrLast(t,o){const i=this.getFirstOrLastTabbable(t,o);return i?(this.focus(i,!1,!0),!0):!1}focusFirst(t){return this._focusFirstOrLast(!0,t)}focusLast(t){return this._focusFirstOrLast(!1,t)}resetFocus(t){if(!this._tabster.focusable.isVisible(t))return!1;if(this._tabster.focusable.isFocusable(t,!0,!0,!0))this.focus(t);else{const o=t.getAttribute("tabindex"),i=t.getAttribute("aria-hidden");t.tabIndex=-1,t.setAttribute("aria-hidden","true"),vt._lastResetElement=new Lt(t),this.focus(t,!0,!0),this._setOrRemoveAttribute(t,"tabindex",o),this._setOrRemoveAttribute(t,"aria-hidden",i)}return!0}requestAsyncFocus(t,o,i){const a=this._tabster.getWindow(),s=this._asyncFocus;if(s){if(Fg[t]>Fg[s.source])return;a.clearTimeout(s.timeout)}this._asyncFocus={source:t,callback:o,timeout:a.setTimeout(()=>{this._asyncFocus=void 0,o()},i)}}cancelAsyncFocus(t){const o=this._asyncFocus;o?.source===t&&(this._tabster.getWindow().clearTimeout(o.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(t,o,i){i===null?t.removeAttribute(o):t.setAttribute(o,i)}_setFocusedElement(t,o,i){if(this._tabster._noop)return;const a={relatedTarget:o};if(t){const c=vt._lastResetElement?.get();if(vt._lastResetElement=void 0,c===t||Tm(t))return;a.isFocusedProgrammatically=i;const f=Oe.getTabsterContext(this._tabster,t)?.modalizer?.userId;f&&(a.modalizerId=f)}const s=this._nextVal={element:t?new Lt(t):void 0,detail:a};t&&t!==this._val&&this._validateFocusedElement(t),this._nextVal===s&&this.setVal(t,a),this._nextVal=void 0}setVal(t,o){super.setVal(t,o),t&&(this._lastVal=new Lt(t))}static findNextTabbable(t,o,i,a,s,c,d){const f=i||o.root.getElement();if(!f)return null;let p=null;const v=vt._isTabbingTimer,h=t.getWindow();v&&h.clearTimeout(v),vt.isTabbing=!0,vt._isTabbingTimer=h.setTimeout(()=>{delete vt._isTabbingTimer,vt.isTabbing=!1},0);const x=o.modalizer,y=o.groupper,k=o.mover,w=B=>{if(p=B.findNextTabbable(a,s,c,d),a&&!p?.element){const z=B!==x&&G.getParentElement(B.getElement());if(z){const C=Oe.getTabsterContext(t,a,{referenceElement:z});if(C){const _=B.getElement(),N=c?_:_&&Pm(_)||_;N&&(p=vt.findNextTabbable(t,C,i,N,z,c,d),p&&(p.outOfDOMOrder=!0))}}}};if(y&&k)w(o.groupperBeforeMover?y:k);else if(y)w(y);else if(k)w(k);else if(x)w(x);else{const B={container:f,currentElement:a,referenceElement:s,ignoreAccessibility:d,useActiveModalizer:!0},z={};p={element:t.focusable[c?"findPrev":"findNext"](B,z),outOfDOMOrder:z.outOfDOMOrder,uncontrolled:z.uncontrolled}}return p}};vt.isTabbing=!1;let vo=vt;class ux extends Rm{constructor(t){super(),this._onChange=o=>{this.setVal(o,void 0)},this._keyborg=sk(t()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),ck(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(t){this._keyborg?.setVal(t)}isNavigatingWithKeyboard(){return!!this._keyborg?.isNavigatingWithKeyboard()}}function dx(e,t,o,i){if(typeof MutationObserver>"u")return()=>{};const a=t.getWindow;let s;const c=v=>{const h=new Set;for(const x of v){const y=x.target,k=x.removedNodes,w=x.addedNodes;if(x.type==="attributes")x.attributeName===dr&&(h.has(y)||o(t,y));else{for(const B of k)h.add(B),d(B,!0),t._dummyObserver.domChanged?.(y);for(const B of w)d(B),t._dummyObserver.domChanged?.(y)}}h.clear(),t.modalizer?.hiddenUpdate()};function d(v,h){s||(s=Ml(a).elementByUId),f(v,h);const x=$u(e,v,y=>f(y,h));if(x)for(;x.nextNode(););}function f(v,h){if(!v.getAttribute)return NodeFilter.FILTER_SKIP;const x=v.__tabsterElementUID;return x&&s&&(h?delete s[x]:s[x]??=new Lt(v)),(bt(t,v)||v.hasAttribute(dr))&&o(t,v,h),NodeFilter.FILTER_SKIP}const p=G.createMutationObserver(c);return i&&d(a().document.body),p.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[dr]}),()=>{p.disconnect()}}class fx{constructor(t){this._isUncontrolledCompletely=t}isUncontrolledCompletely(t,o){const i=this._isUncontrolledCompletely?.(t,o);return i===void 0?o:i}}let px=0;const Zc="aria-hidden";class gx extends En{constructor(t,o,i){super(o,t,Ol.Modalizer,i),this._setHandlers((a,s)=>{const c=t.get(),d=c&&Oe.getRoot(o,c)?.getElement(),f=a.input;let p;if(d&&f){const v=Pn(f),h=Oe.getTabsterContext(o,v||f);h&&(p=vo.findNextTabbable(o,h,d,f,void 0,s,!0)?.element),p&&Br(p)}})}}class vx extends Qi{constructor(t,o,i,a,s,c){super(t,o,a),this._wasFocused=0,this.userId=a.id,this._onDispose=i,this._activeElements=c,t.controlTab||(this.dummyManager=new gx(this._element,t,s))}makeActive(t){if(this._isActive!==t){this._isActive=t;const o=this.getElement();if(o){const i=this._activeElements,a=i.map(s=>s.get()).indexOf(o);t?a<0&&i.push(new Lt(o)):a>=0&&i.splice(a,1)}this._dispatchEvent(t)}}focused(t){return t||(this._wasFocused=++px),this._wasFocused}setProps(t){t.id&&(this.userId=t.id),this._props={...t}}dispose(){this.makeActive(!1),this._onDispose(this),this.dummyManager?.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(t){return G.nodeContains(this.getElement(),t)}findNextTabbable(t,o,i,a){if(!this.getElement())return null;const c=this._tabster;let d=null,f=!1,p;const v=t&&Oe.getRoot(c,t)?.getElement();if(v){const h={container:v,currentElement:t,referenceElement:o,ignoreAccessibility:a,useActiveModalizer:!0},x={};d=c.focusable[i?"findPrev":"findNext"](h,x),!d&&this._props.isTrapped&&c.modalizer?.activeId?(d=c.focusable[i?"findLast":"findFirst"]({container:v,ignoreAccessibility:a,useActiveModalizer:!0},x),d===null&&(d=t),f=!0):f=!!x.outOfDOMOrder,p=x.uncontrolled}return{element:d,uncontrolled:p,outOfDOMOrder:f}}_dispatchEvent(t,o){const i=this.getElement();let a=!1;if(i){const s=o?this._activeElements.map(c=>c.get()):[i];for(const c of s)if(c){const d={id:this.userId,element:i},f=t?new kk(d):new xk(d);ht(c,f),f.defaultPrevented&&(a=!0)}}return a}_remove(){}}class mx{constructor(t,o,i){this._onModalizerDispose=s=>{const c=s.id,d=s.userId,f=this._parts[d];if(delete this._modalizers[c],f&&(delete f[c],Object.keys(f).length===0)){delete this._parts[d];const p=this._activationHistory,v=[];let h;for(let x=p.length;x--;){const y=p[x];y!==d&&y!==h&&(h=y,(y||v.length>0)&&v.unshift(y))}if(this._activationHistory=v,this.activeId===d){const x=v[0],y=x?Object.values(this._parts[x])[0]:void 0;this.setActive(y)}}},this._onKeyDown=s=>{if(s.key!==Je.Escape)return;const c=this._tabster,d=c.focusedElement.getFocusedElement();if(d){const f=Oe.getTabsterContext(c,d),p=f?.modalizer;if(f&&!f.groupper&&p?.isActive()&&!f.ignoreKeydown(s)){const v=p.userId;if(v){const h=this._parts[v];if(h){const x=Object.keys(h).map(y=>{const k=h[y],w=k.getElement();let B;return w&&(B=bt(c,w)?.groupper),k&&w&&B?{el:w,focusedSince:k.focused(!0)}:{focusedSince:0}}).filter(y=>y.focusedSince>0).sort((y,k)=>y.focusedSince>k.focusedSince?-1:y.focusedSince<k.focusedSince?1:0);if(x.length){const y=x[0].el;y&&c.groupper?.handleKeyPress(y,s,!0)}}}}}},this._onFocus=(s,c)=>{const d=this._tabster,f=s&&Oe.getTabsterContext(d,s);if(!f||!s)return;const p=this._augMap;for(let y=s;y;y=G.getParentElement(y))p.has(y)&&(p.delete(y),Yc(d,y,Zc));let v=f.modalizer;const h=bt(d,s),x=h?.modalizer;if(x&&(x.focused(),x.userId===this.activeId&&h.groupper)){const y=d.getParent(s),k=y&&Oe.getTabsterContext(d,y)?.modalizer;if(k)v=k;else{this.setActive(void 0);return}}if(v?.focused(),v?.userId===this.activeId){this.currentIsOthersAccessible=v?.getProps().isOthersAccessible;return}if(c.isFocusedProgrammatically||this.currentIsOthersAccessible||v?.getProps().isAlwaysAccessible)this.setActive(v);else{const y=this._win();y.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=y.setTimeout(()=>this._restoreModalizerFocus(s),100)}},this._tabster=t,this._win=t.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=o,this._accessibleCheck=i,this._activationHistory=[],this.activeElements=[],t.controlTab||t.root.addDummyInputs();const a=this._win();lt(a,"keydown",this._onKeyDown,!0),t.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const t=this._win();ot(t,"keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(o=>{this._modalizers[o]&&(this._modalizers[o].dispose(),delete this._modalizers[o])}),t.clearTimeout(this._restoreModalizerFocusTimer),t.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(t,o,i){const a=new vx(this._tabster,t,this._onModalizerDispose,o,i,this.activeElements),s=a.id,c=o.id;this._modalizers[s]=a;let d=this._parts[c];d||(d=this._parts[c]={}),d[s]=a;const f=this._tabster.focusedElement.getFocusedElement()??null;return t!==f&&G.nodeContains(t,f)&&(c!==this.activeId?this.setActive(a):a.makeActive(!0)),a}isAugmented(t){return this._augMap.has(t)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(t){const o=t?.userId,i=this.activeId;if(i===o)return;if(this.activeId=o,i){const s=this._parts[i];if(s)for(const c of Object.keys(s))s[c].makeActive(!1)}if(o){const s=this._parts[o];if(s)for(const c of Object.keys(s))s[c].makeActive(!0)}this.currentIsOthersAccessible=t?.getProps().isOthersAccessible,this.hiddenUpdate();const a=this._activationHistory;a[0]!==o&&(o!==void 0||a.length>0)&&a.unshift(o)}focus(t,o,i){const a=this._tabster,c=Oe.getTabsterContext(a,t)?.modalizer;if(c){this.setActive(c);const d=c.getProps(),f=c.getElement();if(f){if(o===void 0&&(o=d.isNoFocusFirst),!o&&a.keyboardNavigation.isNavigatingWithKeyboard()&&a.focusedElement.focusFirst({container:f})||(i===void 0&&(i=d.isNoFocusDefault),!i&&a.focusedElement.focusDefault(f)))return!0;a.focusedElement.resetFocus(f)}}return!1}activate(t){const o=t?Oe.getTabsterContext(this._tabster,t)?.modalizer:void 0;return!t||o?(this.setActive(o),!0):!1}acceptElement(t,o){const i=o.modalizerUserId,a=o.currentCtx?.modalizer;if(i)for(const c of this.activeElements){const d=c.get();if(d&&(G.nodeContains(t,d)||d===t))return NodeFilter.FILTER_SKIP}const s=i===a?.userId||!i&&a?.getProps().isAlwaysAccessible?void 0:NodeFilter.FILTER_SKIP;return s!==void 0&&(o.skippedFocusable=!0),s}_hiddenUpdate(){const t=this._tabster,o=t.getWindow().document.body,i=this.activeId,a=this._parts,s=[],c=[],d=this._alwaysAccessibleSelector,f=d?Array.from(G.querySelectorAll(o,d)):[],p=[];for(const B of Object.keys(a)){const z=a[B];for(const C of Object.keys(z)){const _=z[C],N=_.getElement(),T=_.getProps().isAlwaysAccessible;N&&(B===i?(p.push(N),this.currentIsOthersAccessible||s.push(N)):T?f.push(N):c.push(N))}}const v=this._augMap,h=s.length>0?[...s,...f]:void 0,x=[],y=new WeakMap,k=(B,z)=>{const C=B.tagName;if(C==="SCRIPT"||C==="STYLE")return;let _=!1;v.has(B)?z?_=!0:(v.delete(B),Yc(t,B,Zc)):z&&!this._accessibleCheck?.(B,p)&&Yc(t,B,Zc,"true")&&(v.set(B,!0),_=!0),_&&(x.push(new Lt(B)),y.set(B,!0))},w=B=>{for(let z=G.getFirstElementChild(B);z;z=G.getNextElementSibling(z)){let C=!1,_=!1,N=!1;if(h){const E=t.getParent(z);for(const T of h){if(z===T){C=!0;break}if(G.nodeContains(z,T)){_=!0;break}else G.nodeContains(T,E)&&(N=!0)}_||z.__tabsterElementFlags?.noDirectAriaHidden?w(z):!C&&!N&&k(z,!0)}else k(z,!1)}};h||f.forEach(B=>k(B,!1)),c.forEach(B=>k(B,!0)),o&&w(o),this._aug?.map(B=>B.get()).forEach(B=>{B&&!y.get(B)&&k(B,!1)}),this._aug=x,this._augMap=y}_restoreModalizerFocus(t){const o=t?.ownerDocument;if(!t||!o)return;const i=this._tabster.focusedElement.getFocusedElement(),a=i&&Oe.getTabsterContext(this._tabster,i)?.modalizer;if(!i||i&&a?.userId===this.activeId)return;const s=this._tabster,c=Oe.getTabsterContext(s,t),d=c?.modalizer,f=this.activeId;if(!d&&!f||d&&f===d.userId)return;const p=c?.root.getElement();if(p){let v=s.focusable.findFirst({container:p,useActiveModalizer:!0});if(v){if(t.compareDocumentPosition(v)&document.DOCUMENT_POSITION_PRECEDING&&(v=s.focusable.findLast({container:p,useActiveModalizer:!0}),!v))throw new Error("Something went wrong.");s.focusedElement.focus(v);return}}t.blur()}}function Fm(e,t,o){const i=e.core;if(!i.modalizer){const a=new mx(i,t,o);i.modalizer=a,i.attrHandlers.set("modalizer",(s,c,d,f,p)=>c?d.id&&f?.id!==d.id?(c.dispose(),a.createModalizer(s,d,p)):(c.setProps(d),c):a.createModalizer(s,d,p))}return i.modalizer}const hx=["input","textarea","*[contenteditable]"].join(", ");class bx extends En{constructor(t,o,i,a){super(o,t,Ol.Mover,a),this._onFocusDummyInput=s=>{const c=this._element.get(),d=s.input;if(c&&d){const f=Oe.getTabsterContext(this._tabster,c);let p;f&&(p=vo.findNextTabbable(this._tabster,f,void 0,d,void 0,!s.isFirst,!0)?.element);const v=this._getMemorized()?.get();v&&this._tabster.focusable.isFocusable(v)&&(p=v),p&&Br(p)}},this._tabster=o,this._getMemorized=i,this._setHandlers(this._onFocusDummyInput)}}const eu=1,Dg=2,Ig=3;class yx extends Qi{constructor(t,o,i,a,s){super(t,o,a),this._visible={},this._onIntersection=d=>{for(const f of d){const p=f.target,v=xl(this._win,p);let h,x=this._fullyVisible;if(f.intersectionRatio>=.25?(h=f.intersectionRatio>=.75?so.Visible:so.PartiallyVisible,h===so.Visible&&(x=v)):h=so.Invisible,this._visible[v]!==h){h===void 0?(delete this._visible[v],x===v&&delete this._fullyVisible):(this._visible[v]=h,this._fullyVisible=x);const y=this.getState(p);y&&ht(p,new jg(y))}}},this._win=t.getWindow,this.visibilityTolerance=a.visibilityTolerance??.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=i;const c=()=>a.memorizeCurrent?this._current:void 0;t.controlTab||(this.dummyManager=new bx(this._element,t,c,s))}dispose(){this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),this.dummyManager?.dispose(),delete this.dummyManager}setCurrent(t){t?this._current=new Lt(t):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{delete this._setCurrentTimer;const o=[];this._current!==this._prevCurrent&&(o.push(this._current),o.push(this._prevCurrent),this._prevCurrent=this._current);for(const i of o){const a=i?.get();if(a&&this._allElements?.get(a)===this){const s=this._props;if(a&&(s.visibilityAware!==void 0||s.trackState)){const c=this.getState(a);c&&ht(a,new jg(c))}}}}))}getCurrent(){return this._current?.get()||null}findNextTabbable(t,o,i,a){const s=this.getElement(),c=s&&Pn(t)===s;if(!s)return null;let d=null,f=!1,p;if(this._props.tabbable||c||t&&!G.nodeContains(s,t)){const v={currentElement:t,referenceElement:o,container:s,ignoreAccessibility:a,useActiveModalizer:!0},h={};d=this._tabster.focusable[i?"findPrev":"findNext"](v,h),f=!!h.outOfDOMOrder,p=h.uncontrolled}return{element:d,uncontrolled:p,outOfDOMOrder:f}}acceptElement(t,o){if(!vo.isTabbing)return o.currentCtx?.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:i,visibilityAware:a,hasDefault:s=!0}=this._props,c=this.getElement();if(c&&(i||a||s)&&(!G.nodeContains(c,o.from)||Pn(o.from)===c)){let d;if(i){const f=this._current?.get();f&&o.acceptCondition(f)&&(d=f)}if(!d&&s&&(d=this._tabster.focusable.findDefault({container:c,useActiveModalizer:!0})),!d&&a&&(d=this._tabster.focusable.findElement({container:c,useActiveModalizer:!0,isBackward:o.isBackward,acceptCondition:f=>{const p=xl(this._win,f),v=this._visible[p];return c!==f&&!!this._allElements?.get(f)&&o.acceptCondition(f)&&(v===so.Visible||v===so.PartiallyVisible&&(a===so.PartiallyVisible||!this._fullyVisible))}})),d)return o.found=!0,o.foundElement=d,o.rejectElementsFrom=c,o.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const t=this.getElement();if(this._unobserve||!t||typeof MutationObserver>"u")return;const o=this._win(),i=this._allElements=new WeakMap,a=this._tabster.focusable;let s=this._updateQueue=[];const c=G.createMutationObserver(y=>{for(const k of y){const w=k.target,B=k.removedNodes,z=k.addedNodes;if(k.type==="attributes")k.attributeName==="tabindex"&&s.push({element:w,type:Dg});else{for(let C=0;C<B.length;C++)s.push({element:B[C],type:Ig});for(let C=0;C<z.length;C++)s.push({element:z[C],type:eu})}}h()}),d=(y,k)=>{const w=i.get(y);w&&k&&(this._intersectionObserver?.unobserve(y),i.delete(y)),!w&&!k&&(i.set(y,this),this._intersectionObserver?.observe(y))},f=y=>{const k=a.isFocusable(y);i.get(y)?k||d(y,!0):k&&d(y)},p=y=>{const{mover:k}=x(y);if(k&&k!==this)if(k.getElement()===y&&a.isFocusable(y))d(y);else return;const w=$u(o.document,y,B=>{const{mover:z,groupper:C}=x(B);if(z&&z!==this)return NodeFilter.FILTER_REJECT;const _=C?.getFirst(!0);return C&&C.getElement()!==B&&_&&_!==B?NodeFilter.FILTER_REJECT:(a.isFocusable(B)&&d(B),NodeFilter.FILTER_SKIP)});if(w)for(w.currentNode=y;w.nextNode(););},v=y=>{i.get(y)&&d(y,!0);for(let w=G.getFirstElementChild(y);w;w=G.getNextElementSibling(w))v(w)},h=()=>{!this._updateTimer&&s.length&&(this._updateTimer=o.setTimeout(()=>{delete this._updateTimer;for(const{element:y,type:k}of s)switch(k){case Dg:f(y);break;case eu:p(y);break;case Ig:v(y);break}s=this._updateQueue=[]},0))},x=y=>{const k={};for(let w=y;w;w=G.getParentElement(w)){const B=bt(this._tabster,w);if(B&&(B.groupper&&!k.groupper&&(k.groupper=B.groupper),B.mover)){k.mover=B.mover;break}}return k};s.push({element:t,type:eu}),h(),c.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{c.disconnect()}}getState(t){const o=xl(this._win,t);if(o in this._visible){const i=this._visible[o]||so.Invisible;return{isCurrent:this._current?this._current.get()===t:void 0,visibility:i}}}}function wx(e,t,o,i,a,s,c,d){const f=o<a?a-o:c<e?e-c:0,p=i<s?s-i:d<t?t-d:0;return f===0?p:p===0?f:Math.sqrt(f*f+p*p)}class kx{constructor(t,o){this._init=()=>{const i=this._win();lt(i,"keydown",this._onKeyDown,!0),lt(i,xu,this._onMoveFocus),lt(i,Cg,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=i=>{delete this._movers[i.id]},this._onFocus=i=>{let a=i,s=i;for(let c=G.getParentElement(i);c;c=G.getParentElement(c)){const d=bt(this._tabster,c)?.mover;d&&(d.setCurrent(s),a=void 0),!a&&this._tabster.focusable.isFocusable(c)&&(a=s=c)}},this._onKeyDown=async i=>{if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),this._ignoredInputResolve?.(!1),i.ctrlKey||i.altKey||i.shiftKey||i.metaKey)return;const a=i.key;let s;if(a===Je.ArrowDown?s=Ye.ArrowDown:a===Je.ArrowRight?s=Ye.ArrowRight:a===Je.ArrowUp?s=Ye.ArrowUp:a===Je.ArrowLeft?s=Ye.ArrowLeft:a===Je.PageDown?s=Ye.PageDown:a===Je.PageUp?s=Ye.PageUp:a===Je.Home?s=Ye.Home:a===Je.End&&(s=Ye.End),!s)return;const c=this._tabster.focusedElement.getFocusedElement();!c||await this._isIgnoredInput(c,a)||this._moveFocus(c,s,i)},this._onMoveFocus=i=>{const a=i.composedPath()[0],s=i.detail?.key;a&&s!==void 0&&!i.defaultPrevented&&(this._moveFocus(a,s),i.stopImmediatePropagation())},this._onMemorizedElement=i=>{const a=i.composedPath()[0];let s=i.detail?.memorizedElement;if(a){const d=Oe.getTabsterContext(this._tabster,a)?.mover;d&&(s&&!G.nodeContains(d.getElement(),s)&&(s=void 0),d.setCurrent(s),i.stopImmediatePropagation())}},this._tabster=t,this._win=o,this._movers={},t.queueInit(this._init)}dispose(){const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),this._ignoredInputResolve?.(!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),ot(t,"keydown",this._onKeyDown,!0),ot(t,xu,this._onMoveFocus),ot(t,Cg,this._onMemorizedElement),Object.keys(this._movers).forEach(o=>{this._movers[o]&&(this._movers[o].dispose(),delete this._movers[o])})}createMover(t,o,i){const a=new yx(this._tabster,t,this._onMoverDispose,o,i);return this._movers[a.id]=a,a}moveFocus(t,o){return this._moveFocus(t,o)}_moveFocus(t,o,i){const a=this._tabster,s=Oe.getTabsterContext(a,t,{checkRtl:!0});if(!s||!s.mover||s.excludedFromMover||i&&s.ignoreKeydown(i))return null;const c=s.mover,d=c.getElement();if(s.groupperBeforeMover){const T=s.groupper;if(T&&!T.isActive(!0)){for(let D=G.getParentElement(T.getElement());D&&D!==d;D=G.getParentElement(D))if(bt(a,D)?.groupper?.isActive(!0))return null}else return null}if(!d)return null;const f=a.focusable,p=c.getProps(),v=p.direction||ur.Both,h=v===ur.Both,x=h||v===ur.Vertical,y=h||v===ur.Horizontal,k=v===ur.GridLinear,w=k||v===ur.Grid,B=p.cyclic;let z,C,_,N=0,E=0;if(w&&(_=t.getBoundingClientRect(),N=Math.ceil(_.left),E=Math.floor(_.right)),s.rtl&&(o===Ye.ArrowRight?o=Ye.ArrowLeft:o===Ye.ArrowLeft&&(o=Ye.ArrowRight)),o===Ye.ArrowDown&&x||o===Ye.ArrowRight&&(y||w))if(z=f.findNext({currentElement:t,container:d,useActiveModalizer:!0}),z&&w){const T=Math.ceil(z.getBoundingClientRect().left);!k&&E>T&&(z=void 0)}else!z&&B&&(z=f.findFirst({container:d,useActiveModalizer:!0}));else if(o===Ye.ArrowUp&&x||o===Ye.ArrowLeft&&(y||w))if(z=f.findPrev({currentElement:t,container:d,useActiveModalizer:!0}),z&&w){const T=Math.floor(z.getBoundingClientRect().right);!k&&T>N&&(z=void 0)}else!z&&B&&(z=f.findLast({container:d,useActiveModalizer:!0}));else if(o===Ye.Home)w?f.findElement({container:d,currentElement:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:T=>{if(!f.isFocusable(T))return!1;const D=Math.ceil(T.getBoundingClientRect().left??0);return T!==t&&N<=D?!0:(z=T,!1)}}):z=f.findFirst({container:d,useActiveModalizer:!0});else if(o===Ye.End)w?f.findElement({container:d,currentElement:t,useActiveModalizer:!0,acceptCondition:T=>{if(!f.isFocusable(T))return!1;const D=Math.ceil(T.getBoundingClientRect().left??0);return T!==t&&N>=D?!0:(z=T,!1)}}):z=f.findLast({container:d,useActiveModalizer:!0});else if(o===Ye.PageUp){if(f.findElement({currentElement:t,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:T=>f.isFocusable(T)?Eg(this._win,T,c.visibilityTolerance)?(z=T,!1):!0:!1}),w&&z){const T=Math.ceil(z.getBoundingClientRect().left);f.findElement({currentElement:z,container:d,useActiveModalizer:!0,acceptCondition:D=>{if(!f.isFocusable(D))return!1;const I=Math.ceil(D.getBoundingClientRect().left);return N<I||T>=I?!0:(z=D,!1)}})}C=!1}else if(o===Ye.PageDown){if(f.findElement({currentElement:t,container:d,useActiveModalizer:!0,acceptCondition:T=>f.isFocusable(T)?Eg(this._win,T,c.visibilityTolerance)?(z=T,!1):!0:!1}),w&&z){const T=Math.ceil(z.getBoundingClientRect().left);f.findElement({currentElement:z,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:D=>{if(!f.isFocusable(D))return!1;const I=Math.ceil(D.getBoundingClientRect().left);return N>I||T<=I?!0:(z=D,!1)}})}C=!0}else if(w){const T=o===Ye.ArrowUp,D=N,I=Math.ceil(_.top),$=E,ae=Math.floor(_.bottom);let oe,ee,V=0;f.findAll({container:d,currentElement:t,isBackward:T,onElement:re=>{const me=re.getBoundingClientRect(),W=Math.ceil(me.left),ie=Math.ceil(me.top),R=Math.floor(me.right),J=Math.floor(me.bottom);if(T&&I<J||!T&&ae>ie)return!0;const X=Math.ceil(Math.min($,R))-Math.floor(Math.max(D,W)),Be=Math.ceil(Math.min($-D,R-W));if(X>0&&Be>=X){const Q=X/Be;Q>V&&(oe=re,V=Q)}else if(V===0){const Q=wx(D,I,$,ae,W,ie,R,J);(ee===void 0||Q<ee)&&(ee=Q,oe=re)}else if(V>0)return!1;return!0}}),z=oe}return z&&(!i||i&&ht(d,new uo({by:"mover",owner:d,next:z,relatedEvent:i})))?(C!==void 0&&Qk(this._win,z,C),i&&(i.preventDefault(),i.stopImmediatePropagation()),Br(z),z):null}async _isIgnoredInput(t,o){if(t.getAttribute("aria-expanded")==="true"&&(t.hasAttribute("aria-activedescendant")||t.getAttribute("role")==="combobox"))return!0;if(Em(t,hx)){let i=0,a=0,s=0,c;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"){const d=t.type;if(s=(t.value||"").length,d==="email"||d==="number"){if(s){const p=G.getSelection(t);if(p){const v=p.toString().length,h=o===Je.ArrowLeft||o===Je.ArrowUp;if(p.modify("extend",h?"backward":"forward","character"),v!==p.toString().length)return p.modify("extend",h?"forward":"backward","character"),!0;s=0}}}else{const p=t.selectionStart;if(p===null)return d==="hidden";i=p||0,a=t.selectionEnd||0}}else t.contentEditable==="true"&&(c=new Promise(d=>{this._ignoredInputResolve=y=>{delete this._ignoredInputResolve,d(y)};const f=this._win();this._ignoredInputTimer&&f.clearTimeout(this._ignoredInputTimer);const{anchorNode:p,focusNode:v,anchorOffset:h,focusOffset:x}=G.getSelection(t)||{};this._ignoredInputTimer=f.setTimeout(()=>{delete this._ignoredInputTimer;const{anchorNode:y,focusNode:k,anchorOffset:w,focusOffset:B}=G.getSelection(t)||{};if(y!==p||k!==v||w!==h||B!==x){this._ignoredInputResolve?.(!1);return}if(i=w||0,a=B||0,s=t.textContent?.length||0,y&&k&&G.nodeContains(t,y)&&G.nodeContains(t,k)&&y!==t){let z=!1;const C=_=>{if(_===y)z=!0;else if(_===k)return!0;const N=_.textContent;if(N&&!G.getFirstChild(_)){const T=N.length;z?k!==y&&(a+=T):(i+=T,a+=T)}let E=!1;for(let T=G.getFirstChild(_);T&&!E;T=T.nextSibling)E=C(T);return E};C(t)}this._ignoredInputResolve?.(!0)},0)}));if(c&&!await c||i!==a||i>0&&(o===Je.ArrowLeft||o===Je.ArrowUp||o===Je.Home)||i<s&&(o===Je.ArrowRight||o===Je.ArrowDown||o===Je.End))return!0}return!1}}function xx(e){const t=e.core;if(!t.mover){const o=new kx(t,t.getWindow);t.mover=o,t.attrHandlers.set("mover",(i,a,s,c,d)=>a?(a.setProps(s),a):o.createMover(i,s,d))}return t.mover}class Bx extends En{constructor(t,o,i,a){super(i,t,Ol.Groupper,a,!0),this._setHandlers((s,c,d)=>{const f=t.get(),p=s.input;if(f&&p){const v=Oe.getTabsterContext(i,p);if(v){let h;h=o.findNextTabbable(d||void 0,void 0,c,!0)?.element,h||(h=vo.findNextTabbable(i,v,void 0,s.isOutside?p:ex(f,!c),void 0,c,!0)?.element),h&&Br(h)}}})}}class Sx extends Qi{constructor(t,o,i,a,s){super(t,o,a),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=i,t.controlTab||(this.dummyManager=new Bx(this._element,this,t,s))}dispose(){this._onDispose(this),this._element.get(),this.dummyManager?.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(t,o,i,a){const s=this.getElement();if(!s)return null;const c=Pn(t)===s;if(!this._shouldTabInside&&t&&G.nodeContains(s,t)&&!c)return{element:void 0,outOfDOMOrder:!0};const d=this.getFirst(!0);if(!t||!G.nodeContains(s,t)||c)return{element:d,outOfDOMOrder:!0};const f=this._tabster;let p=null,v=!1,h;if(this._shouldTabInside&&d){const x={container:s,currentElement:t,referenceElement:o,ignoreAccessibility:a,useActiveModalizer:!0},y={};p=f.focusable[i?"findPrev":"findNext"](x,y),v=!!y.outOfDOMOrder,!p&&this._props.tabbability===kl.LimitedTrapFocus&&(p=f.focusable[i?"findLast":"findFirst"]({container:s,ignoreAccessibility:a,useActiveModalizer:!0},y),v=!0),h=y.uncontrolled}return{element:p,uncontrolled:h,outOfDOMOrder:v}}makeTabbable(t){this._shouldTabInside=t||!this._props.tabbability}isActive(t){const o=this.getElement()||null;let i=!0;for(let s=G.getParentElement(o);s;s=G.getParentElement(s)){const c=bt(this._tabster,s)?.groupper;c&&(c._shouldTabInside||(i=!1))}let a=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(a&&t){const s=this._tabster.focusedElement.getFocusedElement();s&&(a=s!==this.getFirst(!0))}return a}getFirst(t){const o=this.getElement();let i;if(o){if(t&&this._tabster.focusable.isFocusable(o))return o;i=this._first?.get(),i||(i=this._tabster.focusable.findFirst({container:o,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(t){t?this._first=new Lt(t):delete this._first}acceptElement(t,o){const i=o.cachedGrouppers,a=G.getParentElement(this.getElement()),s=a&&Oe.getTabsterContext(this._tabster,a),c=s?.groupper,d=s?.groupperBeforeMover?c:void 0;let f;const p=x=>{let y=i[x.id],k;return y?k=y.isActive:(k=this.isActive(!0),y=i[x.id]={isActive:k}),k};if(d&&(f=d.getElement(),!p(d)&&f&&o.container!==f&&G.nodeContains(o.container,f)))return o.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const v=p(this),h=this.getElement();if(h&&v!==!0){if(h===t&&c&&(f||(f=c.getElement()),f&&!p(c)&&G.nodeContains(o.container,f)&&f!==o.container)||h!==t&&G.nodeContains(h,t))return o.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const x=i[this.id];let y;if("first"in x?y=x.first:y=x.first=this.getFirst(!0),y&&o.acceptCondition(y))return o.rejectElementsFrom=h,o.skippedFocusable=!0,y!==o.from?(o.found=!0,o.foundElement=y,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class zx{constructor(t,o){this._current={},this._grouppers={},this._init=()=>{const i=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const a=i.document,s=G.getActiveElement(a);s&&this._onFocus(s),lt(a,"mousedown",this._onMouseDown,!0),lt(i,"keydown",this._onKeyDown,!0),lt(i,Bu,this._onMoveFocus)},this._onGroupperDispose=i=>{delete this._grouppers[i.id]},this._onFocus=i=>{i&&this._updateCurrent(i)},this._onMouseDown=i=>{let a=i.target;for(;a&&!this._tabster.focusable.isFocusable(a);)a=this._tabster.getParent(a);a&&this._updateCurrent(a)},this._onKeyDown=i=>{if(i.key!==Je.Enter&&i.key!==Je.Escape||i.ctrlKey||i.altKey||i.shiftKey||i.metaKey)return;const a=this._tabster.focusedElement.getFocusedElement();a&&this.handleKeyPress(a,i)},this._onMoveFocus=i=>{const a=i.composedPath()[0],s=i.detail?.action;a&&s!==void 0&&!i.defaultPrevented&&(s===zl.Enter?this._enterGroupper(a):this._escapeGroupper(a),i.stopImmediatePropagation())},this._tabster=t,this._win=o,t.queueInit(this._init)}dispose(){const t=this._win();this._tabster.focusedElement.cancelAsyncFocus(Fr.EscapeGroupper),this._current={},this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),ot(t.document,"mousedown",this._onMouseDown,!0),ot(t,"keydown",this._onKeyDown,!0),ot(t,Bu,this._onMoveFocus),Object.keys(this._grouppers).forEach(o=>{this._grouppers[o]&&(this._grouppers[o].dispose(),delete this._grouppers[o])})}createGroupper(t,o,i){const a=this._tabster,s=new Sx(a,t,this._onGroupperDispose,o,i);this._grouppers[s.id]=s;const c=a.focusedElement.getFocusedElement();return c&&G.nodeContains(t,c)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,c===a.focusedElement.getFocusedElement()&&this._updateCurrent(c)},0)),s}forgetCurrentGrouppers(){this._current={}}_updateCurrent(t){this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const o=this._tabster,i={};for(let a=o.getParent(t);a;a=o.getParent(a)){const s=bt(o,a)?.groupper;if(s){i[s.id]=!0,this._current[s.id]=s;const c=s.isActive()||t!==a&&(!s.getProps().delegated||s.getFirst(!1)!==t);s.makeTabbable(c)}}for(const a of Object.keys(this._current)){const s=this._current[a];s.id in i||(s.makeTabbable(!1),s.setFirst(void 0),delete this._current[a])}}_enterGroupper(t,o){const i=this._tabster,a=Oe.getTabsterContext(i,t),s=a?.groupper||a?.modalizerInGroupper,c=s?.getElement();if(s&&c&&(t===c||s.getProps().delegated&&t===s.getFirst(!1))){const d=i.focusable.findNext({container:c,currentElement:t,useActiveModalizer:!0});if(d&&(!o||o&&ht(c,new uo({by:"groupper",owner:c,next:d,relatedEvent:o}))))return o&&(o.preventDefault(),o.stopImmediatePropagation()),d.focus(),d}return null}_escapeGroupper(t,o,i){const a=this._tabster,s=Oe.getTabsterContext(a,t);let c=s?.groupper||s?.modalizerInGroupper;const d=c?.getElement();if(c&&d&&G.nodeContains(d,t)){let f;if(t!==d||i)f=c.getFirst(!0);else{const p=G.getParentElement(d);c=(p?Oe.getTabsterContext(a,p):void 0)?.groupper,f=c?.getFirst(!0)}if(f&&(!o||o&&ht(d,new uo({by:"groupper",owner:d,next:f,relatedEvent:o}))))return c&&c.makeTabbable(!1),f.focus(),f}return null}moveFocus(t,o){return o===zl.Enter?this._enterGroupper(t):this._escapeGroupper(t)}handleKeyPress(t,o,i){const a=this._tabster,s=Oe.getTabsterContext(a,t);if(s&&(s?.groupper||s?.modalizerInGroupper)){if(a.focusedElement.cancelAsyncFocus(Fr.EscapeGroupper),s.ignoreKeydown(o))return;if(o.key===Je.Enter)this._enterGroupper(t,o);else if(o.key===Je.Escape){const c=a.focusedElement.getFocusedElement();a.focusedElement.requestAsyncFocus(Fr.EscapeGroupper,()=>{c!==a.focusedElement.getFocusedElement()&&(i&&!c||!i)||this._escapeGroupper(t,o,i)},0)}}}}function _x(e){const t=e.core;if(!t.groupper){const o=new zx(t,t.getWindow);t.groupper=o,t.attrHandlers.set("groupper",(i,a,s,c,d)=>a?(a.setProps(s),a):o.createGroupper(i,s,d))}return t.groupper}class Nx extends Qi{constructor(t,o,i){if(super(t,o,i),this._hasFocus=!1,this._onFocusOut=a=>{const s=this._element?.get();s&&a.relatedTarget===null&&ht(s,new qg),s&&!G.nodeContains(s,a.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===Xo.Source){const a=this._element?.get();lt(a,"focusout",this._onFocusOut),lt(a,"focusin",this._onFocusIn),this._hasFocus=G.nodeContains(a,a&&G.getActiveElement(a.ownerDocument))}}dispose(){if(this._props.type===Xo.Source){const t=this._element?.get();if(ot(t,"focusout",this._onFocusOut),ot(t,"focusin",this._onFocusIn),this._hasFocus){const o=this._tabster.getWindow().document;ht(o.body,new qg)}}}}const Pl=class Pl{constructor(t){this._stack=[],this._getWindow=t}push(t){this._stack[this._stack.length-1]?.get()!==t&&(this._stack.length>Pl.DEPTH&&this._stack.shift(),this._stack.push(new Lt(t)))}pop(t=()=>!0){const o=this._getWindow().document;for(let i=this._stack.length-1;i>=0;i--){const a=this._stack.pop()?.get();if(a&&G.nodeContains(o.body,G.getParentElement(a))&&t(a))return a}}};Pl.DEPTH=10;let _u=Pl;class Cx{constructor(t){this._onRestoreFocus=o=>{this._focusedElementState.cancelAsyncFocus(Fr.Restorer);const i=o.composedPath()[0];if(i){const a=bt(this._tabster,i)?.restorer?.getProps().id;this._focusedElementState.requestAsyncFocus(Fr.Restorer,()=>this._restoreFocus(i,a),0)}},this._onFocusIn=o=>{!o||bt(this._tabster,o)?.restorer?.getProps().type!==Xo.Target||this._history.push(o)},this._restoreFocus=(o,i)=>{const a=this._getWindow().document;if(G.getActiveElement(a)!==a.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&G.nodeContains(a.body,o))return;const s=c=>{const d=bt(this._tabster,c)?.restorer?.getProps();return d?d.id:null};this._history.pop(c=>i===s(c))?.focus()},this._tabster=t,this._getWindow=t.getWindow,lt(this._getWindow(),Su,this._onRestoreFocus),this._history=new _u(this._getWindow),this._keyboardNavState=t.keyboardNavigation,this._focusedElementState=t.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const t=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(Fr.Restorer),ot(t,Su,this._onRestoreFocus)}createRestorer(t,o){const i=new Nx(this._tabster,t,o);return o.type===Xo.Target&&G.getActiveElement(t.ownerDocument)===t&&this._history.push(t),i}}function Dm(e){const t=e.core;if(!t.restorer){const o=new Cx(t);t.restorer=o,t.attrHandlers.set("restorer",(i,a,s)=>a?(a.setProps(s),a):o.createRestorer(i,s))}return t.restorer}class jx{constructor(t){this.keyboardNavigation=t.keyboardNavigation,this.focusedElement=t.focusedElement,this.focusable=t.focusable,this.root=t.root,this.uncontrolled=t.uncontrolled,this.core=t}}class Tx{constructor(t,o){this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.8.1",this._noop=!1,this.attrHandlers=new Map,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=new WeakMap,this._win=t;const i=this.getWindow;o?.DOMAPI&&Uk({...o.DOMAPI}),this.keyboardNavigation=new ux(i),this.focusedElement=new vo(this,i),this.focusable=new sx(this),this.root=new Oe(this,o?.autoRoot),this.uncontrolled=new fx(o?.checkUncontrolledCompletely||o?.checkUncontrolledTrappingFocus),this.controlTab=o?.controlTab??!0,this.rootDummyInputs=!!o?.rootDummyInputs,this._dummyObserver=new ox(i),this.getParent=o?.getParent??G.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:a=>{if(!this._unobserve){const s=i().document;this._unobserve=dx(s,this,Nm,a)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(t){t&&(this.getParent=t.getParent??this.getParent)}createTabster(t,o){const i=new jx(this);return t||this._wrappers.add(i),this._mergeProps(o),i}disposeTabster(t,o){o?this._wrappers.clear():this._wrappers.delete(t),this._wrappers.size===0&&this.dispose()}dispose(){this.internal.stopObserver();const t=this._win;t?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],t&&this._forgetMemorizedTimer&&(t.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),this.outline?.dispose(),this.crossOrigin?.dispose(),this.deloser?.dispose(),this.groupper?.dispose(),this.mover?.dispose(),this.modalizer?.dispose(),this.observedElement?.dispose(),this.restorer?.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),Pg(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),t&&(Gk(t),delete t.__tabsterInstance,delete this._win)}storageEntry(t,o){const i=this._storage;let a=i.get(t);return a?o===!1&&Object.keys(a).length===0&&i.delete(t):o===!0&&(a={},i.set(t,a)),a}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let t=this._forgetMemorizedElements.shift();t;t=this._forgetMemorizedElements.shift())Pg(this.getWindow,t),vo.forgetMemorized(this.focusedElement,t)},0)))}queueInit(t){this._win&&(this._initQueue.push(t),this._initTimer||(this._initTimer=this._win?.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const t=this._initQueue;this._initQueue=[],t.forEach(o=>o())}}function qx(e,t){let o=Px(e);return o?o.createTabster(!1,t):(o=new Tx(e,t),e.__tabsterInstance=o,o.createTabster())}function Ex(e,t){e.core.disposeTabster(e,t)}function Px(e){return e.__tabsterInstance}const Rx=e=>e;function Fx(e){const t=e?.defaultView||void 0,o=t?.__tabsterShadowDOMAPI;if(t)return qx(t,{autoRoot:{},controlTab:!1,getParent:Bm,checkUncontrolledCompletely:i=>{var a;return((a=i.firstElementChild)===null||a===void 0?void 0:a.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:o})}function Zo(e=Rx){const{targetDocument:t}=je(),o=b.useRef(null);return $e(()=>{const i=Fx(t);if(i)return o.current=e(i),()=>{Ex(i),o.current=null}},[t,e]),o}const mo=e=>{Zo();const t=Uu(e,!0);return b.useMemo(()=>({[dr]:t}),[t])},Ii=(e={})=>{const{circular:t,axis:o,memorizeCurrent:i=!0,tabbable:a,ignoreDefaultKeydown:s,unstable_hasDefault:c}=e;return Zo(xx),mo({mover:{cyclic:!!t,direction:Dx(o??"vertical"),memorizeCurrent:i,tabbable:a,hasDefault:c},...s&&{focusable:{ignoreKeydown:s}}})};function Dx(e){switch(e){case"horizontal":return ur.Horizontal;case"grid":return ur.Grid;case"grid-linear":return ur.GridLinear;case"both":return ur.Both;default:return ur.Vertical}}const Xu=e=>(Zo(_x),mo({groupper:{tabbability:Ix(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),Ix=e=>{switch(e){case"unlimited":return kl.Unlimited;case"limited":return kl.Limited;case"limited-trap-focus":return kl.LimitedTrapFocus;default:return}},wo=()=>{const e=Zo(),{targetDocument:t}=je(),o=b.useCallback((d,f)=>{var p;return d&&((p=e.current)===null||p===void 0?void 0:p.focusable.findAll({container:d,acceptCondition:f}))||[]},[e]),i=b.useCallback(d=>{var f;return d&&((f=e.current)===null||f===void 0?void 0:f.focusable.findFirst({container:d}))},[e]),a=b.useCallback(d=>{var f;return d&&((f=e.current)===null||f===void 0?void 0:f.focusable.findLast({container:d}))},[e]),s=b.useCallback((d,f={})=>{if(!e.current||!t||!d)return null;const{container:p=t.body}=f;return e.current.focusable.findNext({currentElement:d,container:p})},[e,t]),c=b.useCallback((d,f={})=>{if(!e.current||!t||!d)return null;const{container:p=t.body}=f;return e.current.focusable.findPrev({currentElement:d,container:p})},[e,t]);return{findAllFocusable:o,findFirstFocusable:i,findLastFocusable:a,findNextFocusable:s,findPrevFocusable:c}};const wr=(e,t,o)=>{e.addEventListener(t,o,!0)},Zt=(e,t,o)=>{e.removeEventListener(t,o,!0)};const Mr="keyborg:focusin",Mx="keyborg:focusout",Mg=0,Og=1,Hg=2,cl=3;function Ox(e){const t=e.HTMLElement,o=t.prototype.focus;let i=!1;return t.prototype.focus=function(){i=!0},e.document.createElement("button").focus(),t.prototype.focus=o,i}let tu=!1;function Hx(e){const t=e,o=t.document,i=t.HTMLElement.prototype;tu||(tu=Ox(t));const a=i.focus;if(a.__keyborgNativeFocus)return;i.focus=v;const s=new Set,c=x=>{const y=x.target;if(!y)return;const k=new CustomEvent(Mx,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:x}});y.dispatchEvent(k)},d=x=>{const y=x.target;if(!y)return;let k=x.composedPath()[0];const w=new Set;for(;k;)k.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(w.add(k),k=k.host):k=k.parentNode;for(const B of s){const z=B.deref();(!z||!w.has(z))&&(s.delete(B),z&&(Zt(z,"focusin",d),Zt(z,"focusout",c)))}f(y,x.relatedTarget||void 0)},f=(x,y,k)=>{const w=x.shadowRoot;if(w){for(const C of s)if(C.deref()===w)return;wr(w,"focusin",d),wr(w,"focusout",c),s.add(new WeakRef(w));return}const B={relatedTarget:y,originalEvent:k},z=new CustomEvent(Mr,{cancelable:!0,bubbles:!0,composed:!0,detail:B});z.details=B,(tu||p[cl])&&(B.isFocusedProgrammatically=x===p[cl]?.deref(),p[cl]=void 0),x.dispatchEvent(z)},p=[d,c,s];t.__keyborgData=p,wr(o,"focusin",d),wr(o,"focusout",c);function v(){const x=t.__keyborgData;return x&&(x[cl]=new WeakRef(this)),a.apply(this,arguments)}let h=o.activeElement;for(;h&&h.shadowRoot;)f(h),h=h.shadowRoot.activeElement;v.__keyborgNativeFocus=a}function Ax(e){const t=e,o=t.HTMLElement.prototype,i=o.focus.__keyborgNativeFocus,a=t.__keyborgData;if(a){const s=t.document;Zt(s,"focusin",a[Mg]),Zt(s,"focusout",a[Og]);for(const c of a[Hg]){const d=c.deref();d&&(Zt(d,"focusin",a[Mg]),Zt(d,"focusout",a[Og]))}a[Hg].clear(),delete t.__keyborgData}i&&(o.focus=i)}let Lx=0;function Vx(e,t){let o=e,i=!1,a;const s=()=>{const k=o?.__keyborg?.refs;if(k)for(const w of Object.keys(k))k[w]._cb.forEach(B=>B(i))},c=k=>{i!==k&&(i=k,s())},d=k=>{if(k.key==="Tab")return!0;const w=o?.document.activeElement,B=!0,z=w&&(w.tagName==="INPUT"||w.tagName==="TEXTAREA"||w.isContentEditable);return B&&!z},f=k=>{if(a||i)return;const w=k.detail;w.relatedTarget&&(w.isFocusedProgrammatically||w.isFocusedProgrammatically===void 0||c(!0))},p=()=>{o&&(a&&o.clearTimeout(a),a=o.setTimeout(()=>{a=void 0},1e3)),c(!1)},v=k=>{k.buttons===0||k.clientX===0&&k.clientY===0&&k.screenX===0&&k.screenY===0||p()},h=k=>{i||d(k)&&c(!0)},x=e.document;return wr(x,Mr,f),wr(x,"mousedown",v),wr(e,"keydown",h),wr(x,"touchstart",p),wr(x,"touchend",p),wr(x,"touchcancel",p),Hx(e),{dispose:()=>{if(!o)return;a&&(o.clearTimeout(a),a=void 0),Ax(o);const k=o.document;Zt(k,Mr,f),Zt(k,"mousedown",v),Zt(o,"keydown",h),Zt(k,"touchstart",p),Zt(k,"touchend",p),Zt(k,"touchcancel",p),o=void 0},get isNavigatingWithKeyboard(){return i},set isNavigatingWithKeyboard(k){c(k)}}}function Gu(e,t){const o=e,i="k"+ ++Lx;let a=o,s;const c=[],d=o.__keyborg;d?s=d.core:s=Vx(o);const f={isNavigatingWithKeyboard(){return!!s?.isNavigatingWithKeyboard},subscribe(p){c.push(p)},unsubscribe(p){const v=c.indexOf(p);v>=0&&c.splice(v,1)},setVal(p){s&&(s.isNavigatingWithKeyboard=p)},_cb:c,dispose(){const p=a?.__keyborg;p?.refs[i]&&(delete p.refs[i],Object.keys(p.refs).length===0&&(p.core.dispose(),delete a.__keyborg)),c.length=0,s=void 0,a=void 0}};return d?d.refs[i]=f:o.__keyborg={core:s,refs:{[i]:f}},f}function Ku(e){e.dispose()}const Ag="data-fui-focus-visible",Im="data-fui-focus-within";function Wx(e,t){if(Mm(e))return()=>{};const o={current:void 0},i=Gu(t);function a(f){i.isNavigatingWithKeyboard()&&dt(f)&&(o.current=f,f.setAttribute(Ag,""))}function s(){o.current&&(o.current.removeAttribute(Ag),o.current=void 0)}i.subscribe(f=>{f?a(t.document.activeElement):s()});const c=f=>{s();const p=f.composedPath()[0];a(p)},d=f=>{(!f.relatedTarget||dt(f.relatedTarget)&&!e.contains(f.relatedTarget))&&s()};return e.addEventListener(Mr,c),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(t.document.activeElement)&&a(t.document.activeElement),()=>{s(),e.removeEventListener(Mr,c),e.removeEventListener("focusout",d),e.focusVisible=void 0,Ku(i)}}function Mm(e){return e?e.focusVisible?!0:Mm(e?.parentElement):!1}function en(e={}){const t=je(),o=b.useRef(null);var i;const a=(i=e.targetDocument)!==null&&i!==void 0?i:t.targetDocument;return b.useEffect(()=>{if(a?.defaultView&&o.current)return Wx(o.current,a.defaultView)},[o,a]),o}function $x(e,t){const o=Gu(t);o.subscribe(s=>{s||Lg(e)});const i=s=>{o.isNavigatingWithKeyboard()&&Vg(s.target)&&Ux(e)},a=s=>{(!s.relatedTarget||Vg(s.relatedTarget)&&!e.contains(s.relatedTarget))&&Lg(e)};return e.addEventListener(Mr,i),e.addEventListener("focusout",a),()=>{e.removeEventListener(Mr,i),e.removeEventListener("focusout",a),Ku(o)}}function Ux(e){e.setAttribute(Im,"")}function Lg(e){e.removeAttribute(Im)}function Vg(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Fn(){const{targetDocument:e}=je(),t=b.useRef(null);return b.useEffect(()=>{if(e?.defaultView&&t.current)return $x(t.current,e.defaultView)},[t,e]),t}function Qu(){const{targetDocument:e}=je(),t=b.useRef(null);return b.useEffect(()=>{const o=e?.defaultView;if(o){const i=Gu(o);return t.current=i,()=>{Ku(i),t.current=null}}},[e]),t}function Om(e){const t=Qu(),o=te(e);b.useEffect(()=>{const i=t.current;if(i){const a=s=>{o(s)};return i.subscribe(a),a(i.isNavigatingWithKeyboard()),()=>{i.unsubscribe(a)}}},[t,o])}const Xx="data-tabster-never-hide",Gx=e=>e.hasAttribute(Xx);function Kx(e){Fm(e,void 0,Gx),Dm(e)}const Hl=(e={})=>{const{trapFocus:t,alwaysFocusable:o,legacyTrapFocus:i}=e;Zo(Kx);const a=ft("modal-",e.id),s=mo({restorer:{type:Xo.Source},...t&&{modalizer:{id:a,isOthersAccessible:!t,isAlwaysAccessible:o,isTrapped:i&&t}}}),c=mo({restorer:{type:Xo.Target}});return{modalAttributes:s,triggerAttributes:c}},Yu=(...e)=>{const t=[];let o="";for(const i of e){const a=i?.[dr];a&&(t.push(a),o+=a+Qx)}return b.useMemo(()=>({[dr]:Yx(t)}),[o])},Qx="\0",Yx=e=>{if(e.length!==0)return e.length===1?e[0]:JSON.stringify(Object.assign({},...e.map(Jx)))},Jx=e=>{try{return JSON.parse(e)}catch{return{}}};function Zx(){return Zo(Dm),Uu({restorer:{type:Xo.Source}})}function eB(){const e=Qu();return b.useCallback(()=>{var t,o;return(o=(t=e.current)===null||t===void 0?void 0:t.isNavigatingWithKeyboard())!==null&&o!==void 0?o:!1},[e])}function tB(){const e=Qu();return b.useCallback(t=>{var o;(o=e.current)===null||o===void 0||o.setVal(t)},[e])}function rB(){const e=Zo(Fm),[t]=yo();return b.useCallback(i=>{t(()=>{var a;(a=e.current)===null||a===void 0||a.activate(i)},0)},[e,t])}const H={2:"#050505",4:"#0a0a0a",6:"#0f0f0f",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",30:"#4d4d4d",32:"#525252",34:"#575757",36:"#5c5c5c",38:"#616161",40:"#666666",42:"#6b6b6b",44:"#707070",46:"#757575",60:"#999999",68:"#adadad",70:"#b3b3b3",74:"#bdbdbd",78:"#c7c7c7",82:"#d1d1d1",84:"#d6d6d6",86:"#dbdbdb",88:"#e0e0e0",90:"#e6e6e6",92:"#ebebeb",94:"#f0f0f0",96:"#f5f5f5",98:"#fafafa",99:"#fcfcfc"},St={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",40:"rgba(255, 255, 255, 0.4)",50:"rgba(255, 255, 255, 0.5)",60:"rgba(255, 255, 255, 0.6)",70:"rgba(255, 255, 255, 0.7)",80:"rgba(255, 255, 255, 0.8)"},Qt={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)"},oB={50:"rgba(26, 26, 26, 0.5)"},nB={70:"rgba(31, 31, 31, 0.7)"},Wg={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},Se="#ffffff",Bl="#000000",iB={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},Hm={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},aB={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},lB={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},sB={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},cB={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},uB={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},dB={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},fB={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},pB={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},gB={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},vB={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},mB={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},hB={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},bB={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Am={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},yB={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},wB={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},kB={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},xB={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},BB={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},SB={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},zB={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},_B={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},NB={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},CB={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},jB={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},TB={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},qB={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},EB={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},PB={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},RB={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},FB={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},DB={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},IB={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},MB={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Ie={red:aB,green:Am,darkOrange:lB,yellow:fB,berry:TB,lightGreen:bB,marigold:dB},fo={darkRed:iB,cranberry:Hm,pumpkin:sB,peach:uB,gold:pB,brass:gB,brown:vB,forest:mB,seafoam:hB,darkGreen:yB,lightTeal:wB,teal:kB,steel:xB,blue:BB,royalBlue:SB,cornflower:zB,navy:_B,lavender:NB,purple:CB,grape:jB,lilac:qB,pink:EB,magenta:PB,plum:RB,beige:FB,mink:DB,platinum:IB,anchor:MB},Fe={cranberry:Hm,green:Am,orange:cB},Lm=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Vm=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],Dt={success:"green",warning:"orange",danger:"cranberry"},Yi=Lm.reduce((e,t)=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${o}Background1`]:Ie[t].tint60,[`colorPalette${o}Background2`]:Ie[t].tint40,[`colorPalette${o}Background3`]:Ie[t].primary,[`colorPalette${o}Foreground1`]:Ie[t].shade10,[`colorPalette${o}Foreground2`]:Ie[t].shade30,[`colorPalette${o}Foreground3`]:Ie[t].primary,[`colorPalette${o}BorderActive`]:Ie[t].primary,[`colorPalette${o}Border1`]:Ie[t].tint40,[`colorPalette${o}Border2`]:Ie[t].primary};return Object.assign(e,i)},{});Yi.colorPaletteYellowForeground1=Ie.yellow.shade30;Yi.colorPaletteRedForegroundInverted=Ie.red.tint20;Yi.colorPaletteGreenForegroundInverted=Ie.green.tint20;Yi.colorPaletteYellowForegroundInverted=Ie.yellow.tint40;const OB=Vm.reduce((e,t)=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${o}Background2`]:fo[t].tint40,[`colorPalette${o}Foreground2`]:fo[t].shade30,[`colorPalette${o}BorderActive`]:fo[t].primary};return Object.assign(e,i)},{}),HB={...Yi,...OB},Dn=Object.entries(Dt).reduce((e,[t,o])=>{const i=t.slice(0,1).toUpperCase()+t.slice(1),a={[`colorStatus${i}Background1`]:Fe[o].tint60,[`colorStatus${i}Background2`]:Fe[o].tint40,[`colorStatus${i}Background3`]:Fe[o].primary,[`colorStatus${i}Foreground1`]:Fe[o].shade10,[`colorStatus${i}Foreground2`]:Fe[o].shade30,[`colorStatus${i}Foreground3`]:Fe[o].primary,[`colorStatus${i}ForegroundInverted`]:Fe[o].tint30,[`colorStatus${i}BorderActive`]:Fe[o].primary,[`colorStatus${i}Border1`]:Fe[o].tint40,[`colorStatus${i}Border2`]:Fe[o].primary};return Object.assign(e,a)},{});Dn.colorStatusDangerBackground3Hover=Fe[Dt.danger].shade10;Dn.colorStatusDangerBackground3Pressed=Fe[Dt.danger].shade20;Dn.colorStatusWarningForeground1=Fe[Dt.warning].shade20;Dn.colorStatusWarningForeground3=Fe[Dt.warning].shade20;Dn.colorStatusWarningBorder2=Fe[Dt.warning].shade20;const AB=e=>({colorNeutralForeground1:H[14],colorNeutralForeground1Hover:H[14],colorNeutralForeground1Pressed:H[14],colorNeutralForeground1Selected:H[14],colorNeutralForeground2:H[26],colorNeutralForeground2Hover:H[14],colorNeutralForeground2Pressed:H[14],colorNeutralForeground2Selected:H[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:H[38],colorNeutralForeground3Hover:H[26],colorNeutralForeground3Pressed:H[26],colorNeutralForeground3Selected:H[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:H[44],colorNeutralForeground5:H[38],colorNeutralForeground5Hover:H[14],colorNeutralForeground5Pressed:H[14],colorNeutralForeground5Selected:H[14],colorNeutralForegroundDisabled:H[74],colorNeutralForegroundInvertedDisabled:St[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:H[26],colorNeutralForeground2LinkHover:H[14],colorNeutralForeground2LinkPressed:H[14],colorNeutralForeground2LinkSelected:H[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:H[14],colorNeutralForegroundStaticInverted:Se,colorNeutralForegroundInverted:Se,colorNeutralForegroundInvertedHover:Se,colorNeutralForegroundInvertedPressed:Se,colorNeutralForegroundInvertedSelected:Se,colorNeutralForegroundInverted2:Se,colorNeutralForegroundOnBrand:Se,colorNeutralForegroundInvertedLink:Se,colorNeutralForegroundInvertedLinkHover:Se,colorNeutralForegroundInvertedLinkPressed:Se,colorNeutralForegroundInvertedLinkSelected:Se,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Se,colorNeutralBackground1Hover:H[96],colorNeutralBackground1Pressed:H[88],colorNeutralBackground1Selected:H[92],colorNeutralBackground2:H[98],colorNeutralBackground2Hover:H[94],colorNeutralBackground2Pressed:H[86],colorNeutralBackground2Selected:H[90],colorNeutralBackground3:H[96],colorNeutralBackground3Hover:H[92],colorNeutralBackground3Pressed:H[84],colorNeutralBackground3Selected:H[88],colorNeutralBackground4:H[94],colorNeutralBackground4Hover:H[98],colorNeutralBackground4Pressed:H[96],colorNeutralBackground4Selected:Se,colorNeutralBackground5:H[92],colorNeutralBackground5Hover:H[96],colorNeutralBackground5Pressed:H[94],colorNeutralBackground5Selected:H[98],colorNeutralBackground6:H[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:H[92],colorNeutralBackground7Pressed:H[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:H[99],colorNeutralBackgroundInverted:H[16],colorNeutralBackgroundInvertedHover:H[24],colorNeutralBackgroundInvertedPressed:H[12],colorNeutralBackgroundInvertedSelected:H[22],colorNeutralBackgroundStatic:H[20],colorNeutralBackgroundAlpha:St[50],colorNeutralBackgroundAlpha2:St[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:H[96],colorSubtleBackgroundPressed:H[88],colorSubtleBackgroundSelected:H[92],colorSubtleBackgroundLightAlphaHover:St[70],colorSubtleBackgroundLightAlphaPressed:St[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Qt[10],colorSubtleBackgroundInvertedPressed:Qt[30],colorSubtleBackgroundInvertedSelected:Qt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:H[94],colorNeutralBackgroundDisabled2:Se,colorNeutralBackgroundInvertedDisabled:St[10],colorNeutralStencil1:H[90],colorNeutralStencil2:H[98],colorNeutralStencil1Alpha:Qt[10],colorNeutralStencil2Alpha:Qt[5],colorBackgroundOverlay:Qt[40],colorScrollbarOverlay:Qt[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Se,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:H[98],colorNeutralCardBackgroundHover:Se,colorNeutralCardBackgroundPressed:H[96],colorNeutralCardBackgroundSelected:H[92],colorNeutralCardBackgroundDisabled:H[94],colorNeutralStrokeAccessible:H[38],colorNeutralStrokeAccessibleHover:H[34],colorNeutralStrokeAccessiblePressed:H[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:H[82],colorNeutralStroke1Hover:H[78],colorNeutralStroke1Pressed:H[70],colorNeutralStroke1Selected:H[74],colorNeutralStroke2:H[88],colorNeutralStroke3:H[94],colorNeutralStroke4:H[92],colorNeutralStroke4Hover:H[88],colorNeutralStroke4Pressed:H[84],colorNeutralStroke4Selected:H[92],colorNeutralStrokeSubtle:H[88],colorNeutralStrokeOnBrand:Se,colorNeutralStrokeOnBrand2:Se,colorNeutralStrokeOnBrand2Hover:Se,colorNeutralStrokeOnBrand2Pressed:Se,colorNeutralStrokeOnBrand2Selected:Se,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:H[88],colorNeutralStrokeDisabled2:H[92],colorNeutralStrokeInvertedDisabled:St[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Qt[5],colorNeutralStrokeAlpha2:St[20],colorStrokeFocus1:Se,colorStrokeFocus2:Bl,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),Wm={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},$m={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},Um={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Xm={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Gm={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Km={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Qm={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},Ze={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Ym={spacingHorizontalNone:Ze.none,spacingHorizontalXXS:Ze.xxs,spacingHorizontalXS:Ze.xs,spacingHorizontalSNudge:Ze.sNudge,spacingHorizontalS:Ze.s,spacingHorizontalMNudge:Ze.mNudge,spacingHorizontalM:Ze.m,spacingHorizontalL:Ze.l,spacingHorizontalXL:Ze.xl,spacingHorizontalXXL:Ze.xxl,spacingHorizontalXXXL:Ze.xxxl},Jm={spacingVerticalNone:Ze.none,spacingVerticalXXS:Ze.xxs,spacingVerticalXS:Ze.xs,spacingVerticalSNudge:Ze.sNudge,spacingVerticalS:Ze.s,spacingVerticalMNudge:Ze.mNudge,spacingVerticalM:Ze.m,spacingVerticalL:Ze.l,spacingVerticalXL:Ze.xl,spacingVerticalXXL:Ze.xxl,spacingVerticalXXXL:Ze.xxxl},Zm={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},$g={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorTransparentBackground:"var(--colorTransparentBackground)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontWeightSemibold:"var(--fontWeightSemibold)",shadow16:"var(--shadow16)",shadow64:"var(--shadow64)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalM:"var(--spacingVerticalM)"};function Nl(e,t,o=""){return{[`shadow2${o}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${o}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${o}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${o}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${o}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${o}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const LB=e=>{const t=AB(e);return{...Wm,...Xm,...Gm,...Qm,...Km,...Zm,...Ym,...Jm,...Um,...$m,...t,...HB,...Dn,...Nl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Nl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},eh={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"},_r=Lm.reduce((e,t)=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${o}Background1`]:Ie[t].shade40,[`colorPalette${o}Background2`]:Ie[t].shade30,[`colorPalette${o}Background3`]:Ie[t].primary,[`colorPalette${o}Foreground1`]:Ie[t].tint30,[`colorPalette${o}Foreground2`]:Ie[t].tint40,[`colorPalette${o}Foreground3`]:Ie[t].tint20,[`colorPalette${o}BorderActive`]:Ie[t].tint30,[`colorPalette${o}Border1`]:Ie[t].primary,[`colorPalette${o}Border2`]:Ie[t].tint20};return Object.assign(e,i)},{});_r.colorPaletteRedForeground3=Ie.red.tint30;_r.colorPaletteRedBorder2=Ie.red.tint30;_r.colorPaletteGreenForeground3=Ie.green.tint40;_r.colorPaletteGreenBorder2=Ie.green.tint40;_r.colorPaletteDarkOrangeForeground3=Ie.darkOrange.tint30;_r.colorPaletteDarkOrangeBorder2=Ie.darkOrange.tint30;_r.colorPaletteRedForegroundInverted=Ie.red.primary;_r.colorPaletteGreenForegroundInverted=Ie.green.primary;_r.colorPaletteYellowForegroundInverted=Ie.yellow.shade30;const Ju=Vm.reduce((e,t)=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${o}Background2`]:fo[t].shade30,[`colorPalette${o}Foreground2`]:fo[t].tint40,[`colorPalette${o}BorderActive`]:fo[t].tint30};return Object.assign(e,i)},{});Ju.colorPaletteDarkRedBackground2=fo.darkRed.shade20;Ju.colorPalettePlumBackground2=fo.plum.shade20;const VB={..._r,...Ju},ko=Object.entries(Dt).reduce((e,[t,o])=>{const i=t.slice(0,1).toUpperCase()+t.slice(1),a={[`colorStatus${i}Background1`]:Fe[o].shade40,[`colorStatus${i}Background2`]:Fe[o].shade30,[`colorStatus${i}Background3`]:Fe[o].primary,[`colorStatus${i}Foreground1`]:Fe[o].tint30,[`colorStatus${i}Foreground2`]:Fe[o].tint40,[`colorStatus${i}Foreground3`]:Fe[o].tint20,[`colorStatus${i}BorderActive`]:Fe[o].tint30,[`colorStatus${i}ForegroundInverted`]:Fe[o].shade10,[`colorStatus${i}Border1`]:Fe[o].primary,[`colorStatus${i}Border2`]:Fe[o].tint20};return Object.assign(e,a)},{});ko.colorStatusDangerBackground3Hover=Fe[Dt.danger].shade10;ko.colorStatusDangerBackground3Pressed=Fe[Dt.danger].shade20;ko.colorStatusDangerForeground3=Fe[Dt.danger].tint40;ko.colorStatusDangerBorder2=Fe[Dt.danger].tint30;ko.colorStatusSuccessForeground3=Fe[Dt.success].tint40;ko.colorStatusSuccessBorder2=Fe[Dt.success].tint40;ko.colorStatusWarningForegroundInverted=Fe[Dt.warning].shade20;const L8=LB(eh),WB=e=>({colorNeutralForeground1:Se,colorNeutralForeground1Hover:Se,colorNeutralForeground1Pressed:Se,colorNeutralForeground1Selected:Se,colorNeutralForeground2:H[84],colorNeutralForeground2Hover:Se,colorNeutralForeground2Pressed:Se,colorNeutralForeground2Selected:Se,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:H[68],colorNeutralForeground3Hover:H[84],colorNeutralForeground3Pressed:H[84],colorNeutralForeground3Selected:H[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:H[60],colorNeutralForeground5:H[68],colorNeutralForeground5Hover:Se,colorNeutralForeground5Pressed:Se,colorNeutralForeground5Selected:Se,colorNeutralForegroundDisabled:H[36],colorNeutralForegroundInvertedDisabled:St[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:H[84],colorNeutralForeground2LinkHover:Se,colorNeutralForeground2LinkPressed:Se,colorNeutralForeground2LinkSelected:Se,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:H[14],colorNeutralForegroundStaticInverted:Se,colorNeutralForegroundInverted:H[14],colorNeutralForegroundInvertedHover:H[14],colorNeutralForegroundInvertedPressed:H[14],colorNeutralForegroundInvertedSelected:H[14],colorNeutralForegroundInverted2:H[14],colorNeutralForegroundOnBrand:Se,colorNeutralForegroundInvertedLink:Se,colorNeutralForegroundInvertedLinkHover:Se,colorNeutralForegroundInvertedLinkPressed:Se,colorNeutralForegroundInvertedLinkSelected:Se,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:H[16],colorNeutralBackground1Hover:H[24],colorNeutralBackground1Pressed:H[12],colorNeutralBackground1Selected:H[22],colorNeutralBackground2:H[12],colorNeutralBackground2Hover:H[20],colorNeutralBackground2Pressed:H[8],colorNeutralBackground2Selected:H[18],colorNeutralBackground3:H[8],colorNeutralBackground3Hover:H[16],colorNeutralBackground3Pressed:H[4],colorNeutralBackground3Selected:H[14],colorNeutralBackground4:H[4],colorNeutralBackground4Hover:H[12],colorNeutralBackground4Pressed:Bl,colorNeutralBackground4Selected:H[10],colorNeutralBackground5:Bl,colorNeutralBackground5Hover:H[8],colorNeutralBackground5Pressed:H[2],colorNeutralBackground5Selected:H[6],colorNeutralBackground6:H[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:H[10],colorNeutralBackground7Pressed:H[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:H[16],colorNeutralBackgroundInverted:Se,colorNeutralBackgroundInvertedHover:H[96],colorNeutralBackgroundInvertedPressed:H[88],colorNeutralBackgroundInvertedSelected:H[92],colorNeutralBackgroundStatic:H[24],colorNeutralBackgroundAlpha:oB[50],colorNeutralBackgroundAlpha2:nB[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:H[22],colorSubtleBackgroundPressed:H[18],colorSubtleBackgroundSelected:H[20],colorSubtleBackgroundLightAlphaHover:Wg[80],colorSubtleBackgroundLightAlphaPressed:Wg[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Qt[10],colorSubtleBackgroundInvertedPressed:Qt[30],colorSubtleBackgroundInvertedSelected:Qt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:H[8],colorNeutralBackgroundDisabled2:H[16],colorNeutralBackgroundInvertedDisabled:St[10],colorNeutralStencil1:H[34],colorNeutralStencil2:H[20],colorNeutralStencil1Alpha:St[10],colorNeutralStencil2Alpha:St[5],colorBackgroundOverlay:Qt[50],colorScrollbarOverlay:St[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Se,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:H[20],colorNeutralCardBackgroundHover:H[24],colorNeutralCardBackgroundPressed:H[18],colorNeutralCardBackgroundSelected:H[22],colorNeutralCardBackgroundDisabled:H[8],colorNeutralStrokeAccessible:H[68],colorNeutralStrokeAccessibleHover:H[74],colorNeutralStrokeAccessiblePressed:H[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:H[40],colorNeutralStroke1Hover:H[46],colorNeutralStroke1Pressed:H[42],colorNeutralStroke1Selected:H[44],colorNeutralStroke2:H[32],colorNeutralStroke3:H[24],colorNeutralStroke4:H[24],colorNeutralStroke4Hover:H[18],colorNeutralStroke4Pressed:H[14],colorNeutralStroke4Selected:H[24],colorNeutralStrokeSubtle:H[4],colorNeutralStrokeOnBrand:H[16],colorNeutralStrokeOnBrand2:Se,colorNeutralStrokeOnBrand2Hover:Se,colorNeutralStrokeOnBrand2Pressed:Se,colorNeutralStrokeOnBrand2Selected:Se,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:H[26],colorNeutralStrokeDisabled2:H[24],colorNeutralStrokeInvertedDisabled:St[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:St[10],colorNeutralStrokeAlpha2:St[20],colorStrokeFocus1:Bl,colorStrokeFocus2:Se,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),$B=e=>{const t=WB(e);return{...Wm,...Xm,...Gm,...Qm,...Km,...Zm,...Ym,...Jm,...Um,...$m,...t,...VB,...ko,...Nl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Nl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},V8=$B(eh),th={root:"fui-FluentProvider"},UB=hy({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),XB=e=>{const t=Qv(),o=UB({dir:e.dir,renderer:t});return e.root.className=A(th.root,e.themeClassName,o.root,e.root.className),e},GB=b.useInsertionEffect?b.useInsertionEffect:$e,KB=(e,t)=>{if(!e?.head)return;const o=e.createElement("style");return Object.keys(t).forEach(i=>{o.setAttribute(i,t[i])}),e.head.appendChild(o),o},QB=(e,t)=>{const o=e.sheet;o&&(o.cssRules.length>0&&o.deleteRule(0),o.insertRule(t,0))},YB=e=>{const{targetDocument:t,theme:o,rendererAttributes:i}=e,a=b.useRef(void 0),s=ft(th.root),c=i,d=b.useMemo(()=>Vy(`.${s}`,o),[o,s]);return JB(t,s),GB(()=>{const f=t?.getElementById(s);return f?a.current=f:(a.current=KB(t,{...c,id:s}),a.current&&QB(a.current,d)),()=>{var p;(p=a.current)===null||p===void 0||p.remove()}},[s,t,d,c]),{styleTagId:s,rule:d}};function JB(e,t){b.useState(()=>{if(!e)return;const o=e.getElementById(t);o&&e.head.append(o)})}const ZB={},eS={},tS=(e,t)=>{const o=je(),i=rS(),a=Ui(),s=b.useContext(Vu)||ZB,{applyStylesToPortals:c=!0,customStyleHooks_unstable:d,dir:f=o.dir,targetDocument:p=o.targetDocument,theme:v,overrides_unstable:h={}}=e,x=ru(i,v),y=ru(a,h),k=ru(s,d),w=Qv();var B;const{styleTagId:z,rule:C}=YB({theme:x,targetDocument:p,rendererAttributes:(B=w.styleElementAttributes)!==null&&B!==void 0?B:eS});return{applyStylesToPortals:c,customStyleHooks_unstable:k,dir:f,targetDocument:p,theme:x,overrides_unstable:y,themeClassName:z,components:{root:"div"},root:se(Te("div",{...e,dir:f,ref:_e(t,en({targetDocument:p}))}),{elementType:"div"}),serverStyleProps:{cssRule:C,attributes:{...w.styleElementAttributes,id:z}}}};function ru(e,t){return e&&t?{...e,...t}:e||t}function rS(){return b.useContext(lm)}function oS(e){const{applyStylesToPortals:t,customStyleHooks_unstable:o,dir:i,root:a,targetDocument:s,theme:c,themeClassName:d,overrides_unstable:f}=e,p=b.useMemo(()=>({dir:i,targetDocument:s}),[i,s]),[v]=b.useState(()=>({})),h=b.useMemo(()=>({textDirection:i}),[i]);return{customStyleHooks_unstable:o,overrides_unstable:f,provider:p,textDirection:i,iconDirection:h,tooltip:v,theme:c,themeClassName:t?a.className:d}}const nS=b.forwardRef((e,t)=>{const o=tS(e,t);XB(o);const i=oS(o);return tk(o,i)});nS.displayName="FluentProvider";var ou={exports:{}},nu={};var Ug;function iS(){return Ug||(Ug=1,(function(e){function t(W,ie){var R=W.length;W.push(ie);e:for(;0<R;){var J=R-1>>>1,X=W[J];if(0<a(X,ie))W[J]=ie,W[R]=X,R=J;else break e}}function o(W){return W.length===0?null:W[0]}function i(W){if(W.length===0)return null;var ie=W[0],R=W.pop();if(R!==ie){W[0]=R;e:for(var J=0,X=W.length,Be=X>>>1;J<Be;){var Q=2*(J+1)-1,fe=W[Q],qe=Q+1,ce=W[qe];if(0>a(fe,R))qe<X&&0>a(ce,fe)?(W[J]=ce,W[qe]=R,J=qe):(W[J]=fe,W[Q]=R,J=Q);else if(qe<X&&0>a(ce,R))W[J]=ce,W[qe]=R,J=qe;else break e}}return ie}function a(W,ie){var R=W.sortIndex-ie.sortIndex;return R!==0?R:W.id-ie.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],p=[],v=1,h=null,x=3,y=!1,k=!1,w=!1,B=!1,z=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function N(W){for(var ie=o(p);ie!==null;){if(ie.callback===null)i(p);else if(ie.startTime<=W)i(p),ie.sortIndex=ie.expirationTime,t(f,ie);else break;ie=o(p)}}function E(W){if(w=!1,N(W),!k)if(o(f)!==null)k=!0,T||(T=!0,ee());else{var ie=o(p);ie!==null&&me(E,ie.startTime-W)}}var T=!1,D=-1,I=5,$=-1;function ae(){return B?!0:!(e.unstable_now()-$<I)}function oe(){if(B=!1,T){var W=e.unstable_now();$=W;var ie=!0;try{e:{k=!1,w&&(w=!1,C(D),D=-1),y=!0;var R=x;try{t:{for(N(W),h=o(f);h!==null&&!(h.expirationTime>W&&ae());){var J=h.callback;if(typeof J=="function"){h.callback=null,x=h.priorityLevel;var X=J(h.expirationTime<=W);if(W=e.unstable_now(),typeof X=="function"){h.callback=X,N(W),ie=!0;break t}h===o(f)&&i(f),N(W)}else i(f);h=o(f)}if(h!==null)ie=!0;else{var Be=o(p);Be!==null&&me(E,Be.startTime-W),ie=!1}}break e}finally{h=null,x=R,y=!1}ie=void 0}}finally{ie?ee():T=!1}}}var ee;if(typeof _=="function")ee=function(){_(oe)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,re=V.port2;V.port1.onmessage=oe,ee=function(){re.postMessage(null)}}else ee=function(){z(oe,0)};function me(W,ie){D=z(function(){W(e.unstable_now())},ie)}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(W){W.callback=null},e.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<W?Math.floor(1e3/W):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(W){switch(x){case 1:case 2:case 3:var ie=3;break;default:ie=x}var R=x;x=ie;try{return W()}finally{x=R}},e.unstable_requestPaint=function(){B=!0},e.unstable_runWithPriority=function(W,ie){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var R=x;x=W;try{return ie()}finally{x=R}},e.unstable_scheduleCallback=function(W,ie,R){var J=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?J+R:J):R=J,W){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=R+X,W={id:v++,callback:ie,priorityLevel:W,startTime:R,expirationTime:X,sortIndex:-1},R>J?(W.sortIndex=R,t(p,W),o(f)===null&&W===o(p)&&(w?(C(D),D=-1):w=!0,me(E,R-J))):(W.sortIndex=X,t(f,W),k||y||(k=!0,T||(T=!0,ee()))),W},e.unstable_shouldYield=ae,e.unstable_wrapCallback=function(W){var ie=x;return function(){var R=x;x=ie;try{return W.apply(this,arguments)}finally{x=R}}}})(nu)),nu}var Xg;function aS(){return Xg||(Xg=1,ou.exports=iS()),ou.exports}var Gg=aS();const lS=e=>o=>{const i=b.useRef(o.value),a=b.useRef(null);return a.current||(a.current={value:i,listeners:[]}),$e(()=>{i.current=o.value,Gg.unstable_runWithPriority(Gg.unstable_NormalPriority,()=>{a.current.listeners.forEach(s=>{s(o.value)})})},[o.value]),b.createElement(e,{value:a.current},o.children)},xo=e=>{const t=b.createContext({value:{current:e},listeners:[],isDefault:!0});return t.Provider=lS(t.Provider),delete t.Consumer,t},tn=(e,t)=>{const o=b.useContext(e),{value:i,listeners:a}=o,s=t(i.current),[,c]=b.useReducer(p=>p+1,0),d=b.useRef(t),f=b.useRef(s);return $e(()=>{d.current=t,f.current=s}),$e(()=>{const p=v=>{try{const h=d.current(v);Object.is(f.current,h)||c()}catch{}};return a.push(p),p(i.current),()=>{const v=a.indexOf(p);v!==-1&&a.splice(v,1)}},[a,i]),s};function In(e){return!b.useContext(e).isDefault}const sS="Shift",Dr="Enter",er=" ",rh="Tab",Mi="ArrowDown",Ji="ArrowLeft",Zi="ArrowRight",Pi="ArrowUp",Zu="End",ed="Home",oh="PageDown",nh="PageUp",cS="Backspace",uS="Delete",Bo="Escape";function Ko(e,t){const{disabled:o,disabledFocusable:i=!1,["aria-disabled"]:a,onClick:s,onKeyDown:c,onKeyUp:d,...f}=t??{},p=typeof a=="string"?a==="true":a,v=o||i||p,h=te(k=>{v?(k.preventDefault(),k.stopPropagation()):s?.(k)}),x=te(k=>{if(c?.(k),k.isDefaultPrevented())return;const w=k.key;if(v&&(w===Dr||w===er)){k.preventDefault(),k.stopPropagation();return}if(w===er){k.preventDefault();return}else w===Dr&&(k.preventDefault(),k.currentTarget.click())}),y=te(k=>{if(d?.(k),k.isDefaultPrevented())return;const w=k.key;if(v&&(w===Dr||w===er)){k.preventDefault(),k.stopPropagation();return}w===er&&(k.preventDefault(),k.currentTarget.click())});if(e==="button"||e===void 0)return{...f,disabled:o&&!i,"aria-disabled":i?!0:p,onClick:i?void 0:h,onKeyUp:i?void 0:d,onKeyDown:i?void 0:c};{const k=!!f.href;let w=k?void 0:"button";!w&&v&&(w="link");const B={role:w,tabIndex:i||!k&&!o?0:void 0,...f,onClick:h,onKeyUp:y,onKeyDown:x,"aria-disabled":v};return e==="a"&&v&&(B.href=void 0),B}}const Ft=()=>{},dS={controller:{active:Ft,blur:Ft,find:Ft,first:Ft,focus:Ft,focusLastActive:Ft,scrollActiveIntoView:Ft,last:Ft,next:Ft,prev:Ft,showAttributes:Ft,hideAttributes:Ft,showFocusVisibleAttributes:Ft,hideFocusVisibleAttributes:Ft}},td=b.createContext(void 0),rd=td.Provider,ih=()=>{var e;return(e=b.useContext(td))!==null&&e!==void 0?e:dS},fS=()=>!!b.useContext(td);function pS(e){const{matchOption:t}=e,{targetDocument:o}=je(),i=b.useRef(null),a=b.useRef(null),s=b.useCallback(f=>dt(f)&&t(f)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[t]),c=b.useCallback(f=>{f&&o?(a.current=f,i.current=o.createTreeWalker(f,NodeFilter.SHOW_ELEMENT,s)):(a.current=null,i.current=null)},[o,s]);return{optionWalker:b.useMemo(()=>({first:()=>!i.current||!a.current?null:(i.current.currentNode=a.current,i.current.firstChild()),last:()=>!i.current||!a.current?null:(i.current.currentNode=a.current,i.current.lastChild()),next:()=>i.current?i.current.nextNode():null,prev:()=>i.current?i.current.previousNode():null,find:(f,p)=>{if(!i.current||!a.current)return null;const v=p?o?.getElementById(p):null;i.current.currentNode=v??a.current;let h=i.current.currentNode;for(;h&&!f(h.id);)h=i.current.nextNode();return h},setCurrent:f=>{i.current&&(i.current.currentNode=f)}}),[o]),listboxCallbackRef:c}}const Kg="data-activedescendant",Cn="data-activedescendant-focusvisible",Qg=e=>{if(!e)return;const t=ah(e.parentElement);if(!t)return;const{offsetHeight:o}=e,i=lh(e,t),{scrollMarginTop:a,scrollMarginBottom:s}=gS(e),{offsetHeight:c,scrollTop:d}=t,f=i-a<d,p=i+o+s>d+c,v=2;f?t.scrollTo(0,i-a-v):p&&t.scrollTo(0,i+o+s-c+v)},ah=e=>e?e.scrollHeight>e.offsetHeight?e:ah(e.parentElement):null,lh=(e,t)=>!e||e===t?0:e.contains(t)?t.offsetTop*-1:e.offsetTop+lh(e.offsetParent,t),gS=e=>{var t;const o=(t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView;if(!o)return{scrollMarginTop:0,scrollMarginBottom:0};const i=o.getComputedStyle(e);var a;const s=(a=ul(i.scrollMarginTop))!==null&&a!==void 0?a:ul(i.scrollMarginBlockStart);var c;const d=(c=ul(i.scrollMarginBottom))!==null&&c!==void 0?c:ul(i.scrollMarginBlockEnd);return{scrollMarginTop:s,scrollMarginBottom:d}},ul=e=>e?parseInt(e,10):0,vS=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function od(e){const{imperativeRef:t,matchOption:o}=e,i=b.useRef(!1),a=b.useRef(!0),s=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=b.useRef(!0),p=b.useCallback(()=>{var N;(N=d.current)===null||N===void 0||N.removeAttribute("aria-activedescendant")},[]),v=b.useCallback(N=>{if(N&&(s.current=N),f.current&&s.current){var E;(E=d.current)===null||E===void 0||E.setAttribute("aria-activedescendant",s.current)}},[]);Om(N=>{i.current=N;const E=w();E&&(N&&a.current?E.setAttribute(Cn,""):E.removeAttribute(Cn))});const h=te(o),x=b.useRef(null),{optionWalker:y,listboxCallbackRef:k}=pS({matchOption:h}),w=b.useCallback(()=>{var N;return(N=x.current)===null||N===void 0?void 0:N.querySelector(`#${s.current}`)},[x]),B=b.useCallback(N=>{a.current=N;const E=w();E&&(N&&i.current?E.setAttribute(Cn,""):E.removeAttribute(Cn))},[w]),z=b.useCallback(()=>{const N=w();N&&(N.removeAttribute(Kg),N.removeAttribute(Cn)),p(),c.current=s.current,s.current=null;var E;return(E=N?.id)!==null&&E!==void 0?E:null},[w,p]),C=b.useCallback(N=>{if(!N)return;const E=z();Qg(N),v(N.id),N.setAttribute(Kg,""),i.current&&a.current&&N.setAttribute(Cn,"");const T=vS({id:N.id,previousId:E});N.dispatchEvent(T)},[z,v]),_=b.useMemo(()=>({first:({passive:N}={})=>{const E=y.first();return N||C(E),E?.id},last:({passive:N}={})=>{const E=y.last();return N||C(E),E?.id},next:({passive:N}={})=>{const E=w();if(!E)return;y.setCurrent(E);const T=y.next();return N||C(T),T?.id},prev:({passive:N}={})=>{const E=w();if(!E)return;y.setCurrent(E);const T=y.prev();return N||C(T),T?.id},blur:()=>{z()},active:()=>{var N;return(N=w())===null||N===void 0?void 0:N.id},focus:N=>{if(!x.current)return;const E=x.current.querySelector(`#${N}`);E&&C(E)},focusLastActive:()=>{if(!x.current||!c.current)return;const N=x.current.querySelector(`#${c.current}`);if(N)return C(N),!0},find(N,{passive:E,startFrom:T}={}){const D=y.find(N,T);return E||C(D),D?.id},scrollActiveIntoView:()=>{if(!x.current)return;const N=w();N&&Qg(N)},showAttributes(){f.current=!0,v()},hideAttributes(){f.current=!1,p()},showFocusVisibleAttributes(){B(!0)},hideFocusVisibleAttributes(){B(!1)}}),[y,x,v,p,C,z,w,B]);return b.useImperativeHandle(t,()=>_),{listboxRef:_e(x,k),activeParentRef:d,controller:_}}const mS={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},hS={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},Pe={...mS,...hS};function bS(e){if(e.playState==="running"){var t;if(e.overallProgress!==void 0){var o;const d=(o=e.overallProgress)!==null&&o!==void 0?o:0;return d>0&&d<1}var i;const s=Number((i=e.currentTime)!==null&&i!==void 0?i:0);var a;const c=Number((a=(t=e.effect)===null||t===void 0?void 0:t.getTiming().duration)!==null&&a!==void 0?a:0);return s>0&&s<c}return!1}const yS={fill:"forwards"},wS={duration:1};function kS(e){return{set playbackRate(t){e.forEach(o=>{o.playbackRate=t})},setMotionEndCallbacks(t,o){const i=e.map(a=>new Promise((s,c)=>{a.onfinish=()=>s(),a.oncancel=()=>c()}));Promise.all(i).then(()=>{t()}).catch(()=>{o()})},isRunning(){return e.some(t=>bS(t))},dispose:()=>{e.length=0},cancel:()=>{e.forEach(t=>{t.cancel()})},pause:()=>{e.forEach(t=>{t.pause()})},play:()=>{e.forEach(t=>{t.play()})},finish:()=>{e.forEach(t=>{t.finish()})},reverse:()=>{e.forEach(t=>{t.reverse()})}}}function xS(){var e;const t=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return b.useCallback((o,i,a)=>{const s=Array.isArray(i)?i:[i],{isReducedMotion:c}=a,d=s.map(f=>{const{keyframes:p,reducedMotion:v=wS,...h}=f,{keyframes:x=p,...y}=v,k=c?x:p,w={...yS,...h,...c&&y};try{const z=o.animate(k,w);if(t)z?.persist();else{const C=k[k.length-1];var B;Object.assign((B=o.style)!==null&&B!==void 0?B:{},C)}return z}catch{return null}}).filter(f=>!!f);return kS(d)},[t])}function sh(){return xS()}function ch(e){const t=b.useRef(void 0);return b.useImperativeHandle(e,()=>({setPlayState:o=>{if(o==="running"){var i;(i=t.current)===null||i===void 0||i.play()}if(o==="paused"){var a;(a=t.current)===null||a===void 0||a.pause()}},setPlaybackRate:o=>{t.current&&(t.current.playbackRate=o)}})),t}const BS="screen and (prefers-reduced-motion: reduce)";function uh(){const{targetDocument:e}=je();var t;const o=(t=e?.defaultView)!==null&&t!==void 0?t:null,i=b.useRef(!1),a=b.useCallback(()=>i.current,[]);return $e(()=>{if(o===null||typeof o.matchMedia!="function")return;const s=o.matchMedia(BS);s.matches&&(i.current=!0);const c=d=>{i.current=d.matches};return s.addEventListener("change",c),()=>{s.removeEventListener("change",c)}},[o]),a}const SS=["@fluentui/react-motion: Invalid child element.",`
9
+ `,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function dh(e,t=!0){const o=b.useRef(null);b.useEffect(()=>{},[t]);try{const i=b.Children.only(e);if(b.isValidElement(i))return[b.cloneElement(i,{ref:_e(o,Gi(i))}),o]}catch{}throw new Error(SS)}const fh=b.createContext(void 0);fh.Provider;const ph=()=>{var e;return(e=b.useContext(fh))!==null&&e!==void 0?e:"default"},zS=Symbol("MOTION_DEFINITION");function Nu(e){return Object.assign(o=>{const{children:i,imperativeRef:a,onMotionFinish:s,onMotionStart:c,onMotionCancel:d,replayKey:f,...p}=o,v=p,[h,x]=dh(i),y=ch(a),k=b.useRef(!0),w=ph()==="skip",B=b.useRef({skipMotions:w,params:v}),z=sh(),C=uh(),_=te(()=>{c?.(null)}),N=te(()=>{s?.(null)}),E=te(()=>{d?.(null)}),T=b.useCallback(D=>{_(),D.setMotionEndCallbacks(N,E),B.current.skipMotions&&D.finish()},[_,N,E]);return $e(()=>{B.current={skipMotions:w,params:v}}),$e(()=>{const D=x.current;if(D){const I=typeof e=="function"?e({element:D,...B.current.params}):e,$=z(D,I,{isReducedMotion:C()});return y.current=$,T($),()=>{$.cancel()}}},[z,x,y,C,T]),$e(()=>{if(k.current)return;const D=y.current;D&&(D.cancel(),D.play(),T(D))},[f]),$e(()=>(k.current=!1,()=>{k.current=!0}),[]),h},{[zS]:typeof e=="function"?e:()=>e})}const gh=b.createContext(void 0);gh.Provider;function _S(e=!1,t=!1){const o=b.useRef(t?e:!0),i=Ow(),a=b.useCallback(s=>{o.current!==s&&(o.current=s,i())},[i]);return b.useEffect(()=>{e&&(o.current=e)}),[e||o.current,a]}const vh=Symbol("PRESENCE_MOTION_DEFINITION"),NS=Symbol.for("interruptablePresence");function So(e){return Object.assign(t=>{const i={...b.useContext(gh),...t},a=ph()==="skip",{appear:s,children:c,imperativeRef:d,onExit:f,onMotionFinish:p,onMotionStart:v,onMotionCancel:h,visible:x,unmountOnExit:y,...k}=i,w=k,[B,z]=_S(x,y),[C,_]=dh(c,B),N=ch(d),E=b.useRef({appear:s,params:w,skipMotions:a}),T=sh(),D=Wu(),I=uh(),$=te(ee=>{v?.(null,{direction:ee})}),ae=te(ee=>{p?.(null,{direction:ee}),ee==="exit"&&y&&(z(!1),f?.())}),oe=te(ee=>{h?.(null,{direction:ee})});return $e(()=>{E.current={appear:s,params:w,skipMotions:a}}),$e(()=>{const ee=_.current;if(!ee)return;let V;function re(){V&&(W&&V.isRunning()||(V.cancel(),N.current=void 0))}const me=typeof e=="function"?e({element:ee,...E.current.params}):e,W=me[NS];if(W&&(V=N.current,V&&V.isRunning()))return V.reverse(),re;const ie=x?me.enter:me.exit,R=x?"enter":"exit",J=!E.current.appear&&D,X=E.current.skipMotions;return J||$(R),V=T(ee,ie,{isReducedMotion:I()}),J?(V.finish(),re):(N.current=V,V.setMotionEndCallbacks(()=>ae(R),()=>oe(R)),X&&V.finish(),re)},[T,_,N,I,ae,$,oe,x]),b.useEffect(()=>{if(y&&!B){var ee;(ee=N.current)===null||ee===void 0||ee.dispose()}},[N,y,B]),B?C:null},{[vh]:typeof e=="function"?e:()=>e},{In:Nu(typeof e=="function"?(...t)=>e(...t).enter:e.enter),Out:Nu(typeof e=="function"?(...t)=>e(...t).exit:e.exit)})}function CS(e,t){return i=>e({...t,...i})}function ea(e,t){const o=e[vh],i=CS(o,t);return So(i)}const nd=b.createContext(void 0);function Al(){return b.useContext(nd)}const Ll=b.forwardRef((e,t)=>b.createElement(nd.Provider,{value:t},e.children));Ll.displayName="MotionRefForwarder";const mh=e=>b.createElement(nd.Provider,{value:void 0},e.children);mh.displayName="MotionRefForwarderReset";function jS(e,t){const{as:o,children:i,...a}=e??{};if(e===null){const c=(d,f)=>b.createElement(b.Fragment,null,f.children);return{[Uo]:c,[go]:t.elementType}}const s={...t.defaultProps,...a,[go]:t.elementType};return typeof i=="function"&&(s[Uo]=i),s}function Vl(e,t){const{as:o,children:i,...a}=e??{};if(e===null){const c=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,d=(f,p)=>c?null:b.createElement(b.Fragment,null,p.children);return{[Uo]:d,[go]:t.elementType}}const s={...t.defaultProps,...a,[go]:t.elementType};return typeof i=="function"&&(s[Uo]=i),s}const ho=({direction:e,duration:t,easing:o=Pe.curveLinear,delay:i=0,outOpacity:a=0,inOpacity:s=1})=>{const c=[{opacity:a},{opacity:s}];return e==="exit"&&c.reverse(),{keyframes:c,duration:t,easing:o,delay:i,fill:"both"}},TS=({duration:e=Pe.durationNormal,easing:t=Pe.curveEasyEase,delay:o=0,exitDuration:i=e,exitEasing:a=t,exitDelay:s=o,outOpacity:c=0,inOpacity:d=1})=>({enter:ho({direction:"enter",duration:e,easing:t,delay:o,outOpacity:c,inOpacity:d}),exit:ho({direction:"exit",duration:i,easing:a,delay:s,outOpacity:c,inOpacity:d})}),hh=So(TS);ea(hh,{duration:Pe.durationFast});const qS=ea(hh,{duration:Pe.durationGentle}),Yg=({direction:e,duration:t,easing:o=Pe.curveLinear,delay:i=0,outScale:a=.9,inScale:s=1})=>{const c=[{scale:a},{scale:s}];return e==="exit"&&c.reverse(),{keyframes:c,duration:t,easing:o,delay:i}},ES=({duration:e=Pe.durationGentle,easing:t=Pe.curveDecelerateMax,delay:o=0,exitDuration:i=Pe.durationNormal,exitEasing:a=Pe.curveAccelerateMax,exitDelay:s=o,outScale:c=.9,inScale:d=1,animateOpacity:f=!0})=>{const p=[Yg({direction:"enter",duration:e,easing:t,delay:o,outScale:c,inScale:d})],v=[Yg({direction:"exit",duration:i,easing:a,delay:s,outScale:c,inScale:d})];return f&&(p.push(ho({direction:"enter",duration:e,easing:t,delay:o})),v.push(ho({direction:"exit",duration:i,easing:a,delay:s}))),{enter:p,exit:v}},id=So(ES);ea(id,{duration:Pe.durationNormal,exitDuration:Pe.durationFast});ea(id,{duration:Pe.durationSlow,exitDuration:Pe.durationGentle});const bh=({direction:e,duration:t,easing:o=Pe.curveLinear,delay:i=0,outX:a="0px",outY:s="0px",inX:c="0px",inY:d="0px"})=>({keyframes:[{translate:`${a} ${s}`},{translate:`${c} ${d}`}],duration:t,easing:o,delay:i}),PS=(e,t)=>{const{shape:o="circular",size:i="medium",appearance:a="filled",color:s="brand",...c}=e;return{...RS(c,t),shape:o,size:i,appearance:a,color:s}},RS=(e,t)=>{const{iconPosition:o="before"}=e;return{iconPosition:o,components:{root:"div",icon:"span"},root:se(Te("div",{ref:t,...e}),{elementType:"div"}),icon:we(e.icon,{elementType:"span"})}},Jg={root:"fui-Badge",icon:"fui-Badge__icon"},FS=be("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),DS=U({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),IS=be("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),MS=U({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),OS=e=>{const t=FS(),o=DS(),i=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=A(Jg.root,t,i&&o.fontSmallToTiny,o[e.size],o[e.shape],e.shape==="rounded"&&i&&o.roundedSmallToTiny,e.appearance==="ghost"&&o.borderGhost,o[e.appearance],o[`${e.appearance}-${e.color}`],e.root.className);const a=IS(),s=MS();if(e.icon){let c;b.Children.toArray(e.root.children).length>0&&(e.size==="extra-large"?c=e.iconPosition==="after"?s.afterTextXL:s.beforeTextXL:c=e.iconPosition==="after"?s.afterText:s.beforeText),e.icon.className=A(Jg.icon,a,c,s[e.size],e.icon.className)}return e},HS=e=>Ce(e.root,{children:[e.iconPosition==="before"&&e.icon&&L(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&L(e.icon,{})]}),AS=b.forwardRef((e,t)=>{const o=PS(e,t);return OS(o),he("useBadgeStyles_unstable")(o),HS(o)});AS.displayName="Badge";const LS=b.createContext(void 0),VS=LS.Provider;function WS(e){const t=e.clientX,o=e.clientY,i=t+1,a=o+1;function s(){return{left:t,top:o,right:i,bottom:a,x:t,y:o,height:1,width:1}}return{getBoundingClientRect:s}}const Zg="data-popper-is-intersecting",ev="data-popper-escaped",tv="data-popper-reference-hidden",$S="data-popper-placement",Cu="fui-positioningend",Cl="--fui-positioning-slide-direction-x",jl="--fui-positioning-slide-direction-y";function US(e){const t=e.split("-")[0];let o=0,i=1;return t==="right"?(o=-1,i=0):t==="bottom"?(o=0,i=-1):t==="left"&&(o=1,i=0),{x:o,y:i}}function yh(e){const{targetDocument:t,onPositioningEnd:o}=e,i=te(a=>{o?.(a);const s=a.target,c=a.detail.placement;if(!dt(s))return;const{x:d,y:f}=US(c);s.style.setProperty(Cl,`${d}px`),s.style.setProperty(jl,`${f}px`)});return b.useEffect(()=>{var a,s,c;const d=(c=t==null||(s=t.defaultView)===null||s===void 0||(a=s.CSS)===null||a===void 0?void 0:a.registerProperty)!==null&&c!==void 0?c:()=>{};try{d({name:Cl,syntax:"<length>",inherits:!1,initialValue:"0px"}),d({name:jl,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[t]),i}const XS=({options:e})=>e,wh=b.createContext(void 0);wh.Provider;const GS=()=>{var e;return(e=b.useContext(wh))!==null&&e!==void 0?e:XS},KS=["top","right","bottom","left"],Qo=Math.min,po=Math.max,Tl=Math.round,Ir=e=>({x:e,y:e}),QS={left:"right",right:"left",bottom:"top",top:"bottom"};function kh(e,t,o){return po(e,Qo(t,o))}function Or(e,t){return typeof e=="function"?e(t):e}function bo(e){return e.split("-")[0]}function Mn(e){return e.split("-")[1]}function ad(e){return e==="x"?"y":"x"}function ld(e){return e==="y"?"height":"width"}function kr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function sd(e){return ad(kr(e))}function YS(e,t,o){o===void 0&&(o=!1);const i=Mn(e),a=sd(e),s=ld(a);let c=a==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=ql(c)),[c,ql(c)]}function JS(e){const t=ql(e);return[ju(e),t,ju(t)]}function ju(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const rv=["left","right"],ov=["right","left"],ZS=["top","bottom"],e2=["bottom","top"];function t2(e,t,o){switch(e){case"top":case"bottom":return o?t?ov:rv:t?rv:ov;case"left":case"right":return t?ZS:e2;default:return[]}}function r2(e,t,o,i){const a=Mn(e);let s=t2(bo(e),o==="start",i);return a&&(s=s.map(c=>c+"-"+a),t&&(s=s.concat(s.map(ju)))),s}function ql(e){const t=bo(e);return QS[t]+e.slice(t.length)}function o2(e){var t,o,i,a;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(i=e.bottom)!=null?i:0,left:(a=e.left)!=null?a:0}}function xh(e){return typeof e!="number"?o2(e):{top:e,right:e,bottom:e,left:e}}function El(e){const{x:t,y:o,width:i,height:a}=e;return{width:i,height:a,top:o,left:t,right:t+i,bottom:o+a,x:t,y:o}}function nv(e,t,o){let{reference:i,floating:a}=e;const s=kr(t),c=sd(t),d=ld(c),f=bo(t),p=s==="y",v=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2,x=i[d]/2-a[d]/2;let y;switch(f){case"top":y={x:v,y:i.y-a.height};break;case"bottom":y={x:v,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:h};break;case"left":y={x:i.x-a.width,y:h};break;default:y={x:i.x,y:i.y}}const k=Mn(t);return k&&(y[c]+=x*(k==="end"?1:-1)*(o&&p?-1:1)),y}async function Bh(e,t){var o;t===void 0&&(t={});const{x:i,y:a,platform:s,rects:c,elements:d,strategy:f}=e,{boundary:p="clippingAncestors",rootBoundary:v="viewport",elementContext:h="floating",altBoundary:x=!1,padding:y=0}=Or(t,e),k=xh(y),B=d[x?h==="floating"?"reference":"floating":h],z=El(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(B)))==null||o?B:B.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:p,rootBoundary:v,strategy:f})),C=h==="floating"?{x:i,y:a,width:c.floating.width,height:c.floating.height}:c.reference,_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),N=await(s.isElement==null?void 0:s.isElement(_))&&await(s.getScale==null?void 0:s.getScale(_))||{x:1,y:1},E=El(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:C,offsetParent:_,strategy:f}):C);return{top:(z.top-E.top+k.top)/N.y,bottom:(E.bottom-z.bottom+k.bottom)/N.y,left:(z.left-E.left+k.left)/N.x,right:(E.right-z.right+k.right)/N.x}}const n2=50,i2=async(e,t,o)=>{const{placement:i="bottom",strategy:a="absolute",middleware:s=[],platform:c}=o,d=c.detectOverflow?c:{...c,detectOverflow:Bh},f=await(c.isRTL==null?void 0:c.isRTL(t));let p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:v,y:h}=nv(p,i,f),x=i,y=0;const k={};for(let w=0;w<s.length;w++){const B=s[w];if(!B)continue;const{name:z,fn:C}=B,{x:_,y:N,data:E,reset:T}=await C({x:v,y:h,initialPlacement:i,placement:x,strategy:a,middlewareData:k,rects:p,platform:d,elements:{reference:e,floating:t}});v=_??v,h=N??h,k[z]={...k[z],...E},T&&y<n2&&(y++,typeof T=="object"&&(T.placement&&(x=T.placement),T.rects&&(p=T.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):T.rects),{x:v,y:h}=nv(p,x,f)),w=-1)}return{x:v,y:h,placement:x,strategy:a,middlewareData:k}},a2=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:i,placement:a,rects:s,platform:c,elements:d,middlewareData:f}=t,{element:p,padding:v=0}=Or(e,t)||{};if(p==null)return{};const h=xh(v),x={x:o,y:i},y=sd(a),k=ld(y),w=await c.getDimensions(p),B=y==="y",z=B?"top":"left",C=B?"bottom":"right",_=B?"clientHeight":"clientWidth",N=s.reference[k]+s.reference[y]-x[y]-s.floating[k],E=x[y]-s.reference[y],T=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p));let D=T?T[_]:0;(!D||!await(c.isElement==null?void 0:c.isElement(T)))&&(D=d.floating[_]||s.floating[k]);const I=N/2-E/2,$=D/2-w[k]/2-1,ae=Qo(h[z],$),oe=Qo(h[C],$),ee=D-w[k]-oe,V=D/2-w[k]/2+I,re=kh(ae,V,ee),me=!f.arrow&&Mn(a)!=null&&V!==re&&s.reference[k]/2-(V<ae?ae:oe)-w[k]/2<0,W=me?V<ae?V-ae:V-ee:0;return{[y]:x[y]+W,data:{[y]:re,centerOffset:V-re-W,...me&&{alignmentOffset:W}},reset:me}}}),l2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,i;const{placement:a,middlewareData:s,rects:c,initialPlacement:d,platform:f,elements:p}=t,{mainAxis:v=!0,crossAxis:h=!0,fallbackPlacements:x,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:w=!0,...B}=Or(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const z=bo(a),C=kr(d),_=bo(d)===d,N=await(f.isRTL==null?void 0:f.isRTL(p.floating)),E=x||(_||!w?[ql(d)]:JS(d)),T=k!=="none";!x&&T&&E.push(...r2(d,w,k,N));const D=[d,...E],I=await f.detectOverflow(t,B),$=[];let ae=((i=s.flip)==null?void 0:i.overflows)||[];if(v&&$.push(I[z]),h){const re=YS(a,c,N);$.push(I[re[0]],I[re[1]])}if(ae=[...ae,{placement:a,overflows:$}],!$.every(re=>re<=0)){var oe,ee;const re=(((oe=s.flip)==null?void 0:oe.index)||0)+1,me=D[re];if(me&&(!(h==="alignment"?C!==kr(me):!1)||ae.every(R=>kr(R.placement)===C?R.overflows[0]>0:!0)))return{data:{index:re,overflows:ae},reset:{placement:me}};let W=(ee=ae.filter(ie=>ie.overflows[0]<=0).sort((ie,R)=>ie.overflows[1]-R.overflows[1])[0])==null?void 0:ee.placement;if(!W)switch(y){case"bestFit":{var V;const ie=(V=ae.filter(R=>{if(T){const J=kr(R.placement);return J===C||J==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(J=>J>0).reduce((J,X)=>J+X,0)]).sort((R,J)=>R[1]-J[1])[0])==null?void 0:V[0];ie&&(W=ie);break}case"initialPlacement":W=d;break}if(a!==W)return{reset:{placement:W}}}return{}}}};function iv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function av(e){return KS.some(t=>e[t]>=0)}const s2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:o,platform:i}=t,{strategy:a="referenceHidden",...s}=Or(e,t);switch(a){case"referenceHidden":{const c=await i.detectOverflow(t,{...s,elementContext:"reference"}),d=iv(c,o.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:av(d)}}}case"escaped":{const c=await i.detectOverflow(t,{...s,altBoundary:!0}),d=iv(c,o.floating);return{data:{escapedOffsets:d,escaped:av(d)}}}default:return{}}}}},Sh=new Set(["left","top"]);async function c2(e,t){const{placement:o,platform:i,elements:a}=e,s=await(i.isRTL==null?void 0:i.isRTL(a.floating)),c=bo(o),d=Mn(o),f=kr(o)==="y",p=Sh.has(c)?-1:1,v=s&&f?-1:1,h=Or(t,e);let{mainAxis:x,crossAxis:y,alignmentAxis:k}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return d&&typeof k=="number"&&(y=d==="end"?k*-1:k),f?{x:y*v,y:x*p}:{x:x*p,y:y*v}}const u2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,i;const{x:a,y:s,placement:c,middlewareData:d}=t,f=await c2(t,e);return c===((o=d.offset)==null?void 0:o.placement)&&(i=d.arrow)!=null&&i.alignmentOffset?{}:{x:a+f.x,y:s+f.y,data:{...f,placement:c}}}}},d2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:i,placement:a,platform:s}=t,{mainAxis:c=!0,crossAxis:d=!1,limiter:f={fn:C=>{let{x:_,y:N}=C;return{x:_,y:N}}},...p}=Or(e,t),v={x:o,y:i},h=await s.detectOverflow(t,p),x=kr(a),y=ad(x);let k=v[y],w=v[x];const B=(C,_)=>kh(_+h[C==="y"?"top":"left"],_,_-h[C==="y"?"bottom":"right"]);c&&(k=B(y,k)),d&&(w=B(x,w));const z=f.fn({...t,[y]:k,[x]:w});return{...z,data:{x:z.x-o,y:z.y-i,enabled:{[y]:c,[x]:d}}}}}},f2=function(e){return e===void 0&&(e={}),{options:e,fn(t){var o,i;const{x:a,y:s,placement:c,rects:d,middlewareData:f}=t,{offset:p=0,mainAxis:v=!0,crossAxis:h=!0}=Or(e,t),x={x:a,y:s},y=kr(c),k=ad(y);let w=x[k],B=x[y];const z=Or(p,t),C=typeof z=="number"?{mainAxis:z,crossAxis:0}:{mainAxis:(o=z.mainAxis)!=null?o:0,crossAxis:(i=z.crossAxis)!=null?i:0};if(v){const E=k==="y"?"height":"width",T=d.reference[k]-d.floating[E]+C.mainAxis,D=d.reference[k]+d.reference[E]-C.mainAxis;w<T?w=T:w>D&&(w=D)}if(h){var _,N;const E=k==="y"?"width":"height",T=Sh.has(bo(c)),D=d.reference[y]-d.floating[E]+(T&&((_=f.offset)==null?void 0:_[y])||0)+(T?0:C.crossAxis),I=d.reference[y]+d.reference[E]+(T?0:((N=f.offset)==null?void 0:N[y])||0)-(T?C.crossAxis:0);B<D?B=D:B>I&&(B=I)}return{[k]:w,[y]:B}}}},p2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:i,platform:a,elements:s}=t,{apply:c=()=>{},...d}=Or(e,t),f=await a.detectOverflow(t,d),p=bo(o),v=Mn(o),h=kr(o)==="y",{width:x,height:y}=i.floating;let k,w;p==="top"||p==="bottom"?(k=p,w=v===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(w=p,k=v==="end"?"top":"bottom");const B=y-f.top-f.bottom,z=x-f.left-f.right,C=Qo(y-f[k],B),_=Qo(x-f[w],z),N=t.middlewareData.shift,E=!N;let T=C,D=_;N!=null&&N.enabled.x&&(D=z),N!=null&&N.enabled.y&&(T=B),E&&!v&&(h?D=x-2*po(f.left,f.right):T=y-2*po(f.top,f.bottom)),await c({...t,availableWidth:D,availableHeight:T});const I=await a.getDimensions(s.floating);return x!==I.width||y!==I.height?{reset:{rects:!0}}:{}}}};function Wl(){return typeof window<"u"}function On(e){return zh(e)?(e.nodeName||"").toLowerCase():"#document"}function Vt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function zo(e){var t;return(t=(zh(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zh(e){return Wl()?e instanceof Node||e instanceof Vt(e).Node:!1}function Sr(e){return Wl()?e instanceof Element||e instanceof Vt(e).Element:!1}function _o(e){return Wl()?e instanceof HTMLElement||e instanceof Vt(e).HTMLElement:!1}function lv(e){return!Wl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Vt(e).ShadowRoot}function $l(e){const{overflow:t,overflowX:o,overflowY:i,display:a}=zr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&a!=="inline"&&a!=="contents"}function g2(e){return/^(table|td|th)$/.test(On(e))}function Ul(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const v2=/transform|translate|scale|rotate|perspective|filter/,m2=/paint|layout|strict|content/,Vo=e=>!!e&&e!=="none";let iu;function cd(e){const t=Sr(e)?zr(e):e;return Vo(t.transform)||Vo(t.translate)||Vo(t.scale)||Vo(t.rotate)||Vo(t.perspective)||!ud()&&(Vo(t.backdropFilter)||Vo(t.filter))||v2.test(t.willChange||"")||m2.test(t.contain||"")}function h2(e){let t=Yo(e);for(;_o(t)&&!Oi(t);){if(cd(t))return t;if(Ul(t))return null;t=Yo(t)}return null}function ud(){return iu==null&&(iu=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),iu}function Oi(e){return/^(html|body|#document)$/.test(On(e))}function zr(e){return Vt(e).getComputedStyle(e)}function Xl(e){return Sr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Yo(e){if(On(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lv(e)&&e.host||zo(e);return lv(t)?t.host:t}function _h(e){const t=Yo(e);return Oi(t)?(e.ownerDocument||e).body:_o(t)&&$l(t)?t:_h(t)}function Nh(e,t,o){var i;t===void 0&&(t=[]);const a=_h(e),s=a===((i=e.ownerDocument)==null?void 0:i.body),c=Vt(a);return s?(Tu(c),t.concat(c,c.visualViewport||[],$l(a)?a:[],[])):t.concat(a,Nh(a,[]))}function Tu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ch(e){const t=zr(e);let o=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=_o(e),s=a?e.offsetWidth:o,c=a?e.offsetHeight:i,d=Tl(o)!==s||Tl(i)!==c;return d&&(o=s,i=c),{width:o,height:i,$:d}}function jh(e){return Sr(e)?e:e.contextElement}function qn(e){const t=jh(e);if(!_o(t))return Ir(1);const o=t.getBoundingClientRect(),{width:i,height:a,$:s}=Ch(t);let c=(s?Tl(o.width):o.width)/i,d=(s?Tl(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const b2=Ir(0);function Th(e){const t=Vt(e);return!ud()||!t.visualViewport?b2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function y2(e,t,o){return t===void 0&&(t=!1),!!o&&t&&o===Vt(e)}function Hi(e,t,o,i){t===void 0&&(t=!1),o===void 0&&(o=!1);const a=e.getBoundingClientRect(),s=jh(e);let c=Ir(1);t&&(i?Sr(i)&&(c=qn(i)):c=qn(e));const d=y2(s,o,i)?Th(s):Ir(0);let f=(a.left+d.x)/c.x,p=(a.top+d.y)/c.y,v=a.width/c.x,h=a.height/c.y;if(s&&i){const x=Vt(s),y=Sr(i)?Vt(i):i;let k=x,w=Tu(k);for(;w&&y!==k;){const B=qn(w),z=w.getBoundingClientRect(),C=zr(w),_=z.left+(w.clientLeft+parseFloat(C.paddingLeft))*B.x,N=z.top+(w.clientTop+parseFloat(C.paddingTop))*B.y;f*=B.x,p*=B.y,v*=B.x,h*=B.y,f+=_,p+=N,k=Vt(w),w=Tu(k)}}return El({width:v,height:h,x:f,y:p})}function Gl(e,t){const o=Xl(e).scrollLeft;return t?t.left+o:Hi(zo(e)).left+o}function qh(e,t){const o=e.getBoundingClientRect(),i=o.left+t.scrollLeft-Gl(e,o),a=o.top+t.scrollTop;return{x:i,y:a}}function w2(e){let{elements:t,rect:o,offsetParent:i,strategy:a}=e;const s=a==="fixed",c=zo(i),d=t?Ul(t.floating):!1;if(i===c||d&&s)return o;let f={scrollLeft:0,scrollTop:0},p=Ir(1);const v=Ir(0),h=_o(i);if((h||!s)&&((On(i)!=="body"||$l(c))&&(f=Xl(i)),h)){const y=Hi(i);p=qn(i),v.x=y.x+i.clientLeft,v.y=y.y+i.clientTop}const x=c&&!h&&!s?qh(c,f):Ir(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-f.scrollLeft*p.x+v.x+x.x,y:o.y*p.y-f.scrollTop*p.y+v.y+x.y}}function k2(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function x2(e){const t=Xl(e),o=e.ownerDocument.body,i=po(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=po(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-t.scrollLeft+Gl(e);const c=-t.scrollTop;return zr(o).direction==="rtl"&&(s+=po(e.clientWidth,o.clientWidth)-i),{width:i,height:a,x:s,y:c}}const B2=25;function S2(e,t,o){o===void 0&&(o="viewport");const i=o==="layoutViewport",a=Vt(e),s=zo(e),c=a.visualViewport;let d=s.clientWidth,f=s.clientHeight,p=0,v=0;if(c){const x=!ud()||t==="fixed";i?x||(p=-c.offsetLeft,v=-c.offsetTop):(d=c.width,f=c.height,x&&(p=c.offsetLeft,v=c.offsetTop))}if(Gl(s)<=0){const x=s.ownerDocument,y=x.body,k=getComputedStyle(y),w=x.compatMode==="CSS1Compat"&&parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0,B=Math.abs(s.clientWidth-y.clientWidth-w),z=getComputedStyle(s).scrollbarGutter==="stable both-edges"?B/2:B;z<=B2&&(d-=z)}return{width:d,height:f,x:p,y:v}}function z2(e,t){const o=Hi(e,!0,t==="fixed"),i=o.top+e.clientTop,a=o.left+e.clientLeft,s=qn(e),c=e.clientWidth*s.x,d=e.clientHeight*s.y,f=a*s.x,p=i*s.y;return{width:c,height:d,x:f,y:p}}function sv(e,t,o){let i;if(t==="viewport"||t==="layoutViewport")i=S2(e,o,t);else if(t==="document")i=x2(zo(e));else if(Sr(t))i=z2(t,o);else{const a=Th(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return El(i)}function _2(e,t){const o=t.get(e);if(o)return o;let i=Nh(e,[]).filter(d=>Sr(d)&&On(d)!=="body"),a=null;const s=zr(e).position==="fixed";let c=s?Yo(e):e;for(;Sr(c)&&!Oi(c);){const d=zr(c),f=cd(c),p=a?a.position:s?"fixed":"";!f&&(p==="fixed"||p==="absolute"&&d.position==="static")?i=i.filter(h=>h!==c):a=d,c=Yo(c)}return t.set(e,i),i}function N2(e){let{element:t,boundary:o,rootBoundary:i,strategy:a}=e;const c=[...o==="clippingAncestors"?Ul(t)?[]:_2(t,this._c):[].concat(o),i],d=sv(t,c[0],a);let f=d.top,p=d.right,v=d.bottom,h=d.left;for(let x=1;x<c.length;x++){const y=sv(t,c[x],a);f=po(y.top,f),p=Qo(y.right,p),v=Qo(y.bottom,v),h=po(y.left,h)}return{width:p-h,height:v-f,x:h,y:f}}function C2(e){const{width:t,height:o}=Ch(e);return{width:t,height:o}}function j2(e,t,o){const i=_o(t),a=zo(t),s=o==="fixed",c=Hi(e,!0,s,t);let d={scrollLeft:0,scrollTop:0};const f=Ir(0);if((i||!s)&&((On(t)!=="body"||$l(a))&&(d=Xl(t)),i)){const x=Hi(t,!0,s,t);f.x=x.x+t.clientLeft,f.y=x.y+t.clientTop}!i&&a&&(f.x=Gl(a));const p=a&&!i&&!s?qh(a,d):Ir(0),v=c.left+d.scrollLeft-f.x-p.x,h=c.top+d.scrollTop-f.y-p.y;return{x:v,y:h,width:c.width,height:c.height}}function au(e){return zr(e).position==="static"}function cv(e,t){if(!_o(e)||zr(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return zo(e)===o&&(o=o.ownerDocument.body),o}function Eh(e,t){const o=Vt(e);if(Ul(e))return o;if(!_o(e)){let a=Yo(e);for(;a&&!Oi(a);){if(Sr(a)&&!au(a))return a;a=Yo(a)}return o}let i=cv(e,t);for(;i&&g2(i)&&au(i);)i=cv(i,t);return i&&Oi(i)&&au(i)&&!cd(i)?o:i||h2(e)||o}const T2=async function(e){const t=this.getOffsetParent||Eh,o=this.getDimensions,i=await o(e.floating);return{reference:j2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function q2(e){return zr(e).direction==="rtl"}const E2={convertOffsetParentRelativeRectToViewportRelativeRect:w2,getDocumentElement:zo,getClippingRect:N2,getOffsetParent:Eh,getElementRects:T2,getClientRects:k2,getDimensions:C2,getScale:qn,isElement:Sr,isRTL:q2},P2=Bh,R2=u2,F2=d2,D2=l2,I2=p2,uv=s2,M2=a2,dv=f2,O2=(e,t,o)=>{const i=new Map,a=o??{},s={...E2,...a.platform,_c:i};return i2(e,t,{...a,platform:s})};function Ph(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const H2=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,A2=e=>{var t;if(e.nodeType!==1)return{};const o=(t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return o?o.getComputedStyle(e,null):{}},Kl=e=>{const t=e&&H2(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:o,overflowX:i,overflowY:a}=A2(t);return/(auto|scroll|overlay)/.test(o+a+i)?t:Kl(t)},L2=e=>{var t;const o=Kl(e);return o?o!==((t=o.ownerDocument)===null||t===void 0?void 0:t.body):!1};function dd(e,t){if(t==="window")return e?.ownerDocument.documentElement;if(t==="clippingParents")return"clippingAncestors";if(t==="scrollParent"){let o=Kl(e);return o.nodeName==="BODY"&&(o=e?.ownerDocument.documentElement),o}return t}function Rh(e,t){return typeof e=="number"||typeof e=="object"&&e!==null?lu(e,t):typeof e=="function"?o=>{const i=e(o);return lu(i,t)}:{mainAxis:t}}const lu=(e,t)=>{if(typeof e=="number")return{mainAxis:e+t};var o;return{...e,mainAxis:((o=e.mainAxis)!==null&&o!==void 0?o:0)+t}};function Fh(e,t){if(typeof e=="number")return e;const{start:o,end:i,...a}=e,s=a,c=t?"end":"start",d=t?"start":"end";return e[c]&&(s.left=e[c]),e[d]&&(s.right=e[d]),s}const V2=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),W2=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),$2=(e,t)=>{const o=e==="above"||e==="below",i=t==="top"||t==="bottom";return o&&i||!o&&!i},Dh=(e,t,o)=>{const i=$2(t,e)?"center":e,a=t&&V2(o)[t],s=i&&W2()[i];return a&&s?`${a}-${s}`:a},U2=()=>({top:"above",bottom:"below",right:"after",left:"before"}),X2=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},G2=e=>{const{side:t,alignment:o}=Ph(e),i=U2()[t],a=o&&X2(i)[o];return{position:i,alignment:a}},K2={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 Hn(e){return e==null?{}:typeof e=="string"?K2[e]:e}function su(e,t,o){const i=b.useRef(!0),[a]=b.useState(()=>({value:e,callback:t,facade:{get current(){return a.value},set current(s){const c=a.value;c!==s&&(a.value=s,a.callback(s,c))}}}));return $e(()=>{i.current=!1},[]),a.callback=t,a.facade}function Q2(e){let t;return()=>(t||(t=new Promise(o=>{Promise.resolve().then(()=>{t=void 0,o(e())})})),t)}function Y2(e){const{arrow:t,middlewareData:o}=e;if(!o.arrow||!t)return;const{x:i,y:a}=o.arrow;Object.assign(t.style,{left:i!=null?`${i}px`:"",top:a!=null?`${a}px`:""})}function J2(e){var t,o,i;const{container:a,placement:s,middlewareData:c,strategy:d,lowPPI:f,coordinates:p,useTransform:v=!0}=e;if(!a)return;a.setAttribute($S,s),a.removeAttribute(Zg),c.intersectionObserver.intersecting&&a.setAttribute(Zg,""),a.removeAttribute(ev),!((t=c.hide)===null||t===void 0)&&t.escaped&&a.setAttribute(ev,""),a.removeAttribute(tv),!((o=c.hide)===null||o===void 0)&&o.referenceHidden&&a.setAttribute(tv,"");const h=((i=a.ownerDocument.defaultView)===null||i===void 0?void 0:i.devicePixelRatio)||1,x=Math.round(p.x*h)/h,y=Math.round(p.y*h)/h;if(Object.assign(a.style,{position:d}),v){Object.assign(a.style,{transform:f?`translate(${x}px, ${y}px)`:`translate3d(${x}px, ${y}px, 0)`});return}Object.assign(a.style,{left:`${x}px`,top:`${y}px`})}const Z2=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 fv(e){const t=[];let o=e;for(;o;){const i=Kl(o);if(e.ownerDocument.body===i){t.push(i);break}if(i.nodeName==="BODY"&&i!==e.ownerDocument.body)break;t.push(i),o=i}return t}function ez(e,t){return new e.ResizeObserver(t)}function tz(e){const{clientWidth:t,clientHeight:o}=e.ownerDocument.documentElement;return t===0&&o===0}function rz(e){let t=!1;const{container:o,target:i,arrow:a,strategy:s,middleware:c,placement:d,useTransform:f=!0,disableUpdateOnResize:p=!1}=e,v=o.ownerDocument.defaultView;if(!i||!o||!v)return{updatePosition:()=>{},dispose:()=>{}};const h=p?null:ez(v,z=>{z.every(_=>_.contentRect.width>0&&_.contentRect.height>0)&&w()});let x=!0;const y=new Set;Object.assign(o.style,{position:"fixed",left:0,top:0,margin:0});const k=()=>{t||(x&&(fv(o).forEach(z=>y.add(z)),dt(i)&&fv(i).forEach(z=>y.add(z)),y.forEach(z=>{z.addEventListener("scroll",w,{passive:!0})}),h?.observe(o),dt(i)&&h?.observe(i),x=!1),Object.assign(o.style,{position:s}),O2(i,o,{placement:d,middleware:c,strategy:s}).then(({x:z,y:C,middlewareData:_,placement:N})=>{var E,T;if(t)return;const D=tz(o)?{..._,hide:{..._.hide,escaped:!1,referenceHidden:!1}}:_;Y2({arrow:a,middlewareData:D}),J2({container:o,middlewareData:D,placement:N,coordinates:{x:z,y:C},lowPPI:(v?.devicePixelRatio||1)<=1,strategy:s,useTransform:f});var I,$;o.dispatchEvent(new CustomEvent(Cu,{detail:{placement:N,escaped:(I=(E=D.hide)===null||E===void 0?void 0:E.escaped)!==null&&I!==void 0?I:!1,referenceHidden:($=(T=D.hide)===null||T===void 0?void 0:T.referenceHidden)!==null&&$!==void 0?$:!1}}))}).catch(z=>{}))},w=Q2(()=>k()),B=()=>{t=!0,v&&(v.removeEventListener("scroll",w),v.removeEventListener("resize",w)),y.forEach(z=>{z.removeEventListener("scroll",w)}),y.clear(),h?.disconnect()};return v&&(v.addEventListener("scroll",w,{passive:!0}),v.addEventListener("resize",w)),w(),{updatePosition:w,dispose:B}}function oz(){return{name:"coverTarget",fn:e=>{const{placement:t,rects:o,x:i,y:a}=e,s=Ph(t).side,c={x:i,y:a};switch(s){case"bottom":c.y-=o.reference.height;break;case"top":c.y+=o.reference.height;break;case"left":c.x+=o.reference.width;break;case"right":c.x-=o.reference.width;break}return c}}}function nz(e){const{hasScrollableElement:t,flipBoundary:o,container:i,fallbackPositions:a=[],isRtl:s}=e,c=a.reduce((d,f)=>{const{position:p,align:v}=Hn(f),h=Dh(v,p,s);return h&&d.push(h),d},[]);return D2({...t&&{boundary:"clippingAncestors"},...o&&{altBoundary:!0,boundary:dd(i,o)},fallbackStrategy:"bestFit",...c.length&&{fallbackPlacements:c}})}function iz(){return{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,o=await P2(e,{altBoundary:!0}),i=o.top<t.height&&o.top>0,a=o.bottom<t.height&&o.bottom>0;return{data:{intersecting:i||a}}}}}const az=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:o}){var i;if(!((i=t.resetMaxSize)===null||i===void 0)&&i.maxSizeAlreadyReset)return{};const{applyMaxWidth:a,applyMaxHeight:s}=e;return a&&(o.floating.style.removeProperty("box-sizing"),o.floating.style.removeProperty("max-width"),o.floating.style.removeProperty("width")),s&&(o.floating.style.removeProperty("box-sizing"),o.floating.style.removeProperty("max-height"),o.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function lz(e,t){const{container:o,overflowBoundary:i,overflowBoundaryPadding:a,isRtl:s}=t;return I2({...a&&{padding:Fh(a,s)},...i&&{altBoundary:!0,boundary:dd(o,i)},apply({availableHeight:c,availableWidth:d,elements:f,rects:p}){const v=(y,k,w)=>{if(y&&(f.floating.style.setProperty("box-sizing","border-box"),f.floating.style.setProperty(`max-${k}`,`${w}px`),p.floating[k]>w)){f.floating.style.setProperty(k,`${w}px`);const B=k==="width"?"x":"y";f.floating.style.getPropertyValue(`overflow-${B}`)||f.floating.style.setProperty(`overflow-${B}`,"auto")}},{applyMaxWidth:h,applyMaxHeight:x}=e;v(h,"width",d),v(x,"height",c)}})}function sz(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:t,reference:o},placement:i})=>{const{position:a,alignment:s}=G2(i);return e({positionedRect:t,targetRect:o,position:a,alignment:s})}}function cz(e){const t=sz(e);return R2(t)}function uz(e){const{hasScrollableElement:t,shiftToCoverTarget:o,disableTether:i,overflowBoundary:a,container:s,overflowBoundaryPadding:c,isRtl:d}=e;return F2({...t&&{boundary:"clippingAncestors"},...o&&{crossAxis:!0,limiter:dv({crossAxis:!0,mainAxis:!1})},...i&&{crossAxis:i==="all",limiter:dv({crossAxis:i!=="all",mainAxis:!1})},...c&&{padding:Fh(c,d)},...a&&{altBoundary:!0,boundary:dd(s,a)}})}const pv="--fui-match-target-size";function dz(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:o},elements:{floating:i},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:a=!1}={}}}=e;if(t.width===o.width||a)return{};const{width:s}=t;return i.style.setProperty(pv,`${s}px`),i.style.width||(i.style.width=`var(${pv})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function fz(e,t){const{align:o,arrowPadding:i,autoSize:a,coverTarget:s,disableUpdateOnResize:c,flipBoundary:d,offset:f,overflowBoundary:p,pinned:v,position:h,unstable_disableTether:x,strategy:y,overflowBoundaryPadding:k,fallbackPositions:w,useTransform:B,matchTargetSize:z,shiftToCoverTarget:C}=t;return b.useCallback((_,N)=>e({container:_,arrow:N,options:{autoSize:a,disableUpdateOnResize:c,matchTargetSize:z,offset:f,strategy:y,coverTarget:s,flipBoundary:d,overflowBoundary:p,useTransform:B,overflowBoundaryPadding:k,pinned:v,arrowPadding:i,align:o,fallbackPositions:w,shiftToCoverTarget:C,position:h,unstable_disableTether:x}}),[a,c,z,f,y,s,d,p,B,k,v,i,o,w,C,h,x,e])}function pz(e){const{dir:t,targetDocument:o}=je(),i=t==="rtl",a=fz(GS(),e),{positionFixed:s}=e;return b.useCallback((c,d)=>{const f=L2(c),p=a(c,d),{autoSize:v,disableUpdateOnResize:h,matchTargetSize:x,offset:y,coverTarget:k,flipBoundary:w,overflowBoundary:B,useTransform:z,overflowBoundaryPadding:C,pinned:_,position:N,arrowPadding:E,strategy:T,align:D,fallbackPositions:I,shiftToCoverTarget:$,unstable_disableTether:ae}=p,oe=Z2(v),ee=[oe&&az(oe),x&&dz(),y&&cz(y),k&&oz(),!_&&nz({container:c,flipBoundary:w,hasScrollableElement:f,isRtl:i,fallbackPositions:I}),uz({container:c,hasScrollableElement:f,overflowBoundary:B,disableTether:ae,overflowBoundaryPadding:C,isRtl:i,shiftToCoverTarget:$}),oe&&lz(oe,{container:c,overflowBoundary:B,overflowBoundaryPadding:C,isRtl:i}),iz(),d&&M2({element:d,padding:E}),uv({strategy:"referenceHidden"}),uv({strategy:"escaped"}),!1].filter(Boolean);return{placement:Dh(D,N,i),middleware:ee,strategy:T??s?"fixed":"absolute",disableUpdateOnResize:h,useTransform:z}},[a,i,o,s])}function Ql(e){const t=b.useRef(null),o=b.useRef(null),i=b.useRef(null),a=b.useRef(null),s=b.useRef(null),{enabled:c=!0}=e,d=pz(e),f=b.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;var k;const w=(k=i.current)!==null&&k!==void 0?k:o.current;c&&Fl()&&w&&a.current&&(t.current=rz({container:a.current,target:w,arrow:s.current,...d(a.current,s.current)}))},[c,d]),p=te(k=>{i.current=k,f()});b.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var k;return(k=t.current)===null||k===void 0?void 0:k.updatePosition()},setTarget:k=>{e.target,p(k)}}),[e.target,p]),$e(()=>{var k;p((k=e.target)!==null&&k!==void 0?k:null)},[e.target,p]),$e(()=>{f()},[f]);const v=su(null,k=>{o.current!==k&&(o.current=k,f())}),h=te(k=>{var w;return(w=e.onPositioningEnd)===null||w===void 0?void 0:w.call(e,k)}),x=su(null,k=>{if(a.current!==k){var w;(w=a.current)===null||w===void 0||w.removeEventListener(Cu,h),k?.addEventListener(Cu,h),a.current=k,f()}}),y=su(null,k=>{s.current!==k&&(s.current=k,f())});return{targetRef:v,containerRef:x,arrowRef:y}}const Ih=e=>{const[t,o]=b.useState(e);return[t,a=>{if(a==null){o(void 0);return}let s;a instanceof MouseEvent?s=a:s=a.nativeEvent;const c=WS(s);o(c)}]};function gz(){let e=!1;const t=[];return{isActive(){return e},toggleActive(o){e!==o&&(e=o,t.forEach(i=>i(e)))},subscribe(o){return t.push(o),()=>{const i=t.indexOf(o);i>-1&&t.splice(i,1)}}}}var cu={exports:{}},uu={};var gv;function vz(){if(gv)return uu;gv=1;var e=Kv();function t(h,x){return h===x&&(h!==0||1/h===1/x)||h!==h&&x!==x}var o=typeof Object.is=="function"?Object.is:t,i=e.useState,a=e.useEffect,s=e.useLayoutEffect,c=e.useDebugValue;function d(h,x){var y=x(),k=i({inst:{value:y,getSnapshot:x}}),w=k[0].inst,B=k[1];return s(function(){w.value=y,w.getSnapshot=x,f(w)&&B({inst:w})},[h,y,x]),a(function(){return f(w)&&B({inst:w}),h(function(){f(w)&&B({inst:w})})},[h]),c(y),y}function f(h){var x=h.getSnapshot;h=h.value;try{var y=x();return!o(h,y)}catch{return!0}}function p(h,x){return x()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:d;return uu.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,uu}var vv;function mz(){return vv||(vv=1,cu.exports=vz()),cu.exports}var hz=mz();function mv(e,t){return{topLeft:[e.left-t[0],e.top-t[1]],topRight:[e.right-t[0],e.top-t[1]],bottomRight:[e.right-t[0],e.bottom-t[1]],bottomLeft:[e.left-t[0],e.bottom-t[1]]}}const hv=20;function Mh(e,t){return Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2)}function bz(e,t){const o=Mh(e,t);return o===0?[0,0]:[(e[0]-t[0])/o,(e[1]-t[1])/o]}function yz(e,t,o){const i=[(e[0]+t[0])/2,(e[1]+t[1])/2],a=bz([o[0],o[1]],[i[0],i[1]]),s=Mh([i[0],i[1]],[o[0],o[1]]);return[i[0]+a[0]*(s+hv),i[1]+a[1]*(s+hv)]}function wz(e){return`M ${e} z`}const kz=U({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},safeZone:{Bkecrkj:"f1cguypg"},safeZoneDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function xz(e){if(e.width<=0||e.height<=0)return"";let t="";return t+=`M ${e.x},${e.y} `,t+=`V ${e.y+e.height} `,t+=`H ${e.x+e.width} `,t+=`V ${e.y} `,t+=`H ${e.x} `,t+="Z ",t}function Bz(e,t,o){let i=`M 0,0 H ${e} V ${t} H 0 Z `;return i+=xz(o),i}function Sz(e,t){const{topLeft:o,topRight:i,bottomRight:a,bottomLeft:s}=t,c=e[1]<o[1],d=e[1]>s[1],f=e[0]<o[0],p=e[0]>i[0];return c?f?[e,s,o,i]:p?[e,o,i,a]:[e,o,i]:d?f?[e,o,s,a]:p?[e,i,a,s]:[e,a,s]:f?[e,s,o]:p?[e,i,a]:[]}const zz=b.memo(e=>{const{debug:t,onMouseEnter:o,onMouseMove:i,onMouseLeave:a,stateStore:s}=e,c=ft(),d=kz(),f=hz.useSyncExternalStore(s.subscribe,s.isActive),p=b.useRef(null),v=b.useRef(null),h=b.useRef(null),x=b.useRef(null);return b.useImperativeHandle(e.imperativeRef,()=>({updateSVG({containerRect:y,targetRect:k,mouseCoordinates:w}){var B,z,C;const _=Math.min(k.top,y.top),N=Math.min(k.left,y.left),E=Math.max(k.bottom,y.bottom),T=Math.max(k.right,y.right),D=mv(y,[N,_]),I=mv(k,[N,_]),$=[w[0]-N,w[1]-_],ae=yz(D.topLeft,D.bottomRight,$),oe=T-N,ee=E-_,V=Bz(oe,ee,{x:I.topLeft[0],y:I.topLeft[1],width:k.width,height:k.height});p.current&&(p.current.style.width=`${oe}px`,p.current.style.height=`${ee}px`,p.current.style.transform=`translate(${N}px, ${_}px)`);const re=Sz(ae,D);(B=v.current)===null||B===void 0||B.setAttribute("d",re.length>0?wz(re):""),(z=h.current)===null||z===void 0||z.setAttribute("d",V),(C=x.current)===null||C===void 0||C.setAttribute("d",V)}}),[]),b.createElement("div",{className:A(d.wrapper,f&&d.wrapperActive),"data-safe-zone":""},b.createElement("svg",{"aria-hidden":!0,className:d.svg,xmlns:"http://www.w3.org/2000/svg",ref:p,style:{width:0,height:0,transform:"translate(0px, 0px)"}},b.createElement("g",{className:A(d.safeZone,t&&d.safeZoneDebug),clipPath:`url(#${c})`,onMouseEnter:o,onMouseMove:i,onMouseLeave:a},b.createElement("path",{ref:v})),b.createElement("clipPath",{id:c},b.createElement("path",{ref:h})),t&&b.createElement("path",{ref:x,className:d.rectDebug})))}),_z=2e3;function Nz({debug:e=!1,disabled:t=!1,onSafeZoneEnter:o,onSafeZoneMove:i,onSafeZoneLeave:a,onSafeZoneTimeout:s,timeout:c=1500}={}){const[d]=b.useState(gz),f=b.useRef(null),p=b.useRef(null),v=b.useRef(null),[h,x]=yo(),[y,k]=Fi(),w=b.useRef({x:0,y:0}),B=b.useMemo(()=>{if(t)return()=>{};let E=null;function T(){x(),d.toggleActive(!1)}return D=>{D===null&&E?.removeEventListener("mouseenter",T),E=D,D?.addEventListener("mouseenter",T)}},[x,t,d]),z=b.useMemo(()=>{if(t)return()=>{};let E=null;function T(D){w.current={x:D.clientX,y:D.clientY},d.isActive()||d.toggleActive(!0),h(()=>{d.toggleActive(!1)},_z)}return D=>{D===null&&(k(),x(),E?.removeEventListener("mousemove",T)),E=D,D?.addEventListener("mousemove",T)}},[k,x,t,d,h]),C=te(E=>{o?.(E),h(()=>{d.toggleActive(!1),s?.()},c)}),_=te(E=>{h(()=>{d.toggleActive(!1),s?.()},c),i?.(E)}),N=te(E=>{a?.(E)});return b.useEffect(()=>d.subscribe(E=>{if(E){let T=function(){const D=p.current,I=v.current;if(D&&I){var $;($=f.current)===null||$===void 0||$.updateSVG({containerRect:D.getBoundingClientRect(),mouseCoordinates:[w.current.x,w.current.y],targetRect:I.getBoundingClientRect()})}y(T)};T();return}k()}),[k,y,d]),{containerRef:_e(p,B),targetRef:_e(v,z),elementToRender:b.useMemo(()=>t?null:b.createElement(zz,{debug:e,onMouseEnter:C,onMouseMove:_,onMouseLeave:N,imperativeRef:f,stateStore:d}),[t,e,C,_,N,d])}}const fd=xo(void 0),Oh={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1};fd.Provider;const mt=e=>tn(fd,(t=Oh)=>e(t)),Cz=(e,t)=>{const o=mt(_=>_.contentRef),i=mt(_=>_.openOnHover),a=mt(_=>_.setOpen),s=mt(_=>_.mountNode),c=mt(_=>_.arrowRef),d=mt(_=>_.size),f=mt(_=>_.withArrow),p=mt(_=>_.appearance),v=mt(_=>_.trapFocus),h=mt(_=>_.inertTrapFocus),x=mt(_=>_.inline),y=Al(),{modalAttributes:k}=Hl({trapFocus:v,legacyTrapFocus:!h,alwaysFocusable:!v}),w={inline:x,appearance:p,withArrow:f,size:d,arrowRef:c,mountNode:s,components:{root:"div"},root:se(Te("div",{ref:_e(t,o,y),role:v?"dialog":"group","aria-modal":v?!0:void 0,...k,...e}),{elementType:"div"})},{onMouseEnter:B,onMouseLeave:z,onKeyDown:C}=w.root;return w.root.onMouseEnter=_=>{i&&a(_,!0),B?.(_)},w.root.onMouseLeave=_=>{i&&a(_,!1),z?.(_)},w.root.onKeyDown=_=>{var N;_.key==="Escape"&&(!((N=o.current)===null||N===void 0)&&N.contains(_.target))&&(_.preventDefault(),a(_,!1)),C?.(_)},w};function jz(e){return dt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const Tz=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;}"]}),Hh=Rn.useInsertionEffect,qz=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,s=b.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return b.useMemo(()=>{s&&(s.className=t,s.setAttribute("dir",o),s.setAttribute("data-portal-node","true"),i.current=s)},[t,o,s,i]),b.useEffect(()=>()=>{s?.remove()},[s]),s},Ez=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},Pz=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[s]=b.useState(Ez),c=b.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(d,f){if(f==="nodeType")return 1;if(f==="remove"){const h=s.get(a,!1);return h&&h.childNodes.length===0&&s.dispose(),()=>{}}const p=s.get(a,!0),v=p?p[f]:void 0;return typeof v=="function"?v.bind(p):v},set(d,f,p){const v=f==="_virtual"||f==="focusVisible",h=v?s.get(a,!1):s.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[f]:p}),!0):!1}}),[s,a,e.disabled]);return Hh(()=>{if(!c)return;const d=t.split(" ").filter(Boolean);return c.classList.add(...d),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...d),c.removeAttribute("dir")}},[t,o,c,i]),b.useEffect(()=>()=>{c?.remove()},[c]),c},Rz=Hh?Pz:qz,Fz=e=>{"use no memo";const{targetDocument:t,dir:o}=je(),i=Xi(),a=en(),s=Tz(),c=$i(),d={dir:o,disabled:e.disabled,focusVisibleRef:a,className:A(c,s.root,e.className),targetNode:i??t?.body};return Rz(d)},Dz=e=>{const{element:t,className:o}=jz(e.mountNode),i=b.useRef(null),a=Fz({disabled:!!t,className:o}),s=t??a,c={children:e.children,mountNode:s,virtualParentRootRef:i};return b.useEffect(()=>{if(!s)return;const d=i.current,f=s.contains(d);if(d&&!f)return xr(s,d),()=>{xr(s,void 0)}},[i,s]),c};var Jo=Ay();const Iz=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Jo.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Ah=e=>{const t=Dz(e);return Iz(t)};Ah.displayName="Portal";const Mz=e=>{const t=Ce(e.root,{children:[e.withArrow&&L("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:L(Ah,{mountNode:e.mountNode,children:t})},Oz={root:"fui-PopoverSurface"},Hz={small:6,medium:8,large:8},Az=U({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),Lz=e=>{const t=Az();return e.root.className=A(Oz.root,t.root,e.inline&&t.inline,e.size==="small"&&t.smallPadding,e.size==="medium"&&t.mediumPadding,e.size==="large"&&t.largePadding,e.appearance==="inverted"&&t.inverted,e.appearance==="brand"&&t.brand,e.root.className),e.arrowClassName=A(t.arrow,e.size==="small"?t.smallArrow:t.mediumLargeArrow),e},Vz=b.forwardRef((e,t)=>{const o=Cz(e,t);return Lz(o),he("usePopoverSurfaceStyles_unstable")(o),Mz(o)});Vz.displayName="PopoverSurface";const Wz=4,bv=Pe.durationSlower,yv=Pe.curveDecelerateMid,wv=So(({distance:e=10})=>({enter:[ho({duration:bv,easing:yv,direction:"enter"}),{...bh({duration:bv,easing:yv,direction:"enter",outX:`calc(var(${Cl}, 0px) * ${e})`,outY:`calc(var(${jl}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),$z=e=>{const[t,o]=Ih(),{targetDocument:i}=je(),a=Hn(e.positioning),s=yh({targetDocument:i,onPositioningEnd:a.onPositioningEnd}),c={size:"medium",contextTarget:t,setContextTarget:o,...e,positioning:{...a,onPositioningEnd:s}},d=b.Children.toArray(e.children);let f,p;d.length===2?(f=d[0],p=d[1]):d.length===1&&(p=d[0]);const[v,h]=Uz(c),[x,y]=yo(),k=te((oe,ee)=>{if(y(),!(oe instanceof Event)&&oe.persist&&oe.persist(),oe.type==="mouseleave"){var V;x(()=>{h(oe,ee)},(V=e.mouseLeaveDelay)!==null&&V!==void 0?V:500)}else h(oe,ee)}),w=b.useCallback(oe=>{k(oe,!v)},[k,v]),B=Xz(c);var z;Dl({contains:Wo,element:i,callback:oe=>k(oe,!1),refs:[B.triggerRef,B.contentRef],disabled:!v,disabledFocusOnIframe:!(!((z=e.closeOnIframeFocus)!==null&&z!==void 0)||z)});const C=c.openOnContext||c.closeOnScroll;ym({contains:Wo,element:i,callback:oe=>k(oe,!1),refs:[B.triggerRef,B.contentRef],disabled:!v||!C});var _;const N=(_=e.closeOnFocusOutside)!==null&&_!==void 0?_:!0,E=b.useRef(!1),T=te(oe=>{var ee;const V=(ee=oe.composedPath()[0])!==null&&ee!==void 0?ee:oe.target,re=B.contentRef.current;var me;const W=(me=B.triggerRef.current)!==null&&me!==void 0?me:null;if(!re)return;if(Wo(re,V)||Wo(W,V)){E.current=!0;return}E.current&&(E.current=!1,k(oe,!1))});b.useEffect(()=>{if(!(!v||!e.trapFocus||!N))return E.current=!1,i?.addEventListener("focusin",T,!0),()=>{i?.removeEventListener("focusin",T,!0)}},[v,e.trapFocus,N,i,T]);const{findFirstFocusable:D}=wo(),I=rB();b.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const oe=B.contentRef.current;if(v&&oe){var ee;const V=!isNaN((ee=oe.getAttribute("tabIndex"))!==null&&ee!==void 0?ee:void 0),re=V?oe:D(oe);re?.focus(),V&&I(oe)}},[D,I,v,B.contentRef,e.unstable_disableAutoFocus]);var $,ae;return{components:{surfaceMotion:wv},...c,...B,inertTrapFocus:($=e.inertTrapFocus)!==null&&$!==void 0?$:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:f,popoverSurface:p,open:v,setOpen:k,toggleOpen:w,setContextTarget:o,contextTarget:t,inline:(ae=e.inline)!==null&&ae!==void 0?ae:!1,surfaceMotion:Vl(e.surfaceMotion,{elementType:wv,defaultProps:{visible:v,appear:!0,unmountOnExit:!0}})}};function Uz(e){const t=te((c,d)=>{var f;return(f=e.onOpenChange)===null||f===void 0?void 0:f.call(e,c,d)}),[o,i]=zt({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=o!==void 0?o:e.open;const a=e.setContextTarget,s=b.useCallback((c,d)=>{d&&c.type==="contextmenu"&&a(c),d||a(void 0),i(d),t?.(c,{open:d})},[i,t,a]);return[o,s]}function Xz(e){const t={position:"above",align:"center",arrowPadding:2*Wz,target:e.openOnContext?e.contextTarget:void 0,...Hn(e.positioning)};t.coverTarget&&(e.withArrow=!1),e.withArrow&&(t.offset=Rh(t.offset,Hz[e.size]));const{targetRef:o,containerRef:i,arrowRef:a}=Ql(t);return{triggerRef:o,contentRef:i,arrowRef:a}}function Gz(e){const{appearance:t,arrowRef:o,contentRef:i,inline:a,mountNode:s,open:c,openOnContext:d,openOnHover:f,setOpen:p,size:v,toggleOpen:h,trapFocus:x,triggerRef:y,withArrow:k,inertTrapFocus:w}=e;return{popover:b.useMemo(()=>({appearance:t,arrowRef:o,contentRef:i,inline:a,mountNode:s,open:c,openOnContext:d,openOnHover:f,setOpen:p,size:v,toggleOpen:h,trapFocus:x,triggerRef:y,withArrow:k,inertTrapFocus:w}),[t,o,i,a,s,c,d,f,p,v,h,x,y,k,w])}}const Kz=(e,t)=>{var o;return Ce(fd.Provider,{value:(o=t?.popover)!==null&&o!==void 0?o:Oh,children:[e.popoverTrigger,e.popoverSurface&&L(e.surfaceMotion,{children:L(Ll,{children:e.popoverSurface})})]})},Qz=e=>{const t=$z(e),o=Gz(t);return Kz(t,o)};Qz.displayName="Popover";const Yz=e=>{const{children:t,disableButtonEnhancement:o=!1}=e,i=Ki(t),a=mt(_=>_.open),s=mt(_=>_.setOpen),c=mt(_=>_.toggleOpen),d=mt(_=>_.triggerRef),f=mt(_=>_.openOnHover),p=mt(_=>_.openOnContext),{triggerAttributes:v}=Hl(),h=_=>{p&&(_.preventDefault(),s(_,!0))},x=_=>{p||c(_)},y=_=>{_.key===Bo&&a&&!_.isDefaultPrevented()&&(s(_,!1),_.preventDefault())},k=_=>{f&&s(_,!0)},w=_=>{f&&s(_,!1)},B={...v,"aria-expanded":`${a}`,...i?.props,onMouseEnter:te(ye(i?.props.onMouseEnter,k)),onMouseLeave:te(ye(i?.props.onMouseLeave,w)),onContextMenu:te(ye(i?.props.onContextMenu,h)),ref:_e(d,Gi(i))},z={...B,onClick:te(ye(i?.props.onClick,x)),onKeyDown:te(ye(i?.props.onKeyDown,y))},C=Ko(i?.type==="button"||i?.type==="a"?i.type:"div",z);return{children:Il(e.children,Ko(i?.type==="button"||i?.type==="a"?i.type:"div",p?B:o?z:C))}},Jz=e=>e.children,Lh=e=>{const t=Yz(e);return Jz(t)};Lh.displayName="PopoverTrigger";Lh.isFluentTriggerComponent=!0;const Zz=6,e3=4,t3=e=>-1,r3=e=>{};function o3(e){const{targetDocument:t}=je(),o=t?.defaultView,i=o?o.setTimeout:t3,a=o?o.clearTimeout:r3,s=b.useRef(void 0),c=b.useCallback((f,p)=>(s.current!==void 0&&a(s.current),s.current=i(f,p??0),s.current),[a,i]),d=b.useCallback(()=>{s.current!==void 0&&(a(s.current),s.current=void 0)},[a]);return b.useEffect(()=>{const f=e.current;return()=>{(!f||!f.isConnected)&&d()}},[d,e]),[c,d]}const n3=e=>{var t,o,i,a,s,c,d;const f=Bw(),p=Mw(),{targetDocument:v}=je(),[h,x]=zt({state:e.visible,initialState:!1}),[y,k]=b.useState(!1),{children:w,content:B,withArrow:z=!1,positioning:C="above",onVisibleChange:_,relationship:N,showDelay:E=250,hideDelay:T=250,mountNode:D}=e,I={withArrow:z,positioning:C,showDelay:E,hideDelay:T,relationship:N,visible:h,hidden:y,shouldRenderTooltip:h,mountNode:D,components:{content:"div"},content:se(B,{defaultProps:{role:"tooltip"},elementType:"div"})};I.content.id=ft("tooltip-",I.content.id);const $=Hn(I.positioning),ae=te(pe=>{var Ne;k(pe.detail.referenceHidden),(Ne=$.onPositioningEnd)===null||Ne===void 0||Ne.call($,pe)}),oe={enabled:I.visible,arrowPadding:2*e3,position:"above",align:"center",offset:4,...$,onPositioningEnd:ae};I.withArrow&&(oe.offset=Rh(oe.offset,Zz));const{targetRef:ee,containerRef:V,arrowRef:re}=Ql(oe),[me,W]=o3(V),ie=b.useCallback((pe,Ne)=>{W(),x(He=>(Ne.visible!==He&&_?.(pe,Ne),Ne.visible))},[W,x,_]);I.content.ref=_e(I.content.ref,V),I.arrowRef=re,$e(()=>{if(h){var pe;const Ne={hide:yt=>ie(void 0,{visible:!1,documentKeyboardEvent:yt})};(pe=f.visibleTooltip)===null||pe===void 0||pe.hide(),f.visibleTooltip=Ne;const He=yt=>{yt.key===Bo&&!yt.defaultPrevented&&(Ne.hide(yt),yt.preventDefault())};v?.addEventListener("keydown",He,{capture:!0});const _t=()=>{v?.visibilityState==="hidden"&&Ne.hide()};return v?.addEventListener("visibilitychange",_t),()=>{f.visibleTooltip===Ne&&(f.visibleTooltip=void 0),v?.removeEventListener("keydown",He,{capture:!0}),v?.removeEventListener("visibilitychange",_t)}}},[f,v,h,ie]);const R=b.useRef(!1),J=b.useCallback(pe=>{if(pe.type==="focus"&&R.current){R.current=!1;return}const Ne=f.visibleTooltip?0:I.showDelay;me(()=>{ie(pe,{visible:!0})},Ne),pe.persist()},[me,ie,I.showDelay,f]),X=eB(),[Be]=b.useState(()=>{const pe=He=>{var _t;!((_t=He.detail)===null||_t===void 0)&&_t.isFocusedProgrammatically&&!X()&&(R.current=!0)};let Ne=null;return He=>{Ne?.removeEventListener(Mr,pe),He?.addEventListener(Mr,pe),Ne=He}}),Q=b.useCallback(pe=>{let Ne=I.hideDelay;pe.type==="blur"&&(Ne=0,R.current=v?.activeElement===pe.target),me(()=>{ie(pe,{visible:!1})},Ne),pe.persist()},[me,ie,I.hideDelay,v]);I.content.onPointerEnter=ye(I.content.onPointerEnter,W),I.content.onPointerLeave=ye(I.content.onPointerLeave,Q),I.content.onFocus=ye(I.content.onFocus,W),I.content.onBlur=ye(I.content.onBlur,Q);const fe=Ki(w),qe={},ce=(fe==null||(t=fe.props)===null||t===void 0?void 0:t["aria-haspopup"])&&((fe==null||(o=fe.props)===null||o===void 0?void 0:o["aria-expanded"])===!0||(fe==null||(i=fe.props)===null||i===void 0?void 0:i["aria-expanded"])==="true");return N==="label"?typeof I.content.children=="string"?qe["aria-label"]=I.content.children:(qe["aria-labelledby"]=I.content.id,I.shouldRenderTooltip=!0):N==="description"&&(qe["aria-describedby"]=I.content.id,I.shouldRenderTooltip=!0),(p||ce)&&(I.shouldRenderTooltip=!1),I.children=Il(w,{...qe,...fe?.props,ref:_e(Gi(fe),Be,oe.target===void 0?ee:void 0),onPointerEnter:te(ye(fe==null||(a=fe.props)===null||a===void 0?void 0:a.onPointerEnter,J)),onPointerLeave:te(ye(fe==null||(s=fe.props)===null||s===void 0?void 0:s.onPointerLeave,Q)),onFocus:te(ye(fe==null||(c=fe.props)===null||c===void 0?void 0:c.onFocus,J)),onBlur:te(ye(fe==null||(d=fe.props)===null||d===void 0?void 0:d.onBlur,Q))}),I},i3=e=>{"use no memo";const{appearance:t="normal",...o}=e,i=n3(o);return{appearance:t,...i}};function a3(e){return dt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const l3=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;}"]}),Vh=Rn.useInsertionEffect,s3=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,s=b.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return b.useMemo(()=>{s&&(s.className=t,s.setAttribute("dir",o),s.setAttribute("data-portal-node","true"),i.current=s)},[t,o,s,i]),b.useEffect(()=>()=>{s?.remove()},[s]),s},c3=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},u3=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[s]=b.useState(c3),c=b.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(d,f){if(f==="nodeType")return 1;if(f==="remove"){const h=s.get(a,!1);return h&&h.childNodes.length===0&&s.dispose(),()=>{}}const p=s.get(a,!0),v=p?p[f]:void 0;return typeof v=="function"?v.bind(p):v},set(d,f,p){const v=f==="_virtual"||f==="focusVisible",h=v?s.get(a,!1):s.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[f]:p}),!0):!1}}),[s,a,e.disabled]);return Vh(()=>{if(!c)return;const d=t.split(" ").filter(Boolean);return c.classList.add(...d),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...d),c.removeAttribute("dir")}},[t,o,c,i]),b.useEffect(()=>()=>{c?.remove()},[c]),c},d3=Vh?u3:s3,f3=e=>{"use no memo";const{targetDocument:t,dir:o}=je(),i=Xi(),a=en(),s=l3(),c=$i(),d={dir:o,disabled:e.disabled,focusVisibleRef:a,className:A(c,s.root,e.className),targetNode:i??t?.body};return d3(d)},p3=e=>{const{element:t,className:o}=a3(e.mountNode),i=b.useRef(null),a=f3({disabled:!!t,className:o}),s=t??a,c={children:e.children,mountNode:s,virtualParentRootRef:i};return b.useEffect(()=>{if(!s)return;const d=i.current,f=s.contains(d);if(d&&!f)return xr(s,d),()=>{xr(s,void 0)}},[i,s]),c},g3=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Jo.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Wh=e=>{const t=p3(e);return g3(t)};Wh.displayName="Portal";const v3=e=>Ce(b.Fragment,{children:[e.children,e.shouldRenderTooltip&&L(Wh,{mountNode:e.mountNode,children:Ce(e.content,{children:[e.withArrow&&L("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),m3={content:"fui-Tooltip__content"},h3=U({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},hidden:{Bcdw1i0:"fd7fpy0",Bkecrkj:"f1aehjj5"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fd7fpy0{visibility:hidden;}",".f1aehjj5{pointer-events:none;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),b3=e=>{const t=h3();return e.content.className=A(m3.content,t.root,e.appearance==="inverted"&&t.inverted,e.visible&&t.visible,e.hidden&&t.hidden,e.content.className),e.arrowClassName=t.arrow,e},$h=e=>{const t=i3(e);return b3(t),he("useTooltipStyles_unstable")(t),v3(t)};$h.displayName="Tooltip";$h.isFluentTriggerComponent=!0;const Uh=e=>{const{iconOnly:t,iconPosition:o}=e;return Ce(e.root,{children:[o!=="after"&&e.icon&&L(e.icon,{}),!t&&e.root.children,o==="after"&&e.icon&&L(e.icon,{})]})},Xh=b.createContext(void 0),y3={},w3=Xh.Provider,k3=()=>{var e;return(e=b.useContext(Xh))!==null&&e!==void 0?e:y3},x3=(e,t)=>{const{size:o}=k3(),{appearance:i="secondary",shape:a="rounded",size:s=o??"medium",...c}=e,d=Gh(c,t);return{appearance:i,shape:a,size:s,...d}},Gh=(e,t)=>{const{icon:o,iconPosition:i="before",...a}=e,s=we(o,{elementType:"span"});var c,d;return{disabled:(c=e.disabled)!==null&&c!==void 0?c:!1,disabledFocusable:(d=e.disabledFocusable)!==null&&d!==void 0?d:!1,iconPosition:i,iconOnly:!!(s?.children&&!e.children),components:{root:"button",icon:"span"},root:se(Ko(a.as,a),{elementType:"button",defaultProps:{ref:t,type:e.as!=="a"?"button":void 0}}),icon:s}},kv={root:"fui-Button",icon:"fui-Button__icon"},B3=be("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),S3=be("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);}"]),z3=U({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),_3=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",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),N3=U({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),C3=U({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),j3=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);}"]}),Kh=e=>{const t=B3(),o=S3(),i=z3(),a=_3(),s=N3(),c=C3(),d=j3(),{appearance:f,disabled:p,disabledFocusable:v,icon:h,iconOnly:x,iconPosition:y,shape:k,size:w}=e;return e.root.className=A(kv.root,t,f&&i[f],i[w],h&&w==="small"&&i.smallWithIcon,h&&w==="large"&&i.largeWithIcon,i[k],(p||v)&&a.base,(p||v)&&a.highContrast,f&&(p||v)&&a[f],f==="primary"&&s.primary,s[w],s[k],x&&c[w],e.root.className),e.icon&&(e.icon.className=A(kv.icon,o,!!e.root.children&&d[y],d[w],e.icon.className)),e},T3=b.forwardRef((e,t)=>{const o=x3(e,t);return Kh(o),he("useButtonStyles_unstable")(o),Uh(o)});T3.displayName="Button";const Qh=b.createContext(void 0),q3=Qh.Provider,No=()=>b.useContext(Qh),E3=e=>{var t,o,i,a;const{generatedControlId:s,orientation:c,required:d,size:f,validationState:p}=e,v=(t=e.label)===null||t===void 0?void 0:t.htmlFor,h=(o=e.label)===null||o===void 0?void 0:o.id,x=(i=e.validationMessage)===null||i===void 0?void 0:i.id,y=(a=e.hint)===null||a===void 0?void 0:a.id;return{field:b.useMemo(()=>({generatedControlId:s,hintId:y,labelFor:v,labelId:h,orientation:c,required:d,size:f,validationMessageId:x,validationState:p}),[s,y,v,h,c,d,f,x,p])}};function Ar(e,t){return Yh(No(),e,t)}function Yh(e,t,o){if(!e)return t;t={...t};const{generatedControlId:i,hintId:a,labelFor:s,labelId:c,required:d,validationMessageId:f,validationState:p}=e;if(i){var v,h;(h=(v=t).id)!==null&&h!==void 0||(v.id=i)}if(c&&(!o?.supportsLabelFor||s!==t.id)){var x,y,k;(k=(x=t)[y="aria-labelledby"])!==null&&k!==void 0||(x[y]=c)}if((f||a)&&(t["aria-describedby"]=[f,a,t?.["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var w,B,z;(z=(w=t)[B="aria-invalid"])!==null&&z!==void 0||(w[B]=!0)}if(d)if(o?.supportsRequired){var C,_;(_=(C=t).required)!==null&&_!==void 0||(C.required=!0)}else{var N,E,T;(T=(N=t)[E="aria-required"])!==null&&T!==void 0||(N[E]=!0)}if(o?.supportsSize){var D,I;(I=(D=t).size)!==null&&I!==void 0||(D.size=e.size)}return t}const P3=(e,t)=>{let{children:o}=e;return typeof o=="function"&&(o=o(Yh(t.field)||{})),L(q3,{value:t?.field,children:Ce(e.root,{children:[e.label&&L(e.label,{}),o,e.validationMessage&&Ce(e.validationMessage,{children:[e.validationMessageIcon&&L(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&L(e.hint,{})]})})},R3=(e,t)=>{const{weight:o="regular",size:i="medium",...a}=e,s=F3(a,t);return{weight:o,size:i,...s}},F3=(e,t)=>{const{disabled:o=!1,required:i=!1,...a}=e;return{disabled:o,required:we(i===!0?"*":i||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:se(Te("label",{ref:t,...a}),{elementType:"label"})}},D3=e=>Ce(e.root,{children:[e.root.children,e.required&&L(e.required,{})]}),xv={root:"fui-Label",required:"fui-Label__required"},I3=U({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),M3=e=>{const t=I3();return e.root.className=A(xv.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight==="semibold"&&t.semibold,e.root.className),e.required&&(e.required.className=A(xv.required,t.required,e.disabled&&t.disabled,e.required.className)),e},fr=b.forwardRef((e,t)=>{const o=R3(e,t);return M3(o),he("useLabelStyles_unstable")(o),D3(o)});fr.displayName="Label";const O3=(e,t)=>{const{children:o,required:i=!1,validationState:a=e.validationMessage?"error":"none"}=e,s=ft("field-"),c=s+"__control",d=se(Te("div",{...e,ref:t},["children"]),{elementType:"div"}),f=we(e.label,{defaultProps:{htmlFor:c,id:s+"__label",required:i},elementType:"label"}),p=we(e.validationMessage,{defaultProps:{id:s+"__validationMessage",role:a==="error"||a==="warning"?"alert":void 0},elementType:"div"}),v=we(e.hint,{defaultProps:{id:s+"__hint"},elementType:"div"}),h=we(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:o,generatedControlId:c,required:i,validationState:a,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:d,label:f,validationMessageIcon:h,validationMessage:p,hint:v}},H3={error:b.createElement(wy,null),warning:b.createElement(yy,null),success:b.createElement(by,null),none:void 0},A3=(e,t)=>{const{orientation:o="vertical",size:i="medium",...a}=e,s=O3(a,t),c=H3[s.validationState];return{...s,components:{...s.components,label:fr},label:we(e.label,{defaultProps:{size:i,...s.label},elementType:fr}),validationMessageIcon:we(e.validationMessageIcon,{renderByDefault:!!c,defaultProps:{children:c},elementType:"span"}),orientation:o,size:i}},Ci={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},L3=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;}"]}),V3=U({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),W3=be("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);}"]),$3=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));}"]}),U3=be("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;}"]),X3=U({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),G3=e=>{const{validationState:t,size:o}=e,i=e.orientation==="horizontal",a=L3();e.root.className=A(Ci.root,a.base,i&&a.horizontal,i&&!e.label&&a.horizontalNoLabel,e.root.className);const s=V3();e.label&&(e.label.className=A(Ci.label,s.base,i&&s.horizontal,i&&o==="small"&&s.horizontalSmall,i&&o==="large"&&s.horizontalLarge,!i&&s.vertical,!i&&o==="large"&&s.verticalLarge,e.label.className));const c=U3(),d=X3();e.validationMessageIcon&&(e.validationMessageIcon.className=A(Ci.validationMessageIcon,c,t!=="none"&&d[t],e.validationMessageIcon.className));const f=W3(),p=$3();return e.validationMessage&&(e.validationMessage.className=A(Ci.validationMessage,f,t==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=A(Ci.hint,f,e.hint.className)),e},K3=b.forwardRef((e,t)=>{const o=A3(e,t);G3(o),he("useFieldStyles_unstable")(o);const i=E3(o);return P3(o,i)});K3.displayName="Field";const Q3=(e,t)=>{const{shape:o="square",size:i="medium",...a}=e,s=Y3(a,t),c=s.checked==="mixed";let d;if(c?o==="circular"?d=b.createElement(Yv,null):d=i==="large"?b.createElement(ky,null):b.createElement(xy,null):s.checked&&(d=i==="large"?b.createElement(By,null):b.createElement(Jv,null)),s.indicator){var f,p;(p=(f=s.indicator).children)!==null&&p!==void 0||(f.children=d)}return{shape:o,size:i,...s,components:{...s.components,label:fr},label:we(e.label,{defaultProps:{...s.label,size:"medium"},elementType:fr})}},Y3=(e,t)=>{"use no memo";e=Ar(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:o=!1,required:i,labelPosition:a="after",onChange:s}=e,[c,d]=zt({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),f=Hr({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=c==="mixed",v=ft("checkbox-",f.primary.id),h={checked:c,disabled:o,labelPosition:a,components:{root:"span",input:"input",indicator:"div",label:"label"},root:se(e.root,{defaultProps:{ref:Fn(),...f.root},elementType:"span"}),input:se(e.input,{defaultProps:{type:"checkbox",id:v,ref:t,checked:c===!0,...f.primary},elementType:"input"}),label:we(e.label,{defaultProps:{htmlFor:v,disabled:o,required:i},elementType:"label"}),indicator:we(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};h.input.onChange=ye(h.input.onChange,y=>{const k=y.currentTarget.indeterminate?"mixed":y.currentTarget.checked;s?.(y,{checked:k}),d(k)});const x=_e(h.input.ref);return h.input.ref=x,$e(()=>{x.current&&(x.current.indeterminate=p)},[x,p]),h},J3=e=>Ce(e.root,{children:[L(e.input,{}),e.labelPosition==="before"&&e.label&&L(e.label,{}),e.indicator&&L(e.indicator,{}),e.labelPosition==="after"&&e.label&&L(e.label,{})]}),dl={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},Z3=be("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),e5=U({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),t5=be("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),r5=U({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),o5=be("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),n5=U({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),i5=U({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),a5=e=>{const{checked:t,disabled:o,labelPosition:i,shape:a,size:s}=e,c=Z3(),d=e5();e.root.className=A(dl.root,c,o?d.disabled:t==="mixed"?d.mixed:t?d.checked:d.unchecked,e.root.className);const f=t5(),p=r5();e.input.className=A(dl.input,f,s==="large"&&p.large,p[i],e.input.className);const v=o5(),h=n5();e.indicator&&(e.indicator.className=A(dl.indicator,v,s==="large"&&h.large,a==="circular"&&h.circular,e.indicator.className));const x=i5();return e.label&&(e.label.className=A(dl.label,x.base,x[s],x[i],e.label.className)),e},qu=b.forwardRef((e,t)=>{const o=Q3(e,t);return a5(o),he("useCheckboxStyles_unstable")(o),J3(o)});qu.displayName="Checkbox";const pd=xo({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});pd.Provider;const l5={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},An=xo(void 0),At=e=>tn(An,(t=l5)=>e(t)),s5=An.Provider;function Jh(e){const{appearance:t,open:o,getOptionById:i,getOptionsMatchingValue:a,registerOption:s,selectedOptions:c,selectOption:d,setOpen:f,size:p,activeDescendantController:v,onOptionClick:h,onActiveDescendantChange:x}=e,y={activeOption:void 0,appearance:t,focusVisible:!1,open:o,registerOption:s,selectedOptions:c,selectOption:d,setActiveOption:()=>null,setOpen:f,size:p},k={activeOption:void 0,focusVisible:!1,getOptionById:i,getOptionsMatchingValue:a,registerOption:s,selectedOptions:c,selectOption:d,setActiveOption:()=>null,onOptionClick:h,onActiveDescendantChange:x},w=b.useMemo(()=>({controller:v}),[v]);return{combobox:y,activeDescendant:w,listbox:k}}function c5(e){const t=In(An),{getOptionById:o,getOptionsMatchingValue:i,multiselect:a,registerOption:s,selectedOptions:c,selectOption:d,activeDescendantController:f}=e,p=At(w=>w.registerOption),v=At(w=>w.onOptionClick),h=At(w=>w.onActiveDescendantChange),y={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:i,multiselect:a,registerOption:t?p:s,selectedOptions:c,selectOption:d,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:h},k=b.useMemo(()=>({controller:f}),[f]);return{listbox:y,activeDescendant:k}}function Ai(e,t={}){const{open:o=!0,multiselect:i=!1}=t,a=e.key,{altKey:s,ctrlKey:c,key:d,metaKey:f}=e;return d.length===1&&a!==er&&!s&&!c&&!f?"Type":o?a===Pi&&s||a===Dr||!i&&a===er?"CloseSelect":i&&a===er?"Select":a===Bo?"Close":a===Mi?"Next":a===Pi?"Previous":a===ed?"First":a===Zu?"Last":a===nh?"PageUp":a===oh?"PageDown":a===rh?"Tab":"None":a===Mi||a===Pi||a===Dr||a===er?"Open":"None"}const Zh=()=>{const e=b.useRef(new Map),t=b.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:p=>e.current.get(p),getOptionsMatchingText:p=>Array.from(e.current.values()).filter(({text:v})=>p(v)),getOptionsMatchingValue:p=>{const v=[];for(const h of e.current.values())p(h.value)&&v.push(h);return v}}),[]),o=b.useCallback(i=>(e.current.set(i.id,i),()=>e.current.delete(i.id)),[]);return{...t,options:Array.from(e.current.values()),registerOption:o}},e0=e=>{const{defaultSelectedOptions:t,multiselect:o,onOptionSelect:i}=e,[a,s]=zt({state:e.selectedOptions,defaultState:t,initialState:[]}),c=b.useCallback((f,p)=>{if(p.disabled)return;let v=[p.value];if(o){const h=a.findIndex(x=>x===p.value);h>-1?v=[...a.slice(0,h),...a.slice(h+1)]:v=[...a,p.value]}s(v),i?.(f,{optionValue:p.value,optionText:p.text,selectedOptions:v})},[i,o,a,s]);return{clearSelection:f=>{s([]),i?.(f,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:c,selectedOptions:a}};function gd(e){return e.role==="option"||e.role==="menuitemcheckbox"}const Bv={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},u5=(e,t)=>{const{multiselect:o,disableAutoFocus:i=!1}=e,a=Zh(),{listboxRef:s,activeParentRef:c,controller:d}=od({matchOption:gd}),f=In(An),p=At(re=>re.onActiveDescendantChange),v=At(re=>re.getOptionById),h=At(re=>re.getOptionsMatchingValue),x=f?v:a.getOptionById,y=f?h:a.getOptionsMatchingValue,k=b.useMemo(()=>{let re=null;const me=W=>{p?.(W)};return W=>{if(!W){re?.removeEventListener("activedescendantchange",me);return}re=W,re.addEventListener("activedescendantchange",me)}},[p]),[w,B]=b.useState(!1);Om(B);const z=ih(),C=fS(),_=C?z.controller:d,{clearSelection:N,selectedOptions:E,selectOption:T}=e0(e),D=re=>{const me=Ai(re,{open:!0}),W=_.active(),ie=W?x(W):null;switch(me){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":re.preventDefault();break}switch(me){case"Next":ie?_.next():_.first();break;case"Previous":ie?_.prev():_.first();break;case"PageUp":case"First":_.first();break;case"PageDown":case"Last":_.last();break;case"Select":case"CloseSelect":ie&&T(re,ie);break}},I=At(re=>re.selectedOptions),$=At(re=>re.selectOption),ae=f?{selectedOptions:I,selectOption:$,...Bv}:{selectedOptions:E,selectOption:T,...Bv};b.useEffect(()=>{if(!C){if(_.hideFocusVisibleAttributes(),!i)if(!o&&ae.selectedOptions.length>0){const re=y(me=>me===ae.selectedOptions[0]).pop();re?.id&&_.focus(re.id)}else _.first();return()=>{_.blur()}}},[]);const oe=b.useCallback(()=>{C||(_.showFocusVisibleAttributes(),w&&_.scrollActiveIntoView())},[_,C,w]),ee=b.useCallback(()=>{C||_.hideFocusVisibleAttributes()},[_,C]),V={components:{root:"div"},root:se(Te("div",{ref:_e(t,c,s,k),role:o?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!f,multiselect:o,clearSelection:N,activeDescendantController:_,onActiveDescendantChange:p,...a,...ae};return V.root.onKeyDown=te(ye(V.root.onKeyDown,D)),V.root.onFocus=te(ye(V.root.onFocus,oe)),V.root.onBlur=te(ye(V.root.onBlur,ee)),V},d5=(e,t)=>L(rd,{value:t.activeDescendant,children:L(An.Provider,{value:t.listbox,children:L(e.root,{})})}),f5={root:"fui-Listbox"},p5=U({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),g5=e=>{const t=p5();return e.root.className=A(f5.root,t.root,e.root.className),e},Yl=b.forwardRef((e,t)=>{const o=u5(e,t),i=c5(o);return g5(o),he("useListboxStyles_unstable")(o),d5(o,i)});Yl.displayName="Listbox";function v5(e,t){if(e!==void 0)return e;let o="",i=!1;return b.Children.forEach(t,a=>{typeof a=="string"?o+=a:i=!0}),i&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),o}const m5=(e,t)=>{const o=h5(e,t);let i=b.createElement(Sy,null);if(o.multiselect&&(i=o.selected?b.createElement(Jv,null):""),o.checkIcon){var a,s;(s=(a=o.checkIcon).children)!==null&&s!==void 0||(a.children=i)}return o},h5=(e,t)=>{const{children:o,disabled:i,text:a,value:s}=e,c=b.useRef(null),d=v5(a,o),f=s??d,p=ft("fluent-option",e.id),v=b.useMemo(()=>({id:p,disabled:i,text:d,value:f}),[p,i,d,f]),{controller:h}=ih(),x=At(_=>_.multiselect),y=At(_=>_.registerOption),k=At(_=>{const N=_.selectedOptions;return f!==void 0&&N.find(E=>E===f)!==void 0}),w=At(_=>_.selectOption),B=At(_=>_.onOptionClick),z=_=>{var N;if(i){_.preventDefault();return}h.focus(p),w(_,v),B(_),(N=e.onClick)===null||N===void 0||N.call(e,_)};b.useEffect(()=>{if(p&&c.current)return y(v,c.current)},[p,v,y]);const C=x?{role:"menuitemcheckbox","aria-checked":k}:{role:"option","aria-selected":k};return{components:{root:"div",checkIcon:"span"},root:se(Te("div",{ref:_e(t,c),"aria-disabled":i?"true":void 0,id:p,...C,...e,onClick:z}),{elementType:"div"}),checkIcon:we(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:i,multiselect:x,selected:k,focusVisible:!1,active:!1}},b5=e=>Ce(e.root,{children:[e.checkIcon&&L(e.checkIcon,{}),e.root.children]}),Sv={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},y5=U({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n"},interactive:{Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"f158kwzp",B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f158kwzp{cursor:default;}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),w5=e=>{const{disabled:t,multiselect:o,selected:i}=e,a=y5();return e.root.className=A(Sv.root,a.root,!t&&a.interactive,a.active,t&&a.disabled,i&&a.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=A(Sv.checkIcon,a.checkIcon,o&&a.multiselectCheck,i&&a.selectedCheck,i&&o&&a.selectedMultiselectCheck,t&&a.checkDisabled,t&&o&&a.multiselectCheckDisabled,e.checkIcon.className)),e},Sl=b.forwardRef((e,t)=>{const o=m5(e,t);return w5(o),he("useOptionStyles_unstable")(o),b5(o)});Sl.displayName="Option";const t0=e=>{const{appearance:t="outline",disableAutoFocus:o,children:i,clearable:a=!1,editable:s=!1,inlinePopup:c=!1,mountNode:d=void 0,multiselect:f,onOpenChange:p,size:v="medium",activeDescendantController:h,freeform:x=!1,disabled:y=!1,onActiveOptionChange:k=null}=e,w=Zh(),{getOptionsMatchingValue:B}=w,{getOptionById:z}=w,C=b.useCallback(()=>{const Q=h.active();return Q?z(Q):void 0},[h,z]),_=C(),N=b.useCallback(Q=>{let fe;if(typeof Q=="function"){const qe=C();fe=Q(qe)}fe?h.focus(fe.id):h.blur()},[h,C]),[E,T]=b.useState(!1),[D,I]=b.useState(!1),$=b.useRef(!1),ae=Wu(),[oe,ee]=zt({state:e.value,initialState:void 0}),{selectedOptions:V,selectOption:re,clearSelection:me}=e0(e),W=b.useCallback((Q,fe)=>{Jo.unstable_batchedUpdates(()=>{ee(void 0),re(Q,fe)})},[ee,re]),ie=b.useMemo(()=>{if(oe!==void 0)return oe;if(ae&&e.defaultValue!==void 0)return e.defaultValue;const Q=B(fe=>V.includes(fe)).map(fe=>fe.text);return f?s?"":Q.join(", "):Q[0]},[oe,s,B,f,V]),[R,J]=zt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),X=b.useCallback((Q,fe)=>{y||(p?.(Q,{open:fe}),Jo.unstable_batchedUpdates(()=>{!fe&&!x&&ee(void 0),J(fe)}))},[p,J,ee,x,y]);b.useEffect(()=>{if(R){if(!f&&V.length>0){const Q=B(fe=>fe===V[0]).pop();Q?.id&&h.focus(Q.id)}}else h.blur()},[R,h]),b.useEffect(()=>{R&&!o&&!h.active()&&h.first()},[R,i,o,h,z]);const Be=te(Q=>{const fe=Q.detail.previousId?w.getOptionById(Q.detail.previousId):null,qe=w.getOptionById(Q.detail.id);k?.(Q,{event:Q,type:"change",previousOption:fe,nextOption:qe})});return{...w,freeform:x,disabled:y,selectOption:W,clearSelection:me,selectedOptions:V,activeOption:_,appearance:t,clearable:a,focusVisible:E,ignoreNextBlur:$,inlinePopup:c,mountNode:d,open:R,hasFocus:D,setActiveOption:N,setFocusVisible:T,setHasFocus:I,setOpen:X,setValue:ee,size:v,value:ie,multiselect:f,onOptionClick:te(Q=>{f||X(Q,!1)}),onActiveDescendantChange:Be}};function r0(e){const{positioning:t}=e,i={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Hn(t)},{targetRef:a,containerRef:s}=Ql(i);return[s,a]}function o0(e,t,o){const{state:{multiselect:i},triggerRef:a,defaultProps:s}=o,c=ft("fluent-listbox",rm(e)?e.id:void 0),d=we(e,{renderByDefault:!0,elementType:Yl,defaultProps:{id:c,multiselect:i,tabIndex:void 0,...s}}),f=Ar({id:c},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&f["aria-labelledby"]&&(d["aria-labelledby"]=f["aria-labelledby"]);const p=te(ye(x=>{x.preventDefault()},d?.onMouseDown)),v=te(ye(x=>{var y;x.preventDefault(),(y=a.current)===null||y===void 0||y.focus()},d?.onClick)),h=_e(d?.ref,t);return d&&(d.ref=h,d.onMouseDown=p,d.onClick=v),d}function n0(e,t,o){const{state:{open:i,setOpen:a,setHasFocus:s},defaultProps:c,elementType:d,activeDescendantController:f}=o,p=se(e,{defaultProps:{type:"text","aria-expanded":i,role:"combobox",...typeof c=="object"&&c},elementType:d}),v=b.useRef(null);return p.ref=_e(v,p.ref,t),p.onBlur=ye(h=>{a(h,!1),s(!1)},p.onBlur),p.onFocus=ye(h=>{h.target===h.currentTarget&&s(!0)},p.onFocus),p.onClick=ye(h=>{a(h,!i)},p.onClick),p.onKeyDown=ye(k5({activeDescendantController:f,...o.state}),p.onKeyDown),p}function k5(e){const{activeDescendantController:t,getOptionById:o,setOpen:i,selectOption:a,multiselect:s,open:c}=e,d=b.useCallback(()=>{const w=t.active();return w?o(w):void 0},[t,o]),f=()=>{t.first()},p=()=>{t.last()},v=w=>{w?t.next():t.first()},h=w=>{w?t.prev():t.first()},x=()=>{for(let w=0;w<10;w++)t.prev()},y=()=>{for(let w=0;w<10;w++)t.next()},k=tB();return te(w=>{const B=Ai(w,{open:c,multiselect:s}),z=d();switch(B){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":w.preventDefault();break}switch(k(!0),B){case"First":f();break;case"Last":p();break;case"Next":v(z);break;case"Previous":h(z);break;case"PageDown":y();break;case"PageUp":x();break;case"Open":i(w,!0);break;case"Close":w.stopPropagation(),i(w,!1);break;case"CloseSelect":!s&&!z?.disabled&&i(w,!1);case"Select":z&&a(w,z);break;case"Tab":!s&&z&&a(w,z);break}})}function x5(e,t,o){const{state:{open:i,value:a,selectOption:s,setValue:c,multiselect:d,selectedOptions:f,clearSelection:p,getOptionById:v,setOpen:h},freeform:x,defaultProps:y,activeDescendantController:k}=o,w=I=>{if(!i&&!x){const $=k.active(),ae=$?v($):null;a&&ae&&a.trim().toLowerCase()===ae?.text.toLowerCase()&&s(I,ae),c(void 0)}},B=I=>{const $=I?.trim().toLowerCase();if(!$||$.length===0){k.blur();return}const ae=ee=>ee.toLowerCase().indexOf($)===0,oe=k.find(ee=>{const V=v(ee);return!!V&&ae(V.text)});if(!oe){k.blur();return}return v(oe)},z=I=>{const $=I.target.value;c($);const ae=B($);!d&&f.length===1&&($.length<1||!ae)&&p(I)},C=n0(e,t,{state:o.state,defaultProps:y,elementType:"input",activeDescendantController:k});C.onChange=ye(C.onChange,z),C.onBlur=ye(C.onBlur,w);const[_,N]=b.useState(!1),E=b.useRef(!1),T=C.onKeyDown,D=te(I=>{!i&&Ai(I)==="Type"&&h(I,!0),I.key===Ji||I.key===Zi?N(!0):N(!1);const $=Ai(I,{open:i,multiselect:d});if($==="Type"?E.current=!0:($==="Open"&&I.key!==" "||$==="Next"||$==="Previous"||$==="First"||$==="Last"||$==="PageUp"||$==="PageDown")&&(E.current=!1),(E.current||!i)&&I.key===" "){var ae;e==null||(ae=e.onKeyDown)===null||ae===void 0||ae.call(e,I);return}T?.(I)});return C.onKeyDown=D,_&&(C["aria-activedescendant"]=void 0),C}function i0(e,t){const o=mo({focusable:{ignoreKeydown:{Escape:t}}});return Yu(o,typeof e=="object"?e:{})}const B5=(e,t)=>{var o,i;e=Ar(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:a,activeParentRef:s,controller:c}=od({matchOption:gd}),d=t0({...e,editable:!0,activeDescendantController:c}),{appearance:f,size:p,...v}=d,{clearable:h,clearSelection:x,disabled:y,multiselect:k,open:w,selectedOptions:B,setOpen:z,value:C,hasFocus:_}=v,[N,E]=r0(e),{disableAutoFocus:T=!1,freeform:D,inlinePopup:I}=e,$=ft("combobox-"),{primary:ae,root:oe}=Hr({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),ee=b.useRef(null),V=o0(e.listbox,_e(N,a),{state:d,triggerRef:ee,defaultProps:{children:e.children,disableAutoFocus:T}});var re;const me=x5((re=e.input)!==null&&re!==void 0?re:{},_e(ee,s,t),{state:d,freeform:D,defaultProps:{type:"text",value:C??"","aria-controls":w?V?.id:void 0,...ae},activeDescendantController:c}),W=se(e.root,{defaultProps:{"aria-owns":!I&&w?V?.id:void 0,...oe},elementType:"div"});W.ref=_e(W.ref,E);const ie=B.length>0&&!y&&h&&!k,R={components:{root:"div",input:"input",expandIcon:"span",listbox:Yl,clearIcon:"span"},root:W,input:me,listbox:w||_?V:void 0,clearIcon:we(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:we(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":y?"true":void 0,"aria-expanded":w,role:"button"},elementType:"span"}),showClearIcon:ie,activeDescendantController:c,...v},{targetDocument:J}=je();Dl({element:J,callback:ce=>z(ce,!1),refs:[ee,N,E],disabled:!w});const{onMouseDown:X}=R.expandIcon||{},Be=te(ye(X,ce=>{var pe;ce.preventDefault(),R.setOpen(ce,!R.open),(pe=ee.current)===null||pe===void 0||pe.focus()}));if(R.expandIcon){R.expandIcon.onMouseDown=Be;const ce=R.expandIcon["aria-label"]||R.expandIcon["aria-labelledby"],pe="Open";if(!ce)if(e["aria-labelledby"]){var Q;const Ne=(Q=R.expandIcon.id)!==null&&Q!==void 0?Q:`${$}-chevron`,He=`${Ne} ${R.input["aria-labelledby"]}`;R.expandIcon["aria-label"]=pe,R.expandIcon.id=Ne,R.expandIcon["aria-labelledby"]=He}else e["aria-label"]?R.expandIcon["aria-label"]=`${pe} ${e["aria-label"]}`:R.expandIcon["aria-label"]=pe}const fe=te(ye((o=R.clearIcon)===null||o===void 0?void 0:o.onMouseDown,ce=>{ce.preventDefault()})),qe=te(ye((i=R.clearIcon)===null||i===void 0?void 0:i.onClick,ce=>{x(ce)}));return R.clearIcon&&(R.clearIcon.onMouseDown=fe,R.clearIcon.onClick=qe),k&&(R.clearIcon=void 0),R},S5=(e,t)=>{const o=No();var i;const{appearance:a="outline",size:s=(i=o?.size)!==null&&i!==void 0?i:"medium",...c}=e,d=B5(c,t);if(d.clearIcon){var f,p;(p=(f=d.clearIcon).children)!==null&&p!==void 0||(f.children=b.createElement(Au,null))}if(d.expandIcon){var v,h;(h=(v=d.expandIcon).children)!==null&&h!==void 0||(v.children=b.createElement(Lu,null))}return{...d,appearance:a,size:s,input:{...i0(d.input,d.open),...d.input}}};function z5(e){return dt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const _5=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;}"]}),a0=Rn.useInsertionEffect,N5=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,s=b.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return b.useMemo(()=>{s&&(s.className=t,s.setAttribute("dir",o),s.setAttribute("data-portal-node","true"),i.current=s)},[t,o,s,i]),b.useEffect(()=>()=>{s?.remove()},[s]),s},C5=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},j5=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[s]=b.useState(C5),c=b.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(d,f){if(f==="nodeType")return 1;if(f==="remove"){const h=s.get(a,!1);return h&&h.childNodes.length===0&&s.dispose(),()=>{}}const p=s.get(a,!0),v=p?p[f]:void 0;return typeof v=="function"?v.bind(p):v},set(d,f,p){const v=f==="_virtual"||f==="focusVisible",h=v?s.get(a,!1):s.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[f]:p}),!0):!1}}),[s,a,e.disabled]);return a0(()=>{if(!c)return;const d=t.split(" ").filter(Boolean);return c.classList.add(...d),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...d),c.removeAttribute("dir")}},[t,o,c,i]),b.useEffect(()=>()=>{c?.remove()},[c]),c},T5=a0?j5:N5,q5=e=>{"use no memo";const{targetDocument:t,dir:o}=je(),i=Xi(),a=en(),s=_5(),c=$i(),d={dir:o,disabled:e.disabled,focusVisibleRef:a,className:A(c,s.root,e.className),targetNode:i??t?.body};return T5(d)},E5=e=>{const{element:t,className:o}=z5(e.mountNode),i=b.useRef(null),a=q5({disabled:!!t,className:o}),s=t??a,c={children:e.children,mountNode:s,virtualParentRootRef:i};return b.useEffect(()=>{if(!s)return;const d=i.current,f=s.contains(d);if(d&&!f)return xr(s,d),()=>{xr(s,void 0)}},[i,s]),c},P5=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Jo.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),vd=e=>{const t=E5(e);return P5(t)};vd.displayName="Portal";const R5=(e,t)=>L(e.root,{children:L(rd,{value:t.activeDescendant,children:L(s5,{value:t.listbox,children:Ce(pd.Provider,{value:t.combobox,children:[L(e.input,{}),e.clearIcon&&L(e.clearIcon,{}),e.expandIcon&&L(e.expandIcon,{}),e.listbox&&(e.inlinePopup?L(e.listbox,{}):L(vd,{mountNode:e.mountNode,children:L(e.listbox,{})}))]})})})}),ji={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},F5=U({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),D5=U({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),I5=U({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},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);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),M5=e=>{const{appearance:t,open:o,size:i,showClearIcon:a}=e,s=`${e.input["aria-invalid"]}`=="true",c=e.input.disabled,d=F5(),f=I5(),p=D5();return e.root.className=A(ji.root,d.root,d[t],d[i],!c&&t==="outline"&&d.outlineInteractive,s&&t!=="underline"&&d.invalid,s&&t==="underline"&&d.invalidUnderline,c&&d.disabled,e.root.className),e.input.className=A(ji.input,p.input,p[i],c&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=A(ji.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!o&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=A(ji.expandIcon,f.icon,f[i],c&&f.disabled,a&&f.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=A(ji.clearIcon,f.icon,f[i],c&&f.disabled,!a&&f.hidden,e.clearIcon.className)),e},O5=b.forwardRef((e,t)=>{const o=S5(e,t),i=Jh(o);return M5(o),he("useComboboxStyles_unstable")(o),R5(o,i)});O5.displayName="Combobox";function H5(e,t,o){const{state:{open:i,setOpen:a,getOptionById:s},defaultProps:c,activeDescendantController:d}=o,f=b.useRef(""),[p,v]=yo(),h=(w,B={startFromNext:!1})=>{const{startFromNext:z}=B,C=d.active(),_=d.find(N=>{const E=s(N);return!!E&&w(E.text)},{startFrom:z?d.next({passive:!0}):C});return _||d.find(N=>{const E=s(N);return!!E&&w(E.text)})},x=()=>{h(w=>w.toLocaleLowerCase().indexOf(f.current)===0,{startFromNext:f.current.length===1})||A5(f.current)&&h(w=>w.toLocaleLowerCase().indexOf(f.current[0])===0,{startFromNext:!0})||d.blur()},y=w=>{v(),Ai(w)==="Type"&&(f.current+=w.key.toLowerCase(),p(()=>{f.current=""},500),i&&x(),!i&&a(w,!0))},k=n0(e,t,{state:o.state,defaultProps:c,elementType:"button",activeDescendantController:d});return k.onKeyDown=ye(y,k.onKeyDown),k}function A5(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}const L5=(e,t)=>{var o;e=Ar(e,{supportsLabelFor:!0});const{listboxRef:i,activeParentRef:a,controller:s}=od({matchOption:gd}),c=t0({...e,activeDescendantController:s,freeform:!1}),{appearance:d,size:f,freeform:p,...v}=c,{clearable:h,clearSelection:x,disabled:y,hasFocus:k,multiselect:w,open:B,selectedOptions:z,setOpen:C}=v,{primary:_,root:N}=Hr({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[E,T]=r0(e),D=b.useRef(null),I=o0(e.listbox,_e(E,i),{state:c,triggerRef:D,defaultProps:{children:e.children}}),{targetDocument:$}=je();Dl({element:$,callback:W=>C(W,!1),refs:[D,E,T],disabled:!B});var ae;const oe=H5((ae=e.button)!==null&&ae!==void 0?ae:{},_e(D,a,t),{state:c,defaultProps:{type:"button",tabIndex:_.disabled?void 0:0,children:v.value||e.placeholder,"aria-controls":B?I?.id:void 0,..._},activeDescendantController:s}),ee=se(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&B?I?.id:void 0,children:e.children,...N},elementType:"div"});ee.ref=_e(ee.ref,T);const V=z.length>0&&!y&&h&&!w,re={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:Yl},root:ee,button:oe,listbox:B||k?I:void 0,clearButton:we(e.clearButton,{defaultProps:{"aria-label":"Clear selection",tabIndex:V?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:we(e.expandIcon,{renderByDefault:!0,elementType:"span"}),placeholderVisible:!v.value&&!!e.placeholder,showClearButton:V,activeDescendantController:s,...v},me=te(ye((o=re.clearButton)===null||o===void 0?void 0:o.onClick,W=>{var ie;x(W),(ie=D.current)===null||ie===void 0||ie.focus()}));return re.clearButton&&(re.clearButton.onClick=me),w&&(re.clearButton=void 0),re},V5=(e,t)=>{const o=No();var i;const{appearance:a="outline",size:s=(i=o?.size)!==null&&i!==void 0?i:"medium",...c}=e,d=L5(c,t);if(d.clearButton){var f,p;(p=(f=d.clearButton).children)!==null&&p!==void 0||(f.children=b.createElement(Au,null))}if(d.expandIcon){var v,h;(h=(v=d.expandIcon).children)!==null&&h!==void 0||(v.children=b.createElement(Lu,null))}return{...d,appearance:a,size:s,button:{...i0(d.button,d.open),...d.button}}},W5=(e,t)=>L(e.root,{children:L(rd,{value:t.activeDescendant,children:L(An.Provider,{value:t.listbox,children:Ce(pd.Provider,{value:t.combobox,children:[Ce(e.button,{children:[e.button.children,e.expandIcon&&L(e.expandIcon,{})]}),e.clearButton&&L(e.clearButton,{}),e.listbox&&(e.inlinePopup?L(e.listbox,{}):L(vd,{mountNode:e.mountNode,children:L(e.listbox,{})}))]})})})}),Ti={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},$5=U({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),U5=U({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),X5=be("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),G5=e=>{const{appearance:t,open:o,placeholderVisible:i,showClearButton:a,size:s}=e,c=`${e.button["aria-invalid"]}`=="true",d=e.button.disabled,f=$5(),p=U5(),v=X5();return e.root.className=A(Ti.root,f.root,f[t],!d&&t==="outline"&&f.outlineInteractive,c&&t!=="underline"&&f.invalid,c&&t==="underline"&&f.invalidUnderline,d&&f.disabled,e.root.className),e.button.className=A(Ti.button,f.button,f[s],i&&f.placeholder,d&&f.disabledText,e.button.className),e.listbox&&(e.listbox.className=A(Ti.listbox,f.listbox,e.inlinePopup&&f.inlineListbox,!o&&f.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=A(Ti.expandIcon,p.icon,p[s],d&&p.disabled,a&&f.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=A(Ti.clearButton,v,p.icon,p[s],d&&p.disabled,!a&&f.hidden,e.clearButton.className)),e},K5=b.forwardRef((e,t)=>{const o=V5(e,t),i=Jh(o);return G5(o),he("useDropdownStyles_unstable")(o),W5(o,i)});K5.displayName="Dropdown";function Q5(e,t){return t===""?!0:e.toLowerCase().includes(t.toLowerCase())}function zv(e){return typeof e=="string"?e:e.value}function W8(e,t,o){const{filter:i=Q5,noOptionsMessage:a="We couldn't find any matches.",optionToReactKey:s=zv,optionToText:c=zv,renderOption:d=p=>typeof p=="string"?b.createElement(Sl,{key:p},p):b.createElement(Sl,{...p,key:s(p),text:c(p),value:p.value},p.children)}=o,f=b.useMemo(()=>{const p=e.trim();return t.filter(v=>i(c(v),p))},[t,c,i,e]);return f.length===0?[b.createElement(Sl,{"aria-disabled":"true",key:"no-results",text:""},a)]:f.map(p=>d(p))}const Y5=e=>L(e.root,{children:e.root.children!==void 0&&L(e.wrapper,{children:e.root.children})}),J5=(e,t)=>{const{alignContent:o="center",appearance:i="default",inset:a=!1,...s}=e,c=Z5(s,t);return{alignContent:o,appearance:i,inset:a,...c}},Z5=(e,t)=>{const{vertical:o=!1,wrapper:i,...a}=e,s=ft("divider-");return{vertical:o,components:{root:"div",wrapper:"div"},root:se({role:"separator","aria-orientation":o?"vertical":"horizontal","aria-labelledby":e.children?s:void 0,ref:t,...a},{elementType:"div"}),wrapper:se(i,{defaultProps:{id:s,children:e.children},elementType:"div"})}},_v={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},e_=U({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),t_=U({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),r_=U({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),o_=e=>{const t=e_(),o=t_(),i=r_(),{alignContent:a,appearance:s,inset:c,vertical:d}=e;return e.root.className=A(_v.root,t.base,t[a],s&&t[s],!d&&o.base,!d&&c&&o.inset,!d&&o[a],d&&i.base,d&&c&&i.inset,d&&i[a],d&&e.root.children!==void 0&&i.withChildren,e.root.children===void 0&&t.childless,e.root.className),e.wrapper&&(e.wrapper.className=A(_v.wrapper,e.wrapper.className)),e},n_=b.forwardRef((e,t)=>{const o=J5(e,t);return o_(o),he("useDividerStyles_unstable")(o),Y5(o)});n_.displayName="Divider";const i_=(e,t)=>{const o=Ui(),i=No();var a,s;const{size:c=(a=i?.size)!==null&&a!==void 0?a:"medium",appearance:d=(s=o.inputDefaultAppearance)!==null&&s!==void 0?s:"outline",...f}=e,p=a_(f,t);return{size:c,appearance:d,...p}},a_=(e,t)=>{const o=Ar(e,{supportsLabelFor:!0,supportsRequired:!0}),[i,a]=zt({state:o.value,defaultState:o.defaultValue,initialState:""}),s=Hr({props:o,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),c={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:se(o.input,{defaultProps:{type:"text",ref:t,...s.primary},elementType:"input"}),contentAfter:we(o.contentAfter,{elementType:"span"}),contentBefore:we(o.contentBefore,{elementType:"span"}),root:se(o.root,{defaultProps:s.root,elementType:"span"})};return c.input.value=i,c.input.onChange=te(d=>{var f;const p=d.target.value;(f=o.onChange)===null||f===void 0||f.call(o,d,{value:p}),a(p)}),c},l_=e=>Ce(e.root,{children:[e.contentBefore&&L(e.contentBefore,{}),L(e.input,{}),e.contentAfter&&L(e.contentAfter,{})]}),fl={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},s_=be("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),c_=U({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),u_=be("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),d_=U({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),f_=be("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),p_=U({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),g_=e=>{const{size:t,appearance:o}=e,i=e.input.disabled,a=`${e.input["aria-invalid"]}`=="true",s=o.startsWith("filled"),c=c_(),d=d_(),f=p_();e.root.className=A(fl.root,s_(),c[t],e.contentBefore&&c[`${t}WithContentBefore`],e.contentAfter&&c[`${t}WithContentAfter`],c[o],!i&&o==="outline"&&c.outlineInteractive,!i&&o==="underline"&&c.underlineInteractive,!i&&s&&c.filledInteractive,s&&c.filled,!i&&a&&c.invalid,i&&c.disabled,e.root.className),e.input.className=A(fl.input,u_(),d[t],e.contentBefore&&d[`${t}WithContentBefore`],e.contentAfter&&d[`${t}WithContentAfter`],i&&d.disabled,e.input.className);const p=[f_(),i&&f.disabled,f[t]];return e.contentBefore&&(e.contentBefore.className=A(fl.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=A(fl.contentAfter,...p,e.contentAfter.className)),e},v_=b.forwardRef((e,t)=>{const o=i_(e,t);return g_(o),he("useInputStyles_unstable")(o),l_(o)});v_.displayName="Input";const m_=e=>{const{disabled:t,disabledFocusable:o}=e,{onClick:i,onKeyDown:a,role:s,tabIndex:c}=e.root;return e.root.as==="a"&&(e.root.href=t?void 0:e.root.href,(t||o)&&(e.root.role=s||"link")),(e.root.as==="a"||e.root.as==="span")&&(e.root.tabIndex=c??(t&&!o?void 0:0)),e.root.onClick=d=>{t||o?d.preventDefault():i?.(d)},e.root.onKeyDown=d=>{const f=d.key===Dr||d.key===er;(t||o)&&f?(d.preventDefault(),d.stopPropagation()):(a?.(d),e.root.as==="span"&&e.root.onClick&&!a&&f&&(d.preventDefault(),d.currentTarget.click()))},e.disabled=t||o,e.root["aria-disabled"]=t||o||void 0,e.root.as==="button"&&(e.root.disabled=t&&!o),e},l0=b.createContext(void 0),h_={inline:!1},b_=l0.Provider,y_=()=>{var e;return(e=b.useContext(l0))!==null&&e!==void 0?e:h_},w_=(e,t)=>{const o=jw(),{inline:i}=y_(),{appearance:a="default",inline:s,...c}=e,d=k_(c,t);return{appearance:a,backgroundAppearance:o,inline:s??!!i,...d}},k_=(e,t)=>{const{disabled:o=!1,disabledFocusable:i=!1}=e,a=e.as||(e.href?"a":"button"),s={role:a==="span"?"button":void 0,type:a==="button"?"button":void 0,...e,as:a},c={disabled:o,disabledFocusable:i,components:{root:a},root:se(Te(a,{ref:t,...s}),{elementType:a})};return m_(c),c},x_={root:"fui-Link"},B_=U({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"f2yjg6r",Bde5pd6:"f1tx3yz7",Bi91k9c:"fj1cjhr",i089h6:"f1eh06m1",lj723h:"fhucn0c"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Boo3t63:"fji3q0k"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1ujg2k6",lj723h:"f1ebemlp"},brand:{sj55zd:"f179xftw",Bi91k9c:"f1sk1dtk",lj723h:"f182g21t"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".f2yjg6r{color:var(--colorNeutralForeground2Link);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".f179xftw{color:var(--colorNeutralForegroundInvertedLink);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fj1cjhr:hover{color:var(--colorNeutralForeground2LinkHover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ujg2k6:hover{color:var(--colorBrandForegroundInverted);}",".f1sk1dtk:hover{color:var(--colorNeutralForegroundInvertedLinkHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".fhucn0c:active{color:var(--colorNeutralForeground2LinkPressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ebemlp:active{color:var(--colorBrandForegroundInverted);}",".f182g21t:active{color:var(--colorNeutralForegroundInvertedLinkPressed);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fji3q0k:active{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),S_=e=>{const t=B_(),{appearance:o,disabled:i,inline:a,root:s,backgroundAppearance:c}=e;return e.root.className=A(x_.root,t.root,t.focusIndicator,s.as==="a"&&s.href&&t.href,s.as==="button"&&t.button,o==="subtle"&&t.subtle,c==="inverted"&&t.inverted,c==="brand"&&t.brand,a&&t.inline,i&&t.disabled,e.root.className),e},z_=e=>L(e.root,{}),__=b.forwardRef((e,t)=>{const o=w_(e,t);return S_(o),he("useLinkStyles_unstable")(o),z_(o)});__.displayName="Link";const Jl=xo(void 0),N_={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},C_=Jl.Provider,De=e=>tn(Jl,(t=N_)=>e(t)),s0=b.createContext(void 0),j_=!1,T_=s0.Provider,q_=()=>{var e;return(e=b.useContext(s0))!==null&&e!==void 0?e:j_},md=xo(void 0),E_={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},P_=md.Provider,Li=e=>tn(md,(t=E_)=>e(t)),Vi="fuimenuenter",R_=e=>{const{refs:t,callback:o,element:i,disabled:a}=e,s=te(c=>{const d=t[0],f=c.target;var p;!Wo((p=d.current)!==null&&p!==void 0?p:null,f)&&!a&&o(c)});b.useEffect(()=>{if(i!=null)return a||i.addEventListener(Vi,s),()=>{i.removeEventListener(Vi,s)}},[s,i,a])},F_=(e,t)=>{e.dispatchEvent(new CustomEvent(Vi,{bubbles:!0,detail:{nativeEvent:t}}))};function hd(){const e=De(o=>o.isSubmenu),t=In(md);return e||t}const c0=e=>{const{targetDocument:t}=je();return De(i=>i.triggerRef),De(i=>i.inline),b.useRef(null)},Eu="fuimenusafezonetimeout",D_=e=>{const t=b.useRef(null);return b.useCallback(o=>{var i;(i=t.current)===null||i===void 0||i.removeEventListener(Eu,e),o?.addEventListener(Eu,e),t.current=o},[e])},I_=U({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),M_=e=>{const t=I_();e.checkmark&&(e.checkmark.className=A(t.root,e.checked&&t.rootChecked,e.checkmark.className))},co={root:"fui-MenuItem",icon:"fui-MenuItem__icon",checkmark:"fui-MenuItem__checkmark",submenuIndicator:"fui-MenuItem__submenuIndicator",content:"fui-MenuItem__content",secondaryContent:"fui-MenuItem__secondaryContent",subText:"fui-MenuItem__subText"},O_=be("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:['@media (forced-colors: active){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}",'@media (forced-colors: active){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),H_=be("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),A_=be("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),L_=be("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),V_=be("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),W_=be("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),$_=U({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},submenuOpen:{De3pzq:"f5gciec",sj55zd:"fmh2wxz",D0sxk3:"fxoiby5",t6yez3:"f15q0o9g",B3y4be1:"f17gqod3",B2i6fwv:"f15ms52v",By8wz76:"fix5gee",B7iucu3:"f1gokeew"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Bbkh6qg:"f1wzezsb",B3ejlan:"f1egomlm",B41git9:"f1wf2001",Boq1n10:"fied5gk",Dcq74g:"f1efp33f",rxnm8d:"f1m2zpi7",wxluhh:"fei14nx",idgcvv:"f12hmwa5",j9xr24:"f1hzwxd0"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f5gciec{background-color:var(--colorNeutralBackground1Hover);}",".fmh2wxz{color:var(--colorNeutralForeground2Hover);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f17gqod3 .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".f15ms52v .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.fix5gee{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gokeew{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wzezsb:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1egomlm:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wf2001:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fied5gk:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2zpi7:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fei14nx:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12hmwa5:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1hzwxd0:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"]}),U_=U({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),X_=U({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),G_=e=>{const t=$_(),o=O_(),i=H_(),a=A_(),s=L_(),c=V_(),d=X_(),f=W_(),p=U_(),v=!!e.subText;return e.root.className=A(co.root,o,e.submenuOpen&&t.submenuOpen,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=A(co.content,i,e.content.className,v&&d.content)),e.checkmark&&(e.checkmark.className=A(co.checkmark,t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=A(co.secondaryContent,a,e.disabled&&t.disabled,e.secondaryContent.className,v&&d.secondaryContent)),e.icon&&(e.icon.className=A(co.icon,s,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=A(co.submenuIndicator,c,e.submenuIndicator.className,v&&d.submenuIndicator)),e.subText&&(e.subText.className=A(co.subText,e.disabled&&p.disabled,e.subText.className,f)),M_(e),e},Nv=Pe.durationSlower,Cv=Pe.curveDecelerateMid,jv=So(({distance:e=10})=>({enter:[ho({duration:Nv,easing:Cv,direction:"enter"}),{...bh({duration:Nv,easing:Cv,direction:"enter",outX:`calc(var(${Cl}, 0px) * ${e})`,outY:`calc(var(${jl}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),K_=["after","after-bottom","before-top","before","before-bottom","above"],Q_=e=>{const{surfaceMotion:t,...o}=e,i=Y_(o);return{...i,components:{surfaceMotion:jv},surfaceMotion:Vl(t,{elementType:jv,defaultProps:{visible:i.open,appear:!0,unmountOnExit:!0}})}},Y_=e=>{const t=hd(),{hoverDelay:o=500,inline:i=!1,hasCheckmarks:a=!1,hasIcons:s=!1,closeOnScroll:c=!1,openOnContext:d=!1,persistOnItemClick:f=!1,openOnHover:p=t,defaultCheckedValues:v,mountNode:h=null,safeZone:x}=e,{targetDocument:y}=je(),k=ft("menu"),[w,B]=Ih(),z=Hn(e.positioning),C=yh({targetDocument:y,onPositioningEnd:z.onPositioningEnd}),_={position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?w:void 0,fallbackPositions:t?K_:void 0,...z,onPositioningEnd:C},N=b.Children.toArray(e.children);let E,T;N.length===2?(E=N[0],T=N[1]):N.length===1&&(T=N[0]);const{targetRef:D,containerRef:I}=Ql(_),$=x&&p,ae=b.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),oe=Nz({disabled:!$,timeout:typeof x=="object"?x.timeout:300,onSafeZoneEnter:R=>{me(R,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:R}),ae.current.isInside=!0},onSafeZoneLeave:()=>{ae.current.isInside=!1},onSafeZoneMove:R=>{ae.current.mouseCoordinates={x:R.clientX,y:R.clientY}},onSafeZoneTimeout:()=>{const R=new CustomEvent(Eu);if(me(R,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:R}),ae.current.isInside&&y){const X=y.elementsFromPoint(ae.current.mouseCoordinates.x,ae.current.mouseCoordinates.y).find(Be=>Be.classList.contains(co.root));X?.dispatchEvent(R)}}}),ee=_e(D,oe.targetRef),V=_e(I,oe.containerRef),[re,me]=Z_({hoverDelay:o,isSubmenu:t,setContextTarget:B,closeOnScroll:c,menuPopoverRef:V,triggerRef:ee,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[W,ie]=J_({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:i,hoverDelay:o,triggerId:k,isSubmenu:t,openOnHover:p,contextTarget:w,setContextTarget:B,hasCheckmarks:a,hasIcons:s,closeOnScroll:c,menuTrigger:E,menuPopover:T,mountNode:h,triggerRef:ee,menuPopoverRef:V,openOnContext:d,open:re,setOpen:me,checkedValues:W,onCheckedValueChange:ie,persistOnItemClick:f,safeZone:oe.elementToRender}},J_=e=>{const[t,o]=zt({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),i=te((a,{name:s,checkedItems:c})=>{var d;(d=e.onCheckedValueChange)===null||d===void 0||d.call(e,a,{name:s,checkedItems:c}),o(f=>({...f,[s]:c}))});return[t,i]},Z_=e=>{const{targetDocument:t}=je(),o=De(w=>w.setOpen),i=te((w,B)=>{var z;return(z=e.onOpenChange)===null||z===void 0?void 0:z.call(e,w,B)}),a=b.useRef(!1),[s,c]=zt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=te((w,B)=>{const z=w instanceof CustomEvent&&w.type===Vi?w.detail.nativeEvent:w;i?.(z,{...B}),B.open&&w.type==="contextmenu"&&e.setContextTarget(w),B.open||e.setContextTarget(void 0),B.bubble&&o(w,{...B}),c(B.open)}),[f,p]=yo(),v=te((w,B)=>{if(p(),!(w instanceof Event)&&w.persist&&w.persist(),!B.ignoreHoverDelay&&(w.type==="mouseleave"||w.type==="mouseover"||w.type==="mousemove"||w.type===Vi)){var C;!((C=e.triggerRef.current)===null||C===void 0)&&C.contains(w.target)&&(a.current=w.type==="mouseover"||w.type==="mousemove"),f(()=>d(w,B),e.hoverDelay)}else d(w,B)});Dl({contains:Wo,disabled:!s,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:w=>v(w,{open:!1,type:"clickOutside",event:w})});const h=e.openOnContext||e.closeOnScroll;ym({contains:Wo,element:t,callback:w=>v(w,{open:!1,type:"scrollOutside",event:w}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!s||!h}),R_({element:t,callback:w=>{a.current||v(w,{open:!1,type:"menuMouseEnter",event:w})},disabled:!s,refs:[e.menuPopoverRef]});const{findFirstFocusable:x}=wo(),y=b.useCallback(()=>{const w=x(e.menuPopoverRef.current);w?.focus()},[x,e.menuPopoverRef]),k=Wu();return b.useEffect(()=>{if(s)y();else if(!k){var w,B;if(t?.activeElement===t?.body||!((w=e.menuPopoverRef.current)===null||w===void 0)&&w.contains((B=t?.activeElement)!==null&&B!==void 0?B:null)){var z;(z=e.triggerRef.current)===null||z===void 0||z.focus()}}},[e.triggerRef,e.isSubmenu,s,y,t,e.menuPopoverRef]),[s,v]};function e4(e){const{checkedValues:t,hasCheckmarks:o,hasIcons:i,inline:a,isSubmenu:s,menuPopoverRef:c,mountNode:d,onCheckedValueChange:f,open:p,openOnContext:v,openOnHover:h,persistOnItemClick:x,safeZone:y,setOpen:k,triggerId:w,triggerRef:B}=e;return{menu:b.useMemo(()=>({checkedValues:t,hasCheckmarks:o,hasIcons:i,inline:a,isSubmenu:s,menuPopoverRef:c,mountNode:d,onCheckedValueChange:f,open:p,openOnContext:v,openOnHover:h,persistOnItemClick:x,safeZone:y,setOpen:k,triggerId:w,triggerRef:B}),[t,o,i,a,s,c,d,f,p,v,h,x,y,k,w,B])}}const t4=(e,t)=>Ce(C_,{value:t.menu,children:[e.menuTrigger,e.menuPopover&&L(e.surfaceMotion,{children:L(Ll,{children:e.menuPopover})})]}),r4=e=>{const t=Q_(e),o=e4(t);return t4(t,o)};r4.displayName="Menu";const o4=(e,t)=>({components:{root:"div"},root:se(Te("div",{role:"presentation","aria-hidden":!0,...e,ref:t}),{elementType:"div"})}),n4={root:"fui-MenuDivider"},i4=U({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f8dz51a",a9b677:"f14z66ap",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"}},{d:[[".f8dz51a{margin:4px -5px 4px -5px;}",{p:-1}],".f14z66ap{width:auto;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}]]}),a4=e=>{const t=i4();return e.root.className=A(n4.root,t.root,e.root.className),e},l4=e=>L(e.root,{}),s4=b.forwardRef((e,t)=>{const o=o4(e,t);return a4(o),he("useMenuDividerStyles_unstable")(o),l4(o)});s4.displayName="MenuDivider";const c4=(e,t)=>{const o=Li(a=>a.setFocusByFirstCharacter),{onKeyDown:i}=e.root;return e.root.onKeyDown=a=>{var s;i?.(a),!(((s=a.key)===null||s===void 0?void 0:s.length)>1)&&t.current&&o?.(a,t.current)},e},u0=b.createContext(void 0),d0={setMultiline:()=>null};u0.Provider;const f0=()=>{var e;return(e=b.useContext(u0))!==null&&e!==void 0?e:d0},p0=()=>f0()!==d0,u4=(e,t)=>{const o=q_(),i=De(C=>C.persistOnItemClick),{as:a="div",disabled:s=!1,hasSubmenu:c=o,persistOnClick:d=i,content:f,...p}=e,{hasIcons:v,hasCheckmarks:h}=f4({hasSubmenu:c}),x=De(C=>C.setOpen),y=De(C=>C.open);d4({multiline:!!e.subText,hasSubmenu:c});const k=b.useRef(null),w=b.useRef(!1),B=c0(p4(e.role)),z={hasSubmenu:c,submenuOpen:c&&y,disabled:s,persistOnClick:d,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:se(Te(a,Ko(a,{role:"menuitem",...p,disabled:!1,disabledFocusable:s,ref:_e(t,k,B),onKeyDown:te(C=>{var _;(_=e.onKeyDown)===null||_===void 0||_.call(e,C),!C.isDefaultPrevented()&&(C.key===er||C.key===Dr)&&(w.current=!0)}),onMouseMove:te(C=>{var _;if(C.currentTarget.ownerDocument.activeElement!==C.currentTarget){var N;(N=k.current)===null||N===void 0||N.focus()}(_=e.onMouseMove)===null||_===void 0||_.call(e,C)}),onClick:te(C=>{var _;!c&&!d&&(x(C,{open:!1,keyboard:w.current,bubble:!0,type:"menuItemClick",event:C}),w.current=!1),(_=e.onClick)===null||_===void 0||_.call(e,C)})})),{elementType:"div"}),icon:we(e.icon,{renderByDefault:v,elementType:"span"}),checkmark:we(e.checkmark,{renderByDefault:h,elementType:"span"}),submenuIndicator:we(e.submenuIndicator,{renderByDefault:c,elementType:"span"}),content:we(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:we(e.secondaryContent,{elementType:"span"}),subText:we(e.subText,{elementType:"span"})};return c4(z,k),z},d4=e=>{const{hasSubmenu:t,multiline:o}=e,i=p0()&&t,{setMultiline:a}=f0();$e(()=>{i||a(o)},[a,o,i])},f4=e=>{const{hasSubmenu:t}=e,o=Li(s=>s.hasIcons),i=Li(s=>s.hasCheckmarks),a=p0()&&t;return{hasIcons:o&&!a,hasCheckmarks:i&&!a}},p4=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},g4=Zv(_y,zy),v4=Zv(Cy,Ny),m4=(e,t)=>{const{dir:o}=je(),i=u4(e,t);if(i.submenuIndicator){var a,s;(s=(a=i.submenuIndicator).children)!==null&&s!==void 0||(a.children=o==="rtl"?b.createElement(v4,null):b.createElement(g4,null))}return i},h4=e=>Ce(e.root,{children:[e.checkmark&&L(e.checkmark,{}),e.icon&&L(e.icon,{}),e.content&&Ce(e.content,{children:[e.content.children,e.subText&&L(e.subText,{})]}),e.secondaryContent&&L(e.secondaryContent,{}),e.submenuIndicator&&L(e.submenuIndicator,{})]}),b4=b.forwardRef((e,t)=>{const o=m4(e,t);return G_(o),he("useMenuItemStyles_unstable")(o),h4(o)});b4.displayName="MenuItem";const g0=["menuitem","menuitemcheckbox","menuitemradio"],y4=g0.map(e=>`[role="${e}"]`).join(","),w4=(e,t)=>{const o=x4(),i=In(Jl);B4(e,o,i)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const a=b.useRef(null),{findAllFocusable:s}=wo(),{targetDocument:c}=je(),d=Ii({circular:!0}),f=k4(e,t),p=_e(f.root.ref,a);b.useEffect(()=>{const h=a.current;if(!i||!c||!h)return;const x=y=>{const k=y.detail.next;k&&h.contains(c.activeElement)&&!h.contains(k)&&y.preventDefault()};return c.addEventListener(ku,x),()=>{c.removeEventListener(ku,x)}},[i,c]);const v=b.useCallback((h,x)=>{if(!a.current)return;const y=s(a.current,k=>k.hasAttribute("role")&&g0.indexOf(k.getAttribute("role"))!==-1);v0(y,h.key,x)},[s]);return{...f,root:{...d,...f.root,ref:p},setFocusByFirstCharacter:v}},k4=(e,t)=>{const o=De(T=>T.triggerId),i=De(T=>T.checkedValues),a=De(T=>T.onCheckedValueChange),s=De(T=>T.hasIcons),c=De(T=>T.hasCheckmarks),d=In(Jl),f=b.useRef(null),p=c0(),v=b.useCallback((T,D)=>{if(!f.current)return;const I=Array.from(f.current.querySelectorAll(y4));v0(I,T.key,D)},[]);var h;const[x,y]=zt({state:(h=e.checkedValues)!==null&&h!==void 0?h:d?i:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var k;const w=(k=e.onCheckedValueChange)!==null&&k!==void 0?k:d?a:void 0,B=te((T,D,I,$)=>{const oe=[...x?.[D]||[]];$?oe.splice(oe.indexOf(I),1):oe.push(I),w?.(T,{name:D,checkedItems:oe}),y(ee=>({...ee,[D]:oe}))}),z=te((T,D,I)=>{const $=[I];y(ae=>({...ae,[D]:$})),w?.(T,{name:D,checkedItems:$})});var C,_,N,E;return{components:{root:"div"},root:se(Te("div",{ref:_e(t,f,p),role:"menu","aria-labelledby":o,...e}),{elementType:"div"}),checkedValues:x,hasIcons:(_=(C=e.hasIcons)!==null&&C!==void 0?C:s)!==null&&_!==void 0?_:!1,hasCheckmarks:(E=(N=e.hasCheckmarks)!==null&&N!==void 0?N:c)!==null&&E!==void 0?E:!1,hasMenuContext:d,setFocusByFirstCharacter:v,selectRadio:z,toggleCheckbox:B}},v0=(e,t,o)=>{let i=e.indexOf(o)+1;i===e.length&&(i=0);const a=e.map(f=>{var p;return(p=f.textContent)===null||p===void 0?void 0:p.charAt(0).toLowerCase()}),s=t.toLowerCase(),c=f=>{for(let p=f;p<a.length;p++)if(s===a[p])return p;return-1};let d=c(i);d===-1&&(d=c(0)),d>-1&&e[d].focus()},x4=()=>{const e=De(s=>s.checkedValues),t=De(s=>s.onCheckedValueChange),o=De(s=>s.triggerId),i=De(s=>s.hasIcons),a=De(s=>s.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:t,triggerId:o,hasIcons:i,hasCheckmarks:a}},B4=(e,t,o)=>{let i=!1;for(const a in t)e[a]&&(i=!0);return o&&i},S4=(e,t)=>L(P_,{value:t.menuList,children:L(e.root,{})});function z4(e){const{checkedValues:t,hasCheckmarks:o,hasIcons:i,selectRadio:a,setFocusByFirstCharacter:s,toggleCheckbox:c}=e;return{menuList:b.useMemo(()=>({checkedValues:t,hasCheckmarks:o,hasIcons:i,selectRadio:a,setFocusByFirstCharacter:s,toggleCheckbox:c}),[t,o,i,a,s,c])}}const _4={root:"fui-MenuList"},N4=U({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),C4=e=>{const t=N4();return e.root.className=A(_4.root,t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className),e},j4=b.forwardRef((e,t)=>{const o=w4(e,t),i=z4(o);return C4(o),he("useMenuListStyles_unstable")(o),S4(o,i)});j4.displayName="MenuList";const T4=(e,t)=>{"use no memo";const o=De(T=>T.safeZone),i=De(T=>T.menuPopoverRef),a=De(T=>T.setOpen),s=De(T=>T.open),c=De(T=>T.openOnHover),d=De(T=>T.triggerRef),f=hd(),p=Li(T=>{var D;return(D=T.shouldCloseOnArrowLeft)!==null&&D!==void 0?D:!0}),v=b.useRef(!0),[h,x]=yo(),{dir:y}=je(),k=y==="ltr"?Ji:Zi,w=b.useCallback(T=>{T&&T.addEventListener("mouseover",D=>{v.current&&(v.current=!1,F_(i.current,D),h(()=>{v.current=!0},250))})},[i,h]);b.useEffect(()=>()=>x(),[x]);var B;const z=(B=De(T=>T.inline))!==null&&B!==void 0?B:!1,C=De(T=>T.mountNode),_=se(Te("div",{role:"presentation",...e,ref:_e(t,i,w)}),{elementType:"div"}),{onMouseEnter:N,onKeyDown:E}=_;return _.onMouseEnter=te(T=>{(c||f)&&a(T,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:T}),N?.(T)}),_.onKeyDown=te(T=>{const D=T.key;if(D===Bo||f&&p&&D===k){var I;s&&(!((I=i.current)===null||I===void 0)&&I.contains(T.target))&&!T.isDefaultPrevented()&&(a(T,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:T}),T.preventDefault())}if(D===rh&&(a(T,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:T}),!f)){var $;($=d.current)===null||$===void 0||$.focus()}E?.(T)}),{inline:z,mountNode:C,safeZone:o,components:{root:"div"},root:_}},q4=(e,t)=>{const o=Zx(),i=mo({focusable:{ignoreKeydown:{Escape:!0}}}),a=Yu(o,i),s=Al(),c=T4(e,t);return{...c,root:{...a,...c.root,ref:_e(c.root.ref,s)}}},E4={root:"fui-MenuPopover"},P4=U({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),R4=e=>{const t=P4();return e.root.className=A(E4.root,t.root,e.root.className),e};function F4(e){return dt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const D4=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;}"]}),m0=Rn.useInsertionEffect,I4=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,s=b.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return b.useMemo(()=>{s&&(s.className=t,s.setAttribute("dir",o),s.setAttribute("data-portal-node","true"),i.current=s)},[t,o,s,i]),b.useEffect(()=>()=>{s?.remove()},[s]),s},M4=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},O4=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[s]=b.useState(M4),c=b.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(d,f){if(f==="nodeType")return 1;if(f==="remove"){const h=s.get(a,!1);return h&&h.childNodes.length===0&&s.dispose(),()=>{}}const p=s.get(a,!0),v=p?p[f]:void 0;return typeof v=="function"?v.bind(p):v},set(d,f,p){const v=f==="_virtual"||f==="focusVisible",h=v?s.get(a,!1):s.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[f]:p}),!0):!1}}),[s,a,e.disabled]);return m0(()=>{if(!c)return;const d=t.split(" ").filter(Boolean);return c.classList.add(...d),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...d),c.removeAttribute("dir")}},[t,o,c,i]),b.useEffect(()=>()=>{c?.remove()},[c]),c},H4=m0?O4:I4,A4=e=>{"use no memo";const{targetDocument:t,dir:o}=je(),i=Xi(),a=en(),s=D4(),c=$i(),d={dir:o,disabled:e.disabled,focusVisibleRef:a,className:A(c,s.root,e.className),targetNode:i??t?.body};return H4(d)},L4=e=>{const{element:t,className:o}=F4(e.mountNode),i=b.useRef(null),a=A4({disabled:!!t,className:o}),s=t??a,c={children:e.children,mountNode:s,virtualParentRootRef:i};return b.useEffect(()=>{if(!s)return;const d=i.current,f=s.contains(d);if(d&&!f)return xr(s,d),()=>{xr(s,void 0)}},[i,s]),c},V4=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Jo.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),h0=e=>{const t=L4(e);return V4(t)};h0.displayName="Portal";const W4=e=>e.inline?Ce(b.Fragment,{children:[L(e.root,{}),e.safeZone]}):Ce(h0,{mountNode:e.mountNode,children:[L(e.root,{}),e.safeZone]}),$4=b.forwardRef((e,t)=>{const o=q4(e,t);return R4(o),he("useMenuPopoverStyles_unstable")(o),W4(o)});$4.displayName="MenuPopover";function U4(){}const X4=e=>{const t=De(a=>a.menuPopoverRef),{findFirstFocusable:o}=wo(),i=b.useCallback(()=>{const a=o(t.current);a?.focus()},[o,t]);return G4({...e,focusFirst:i})},G4=e=>{const{children:t,disableButtonEnhancement:o=!1,focusFirst:i}=e,a=De(V=>V.triggerRef),s=De(V=>V.setOpen),c=De(V=>V.open),d=De(V=>V.triggerId),f=De(V=>V.openOnHover),p=De(V=>V.openOnContext),v=hd(),h=Li(V=>{var re;return(re=V.shouldOpenOnArrowRight)!==null&&re!==void 0?re:!0}),x=b.useRef(!1),y=b.useRef(!1),k=b.useRef(!1),{dir:w}=je(),B=w==="ltr"?Zi:Ji,z=Ki(t),C=D_(te(()=>{v&&(y.current=!0)})),_=V=>{jn(V)||V.isDefaultPrevented()||p&&(V.preventDefault(),s(V,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:V}))},N=V=>{jn(V)||p||(s(V,{open:!c,keyboard:x.current,type:"menuTriggerClick",event:V}),x.current=!1)},E=V=>{if(jn(V)||V.isDefaultPrevented())return;const re=V.key;!p&&(v&&h&&re===B||!v&&re===Mi)&&s(V,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:V}),re===Bo&&!v&&s(V,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:V}),c&&re===B&&v&&h&&i?.()},T=V=>{jn(V)||f&&(k.current?s(V,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:V}):y.current&&(s(V,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:V}),y.current=!1))},D=V=>{jn(V)||f&&!k.current&&(s(V,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:V}),k.current=!0)},I=V=>{jn(V)||f&&s(V,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:V})};var $;const ae={id:d,...z?.props,ref:_e(a,Gi(z),C),onMouseEnter:te(($=z?.props.onMouseEnter)!==null&&$!==void 0?$:U4),onMouseLeave:te(ye(z?.props.onMouseLeave,I)),onContextMenu:te(ye(z?.props.onContextMenu,_)),onMouseMove:te(ye(z?.props.onMouseMove,D)),onMouseOver:te(ye(z?.props.onMouseOver,T))},oe={"aria-haspopup":"menu","aria-expanded":!c&&!v?void 0:c,...ae,onClick:te(ye(z?.props.onClick,N)),onKeyDown:te(ye(z?.props.onKeyDown,E))},ee=Ko(z?.type==="button"||z?.type==="a"?z.type:"div",oe);return{isSubmenu:v,children:Il(t,p?ae:o?oe:ee)}},jn=e=>{const t=o=>o.hasAttribute("disabled")||o.hasAttribute("aria-disabled")&&o.getAttribute("aria-disabled")==="true";return dt(e.target)&&t(e.target)?!0:dt(e.currentTarget)&&t(e.currentTarget)},K4=e=>b.createElement(T_,{value:e.isSubmenu},e.children),b0=e=>{const t=X4(e);return K4(t)};b0.displayName="MenuTrigger";b0.isFluentTriggerComponent=!0;const y0=b.createContext(void 0),Q4={};y0.Provider;const Y4=()=>b.useContext(y0)||Q4,J4=e=>Ce(e.root,{children:[L(e.input,{}),L(e.indicator,{}),e.label&&L(e.label,{})]}),Z4=(e,t)=>{const o=eN(e,t);return{...o,components:{...o.components,label:fr},label:we(e.label,{defaultProps:{...o.label},elementType:fr})}},eN=(e,t)=>{const o=Y4(),{name:i=o.name,checked:a=o.value!==void 0?o.value===e.value:void 0,defaultChecked:s=o.defaultValue!==void 0?o.defaultValue===e.value:void 0,labelPosition:c=o.layout==="horizontal-stacked"?"below":"after",disabled:d=o.disabled,required:f=o.required,"aria-describedby":p=o["aria-describedby"],onChange:v}=e,h=Hr({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),x=se(e.root,{defaultProps:{ref:Fn(),...h.root},elementType:"span"}),y=se(e.input,{defaultProps:{ref:t,type:"radio",id:ft("radio-",h.primary.id),name:i,checked:a,defaultChecked:s,disabled:d,required:f,"aria-describedby":p,...h.primary},elementType:"input"});y.onChange=ye(y.onChange,B=>v?.(B,{value:B.currentTarget.value}));const k=we(e.label,{defaultProps:{htmlFor:y.id,disabled:y.disabled},elementType:"label"}),w=se(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:c,components:{root:"span",input:"input",label:"label",indicator:"div"},root:x,input:y,label:k,indicator:w}},pl={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},tN=be("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),rN=U({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),oN=be("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),nN=U({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),iN=be("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),aN=U({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),lN=e=>{const{labelPosition:t}=e,o=tN(),i=rN();e.root.className=A(pl.root,o,t==="below"&&i.vertical,e.root.className);const a=oN(),s=nN();e.input.className=A(pl.input,a,t==="below"&&s.below,e.indicator.children?s.customIndicator:s.defaultIndicator,e.input.className);const c=iN();e.indicator.className=A(pl.indicator,c,e.indicator.className);const d=aN();return e.label&&(e.label.className=A(pl.label,d.base,d[t],e.label.className)),e},Pu=b.forwardRef((e,t)=>{const o=Z4(e,t);return lN(o),he("useRadioStyles_unstable")(o),J4(o)});Pu.displayName="Radio";const sN=(e,t)=>{const o=Ui(),i=No();var a,s;const{appearance:c=(a=o.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",size:d=(s=i?.size)!==null&&s!==void 0?s:"medium",...f}=e,p=cN(f,t);if(p.icon){var v,h;(h=(v=p.icon).children)!==null&&h!==void 0||(v.children=b.createElement(Lu,null))}return{...p,appearance:c,size:d}},cN=(e,t)=>{e=Ar(e,{supportsLabelFor:!0,supportsRequired:!0});const{defaultValue:o,value:i,select:a,icon:s,root:c,onChange:d}=e,f=Hr({props:e,primarySlotTagName:"select",excludedPropNames:["defaultValue","onChange","value"]}),p={components:{root:"span",select:"select",icon:"span"},select:se(a,{defaultProps:{defaultValue:o,value:i,ref:t,...f.primary},elementType:"select"}),icon:we(s,{renderByDefault:!0,elementType:"span"}),root:se(c,{defaultProps:f.root,elementType:"span"})};return p.select.onChange=te(v=>{d?.(v,{value:v.target.value})}),p},uN=e=>Ce(e.root,{children:[L(e.select,{children:e.select.children}),e.icon&&L(e.icon,{})]}),du={root:"fui-Select",select:"fui-Select__select",icon:"fui-Select__icon"},dN=U({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Eh141a:"flvyvdh",Bahqtrf:"fk6fouc",qhf8xq:"f10pi13n",h62rwi:"f7ll8cq",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fe5s0lv",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",Dlnsje:"fhwjr99",E3zdtr:"f1mdlcz9",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"],b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40"}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".flvyvdh{flex-wrap:nowrap;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f10pi13n{position:relative;}",`.f7ll8cq::after{background-image:linear-gradient(
10
+ 0deg,
11
+ var(--colorCompoundBrandStroke) 0%,
12
+ var(--colorCompoundBrandStroke) 50%,
13
+ transparent 50%,
14
+ transparent 100%
15
+ );}`,[".fe5s0lv::after{border-radius:0 0 var(--borderRadiusMedium) var(--borderRadiusMedium);}",{p:-1}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".fhwjr99::after{height:var(--borderRadiusMedium);}",".f1mdlcz9::after{position:absolute;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}"]}),fN=U({base:{Bowrso0:"fqrijq1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"faev5xe",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",E5pizo:"f1couhl3",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bceei9c:"f1k6fduh",Bh6795r:"fqerorx",B2u0y6b:"f6dzj5z",Byoj8tv:"f1qch9an",z8tnut:"f1g0x7ka",B3aqqti:"fatbyko",Brovlpu:"f1grzc83",Bxa1mx5:"f19shzzi"},disabled:{De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledUnderline:{g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f4ikngz",zhjwy3:["fziff3p","f1mxt3zg"]},small:{Bqenvij:"frvgh55",uwmqm3:["f1xile11","fqznh8f"],z189sj:["fiqd4sw","f11fkzut"],Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{Bqenvij:"f1d2rq10",uwmqm3:["f1e60jzv","f135dnwl"],z189sj:["f154vowv","flqamny"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{Bqenvij:"fbhnoac",uwmqm3:["fnphzt9","flt1dlf"],z189sj:["f1xi5ia2","f1xi1l47"],Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fm9niy"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"flmw63s",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"fqhmt4z",B50zh58:["f4ruux4","f1assf6x"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"fd91s9p",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",C8i20h:"fb77jct"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker":{De3pzq:"f16xq7d1"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"}},{d:[".fqrijq1{-webkit-appearance:none;-moz-appearance:none;appearance:none;}",[".faev5xe{border:1px solid transparent;}",{p:-2}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1couhl3{box-shadow:none;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1k6fduh{cursor:pointer;}",".fqerorx{flex-grow:1;}",".f6dzj5z{max-width:100%;}",".f1qch9an{padding-bottom:0;}",".f1g0x7ka{padding-top:0;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".frvgh55{height:24px;}",".f1xile11{padding-left:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".fqznh8f{padding-right:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",`.fiqd4sw{padding-right:calc(var(--spacingHorizontalSNudge)
16
+ + 16px
17
+ + var(--spacingHorizontalXXS)
18
+ + var(--spacingHorizontalXXS));}`,`.f11fkzut{padding-left:calc(var(--spacingHorizontalSNudge)
19
+ + 16px
20
+ + var(--spacingHorizontalXXS)
21
+ + var(--spacingHorizontalXXS));}`,".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1d2rq10{height:32px;}",".f1e60jzv{padding-left:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f135dnwl{padding-right:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",`.f154vowv{padding-right:calc(var(--spacingHorizontalMNudge)
22
+ + 20px
23
+ + var(--spacingHorizontalXXS)
24
+ + var(--spacingHorizontalXXS));}`,`.flqamny{padding-left:calc(var(--spacingHorizontalMNudge)
25
+ + 20px
26
+ + var(--spacingHorizontalXXS)
27
+ + var(--spacingHorizontalXXS));}`,".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fbhnoac{height:40px;}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",`.f1xi5ia2{padding-right:calc(var(--spacingHorizontalM)
28
+ + 24px
29
+ + var(--spacingHorizontalSNudge)
30
+ + var(--spacingHorizontalSNudge));}`,`.f1xi1l47{padding-left:calc(var(--spacingHorizontalM)
31
+ + 24px
32
+ + var(--spacingHorizontalSNudge)
33
+ + var(--spacingHorizontalSNudge));}`,".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fm9niy{border:1px solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".fd91s9p{border-bottom:1px solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],".fb77jct option{background-color:var(--colorNeutralBackground1);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],f:[".fatbyko:focus{outline-width:2px;}",".f1grzc83:focus{outline-style:solid;}",".f19shzzi:focus{outline-color:transparent;}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".flmw63s:hover{border-bottom-color:var(--colorNeutralStrokeAccessible);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".fqhmt4z:active{border-bottom-color:var(--colorNeutralStrokeAccessible);}"]}),pN=U({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",qhf8xq:"f1euv43f",Bkecrkj:"f1aehjj5",Bo70h7d:"fvc9v3g"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},small:{Be2twd7:"f4ybsrx",Bqenvij:"fd461yt",j35jbq:["f13lnp83","f1i5nn0v"],a9b677:"fjw5fx7"},medium:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",j35jbq:["fnyteob","f1enpzzf"],a9b677:"f64fuq3"},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",j35jbq:["f8b87gs","fedtrts"],a9b677:"fq4mcun"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1euv43f{position:absolute;}",".f1aehjj5{pointer-events:none;}",".fvc9v3g svg{display:block;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f4ybsrx{font-size:16px;}",".fd461yt{height:16px;}",".f13lnp83{right:var(--spacingHorizontalSNudge);}",".f1i5nn0v{left:var(--spacingHorizontalSNudge);}",".fjw5fx7{width:16px;}",".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".fnyteob{right:var(--spacingHorizontalMNudge);}",".f1enpzzf{left:var(--spacingHorizontalMNudge);}",".f64fuq3{width:20px;}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".f8b87gs{right:var(--spacingHorizontalM);}",".fedtrts{left:var(--spacingHorizontalM);}",".fq4mcun{width:24px;}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),gN=e=>{const{size:t,appearance:o}=e,i=e.select.disabled,a=`${e.select["aria-invalid"]}`=="true",s=pN(),c=dN(),d=fN();return e.root.className=A(du.root,c.base,e.root.className),e.select.className=A(du.select,d.base,d[t],d[o],!i&&o==="outline"&&d.outlineInteractive,!i&&a&&o!=="underline"&&d.invalid,!i&&a&&o==="underline"&&d.invalidUnderline,i&&d.disabled,i&&o==="underline"&&d.disabledUnderline,e.select.className),e.icon&&(e.icon.className=A(du.icon,s.icon,i&&s.disabled,s[t],e.icon.className)),e},vN=b.forwardRef((e,t)=>{const o=sN(e,t);return gN(o),he("useSelectStyles_unstable")(o),uN(o)});vN.displayName="Select";const Tv=(e,t,o)=>{let i=e;if(t!==void 0){if(o!==void 0&&t>o)return e;i=Math.max(t,i)}return o!==void 0&&(i=Math.min(o,i)),i},qv=(e,t,o)=>t!==void 0&&e===t?o===t?"both":"min":o!==void 0&&e===o?"max":"none";function mN(e){const t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}function qi(e,t,o=10){const i=o**t;return Math.round(e*i)/i}const fu=300,hN=80,bN=1e3,yN=(e,t,o)=>e+(t-e)*o,wN=(e,t)=>{e=Ar(e,{supportsLabelFor:!0,supportsRequired:!0});const o=Hr({props:e,primarySlotTagName:"input",excludedPropNames:["defaultValue","max","min","onChange","value"]}),{value:i,displayValue:a,defaultValue:s,min:c,max:d,step:f=1,stepPage:p=1,precision:v,onChange:h,root:x,input:y,incrementButton:k,decrementButton:w}=e,B=b.useMemo(()=>v??Math.max(mN(f),0),[v,f]),[z,C]=zt({state:i,defaultState:s,initialState:0}),_=b.useRef(null),N=i!==void 0,[E,T]=b.useState(void 0),[D,I]=b.useState("rest"),$=b.useRef({value:z,spinState:"rest",spinTime:0,spinDelay:fu,atBound:z!==null?qv(qi(z,B),c,d):"none"}),[ae,oe]=yo(),ee=(ce,pe,Ne)=>{let He=$.current.value;if(Ne){const Lr=parseFloat(Ne);isNaN(Lr)||(He=Lr)}const _t=He,yt=pe==="up"||pe==="upPage"?1:-1,tr=pe==="upPage"||pe==="downPage"?p:f;if(_t===null){const Ln=Tv((c===void 0?0:c)+tr*yt,c,d);X(ce,Ln);return}let jo=_t+tr*yt;Number.isNaN(jo)||(jo=Tv(jo,c,d)),X(ce,jo),$.current.spinState!=="rest"&&ae(()=>{$.current.spinTime+=$.current.spinDelay,$.current.spinDelay=yN(fu,hN,$.current.spinTime/bN),ee(ce,pe)},$.current.spinDelay)},V=ce=>{$.current.previousTextValue||($.current.previousTextValue=E??String(z));const pe=ce.target.value;T(pe),_.current&&(_.current.ariaValueNow=pe)},re=ce=>{X(ce,z,E),$.current.spinState="up",ee(ce,"up")},me=ce=>{X(ce,z,E),$.current.spinState="down",ee(ce,"down")},W=ce=>{oe(),$.current.spinState="rest",$.current.spinDelay=fu,$.current.spinTime=0},ie=ce=>{X(ce,z,E),$.current.previousTextValue=void 0},R=ce=>{let pe="rest";ce.currentTarget.readOnly||(ce.key===Pi?(ee(ce,"up",E),pe="up"):ce.key===Mi?(ee(ce,"down",E),pe="down"):ce.key===nh?(ce.preventDefault(),ee(ce,"upPage",E),pe="up"):ce.key===oh?(ce.preventDefault(),ee(ce,"downPage",E),pe="down"):!ce.shiftKey&&ce.key===ed&&c!==void 0?(X(ce,c),pe="down"):!ce.shiftKey&&ce.key===Zu&&d!==void 0?(X(ce,d),pe="up"):ce.key===Dr?(X(ce,z,E),$.current.previousTextValue=void 0):ce.key===Bo&&$.current.previousTextValue&&(T(void 0),$.current.previousTextValue=void 0),D!==pe&&I(pe))},J=ce=>{D!=="rest"&&(I("rest"),$.current.spinState="rest")},X=(ce,pe,Ne)=>{const He=pe!==void 0&&z!==pe,_t=Ne!==void 0&&$.current.previousTextValue!==void 0&&$.current.previousTextValue!==Ne;let yt;if(He)yt=qi(pe,B),C(yt),$.current.value=yt;else if(_t&&!N){const tr=parseFloat(Ne);isNaN(tr)||(C(qi(tr,B)),$.current.value=qi(tr,B))}(He||_t)&&h?.(ce,{value:yt,displayValue:Ne}),T(void 0)};let Be;if(E!==void 0)Be=E;else if(i===null||z===null)Be=a??"",$.current.value=null,$.current.atBound="none";else{const ce=qi(z,B);$.current.value=ce,$.current.atBound=qv(ce,c,d),N?Be=a??String(ce):Be=String(ce)}const Q={spinState:D,atBound:$.current.atBound,components:{root:"span",input:"input",incrementButton:"button",decrementButton:"button"},root:se(x,{defaultProps:o.root,elementType:"span"}),input:se(y,{defaultProps:{autoComplete:"off",role:"spinbutton",type:"text",...o.primary},elementType:"input"}),incrementButton:se(k,{defaultProps:{tabIndex:-1,disabled:o.primary.readOnly||o.primary.disabled||$.current.atBound==="max"||$.current.atBound==="both","aria-label":"Increment value",type:"button"},elementType:"button"}),decrementButton:se(w,{defaultProps:{tabIndex:-1,disabled:o.primary.readOnly||o.primary.disabled||$.current.atBound==="min"||$.current.atBound==="both","aria-label":"Decrement value",type:"button"},elementType:"button"})};Q.input.value=Be,Q.input.ref=_e(_,t),Q.input["aria-valuemin"]=c,Q.input["aria-valuemax"]=d;var fe;Q.input["aria-valuenow"]=(fe=$.current.value)!==null&&fe!==void 0?fe:void 0;var qe;return Q.input["aria-valuetext"]=(qe=Q.input["aria-valuetext"])!==null&&qe!==void 0?qe:i!==void 0&&a||void 0,Q.input.onChange=ye(Q.input.onChange,V),Q.input.onInput=ye(Q.input.onInput,V),Q.input.onBlur=ye(Q.input.onBlur,ie),Q.input.onKeyDown=ye(Q.input.onKeyDown,R),Q.input.onKeyUp=ye(Q.input.onKeyUp,J),Q.incrementButton.onMouseDown=ye(re,Q.incrementButton.onMouseDown),Q.incrementButton.onMouseUp=ye(Q.incrementButton.onMouseUp,W),Q.incrementButton.onMouseLeave=ye(Q.incrementButton.onMouseLeave,W),Q.decrementButton.onMouseDown=ye(me,Q.decrementButton.onMouseDown),Q.decrementButton.onMouseUp=ye(Q.decrementButton.onMouseUp,W),Q.decrementButton.onMouseLeave=ye(Q.decrementButton.onMouseLeave,W),Q},kN=(e,t)=>{var o,i;const a=Ui();var s;const{appearance:c=(s=a.inputDefaultAppearance)!==null&&s!==void 0?s:"outline",size:d="medium",...f}=e,p=wN(f,t);var v;(v=(o=p.incrementButton).children)!==null&&v!==void 0||(o.children=b.createElement(jy,null));var h;return(h=(i=p.decrementButton).children)!==null&&h!==void 0||(i.children=b.createElement(Ty,null)),{...p,appearance:c,size:d}},xN=e=>Ce(e.root,{children:[L(e.input,{}),L(e.incrementButton,{}),L(e.decrementButton,{})]}),gl={root:"fui-SpinButton",input:"fui-SpinButton__input",incrementButton:"fui-SpinButton__incrementButton",decrementButton:"fui-SpinButton__decrementButton"},Ev={buttonActive:"fui-SpinButton__button_active"},BN=be("r109xulx","r1h2jnch",{r:[".r109xulx{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 0 0 var(--spacingHorizontalMNudge);border-radius:var(--borderRadiusMedium);}",'.r109xulx::before{content:"";box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r109xulx::after{box-sizing:border-box;content:"";position:absolute;right:0;bottom:0;left:0;z-index:20;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r109xulx:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r109xulx:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r109xulx:focus-within{outline:2px solid transparent;}",".r1h2jnch{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 var(--spacingHorizontalMNudge) 0 0;border-radius:var(--borderRadiusMedium);}",'.r1h2jnch::before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r1h2jnch::after{box-sizing:border-box;content:"";position:absolute;left:0;bottom:0;right:0;z-index:20;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1h2jnch:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1h2jnch:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1h2jnch:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r109xulx::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r109xulx:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),SN=U({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",uwmqm3:["f1f5gg8d","f1vdfbxk"]},medium:{},outline:{},outlineInteractive:{Bo3r8zu:"f1w2y1rc",Hpvxnh:["f1gofhvl","f18htlvq"],Bx11ytk:"ffcnd28",B1rg0w0:["f18htlvq","f1gofhvl"],Bsg1tlv:"f6lmxco",Brjw370:["fcoc0mf","f15r4wkl"],xcfy85:"f1ipdth8",Bcc6kan:["f15r4wkl","fcoc0mf"]},underline:{B0qfbqy:"f1o236ok",B4f6apu:["faeg28l","f64aojp"],y0oebl:"fdw6hkg",uvfttm:["f64aojp","faeg28l"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"f1xyh2jw"},underlineInteractive:{Bx11ytk:"ffcnd28",xcfy85:"f1ipdth8",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fkp7w9h"},filled:{Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4"},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},filledInteractive:{B05mzqr:"f1xqt08",tb9y6h:["fzt5lgo","f8tv3r9"],jcehpj:"fyhrops",B23o0hn:["f8tv3r9","fzt5lgo"]},invalid:{emecyz:"fl48pg9",lz0pba:["f1a168p3","f1pvdymy"],Bo1k74p:"f11knvgl",Ba322q7:["f1pvdymy","f1a168p3"]},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",Bq4z7u6:"f1a0lfh7",Bk5zm6e:["f1p2ejm6","fmzytvz"],Bqjgrrk:"fas2e61",Bm6vgfq:["fmzytvz","f1p2ejm6"],Bvljrlq:"f1p5b8em",Cqojjj:["fs6f9xf","f11b7h5x"],G3zxag:"f1vrn6tw",H8270r:["f11b7h5x","fs6f9xf"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1o236ok::before{border-top-width:0;}",".faeg28l::before{border-right-width:0;}",".f64aojp::before{border-left-width:0;}",".fdw6hkg::before{border-bottom-width:1px;}",[".f1xyh2jw::before{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fkp7w9h::after{border-radius:var(--borderRadiusNone);}",{p:-1}],[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fl48pg9:not(:focus-within)::before,.fl48pg9:hover:not(:focus-within)::before{border-top-color:var(--colorPaletteRedBorder2);}",".f1a168p3:not(:focus-within)::before,.f1a168p3:hover:not(:focus-within)::before{border-right-color:var(--colorPaletteRedBorder2);}",".f1pvdymy:not(:focus-within)::before,.f1pvdymy:hover:not(:focus-within)::before{border-left-color:var(--colorPaletteRedBorder2);}",".f11knvgl:not(:focus-within)::before,.f11knvgl:hover:not(:focus-within)::before{border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1a0lfh7::before{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1p2ejm6::before{border-right-color:var(--colorNeutralStrokeDisabled);}",".fmzytvz::before{border-left-color:var(--colorNeutralStrokeDisabled);}",".fas2e61::before{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],h:[".f1w2y1rc:hover::before{border-top-color:var(--colorNeutralStroke1Hover);}",".f1gofhvl:hover::before{border-right-color:var(--colorNeutralStroke1Hover);}",".f18htlvq:hover::before{border-left-color:var(--colorNeutralStroke1Hover);}",".ffcnd28:hover::before{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".f1xqt08:hover::before,.f1xqt08:focus-within::before{border-top-color:var(--colorTransparentStrokeInteractive);}",".fzt5lgo:hover::before,.fzt5lgo:focus-within::before{border-right-color:var(--colorTransparentStrokeInteractive);}",".f8tv3r9:hover::before,.f8tv3r9:focus-within::before{border-left-color:var(--colorTransparentStrokeInteractive);}",".fyhrops:hover::before,.fyhrops:focus-within::before{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f6lmxco:active::before,.f6lmxco:focus-within::before{border-top-color:var(--colorNeutralStroke1Pressed);}",".fcoc0mf:active::before,.fcoc0mf:focus-within::before{border-right-color:var(--colorNeutralStroke1Pressed);}",".f15r4wkl:active::before,.f15r4wkl:focus-within::before{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1ipdth8:active::before,.f1ipdth8:focus-within::before{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f1p5b8em::before{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11b7h5x::before{border-left-color:GrayText;}.fs6f9xf::before{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vrn6tw::before{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),zN=be("r1ljrqje",null,[".r1ljrqje{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:3;outline-style:none;border:0;padding:0;color:var(--colorNeutralForeground1);background-color:transparent;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;width:100%;}",".r1ljrqje::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),_N=U({disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",yvdlaj:"fahhnxm"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),Pv=be("r1g4chgs",null,[".r1g4chgs{display:inline-flex;width:24px;align-items:center;justify-content:center;border:0;position:absolute;outline-style:none;height:16px;background-color:transparent;color:var(--colorNeutralForeground3);grid-column-start:2;border-radius:0;padding:0 5px 0 5px;}",".r1g4chgs:active{outline-style:none;}",".r1g4chgs:enabled:hover{cursor:pointer;color:var(--colorNeutralForeground3Hover);background-color:var(--colorSubtleBackgroundHover);}",".r1g4chgs:enabled:active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:disabled{cursor:not-allowed;color:var(--colorNeutralForegroundDisabled);}"]),NN=U({increment:{Ijaq50:"f16hsg94",B7oj6ja:["f1jar5jt","fyu767a"],z8tnut:"f10ra9hq",Byoj8tv:"f1brlhvm"},decrement:{Ijaq50:"faunodf",Bbmb7ep:["f1aa9q02","f16jpd5f"],z8tnut:"f1sl3k7w",Byoj8tv:"f1y2xyjm"},incrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f4lv8q1","fm3uwd2"],Bqenvij:"fvblgha"},decrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1q86st8","frkrfqj"],Bqenvij:"fvblgha"},outline:{},underline:{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1bifk9c",p743kt:"fp1zg4s",B7xitij:"fo6hitd",B6siaa6:"f1wiab75",Ba9qmo4:"fj9zm5z",Dyrjrp:"f1cqwcg4"},"filled-darker":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"fwwxidx",p743kt:"fp1zg4s",B7xitij:"f14i52sd",B6siaa6:"f1wiab75",Ba9qmo4:"fwry2ka",Dyrjrp:"f1cqwcg4"},"filled-lighter":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1yywxnv",drw0cw:"fzaa11h",idzz8t:"f4fpmm9",Dyrjrp:"f1cqwcg4"}},{d:[".f16hsg94{grid-row-start:1;}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f10ra9hq{padding-top:4px;}",".f1brlhvm{padding-bottom:1px;}",".faunodf{grid-row-start:2;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1sl3k7w{padding-top:1px;}",".f1y2xyjm{padding-bottom:4px;}",[".f4lv8q1{padding:3px 6px 0px 4px;}",{p:-1}],[".fm3uwd2{padding:3px 4px 0px 6px;}",{p:-1}],".fvblgha{height:12px;}",[".f1q86st8{padding:0px 6px 3px 4px;}",{p:-1}],[".frkrfqj{padding:0px 4px 3px 6px;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1no7wuu:enabled:hover{color:var(--colorNeutralForeground3Hover);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fp1zg4s:enabled:active{color:var(--colorNeutralForeground3Pressed);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1wiab75:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".fj9zm5z:enabled.fui-SpinButton__button_active{background-color:var(--colorSubtleBackgroundPressed);}",".f1cqwcg4:disabled{color:var(--colorNeutralForegroundDisabled);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".fwry2ka:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground3Pressed);}",".f1yywxnv:enabled:hover{background-color:var(--colorNeutralBackground1Hover);}",".fzaa11h:enabled:active,.fzaa11h:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".f4fpmm9:enabled:active,.f4fpmm9:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground1Pressed);}"]}),CN=e=>{const{appearance:t,spinState:o,size:i}=e,a=e.input.disabled,s=`${e.input["aria-invalid"]}`=="true",c=t.startsWith("filled"),d=SN(),f=NN(),p=_N();return e.root.className=A(gl.root,BN(),d[i],d[t],c&&d.filled,!a&&t==="outline"&&d.outlineInteractive,!a&&t==="underline"&&d.underlineInteractive,!a&&c&&d.filledInteractive,!a&&s&&d.invalid,a&&d.disabled,e.root.className),e.incrementButton.className=A(gl.incrementButton,o==="up"&&`${Ev.buttonActive}`,Pv(),f.increment,f[t],i==="small"&&f.incrementButtonSmall,e.incrementButton.className),e.decrementButton.className=A(gl.decrementButton,o==="down"&&`${Ev.buttonActive}`,Pv(),f.decrement,f[t],i==="small"&&f.decrementButtonSmall,e.decrementButton.className),e.input.className=A(gl.input,zN(),a&&p.disabled,e.input.className),e},jN=b.forwardRef((e,t)=>{const o=kN(e,t);return CN(o),he("useSpinButtonStyles_unstable")(o),xN(o)});jN.displayName="SpinButton";const w0=b.createContext(void 0),TN={};w0.Provider;const qN=()=>{var e;return(e=b.useContext(w0))!==null&&e!==void 0?e:TN},EN=(e,t)=>{const{size:o}=qN(),{appearance:i="primary",size:a=o??"medium",...s}=e,c=PN(s,t);return{...c,appearance:i,size:a,components:{...c.components,label:fr},label:we(e.label,{defaultProps:c.label,elementType:fr})}},PN=(e,t)=>{const{delay:o=0,labelPosition:i="after"}=e,a=ft("spinner"),{role:s="progressbar",...c}=e,d=se(Te("div",{ref:t,role:s,...c}),{elementType:"div"}),[f,p]=b.useState(!1),[v,h]=yo();b.useEffect(()=>{if(!(o<=0))return v(()=>{p(!0)},o),()=>{h()}},[v,h,o]);const x=we(e.label,{defaultProps:{id:a},renderByDefault:!1,elementType:"label"}),y=we(e.spinner,{renderByDefault:!0,elementType:"span"});return x&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=x.id),{delay:o,labelPosition:i,shouldRenderSpinner:!o||f,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:y,spinnerTail:se(e.spinnerTail,{elementType:"span"}),label:x}},RN=e=>{const{labelPosition:t,shouldRenderSpinner:o}=e;return Ce(e.root,{children:[e.label&&o&&(t==="above"||t==="before")&&L(e.label,{}),e.spinner&&o&&L(e.spinner,{children:e.spinnerTail&&L(e.spinnerTail,{})}),e.label&&o&&(t==="below"||t==="after")&&L(e.label,{})]})},vl={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},FN=be("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),DN=U({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),IN=be("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),MN=be("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),ON=U({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),HN=U({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),AN=e=>{const{labelPosition:t,size:o,appearance:i}=e,{dir:a}=je(),s=FN(),c=DN(),d=IN(),f=ON(),p=MN(),v=HN();return e.root.className=A(vl.root,s,(t==="above"||t==="below")&&c.vertical,e.root.className),e.spinner&&(e.spinner.className=A(vl.spinner,d,f[o],i==="inverted"&&f.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=A(vl.spinnerTail,p,a==="rtl"&&f.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=A(vl.label,v[o],i==="inverted"&&v.inverted,e.label.className)),e},LN=b.forwardRef((e,t)=>{const o=EN(e,t);return AN(o),he("useSpinnerStyles_unstable")(o),RN(o)});LN.displayName="Spinner";const VN=(e,t)=>{var o;const{size:i="medium",...a}=e,s=WN(a,t);var c;return(c=(o=s.indicator).children)!==null&&c!==void 0||(o.children=b.createElement(Yv,null)),{...s,components:{...s.components,label:fr},size:i,label:we(e.label,{defaultProps:{size:"medium",...s.label},elementType:fr})}},WN=(e,t)=>{e=Ar(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:o,defaultChecked:i,disabled:a,disabledFocusable:s=!1,labelPosition:c="after",onChange:d,required:f}=e,p=Hr({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=ft("switch-",p.primary.id),h=se(e.root,{defaultProps:{ref:Fn(),...p.root},elementType:"div"}),x=se(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),y=se(e.input,{defaultProps:{checked:o,defaultChecked:i,id:v,ref:t,role:"switch",type:"checkbox",...p.primary,disabled:a&&!s,...s&&{"aria-disabled":!0}},elementType:"input"});y.onChange=ye(y.onChange,w=>d?.(w,{checked:w.currentTarget.checked})),y.onClick=ye(y.onClick,w=>{s&&w.preventDefault()}),y.onKeyDown=ye(y.onKeyDown,w=>{s&&(w.key===" "||w.key==="Enter")&&w.preventDefault()});const k=we(e.label,{defaultProps:{disabled:a||s,htmlFor:v,required:f},elementType:"label"});return{disabledFocusable:s,labelPosition:c,components:{root:"div",indicator:"div",input:"input",label:"label"},root:h,indicator:x,input:y,label:k}},$N=e=>{const{labelPosition:t}=e;return Ce(e.root,{children:[L(e.input,{}),t!=="after"&&e.label&&L(e.label,{}),L(e.indicator,{}),t==="after"&&e.label&&L(e.label,{})]})},ml={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},UN=be("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),XN=U({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),GN=be("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),KN=U({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),QN=be("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),YN=U({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),JN=U({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),ZN=e=>{const t=UN(),o=XN(),i=GN(),a=KN(),s=QN(),c=YN(),d=JN(),{label:f,labelPosition:p,size:v}=e;return e.root.className=A(ml.root,t,p==="above"&&o.vertical,e.root.className),e.indicator.className=A(ml.indicator,i,f&&p==="above"&&a.labelAbove,v==="small"&&a.sizeSmall,e.indicator.className),e.input.className=A(ml.input,s,f&&c[p],v==="small"&&c.sizeSmall,e.input.className),e.label&&(e.label.className=A(ml.label,d.base,d[p],v==="small"&&d.sizeSmall,e.label.className)),e},eC=b.forwardRef((e,t)=>{const o=VN(e,t);return ZN(o),he("useSwitchStyles_unstable")(o),$N(o)});eC.displayName="Switch";const tC=(e,t)=>{const{appearance:o="transparent",reserveSelectedTabSpace:i=!0,size:a="medium"}=e,s=rC(e,t),c=oC({vertical:s.vertical});return{...s,root:{...c,...s.root},appearance:o,reserveSelectedTabSpace:i,size:a}},rC=(e,t)=>{const{disabled:o=!1,onTabSelect:i,selectTabOnFocus:a=!1,vertical:s=!1,selectedValue:c,defaultSelectedValue:d,...f}=e,p=b.useRef(null),[v,h]=zt({state:c,defaultState:d,initialState:void 0}),x=b.useRef(void 0),y=b.useRef(void 0);b.useEffect(()=>{y.current=x.current,x.current=v},[v]);const k=te((_,N)=>{h(N.value),i?.(_,N)}),w=b.useRef({}),B=te(_=>{const N=JSON.stringify(_.value);w.current[N]=_}),z=te(_=>{delete w.current[JSON.stringify(_.value)]}),C=b.useCallback(()=>({selectedValue:x.current,previousSelectedValue:y.current,registeredTabs:w.current}),[]);return{components:{root:"div"},root:se({ref:_e(t,p),role:"tablist","aria-orientation":s?"vertical":"horizontal",...f},{elementType:"div"}),disabled:o,selectTabOnFocus:a,selectedValue:v,onRegister:B,onUnregister:z,onSelect:k,getRegisteredTabs:C,vertical:s}},oC=({vertical:e})=>Ii({circular:!0,axis:e?"vertical":"horizontal",memorizeCurrent:!1,unstable_hasDefault:!0}),nC={appearance:"transparent",reserveSelectedTabSpace:!0,selectTabOnFocus:!1,disabled:!1,selectedValue:void 0,onRegister:()=>{},onUnregister:()=>{},onSelect:()=>{},getRegisteredTabs:()=>({registeredTabs:{}}),size:"medium",vertical:!1},k0=xo(void 0),iC=k0.Provider,cr=e=>tn(k0,(t=nC)=>e(t)),aC=(e,t)=>L(e.root,{children:L(iC,{value:t.tabList,children:e.root.children})}),lC={root:"fui-TabList"},sC=U({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bnnss6s:"fi64zpg",Eh141a:"flvyvdh",qhf8xq:"f10pi13n"},horizontal:{Bt984gj:"f1q9h2pe",Beiy3e4:"f1063pyq"},vertical:{Bt984gj:"f1q9h2pe",Beiy3e4:"f1vx9l62"},roundedSmall:{i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},rounded:{i8kkvl:0,Belr9w4:0,rmohyg:"faqewft"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fi64zpg{flex-shrink:0;}",".flvyvdh{flex-wrap:nowrap;}",".f10pi13n{position:relative;}",".f1q9h2pe{align-items:stretch;}",".f1vx9l62{flex-direction:column;}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}]]}),cC=e=>{const{appearance:t,vertical:o,size:i}=e,a=sC(),s=t==="subtle-circular"||t==="filled-circular";return e.root.className=A(lC.root,a.root,o?a.vertical:a.horizontal,s&&(i==="small"?a.roundedSmall:a.rounded),e.root.className),e};function uC(e){const{appearance:t,reserveSelectedTabSpace:o,disabled:i,selectTabOnFocus:a,selectedValue:s,onRegister:c,onUnregister:d,onSelect:f,getRegisteredTabs:p,size:v,vertical:h}=e;return{tabList:b.useMemo(()=>({appearance:t,reserveSelectedTabSpace:o,disabled:i,selectTabOnFocus:a,selectedValue:s,onSelect:f,onRegister:c,onUnregister:d,getRegisteredTabs:p,size:v,vertical:h}),[t,o,i,a,s,f,c,d,p,v,h])}}const dC=b.forwardRef((e,t)=>{const o=tC(e,t),i=uC(o);return cC(o),he("useTabListStyles_unstable")(o),aC(o,i)});dC.displayName="TabList";const fC=(e,t)=>{const{content:o}=e,i=pC(e,t),a=gC(i),s=cr(p=>p.appearance),c=cr(p=>p.reserveSelectedTabSpace),d=cr(p=>{var v;return(v=p.size)!==null&&v!==void 0?v:"medium"}),f=o&&typeof o=="object"?im(o,["ref"]):o;return{...i,components:{...i.components,contentReservedSpace:"span"},root:{...a,...i.root},contentReservedSpace:we(f,{renderByDefault:!i.selected&&!i.iconOnly&&c,defaultProps:{children:e.children},elementType:"span"}),appearance:s,size:d}},pC=(e,t)=>{const{content:o,disabled:i=!1,icon:a,onClick:s,onFocus:c,value:d,...f}=e,p=cr(I=>I.selectTabOnFocus),v=cr(I=>I.disabled),h=cr(I=>I.selectedValue===d),x=cr(I=>I.onRegister),y=cr(I=>I.onUnregister),k=cr(I=>I.onSelect),w=cr(I=>!!I.vertical),B=v||i,z=b.useRef(null),C=I=>k(I,{value:d}),_=te(ye(s,C)),N=te(ye(c,C));b.useEffect(()=>(x({value:d,ref:z}),()=>{y({value:d,ref:z})}),[x,y,z,d]);const E=we(a,{elementType:"span"}),T=se(o,{defaultProps:{children:e.children},elementType:"span"}),D=!!(E?.children&&!T.children);return{components:{root:"button",icon:"span",content:"span",contentReservedSpace:"span"},root:se({ref:_e(t,z),role:"tab",type:"button","aria-selected":B?void 0:`${h}`,value:d,...f,disabled:B,onClick:_,onFocus:p?N:c},{elementType:"button"}),icon:E,iconOnly:D,content:T,disabled:B,selected:h,value:d,vertical:w}},gC=({selected:e})=>mo({focusable:{isDefault:e}}),vC=e=>Ce(e.root,{children:[e.icon&&L(e.icon,{}),!e.iconOnly&&L(e.content,{}),e.contentReservedSpace&&L(e.contentReservedSpace,{})]}),Rv={offsetVar:"--fui-Tab__indicator--offset",scaleVar:"--fui-Tab__indicator--scale"},mC=U({base:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg"},animated:{Ba2ppi3:"fhwpy7i",F2fol1:"f6zz20j",B1dyfl9:"f1ai4sc1",Bu93a1u:"f1rnm8gg",Bdasjez:"f1x3cmqg"},horizontal:{sjv3b2:["fug4aj8","f1i5xzg7"],b1kco5:"f1q7ujh"},vertical:{sjv3b2:"f1hqboyk",b1kco5:"f1dxupa6"}},{d:[[".f1gl81tg{overflow:visible;}",{p:-1}],".fhwpy7i::after{transition-property:transform;}",".f6zz20j::after{transition-duration:var(--durationSlow);}",".f1ai4sc1::after{transition-timing-function:var(--curveDecelerateMax);}",".fug4aj8::after{transform-origin:left;}",".f1i5xzg7::after{transform-origin:right;}",".f1q7ujh::after{transform:translateX(var(--fui-Tab__indicator--offset)) scaleX(var(--fui-Tab__indicator--scale));}",".f1hqboyk::after{transform-origin:top;}",".f1dxupa6::after{transform:translateY(var(--fui-Tab__indicator--offset)) scaleY(var(--fui-Tab__indicator--scale));}"],m:[["@media (prefers-reduced-motion: reduce){.f1rnm8gg::after{transition-property:none;}}",{m:"(prefers-reduced-motion: reduce)"}],["@media (prefers-reduced-motion: reduce){.f1x3cmqg::after{transition-duration:0.01ms;}}",{m:"(prefers-reduced-motion: reduce)"}]]}),hC=e=>{if(e){var t;const o=((t=e.parentElement)===null||t===void 0?void 0:t.getBoundingClientRect())||{x:0,y:0},i=e.getBoundingClientRect();return{x:i.x-o.x,y:i.y-o.y,width:i.width,height:i.height}}},Fv=(e,t)=>{var o;const i=Ru(t)?(o=e[JSON.stringify(t)])===null||o===void 0?void 0:o.ref.current:void 0;return i?hC(i):void 0},Ru=e=>e!=null,bC=e=>{const{disabled:t,selected:o,vertical:i}=e,a=mC(),[s,c]=b.useState(),[d,f]=b.useState({offset:0,scale:1}),p=cr(y=>y.getRegisteredTabs),[v]=Fi();if(o){const{previousSelectedValue:y,selectedValue:k,registeredTabs:w}=p();if(Ru(y)&&s!==y){const B=Fv(w,y),z=Fv(w,k);if(z&&B){const C=i?B.y-z.y:B.x-z.x,_=i?B.height/z.height:B.width/z.width;f({offset:C,scale:_}),c(y),v(()=>f({offset:0,scale:1}))}}}else Ru(s)&&c(void 0);if(t)return e;const h=d.offset===0&&d.scale===1;e.root.className=A(e.root.className,o&&a.base,o&&h&&a.animated,o&&(i?a.vertical:a.horizontal));const x={[Rv.offsetVar]:`${d.offset}px`,[Rv.scaleVar]:`${d.scale}`};return e.root.style={...x,...e.root.style},e},Fu={root:"fui-Tab",icon:"fui-Tab__icon",content:"fui-Tab__content"},yC={content:"fui-Tab__content--reserved-space"},x0=U({root:{Bt984gj:"f122n59",mc9l5x:"f13qh94s",Bnnss6s:"fi64zpg",Bxotwcr:"f1u07yai",Budl1dq:"frn2hmy",wkccdc:"f1olsevy",oeaueh:"f1s6fcnf",qhf8xq:"f10pi13n"},button:{Bt984gj:"f122n59",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bnnss6s:"fi64zpg",Bxotwcr:"f1u07yai",Budl1dq:"frn2hmy",wkccdc:"f1olsevy",Bahqtrf:"fk6fouc",Bg96gwp:"f1i3iumi",oeaueh:"f1s6fcnf",qhf8xq:"f10pi13n",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",B9bfxx9:"f1cxpek8"},horizontal:{Brf1p80:"f4d9j23"},vertical:{Brf1p80:"f1s9ku6b"},smallHorizontal:{i8kkvl:"f14mj54c",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1wmopi4"},smallVertical:{i8kkvl:"f14mj54c",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f12or63q"},mediumHorizontal:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1w08f2p"},mediumVertical:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fymxs25"},largeHorizontal:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ssfvub"},largeVertical:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fwkd1rq"},transparent:{De3pzq:"f1c21dwh",B95qlz1:"f9rvdkv",B7xitij:"f1051ucx",Bptxc3x:"fmmjozx",Bwqhzpy:"fqhzt5g",iyk698:"f7l5cgy",cl4aha:"fpkze5g",B0q3jbp:"f1iywnoi",Be9ayug:"f9n45c4"},subtle:{De3pzq:"fhovq9v",B95qlz1:"f1bifk9c",B7xitij:"fo6hitd",Bptxc3x:"fmmjozx",Bwqhzpy:"fqhzt5g",iyk698:"f7l5cgy",cl4aha:"fpkze5g",B0q3jbp:"f1iywnoi",Be9ayug:"f9n45c4"},disabledCursor:{Bceei9c:"fdrzuqr"},disabled:{De3pzq:"f1c21dwh",Bptxc3x:"fato7r6",cl4aha:"fao1bnu"},selected:{Bptxc3x:"f1cadz5z",Bwqhzpy:"fwhdxxj",iyk698:"fintccb",cl4aha:"ffplhdr",B0q3jbp:"fjo17wb",Be9ayug:"f148789c"}},{d:[".f122n59{align-items:center;}",".f13qh94s{display:grid;}",".fi64zpg{flex-shrink:0;}",".f1u07yai{grid-auto-flow:column;}",".frn2hmy{grid-template-columns:auto;}",".f1olsevy{grid-template-rows:auto;}",".f1s6fcnf{outline-style:none;}",".f10pi13n{position:relative;}",[".f3bhgqh{border:none;}",{p:-2}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cxpek8{text-transform:none;}",".f4d9j23{justify-content:center;}",".f1s9ku6b{justify-content:start;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",[".f1wmopi4{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalSNudge);}",{p:-1}],[".f12or63q{padding:var(--spacingVerticalXXS) var(--spacingHorizontalSNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",[".f1w08f2p{padding:var(--spacingVerticalM) var(--spacingHorizontalMNudge);}",{p:-1}],[".fymxs25{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalMNudge);}",{p:-1}],[".f1ssfvub{padding:var(--spacingVerticalL) var(--spacingHorizontalMNudge);}",{p:-1}],[".fwkd1rq{padding:var(--spacingVerticalS) var(--spacingHorizontalMNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f9rvdkv:enabled:hover{background-color:var(--colorTransparentBackgroundHover);}",".f1051ucx:enabled:active{background-color:var(--colorTransparentBackgroundPressed);}",".fmmjozx .fui-Tab__icon{color:var(--colorNeutralForeground2);}",".fqhzt5g:enabled:hover .fui-Tab__icon{color:var(--colorNeutralForeground2Hover);}",".f7l5cgy:enabled:active .fui-Tab__icon{color:var(--colorNeutralForeground2Pressed);}",".fpkze5g .fui-Tab__content{color:var(--colorNeutralForeground2);}",".f1iywnoi:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground2Hover);}",".f9n45c4:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground2Pressed);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".fdrzuqr{cursor:not-allowed;}",".fato7r6 .fui-Tab__icon{color:var(--colorNeutralForegroundDisabled);}",".fao1bnu .fui-Tab__content{color:var(--colorNeutralForegroundDisabled);}",".f1cadz5z .fui-Tab__icon{color:var(--colorCompoundBrandForeground1);}",".fwhdxxj:enabled:hover .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Hover);}",".fintccb:enabled:active .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Pressed);}",".ffplhdr .fui-Tab__content{color:var(--colorNeutralForeground1);}",".fjo17wb:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground1Hover);}",".f148789c:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground1Pressed);}"]}),wC=U({base:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fp7rvkm",Bptxc3x:"ftorr8m",cl4aha:"f16lqpmv"},small:{Dbcxam:0,rjzwhg:0,Bblux5w:"fzklhed"},medium:{Dbcxam:0,rjzwhg:0,Bblux5w:"f1j721cc"},large:{Dbcxam:0,rjzwhg:0,Bblux5w:"frx9knr"},subtle:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",B95qlz1:"f1bifk9c",Eo63ln:0,r9osk6:0,Itrz8y:0,zeg6vx:0,l65xgk:0,Bw4olcx:0,Folb0i:0,I2h8y4:0,Bgxgoyi:0,Bvlkotb:0,Fwyncl:0,Byh5edv:0,Becqvjq:0,uumbiq:0,B73q3dg:0,Bblwbaf:0,B0ezav:"ft57sj0",r4wkhp:"f1fcoy83",B7xitij:"fo6hitd",d3wsvi:0,Hdqn7s:0,zu5y1p:0,owqphb:0,g9c53k:0,Btmu08z:0,Bthxvy6:0,gluvuq:0,tb88gp:0,wns6jk:0,kdfdk4:0,Bbw008l:0,Bayi1ib:0,B1kkfu3:0,J1oqyp:0,kem6az:0,goa3yj:"fhn220o",p743kt:"f15qf7sh",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1mljprk"},subtleSelected:{De3pzq:"f16xkysk",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1c2pc3t",sj55zd:"faj9fo0",B95qlz1:"fsm7zmf",Eo63ln:0,r9osk6:0,Itrz8y:0,zeg6vx:0,l65xgk:0,Bw4olcx:0,Folb0i:0,I2h8y4:0,Bgxgoyi:0,Bvlkotb:0,Fwyncl:0,Byh5edv:0,Becqvjq:0,uumbiq:0,B73q3dg:0,Bblwbaf:0,B0ezav:"f1wo0sfq",r4wkhp:"f1afuynh",B7xitij:"f94ddyl",d3wsvi:0,Hdqn7s:0,zu5y1p:0,owqphb:0,g9c53k:0,Btmu08z:0,Bthxvy6:0,gluvuq:0,tb88gp:0,wns6jk:0,kdfdk4:0,Bbw008l:0,Bayi1ib:0,B1kkfu3:0,J1oqyp:0,kem6az:0,goa3yj:"fmle6oo",p743kt:"f1d3itm4",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1e9l2u"},subtleDisabled:{De3pzq:"fhovq9v",sj55zd:"f1s2aq7o"},subtleDisabledSelected:{De3pzq:"f1bg9a2p",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fegtqic",sj55zd:"f1s2aq7o"},filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb",B95qlz1:"fwwxidx",r4wkhp:"f1fcoy83",B7xitij:"f14i52sd",p743kt:"f15qf7sh",Hhssn:"f1cpi5f4",uaurb9:"f6pj1s0",B401qx7:"f12sz5kj",Buyp1jb:"f17588c3",gsp74p:"fnthgdt"},filledSelected:{De3pzq:"ffp7eso",sj55zd:"f1phragk",B95qlz1:"f1lm9dni",r4wkhp:"f1mn5ei1",B7xitij:"f1g6ncd0",p743kt:"fl71aob",Gedr8k:"f14zl92z",Bm69vlq:"f16zy3eu",Bodipah:"f1gdgb7p",B5kpen0:"f1tua9ng"},filledDisabled:{De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o"},filledDisabledSelected:{De3pzq:"f1bg9a2p",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fegtqic",sj55zd:"f1s2aq7o"}},{d:[[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fp7rvkm{border:solid var(--strokeWidthThin) var(--colorTransparentStroke);}",{p:-2}],".ftorr8m .fui-Tab__icon{color:inherit;}",".f16lqpmv .fui-Tab__content{color:inherit;}",[".fzklhed{padding-block:calc(var(--spacingVerticalXXS) - var(--strokeWidthThin));}",{p:-1}],[".f1j721cc{padding-block:calc(var(--spacingVerticalSNudge) - var(--strokeWidthThin));}",{p:-1}],[".frx9knr{padding-block:calc(var(--spacingVerticalS) - var(--strokeWidthThin));}",{p:-1}],".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",[".ft57sj0:enabled:hover{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Hover);}",{p:-2}],".f1fcoy83:enabled:hover{color:var(--colorNeutralForeground2Hover);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",[".fhn220o:enabled:active{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Pressed);}",{p:-2}],".f15qf7sh:enabled:active{color:var(--colorNeutralForeground2Pressed);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",[".f1c2pc3t{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStroke);}",{p:-2}],".faj9fo0{color:var(--colorBrandForeground2);}",".fsm7zmf:enabled:hover{background-color:var(--colorBrandBackground2Hover);}",[".f1wo0sfq:enabled:hover{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokeHover);}",{p:-2}],".f1afuynh:enabled:hover{color:var(--colorBrandForeground2Hover);}",".f94ddyl:enabled:active{background-color:var(--colorBrandBackground2Pressed);}",[".fmle6oo:enabled:active{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokePressed);}",{p:-2}],".f1d3itm4:enabled:active{color:var(--colorBrandForeground2Pressed);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",[".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".f1lm9dni:enabled:hover{background-color:var(--colorBrandBackgroundHover);}",".f1mn5ei1:enabled:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1g6ncd0:enabled:active{background-color:var(--colorBrandBackgroundPressed);}",".fl71aob:enabled:active{color:var(--colorNeutralForegroundOnBrand);}",[".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",{p:-2}]],m:[["@media (forced-colors: active){.f1mljprk{border:solid var(--strokeWidthThin) Canvas;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e9l2u{border:solid var(--strokeWidthThin) Highlight;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cpi5f4:enabled:hover{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f6pj1s0:enabled:hover{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12sz5kj:enabled:hover .fui-Tab__content{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f17588c3:enabled:hover .fui-Icon-filled{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnthgdt:enabled:hover .fui-Icon-regular{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14zl92z:enabled{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16zy3eu:enabled .fui-Tab__content{color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gdgb7p:enabled .fui-Tab__content{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tua9ng:enabled .fui-Tab__icon{color:ButtonFace;}}",{m:"(forced-colors: active)"}]]}),kC=U({base:{B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bn4voq9:"f1p7hgxw",Bfpq7zp:"f1way5bb",g9k6zt:"f9znhxp",j6ew2k:["fqa318h","fqa318h"],Bhxq17a:"f1vjpng2"},circular:{B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bn4voq9:"f1p7hgxw",Bfpq7zp:"f1way5bb",g9k6zt:"f9znhxp",j6ew2k:["fzgyhws","fqxug60"],Bhxq17a:"f1vjpng2"}},{d:[".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",".f1p7hgxw[data-fui-focus-visible]{outline-width:var(--strokeWidthThick);}",".f1way5bb[data-fui-focus-visible]{outline-color:transparent;}",".f9znhxp[data-fui-focus-visible]{outline-style:solid;}",".fqa318h[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2);}",".f1vjpng2[data-fui-focus-visible]{z-index:1;}",".fzgyhws[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}",".fqxug60[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}"]}),xC=U({base:{az7l2e:"fhw179n",vqofr:0,Bv4n3vi:0,Bgqb9hq:0,B0uxbk8:0,Bf3jju6:"fg9j5n4",amg5m6:"f1kmhr4c",zkfqfm:"fl1ydde",Bkydozb:"f1y7maxz",Bka2azo:0,vzq8l0:0,csmgbd:0,Br4ovkg:0,aelrif:"fceyvr4",y36c18:"f16cxu0",B1ctymy:"f1nwgacf",xzc5d:"fm6alxz",h5yqg8:"fhx32z1"},disabled:{az7l2e:"f1ut20fw",Bkydozb:"fhrzcfn",xzc5d:"fw15awd",h5yqg8:"faqmq51"},smallHorizontal:{lawp4y:"fchca7p",Baz25je:"f1r53b5e",Fbdkly:["f1s6rxz5","fo35v8s"],mdwyqc:["fo35v8s","f1s6rxz5"]},smallVertical:{lawp4y:"fze4zud",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"fdp32p8",Ccq8qp:"f1aij3q"},mediumHorizontal:{lawp4y:"fchca7p",Baz25je:"f1s2r9ax",Fbdkly:["f1o0nnkk","fxb7rol"],mdwyqc:["fxb7rol","f1o0nnkk"]},mediumVertical:{lawp4y:"f17jracn",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"f117lcb2",Ccq8qp:"f1aij3q"},largeHorizontal:{lawp4y:"fchca7p",Baz25je:"f1s2r9ax",Fbdkly:["f1o0nnkk","fxb7rol"],mdwyqc:["fxb7rol","f1o0nnkk"]},largeVertical:{lawp4y:"fel9d3z",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"f6vqlre",Ccq8qp:"f1aij3q"}},{h:[".fhw179n:hover::before{background-color:var(--colorNeutralStroke1Hover);}",[".fg9j5n4:hover::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f1kmhr4c:hover::before{content:"";}',".fl1ydde:hover::before{position:absolute;}",".f1ut20fw:hover::before{background-color:var(--colorTransparentStroke);}"],a:[".f1y7maxz:active::before{background-color:var(--colorNeutralStroke1Pressed);}",[".fceyvr4:active::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f16cxu0:active::before{content:"";}',".f1nwgacf:active::before{position:absolute;}",".fhrzcfn:active::before{background-color:var(--colorTransparentStroke);}"],m:[["@media (forced-colors: active){.fm6alxz:hover::before{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fhx32z1:active::before{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw15awd:hover::before{background-color:transparent;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faqmq51:active::before{background-color:transparent;}}",{m:"(forced-colors: active)"}]],d:[".fchca7p::before{bottom:0;}",".f1r53b5e::before{height:var(--strokeWidthThick);}",".f1s6rxz5::before{left:var(--spacingHorizontalSNudge);}",".fo35v8s::before{right:var(--spacingHorizontalSNudge);}",".fze4zud::before{bottom:var(--spacingVerticalXS);}",".f1fzr1x6::before{left:0;}",".f1f351id::before{right:0;}",".fdp32p8::before{top:var(--spacingVerticalXS);}",".f1aij3q::before{width:var(--strokeWidthThicker);}",".f1s2r9ax::before{height:var(--strokeWidthThicker);}",".f1o0nnkk::before{left:var(--spacingHorizontalM);}",".fxb7rol::before{right:var(--spacingHorizontalM);}",".f17jracn::before{bottom:var(--spacingVerticalS);}",".f117lcb2::before{top:var(--spacingVerticalS);}",".fel9d3z::before{bottom:var(--spacingVerticalMNudge);}",".f6vqlre::before{top:var(--spacingVerticalMNudge);}"]}),BC=U({base:{Bjyk6c5:"f1rp0jgh",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f3b9emi",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9"},selected:{Bjyk6c5:"f1ksivud",Bej4dhw:"f1476jrx",B7wqxwa:"f18q216b",Hwb57:"f1wf6u82",Beg08s0:"f1xwit7m",Bo27r1v:"f1ksfgwi"},disabled:{Bjyk6c5:"f13lkzet"},smallHorizontal:{By385i5:"fo72kxq",Dlnsje:"f9bb2ob",Eqx8gd:["f1q70ajw","f18rbzdx"],B1piin3:["f18rbzdx","f1q70ajw"]},smallVertical:{By385i5:"fqbue9b",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"fk1klkt",a2br6o:"f1o25lip"},mediumHorizontal:{By385i5:"fo72kxq",Dlnsje:"f1vx7lu8",Eqx8gd:["fna7m5n","f1oxpfwv"],B1piin3:["f1oxpfwv","fna7m5n"]},mediumVertical:{By385i5:"fipylg0",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"fqchiol",a2br6o:"f1o25lip"},largeHorizontal:{By385i5:"fo72kxq",Dlnsje:"f1vx7lu8",Eqx8gd:["fna7m5n","f1oxpfwv"],B1piin3:["f1oxpfwv","fna7m5n"]},largeVertical:{By385i5:"f1w7dm5g",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"f1p6em4m",a2br6o:"f1o25lip"}},{d:[".f1rp0jgh::after{background-color:var(--colorTransparentStroke);}",[".f3b9emi::after{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1ksivud::after{background-color:var(--colorCompoundBrandStroke);}",".f1476jrx:enabled:hover::after{background-color:var(--colorCompoundBrandStrokeHover);}",".f18q216b:enabled:active::after{background-color:var(--colorCompoundBrandStrokePressed);}",".f13lkzet::after{background-color:var(--colorNeutralForegroundDisabled);}",".fo72kxq::after{bottom:0;}",".f9bb2ob::after{height:var(--strokeWidthThick);}",".f1q70ajw::after{left:var(--spacingHorizontalSNudge);}",".f18rbzdx::after{right:var(--spacingHorizontalSNudge);}",".fqbue9b::after{bottom:var(--spacingVerticalXS);}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fk1klkt::after{top:var(--spacingVerticalXS);}",".f1o25lip::after{width:var(--strokeWidthThicker);}",".f1vx7lu8::after{height:var(--strokeWidthThicker);}",".fna7m5n::after{left:var(--spacingHorizontalM);}",".f1oxpfwv::after{right:var(--spacingHorizontalM);}",".fipylg0::after{bottom:var(--spacingVerticalS);}",".fqchiol::after{top:var(--spacingVerticalS);}",".f1w7dm5g::after{bottom:var(--spacingVerticalMNudge);}",".f1p6em4m::after{top:var(--spacingVerticalMNudge);}"],m:[["@media (forced-colors: active){.f1wf6u82::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xwit7m:enabled:hover::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ksfgwi:enabled:active::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}]]}),SC=U({base:{Br312pm:"fwpfdsa",Ijaq50:"f16hsg94",Bt984gj:"f122n59",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",D0sxk3:"f16u1re",t6yez3:"f8bsbmo"},small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},medium:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun"},selected:{D0sxk3:"fxoiby5",t6yez3:"f15q0o9g"}},{d:[".fwpfdsa{grid-column-start:1;}",".f16hsg94{grid-row-start:1;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f16u1re .fui-Icon-filled{display:none;}",".f8bsbmo .fui-Icon-regular{display:inline;}",".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}"]}),zC=U({base:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bwptpd"},selected:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"},largeSelected:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},noIconBefore:{Br312pm:"fwpfdsa",Ijaq50:"f16hsg94"},iconBefore:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94"},placeholder:{Bcdw1i0:"fd7fpy0"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1bwptpd{padding:var(--spacingVerticalNone) var(--spacingHorizontalXXS);}",{p:-1}],".fl43uef{font-weight:var(--fontWeightSemibold);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fwpfdsa{grid-column-start:1;}",".f16hsg94{grid-row-start:1;}",".fd46tj4{grid-column-start:2;}",".fd7fpy0{visibility:hidden;}"]}),_C=e=>{"use no memo";return NC(e),CC(e,e.root),jC(e),e},NC=e=>{const t=x0(),o=xC(),i=BC(),{appearance:a,disabled:s,selected:c,size:d,vertical:f}=e,p=[Fu.root,t.root];return a!=="subtle-circular"&&a!=="filled-circular"&&p.push(o.base,d==="small"&&(f?o.smallVertical:o.smallHorizontal),d==="medium"&&(f?o.mediumVertical:o.mediumHorizontal),d==="large"&&(f?o.largeVertical:o.largeHorizontal),s&&o.disabled,c&&i.base,c&&!s&&i.selected,c&&d==="small"&&(f?i.smallVertical:i.smallHorizontal),c&&d==="medium"&&(f?i.mediumVertical:i.mediumHorizontal),c&&d==="large"&&(f?i.largeVertical:i.largeHorizontal),c&&s&&i.disabled),e.root.className=A(...p,e.root.className),bC(e),e},CC=(e,t)=>{const o=x0(),i=kC(),a=wC(),{appearance:s,disabled:c,selected:d,size:f,vertical:p}=e,v=s==="subtle-circular",h=s==="filled-circular",x=v||h,y=[a.base,i.circular,f==="small"&&a.small,f==="medium"&&a.medium,f==="large"&&a.large,v&&a.subtle,d&&v&&a.subtleSelected,c&&v&&a.subtleDisabled,d&&c&&v&&a.subtleDisabledSelected,h&&a.filled,d&&h&&a.filledSelected,c&&h&&a.filledDisabled,d&&c&&h&&a.filledDisabledSelected],k=[i.base,!c&&s==="subtle"&&o.subtle,!c&&s==="transparent"&&o.transparent,!c&&d&&o.selected,c&&o.disabled];return t.className=A(o.button,p?o.vertical:o.horizontal,f==="small"&&(p?o.smallVertical:o.smallHorizontal),f==="medium"&&(p?o.mediumVertical:o.mediumHorizontal),f==="large"&&(p?o.largeVertical:o.largeHorizontal),...x?y:k,c&&o.disabledCursor,t.className),e},jC=e=>{const t=SC(),o=zC(),{selected:i,size:a}=e;return e.icon&&(e.icon.className=A(Fu.icon,t.base,t[a],i&&t.selected,e.icon.className)),e.contentReservedSpace&&(e.contentReservedSpace.className=A(yC.content,o.base,a==="large"?o.largeSelected:o.selected,e.icon?o.iconBefore:o.noIconBefore,o.placeholder,e.content.className),e.contentReservedSpaceClassName=e.contentReservedSpace.className),e.content.className=A(Fu.content,o.base,a==="large"&&o.large,i&&(a==="large"?o.largeSelected:o.selected),e.icon?o.iconBefore:o.noIconBefore,e.content.className),e},TC=b.forwardRef((e,t)=>{const o=fC(e,t);return _C(o),he("useTabStyles_unstable")(o),vC(o)});TC.displayName="Tab";const B0=(e,t)=>{const{wrap:o,truncate:i,block:a,italic:s,underline:c,strikethrough:d,size:f,font:p,weight:v,align:h}=e;return{align:h??"start",block:a??!1,font:p??"base",italic:s??!1,size:f??300,strikethrough:d??!1,truncate:i??!1,underline:c??!1,weight:v??"regular",wrap:o??!0,components:{root:"span"},root:se(Te("span",{ref:t,...e}),{elementType:"span"})}},S0=e=>L(e.root,{}),qC={root:"fui-Text"},EC=U({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),z0=e=>{const t=EC();return e.root.className=A(qC.root,t.root,e.wrap===!1&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,e.size===100&&t.base100,e.size===200&&t.base200,e.size===400&&t.base400,e.size===500&&t.base500,e.size===600&&t.base600,e.size===700&&t.hero700,e.size===800&&t.hero800,e.size===900&&t.hero900,e.size===1e3&&t.hero1000,e.font==="monospace"&&t.monospace,e.font==="numeric"&&t.numeric,e.weight==="medium"&&t.weightMedium,e.weight==="semibold"&&t.weightSemibold,e.weight==="bold"&&t.weightBold,e.align==="center"&&t.alignCenter,e.align==="end"&&t.alignEnd,e.align==="justify"&&t.alignJustify,e.root.className),e},PC=b.forwardRef((e,t)=>{const o=B0(e,t);return z0(o),he("useTextStyles_unstable")(o),S0(o)});PC.displayName="Text";function _0(e){const{useStyles:t,className:o,displayName:i}=e,a=b.forwardRef((s,c)=>{const d=t(),f=B0(s,c);return z0(f),f.root.className=A(o,f.root.className,d.root,s.className),S0(f)});return a.displayName=i,a}const RC={root:"fui-Caption1"},FC=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);}"]}),$8=_0({useStyles:FC,className:RC.root,displayName:"Caption1"}),DC={root:"fui-Subtitle2"},IC=U({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),U8=_0({useStyles:IC,className:DC.root,displayName:"Subtitle2"}),MC=e=>L(e.root,{children:L(e.textarea,{})}),OC=(e,t)=>{const o=Ui(),i=No();var a,s;const{size:c=(a=i?.size)!==null&&a!==void 0?a:"medium",appearance:d=(s=o.inputDefaultAppearance)!==null&&s!==void 0?s:"outline",...f}=e;return{...HC(f,t),size:c,appearance:d}},HC=(e,t)=>{e=Ar(e,{supportsLabelFor:!0,supportsRequired:!0});const{resize:o="none",onChange:i}=e,[a,s]=zt({state:e.value,defaultState:e.defaultValue,initialState:void 0}),c=Hr({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:o,components:{root:"span",textarea:"textarea"},textarea:se(e.textarea,{defaultProps:{ref:t,...c.primary},elementType:"textarea"}),root:se(e.root,{defaultProps:c.root,elementType:"span"})};return d.textarea.value=a,d.textarea.onChange=te(f=>{const p=f.target.value;i?.(f,{value:p}),s(p)}),d},Dv={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},AC=U({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),LC=U({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),VC=U({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),WC=e=>{const{size:t,appearance:o,resize:i}=e,a=e.textarea.disabled,s=`${e.textarea["aria-invalid"]}`=="true",c=o.startsWith("filled"),d=AC();e.root.className=A(Dv.root,d.base,a&&d.disabled,!a&&c&&d.filled,!a&&d[o],!a&&d.interactive,!a&&o==="outline"&&d.outlineInteractive,!a&&s&&d.invalid,e.root.className);const f=LC(),p=VC();return e.textarea.className=A(Dv.textarea,f.base,f[t],p[i],a&&f.disabled,e.textarea.className),e},$C=b.forwardRef((e,t)=>{const o=OC(e,t);return WC(o),he("useTextareaStyles_unstable")(o),MC(o)});$C.displayName="Textarea";const UC=be("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),XC=be("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function GC(){const e=UC(),t=XC(),{targetDocument:o}=je(),i=b.useCallback(()=>{var s;if(!o)return;var c;Math.floor(o.body.getBoundingClientRect().height)>((c=(s=o.defaultView)===null||s===void 0?void 0:s.innerHeight)!==null&&c!==void 0?c:0)&&(o.documentElement.classList.add(e),o.body.classList.add(t))},[o,e,t]),a=b.useCallback(()=>{o&&(o.documentElement.classList.remove(e),o.body.classList.remove(t))},[o,e,t]);return{disableBodyScroll:i,enableBodyScroll:a}}function KC(e,t){const{findFirstFocusable:o}=wo(),{targetDocument:i}=je(),a=b.useRef(null);return b.useEffect(()=>{if(!e)return;const s=a.current&&o(a.current);if(s)s.focus();else{var c;(c=a.current)===null||c===void 0||c.focus()}},[o,e,t,i]),a}const QC={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},bd=xo(void 0),YC=bd.Provider,Yt=e=>tn(bd,(t=QC)=>e(t)),JC=!1,N0=b.createContext(void 0),C0=N0.Provider,ZC=()=>{var e;return(e=b.useContext(N0))!==null&&e!==void 0?e:JC},j0=b.createContext(void 0),ej=j0.Provider,tj=()=>b.useContext(j0),Iv=ea(id,{outScale:.85,easing:Pe.curveDecelerateMid,duration:Pe.durationGentle,exitEasing:Pe.curveAccelerateMin,exitDuration:Pe.durationGentle}),rj=e=>{const{children:t,modalType:o="modal",onOpenChange:i,inertTrapFocus:a=!1,unmountOnClose:s=!0}=e,c=ft("dialog-title-"),[d,f]=oj(t),[p,v]=zt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),h=te(B=>{i?.(B.event,B),B.event.isDefaultPrevented()||v(B.open)}),x=KC(p,o),{modalAttributes:y,triggerAttributes:k}=Hl({trapFocus:o!=="non-modal",legacyTrapFocus:!a}),w=In(bd);return{components:{surfaceMotion:Iv},inertTrapFocus:a,open:p,modalType:o,content:f,trigger:d,requestOpenChange:h,dialogTitleId:c,isNestedDialog:w,unmountOnClose:s,dialogRef:x,modalAttributes:y,triggerAttributes:k,surfaceMotion:Vl(e.surfaceMotion,{elementType:Iv,defaultProps:{visible:p,appear:s,unmountOnExit:s}})}};function oj(e){const t=b.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}const nj=(e,t)=>L(YC,{value:t.dialog,children:Ce(C0,{value:t.dialogSurface,children:[e.trigger,e.content&&L(e.surfaceMotion,{children:L(Ll,{children:e.content})})]})});function ij(e){const{modalType:t,open:o,dialogRef:i,dialogTitleId:a,isNestedDialog:s,inertTrapFocus:c,requestOpenChange:d,modalAttributes:f,triggerAttributes:p,unmountOnClose:v}=e;return{dialog:b.useMemo(()=>({open:o,modalType:t,dialogRef:i,dialogTitleId:a,isNestedDialog:s,inertTrapFocus:c,modalAttributes:f,triggerAttributes:p,unmountOnClose:v,requestOpenChange:d}),[o,t,i,a,s,c,f,p,v,d]),dialogSurface:!1}}const Du=b.memo(e=>{const t=rj(e),o=ij(t);return nj(t,o)});Du.displayName="Dialog";const aj=e=>{const t=ZC(),{children:o,disableButtonEnhancement:i=!1,action:a=t?"close":"open"}=e,s=Ki(o),c=Yt(h=>h.requestOpenChange),{triggerAttributes:d}=Hl(),f=te(h=>{var x,y;s==null||(x=(y=s.props).onClick)===null||x===void 0||x.call(y,h),h.isDefaultPrevented()||c({event:h,type:"triggerClick",open:a==="open"})}),p={...s?.props,ref:Gi(s),onClick:f,...d},v=Ko(s?.type==="button"||s?.type==="a"?s.type:"div",{...p,type:"button"});return{children:Il(o,i?p:v)}},lj=e=>e.children,yd=e=>{const t=aj(e);return lj(t)};yd.displayName="DialogTrigger";yd.isFluentTriggerComponent=!0;const sj=(e,t)=>{const{position:o="end",fluid:i=!1}=e;return{components:{root:"div"},root:se(Te("div",{ref:t,...e}),{elementType:"div"}),position:o,fluid:i}},cj=e=>L(e.root,{}),uj={root:"fui-DialogActions"},dj=be("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),fj=U({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),pj=e=>{const t=dj(),o=fj();return e.root.className=A(uj.root,t,e.position==="start"&&o.gridPositionStart,e.position==="end"&&o.gridPositionEnd,e.fluid&&e.position==="start"&&o.fluidStart,e.fluid&&e.position==="end"&&o.fluidEnd,e.root.className),e},gj=b.forwardRef((e,t)=>{const o=sj(e,t);return pj(o),he("useDialogActionsStyles_unstable")(o),cj(o)});gj.displayName="DialogActions";const vj=(e,t)=>{var o;return{components:{root:"div"},root:se(Te((o=e.as)!==null&&o!==void 0?o:"div",{ref:t,...e}),{elementType:"div"})}},mj=e=>L(e.root,{}),hj={root:"fui-DialogBody"},bj=be("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),yj=e=>{const t=bj();return e.root.className=A(hj.root,t,e.root.className),e},wj=b.forwardRef((e,t)=>{const o=vj(e,t);return yj(o),he("useDialogBodyStyles_unstable")(o),mj(o)});wj.displayName="DialogBody";const Mv={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},kj=be("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),xj=U({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),Bj=be("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),Sj=be("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),T0=e=>{const t=kj(),o=Bj(),i=xj();return e.root.className=A(Mv.root,t,!e.action&&i.rootWithoutAction,e.root.className),e.action&&(e.action.className=A(Mv.action,o,e.action.className)),e},zj=(e,t)=>{const{action:o}=e,i=Yt(s=>s.modalType),a=Sj();return{components:{root:"h2",action:"div"},root:se(Te("h2",{ref:t,id:Yt(s=>s.dialogTitleId),...e}),{elementType:"h2"}),action:we(o,{renderByDefault:i==="non-modal",defaultProps:{children:b.createElement(yd,{disableButtonEnhancement:!0,action:"close"},b.createElement("button",{type:"button",className:a,"aria-label":"close"},b.createElement(qy,null)))},elementType:"div"})}},_j=e=>Ce(b.Fragment,{children:[L(e.root,{children:e.root.children}),e.action&&L(e.action,{})]}),Nj=b.forwardRef((e,t)=>{const o=zj(e,t);return T0(o),he("useDialogTitleStyles_unstable")(o),_j(o)});Nj.displayName="DialogTitle";const Ov=qS,q0=(e,t)=>{const o=Al(),i=Yt(_=>_.modalType),a=Yt(_=>_.isNestedDialog),s=tj(),c=s??a,d=Yt(_=>_.modalAttributes),f=Yt(_=>_.dialogRef),p=Yt(_=>_.requestOpenChange),v=Yt(_=>_.dialogTitleId),h=Yt(_=>_.open),x=Yt(_=>_.unmountOnClose),y=te(_=>{if(rm(e.backdrop)){var N,E;(N=(E=e.backdrop).onClick)===null||N===void 0||N.call(E,_)}i==="modal"&&!_.isDefaultPrevented()&&p({event:_,open:!1,type:"backdropClick"})}),k=te(_=>{var N;(N=e.onKeyDown)===null||N===void 0||N.call(e,_),_.key===Bo&&!_.isDefaultPrevented()&&(p({event:_,open:!1,type:"escapeKeyDown"}),_.preventDefault())}),w=we(e.backdrop,{renderByDefault:i!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),B=w?.appearance;w&&(w.onClick=y,delete w.appearance);const{disableBodyScroll:z,enableBodyScroll:C}=GC();return $e(()=>{if(!h){C();return}if(!(a||i==="non-modal"))return z(),()=>C()},[h,i,a,z,C]),{components:{backdrop:"div",root:"div",backdropMotion:Ov},open:h,backdrop:w,isNestedDialog:a,treatBackdropAsNested:c,backdropAppearance:B,unmountOnClose:x,mountNode:e.mountNode,root:se(Te("div",{tabIndex:-1,role:i==="alert"?"alertdialog":"dialog","aria-modal":i!=="non-modal","aria-labelledby":e["aria-label"]?void 0:v,"aria-hidden":!x&&!h?!0:void 0,...e,...d,onKeyDown:k,ref:_e(t,o,f)}),{elementType:"div"}),backdropMotion:Vl(e.backdropMotion,{elementType:Ov,defaultProps:{appear:x,visible:h}}),transitionStatus:void 0}};function Cj(e){return dt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const jj=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;}"]}),E0=Rn.useInsertionEffect,Tj=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,s=b.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return b.useMemo(()=>{s&&(s.className=t,s.setAttribute("dir",o),s.setAttribute("data-portal-node","true"),i.current=s)},[t,o,s,i]),b.useEffect(()=>()=>{s?.remove()},[s]),s},qj=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},Ej=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[s]=b.useState(qj),c=b.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(d,f){if(f==="nodeType")return 1;if(f==="remove"){const h=s.get(a,!1);return h&&h.childNodes.length===0&&s.dispose(),()=>{}}const p=s.get(a,!0),v=p?p[f]:void 0;return typeof v=="function"?v.bind(p):v},set(d,f,p){const v=f==="_virtual"||f==="focusVisible",h=v?s.get(a,!1):s.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[f]:p}),!0):!1}}),[s,a,e.disabled]);return E0(()=>{if(!c)return;const d=t.split(" ").filter(Boolean);return c.classList.add(...d),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...d),c.removeAttribute("dir")}},[t,o,c,i]),b.useEffect(()=>()=>{c?.remove()},[c]),c},Pj=E0?Ej:Tj,Rj=e=>{"use no memo";const{targetDocument:t,dir:o}=je(),i=Xi(),a=en(),s=jj(),c=$i(),d={dir:o,disabled:e.disabled,focusVisibleRef:a,className:A(c,s.root,e.className),targetNode:i??t?.body};return Pj(d)},Fj=e=>{const{element:t,className:o}=Cj(e.mountNode),i=b.useRef(null),a=Rj({disabled:!!t,className:o}),s=t??a,c={children:e.children,mountNode:s,virtualParentRootRef:i};return b.useEffect(()=>{if(!s)return;const d=i.current,f=s.contains(d);if(d&&!f)return xr(s,d),()=>{xr(s,void 0)}},[i,s]),c},Dj=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Jo.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),P0=e=>{const t=Fj(e);return Dj(t)};P0.displayName="Portal";const R0=(e,t)=>Ce(P0,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&L(e.backdropMotion,{children:L(e.backdrop,{})}),L(mh,{children:L(C0,{value:t.dialogSurface,children:L(e.root,{})})})]}),Hv={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},Ij=be("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),Mj=be("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),Oj=U({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),Hj=e=>{const{root:t,backdrop:o,open:i,unmountOnClose:a,treatBackdropAsNested:s,backdropAppearance:c}=e,d=Ij(),f=Mj(),p=Oj(),v=c?c==="transparent":s,h=!a&&!i;return t.className=A(Hv.root,d,h&&p.dialogHidden,t.className),o&&(o.className=A(Hv.backdrop,f,h&&p.dialogHidden,v&&p.nestedDialogBackdrop,o.className)),e};function F0(e){return{dialogSurface:!0}}const Aj=b.forwardRef((e,t)=>{const o=q0(e,t),i=F0();return Hj(o),he("useDialogSurfaceStyles_unstable")(o),R0(o,i)});Aj.displayName="DialogSurface";const Lj=(e,t)=>{var o;return{components:{root:"div"},root:se(Te((o=e.as)!==null&&o!==void 0?o:"div",{ref:t,...e}),{elementType:"div"})}},Vj=e=>L(e.root,{}),Wj={root:"fui-DialogContent"},$j=be("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),Uj=e=>{const t=$j();return e.root.className=A(Wj.root,t,e.root.className),e},Xj=b.forwardRef((e,t)=>{const o=Lj(e,t);return Uj(o),he("useDialogContentStyles_unstable")(o),Vj(o)});Xj.displayName="DialogContent";const Gj=e=>e<=0?1:e,Kj=(e,t)=>e===void 0?e:e<0?0:e>t?t:e,Av=Nu({keyframes:[{translate:"-100%"},{translate:"300%"}],duration:3e3,iterations:1/0,easing:Pe.curveLinear,reducedMotion:{keyframes:[{opacity:.2},{opacity:1},{opacity:.2}],duration:3e3,iterations:1/0}}),Qj=(e,t)=>{const o=No(),i=o?.validationState,{color:a=i==="error"||i==="warning"||i==="success"?i:"brand",shape:s="rounded",thickness:c="medium",indeterminateMotion:d,...f}=e,p=Yj(f,t);return{...p,components:{...p.components,indeterminateMotion:Av},color:a,shape:s,thickness:c,indeterminateMotion:p.value===void 0?jS(d,{elementType:Av,defaultProps:{}}):void 0}},Yj=(e,t)=>{const o=No();var i;const a=Gj((i=e.max)!==null&&i!==void 0?i:1),s=Kj(e.value,a),c=se(Te("div",{ref:t,role:"progressbar","aria-valuemin":s!==void 0?0:void 0,"aria-valuemax":s!==void 0?a:void 0,"aria-valuenow":s,"aria-labelledby":o?.labelId,...e}),{elementType:"div"});o&&(o.validationMessageId||o.hintId)&&(c["aria-describedby"]=[o?.validationMessageId,o?.hintId,c["aria-describedby"]].filter(Boolean).join(" "));const d=se(e.bar,{elementType:"div"});return{max:a,value:s,components:{root:"div",bar:"div",indeterminateMotion:"div"},root:c,bar:d}},Jj=e=>L(e.root,{children:e.bar&&(e.indeterminateMotion?L(e.indeterminateMotion,{children:L(e.bar,{})}):L(e.bar,{}))}),Lv={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},Zj=.01,eT=U({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bomf52o:"f1skxd4g"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.f1skxd4g{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),tT=U({base:{Bomf52o:"f1tnpuu0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],jpy9cc:"f3z2g5w"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1tnpuu0{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f3z2g5w{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
34
+ to right,
35
+ var(--colorNeutralBackground6) 0%,
36
+ var(--colorTransparentBackground) 50%,
37
+ var(--colorNeutralBackground6) 100%
38
+ );}`,`.f1u5hf6c{background-image:linear-gradient(
39
+ to left,
40
+ var(--colorNeutralBackground6) 0%,
41
+ var(--colorTransparentBackground) 50%,
42
+ var(--colorNeutralBackground6) 100%
43
+ );}`,".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"]}),rT=e=>{const{color:t,max:o,shape:i,thickness:a,value:s}=e,c=eT(),d=tT();return e.root.className=A(Lv.root,c.root,c[i],c[a],e.root.className),e.bar&&(e.bar.className=A(Lv.bar,d.base,d.brand,s===void 0&&d.indeterminate,s!==void 0&&s>Zj&&d.nonZeroDeterminate,t&&s!==void 0&&d[t],e.bar.className)),e.bar&&s!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,s/o*100))+"%",...e.bar.style}),e},oT=b.forwardRef((e,t)=>{const o=Qj(e,t);return rT(o),he("useProgressBarStyles_unstable")(o),Jj(o)});oT.displayName="ProgressBar";const nT=U({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),iT=e=>{const t=nT();e.root.className=A(e.vertical&&t.vertical,e.root.className),e.icon&&(e.icon.className=A(e.vertical&&t.verticalIcon,e.icon.className)),Kh(e)},aT=(e,t)=>{const{appearance:o="subtle",...i}=e,a=lT(i,t);return{appearance:o,size:"medium",shape:"rounded",...a}},lT=(e,t)=>{const{vertical:o=!1,...i}=e,a=Gh(i,t);return{vertical:o,...a}},sT=b.forwardRef((e,t)=>{const o=aT(e,t);return iT(o),he("useToolbarButtonStyles_unstable")(o),Uh(o)});sT.displayName="ToolbarButton";const Ei=()=>{},D0={allRowsSelected:!1,clearRows:Ei,deselectRow:Ei,isRowSelected:()=>!1,selectRow:Ei,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:Ei,toggleRow:Ei,selectionMode:"multiselect"};function cT(e){return t=>uT(t,e)}function uT(e,t){const{items:o,getRowId:i}=e,{selectionMode:a,defaultSelectedItems:s,selectedItems:c,onSelectionChange:d}=t,[f,p]=Kw({selectionMode:a,defaultSelectedItems:s,selectedItems:c,onSelectionChange:d}),v=b.useMemo(()=>{const _=new Set;for(let E=0;E<o.length;E++){var N;_.add((N=i?.(o[E]))!==null&&N!==void 0?N:E)}return _},[o,i]),h=b.useMemo(()=>{if(a==="single"){const N=Array.from(f)[0];return v.has(N)}if(f.size<v.size||v.size===0)return!1;let _=!0;return v.forEach(N=>{f.has(N)||(_=!1)}),_},[v,f,a]),x=b.useMemo(()=>{if(f.size<=0)return!1;let _=!1;return v.forEach(N=>{f.has(N)&&(_=!0)}),_},[v,f]),y=te(_=>{p.toggleAllItems(_,o.map((N,E)=>{var T;return(T=i?.(N))!==null&&T!==void 0?T:E}))}),k=te((_,N)=>p.toggleItem(_,N)),w=te((_,N)=>p.deselectItem(_,N)),B=te((_,N)=>p.selectItem(_,N)),z=_=>p.isSelected(_),C=te(_=>p.clearItems(_));return{...e,selection:{selectionMode:a,someRowsSelected:x,allRowsSelected:h,selectedRows:f,toggleRow:k,toggleAllRows:y,clearRows:C,deselectRow:w,selectRow:B,isRowSelected:z}}}const Iu=()=>{},I0={getSortDirection:()=>"ascending",setColumnSort:Iu,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:Iu};function dT(e){return t=>fT(t,e)}function fT(e,t){const{columns:o}=e,{sortState:i,defaultSortState:a,onSortChange:s=Iu}=t,[c,d]=zt({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:a,state:i}),{sortColumn:f,sortDirection:p}=c,v=te(s),h=b.useCallback((w,B)=>{d(z=>{const C={...z,sortColumn:B};return z.sortColumn===B?C.sortDirection=z.sortDirection==="ascending"?"descending":"ascending":C.sortDirection="ascending",v?.(w,C),C})},[v,d]),x=(w,B,z)=>{const C={sortColumn:B,sortDirection:z};v?.(w,C),d(C)},y=b.useCallback(w=>w.slice().sort((B,z)=>{const C=o.find(N=>N.columnId===f);if(!C?.compare)return 0;const _=p==="ascending"?1:-1;return C.compare(B.item,z.item)*_}),[o,f,p]);return{...e,sort:{sort:y,sortColumn:f,sortDirection:p,setColumnSort:x,toggleColumnSort:h,getSortDirection:w=>f===w?p:void 0}}}const pT=(e,t)=>{const o=te(i=>{var a;(a=e.onClick)===null||a===void 0||a.call(e,i),i.stopPropagation()});return{components:{root:"div"},root:se(Te("div",{ref:t,...e,onClick:o}),{elementType:"div"})}},gT=e=>L(e.root,{}),vT={root:"fui-TableResizeHandle"},mT=U({root:{qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk",B5kzvoi:"f1yab3r1",a9b677:"fjw5fx7",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fg06o1j",Bceei9c:"fc3en1c",abs64n:"fk73vx1",Bmy1vo4:"f13u1uyl",B3o57yi:"fezquic",Bj3rh1h:"f19g0ac",B3cna0y:"f1tkae59",Brovlpu:"ftqa4ok",B7zu5sd:"f15pjodv",Bsft5z2:"f1rcdj94",ap17g6:"f2gz7yw",a2br6o:"ff2ryt5",E3zdtr:"f1mdlcz9",Eqx8gd:["f10awi5f","f1nzedbg"],bn5sak:"frwkxtg",By385i5:"fo72kxq",Bjyk6c5:"fdlpgxj"}},{d:[".f1euv43f{position:absolute;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".fjw5fx7{width:16px;}",[".fg06o1j{margin:0 -8px;}",{p:-1}],".fc3en1c{cursor:col-resize;}",".fk73vx1{opacity:0;}",".f13u1uyl{transition-property:opacity;}",".fezquic{transition-duration:.2s;}",".f19g0ac{z-index:1;}",'.f1rcdj94::after{content:" ";}',".f2gz7yw::after{display:block;}",".ff2ryt5::after{width:1px;}",".f1mdlcz9::after{position:absolute;}",".f10awi5f::after{left:50%;}",".f1nzedbg::after{right:50%;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}"],f:[".f1tkae59:focus{opacity:1;}",".ftqa4ok:focus{outline-style:none;}"],h:[".f15pjodv:hover{opacity:1;}"]}),hT=e=>{const t=mT();return e.root.className=A(vT.root,t.root,e.root.className),e},M0=b.forwardRef((e,t)=>{const o=pT(e,t);return hT(o),he("useTableResizeHandleStyles_unstable")(o),gT(o)});M0.displayName="TableResizeHandle";function bT(){const[e,t]=b.useState(0),o=b.useRef(void 0),i=b.useRef(null),{targetDocument:a}=je(),s=b.useCallback(()=>{var d;const f=(d=o.current)===null||d===void 0?void 0:d.getBoundingClientRect().width;t(f||0)},[]),c=b.useCallback(d=>{if(a&&(!d&&i.current&&o.current&&i.current.unobserve(o.current),o.current=void 0,d?.parentElement)){var f;o.current=d.parentElement,s(),(f=i.current)===null||f===void 0||f.observe(o.current)}},[a,s]);return b.useEffect(()=>{if(i.current=yT(a,s),!(!o.current||!i.current))return i.current.observe(o.current),()=>{var d;(d=i.current)===null||d===void 0||d.disconnect()}},[s,a]),{width:e,measureElementRef:c}}function yT(e,t){var o;return!(e==null||(o=e.defaultView)===null||o===void 0)&&o.ResizeObserver?new e.defaultView.ResizeObserver(t):null}function wT(e){const t=b.useRef(0),o=b.useRef(0),i=b.useRef(void 0),[a,s]=b.useState(!1),{targetDocument:c}=je(),{getColumnWidth:d,setColumnWidth:f}=e,p=b.useCallback(k=>{const{clientX:w}=Bg(k),B=w-t.current;o.current+=B,i.current&&f(k,{columnId:i.current,width:o.current}),t.current=w},[f]),[v]=Fi(),h=b.useCallback(k=>{v(()=>p(k))},[v,p]),x=b.useCallback(k=>{wu(k)&&(c?.removeEventListener("mouseup",x),c?.removeEventListener("mousemove",h)),yu(k)&&(c?.removeEventListener("touchend",x),c?.removeEventListener("touchmove",h)),s(!1)},[h,c]);return{getOnMouseDown:b.useCallback(k=>w=>{if(o.current=d(k),t.current=Bg(w).clientX,i.current=k,wu(w)){if(w.target!==w.currentTarget||w.button!==0)return;c?.addEventListener("mouseup",x),c?.addEventListener("mousemove",h),s(!0)}yu(w)&&(c?.addEventListener("touchend",x),c?.addEventListener("touchmove",h),s(!0))},[d,h,x,c]),dragging:a}}const kT=150,xT=100;function Mu(e,t=[],o={}){let i=!1;const a=new Map(t.map(c=>[c.columnId,c])),s=e.map(c=>{const d=a.get(c.columnId);if(d){var f;const{idealWidth:k=d.idealWidth,minWidth:w=d.minWidth,padding:B=d.padding}=(f=o[c.columnId])!==null&&f!==void 0?f:{};return k!==d.idealWidth||w!==d.minWidth||B!==d.padding?(i=!0,{...d,idealWidth:k,width:k,minWidth:w,padding:B}):d}var p;const{defaultWidth:v,idealWidth:h=kT,minWidth:x=xT,padding:y}=(p=o[c.columnId])!==null&&p!==void 0?p:{};return i=!0,{columnId:c.columnId,width:Math.max(v??h,x),minWidth:x,idealWidth:Math.max(v??h,x),padding:y??16}});if(s.length!==t.length||i){const c=s.find(d=>d.width>d.idealWidth);c&&(c.width=c.idealWidth),i=!0}return i?s:t}function Wi(e,t){return e.find(o=>o.columnId===t)}function pu(e,t){return e[t]}function BT(e){return e.reduce((t,o)=>t+o.width+o.padding,0)}function ST(e,t){const o=Wi(e,t);var i;return(i=o?.width)!==null&&i!==void 0?i:0}function Ri(e,t,o,i){const a=Wi(e,t);if(!a||a?.[o]===i)return e;const s={...a,[o]:i};return e.reduce((d,f)=>f.columnId===s.columnId?[...d,s]:[...d,f],[])}function hl(e,t){let o=e;const i=BT(o);if(i<t){let a=t-i,s=0;for(;s<o.length&&a>0;){const c=pu(o,s);if(!c)break;const d=Math.min(c.idealWidth-c.width,a);if(o=Ri(o,c.columnId,"width",c.width+d),a-=d,s===o.length-1&&a!==0){const f=pu(o,s);f&&(o=Ri(o,f.columnId,"width",f.width+a))}s++}}else if(i>=t){let a=i-t,s=o.length-1;for(;s>=0&&a>0;){const c=pu(o,s);if(!c){s--;continue}if(c.width>c.minWidth){const d=Math.min(c.width-c.minWidth,a);a-=d,o=Ri(o,c.columnId,"width",c.width-d)}s--}}return o}const zT=e=>(t,o)=>{switch(o.type){case"CONTAINER_WIDTH_UPDATED":return{...t,containerWidth:o.containerWidth,columnWidthState:e?hl(t.columnWidthState,o.containerWidth):t.columnWidthState};case"COLUMNS_UPDATED":const i=Mu(o.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:o.columns,columnWidthState:e?hl(i,t.containerWidth):i};case"COLUMN_SIZING_OPTIONS_UPDATED":const a=Mu(t.columns,t.columnWidthState,o.columnSizingOptions);return{...t,columnSizingOptions:o.columnSizingOptions,columnWidthState:e?hl(a,t.containerWidth):a};case"SET_COLUMN_WIDTH":const{columnId:s,width:c}=o,{containerWidth:d}=t,f=Wi(t.columnWidthState,s);let p=[...t.columnWidthState];return f?(p=Ri(p,s,"width",c),p=Ri(p,s,"idealWidth",c),e&&(p=hl(p,d)),{...t,columnWidthState:p}):t}};function _T(e,t,o={}){const{onColumnResize:i,columnSizingOptions:a,autoFitColumns:s=!0}=o,c=b.useMemo(()=>zT(s),[s]),[d,f]=b.useReducer(c,{columns:e,containerWidth:0,columnWidthState:Mu(e,void 0,a),columnSizingOptions:a});$e(()=>{f({type:"CONTAINER_WIDTH_UPDATED",containerWidth:t})},[t]),$e(()=>{f({type:"COLUMNS_UPDATED",columns:e})},[e]),$e(()=>{f({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:a})},[a]);const p=te((v,h)=>{let{width:x}=h;const{columnId:y}=h,k=Wi(d.columnWidthState,y);k&&(x=Math.max(k.minWidth||0,x),i&&i(v,{columnId:y,width:x}),f({type:"SET_COLUMN_WIDTH",columnId:y,width:x}))});return{getColumnById:b.useCallback(v=>Wi(d.columnWidthState,v),[d.columnWidthState]),getColumns:b.useCallback(()=>d.columnWidthState,[d.columnWidthState]),getColumnWidth:b.useCallback(v=>ST(d.columnWidthState,v),[d.columnWidthState]),setColumnWidth:p}}const bl=20,NT=sS,Vv=1/4;function CT(e){const[t,o]=b.useState(),i=b.useRef(void 0),{findPrevFocusable:a}=wo(),s=b.useRef(e);b.useEffect(()=>{s.current=e},[e]);const[c]=b.useState(()=>new Map),d=te(y=>{if(!t)return;const k=s.current.getColumnWidth(t),w=y.getModifierState(NT),B=()=>{y.preventDefault(),y.stopPropagation()};switch(y.key){case Ji:B(),s.current.setColumnWidth(y.nativeEvent,{columnId:t,width:k-(w?bl*Vv:bl)});return;case Zi:B(),s.current.setColumnWidth(y.nativeEvent,{columnId:t,width:k+(w?bl*Vv:bl)});return;case er:case Dr:case Bo:var z,C;B(),(C=c.get(t))===null||C===void 0||(z=C.current)===null||z===void 0||z.blur();break}}),f=b.useCallback(y=>{var k,w;o(y),(k=i.current)===null||k===void 0||k.call(i,y,!0);const B=(w=c.get(y))===null||w===void 0?void 0:w.current;B&&(B.setAttribute("tabindex","-1"),B.tabIndex=-1,B.focus())},[c]),p=b.useCallback(()=>{var y,k;if(!t)return;(y=i.current)===null||y===void 0||y.call(i,t,!1);const w=(k=c.get(t))===null||k===void 0?void 0:k.current;if(w){var B;(B=a(w))===null||B===void 0||B.focus(),w.removeAttribute("tabindex")}o(void 0)},[t,a,c]),v=(y,k)=>{i.current=k,t?y&&t!==y?(f(y),o(y)):p():f(y)},h=b.useCallback(y=>{const k=c.get(y)||b.createRef();return c.set(y,k),k},[c]),x=mo({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:v,columnId:t,getKeyboardResizingProps:b.useCallback((y,k)=>({onKeyDown:d,onBlur:p,ref:h(y),role:"separator","aria-label":"Resize column","aria-valuetext":`${k} pixels`,"aria-hidden":y!==t,tabIndex:y===t?0:void 0,...x}),[t,p,h,d,x])}}const O0={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function jT(e){return t=>TT(t,{autoFitColumns:!0,...e})}function Wv(e,t){const o=e.width;return{width:o,minWidth:o,maxWidth:o,...t?{pointerEvents:"none"}:{}}}function TT(e,t={}){const{columns:o}=e,{width:i,measureElementRef:a}=bT(),s=_T(o,i+(t?.containerWidthOffset||0),t),c=wT(s),{toggleInteractiveMode:d,getKeyboardResizingProps:f}=CT(s),{autoFitColumns:p}=t,v=b.useCallback((B,z)=>C=>{C.preventDefault(),C.nativeEvent.stopPropagation(),d(B,z)},[d]),{getColumnById:h,setColumnWidth:x,getColumns:y}=s,{getOnMouseDown:k,dragging:w}=c;return{...e,tableRef:a,columnSizing_unstable:{getOnMouseDown:k,setColumnWidth:(B,z)=>x(void 0,{columnId:B,width:z}),getColumnWidths:y,getTableProps:(B={})=>({...B,style:{minWidth:"fit-content",...B.style||{}}}),getTableHeaderCellProps:b.useCallback(B=>{var z;const C=h(B),N=((z=o[o.length-1])===null||z===void 0?void 0:z.columnId)===B&&p?null:b.createElement(M0,{onMouseDown:k(B),onTouchStart:k(B),...f(B,C?.width||0)});return C?{style:Wv(C,w),aside:N}:{}},[h,o,w,f,k,p]),getTableCellProps:b.useCallback(B=>{const z=h(B);return z?{style:Wv(z)}:{}},[h]),enableKeyboardMode:v}}}const qT=e=>e,ET={selection:D0,sort:I0,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:O0,tableRef:b.createRef()};function PT(e,t=[]){const{items:o,getRowId:i,columns:a}=e,s=b.useCallback((d=qT)=>o.map((f,p)=>{var v;return d({item:f,rowId:(v=i?.(f))!==null&&v!==void 0?v:p})}),[o,i]),c={getRowId:i,items:o,columns:a,getRows:s,selection:D0,sort:I0,columnSizing_unstable:O0,tableRef:b.createRef()};return t.reduce((d,f)=>f(d),c)}const RT=()=>0,FT=()=>null,DT=()=>null;function X8(e){const{columnId:t,renderCell:o=FT,renderHeaderCell:i=DT,compare:a=RT}=e;return{columnId:t,renderCell:o,renderHeaderCell:i,compare:a}}function IT(){const e=Ii({axis:"horizontal"}),t=Ii({axis:"grid"}),o=Xu({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:i}=wo(),{targetDocument:a}=je(),s=Yu(e,o);return{onTableKeyDown:b.useCallback(d=>{if(!a)return;let f=a.activeElement;if(!f||!d.currentTarget.contains(f))return;const p=f.getAttribute("role");if(d.key===Zi&&p==="row"&&dt(f)){var v;(v=i(f))===null||v===void 0||v.focus()}if(p==="row")return;const h=(()=>{let x=dt(f)?f:null;for(;x;){const y=x.getAttribute("role");if(y==="cell"||y==="gridcell")return!0;x=x.parentElement}return!1})();if(d.key===Ji&&h){f.dispatchEvent(new Tg({action:zl.Escape}));return}(d.key===Mi||d.key===Pi)&&h&&(f.dispatchEvent(new Tg({action:zl.Escape})),f=a.activeElement,f&&f.dispatchEvent(new wk({key:Ye[d.key]})))},[a,i]),tableTabsterAttribute:t,tableRowTabsterAttribute:s}}const H0=b.createContext(void 0),MT={size:"medium",noNativeElements:!1,sortable:!1},OT=H0.Provider,Co=()=>{var e;return(e=b.useContext(H0))!==null&&e!==void 0?e:MT},wd=(e,t)=>{const{noNativeElements:o,size:i}=Co();var a;const s=((a=e.as)!==null&&a!==void 0?a:o)?"div":"td";return{components:{root:s},root:se(Te(s,{ref:t,role:s==="div"?"cell":void 0,...e}),{elementType:s}),noNativeElements:o,size:i}},A0=e=>L(e.root,{}),HT="fui-TableCell",AT={root:HT},LT=U({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),VT=U({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),WT=U({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),L0=e=>{const t=WT(),o={table:LT(),flex:VT()};return e.root.className=A(AT.root,t.root,e.noNativeElements?o.flex.root:o.table.root,e.noNativeElements?o.flex[e.size]:o.table[e.size],e.root.className),e},$T=b.forwardRef((e,t)=>{const o=wd(e,t);return L0(o),he("useTableCellStyles_unstable")(o),A0(o)});$T.displayName="TableCell";const V0=b.createContext(void 0),UT="",XT=V0.Provider,kd=()=>b.useContext(V0)===UT,W0=(e,t)=>{const{noNativeElements:o,size:i}=Co();var a;const s=((a=e.as)!==null&&a!==void 0?a:o)?"div":"tr",c=en(),d=Fn(),f=kd();var p;return{components:{root:s},root:se(Te(s,{ref:_e(t,c,d),role:s==="div"?"row":void 0,...e}),{elementType:s}),size:i,noNativeElements:o,appearance:(p=e.appearance)!==null&&p!==void 0?p:"none",isHeaderRow:f}},GT=e=>L(e.root,{}),gu={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},KT=U({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),QT=U({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"fvrlu0f",B2u0y6b:"f1c71y05",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".fvrlu0f{min-width:44px;}",".f1c71y05{max-width:44px;}",".f4d9j23{justify-content:center;}"]}),YT=U({root:{fsow6f:"f17mccla",Huce71:"fz5stix",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},radioIndicator:{mc9l5x:"f22iagw",Bh6795r:"fqerorx",Bt984gj:"f122n59",Brf1p80:"f4d9j23"},subtle:{abs64n:"fk73vx1",B8a84jv:"f1y7ij6c"},hidden:{abs64n:"fk73vx1"}},{d:[".f17mccla{text-align:center;}",".fz5stix{white-space:nowrap;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fk73vx1{opacity:0;}",".f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}"]}),JT=e=>{const t=YT(),o={table:KT(),flex:QT()};return e.root.className=A(gu.root,t.root,e.noNativeElements?o.flex.root:o.table.root,e.subtle&&e.checked===!1&&t.subtle,e.hidden&&t.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=A(gu.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=A(gu.radioIndicator,t.radioIndicator,e.radioIndicator.className)),e},ZT="fui-TableRow",e6={root:ZT},t6=U({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),r6=U({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),o6=U({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",Bahaeuw:"f1v3eptx",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq"},neutral:{wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1msmgpi{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbo0xvd{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjuvmhu{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kvufhq:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),$0=e=>{const t=o6(),o={table:t6(),flex:r6()};return e.root.className=A(e6.root,t.root,!e.isHeaderRow&&t.rootInteractive,t[e.size],e.noNativeElements?o.flex.root:o.table.root,t[e.appearance],e.root.className),e},n6=b.forwardRef((e,t)=>{const o=W0(e,t);return $0(o),he("useTableRowStyles_unstable")(o),GT(o)});n6.displayName="TableRow";const U0=(e,t)=>{const{noNativeElements:o}=Co();var i;const a=((i=e.as)!==null&&i!==void 0?i:o)?"div":"tbody";return{components:{root:a},root:se(Te(a,{ref:t,role:a==="div"?"rowgroup":void 0,...e}),{elementType:a}),noNativeElements:o}},i6=e=>L(e.root,{}),a6=U({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),l6=U({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),s6="fui-TableBody",X0=e=>{const t={table:a6(),flex:l6()};return e.root.className=A(s6,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},c6=b.forwardRef((e,t)=>{const o=U0(e,t);return X0(o),he("useTableBodyStyles_unstable")(o),i6(o)});c6.displayName="TableBody";const G0=(e,t)=>{var o;const i=((o=e.as)!==null&&o!==void 0?o:e.noNativeElements)?"div":"table";var a,s,c;return{components:{root:i},root:se(Te(i,{ref:t,role:i==="div"?"table":void 0,...e}),{elementType:i}),size:(a=e.size)!==null&&a!==void 0?a:"medium",noNativeElements:(s=e.noNativeElements)!==null&&s!==void 0?s:!1,sortable:(c=e.sortable)!==null&&c!==void 0?c:!1}},K0=(e,t)=>L(OT,{value:t.table,children:L(e.root,{})}),u6="fui-Table",d6=U({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),f6=U({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),p6=U({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),Q0=e=>{const t=p6(),o={table:d6(),flex:f6()};return e.root.className=A(u6,t.root,e.noNativeElements?o.flex.root:o.table.root,e.root.className),e};function Y0(e){const{size:t,noNativeElements:o,sortable:i}=e;return{table:b.useMemo(()=>({noNativeElements:o,size:t,sortable:i}),[o,t,i])}}const g6=b.forwardRef((e,t)=>{const o=G0(e,t);return Q0(o),he("useTableStyles_unstable")(o),K0(o,Y0(o))});g6.displayName="Table";const J0=(e,t)=>{const{noNativeElements:o}=Co();var i;const a=((i=e.as)!==null&&i!==void 0?i:o)?"div":"thead";return{components:{root:a},root:se(Te(a,{ref:t,role:a==="div"?"rowgroup":void 0,...e}),{elementType:a}),noNativeElements:o}},Z0=e=>L(XT,{value:"",children:L(e.root,{})}),v6="fui-TableHeader",m6=U({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),h6=U({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),eb=e=>{const t={table:h6(),flex:m6()};return e.root.className=A(v6,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},b6=b.forwardRef((e,t)=>{const o=J0(e,t);return eb(o),he("useTableHeaderStyles_unstable")(o),Z0(o)});b6.displayName="TableHeader";const y6={ascending:b.createElement(Py,{fontSize:12}),descending:b.createElement(Ey,{fontSize:12})},tb=(e,t)=>{const{noNativeElements:o,sortable:i}=Co(),{sortable:a=i}=e;var s;const c=((s=e.as)!==null&&s!==void 0?s:o)?"div":"th",d=se(e.button,{elementType:"div",defaultProps:{as:"div"}}),f=Ko(d.as,d);var p;return{components:{root:c,button:"div",sortIcon:"span",aside:"span"},root:se(Te(c,{ref:_e(t,Fn()),role:c==="div"?"columnheader":void 0,"aria-sort":a?(p=e.sortDirection)!==null&&p!==void 0?p:"none":void 0,...e}),{elementType:c}),aside:we(e.aside,{elementType:"span"}),sortIcon:we(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?y6[e.sortDirection]:void 0},elementType:"span"}),button:a?f:d,sortable:a,noNativeElements:o}},rb=e=>Ce(e.root,{children:[Ce(e.button,{children:[e.root.children,e.sortIcon&&L(e.sortIcon,{})]}),e.aside&&L(e.aside,{})]}),yl={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},w6=U({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),k6=U({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),x6=U({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),ob=e=>{const t=x6(),o={table:w6(),flex:k6()};return e.root.className=A(yl.root,t.root,e.sortable&&t.rootInteractive,e.noNativeElements?o.flex.root:o.table.root,e.root.className),e.button.className=A(yl.button,t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=A(yl.sortIcon,t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=A(yl.aside,t.resizeHandle,e.aside.className)),e},B6=b.forwardRef((e,t)=>{const o=tb(e,t);return ob(o),he("useTableHeaderCellStyles_unstable")(o),rb(o)});B6.displayName="TableHeaderCell";const nb=b.createContext(void 0),S6="",ib=()=>{var e;return(e=b.useContext(nb))!==null&&e!==void 0?e:S6},z6=nb.Provider,ab=b.createContext(void 0),_6="",lb=()=>{var e;return(e=b.useContext(ab))!==null&&e!==void 0?e:_6},G8=ab.Provider,N6=(e,t)=>{const o=wd(e,_e(t,Fn())),{noNativeElements:i}=Co(),{type:a="checkbox",checked:s=!1,subtle:c=!1,hidden:d=!1,invisible:f=!1}=e;return{...o,components:{...o.components,checkboxIndicator:qu,radioIndicator:Pu},checkboxIndicator:we(e.checkboxIndicator,{renderByDefault:a==="checkbox",defaultProps:{checked:e.checked},elementType:qu}),radioIndicator:we(e.radioIndicator,{renderByDefault:a==="radio"&&!f,defaultProps:{checked:!!s,input:{name:ft("table-selection-radio")}},elementType:Pu}),type:a,checked:s,noNativeElements:i,subtle:c,hidden:f||d}},C6=e=>Ce(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&L(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&L(e.radioIndicator,{})]}),sb=xo(void 0),cb={...ET,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},j6=sb.Provider,Ke=e=>tn(sb,(t=cb)=>e(t)),T6=(e,t)=>{const{focusMode:o="cell"}=e,i=ib(),a=Ke(f=>(f.focusMode==="cell"||f.focusMode==="composite")&&o!=="none"),s=Ke(f=>f.resizableColumns),c=Ke(f=>f.columnSizing_unstable.getTableCellProps),d=Xu({tabBehavior:"limited-trap-focus"});return wd({as:"div",role:"gridcell",...o==="group"&&d,tabIndex:a?0:void 0,...s?c(i):{},...e},t)},q6=e=>A0(e),E6={root:"fui-DataGridCell"},P6=e=>(L0(e),e.root.className=A(E6.root,e.root.className),e),R6=b.forwardRef((e,t)=>{const o=T6(e,t);return P6(o),he("useDataGridCellStyles_unstable")(o),q6(o)});R6.displayName="DataGridCell";const F6=(e,t)=>{const o=kd(),i=lb(),a=Ke(p=>p.subtleSelection),s=Ke(p=>o&&p.selection.selectionMode==="multiselect"?p.selection.allRowsSelected?!0:p.selection.someRowsSelected?"mixed":!1:p.selection.isRowSelected(i)),c=Ke(p=>p.selection.toggleAllRows),d=Ke(p=>p.selection.selectionMode==="multiselect"?"checkbox":"radio"),f=te(p=>{var v;o&&c(p),(v=e.onClick)===null||v===void 0||v.call(e,p)});return N6({as:"div",role:"gridcell",checked:s,type:d,invisible:o&&d==="radio","aria-selected":s==="mixed"?void 0:s,subtle:a,radioIndicator:o?null:void 0,...e,onClick:f},t)},D6=e=>C6(e),vu={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},I6=e=>(JT(e),e.root.className=A(vu.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=A(vu.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=A(vu.radioIndicator,e.radioIndicator.className)),e),Ou=b.forwardRef((e,t)=>{const o=F6(e,t);return I6(o),he("useDataGridSelectionCellStyles_unstable")(o),D6(o)});Ou.displayName="DataGridSelectionCell";const K8=(e,t)=>{const o=lb(),i=kd(),a=Ke(w=>w.columns),s=Ke(w=>w.selectableRows),c=Ke(w=>w.selection.isRowSelected(o)),d=Ke(w=>w.focusMode),f=Ke(w=>w.compositeRowTabsterAttribute),p=d==="row_unstable"||d==="composite",v=Ke(w=>!i&&s&&w.selection.isRowSelected(o)?w.selectionAppearance:"none"),h=Ke(w=>w.selection.toggleRow),x=te(w=>{var B;s&&!i&&h(w,o),(B=e.onClick)===null||B===void 0||B.call(e,w)}),y=te(w=>{var B;s&&!i&&w.key===er&&!Uw(w.target)&&(w.preventDefault(),h(w,o)),(B=e.onKeyDown)===null||B===void 0||B.call(e,w)}),k=W0({appearance:v,"aria-selected":s?c:void 0,tabIndex:p&&!i?0:void 0,...d==="composite"&&!i&&f,...e,onClick:x,onKeyDown:y,children:null,as:"div"},t);return{...k,components:{...k.components,selectionCell:Ou},selectionCell:we(e.selectionCell,{renderByDefault:s,elementType:Ou}),renderCell:e.children,columnDefs:a,dataGridContextValue:M6()}};function M6(){const e=b.useRef(cb);return Ke(t=>(e.current=t,null)),e.current}const Q8=e=>Ce(e.root,{children:[e.selectionCell&&L(e.selectionCell,{}),e.columnDefs.map(t=>L(z6,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}),$v={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},O6=U({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),Y8=e=>{const t=Ke(i=>i.subtleSelection),o=O6();return $0(e),e.root.className=A($v.root,e.root.className,t&&o.subtleSelection),e.selectionCell&&(e.selectionCell.className=A($v.selectionCell,e.selectionCell.className)),e},J8=(e,t)=>{const{sortable:o}=Co(),i=Ke(d=>d.getRows),a=Ke(d=>d.sort.sort),s=o?a(i()):i();return{...U0({...e,children:null,as:"div"},t),rows:s,renderRow:e.children}},H6={root:"fui-DataGridBody"},Z8=e=>(X0(e),e.root.className=A(H6.root,e.root.className),e),e7=(e,t)=>{const{items:o,columns:i,focusMode:a="cell",selectionMode:s,onSortChange:c,onSelectionChange:d,defaultSortState:f,sortState:p,selectedItems:v,defaultSelectedItems:h,subtleSelection:x=!1,selectionAppearance:y="brand",getRowId:k,resizableColumns:w,columnSizingOptions:B,onColumnResize:z,containerWidthOffset:C,resizableColumnsOptions:_={}}=e,N=C??(s?-44:0),E=Ii({axis:"grid"}),{onTableKeyDown:T,tableTabsterAttribute:D,tableRowTabsterAttribute:I}=IT();var $;const ae=PT({items:o,columns:i,getRowId:k},[dT({defaultSortState:f,sortState:p,onSortChange:c}),cT({defaultSelectedItems:h,selectedItems:v,onSelectionChange:d,selectionMode:s??"multiselect"}),jT({onColumnResize:z,columnSizingOptions:B,containerWidthOffset:N,autoFitColumns:($=_.autoFitColumns)!==null&&$!==void 0?$:!0})]),oe=b.useRef(null),{findFirstFocusable:ee,findLastFocusable:V}=wo(),re=te(W=>{var ie;if((ie=e.onKeyDown)===null||ie===void 0||ie.call(e,W),a==="composite"&&T(W),!(!oe.current||!W.ctrlKey||W.defaultPrevented)){if(W.key===ed){const X=oe.current.querySelector('[role="row"]');if(X){var R;(R=ee(X))===null||R===void 0||R.focus()}}if(W.key===Zu){const X=oe.current.querySelectorAll('[role="row"]');if(X.length){var J;const Be=X.item(X.length-1);(J=V(Be))===null||J===void 0||J.focus()}}}});return{...G0({role:"grid",as:"div",noNativeElements:!0,...a==="cell"&&E,...a==="composite"&&D,...e,onKeyDown:re,...w?ae.columnSizing_unstable.getTableProps(e):{}},_e(t,ae.tableRef,oe)),focusMode:a,tableState:ae,selectableRows:!!s,subtleSelection:x,selectionAppearance:y,resizableColumns:w,compositeRowTabsterAttribute:I}},t7=(e,t)=>b.createElement(j6,{value:t.dataGrid},K0(e,t)),A6={root:"fui-DataGrid"},r7=e=>(Q0(e),e.root.className=A(A6.root,e.root.className),e);function o7(e){const t=Y0(e),{tableState:o,focusMode:i,selectableRows:a,subtleSelection:s,selectionAppearance:c,resizableColumns:d,compositeRowTabsterAttribute:f}=e,p=b.useMemo(()=>({...o,focusMode:i,selectableRows:a,subtleSelection:s,selectionAppearance:c,resizableColumns:d,compositeRowTabsterAttribute:f}),[o,i,a,s,c,d,f]);return{...t,dataGrid:p}}const n7=(e,t)=>J0({...e,as:"div"},t),i7=e=>Z0(e),L6={root:"fui-DataGridHeader"},a7=e=>(eb(e),e.root.className=A(L6.root,e.root.className),e);function V6(e){return e.compare.length>0}const W6=(e,t)=>{const o=ib(),{sortable:i}=Co(),a=Ke(x=>x.sort.toggleColumnSort),s=Ke(x=>{const y=!!x.columns.find(k=>k.columnId===o&&V6(k));return i?y:!1}),c=Ke(x=>s?x.sort.getSortDirection(o):void 0),d=Ke(x=>x.resizableColumns),f=Ke(x=>x.columnSizing_unstable.getTableHeaderCellProps),{focusMode:p=s?"none":"cell"}=e,v=Xu({tabBehavior:"limited-trap-focus"}),h=te(x=>{var y;s&&a(x,o),(y=e.onClick)===null||y===void 0||y.call(e,x)});return tb({sortable:s,sortDirection:c,as:"div",tabIndex:p!=="none"?0:void 0,...p==="group"&&v,...d?f(o):{},...e,onClick:h},t)},$6=e=>rb(e),wl={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},U6=e=>(ob(e),e.root.className=A(wl.root,e.root.className),e.button&&(e.button.className=A(wl.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=A(wl.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=A(wl.aside,e.aside.className)),e),X6=b.forwardRef((e,t)=>{const o=W6(e,t);return U6(o),he("useDataGridHeaderCellStyles_unstable")(o),$6(o)});X6.displayName="DataGridHeaderCell";const ub=b.createContext(void 0),G6={handleTagDismiss:()=>({}),size:"medium",role:"toolbar",handleTagSelect:void 0};ub.Provider;const db=()=>{var e;return(e=b.useContext(ub))!==null&&e!==void 0?e:G6},K6={medium:28,small:20,"extra-small":16},Q6={rounded:"square",circular:"circular"},Y6=(e,t)=>{const{handleTagDismiss:o,disabled:i,dismissible:a,role:s}=db(),c=ft("fui-Tag",e.id),{disabled:d=!1,dismissible:f=a??!1,selected:p,value:v=c}=e,h=te(B=>{var z;(z=e.onClick)===null||z===void 0||z.call(e,B),B.defaultPrevented||o?.(B,{value:v})}),x=te(B=>{var z;e==null||(z=e.onKeyDown)===null||z===void 0||z.call(e,B),!B.defaultPrevented&&(B.key===uS||B.key===cS)&&o?.(B,{value:v})}),y=f?"button":"span",k=s==="listbox"?"aria-selected":"aria-pressed",w=typeof p=="boolean"||s==="listbox";return{disabled:i?!0:d,dismissible:f,selected:!!p,components:{root:y,media:"span",icon:"span",primaryText:"span",secondaryText:"span",dismissIcon:"span"},root:se(Te(y,{ref:t,role:s==="listbox"?"option":void 0,[k]:w?p:void 0,...e,disabled:i?!0:d,id:c,...f&&{onClick:h,onKeyDown:x}}),{defaultProps:{type:y==="button"?"button":void 0},elementType:y}),media:we(e.media,{elementType:"span"}),icon:we(e.icon,{elementType:"span"}),primaryText:we(e.primaryText,{renderByDefault:!0,defaultProps:{children:e.children},elementType:"span"}),secondaryText:we(e.secondaryText,{elementType:"span"}),dismissIcon:we(e.dismissIcon,{renderByDefault:f,elementType:"span"})}},J6=(e,t)=>{const{size:o,appearance:i}=db(),{appearance:a=i??"filled",shape:s="rounded",size:c=o}=e,d=Y6(e,t);if(d.dismissIcon){var f,p;(p=(f=d.dismissIcon).children)!==null&&p!==void 0||(f.children=b.createElement(Au,null))}return{...d,appearance:a,avatarShape:Q6[s],avatarSize:K6[c],shape:s,size:c}},Z6=(e,t)=>Ce(e.root,{children:[e.media&&L(VS,{value:t.avatar,children:L(e.media,{})}),e.icon&&L(e.icon,{}),e.primaryText&&L(e.primaryText,{}),e.secondaryText&&L(e.secondaryText,{}),e.dismissIcon&&e.dismissible&&L(e.dismissIcon,{})]}),Tn={root:"fui-Tag",media:"fui-Tag__media",icon:"fui-Tag__icon",primaryText:"fui-Tag__primaryText",secondaryText:"fui-Tag__secondaryText",dismissIcon:"fui-Tag__dismissIcon"},e9=be("r18f5o0q","r1u2q8zc",{r:['.r18f5o0q{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r18f5o0q[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r1u2q8zc{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r1u2q8zc[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.r18f5o0q{position:relative;}.r18f5o0q::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-left-radius:var(--borderRadiusMedium);border-top-right-radius:var(--borderRadiusMedium);}}','@media (forced-colors: active){.r1u2q8zc{position:relative;}.r1u2q8zc::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-right-radius:var(--borderRadiusMedium);border-top-left-radius:var(--borderRadiusMedium);}}']}),t9=be("r1mko7zc","r1wx1e29",{r:['.r1mko7zc{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r1mko7zc[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r1wx1e29{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r1wx1e29[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.r1mko7zc{position:relative;}.r1mko7zc::before{content:"";border-top:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-radius:var(--borderRadiusCircular);}}','@media (forced-colors: active){.r1wx1e29{position:relative;}.r1wx1e29::before{content:"";border-top:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-radius:var(--borderRadiusCircular);}}']}),r9=U({filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb"},outline:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"]},brand:{De3pzq:"f16xkysk",sj55zd:"faj9fo0"},selected:{De3pzq:"ffp7eso",sj55zd:"f1phragk",g2u3we:"fk9qgl1",h3c5rm:["f1vfbj5f","f1qpacp7"],B9xav0g:"fdf0ba2",zhjwy3:["f1qpacp7","f1vfbj5f"],B8gzw0y:"f1h3a8gf",By8wz76:"f1nz3ub2",B7iucu3:"fqc85l4"},medium:{Bqenvij:"f1d2rq10"},small:{Bqenvij:"frvgh55"},"extra-small":{qhf8xq:"f10pi13n",Bqenvij:"fjamq6b",Ie5t1m:"fru8nlv",G6hvz8:"f5nasji",wgw0td:"f45hpys",Bbwa3xj:["f1sbfcjn","f1le4i14"],m3mfg4:"fq6y7a1",B9s7hj8:"f1jr4pq3",B9e1dac:"f1tfer7m"}},{d:[".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fk9qgl1{border-top-color:var(--colorBrandStroke1);}",".f1vfbj5f{border-right-color:var(--colorBrandStroke1);}",".f1qpacp7{border-left-color:var(--colorBrandStroke1);}",".fdf0ba2{border-bottom-color:var(--colorBrandStroke1);}",".f1d2rq10{height:32px;}",".frvgh55{height:24px;}",".f10pi13n{position:relative;}",".fjamq6b{height:20px;}"],m:[["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],['@media (forced-colors: none){.fru8nlv:before,.fru8nlv:after{content:"";}}',{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f5nasji:before,.f5nasji:after{position:absolute;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f45hpys:before,.f45hpys:after{height:2px;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1le4i14:before,.f1le4i14:after{right:0;}.f1sbfcjn:before,.f1sbfcjn:after{left:0;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.fq6y7a1:before,.fq6y7a1:after{width:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1jr4pq3:before{bottom:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1tfer7m:after{top:100%;}}",{m:"(forced-colors: none)"}]]}),o9=U({filled:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]},outline:{Bceei9c:"fdrzuqr",De3pzq:"fhovq9v",sj55zd:"f1s2aq7o",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"]},brand:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]}},{d:[".fdrzuqr{cursor:not-allowed;}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".f250w3l{border-bottom-color:var(--colorTransparentStrokeDisabled);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"]}),n9=U({medium:{uwmqm3:["f1rtp3s9","f18k1jr3"]},small:{uwmqm3:["f15vdbe4","fwiuce9"]},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"]}},{d:[".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}"]}),i9=U({medium:{z189sj:["f18k1jr3","f1rtp3s9"]},small:{z189sj:["fwiuce9","f15vdbe4"]},"extra-small":{z189sj:["fwiuce9","f15vdbe4"]}},{d:[".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}"]}),a9=U({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",B7ck84d:"f1e4lqlz"},medium:{uwmqm3:["f1rtp3s9","f18k1jr3"],z189sj:["f7x41pl","fruq291"],a9b677:"f64fuq3",Be2twd7:"fe5j1ua"},small:{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"fjw5fx7",Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"frx94fk",Be2twd7:"f1ugzwwg"}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f1e4lqlz{box-sizing:content-box;}",".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f64fuq3{width:20px;}",".fe5j1ua{font-size:20px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".fjw5fx7{width:16px;}",".f4ybsrx{font-size:16px;}",".frx94fk{width:12px;}",".f1ugzwwg{font-size:12px;}"]}),l9=U({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",uwmqm3:["f10xn8zz","f136y8j8"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},small:{z189sj:["fdw0yi8","fk8j09s"]},"extra-small":{z189sj:["fdw0yi8","fk8j09s"]}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f10xn8zz{padding-left:1px;}",".f136y8j8{padding-right:1px;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}"]}),s9=U({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1k1gsvr",mc9l5x:"f22iagw",Bahaeuw:"f1v3eptx",Boo3t63:"f1rfz71x"},medium:{uwmqm3:["fruq291","f7x41pl"],z189sj:["f18k1jr3","f1rtp3s9"],Be2twd7:"fe5j1ua"},small:{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f1ugzwwg"},filled:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},outline:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},brand:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},selected:{Bi91k9c:"f1rq72xc",lj723h:"f18otbis"}},{d:[[".f1k1gsvr{grid-area:dismissIcon;}",{p:-1}],".f22iagw{display:flex;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fe5j1ua{font-size:20px;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".f4ybsrx{font-size:16px;}",".f1ugzwwg{font-size:12px;}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rfz71x:active{color:Highlight;}}",{m:"(forced-colors: active)"}]],h:[".f8491dx:hover{cursor:pointer;}",".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}"],a:[".fryz5bw:active{color:var(--colorCompoundBrandForeground1Pressed);}",".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}"]}),c9=U({base:{Huce71:"fz5stix",uwmqm3:["fgiv446","ffczdla"],z189sj:["ffczdla","fgiv446"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},withoutSecondaryText:{Br312pm:"faqcfhe",Ijaq50:"f1q3ipgb",nk6f5a:"fc0ab3q",Byoj8tv:"f1g03r3y"},withSecondaryText:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1ebragv",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",B6of3ja:"f1ryq6si"}},{d:[".fz5stix{white-space:nowrap;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".faqcfhe{grid-column-start:primary;}",".f1q3ipgb{grid-row-start:primary;}",".fc0ab3q{grid-row-end:secondary;}",".f1g03r3y{padding-bottom:var(--spacingHorizontalXXS);}",[".f1ebragv{grid-area:primary;}",{p:-1}],".f1ryq6si{margin-top:-2px;}"]}),u9=be("r7hv1ps","rnrslm9",[".r7hv1ps{grid-area:secondary;padding-left:var(--spacingHorizontalXXS);padding-right:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}",".rnrslm9{grid-area:secondary;padding-right:var(--spacingHorizontalXXS);padding-left:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}"]),d9=e=>{const t=e9(),o=t9(),i=r9(),a=o9(),s=n9(),c=i9(),d=a9(),f=l9(),p=s9(),v=c9(),h=u9(),{disabled:x,shape:y,size:k,appearance:w,selected:B}=e;return e.root.className=A(Tn.root,y==="rounded"?t:o,x?a[w]:i[w],B&&!x&&i.selected,i[k],!e.media&&!e.icon&&s[k],!e.dismissIcon&&c[k],e.root.className),e.media&&(e.media.className=A(Tn.media,f.base,f[k],e.media.className)),e.icon&&(e.icon.className=A(Tn.icon,d.base,d[k],e.icon.className)),e.primaryText&&(e.primaryText.className=A(Tn.primaryText,v.base,v[k],e.secondaryText?v.withSecondaryText:v.withoutSecondaryText,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=A(Tn.secondaryText,h,e.secondaryText.className)),e.dismissIcon&&(e.dismissIcon.className=A(Tn.dismissIcon,p.base,p[k],!x&&p[w],B&&!x&&p.selected,e.dismissIcon.className)),e};function f9(e){const{avatarSize:t,avatarShape:o}=e;return{avatar:b.useMemo(()=>({size:t,shape:o}),[o,t])}}const p9=b.forwardRef((e,t)=>{const o=J6(e,t);return d9(o),he("useTagStyles_unstable")(o),Z6(o,f9(o))});p9.displayName="Tag";function g9(e){switch(e){case"info":return b.createElement(Iy,null);case"warning":return b.createElement(Dy,null);case"error":return b.createElement(Fy,null);case"success":return b.createElement(Ry,null);default:return null}}function v9(e=!1){const{targetDocument:t}=je(),o=b.useReducer(()=>({}),{})[1],i=b.useRef(!1),a=b.useRef(null),s=b.useRef(Number.POSITIVE_INFINITY),c=b.useCallback(f=>{var p,v;const h=f[0];var x;const y=(x=h==null||(v=h.borderBoxSize)===null||v===void 0||(p=v[0])===null||p===void 0?void 0:p.inlineSize)!==null&&x!==void 0?x:h?.target.getBoundingClientRect().width;if(y===void 0||!h)return;const{target:k}=h;if(!dt(k))return;let w;if(i.current)y>=s.current&&(w=!1);else{const B=k.scrollWidth;y<B&&(w=!0,s.current=B)}typeof w<"u"&&i.current!==w&&(i.current=w,o())},[o]),d=b.useCallback(f=>{var p;if(!e||!f||!t?.defaultView)return;(p=a.current)===null||p===void 0||p.disconnect();const v=t.defaultView,h=new v.ResizeObserver(c);a.current=h,h.observe(f,{box:"border-box"})},[t,c,e]);return b.useEffect(()=>()=>{var f;(f=a.current)===null||f===void 0||f.disconnect()},[]),{ref:d,reflowing:i.current}}const fb=b.createContext(void 0),m9={className:"",nodeRef:b.createRef()};fb.Provider;const h9=()=>{var e;return(e=b.useContext(fb))!==null&&e!==void 0?e:m9},b9=(e,t)=>{const{layout:o="auto",intent:i="info",politeness:a}=e,s=a??i==="info"?"polite":"assertive",c=o==="auto",{ref:d,reflowing:f}=v9(c),p=c?f?"multiline":"singleline":o,{className:v,nodeRef:h}=h9(),x=b.useRef(null),y=b.useRef(null),{announce:k}=Tw(),w=ft();return b.useEffect(()=>{var B,z;const C=(B=y.current)===null||B===void 0?void 0:B.textContent,_=(z=x.current)===null||z===void 0?void 0:z.textContent,N=[C,_].filter(Boolean).join(",");k(N,{polite:s==="polite",alert:s==="assertive"})},[y,x,k,s]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:se(Te("div",{ref:_e(t,d,h),role:"group","aria-labelledby":w,...e}),{elementType:"div"}),icon:we(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:we(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:i,transitionClassName:v,actionsRef:x,bodyRef:y,titleId:w}},y9=(e,t)=>{const{shape:o="rounded",...i}=e,a=Al(),s=b9(i,_e(t,a));return{...s,shape:o,icon:we(e.icon,{defaultProps:{children:g9(s.intent)},renderByDefault:!0,elementType:"div"})}},pb=b.createContext(void 0),w9={titleId:"",layout:"singleline",actionsRef:b.createRef(),bodyRef:b.createRef()},k9=pb.Provider,xd=()=>{var e;return(e=b.useContext(pb))!==null&&e!==void 0?e:w9},x9=(e,t)=>L(k9,{value:t.messageBar,children:Ce(e.root,{children:[e.icon&&L(e.icon,{}),e.root.children,e.bottomReflowSpacer&&L(e.bottomReflowSpacer,{})]})}),mu={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},B9=be("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),S9=be("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),z9=be("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),_9=U({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),N9=U({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),C9=U({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),j9=e=>{const t=B9(),o=S9(),i=N9(),a=C9(),s=z9(),c=_9();return e.root.className=A(mu.root,t,e.layout==="multiline"&&c.rootMultiline,e.shape==="square"&&c.square,a[e.intent],e.root.className),e.icon&&(e.icon.className=A(mu.icon,o,i[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=A(mu.bottomReflowSpacer,s)),e};function T9(e){const{layout:t,actionsRef:o,bodyRef:i,titleId:a}=e;return{messageBar:b.useMemo(()=>({layout:t,actionsRef:o,bodyRef:i,titleId:a}),[t,o,i,a])}}const q9=b.forwardRef((e,t)=>{const o=y9(e,t);return j9(o),he("useMessageBarStyles_unstable")(o),x9(o,T9(o))});q9.displayName="MessageBar";const E9=(e,t)=>{const{titleId:o}=xd();return{components:{root:"span"},root:se(Te("span",{ref:t,id:o,...e}),{elementType:"span"})}},P9=e=>L(e.root,{}),R9={root:"fui-MessageBarTitle"},F9=be("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),D9=e=>{const t=F9();return e.root.className=A(R9.root,t,e.root.className),e},I9=b.forwardRef((e,t)=>{const o=E9(e,t);return D9(o),he("useMessageBarTitleStyles_unstable")(o),P9(o)});I9.displayName="MessageBarTitle";const M9=(e,t)=>{const{layout:o="singleline",actionsRef:i}=xd();return{components:{root:"div",containerAction:"div"},containerAction:we(e.containerAction,{renderByDefault:!1,elementType:"div"}),root:se(Te("div",{ref:_e(t,i),...e}),{elementType:"div"}),layout:o,hasActions:!!e.children}},O9=(e,t)=>Ce(w3,{value:t.button,children:[e.layout==="multiline"&&e.containerAction&&L(e.containerAction,{},"containerAction"),L(e.root,{}),e.layout!=="multiline"&&e.containerAction&&L(e.containerAction,{},"containerAction")]}),Uv={root:"fui-MessageBarActions",containerAction:"fui-MessageBarActions__containerAction"},H9=be("r1t4x98y","r15utzv5",[".r1t4x98y{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-right:var(--spacingHorizontalM);}",".r15utzv5{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-left:var(--spacingHorizontalM);}"]),A9=be("rgzw8nq","r13ur29z",[".rgzw8nq{grid-area:actions;padding-right:var(--spacingHorizontalM);}",".r13ur29z{grid-area:actions;padding-left:var(--spacingHorizontalM);}"]),L9=U({root:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"],z189sj:["f1p3vkop","f8cewkv"]},noActions:{mc9l5x:"fjseox"}},{d:[".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",".f1p3vkop{padding-right:var(--spacingVerticalM);}",".f8cewkv{padding-left:var(--spacingVerticalM);}",".fjseox{display:none;}"]}),V9=e=>{const t=H9(),o=A9(),i=L9();return e.root.className=A(Uv.root,t,e.layout==="multiline"&&i.root,!e.hasActions&&i.noActions,e.root.className),e.containerAction&&(e.containerAction.className=A(Uv.containerAction,o,e.containerAction.className)),e};function W9(){return{button:b.useMemo(()=>({size:"small"}),[])}}const $9=b.forwardRef((e,t)=>{const o=M9(e,t);return V9(o),he("useMessageBarActionsStyles_unstable")(o),O9(o,W9())});$9.displayName="MessageBarActions";const U9=(e,t)=>{const{bodyRef:o}=xd();return{components:{root:"div"},root:se(Te("div",{ref:_e(t,o),...e}),{elementType:"div"})}},X9=(e,t)=>L(b_,{value:t.link,children:L(e.root,{})}),G9={root:"fui-MessageBarBody"},K9=be("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),Q9=e=>{const t=K9();return e.root.className=A(G9.root,t,e.root.className),e};function Y9(e){return{link:b.useMemo(()=>({inline:!0}),[])}}const J9=b.forwardRef((e,t)=>{const o=U9(e,t),i=Y9();return Q9(o),he("useMessageBarBodyStyles_unstable")(o),X9(o,i)});J9.displayName="MessageBarBody";const Z9={scrollState:"none",setScrollState:()=>({})},gb=b.createContext(void 0),e8=gb.Provider,vb=()=>{var e;return(e=b.useContext(gb))!==null&&e!==void 0?e:Z9},t8=()=>{const[e,t]=b.useState("none");return{setScrollState:t,scrollState:e}};function r8(e){return dt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const mb={drawerSizeVar:"--fui-Drawer--size"},o8=U({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),n8=U({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),i8=({position:e,size:t})=>{const o=o8(),i=n8();return A(o[e],e==="bottom"&&i[t],e!=="bottom"&&o[t])},Bd={small:Pe.durationGentle,medium:Pe.durationSlow,large:Pe.durationSlower,full:Pe.durationUltraSlow};function hb(e,t,o){const i=`translate3d(var(${t}), 0, 0)`,a=`translate3d(calc(var(${t}) * -1), 0, 0)`,s=`translate3d(0, var(${t}), 0)`;return e==="start"?o==="ltr"?a:i:e==="end"?o==="ltr"?i:a:e==="bottom"?s:"translate3d(0, 0, 0)"}So(({position:e,size:t,dir:o})=>{const i=[{transform:hb(e,mb.drawerSizeVar,o),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],a=Bd[t];return{enter:{keyframes:i,duration:a,easing:Pe.curveDecelerateMid},exit:{keyframes:[...i].reverse(),duration:a,easing:Pe.curveAccelerateMin}}});const a8=So(({position:e,size:t,dir:o})=>{const i=[{transform:hb(e,mb.drawerSizeVar,o),boxShadow:`0px ${$g.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:$g.shadow64,opacity:1}],a=Bd[t];return{enter:{keyframes:i,duration:a,easing:Pe.curveDecelerateMid},exit:{keyframes:[...i].reverse(),duration:a,easing:Pe.curveAccelerateMin}}}),l8=So(({size:e})=>{const t=Bd[e],o=Pe.curveLinear;return{enter:ho({direction:"enter",duration:t,easing:o}),exit:ho({direction:"exit",duration:t,easing:o})}});function s8(e){const{open:t=!1,size:o="small",position:i="start",unmountOnClose:a=!0}=e;return{size:o,position:i,open:t,unmountOnClose:a}}const c8=be("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),u8=U({nested:{De3pzq:"f1c21dwh"},drawerHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),d8=e=>{const{treatBackdropAsNested:t,backdrop:o,open:i,unmountOnClose:a}=e,s=c8(),c=u8(),d=!a&&!i;return o&&(o.className=A(s,t&&c.nested,d&&c.drawerHidden,o.className)),e},Hu=b.forwardRef((e,t)=>{const o=q0({...e,as:e.as},t),i=F0();return d8(o),he("useOverlayDrawerSurfaceStyles_unstable")(o),R0(o,i)});Hu.displayName="OverlayDrawerSurface";function Xv(e,t,o){return e===null?null:{...e,children:(i,a)=>e?.children?e.children(t,{...a,...o}):b.createElement(t,{...a,...o},a.children)}}const f8={active:!0,canRender:!0,ref:b.createRef(),type:"idle"},p8=(e,t)=>{const{open:o,size:i,position:a,unmountOnClose:s}=s8(e),{modalType:c="modal",inertTrapFocus:d,onOpenChange:f,backdropMotion:p,surfaceMotion:v,mountNode:h}=e,{dir:x,targetDocument:y}=je(),{element:k}=r8(h),w=!!(k&&y?.body!==k),B=tm(e.backdrop),C=se({...e,ref:t,unmountOnClose:s,backdrop:c!=="non-modal"&&B!==null?{...B}:null,backdropMotion:Xv(p,l8,{size:i})},{elementType:Hu}),_=se({open:o,onOpenChange:f,inertTrapFocus:d,modalType:c,unmountOnClose:s,surfaceMotion:Xv(v,a8,{position:a,size:i,dir:x}),children:null},{elementType:Du});return{components:{root:Hu,dialog:Du},root:C,dialog:_,open:o,size:i,position:a,hasMountNodeElement:w,unmountOnClose:s,mountNode:h,motion:f8}},g8=(e,t)=>L(e8,{value:t,children:L(ej,{value:!1,children:L(e.dialog,{children:L(e.root,{})})})}),Gv={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},v8=be("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),m8=U({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),h8=e=>{const t=i8(e),o=v8(),i=m8(),a=e.hasMountNodeElement&&i.absolute,s=e.root.backdrop;return e.root.className=A(Gv.root,t,o,i[e.position],a,e.root.className),s&&(s.className=A(Gv.backdrop,a,s.className)),e},b8=b.forwardRef((e,t)=>{const o=p8(e,t),i=t8();return h8(o),he("useDrawerOverlayStyles_unstable")(o),he("useOverlayDrawerStyles_unstable")(o),g8(o,i)});b8.displayName="OverlayDrawer";const y8=({scrollTop:e,scrollHeight:t,clientHeight:o})=>t<=o?"none":e===0?"top":e+o===t?"bottom":"middle",w8=(e,t)=>{const{targetDocument:o}=je(),i=o?.defaultView,{setScrollState:a}=vb(),s=b.useRef(null),c=_e(t,s),[d,f]=Fi(),[p,v]=Fi(),h=b.useCallback(()=>{s.current&&a(y8(s.current))},[a]),x=b.useCallback(()=>{f(),d(h)},[f,d,h]);return $e(h,[e.children,h]),$e(()=>{if(!s.current||!i?.ResizeObserver)return;const y=new i.ResizeObserver(()=>p(h));return y.observe(s.current),()=>{y.disconnect(),v()}},[p,v,h,i]),{components:{root:"div"},root:se(Te("div",{ref:c,...e,onScroll:ye(e.onScroll,x)}),{elementType:"div"})}},k8=e=>L(e.root,{}),x8={root:"fui-DrawerBody"},B8=be("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),S8=e=>{const t=B8();return e.root.className=A(x8.root,t,e.root.className),e},z8=b.forwardRef((e,t)=>{const o=w8(e,t);return S8(o),he("useDrawerBodyStyles_unstable")(o),k8(o)});z8.displayName="DrawerBody";const _8=(e,t)=>{const{scrollState:o}=vb();return{components:{root:"header"},root:se(Te("header",{ref:t,role:"none",...e}),{elementType:"header"}),scrollState:o}},N8=e=>L(e.root,{}),C8={root:"fui-DrawerHeader"},j8=be("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),T8=U({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),q8=e=>{const t=j8(),o=T8();return e.root.className=A(C8.root,t,e.scrollState!=="none"&&o.separator,["middle","bottom"].includes(e.scrollState)&&o.separatorVisible,e.root.className),e},E8=b.forwardRef((e,t)=>{const o=_8(e,t);return q8(o),he("useDrawerHeaderStyles_unstable")(o),N8(o)});E8.displayName="DrawerHeader";const P8=(e,t)=>{const{children:o,heading:i}=e,a=Yt(s=>s.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:se(Te("div",{ref:t,...e}),{elementType:"div"}),heading:we(i,{defaultProps:{id:a,children:o},renderByDefault:!0,elementType:"h2"}),action:we(e.action,{elementType:"div"})}},R8=e=>Ce(e.root,{children:[e.heading&&L(e.heading,{}),e.action&&L(e.action,{})]}),hu={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},F8=U({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),D8=e=>{const t=F8(),{heading:o={},action:i,components:a}=e;return T0({components:{root:a.heading,action:a.action},root:o,action:i}),e.root.className=A(hu.root,t.root,e.root.className),e.heading&&(e.heading.className=A(hu.heading,e.heading.className)),e.action&&(e.action.className=A(hu.action,t.action,e.action.className)),e},I8=b.forwardRef((e,t)=>{const o=P8(e,t);return D8(o),he("useDrawerHeaderTitleStyles_unstable")(o),R8(o)});I8.displayName="DrawerHeaderTitle";export{$T as $,A8 as A,T3 as B,O5 as C,Du as D,e7 as E,K3 as F,t7 as G,r7 as H,v_ as I,o7 as J,K8 as K,Y8 as L,q9 as M,Q8 as N,Sl as O,Qz as P,n7 as Q,_e as R,vN as S,PC as T,a7 as U,i7 as V,g6 as W,b6 as X,n6 as Y,B6 as Z,c6 as _,Ay as a,X8 as a0,eC as a1,X6 as a2,R6 as a3,$8 as a4,LN as a5,$C as a6,n_ as a7,jN as a8,p9 as a9,U8 as aa,__ as ab,dC as ac,TC as ad,nS as ae,V8 as af,L8 as ag,b8 as ah,E8 as ai,I8 as aj,z8 as ak,sT as al,qu as am,K5 as an,oT as ao,I9 as ap,Lh as b,AS as c,Vz as d,J9 as e,$9 as f,b4 as g,Aj as h,Nj as i,wj as j,Xj as k,gj as l,$h as m,r4 as n,b0 as o,$4 as p,j4 as q,Jo as r,s4 as s,$g as t,W8 as u,Z8 as v,J8 as w,G8 as x,H8 as y,je as z};