@bigbluebutton/bbb-ui-components-react 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +6 -3
  2. package/dist/components/Accordion.js +1 -1
  3. package/dist/components/Avatar.js +30 -0
  4. package/dist/components/Button.js +42 -44
  5. package/dist/components/Checkbox.js +4 -4
  6. package/dist/components/Input.js +68 -70
  7. package/dist/components/Modal.js +89 -91
  8. package/dist/components/Search.js +1 -1
  9. package/dist/components/Select.js +9 -9
  10. package/dist/components/Slider.js +35 -0
  11. package/dist/components/TextAreaInput.js +1 -1
  12. package/dist/components/TextInput.js +10 -10
  13. package/dist/components/Toggle.js +12 -12
  14. package/dist/components/colors.js +1 -1
  15. package/dist/components/index.js +239 -178
  16. package/dist/esm/components/Avatar/component.js +38 -0
  17. package/dist/esm/components/Avatar/constants.js +13 -0
  18. package/dist/esm/components/Avatar/index.js +1 -0
  19. package/dist/esm/components/Avatar/styles.js +42 -0
  20. package/dist/esm/components/Avatar/types.js +1 -0
  21. package/dist/esm/components/Button/component.js +7 -7
  22. package/dist/esm/components/Button/constants.js +12 -3
  23. package/dist/esm/components/Button/styles.js +21 -17
  24. package/dist/esm/components/Checkbox/component.js +11 -5
  25. package/dist/esm/components/Modal/component.js +4 -6
  26. package/dist/esm/components/Modal/styles.js +11 -8
  27. package/dist/esm/components/Slider/component.js +63 -0
  28. package/dist/esm/components/Slider/constants.js +9 -0
  29. package/dist/esm/components/Slider/index.js +1 -0
  30. package/dist/esm/components/Slider/styles.js +138 -0
  31. package/dist/esm/components/Slider/types.js +1 -0
  32. package/dist/esm/components/Toggle/component.js +16 -2
  33. package/dist/esm/components/index.js +2 -0
  34. package/dist/esm/stylesheets/colors.js +4 -1
  35. package/dist/esm/stylesheets/palette.js +7 -3
  36. package/dist/esm/stylesheets/sizing.js +1 -0
  37. package/dist/types/components/Accordion/constants.d.ts +1 -1
  38. package/dist/types/components/Avatar/component.d.ts +12 -0
  39. package/dist/types/components/Avatar/constants.d.ts +8 -0
  40. package/dist/types/components/Avatar/index.d.ts +1 -0
  41. package/dist/types/components/Avatar/styles.d.ts +3 -0
  42. package/dist/types/components/Avatar/types.d.ts +26 -0
  43. package/dist/types/components/Button/constants.d.ts +11 -4
  44. package/dist/types/components/Button/type.d.ts +11 -2
  45. package/dist/types/components/Checkbox/component.d.ts +1 -1
  46. package/dist/types/components/Checkbox/types.d.ts +3 -1
  47. package/dist/types/components/Modal/styles.d.ts +3 -2
  48. package/dist/types/components/Modal/types.d.ts +2 -0
  49. package/dist/types/components/Slider/component.d.ts +11 -0
  50. package/dist/types/components/Slider/constants.d.ts +9 -0
  51. package/dist/types/components/Slider/index.d.ts +1 -0
  52. package/dist/types/components/Slider/styles.d.ts +8 -0
  53. package/dist/types/components/Slider/types.d.ts +46 -0
  54. package/dist/types/components/TextInput/styles.d.ts +1 -1
  55. package/dist/types/components/Toggle/component.d.ts +1 -1
  56. package/dist/types/components/Toggle/constants.d.ts +2 -2
  57. package/dist/types/components/Toggle/types.d.ts +1 -1
  58. package/dist/types/components/index.d.ts +2 -0
  59. package/dist/types/stylesheets/colors.d.ts +8 -5
  60. package/dist/types/stylesheets/palette.d.ts +6 -5
  61. package/dist/types/stylesheets/sizing.d.ts +1 -0
  62. package/package.json +23 -3
@@ -1,24 +1,24 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("styled-components"),require("@tippyjs/react"),require("@mui/material"),require("@mui/icons-material"),require("react-modal"),require("@mui/material/Select"),require("@mui/material/styles"));else if("function"==typeof define&&define.amd)define(["react","styled-components","@tippyjs/react","@mui/material","@mui/icons-material","react-modal","@mui/material/Select","@mui/material/styles"],t);else{var r="object"==typeof exports?t(require("react"),require("styled-components"),require("@tippyjs/react"),require("@mui/material"),require("@mui/icons-material"),require("react-modal"),require("@mui/material/Select"),require("@mui/material/styles")):t(e.react,e["styled-components"],e["@tippyjs/react"],e["@mui/material"],e["@mui/icons-material"],e["react-modal"],e["@mui/material/Select"],e["@mui/material/styles"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(e,t,r,o,n,a,l,i)=>(()=>{"use strict";var c={2:(e,t,r)=>{r.d(t,{A:()=>i});var o=r(601),n=r.n(o),a=r(314),l=r.n(a)()(n());l.push([e.id,'.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}',""]);const i=l},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",o=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),o&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),o&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,o,n,a){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(o)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(l[c]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);o&&l[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),t.push(d))}},t}},601:e=>{e.exports=function(e){return e[1]}},72:e=>{var t=[];function r(e){for(var r=-1,o=0;o<t.length;o++)if(t[o].identifier===e){r=o;break}return r}function o(e,o){for(var a={},l=[],i=0;i<e.length;i++){var c=e[i],s=o.base?c[0]+o.base:c[0],d=a[s]||0,u="".concat(s," ").concat(d);a[s]=d+1;var p=r(u),b={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(b);else{var h=n(b,o);o.byIndex=i,t.splice(i,0,{identifier:u,updater:h,references:1})}l.push(u)}return l}function n(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,n){var a=o(e=e||[],n=n||{});return function(e){e=e||[];for(var l=0;l<a.length;l++){var i=r(a[l]);t[i].references--}for(var c=o(e,n),s=0;s<a.length;s++){var d=r(a[s]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}a=c}}},659:e=>{var t={};e.exports=function(e,r){var o=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,r)=>{e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var o="";r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var n=void 0!==r.layer;n&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,n&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},48:(e,t,r)=>{r.d(t,{colors:()=>n});var o=r(761);const n={neutral:{neutral2:o.jE,neutral3:o.qg,neutral4:o.xU,white:o.bD,lightGray:o.d5,gray:o.Xg,darkGray:o.BP},brand:{brand1:o._q,brand2:o.f$,brand3:o.mN,light:o.Dq,aux:o.xM},semantic:{success:o.lb,warning:o.SO,error:o._r,errorDark:o.Ee},background:{white:o.bh,light:o.GW,blue:o.od},border:{default:o.hN,selected:o.z2,error:o.qO,focusRing:o.ot},text:{default:o.eg,light:o.XN},icon:{default:o.kE,blue:o.nL,white:o.ss,defaultDark:o.AC},hover:{dark:o.GJ,light:o.K5,neutral:o.VO},overlay:{default:o.ox},shadow:{default:o.xA}}},761:(e,t,r)=>{r.d(t,{AC:()=>P,BP:()=>s,Dq:()=>f,Ee:()=>x,GJ:()=>q,GW:()=>k,K5:()=>M,SO:()=>y,VO:()=>I,XN:()=>z,Xg:()=>c,_q:()=>p,_r:()=>$,bD:()=>l,bh:()=>w,d5:()=>i,eg:()=>S,f$:()=>b,hN:()=>C,jE:()=>o,kE:()=>T,lb:()=>v,mN:()=>h,nL:()=>D,od:()=>E,ot:()=>j,ox:()=>F,qO:()=>B,qg:()=>n,ss:()=>L,xA:()=>R,xM:()=>g,xU:()=>a,z2:()=>O});const o="var(--color-neutral-2, #717C91)",n="var(--color-neutral-3, #B0BDC9)",a="var(--color-neutral-4, #DCE4EC)",l="var(--color-neutral-white, #FFFFFF)",i="var(--color-light-gray, #F4F6FA)",c="var(--color-gray, #4E5A66)",s="var(--color-dark-gray, #393C48)",d="var(--color-brand-1, #0F70D7)",u="var(--color-brand-light, #E5EFFB)",p=`var(--color-primary, ${d})`,b=`var(--color-brand-2, ${d})`,h=`var(--color-brand-3, ${d})`,f=`var(--color-blue-aux, ${u})`,g=`var(--color-brand-aux, ${u})`,m="var(--color-error, #DF2721)",v="var(--color-success, #2DD36F)",y="var(--color-warning, #F59240)",$=`var(--color-danger, ${m})`,x="var(--color-danger-dark, var(--color-error-dark, #AE1010))",w=`var(--color-background-white, ${l})`,k=`var(--color-background-light, ${i})`,E=`var(--color-background-blue, ${u})`,O=`var(--color-border-selected, ${d})`,B=`var(--color-border-error, ${m})`,C=`var(--default-border, var(--color-border-default, ${n}))`,j="var(--color-border-focus-ring, rgba(29, 101, 212, 0.15))",S=`var(--color-text-default, ${s})`,z=`var(--color-text-light, ${o})`,T=`var(--color-icon-default, ${o})`,D=`var(--color-icon-blue, ${d})`,L=`var(--color-icon-white, ${l})`,P="var(--color-icon-default-dark, rgba(255, 255, 255, 0.35))",q="var(--color-hover-dark, #0C57A7)",M="var(--color-hover-light, #D4E5FA)",I=`var(--color-hover-neutral, ${a})`,F="var(--color-overlay, rgba(0, 0, 0, 0.75))",R="var(--color-shadow-default, rgb(0 35 11 / 20%))"},410:e=>{e.exports=n},823:e=>{e.exports=o},764:e=>{e.exports=l},586:e=>{e.exports=i},189:e=>{e.exports=r},155:t=>{t.exports=e},215:e=>{e.exports=a},694:e=>{e.exports=t}},s={};function d(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={id:e,exports:{}};return c[e](r,r.exports,d),r.exports}d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},d.d=(e,t)=>{for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.nc=void 0;var u={};d.r(u),d.d(u,{BBBAccordion:()=>me,BBBCheckbox:()=>Ve,BBBDivider:()=>Qe,BBBHint:()=>lt,BBBInput:()=>pt,BBBModal:()=>kt,BBBNavigation:()=>Ct,BBBScrollArea:()=>Lt,BBBSearch:()=>Gt,BBBSelect:()=>Zt,BBBSpinner:()=>Rt,BBBTextAreaInput:()=>tr,BBBTextInput:()=>lr,BBBToggle:()=>gr,BBBTypography:()=>wt,BBButton:()=>_e,borderRadiusDefault:()=>C,borderRadiusSmall:()=>j,colorBackgroundBlue:()=>g.od,colorBackgroundLight:()=>g.GW,colorBackgroundWhite:()=>g.bh,colorBorderDefault:()=>g.hN,colorBorderError:()=>g.qO,colorBorderFocusRing:()=>g.ot,colorBorderSelected:()=>g.z2,colorBrand1:()=>g._q,colorBrand2:()=>g.f$,colorBrand3:()=>g.mN,colorBrandAux:()=>g.xM,colorBrandLight:()=>g.Dq,colorDarkGray:()=>g.BP,colorError:()=>g._r,colorErrorDark:()=>g.Ee,colorGray:()=>g.Xg,colorHoverDark:()=>g.GJ,colorHoverLight:()=>g.K5,colorHoverNeutral:()=>g.VO,colorIconBlue:()=>g.nL,colorIconDefault:()=>g.kE,colorIconDefaultDark:()=>g.AC,colorIconWhite:()=>g.ss,colorLightGray:()=>g.d5,colorNeutral2:()=>g.jE,colorNeutral3:()=>g.qg,colorNeutral4:()=>g.xU,colorOverlay:()=>g.ox,colorShadowDefault:()=>g.xA,colorSuccess:()=>g.lb,colorTextDefault:()=>g.eg,colorTextLight:()=>g.XN,colorWarning:()=>g.SO,colorWhite:()=>g.bD,colors:()=>mr.colors,spacingLarge:()=>O,spacingMedium:()=>k,spacingMediumLarge:()=>E,spacingSmall:()=>x,spacingSmallMedium:()=>w,spacingXLarge:()=>B,spacingXSmall:()=>$});var p=d(155),b=d.n(p),h=d(694),f=d.n(h),g=d(761);const m="0.875rem",v="1rem",y="400",$="0.25rem",x="0.5rem",w="0.75rem",k="1rem",E="1.25rem",O="1.5rem",B="2rem",C="1rem",j="0.5rem",S=f().button`
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("styled-components"),require("@tippyjs/react"),require("@mui/material"),require("@mui/icons-material"),require("react-modal"),require("@mui/material/Select"),require("@mui/material/styles"));else if("function"==typeof define&&define.amd)define(["react","styled-components","@tippyjs/react","@mui/material","@mui/icons-material","react-modal","@mui/material/Select","@mui/material/styles"],t);else{var r="object"==typeof exports?t(require("react"),require("styled-components"),require("@tippyjs/react"),require("@mui/material"),require("@mui/icons-material"),require("react-modal"),require("@mui/material/Select"),require("@mui/material/styles")):t(e.react,e["styled-components"],e["@tippyjs/react"],e["@mui/material"],e["@mui/icons-material"],e["react-modal"],e["@mui/material/Select"],e["@mui/material/styles"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(e,t,r,o,n,a,i,l)=>(()=>{"use strict";var c={2:(e,t,r)=>{r.d(t,{A:()=>l});var o=r(601),n=r.n(o),a=r(314),i=r.n(a)()(n());i.push([e.id,'.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}',""]);const l=i},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",o=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),o&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),o&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,o,n,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(i[c]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);o&&i[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),t.push(d))}},t}},601:e=>{e.exports=function(e){return e[1]}},72:e=>{var t=[];function r(e){for(var r=-1,o=0;o<t.length;o++)if(t[o].identifier===e){r=o;break}return r}function o(e,o){for(var a={},i=[],l=0;l<e.length;l++){var c=e[l],s=o.base?c[0]+o.base:c[0],d=a[s]||0,u="".concat(s," ").concat(d);a[s]=d+1;var p=r(u),b={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(b);else{var h=n(b,o);o.byIndex=l,t.splice(l,0,{identifier:u,updater:h,references:1})}i.push(u)}return i}function n(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,n){var a=o(e=e||[],n=n||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var l=r(a[i]);t[l].references--}for(var c=o(e,n),s=0;s<a.length;s++){var d=r(a[s]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}a=c}}},659:e=>{var t={};e.exports=function(e,r){var o=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,r)=>{e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var o="";r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var n=void 0!==r.layer;n&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,n&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},48:(e,t,r)=>{r.d(t,{colors:()=>n});var o=r(761);const n={neutral:{neutral2:o.jE,neutral3:o.qg,neutral4:o.xU,white:o.bD,lightGray:o.d5,gray:o.Xg,darkGray:o.BP},brand:{brand1:o._q,brand2:o.f$,brand3:o.mN,light:o.Dq,aux:o.xM},semantic:{success:o.lb,warning:o.SO,error:o._r,errorDark:o.Ee},background:{white:o.bh,light:o.GW,blue:o.od},border:{default:o.hN,selected:o.z2,error:o.qO,focusRing:o.ot},text:{default:o.eg,light:o.XN},icon:{default:o.kE,blue:o.nL,white:o.ss,defaultDark:o.AC},hover:{dark:o.GJ,light:o.K5,neutral:o.VO},overlay:{default:o.ox},shadow:{default:o.xA},user:{you:o.sY}}},761:(e,t,r)=>{r.d(t,{AC:()=>D,BP:()=>c,Dq:()=>f,Ee:()=>x,GJ:()=>P,GW:()=>k,K5:()=>q,SO:()=>v,VO:()=>I,XN:()=>T,Xg:()=>l,_q:()=>p,_r:()=>y,bD:()=>s,bh:()=>w,d5:()=>i,eg:()=>j,f$:()=>b,hN:()=>C,jE:()=>o,kE:()=>z,lb:()=>$,mN:()=>h,nL:()=>M,od:()=>E,ot:()=>S,ox:()=>A,qO:()=>B,qg:()=>n,sY:()=>R,ss:()=>L,xA:()=>F,xM:()=>g,xU:()=>a,z2:()=>O});const o="var(--color-neutral-2, #717C91)",n="var(--color-neutral-3, #B0BDC9)",a="var(--color-neutral-4, #DCE4EC)",i="var(--color-light-gray, #F4F6FA)",l="var(--color-gray, #4E5A66)",c="var(--color-dark-gray, #393C48)",s="var(--color-white, var(--color-neutral-white, #FFFFFF))",d="var(--color-brand-1, #0F70D7)",u="var(--color-brand-light, #E5EFFB)",p=`var(--color-primary, ${d})`,b=`var(--color-brand-2, ${d})`,h=`var(--color-brand-3, ${d})`,f=`var(--color-blue-aux, ${u})`,g=`var(--color-brand-aux, var(--color-hover-light, ${u}))`,m="var(--color-error, #DF2721)",$="var(--color-success, #2DD36F)",v="var(--color-warning, #F59240)",y=`var(--color-danger, ${m})`,x="var(--color-danger-dark, var(--color-error-dark, #AE1010))",w=`var(--color-background-white, ${s})`,k=`var(--color-background-light, ${i})`,E=`var(--color-background-blue, ${u})`,O=`var(--color-border-selected, ${p})`,B=`var(--color-border-error, ${m})`,C=`var(--default-border, var(--color-border-default, ${n}))`,S="var(--color-border-focus-ring, rgba(29, 101, 212, 0.15))",j=`var(--color-text-default, ${c})`,T=`var(--color-text-light, ${o})`,z=`var(--color-icon-default, ${o})`,M=`var(--color-icon-blue, ${d})`,L=`var(--color-icon-white, ${s})`,D="var(--color-icon-default-dark, rgba(255, 255, 255, 0.35))",P="var(--color-hover-dark, #0C57A7)",q="var(--color-hover-light, #D4E5FA)",I=`var(--color-hover-neutral, ${a})`,A="var(--color-overlay, rgba(0, 0, 0, 0.75))",F="var(--color-shadow-default, rgb(0 35 11 / 20%))",R="var(--color-user-you, #19237C)"},410:e=>{e.exports=n},823:e=>{e.exports=o},764:e=>{e.exports=i},586:e=>{e.exports=l},189:e=>{e.exports=r},155:t=>{t.exports=e},215:e=>{e.exports=a},694:e=>{e.exports=t}},s={};function d(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={id:e,exports:{}};return c[e](r,r.exports,d),r.exports}d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},d.d=(e,t)=>{for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.nc=void 0;var u={};d.r(u),d.d(u,{BBBAccordion:()=>ye,BBBAvatar:()=>Se,BBBCheckbox:()=>ut,BBBDivider:()=>bt,BBBHint:()=>xt,BBBInput:()=>Ct,BBBModal:()=>Rt,BBBNavigation:()=>Ht,BBBScrollArea:()=>Jt,BBBSearch:()=>cr,BBBSelect:()=>gr,BBBSlider:()=>zr,BBBSpinner:()=>rr,BBBTextAreaInput:()=>Lr,BBBTextInput:()=>Ar,BBBToggle:()=>Kr,BBBTypography:()=>Mt,BBButton:()=>rt,borderRadiusDefault:()=>T,borderRadiusSmall:()=>z,colorBackgroundBlue:()=>g.od,colorBackgroundLight:()=>g.GW,colorBackgroundWhite:()=>g.bh,colorBorderDefault:()=>g.hN,colorBorderError:()=>g.qO,colorBorderFocusRing:()=>g.ot,colorBorderSelected:()=>g.z2,colorBrand1:()=>g._q,colorBrand2:()=>g.f$,colorBrand3:()=>g.mN,colorBrandAux:()=>g.xM,colorBrandLight:()=>g.Dq,colorDarkGray:()=>g.BP,colorError:()=>g._r,colorErrorDark:()=>g.Ee,colorGray:()=>g.Xg,colorHoverDark:()=>g.GJ,colorHoverLight:()=>g.K5,colorHoverNeutral:()=>g.VO,colorIconBlue:()=>g.nL,colorIconDefault:()=>g.kE,colorIconDefaultDark:()=>g.AC,colorIconWhite:()=>g.ss,colorLightGray:()=>g.d5,colorNeutral2:()=>g.jE,colorNeutral3:()=>g.qg,colorNeutral4:()=>g.xU,colorOverlay:()=>g.ox,colorShadowDefault:()=>g.xA,colorSuccess:()=>g.lb,colorTextDefault:()=>g.eg,colorTextLight:()=>g.XN,colorUserYou:()=>g.sY,colorWarning:()=>g.SO,colorWhite:()=>g.bD,colors:()=>Yr.colors,spacingLarge:()=>C,spacingMedium:()=>O,spacingMediumLarge:()=>B,spacingSmall:()=>k,spacingSmallMedium:()=>E,spacingXLarge:()=>S,spacingXSmall:()=>w,spacingXXLarge:()=>j});var p=d(155),b=d.n(p),h=d(694),f=d.n(h),g=d(761);const m="0.75rem",$="0.875rem",v="1rem",y="1.125rem",x="400",w="0.25rem",k="0.5rem",E="0.75rem",O="1rem",B="1.25rem",C="1.5rem",S="2rem",j="3rem",T="1rem",z="0.5rem",M=f().button`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  background: none;
5
5
  border: none;
6
6
  cursor: pointer;
7
- padding: ${x};
7
+ padding: ${k};
8
8
  background-color: transparent;
9
- border-radius: ${C};
9
+ border-radius: ${T};
10
10
 
11
11
  &:hover {
12
12
  background: ${g.GW};
13
13
  }
14
- `,z=f().div`
14
+ `,L=f().div`
15
15
  display: flex;
16
16
  align-items: center;
17
17
  width: 100%;
18
- padding: ${x};
19
- border-radius: ${C};
20
- gap: ${k};
21
- `,T=f().div`
18
+ padding: ${k};
19
+ border-radius: ${T};
20
+ gap: ${O};
21
+ `,D=f().div`
22
22
  width: 1.375rem;
23
23
  height: 1.375rem;
24
24
  aspect-ratio: 1;
@@ -39,22 +39,51 @@
39
39
  &:hover {
40
40
  filter: brightness(0.9);
41
41
  }
42
- `,D=f().span`
42
+ `,P=f().span`
43
43
  display: flex;
44
44
  align-items: center;
45
45
  margin-left: ${({$position:e})=>"right"===e?"auto":"0"};
46
- `,L=f().span`
46
+ `,q=f().span`
47
47
  font-size: ${v};
48
48
  font-weight: 400;
49
49
  color: ${g.eg};
50
50
  overflow: hidden;
51
51
  text-overflow: ellipsis;
52
- `,P=f().div`
52
+ `,I=f().div`
53
53
  max-height: ${({$expanded:e,$scrollHeight:t})=>e?`${t}px`:"0"};
54
54
  overflow: hidden;
55
55
  transition: max-height 0.3s ease-in-out;
56
56
  padding: 0px 1rem;
57
- `;var q={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},M=p.createContext&&p.createContext(q),I=["attr","size","title"];function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},F.apply(null,arguments)}function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(t){N(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function N(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){return e&&e.map((e,t)=>p.createElement(e.tag,A({key:t},e.attr),_(e.child)))}function H(e){return t=>p.createElement(X,F({attr:A({},e.attr)},t),_(e.child))}function X(e){var t=t=>{var r,{attr:o,size:n,title:a}=e,l=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;r[o]=e[o]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,I),i=n||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),p.createElement("svg",F({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,l,{className:r,style:A(A({color:e.color||t.color},t.style),e.style),height:i,width:i,xmlns:"http://www.w3.org/2000/svg"}),a&&p.createElement("title",null,a),e.children)};return void 0!==M?p.createElement(M.Consumer,null,e=>t(e)):t(q)}function G(e){return H({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"},child:[]}]})(e)}function W(e){return H({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 13.5L7.5 11l1.42-1.41L12 12.67l3.08-3.08L16.5 11 12 15.5z"},child:[]}]})(e)}function K(e){return H({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(e)}function U(e){return H({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.488.488 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"},child:[]}]})(e)}function J(e){return H({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"},child:[]}]})(e)}function V(e){return H({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"},child:[]}]})(e)}var Y=d(189),Q=d.n(Y),Z=d(72),ee=d.n(Z),te=d(825),re=d.n(te),oe=d(659),ne=d.n(oe),ae=d(56),le=d.n(ae),ie=d(540),ce=d.n(ie),se=d(113),de=d.n(se),ue=d(2),pe={};pe.styleTagTransform=de(),pe.setAttributes=le(),pe.insert=ne().bind(null,"head"),pe.domAPI=re(),pe.insertStyleElement=ce(),ee()(ue.A,pe),ue.A&&ue.A.locals&&ue.A.locals;const be={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},he=(Object.values(be),be.TOP),fe={LEFT:"left",RIGHT:"right"},ge=(Object.values(fe),fe.LEFT),me=function({title:e,tooltipLabel:t,tooltipPlacement:r=he,ariaLabel:o,ariaLabelledBy:n,ariaDescribedBy:a,buttonHeader:l=null,buttonHeaderPosition:i=ge,children:c}){var s;const[d,u]=(0,p.useState)(!1),h=(0,p.useRef)(null),f=b().createElement(S,{onClick:()=>u(e=>!e),"aria-label":o,"aria-labelledby":n,"aria-describedby":a},b().createElement(z,null,b().createElement(T,{$expanded:d},b().createElement(G,null)),b().createElement(L,null,e),b().createElement(D,{$position:i},l)));return b().createElement(b().Fragment,null,t?b().createElement(Q(),{content:t,placement:r},f):f,b().createElement(P,{ref:h,$expanded:d,$scrollHeight:(null===(s=h.current)||void 0===s?void 0:s.scrollHeight)||0},c))},ve={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary",SUBTLE:"subtle"},ye=Object.values(ve)[0],$e=Object.values({DEFAULT:"default",DANGER:"danger",NEUTRAL:"neutral"})[0],xe={MEDIUM:"md",SMALL:"sm"},we=Object.values(xe)[0],ke={DEFAULT:"default",STACKED:"stacked",CIRCLE:"circle",SQUARED:"squared"},Ee=Object.values(ke)[0],Oe={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},Be=(Object.values(Oe),Oe.TOP),Ce={primary:{default:{color:g.bD,background:g._q,border:g._q,hoverColor:g.bD,hoverBackground:g.GJ,hoverBorder:g.GJ,outline:g._q},danger:{color:g.bD,background:g._r,border:g.qO,hoverColor:g.bD,hoverBackground:g.Ee,hoverBorder:g.qO,outline:g._r},neutral:{color:g.Xg,background:g.bD,border:!1,hoverColor:g.Xg,hoverBackground:g.xM,hoverBorder:!1,outline:g._q}},secondary:{default:{color:g._q,background:g.bh,border:g.z2,hoverColor:g.GJ,hoverBackground:g.bh,hoverBorder:g.GJ,outline:g._q},danger:{color:g._r,background:g.bh,border:g.qO,hoverColor:g.Ee,hoverBackground:g.bh,hoverBorder:g.Ee,outline:g._r},neutral:{color:g.Xg,background:g.bD,border:!1,hoverColor:g.Xg,hoverBackground:g.xM,hoverBorder:!1,outline:g._q}},tertiary:{default:{color:g._q,background:g.od,border:!1,hoverColor:g.GJ,hoverBackground:g.K5,hoverBorder:!1,outline:g._q},danger:{color:g.bD,background:g.Ee,border:!1,hoverColor:g.bD,hoverBackground:g._r,hoverBorder:!1,outline:g.Ee},neutral:{color:g.Xg,background:g.bD,border:!1,hoverColor:g.Xg,hoverBackground:g.xM,hoverBorder:!1,outline:g._q}},subtle:{default:{color:g.XN,iconColor:g.kE,background:"transparent",border:!1,hoverColor:g.XN,hoverBackground:g.d5,hoverBorder:!1,outline:g.kE},danger:{color:g._r,background:!1,border:!1,hoverColor:g.Ee,hoverBackground:g.d5,hoverBorder:!1,outline:g._r},neutral:{color:g.Xg,background:g.bD,border:!1,hoverColor:g.Xg,hoverBackground:g.xM,hoverBorder:!1,outline:g._q}}},je={color:g.qg,background:g.GW,border:!1,outline:g.qg},Se={sm:{padding:`${x} ${w}`},md:{padding:k}},ze=h.css`
57
+ `;var A={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},F=p.createContext&&p.createContext(A),R=["attr","size","title"];function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},N.apply(null,arguments)}function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach(function(t){H(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function H(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X(e){return e&&e.map((e,t)=>p.createElement(e.tag,W({key:t},e.attr),X(e.child)))}function U(e){return t=>p.createElement(G,N({attr:W({},e.attr)},t),X(e.child))}function G(e){var t=t=>{var r,{attr:o,size:n,title:a}=e,i=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;r[o]=e[o]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,R),l=n||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),p.createElement("svg",N({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,i,{className:r,style:W(W({color:e.color||t.color},t.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&p.createElement("title",null,a),e.children)};return void 0!==F?p.createElement(F.Consumer,null,e=>t(e)):t(A)}function K(e){return U({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"},child:[]}]})(e)}function Y(e){return U({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 13.5L7.5 11l1.42-1.41L12 12.67l3.08-3.08L16.5 11 12 15.5z"},child:[]}]})(e)}function J(e){return U({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(e)}function V(e){return U({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.488.488 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"},child:[]}]})(e)}function Q(e){return U({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"},child:[]}]})(e)}function Z(e){return U({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"},child:[]}]})(e)}var ee=d(189),te=d.n(ee),re=d(72),oe=d.n(re),ne=d(825),ae=d.n(ne),ie=d(659),le=d.n(ie),ce=d(56),se=d.n(ce),de=d(540),ue=d.n(de),pe=d(113),be=d.n(pe),he=d(2),fe={};fe.styleTagTransform=be(),fe.setAttributes=se(),fe.insert=le().bind(null,"head"),fe.domAPI=ae(),fe.insertStyleElement=ue(),oe()(he.A,fe),he.A&&he.A.locals&&he.A.locals;const ge={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},me=(Object.values(ge),ge.TOP),$e={LEFT:"left",RIGHT:"right"},ve=(Object.values($e),$e.LEFT),ye=function({title:e,tooltipLabel:t,tooltipPlacement:r=me,ariaLabel:o,ariaLabelledBy:n,ariaDescribedBy:a,buttonHeader:i=null,buttonHeaderPosition:l=ve,children:c}){var s;const[d,u]=(0,p.useState)(!1),h=(0,p.useRef)(null),f=b().createElement(M,{onClick:()=>u(e=>!e),"aria-label":o,"aria-labelledby":n,"aria-describedby":a},b().createElement(L,null,b().createElement(D,{$expanded:d},b().createElement(K,null)),b().createElement(q,null,e),b().createElement(P,{$position:l},i)));return b().createElement(b().Fragment,null,t?b().createElement(te(),{content:t,placement:r},f):f,b().createElement(I,{ref:h,$expanded:d,$scrollHeight:(null===(s=h.current)||void 0===s?void 0:s.scrollHeight)||0},c))},xe={SMALL:"small",MEDIUM:"medium",LARGE:"large"},we=(Object.values(xe),xe.MEDIUM),ke=["#7b1fa2","#6a1b9a","#4a148c","#5e35b1","#512da8","#4527a0","#311b92","#3949ab","#303f9f","#283593","#1a237e","#1976d2","#1565c0","#0d47a1","#0277bd","#01579b"],Ee={[xe.SMALL]:{dimension:"1.625rem",fontSize:"0.625rem",fontWeight:"600"},[xe.MEDIUM]:{dimension:"3rem",fontSize:"1.125rem",fontWeight:"500"},[xe.LARGE]:{dimension:"6rem",fontSize:"2.75rem",fontWeight:"400"}},Oe=h.css`
58
+ ${({$isTalking:e,$color:t})=>{return e&&h.css`
59
+ animation: ${r=t,h.keyframes`
60
+ 0% { box-shadow: 0 0 0 0 ${r}; }
61
+ 100% { box-shadow: 0 0 0 4px transparent; }
62
+ `} 1s infinite ease-in;
63
+ `;var r}}
64
+ `,Be=f().div`
65
+ width: ${({$size:e})=>Ee[e].dimension};
66
+ height: ${({$size:e})=>Ee[e].dimension};
67
+ border-radius: ${({$isModerator:e})=>e?"20%":"50%"};
68
+ flex-shrink: 0;
69
+ background: ${({$color:e})=>e};
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ font-size: ${({$size:e})=>Ee[e].fontSize};
74
+ font-weight: ${({$size:e})=>Ee[e].fontWeight};
75
+ color: ${g.bD};
76
+ text-transform: uppercase;
77
+ ${Oe}
78
+ `,Ce=f().img`
79
+ width: ${({$size:e})=>Ee[e].dimension};
80
+ height: ${({$size:e})=>Ee[e].dimension};
81
+ border-radius: ${({$isModerator:e})=>e?"20%":"50%"};
82
+ flex-shrink: 0;
83
+ object-fit: cover;
84
+ border: 2px solid ${({$color:e})=>e};
85
+ ${Oe}
86
+ `,Se=function({name:e,avatarUrl:t,color:r,size:o=we,isModerator:n=!1,isYou:a=!1,isTalking:i=!1,disableTooltip:l=!1}){const[c,s]=(0,p.useState)(!1),d=r||(a?g.sY:function(e){const t=e.split("").reduce((e,t)=>e+t.charCodeAt(0),0);return ke[t%ke.length]}(e));(0,p.useEffect)(()=>{s(!1)},[t]);const u=t&&!c?b().createElement(Ce,{src:t,alt:e,$size:o,$color:d,$isModerator:n,$isTalking:i,onError:()=>s(!0)}):b().createElement(Be,{$size:o,$color:d,$isModerator:n,$isTalking:i},function(e){const t=e.trim().split(/\s+/).filter(Boolean);return 0===t.length?"":1===t.length?t[0].slice(0,2).toUpperCase():`${t[0][0]}${t[t.length-1][0]}`.toUpperCase()}(e));return l?u:b().createElement(te(),{content:e,placement:"top"},u)},je={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary",SUBTLE:"subtle"},Te=Object.values(je)[0],ze=Object.values({DEFAULT:"default",DANGER:"danger",NEUTRAL:"neutral"})[0],Me={MEDIUM:"md",SMALL:"sm"},Le=Object.values(Me)[0],De={DEFAULT:"default",STACKED:"stacked",CIRCLE:"circle",SQUARED:"squared"},Pe=Object.values(De)[0],qe={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},Ie=(Object.values(qe),qe.TOP),Ae={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},Fe=(Object.values(Ae),Ae.BUTTON),Re={primary:{default:{color:g.bD,background:g._q,border:g._q,hoverColor:g.bD,hoverBackground:g.GJ,hoverBorder:g.GJ,outline:g._q},danger:{color:g.bD,background:g._r,border:g.qO,hoverColor:g.bD,hoverBackground:g.Ee,hoverBorder:g.qO,outline:g._r},neutral:{color:g.Xg,background:g.bD,border:!1,hoverColor:g.Xg,hoverBackground:g.xM,hoverBorder:!1,outline:g._q}},secondary:{default:{color:g._q,background:g.bh,border:g.z2,hoverColor:g.GJ,hoverBackground:g.bh,hoverBorder:g.GJ,outline:g._q},danger:{color:g._r,background:g.bh,border:g.qO,hoverColor:g.Ee,hoverBackground:g.bh,hoverBorder:g.Ee,outline:g._r},neutral:{color:g.Xg,background:g.bD,border:!1,hoverColor:g.Xg,hoverBackground:g.xM,hoverBorder:!1,outline:g._q}},tertiary:{default:{color:g._q,background:g.od,border:!1,hoverColor:g.GJ,hoverBackground:g.K5,hoverBorder:!1,outline:g._q},danger:{color:g.bD,background:g.Ee,border:!1,hoverColor:g.bD,hoverBackground:g._r,hoverBorder:!1,outline:g.Ee},neutral:{color:g.Xg,background:g.bD,border:!1,hoverColor:g.Xg,hoverBackground:g.xM,hoverBorder:!1,outline:g._q}},subtle:{default:{color:g.XN,iconColor:g.kE,background:"transparent",border:!1,hoverColor:g.XN,hoverBackground:g.d5,hoverBorder:!1,outline:g.kE},danger:{color:g._r,background:!1,border:!1,hoverColor:g.Ee,hoverBackground:g.d5,hoverBorder:!1,outline:g._r},neutral:{color:g.Xg,background:g.bD,border:!1,hoverColor:g.Xg,hoverBackground:g.xM,hoverBorder:!1,outline:g._q}}},Ne={color:g.qg,background:g.GW,border:!1,outline:g.qg},_e={sm:{padding:`${k} ${E}`,iconBoxSize:S},md:{padding:O,iconBoxSize:j}},We=h.css`
58
87
  cursor: pointer;
59
88
  user-select: none;
60
89
  font-weight: 600;
@@ -65,15 +94,15 @@
65
94
  position: relative;
66
95
  transition: opacity 0.2s ease-in-out;
67
96
 
68
- ${({$size:e})=>{var t;return`padding: ${(null!==(t=Se[null!=e?e:we])&&void 0!==t?t:Se[we]).padding};`}}
97
+ ${({$size:e})=>{var t;return`padding: ${(null!==(t=_e[null!=e?e:Le])&&void 0!==t?t:_e[Le]).padding};`}}
69
98
 
70
- ${({$color:e,$variant:t})=>{const r=e||$e,o=t||ye,{color:n,iconColor:a,background:l,border:i,hoverColor:c,hoverBackground:s,hoverBorder:d,outline:u}=Ce[o][r];return h.css`
99
+ ${({$color:e,$variant:t})=>{const r=e||ze,o=t||Te,{color:n,iconColor:a,background:i,border:l,hoverColor:c,hoverBackground:s,hoverBorder:d,outline:u}=Re[o][r];return h.css`
71
100
  & span {
72
101
  color: ${n};
73
102
  }
74
103
  ${a?`color: ${a}`:`color: ${n}`};
75
- ${l&&`background-color: ${l};`}
76
- ${i?`border: 1px solid ${i};`:"border: 1px solid transparent;"}
104
+ ${i&&`background-color: ${i};`}
105
+ ${l?`border: 1px solid ${l};`:"border: 1px solid transparent;"}
77
106
 
78
107
  &&:hover:not(:has(> [data-is-aux-icon]:hover)),
79
108
  &&:active {
@@ -87,77 +116,75 @@
87
116
  }
88
117
  `}}
89
118
 
90
- ${({$variant:e})=>e===ve.SUBTLE&&"\n text-decoration: underline;\n "}
119
+ ${({$variant:e})=>e===je.SUBTLE&&"\n text-decoration: underline;\n "}
91
120
 
92
- ${({disabled:e})=>{if(!e)return null;const{color:t,background:r,border:o,outline:n}=je;return h.css`
121
+ ${({disabled:e})=>{if(!e)return null;const{color:t,background:r,border:o,outline:n}=Ne;return h.css`
93
122
  pointer-events: none;
94
123
  cursor: not-allowed;
95
124
  & span {
96
125
  color: ${t};
97
126
  }
98
127
  color: ${t};
99
- ${r?`background-color: ${r}`:"background-color: none"};
100
- border: ${o?`1px solid ${o}`:"none"};
128
+ ${r?`background-color: ${r}`:"background-color: transparent"};
129
+ border: ${o?`1px solid ${o}`:"1px solid transparent"};
101
130
 
102
131
  &&:hover,
103
132
  &&:active {
104
133
  color: ${t};
105
- ${r?`background-color: ${r}`:"background-color: none"};
106
- border: ${o?`1px solid ${o}`:"none"};
134
+ ${r?`background-color: ${r}`:"background-color: transparent"};
135
+ border: ${o?`1px solid ${o}`:"1px solid transparent"};
107
136
  }
108
137
 
109
138
  &&:focus {
110
139
  outline: 2px solid ${n};
111
140
  }
112
141
  `}}
113
- `,Te=h.css`
142
+ `,He=h.css`
114
143
  width: 4.5rem;
115
144
  height: 4.5rem;
116
- border-radius: ${C} !important;
145
+ border-radius: ${T} !important;
117
146
  border: 1px solid ${g.hN} !important;
118
- padding: ${x} !important;
147
+ padding: ${k} !important;
119
148
  box-sizing: border-box;
120
149
  display: flex;
121
150
  flex-direction: column;
122
151
  justify-content: center;
123
152
  align-items: center;
124
- `,De=h.css`
125
- border-radius: 50%;
126
- width: 3rem;
127
- height: 3rem;
153
+ `,Xe=h.css`
154
+ ${({$size:e})=>{var t;const r=null!=e?e:Le,{iconBoxSize:o}=null!==(t=_e[r])&&void 0!==t?t:_e[Le];return`width: ${o}; height: ${o};`}}
128
155
  aspect-ratio: 1;
129
156
  padding: 0;
130
157
  display: flex;
131
158
  justify-content: center;
132
159
  align-items: center;
133
- `,Le=h.css`
134
- border-radius: ${j};
135
- aspect-ratio: 1;
136
- padding: ${x};
137
- display: flex;
138
- justify-content: center;
139
- align-items: center;
140
- `,Pe=h.css`
141
- display: inline-flex;
160
+ `,Ue=h.css`
161
+ ${Xe}
162
+ border-radius: 50%;
163
+ `,Ge=h.css`
164
+ ${Xe}
165
+ border-radius: ${z};
166
+ `,Ke=h.css`
167
+ display: ${({$fullWidth:e})=>e?"flex":"inline-flex"};
168
+ ${({$fullWidth:e})=>e&&"width: 100%;"}
142
169
  justify-content: center;
143
170
  align-items: center;
144
- gap: ${x};
145
- border-radius: ${C};
146
- `,qe=f().div`
147
- ${({$layout:e})=>e===ke.STACKED&&`\n width: 5rem;\n display: flex;\n flex-direction: column;\n gap: ${x};\n align-items: center;\n `}
148
- `,Me=f().button`
149
- ${ze}
150
-
151
- ${({$layout:e})=>{switch(e){case ke.STACKED:return Te;case ke.CIRCLE:return De;case ke.SQUARED:return Le;default:return Pe}}}
152
- `,Ie=f().div`
171
+ gap: ${k};
172
+ border-radius: ${T};
173
+ `,Ye=f().div`
174
+ ${({$layout:e})=>e===De.STACKED&&`\n width: 5rem;\n display: flex;\n flex-direction: column;\n gap: ${k};\n align-items: center;\n `}
175
+ `,Je=f().button`
176
+ ${We}
177
+
178
+ ${({$layout:e})=>{switch(e){case De.STACKED:return He;case De.CIRCLE:return Ue;case De.SQUARED:return Ge;default:return Ke}}}
179
+ `,Ve=f().div`
153
180
  ${({$hover:e,$variant:t,$color:r})=>e?h.css`
154
181
  &&:hover,
155
182
  &&:active {
156
- ${Ce[t][r].hoverBackground&&`background-color: ${Ce[t][r].hoverBackground};`}
183
+ ${Re[t][r].hoverBackground&&`background-color: ${Re[t][r].hoverBackground};`}
157
184
  }
158
185
 
159
186
  &&:focus {
160
- outline: 1px solid ${Ce[t][r].outline};
187
+ outline: 1px solid ${Re[t][r].outline};
161
188
  }
162
189
  `:null}
163
190
  border-radius: 50%;
@@ -168,11 +195,11 @@
168
195
  & svg {
169
196
  font-size: 1.25rem;
170
197
  }
171
- `,Fe=f().div`
198
+ `,Qe=f().div`
172
199
  display: flex;
173
200
  align-items: center;
174
201
  justify-content: center;
175
- `,Re=f().div`
202
+ `,Ze=f().div`
176
203
  display: flex;
177
204
  align-items: center;
178
205
  justify-content: center;
@@ -181,14 +208,14 @@
181
208
  > i {
182
209
  font-size: 2rem;
183
210
  }
184
- `,Ae=f().span`
211
+ `,et=f().span`
185
212
  display: inline-flex;
186
213
  align-items: center;
187
214
  justify-content: center;
188
- gap: ${x};
189
- `,Ne=f().div`
215
+ gap: ${k};
216
+ `,tt=f().div`
190
217
  color: ${g.eg};
191
- font-size: ${m};
218
+ font-size: ${$};
192
219
  width: 100%;
193
220
  text-align: center;
194
221
  line-height: 1;
@@ -197,18 +224,18 @@
197
224
  display: -webkit-box;
198
225
  -webkit-line-clamp: 2;
199
226
  -webkit-box-orient: vertical;
200
- `,_e=function(e){const{id:t="",dataTest:r,label:o,tooltipLabel:n,tooltipPlacement:a=Be,onClick:l,onKeyDown:i,ariaLabel:c="",ariaLabelledBy:s="",ariaDescribedBy:d="",color:u=$e,variant:h=ye,size:f=we,layout:g=Ee,disabled:m=!1,children:v,showFeedback:y=!1,feedbackContent:$=b().createElement(V,{fontSize:"small"}),feedbackDuration:x=2e3}=e,w=(0,p.useRef)(null),[k,E]=(0,p.useState)(!1);(0,p.useEffect)(()=>()=>{w.current&&clearTimeout(w.current)},[]);const O=(0,p.useCallback)(e=>{l(e),y&&(E(!0),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>E(!1),x))},[l,y,x]),B={},C=(0,p.useId)(),j=`${t||C}-label`,S=g===ke.STACKED||g===ke.DEFAULT&&(Boolean(o)||k);B["aria-label"]=c||o,s?B["aria-labelledby"]=s:S&&(B["aria-labelledby"]=j),d&&(B["aria-describedby"]=d);const z=(()=>{if(e.layout===ke.CIRCLE||e.layout===ke.SQUARED){const{icon:o}=e,n=r||`button-${t||"default"}`;return b().createElement(Me,Object.assign({id:t,"data-test":n,onClick:O,onKeyDown:i},B,{$color:u,$variant:h,$size:f,$layout:g,disabled:m}),k?b().createElement(Ae,{role:"status","aria-live":"polite"},$):o)}if(e.layout===ke.STACKED){const{icon:n,helperIcon:a=b().createElement(U,{fontSize:"small"}),hideHelperIcon:l=!1,helperOnClick:c=null}=e,s=r||`${ke.STACKED}-button-${t||o||"default"}`;return b().createElement(qe,{"data-test":s,$layout:g},b().createElement(Me,Object.assign({id:t,onClick:O,onKeyDown:i},B,{$color:u,$variant:h,$size:f,$layout:g,disabled:m}),!l&&b().createElement(Ie,Object.assign({},c&&{"data-is-aux-icon":!0},c&&{"aria-label":B["aria-label"]+" helper"},c&&{role:"button"},{$hover:null!==c,$color:u,$variant:h,onClick:e=>{c&&(c(e),e.preventDefault(),e.stopPropagation())}}),b().createElement(Fe,null,a)),k?b().createElement(Re,null,b().createElement(Ae,{role:"status","aria-live":"polite"},$)):n&&b().createElement(Re,null,n)),b().createElement(Ne,{id:j},o))}const{iconStart:n,iconEnd:a}=e,l=r||`button-${t||o||"default"}`;return b().createElement(Me,Object.assign({id:t,"data-test":l,onClick:O,onKeyDown:i},B,{$color:u,$variant:h,$size:f,$layout:g,disabled:m}),k?b().createElement(Ae,{id:j,role:"status","aria-live":"polite"},$):b().createElement(b().Fragment,null,n&&n,o&&b().createElement("span",{id:j},o),v,a&&a))})();return n?b().createElement(Q(),{content:n,placement:a},z):z};var He=d(823);const Xe=f().div`
227
+ `,rt=function(e){const{id:t="",dataTest:r,label:o,tooltipLabel:n,tooltipPlacement:a=Ie,onClick:i,onKeyDown:l,ariaLabel:c="",ariaLabelledBy:s="",ariaDescribedBy:d="",color:u=ze,variant:h=Te,size:f=Le,layout:g=Pe,type:m=Fe,disabled:$=!1,children:v,showFeedback:y=!1,feedbackContent:x=b().createElement(Z,{fontSize:"small"}),feedbackDuration:w=2e3,className:k}=e,E=(0,p.useRef)(null),[O,B]=(0,p.useState)(!1);(0,p.useEffect)(()=>()=>{E.current&&clearTimeout(E.current)},[]);const C=(0,p.useCallback)(e=>{i(e),y&&(B(!0),E.current&&clearTimeout(E.current),E.current=setTimeout(()=>B(!1),w))},[i,y,w]),S={},j=(0,p.useId)(),T=`${t||j}-label`,z=g===De.STACKED||g===De.DEFAULT&&(Boolean(o)||O);S["aria-label"]=c||o,s?S["aria-labelledby"]=s:z&&(S["aria-labelledby"]=T),d&&(S["aria-describedby"]=d);const M=(()=>{if(e.layout===De.CIRCLE||e.layout===De.SQUARED){const{icon:o}=e,n=r||`button-${t||"default"}`;return b().createElement(Je,Object.assign({id:t,className:k,type:m,"data-test":n,onClick:C,onKeyDown:l},S,{$color:u,$variant:h,$size:f,$layout:g,disabled:$}),O?b().createElement(et,{role:"status","aria-live":"polite"},x):o)}if(e.layout===De.STACKED){const{icon:n,helperIcon:a=b().createElement(V,{fontSize:"small"}),hideHelperIcon:i=!1,helperOnClick:c=null}=e,s=r||`${De.STACKED}-button-${t||o||"default"}`;return b().createElement(Ye,{className:k,"data-test":s,$layout:g},b().createElement(Je,Object.assign({id:t,type:m,onClick:C,onKeyDown:l},S,{$color:u,$variant:h,$size:f,$layout:g,disabled:$}),!i&&b().createElement(Ve,Object.assign({},c&&{"data-is-aux-icon":!0},c&&{"aria-label":S["aria-label"]+" helper"},c&&{role:"button"},{$hover:null!==c,$color:u,$variant:h,onClick:e=>{c&&(c(e),e.preventDefault(),e.stopPropagation())}}),b().createElement(Qe,null,a)),O?b().createElement(Ze,null,b().createElement(et,{role:"status","aria-live":"polite"},x)):n&&b().createElement(Ze,null,n)),b().createElement(tt,{id:T},o))}const{iconStart:n,iconEnd:a,fullWidth:i=!1}=e,c=r||`button-${t||o||"default"}`;return b().createElement(Je,Object.assign({id:t,className:k,type:m,"data-test":c,onClick:C,onKeyDown:l},S,{$color:u,$variant:h,$size:f,$layout:g,$fullWidth:i,disabled:$}),O?b().createElement(et,{id:T,role:"status","aria-live":"polite"},x):b().createElement(b().Fragment,null,n&&n,o&&b().createElement("span",{id:T},o),v,a&&a))})();return n?b().createElement(te(),{content:n,placement:a},M):M};var ot=d(823);const nt=f().div`
201
228
  display: inline-flex;
202
229
  align-items: center;
203
- gap: ${x};
204
- `,Ge=f().label`
230
+ gap: ${k};
231
+ `,at=f().label`
205
232
  color: ${g.eg};
206
233
  font-size: ${v};
207
234
  font-style: normal;
208
235
  font-weight: 400;
209
236
  line-height: normal;
210
237
  cursor: pointer;
211
- `,We=f()(He.Checkbox)`
238
+ `,it=f()(ot.Checkbox)`
212
239
  &.MuiCheckbox-root {
213
240
  padding: 0;
214
241
  }
@@ -216,7 +243,7 @@
216
243
  &.Mui-checked {
217
244
  color: ${g._q};
218
245
  }
219
- `,Ke={RIGHT:"right",LEFT:"left"},Ue=Object.values(Ke)[0];var Je=d(410);const Ve=function(e){var{label:t,layout:r=Ue,round:o=!1,ariaLabel:n}=e,a=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["label","layout","round","ariaLabel"]);const l=(0,p.useId)(),i=b().createElement(We,Object.assign({},a,{id:l,"aria-label":n,icon:o?b().createElement(Je.RadioButtonUnchecked,null):void 0,checkedIcon:o?b().createElement(Je.RadioButtonChecked,null):void 0}));return t?b().createElement(Xe,null,r===Ke.LEFT&&b().createElement(Ge,{htmlFor:l},t),i,r===Ke.RIGHT&&b().createElement(Ge,{htmlFor:l},t)):i},Ye=f().hr`
246
+ `,lt={RIGHT:"right",LEFT:"left"},ct=Object.values(lt)[0];var st=d(410),dt=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r};const ut=function(e){var{label:t,layout:r=ct,round:o=!1,ariaLabel:n,id:a,dataTest:i,slotProps:l}=e,c=dt(e,["label","layout","round","ariaLabel","id","dataTest","slotProps"]);const s=(0,p.useId)(),d=null!=a?a:s,u={"aria-label":n,"data-test":i},h=null!=l?l:{},{input:f}=h,g=dt(h,["input"]),m="function"==typeof f?e=>Object.assign(Object.assign({},u),f(e)):Object.assign(Object.assign({},u),f),$=b().createElement(it,Object.assign({},c,{id:d,icon:o?b().createElement(st.RadioButtonUnchecked,null):void 0,checkedIcon:o?b().createElement(st.RadioButtonChecked,null):void 0,slotProps:Object.assign(Object.assign({},g),{input:m})}));return t?b().createElement(nt,null,r===lt.LEFT&&b().createElement(at,{htmlFor:d},t),$,r===lt.RIGHT&&b().createElement(at,{htmlFor:d},t)):$},pt=f().hr`
220
247
  width: 100%;
221
248
  border-top: 0px;
222
249
  border-right: 0px;
@@ -224,31 +251,31 @@
224
251
  border-image: initial;
225
252
  border-bottom: 1px solid ${g.hN};
226
253
  margin: 0px;
227
- `,Qe=function(){return b().createElement(Ye,null)},Ze=f().div`
254
+ `,bt=function(){return b().createElement(pt,null)},ht=f().div`
228
255
  display: flex;
229
256
  flex-direction: column;
230
- gap: ${x};
231
- padding: ${k};
257
+ gap: ${k};
258
+ padding: ${O};
232
259
  background-color: ${g.GW};
233
- `,et=f().div`
260
+ `,ft=f().div`
234
261
  display: flex;
235
262
  flex-direction: row;
236
- gap: ${w};
237
- `,tt=f().div`
263
+ gap: ${E};
264
+ `,gt=f().div`
238
265
  display: flex;
239
266
  align-items: center;
240
267
  justify-content: space-between;
241
- `,rt=f().div`
268
+ `,mt=f().div`
242
269
  color: ${g._q};
243
270
  display: flex;
244
271
  align-items: center;
245
- `,ot=f().label`
272
+ `,$t=f().label`
246
273
  color: ${g.eg};
247
274
  font-size: ${v}
248
275
  font-style: normal;
249
276
  font-weight: 600;
250
277
  line-height: normal;
251
- `,nt=f().button`
278
+ `,vt=f().button`
252
279
  display: flex;
253
280
  align-items: center;
254
281
  justify-content: center;
@@ -267,31 +294,31 @@
267
294
  &&:focus {
268
295
  outline: 2px solid ${g._q};
269
296
  }
270
- `,at=f().label`
297
+ `,yt=f().label`
271
298
  color: ${g.eg};
272
299
  font-size: ${v};
273
300
  font-style: normal;
274
301
  font-weight: 400;
275
302
  line-height: normal;
276
- border-radius: ${j};
277
- `;const lt=function(e){var{title:t,label:r,icon:o=b().createElement(J,{fontSize:"1rem"}),open:n,onRequestClose:a,hideCloseButton:l=!1,children:i}=e,c=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["title","label","icon","open","onRequestClose","hideCloseButton","children"]);const s=void 0!==n,[d,u]=(0,p.useState)(!0);if(!(s?n:d))return null;const h=b().createElement(at,null,r,i);return b().createElement(Ze,Object.assign({role:"status","aria-live":"polite","aria-atomic":"true","aria-label":t||r},c),b().createElement(tt,null,b().createElement(et,null,b().createElement(rt,{"aria-hidden":"true"},o),t&&b().createElement(ot,null,t),!t&&h),!l&&b().createElement(nt,{type:"button","aria-label":"Close",onClick:()=>{s||u(!1),null==a||a()}},b().createElement(K,{fontSize:"1rem"}))),t&&h)},it=f().div`
303
+ border-radius: ${z};
304
+ `;const xt=function(e){var{title:t,label:r,icon:o=b().createElement(Q,{fontSize:"1rem"}),open:n,onRequestClose:a,hideCloseButton:i=!1,children:l}=e,c=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["title","label","icon","open","onRequestClose","hideCloseButton","children"]);const s=void 0!==n,[d,u]=(0,p.useState)(!0);if(!(s?n:d))return null;const h=b().createElement(yt,null,r,l);return b().createElement(ht,Object.assign({role:"status","aria-live":"polite","aria-atomic":"true","aria-label":t||r},c),b().createElement(gt,null,b().createElement(ft,null,b().createElement(mt,{"aria-hidden":"true"},o),t&&b().createElement($t,null,t),!t&&h),!i&&b().createElement(vt,{type:"button","aria-label":"Close",onClick:()=>{s||u(!1),null==a||a()}},b().createElement(J,{fontSize:"1rem"}))),t&&h)},wt=f().div`
278
305
  display: flex;
279
306
  flex-direction: column;
280
307
  width: 100%;
281
- gap: ${x};
282
- `,ct=f().label`
308
+ gap: ${k};
309
+ `,kt=f().label`
283
310
  color: ${g.eg};
284
- font-size: ${m};
311
+ font-size: ${$};
285
312
  font-style: normal;
286
313
  font-weight: 400;
287
314
  line-height: normal;
288
- `,st=f().div`
315
+ `,Et=f().div`
289
316
  display: flex;
290
317
  align-items: center;
291
318
  width: 100%;
292
- padding: ${x} ${k};
293
- gap: ${x};
294
- border-radius: ${C};
319
+ padding: ${k} ${O};
320
+ gap: ${k};
321
+ border-radius: ${T};
295
322
  border: 1px solid ${g.hN};
296
323
  background-color: transparent;
297
324
  box-sizing: border-box;
@@ -311,7 +338,7 @@
311
338
  cursor: not-allowed;
312
339
  pointer-events: none;
313
340
  `}
314
- `,dt=f().textarea`
341
+ `,Ot=f().textarea`
315
342
  flex: 1;
316
343
  min-width: 0;
317
344
  resize: none;
@@ -320,7 +347,7 @@
320
347
  background: transparent;
321
348
  color: ${g.eg};
322
349
  font-family: inherit;
323
- font-size: ${m};
350
+ font-size: ${$};
324
351
  line-height: 1.5;
325
352
  padding: 0;
326
353
 
@@ -335,13 +362,13 @@
335
362
  [dir='rtl'] & {
336
363
  text-align: right;
337
364
  }
338
- `,ut=f().div`
365
+ `,Bt=f().div`
339
366
  color: ${g.eg};
340
- font-size: ${m};
367
+ font-size: ${$};
341
368
  font-style: normal;
342
369
  font-weight: 400;
343
370
  line-height: normal;
344
- padding: 0 ${k};
371
+ padding: 0 ${O};
345
372
 
346
373
  ${({$success:e})=>e&&h.css`
347
374
  color: ${g.lb};
@@ -350,40 +377,11 @@
350
377
  ${({$error:e})=>e&&h.css`
351
378
  color: ${g._r};
352
379
  `}
353
- `,pt=function({label:e,placeholder:t,value:r,onChange:o,onSubmit:n,buttonIcon:a,buttonLabel:l,buttonAriaLabel:i,buttonVariant:c="primary",dataTest:s,buttonDataTest:d,beforeButton:u,afterButton:h,submitOnEnter:f=!0,showSentFeedback:g=!1,sentFeedbackContent:m="Message sent",sentFeedbackDuration:v=2e3,disabled:y=!1,error:$=!1,helperText:x,minRows:w=1,maxRows:k=3,maxLength:E,autoFocus:O=!1,inputRef:B,id:C,"aria-label":j,"aria-describedby":S}){const z=void 0!==r,[T,D]=(0,p.useState)(""),L=z?null!=r?r:"":T,P=(0,p.useId)(),q=null!=C?C:P,M=(0,p.useRef)(null),I=(0,p.useRef)(null),[F,R]=(0,p.useState)(!1),A=(0,p.useCallback)(e=>{M.current=e,"function"==typeof B?B(e):B&&"current"in B&&(B.current=e)},[B]);(0,p.useEffect)(()=>{const e=M.current;if(!e)return;e.style.height="auto";const t=window.getComputedStyle(e),r=parseFloat(t.lineHeight)||20,o=[t.paddingTop,t.paddingBottom,t.borderTopWidth,t.borderBottomWidth].reduce((e,t)=>e+(parseFloat(t)||0),0),n=r*w+o,a=r*k+o,l=Math.min(Math.max(e.scrollHeight,n),a);e.style.height=`${l}px`,e.style.overflowY=e.scrollHeight>a?"auto":"hidden"},[L,w,k]),(0,p.useEffect)(()=>()=>{I.current&&clearTimeout(I.current)},[]),(0,p.useEffect)(()=>{O&&M.current&&M.current.focus()},[O]);const N=(0,p.useCallback)(e=>{const t=e.target.value;z?null==o||o(t):D(t)},[z,o]),_=(0,p.useCallback)(()=>{var e;if(y)return;const t=L.trim();t&&(n(t),z||D(""),null===(e=M.current)||void 0===e||e.focus(),g&&(R(!0),I.current&&clearTimeout(I.current),I.current=setTimeout(()=>R(!1),v)))},[y,L,n,z,g,v]),H=(0,p.useCallback)(e=>{"Enter"===e.key&&!e.shiftKey&&f&&(e.preventDefault(),_())},[f,_]),X=Boolean(x)||F,G=X?`${q}-helper`:void 0,W=[S,G].filter(Boolean).join(" ")||void 0,K=l?b().createElement(_e,{onClick:_,disabled:y,size:xe.SMALL,variant:c,dataTest:d,label:l,ariaLabel:i,iconStart:a}):b().createElement(_e,{layout:ke.SQUARED,onClick:_,disabled:y,variant:c,dataTest:d,icon:a,ariaLabel:i});return b().createElement(it,null,e&&b().createElement(ct,{htmlFor:q},e),b().createElement(st,{$disabled:y,$error:$},b().createElement(dt,{ref:A,id:q,rows:w,placeholder:t,value:L,onChange:N,onKeyDown:H,disabled:y,maxLength:E,"data-test":s,"aria-label":j,"aria-describedby":W}),u,K,h),X&&b().createElement(ut,{id:G,$success:F,$error:!F&&$,role:F?"status":void 0,"aria-live":F?"polite":void 0},F?m:x))};var bt=d(215),ht=d.n(bt);const ft={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:g.ox,zIndex:100,display:"flex",alignItems:"center",justifyContent:"center"},content:{position:"relative",top:"auto",left:"auto",right:"auto",bottom:"auto",borderRadius:C,background:g.bD,overflow:"hidden",WebkitOverflowScrolling:"touch",outline:"none",padding:"0px",minWidth:"300px",maxWidth:"90vw",maxHeight:"90vh",display:"flex",flexDirection:"column"}},gt=f().div`
354
- padding: ${O} ${O} ${w};
355
- display: flex;
356
- justify-content: space-between;
357
- align-items: center;
358
- `,mt=(f().button`
359
- background: none;
360
- border: none;
361
- font-size: 1.5rem;
362
- cursor: pointer;
363
- padding: 0;
364
- line-height: 1;
365
- `,f().div`
366
- flex-grow: 1;
367
- overflow-y: ${({$allowScroll:e})=>e?"auto":"hidden"};
368
- overflow-x: hidden;
369
- display: flex;
370
- flex-direction: column;
371
- `),vt=f().div`
372
- flex-grow: 1;
373
- padding: 0 ${O};
374
- margin: ${w} 0 ${w};
375
- `,yt=f().div`
376
- padding: ${w} ${O} ${O};
377
- display: flex;
378
- justify-content: flex-end;
379
- gap: ${k};
380
-
381
- ${({$stickyFooter:e})=>e&&`\n position: sticky;\n bottom: 0;\n background-color: ${g.bD};\n `}
382
- `,$t={default:h.css`
380
+ `,Ct=function({label:e,placeholder:t,value:r,onChange:o,onSubmit:n,buttonIcon:a,buttonLabel:i,buttonAriaLabel:l,buttonVariant:c="primary",dataTest:s,buttonDataTest:d,beforeButton:u,afterButton:h,submitOnEnter:f=!0,showSentFeedback:g=!1,sentFeedbackContent:m="Message sent",sentFeedbackDuration:$=2e3,disabled:v=!1,error:y=!1,helperText:x,minRows:w=1,maxRows:k=3,maxLength:E,autoFocus:O=!1,inputRef:B,id:C,"aria-label":S,"aria-describedby":j}){const T=void 0!==r,[z,M]=(0,p.useState)(""),L=T?null!=r?r:"":z,D=(0,p.useId)(),P=null!=C?C:D,q=(0,p.useRef)(null),I=(0,p.useRef)(null),[A,F]=(0,p.useState)(!1),R=(0,p.useCallback)(e=>{q.current=e,"function"==typeof B?B(e):B&&"current"in B&&(B.current=e)},[B]);(0,p.useEffect)(()=>{const e=q.current;if(!e)return;e.style.height="auto";const t=window.getComputedStyle(e),r=parseFloat(t.lineHeight)||20,o=[t.paddingTop,t.paddingBottom,t.borderTopWidth,t.borderBottomWidth].reduce((e,t)=>e+(parseFloat(t)||0),0),n=r*w+o,a=r*k+o,i=Math.min(Math.max(e.scrollHeight,n),a);e.style.height=`${i}px`,e.style.overflowY=e.scrollHeight>a?"auto":"hidden"},[L,w,k]),(0,p.useEffect)(()=>()=>{I.current&&clearTimeout(I.current)},[]),(0,p.useEffect)(()=>{O&&q.current&&q.current.focus()},[O]);const N=(0,p.useCallback)(e=>{const t=e.target.value;T?null==o||o(t):M(t)},[T,o]),_=(0,p.useCallback)(()=>{var e;if(v)return;const t=L.trim();t&&(n(t),T||M(""),null===(e=q.current)||void 0===e||e.focus(),g&&(F(!0),I.current&&clearTimeout(I.current),I.current=setTimeout(()=>F(!1),$)))},[v,L,n,T,g,$]),W=(0,p.useCallback)(e=>{"Enter"===e.key&&!e.shiftKey&&f&&(e.preventDefault(),_())},[f,_]),H=Boolean(x)||A,X=H?`${P}-helper`:void 0,U=[j,X].filter(Boolean).join(" ")||void 0,G=i?b().createElement(rt,{onClick:_,disabled:v,size:Me.SMALL,variant:c,dataTest:d,label:i,ariaLabel:l,iconStart:a}):b().createElement(rt,{layout:De.SQUARED,onClick:_,disabled:v,variant:c,dataTest:d,icon:a,ariaLabel:l});return b().createElement(wt,null,e&&b().createElement(kt,{htmlFor:P},e),b().createElement(Et,{$disabled:v,$error:y},b().createElement(Ot,{ref:R,id:P,rows:w,placeholder:t,value:L,onChange:N,onKeyDown:W,disabled:v,maxLength:E,"data-test":s,"aria-label":S,"aria-describedby":U}),u,G,h),H&&b().createElement(Bt,{id:X,$success:A,$error:!A&&y,role:A?"status":void 0,"aria-live":A?"polite":void 0},A?m:x))};var St=d(215),jt=d.n(St);const Tt={default:h.css`
383
381
  color: ${g.eg};
384
382
  font-size: ${v};
385
383
  font-style: normal;
386
- font-weight: ${y};
384
+ font-weight: ${x};
387
385
  line-height: normal;
388
386
  `,selected:h.css`
389
387
  color: ${g.eg};
@@ -393,15 +391,15 @@
393
391
  line-height: normal;
394
392
  `,text2:h.css`
395
393
  color: ${g.XN};
396
- font-size: ${m};
394
+ font-size: ${$};
397
395
  font-style: normal;
398
- font-weight: ${y};
396
+ font-weight: ${x};
399
397
  line-height: normal;
400
398
  `,text3:h.css`
401
399
  color: ${g.XN};
402
- font-size: ${"0.75rem"};
400
+ font-size: ${m};
403
401
  font-style: normal;
404
- font-weight: ${y};
402
+ font-weight: ${x};
405
403
  line-height: normal;
406
404
  `,header:h.css`
407
405
  color: ${g.eg};
@@ -416,11 +414,40 @@
416
414
  font-style: normal;
417
415
  font-weight: ${"600"};
418
416
  line-height: normal;
419
- `},xt=f().p`
417
+ `},zt=f().p`
420
418
  margin: 0;
421
419
  padding: 0;
422
- ${({$variant:e})=>$t[e]}
423
- `;const wt=e=>{var{children:t,variant:r="default",as:o}=e,n=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["children","variant","as"]);return b().createElement(xt,Object.assign({as:o,$variant:r},n),t)};const kt=e=>{var{isOpen:t=!0,onRequestClose:r,appElement:o,title:n,contentLabel:a,showDividers:l=!1,shouldCloseOnOverlayClick:i=!1,shouldCloseOnEsc:c=!1,allowScroll:s=!0,noFooter:d=!1,footerContent:u=null,stickyFooter:h=!0,testId:f,closeButtonDataTest:g,children:m}=e,v=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["isOpen","onRequestClose","appElement","title","contentLabel","showDividers","shouldCloseOnOverlayClick","shouldCloseOnEsc","allowScroll","noFooter","footerContent","stickyFooter","testId","closeButtonDataTest","children"]);let y=g;f&&!g&&(y=`${f}-close-button`);const $=(0,p.useCallback)(e=>b().createElement(b().Fragment,null,l&&b().createElement(Qe,null),b().createElement(yt,{$stickyFooter:e},u)),[u,l]);return b().createElement(ht(),Object.assign({},v,{isOpen:t,onRequestClose:r,contentLabel:a,style:ft,shouldCloseOnOverlayClick:i,shouldCloseOnEsc:c,appElement:o,testId:f}),b().createElement(gt,null,b().createElement(wt,{variant:"header"},n),b().createElement(_e,Object.assign({layout:"circle",icon:b().createElement(K,{size:"1.5rem"}),onClick:r,variant:"subtle",ariaLabel:"close"},y?{dataTest:y}:{}))),l&&b().createElement(Qe,null),b().createElement(mt,{$allowScroll:s},b().createElement(vt,null,m),!d&&!h&&$(h)),!d&&h&&$(h))},Et=f().button`
420
+ ${({$variant:e})=>Tt[e]}
421
+ `;const Mt=e=>{var{children:t,variant:r="default",as:o}=e,n=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["children","variant","as"]);return b().createElement(zt,Object.assign({as:o,$variant:r},n),t)},Lt={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:g.ox,zIndex:100,display:"flex",alignItems:"center",justifyContent:"center"},content:{position:"relative",top:"auto",left:"auto",right:"auto",bottom:"auto",borderRadius:T,overflow:"hidden",WebkitOverflowScrolling:"touch",outline:"none",padding:"0px",minWidth:"300px",maxWidth:"90vw",maxHeight:"90vh",display:"flex",flexDirection:"column"}},Dt=f().div`
422
+ padding: ${C} ${C} ${E};
423
+ display: flex;
424
+ justify-content: space-between;
425
+ align-items: center;
426
+ gap: ${O};
427
+ `,Pt=f()(Mt)`
428
+ flex: 1;
429
+ min-width: 0;
430
+ overflow-wrap: anywhere;
431
+ `,qt=f().div`
432
+ flex-grow: 1;
433
+ overflow-y: ${({$allowScroll:e})=>e?"auto":"hidden"};
434
+ overflow-x: hidden;
435
+ display: flex;
436
+ flex-direction: column;
437
+ `,It=f().div`
438
+ flex-grow: 1;
439
+ padding: 0 ${C};
440
+ margin: ${E} 0 ${E};
441
+ `,At=f().div`
442
+ padding: ${E} ${C} ${C};
443
+ display: flex;
444
+ justify-content: flex-end;
445
+ gap: ${O};
446
+
447
+ ${({$stickyFooter:e})=>e&&`\n position: sticky;\n bottom: 0;\n background-color: ${g.bD};\n `}
448
+ `,Ft=f()(jt())`
449
+ background: ${g.bD};
450
+ `;const Rt=e=>{var{isOpen:t=!0,onRequestClose:r,appElement:o,title:n,contentLabel:a,showDividers:i=!1,shouldCloseOnOverlayClick:l=!1,shouldCloseOnEsc:c=!1,allowScroll:s=!0,noFooter:d=!1,hideCloseButton:u=!1,footerContent:h=null,stickyFooter:f=!0,testId:g,closeButtonDataTest:m,children:$}=e,v=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["isOpen","onRequestClose","appElement","title","contentLabel","showDividers","shouldCloseOnOverlayClick","shouldCloseOnEsc","allowScroll","noFooter","hideCloseButton","footerContent","stickyFooter","testId","closeButtonDataTest","children"]);let y=m;g&&!m&&(y=`${g}-close-button`);const x=(0,p.useCallback)(e=>b().createElement(b().Fragment,null,i&&b().createElement(bt,null),b().createElement(At,{$stickyFooter:e},h)),[h,i]);return b().createElement(Ft,Object.assign({},v,{isOpen:t,onRequestClose:r,contentLabel:a,style:Lt,shouldCloseOnOverlayClick:l,shouldCloseOnEsc:c,appElement:o,testId:g}),b().createElement(Dt,null,b().createElement(Pt,{variant:"header"},n),!u&&b().createElement(rt,Object.assign({layout:"circle",icon:b().createElement(J,{size:"1.5rem"}),onClick:r,variant:"subtle",ariaLabel:"close"},y?{dataTest:y}:{}))),i&&b().createElement(bt,null),b().createElement(qt,{$allowScroll:s},b().createElement(It,null,$),!d&&!f&&x(f)),!d&&f&&x(f))},Nt=f().button`
424
451
  display: flex;
425
452
  flex-direction: row;
426
453
  align-items: center;
@@ -429,18 +456,18 @@
429
456
  border: none;
430
457
  cursor: pointer;
431
458
  margin: 1px; /* Adds margin to prevent outline from being cropped */
432
- border-radius: ${j};
459
+ border-radius: ${z};
433
460
 
434
461
  &:focus {
435
462
  outline: 1px solid ${g._q};
436
463
  }
437
- `,Ot=f().div`
464
+ `,_t=f().div`
438
465
  display: flex;
439
466
  flex-direction: row;
440
467
  align-items: center;
441
468
  justify-content: center;
442
- gap: ${k};
443
- `,Bt=f().div`
469
+ gap: ${O};
470
+ `,Wt=f().div`
444
471
  display: flex;
445
472
  align-items: center;
446
473
  justify-content: center;
@@ -452,7 +479,7 @@
452
479
  transform: rotate(-90deg);
453
480
  }
454
481
  `}
455
- `,Ct=function({label:e,onClick:t,onKeyDown:r,icon:o,children:n,ariaLabel:a,ariaLabelledBy:l,ariaDescribedBy:i,dataTest:c}){const s=!!o,d=o||b().createElement(W,{size:"1.5rem"});return b().createElement(Et,{onClick:t,onKeyDown:r,"aria-label":a,"aria-labelledby":l,"aria-describedby":i,"data-test":c},b().createElement(Ot,null,b().createElement(Bt,{$isCustomIcon:s},d),b().createElement(wt,{variant:"default"},e)),n)},jt="40px",St="14px",zt="rgba(0, 0, 0, .2)",Tt=e=>[{image:`linear-gradient(to right, ${e} 30%, transparent)`,position:"0 0",size:`${jt} 100%`,attachment:"local"},{image:`linear-gradient(to right, transparent, ${e} 70%)`,position:"100% 0",size:`${jt} 100%`,attachment:"local"},{image:`radial-gradient(farthest-side at 0 50%, ${zt}, transparent)`,position:"0 0",size:`${St} 100%`,attachment:"scroll"},{image:`radial-gradient(farthest-side at 100% 50%, ${zt}, transparent)`,position:"100% 0",size:`${St} 100%`,attachment:"scroll"}],Dt=f().div`
482
+ `,Ht=function({label:e,onClick:t,onKeyDown:r,icon:o,children:n,ariaLabel:a,ariaLabelledBy:i,ariaDescribedBy:l,dataTest:c}){const s=!!o,d=o||b().createElement(Y,{size:"1.5rem"});return b().createElement(Nt,{onClick:t,onKeyDown:r,"aria-label":a,"aria-labelledby":i,"aria-describedby":l,"data-test":c},b().createElement(_t,null,b().createElement(Wt,{$isCustomIcon:s},d),b().createElement(Mt,{variant:"default"},e)),n)},Xt="40px",Ut="14px",Gt="rgba(0, 0, 0, .2)",Kt=e=>[{image:`linear-gradient(to right, ${e} 30%, transparent)`,position:"0 0",size:`${Xt} 100%`,attachment:"local"},{image:`linear-gradient(to right, transparent, ${e} 70%)`,position:"100% 0",size:`${Xt} 100%`,attachment:"local"},{image:`radial-gradient(farthest-side at 0 50%, ${Gt}, transparent)`,position:"0 0",size:`${Ut} 100%`,attachment:"scroll"},{image:`radial-gradient(farthest-side at 100% 50%, ${Gt}, transparent)`,position:"100% 0",size:`${Ut} 100%`,attachment:"scroll"}],Yt=f().div`
456
483
  overflow-y: ${({$verticalScroll:e})=>e?"auto":"hidden"};
457
484
  overflow-x: ${({$horizontalScroll:e})=>e?"auto":"hidden"};
458
485
  ${({$maxHeight:e})=>e&&h.css`max-height: ${e};`}
@@ -461,7 +488,7 @@
461
488
  ${({$paddingRight:e})=>e&&h.css`padding-right: ${e};`}
462
489
  ${({$paddingBottom:e})=>e&&h.css`padding-bottom: ${e};`}
463
490
  ${({$paddingLeft:e})=>e&&h.css`padding-left: ${e};`}
464
- ${({$verticalScroll:e,$horizontalScroll:t,$fadeEdges:r,$fadeColor:o})=>{if(!r||!o)return"";const n=[...e?(a=o,[{image:`linear-gradient(${a} 30%, transparent)`,position:"0 0",size:`100% ${jt}`,attachment:"local"},{image:`linear-gradient(transparent, ${a} 70%)`,position:"0 100%",size:`100% ${jt}`,attachment:"local"},{image:`radial-gradient(farthest-side at 50% 0, ${zt}, transparent)`,position:"0 0",size:`100% ${St}`,attachment:"scroll"},{image:`radial-gradient(farthest-side at 50% 100%, ${zt}, transparent)`,position:"0 100%",size:`100% ${St}`,attachment:"scroll"}]):[],...t?Tt(o):[]];var a;return n.length?h.css`
491
+ ${({$verticalScroll:e,$horizontalScroll:t,$fadeEdges:r,$fadeColor:o})=>{if(!r||!o)return"";const n=[...e?(a=o,[{image:`linear-gradient(${a} 30%, transparent)`,position:"0 0",size:`100% ${Xt}`,attachment:"local"},{image:`linear-gradient(transparent, ${a} 70%)`,position:"0 100%",size:`100% ${Xt}`,attachment:"local"},{image:`radial-gradient(farthest-side at 50% 0, ${Gt}, transparent)`,position:"0 0",size:`100% ${Ut}`,attachment:"scroll"},{image:`radial-gradient(farthest-side at 50% 100%, ${Gt}, transparent)`,position:"0 100%",size:`100% ${Ut}`,attachment:"scroll"}]):[],...t?Kt(o):[]];var a;return n.length?h.css`
465
492
  background-image: ${n.map(e=>e.image).join(", ")};
466
493
  background-position: ${n.map(e=>e.position).join(", ")};
467
494
  background-size: ${n.map(e=>e.size).join(", ")};
@@ -493,48 +520,48 @@
493
520
  &::-webkit-scrollbar-track:hover { background: rgba(0, 0, 0, .25); }
494
521
  &::-webkit-scrollbar-track:active { background: rgba(0, 0, 0, .25); }
495
522
  &::-webkit-scrollbar-corner { background: 0 0; }
496
- `,Lt=function({children:e,verticalScroll:t=!0,horizontalScroll:r=!1,maxHeight:o,maxWidth:n,fadeEdges:a=!0,fadeColor:l,paddingTop:i,paddingRight:c,paddingBottom:s,paddingLeft:d}){const u=t||r;return b().createElement(Dt,{$verticalScroll:t,$horizontalScroll:r,$maxHeight:o,$maxWidth:n,$fadeEdges:a,$fadeColor:l,$paddingTop:i,$paddingRight:c,$paddingBottom:s,$paddingLeft:d,tabIndex:u?0:void 0},e)},Pt=h.keyframes`
523
+ `,Jt=function({children:e,verticalScroll:t=!0,horizontalScroll:r=!1,maxHeight:o,maxWidth:n,fadeEdges:a=!0,fadeColor:i,paddingTop:l,paddingRight:c,paddingBottom:s,paddingLeft:d}){const u=t||r;return b().createElement(Yt,{$verticalScroll:t,$horizontalScroll:r,$maxHeight:o,$maxWidth:n,$fadeEdges:a,$fadeColor:i,$paddingTop:l,$paddingRight:c,$paddingBottom:s,$paddingLeft:d,tabIndex:u?0:void 0},e)},Vt=h.keyframes`
497
524
  0% { transform: rotate(0deg); }
498
525
  100% { transform: rotate(360deg); }
499
- `,qt=h.keyframes`
526
+ `,Qt=h.keyframes`
500
527
  0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
501
528
  50% { stroke-dasharray: 100, 200; stroke-dashoffset: -15; }
502
529
  100% { stroke-dasharray: 100, 200; stroke-dashoffset: -125; }
503
- `,Mt=f().div`
530
+ `,Zt=f().div`
504
531
  width: ${({$size:e})=>"number"==typeof e?`${e}px`:e};
505
532
  height: ${({$size:e})=>"number"==typeof e?`${e}px`:e};
506
533
  display: inline-grid;
507
534
  place-items: center;
508
- `,It=f().svg`
535
+ `,er=f().svg`
509
536
  width: 100%;
510
537
  height: 100%;
511
538
  transform-origin: center;
512
539
  overflow: visible;
513
540
  ${({$animate:e})=>e&&h.css`
514
- animation: ${Pt} 1.4s linear infinite;
541
+ animation: ${Vt} 1.4s linear infinite;
515
542
  `}
516
- `,Ft=f().circle`
543
+ `,tr=f().circle`
517
544
  fill: none;
518
545
  stroke: ${g._q};
519
546
  stroke-width: ${({$strokeWidth:e})=>e}px;
520
547
  stroke-linecap: round;
521
548
  ${({$animate:e})=>e&&h.css`
522
- animation: ${qt} 1.4s ease-in-out infinite;
549
+ animation: ${Qt} 1.4s ease-in-out infinite;
523
550
  `}
524
551
 
525
552
  ${({$animate:e})=>!e&&h.css`
526
553
  stroke-dasharray: 94.2 31.4;
527
554
  stroke-dashoffset: 0;
528
555
  `}
529
- `,Rt=({size:e=48,strokeWidth:t=4,animate:r=!0})=>b().createElement(Mt,{$size:e,role:"progressbar","aria-label":"Loading","aria-busy":r},b().createElement(It,{viewBox:"0 0 50 50",$animate:r,focusable:"false","aria-hidden":"true"},b().createElement(Ft,{className:"path",cx:"25",cy:"25",r:"20",$animate:r,$strokeWidth:t}))),At=f().div`
556
+ `,rr=({size:e=48,strokeWidth:t=4,animate:r=!0})=>b().createElement(Zt,{$size:e,role:"progressbar","aria-label":"Loading","aria-busy":r},b().createElement(er,{viewBox:"0 0 50 50",$animate:r,focusable:"false","aria-hidden":"true"},b().createElement(tr,{className:"path",cx:"25",cy:"25",r:"20",$animate:r,$strokeWidth:t}))),or=f().div`
530
557
  display: flex;
531
558
  align-items: center;
532
559
  position: relative;
533
560
  width: 100%;
534
561
  height: 2.5rem;
535
- padding: ${x} ${k};
536
- gap: ${x};
537
- border-radius: ${C};
562
+ padding: ${k} ${O};
563
+ gap: ${k};
564
+ border-radius: ${T};
538
565
  border: 1px solid ${g.hN};
539
566
  background-color: transparent;
540
567
  box-sizing: border-box;
@@ -551,7 +578,7 @@
551
578
  cursor: not-allowed;
552
579
  pointer-events: none;
553
580
  `}
554
- `,Nt=f().span`
581
+ `,nr=f().span`
555
582
  display: flex;
556
583
  align-items: center;
557
584
  justify-content: center;
@@ -559,14 +586,14 @@
559
586
  color: ${g.kE};
560
587
  width: 1rem;
561
588
  height: 1rem;
562
- `,_t=f().input`
589
+ `,ar=f().input`
563
590
  flex: 1;
564
591
  min-width: 0;
565
592
  border: none;
566
593
  outline: none;
567
594
  background: transparent;
568
595
  color: ${g.eg};
569
- font-size: ${m};
596
+ font-size: ${$};
570
597
  line-height: 1.5;
571
598
  padding: 0;
572
599
 
@@ -590,7 +617,7 @@
590
617
  [dir='rtl'] & {
591
618
  text-align: right;
592
619
  }
593
- `,Ht=f().span`
620
+ `,ir=f().span`
594
621
  display: flex;
595
622
  align-items: center;
596
623
  justify-content: center;
@@ -598,7 +625,7 @@
598
625
  width: 1rem;
599
626
  height: 1rem;
600
627
  color: ${g._q};
601
- `,Xt=f().button`
628
+ `,lr=f().button`
602
629
  display: flex;
603
630
  align-items: center;
604
631
  justify-content: center;
@@ -622,24 +649,24 @@
622
649
  outline-offset: 2px;
623
650
  border-radius: 2px;
624
651
  }
625
- `,Gt=function({placeholder:e,value:t,onChange:r,onSearch:o,onClear:n,debounce:a=500,isLoading:l=!1,disabled:i=!1,autoFocus:c=!1,inputRef:s,"aria-label":d}){var u;const h=void 0!==t,[f,g]=(0,p.useState)(""),m=(0,p.useRef)(null),v=null!==(u=s)&&void 0!==u?u:m,y=h?null!=t?t:"":f,$=y.length>0;(0,p.useEffect)(()=>{if(h||!o)return;const e=setTimeout(()=>{o(f)},a);return()=>clearTimeout(e)},[f,a,o,h]),(0,p.useEffect)(()=>{c&&v.current&&v.current.focus()},[c,v]);const x=(0,p.useCallback)(e=>{const t=e.target.value;h?null==r||r(t):g(t)},[h,r]),w=(0,p.useCallback)(()=>{var e;n?n():h?null==r||r(""):(g(""),null==o||o("")),null===(e=v.current)||void 0===e||e.focus()},[n,h,r,o,v]),k=(0,p.useCallback)(e=>{var t;e.target===e.currentTarget&&(null===(t=v.current)||void 0===t||t.focus())},[v]);return b().createElement(At,{$disabled:i,onClick:k},b().createElement(Nt,{"aria-hidden":"true"},b().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",focusable:"false"},b().createElement("circle",{cx:"11",cy:"11",r:"8"}),b().createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))),b().createElement(_t,{ref:v,type:"search",role:"searchbox",placeholder:e,value:y,onChange:x,disabled:i,"aria-label":null!=d?d:e}),l&&$&&b().createElement(Ht,null,b().createElement(Rt,{size:16,strokeWidth:3})),!l&&$&&b().createElement(Xt,{type:"button",onClick:w,"aria-label":"Clear search",tabIndex:0},b().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",focusable:"false","aria-hidden":"true"},b().createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),b().createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))))};var Wt=d(764),Kt=d.n(Wt);const Ut=f().div`
652
+ `,cr=function({placeholder:e,value:t,onChange:r,onSearch:o,onClear:n,debounce:a=500,isLoading:i=!1,disabled:l=!1,autoFocus:c=!1,inputRef:s,"aria-label":d}){var u;const h=void 0!==t,[f,g]=(0,p.useState)(""),m=(0,p.useRef)(null),$=null!==(u=s)&&void 0!==u?u:m,v=h?null!=t?t:"":f,y=v.length>0;(0,p.useEffect)(()=>{if(h||!o)return;const e=setTimeout(()=>{o(f)},a);return()=>clearTimeout(e)},[f,a,o,h]),(0,p.useEffect)(()=>{c&&$.current&&$.current.focus()},[c,$]);const x=(0,p.useCallback)(e=>{const t=e.target.value;h?null==r||r(t):g(t)},[h,r]),w=(0,p.useCallback)(()=>{var e;n?n():h?null==r||r(""):(g(""),null==o||o("")),null===(e=$.current)||void 0===e||e.focus()},[n,h,r,o,$]),k=(0,p.useCallback)(e=>{var t;e.target===e.currentTarget&&(null===(t=$.current)||void 0===t||t.focus())},[$]);return b().createElement(or,{$disabled:l,onClick:k},b().createElement(nr,{"aria-hidden":"true"},b().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",focusable:"false"},b().createElement("circle",{cx:"11",cy:"11",r:"8"}),b().createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))),b().createElement(ar,{ref:$,type:"search",role:"searchbox",placeholder:e,value:v,onChange:x,disabled:l,"aria-label":null!=d?d:e}),i&&y&&b().createElement(ir,null,b().createElement(rr,{size:16,strokeWidth:3})),!i&&y&&b().createElement(lr,{type:"button",onClick:w,"aria-label":"Clear search",tabIndex:0},b().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",focusable:"false","aria-hidden":"true"},b().createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),b().createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))))};var sr=d(764),dr=d.n(sr);const ur=f().div`
626
653
  display: flex;
627
654
  flex-direction: column;
628
655
  flex-shrink: 0;
629
- gap: ${x};
656
+ gap: ${k};
630
657
  justify-content: start;
631
658
  align-items: center;
632
- `,Jt=f().div`
659
+ `,pr=f().div`
633
660
  display: flex;
634
661
  flex-direction: row;
635
662
  justify-content: center;
636
- gap: ${k};
663
+ gap: ${O};
637
664
  padding: 1px;
638
665
  width: 100%;
639
- `,Vt=f()(Kt())`
666
+ `,br=f()(dr())`
640
667
  height: 3.5rem;
641
668
  flex: 1;
642
- border-radius: ${j} !important;
669
+ border-radius: ${z} !important;
643
670
  overflow: hidden;
644
671
  width: 100%;
645
672
 
@@ -654,20 +681,54 @@
654
681
  &.Mui-focused .MuiOutlinedInput-notchedOutline {
655
682
  border-color: ${g.z2};
656
683
  }
657
- `,Yt=f().label`
684
+ `,hr=f().label`
658
685
  align-self: flex-start;
659
686
  color: ${g.BP};
660
- font-size: ${m};
687
+ font-size: ${$};
661
688
  font-style: normal;
662
689
  font-weight: 400;
663
690
  line-height: normal;
664
- `,Qt=f().div`
691
+ `,fr=f().div`
665
692
  display: flex;
666
693
  align-items: center;
667
694
  justify-content: center;
668
695
  flex-shrink: 0;
669
696
  color: ${g._q};
670
- `;const Zt=function(e){var{title:t=null,icon:r=null,children:o,ariaLabel:n}=e,a=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["title","icon","children","ariaLabel"]);const l=(0,p.useId)(),i=`select-${l}`,c=t?`select-label-${l}`:void 0;return b().createElement(Ut,null,t&&b().createElement(Yt,{id:c,htmlFor:i},t),b().createElement(Jt,null,r&&b().createElement(Qt,null,r),b().createElement(Vt,Object.assign({},a,{id:i,labelId:c,"aria-label":n,IconComponent:G}),o)))},er=f().textarea`
697
+ `;const gr=function(e){var{title:t=null,icon:r=null,children:o,ariaLabel:n}=e,a=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["title","icon","children","ariaLabel"]);const i=(0,p.useId)(),l=`select-${i}`,c=t?`select-label-${i}`:void 0;return b().createElement(ur,null,t&&b().createElement(hr,{id:c,htmlFor:l},t),b().createElement(pr,null,r&&b().createElement(fr,null,r),b().createElement(br,Object.assign({},a,{id:l,labelId:c,"aria-label":n,IconComponent:K}),o)))};var mr=d(586);const $r="1rem",vr="0.25rem",yr=f().div`
698
+ display: flex;
699
+ flex-direction: column;
700
+ width: 100%;
701
+
702
+ ${({$valueLabelSpace:e})=>e&&`\n gap: ${S};\n `}
703
+ `,xr=f().label`
704
+ display: flex;
705
+ flex-direction: column;
706
+ cursor: pointer;
707
+ `,wr=f().span`
708
+ color: ${g.eg};
709
+ font-size: ${y};
710
+ font-weight: ${x};
711
+ `,kr=f().span`
712
+ color: ${g.XN};
713
+ font-size: ${v};
714
+ font-weight: ${x};
715
+ `,Er=f().div`
716
+ display: flex;
717
+ align-items: center;
718
+ gap: ${k};
719
+ width: 100%;
720
+
721
+ ${({$showMarkTicks:e})=>!e&&"\n & .MuiSlider-mark {\n display: none;\n }\n "}
722
+
723
+ ${({$animate:e})=>!e&&`\n & .MuiSlider-thumb,\n & .MuiSlider-track,\n & .MuiSlider-valueLabel {\n transition: none;\n }\n\n & .MuiSlider-thumb:hover:not(.Mui-focusVisible),\n & .MuiSlider-thumb.Mui-active:not(.Mui-focusVisible) {\n box-shadow: 0 2px 4px 0 ${g.xA};\n }\n `}
724
+
725
+ ${({$isRtl:e})=>e&&"\n /* MUI only mirrors right:-anchored positioning under RTL, not the LTR transforms paired\n with it (that half normally comes from stylis-plugin-rtl, which this library can't add) */\n && .MuiSlider-thumb {\n transform: translate(50%, -50%);\n }\n\n && .MuiSlider-mark {\n transform: translate(1px, -50%);\n }\n\n && .MuiSlider-markLabel {\n transform: translateX(50%);\n }\n "}
726
+ `,Or=f().span`
727
+ display: flex;
728
+ align-items: center;
729
+ color: ${g.kE};
730
+ font-size: ${"1.5rem"};
731
+ `,Br=(0,mr.styled)(ot.Slider)({color:g._q,height:"0.3125rem","& .MuiSlider-rail":{backgroundColor:"currentColor",opacity:.38},"& .MuiSlider-track":{border:"1px solid currentColor",backgroundColor:g._q},"& .MuiSlider-thumb":{height:$r,width:$r,backgroundColor:"currentColor",boxShadow:`0 2px 4px 0 ${g.xA}`,"&:hover, &.Mui-focusVisible":{boxShadow:`0 0 0 0.5rem ${g.ot}`},"&.Mui-active":{boxShadow:`0 0 0 0.875rem ${g.ot}`}},"& .MuiSlider-mark":{width:vr,height:vr,borderRadius:"50%",backgroundColor:g.qg,"&.MuiSlider-markActive":{backgroundColor:g.bD}},"& .MuiSlider-markLabel":{color:g.XN,fontSize:m,unicodeBidi:"plaintext"},"& .MuiSlider-valueLabel":{backgroundColor:g.eg,color:g.bD,fontSize:m,fontWeight:"600",borderRadius:z,padding:`${w} ${k}`,"& .MuiSlider-valueLabelLabel":{unicodeBidi:"plaintext"}},"&.Mui-disabled":{color:g.qg,"& .MuiSlider-track":{backgroundColor:g.qg}}}),Cr={AUTO:"auto",ON:"on",OFF:"off"},Sr=(Object.values(Cr),Cr.AUTO),jr=!0,Tr=!0;const zr=function(e){var{label:t,helperText:r,iconStart:o,iconEnd:n,showMarkTicks:a=jr,animate:i=Tr,valueLabelDisplay:l=Sr,onChange:c,onChangeCommitted:s,id:d,dataTest:u,ariaLabel:h,ariaLabelledBy:f,ariaDescribedBy:g,slotProps:m}=e,$=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["label","helperText","iconStart","iconEnd","showMarkTicks","animate","valueLabelDisplay","onChange","onChangeCommitted","id","dataTest","ariaLabel","ariaLabelledBy","ariaDescribedBy","slotProps"]);const v=(0,p.useId)(),y=null!=d?d:v,x=t?`${y}-label`:void 0,w=r?`${y}-helper`:void 0,k=(0,p.useRef)(null),[E,O]=(0,p.useState)(!1);(0,p.useEffect)(()=>{const e=k.current;if(!e)return;const t=()=>{O("rtl"===window.getComputedStyle(e).direction)};t();const r=new MutationObserver(t);return r.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),()=>r.disconnect()},[]);const B=(0,mr.useTheme)(),C=(0,p.useMemo)(()=>E&&"rtl"!==B.direction?(0,mr.createTheme)(B,{direction:"rtl"}):B,[B,E]),S=(0,p.useCallback)((e,t)=>{null==c||c(e,Array.isArray(t)?t[0]:t)},[c]),j=(0,p.useCallback)((e,t)=>{null==s||s(e,Array.isArray(t)?t[0]:t)},[s]);return b().createElement(yr,{ref:k,$valueLabelSpace:"off"!==l},(t||r)&&b().createElement(xr,{htmlFor:y},t&&b().createElement(wr,{id:x},t),r&&b().createElement(kr,{id:w},r)),b().createElement(Er,{$showMarkTicks:a,$animate:i,$isRtl:E},o&&b().createElement(Or,{"aria-hidden":!0},o),b().createElement(mr.ThemeProvider,{theme:C},b().createElement(Br,Object.assign({},$,{valueLabelDisplay:l,onChange:S,onChangeCommitted:j,"aria-label":h,"aria-labelledby":h?void 0:f||x,"data-test":u,slotProps:Object.assign(Object.assign({},m),{input:Object.assign(Object.assign({id:y,"aria-describedby":g||w},u?{"data-test":`${u}-input`}:{}),"object"==typeof(null==m?void 0:m.input)?m.input:{})})}))),n&&b().createElement(Or,{"aria-hidden":!0},n)))},Mr=f().textarea`
671
732
  flex: 1;
672
733
  background: ${g.bD};
673
734
  background-clip: padding-box;
@@ -677,7 +738,7 @@
677
738
  resize: none;
678
739
  -webkit-transition: none;
679
740
  transition: none;
680
- border-radius: ${C};
741
+ border-radius: ${T};
681
742
  font-size: 1rem;
682
743
  line-height: 1;
683
744
  min-height: 2.5rem;
@@ -694,14 +755,14 @@
694
755
  outline: ${g._q} solid 2px;
695
756
  box-shadow: 0 0 0 2px ${g.f$} inset 0 0 0 1px ${g._q};
696
757
  }
697
- `;const tr=function(e){var{placeholder:t="",rows:r=1,maxLength:o=250,autoFocus:n=!0,inputRef:a,onChange:l,onKeyDown:i}=e,c=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["placeholder","rows","maxLength","autoFocus","inputRef","onChange","onKeyDown"]);const s=(0,p.useRef)(null);return(0,p.useEffect)(()=>{n&&s.current&&s.current.focus()},[n]),b().createElement(er,Object.assign({},c,{rows:r,maxLength:o,ref:e=>{s.current=e,"function"==typeof a?a(e):a&&"current"in a&&(a.current=e)},placeholder:t,onChange:l,onKeyDown:i}))},rr=f()(He.TextField)`
758
+ `;const Lr=function(e){var{placeholder:t="",rows:r=1,maxLength:o=250,autoFocus:n=!0,inputRef:a,onChange:i,onKeyDown:l}=e,c=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["placeholder","rows","maxLength","autoFocus","inputRef","onChange","onKeyDown"]);const s=(0,p.useRef)(null);return(0,p.useEffect)(()=>{n&&s.current&&s.current.focus()},[n]),b().createElement(Mr,Object.assign({},c,{rows:r,maxLength:o,ref:e=>{s.current=e,"function"==typeof a?a(e):a&&"current"in a&&(a.current=e)},placeholder:t,onChange:i,onKeyDown:l}))},Dr=f()(ot.TextField)`
698
759
  .MuiInputBase-root {
699
760
  display: flex;
700
- padding: ${k};
761
+ padding: ${O};
701
762
  align-items: center;
702
- gap: ${x};
763
+ gap: ${k};
703
764
  align-self: stretch;
704
- border-radius: ${C};
765
+ border-radius: ${T};
705
766
  border: 1px solid ${g.hN};
706
767
  color: ${g.XN};
707
768
 
@@ -723,67 +784,67 @@
723
784
  .MuiOutlinedInput-notchedOutline {
724
785
  border: none;
725
786
  }
726
- `,or=f().div`
787
+ `,Pr=f().div`
727
788
  color: ${g.eg};
728
- font-size: ${m};
789
+ font-size: ${$};
729
790
  font-style: normal;
730
791
  font-weight: 400;
731
792
  line-height: normal;
732
- `,nr=f().div`
793
+ `,qr=f().div`
733
794
  color: ${g.eg};
734
- font-size: ${m};
795
+ font-size: ${$};
735
796
  font-style: normal;
736
797
  font-weight: 400;
737
798
  line-height: normal;
738
- padding: 0 ${k};
799
+ padding: 0 ${O};
739
800
 
740
801
  ${({$error:e})=>e&&h.css`
741
802
  color: ${g._r};
742
803
  `}
743
- `,ar=f().div`
804
+ `,Ir=f().div`
744
805
  display: flex;
745
806
  flex-direction: column;
746
807
  width: 100%;
747
- gap: ${x};
748
- `;const lr=function(e){var{label:t,helperText:r,error:o,placeholder:n}=e,a=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["label","helperText","error","placeholder"]);return b().createElement(ar,null,t&&b().createElement(or,null,t),b().createElement(rr,Object.assign({},a,{$error:o,placeholder:n})),r&&b().createElement(nr,{$error:o},r))};var ir=d(586);const cr={RIGHT:"right",LEFT:"left",TOP:"top",BOTTOM:"bottom"},sr=Object.values(cr)[0],dr=f().div`
808
+ gap: ${k};
809
+ `;const Ar=function(e){var{label:t,helperText:r,error:o,placeholder:n}=e,a=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["label","helperText","error","placeholder"]);return b().createElement(Ir,null,t&&b().createElement(Pr,null,t),b().createElement(Dr,Object.assign({},a,{$error:o,placeholder:n})),r&&b().createElement(qr,{$error:o},r))},Fr={RIGHT:"right",LEFT:"left",TOP:"top",BOTTOM:"bottom"},Rr=Object.values(Fr)[0],Nr=f().div`
749
810
  display: flex;
750
- ${({$textPosition:e})=>{if(e===cr.TOP||e===cr.BOTTOM)return h.css`
811
+ ${({$textPosition:e})=>{if(e===Fr.TOP||e===Fr.BOTTOM)return h.css`
751
812
  flex-direction: column;
752
813
  gap: .1rem;
753
814
  `;const t=h.css`
754
815
  flex-direction: row;
755
816
  gap: 1rem;
756
- `;return e===cr.LEFT?h.css`
817
+ `;return e===Fr.LEFT?h.css`
757
818
  ${t}
758
819
  justify-content: end;
759
820
  `:t}};
760
- `,ur=f().div`
821
+ `,_r=f().div`
761
822
  display: flex;
762
823
  flex-direction: row;
763
824
  align-items: start;
764
825
  justify-content: center;
765
826
  padding: 0.3rem 0px;
766
- `,pr=f().label`
827
+ `,Wr=f().label`
767
828
  display: flex;
768
829
  flex-direction: column;
769
- order: ${({$textPosition:e})=>e===cr.LEFT||e===cr.TOP?-1:1};
830
+ order: ${({$textPosition:e})=>e===Fr.LEFT||e===Fr.TOP?-1:1};
770
831
  cursor: pointer;
771
832
  ${({$hasLabel:e,$hasHelperText:t})=>(!e||!t)&&"justify-content: center;"}
772
- ${({$textPosition:e})=>e===cr.TOP||e===cr.BOTTOM?h.css`
833
+ ${({$textPosition:e})=>e===Fr.TOP||e===Fr.BOTTOM?h.css`
773
834
  align-items: center;
774
- `:e===cr.LEFT?h.css`align-items: end;`:h.css`
835
+ `:e===Fr.LEFT?h.css`align-items: end;`:h.css`
775
836
  align-items: start;
776
837
  `};
777
- `,br=f().span`
838
+ `,Hr=f().span`
778
839
  color: ${g.eg};
779
- font-size: ${"1.125rem"};
840
+ font-size: ${y};
780
841
  font-style: normal;
781
842
  font-weight: 400;
782
843
  line-height: normal;
783
- `,hr=f().span`
844
+ `,Xr=f().span`
784
845
  color: ${g.XN};
785
846
  font-size: ${v};
786
847
  font-style: normal;
787
848
  font-weight: 400;
788
849
  line-height: normal;
789
- `,fr=(0,ir.styled)(He.Switch)(({theme:e})=>({width:"2.3rem",height:"1.2rem",padding:0,display:"flex","&:active":{"& .MuiSwitch-switchBase.Mui-checked":{transform:"translateX(1.2rem)"}},"& .MuiSwitch-switchBase":{padding:"0.2rem","&.Mui-checked":{transform:"translateX(1.2rem)",color:g.bD,"& + .MuiSwitch-track":Object.assign({opacity:1,backgroundColor:g._q},e.applyStyles("dark",{backgroundColor:g._q}))}},"& .MuiSwitch-thumb":{boxShadow:`0 2px 4px 0 ${g.xA}`,width:"0.6rem",height:"0.6rem",borderRadius:"0.5rem",transition:e.transitions.create(["width"],{duration:200}),transform:"translateY(1px)"},"& .MuiSwitch-track":Object.assign({borderRadius:"0.6rem",opacity:1,backgroundColor:g.kE,boxSizing:"border-box"},e.applyStyles("dark",{backgroundColor:g.AC}))}));const gr=function(e){var{label:t,helperText:r,textPosition:o=sr,onChange:n,ariaLabel:a,ariaLabelledBy:l,ariaDescribedBy:i,id:c}=e,s=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["label","helperText","textPosition","onChange","ariaLabel","ariaLabelledBy","ariaDescribedBy","id"]);const d=(0,p.useId)(),u=null!=c?c:d,h=t?`${u}-label`:void 0,f=r?`${u}-helper`:void 0;return b().createElement(dr,{$textPosition:o},(t||r)&&b().createElement(pr,{$textPosition:o,htmlFor:u,$hasLabel:!!t,$hasHelperText:!!r},t&&b().createElement(br,{id:h},t),r&&b().createElement(hr,{id:f},r)),b().createElement(ur,null,b().createElement(fr,Object.assign({},s,{id:u,onChange:n,"aria-label":a,"aria-labelledby":a?void 0:l||h,"aria-describedby":i||f}))))};var mr=d(48);return u})());
850
+ `,Ur=(0,mr.styled)(ot.Switch)(({theme:e})=>({width:"2.3rem",height:"1.2rem",padding:0,display:"flex","&:active":{"& .MuiSwitch-switchBase.Mui-checked":{transform:"translateX(1.2rem)"}},"& .MuiSwitch-switchBase":{padding:"0.2rem","&.Mui-checked":{transform:"translateX(1.2rem)",color:g.bD,"& + .MuiSwitch-track":Object.assign({opacity:1,backgroundColor:g._q},e.applyStyles("dark",{backgroundColor:g._q}))}},"& .MuiSwitch-thumb":{boxShadow:`0 2px 4px 0 ${g.xA}`,width:"0.6rem",height:"0.6rem",borderRadius:"0.5rem",transition:e.transitions.create(["width"],{duration:200}),transform:"translateY(1px)"},"& .MuiSwitch-track":Object.assign({borderRadius:"0.6rem",opacity:1,backgroundColor:g.kE,boxSizing:"border-box"},e.applyStyles("dark",{backgroundColor:g.AC}))}));var Gr=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r};const Kr=function(e){var{label:t,helperText:r,textPosition:o=Rr,onChange:n,ariaLabel:a,ariaLabelledBy:i,ariaDescribedBy:l,id:c,slotProps:s}=e,d=Gr(e,["label","helperText","textPosition","onChange","ariaLabel","ariaLabelledBy","ariaDescribedBy","id","slotProps"]);const u=(0,p.useId)(),h=null!=c?c:u,f=t?`${h}-label`:void 0,g=r?`${h}-helper`:void 0,m=a?void 0:i||f,$={role:"switch","aria-label":a,"aria-labelledby":m,"aria-describedby":l||(a||m?g:void 0)},v=null!=s?s:{},{input:y}=v,x=Gr(v,["input"]),w="function"==typeof y?e=>Object.assign(Object.assign({},$),y(e)):Object.assign(Object.assign({},$),y);return b().createElement(Nr,{$textPosition:o},(t||r)&&b().createElement(Wr,{$textPosition:o,htmlFor:h,$hasLabel:!!t,$hasHelperText:!!r},t&&b().createElement(Hr,{id:f},t),r&&b().createElement(Xr,{id:g},r)),b().createElement(_r,null,b().createElement(Ur,Object.assign({},d,{id:h,onChange:n,slotProps:Object.assign(Object.assign({},x),{input:w})}))))};var Yr=d(48);return u})());