@bigbluebutton/bbb-ui-components-react 0.6.0 → 0.7.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 (45) hide show
  1. package/README.md +27 -0
  2. package/dist/components/Accordion.js +7 -3
  3. package/dist/components/Hint.js +2 -2
  4. package/dist/components/Input.js +1 -1
  5. package/dist/components/Modal.js +14 -14
  6. package/dist/components/ScrollArea.js +42 -0
  7. package/dist/components/Search.js +1 -1
  8. package/dist/components/TextAreaInput.js +8 -3
  9. package/dist/components/Toggle.js +5 -5
  10. package/dist/components/colors.js +1 -0
  11. package/dist/components/index.js +283 -233
  12. package/dist/esm/components/Accordion/component.js +3 -3
  13. package/dist/esm/components/Accordion/constants.js +7 -1
  14. package/dist/esm/components/Accordion/styles.js +5 -0
  15. package/dist/esm/components/Hint/component.js +14 -3
  16. package/dist/esm/components/Input/styles.js +2 -2
  17. package/dist/esm/components/Modal/styles.js +2 -2
  18. package/dist/esm/components/ScrollArea/component.js +15 -0
  19. package/dist/esm/components/ScrollArea/constants.js +3 -0
  20. package/dist/esm/components/ScrollArea/index.js +1 -0
  21. package/dist/esm/components/ScrollArea/styles.js +69 -0
  22. package/dist/esm/components/ScrollArea/types.js +1 -0
  23. package/dist/esm/components/Search/styles.js +2 -2
  24. package/dist/esm/components/TextAreaInput/styles.js +7 -2
  25. package/dist/esm/components/Toggle/styles.js +3 -3
  26. package/dist/esm/components/index.js +1 -0
  27. package/dist/esm/index.js +1 -0
  28. package/dist/esm/stylesheets/colors.js +57 -0
  29. package/dist/esm/stylesheets/palette.js +6 -0
  30. package/dist/types/components/Accordion/component.d.ts +1 -1
  31. package/dist/types/components/Accordion/constants.d.ts +7 -1
  32. package/dist/types/components/Accordion/styles.d.ts +2 -1
  33. package/dist/types/components/Accordion/types.d.ts +7 -1
  34. package/dist/types/components/Hint/component.d.ts +2 -1
  35. package/dist/types/components/Hint/types.d.ts +6 -2
  36. package/dist/types/components/ScrollArea/component.d.ts +11 -0
  37. package/dist/types/components/ScrollArea/constants.d.ts +3 -0
  38. package/dist/types/components/ScrollArea/index.d.ts +1 -0
  39. package/dist/types/components/ScrollArea/styles.d.ts +2 -0
  40. package/dist/types/components/ScrollArea/types.d.ts +37 -0
  41. package/dist/types/components/index.d.ts +1 -0
  42. package/dist/types/index.d.ts +1 -0
  43. package/dist/types/stylesheets/colors.d.ts +57 -0
  44. package/dist/types/stylesheets/palette.d.ts +4 -0
  45. package/package.json +21 -1
@@ -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),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var b=n(f,o);o.byIndex=i,t.splice(i,0,{identifier:u,updater:b,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))}}},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:()=>Ge,BBBCheckbox:()=>Ot,BBBDivider:()=>Ct,BBBHint:()=>It,BBBInput:()=>qt,BBBModal:()=>Jt,BBBNavigation:()=>rr,BBBSearch:()=>br,BBBSelect:()=>wr,BBBSpinner:()=>cr,BBBTextAreaInput:()=>kr,BBBTextInput:()=>Sr,BBBToggle:()=>Ar,BBBTypography:()=>Vt,BBButton:()=>gt,borderRadiusDefault:()=>ae,borderRadiusSmall:()=>le,colorBackgroundBlue:()=>F,colorBackgroundLight:()=>M,colorBackgroundWhite:()=>I,colorBorderDefault:()=>H,colorBorderError:()=>A,colorBorderSelected:()=>R,colorBrand1:()=>O,colorBrand2:()=>B,colorBrand3:()=>C,colorBrandAux:()=>S,colorBrandLight:()=>j,colorDarkGray:()=>w,colorError:()=>P,colorErrorDark:()=>D,colorGray:()=>x,colorHoverDark:()=>G,colorHoverLight:()=>Y,colorHoverNeutral:()=>Q,colorIconBlue:()=>W,colorIconDefault:()=>K,colorIconWhite:()=>U,colorLightGray:()=>$,colorNeutral2:()=>m,colorNeutral3:()=>g,colorNeutral4:()=>v,colorSuccess:()=>L,colorTextDefault:()=>q,colorTextLight:()=>N,colorWarning:()=>z,colorWhite:()=>y,spacingLarge:()=>oe,spacingMedium:()=>te,spacingMediumLarge:()=>re,spacingSmall:()=>Z,spacingSmallMedium:()=>ee,spacingXLarge:()=>ne,spacingXSmall:()=>J});var p=d(155),f=d.n(p),b=d(694),h=d.n(b);const m="var(--color-neutral-2, #717C91)",g="var(--color-neutral-3, #B0BDC9)",v="var(--color-neutral-4, #DCE4EC)",y="var(--color-neutral-white, #FFFFFF)",$="var(--color-light-gray, #F4F6FA)",x="var(--color-gray, #4E5A66)",w="var(--color-dark-gray, #393C48)",E="var(--color-brand-1, #0F70D7)",k="var(--color-brand-light, #E5EFFB)",O=`var(--color-primary, ${E})`,B=`var(--color-brand-2, ${E})`,C=`var(--color-brand-3, ${E})`,j=`var(--color-blue-aux, ${k})`,S=`var(--color-brand-aux, ${k})`,T="var(--color-error, #DF2721)",L="var(--color-success, #2DD36F)",z="var(--color-warning, #F59240)",P=`var(--color-danger, ${T})`,D="var(--color-danger-dark, var(--color-error-dark, #AE1010))",I=`var(--color-background-white, ${y})`,M=`var(--color-background-light, ${$})`,F=`var(--color-background-blue, ${k})`,R=`var(--color-border-selected, ${E})`,A=`var(--color-border-error, ${T})`,H=`var(--default-border, var(--color-border-default, ${g}))`,q=`var(--color-text-default, ${w})`,N=`var(--color-text-light, ${m})`,K=`var(--color-icon-default, ${m})`,W=`var(--color-icon-blue, ${E})`,U=`var(--color-icon-white, ${y})`,G="var(--color-hover-dark, #0C57A7)",Y="var(--color-hover-light, #D4E5FA)",Q=`var(--color-hover-neutral, ${v})`,X="0.875rem",_="1rem",V="400",J="0.25rem",Z="0.5rem",ee="0.75rem",te="1rem",re="1.25rem",oe="1.5rem",ne="2rem",ae="1rem",le="0.5rem",ie=h().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,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`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  background: none;
5
5
  border: none;
6
6
  cursor: pointer;
7
- padding: ${Z};
7
+ padding: ${x};
8
8
  background-color: transparent;
9
- border-radius: ${ae};
9
+ border-radius: ${C};
10
10
 
11
11
  &:hover {
12
- background: ${M};
12
+ background: ${g.GW};
13
13
  }
14
- `,ce=h().div`
14
+ `,z=f().div`
15
15
  display: flex;
16
16
  align-items: center;
17
17
  width: 100%;
18
- padding: ${Z};
19
- border-radius: ${ae};
20
- gap: ${te};
21
- `,se=h().div`
18
+ padding: ${x};
19
+ border-radius: ${C};
20
+ gap: ${k};
21
+ `,T=f().div`
22
22
  width: 1.375rem;
23
23
  height: 1.375rem;
24
24
  aspect-ratio: 1;
@@ -28,10 +28,10 @@
28
28
  transform: ${({$expanded:e})=>e?"rotate(180deg)":"rotate(0deg)"};
29
29
  transition: all 0.3s ease;
30
30
  border-radius: 50%;
31
- background-color: ${O};
31
+ background-color: ${g._q};
32
32
 
33
33
  svg {
34
- color: ${y};
34
+ color: ${g.bD};
35
35
  font-size: 1.25rem;
36
36
  transition: transform 0.3s ease;
37
37
  }
@@ -39,18 +39,22 @@
39
39
  &:hover {
40
40
  filter: brightness(0.9);
41
41
  }
42
- `,de=h().span`
43
- font-size: ${_};
42
+ `,D=f().span`
43
+ display: flex;
44
+ align-items: center;
45
+ margin-left: ${({$position:e})=>"right"===e?"auto":"0"};
46
+ `,L=f().span`
47
+ font-size: ${v};
44
48
  font-weight: 400;
45
- color: ${q};
49
+ color: ${g.eg};
46
50
  overflow: hidden;
47
51
  text-overflow: ellipsis;
48
- `,ue=h().div`
52
+ `,P=f().div`
49
53
  max-height: ${({$expanded:e,$scrollHeight:t})=>e?`${t}px`:"0"};
50
54
  overflow: hidden;
51
55
  transition: max-height 0.3s ease-in-out;
52
56
  padding: 0px 1rem;
53
- `;var pe={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},fe=p.createContext&&p.createContext(pe),be=["attr","size","title"];function he(){return he=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},he.apply(null,arguments)}function me(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 ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach(function(t){ve(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ve(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 ye(e){return e&&e.map((e,t)=>p.createElement(e.tag,ge({key:t},e.attr),ye(e.child)))}function $e(e){return t=>p.createElement(xe,he({attr:ge({},e.attr)},t),ye(e.child))}function xe(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,be),i=n||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),p.createElement("svg",he({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,l,{className:r,style:ge(ge({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!==fe?p.createElement(fe.Consumer,null,e=>t(e)):t(pe)}function we(e){return $e({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 Ee(e){return $e({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 ke(e){return $e({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 Oe(e){return $e({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 Be(e){return $e({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 Ce(e){return $e({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 je=d(189),Se=d.n(je),Te=d(72),Le=d.n(Te),ze=d(825),Pe=d.n(ze),De=d(659),Ie=d.n(De),Me=d(56),Fe=d.n(Me),Re=d(540),Ae=d.n(Re),He=d(113),qe=d.n(He),Ne=d(2),Ke={};Ke.styleTagTransform=qe(),Ke.setAttributes=Fe(),Ke.insert=Ie().bind(null,"head"),Ke.domAPI=Pe(),Ke.insertStyleElement=Ae(),Le()(Ne.A,Ke),Ne.A&&Ne.A.locals&&Ne.A.locals;const We={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},Ue=(Object.values(We),We.TOP),Ge=function({title:e,tooltipLabel:t,tooltipPlacement:r=Ue,ariaLabel:o,ariaLabelledBy:n,ariaDescribedBy:a,buttonHeader:l=null,children:i}){var c;const[s,d]=(0,p.useState)(!1),u=(0,p.useRef)(null),b=f().createElement(ie,{onClick:()=>d(e=>!e),"aria-label":o,"aria-labelledby":n,"aria-describedby":a},f().createElement(ce,null,f().createElement(se,{$expanded:s},f().createElement(we,null)),f().createElement(de,null,e),l));return f().createElement(f().Fragment,null,t?f().createElement(Se(),{content:t,placement:r},b):b,f().createElement(ue,{ref:u,$expanded:s,$scrollHeight:(null===(c=u.current)||void 0===c?void 0:c.scrollHeight)||0},i))},Ye={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary",SUBTLE:"subtle"},Qe=Object.values(Ye)[0],Xe=Object.values({DEFAULT:"default",DANGER:"danger",NEUTRAL:"neutral"})[0],_e={MEDIUM:"md",SMALL:"sm"},Ve=Object.values(_e)[0],Je={DEFAULT:"default",STACKED:"stacked",CIRCLE:"circle",SQUARED:"squared"},Ze=Object.values(Je)[0],et={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},tt=(Object.values(et),et.TOP),rt={primary:{default:{color:y,background:O,border:O,hoverColor:y,hoverBackground:G,hoverBorder:G,outline:O},danger:{color:y,background:P,border:A,hoverColor:y,hoverBackground:D,hoverBorder:A,outline:P},neutral:{color:x,background:y,border:!1,hoverColor:x,hoverBackground:S,hoverBorder:!1,outline:O}},secondary:{default:{color:O,background:I,border:R,hoverColor:G,hoverBackground:I,hoverBorder:G,outline:O},danger:{color:P,background:I,border:A,hoverColor:D,hoverBackground:I,hoverBorder:D,outline:P},neutral:{color:x,background:y,border:!1,hoverColor:x,hoverBackground:S,hoverBorder:!1,outline:O}},tertiary:{default:{color:O,background:F,border:!1,hoverColor:G,hoverBackground:Y,hoverBorder:!1,outline:O},danger:{color:y,background:D,border:!1,hoverColor:y,hoverBackground:P,hoverBorder:!1,outline:D},neutral:{color:x,background:y,border:!1,hoverColor:x,hoverBackground:S,hoverBorder:!1,outline:O}},subtle:{default:{color:N,iconColor:K,background:"transparent",border:!1,hoverColor:N,hoverBackground:$,hoverBorder:!1,outline:K},danger:{color:P,background:!1,border:!1,hoverColor:D,hoverBackground:$,hoverBorder:!1,outline:P},neutral:{color:x,background:y,border:!1,hoverColor:x,hoverBackground:S,hoverBorder:!1,outline:O}}},ot={color:g,background:M,border:!1,outline:g},nt={sm:{padding:`${Z} ${ee}`},md:{padding:te}},at=b.css`
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`
54
58
  cursor: pointer;
55
59
  user-select: none;
56
60
  font-weight: 600;
@@ -61,9 +65,9 @@
61
65
  position: relative;
62
66
  transition: opacity 0.2s ease-in-out;
63
67
 
64
- ${({$size:e})=>{var t;return`padding: ${(null!==(t=nt[null!=e?e:Ve])&&void 0!==t?t:nt[Ve]).padding};`}}
68
+ ${({$size:e})=>{var t;return`padding: ${(null!==(t=Se[null!=e?e:we])&&void 0!==t?t:Se[we]).padding};`}}
65
69
 
66
- ${({$color:e,$variant:t})=>{const r=e||Xe,o=t||Qe,{color:n,iconColor:a,background:l,border:i,hoverColor:c,hoverBackground:s,hoverBorder:d,outline:u}=rt[o][r];return b.css`
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`
67
71
  & span {
68
72
  color: ${n};
69
73
  }
@@ -83,9 +87,9 @@
83
87
  }
84
88
  `}}
85
89
 
86
- ${({$variant:e})=>e===Ye.SUBTLE&&"\n text-decoration: underline;\n "}
90
+ ${({$variant:e})=>e===ve.SUBTLE&&"\n text-decoration: underline;\n "}
87
91
 
88
- ${({disabled:e})=>{if(!e)return null;const{color:t,background:r,border:o,outline:n}=ot;return b.css`
92
+ ${({disabled:e})=>{if(!e)return null;const{color:t,background:r,border:o,outline:n}=je;return h.css`
89
93
  pointer-events: none;
90
94
  cursor: not-allowed;
91
95
  & span {
@@ -106,18 +110,18 @@
106
110
  outline: 2px solid ${n};
107
111
  }
108
112
  `}}
109
- `,lt=b.css`
113
+ `,Te=h.css`
110
114
  width: 4.5rem;
111
115
  height: 4.5rem;
112
- border-radius: ${ae} !important;
113
- border: 1px solid ${H} !important;
114
- padding: ${Z} !important;
116
+ border-radius: ${C} !important;
117
+ border: 1px solid ${g.hN} !important;
118
+ padding: ${x} !important;
115
119
  box-sizing: border-box;
116
120
  display: flex;
117
121
  flex-direction: column;
118
122
  justify-content: center;
119
123
  align-items: center;
120
- `,it=b.css`
124
+ `,De=h.css`
121
125
  border-radius: 50%;
122
126
  width: 3rem;
123
127
  height: 3rem;
@@ -126,34 +130,34 @@
126
130
  display: flex;
127
131
  justify-content: center;
128
132
  align-items: center;
129
- `,ct=b.css`
130
- border-radius: ${le};
133
+ `,Le=h.css`
134
+ border-radius: ${j};
131
135
  aspect-ratio: 1;
132
- padding: ${Z};
136
+ padding: ${x};
133
137
  display: flex;
134
138
  justify-content: center;
135
139
  align-items: center;
136
- `,st=b.css`
140
+ `,Pe=h.css`
137
141
  display: inline-flex;
138
142
  justify-content: center;
139
143
  align-items: center;
140
- gap: ${Z};
141
- border-radius: ${ae};
142
- `,dt=h().div`
143
- ${({$layout:e})=>e===Je.STACKED&&`\n width: 5rem;\n display: flex;\n flex-direction: column;\n gap: ${Z};\n align-items: center;\n `}
144
- `,ut=h().button`
145
- ${at}
146
-
147
- ${({$layout:e})=>{switch(e){case Je.STACKED:return lt;case Je.CIRCLE:return it;case Je.SQUARED:return ct;default:return st}}}
148
- `,pt=h().div`
149
- ${({$hover:e,$variant:t,$color:r})=>e?b.css`
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`
153
+ ${({$hover:e,$variant:t,$color:r})=>e?h.css`
150
154
  &&:hover,
151
155
  &&:active {
152
- ${rt[t][r].hoverBackground&&`background-color: ${rt[t][r].hoverBackground};`}
156
+ ${Ce[t][r].hoverBackground&&`background-color: ${Ce[t][r].hoverBackground};`}
153
157
  }
154
158
 
155
159
  &&:focus {
156
- outline: 1px solid ${rt[t][r].outline};
160
+ outline: 1px solid ${Ce[t][r].outline};
157
161
  }
158
162
  `:null}
159
163
  border-radius: 50%;
@@ -164,11 +168,11 @@
164
168
  & svg {
165
169
  font-size: 1.25rem;
166
170
  }
167
- `,ft=h().div`
171
+ `,Fe=f().div`
168
172
  display: flex;
169
173
  align-items: center;
170
174
  justify-content: center;
171
- `,bt=h().div`
175
+ `,Re=f().div`
172
176
  display: flex;
173
177
  align-items: center;
174
178
  justify-content: center;
@@ -177,14 +181,14 @@
177
181
  > i {
178
182
  font-size: 2rem;
179
183
  }
180
- `,ht=h().span`
184
+ `,Ae=f().span`
181
185
  display: inline-flex;
182
186
  align-items: center;
183
187
  justify-content: center;
184
- gap: ${Z};
185
- `,mt=h().div`
186
- color: ${q};
187
- font-size: ${X};
188
+ gap: ${x};
189
+ `,Ne=f().div`
190
+ color: ${g.eg};
191
+ font-size: ${m};
188
192
  width: 100%;
189
193
  text-align: center;
190
194
  line-height: 1;
@@ -193,62 +197,62 @@
193
197
  display: -webkit-box;
194
198
  -webkit-line-clamp: 2;
195
199
  -webkit-box-orient: vertical;
196
- `,gt=function(e){const{id:t="",dataTest:r,label:o,tooltipLabel:n,tooltipPlacement:a=tt,onClick:l,onKeyDown:i,ariaLabel:c="",ariaLabelledBy:s="",ariaDescribedBy:d="",color:u=Xe,variant:b=Qe,size:h=Ve,layout:m=Ze,disabled:g=!1,children:v,showFeedback:y=!1,feedbackContent:$=f().createElement(Ce,{fontSize:"small"}),feedbackDuration:x=2e3}=e,w=(0,p.useRef)(null),[E,k]=(0,p.useState)(!1);(0,p.useEffect)(()=>()=>{w.current&&clearTimeout(w.current)},[]);const O=(0,p.useCallback)(e=>{l(e),y&&(k(!0),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>k(!1),x))},[l,y,x]),B={},C=(0,p.useId)(),j=`${t||C}-label`,S=m===Je.STACKED||m===Je.DEFAULT&&(Boolean(o)||E);B["aria-label"]=c||o,s?B["aria-labelledby"]=s:S&&(B["aria-labelledby"]=j),d&&(B["aria-describedby"]=d);const T=(()=>{if(e.layout===Je.CIRCLE||e.layout===Je.SQUARED){const{icon:o}=e,n=r||`button-${t||"default"}`;return f().createElement(ut,Object.assign({id:t,"data-test":n,onClick:O,onKeyDown:i},B,{$color:u,$variant:b,$size:h,$layout:m,disabled:g}),E?f().createElement(ht,{role:"status","aria-live":"polite"},$):o)}if(e.layout===Je.STACKED){const{icon:n,helperIcon:a=f().createElement(Oe,{fontSize:"small"}),hideHelperIcon:l=!1,helperOnClick:c=null}=e,s=r||`${Je.STACKED}-button-${t||o||"default"}`;return f().createElement(dt,{"data-test":s,$layout:m},f().createElement(ut,Object.assign({id:t,onClick:O,onKeyDown:i},B,{$color:u,$variant:b,$size:h,$layout:m,disabled:g}),!l&&f().createElement(pt,Object.assign({},c&&{"data-is-aux-icon":!0},c&&{"aria-label":B["aria-label"]+" helper"},c&&{role:"button"},{$hover:null!==c,$color:u,$variant:b,onClick:e=>{c&&(c(e),e.preventDefault(),e.stopPropagation())}}),f().createElement(ft,null,a)),E?f().createElement(bt,null,f().createElement(ht,{role:"status","aria-live":"polite"},$)):n&&f().createElement(bt,null,n)),f().createElement(mt,{id:j},o))}const{iconStart:n,iconEnd:a}=e,l=r||`button-${t||o||"default"}`;return f().createElement(ut,Object.assign({id:t,"data-test":l,onClick:O,onKeyDown:i},B,{$color:u,$variant:b,$size:h,$layout:m,disabled:g}),E?f().createElement(ht,{id:j,role:"status","aria-live":"polite"},$):f().createElement(f().Fragment,null,n&&n,o&&f().createElement("span",{id:j},o),v,a&&a))})();return n?f().createElement(Se(),{content:n,placement:a},T):T};var vt=d(823);const yt=h().div`
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`
197
201
  display: inline-flex;
198
202
  align-items: center;
199
- gap: ${Z};
200
- `,$t=h().label`
201
- color: ${q};
202
- font-size: ${_};
203
+ gap: ${x};
204
+ `,Ge=f().label`
205
+ color: ${g.eg};
206
+ font-size: ${v};
203
207
  font-style: normal;
204
208
  font-weight: 400;
205
209
  line-height: normal;
206
210
  cursor: pointer;
207
- `,xt=h()(vt.Checkbox)`
211
+ `,We=f()(He.Checkbox)`
208
212
  &.MuiCheckbox-root {
209
213
  padding: 0;
210
214
  }
211
215
 
212
216
  &.Mui-checked {
213
- color: ${O};
217
+ color: ${g._q};
214
218
  }
215
- `,wt={RIGHT:"right",LEFT:"left"},Et=Object.values(wt)[0];var kt=d(410);const Ot=function(e){var{label:t,layout:r=Et,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=f().createElement(xt,Object.assign({},a,{id:l,"aria-label":n,icon:o?f().createElement(kt.RadioButtonUnchecked,null):void 0,checkedIcon:o?f().createElement(kt.RadioButtonChecked,null):void 0}));return t?f().createElement(yt,null,r===wt.LEFT&&f().createElement($t,{htmlFor:l},t),i,r===wt.RIGHT&&f().createElement($t,{htmlFor:l},t)):i},Bt=h().hr`
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`
216
220
  width: 100%;
217
221
  border-top: 0px;
218
222
  border-right: 0px;
219
223
  border-left: 0px;
220
224
  border-image: initial;
221
- border-bottom: 1px solid ${H};
225
+ border-bottom: 1px solid ${g.hN};
222
226
  margin: 0px;
223
- `,Ct=function(){return f().createElement(Bt,null)},jt=h().div`
227
+ `,Qe=function(){return b().createElement(Ye,null)},Ze=f().div`
224
228
  display: flex;
225
229
  flex-direction: column;
226
- gap: ${Z};
227
- padding: ${te};
228
- background-color: ${M};
229
- `,St=h().div`
230
+ gap: ${x};
231
+ padding: ${k};
232
+ background-color: ${g.GW};
233
+ `,et=f().div`
230
234
  display: flex;
231
235
  flex-direction: row;
232
- gap: ${ee};
233
- `,Tt=h().div`
236
+ gap: ${w};
237
+ `,tt=f().div`
234
238
  display: flex;
235
239
  align-items: center;
236
240
  justify-content: space-between;
237
- `,Lt=h().div`
238
- color: ${O};
241
+ `,rt=f().div`
242
+ color: ${g._q};
239
243
  display: flex;
240
244
  align-items: center;
241
- `,zt=h().label`
242
- color: ${q};
243
- font-size: ${_}
245
+ `,ot=f().label`
246
+ color: ${g.eg};
247
+ font-size: ${v}
244
248
  font-style: normal;
245
249
  font-weight: 600;
246
250
  line-height: normal;
247
- `,Pt=h().button`
251
+ `,nt=f().button`
248
252
  display: flex;
249
253
  align-items: center;
250
254
  justify-content: center;
251
- color: ${K};
255
+ color: ${g.kE};
252
256
  background: transparent;
253
257
  border: none;
254
258
  border-radius: 50%;
@@ -257,71 +261,71 @@
257
261
 
258
262
  &&:hover,
259
263
  &&:active {
260
- background-color: ${Y};
264
+ background-color: ${g.K5};
261
265
  }
262
266
 
263
267
  &&:focus {
264
- outline: 2px solid ${O};
268
+ outline: 2px solid ${g._q};
265
269
  }
266
- `,Dt=h().label`
267
- color: ${q};
268
- font-size: ${_};
270
+ `,at=f().label`
271
+ color: ${g.eg};
272
+ font-size: ${v};
269
273
  font-style: normal;
270
274
  font-weight: 400;
271
275
  line-height: normal;
272
- border-radius: ${le};
273
- `;const It=function(e){var{title:t,label:r,icon:o=f().createElement(Be,{fontSize:"1rem"}),onRequestClose:n,children:a}=e,l=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","onRequestClose","children"]);const i=f().createElement(Dt,null,r,a);return f().createElement(jt,Object.assign({role:"status","aria-live":"polite","aria-atomic":"true","aria-label":t||r},l),f().createElement(Tt,null,f().createElement(St,null,f().createElement(Lt,{"aria-hidden":"true"},o),t&&f().createElement(zt,null,t),!t&&i),t&&f().createElement(Pt,{type:"button","aria-label":"Close",onClick:n},f().createElement(ke,{fontSize:"1rem"}))),t&&i)},Mt=h().div`
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`
274
278
  display: flex;
275
279
  flex-direction: column;
276
280
  width: 100%;
277
- gap: ${Z};
278
- `,Ft=h().label`
279
- color: ${q};
280
- font-size: ${X};
281
+ gap: ${x};
282
+ `,ct=f().label`
283
+ color: ${g.eg};
284
+ font-size: ${m};
281
285
  font-style: normal;
282
286
  font-weight: 400;
283
287
  line-height: normal;
284
- `,Rt=h().div`
288
+ `,st=f().div`
285
289
  display: flex;
286
290
  align-items: center;
287
291
  width: 100%;
288
- padding: ${Z} ${te};
289
- gap: ${Z};
290
- border-radius: ${ae};
291
- border: 1px solid ${H};
292
+ padding: ${x} ${k};
293
+ gap: ${x};
294
+ border-radius: ${C};
295
+ border: 1px solid ${g.hN};
292
296
  background-color: transparent;
293
297
  box-sizing: border-box;
294
298
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
295
299
 
296
300
  &:focus-within {
297
- border-color: ${R};
298
- box-shadow: 0 0 0 3px var(--color-border-focus-ring, rgba(29, 101, 212, 0.15));
301
+ border-color: ${g.z2};
302
+ box-shadow: 0 0 0 3px ${g.ot};
299
303
  }
300
304
 
301
- ${({$error:e})=>e&&b.css`
302
- border-color: ${A};
305
+ ${({$error:e})=>e&&h.css`
306
+ border-color: ${g.qO};
303
307
  `}
304
308
 
305
- ${({$disabled:e})=>e&&b.css`
309
+ ${({$disabled:e})=>e&&h.css`
306
310
  opacity: 0.5;
307
311
  cursor: not-allowed;
308
312
  pointer-events: none;
309
313
  `}
310
- `,At=h().textarea`
314
+ `,dt=f().textarea`
311
315
  flex: 1;
312
316
  min-width: 0;
313
317
  resize: none;
314
318
  border: none;
315
319
  outline: none;
316
320
  background: transparent;
317
- color: ${q};
321
+ color: ${g.eg};
318
322
  font-family: inherit;
319
- font-size: ${X};
323
+ font-size: ${m};
320
324
  line-height: 1.5;
321
325
  padding: 0;
322
326
 
323
327
  &::placeholder {
324
- color: ${N};
328
+ color: ${g.XN};
325
329
  }
326
330
 
327
331
  &:disabled {
@@ -331,92 +335,92 @@
331
335
  [dir='rtl'] & {
332
336
  text-align: right;
333
337
  }
334
- `,Ht=h().div`
335
- color: ${q};
336
- font-size: ${X};
338
+ `,ut=f().div`
339
+ color: ${g.eg};
340
+ font-size: ${m};
337
341
  font-style: normal;
338
342
  font-weight: 400;
339
343
  line-height: normal;
340
- padding: 0 ${te};
344
+ padding: 0 ${k};
341
345
 
342
- ${({$success:e})=>e&&b.css`
343
- color: ${L};
346
+ ${({$success:e})=>e&&h.css`
347
+ color: ${g.lb};
344
348
  `}
345
349
 
346
- ${({$error:e})=>e&&b.css`
347
- color: ${P};
350
+ ${({$error:e})=>e&&h.css`
351
+ color: ${g._r};
348
352
  `}
349
- `,qt=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:b,submitOnEnter:h=!0,showSentFeedback:m=!1,sentFeedbackContent:g="Message sent",sentFeedbackDuration:v=2e3,disabled:y=!1,error:$=!1,helperText:x,minRows:w=1,maxRows:E=3,maxLength:k,autoFocus:O=!1,inputRef:B,id:C,"aria-label":j,"aria-describedby":S}){const T=void 0!==r,[L,z]=(0,p.useState)(""),P=T?null!=r?r:"":L,D=(0,p.useId)(),I=null!=C?C:D,M=(0,p.useRef)(null),F=(0,p.useRef)(null),[R,A]=(0,p.useState)(!1),H=(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*E+o,l=Math.min(Math.max(e.scrollHeight,n),a);e.style.height=`${l}px`,e.style.overflowY=e.scrollHeight>a?"auto":"hidden"},[P,w,E]),(0,p.useEffect)(()=>()=>{F.current&&clearTimeout(F.current)},[]),(0,p.useEffect)(()=>{O&&M.current&&M.current.focus()},[O]);const q=(0,p.useCallback)(e=>{const t=e.target.value;T?null==o||o(t):z(t)},[T,o]),N=(0,p.useCallback)(()=>{var e;if(y)return;const t=P.trim();t&&(n(t),T||z(""),null===(e=M.current)||void 0===e||e.focus(),m&&(A(!0),F.current&&clearTimeout(F.current),F.current=setTimeout(()=>A(!1),v)))},[y,P,n,T,m,v]),K=(0,p.useCallback)(e=>{"Enter"===e.key&&!e.shiftKey&&h&&(e.preventDefault(),N())},[h,N]),W=Boolean(x)||R,U=W?`${I}-helper`:void 0,G=[S,U].filter(Boolean).join(" ")||void 0,Y=l?f().createElement(gt,{onClick:N,disabled:y,size:_e.SMALL,variant:c,dataTest:d,label:l,ariaLabel:i,iconStart:a}):f().createElement(gt,{layout:Je.SQUARED,onClick:N,disabled:y,variant:c,dataTest:d,icon:a,ariaLabel:i});return f().createElement(Mt,null,e&&f().createElement(Ft,{htmlFor:I},e),f().createElement(Rt,{$disabled:y,$error:$},f().createElement(At,{ref:H,id:I,rows:w,placeholder:t,value:P,onChange:q,onKeyDown:K,disabled:y,maxLength:k,"data-test":s,"aria-label":j,"aria-describedby":G}),u,Y,b),W&&f().createElement(Ht,{id:U,$success:R,$error:!R&&$,role:R?"status":void 0,"aria-live":R?"polite":void 0},R?g:x))};var Nt=d(215),Kt=d.n(Nt);const Wt={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.75)",zIndex:100,display:"flex",alignItems:"center",justifyContent:"center"},content:{position:"relative",top:"auto",left:"auto",right:"auto",bottom:"auto",borderRadius:ae,background:y,overflow:"hidden",WebkitOverflowScrolling:"touch",outline:"none",padding:"0px",minWidth:"300px",maxWidth:"90vw",maxHeight:"90vh",display:"flex",flexDirection:"column"}},Ut=h().div`
350
- padding: ${oe} ${oe} ${ee};
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};
351
355
  display: flex;
352
356
  justify-content: space-between;
353
357
  align-items: center;
354
- `,Gt=(h().button`
358
+ `,mt=(f().button`
355
359
  background: none;
356
360
  border: none;
357
361
  font-size: 1.5rem;
358
362
  cursor: pointer;
359
363
  padding: 0;
360
364
  line-height: 1;
361
- `,h().div`
365
+ `,f().div`
362
366
  flex-grow: 1;
363
367
  overflow-y: ${({$allowScroll:e})=>e?"auto":"hidden"};
364
368
  overflow-x: hidden;
365
369
  display: flex;
366
370
  flex-direction: column;
367
- `),Yt=h().div`
371
+ `),vt=f().div`
368
372
  flex-grow: 1;
369
- padding: 0 ${oe};
370
- margin: ${ee} 0 ${ee};
371
- `,Qt=h().div`
372
- padding: ${ee} ${oe} ${oe};
373
+ padding: 0 ${O};
374
+ margin: ${w} 0 ${w};
375
+ `,yt=f().div`
376
+ padding: ${w} ${O} ${O};
373
377
  display: flex;
374
378
  justify-content: flex-end;
375
- gap: ${te};
379
+ gap: ${k};
376
380
 
377
- ${({$stickyFooter:e})=>e&&`\n position: sticky;\n bottom: 0;\n background-color: ${y};\n `}
378
- `,Xt={default:b.css`
379
- color: ${q};
380
- font-size: ${_};
381
+ ${({$stickyFooter:e})=>e&&`\n position: sticky;\n bottom: 0;\n background-color: ${g.bD};\n `}
382
+ `,$t={default:h.css`
383
+ color: ${g.eg};
384
+ font-size: ${v};
381
385
  font-style: normal;
382
- font-weight: ${V};
386
+ font-weight: ${y};
383
387
  line-height: normal;
384
- `,selected:b.css`
385
- color: ${q};
386
- font-size: ${_};
388
+ `,selected:h.css`
389
+ color: ${g.eg};
390
+ font-size: ${v};
387
391
  font-style: normal;
388
392
  font-weight: ${"700"};
389
393
  line-height: normal;
390
- `,text2:b.css`
391
- color: ${N};
392
- font-size: ${X};
394
+ `,text2:h.css`
395
+ color: ${g.XN};
396
+ font-size: ${m};
393
397
  font-style: normal;
394
- font-weight: ${V};
398
+ font-weight: ${y};
395
399
  line-height: normal;
396
- `,text3:b.css`
397
- color: ${N};
400
+ `,text3:h.css`
401
+ color: ${g.XN};
398
402
  font-size: ${"0.75rem"};
399
403
  font-style: normal;
400
- font-weight: ${V};
404
+ font-weight: ${y};
401
405
  line-height: normal;
402
- `,header:b.css`
403
- color: ${q};
404
- font-size: ${_};
406
+ `,header:h.css`
407
+ color: ${g.eg};
408
+ font-size: ${v};
405
409
  font-style: normal;
406
410
  font-weight: ${"700"};
407
411
  line-height: normal;
408
412
  text-transform: uppercase;
409
- `,button:b.css`
410
- color: ${q};
411
- font-size: ${_};
413
+ `,button:h.css`
414
+ color: ${g.eg};
415
+ font-size: ${v};
412
416
  font-style: normal;
413
417
  font-weight: ${"600"};
414
418
  line-height: normal;
415
- `},_t=h().p`
419
+ `},xt=f().p`
416
420
  margin: 0;
417
421
  padding: 0;
418
- ${({$variant:e})=>Xt[e]}
419
- `;const Vt=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 f().createElement(_t,Object.assign({as:o,$variant:r},n),t)};const Jt=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:b=!0,testId:h,closeButtonDataTest:m,children:g}=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=m;h&&!m&&(y=`${h}-close-button`);const $=(0,p.useCallback)(e=>f().createElement(f().Fragment,null,l&&f().createElement(Ct,null),f().createElement(Qt,{$stickyFooter:e},u)),[u,l]);return f().createElement(Kt(),Object.assign({},v,{isOpen:t,onRequestClose:r,contentLabel:a,style:Wt,shouldCloseOnOverlayClick:i,shouldCloseOnEsc:c,appElement:o,testId:h}),f().createElement(Ut,null,f().createElement(Vt,{variant:"header"},n),f().createElement(gt,Object.assign({layout:"circle",icon:f().createElement(ke,{size:"1.5rem"}),onClick:r,variant:"subtle",ariaLabel:"close"},y?{dataTest:y}:{}))),l&&f().createElement(Ct,null),f().createElement(Gt,{$allowScroll:s},f().createElement(Yt,null,g),!d&&!b&&$(b)),!d&&b&&$(b))},Zt=h().button`
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
424
  display: flex;
421
425
  flex-direction: row;
422
426
  align-items: center;
@@ -425,108 +429,149 @@
425
429
  border: none;
426
430
  cursor: pointer;
427
431
  margin: 1px; /* Adds margin to prevent outline from being cropped */
428
- border-radius: ${le};
432
+ border-radius: ${j};
429
433
 
430
434
  &:focus {
431
- outline: 1px solid ${O};
435
+ outline: 1px solid ${g._q};
432
436
  }
433
- `,er=h().div`
437
+ `,Ot=f().div`
434
438
  display: flex;
435
439
  flex-direction: row;
436
440
  align-items: center;
437
441
  justify-content: center;
438
- gap: ${te};
439
- `,tr=h().div`
442
+ gap: ${k};
443
+ `,Bt=f().div`
440
444
  display: flex;
441
445
  align-items: center;
442
446
  justify-content: center;
443
- color: ${O};
447
+ color: ${g._q};
444
448
 
445
- ${({$isCustomIcon:e})=>!e&&b.css`
449
+ ${({$isCustomIcon:e})=>!e&&h.css`
446
450
  transform: rotate(90deg);
447
451
  [dir="rtl"] & {
448
452
  transform: rotate(-90deg);
449
453
  }
450
454
  `}
451
- `,rr=function({label:e,onClick:t,onKeyDown:r,icon:o,children:n,ariaLabel:a,ariaLabelledBy:l,ariaDescribedBy:i,dataTest:c}){const s=!!o,d=o||f().createElement(Ee,{size:"1.5rem"});return f().createElement(Zt,{onClick:t,onKeyDown:r,"aria-label":a,"aria-labelledby":l,"aria-describedby":i,"data-test":c},f().createElement(er,null,f().createElement(tr,{$isCustomIcon:s},d),f().createElement(Vt,{variant:"default"},e)),n)},or=b.keyframes`
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`
456
+ overflow-y: ${({$verticalScroll:e})=>e?"auto":"hidden"};
457
+ overflow-x: ${({$horizontalScroll:e})=>e?"auto":"hidden"};
458
+ ${({$maxHeight:e})=>e&&h.css`max-height: ${e};`}
459
+ ${({$maxWidth:e})=>e&&h.css`max-width: ${e};`}
460
+ ${({$paddingTop:e})=>e&&h.css`padding-top: ${e};`}
461
+ ${({$paddingRight:e})=>e&&h.css`padding-right: ${e};`}
462
+ ${({$paddingBottom:e})=>e&&h.css`padding-bottom: ${e};`}
463
+ ${({$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`
465
+ background-image: ${n.map(e=>e.image).join(", ")};
466
+ background-position: ${n.map(e=>e.position).join(", ")};
467
+ background-size: ${n.map(e=>e.size).join(", ")};
468
+ background-attachment: ${n.map(e=>e.attachment).join(", ")};
469
+ background-repeat: no-repeat;
470
+ background-color: transparent;
471
+ `:""}}
472
+
473
+ &::-webkit-scrollbar {
474
+ width: 5px;
475
+ height: 5px;
476
+ }
477
+ &::-webkit-scrollbar-button {
478
+ width: 0;
479
+ height: 0;
480
+ }
481
+ &::-webkit-scrollbar-thumb {
482
+ background: rgba(0, 0, 0, .25);
483
+ border: none;
484
+ border-radius: 50px;
485
+ }
486
+ &::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, .5); }
487
+ &::-webkit-scrollbar-thumb:active { background: rgba(0, 0, 0, .25); }
488
+ &::-webkit-scrollbar-track {
489
+ background: rgba(0, 0, 0, .25);
490
+ border: none;
491
+ border-radius: 50px;
492
+ }
493
+ &::-webkit-scrollbar-track:hover { background: rgba(0, 0, 0, .25); }
494
+ &::-webkit-scrollbar-track:active { background: rgba(0, 0, 0, .25); }
495
+ &::-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`
452
497
  0% { transform: rotate(0deg); }
453
498
  100% { transform: rotate(360deg); }
454
- `,nr=b.keyframes`
499
+ `,qt=h.keyframes`
455
500
  0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
456
501
  50% { stroke-dasharray: 100, 200; stroke-dashoffset: -15; }
457
502
  100% { stroke-dasharray: 100, 200; stroke-dashoffset: -125; }
458
- `,ar=h().div`
503
+ `,Mt=f().div`
459
504
  width: ${({$size:e})=>"number"==typeof e?`${e}px`:e};
460
505
  height: ${({$size:e})=>"number"==typeof e?`${e}px`:e};
461
506
  display: inline-grid;
462
507
  place-items: center;
463
- `,lr=h().svg`
508
+ `,It=f().svg`
464
509
  width: 100%;
465
510
  height: 100%;
466
511
  transform-origin: center;
467
512
  overflow: visible;
468
- ${({$animate:e})=>e&&b.css`
469
- animation: ${or} 1.4s linear infinite;
513
+ ${({$animate:e})=>e&&h.css`
514
+ animation: ${Pt} 1.4s linear infinite;
470
515
  `}
471
- `,ir=h().circle`
516
+ `,Ft=f().circle`
472
517
  fill: none;
473
- stroke: ${O};
518
+ stroke: ${g._q};
474
519
  stroke-width: ${({$strokeWidth:e})=>e}px;
475
520
  stroke-linecap: round;
476
- ${({$animate:e})=>e&&b.css`
477
- animation: ${nr} 1.4s ease-in-out infinite;
521
+ ${({$animate:e})=>e&&h.css`
522
+ animation: ${qt} 1.4s ease-in-out infinite;
478
523
  `}
479
524
 
480
- ${({$animate:e})=>!e&&b.css`
525
+ ${({$animate:e})=>!e&&h.css`
481
526
  stroke-dasharray: 94.2 31.4;
482
527
  stroke-dashoffset: 0;
483
528
  `}
484
- `,cr=({size:e=48,strokeWidth:t=4,animate:r=!0})=>f().createElement(ar,{$size:e,role:"progressbar","aria-label":"Loading","aria-busy":r},f().createElement(lr,{viewBox:"0 0 50 50",$animate:r,focusable:"false","aria-hidden":"true"},f().createElement(ir,{className:"path",cx:"25",cy:"25",r:"20",$animate:r,$strokeWidth:t}))),sr=h().div`
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`
485
530
  display: flex;
486
531
  align-items: center;
487
532
  position: relative;
488
533
  width: 100%;
489
534
  height: 2.5rem;
490
- padding: ${Z} ${te};
491
- gap: ${Z};
492
- border-radius: ${ae};
493
- border: 1px solid ${H};
535
+ padding: ${x} ${k};
536
+ gap: ${x};
537
+ border-radius: ${C};
538
+ border: 1px solid ${g.hN};
494
539
  background-color: transparent;
495
540
  box-sizing: border-box;
496
541
  cursor: text;
497
542
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
498
543
 
499
544
  &:focus-within {
500
- border-color: ${R};
501
- box-shadow: 0 0 0 3px var(--color-border-focus-ring, rgba(29, 101, 212, 0.15));
545
+ border-color: ${g.z2};
546
+ box-shadow: 0 0 0 3px ${g.ot};
502
547
  }
503
548
 
504
- ${({$disabled:e})=>e&&b.css`
549
+ ${({$disabled:e})=>e&&h.css`
505
550
  opacity: 0.5;
506
551
  cursor: not-allowed;
507
552
  pointer-events: none;
508
553
  `}
509
- `,dr=h().span`
554
+ `,Nt=f().span`
510
555
  display: flex;
511
556
  align-items: center;
512
557
  justify-content: center;
513
558
  flex-shrink: 0;
514
- color: ${K};
559
+ color: ${g.kE};
515
560
  width: 1rem;
516
561
  height: 1rem;
517
- `,ur=h().input`
562
+ `,_t=f().input`
518
563
  flex: 1;
519
564
  min-width: 0;
520
565
  border: none;
521
566
  outline: none;
522
567
  background: transparent;
523
- color: ${q};
524
- font-size: ${X};
568
+ color: ${g.eg};
569
+ font-size: ${m};
525
570
  line-height: 1.5;
526
571
  padding: 0;
527
572
 
528
573
  &::placeholder {
529
- color: ${N};
574
+ color: ${g.XN};
530
575
  }
531
576
 
532
577
  &:disabled {
@@ -545,15 +590,15 @@
545
590
  [dir='rtl'] & {
546
591
  text-align: right;
547
592
  }
548
- `,pr=h().span`
593
+ `,Ht=f().span`
549
594
  display: flex;
550
595
  align-items: center;
551
596
  justify-content: center;
552
597
  flex-shrink: 0;
553
598
  width: 1rem;
554
599
  height: 1rem;
555
- color: ${O};
556
- `,fr=h().button`
600
+ color: ${g._q};
601
+ `,Xt=f().button`
557
602
  display: flex;
558
603
  align-items: center;
559
604
  justify-content: center;
@@ -564,104 +609,109 @@
564
609
  padding: 0;
565
610
  width: 1rem;
566
611
  height: 1rem;
567
- color: ${K};
612
+ color: ${g.kE};
568
613
  line-height: 1;
569
614
  transition: color 0.1s ease;
570
615
 
571
616
  &:hover {
572
- color: ${W};
617
+ color: ${g.nL};
573
618
  }
574
619
 
575
620
  &:focus-visible {
576
- outline: 2px solid ${R};
621
+ outline: 2px solid ${g.z2};
577
622
  outline-offset: 2px;
578
623
  border-radius: 2px;
579
624
  }
580
- `,br=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 b=void 0!==t,[h,m]=(0,p.useState)(""),g=(0,p.useRef)(null),v=null!==(u=s)&&void 0!==u?u:g,y=b?null!=t?t:"":h,$=y.length>0;(0,p.useEffect)(()=>{if(b||!o)return;const e=setTimeout(()=>{o(h)},a);return()=>clearTimeout(e)},[h,a,o,b]),(0,p.useEffect)(()=>{c&&v.current&&v.current.focus()},[c,v]);const x=(0,p.useCallback)(e=>{const t=e.target.value;b?null==r||r(t):m(t)},[b,r]),w=(0,p.useCallback)(()=>{var e;n?n():b?null==r||r(""):(m(""),null==o||o("")),null===(e=v.current)||void 0===e||e.focus()},[n,b,r,o,v]),E=(0,p.useCallback)(e=>{var t;e.target===e.currentTarget&&(null===(t=v.current)||void 0===t||t.focus())},[v]);return f().createElement(sr,{$disabled:i,onClick:E},f().createElement(dr,{"aria-hidden":"true"},f().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"},f().createElement("circle",{cx:"11",cy:"11",r:"8"}),f().createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))),f().createElement(ur,{ref:v,type:"search",role:"searchbox",placeholder:e,value:y,onChange:x,disabled:i,"aria-label":null!=d?d:e}),l&&$&&f().createElement(pr,null,f().createElement(cr,{size:16,strokeWidth:3})),!l&&$&&f().createElement(fr,{type:"button",onClick:w,"aria-label":"Clear search",tabIndex:0},f().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"},f().createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),f().createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))))};var hr=d(764),mr=d.n(hr);const gr=h().div`
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`
581
626
  display: flex;
582
627
  flex-direction: column;
583
628
  flex-shrink: 0;
584
- gap: ${Z};
629
+ gap: ${x};
585
630
  justify-content: start;
586
631
  align-items: center;
587
- `,vr=h().div`
632
+ `,Jt=f().div`
588
633
  display: flex;
589
634
  flex-direction: row;
590
635
  justify-content: center;
591
- gap: ${te};
636
+ gap: ${k};
592
637
  padding: 1px;
593
638
  width: 100%;
594
- `,yr=h()(mr())`
639
+ `,Vt=f()(Kt())`
595
640
  height: 3.5rem;
596
641
  flex: 1;
597
- border-radius: ${le} !important;
642
+ border-radius: ${j} !important;
598
643
  overflow: hidden;
599
644
  width: 100%;
600
645
 
601
646
  & .MuiOutlinedInput-notchedOutline {
602
- border-color: ${H};
647
+ border-color: ${g.hN};
603
648
  }
604
649
 
605
650
  &:hover .MuiOutlinedInput-notchedOutline {
606
- border-color: ${R};
651
+ border-color: ${g.z2};
607
652
  }
608
653
 
609
654
  &.Mui-focused .MuiOutlinedInput-notchedOutline {
610
- border-color: ${R};
655
+ border-color: ${g.z2};
611
656
  }
612
- `,$r=h().label`
657
+ `,Yt=f().label`
613
658
  align-self: flex-start;
614
- color: ${w};
615
- font-size: ${X};
659
+ color: ${g.BP};
660
+ font-size: ${m};
616
661
  font-style: normal;
617
662
  font-weight: 400;
618
663
  line-height: normal;
619
- `,xr=h().div`
664
+ `,Qt=f().div`
620
665
  display: flex;
621
666
  align-items: center;
622
667
  justify-content: center;
623
668
  flex-shrink: 0;
624
- color: ${O};
625
- `;const wr=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 f().createElement(gr,null,t&&f().createElement($r,{id:c,htmlFor:i},t),f().createElement(vr,null,r&&f().createElement(xr,null,r),f().createElement(yr,Object.assign({},a,{id:i,labelId:c,"aria-label":n,IconComponent:we}),o)))},Er=h().textarea`
669
+ 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`
626
671
  flex: 1;
627
- background: ${y};
672
+ background: ${g.bD};
628
673
  background-clip: padding-box;
629
674
  margin: 0;
630
- color: ${$};
675
+ color: ${g.eg};
631
676
  padding: calc(.3rem* 2.5) calc(.75rem* 1.25);
632
677
  resize: none;
633
678
  -webkit-transition: none;
634
679
  transition: none;
635
- border-radius: ${ae};
680
+ border-radius: ${C};
636
681
  font-size: 1rem;
637
682
  line-height: 1;
638
683
  min-height: 2.5rem;
639
684
  max-height: 10rem;
640
- border: 1px solid ${H};
685
+ border: 1px solid ${g.hN};
641
686
  overflow-y: hidden;
642
687
  margin: 0.3em;
688
+
689
+ &::placeholder {
690
+ color: ${g.XN};
691
+ }
692
+
643
693
  &:focus {
644
- outline: ${O} solid 2px;
645
- box-shadow: 0 0 0 2px ${B} inset 0 0 0 1px ${O};
694
+ outline: ${g._q} solid 2px;
695
+ box-shadow: 0 0 0 2px ${g.f$} inset 0 0 0 1px ${g._q};
646
696
  }
647
- `;const kr=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]),f().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}))},Or=h()(vt.TextField)`
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)`
648
698
  .MuiInputBase-root {
649
699
  display: flex;
650
- padding: ${te};
700
+ padding: ${k};
651
701
  align-items: center;
652
- gap: ${Z};
702
+ gap: ${x};
653
703
  align-self: stretch;
654
- border-radius: ${ae};
655
- border: 1px solid ${H};
656
- color: ${N};
704
+ border-radius: ${C};
705
+ border: 1px solid ${g.hN};
706
+ color: ${g.XN};
657
707
 
658
708
  &.Mui-focused {
659
- border-color: ${R};
660
- color: ${q};
709
+ border-color: ${g.z2};
710
+ color: ${g.eg};
661
711
  }
662
712
 
663
- ${({$error:e})=>e&&b.css`
664
- border-color: ${A};
713
+ ${({$error:e})=>e&&h.css`
714
+ border-color: ${g.qO};
665
715
  `}
666
716
  }
667
717
 
@@ -673,67 +723,67 @@
673
723
  .MuiOutlinedInput-notchedOutline {
674
724
  border: none;
675
725
  }
676
- `,Br=h().div`
677
- color: ${q};
678
- font-size: ${X};
726
+ `,or=f().div`
727
+ color: ${g.eg};
728
+ font-size: ${m};
679
729
  font-style: normal;
680
730
  font-weight: 400;
681
731
  line-height: normal;
682
- `,Cr=h().div`
683
- color: ${q};
684
- font-size: ${X};
732
+ `,nr=f().div`
733
+ color: ${g.eg};
734
+ font-size: ${m};
685
735
  font-style: normal;
686
736
  font-weight: 400;
687
737
  line-height: normal;
688
- padding: 0 ${te};
738
+ padding: 0 ${k};
689
739
 
690
- ${({$error:e})=>e&&b.css`
691
- color: ${P};
740
+ ${({$error:e})=>e&&h.css`
741
+ color: ${g._r};
692
742
  `}
693
- `,jr=h().div`
743
+ `,ar=f().div`
694
744
  display: flex;
695
745
  flex-direction: column;
696
746
  width: 100%;
697
- gap: ${Z};
698
- `;const Sr=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 f().createElement(jr,null,t&&f().createElement(Br,null,t),f().createElement(Or,Object.assign({},a,{$error:o,placeholder:n})),r&&f().createElement(Cr,{$error:o},r))};var Tr=d(586);const Lr={RIGHT:"right",LEFT:"left",TOP:"top",BOTTOM:"bottom"},zr=Object.values(Lr)[0],Pr=h().div`
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`
699
749
  display: flex;
700
- ${({$textPosition:e})=>{if(e===Lr.TOP||e===Lr.BOTTOM)return b.css`
750
+ ${({$textPosition:e})=>{if(e===cr.TOP||e===cr.BOTTOM)return h.css`
701
751
  flex-direction: column;
702
752
  gap: .1rem;
703
- `;const t=b.css`
753
+ `;const t=h.css`
704
754
  flex-direction: row;
705
755
  gap: 1rem;
706
- `;return e===Lr.LEFT?b.css`
756
+ `;return e===cr.LEFT?h.css`
707
757
  ${t}
708
758
  justify-content: end;
709
759
  `:t}};
710
- `,Dr=h().div`
760
+ `,ur=f().div`
711
761
  display: flex;
712
762
  flex-direction: row;
713
763
  align-items: start;
714
764
  justify-content: center;
715
765
  padding: 0.3rem 0px;
716
- `,Ir=h().label`
766
+ `,pr=f().label`
717
767
  display: flex;
718
768
  flex-direction: column;
719
- order: ${({$textPosition:e})=>e===Lr.LEFT||e===Lr.TOP?-1:1};
769
+ order: ${({$textPosition:e})=>e===cr.LEFT||e===cr.TOP?-1:1};
720
770
  cursor: pointer;
721
771
  ${({$hasLabel:e,$hasHelperText:t})=>(!e||!t)&&"justify-content: center;"}
722
- ${({$textPosition:e})=>e===Lr.TOP||e===Lr.BOTTOM?b.css`
772
+ ${({$textPosition:e})=>e===cr.TOP||e===cr.BOTTOM?h.css`
723
773
  align-items: center;
724
- `:e===Lr.LEFT?b.css`align-items: end;`:b.css`
774
+ `:e===cr.LEFT?h.css`align-items: end;`:h.css`
725
775
  align-items: start;
726
776
  `};
727
- `,Mr=h().span`
728
- color: ${q};
777
+ `,br=f().span`
778
+ color: ${g.eg};
729
779
  font-size: ${"1.125rem"};
730
780
  font-style: normal;
731
781
  font-weight: 400;
732
782
  line-height: normal;
733
- `,Fr=h().span`
734
- color: ${N};
735
- font-size: ${_};
783
+ `,hr=f().span`
784
+ color: ${g.XN};
785
+ font-size: ${v};
736
786
  font-style: normal;
737
787
  font-weight: 400;
738
788
  line-height: normal;
739
- `,Rr=(0,Tr.styled)(vt.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:y,"& + .MuiSwitch-track":Object.assign({opacity:1,backgroundColor:O},e.applyStyles("dark",{backgroundColor:O}))}},"& .MuiSwitch-thumb":{boxShadow:"0 2px 4px 0 rgb(0 35 11 / 20%)",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:K,boxSizing:"border-box"},e.applyStyles("dark",{backgroundColor:"rgba(255,255,255,.35)"}))}));const Ar=function(e){var{label:t,helperText:r,textPosition:o=zr,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,b=t?`${u}-label`:void 0,h=r?`${u}-helper`:void 0;return f().createElement(Pr,{$textPosition:o},(t||r)&&f().createElement(Ir,{$textPosition:o,htmlFor:u,$hasLabel:!!t,$hasHelperText:!!r},t&&f().createElement(Mr,{id:b},t),r&&f().createElement(Fr,{id:h},r)),f().createElement(Dr,null,f().createElement(Rr,Object.assign({},s,{id:u,onChange:n,"aria-label":a,"aria-labelledby":a?void 0:l||b,"aria-describedby":i||h}))))};return u})());
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})());